From fa54c180269afae845d7776d876c072f6bca85d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=A1=BA=E5=BC=BA?= <978987373@qq.com> Date: Thu, 30 May 2024 14:44:10 +0800 Subject: [PATCH] Revert "Udpate pdf to4.2.67 (#6123)" This reverts commit cc8140119c5f18d034ea634f117b43b45bb8ae4b. --- frontend/src/components/pdf-viewer.js | 452 +- frontend/src/shared-file-view-document.js | 2 +- frontend/src/shared-file-view-pdf.js | 12 +- frontend/src/view-file-document.js | 2 +- media/js/pdf/build/pdf.js | 16435 ++++ .../build/pdf.worker.js} | 72233 ++++++++-------- .../js/{pdf4 => pdf}/web/cmaps/78-EUC-H.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/78-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/78-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/78-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/78-RKSJ-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/78-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/78ms-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/78ms-RKSJ-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/83pv-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/90ms-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/90ms-RKSJ-V.bcmap | Bin .../web/cmaps/90msp-RKSJ-H.bcmap | Bin .../web/cmaps/90msp-RKSJ-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/90pv-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/90pv-RKSJ-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/Add-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Add-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Add-RKSJ-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/Add-V.bcmap | Bin .../web/cmaps/Adobe-CNS1-0.bcmap | Bin .../web/cmaps/Adobe-CNS1-1.bcmap | Bin .../web/cmaps/Adobe-CNS1-2.bcmap | Bin .../web/cmaps/Adobe-CNS1-3.bcmap | Bin .../web/cmaps/Adobe-CNS1-4.bcmap | Bin .../web/cmaps/Adobe-CNS1-5.bcmap | Bin .../web/cmaps/Adobe-CNS1-6.bcmap | Bin .../web/cmaps/Adobe-CNS1-UCS2.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-0.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-1.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-2.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-3.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-4.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Adobe-GB1-5.bcmap | Bin .../web/cmaps/Adobe-GB1-UCS2.bcmap | Bin .../web/cmaps/Adobe-Japan1-0.bcmap | Bin .../web/cmaps/Adobe-Japan1-1.bcmap | Bin .../web/cmaps/Adobe-Japan1-2.bcmap | Bin .../web/cmaps/Adobe-Japan1-3.bcmap | Bin .../web/cmaps/Adobe-Japan1-4.bcmap | Bin .../web/cmaps/Adobe-Japan1-5.bcmap | Bin .../web/cmaps/Adobe-Japan1-6.bcmap | Bin .../web/cmaps/Adobe-Japan1-UCS2.bcmap | Bin .../web/cmaps/Adobe-Korea1-0.bcmap | Bin .../web/cmaps/Adobe-Korea1-1.bcmap | Bin .../web/cmaps/Adobe-Korea1-2.bcmap | Bin .../web/cmaps/Adobe-Korea1-UCS2.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/B5-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/B5-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/B5pc-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/B5pc-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/CNS-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/CNS-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/CNS1-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/CNS1-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/CNS2-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/CNS2-V.bcmap | 0 .../{pdf4 => pdf}/web/cmaps/ETHK-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/ETHK-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/ETen-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/ETen-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/ETenms-B5-H.bcmap | 0 .../{pdf4 => pdf}/web/cmaps/ETenms-B5-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/EUC-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/Ext-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Ext-RKSJ-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/Ext-RKSJ-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/Ext-V.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/GB-EUC-H.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/GB-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/GB-H.bcmap | 0 media/js/{pdf4 => pdf}/web/cmaps/GB-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBK-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBK-EUC-V.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/GBK2K-H.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/GBK2K-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBKp-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBKp-EUC-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBT-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBT-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/GBT-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/GBT-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBTpc-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBTpc-EUC-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBpc-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/GBpc-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKdla-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKdla-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKdlb-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKdlb-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKgccs-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKgccs-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKm314-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKm314-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKm471-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKm471-B5-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKscs-B5-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/HKscs-B5-V.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/Hankaku.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/Hiragana.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSC-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSC-EUC-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/KSC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSC-Johab-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSC-Johab-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/KSC-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSCms-UHC-H.bcmap | Bin .../web/cmaps/KSCms-UHC-HW-H.bcmap | Bin .../web/cmaps/KSCms-UHC-HW-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSCms-UHC-V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSCpc-EUC-H.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/KSCpc-EUC-V.bcmap | Bin .../js/{pdf4 => pdf}/web/cmaps/Katakana.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/LICENSE | 0 media/js/{pdf4 => pdf}/web/cmaps/NWP-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/NWP-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/RKSJ-H.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/RKSJ-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/Roman.bcmap | Bin .../web/cmaps/UniCNS-UCS2-H.bcmap | Bin .../web/cmaps/UniCNS-UCS2-V.bcmap | Bin .../web/cmaps/UniCNS-UTF16-H.bcmap | Bin .../web/cmaps/UniCNS-UTF16-V.bcmap | Bin .../web/cmaps/UniCNS-UTF32-H.bcmap | Bin .../web/cmaps/UniCNS-UTF32-V.bcmap | Bin .../web/cmaps/UniCNS-UTF8-H.bcmap | Bin .../web/cmaps/UniCNS-UTF8-V.bcmap | Bin .../web/cmaps/UniGB-UCS2-H.bcmap | Bin .../web/cmaps/UniGB-UCS2-V.bcmap | Bin .../web/cmaps/UniGB-UTF16-H.bcmap | Bin .../web/cmaps/UniGB-UTF16-V.bcmap | Bin .../web/cmaps/UniGB-UTF32-H.bcmap | Bin .../web/cmaps/UniGB-UTF32-V.bcmap | Bin .../web/cmaps/UniGB-UTF8-H.bcmap | Bin .../web/cmaps/UniGB-UTF8-V.bcmap | Bin .../web/cmaps/UniJIS-UCS2-H.bcmap | Bin .../web/cmaps/UniJIS-UCS2-HW-H.bcmap | Bin .../web/cmaps/UniJIS-UCS2-HW-V.bcmap | Bin .../web/cmaps/UniJIS-UCS2-V.bcmap | Bin .../web/cmaps/UniJIS-UTF16-H.bcmap | Bin .../web/cmaps/UniJIS-UTF16-V.bcmap | Bin .../web/cmaps/UniJIS-UTF32-H.bcmap | Bin .../web/cmaps/UniJIS-UTF32-V.bcmap | Bin .../web/cmaps/UniJIS-UTF8-H.bcmap | Bin .../web/cmaps/UniJIS-UTF8-V.bcmap | Bin .../web/cmaps/UniJIS2004-UTF16-H.bcmap | Bin .../web/cmaps/UniJIS2004-UTF16-V.bcmap | Bin .../web/cmaps/UniJIS2004-UTF32-H.bcmap | Bin .../web/cmaps/UniJIS2004-UTF32-V.bcmap | Bin .../web/cmaps/UniJIS2004-UTF8-H.bcmap | Bin .../web/cmaps/UniJIS2004-UTF8-V.bcmap | Bin .../web/cmaps/UniJISPro-UCS2-HW-V.bcmap | Bin .../web/cmaps/UniJISPro-UCS2-V.bcmap | Bin .../web/cmaps/UniJISPro-UTF8-V.bcmap | Bin .../web/cmaps/UniJISX0213-UTF32-H.bcmap | Bin .../web/cmaps/UniJISX0213-UTF32-V.bcmap | Bin .../web/cmaps/UniJISX02132004-UTF32-H.bcmap | Bin .../web/cmaps/UniJISX02132004-UTF32-V.bcmap | Bin .../web/cmaps/UniKS-UCS2-H.bcmap | Bin .../web/cmaps/UniKS-UCS2-V.bcmap | Bin .../web/cmaps/UniKS-UTF16-H.bcmap | Bin .../web/cmaps/UniKS-UTF16-V.bcmap | Bin .../web/cmaps/UniKS-UTF32-H.bcmap | Bin .../web/cmaps/UniKS-UTF32-V.bcmap | Bin .../web/cmaps/UniKS-UTF8-H.bcmap | Bin .../web/cmaps/UniKS-UTF8-V.bcmap | Bin media/js/{pdf4 => pdf}/web/cmaps/V.bcmap | Bin .../{pdf4 => pdf}/web/cmaps/WP-Symbol.bcmap | Bin media/js/{pdf4 => pdf}/web/custom.css | 0 .../web/images/annotation-check.svg | 0 .../web/images/annotation-comment.svg | 0 .../web/images/annotation-help.svg | 0 .../web/images/annotation-insert.svg | 0 .../web/images/annotation-key.svg | 0 .../web/images/annotation-newparagraph.svg | 0 .../web/images/annotation-noicon.svg | 0 .../web/images/annotation-note.svg | 0 .../web/images/annotation-paperclip.svg | 0 .../web/images/annotation-paragraph.svg | 0 .../web/images/annotation-pushpin.svg | 0 .../web/images/cursor-editorFreeText.svg | 0 .../web/images/cursor-editorInk.svg | 0 .../web/images/custom/first-page.svg | 0 .../web/images/custom/last-page.svg | 0 .../web/images/custom/next-page.svg | 0 .../web/images/custom/previous-page.svg | 0 .../{pdf4 => pdf}/web/images/custom/print.svg | 0 .../web/images/custom/thumbnail.svg | 0 .../web/images/findbarButton-next.svg | 0 .../web/images/findbarButton-previous.svg | 0 media/js/pdf/web/images/grab.cur | Bin 0 -> 326 bytes media/js/pdf/web/images/grabbing.cur | Bin 0 -> 326 bytes .../web/images/gv-toolbarButton-download.svg | 0 .../web/images/gv-toolbarButton-openinapp.svg | 11 + media/js/pdf/web/images/loading-dark.svg | 24 + .../{pdf4 => pdf}/web/images/loading-icon.gif | Bin media/js/{pdf4 => pdf}/web/images/loading.svg | 0 ...ondaryToolbarButton-documentProperties.svg | 0 .../secondaryToolbarButton-firstPage.svg | 0 .../secondaryToolbarButton-handTool.svg | 0 .../secondaryToolbarButton-lastPage.svg | 0 .../secondaryToolbarButton-rotateCcw.svg | 0 .../secondaryToolbarButton-rotateCw.svg | 0 ...econdaryToolbarButton-scrollHorizontal.svg | 0 .../secondaryToolbarButton-scrollPage.svg | 0 .../secondaryToolbarButton-scrollVertical.svg | 0 .../secondaryToolbarButton-scrollWrapped.svg | 0 .../secondaryToolbarButton-selectTool.svg | 0 .../secondaryToolbarButton-spreadEven.svg | 0 .../secondaryToolbarButton-spreadNone.svg | 0 .../secondaryToolbarButton-spreadOdd.svg | 0 media/js/pdf/web/images/shadow.png | Bin 0 -> 269 bytes .../web/images/toolbarButton-bookmark.svg | 0 .../toolbarButton-currentOutlineItem.svg | 0 .../web/images/toolbarButton-download.svg | 0 .../images/toolbarButton-editorFreeText.svg | 3 + .../web/images/toolbarButton-editorInk.svg | 0 .../web/images/toolbarButton-menuArrow.svg | 0 .../web/images/toolbarButton-openFile.svg | 0 .../web/images/toolbarButton-pageDown.svg | 0 .../web/images/toolbarButton-pageUp.svg | 0 .../images/toolbarButton-presentationMode.svg | 0 .../web/images/toolbarButton-print.svg | 0 .../web/images/toolbarButton-search.svg | 0 .../toolbarButton-secondaryToolbarToggle.svg | 0 .../images/toolbarButton-sidebarToggle.svg | 0 .../images/toolbarButton-viewAttachments.svg | 0 .../web/images/toolbarButton-viewLayers.svg | 0 .../web/images/toolbarButton-viewOutline.svg | 0 .../images/toolbarButton-viewThumbnail.svg | 0 .../web/images/toolbarButton-zoomIn.svg | 0 .../web/images/toolbarButton-zoomOut.svg | 0 .../web/images/treeitem-collapsed.svg | 0 .../web/images/treeitem-expanded.svg | 0 media/js/pdf/web/locale/ach/viewer.properties | 200 + media/js/pdf/web/locale/af/viewer.properties | 177 + media/js/pdf/web/locale/an/viewer.properties | 243 + media/js/pdf/web/locale/ar/viewer.properties | 247 + media/js/pdf/web/locale/ast/viewer.properties | 207 + media/js/pdf/web/locale/az/viewer.properties | 243 + media/js/pdf/web/locale/be/viewer.properties | 282 + media/js/pdf/web/locale/bg/viewer.properties | 235 + media/js/pdf/web/locale/bn/viewer.properties | 239 + media/js/pdf/web/locale/bo/viewer.properties | 238 + media/js/pdf/web/locale/br/viewer.properties | 247 + media/js/pdf/web/locale/brx/viewer.properties | 205 + media/js/pdf/web/locale/bs/viewer.properties | 194 + media/js/pdf/web/locale/ca/viewer.properties | 279 + media/js/pdf/web/locale/cak/viewer.properties | 278 + media/js/pdf/web/locale/ckb/viewer.properties | 234 + media/js/pdf/web/locale/cs/viewer.properties | 282 + media/js/pdf/web/locale/cy/viewer.properties | 282 + media/js/pdf/web/locale/da/viewer.properties | 282 + media/js/pdf/web/locale/de/viewer.properties | 282 + media/js/pdf/web/locale/dsb/viewer.properties | 282 + media/js/pdf/web/locale/el/viewer.properties | 282 + .../js/pdf/web/locale/en-CA/viewer.properties | 279 + .../js/pdf/web/locale/en-GB/viewer.properties | 282 + .../js/pdf/web/locale/en-US/viewer.properties | 256 + media/js/pdf/web/locale/eo/viewer.properties | 279 + .../js/pdf/web/locale/es-AR/viewer.properties | 282 + .../js/pdf/web/locale/es-CL/viewer.properties | 282 + .../js/pdf/web/locale/es-ES/viewer.properties | 282 + .../js/pdf/web/locale/es-MX/viewer.properties | 282 + media/js/pdf/web/locale/et/viewer.properties | 262 + media/js/pdf/web/locale/eu/viewer.properties | 283 + media/js/pdf/web/locale/fa/viewer.properties | 242 + media/js/pdf/web/locale/ff/viewer.properties | 235 + media/js/pdf/web/locale/fi/viewer.properties | 284 + media/js/pdf/web/locale/fr/viewer.properties | 282 + media/js/pdf/web/locale/fur/viewer.properties | 282 + .../js/pdf/web/locale/fy-NL/viewer.properties | 282 + .../js/pdf/web/locale/ga-IE/viewer.properties | 202 + media/js/pdf/web/locale/gd/viewer.properties | 282 + media/js/pdf/web/locale/gl/viewer.properties | 282 + media/js/pdf/web/locale/gn/viewer.properties | 282 + .../js/pdf/web/locale/gu-IN/viewer.properties | 235 + media/js/pdf/web/locale/he/viewer.properties | 281 + .../js/pdf/web/locale/hi-IN/viewer.properties | 235 + media/js/pdf/web/locale/hr/viewer.properties | 267 + media/js/pdf/web/locale/hsb/viewer.properties | 282 + media/js/pdf/web/locale/hu/viewer.properties | 282 + .../js/pdf/web/locale/hy-AM/viewer.properties | 253 + media/js/pdf/web/locale/hye/viewer.properties | 252 + media/js/pdf/web/locale/ia/viewer.properties | 282 + media/js/pdf/web/locale/id/viewer.properties | 277 + media/js/pdf/web/locale/is/viewer.properties | 282 + media/js/pdf/web/locale/it/viewer.properties | 222 + media/js/pdf/web/locale/ja/viewer.properties | 284 + media/js/pdf/web/locale/ka/viewer.properties | 282 + media/js/pdf/web/locale/kab/viewer.properties | 282 + media/js/pdf/web/locale/kk/viewer.properties | 282 + media/js/pdf/web/locale/km/viewer.properties | 210 + media/js/pdf/web/locale/kn/viewer.properties | 187 + media/js/pdf/web/locale/ko/viewer.properties | 282 + media/js/pdf/web/locale/lij/viewer.properties | 235 + media/js/pdf/web/locale/lo/viewer.properties | 282 + media/js/pdf/web/locale/locale.properties | 333 + media/js/pdf/web/locale/lt/viewer.properties | 260 + media/js/pdf/web/locale/ltg/viewer.properties | 213 + media/js/pdf/web/locale/lv/viewer.properties | 235 + media/js/pdf/web/locale/meh/viewer.properties | 111 + media/js/pdf/web/locale/mk/viewer.properties | 139 + media/js/pdf/web/locale/mr/viewer.properties | 231 + media/js/pdf/web/locale/ms/viewer.properties | 235 + media/js/pdf/web/locale/my/viewer.properties | 191 + .../js/pdf/web/locale/nb-NO/viewer.properties | 284 + .../js/pdf/web/locale/ne-NP/viewer.properties | 218 + media/js/pdf/web/locale/nl/viewer.properties | 282 + .../js/pdf/web/locale/nn-NO/viewer.properties | 282 + media/js/pdf/web/locale/oc/viewer.properties | 282 + .../js/pdf/web/locale/pa-IN/viewer.properties | 282 + media/js/pdf/web/locale/pl/viewer.properties | 284 + .../js/pdf/web/locale/pt-BR/viewer.properties | 282 + .../js/pdf/web/locale/pt-PT/viewer.properties | 284 + media/js/pdf/web/locale/rm/viewer.properties | 282 + media/js/pdf/web/locale/ro/viewer.properties | 241 + media/js/pdf/web/locale/ru/viewer.properties | 282 + media/js/pdf/web/locale/sat/viewer.properties | 283 + media/js/pdf/web/locale/sc/viewer.properties | 266 + media/js/pdf/web/locale/scn/viewer.properties | 101 + media/js/pdf/web/locale/sco/viewer.properties | 249 + media/js/pdf/web/locale/si/viewer.properties | 237 + media/js/pdf/web/locale/sk/viewer.properties | 282 + media/js/pdf/web/locale/skr/viewer.properties | 282 + media/js/pdf/web/locale/sl/viewer.properties | 282 + media/js/pdf/web/locale/son/viewer.properties | 173 + media/js/pdf/web/locale/sq/viewer.properties | 271 + media/js/pdf/web/locale/sr/viewer.properties | 284 + .../js/pdf/web/locale/sv-SE/viewer.properties | 282 + media/js/pdf/web/locale/szl/viewer.properties | 245 + media/js/pdf/web/locale/ta/viewer.properties | 194 + media/js/pdf/web/locale/te/viewer.properties | 237 + media/js/pdf/web/locale/tg/viewer.properties | 282 + media/js/pdf/web/locale/th/viewer.properties | 284 + media/js/pdf/web/locale/tl/viewer.properties | 243 + media/js/pdf/web/locale/tr/viewer.properties | 282 + media/js/pdf/web/locale/trs/viewer.properties | 206 + media/js/pdf/web/locale/uk/viewer.properties | 282 + media/js/pdf/web/locale/ur/viewer.properties | 239 + media/js/pdf/web/locale/uz/viewer.properties | 163 + media/js/pdf/web/locale/vi/viewer.properties | 282 + media/js/pdf/web/locale/wo/viewer.properties | 123 + media/js/pdf/web/locale/xh/viewer.properties | 177 + .../js/pdf/web/locale/zh-CN/viewer.properties | 282 + .../js/pdf/web/locale/zh-TW/viewer.properties | 282 + .../web/standard_fonts/FoxitDingbats.pfb | Bin .../web/standard_fonts/FoxitFixed.pfb | Bin .../web/standard_fonts/FoxitFixedBold.pfb | Bin .../standard_fonts/FoxitFixedBoldItalic.pfb | Bin .../web/standard_fonts/FoxitFixedItalic.pfb | Bin .../web/standard_fonts/FoxitSerif.pfb | Bin .../web/standard_fonts/FoxitSerifBold.pfb | Bin .../standard_fonts/FoxitSerifBoldItalic.pfb | Bin .../web/standard_fonts/FoxitSerifItalic.pfb | Bin .../web/standard_fonts/FoxitSymbol.pfb | Bin .../web/standard_fonts/LICENSE_FOXIT | 0 .../web/standard_fonts/LICENSE_LIBERATION | 0 .../standard_fonts/LiberationSans-Bold.ttf | Bin .../LiberationSans-BoldItalic.ttf | Bin .../standard_fonts/LiberationSans-Italic.ttf | Bin .../standard_fonts/LiberationSans-Regular.ttf | Bin media/js/pdf/web/viewer.css | 2645 + media/js/pdf/web/viewer.js | 13794 +++ media/js/pdf4/build/pdf.mjs | 24827 ------ media/js/pdf4/build/pdf.sandbox.mjs | 3794 - media/js/pdf4/web/images/altText_add.svg | 3 - media/js/pdf4/web/images/altText_done.svg | 3 - .../web/images/cursor-editorFreeHighlight.svg | 6 - .../web/images/cursor-editorTextHighlight.svg | 8 - .../pdf4/web/images/editor-toolbar-delete.svg | 5 - .../images/toolbarButton-editorFreeText.svg | 5 - .../images/toolbarButton-editorHighlight.svg | 6 - .../web/images/toolbarButton-editorStamp.svg | 8 - media/js/pdf4/web/locale/ach/viewer.ftl | 225 - media/js/pdf4/web/locale/af/viewer.ftl | 212 - media/js/pdf4/web/locale/an/viewer.ftl | 257 - media/js/pdf4/web/locale/ar/viewer.ftl | 404 - media/js/pdf4/web/locale/ast/viewer.ftl | 201 - media/js/pdf4/web/locale/az/viewer.ftl | 257 - media/js/pdf4/web/locale/be/viewer.ftl | 404 - media/js/pdf4/web/locale/bg/viewer.ftl | 384 - media/js/pdf4/web/locale/bn/viewer.ftl | 247 - media/js/pdf4/web/locale/bo/viewer.ftl | 247 - media/js/pdf4/web/locale/br/viewer.ftl | 313 - media/js/pdf4/web/locale/brx/viewer.ftl | 218 - media/js/pdf4/web/locale/bs/viewer.ftl | 223 - media/js/pdf4/web/locale/ca/viewer.ftl | 299 - media/js/pdf4/web/locale/cak/viewer.ftl | 291 - media/js/pdf4/web/locale/ckb/viewer.ftl | 242 - media/js/pdf4/web/locale/cs/viewer.ftl | 406 - media/js/pdf4/web/locale/cy/viewer.ftl | 410 - media/js/pdf4/web/locale/da/viewer.ftl | 402 - media/js/pdf4/web/locale/de/viewer.ftl | 402 - media/js/pdf4/web/locale/dsb/viewer.ftl | 406 - media/js/pdf4/web/locale/el/viewer.ftl | 402 - media/js/pdf4/web/locale/en-CA/viewer.ftl | 402 - media/js/pdf4/web/locale/en-GB/viewer.ftl | 402 - media/js/pdf4/web/locale/en-US/viewer.ftl | 418 - media/js/pdf4/web/locale/eo/viewer.ftl | 398 - media/js/pdf4/web/locale/es-AR/viewer.ftl | 402 - media/js/pdf4/web/locale/es-CL/viewer.ftl | 402 - media/js/pdf4/web/locale/es-ES/viewer.ftl | 402 - media/js/pdf4/web/locale/es-MX/viewer.ftl | 299 - media/js/pdf4/web/locale/et/viewer.ftl | 268 - media/js/pdf4/web/locale/eu/viewer.ftl | 402 - media/js/pdf4/web/locale/fa/viewer.ftl | 246 - media/js/pdf4/web/locale/ff/viewer.ftl | 247 - media/js/pdf4/web/locale/fi/viewer.ftl | 402 - media/js/pdf4/web/locale/fr/viewer.ftl | 398 - media/js/pdf4/web/locale/fur/viewer.ftl | 402 - media/js/pdf4/web/locale/fy-NL/viewer.ftl | 402 - media/js/pdf4/web/locale/ga-IE/viewer.ftl | 213 - media/js/pdf4/web/locale/gd/viewer.ftl | 299 - media/js/pdf4/web/locale/gl/viewer.ftl | 364 - media/js/pdf4/web/locale/gn/viewer.ftl | 402 - media/js/pdf4/web/locale/gu-IN/viewer.ftl | 247 - media/js/pdf4/web/locale/he/viewer.ftl | 402 - media/js/pdf4/web/locale/hi-IN/viewer.ftl | 253 - media/js/pdf4/web/locale/hr/viewer.ftl | 279 - media/js/pdf4/web/locale/hsb/viewer.ftl | 406 - media/js/pdf4/web/locale/hu/viewer.ftl | 396 - media/js/pdf4/web/locale/hy-AM/viewer.ftl | 251 - media/js/pdf4/web/locale/hye/viewer.ftl | 268 - media/js/pdf4/web/locale/ia/viewer.ftl | 402 - media/js/pdf4/web/locale/id/viewer.ftl | 293 - media/js/pdf4/web/locale/is/viewer.ftl | 402 - media/js/pdf4/web/locale/it/viewer.ftl | 401 - media/js/pdf4/web/locale/ja/viewer.ftl | 402 - media/js/pdf4/web/locale/ka/viewer.ftl | 387 - media/js/pdf4/web/locale/kab/viewer.ftl | 337 - media/js/pdf4/web/locale/kk/viewer.ftl | 402 - media/js/pdf4/web/locale/km/viewer.ftl | 223 - media/js/pdf4/web/locale/kn/viewer.ftl | 213 - media/js/pdf4/web/locale/ko/viewer.ftl | 394 - media/js/pdf4/web/locale/lij/viewer.ftl | 247 - media/js/pdf4/web/locale/lo/viewer.ftl | 299 - media/js/pdf4/web/locale/locale.json | 1 - media/js/pdf4/web/locale/lt/viewer.ftl | 268 - media/js/pdf4/web/locale/ltg/viewer.ftl | 246 - media/js/pdf4/web/locale/lv/viewer.ftl | 247 - media/js/pdf4/web/locale/meh/viewer.ftl | 87 - media/js/pdf4/web/locale/mk/viewer.ftl | 215 - media/js/pdf4/web/locale/mr/viewer.ftl | 239 - media/js/pdf4/web/locale/ms/viewer.ftl | 247 - media/js/pdf4/web/locale/my/viewer.ftl | 206 - media/js/pdf4/web/locale/nb-NO/viewer.ftl | 396 - media/js/pdf4/web/locale/ne-NP/viewer.ftl | 234 - media/js/pdf4/web/locale/nl/viewer.ftl | 402 - media/js/pdf4/web/locale/nn-NO/viewer.ftl | 360 - media/js/pdf4/web/locale/oc/viewer.ftl | 354 - media/js/pdf4/web/locale/pa-IN/viewer.ftl | 389 - media/js/pdf4/web/locale/pl/viewer.ftl | 404 - media/js/pdf4/web/locale/pt-BR/viewer.ftl | 396 - media/js/pdf4/web/locale/pt-PT/viewer.ftl | 402 - media/js/pdf4/web/locale/rm/viewer.ftl | 398 - media/js/pdf4/web/locale/ro/viewer.ftl | 251 - media/js/pdf4/web/locale/ru/viewer.ftl | 404 - media/js/pdf4/web/locale/sat/viewer.ftl | 311 - media/js/pdf4/web/locale/sc/viewer.ftl | 290 - media/js/pdf4/web/locale/scn/viewer.ftl | 74 - media/js/pdf4/web/locale/sco/viewer.ftl | 264 - media/js/pdf4/web/locale/si/viewer.ftl | 253 - media/js/pdf4/web/locale/sk/viewer.ftl | 406 - media/js/pdf4/web/locale/skr/viewer.ftl | 396 - media/js/pdf4/web/locale/sl/viewer.ftl | 394 - media/js/pdf4/web/locale/son/viewer.ftl | 206 - media/js/pdf4/web/locale/sq/viewer.ftl | 380 - media/js/pdf4/web/locale/sr/viewer.ftl | 299 - media/js/pdf4/web/locale/sv-SE/viewer.ftl | 402 - media/js/pdf4/web/locale/szl/viewer.ftl | 257 - media/js/pdf4/web/locale/ta/viewer.ftl | 223 - media/js/pdf4/web/locale/te/viewer.ftl | 239 - media/js/pdf4/web/locale/tg/viewer.ftl | 389 - media/js/pdf4/web/locale/th/viewer.ftl | 394 - media/js/pdf4/web/locale/tl/viewer.ftl | 257 - media/js/pdf4/web/locale/tr/viewer.ftl | 402 - media/js/pdf4/web/locale/trs/viewer.ftl | 197 - media/js/pdf4/web/locale/uk/viewer.ftl | 398 - media/js/pdf4/web/locale/ur/viewer.ftl | 248 - media/js/pdf4/web/locale/uz/viewer.ftl | 187 - media/js/pdf4/web/locale/vi/viewer.ftl | 394 - media/js/pdf4/web/locale/wo/viewer.ftl | 127 - media/js/pdf4/web/locale/xh/viewer.ftl | 212 - media/js/pdf4/web/locale/zh-CN/viewer.ftl | 394 - media/js/pdf4/web/locale/zh-TW/viewer.ftl | 394 - media/js/pdf4/web/viewer.css | 4336 - media/js/pdf4/web/viewer.html | 508 - media/js/pdf4/web/viewer.mjs | 19520 ----- seahub/templates/common_file_view_react.html | 12 +- .../templates/document_file_view_react.html | 6 +- seahub/templates/history_file_view_react.html | 12 +- seahub/templates/shared_file_view_react.html | 50 +- 500 files changed, 96377 insertions(+), 126172 deletions(-) create mode 100644 media/js/pdf/build/pdf.js rename media/js/{pdf4/build/pdf.worker.mjs => pdf/build/pdf.worker.js} (62%) rename media/js/{pdf4 => pdf}/web/cmaps/78-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78ms-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/78ms-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/83pv-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90ms-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90ms-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90msp-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90msp-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90pv-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/90pv-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Add-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Add-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Add-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Add-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-0.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-1.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-3.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-4.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-5.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-6.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-CNS1-UCS2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-0.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-1.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-3.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-4.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-5.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-GB1-UCS2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-0.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-1.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-3.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-4.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-5.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-6.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Japan1-UCS2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Korea1-0.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Korea1-1.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Korea1-2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Adobe-Korea1-UCS2.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/B5pc-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/B5pc-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS1-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS1-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS2-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/CNS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETHK-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETHK-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETen-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETen-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETenms-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/ETenms-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Ext-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Ext-RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Ext-RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Ext-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GB-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GB-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GB-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GB-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBK-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBK-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBK2K-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBK2K-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBKp-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBKp-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBT-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBT-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBT-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBT-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBTpc-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBTpc-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBpc-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/GBpc-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKdla-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKdla-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKdlb-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKdlb-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKgccs-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKgccs-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKm314-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKm314-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKm471-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKm471-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKscs-B5-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/HKscs-B5-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Hankaku.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Hiragana.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-Johab-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-Johab-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCms-UHC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCms-UHC-HW-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCms-UHC-HW-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCms-UHC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCpc-EUC-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/KSCpc-EUC-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Katakana.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/LICENSE (100%) rename media/js/{pdf4 => pdf}/web/cmaps/NWP-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/NWP-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/RKSJ-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/RKSJ-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/Roman.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UCS2-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UCS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF16-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF16-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF8-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniCNS-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UCS2-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UCS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF16-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF16-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF8-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniGB-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UCS2-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UCS2-HW-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UCS2-HW-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UCS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF16-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF16-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF8-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF16-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF16-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF8-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJIS2004-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISPro-UCS2-HW-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISPro-UCS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISPro-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISX0213-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISX0213-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISX02132004-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniJISX02132004-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UCS2-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UCS2-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF16-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF16-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF32-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF32-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF8-H.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/UniKS-UTF8-V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/V.bcmap (100%) rename media/js/{pdf4 => pdf}/web/cmaps/WP-Symbol.bcmap (100%) rename media/js/{pdf4 => pdf}/web/custom.css (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-check.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-comment.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-help.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-insert.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-key.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-newparagraph.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-noicon.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-note.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-paperclip.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-paragraph.svg (100%) rename media/js/{pdf4 => pdf}/web/images/annotation-pushpin.svg (100%) rename media/js/{pdf4 => pdf}/web/images/cursor-editorFreeText.svg (100%) rename media/js/{pdf4 => pdf}/web/images/cursor-editorInk.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/first-page.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/last-page.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/next-page.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/previous-page.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/print.svg (100%) rename media/js/{pdf4 => pdf}/web/images/custom/thumbnail.svg (100%) rename media/js/{pdf4 => pdf}/web/images/findbarButton-next.svg (100%) rename media/js/{pdf4 => pdf}/web/images/findbarButton-previous.svg (100%) create mode 100644 media/js/pdf/web/images/grab.cur create mode 100644 media/js/pdf/web/images/grabbing.cur rename media/js/{pdf4 => pdf}/web/images/gv-toolbarButton-download.svg (100%) create mode 100644 media/js/pdf/web/images/gv-toolbarButton-openinapp.svg create mode 100644 media/js/pdf/web/images/loading-dark.svg rename media/js/{pdf4 => pdf}/web/images/loading-icon.gif (100%) rename media/js/{pdf4 => pdf}/web/images/loading.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-documentProperties.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-firstPage.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-handTool.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-lastPage.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-rotateCcw.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-rotateCw.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-scrollHorizontal.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-scrollPage.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-scrollVertical.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-scrollWrapped.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-selectTool.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-spreadEven.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-spreadNone.svg (100%) rename media/js/{pdf4 => pdf}/web/images/secondaryToolbarButton-spreadOdd.svg (100%) create mode 100644 media/js/pdf/web/images/shadow.png rename media/js/{pdf4 => pdf}/web/images/toolbarButton-bookmark.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-currentOutlineItem.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-download.svg (100%) create mode 100644 media/js/pdf/web/images/toolbarButton-editorFreeText.svg rename media/js/{pdf4 => pdf}/web/images/toolbarButton-editorInk.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-menuArrow.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-openFile.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-pageDown.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-pageUp.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-presentationMode.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-print.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-search.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-secondaryToolbarToggle.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-sidebarToggle.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-viewAttachments.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-viewLayers.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-viewOutline.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-viewThumbnail.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-zoomIn.svg (100%) rename media/js/{pdf4 => pdf}/web/images/toolbarButton-zoomOut.svg (100%) rename media/js/{pdf4 => pdf}/web/images/treeitem-collapsed.svg (100%) rename media/js/{pdf4 => pdf}/web/images/treeitem-expanded.svg (100%) create mode 100644 media/js/pdf/web/locale/ach/viewer.properties create mode 100644 media/js/pdf/web/locale/af/viewer.properties create mode 100644 media/js/pdf/web/locale/an/viewer.properties create mode 100644 media/js/pdf/web/locale/ar/viewer.properties create mode 100644 media/js/pdf/web/locale/ast/viewer.properties create mode 100644 media/js/pdf/web/locale/az/viewer.properties create mode 100644 media/js/pdf/web/locale/be/viewer.properties create mode 100644 media/js/pdf/web/locale/bg/viewer.properties create mode 100644 media/js/pdf/web/locale/bn/viewer.properties create mode 100644 media/js/pdf/web/locale/bo/viewer.properties create mode 100644 media/js/pdf/web/locale/br/viewer.properties create mode 100644 media/js/pdf/web/locale/brx/viewer.properties create mode 100644 media/js/pdf/web/locale/bs/viewer.properties create mode 100644 media/js/pdf/web/locale/ca/viewer.properties create mode 100644 media/js/pdf/web/locale/cak/viewer.properties create mode 100644 media/js/pdf/web/locale/ckb/viewer.properties create mode 100644 media/js/pdf/web/locale/cs/viewer.properties create mode 100644 media/js/pdf/web/locale/cy/viewer.properties create mode 100644 media/js/pdf/web/locale/da/viewer.properties create mode 100644 media/js/pdf/web/locale/de/viewer.properties create mode 100644 media/js/pdf/web/locale/dsb/viewer.properties create mode 100644 media/js/pdf/web/locale/el/viewer.properties create mode 100644 media/js/pdf/web/locale/en-CA/viewer.properties create mode 100644 media/js/pdf/web/locale/en-GB/viewer.properties create mode 100644 media/js/pdf/web/locale/en-US/viewer.properties create mode 100644 media/js/pdf/web/locale/eo/viewer.properties create mode 100644 media/js/pdf/web/locale/es-AR/viewer.properties create mode 100644 media/js/pdf/web/locale/es-CL/viewer.properties create mode 100644 media/js/pdf/web/locale/es-ES/viewer.properties create mode 100644 media/js/pdf/web/locale/es-MX/viewer.properties create mode 100644 media/js/pdf/web/locale/et/viewer.properties create mode 100644 media/js/pdf/web/locale/eu/viewer.properties create mode 100644 media/js/pdf/web/locale/fa/viewer.properties create mode 100644 media/js/pdf/web/locale/ff/viewer.properties create mode 100644 media/js/pdf/web/locale/fi/viewer.properties create mode 100644 media/js/pdf/web/locale/fr/viewer.properties create mode 100644 media/js/pdf/web/locale/fur/viewer.properties create mode 100644 media/js/pdf/web/locale/fy-NL/viewer.properties create mode 100644 media/js/pdf/web/locale/ga-IE/viewer.properties create mode 100644 media/js/pdf/web/locale/gd/viewer.properties create mode 100644 media/js/pdf/web/locale/gl/viewer.properties create mode 100644 media/js/pdf/web/locale/gn/viewer.properties create mode 100644 media/js/pdf/web/locale/gu-IN/viewer.properties create mode 100644 media/js/pdf/web/locale/he/viewer.properties create mode 100644 media/js/pdf/web/locale/hi-IN/viewer.properties create mode 100644 media/js/pdf/web/locale/hr/viewer.properties create mode 100644 media/js/pdf/web/locale/hsb/viewer.properties create mode 100644 media/js/pdf/web/locale/hu/viewer.properties create mode 100644 media/js/pdf/web/locale/hy-AM/viewer.properties create mode 100644 media/js/pdf/web/locale/hye/viewer.properties create mode 100644 media/js/pdf/web/locale/ia/viewer.properties create mode 100644 media/js/pdf/web/locale/id/viewer.properties create mode 100644 media/js/pdf/web/locale/is/viewer.properties create mode 100644 media/js/pdf/web/locale/it/viewer.properties create mode 100644 media/js/pdf/web/locale/ja/viewer.properties create mode 100644 media/js/pdf/web/locale/ka/viewer.properties create mode 100644 media/js/pdf/web/locale/kab/viewer.properties create mode 100644 media/js/pdf/web/locale/kk/viewer.properties create mode 100644 media/js/pdf/web/locale/km/viewer.properties create mode 100644 media/js/pdf/web/locale/kn/viewer.properties create mode 100644 media/js/pdf/web/locale/ko/viewer.properties create mode 100644 media/js/pdf/web/locale/lij/viewer.properties create mode 100644 media/js/pdf/web/locale/lo/viewer.properties create mode 100644 media/js/pdf/web/locale/locale.properties create mode 100644 media/js/pdf/web/locale/lt/viewer.properties create mode 100644 media/js/pdf/web/locale/ltg/viewer.properties create mode 100644 media/js/pdf/web/locale/lv/viewer.properties create mode 100644 media/js/pdf/web/locale/meh/viewer.properties create mode 100644 media/js/pdf/web/locale/mk/viewer.properties create mode 100644 media/js/pdf/web/locale/mr/viewer.properties create mode 100644 media/js/pdf/web/locale/ms/viewer.properties create mode 100644 media/js/pdf/web/locale/my/viewer.properties create mode 100644 media/js/pdf/web/locale/nb-NO/viewer.properties create mode 100644 media/js/pdf/web/locale/ne-NP/viewer.properties create mode 100644 media/js/pdf/web/locale/nl/viewer.properties create mode 100644 media/js/pdf/web/locale/nn-NO/viewer.properties create mode 100644 media/js/pdf/web/locale/oc/viewer.properties create mode 100644 media/js/pdf/web/locale/pa-IN/viewer.properties create mode 100644 media/js/pdf/web/locale/pl/viewer.properties create mode 100644 media/js/pdf/web/locale/pt-BR/viewer.properties create mode 100644 media/js/pdf/web/locale/pt-PT/viewer.properties create mode 100644 media/js/pdf/web/locale/rm/viewer.properties create mode 100644 media/js/pdf/web/locale/ro/viewer.properties create mode 100644 media/js/pdf/web/locale/ru/viewer.properties create mode 100644 media/js/pdf/web/locale/sat/viewer.properties create mode 100644 media/js/pdf/web/locale/sc/viewer.properties create mode 100644 media/js/pdf/web/locale/scn/viewer.properties create mode 100644 media/js/pdf/web/locale/sco/viewer.properties create mode 100644 media/js/pdf/web/locale/si/viewer.properties create mode 100644 media/js/pdf/web/locale/sk/viewer.properties create mode 100644 media/js/pdf/web/locale/skr/viewer.properties create mode 100644 media/js/pdf/web/locale/sl/viewer.properties create mode 100644 media/js/pdf/web/locale/son/viewer.properties create mode 100644 media/js/pdf/web/locale/sq/viewer.properties create mode 100644 media/js/pdf/web/locale/sr/viewer.properties create mode 100644 media/js/pdf/web/locale/sv-SE/viewer.properties create mode 100644 media/js/pdf/web/locale/szl/viewer.properties create mode 100644 media/js/pdf/web/locale/ta/viewer.properties create mode 100644 media/js/pdf/web/locale/te/viewer.properties create mode 100644 media/js/pdf/web/locale/tg/viewer.properties create mode 100644 media/js/pdf/web/locale/th/viewer.properties create mode 100644 media/js/pdf/web/locale/tl/viewer.properties create mode 100644 media/js/pdf/web/locale/tr/viewer.properties create mode 100644 media/js/pdf/web/locale/trs/viewer.properties create mode 100644 media/js/pdf/web/locale/uk/viewer.properties create mode 100644 media/js/pdf/web/locale/ur/viewer.properties create mode 100644 media/js/pdf/web/locale/uz/viewer.properties create mode 100644 media/js/pdf/web/locale/vi/viewer.properties create mode 100644 media/js/pdf/web/locale/wo/viewer.properties create mode 100644 media/js/pdf/web/locale/xh/viewer.properties create mode 100644 media/js/pdf/web/locale/zh-CN/viewer.properties create mode 100644 media/js/pdf/web/locale/zh-TW/viewer.properties rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitDingbats.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitFixed.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitFixedBold.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitFixedBoldItalic.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitFixedItalic.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitSerif.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitSerifBold.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitSerifBoldItalic.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitSerifItalic.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/FoxitSymbol.pfb (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LICENSE_FOXIT (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LICENSE_LIBERATION (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LiberationSans-Bold.ttf (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LiberationSans-BoldItalic.ttf (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LiberationSans-Italic.ttf (100%) rename media/js/{pdf4 => pdf}/web/standard_fonts/LiberationSans-Regular.ttf (100%) create mode 100644 media/js/pdf/web/viewer.css create mode 100644 media/js/pdf/web/viewer.js delete mode 100644 media/js/pdf4/build/pdf.mjs delete mode 100644 media/js/pdf4/build/pdf.sandbox.mjs delete mode 100644 media/js/pdf4/web/images/altText_add.svg delete mode 100644 media/js/pdf4/web/images/altText_done.svg delete mode 100644 media/js/pdf4/web/images/cursor-editorFreeHighlight.svg delete mode 100644 media/js/pdf4/web/images/cursor-editorTextHighlight.svg delete mode 100644 media/js/pdf4/web/images/editor-toolbar-delete.svg delete mode 100644 media/js/pdf4/web/images/toolbarButton-editorFreeText.svg delete mode 100644 media/js/pdf4/web/images/toolbarButton-editorHighlight.svg delete mode 100644 media/js/pdf4/web/images/toolbarButton-editorStamp.svg delete mode 100644 media/js/pdf4/web/locale/ach/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/af/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/an/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ar/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ast/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/az/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/be/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/bg/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/bn/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/bo/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/br/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/brx/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/bs/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ca/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/cak/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ckb/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/cs/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/cy/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/da/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/de/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/dsb/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/el/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/en-CA/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/en-GB/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/en-US/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/eo/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/es-AR/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/es-CL/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/es-ES/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/es-MX/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/et/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/eu/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/fa/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ff/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/fi/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/fr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/fur/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/fy-NL/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ga-IE/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/gd/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/gl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/gn/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/gu-IN/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/he/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hi-IN/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hsb/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hu/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hy-AM/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/hye/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ia/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/id/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/is/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/it/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ja/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ka/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/kab/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/kk/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/km/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/kn/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ko/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/lij/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/lo/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/locale.json delete mode 100644 media/js/pdf4/web/locale/lt/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ltg/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/lv/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/meh/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/mk/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/mr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ms/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/my/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/nb-NO/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ne-NP/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/nl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/nn-NO/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/oc/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/pa-IN/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/pl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/pt-BR/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/pt-PT/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/rm/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ro/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ru/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sat/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sc/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/scn/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sco/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/si/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sk/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/skr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/son/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sq/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/sv-SE/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/szl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ta/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/te/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/tg/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/th/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/tl/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/tr/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/trs/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/uk/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/ur/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/uz/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/vi/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/wo/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/xh/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/zh-CN/viewer.ftl delete mode 100644 media/js/pdf4/web/locale/zh-TW/viewer.ftl delete mode 100644 media/js/pdf4/web/viewer.css delete mode 100644 media/js/pdf4/web/viewer.html delete mode 100644 media/js/pdf4/web/viewer.mjs diff --git a/frontend/src/components/pdf-viewer.js b/frontend/src/components/pdf-viewer.js index 19244600ce..ebe1979620 100644 --- a/frontend/src/components/pdf-viewer.js +++ b/frontend/src/components/pdf-viewer.js @@ -13,6 +13,7 @@ class PDFViewer extends React.Component { return ( + @@ -21,25 +22,27 @@ class PDFViewer extends React.Component { - - Thumbnails + + Thumbnails - - Document Outline + + Document Outline - - Attachments + + Attachments - - Layers + + Layers + - - - - Current Outline Item + + + + + Current Outline Item @@ -54,194 +57,192 @@ class PDFViewer extends React.Component { - - {/* sidebarContainer */} + + + {/**/} + - - + - - Previous + + Previous - - - Next + + + Next + - - Highlight All - - Match Case + + Highlight All + + Match Case - - Match Diacritics - - Whole Words + + Match Diacritics + + Whole Words + - - - - {/* findbar */} - - - - Highlight color - - - Thickness - - - - - - - - Show all - - - + + + {/**/} + - Color - + Color + - Size - + Size + + - Color - + Color + - Thickness - + Thickness + - Opacity - + Opacity + - - - - Add image - - - + - - Open + + Open - - Print + + + Print - - Save + + + Save - - - Presentation Mode + + + + + Presentation Mode - - Current Page + + + Current Page - + + {/* - - Go to First Page - - - Go to Last Page - + + Go to First Page + + + Go to Last Page + */} - - - Rotate Clockwise + + + + + Rotate Clockwise - - Rotate Counterclockwise + + Rotate Counterclockwise - + + + - - Text Selection Tool + + Text Selection Tool - - Hand Tool + + Hand Tool - + + + - - Page Scrolling + + Page Scrolling - - Vertical Scrolling + + Vertical Scrolling - - Horizontal Scrolling + + Horizontal Scrolling - - Wrapped Scrolling + + Wrapped Scrolling - + + + - - No Spreads + + No Spreads - - Odd Spreads + + Odd Spreads - - Even Spreads + + Even Spreads - - - Document Properties… + + + + + Document Properties… - {/* secondaryToolbar */} + + {/**/} + - - Toggle Sidebar + + Toggle Sidebar - - - Find + + + Find Go to First Page - - Previous + + Previous - - Next + + Next Go to Last Page @@ -249,212 +250,177 @@ class PDFViewer extends React.Component { + + Open + + + + Print + + + + Save + + + + - - Highlight + + Text - - Text - - - Draw - - - Add or edit images + + Draw - + - - Print - - - Save - - - - - Tools + + Tools - - Zoom Out + + Zoom Out - + - - - Automatic Zoom - Actual Size - Page Fit - Page Width - 0% - 50% - 75% - 100% - 125% - 150% - 200% - 300% - 400% + + + Automatic Zoom + Actual Size + Page Fit + Page Width + + 50% + 75% + 100% + 125% + 150% + 200% + 300% + 400% - - - Zoom In - + + + + Zoom In + + + {/* - - */} + + + */} - - + + + - {/* mainContainer */} + + {/**/} - Enter the password to open this PDF file: + Enter the password to open this PDF file: - Cancel - OK + Cancel + OK - File name: + File name: - - File size: + File size: - - + - Title: + Title: - - Author: + Author: - - Subject: + Subject: - - Keywords: + Keywords: - - Creation Date: + Creation Date: - - Modification Date: + Modification Date: - - Creator: + Creator: - - + - PDF Producer: + PDF Producer: - - PDF Version: + PDF Version: - - Page Count: + Page Count: - - Page Size: + Page Size: - - + - Fast Web View: + Fast Web View: - - Close - - - - - - Choose an option - - Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. - - - - - - - Add a description - - - - Aim for 1-2 sentences that describe the subject, setting, or actions. - - - - - - - - - - - - Mark as decorative - - - - This is used for ornamental images, like borders or watermarks. - - - - - - Cancel - Save - + Close - Preparing document for printing… + Preparing document for printing… - - 0% + + 0% - Cancel + Cancel - {/* dialogContainer */} + + {/**/} - {/* outerContainer */} + + {/**/} {/**/} diff --git a/frontend/src/shared-file-view-document.js b/frontend/src/shared-file-view-document.js index cd70f98633..90c8a6ac4a 100644 --- a/frontend/src/shared-file-view-document.js +++ b/frontend/src/shared-file-view-document.js @@ -59,7 +59,7 @@ class FileContent extends React.Component { // eslint-disable-next-line let scriptNode = document.createElement('script'); scriptNode.type = 'text/javascript'; - scriptNode.src = `${mediaUrl}js/pdf4/web/viewer.js`; + scriptNode.src = `${mediaUrl}js/pdf/web/viewer.js`; document.body.append(scriptNode); } }).catch((error) => { diff --git a/frontend/src/shared-file-view-pdf.js b/frontend/src/shared-file-view-pdf.js index b1770377b8..6ec24fb97f 100644 --- a/frontend/src/shared-file-view-pdf.js +++ b/frontend/src/shared-file-view-pdf.js @@ -8,6 +8,12 @@ import './css/pdf-file-view.css'; const { err } = window.shared.pageOptions; +class SharedFileViewPDF extends React.Component { + render() { + return } fileType="pdf" />; + } +} + class FileContent extends React.Component { render() { if (err) { @@ -22,10 +28,4 @@ class FileContent extends React.Component { } } -class SharedFileViewPDF extends React.Component { - render() { - return } fileType="pdf" />; - } -} - ReactDom.render(, document.getElementById('wrapper')); diff --git a/frontend/src/view-file-document.js b/frontend/src/view-file-document.js index 1190bafad5..e7b12a1724 100644 --- a/frontend/src/view-file-document.js +++ b/frontend/src/view-file-document.js @@ -61,7 +61,7 @@ class FileContent extends React.Component { // eslint-disable-next-line let scriptNode = document.createElement('script'); scriptNode.type = 'text/javascript'; - scriptNode.src = `${mediaUrl}js/pdf4/web/viewer.js`; + scriptNode.src = `${mediaUrl}js/pdf/web/viewer.js`; document.body.append(scriptNode); } }).catch((error) => { diff --git a/media/js/pdf/build/pdf.js b/media/js/pdf/build/pdf.js new file mode 100644 index 0000000000..e1bee3d61a --- /dev/null +++ b/media/js/pdf/build/pdf.js @@ -0,0 +1,16435 @@ +/** + * @licstart The following is the entire license notice for the + * JavaScript code in this page + * + * Copyright 2023 Mozilla Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @licend The above is the entire license notice for the + * JavaScript code in this page + */ + +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define("pdfjs-dist/build/pdf", [], factory); + else if(typeof exports === 'object') + exports["pdfjs-dist/build/pdf"] = factory(); + else + root["pdfjs-dist/build/pdf"] = root.pdfjsLib = factory(); +})(globalThis, () => { +return /******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ([ +/* 0 */, +/* 1 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.VerbosityLevel = exports.Util = exports.UnknownErrorException = exports.UnexpectedResponseException = exports.TextRenderingMode = exports.RenderingIntentFlag = exports.PromiseCapability = exports.PermissionFlag = exports.PasswordResponses = exports.PasswordException = exports.PageActionEventType = exports.OPS = exports.MissingPDFException = exports.MAX_IMAGE_SIZE_TO_CACHE = exports.LINE_FACTOR = exports.LINE_DESCENT_FACTOR = exports.InvalidPDFException = exports.ImageKind = exports.IDENTITY_MATRIX = exports.FormatError = exports.FeatureTest = exports.FONT_IDENTITY_MATRIX = exports.DocumentActionEventType = exports.CMapCompressionType = exports.BaseException = exports.BASELINE_FACTOR = exports.AnnotationType = exports.AnnotationReplyType = exports.AnnotationMode = exports.AnnotationFlag = exports.AnnotationFieldFlag = exports.AnnotationEditorType = exports.AnnotationEditorPrefix = exports.AnnotationEditorParamsType = exports.AnnotationBorderStyleType = exports.AnnotationActionEventType = exports.AbortException = void 0; +exports.assert = assert; +exports.bytesToString = bytesToString; +exports.createValidAbsoluteUrl = createValidAbsoluteUrl; +exports.getModificationDate = getModificationDate; +exports.getVerbosityLevel = getVerbosityLevel; +exports.info = info; +exports.isArrayBuffer = isArrayBuffer; +exports.isArrayEqual = isArrayEqual; +exports.normalizeUnicode = normalizeUnicode; +exports.objectFromMap = objectFromMap; +exports.objectSize = objectSize; +exports.setVerbosityLevel = setVerbosityLevel; +exports.shadow = shadow; +exports.string32 = string32; +exports.stringToBytes = stringToBytes; +exports.stringToPDFString = stringToPDFString; +exports.stringToUTF8String = stringToUTF8String; +exports.unreachable = unreachable; +exports.utf8StringToString = utf8StringToString; +exports.warn = warn; +; +const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0]; +exports.IDENTITY_MATRIX = IDENTITY_MATRIX; +const FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0]; +exports.FONT_IDENTITY_MATRIX = FONT_IDENTITY_MATRIX; +const MAX_IMAGE_SIZE_TO_CACHE = 10e6; +exports.MAX_IMAGE_SIZE_TO_CACHE = MAX_IMAGE_SIZE_TO_CACHE; +const LINE_FACTOR = 1.35; +exports.LINE_FACTOR = LINE_FACTOR; +const LINE_DESCENT_FACTOR = 0.35; +exports.LINE_DESCENT_FACTOR = LINE_DESCENT_FACTOR; +const BASELINE_FACTOR = LINE_DESCENT_FACTOR / LINE_FACTOR; +exports.BASELINE_FACTOR = BASELINE_FACTOR; +const RenderingIntentFlag = { + ANY: 0x01, + DISPLAY: 0x02, + PRINT: 0x04, + SAVE: 0x08, + ANNOTATIONS_FORMS: 0x10, + ANNOTATIONS_STORAGE: 0x20, + ANNOTATIONS_DISABLE: 0x40, + OPLIST: 0x100 +}; +exports.RenderingIntentFlag = RenderingIntentFlag; +const AnnotationMode = { + DISABLE: 0, + ENABLE: 1, + ENABLE_FORMS: 2, + ENABLE_STORAGE: 3 +}; +exports.AnnotationMode = AnnotationMode; +const AnnotationEditorPrefix = "pdfjs_internal_editor_"; +exports.AnnotationEditorPrefix = AnnotationEditorPrefix; +const AnnotationEditorType = { + DISABLE: -1, + NONE: 0, + FREETEXT: 3, + STAMP: 13, + INK: 15 +}; +exports.AnnotationEditorType = AnnotationEditorType; +const AnnotationEditorParamsType = { + FREETEXT_SIZE: 1, + FREETEXT_COLOR: 2, + FREETEXT_OPACITY: 3, + INK_COLOR: 11, + INK_THICKNESS: 12, + INK_OPACITY: 13 +}; +exports.AnnotationEditorParamsType = AnnotationEditorParamsType; +const PermissionFlag = { + PRINT: 0x04, + MODIFY_CONTENTS: 0x08, + COPY: 0x10, + MODIFY_ANNOTATIONS: 0x20, + FILL_INTERACTIVE_FORMS: 0x100, + COPY_FOR_ACCESSIBILITY: 0x200, + ASSEMBLE: 0x400, + PRINT_HIGH_QUALITY: 0x800 +}; +exports.PermissionFlag = PermissionFlag; +const TextRenderingMode = { + FILL: 0, + STROKE: 1, + FILL_STROKE: 2, + INVISIBLE: 3, + FILL_ADD_TO_PATH: 4, + STROKE_ADD_TO_PATH: 5, + FILL_STROKE_ADD_TO_PATH: 6, + ADD_TO_PATH: 7, + FILL_STROKE_MASK: 3, + ADD_TO_PATH_FLAG: 4 +}; +exports.TextRenderingMode = TextRenderingMode; +const ImageKind = { + GRAYSCALE_1BPP: 1, + RGB_24BPP: 2, + RGBA_32BPP: 3 +}; +exports.ImageKind = ImageKind; +const AnnotationType = { + TEXT: 1, + LINK: 2, + FREETEXT: 3, + LINE: 4, + SQUARE: 5, + CIRCLE: 6, + POLYGON: 7, + POLYLINE: 8, + HIGHLIGHT: 9, + UNDERLINE: 10, + SQUIGGLY: 11, + STRIKEOUT: 12, + STAMP: 13, + CARET: 14, + INK: 15, + POPUP: 16, + FILEATTACHMENT: 17, + SOUND: 18, + MOVIE: 19, + WIDGET: 20, + SCREEN: 21, + PRINTERMARK: 22, + TRAPNET: 23, + WATERMARK: 24, + THREED: 25, + REDACT: 26 +}; +exports.AnnotationType = AnnotationType; +const AnnotationReplyType = { + GROUP: "Group", + REPLY: "R" +}; +exports.AnnotationReplyType = AnnotationReplyType; +const AnnotationFlag = { + INVISIBLE: 0x01, + HIDDEN: 0x02, + PRINT: 0x04, + NOZOOM: 0x08, + NOROTATE: 0x10, + NOVIEW: 0x20, + READONLY: 0x40, + LOCKED: 0x80, + TOGGLENOVIEW: 0x100, + LOCKEDCONTENTS: 0x200 +}; +exports.AnnotationFlag = AnnotationFlag; +const AnnotationFieldFlag = { + READONLY: 0x0000001, + REQUIRED: 0x0000002, + NOEXPORT: 0x0000004, + MULTILINE: 0x0001000, + PASSWORD: 0x0002000, + NOTOGGLETOOFF: 0x0004000, + RADIO: 0x0008000, + PUSHBUTTON: 0x0010000, + COMBO: 0x0020000, + EDIT: 0x0040000, + SORT: 0x0080000, + FILESELECT: 0x0100000, + MULTISELECT: 0x0200000, + DONOTSPELLCHECK: 0x0400000, + DONOTSCROLL: 0x0800000, + COMB: 0x1000000, + RICHTEXT: 0x2000000, + RADIOSINUNISON: 0x2000000, + COMMITONSELCHANGE: 0x4000000 +}; +exports.AnnotationFieldFlag = AnnotationFieldFlag; +const AnnotationBorderStyleType = { + SOLID: 1, + DASHED: 2, + BEVELED: 3, + INSET: 4, + UNDERLINE: 5 +}; +exports.AnnotationBorderStyleType = AnnotationBorderStyleType; +const AnnotationActionEventType = { + E: "Mouse Enter", + X: "Mouse Exit", + D: "Mouse Down", + U: "Mouse Up", + Fo: "Focus", + Bl: "Blur", + PO: "PageOpen", + PC: "PageClose", + PV: "PageVisible", + PI: "PageInvisible", + K: "Keystroke", + F: "Format", + V: "Validate", + C: "Calculate" +}; +exports.AnnotationActionEventType = AnnotationActionEventType; +const DocumentActionEventType = { + WC: "WillClose", + WS: "WillSave", + DS: "DidSave", + WP: "WillPrint", + DP: "DidPrint" +}; +exports.DocumentActionEventType = DocumentActionEventType; +const PageActionEventType = { + O: "PageOpen", + C: "PageClose" +}; +exports.PageActionEventType = PageActionEventType; +const VerbosityLevel = { + ERRORS: 0, + WARNINGS: 1, + INFOS: 5 +}; +exports.VerbosityLevel = VerbosityLevel; +const CMapCompressionType = { + NONE: 0, + BINARY: 1 +}; +exports.CMapCompressionType = CMapCompressionType; +const OPS = { + dependency: 1, + setLineWidth: 2, + setLineCap: 3, + setLineJoin: 4, + setMiterLimit: 5, + setDash: 6, + setRenderingIntent: 7, + setFlatness: 8, + setGState: 9, + save: 10, + restore: 11, + transform: 12, + moveTo: 13, + lineTo: 14, + curveTo: 15, + curveTo2: 16, + curveTo3: 17, + closePath: 18, + rectangle: 19, + stroke: 20, + closeStroke: 21, + fill: 22, + eoFill: 23, + fillStroke: 24, + eoFillStroke: 25, + closeFillStroke: 26, + closeEOFillStroke: 27, + endPath: 28, + clip: 29, + eoClip: 30, + beginText: 31, + endText: 32, + setCharSpacing: 33, + setWordSpacing: 34, + setHScale: 35, + setLeading: 36, + setFont: 37, + setTextRenderingMode: 38, + setTextRise: 39, + moveText: 40, + setLeadingMoveText: 41, + setTextMatrix: 42, + nextLine: 43, + showText: 44, + showSpacedText: 45, + nextLineShowText: 46, + nextLineSetSpacingShowText: 47, + setCharWidth: 48, + setCharWidthAndBounds: 49, + setStrokeColorSpace: 50, + setFillColorSpace: 51, + setStrokeColor: 52, + setStrokeColorN: 53, + setFillColor: 54, + setFillColorN: 55, + setStrokeGray: 56, + setFillGray: 57, + setStrokeRGBColor: 58, + setFillRGBColor: 59, + setStrokeCMYKColor: 60, + setFillCMYKColor: 61, + shadingFill: 62, + beginInlineImage: 63, + beginImageData: 64, + endInlineImage: 65, + paintXObject: 66, + markPoint: 67, + markPointProps: 68, + beginMarkedContent: 69, + beginMarkedContentProps: 70, + endMarkedContent: 71, + beginCompat: 72, + endCompat: 73, + paintFormXObjectBegin: 74, + paintFormXObjectEnd: 75, + beginGroup: 76, + endGroup: 77, + beginAnnotation: 80, + endAnnotation: 81, + paintImageMaskXObject: 83, + paintImageMaskXObjectGroup: 84, + paintImageXObject: 85, + paintInlineImageXObject: 86, + paintInlineImageXObjectGroup: 87, + paintImageXObjectRepeat: 88, + paintImageMaskXObjectRepeat: 89, + paintSolidColorImageMask: 90, + constructPath: 91 +}; +exports.OPS = OPS; +const PasswordResponses = { + NEED_PASSWORD: 1, + INCORRECT_PASSWORD: 2 +}; +exports.PasswordResponses = PasswordResponses; +let verbosity = VerbosityLevel.WARNINGS; +function setVerbosityLevel(level) { + if (Number.isInteger(level)) { + verbosity = level; + } +} +function getVerbosityLevel() { + return verbosity; +} +function info(msg) { + if (verbosity >= VerbosityLevel.INFOS) { + console.log(`Info: ${msg}`); + } +} +function warn(msg) { + if (verbosity >= VerbosityLevel.WARNINGS) { + console.log(`Warning: ${msg}`); + } +} +function unreachable(msg) { + throw new Error(msg); +} +function assert(cond, msg) { + if (!cond) { + unreachable(msg); + } +} +function _isValidProtocol(url) { + switch (url?.protocol) { + case "http:": + case "https:": + case "ftp:": + case "mailto:": + case "tel:": + return true; + default: + return false; + } +} +function createValidAbsoluteUrl(url, baseUrl = null, options = null) { + if (!url) { + return null; + } + try { + if (options && typeof url === "string") { + if (options.addDefaultProtocol && url.startsWith("www.")) { + const dots = url.match(/\./g); + if (dots?.length >= 2) { + url = `http://${url}`; + } + } + if (options.tryConvertEncoding) { + try { + url = stringToUTF8String(url); + } catch {} + } + } + const absoluteUrl = baseUrl ? new URL(url, baseUrl) : new URL(url); + if (_isValidProtocol(absoluteUrl)) { + return absoluteUrl; + } + } catch {} + return null; +} +function shadow(obj, prop, value, nonSerializable = false) { + Object.defineProperty(obj, prop, { + value, + enumerable: !nonSerializable, + configurable: true, + writable: false + }); + return value; +} +const BaseException = function BaseExceptionClosure() { + function BaseException(message, name) { + if (this.constructor === BaseException) { + unreachable("Cannot initialize BaseException."); + } + this.message = message; + this.name = name; + } + BaseException.prototype = new Error(); + BaseException.constructor = BaseException; + return BaseException; +}(); +exports.BaseException = BaseException; +class PasswordException extends BaseException { + constructor(msg, code) { + super(msg, "PasswordException"); + this.code = code; + } +} +exports.PasswordException = PasswordException; +class UnknownErrorException extends BaseException { + constructor(msg, details) { + super(msg, "UnknownErrorException"); + this.details = details; + } +} +exports.UnknownErrorException = UnknownErrorException; +class InvalidPDFException extends BaseException { + constructor(msg) { + super(msg, "InvalidPDFException"); + } +} +exports.InvalidPDFException = InvalidPDFException; +class MissingPDFException extends BaseException { + constructor(msg) { + super(msg, "MissingPDFException"); + } +} +exports.MissingPDFException = MissingPDFException; +class UnexpectedResponseException extends BaseException { + constructor(msg, status) { + super(msg, "UnexpectedResponseException"); + this.status = status; + } +} +exports.UnexpectedResponseException = UnexpectedResponseException; +class FormatError extends BaseException { + constructor(msg) { + super(msg, "FormatError"); + } +} +exports.FormatError = FormatError; +class AbortException extends BaseException { + constructor(msg) { + super(msg, "AbortException"); + } +} +exports.AbortException = AbortException; +function bytesToString(bytes) { + if (typeof bytes !== "object" || bytes?.length === undefined) { + unreachable("Invalid argument for bytesToString"); + } + const length = bytes.length; + const MAX_ARGUMENT_COUNT = 8192; + if (length < MAX_ARGUMENT_COUNT) { + return String.fromCharCode.apply(null, bytes); + } + const strBuf = []; + for (let i = 0; i < length; i += MAX_ARGUMENT_COUNT) { + const chunkEnd = Math.min(i + MAX_ARGUMENT_COUNT, length); + const chunk = bytes.subarray(i, chunkEnd); + strBuf.push(String.fromCharCode.apply(null, chunk)); + } + return strBuf.join(""); +} +function stringToBytes(str) { + if (typeof str !== "string") { + unreachable("Invalid argument for stringToBytes"); + } + const length = str.length; + const bytes = new Uint8Array(length); + for (let i = 0; i < length; ++i) { + bytes[i] = str.charCodeAt(i) & 0xff; + } + return bytes; +} +function string32(value) { + return String.fromCharCode(value >> 24 & 0xff, value >> 16 & 0xff, value >> 8 & 0xff, value & 0xff); +} +function objectSize(obj) { + return Object.keys(obj).length; +} +function objectFromMap(map) { + const obj = Object.create(null); + for (const [key, value] of map) { + obj[key] = value; + } + return obj; +} +function isLittleEndian() { + const buffer8 = new Uint8Array(4); + buffer8[0] = 1; + const view32 = new Uint32Array(buffer8.buffer, 0, 1); + return view32[0] === 1; +} +function isEvalSupported() { + try { + new Function(""); + return true; + } catch { + return false; + } +} +class FeatureTest { + static get isLittleEndian() { + return shadow(this, "isLittleEndian", isLittleEndian()); + } + static get isEvalSupported() { + return shadow(this, "isEvalSupported", isEvalSupported()); + } + static get isOffscreenCanvasSupported() { + return shadow(this, "isOffscreenCanvasSupported", typeof OffscreenCanvas !== "undefined"); + } + static get platform() { + if (typeof navigator === "undefined") { + return shadow(this, "platform", { + isWin: false, + isMac: false + }); + } + return shadow(this, "platform", { + isWin: navigator.platform.includes("Win"), + isMac: navigator.platform.includes("Mac") + }); + } +} +exports.FeatureTest = FeatureTest; +const hexNumbers = [...Array(256).keys()].map(n => n.toString(16).padStart(2, "0")); +class Util { + static makeHexColor(r, g, b) { + return `#${hexNumbers[r]}${hexNumbers[g]}${hexNumbers[b]}`; + } + static scaleMinMax(transform, minMax) { + let temp; + if (transform[0]) { + if (transform[0] < 0) { + temp = minMax[0]; + minMax[0] = minMax[1]; + minMax[1] = temp; + } + minMax[0] *= transform[0]; + minMax[1] *= transform[0]; + if (transform[3] < 0) { + temp = minMax[2]; + minMax[2] = minMax[3]; + minMax[3] = temp; + } + minMax[2] *= transform[3]; + minMax[3] *= transform[3]; + } else { + temp = minMax[0]; + minMax[0] = minMax[2]; + minMax[2] = temp; + temp = minMax[1]; + minMax[1] = minMax[3]; + minMax[3] = temp; + if (transform[1] < 0) { + temp = minMax[2]; + minMax[2] = minMax[3]; + minMax[3] = temp; + } + minMax[2] *= transform[1]; + minMax[3] *= transform[1]; + if (transform[2] < 0) { + temp = minMax[0]; + minMax[0] = minMax[1]; + minMax[1] = temp; + } + minMax[0] *= transform[2]; + minMax[1] *= transform[2]; + } + minMax[0] += transform[4]; + minMax[1] += transform[4]; + minMax[2] += transform[5]; + minMax[3] += transform[5]; + } + static transform(m1, m2) { + return [m1[0] * m2[0] + m1[2] * m2[1], m1[1] * m2[0] + m1[3] * m2[1], m1[0] * m2[2] + m1[2] * m2[3], m1[1] * m2[2] + m1[3] * m2[3], m1[0] * m2[4] + m1[2] * m2[5] + m1[4], m1[1] * m2[4] + m1[3] * m2[5] + m1[5]]; + } + static applyTransform(p, m) { + const xt = p[0] * m[0] + p[1] * m[2] + m[4]; + const yt = p[0] * m[1] + p[1] * m[3] + m[5]; + return [xt, yt]; + } + static applyInverseTransform(p, m) { + const d = m[0] * m[3] - m[1] * m[2]; + const xt = (p[0] * m[3] - p[1] * m[2] + m[2] * m[5] - m[4] * m[3]) / d; + const yt = (-p[0] * m[1] + p[1] * m[0] + m[4] * m[1] - m[5] * m[0]) / d; + return [xt, yt]; + } + static getAxialAlignedBoundingBox(r, m) { + const p1 = this.applyTransform(r, m); + const p2 = this.applyTransform(r.slice(2, 4), m); + const p3 = this.applyTransform([r[0], r[3]], m); + const p4 = this.applyTransform([r[2], r[1]], m); + return [Math.min(p1[0], p2[0], p3[0], p4[0]), Math.min(p1[1], p2[1], p3[1], p4[1]), Math.max(p1[0], p2[0], p3[0], p4[0]), Math.max(p1[1], p2[1], p3[1], p4[1])]; + } + static inverseTransform(m) { + const d = m[0] * m[3] - m[1] * m[2]; + return [m[3] / d, -m[1] / d, -m[2] / d, m[0] / d, (m[2] * m[5] - m[4] * m[3]) / d, (m[4] * m[1] - m[5] * m[0]) / d]; + } + static singularValueDecompose2dScale(m) { + const transpose = [m[0], m[2], m[1], m[3]]; + const a = m[0] * transpose[0] + m[1] * transpose[2]; + const b = m[0] * transpose[1] + m[1] * transpose[3]; + const c = m[2] * transpose[0] + m[3] * transpose[2]; + const d = m[2] * transpose[1] + m[3] * transpose[3]; + const first = (a + d) / 2; + const second = Math.sqrt((a + d) ** 2 - 4 * (a * d - c * b)) / 2; + const sx = first + second || 1; + const sy = first - second || 1; + return [Math.sqrt(sx), Math.sqrt(sy)]; + } + static normalizeRect(rect) { + const r = rect.slice(0); + if (rect[0] > rect[2]) { + r[0] = rect[2]; + r[2] = rect[0]; + } + if (rect[1] > rect[3]) { + r[1] = rect[3]; + r[3] = rect[1]; + } + return r; + } + static intersect(rect1, rect2) { + const xLow = Math.max(Math.min(rect1[0], rect1[2]), Math.min(rect2[0], rect2[2])); + const xHigh = Math.min(Math.max(rect1[0], rect1[2]), Math.max(rect2[0], rect2[2])); + if (xLow > xHigh) { + return null; + } + const yLow = Math.max(Math.min(rect1[1], rect1[3]), Math.min(rect2[1], rect2[3])); + const yHigh = Math.min(Math.max(rect1[1], rect1[3]), Math.max(rect2[1], rect2[3])); + if (yLow > yHigh) { + return null; + } + return [xLow, yLow, xHigh, yHigh]; + } + static bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3) { + const tvalues = [], + bounds = [[], []]; + let a, b, c, t, t1, t2, b2ac, sqrtb2ac; + for (let i = 0; i < 2; ++i) { + if (i === 0) { + b = 6 * x0 - 12 * x1 + 6 * x2; + a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3; + c = 3 * x1 - 3 * x0; + } else { + b = 6 * y0 - 12 * y1 + 6 * y2; + a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3; + c = 3 * y1 - 3 * y0; + } + if (Math.abs(a) < 1e-12) { + if (Math.abs(b) < 1e-12) { + continue; + } + t = -c / b; + if (0 < t && t < 1) { + tvalues.push(t); + } + continue; + } + b2ac = b * b - 4 * c * a; + sqrtb2ac = Math.sqrt(b2ac); + if (b2ac < 0) { + continue; + } + t1 = (-b + sqrtb2ac) / (2 * a); + if (0 < t1 && t1 < 1) { + tvalues.push(t1); + } + t2 = (-b - sqrtb2ac) / (2 * a); + if (0 < t2 && t2 < 1) { + tvalues.push(t2); + } + } + let j = tvalues.length, + mt; + const jlen = j; + while (j--) { + t = tvalues[j]; + mt = 1 - t; + bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3; + bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3; + } + bounds[0][jlen] = x0; + bounds[1][jlen] = y0; + bounds[0][jlen + 1] = x3; + bounds[1][jlen + 1] = y3; + bounds[0].length = bounds[1].length = jlen + 2; + return [Math.min(...bounds[0]), Math.min(...bounds[1]), Math.max(...bounds[0]), Math.max(...bounds[1])]; + } +} +exports.Util = Util; +const PDFStringTranslateTable = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2d8, 0x2c7, 0x2c6, 0x2d9, 0x2dd, 0x2db, 0x2da, 0x2dc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2022, 0x2020, 0x2021, 0x2026, 0x2014, 0x2013, 0x192, 0x2044, 0x2039, 0x203a, 0x2212, 0x2030, 0x201e, 0x201c, 0x201d, 0x2018, 0x2019, 0x201a, 0x2122, 0xfb01, 0xfb02, 0x141, 0x152, 0x160, 0x178, 0x17d, 0x131, 0x142, 0x153, 0x161, 0x17e, 0, 0x20ac]; +function stringToPDFString(str) { + if (str[0] >= "\xEF") { + let encoding; + if (str[0] === "\xFE" && str[1] === "\xFF") { + encoding = "utf-16be"; + } else if (str[0] === "\xFF" && str[1] === "\xFE") { + encoding = "utf-16le"; + } else if (str[0] === "\xEF" && str[1] === "\xBB" && str[2] === "\xBF") { + encoding = "utf-8"; + } + if (encoding) { + try { + const decoder = new TextDecoder(encoding, { + fatal: true + }); + const buffer = stringToBytes(str); + return decoder.decode(buffer); + } catch (ex) { + warn(`stringToPDFString: "${ex}".`); + } + } + } + const strBuf = []; + for (let i = 0, ii = str.length; i < ii; i++) { + const code = PDFStringTranslateTable[str.charCodeAt(i)]; + strBuf.push(code ? String.fromCharCode(code) : str.charAt(i)); + } + return strBuf.join(""); +} +function stringToUTF8String(str) { + return decodeURIComponent(escape(str)); +} +function utf8StringToString(str) { + return unescape(encodeURIComponent(str)); +} +function isArrayBuffer(v) { + return typeof v === "object" && v?.byteLength !== undefined; +} +function isArrayEqual(arr1, arr2) { + if (arr1.length !== arr2.length) { + return false; + } + for (let i = 0, ii = arr1.length; i < ii; i++) { + if (arr1[i] !== arr2[i]) { + return false; + } + } + return true; +} +function getModificationDate(date = new Date()) { + const buffer = [date.getUTCFullYear().toString(), (date.getUTCMonth() + 1).toString().padStart(2, "0"), date.getUTCDate().toString().padStart(2, "0"), date.getUTCHours().toString().padStart(2, "0"), date.getUTCMinutes().toString().padStart(2, "0"), date.getUTCSeconds().toString().padStart(2, "0")]; + return buffer.join(""); +} +class PromiseCapability { + #settled = false; + constructor() { + this.promise = new Promise((resolve, reject) => { + this.resolve = data => { + this.#settled = true; + resolve(data); + }; + this.reject = reason => { + this.#settled = true; + reject(reason); + }; + }); + } + get settled() { + return this.#settled; + } +} +exports.PromiseCapability = PromiseCapability; +let NormalizeRegex = null; +let NormalizationMap = null; +function normalizeUnicode(str) { + if (!NormalizeRegex) { + NormalizeRegex = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu; + NormalizationMap = new Map([["ſt", "ſt"]]); + } + return str.replaceAll(NormalizeRegex, (_, p1, p2) => { + return p1 ? p1.normalize("NFKC") : NormalizationMap.get(p2); + }); +} + +/***/ }), +/* 2 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.build = exports.RenderTask = exports.PDFWorkerUtil = exports.PDFWorker = exports.PDFPageProxy = exports.PDFDocumentProxy = exports.PDFDocumentLoadingTask = exports.PDFDataRangeTransport = exports.LoopbackPort = exports.DefaultStandardFontDataFactory = exports.DefaultFilterFactory = exports.DefaultCanvasFactory = exports.DefaultCMapReaderFactory = void 0; +exports.getDocument = getDocument; +exports.version = void 0; +var _util = __w_pdfjs_require__(1); +var _annotation_storage = __w_pdfjs_require__(3); +var _display_utils = __w_pdfjs_require__(6); +var _font_loader = __w_pdfjs_require__(9); +var _canvas = __w_pdfjs_require__(11); +var _worker_options = __w_pdfjs_require__(14); +var _is_node = __w_pdfjs_require__(10); +var _message_handler = __w_pdfjs_require__(15); +var _metadata = __w_pdfjs_require__(16); +var _optional_content_config = __w_pdfjs_require__(17); +var _transport_stream = __w_pdfjs_require__(18); +var _xfa_text = __w_pdfjs_require__(19); +const DEFAULT_RANGE_CHUNK_SIZE = 65536; +const RENDERING_CANCELLED_TIMEOUT = 100; +const DELAYED_CLEANUP_TIMEOUT = 5000; +const DefaultCanvasFactory = _is_node.isNodeJS ? (__w_pdfjs_require__(20).NodeCanvasFactory) : _display_utils.DOMCanvasFactory; +exports.DefaultCanvasFactory = DefaultCanvasFactory; +const DefaultCMapReaderFactory = _is_node.isNodeJS ? (__w_pdfjs_require__(20).NodeCMapReaderFactory) : _display_utils.DOMCMapReaderFactory; +exports.DefaultCMapReaderFactory = DefaultCMapReaderFactory; +const DefaultFilterFactory = _is_node.isNodeJS ? (__w_pdfjs_require__(20).NodeFilterFactory) : _display_utils.DOMFilterFactory; +exports.DefaultFilterFactory = DefaultFilterFactory; +const DefaultStandardFontDataFactory = _is_node.isNodeJS ? (__w_pdfjs_require__(20).NodeStandardFontDataFactory) : _display_utils.DOMStandardFontDataFactory; +exports.DefaultStandardFontDataFactory = DefaultStandardFontDataFactory; +let createPDFNetworkStream; +{ + if (_is_node.isNodeJS) { + const { + PDFNodeStream + } = __w_pdfjs_require__(21); + createPDFNetworkStream = params => { + return new PDFNodeStream(params); + }; + } else { + const { + PDFNetworkStream + } = __w_pdfjs_require__(24); + const { + PDFFetchStream + } = __w_pdfjs_require__(25); + createPDFNetworkStream = params => { + return (0, _display_utils.isValidFetchUrl)(params.url) ? new PDFFetchStream(params) : new PDFNetworkStream(params); + }; + } +} +function getDocument(src) { + if (typeof src === "string" || src instanceof URL) { + src = { + url: src + }; + } else if ((0, _util.isArrayBuffer)(src)) { + src = { + data: src + }; + } + if (typeof src !== "object") { + throw new Error("Invalid parameter in getDocument, need parameter object."); + } + if (!src.url && !src.data && !src.range) { + throw new Error("Invalid parameter object: need either .data, .range or .url"); + } + const task = new PDFDocumentLoadingTask(); + const { + docId + } = task; + const url = src.url ? getUrlProp(src.url) : null; + const data = src.data ? getDataProp(src.data) : null; + const httpHeaders = src.httpHeaders || null; + const withCredentials = src.withCredentials === true; + const password = src.password ?? null; + const rangeTransport = src.range instanceof PDFDataRangeTransport ? src.range : null; + const rangeChunkSize = Number.isInteger(src.rangeChunkSize) && src.rangeChunkSize > 0 ? src.rangeChunkSize : DEFAULT_RANGE_CHUNK_SIZE; + let worker = src.worker instanceof PDFWorker ? src.worker : null; + const verbosity = src.verbosity; + const docBaseUrl = typeof src.docBaseUrl === "string" && !(0, _display_utils.isDataScheme)(src.docBaseUrl) ? src.docBaseUrl : null; + const cMapUrl = typeof src.cMapUrl === "string" ? src.cMapUrl : null; + const cMapPacked = src.cMapPacked !== false; + const CMapReaderFactory = src.CMapReaderFactory || DefaultCMapReaderFactory; + const standardFontDataUrl = typeof src.standardFontDataUrl === "string" ? src.standardFontDataUrl : null; + const StandardFontDataFactory = src.StandardFontDataFactory || DefaultStandardFontDataFactory; + const ignoreErrors = src.stopAtErrors !== true; + const maxImageSize = Number.isInteger(src.maxImageSize) && src.maxImageSize > -1 ? src.maxImageSize : -1; + const isEvalSupported = src.isEvalSupported !== false; + const isOffscreenCanvasSupported = typeof src.isOffscreenCanvasSupported === "boolean" ? src.isOffscreenCanvasSupported : !_is_node.isNodeJS; + const canvasMaxAreaInBytes = Number.isInteger(src.canvasMaxAreaInBytes) ? src.canvasMaxAreaInBytes : -1; + const disableFontFace = typeof src.disableFontFace === "boolean" ? src.disableFontFace : _is_node.isNodeJS; + const fontExtraProperties = src.fontExtraProperties === true; + const enableXfa = src.enableXfa === true; + const ownerDocument = src.ownerDocument || globalThis.document; + const disableRange = src.disableRange === true; + const disableStream = src.disableStream === true; + const disableAutoFetch = src.disableAutoFetch === true; + const pdfBug = src.pdfBug === true; + const length = rangeTransport ? rangeTransport.length : src.length ?? NaN; + const useSystemFonts = typeof src.useSystemFonts === "boolean" ? src.useSystemFonts : !_is_node.isNodeJS && !disableFontFace; + const useWorkerFetch = typeof src.useWorkerFetch === "boolean" ? src.useWorkerFetch : CMapReaderFactory === _display_utils.DOMCMapReaderFactory && StandardFontDataFactory === _display_utils.DOMStandardFontDataFactory && (0, _display_utils.isValidFetchUrl)(cMapUrl, document.baseURI) && (0, _display_utils.isValidFetchUrl)(standardFontDataUrl, document.baseURI); + const canvasFactory = src.canvasFactory || new DefaultCanvasFactory({ + ownerDocument + }); + const filterFactory = src.filterFactory || new DefaultFilterFactory({ + docId, + ownerDocument + }); + const styleElement = null; + (0, _util.setVerbosityLevel)(verbosity); + const transportFactory = { + canvasFactory, + filterFactory + }; + if (!useWorkerFetch) { + transportFactory.cMapReaderFactory = new CMapReaderFactory({ + baseUrl: cMapUrl, + isCompressed: cMapPacked + }); + transportFactory.standardFontDataFactory = new StandardFontDataFactory({ + baseUrl: standardFontDataUrl + }); + } + if (!worker) { + const workerParams = { + verbosity, + port: _worker_options.GlobalWorkerOptions.workerPort + }; + worker = workerParams.port ? PDFWorker.fromPort(workerParams) : new PDFWorker(workerParams); + task._worker = worker; + } + const fetchDocParams = { + docId, + apiVersion: '3.8.162', + data, + password, + disableAutoFetch, + rangeChunkSize, + length, + docBaseUrl, + enableXfa, + evaluatorOptions: { + maxImageSize, + disableFontFace, + ignoreErrors, + isEvalSupported, + isOffscreenCanvasSupported, + canvasMaxAreaInBytes, + fontExtraProperties, + useSystemFonts, + cMapUrl: useWorkerFetch ? cMapUrl : null, + standardFontDataUrl: useWorkerFetch ? standardFontDataUrl : null + } + }; + const transportParams = { + ignoreErrors, + isEvalSupported, + disableFontFace, + fontExtraProperties, + enableXfa, + ownerDocument, + disableAutoFetch, + pdfBug, + styleElement + }; + worker.promise.then(function () { + if (task.destroyed) { + throw new Error("Loading aborted"); + } + const workerIdPromise = _fetchDocument(worker, fetchDocParams); + const networkStreamPromise = new Promise(function (resolve) { + let networkStream; + if (rangeTransport) { + networkStream = new _transport_stream.PDFDataTransportStream({ + length, + initialData: rangeTransport.initialData, + progressiveDone: rangeTransport.progressiveDone, + contentDispositionFilename: rangeTransport.contentDispositionFilename, + disableRange, + disableStream + }, rangeTransport); + } else if (!data) { + networkStream = createPDFNetworkStream({ + url, + length, + httpHeaders, + withCredentials, + rangeChunkSize, + disableRange, + disableStream + }); + } + resolve(networkStream); + }); + return Promise.all([workerIdPromise, networkStreamPromise]).then(function ([workerId, networkStream]) { + if (task.destroyed) { + throw new Error("Loading aborted"); + } + const messageHandler = new _message_handler.MessageHandler(docId, workerId, worker.port); + const transport = new WorkerTransport(messageHandler, task, networkStream, transportParams, transportFactory); + task._transport = transport; + messageHandler.send("Ready", null); + }); + }).catch(task._capability.reject); + return task; +} +async function _fetchDocument(worker, source) { + if (worker.destroyed) { + throw new Error("Worker was destroyed"); + } + const workerId = await worker.messageHandler.sendWithPromise("GetDocRequest", source, source.data ? [source.data.buffer] : null); + if (worker.destroyed) { + throw new Error("Worker was destroyed"); + } + return workerId; +} +function getUrlProp(val) { + if (val instanceof URL) { + return val.href; + } + try { + return new URL(val, window.location).href; + } catch { + if (_is_node.isNodeJS && typeof val === "string") { + return val; + } + } + throw new Error("Invalid PDF url data: " + "either string or URL-object is expected in the url property."); +} +function getDataProp(val) { + if (_is_node.isNodeJS && typeof Buffer !== "undefined" && val instanceof Buffer) { + throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`."); + } + if (val instanceof Uint8Array && val.byteLength === val.buffer.byteLength) { + return val; + } + if (typeof val === "string") { + return (0, _util.stringToBytes)(val); + } + if (typeof val === "object" && !isNaN(val?.length) || (0, _util.isArrayBuffer)(val)) { + return new Uint8Array(val); + } + throw new Error("Invalid PDF binary data: either TypedArray, " + "string, or array-like object is expected in the data property."); +} +class PDFDocumentLoadingTask { + static #docId = 0; + constructor() { + this._capability = new _util.PromiseCapability(); + this._transport = null; + this._worker = null; + this.docId = `d${PDFDocumentLoadingTask.#docId++}`; + this.destroyed = false; + this.onPassword = null; + this.onProgress = null; + } + get promise() { + return this._capability.promise; + } + async destroy() { + this.destroyed = true; + await this._transport?.destroy(); + this._transport = null; + if (this._worker) { + this._worker.destroy(); + this._worker = null; + } + } +} +exports.PDFDocumentLoadingTask = PDFDocumentLoadingTask; +class PDFDataRangeTransport { + constructor(length, initialData, progressiveDone = false, contentDispositionFilename = null) { + this.length = length; + this.initialData = initialData; + this.progressiveDone = progressiveDone; + this.contentDispositionFilename = contentDispositionFilename; + this._rangeListeners = []; + this._progressListeners = []; + this._progressiveReadListeners = []; + this._progressiveDoneListeners = []; + this._readyCapability = new _util.PromiseCapability(); + } + addRangeListener(listener) { + this._rangeListeners.push(listener); + } + addProgressListener(listener) { + this._progressListeners.push(listener); + } + addProgressiveReadListener(listener) { + this._progressiveReadListeners.push(listener); + } + addProgressiveDoneListener(listener) { + this._progressiveDoneListeners.push(listener); + } + onDataRange(begin, chunk) { + for (const listener of this._rangeListeners) { + listener(begin, chunk); + } + } + onDataProgress(loaded, total) { + this._readyCapability.promise.then(() => { + for (const listener of this._progressListeners) { + listener(loaded, total); + } + }); + } + onDataProgressiveRead(chunk) { + this._readyCapability.promise.then(() => { + for (const listener of this._progressiveReadListeners) { + listener(chunk); + } + }); + } + onDataProgressiveDone() { + this._readyCapability.promise.then(() => { + for (const listener of this._progressiveDoneListeners) { + listener(); + } + }); + } + transportReady() { + this._readyCapability.resolve(); + } + requestDataRange(begin, end) { + (0, _util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange"); + } + abort() {} +} +exports.PDFDataRangeTransport = PDFDataRangeTransport; +class PDFDocumentProxy { + constructor(pdfInfo, transport) { + this._pdfInfo = pdfInfo; + this._transport = transport; + } + get annotationStorage() { + return this._transport.annotationStorage; + } + get filterFactory() { + return this._transport.filterFactory; + } + get numPages() { + return this._pdfInfo.numPages; + } + get fingerprints() { + return this._pdfInfo.fingerprints; + } + get isPureXfa() { + return (0, _util.shadow)(this, "isPureXfa", !!this._transport._htmlForXfa); + } + get allXfaHtml() { + return this._transport._htmlForXfa; + } + getPage(pageNumber) { + return this._transport.getPage(pageNumber); + } + getPageIndex(ref) { + return this._transport.getPageIndex(ref); + } + getDestinations() { + return this._transport.getDestinations(); + } + getDestination(id) { + return this._transport.getDestination(id); + } + getPageLabels() { + return this._transport.getPageLabels(); + } + getPageLayout() { + return this._transport.getPageLayout(); + } + getPageMode() { + return this._transport.getPageMode(); + } + getViewerPreferences() { + return this._transport.getViewerPreferences(); + } + getOpenAction() { + return this._transport.getOpenAction(); + } + getAttachments() { + return this._transport.getAttachments(); + } + getJavaScript() { + return this._transport.getJavaScript(); + } + getJSActions() { + return this._transport.getDocJSActions(); + } + getOutline() { + return this._transport.getOutline(); + } + getOptionalContentConfig() { + return this._transport.getOptionalContentConfig(); + } + getPermissions() { + return this._transport.getPermissions(); + } + getMetadata() { + return this._transport.getMetadata(); + } + getMarkInfo() { + return this._transport.getMarkInfo(); + } + getData() { + return this._transport.getData(); + } + saveDocument() { + return this._transport.saveDocument(); + } + getDownloadInfo() { + return this._transport.downloadInfoCapability.promise; + } + cleanup(keepLoadedFonts = false) { + return this._transport.startCleanup(keepLoadedFonts || this.isPureXfa); + } + destroy() { + return this.loadingTask.destroy(); + } + get loadingParams() { + return this._transport.loadingParams; + } + get loadingTask() { + return this._transport.loadingTask; + } + getFieldObjects() { + return this._transport.getFieldObjects(); + } + hasJSActions() { + return this._transport.hasJSActions(); + } + getCalculationOrderIds() { + return this._transport.getCalculationOrderIds(); + } +} +exports.PDFDocumentProxy = PDFDocumentProxy; +class PDFPageProxy { + #delayedCleanupTimeout = null; + #pendingCleanup = false; + constructor(pageIndex, pageInfo, transport, pdfBug = false) { + this._pageIndex = pageIndex; + this._pageInfo = pageInfo; + this._transport = transport; + this._stats = pdfBug ? new _display_utils.StatTimer() : null; + this._pdfBug = pdfBug; + this.commonObjs = transport.commonObjs; + this.objs = new PDFObjects(); + this._maybeCleanupAfterRender = false; + this._intentStates = new Map(); + this.destroyed = false; + } + get pageNumber() { + return this._pageIndex + 1; + } + get rotate() { + return this._pageInfo.rotate; + } + get ref() { + return this._pageInfo.ref; + } + get userUnit() { + return this._pageInfo.userUnit; + } + get view() { + return this._pageInfo.view; + } + getViewport({ + scale, + rotation = this.rotate, + offsetX = 0, + offsetY = 0, + dontFlip = false + } = {}) { + return new _display_utils.PageViewport({ + viewBox: this.view, + scale, + rotation, + offsetX, + offsetY, + dontFlip + }); + } + getAnnotations({ + intent = "display" + } = {}) { + const intentArgs = this._transport.getRenderingIntent(intent); + return this._transport.getAnnotations(this._pageIndex, intentArgs.renderingIntent); + } + getJSActions() { + return this._transport.getPageJSActions(this._pageIndex); + } + get filterFactory() { + return this._transport.filterFactory; + } + get isPureXfa() { + return (0, _util.shadow)(this, "isPureXfa", !!this._transport._htmlForXfa); + } + async getXfa() { + return this._transport._htmlForXfa?.children[this._pageIndex] || null; + } + render({ + canvasContext, + viewport, + intent = "display", + annotationMode = _util.AnnotationMode.ENABLE, + transform = null, + background = null, + optionalContentConfigPromise = null, + annotationCanvasMap = null, + pageColors = null, + printAnnotationStorage = null + }) { + this._stats?.time("Overall"); + const intentArgs = this._transport.getRenderingIntent(intent, annotationMode, printAnnotationStorage); + this.#pendingCleanup = false; + this.#abortDelayedCleanup(); + if (!optionalContentConfigPromise) { + optionalContentConfigPromise = this._transport.getOptionalContentConfig(); + } + let intentState = this._intentStates.get(intentArgs.cacheKey); + if (!intentState) { + intentState = Object.create(null); + this._intentStates.set(intentArgs.cacheKey, intentState); + } + if (intentState.streamReaderCancelTimeout) { + clearTimeout(intentState.streamReaderCancelTimeout); + intentState.streamReaderCancelTimeout = null; + } + const intentPrint = !!(intentArgs.renderingIntent & _util.RenderingIntentFlag.PRINT); + if (!intentState.displayReadyCapability) { + intentState.displayReadyCapability = new _util.PromiseCapability(); + intentState.operatorList = { + fnArray: [], + argsArray: [], + lastChunk: false, + separateAnnots: null + }; + this._stats?.time("Page Request"); + this._pumpOperatorList(intentArgs); + } + const complete = error => { + intentState.renderTasks.delete(internalRenderTask); + if (this._maybeCleanupAfterRender || intentPrint) { + this.#pendingCleanup = true; + } + this.#tryCleanup(!intentPrint); + if (error) { + internalRenderTask.capability.reject(error); + this._abortOperatorList({ + intentState, + reason: error instanceof Error ? error : new Error(error) + }); + } else { + internalRenderTask.capability.resolve(); + } + this._stats?.timeEnd("Rendering"); + this._stats?.timeEnd("Overall"); + }; + const internalRenderTask = new InternalRenderTask({ + callback: complete, + params: { + canvasContext, + viewport, + transform, + background + }, + objs: this.objs, + commonObjs: this.commonObjs, + annotationCanvasMap, + operatorList: intentState.operatorList, + pageIndex: this._pageIndex, + canvasFactory: this._transport.canvasFactory, + filterFactory: this._transport.filterFactory, + useRequestAnimationFrame: !intentPrint, + pdfBug: this._pdfBug, + pageColors + }); + (intentState.renderTasks ||= new Set()).add(internalRenderTask); + const renderTask = internalRenderTask.task; + Promise.all([intentState.displayReadyCapability.promise, optionalContentConfigPromise]).then(([transparency, optionalContentConfig]) => { + if (this.destroyed) { + complete(); + return; + } + this._stats?.time("Rendering"); + internalRenderTask.initializeGraphics({ + transparency, + optionalContentConfig + }); + internalRenderTask.operatorListChanged(); + }).catch(complete); + return renderTask; + } + getOperatorList({ + intent = "display", + annotationMode = _util.AnnotationMode.ENABLE, + printAnnotationStorage = null + } = {}) { + function operatorListChanged() { + if (intentState.operatorList.lastChunk) { + intentState.opListReadCapability.resolve(intentState.operatorList); + intentState.renderTasks.delete(opListTask); + } + } + const intentArgs = this._transport.getRenderingIntent(intent, annotationMode, printAnnotationStorage, true); + let intentState = this._intentStates.get(intentArgs.cacheKey); + if (!intentState) { + intentState = Object.create(null); + this._intentStates.set(intentArgs.cacheKey, intentState); + } + let opListTask; + if (!intentState.opListReadCapability) { + opListTask = Object.create(null); + opListTask.operatorListChanged = operatorListChanged; + intentState.opListReadCapability = new _util.PromiseCapability(); + (intentState.renderTasks ||= new Set()).add(opListTask); + intentState.operatorList = { + fnArray: [], + argsArray: [], + lastChunk: false, + separateAnnots: null + }; + this._stats?.time("Page Request"); + this._pumpOperatorList(intentArgs); + } + return intentState.opListReadCapability.promise; + } + streamTextContent({ + includeMarkedContent = false, + disableNormalization = false + } = {}) { + const TEXT_CONTENT_CHUNK_SIZE = 100; + return this._transport.messageHandler.sendWithStream("GetTextContent", { + pageIndex: this._pageIndex, + includeMarkedContent: includeMarkedContent === true, + disableNormalization: disableNormalization === true + }, { + highWaterMark: TEXT_CONTENT_CHUNK_SIZE, + size(textContent) { + return textContent.items.length; + } + }); + } + getTextContent(params = {}) { + if (this._transport._htmlForXfa) { + return this.getXfa().then(xfa => { + return _xfa_text.XfaText.textContent(xfa); + }); + } + const readableStream = this.streamTextContent(params); + return new Promise(function (resolve, reject) { + function pump() { + reader.read().then(function ({ + value, + done + }) { + if (done) { + resolve(textContent); + return; + } + Object.assign(textContent.styles, value.styles); + textContent.items.push(...value.items); + pump(); + }, reject); + } + const reader = readableStream.getReader(); + const textContent = { + items: [], + styles: Object.create(null) + }; + pump(); + }); + } + getStructTree() { + return this._transport.getStructTree(this._pageIndex); + } + _destroy() { + this.destroyed = true; + const waitOn = []; + for (const intentState of this._intentStates.values()) { + this._abortOperatorList({ + intentState, + reason: new Error("Page was destroyed."), + force: true + }); + if (intentState.opListReadCapability) { + continue; + } + for (const internalRenderTask of intentState.renderTasks) { + waitOn.push(internalRenderTask.completed); + internalRenderTask.cancel(); + } + } + this.objs.clear(); + this.#pendingCleanup = false; + this.#abortDelayedCleanup(); + return Promise.all(waitOn); + } + cleanup(resetStats = false) { + this.#pendingCleanup = true; + const success = this.#tryCleanup(false); + if (resetStats && success) { + this._stats &&= new _display_utils.StatTimer(); + } + return success; + } + #tryCleanup(delayed = false) { + this.#abortDelayedCleanup(); + if (!this.#pendingCleanup || this.destroyed) { + return false; + } + if (delayed) { + this.#delayedCleanupTimeout = setTimeout(() => { + this.#delayedCleanupTimeout = null; + this.#tryCleanup(false); + }, DELAYED_CLEANUP_TIMEOUT); + return false; + } + for (const { + renderTasks, + operatorList + } of this._intentStates.values()) { + if (renderTasks.size > 0 || !operatorList.lastChunk) { + return false; + } + } + this._intentStates.clear(); + this.objs.clear(); + this.#pendingCleanup = false; + return true; + } + #abortDelayedCleanup() { + if (this.#delayedCleanupTimeout) { + clearTimeout(this.#delayedCleanupTimeout); + this.#delayedCleanupTimeout = null; + } + } + _startRenderPage(transparency, cacheKey) { + const intentState = this._intentStates.get(cacheKey); + if (!intentState) { + return; + } + this._stats?.timeEnd("Page Request"); + intentState.displayReadyCapability?.resolve(transparency); + } + _renderPageChunk(operatorListChunk, intentState) { + for (let i = 0, ii = operatorListChunk.length; i < ii; i++) { + intentState.operatorList.fnArray.push(operatorListChunk.fnArray[i]); + intentState.operatorList.argsArray.push(operatorListChunk.argsArray[i]); + } + intentState.operatorList.lastChunk = operatorListChunk.lastChunk; + intentState.operatorList.separateAnnots = operatorListChunk.separateAnnots; + for (const internalRenderTask of intentState.renderTasks) { + internalRenderTask.operatorListChanged(); + } + if (operatorListChunk.lastChunk) { + this.#tryCleanup(true); + } + } + _pumpOperatorList({ + renderingIntent, + cacheKey, + annotationStorageSerializable + }) { + const { + map, + transfers + } = annotationStorageSerializable; + const readableStream = this._transport.messageHandler.sendWithStream("GetOperatorList", { + pageIndex: this._pageIndex, + intent: renderingIntent, + cacheKey, + annotationStorage: map + }, transfers); + const reader = readableStream.getReader(); + const intentState = this._intentStates.get(cacheKey); + intentState.streamReader = reader; + const pump = () => { + reader.read().then(({ + value, + done + }) => { + if (done) { + intentState.streamReader = null; + return; + } + if (this._transport.destroyed) { + return; + } + this._renderPageChunk(value, intentState); + pump(); + }, reason => { + intentState.streamReader = null; + if (this._transport.destroyed) { + return; + } + if (intentState.operatorList) { + intentState.operatorList.lastChunk = true; + for (const internalRenderTask of intentState.renderTasks) { + internalRenderTask.operatorListChanged(); + } + this.#tryCleanup(true); + } + if (intentState.displayReadyCapability) { + intentState.displayReadyCapability.reject(reason); + } else if (intentState.opListReadCapability) { + intentState.opListReadCapability.reject(reason); + } else { + throw reason; + } + }); + }; + pump(); + } + _abortOperatorList({ + intentState, + reason, + force = false + }) { + if (!intentState.streamReader) { + return; + } + if (intentState.streamReaderCancelTimeout) { + clearTimeout(intentState.streamReaderCancelTimeout); + intentState.streamReaderCancelTimeout = null; + } + if (!force) { + if (intentState.renderTasks.size > 0) { + return; + } + if (reason instanceof _display_utils.RenderingCancelledException) { + let delay = RENDERING_CANCELLED_TIMEOUT; + if (reason.extraDelay > 0 && reason.extraDelay < 1000) { + delay += reason.extraDelay; + } + intentState.streamReaderCancelTimeout = setTimeout(() => { + intentState.streamReaderCancelTimeout = null; + this._abortOperatorList({ + intentState, + reason, + force: true + }); + }, delay); + return; + } + } + intentState.streamReader.cancel(new _util.AbortException(reason.message)).catch(() => {}); + intentState.streamReader = null; + if (this._transport.destroyed) { + return; + } + for (const [curCacheKey, curIntentState] of this._intentStates) { + if (curIntentState === intentState) { + this._intentStates.delete(curCacheKey); + break; + } + } + this.cleanup(); + } + get stats() { + return this._stats; + } +} +exports.PDFPageProxy = PDFPageProxy; +class LoopbackPort { + #listeners = new Set(); + #deferred = Promise.resolve(); + postMessage(obj, transfer) { + const event = { + data: structuredClone(obj, transfer ? { + transfer + } : null) + }; + this.#deferred.then(() => { + for (const listener of this.#listeners) { + listener.call(this, event); + } + }); + } + addEventListener(name, listener) { + this.#listeners.add(listener); + } + removeEventListener(name, listener) { + this.#listeners.delete(listener); + } + terminate() { + this.#listeners.clear(); + } +} +exports.LoopbackPort = LoopbackPort; +const PDFWorkerUtil = { + isWorkerDisabled: false, + fallbackWorkerSrc: null, + fakeWorkerId: 0 +}; +exports.PDFWorkerUtil = PDFWorkerUtil; +{ + if (_is_node.isNodeJS && typeof require === "function") { + PDFWorkerUtil.isWorkerDisabled = true; + PDFWorkerUtil.fallbackWorkerSrc = "./pdf.worker.js"; + } else if (typeof document === "object") { + const pdfjsFilePath = document?.currentScript?.src; + if (pdfjsFilePath) { + PDFWorkerUtil.fallbackWorkerSrc = pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i, ".worker$1$2"); + } + } + PDFWorkerUtil.isSameOrigin = function (baseUrl, otherUrl) { + let base; + try { + base = new URL(baseUrl); + if (!base.origin || base.origin === "null") { + return false; + } + } catch { + return false; + } + const other = new URL(otherUrl, base); + return base.origin === other.origin; + }; + PDFWorkerUtil.createCDNWrapper = function (url) { + const wrapper = `importScripts("${url}");`; + return URL.createObjectURL(new Blob([wrapper])); + }; +} +class PDFWorker { + static #workerPorts = new WeakMap(); + constructor({ + name = null, + port = null, + verbosity = (0, _util.getVerbosityLevel)() + } = {}) { + if (port && PDFWorker.#workerPorts.has(port)) { + throw new Error("Cannot use more than one PDFWorker per port."); + } + this.name = name; + this.destroyed = false; + this.verbosity = verbosity; + this._readyCapability = new _util.PromiseCapability(); + this._port = null; + this._webWorker = null; + this._messageHandler = null; + if (port) { + PDFWorker.#workerPorts.set(port, this); + this._initializeFromPort(port); + return; + } + this._initialize(); + } + get promise() { + return this._readyCapability.promise; + } + get port() { + return this._port; + } + get messageHandler() { + return this._messageHandler; + } + _initializeFromPort(port) { + this._port = port; + this._messageHandler = new _message_handler.MessageHandler("main", "worker", port); + this._messageHandler.on("ready", function () {}); + this._readyCapability.resolve(); + this._messageHandler.send("configure", { + verbosity: this.verbosity + }); + } + _initialize() { + if (!PDFWorkerUtil.isWorkerDisabled && !PDFWorker._mainThreadWorkerMessageHandler) { + let { + workerSrc + } = PDFWorker; + try { + if (!PDFWorkerUtil.isSameOrigin(window.location.href, workerSrc)) { + workerSrc = PDFWorkerUtil.createCDNWrapper(new URL(workerSrc, window.location).href); + } + const worker = new Worker(workerSrc); + const messageHandler = new _message_handler.MessageHandler("main", "worker", worker); + const terminateEarly = () => { + worker.removeEventListener("error", onWorkerError); + messageHandler.destroy(); + worker.terminate(); + if (this.destroyed) { + this._readyCapability.reject(new Error("Worker was destroyed")); + } else { + this._setupFakeWorker(); + } + }; + const onWorkerError = () => { + if (!this._webWorker) { + terminateEarly(); + } + }; + worker.addEventListener("error", onWorkerError); + messageHandler.on("test", data => { + worker.removeEventListener("error", onWorkerError); + if (this.destroyed) { + terminateEarly(); + return; + } + if (data) { + this._messageHandler = messageHandler; + this._port = worker; + this._webWorker = worker; + this._readyCapability.resolve(); + messageHandler.send("configure", { + verbosity: this.verbosity + }); + } else { + this._setupFakeWorker(); + messageHandler.destroy(); + worker.terminate(); + } + }); + messageHandler.on("ready", data => { + worker.removeEventListener("error", onWorkerError); + if (this.destroyed) { + terminateEarly(); + return; + } + try { + sendTest(); + } catch { + this._setupFakeWorker(); + } + }); + const sendTest = () => { + const testObj = new Uint8Array(); + messageHandler.send("test", testObj, [testObj.buffer]); + }; + sendTest(); + return; + } catch { + (0, _util.info)("The worker has been disabled."); + } + } + this._setupFakeWorker(); + } + _setupFakeWorker() { + if (!PDFWorkerUtil.isWorkerDisabled) { + (0, _util.warn)("Setting up fake worker."); + PDFWorkerUtil.isWorkerDisabled = true; + } + PDFWorker._setupFakeWorkerGlobal.then(WorkerMessageHandler => { + if (this.destroyed) { + this._readyCapability.reject(new Error("Worker was destroyed")); + return; + } + const port = new LoopbackPort(); + this._port = port; + const id = `fake${PDFWorkerUtil.fakeWorkerId++}`; + const workerHandler = new _message_handler.MessageHandler(id + "_worker", id, port); + WorkerMessageHandler.setup(workerHandler, port); + const messageHandler = new _message_handler.MessageHandler(id, id + "_worker", port); + this._messageHandler = messageHandler; + this._readyCapability.resolve(); + messageHandler.send("configure", { + verbosity: this.verbosity + }); + }).catch(reason => { + this._readyCapability.reject(new Error(`Setting up fake worker failed: "${reason.message}".`)); + }); + } + destroy() { + this.destroyed = true; + if (this._webWorker) { + this._webWorker.terminate(); + this._webWorker = null; + } + PDFWorker.#workerPorts.delete(this._port); + this._port = null; + if (this._messageHandler) { + this._messageHandler.destroy(); + this._messageHandler = null; + } + } + static fromPort(params) { + if (!params?.port) { + throw new Error("PDFWorker.fromPort - invalid method signature."); + } + if (this.#workerPorts.has(params.port)) { + return this.#workerPorts.get(params.port); + } + return new PDFWorker(params); + } + static get workerSrc() { + if (_worker_options.GlobalWorkerOptions.workerSrc) { + return _worker_options.GlobalWorkerOptions.workerSrc; + } + if (PDFWorkerUtil.fallbackWorkerSrc !== null) { + if (!_is_node.isNodeJS) { + (0, _display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'); + } + return PDFWorkerUtil.fallbackWorkerSrc; + } + throw new Error('No "GlobalWorkerOptions.workerSrc" specified.'); + } + static get _mainThreadWorkerMessageHandler() { + try { + return globalThis.pdfjsWorker?.WorkerMessageHandler || null; + } catch { + return null; + } + } + static get _setupFakeWorkerGlobal() { + const loader = async () => { + const mainWorkerMessageHandler = this._mainThreadWorkerMessageHandler; + if (mainWorkerMessageHandler) { + return mainWorkerMessageHandler; + } + if (_is_node.isNodeJS && typeof require === "function") { + const worker = eval("require")(this.workerSrc); + return worker.WorkerMessageHandler; + } + await (0, _display_utils.loadScript)(this.workerSrc); + return window.pdfjsWorker.WorkerMessageHandler; + }; + return (0, _util.shadow)(this, "_setupFakeWorkerGlobal", loader()); + } +} +exports.PDFWorker = PDFWorker; +class WorkerTransport { + #methodPromises = new Map(); + #pageCache = new Map(); + #pagePromises = new Map(); + constructor(messageHandler, loadingTask, networkStream, params, factory) { + this.messageHandler = messageHandler; + this.loadingTask = loadingTask; + this.commonObjs = new PDFObjects(); + this.fontLoader = new _font_loader.FontLoader({ + ownerDocument: params.ownerDocument, + styleElement: params.styleElement + }); + this._params = params; + this.canvasFactory = factory.canvasFactory; + this.filterFactory = factory.filterFactory; + this.cMapReaderFactory = factory.cMapReaderFactory; + this.standardFontDataFactory = factory.standardFontDataFactory; + this.destroyed = false; + this.destroyCapability = null; + this._passwordCapability = null; + this._networkStream = networkStream; + this._fullReader = null; + this._lastProgress = null; + this.downloadInfoCapability = new _util.PromiseCapability(); + this.setupMessageHandler(); + } + #cacheSimpleMethod(name, data = null) { + const cachedPromise = this.#methodPromises.get(name); + if (cachedPromise) { + return cachedPromise; + } + const promise = this.messageHandler.sendWithPromise(name, data); + this.#methodPromises.set(name, promise); + return promise; + } + get annotationStorage() { + return (0, _util.shadow)(this, "annotationStorage", new _annotation_storage.AnnotationStorage()); + } + getRenderingIntent(intent, annotationMode = _util.AnnotationMode.ENABLE, printAnnotationStorage = null, isOpList = false) { + let renderingIntent = _util.RenderingIntentFlag.DISPLAY; + let annotationStorageSerializable = _annotation_storage.SerializableEmpty; + switch (intent) { + case "any": + renderingIntent = _util.RenderingIntentFlag.ANY; + break; + case "display": + break; + case "print": + renderingIntent = _util.RenderingIntentFlag.PRINT; + break; + default: + (0, _util.warn)(`getRenderingIntent - invalid intent: ${intent}`); + } + switch (annotationMode) { + case _util.AnnotationMode.DISABLE: + renderingIntent += _util.RenderingIntentFlag.ANNOTATIONS_DISABLE; + break; + case _util.AnnotationMode.ENABLE: + break; + case _util.AnnotationMode.ENABLE_FORMS: + renderingIntent += _util.RenderingIntentFlag.ANNOTATIONS_FORMS; + break; + case _util.AnnotationMode.ENABLE_STORAGE: + renderingIntent += _util.RenderingIntentFlag.ANNOTATIONS_STORAGE; + const annotationStorage = renderingIntent & _util.RenderingIntentFlag.PRINT && printAnnotationStorage instanceof _annotation_storage.PrintAnnotationStorage ? printAnnotationStorage : this.annotationStorage; + annotationStorageSerializable = annotationStorage.serializable; + break; + default: + (0, _util.warn)(`getRenderingIntent - invalid annotationMode: ${annotationMode}`); + } + if (isOpList) { + renderingIntent += _util.RenderingIntentFlag.OPLIST; + } + return { + renderingIntent, + cacheKey: `${renderingIntent}_${annotationStorageSerializable.hash}`, + annotationStorageSerializable + }; + } + destroy() { + if (this.destroyCapability) { + return this.destroyCapability.promise; + } + this.destroyed = true; + this.destroyCapability = new _util.PromiseCapability(); + if (this._passwordCapability) { + this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback")); + } + const waitOn = []; + for (const page of this.#pageCache.values()) { + waitOn.push(page._destroy()); + } + this.#pageCache.clear(); + this.#pagePromises.clear(); + if (this.hasOwnProperty("annotationStorage")) { + this.annotationStorage.resetModified(); + } + const terminated = this.messageHandler.sendWithPromise("Terminate", null); + waitOn.push(terminated); + Promise.all(waitOn).then(() => { + this.commonObjs.clear(); + this.fontLoader.clear(); + this.#methodPromises.clear(); + this.filterFactory.destroy(); + if (this._networkStream) { + this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")); + } + if (this.messageHandler) { + this.messageHandler.destroy(); + this.messageHandler = null; + } + this.destroyCapability.resolve(); + }, this.destroyCapability.reject); + return this.destroyCapability.promise; + } + setupMessageHandler() { + const { + messageHandler, + loadingTask + } = this; + messageHandler.on("GetReader", (data, sink) => { + (0, _util.assert)(this._networkStream, "GetReader - no `IPDFStream` instance available."); + this._fullReader = this._networkStream.getFullReader(); + this._fullReader.onProgress = evt => { + this._lastProgress = { + loaded: evt.loaded, + total: evt.total + }; + }; + sink.onPull = () => { + this._fullReader.read().then(function ({ + value, + done + }) { + if (done) { + sink.close(); + return; + } + (0, _util.assert)(value instanceof ArrayBuffer, "GetReader - expected an ArrayBuffer."); + sink.enqueue(new Uint8Array(value), 1, [value]); + }).catch(reason => { + sink.error(reason); + }); + }; + sink.onCancel = reason => { + this._fullReader.cancel(reason); + sink.ready.catch(readyReason => { + if (this.destroyed) { + return; + } + throw readyReason; + }); + }; + }); + messageHandler.on("ReaderHeadersReady", data => { + const headersCapability = new _util.PromiseCapability(); + const fullReader = this._fullReader; + fullReader.headersReady.then(() => { + if (!fullReader.isStreamingSupported || !fullReader.isRangeSupported) { + if (this._lastProgress) { + loadingTask.onProgress?.(this._lastProgress); + } + fullReader.onProgress = evt => { + loadingTask.onProgress?.({ + loaded: evt.loaded, + total: evt.total + }); + }; + } + headersCapability.resolve({ + isStreamingSupported: fullReader.isStreamingSupported, + isRangeSupported: fullReader.isRangeSupported, + contentLength: fullReader.contentLength + }); + }, headersCapability.reject); + return headersCapability.promise; + }); + messageHandler.on("GetRangeReader", (data, sink) => { + (0, _util.assert)(this._networkStream, "GetRangeReader - no `IPDFStream` instance available."); + const rangeReader = this._networkStream.getRangeReader(data.begin, data.end); + if (!rangeReader) { + sink.close(); + return; + } + sink.onPull = () => { + rangeReader.read().then(function ({ + value, + done + }) { + if (done) { + sink.close(); + return; + } + (0, _util.assert)(value instanceof ArrayBuffer, "GetRangeReader - expected an ArrayBuffer."); + sink.enqueue(new Uint8Array(value), 1, [value]); + }).catch(reason => { + sink.error(reason); + }); + }; + sink.onCancel = reason => { + rangeReader.cancel(reason); + sink.ready.catch(readyReason => { + if (this.destroyed) { + return; + } + throw readyReason; + }); + }; + }); + messageHandler.on("GetDoc", ({ + pdfInfo + }) => { + this._numPages = pdfInfo.numPages; + this._htmlForXfa = pdfInfo.htmlForXfa; + delete pdfInfo.htmlForXfa; + loadingTask._capability.resolve(new PDFDocumentProxy(pdfInfo, this)); + }); + messageHandler.on("DocException", function (ex) { + let reason; + switch (ex.name) { + case "PasswordException": + reason = new _util.PasswordException(ex.message, ex.code); + break; + case "InvalidPDFException": + reason = new _util.InvalidPDFException(ex.message); + break; + case "MissingPDFException": + reason = new _util.MissingPDFException(ex.message); + break; + case "UnexpectedResponseException": + reason = new _util.UnexpectedResponseException(ex.message, ex.status); + break; + case "UnknownErrorException": + reason = new _util.UnknownErrorException(ex.message, ex.details); + break; + default: + (0, _util.unreachable)("DocException - expected a valid Error."); + } + loadingTask._capability.reject(reason); + }); + messageHandler.on("PasswordRequest", exception => { + this._passwordCapability = new _util.PromiseCapability(); + if (loadingTask.onPassword) { + const updatePassword = password => { + if (password instanceof Error) { + this._passwordCapability.reject(password); + } else { + this._passwordCapability.resolve({ + password + }); + } + }; + try { + loadingTask.onPassword(updatePassword, exception.code); + } catch (ex) { + this._passwordCapability.reject(ex); + } + } else { + this._passwordCapability.reject(new _util.PasswordException(exception.message, exception.code)); + } + return this._passwordCapability.promise; + }); + messageHandler.on("DataLoaded", data => { + loadingTask.onProgress?.({ + loaded: data.length, + total: data.length + }); + this.downloadInfoCapability.resolve(data); + }); + messageHandler.on("StartRenderPage", data => { + if (this.destroyed) { + return; + } + const page = this.#pageCache.get(data.pageIndex); + page._startRenderPage(data.transparency, data.cacheKey); + }); + messageHandler.on("commonobj", ([id, type, exportedData]) => { + if (this.destroyed) { + return; + } + if (this.commonObjs.has(id)) { + return; + } + switch (type) { + case "Font": + const params = this._params; + if ("error" in exportedData) { + const exportedError = exportedData.error; + (0, _util.warn)(`Error during font loading: ${exportedError}`); + this.commonObjs.resolve(id, exportedError); + break; + } + const inspectFont = params.pdfBug && globalThis.FontInspector?.enabled ? (font, url) => globalThis.FontInspector.fontAdded(font, url) : null; + const font = new _font_loader.FontFaceObject(exportedData, { + isEvalSupported: params.isEvalSupported, + disableFontFace: params.disableFontFace, + ignoreErrors: params.ignoreErrors, + inspectFont + }); + this.fontLoader.bind(font).catch(reason => { + return messageHandler.sendWithPromise("FontFallback", { + id + }); + }).finally(() => { + if (!params.fontExtraProperties && font.data) { + font.data = null; + } + this.commonObjs.resolve(id, font); + }); + break; + case "FontPath": + case "Image": + case "Pattern": + this.commonObjs.resolve(id, exportedData); + break; + default: + throw new Error(`Got unknown common object type ${type}`); + } + }); + messageHandler.on("obj", ([id, pageIndex, type, imageData]) => { + if (this.destroyed) { + return; + } + const pageProxy = this.#pageCache.get(pageIndex); + if (pageProxy.objs.has(id)) { + return; + } + switch (type) { + case "Image": + pageProxy.objs.resolve(id, imageData); + if (imageData) { + let length; + if (imageData.bitmap) { + const { + width, + height + } = imageData; + length = width * height * 4; + } else { + length = imageData.data?.length || 0; + } + if (length > _util.MAX_IMAGE_SIZE_TO_CACHE) { + pageProxy._maybeCleanupAfterRender = true; + } + } + break; + case "Pattern": + pageProxy.objs.resolve(id, imageData); + break; + default: + throw new Error(`Got unknown object type ${type}`); + } + }); + messageHandler.on("DocProgress", data => { + if (this.destroyed) { + return; + } + loadingTask.onProgress?.({ + loaded: data.loaded, + total: data.total + }); + }); + messageHandler.on("FetchBuiltInCMap", data => { + if (this.destroyed) { + return Promise.reject(new Error("Worker was destroyed.")); + } + if (!this.cMapReaderFactory) { + return Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.")); + } + return this.cMapReaderFactory.fetch(data); + }); + messageHandler.on("FetchStandardFontData", data => { + if (this.destroyed) { + return Promise.reject(new Error("Worker was destroyed.")); + } + if (!this.standardFontDataFactory) { + return Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")); + } + return this.standardFontDataFactory.fetch(data); + }); + } + getData() { + return this.messageHandler.sendWithPromise("GetData", null); + } + saveDocument() { + if (this.annotationStorage.size <= 0) { + (0, _util.warn)("saveDocument called while `annotationStorage` is empty, " + "please use the getData-method instead."); + } + const { + map, + transfers + } = this.annotationStorage.serializable; + return this.messageHandler.sendWithPromise("SaveDocument", { + isPureXfa: !!this._htmlForXfa, + numPages: this._numPages, + annotationStorage: map, + filename: this._fullReader?.filename ?? null + }, transfers).finally(() => { + this.annotationStorage.resetModified(); + }); + } + getPage(pageNumber) { + if (!Number.isInteger(pageNumber) || pageNumber <= 0 || pageNumber > this._numPages) { + return Promise.reject(new Error("Invalid page request.")); + } + const pageIndex = pageNumber - 1, + cachedPromise = this.#pagePromises.get(pageIndex); + if (cachedPromise) { + return cachedPromise; + } + const promise = this.messageHandler.sendWithPromise("GetPage", { + pageIndex + }).then(pageInfo => { + if (this.destroyed) { + throw new Error("Transport destroyed"); + } + const page = new PDFPageProxy(pageIndex, pageInfo, this, this._params.pdfBug); + this.#pageCache.set(pageIndex, page); + return page; + }); + this.#pagePromises.set(pageIndex, promise); + return promise; + } + getPageIndex(ref) { + if (typeof ref !== "object" || ref === null || !Number.isInteger(ref.num) || ref.num < 0 || !Number.isInteger(ref.gen) || ref.gen < 0) { + return Promise.reject(new Error("Invalid pageIndex request.")); + } + return this.messageHandler.sendWithPromise("GetPageIndex", { + num: ref.num, + gen: ref.gen + }); + } + getAnnotations(pageIndex, intent) { + return this.messageHandler.sendWithPromise("GetAnnotations", { + pageIndex, + intent + }); + } + getFieldObjects() { + return this.#cacheSimpleMethod("GetFieldObjects"); + } + hasJSActions() { + return this.#cacheSimpleMethod("HasJSActions"); + } + getCalculationOrderIds() { + return this.messageHandler.sendWithPromise("GetCalculationOrderIds", null); + } + getDestinations() { + return this.messageHandler.sendWithPromise("GetDestinations", null); + } + getDestination(id) { + if (typeof id !== "string") { + return Promise.reject(new Error("Invalid destination request.")); + } + return this.messageHandler.sendWithPromise("GetDestination", { + id + }); + } + getPageLabels() { + return this.messageHandler.sendWithPromise("GetPageLabels", null); + } + getPageLayout() { + return this.messageHandler.sendWithPromise("GetPageLayout", null); + } + getPageMode() { + return this.messageHandler.sendWithPromise("GetPageMode", null); + } + getViewerPreferences() { + return this.messageHandler.sendWithPromise("GetViewerPreferences", null); + } + getOpenAction() { + return this.messageHandler.sendWithPromise("GetOpenAction", null); + } + getAttachments() { + return this.messageHandler.sendWithPromise("GetAttachments", null); + } + getJavaScript() { + return this.messageHandler.sendWithPromise("GetJavaScript", null); + } + getDocJSActions() { + return this.messageHandler.sendWithPromise("GetDocJSActions", null); + } + getPageJSActions(pageIndex) { + return this.messageHandler.sendWithPromise("GetPageJSActions", { + pageIndex + }); + } + getStructTree(pageIndex) { + return this.messageHandler.sendWithPromise("GetStructTree", { + pageIndex + }); + } + getOutline() { + return this.messageHandler.sendWithPromise("GetOutline", null); + } + getOptionalContentConfig() { + return this.messageHandler.sendWithPromise("GetOptionalContentConfig", null).then(results => { + return new _optional_content_config.OptionalContentConfig(results); + }); + } + getPermissions() { + return this.messageHandler.sendWithPromise("GetPermissions", null); + } + getMetadata() { + const name = "GetMetadata", + cachedPromise = this.#methodPromises.get(name); + if (cachedPromise) { + return cachedPromise; + } + const promise = this.messageHandler.sendWithPromise(name, null).then(results => { + return { + info: results[0], + metadata: results[1] ? new _metadata.Metadata(results[1]) : null, + contentDispositionFilename: this._fullReader?.filename ?? null, + contentLength: this._fullReader?.contentLength ?? null + }; + }); + this.#methodPromises.set(name, promise); + return promise; + } + getMarkInfo() { + return this.messageHandler.sendWithPromise("GetMarkInfo", null); + } + async startCleanup(keepLoadedFonts = false) { + if (this.destroyed) { + return; + } + await this.messageHandler.sendWithPromise("Cleanup", null); + for (const page of this.#pageCache.values()) { + const cleanupSuccessful = page.cleanup(); + if (!cleanupSuccessful) { + throw new Error(`startCleanup: Page ${page.pageNumber} is currently rendering.`); + } + } + this.commonObjs.clear(); + if (!keepLoadedFonts) { + this.fontLoader.clear(); + } + this.#methodPromises.clear(); + this.filterFactory.destroy(true); + } + get loadingParams() { + const { + disableAutoFetch, + enableXfa + } = this._params; + return (0, _util.shadow)(this, "loadingParams", { + disableAutoFetch, + enableXfa + }); + } +} +class PDFObjects { + #objs = Object.create(null); + #ensureObj(objId) { + const obj = this.#objs[objId]; + if (obj) { + return obj; + } + return this.#objs[objId] = { + capability: new _util.PromiseCapability(), + data: null + }; + } + get(objId, callback = null) { + if (callback) { + const obj = this.#ensureObj(objId); + obj.capability.promise.then(() => callback(obj.data)); + return null; + } + const obj = this.#objs[objId]; + if (!obj?.capability.settled) { + throw new Error(`Requesting object that isn't resolved yet ${objId}.`); + } + return obj.data; + } + has(objId) { + const obj = this.#objs[objId]; + return obj?.capability.settled || false; + } + resolve(objId, data = null) { + const obj = this.#ensureObj(objId); + obj.data = data; + obj.capability.resolve(); + } + clear() { + for (const objId in this.#objs) { + const { + data + } = this.#objs[objId]; + data?.bitmap?.close(); + } + this.#objs = Object.create(null); + } +} +class RenderTask { + #internalRenderTask = null; + constructor(internalRenderTask) { + this.#internalRenderTask = internalRenderTask; + this.onContinue = null; + } + get promise() { + return this.#internalRenderTask.capability.promise; + } + cancel(extraDelay = 0) { + this.#internalRenderTask.cancel(null, extraDelay); + } + get separateAnnots() { + const { + separateAnnots + } = this.#internalRenderTask.operatorList; + if (!separateAnnots) { + return false; + } + const { + annotationCanvasMap + } = this.#internalRenderTask; + return separateAnnots.form || separateAnnots.canvas && annotationCanvasMap?.size > 0; + } +} +exports.RenderTask = RenderTask; +class InternalRenderTask { + static #canvasInUse = new WeakSet(); + constructor({ + callback, + params, + objs, + commonObjs, + annotationCanvasMap, + operatorList, + pageIndex, + canvasFactory, + filterFactory, + useRequestAnimationFrame = false, + pdfBug = false, + pageColors = null + }) { + this.callback = callback; + this.params = params; + this.objs = objs; + this.commonObjs = commonObjs; + this.annotationCanvasMap = annotationCanvasMap; + this.operatorListIdx = null; + this.operatorList = operatorList; + this._pageIndex = pageIndex; + this.canvasFactory = canvasFactory; + this.filterFactory = filterFactory; + this._pdfBug = pdfBug; + this.pageColors = pageColors; + this.running = false; + this.graphicsReadyCallback = null; + this.graphicsReady = false; + this._useRequestAnimationFrame = useRequestAnimationFrame === true && typeof window !== "undefined"; + this.cancelled = false; + this.capability = new _util.PromiseCapability(); + this.task = new RenderTask(this); + this._cancelBound = this.cancel.bind(this); + this._continueBound = this._continue.bind(this); + this._scheduleNextBound = this._scheduleNext.bind(this); + this._nextBound = this._next.bind(this); + this._canvas = params.canvasContext.canvas; + } + get completed() { + return this.capability.promise.catch(function () {}); + } + initializeGraphics({ + transparency = false, + optionalContentConfig + }) { + if (this.cancelled) { + return; + } + if (this._canvas) { + if (InternalRenderTask.#canvasInUse.has(this._canvas)) { + throw new Error("Cannot use the same canvas during multiple render() operations. " + "Use different canvas or ensure previous operations were " + "cancelled or completed."); + } + InternalRenderTask.#canvasInUse.add(this._canvas); + } + if (this._pdfBug && globalThis.StepperManager?.enabled) { + this.stepper = globalThis.StepperManager.create(this._pageIndex); + this.stepper.init(this.operatorList); + this.stepper.nextBreakPoint = this.stepper.getNextBreakPoint(); + } + const { + canvasContext, + viewport, + transform, + background + } = this.params; + this.gfx = new _canvas.CanvasGraphics(canvasContext, this.commonObjs, this.objs, this.canvasFactory, this.filterFactory, { + optionalContentConfig + }, this.annotationCanvasMap, this.pageColors); + this.gfx.beginDrawing({ + transform, + viewport, + transparency, + background + }); + this.operatorListIdx = 0; + this.graphicsReady = true; + this.graphicsReadyCallback?.(); + } + cancel(error = null, extraDelay = 0) { + this.running = false; + this.cancelled = true; + this.gfx?.endDrawing(); + if (this._canvas) { + InternalRenderTask.#canvasInUse.delete(this._canvas); + } + this.callback(error || new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex + 1}`, extraDelay)); + } + operatorListChanged() { + if (!this.graphicsReady) { + this.graphicsReadyCallback ||= this._continueBound; + return; + } + this.stepper?.updateOperatorList(this.operatorList); + if (this.running) { + return; + } + this._continue(); + } + _continue() { + this.running = true; + if (this.cancelled) { + return; + } + if (this.task.onContinue) { + this.task.onContinue(this._scheduleNextBound); + } else { + this._scheduleNext(); + } + } + _scheduleNext() { + if (this._useRequestAnimationFrame) { + window.requestAnimationFrame(() => { + this._nextBound().catch(this._cancelBound); + }); + } else { + Promise.resolve().then(this._nextBound).catch(this._cancelBound); + } + } + async _next() { + if (this.cancelled) { + return; + } + this.operatorListIdx = this.gfx.executeOperatorList(this.operatorList, this.operatorListIdx, this._continueBound, this.stepper); + if (this.operatorListIdx === this.operatorList.argsArray.length) { + this.running = false; + if (this.operatorList.lastChunk) { + this.gfx.endDrawing(this.pageColors); + if (this._canvas) { + InternalRenderTask.#canvasInUse.delete(this._canvas); + } + this.callback(); + } + } + } +} +const version = '3.8.162'; +exports.version = version; +const build = '2c74323e3'; +exports.build = build; + +/***/ }), +/* 3 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SerializableEmpty = exports.PrintAnnotationStorage = exports.AnnotationStorage = void 0; +var _util = __w_pdfjs_require__(1); +var _editor = __w_pdfjs_require__(4); +var _murmurhash = __w_pdfjs_require__(8); +const SerializableEmpty = Object.freeze({ + map: null, + hash: "", + transfers: undefined +}); +exports.SerializableEmpty = SerializableEmpty; +class AnnotationStorage { + #modified = false; + #storage = new Map(); + constructor() { + this.onSetModified = null; + this.onResetModified = null; + this.onAnnotationEditor = null; + } + getValue(key, defaultValue) { + const value = this.#storage.get(key); + if (value === undefined) { + return defaultValue; + } + return Object.assign(defaultValue, value); + } + getRawValue(key) { + return this.#storage.get(key); + } + remove(key) { + this.#storage.delete(key); + if (this.#storage.size === 0) { + this.resetModified(); + } + if (typeof this.onAnnotationEditor === "function") { + for (const value of this.#storage.values()) { + if (value instanceof _editor.AnnotationEditor) { + return; + } + } + this.onAnnotationEditor(null); + } + } + setValue(key, value) { + const obj = this.#storage.get(key); + let modified = false; + if (obj !== undefined) { + for (const [entry, val] of Object.entries(value)) { + if (obj[entry] !== val) { + modified = true; + obj[entry] = val; + } + } + } else { + modified = true; + this.#storage.set(key, value); + } + if (modified) { + this.#setModified(); + } + if (value instanceof _editor.AnnotationEditor && typeof this.onAnnotationEditor === "function") { + this.onAnnotationEditor(value.constructor._type); + } + } + has(key) { + return this.#storage.has(key); + } + getAll() { + return this.#storage.size > 0 ? (0, _util.objectFromMap)(this.#storage) : null; + } + setAll(obj) { + for (const [key, val] of Object.entries(obj)) { + this.setValue(key, val); + } + } + get size() { + return this.#storage.size; + } + #setModified() { + if (!this.#modified) { + this.#modified = true; + if (typeof this.onSetModified === "function") { + this.onSetModified(); + } + } + } + resetModified() { + if (this.#modified) { + this.#modified = false; + if (typeof this.onResetModified === "function") { + this.onResetModified(); + } + } + } + get print() { + return new PrintAnnotationStorage(this); + } + get serializable() { + if (this.#storage.size === 0) { + return SerializableEmpty; + } + const map = new Map(), + hash = new _murmurhash.MurmurHash3_64(), + transfers = []; + for (const [key, val] of this.#storage) { + const serialized = val instanceof _editor.AnnotationEditor ? val.serialize() : val; + if (serialized) { + map.set(key, serialized); + hash.update(`${key}:${JSON.stringify(serialized)}`); + if (serialized.bitmap) { + transfers.push(serialized.bitmap); + } + } + } + return map.size > 0 ? { + map, + hash: hash.hexdigest(), + transfers + } : SerializableEmpty; + } +} +exports.AnnotationStorage = AnnotationStorage; +class PrintAnnotationStorage extends AnnotationStorage { + #serializable; + constructor(parent) { + super(); + const { + map, + hash, + transfers + } = parent.serializable; + const clone = structuredClone(map, transfers ? { + transfer: transfers + } : null); + this.#serializable = { + map: clone, + hash, + transfers + }; + } + get print() { + (0, _util.unreachable)("Should not call PrintAnnotationStorage.print"); + } + get serializable() { + return this.#serializable; + } +} +exports.PrintAnnotationStorage = PrintAnnotationStorage; + +/***/ }), +/* 4 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AnnotationEditor = void 0; +var _tools = __w_pdfjs_require__(5); +var _util = __w_pdfjs_require__(1); +class AnnotationEditor { + #boundFocusin = this.focusin.bind(this); + #boundFocusout = this.focusout.bind(this); + #hasBeenSelected = false; + #isEditing = false; + #isInEditMode = false; + _uiManager = null; + #zIndex = AnnotationEditor._zIndex++; + static _colorManager = new _tools.ColorManager(); + static _zIndex = 1; + constructor(parameters) { + if (this.constructor === AnnotationEditor) { + (0, _util.unreachable)("Cannot initialize AnnotationEditor."); + } + this.parent = parameters.parent; + this.id = parameters.id; + this.width = this.height = null; + this.pageIndex = parameters.parent.pageIndex; + this.name = parameters.name; + this.div = null; + this._uiManager = parameters.uiManager; + this.annotationElementId = null; + const { + rotation, + rawDims: { + pageWidth, + pageHeight, + pageX, + pageY + } + } = this.parent.viewport; + this.rotation = rotation; + this.pageRotation = (360 + rotation - this._uiManager.viewParameters.rotation) % 360; + this.pageDimensions = [pageWidth, pageHeight]; + this.pageTranslation = [pageX, pageY]; + const [width, height] = this.parentDimensions; + this.x = parameters.x / width; + this.y = parameters.y / height; + this.isAttachedToDOM = false; + this.deleted = false; + } + static get _defaultLineColor() { + return (0, _util.shadow)(this, "_defaultLineColor", this._colorManager.getHexCode("CanvasText")); + } + static deleteAnnotationElement(editor) { + const fakeEditor = new FakeEditor({ + id: editor.parent.getNextId(), + parent: editor.parent, + uiManager: editor._uiManager + }); + fakeEditor.annotationElementId = editor.annotationElementId; + fakeEditor.deleted = true; + fakeEditor._uiManager.addToAnnotationStorage(fakeEditor); + } + addCommands(params) { + this._uiManager.addCommands(params); + } + get currentLayer() { + return this._uiManager.currentLayer; + } + setInBackground() { + this.div.style.zIndex = 0; + } + setInForeground() { + this.div.style.zIndex = this.#zIndex; + } + setParent(parent) { + if (parent !== null) { + this.pageIndex = parent.pageIndex; + this.pageDimensions = parent.pageDimensions; + } + this.parent = parent; + } + focusin(event) { + if (!this.#hasBeenSelected) { + this.parent.setSelected(this); + } else { + this.#hasBeenSelected = false; + } + } + focusout(event) { + if (!this.isAttachedToDOM) { + return; + } + const target = event.relatedTarget; + if (target?.closest(`#${this.id}`)) { + return; + } + event.preventDefault(); + if (!this.parent?.isMultipleSelection) { + this.commitOrRemove(); + } + } + commitOrRemove() { + if (this.isEmpty()) { + this.remove(); + } else { + this.commit(); + } + } + commit() { + this.addToAnnotationStorage(); + } + addToAnnotationStorage() { + this._uiManager.addToAnnotationStorage(this); + } + dragstart(event) { + const rect = this.parent.div.getBoundingClientRect(); + this.startX = event.clientX - rect.x; + this.startY = event.clientY - rect.y; + event.dataTransfer.setData("text/plain", this.id); + event.dataTransfer.effectAllowed = "move"; + } + setAt(x, y, tx, ty) { + const [width, height] = this.parentDimensions; + [tx, ty] = this.screenToPageTranslation(tx, ty); + this.x = (x + tx) / width; + this.y = (y + ty) / height; + this.div.style.left = `${100 * this.x}%`; + this.div.style.top = `${100 * this.y}%`; + } + translate(x, y) { + const [width, height] = this.parentDimensions; + [x, y] = this.screenToPageTranslation(x, y); + this.x += x / width; + this.y += y / height; + this.div.style.left = `${100 * this.x}%`; + this.div.style.top = `${100 * this.y}%`; + } + screenToPageTranslation(x, y) { + switch (this.parentRotation) { + case 90: + return [y, -x]; + case 180: + return [-x, -y]; + case 270: + return [-y, x]; + default: + return [x, y]; + } + } + get parentScale() { + return this._uiManager.viewParameters.realScale; + } + get parentRotation() { + return (this._uiManager.viewParameters.rotation + this.pageRotation) % 360; + } + get parentDimensions() { + const { + realScale + } = this._uiManager.viewParameters; + const [pageWidth, pageHeight] = this.pageDimensions; + return [pageWidth * realScale, pageHeight * realScale]; + } + setDims(width, height) { + const [parentWidth, parentHeight] = this.parentDimensions; + this.div.style.width = `${100 * width / parentWidth}%`; + this.div.style.height = `${100 * height / parentHeight}%`; + } + fixDims() { + const { + style + } = this.div; + const { + height, + width + } = style; + const widthPercent = width.endsWith("%"); + const heightPercent = height.endsWith("%"); + if (widthPercent && heightPercent) { + return; + } + const [parentWidth, parentHeight] = this.parentDimensions; + if (!widthPercent) { + style.width = `${100 * parseFloat(width) / parentWidth}%`; + } + if (!heightPercent) { + style.height = `${100 * parseFloat(height) / parentHeight}%`; + } + } + getInitialTranslation() { + return [0, 0]; + } + render() { + this.div = document.createElement("div"); + this.div.setAttribute("data-editor-rotation", (360 - this.rotation) % 360); + this.div.className = this.name; + this.div.setAttribute("id", this.id); + this.div.setAttribute("tabIndex", 0); + this.setInForeground(); + this.div.addEventListener("focusin", this.#boundFocusin); + this.div.addEventListener("focusout", this.#boundFocusout); + const [tx, ty] = this.getInitialTranslation(); + this.translate(tx, ty); + (0, _tools.bindEvents)(this, this.div, ["dragstart", "pointerdown"]); + return this.div; + } + pointerdown(event) { + const { + isMac + } = _util.FeatureTest.platform; + if (event.button !== 0 || event.ctrlKey && isMac) { + event.preventDefault(); + return; + } + if (event.ctrlKey && !isMac || event.shiftKey || event.metaKey && isMac) { + this.parent.toggleSelected(this); + } else { + this.parent.setSelected(this); + } + this.#hasBeenSelected = true; + } + getRect(tx, ty) { + const scale = this.parentScale; + const [pageWidth, pageHeight] = this.pageDimensions; + const [pageX, pageY] = this.pageTranslation; + const shiftX = tx / scale; + const shiftY = ty / scale; + const x = this.x * pageWidth; + const y = this.y * pageHeight; + const width = this.width * pageWidth; + const height = this.height * pageHeight; + switch (this.rotation) { + case 0: + return [x + shiftX + pageX, pageHeight - y - shiftY - height + pageY, x + shiftX + width + pageX, pageHeight - y - shiftY + pageY]; + case 90: + return [x + shiftY + pageX, pageHeight - y + shiftX + pageY, x + shiftY + height + pageX, pageHeight - y + shiftX + width + pageY]; + case 180: + return [x - shiftX - width + pageX, pageHeight - y + shiftY + pageY, x - shiftX + pageX, pageHeight - y + shiftY + height + pageY]; + case 270: + return [x - shiftY - height + pageX, pageHeight - y - shiftX - width + pageY, x - shiftY + pageX, pageHeight - y - shiftX + pageY]; + default: + throw new Error("Invalid rotation"); + } + } + getRectInCurrentCoords(rect, pageHeight) { + const [x1, y1, x2, y2] = rect; + const width = x2 - x1; + const height = y2 - y1; + switch (this.rotation) { + case 0: + return [x1, pageHeight - y2, width, height]; + case 90: + return [x1, pageHeight - y1, height, width]; + case 180: + return [x2, pageHeight - y1, width, height]; + case 270: + return [x2, pageHeight - y2, height, width]; + default: + throw new Error("Invalid rotation"); + } + } + onceAdded() {} + isEmpty() { + return false; + } + enableEditMode() { + this.#isInEditMode = true; + } + disableEditMode() { + this.#isInEditMode = false; + } + isInEditMode() { + return this.#isInEditMode; + } + shouldGetKeyboardEvents() { + return false; + } + needsToBeRebuilt() { + return this.div && !this.isAttachedToDOM; + } + rebuild() { + this.div?.addEventListener("focusin", this.#boundFocusin); + this.div?.addEventListener("focusout", this.#boundFocusout); + } + serialize(_isForCopying = false) { + (0, _util.unreachable)("An editor must be serializable"); + } + static deserialize(data, parent, uiManager) { + const editor = new this.prototype.constructor({ + parent, + id: parent.getNextId(), + uiManager + }); + editor.rotation = data.rotation; + const [pageWidth, pageHeight] = editor.pageDimensions; + const [x, y, width, height] = editor.getRectInCurrentCoords(data.rect, pageHeight); + editor.x = x / pageWidth; + editor.y = y / pageHeight; + editor.width = width / pageWidth; + editor.height = height / pageHeight; + return editor; + } + remove() { + this.div.removeEventListener("focusin", this.#boundFocusin); + this.div.removeEventListener("focusout", this.#boundFocusout); + if (!this.isEmpty()) { + this.commit(); + } + this.parent.remove(this); + } + select() { + this.div?.classList.add("selectedEditor"); + } + unselect() { + this.div?.classList.remove("selectedEditor"); + } + updateParams(type, value) {} + disableEditing() {} + enableEditing() {} + get propertiesToUpdate() { + return {}; + } + get contentDiv() { + return this.div; + } + get isEditing() { + return this.#isEditing; + } + set isEditing(value) { + this.#isEditing = value; + if (value) { + this.parent.setSelected(this); + this.parent.setActiveEditor(this); + } else { + this.parent.setActiveEditor(null); + } + } +} +exports.AnnotationEditor = AnnotationEditor; +class FakeEditor extends AnnotationEditor { + constructor(params) { + super(params); + this.annotationElementId = params.annotationElementId; + this.deleted = true; + } + serialize() { + return { + id: this.annotationElementId, + deleted: true, + pageIndex: this.pageIndex + }; + } +} + +/***/ }), +/* 5 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.KeyboardManager = exports.CommandManager = exports.ColorManager = exports.AnnotationEditorUIManager = void 0; +exports.bindEvents = bindEvents; +exports.opacityToHex = opacityToHex; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +function bindEvents(obj, element, names) { + for (const name of names) { + element.addEventListener(name, obj[name].bind(obj)); + } +} +function opacityToHex(opacity) { + return Math.round(Math.min(255, Math.max(1, 255 * opacity))).toString(16).padStart(2, "0"); +} +class IdManager { + #id = 0; + getId() { + return `${_util.AnnotationEditorPrefix}${this.#id++}`; + } +} +class CommandManager { + #commands = []; + #locked = false; + #maxSize; + #position = -1; + constructor(maxSize = 128) { + this.#maxSize = maxSize; + } + add({ + cmd, + undo, + mustExec, + type = NaN, + overwriteIfSameType = false, + keepUndo = false + }) { + if (mustExec) { + cmd(); + } + if (this.#locked) { + return; + } + const save = { + cmd, + undo, + type + }; + if (this.#position === -1) { + if (this.#commands.length > 0) { + this.#commands.length = 0; + } + this.#position = 0; + this.#commands.push(save); + return; + } + if (overwriteIfSameType && this.#commands[this.#position].type === type) { + if (keepUndo) { + save.undo = this.#commands[this.#position].undo; + } + this.#commands[this.#position] = save; + return; + } + const next = this.#position + 1; + if (next === this.#maxSize) { + this.#commands.splice(0, 1); + } else { + this.#position = next; + if (next < this.#commands.length) { + this.#commands.splice(next); + } + } + this.#commands.push(save); + } + undo() { + if (this.#position === -1) { + return; + } + this.#locked = true; + this.#commands[this.#position].undo(); + this.#locked = false; + this.#position -= 1; + } + redo() { + if (this.#position < this.#commands.length - 1) { + this.#position += 1; + this.#locked = true; + this.#commands[this.#position].cmd(); + this.#locked = false; + } + } + hasSomethingToUndo() { + return this.#position !== -1; + } + hasSomethingToRedo() { + return this.#position < this.#commands.length - 1; + } + destroy() { + this.#commands = null; + } +} +exports.CommandManager = CommandManager; +class KeyboardManager { + constructor(callbacks) { + this.buffer = []; + this.callbacks = new Map(); + this.allKeys = new Set(); + const { + isMac + } = _util.FeatureTest.platform; + for (const [keys, callback, bubbles = false] of callbacks) { + for (const key of keys) { + const isMacKey = key.startsWith("mac+"); + if (isMac && isMacKey) { + this.callbacks.set(key.slice(4), { + callback, + bubbles + }); + this.allKeys.add(key.split("+").at(-1)); + } else if (!isMac && !isMacKey) { + this.callbacks.set(key, { + callback, + bubbles + }); + this.allKeys.add(key.split("+").at(-1)); + } + } + } + } + #serialize(event) { + if (event.altKey) { + this.buffer.push("alt"); + } + if (event.ctrlKey) { + this.buffer.push("ctrl"); + } + if (event.metaKey) { + this.buffer.push("meta"); + } + if (event.shiftKey) { + this.buffer.push("shift"); + } + this.buffer.push(event.key); + const str = this.buffer.join("+"); + this.buffer.length = 0; + return str; + } + exec(self, event) { + if (!this.allKeys.has(event.key)) { + return; + } + const info = this.callbacks.get(this.#serialize(event)); + if (!info) { + return; + } + const { + callback, + bubbles + } = info; + callback.bind(self)(); + if (!bubbles) { + event.stopPropagation(); + event.preventDefault(); + } + } +} +exports.KeyboardManager = KeyboardManager; +class ColorManager { + static _colorsMapping = new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]); + get _colors() { + const colors = new Map([["CanvasText", null], ["Canvas", null]]); + (0, _display_utils.getColorValues)(colors); + return (0, _util.shadow)(this, "_colors", colors); + } + convert(color) { + const rgb = (0, _display_utils.getRGB)(color); + if (!window.matchMedia("(forced-colors: active)").matches) { + return rgb; + } + for (const [name, RGB] of this._colors) { + if (RGB.every((x, i) => x === rgb[i])) { + return ColorManager._colorsMapping.get(name); + } + } + return rgb; + } + getHexCode(name) { + const rgb = this._colors.get(name); + if (!rgb) { + return name; + } + return _util.Util.makeHexColor(...rgb); + } +} +exports.ColorManager = ColorManager; +class AnnotationEditorUIManager { + #activeEditor = null; + #allEditors = new Map(); + #allLayers = new Map(); + #annotationStorage = null; + #commandManager = new CommandManager(); + #currentPageIndex = 0; + #deletedAnnotationsElementIds = new Set(); + #editorTypes = null; + #editorsToRescale = new Set(); + #eventBus = null; + #idManager = new IdManager(); + #isEnabled = false; + #mode = _util.AnnotationEditorType.NONE; + #selectedEditors = new Set(); + #boundCopy = this.copy.bind(this); + #boundCut = this.cut.bind(this); + #boundPaste = this.paste.bind(this); + #boundKeydown = this.keydown.bind(this); + #boundOnEditingAction = this.onEditingAction.bind(this); + #boundOnPageChanging = this.onPageChanging.bind(this); + #boundOnScaleChanging = this.onScaleChanging.bind(this); + #boundOnRotationChanging = this.onRotationChanging.bind(this); + #previousStates = { + isEditing: false, + isEmpty: true, + hasSomethingToUndo: false, + hasSomethingToRedo: false, + hasSelectedEditor: false + }; + #container = null; + static get _keyboardManager() { + return (0, _util.shadow)(this, "_keyboardManager", new KeyboardManager([[["ctrl+a", "mac+meta+a"], AnnotationEditorUIManager.prototype.selectAll], [["ctrl+z", "mac+meta+z"], AnnotationEditorUIManager.prototype.undo], [["ctrl+y", "ctrl+shift+Z", "mac+meta+shift+Z"], AnnotationEditorUIManager.prototype.redo], [["Backspace", "alt+Backspace", "ctrl+Backspace", "shift+Backspace", "mac+Backspace", "mac+alt+Backspace", "mac+ctrl+Backspace", "Delete", "ctrl+Delete", "shift+Delete"], AnnotationEditorUIManager.prototype.delete], [["Escape", "mac+Escape"], AnnotationEditorUIManager.prototype.unselectAll]])); + } + constructor(container, eventBus, annotationStorage) { + this.#container = container; + this.#eventBus = eventBus; + this.#eventBus._on("editingaction", this.#boundOnEditingAction); + this.#eventBus._on("pagechanging", this.#boundOnPageChanging); + this.#eventBus._on("scalechanging", this.#boundOnScaleChanging); + this.#eventBus._on("rotationchanging", this.#boundOnRotationChanging); + this.#annotationStorage = annotationStorage; + this.viewParameters = { + realScale: _display_utils.PixelsPerInch.PDF_TO_CSS_UNITS, + rotation: 0 + }; + } + destroy() { + this.#removeKeyboardManager(); + this.#eventBus._off("editingaction", this.#boundOnEditingAction); + this.#eventBus._off("pagechanging", this.#boundOnPageChanging); + this.#eventBus._off("scalechanging", this.#boundOnScaleChanging); + this.#eventBus._off("rotationchanging", this.#boundOnRotationChanging); + for (const layer of this.#allLayers.values()) { + layer.destroy(); + } + this.#allLayers.clear(); + this.#allEditors.clear(); + this.#editorsToRescale.clear(); + this.#activeEditor = null; + this.#selectedEditors.clear(); + this.#commandManager.destroy(); + } + onPageChanging({ + pageNumber + }) { + this.#currentPageIndex = pageNumber - 1; + } + focusMainContainer() { + this.#container.focus(); + } + addShouldRescale(editor) { + this.#editorsToRescale.add(editor); + } + removeShouldRescale(editor) { + this.#editorsToRescale.delete(editor); + } + onScaleChanging({ + scale + }) { + this.commitOrRemove(); + this.viewParameters.realScale = scale * _display_utils.PixelsPerInch.PDF_TO_CSS_UNITS; + for (const editor of this.#editorsToRescale) { + editor.onScaleChanging(); + } + } + onRotationChanging({ + pagesRotation + }) { + this.commitOrRemove(); + this.viewParameters.rotation = pagesRotation; + } + addToAnnotationStorage(editor) { + if (!editor.isEmpty() && this.#annotationStorage && !this.#annotationStorage.has(editor.id)) { + this.#annotationStorage.setValue(editor.id, editor); + } + } + #addKeyboardManager() { + this.#container.addEventListener("keydown", this.#boundKeydown); + } + #removeKeyboardManager() { + this.#container.removeEventListener("keydown", this.#boundKeydown); + } + #addCopyPasteListeners() { + document.addEventListener("copy", this.#boundCopy); + document.addEventListener("cut", this.#boundCut); + document.addEventListener("paste", this.#boundPaste); + } + #removeCopyPasteListeners() { + document.removeEventListener("copy", this.#boundCopy); + document.removeEventListener("cut", this.#boundCut); + document.removeEventListener("paste", this.#boundPaste); + } + copy(event) { + event.preventDefault(); + if (this.#activeEditor) { + this.#activeEditor.commitOrRemove(); + } + if (!this.hasSelection) { + return; + } + const editors = []; + for (const editor of this.#selectedEditors) { + const serialized = editor.serialize(true); + if (serialized) { + editors.push(serialized); + } + } + if (editors.length === 0) { + return; + } + event.clipboardData.setData("application/pdfjs", JSON.stringify(editors)); + } + cut(event) { + this.copy(event); + this.delete(); + } + paste(event) { + event.preventDefault(); + let data = event.clipboardData.getData("application/pdfjs"); + if (!data) { + return; + } + try { + data = JSON.parse(data); + } catch (ex) { + (0, _util.warn)(`paste: "${ex.message}".`); + return; + } + if (!Array.isArray(data)) { + return; + } + this.unselectAll(); + const layer = this.#allLayers.get(this.#currentPageIndex); + try { + const newEditors = []; + for (const editor of data) { + const deserializedEditor = layer.deserialize(editor); + if (!deserializedEditor) { + return; + } + newEditors.push(deserializedEditor); + } + const cmd = () => { + for (const editor of newEditors) { + this.#addEditorToLayer(editor); + } + this.#selectEditors(newEditors); + }; + const undo = () => { + for (const editor of newEditors) { + editor.remove(); + } + }; + this.addCommands({ + cmd, + undo, + mustExec: true + }); + } catch (ex) { + (0, _util.warn)(`paste: "${ex.message}".`); + } + } + keydown(event) { + if (!this.getActive()?.shouldGetKeyboardEvents()) { + AnnotationEditorUIManager._keyboardManager.exec(this, event); + } + } + onEditingAction(details) { + if (["undo", "redo", "delete", "selectAll"].includes(details.name)) { + this[details.name](); + } + } + #dispatchUpdateStates(details) { + const hasChanged = Object.entries(details).some(([key, value]) => this.#previousStates[key] !== value); + if (hasChanged) { + this.#eventBus.dispatch("annotationeditorstateschanged", { + source: this, + details: Object.assign(this.#previousStates, details) + }); + } + } + #dispatchUpdateUI(details) { + this.#eventBus.dispatch("annotationeditorparamschanged", { + source: this, + details + }); + } + setEditingState(isEditing) { + if (isEditing) { + this.#addKeyboardManager(); + this.#addCopyPasteListeners(); + this.#dispatchUpdateStates({ + isEditing: this.#mode !== _util.AnnotationEditorType.NONE, + isEmpty: this.#isEmpty(), + hasSomethingToUndo: this.#commandManager.hasSomethingToUndo(), + hasSomethingToRedo: this.#commandManager.hasSomethingToRedo(), + hasSelectedEditor: false + }); + } else { + this.#removeKeyboardManager(); + this.#removeCopyPasteListeners(); + this.#dispatchUpdateStates({ + isEditing: false + }); + } + } + registerEditorTypes(types) { + if (this.#editorTypes) { + return; + } + this.#editorTypes = types; + for (const editorType of this.#editorTypes) { + this.#dispatchUpdateUI(editorType.defaultPropertiesToUpdate); + } + } + getId() { + return this.#idManager.getId(); + } + get currentLayer() { + return this.#allLayers.get(this.#currentPageIndex); + } + get currentPageIndex() { + return this.#currentPageIndex; + } + addLayer(layer) { + this.#allLayers.set(layer.pageIndex, layer); + if (this.#isEnabled) { + layer.enable(); + } else { + layer.disable(); + } + } + removeLayer(layer) { + this.#allLayers.delete(layer.pageIndex); + } + updateMode(mode) { + this.#mode = mode; + if (mode === _util.AnnotationEditorType.NONE) { + this.setEditingState(false); + this.#disableAll(); + } else { + this.setEditingState(true); + this.#enableAll(); + for (const layer of this.#allLayers.values()) { + layer.updateMode(mode); + } + } + } + updateToolbar(mode) { + if (mode === this.#mode) { + return; + } + this.#eventBus.dispatch("switchannotationeditormode", { + source: this, + mode + }); + } + updateParams(type, value) { + if (!this.#editorTypes) { + return; + } + for (const editor of this.#selectedEditors) { + editor.updateParams(type, value); + } + for (const editorType of this.#editorTypes) { + editorType.updateDefaultParams(type, value); + } + } + #enableAll() { + if (!this.#isEnabled) { + this.#isEnabled = true; + for (const layer of this.#allLayers.values()) { + layer.enable(); + } + } + } + #disableAll() { + this.unselectAll(); + if (this.#isEnabled) { + this.#isEnabled = false; + for (const layer of this.#allLayers.values()) { + layer.disable(); + } + } + } + getEditors(pageIndex) { + const editors = []; + for (const editor of this.#allEditors.values()) { + if (editor.pageIndex === pageIndex) { + editors.push(editor); + } + } + return editors; + } + getEditor(id) { + return this.#allEditors.get(id); + } + addEditor(editor) { + this.#allEditors.set(editor.id, editor); + } + removeEditor(editor) { + this.#allEditors.delete(editor.id); + this.unselect(editor); + if (!editor.annotationElementId || !this.#deletedAnnotationsElementIds.has(editor.annotationElementId)) { + this.#annotationStorage?.remove(editor.id); + } + } + addDeletedAnnotationElement(editor) { + this.#deletedAnnotationsElementIds.add(editor.annotationElementId); + editor.deleted = true; + } + isDeletedAnnotationElement(annotationElementId) { + return this.#deletedAnnotationsElementIds.has(annotationElementId); + } + removeDeletedAnnotationElement(editor) { + this.#deletedAnnotationsElementIds.delete(editor.annotationElementId); + editor.deleted = false; + } + #addEditorToLayer(editor) { + const layer = this.#allLayers.get(editor.pageIndex); + if (layer) { + layer.addOrRebuild(editor); + } else { + this.addEditor(editor); + } + } + setActiveEditor(editor) { + if (this.#activeEditor === editor) { + return; + } + this.#activeEditor = editor; + if (editor) { + this.#dispatchUpdateUI(editor.propertiesToUpdate); + } + } + toggleSelected(editor) { + if (this.#selectedEditors.has(editor)) { + this.#selectedEditors.delete(editor); + editor.unselect(); + this.#dispatchUpdateStates({ + hasSelectedEditor: this.hasSelection + }); + return; + } + this.#selectedEditors.add(editor); + editor.select(); + this.#dispatchUpdateUI(editor.propertiesToUpdate); + this.#dispatchUpdateStates({ + hasSelectedEditor: true + }); + } + setSelected(editor) { + for (const ed of this.#selectedEditors) { + if (ed !== editor) { + ed.unselect(); + } + } + this.#selectedEditors.clear(); + this.#selectedEditors.add(editor); + editor.select(); + this.#dispatchUpdateUI(editor.propertiesToUpdate); + this.#dispatchUpdateStates({ + hasSelectedEditor: true + }); + } + isSelected(editor) { + return this.#selectedEditors.has(editor); + } + unselect(editor) { + editor.unselect(); + this.#selectedEditors.delete(editor); + this.#dispatchUpdateStates({ + hasSelectedEditor: this.hasSelection + }); + } + get hasSelection() { + return this.#selectedEditors.size !== 0; + } + undo() { + this.#commandManager.undo(); + this.#dispatchUpdateStates({ + hasSomethingToUndo: this.#commandManager.hasSomethingToUndo(), + hasSomethingToRedo: true, + isEmpty: this.#isEmpty() + }); + } + redo() { + this.#commandManager.redo(); + this.#dispatchUpdateStates({ + hasSomethingToUndo: true, + hasSomethingToRedo: this.#commandManager.hasSomethingToRedo(), + isEmpty: this.#isEmpty() + }); + } + addCommands(params) { + this.#commandManager.add(params); + this.#dispatchUpdateStates({ + hasSomethingToUndo: true, + hasSomethingToRedo: false, + isEmpty: this.#isEmpty() + }); + } + #isEmpty() { + if (this.#allEditors.size === 0) { + return true; + } + if (this.#allEditors.size === 1) { + for (const editor of this.#allEditors.values()) { + return editor.isEmpty(); + } + } + return false; + } + delete() { + this.commitOrRemove(); + if (!this.hasSelection) { + return; + } + const editors = [...this.#selectedEditors]; + const cmd = () => { + for (const editor of editors) { + editor.remove(); + } + }; + const undo = () => { + for (const editor of editors) { + this.#addEditorToLayer(editor); + } + }; + this.addCommands({ + cmd, + undo, + mustExec: true + }); + } + commitOrRemove() { + this.#activeEditor?.commitOrRemove(); + } + #selectEditors(editors) { + this.#selectedEditors.clear(); + for (const editor of editors) { + if (editor.isEmpty()) { + continue; + } + this.#selectedEditors.add(editor); + editor.select(); + } + this.#dispatchUpdateStates({ + hasSelectedEditor: true + }); + } + selectAll() { + for (const editor of this.#selectedEditors) { + editor.commit(); + } + this.#selectEditors(this.#allEditors.values()); + } + unselectAll() { + if (this.#activeEditor) { + this.#activeEditor.commitOrRemove(); + return; + } + if (this.#selectedEditors.size === 0) { + return; + } + for (const editor of this.#selectedEditors) { + editor.unselect(); + } + this.#selectedEditors.clear(); + this.#dispatchUpdateStates({ + hasSelectedEditor: false + }); + } + isActive(editor) { + return this.#activeEditor === editor; + } + getActive() { + return this.#activeEditor; + } + getMode() { + return this.#mode; + } +} +exports.AnnotationEditorUIManager = AnnotationEditorUIManager; + +/***/ }), +/* 6 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StatTimer = exports.RenderingCancelledException = exports.PixelsPerInch = exports.PageViewport = exports.PDFDateString = exports.DOMStandardFontDataFactory = exports.DOMSVGFactory = exports.DOMFilterFactory = exports.DOMCanvasFactory = exports.DOMCMapReaderFactory = exports.AnnotationPrefix = void 0; +exports.deprecated = deprecated; +exports.getColorValues = getColorValues; +exports.getCurrentTransform = getCurrentTransform; +exports.getCurrentTransformInverse = getCurrentTransformInverse; +exports.getFilenameFromUrl = getFilenameFromUrl; +exports.getPdfFilenameFromUrl = getPdfFilenameFromUrl; +exports.getRGB = getRGB; +exports.getXfaPageViewport = getXfaPageViewport; +exports.isDataScheme = isDataScheme; +exports.isPdfFile = isPdfFile; +exports.isValidFetchUrl = isValidFetchUrl; +exports.loadScript = loadScript; +exports.setLayerDimensions = setLayerDimensions; +var _base_factory = __w_pdfjs_require__(7); +var _util = __w_pdfjs_require__(1); +const SVG_NS = "http://www.w3.org/2000/svg"; +const AnnotationPrefix = "pdfjs_internal_id_"; +exports.AnnotationPrefix = AnnotationPrefix; +class PixelsPerInch { + static CSS = 96.0; + static PDF = 72.0; + static PDF_TO_CSS_UNITS = this.CSS / this.PDF; +} +exports.PixelsPerInch = PixelsPerInch; +class DOMFilterFactory extends _base_factory.BaseFilterFactory { + #_cache; + #_defs; + #docId; + #document; + #hcmFilter; + #hcmKey; + #hcmUrl; + #hcmHighlightFilter; + #hcmHighlightKey; + #hcmHighlightUrl; + #id = 0; + constructor({ + docId, + ownerDocument = globalThis.document + } = {}) { + super(); + this.#docId = docId; + this.#document = ownerDocument; + } + get #cache() { + return this.#_cache ||= new Map(); + } + get #defs() { + if (!this.#_defs) { + const div = this.#document.createElement("div"); + const { + style + } = div; + style.visibility = "hidden"; + style.contain = "strict"; + style.width = style.height = 0; + style.position = "absolute"; + style.top = style.left = 0; + style.zIndex = -1; + const svg = this.#document.createElementNS(SVG_NS, "svg"); + svg.setAttribute("width", 0); + svg.setAttribute("height", 0); + this.#_defs = this.#document.createElementNS(SVG_NS, "defs"); + div.append(svg); + svg.append(this.#_defs); + this.#document.body.append(div); + } + return this.#_defs; + } + addFilter(maps) { + if (!maps) { + return "none"; + } + let value = this.#cache.get(maps); + if (value) { + return value; + } + let tableR, tableG, tableB, key; + if (maps.length === 1) { + const mapR = maps[0]; + const buffer = new Array(256); + for (let i = 0; i < 256; i++) { + buffer[i] = mapR[i] / 255; + } + key = tableR = tableG = tableB = buffer.join(","); + } else { + const [mapR, mapG, mapB] = maps; + const bufferR = new Array(256); + const bufferG = new Array(256); + const bufferB = new Array(256); + for (let i = 0; i < 256; i++) { + bufferR[i] = mapR[i] / 255; + bufferG[i] = mapG[i] / 255; + bufferB[i] = mapB[i] / 255; + } + tableR = bufferR.join(","); + tableG = bufferG.join(","); + tableB = bufferB.join(","); + key = `${tableR}${tableG}${tableB}`; + } + value = this.#cache.get(key); + if (value) { + this.#cache.set(maps, value); + return value; + } + const id = `g_${this.#docId}_transfer_map_${this.#id++}`; + const url = `url(#${id})`; + this.#cache.set(maps, url); + this.#cache.set(key, url); + const filter = this.#createFilter(id); + this.#addTransferMapConversion(tableR, tableG, tableB, filter); + return url; + } + addHCMFilter(fgColor, bgColor) { + const key = `${fgColor}-${bgColor}`; + if (this.#hcmKey === key) { + return this.#hcmUrl; + } + this.#hcmKey = key; + this.#hcmUrl = "none"; + this.#hcmFilter?.remove(); + if (!fgColor || !bgColor) { + return this.#hcmUrl; + } + const fgRGB = this.#getRGB(fgColor); + fgColor = _util.Util.makeHexColor(...fgRGB); + const bgRGB = this.#getRGB(bgColor); + bgColor = _util.Util.makeHexColor(...bgRGB); + this.#defs.style.color = ""; + if (fgColor === "#000000" && bgColor === "#ffffff" || fgColor === bgColor) { + return this.#hcmUrl; + } + const map = new Array(256); + for (let i = 0; i <= 255; i++) { + const x = i / 255; + map[i] = x <= 0.03928 ? x / 12.92 : ((x + 0.055) / 1.055) ** 2.4; + } + const table = map.join(","); + const id = `g_${this.#docId}_hcm_filter`; + const filter = this.#hcmHighlightFilter = this.#createFilter(id); + this.#addTransferMapConversion(table, table, table, filter); + this.#addGrayConversion(filter); + const getSteps = (c, n) => { + const start = fgRGB[c] / 255; + const end = bgRGB[c] / 255; + const arr = new Array(n + 1); + for (let i = 0; i <= n; i++) { + arr[i] = start + i / n * (end - start); + } + return arr.join(","); + }; + this.#addTransferMapConversion(getSteps(0, 5), getSteps(1, 5), getSteps(2, 5), filter); + this.#hcmUrl = `url(#${id})`; + return this.#hcmUrl; + } + addHighlightHCMFilter(fgColor, bgColor, newFgColor, newBgColor) { + const key = `${fgColor}-${bgColor}-${newFgColor}-${newBgColor}`; + if (this.#hcmHighlightKey === key) { + return this.#hcmHighlightUrl; + } + this.#hcmHighlightKey = key; + this.#hcmHighlightUrl = "none"; + this.#hcmHighlightFilter?.remove(); + if (!fgColor || !bgColor) { + return this.#hcmHighlightUrl; + } + const [fgRGB, bgRGB] = [fgColor, bgColor].map(this.#getRGB.bind(this)); + let fgGray = Math.round(0.2126 * fgRGB[0] + 0.7152 * fgRGB[1] + 0.0722 * fgRGB[2]); + let bgGray = Math.round(0.2126 * bgRGB[0] + 0.7152 * bgRGB[1] + 0.0722 * bgRGB[2]); + let [newFgRGB, newBgRGB] = [newFgColor, newBgColor].map(this.#getRGB.bind(this)); + if (bgGray < fgGray) { + [fgGray, bgGray, newFgRGB, newBgRGB] = [bgGray, fgGray, newBgRGB, newFgRGB]; + } + this.#defs.style.color = ""; + const getSteps = (fg, bg, n) => { + const arr = new Array(256); + const step = (bgGray - fgGray) / n; + const newStart = fg / 255; + const newStep = (bg - fg) / (255 * n); + let prev = 0; + for (let i = 0; i <= n; i++) { + const k = Math.round(fgGray + i * step); + const value = newStart + i * newStep; + for (let j = prev; j <= k; j++) { + arr[j] = value; + } + prev = k + 1; + } + for (let i = prev; i < 256; i++) { + arr[i] = arr[prev - 1]; + } + return arr.join(","); + }; + const id = `g_${this.#docId}_hcm_highlight_filter`; + const filter = this.#hcmHighlightFilter = this.#createFilter(id); + this.#addGrayConversion(filter); + this.#addTransferMapConversion(getSteps(newFgRGB[0], newBgRGB[0], 5), getSteps(newFgRGB[1], newBgRGB[1], 5), getSteps(newFgRGB[2], newBgRGB[2], 5), filter); + this.#hcmHighlightUrl = `url(#${id})`; + return this.#hcmHighlightUrl; + } + destroy(keepHCM = false) { + if (keepHCM && (this.#hcmUrl || this.#hcmHighlightUrl)) { + return; + } + if (this.#_defs) { + this.#_defs.parentNode.parentNode.remove(); + this.#_defs = null; + } + if (this.#_cache) { + this.#_cache.clear(); + this.#_cache = null; + } + this.#id = 0; + } + #addGrayConversion(filter) { + const feColorMatrix = this.#document.createElementNS(SVG_NS, "feColorMatrix"); + feColorMatrix.setAttribute("type", "matrix"); + feColorMatrix.setAttribute("values", "0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"); + filter.append(feColorMatrix); + } + #createFilter(id) { + const filter = this.#document.createElementNS(SVG_NS, "filter"); + filter.setAttribute("color-interpolation-filters", "sRGB"); + filter.setAttribute("id", id); + this.#defs.append(filter); + return filter; + } + #appendFeFunc(feComponentTransfer, func, table) { + const feFunc = this.#document.createElementNS(SVG_NS, func); + feFunc.setAttribute("type", "discrete"); + feFunc.setAttribute("tableValues", table); + feComponentTransfer.append(feFunc); + } + #addTransferMapConversion(rTable, gTable, bTable, filter) { + const feComponentTransfer = this.#document.createElementNS(SVG_NS, "feComponentTransfer"); + filter.append(feComponentTransfer); + this.#appendFeFunc(feComponentTransfer, "feFuncR", rTable); + this.#appendFeFunc(feComponentTransfer, "feFuncG", gTable); + this.#appendFeFunc(feComponentTransfer, "feFuncB", bTable); + } + #getRGB(color) { + this.#defs.style.color = color; + return getRGB(getComputedStyle(this.#defs).getPropertyValue("color")); + } +} +exports.DOMFilterFactory = DOMFilterFactory; +class DOMCanvasFactory extends _base_factory.BaseCanvasFactory { + constructor({ + ownerDocument = globalThis.document + } = {}) { + super(); + this._document = ownerDocument; + } + _createCanvas(width, height) { + const canvas = this._document.createElement("canvas"); + canvas.width = width; + canvas.height = height; + return canvas; + } +} +exports.DOMCanvasFactory = DOMCanvasFactory; +async function fetchData(url, asTypedArray = false) { + if (isValidFetchUrl(url, document.baseURI)) { + const response = await fetch(url); + if (!response.ok) { + throw new Error(response.statusText); + } + return asTypedArray ? new Uint8Array(await response.arrayBuffer()) : (0, _util.stringToBytes)(await response.text()); + } + return new Promise((resolve, reject) => { + const request = new XMLHttpRequest(); + request.open("GET", url, true); + if (asTypedArray) { + request.responseType = "arraybuffer"; + } + request.onreadystatechange = () => { + if (request.readyState !== XMLHttpRequest.DONE) { + return; + } + if (request.status === 200 || request.status === 0) { + let data; + if (asTypedArray && request.response) { + data = new Uint8Array(request.response); + } else if (!asTypedArray && request.responseText) { + data = (0, _util.stringToBytes)(request.responseText); + } + if (data) { + resolve(data); + return; + } + } + reject(new Error(request.statusText)); + }; + request.send(null); + }); +} +class DOMCMapReaderFactory extends _base_factory.BaseCMapReaderFactory { + _fetchData(url, compressionType) { + return fetchData(url, this.isCompressed).then(data => { + return { + cMapData: data, + compressionType + }; + }); + } +} +exports.DOMCMapReaderFactory = DOMCMapReaderFactory; +class DOMStandardFontDataFactory extends _base_factory.BaseStandardFontDataFactory { + _fetchData(url) { + return fetchData(url, true); + } +} +exports.DOMStandardFontDataFactory = DOMStandardFontDataFactory; +class DOMSVGFactory extends _base_factory.BaseSVGFactory { + _createSVG(type) { + return document.createElementNS(SVG_NS, type); + } +} +exports.DOMSVGFactory = DOMSVGFactory; +class PageViewport { + constructor({ + viewBox, + scale, + rotation, + offsetX = 0, + offsetY = 0, + dontFlip = false + }) { + this.viewBox = viewBox; + this.scale = scale; + this.rotation = rotation; + this.offsetX = offsetX; + this.offsetY = offsetY; + const centerX = (viewBox[2] + viewBox[0]) / 2; + const centerY = (viewBox[3] + viewBox[1]) / 2; + let rotateA, rotateB, rotateC, rotateD; + rotation %= 360; + if (rotation < 0) { + rotation += 360; + } + switch (rotation) { + case 180: + rotateA = -1; + rotateB = 0; + rotateC = 0; + rotateD = 1; + break; + case 90: + rotateA = 0; + rotateB = 1; + rotateC = 1; + rotateD = 0; + break; + case 270: + rotateA = 0; + rotateB = -1; + rotateC = -1; + rotateD = 0; + break; + case 0: + rotateA = 1; + rotateB = 0; + rotateC = 0; + rotateD = -1; + break; + default: + throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees."); + } + if (dontFlip) { + rotateC = -rotateC; + rotateD = -rotateD; + } + let offsetCanvasX, offsetCanvasY; + let width, height; + if (rotateA === 0) { + offsetCanvasX = Math.abs(centerY - viewBox[1]) * scale + offsetX; + offsetCanvasY = Math.abs(centerX - viewBox[0]) * scale + offsetY; + width = (viewBox[3] - viewBox[1]) * scale; + height = (viewBox[2] - viewBox[0]) * scale; + } else { + offsetCanvasX = Math.abs(centerX - viewBox[0]) * scale + offsetX; + offsetCanvasY = Math.abs(centerY - viewBox[1]) * scale + offsetY; + width = (viewBox[2] - viewBox[0]) * scale; + height = (viewBox[3] - viewBox[1]) * scale; + } + this.transform = [rotateA * scale, rotateB * scale, rotateC * scale, rotateD * scale, offsetCanvasX - rotateA * scale * centerX - rotateC * scale * centerY, offsetCanvasY - rotateB * scale * centerX - rotateD * scale * centerY]; + this.width = width; + this.height = height; + } + get rawDims() { + const { + viewBox + } = this; + return (0, _util.shadow)(this, "rawDims", { + pageWidth: viewBox[2] - viewBox[0], + pageHeight: viewBox[3] - viewBox[1], + pageX: viewBox[0], + pageY: viewBox[1] + }); + } + clone({ + scale = this.scale, + rotation = this.rotation, + offsetX = this.offsetX, + offsetY = this.offsetY, + dontFlip = false + } = {}) { + return new PageViewport({ + viewBox: this.viewBox.slice(), + scale, + rotation, + offsetX, + offsetY, + dontFlip + }); + } + convertToViewportPoint(x, y) { + return _util.Util.applyTransform([x, y], this.transform); + } + convertToViewportRectangle(rect) { + const topLeft = _util.Util.applyTransform([rect[0], rect[1]], this.transform); + const bottomRight = _util.Util.applyTransform([rect[2], rect[3]], this.transform); + return [topLeft[0], topLeft[1], bottomRight[0], bottomRight[1]]; + } + convertToPdfPoint(x, y) { + return _util.Util.applyInverseTransform([x, y], this.transform); + } +} +exports.PageViewport = PageViewport; +class RenderingCancelledException extends _util.BaseException { + constructor(msg, extraDelay = 0) { + super(msg, "RenderingCancelledException"); + this.extraDelay = extraDelay; + } +} +exports.RenderingCancelledException = RenderingCancelledException; +function isDataScheme(url) { + const ii = url.length; + let i = 0; + while (i < ii && url[i].trim() === "") { + i++; + } + return url.substring(i, i + 5).toLowerCase() === "data:"; +} +function isPdfFile(filename) { + return typeof filename === "string" && /\.pdf$/i.test(filename); +} +function getFilenameFromUrl(url, onlyStripPath = false) { + if (!onlyStripPath) { + [url] = url.split(/[#?]/, 1); + } + return url.substring(url.lastIndexOf("/") + 1); +} +function getPdfFilenameFromUrl(url, defaultFilename = "document.pdf") { + if (typeof url !== "string") { + return defaultFilename; + } + if (isDataScheme(url)) { + (0, _util.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'); + return defaultFilename; + } + const reURI = /^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/; + const reFilename = /[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i; + const splitURI = reURI.exec(url); + let suggestedFilename = reFilename.exec(splitURI[1]) || reFilename.exec(splitURI[2]) || reFilename.exec(splitURI[3]); + if (suggestedFilename) { + suggestedFilename = suggestedFilename[0]; + if (suggestedFilename.includes("%")) { + try { + suggestedFilename = reFilename.exec(decodeURIComponent(suggestedFilename))[0]; + } catch {} + } + } + return suggestedFilename || defaultFilename; +} +class StatTimer { + started = Object.create(null); + times = []; + time(name) { + if (name in this.started) { + (0, _util.warn)(`Timer is already running for ${name}`); + } + this.started[name] = Date.now(); + } + timeEnd(name) { + if (!(name in this.started)) { + (0, _util.warn)(`Timer has not been started for ${name}`); + } + this.times.push({ + name, + start: this.started[name], + end: Date.now() + }); + delete this.started[name]; + } + toString() { + const outBuf = []; + let longest = 0; + for (const { + name + } of this.times) { + longest = Math.max(name.length, longest); + } + for (const { + name, + start, + end + } of this.times) { + outBuf.push(`${name.padEnd(longest)} ${end - start}ms\n`); + } + return outBuf.join(""); + } +} +exports.StatTimer = StatTimer; +function isValidFetchUrl(url, baseUrl) { + try { + const { + protocol + } = baseUrl ? new URL(url, baseUrl) : new URL(url); + return protocol === "http:" || protocol === "https:"; + } catch { + return false; + } +} +function loadScript(src, removeScriptElement = false) { + return new Promise((resolve, reject) => { + const script = document.createElement("script"); + script.src = src; + script.onload = function (evt) { + if (removeScriptElement) { + script.remove(); + } + resolve(evt); + }; + script.onerror = function () { + reject(new Error(`Cannot load script at: ${script.src}`)); + }; + (document.head || document.documentElement).append(script); + }); +} +function deprecated(details) { + console.log("Deprecated API usage: " + details); +} +let pdfDateStringRegex; +class PDFDateString { + static toDateObject(input) { + if (!input || typeof input !== "string") { + return null; + } + pdfDateStringRegex ||= new RegExp("^D:" + "(\\d{4})" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "([Z|+|-])?" + "(\\d{2})?" + "'?" + "(\\d{2})?" + "'?"); + const matches = pdfDateStringRegex.exec(input); + if (!matches) { + return null; + } + const year = parseInt(matches[1], 10); + let month = parseInt(matches[2], 10); + month = month >= 1 && month <= 12 ? month - 1 : 0; + let day = parseInt(matches[3], 10); + day = day >= 1 && day <= 31 ? day : 1; + let hour = parseInt(matches[4], 10); + hour = hour >= 0 && hour <= 23 ? hour : 0; + let minute = parseInt(matches[5], 10); + minute = minute >= 0 && minute <= 59 ? minute : 0; + let second = parseInt(matches[6], 10); + second = second >= 0 && second <= 59 ? second : 0; + const universalTimeRelation = matches[7] || "Z"; + let offsetHour = parseInt(matches[8], 10); + offsetHour = offsetHour >= 0 && offsetHour <= 23 ? offsetHour : 0; + let offsetMinute = parseInt(matches[9], 10) || 0; + offsetMinute = offsetMinute >= 0 && offsetMinute <= 59 ? offsetMinute : 0; + if (universalTimeRelation === "-") { + hour += offsetHour; + minute += offsetMinute; + } else if (universalTimeRelation === "+") { + hour -= offsetHour; + minute -= offsetMinute; + } + return new Date(Date.UTC(year, month, day, hour, minute, second)); + } +} +exports.PDFDateString = PDFDateString; +function getXfaPageViewport(xfaPage, { + scale = 1, + rotation = 0 +}) { + const { + width, + height + } = xfaPage.attributes.style; + const viewBox = [0, 0, parseInt(width), parseInt(height)]; + return new PageViewport({ + viewBox, + scale, + rotation + }); +} +function getRGB(color) { + if (color.startsWith("#")) { + const colorRGB = parseInt(color.slice(1), 16); + return [(colorRGB & 0xff0000) >> 16, (colorRGB & 0x00ff00) >> 8, colorRGB & 0x0000ff]; + } + if (color.startsWith("rgb(")) { + return color.slice(4, -1).split(",").map(x => parseInt(x)); + } + if (color.startsWith("rgba(")) { + return color.slice(5, -1).split(",").map(x => parseInt(x)).slice(0, 3); + } + (0, _util.warn)(`Not a valid color format: "${color}"`); + return [0, 0, 0]; +} +function getColorValues(colors) { + const span = document.createElement("span"); + span.style.visibility = "hidden"; + document.body.append(span); + for (const name of colors.keys()) { + span.style.color = name; + const computedColor = window.getComputedStyle(span).color; + colors.set(name, getRGB(computedColor)); + } + span.remove(); +} +function getCurrentTransform(ctx) { + const { + a, + b, + c, + d, + e, + f + } = ctx.getTransform(); + return [a, b, c, d, e, f]; +} +function getCurrentTransformInverse(ctx) { + const { + a, + b, + c, + d, + e, + f + } = ctx.getTransform().invertSelf(); + return [a, b, c, d, e, f]; +} +function setLayerDimensions(div, viewport, mustFlip = false, mustRotate = true) { + if (viewport instanceof PageViewport) { + const { + pageWidth, + pageHeight + } = viewport.rawDims; + const { + style + } = div; + const widthStr = `calc(var(--scale-factor) * ${pageWidth}px)`; + const heightStr = `calc(var(--scale-factor) * ${pageHeight}px)`; + if (!mustFlip || viewport.rotation % 180 === 0) { + style.width = widthStr; + style.height = heightStr; + } else { + style.width = heightStr; + style.height = widthStr; + } + } + if (mustRotate) { + div.setAttribute("data-main-rotation", viewport.rotation); + } +} + +/***/ }), +/* 7 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.BaseStandardFontDataFactory = exports.BaseSVGFactory = exports.BaseFilterFactory = exports.BaseCanvasFactory = exports.BaseCMapReaderFactory = void 0; +var _util = __w_pdfjs_require__(1); +class BaseFilterFactory { + constructor() { + if (this.constructor === BaseFilterFactory) { + (0, _util.unreachable)("Cannot initialize BaseFilterFactory."); + } + } + addFilter(maps) { + return "none"; + } + addHCMFilter(fgColor, bgColor) { + return "none"; + } + addHighlightHCMFilter(fgColor, bgColor, newFgColor, newBgColor) { + return "none"; + } + destroy(keepHCM = false) {} +} +exports.BaseFilterFactory = BaseFilterFactory; +class BaseCanvasFactory { + constructor() { + if (this.constructor === BaseCanvasFactory) { + (0, _util.unreachable)("Cannot initialize BaseCanvasFactory."); + } + } + create(width, height) { + if (width <= 0 || height <= 0) { + throw new Error("Invalid canvas size"); + } + const canvas = this._createCanvas(width, height); + return { + canvas, + context: canvas.getContext("2d") + }; + } + reset(canvasAndContext, width, height) { + if (!canvasAndContext.canvas) { + throw new Error("Canvas is not specified"); + } + if (width <= 0 || height <= 0) { + throw new Error("Invalid canvas size"); + } + canvasAndContext.canvas.width = width; + canvasAndContext.canvas.height = height; + } + destroy(canvasAndContext) { + if (!canvasAndContext.canvas) { + throw new Error("Canvas is not specified"); + } + canvasAndContext.canvas.width = 0; + canvasAndContext.canvas.height = 0; + canvasAndContext.canvas = null; + canvasAndContext.context = null; + } + _createCanvas(width, height) { + (0, _util.unreachable)("Abstract method `_createCanvas` called."); + } +} +exports.BaseCanvasFactory = BaseCanvasFactory; +class BaseCMapReaderFactory { + constructor({ + baseUrl = null, + isCompressed = true + }) { + if (this.constructor === BaseCMapReaderFactory) { + (0, _util.unreachable)("Cannot initialize BaseCMapReaderFactory."); + } + this.baseUrl = baseUrl; + this.isCompressed = isCompressed; + } + async fetch({ + name + }) { + if (!this.baseUrl) { + throw new Error('The CMap "baseUrl" parameter must be specified, ensure that ' + 'the "cMapUrl" and "cMapPacked" API parameters are provided.'); + } + if (!name) { + throw new Error("CMap name must be specified."); + } + const url = this.baseUrl + name + (this.isCompressed ? ".bcmap" : ""); + const compressionType = this.isCompressed ? _util.CMapCompressionType.BINARY : _util.CMapCompressionType.NONE; + return this._fetchData(url, compressionType).catch(reason => { + throw new Error(`Unable to load ${this.isCompressed ? "binary " : ""}CMap at: ${url}`); + }); + } + _fetchData(url, compressionType) { + (0, _util.unreachable)("Abstract method `_fetchData` called."); + } +} +exports.BaseCMapReaderFactory = BaseCMapReaderFactory; +class BaseStandardFontDataFactory { + constructor({ + baseUrl = null + }) { + if (this.constructor === BaseStandardFontDataFactory) { + (0, _util.unreachable)("Cannot initialize BaseStandardFontDataFactory."); + } + this.baseUrl = baseUrl; + } + async fetch({ + filename + }) { + if (!this.baseUrl) { + throw new Error('The standard font "baseUrl" parameter must be specified, ensure that ' + 'the "standardFontDataUrl" API parameter is provided.'); + } + if (!filename) { + throw new Error("Font filename must be specified."); + } + const url = `${this.baseUrl}${filename}`; + return this._fetchData(url).catch(reason => { + throw new Error(`Unable to load font data at: ${url}`); + }); + } + _fetchData(url) { + (0, _util.unreachable)("Abstract method `_fetchData` called."); + } +} +exports.BaseStandardFontDataFactory = BaseStandardFontDataFactory; +class BaseSVGFactory { + constructor() { + if (this.constructor === BaseSVGFactory) { + (0, _util.unreachable)("Cannot initialize BaseSVGFactory."); + } + } + create(width, height, skipDimensions = false) { + if (width <= 0 || height <= 0) { + throw new Error("Invalid SVG dimensions"); + } + const svg = this._createSVG("svg:svg"); + svg.setAttribute("version", "1.1"); + if (!skipDimensions) { + svg.setAttribute("width", `${width}px`); + svg.setAttribute("height", `${height}px`); + } + svg.setAttribute("preserveAspectRatio", "none"); + svg.setAttribute("viewBox", `0 0 ${width} ${height}`); + return svg; + } + createElement(type) { + if (typeof type !== "string") { + throw new Error("Invalid SVG element type"); + } + return this._createSVG(type); + } + _createSVG(type) { + (0, _util.unreachable)("Abstract method `_createSVG` called."); + } +} +exports.BaseSVGFactory = BaseSVGFactory; + +/***/ }), +/* 8 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MurmurHash3_64 = void 0; +var _util = __w_pdfjs_require__(1); +const SEED = 0xc3d2e1f0; +const MASK_HIGH = 0xffff0000; +const MASK_LOW = 0xffff; +class MurmurHash3_64 { + constructor(seed) { + this.h1 = seed ? seed & 0xffffffff : SEED; + this.h2 = seed ? seed & 0xffffffff : SEED; + } + update(input) { + let data, length; + if (typeof input === "string") { + data = new Uint8Array(input.length * 2); + length = 0; + for (let i = 0, ii = input.length; i < ii; i++) { + const code = input.charCodeAt(i); + if (code <= 0xff) { + data[length++] = code; + } else { + data[length++] = code >>> 8; + data[length++] = code & 0xff; + } + } + } else if ((0, _util.isArrayBuffer)(input)) { + data = input.slice(); + length = data.byteLength; + } else { + throw new Error("Wrong data format in MurmurHash3_64_update. " + "Input must be a string or array."); + } + const blockCounts = length >> 2; + const tailLength = length - blockCounts * 4; + const dataUint32 = new Uint32Array(data.buffer, 0, blockCounts); + let k1 = 0, + k2 = 0; + let h1 = this.h1, + h2 = this.h2; + const C1 = 0xcc9e2d51, + C2 = 0x1b873593; + const C1_LOW = C1 & MASK_LOW, + C2_LOW = C2 & MASK_LOW; + for (let i = 0; i < blockCounts; i++) { + if (i & 1) { + k1 = dataUint32[i]; + k1 = k1 * C1 & MASK_HIGH | k1 * C1_LOW & MASK_LOW; + k1 = k1 << 15 | k1 >>> 17; + k1 = k1 * C2 & MASK_HIGH | k1 * C2_LOW & MASK_LOW; + h1 ^= k1; + h1 = h1 << 13 | h1 >>> 19; + h1 = h1 * 5 + 0xe6546b64; + } else { + k2 = dataUint32[i]; + k2 = k2 * C1 & MASK_HIGH | k2 * C1_LOW & MASK_LOW; + k2 = k2 << 15 | k2 >>> 17; + k2 = k2 * C2 & MASK_HIGH | k2 * C2_LOW & MASK_LOW; + h2 ^= k2; + h2 = h2 << 13 | h2 >>> 19; + h2 = h2 * 5 + 0xe6546b64; + } + } + k1 = 0; + switch (tailLength) { + case 3: + k1 ^= data[blockCounts * 4 + 2] << 16; + case 2: + k1 ^= data[blockCounts * 4 + 1] << 8; + case 1: + k1 ^= data[blockCounts * 4]; + k1 = k1 * C1 & MASK_HIGH | k1 * C1_LOW & MASK_LOW; + k1 = k1 << 15 | k1 >>> 17; + k1 = k1 * C2 & MASK_HIGH | k1 * C2_LOW & MASK_LOW; + if (blockCounts & 1) { + h1 ^= k1; + } else { + h2 ^= k1; + } + } + this.h1 = h1; + this.h2 = h2; + } + hexdigest() { + let h1 = this.h1, + h2 = this.h2; + h1 ^= h2 >>> 1; + h1 = h1 * 0xed558ccd & MASK_HIGH | h1 * 0x8ccd & MASK_LOW; + h2 = h2 * 0xff51afd7 & MASK_HIGH | ((h2 << 16 | h1 >>> 16) * 0xafd7ed55 & MASK_HIGH) >>> 16; + h1 ^= h2 >>> 1; + h1 = h1 * 0x1a85ec53 & MASK_HIGH | h1 * 0xec53 & MASK_LOW; + h2 = h2 * 0xc4ceb9fe & MASK_HIGH | ((h2 << 16 | h1 >>> 16) * 0xb9fe1a85 & MASK_HIGH) >>> 16; + h1 ^= h2 >>> 1; + return (h1 >>> 0).toString(16).padStart(8, "0") + (h2 >>> 0).toString(16).padStart(8, "0"); + } +} +exports.MurmurHash3_64 = MurmurHash3_64; + +/***/ }), +/* 9 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FontLoader = exports.FontFaceObject = void 0; +var _util = __w_pdfjs_require__(1); +var _is_node = __w_pdfjs_require__(10); +class FontLoader { + #systemFonts = new Set(); + constructor({ + ownerDocument = globalThis.document, + styleElement = null + }) { + this._document = ownerDocument; + this.nativeFontFaces = new Set(); + this.styleElement = null; + this.loadingRequests = []; + this.loadTestFontId = 0; + } + addNativeFontFace(nativeFontFace) { + this.nativeFontFaces.add(nativeFontFace); + this._document.fonts.add(nativeFontFace); + } + removeNativeFontFace(nativeFontFace) { + this.nativeFontFaces.delete(nativeFontFace); + this._document.fonts.delete(nativeFontFace); + } + insertRule(rule) { + if (!this.styleElement) { + this.styleElement = this._document.createElement("style"); + this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement); + } + const styleSheet = this.styleElement.sheet; + styleSheet.insertRule(rule, styleSheet.cssRules.length); + } + clear() { + for (const nativeFontFace of this.nativeFontFaces) { + this._document.fonts.delete(nativeFontFace); + } + this.nativeFontFaces.clear(); + this.#systemFonts.clear(); + if (this.styleElement) { + this.styleElement.remove(); + this.styleElement = null; + } + } + async loadSystemFont(info) { + if (!info || this.#systemFonts.has(info.loadedName)) { + return; + } + (0, _util.assert)(!this.disableFontFace, "loadSystemFont shouldn't be called when `disableFontFace` is set."); + if (this.isFontLoadingAPISupported) { + const { + loadedName, + src, + style + } = info; + const fontFace = new FontFace(loadedName, src, style); + this.addNativeFontFace(fontFace); + try { + await fontFace.load(); + this.#systemFonts.add(loadedName); + } catch { + (0, _util.warn)(`Cannot load system font: ${info.baseFontName}, installing it could help to improve PDF rendering.`); + this.removeNativeFontFace(fontFace); + } + return; + } + (0, _util.unreachable)("Not implemented: loadSystemFont without the Font Loading API."); + } + async bind(font) { + if (font.attached || font.missingFile && !font.systemFontInfo) { + return; + } + font.attached = true; + if (font.systemFontInfo) { + await this.loadSystemFont(font.systemFontInfo); + return; + } + if (this.isFontLoadingAPISupported) { + const nativeFontFace = font.createNativeFontFace(); + if (nativeFontFace) { + this.addNativeFontFace(nativeFontFace); + try { + await nativeFontFace.loaded; + } catch (ex) { + (0, _util.warn)(`Failed to load font '${nativeFontFace.family}': '${ex}'.`); + font.disableFontFace = true; + throw ex; + } + } + return; + } + const rule = font.createFontFaceRule(); + if (rule) { + this.insertRule(rule); + if (this.isSyncFontLoadingSupported) { + return; + } + await new Promise(resolve => { + const request = this._queueLoadingCallback(resolve); + this._prepareFontLoadEvent(font, request); + }); + } + } + get isFontLoadingAPISupported() { + const hasFonts = !!this._document?.fonts; + return (0, _util.shadow)(this, "isFontLoadingAPISupported", hasFonts); + } + get isSyncFontLoadingSupported() { + let supported = false; + if (_is_node.isNodeJS) { + supported = true; + } else if (typeof navigator !== "undefined" && /Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent)) { + supported = true; + } + return (0, _util.shadow)(this, "isSyncFontLoadingSupported", supported); + } + _queueLoadingCallback(callback) { + function completeRequest() { + (0, _util.assert)(!request.done, "completeRequest() cannot be called twice."); + request.done = true; + while (loadingRequests.length > 0 && loadingRequests[0].done) { + const otherRequest = loadingRequests.shift(); + setTimeout(otherRequest.callback, 0); + } + } + const { + loadingRequests + } = this; + const request = { + done: false, + complete: completeRequest, + callback + }; + loadingRequests.push(request); + return request; + } + get _loadTestFont() { + const testFont = atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQA" + "FQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAA" + "ALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgA" + "AAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1" + "AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+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hYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3" + "Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTj" + "FQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="); + return (0, _util.shadow)(this, "_loadTestFont", testFont); + } + _prepareFontLoadEvent(font, request) { + function int32(data, offset) { + return data.charCodeAt(offset) << 24 | data.charCodeAt(offset + 1) << 16 | data.charCodeAt(offset + 2) << 8 | data.charCodeAt(offset + 3) & 0xff; + } + function spliceString(s, offset, remove, insert) { + const chunk1 = s.substring(0, offset); + const chunk2 = s.substring(offset + remove); + return chunk1 + insert + chunk2; + } + let i, ii; + const canvas = this._document.createElement("canvas"); + canvas.width = 1; + canvas.height = 1; + const ctx = canvas.getContext("2d"); + let called = 0; + function isFontReady(name, callback) { + if (++called > 30) { + (0, _util.warn)("Load test font never loaded."); + callback(); + return; + } + ctx.font = "30px " + name; + ctx.fillText(".", 0, 20); + const imageData = ctx.getImageData(0, 0, 1, 1); + if (imageData.data[3] > 0) { + callback(); + return; + } + setTimeout(isFontReady.bind(null, name, callback)); + } + const loadTestFontId = `lt${Date.now()}${this.loadTestFontId++}`; + let data = this._loadTestFont; + const COMMENT_OFFSET = 976; + data = spliceString(data, COMMENT_OFFSET, loadTestFontId.length, loadTestFontId); + const CFF_CHECKSUM_OFFSET = 16; + const XXXX_VALUE = 0x58585858; + let checksum = int32(data, CFF_CHECKSUM_OFFSET); + for (i = 0, ii = loadTestFontId.length - 3; i < ii; i += 4) { + checksum = checksum - XXXX_VALUE + int32(loadTestFontId, i) | 0; + } + if (i < loadTestFontId.length) { + checksum = checksum - XXXX_VALUE + int32(loadTestFontId + "XXX", i) | 0; + } + data = spliceString(data, CFF_CHECKSUM_OFFSET, 4, (0, _util.string32)(checksum)); + const url = `url(data:font/opentype;base64,${btoa(data)});`; + const rule = `@font-face {font-family:"${loadTestFontId}";src:${url}}`; + this.insertRule(rule); + const div = this._document.createElement("div"); + div.style.visibility = "hidden"; + div.style.width = div.style.height = "10px"; + div.style.position = "absolute"; + div.style.top = div.style.left = "0px"; + for (const name of [font.loadedName, loadTestFontId]) { + const span = this._document.createElement("span"); + span.textContent = "Hi"; + span.style.fontFamily = name; + div.append(span); + } + this._document.body.append(div); + isFontReady(loadTestFontId, () => { + div.remove(); + request.complete(); + }); + } +} +exports.FontLoader = FontLoader; +class FontFaceObject { + constructor(translatedData, { + isEvalSupported = true, + disableFontFace = false, + ignoreErrors = false, + inspectFont = null + }) { + this.compiledGlyphs = Object.create(null); + for (const i in translatedData) { + this[i] = translatedData[i]; + } + this.isEvalSupported = isEvalSupported !== false; + this.disableFontFace = disableFontFace === true; + this.ignoreErrors = ignoreErrors === true; + this._inspectFont = inspectFont; + } + createNativeFontFace() { + if (!this.data || this.disableFontFace) { + return null; + } + let nativeFontFace; + if (!this.cssFontInfo) { + nativeFontFace = new FontFace(this.loadedName, this.data, {}); + } else { + const css = { + weight: this.cssFontInfo.fontWeight + }; + if (this.cssFontInfo.italicAngle) { + css.style = `oblique ${this.cssFontInfo.italicAngle}deg`; + } + nativeFontFace = new FontFace(this.cssFontInfo.fontFamily, this.data, css); + } + this._inspectFont?.(this); + return nativeFontFace; + } + createFontFaceRule() { + if (!this.data || this.disableFontFace) { + return null; + } + const data = (0, _util.bytesToString)(this.data); + const url = `url(data:${this.mimetype};base64,${btoa(data)});`; + let rule; + if (!this.cssFontInfo) { + rule = `@font-face {font-family:"${this.loadedName}";src:${url}}`; + } else { + let css = `font-weight: ${this.cssFontInfo.fontWeight};`; + if (this.cssFontInfo.italicAngle) { + css += `font-style: oblique ${this.cssFontInfo.italicAngle}deg;`; + } + rule = `@font-face {font-family:"${this.cssFontInfo.fontFamily}";${css}src:${url}}`; + } + this._inspectFont?.(this, url); + return rule; + } + getPathGenerator(objs, character) { + if (this.compiledGlyphs[character] !== undefined) { + return this.compiledGlyphs[character]; + } + let cmds; + try { + cmds = objs.get(this.loadedName + "_path_" + character); + } catch (ex) { + if (!this.ignoreErrors) { + throw ex; + } + (0, _util.warn)(`getPathGenerator - ignoring character: "${ex}".`); + return this.compiledGlyphs[character] = function (c, size) {}; + } + if (this.isEvalSupported && _util.FeatureTest.isEvalSupported) { + const jsBuf = []; + for (const current of cmds) { + const args = current.args !== undefined ? current.args.join(",") : ""; + jsBuf.push("c.", current.cmd, "(", args, ");\n"); + } + return this.compiledGlyphs[character] = new Function("c", "size", jsBuf.join("")); + } + return this.compiledGlyphs[character] = function (c, size) { + for (const current of cmds) { + if (current.cmd === "scale") { + current.args = [size, -size]; + } + c[current.cmd].apply(c, current.args); + } + }; + } +} +exports.FontFaceObject = FontFaceObject; + +/***/ }), +/* 10 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.isNodeJS = void 0; +const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser"); +exports.isNodeJS = isNodeJS; + +/***/ }), +/* 11 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CanvasGraphics = void 0; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +var _pattern_helper = __w_pdfjs_require__(12); +var _image_utils = __w_pdfjs_require__(13); +var _is_node = __w_pdfjs_require__(10); +const MIN_FONT_SIZE = 16; +const MAX_FONT_SIZE = 100; +const MAX_GROUP_SIZE = 4096; +const EXECUTION_TIME = 15; +const EXECUTION_STEPS = 10; +const MAX_SIZE_TO_COMPILE = 1000; +const FULL_CHUNK_HEIGHT = 16; +function mirrorContextOperations(ctx, destCtx) { + if (ctx._removeMirroring) { + throw new Error("Context is already forwarding operations."); + } + ctx.__originalSave = ctx.save; + ctx.__originalRestore = ctx.restore; + ctx.__originalRotate = ctx.rotate; + ctx.__originalScale = ctx.scale; + ctx.__originalTranslate = ctx.translate; + ctx.__originalTransform = ctx.transform; + ctx.__originalSetTransform = ctx.setTransform; + ctx.__originalResetTransform = ctx.resetTransform; + ctx.__originalClip = ctx.clip; + ctx.__originalMoveTo = ctx.moveTo; + ctx.__originalLineTo = ctx.lineTo; + ctx.__originalBezierCurveTo = ctx.bezierCurveTo; + ctx.__originalRect = ctx.rect; + ctx.__originalClosePath = ctx.closePath; + ctx.__originalBeginPath = ctx.beginPath; + ctx._removeMirroring = () => { + ctx.save = ctx.__originalSave; + ctx.restore = ctx.__originalRestore; + ctx.rotate = ctx.__originalRotate; + ctx.scale = ctx.__originalScale; + ctx.translate = ctx.__originalTranslate; + ctx.transform = ctx.__originalTransform; + ctx.setTransform = ctx.__originalSetTransform; + ctx.resetTransform = ctx.__originalResetTransform; + ctx.clip = ctx.__originalClip; + ctx.moveTo = ctx.__originalMoveTo; + ctx.lineTo = ctx.__originalLineTo; + ctx.bezierCurveTo = ctx.__originalBezierCurveTo; + ctx.rect = ctx.__originalRect; + ctx.closePath = ctx.__originalClosePath; + ctx.beginPath = ctx.__originalBeginPath; + delete ctx._removeMirroring; + }; + ctx.save = function ctxSave() { + destCtx.save(); + this.__originalSave(); + }; + ctx.restore = function ctxRestore() { + destCtx.restore(); + this.__originalRestore(); + }; + ctx.translate = function ctxTranslate(x, y) { + destCtx.translate(x, y); + this.__originalTranslate(x, y); + }; + ctx.scale = function ctxScale(x, y) { + destCtx.scale(x, y); + this.__originalScale(x, y); + }; + ctx.transform = function ctxTransform(a, b, c, d, e, f) { + destCtx.transform(a, b, c, d, e, f); + this.__originalTransform(a, b, c, d, e, f); + }; + ctx.setTransform = function ctxSetTransform(a, b, c, d, e, f) { + destCtx.setTransform(a, b, c, d, e, f); + this.__originalSetTransform(a, b, c, d, e, f); + }; + ctx.resetTransform = function ctxResetTransform() { + destCtx.resetTransform(); + this.__originalResetTransform(); + }; + ctx.rotate = function ctxRotate(angle) { + destCtx.rotate(angle); + this.__originalRotate(angle); + }; + ctx.clip = function ctxRotate(rule) { + destCtx.clip(rule); + this.__originalClip(rule); + }; + ctx.moveTo = function (x, y) { + destCtx.moveTo(x, y); + this.__originalMoveTo(x, y); + }; + ctx.lineTo = function (x, y) { + destCtx.lineTo(x, y); + this.__originalLineTo(x, y); + }; + ctx.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) { + destCtx.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y); + this.__originalBezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y); + }; + ctx.rect = function (x, y, width, height) { + destCtx.rect(x, y, width, height); + this.__originalRect(x, y, width, height); + }; + ctx.closePath = function () { + destCtx.closePath(); + this.__originalClosePath(); + }; + ctx.beginPath = function () { + destCtx.beginPath(); + this.__originalBeginPath(); + }; +} +class CachedCanvases { + constructor(canvasFactory) { + this.canvasFactory = canvasFactory; + this.cache = Object.create(null); + } + getCanvas(id, width, height) { + let canvasEntry; + if (this.cache[id] !== undefined) { + canvasEntry = this.cache[id]; + this.canvasFactory.reset(canvasEntry, width, height); + } else { + canvasEntry = this.canvasFactory.create(width, height); + this.cache[id] = canvasEntry; + } + return canvasEntry; + } + delete(id) { + delete this.cache[id]; + } + clear() { + for (const id in this.cache) { + const canvasEntry = this.cache[id]; + this.canvasFactory.destroy(canvasEntry); + delete this.cache[id]; + } + } +} +function drawImageAtIntegerCoords(ctx, srcImg, srcX, srcY, srcW, srcH, destX, destY, destW, destH) { + const [a, b, c, d, tx, ty] = (0, _display_utils.getCurrentTransform)(ctx); + if (b === 0 && c === 0) { + const tlX = destX * a + tx; + const rTlX = Math.round(tlX); + const tlY = destY * d + ty; + const rTlY = Math.round(tlY); + const brX = (destX + destW) * a + tx; + const rWidth = Math.abs(Math.round(brX) - rTlX) || 1; + const brY = (destY + destH) * d + ty; + const rHeight = Math.abs(Math.round(brY) - rTlY) || 1; + ctx.setTransform(Math.sign(a), 0, 0, Math.sign(d), rTlX, rTlY); + ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, 0, 0, rWidth, rHeight); + ctx.setTransform(a, b, c, d, tx, ty); + return [rWidth, rHeight]; + } + if (a === 0 && d === 0) { + const tlX = destY * c + tx; + const rTlX = Math.round(tlX); + const tlY = destX * b + ty; + const rTlY = Math.round(tlY); + const brX = (destY + destH) * c + tx; + const rWidth = Math.abs(Math.round(brX) - rTlX) || 1; + const brY = (destX + destW) * b + ty; + const rHeight = Math.abs(Math.round(brY) - rTlY) || 1; + ctx.setTransform(0, Math.sign(b), Math.sign(c), 0, rTlX, rTlY); + ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, 0, 0, rHeight, rWidth); + ctx.setTransform(a, b, c, d, tx, ty); + return [rHeight, rWidth]; + } + ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, destX, destY, destW, destH); + const scaleX = Math.hypot(a, b); + const scaleY = Math.hypot(c, d); + return [scaleX * destW, scaleY * destH]; +} +function compileType3Glyph(imgData) { + const { + width, + height + } = imgData; + if (width > MAX_SIZE_TO_COMPILE || height > MAX_SIZE_TO_COMPILE) { + return null; + } + const POINT_TO_PROCESS_LIMIT = 1000; + const POINT_TYPES = new Uint8Array([0, 2, 4, 0, 1, 0, 5, 4, 8, 10, 0, 8, 0, 2, 1, 0]); + const width1 = width + 1; + let points = new Uint8Array(width1 * (height + 1)); + let i, j, j0; + const lineSize = width + 7 & ~7; + let data = new Uint8Array(lineSize * height), + pos = 0; + for (const elem of imgData.data) { + let mask = 128; + while (mask > 0) { + data[pos++] = elem & mask ? 0 : 255; + mask >>= 1; + } + } + let count = 0; + pos = 0; + if (data[pos] !== 0) { + points[0] = 1; + ++count; + } + for (j = 1; j < width; j++) { + if (data[pos] !== data[pos + 1]) { + points[j] = data[pos] ? 2 : 1; + ++count; + } + pos++; + } + if (data[pos] !== 0) { + points[j] = 2; + ++count; + } + for (i = 1; i < height; i++) { + pos = i * lineSize; + j0 = i * width1; + if (data[pos - lineSize] !== data[pos]) { + points[j0] = data[pos] ? 1 : 8; + ++count; + } + let sum = (data[pos] ? 4 : 0) + (data[pos - lineSize] ? 8 : 0); + for (j = 1; j < width; j++) { + sum = (sum >> 2) + (data[pos + 1] ? 4 : 0) + (data[pos - lineSize + 1] ? 8 : 0); + if (POINT_TYPES[sum]) { + points[j0 + j] = POINT_TYPES[sum]; + ++count; + } + pos++; + } + if (data[pos - lineSize] !== data[pos]) { + points[j0 + j] = data[pos] ? 2 : 4; + ++count; + } + if (count > POINT_TO_PROCESS_LIMIT) { + return null; + } + } + pos = lineSize * (height - 1); + j0 = i * width1; + if (data[pos] !== 0) { + points[j0] = 8; + ++count; + } + for (j = 1; j < width; j++) { + if (data[pos] !== data[pos + 1]) { + points[j0 + j] = data[pos] ? 4 : 8; + ++count; + } + pos++; + } + if (data[pos] !== 0) { + points[j0 + j] = 4; + ++count; + } + if (count > POINT_TO_PROCESS_LIMIT) { + return null; + } + const steps = new Int32Array([0, width1, -1, 0, -width1, 0, 0, 0, 1]); + const path = new Path2D(); + for (i = 0; count && i <= height; i++) { + let p = i * width1; + const end = p + width; + while (p < end && !points[p]) { + p++; + } + if (p === end) { + continue; + } + path.moveTo(p % width1, i); + const p0 = p; + let type = points[p]; + do { + const step = steps[type]; + do { + p += step; + } while (!points[p]); + const pp = points[p]; + if (pp !== 5 && pp !== 10) { + type = pp; + points[p] = 0; + } else { + type = pp & 0x33 * type >> 4; + points[p] &= type >> 2 | type << 2; + } + path.lineTo(p % width1, p / width1 | 0); + if (!points[p]) { + --count; + } + } while (p0 !== p); + --i; + } + data = null; + points = null; + const drawOutline = function (c) { + c.save(); + c.scale(1 / width, -1 / height); + c.translate(0, -height); + c.fill(path); + c.beginPath(); + c.restore(); + }; + return drawOutline; +} +class CanvasExtraState { + constructor(width, height) { + this.alphaIsShape = false; + this.fontSize = 0; + this.fontSizeScale = 1; + this.textMatrix = _util.IDENTITY_MATRIX; + this.textMatrixScale = 1; + this.fontMatrix = _util.FONT_IDENTITY_MATRIX; + this.leading = 0; + this.x = 0; + this.y = 0; + this.lineX = 0; + this.lineY = 0; + this.charSpacing = 0; + this.wordSpacing = 0; + this.textHScale = 1; + this.textRenderingMode = _util.TextRenderingMode.FILL; + this.textRise = 0; + this.fillColor = "#000000"; + this.strokeColor = "#000000"; + this.patternFill = false; + this.fillAlpha = 1; + this.strokeAlpha = 1; + this.lineWidth = 1; + this.activeSMask = null; + this.transferMaps = "none"; + this.startNewPathAndClipBox([0, 0, width, height]); + } + clone() { + const clone = Object.create(this); + clone.clipBox = this.clipBox.slice(); + return clone; + } + setCurrentPoint(x, y) { + this.x = x; + this.y = y; + } + updatePathMinMax(transform, x, y) { + [x, y] = _util.Util.applyTransform([x, y], transform); + this.minX = Math.min(this.minX, x); + this.minY = Math.min(this.minY, y); + this.maxX = Math.max(this.maxX, x); + this.maxY = Math.max(this.maxY, y); + } + updateRectMinMax(transform, rect) { + const p1 = _util.Util.applyTransform(rect, transform); + const p2 = _util.Util.applyTransform(rect.slice(2), transform); + this.minX = Math.min(this.minX, p1[0], p2[0]); + this.minY = Math.min(this.minY, p1[1], p2[1]); + this.maxX = Math.max(this.maxX, p1[0], p2[0]); + this.maxY = Math.max(this.maxY, p1[1], p2[1]); + } + updateScalingPathMinMax(transform, minMax) { + _util.Util.scaleMinMax(transform, minMax); + this.minX = Math.min(this.minX, minMax[0]); + this.maxX = Math.max(this.maxX, minMax[1]); + this.minY = Math.min(this.minY, minMax[2]); + this.maxY = Math.max(this.maxY, minMax[3]); + } + updateCurvePathMinMax(transform, x0, y0, x1, y1, x2, y2, x3, y3, minMax) { + const box = _util.Util.bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3); + if (minMax) { + minMax[0] = Math.min(minMax[0], box[0], box[2]); + minMax[1] = Math.max(minMax[1], box[0], box[2]); + minMax[2] = Math.min(minMax[2], box[1], box[3]); + minMax[3] = Math.max(minMax[3], box[1], box[3]); + return; + } + this.updateRectMinMax(transform, box); + } + getPathBoundingBox(pathType = _pattern_helper.PathType.FILL, transform = null) { + const box = [this.minX, this.minY, this.maxX, this.maxY]; + if (pathType === _pattern_helper.PathType.STROKE) { + if (!transform) { + (0, _util.unreachable)("Stroke bounding box must include transform."); + } + const scale = _util.Util.singularValueDecompose2dScale(transform); + const xStrokePad = scale[0] * this.lineWidth / 2; + const yStrokePad = scale[1] * this.lineWidth / 2; + box[0] -= xStrokePad; + box[1] -= yStrokePad; + box[2] += xStrokePad; + box[3] += yStrokePad; + } + return box; + } + updateClipFromPath() { + const intersect = _util.Util.intersect(this.clipBox, this.getPathBoundingBox()); + this.startNewPathAndClipBox(intersect || [0, 0, 0, 0]); + } + isEmptyClip() { + return this.minX === Infinity; + } + startNewPathAndClipBox(box) { + this.clipBox = box; + this.minX = Infinity; + this.minY = Infinity; + this.maxX = 0; + this.maxY = 0; + } + getClippedPathBoundingBox(pathType = _pattern_helper.PathType.FILL, transform = null) { + return _util.Util.intersect(this.clipBox, this.getPathBoundingBox(pathType, transform)); + } +} +function putBinaryImageData(ctx, imgData) { + if (typeof ImageData !== "undefined" && imgData instanceof ImageData) { + ctx.putImageData(imgData, 0, 0); + return; + } + const height = imgData.height, + width = imgData.width; + const partialChunkHeight = height % FULL_CHUNK_HEIGHT; + const fullChunks = (height - partialChunkHeight) / FULL_CHUNK_HEIGHT; + const totalChunks = partialChunkHeight === 0 ? fullChunks : fullChunks + 1; + const chunkImgData = ctx.createImageData(width, FULL_CHUNK_HEIGHT); + let srcPos = 0, + destPos; + const src = imgData.data; + const dest = chunkImgData.data; + let i, j, thisChunkHeight, elemsInThisChunk; + if (imgData.kind === _util.ImageKind.GRAYSCALE_1BPP) { + const srcLength = src.byteLength; + const dest32 = new Uint32Array(dest.buffer, 0, dest.byteLength >> 2); + const dest32DataLength = dest32.length; + const fullSrcDiff = width + 7 >> 3; + const white = 0xffffffff; + const black = _util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; + for (i = 0; i < totalChunks; i++) { + thisChunkHeight = i < fullChunks ? FULL_CHUNK_HEIGHT : partialChunkHeight; + destPos = 0; + for (j = 0; j < thisChunkHeight; j++) { + const srcDiff = srcLength - srcPos; + let k = 0; + const kEnd = srcDiff > fullSrcDiff ? width : srcDiff * 8 - 7; + const kEndUnrolled = kEnd & ~7; + let mask = 0; + let srcByte = 0; + for (; k < kEndUnrolled; k += 8) { + srcByte = src[srcPos++]; + dest32[destPos++] = srcByte & 128 ? white : black; + dest32[destPos++] = srcByte & 64 ? white : black; + dest32[destPos++] = srcByte & 32 ? white : black; + dest32[destPos++] = srcByte & 16 ? white : black; + dest32[destPos++] = srcByte & 8 ? white : black; + dest32[destPos++] = srcByte & 4 ? white : black; + dest32[destPos++] = srcByte & 2 ? white : black; + dest32[destPos++] = srcByte & 1 ? white : black; + } + for (; k < kEnd; k++) { + if (mask === 0) { + srcByte = src[srcPos++]; + mask = 128; + } + dest32[destPos++] = srcByte & mask ? white : black; + mask >>= 1; + } + } + while (destPos < dest32DataLength) { + dest32[destPos++] = 0; + } + ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); + } + } else if (imgData.kind === _util.ImageKind.RGBA_32BPP) { + j = 0; + elemsInThisChunk = width * FULL_CHUNK_HEIGHT * 4; + for (i = 0; i < fullChunks; i++) { + dest.set(src.subarray(srcPos, srcPos + elemsInThisChunk)); + srcPos += elemsInThisChunk; + ctx.putImageData(chunkImgData, 0, j); + j += FULL_CHUNK_HEIGHT; + } + if (i < totalChunks) { + elemsInThisChunk = width * partialChunkHeight * 4; + dest.set(src.subarray(srcPos, srcPos + elemsInThisChunk)); + ctx.putImageData(chunkImgData, 0, j); + } + } else if (imgData.kind === _util.ImageKind.RGB_24BPP) { + thisChunkHeight = FULL_CHUNK_HEIGHT; + elemsInThisChunk = width * thisChunkHeight; + for (i = 0; i < totalChunks; i++) { + if (i >= fullChunks) { + thisChunkHeight = partialChunkHeight; + elemsInThisChunk = width * thisChunkHeight; + } + destPos = 0; + for (j = elemsInThisChunk; j--;) { + dest[destPos++] = src[srcPos++]; + dest[destPos++] = src[srcPos++]; + dest[destPos++] = src[srcPos++]; + dest[destPos++] = 255; + } + ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); + } + } else { + throw new Error(`bad image kind: ${imgData.kind}`); + } +} +function putBinaryImageMask(ctx, imgData) { + if (imgData.bitmap) { + ctx.drawImage(imgData.bitmap, 0, 0); + return; + } + const height = imgData.height, + width = imgData.width; + const partialChunkHeight = height % FULL_CHUNK_HEIGHT; + const fullChunks = (height - partialChunkHeight) / FULL_CHUNK_HEIGHT; + const totalChunks = partialChunkHeight === 0 ? fullChunks : fullChunks + 1; + const chunkImgData = ctx.createImageData(width, FULL_CHUNK_HEIGHT); + let srcPos = 0; + const src = imgData.data; + const dest = chunkImgData.data; + for (let i = 0; i < totalChunks; i++) { + const thisChunkHeight = i < fullChunks ? FULL_CHUNK_HEIGHT : partialChunkHeight; + ({ + srcPos + } = (0, _image_utils.convertBlackAndWhiteToRGBA)({ + src, + srcPos, + dest, + width, + height: thisChunkHeight, + nonBlackColor: 0 + })); + ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); + } +} +function copyCtxState(sourceCtx, destCtx) { + const properties = ["strokeStyle", "fillStyle", "fillRule", "globalAlpha", "lineWidth", "lineCap", "lineJoin", "miterLimit", "globalCompositeOperation", "font", "filter"]; + for (const property of properties) { + if (sourceCtx[property] !== undefined) { + destCtx[property] = sourceCtx[property]; + } + } + if (sourceCtx.setLineDash !== undefined) { + destCtx.setLineDash(sourceCtx.getLineDash()); + destCtx.lineDashOffset = sourceCtx.lineDashOffset; + } +} +function resetCtxToDefault(ctx) { + ctx.strokeStyle = ctx.fillStyle = "#000000"; + ctx.fillRule = "nonzero"; + ctx.globalAlpha = 1; + ctx.lineWidth = 1; + ctx.lineCap = "butt"; + ctx.lineJoin = "miter"; + ctx.miterLimit = 10; + ctx.globalCompositeOperation = "source-over"; + ctx.font = "10px sans-serif"; + if (ctx.setLineDash !== undefined) { + ctx.setLineDash([]); + ctx.lineDashOffset = 0; + } + if (!_is_node.isNodeJS) { + ctx.filter = "none"; + } +} +function composeSMaskBackdrop(bytes, r0, g0, b0) { + const length = bytes.length; + for (let i = 3; i < length; i += 4) { + const alpha = bytes[i]; + if (alpha === 0) { + bytes[i - 3] = r0; + bytes[i - 2] = g0; + bytes[i - 1] = b0; + } else if (alpha < 255) { + const alpha_ = 255 - alpha; + bytes[i - 3] = bytes[i - 3] * alpha + r0 * alpha_ >> 8; + bytes[i - 2] = bytes[i - 2] * alpha + g0 * alpha_ >> 8; + bytes[i - 1] = bytes[i - 1] * alpha + b0 * alpha_ >> 8; + } + } +} +function composeSMaskAlpha(maskData, layerData, transferMap) { + const length = maskData.length; + const scale = 1 / 255; + for (let i = 3; i < length; i += 4) { + const alpha = transferMap ? transferMap[maskData[i]] : maskData[i]; + layerData[i] = layerData[i] * alpha * scale | 0; + } +} +function composeSMaskLuminosity(maskData, layerData, transferMap) { + const length = maskData.length; + for (let i = 3; i < length; i += 4) { + const y = maskData[i - 3] * 77 + maskData[i - 2] * 152 + maskData[i - 1] * 28; + layerData[i] = transferMap ? layerData[i] * transferMap[y >> 8] >> 8 : layerData[i] * y >> 16; + } +} +function genericComposeSMask(maskCtx, layerCtx, width, height, subtype, backdrop, transferMap, layerOffsetX, layerOffsetY, maskOffsetX, maskOffsetY) { + const hasBackdrop = !!backdrop; + const r0 = hasBackdrop ? backdrop[0] : 0; + const g0 = hasBackdrop ? backdrop[1] : 0; + const b0 = hasBackdrop ? backdrop[2] : 0; + let composeFn; + if (subtype === "Luminosity") { + composeFn = composeSMaskLuminosity; + } else { + composeFn = composeSMaskAlpha; + } + const PIXELS_TO_PROCESS = 1048576; + const chunkSize = Math.min(height, Math.ceil(PIXELS_TO_PROCESS / width)); + for (let row = 0; row < height; row += chunkSize) { + const chunkHeight = Math.min(chunkSize, height - row); + const maskData = maskCtx.getImageData(layerOffsetX - maskOffsetX, row + (layerOffsetY - maskOffsetY), width, chunkHeight); + const layerData = layerCtx.getImageData(layerOffsetX, row + layerOffsetY, width, chunkHeight); + if (hasBackdrop) { + composeSMaskBackdrop(maskData.data, r0, g0, b0); + } + composeFn(maskData.data, layerData.data, transferMap); + layerCtx.putImageData(layerData, layerOffsetX, row + layerOffsetY); + } +} +function composeSMask(ctx, smask, layerCtx, layerBox) { + const layerOffsetX = layerBox[0]; + const layerOffsetY = layerBox[1]; + const layerWidth = layerBox[2] - layerOffsetX; + const layerHeight = layerBox[3] - layerOffsetY; + if (layerWidth === 0 || layerHeight === 0) { + return; + } + genericComposeSMask(smask.context, layerCtx, layerWidth, layerHeight, smask.subtype, smask.backdrop, smask.transferMap, layerOffsetX, layerOffsetY, smask.offsetX, smask.offsetY); + ctx.save(); + ctx.globalAlpha = 1; + ctx.globalCompositeOperation = "source-over"; + ctx.setTransform(1, 0, 0, 1, 0, 0); + ctx.drawImage(layerCtx.canvas, 0, 0); + ctx.restore(); +} +function getImageSmoothingEnabled(transform, interpolate) { + const scale = _util.Util.singularValueDecompose2dScale(transform); + scale[0] = Math.fround(scale[0]); + scale[1] = Math.fround(scale[1]); + const actualScale = Math.fround((globalThis.devicePixelRatio || 1) * _display_utils.PixelsPerInch.PDF_TO_CSS_UNITS); + if (interpolate !== undefined) { + return interpolate; + } else if (scale[0] <= actualScale || scale[1] <= actualScale) { + return true; + } + return false; +} +const LINE_CAP_STYLES = ["butt", "round", "square"]; +const LINE_JOIN_STYLES = ["miter", "round", "bevel"]; +const NORMAL_CLIP = {}; +const EO_CLIP = {}; +class CanvasGraphics { + constructor(canvasCtx, commonObjs, objs, canvasFactory, filterFactory, { + optionalContentConfig, + markedContentStack = null + }, annotationCanvasMap, pageColors) { + this.ctx = canvasCtx; + this.current = new CanvasExtraState(this.ctx.canvas.width, this.ctx.canvas.height); + this.stateStack = []; + this.pendingClip = null; + this.pendingEOFill = false; + this.res = null; + this.xobjs = null; + this.commonObjs = commonObjs; + this.objs = objs; + this.canvasFactory = canvasFactory; + this.filterFactory = filterFactory; + this.groupStack = []; + this.processingType3 = null; + this.baseTransform = null; + this.baseTransformStack = []; + this.groupLevel = 0; + this.smaskStack = []; + this.smaskCounter = 0; + this.tempSMask = null; + this.suspendedCtx = null; + this.contentVisible = true; + this.markedContentStack = markedContentStack || []; + this.optionalContentConfig = optionalContentConfig; + this.cachedCanvases = new CachedCanvases(this.canvasFactory); + this.cachedPatterns = new Map(); + this.annotationCanvasMap = annotationCanvasMap; + this.viewportScale = 1; + this.outputScaleX = 1; + this.outputScaleY = 1; + this.pageColors = pageColors; + this._cachedScaleForStroking = [-1, 0]; + this._cachedGetSinglePixelWidth = null; + this._cachedBitmapsMap = new Map(); + } + getObject(data, fallback = null) { + if (typeof data === "string") { + return data.startsWith("g_") ? this.commonObjs.get(data) : this.objs.get(data); + } + return fallback; + } + beginDrawing({ + transform, + viewport, + transparency = false, + background = null + }) { + const width = this.ctx.canvas.width; + const height = this.ctx.canvas.height; + const savedFillStyle = this.ctx.fillStyle; + this.ctx.fillStyle = background || "#ffffff"; + this.ctx.fillRect(0, 0, width, height); + this.ctx.fillStyle = savedFillStyle; + if (transparency) { + const transparentCanvas = this.cachedCanvases.getCanvas("transparent", width, height); + this.compositeCtx = this.ctx; + this.transparentCanvas = transparentCanvas.canvas; + this.ctx = transparentCanvas.context; + this.ctx.save(); + this.ctx.transform(...(0, _display_utils.getCurrentTransform)(this.compositeCtx)); + } + this.ctx.save(); + resetCtxToDefault(this.ctx); + if (transform) { + this.ctx.transform(...transform); + this.outputScaleX = transform[0]; + this.outputScaleY = transform[0]; + } + this.ctx.transform(...viewport.transform); + this.viewportScale = viewport.scale; + this.baseTransform = (0, _display_utils.getCurrentTransform)(this.ctx); + } + executeOperatorList(operatorList, executionStartIdx, continueCallback, stepper) { + const argsArray = operatorList.argsArray; + const fnArray = operatorList.fnArray; + let i = executionStartIdx || 0; + const argsArrayLen = argsArray.length; + if (argsArrayLen === i) { + return i; + } + const chunkOperations = argsArrayLen - i > EXECUTION_STEPS && typeof continueCallback === "function"; + const endTime = chunkOperations ? Date.now() + EXECUTION_TIME : 0; + let steps = 0; + const commonObjs = this.commonObjs; + const objs = this.objs; + let fnId; + while (true) { + if (stepper !== undefined && i === stepper.nextBreakPoint) { + stepper.breakIt(i, continueCallback); + return i; + } + fnId = fnArray[i]; + if (fnId !== _util.OPS.dependency) { + this[fnId].apply(this, argsArray[i]); + } else { + for (const depObjId of argsArray[i]) { + const objsPool = depObjId.startsWith("g_") ? commonObjs : objs; + if (!objsPool.has(depObjId)) { + objsPool.get(depObjId, continueCallback); + return i; + } + } + } + i++; + if (i === argsArrayLen) { + return i; + } + if (chunkOperations && ++steps > EXECUTION_STEPS) { + if (Date.now() > endTime) { + continueCallback(); + return i; + } + steps = 0; + } + } + } + #restoreInitialState() { + while (this.stateStack.length || this.inSMaskMode) { + this.restore(); + } + this.ctx.restore(); + if (this.transparentCanvas) { + this.ctx = this.compositeCtx; + this.ctx.save(); + this.ctx.setTransform(1, 0, 0, 1, 0, 0); + this.ctx.drawImage(this.transparentCanvas, 0, 0); + this.ctx.restore(); + this.transparentCanvas = null; + } + } + endDrawing() { + this.#restoreInitialState(); + this.cachedCanvases.clear(); + this.cachedPatterns.clear(); + for (const cache of this._cachedBitmapsMap.values()) { + for (const canvas of cache.values()) { + if (typeof HTMLCanvasElement !== "undefined" && canvas instanceof HTMLCanvasElement) { + canvas.width = canvas.height = 0; + } + } + cache.clear(); + } + this._cachedBitmapsMap.clear(); + this.#drawFilter(); + } + #drawFilter() { + if (this.pageColors) { + const hcmFilterId = this.filterFactory.addHCMFilter(this.pageColors.foreground, this.pageColors.background); + if (hcmFilterId !== "none") { + const savedFilter = this.ctx.filter; + this.ctx.filter = hcmFilterId; + this.ctx.drawImage(this.ctx.canvas, 0, 0); + this.ctx.filter = savedFilter; + } + } + } + _scaleImage(img, inverseTransform) { + const width = img.width; + const height = img.height; + let widthScale = Math.max(Math.hypot(inverseTransform[0], inverseTransform[1]), 1); + let heightScale = Math.max(Math.hypot(inverseTransform[2], inverseTransform[3]), 1); + let paintWidth = width, + paintHeight = height; + let tmpCanvasId = "prescale1"; + let tmpCanvas, tmpCtx; + while (widthScale > 2 && paintWidth > 1 || heightScale > 2 && paintHeight > 1) { + let newWidth = paintWidth, + newHeight = paintHeight; + if (widthScale > 2 && paintWidth > 1) { + newWidth = paintWidth >= 16384 ? Math.floor(paintWidth / 2) - 1 || 1 : Math.ceil(paintWidth / 2); + widthScale /= paintWidth / newWidth; + } + if (heightScale > 2 && paintHeight > 1) { + newHeight = paintHeight >= 16384 ? Math.floor(paintHeight / 2) - 1 || 1 : Math.ceil(paintHeight) / 2; + heightScale /= paintHeight / newHeight; + } + tmpCanvas = this.cachedCanvases.getCanvas(tmpCanvasId, newWidth, newHeight); + tmpCtx = tmpCanvas.context; + tmpCtx.clearRect(0, 0, newWidth, newHeight); + tmpCtx.drawImage(img, 0, 0, paintWidth, paintHeight, 0, 0, newWidth, newHeight); + img = tmpCanvas.canvas; + paintWidth = newWidth; + paintHeight = newHeight; + tmpCanvasId = tmpCanvasId === "prescale1" ? "prescale2" : "prescale1"; + } + return { + img, + paintWidth, + paintHeight + }; + } + _createMaskCanvas(img) { + const ctx = this.ctx; + const { + width, + height + } = img; + const fillColor = this.current.fillColor; + const isPatternFill = this.current.patternFill; + const currentTransform = (0, _display_utils.getCurrentTransform)(ctx); + let cache, cacheKey, scaled, maskCanvas; + if ((img.bitmap || img.data) && img.count > 1) { + const mainKey = img.bitmap || img.data.buffer; + cacheKey = JSON.stringify(isPatternFill ? currentTransform : [currentTransform.slice(0, 4), fillColor]); + cache = this._cachedBitmapsMap.get(mainKey); + if (!cache) { + cache = new Map(); + this._cachedBitmapsMap.set(mainKey, cache); + } + const cachedImage = cache.get(cacheKey); + if (cachedImage && !isPatternFill) { + const offsetX = Math.round(Math.min(currentTransform[0], currentTransform[2]) + currentTransform[4]); + const offsetY = Math.round(Math.min(currentTransform[1], currentTransform[3]) + currentTransform[5]); + return { + canvas: cachedImage, + offsetX, + offsetY + }; + } + scaled = cachedImage; + } + if (!scaled) { + maskCanvas = this.cachedCanvases.getCanvas("maskCanvas", width, height); + putBinaryImageMask(maskCanvas.context, img); + } + let maskToCanvas = _util.Util.transform(currentTransform, [1 / width, 0, 0, -1 / height, 0, 0]); + maskToCanvas = _util.Util.transform(maskToCanvas, [1, 0, 0, 1, 0, -height]); + const cord1 = _util.Util.applyTransform([0, 0], maskToCanvas); + const cord2 = _util.Util.applyTransform([width, height], maskToCanvas); + const rect = _util.Util.normalizeRect([cord1[0], cord1[1], cord2[0], cord2[1]]); + const drawnWidth = Math.round(rect[2] - rect[0]) || 1; + const drawnHeight = Math.round(rect[3] - rect[1]) || 1; + const fillCanvas = this.cachedCanvases.getCanvas("fillCanvas", drawnWidth, drawnHeight); + const fillCtx = fillCanvas.context; + const offsetX = Math.min(cord1[0], cord2[0]); + const offsetY = Math.min(cord1[1], cord2[1]); + fillCtx.translate(-offsetX, -offsetY); + fillCtx.transform(...maskToCanvas); + if (!scaled) { + scaled = this._scaleImage(maskCanvas.canvas, (0, _display_utils.getCurrentTransformInverse)(fillCtx)); + scaled = scaled.img; + if (cache && isPatternFill) { + cache.set(cacheKey, scaled); + } + } + fillCtx.imageSmoothingEnabled = getImageSmoothingEnabled((0, _display_utils.getCurrentTransform)(fillCtx), img.interpolate); + drawImageAtIntegerCoords(fillCtx, scaled, 0, 0, scaled.width, scaled.height, 0, 0, width, height); + fillCtx.globalCompositeOperation = "source-in"; + const inverse = _util.Util.transform((0, _display_utils.getCurrentTransformInverse)(fillCtx), [1, 0, 0, 1, -offsetX, -offsetY]); + fillCtx.fillStyle = isPatternFill ? fillColor.getPattern(ctx, this, inverse, _pattern_helper.PathType.FILL) : fillColor; + fillCtx.fillRect(0, 0, width, height); + if (cache && !isPatternFill) { + this.cachedCanvases.delete("fillCanvas"); + cache.set(cacheKey, fillCanvas.canvas); + } + return { + canvas: fillCanvas.canvas, + offsetX: Math.round(offsetX), + offsetY: Math.round(offsetY) + }; + } + setLineWidth(width) { + if (width !== this.current.lineWidth) { + this._cachedScaleForStroking[0] = -1; + } + this.current.lineWidth = width; + this.ctx.lineWidth = width; + } + setLineCap(style) { + this.ctx.lineCap = LINE_CAP_STYLES[style]; + } + setLineJoin(style) { + this.ctx.lineJoin = LINE_JOIN_STYLES[style]; + } + setMiterLimit(limit) { + this.ctx.miterLimit = limit; + } + setDash(dashArray, dashPhase) { + const ctx = this.ctx; + if (ctx.setLineDash !== undefined) { + ctx.setLineDash(dashArray); + ctx.lineDashOffset = dashPhase; + } + } + setRenderingIntent(intent) {} + setFlatness(flatness) {} + setGState(states) { + for (const [key, value] of states) { + switch (key) { + case "LW": + this.setLineWidth(value); + break; + case "LC": + this.setLineCap(value); + break; + case "LJ": + this.setLineJoin(value); + break; + case "ML": + this.setMiterLimit(value); + break; + case "D": + this.setDash(value[0], value[1]); + break; + case "RI": + this.setRenderingIntent(value); + break; + case "FL": + this.setFlatness(value); + break; + case "Font": + this.setFont(value[0], value[1]); + break; + case "CA": + this.current.strokeAlpha = value; + break; + case "ca": + this.current.fillAlpha = value; + this.ctx.globalAlpha = value; + break; + case "BM": + this.ctx.globalCompositeOperation = value; + break; + case "SMask": + this.current.activeSMask = value ? this.tempSMask : null; + this.tempSMask = null; + this.checkSMaskState(); + break; + case "TR": + this.ctx.filter = this.current.transferMaps = this.filterFactory.addFilter(value); + break; + } + } + } + get inSMaskMode() { + return !!this.suspendedCtx; + } + checkSMaskState() { + const inSMaskMode = this.inSMaskMode; + if (this.current.activeSMask && !inSMaskMode) { + this.beginSMaskMode(); + } else if (!this.current.activeSMask && inSMaskMode) { + this.endSMaskMode(); + } + } + beginSMaskMode() { + if (this.inSMaskMode) { + throw new Error("beginSMaskMode called while already in smask mode"); + } + const drawnWidth = this.ctx.canvas.width; + const drawnHeight = this.ctx.canvas.height; + const cacheId = "smaskGroupAt" + this.groupLevel; + const scratchCanvas = this.cachedCanvases.getCanvas(cacheId, drawnWidth, drawnHeight); + this.suspendedCtx = this.ctx; + this.ctx = scratchCanvas.context; + const ctx = this.ctx; + ctx.setTransform(...(0, _display_utils.getCurrentTransform)(this.suspendedCtx)); + copyCtxState(this.suspendedCtx, ctx); + mirrorContextOperations(ctx, this.suspendedCtx); + this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]); + } + endSMaskMode() { + if (!this.inSMaskMode) { + throw new Error("endSMaskMode called while not in smask mode"); + } + this.ctx._removeMirroring(); + copyCtxState(this.ctx, this.suspendedCtx); + this.ctx = this.suspendedCtx; + this.suspendedCtx = null; + } + compose(dirtyBox) { + if (!this.current.activeSMask) { + return; + } + if (!dirtyBox) { + dirtyBox = [0, 0, this.ctx.canvas.width, this.ctx.canvas.height]; + } else { + dirtyBox[0] = Math.floor(dirtyBox[0]); + dirtyBox[1] = Math.floor(dirtyBox[1]); + dirtyBox[2] = Math.ceil(dirtyBox[2]); + dirtyBox[3] = Math.ceil(dirtyBox[3]); + } + const smask = this.current.activeSMask; + const suspendedCtx = this.suspendedCtx; + composeSMask(suspendedCtx, smask, this.ctx, dirtyBox); + this.ctx.save(); + this.ctx.setTransform(1, 0, 0, 1, 0, 0); + this.ctx.clearRect(0, 0, this.ctx.canvas.width, this.ctx.canvas.height); + this.ctx.restore(); + } + save() { + if (this.inSMaskMode) { + copyCtxState(this.ctx, this.suspendedCtx); + this.suspendedCtx.save(); + } else { + this.ctx.save(); + } + const old = this.current; + this.stateStack.push(old); + this.current = old.clone(); + } + restore() { + if (this.stateStack.length === 0 && this.inSMaskMode) { + this.endSMaskMode(); + } + if (this.stateStack.length !== 0) { + this.current = this.stateStack.pop(); + if (this.inSMaskMode) { + this.suspendedCtx.restore(); + copyCtxState(this.suspendedCtx, this.ctx); + } else { + this.ctx.restore(); + } + this.checkSMaskState(); + this.pendingClip = null; + this._cachedScaleForStroking[0] = -1; + this._cachedGetSinglePixelWidth = null; + } + } + transform(a, b, c, d, e, f) { + this.ctx.transform(a, b, c, d, e, f); + this._cachedScaleForStroking[0] = -1; + this._cachedGetSinglePixelWidth = null; + } + constructPath(ops, args, minMax) { + const ctx = this.ctx; + const current = this.current; + let x = current.x, + y = current.y; + let startX, startY; + const currentTransform = (0, _display_utils.getCurrentTransform)(ctx); + const isScalingMatrix = currentTransform[0] === 0 && currentTransform[3] === 0 || currentTransform[1] === 0 && currentTransform[2] === 0; + const minMaxForBezier = isScalingMatrix ? minMax.slice(0) : null; + for (let i = 0, j = 0, ii = ops.length; i < ii; i++) { + switch (ops[i] | 0) { + case _util.OPS.rectangle: + x = args[j++]; + y = args[j++]; + const width = args[j++]; + const height = args[j++]; + const xw = x + width; + const yh = y + height; + ctx.moveTo(x, y); + if (width === 0 || height === 0) { + ctx.lineTo(xw, yh); + } else { + ctx.lineTo(xw, y); + ctx.lineTo(xw, yh); + ctx.lineTo(x, yh); + } + if (!isScalingMatrix) { + current.updateRectMinMax(currentTransform, [x, y, xw, yh]); + } + ctx.closePath(); + break; + case _util.OPS.moveTo: + x = args[j++]; + y = args[j++]; + ctx.moveTo(x, y); + if (!isScalingMatrix) { + current.updatePathMinMax(currentTransform, x, y); + } + break; + case _util.OPS.lineTo: + x = args[j++]; + y = args[j++]; + ctx.lineTo(x, y); + if (!isScalingMatrix) { + current.updatePathMinMax(currentTransform, x, y); + } + break; + case _util.OPS.curveTo: + startX = x; + startY = y; + x = args[j + 4]; + y = args[j + 5]; + ctx.bezierCurveTo(args[j], args[j + 1], args[j + 2], args[j + 3], x, y); + current.updateCurvePathMinMax(currentTransform, startX, startY, args[j], args[j + 1], args[j + 2], args[j + 3], x, y, minMaxForBezier); + j += 6; + break; + case _util.OPS.curveTo2: + startX = x; + startY = y; + ctx.bezierCurveTo(x, y, args[j], args[j + 1], args[j + 2], args[j + 3]); + current.updateCurvePathMinMax(currentTransform, startX, startY, x, y, args[j], args[j + 1], args[j + 2], args[j + 3], minMaxForBezier); + x = args[j + 2]; + y = args[j + 3]; + j += 4; + break; + case _util.OPS.curveTo3: + startX = x; + startY = y; + x = args[j + 2]; + y = args[j + 3]; + ctx.bezierCurveTo(args[j], args[j + 1], x, y, x, y); + current.updateCurvePathMinMax(currentTransform, startX, startY, args[j], args[j + 1], x, y, x, y, minMaxForBezier); + j += 4; + break; + case _util.OPS.closePath: + ctx.closePath(); + break; + } + } + if (isScalingMatrix) { + current.updateScalingPathMinMax(currentTransform, minMaxForBezier); + } + current.setCurrentPoint(x, y); + } + closePath() { + this.ctx.closePath(); + } + stroke(consumePath = true) { + const ctx = this.ctx; + const strokeColor = this.current.strokeColor; + ctx.globalAlpha = this.current.strokeAlpha; + if (this.contentVisible) { + if (typeof strokeColor === "object" && strokeColor?.getPattern) { + ctx.save(); + ctx.strokeStyle = strokeColor.getPattern(ctx, this, (0, _display_utils.getCurrentTransformInverse)(ctx), _pattern_helper.PathType.STROKE); + this.rescaleAndStroke(false); + ctx.restore(); + } else { + this.rescaleAndStroke(true); + } + } + if (consumePath) { + this.consumePath(this.current.getClippedPathBoundingBox()); + } + ctx.globalAlpha = this.current.fillAlpha; + } + closeStroke() { + this.closePath(); + this.stroke(); + } + fill(consumePath = true) { + const ctx = this.ctx; + const fillColor = this.current.fillColor; + const isPatternFill = this.current.patternFill; + let needRestore = false; + if (isPatternFill) { + ctx.save(); + ctx.fillStyle = fillColor.getPattern(ctx, this, (0, _display_utils.getCurrentTransformInverse)(ctx), _pattern_helper.PathType.FILL); + needRestore = true; + } + const intersect = this.current.getClippedPathBoundingBox(); + if (this.contentVisible && intersect !== null) { + if (this.pendingEOFill) { + ctx.fill("evenodd"); + this.pendingEOFill = false; + } else { + ctx.fill(); + } + } + if (needRestore) { + ctx.restore(); + } + if (consumePath) { + this.consumePath(intersect); + } + } + eoFill() { + this.pendingEOFill = true; + this.fill(); + } + fillStroke() { + this.fill(false); + this.stroke(false); + this.consumePath(); + } + eoFillStroke() { + this.pendingEOFill = true; + this.fillStroke(); + } + closeFillStroke() { + this.closePath(); + this.fillStroke(); + } + closeEOFillStroke() { + this.pendingEOFill = true; + this.closePath(); + this.fillStroke(); + } + endPath() { + this.consumePath(); + } + clip() { + this.pendingClip = NORMAL_CLIP; + } + eoClip() { + this.pendingClip = EO_CLIP; + } + beginText() { + this.current.textMatrix = _util.IDENTITY_MATRIX; + this.current.textMatrixScale = 1; + this.current.x = this.current.lineX = 0; + this.current.y = this.current.lineY = 0; + } + endText() { + const paths = this.pendingTextPaths; + const ctx = this.ctx; + if (paths === undefined) { + ctx.beginPath(); + return; + } + ctx.save(); + ctx.beginPath(); + for (const path of paths) { + ctx.setTransform(...path.transform); + ctx.translate(path.x, path.y); + path.addToPath(ctx, path.fontSize); + } + ctx.restore(); + ctx.clip(); + ctx.beginPath(); + delete this.pendingTextPaths; + } + setCharSpacing(spacing) { + this.current.charSpacing = spacing; + } + setWordSpacing(spacing) { + this.current.wordSpacing = spacing; + } + setHScale(scale) { + this.current.textHScale = scale / 100; + } + setLeading(leading) { + this.current.leading = -leading; + } + setFont(fontRefName, size) { + const fontObj = this.commonObjs.get(fontRefName); + const current = this.current; + if (!fontObj) { + throw new Error(`Can't find font for ${fontRefName}`); + } + current.fontMatrix = fontObj.fontMatrix || _util.FONT_IDENTITY_MATRIX; + if (current.fontMatrix[0] === 0 || current.fontMatrix[3] === 0) { + (0, _util.warn)("Invalid font matrix for font " + fontRefName); + } + if (size < 0) { + size = -size; + current.fontDirection = -1; + } else { + current.fontDirection = 1; + } + this.current.font = fontObj; + this.current.fontSize = size; + if (fontObj.isType3Font) { + return; + } + const name = fontObj.loadedName || "sans-serif"; + const typeface = fontObj.systemFontInfo?.css || `"${name}", ${fontObj.fallbackName}`; + let bold = "normal"; + if (fontObj.black) { + bold = "900"; + } else if (fontObj.bold) { + bold = "bold"; + } + const italic = fontObj.italic ? "italic" : "normal"; + let browserFontSize = size; + if (size < MIN_FONT_SIZE) { + browserFontSize = MIN_FONT_SIZE; + } else if (size > MAX_FONT_SIZE) { + browserFontSize = MAX_FONT_SIZE; + } + this.current.fontSizeScale = size / browserFontSize; + this.ctx.font = `${italic} ${bold} ${browserFontSize}px ${typeface}`; + } + setTextRenderingMode(mode) { + this.current.textRenderingMode = mode; + } + setTextRise(rise) { + this.current.textRise = rise; + } + moveText(x, y) { + this.current.x = this.current.lineX += x; + this.current.y = this.current.lineY += y; + } + setLeadingMoveText(x, y) { + this.setLeading(-y); + this.moveText(x, y); + } + setTextMatrix(a, b, c, d, e, f) { + this.current.textMatrix = [a, b, c, d, e, f]; + this.current.textMatrixScale = Math.hypot(a, b); + this.current.x = this.current.lineX = 0; + this.current.y = this.current.lineY = 0; + } + nextLine() { + this.moveText(0, this.current.leading); + } + paintChar(character, x, y, patternTransform) { + const ctx = this.ctx; + const current = this.current; + const font = current.font; + const textRenderingMode = current.textRenderingMode; + const fontSize = current.fontSize / current.fontSizeScale; + const fillStrokeMode = textRenderingMode & _util.TextRenderingMode.FILL_STROKE_MASK; + const isAddToPathSet = !!(textRenderingMode & _util.TextRenderingMode.ADD_TO_PATH_FLAG); + const patternFill = current.patternFill && !font.missingFile; + let addToPath; + if (font.disableFontFace || isAddToPathSet || patternFill) { + addToPath = font.getPathGenerator(this.commonObjs, character); + } + if (font.disableFontFace || patternFill) { + ctx.save(); + ctx.translate(x, y); + ctx.beginPath(); + addToPath(ctx, fontSize); + if (patternTransform) { + ctx.setTransform(...patternTransform); + } + if (fillStrokeMode === _util.TextRenderingMode.FILL || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + ctx.fill(); + } + if (fillStrokeMode === _util.TextRenderingMode.STROKE || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + ctx.stroke(); + } + ctx.restore(); + } else { + if (fillStrokeMode === _util.TextRenderingMode.FILL || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + ctx.fillText(character, x, y); + } + if (fillStrokeMode === _util.TextRenderingMode.STROKE || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + ctx.strokeText(character, x, y); + } + } + if (isAddToPathSet) { + const paths = this.pendingTextPaths ||= []; + paths.push({ + transform: (0, _display_utils.getCurrentTransform)(ctx), + x, + y, + fontSize, + addToPath + }); + } + } + get isFontSubpixelAAEnabled() { + const { + context: ctx + } = this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled", 10, 10); + ctx.scale(1.5, 1); + ctx.fillText("I", 0, 10); + const data = ctx.getImageData(0, 0, 10, 10).data; + let enabled = false; + for (let i = 3; i < data.length; i += 4) { + if (data[i] > 0 && data[i] < 255) { + enabled = true; + break; + } + } + return (0, _util.shadow)(this, "isFontSubpixelAAEnabled", enabled); + } + showText(glyphs) { + const current = this.current; + const font = current.font; + if (font.isType3Font) { + return this.showType3Text(glyphs); + } + const fontSize = current.fontSize; + if (fontSize === 0) { + return undefined; + } + const ctx = this.ctx; + const fontSizeScale = current.fontSizeScale; + const charSpacing = current.charSpacing; + const wordSpacing = current.wordSpacing; + const fontDirection = current.fontDirection; + const textHScale = current.textHScale * fontDirection; + const glyphsLength = glyphs.length; + const vertical = font.vertical; + const spacingDir = vertical ? 1 : -1; + const defaultVMetrics = font.defaultVMetrics; + const widthAdvanceScale = fontSize * current.fontMatrix[0]; + const simpleFillText = current.textRenderingMode === _util.TextRenderingMode.FILL && !font.disableFontFace && !current.patternFill; + ctx.save(); + ctx.transform(...current.textMatrix); + ctx.translate(current.x, current.y + current.textRise); + if (fontDirection > 0) { + ctx.scale(textHScale, -1); + } else { + ctx.scale(textHScale, 1); + } + let patternTransform; + if (current.patternFill) { + ctx.save(); + const pattern = current.fillColor.getPattern(ctx, this, (0, _display_utils.getCurrentTransformInverse)(ctx), _pattern_helper.PathType.FILL); + patternTransform = (0, _display_utils.getCurrentTransform)(ctx); + ctx.restore(); + ctx.fillStyle = pattern; + } + let lineWidth = current.lineWidth; + const scale = current.textMatrixScale; + if (scale === 0 || lineWidth === 0) { + const fillStrokeMode = current.textRenderingMode & _util.TextRenderingMode.FILL_STROKE_MASK; + if (fillStrokeMode === _util.TextRenderingMode.STROKE || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + lineWidth = this.getSinglePixelWidth(); + } + } else { + lineWidth /= scale; + } + if (fontSizeScale !== 1.0) { + ctx.scale(fontSizeScale, fontSizeScale); + lineWidth /= fontSizeScale; + } + ctx.lineWidth = lineWidth; + if (font.isInvalidPDFjsFont) { + const chars = []; + let width = 0; + for (const glyph of glyphs) { + chars.push(glyph.unicode); + width += glyph.width; + } + ctx.fillText(chars.join(""), 0, 0); + current.x += width * widthAdvanceScale * textHScale; + ctx.restore(); + this.compose(); + return undefined; + } + let x = 0, + i; + for (i = 0; i < glyphsLength; ++i) { + const glyph = glyphs[i]; + if (typeof glyph === "number") { + x += spacingDir * glyph * fontSize / 1000; + continue; + } + let restoreNeeded = false; + const spacing = (glyph.isSpace ? wordSpacing : 0) + charSpacing; + const character = glyph.fontChar; + const accent = glyph.accent; + let scaledX, scaledY; + let width = glyph.width; + if (vertical) { + const vmetric = glyph.vmetric || defaultVMetrics; + const vx = -(glyph.vmetric ? vmetric[1] : width * 0.5) * widthAdvanceScale; + const vy = vmetric[2] * widthAdvanceScale; + width = vmetric ? -vmetric[0] : width; + scaledX = vx / fontSizeScale; + scaledY = (x + vy) / fontSizeScale; + } else { + scaledX = x / fontSizeScale; + scaledY = 0; + } + if (font.remeasure && width > 0) { + const measuredWidth = ctx.measureText(character).width * 1000 / fontSize * fontSizeScale; + if (width < measuredWidth && this.isFontSubpixelAAEnabled) { + const characterScaleX = width / measuredWidth; + restoreNeeded = true; + ctx.save(); + ctx.scale(characterScaleX, 1); + scaledX /= characterScaleX; + } else if (width !== measuredWidth) { + scaledX += (width - measuredWidth) / 2000 * fontSize / fontSizeScale; + } + } + if (this.contentVisible && (glyph.isInFont || font.missingFile)) { + if (simpleFillText && !accent) { + ctx.fillText(character, scaledX, scaledY); + } else { + this.paintChar(character, scaledX, scaledY, patternTransform); + if (accent) { + const scaledAccentX = scaledX + fontSize * accent.offset.x / fontSizeScale; + const scaledAccentY = scaledY - fontSize * accent.offset.y / fontSizeScale; + this.paintChar(accent.fontChar, scaledAccentX, scaledAccentY, patternTransform); + } + } + } + let charWidth; + if (vertical) { + charWidth = width * widthAdvanceScale - spacing * fontDirection; + } else { + charWidth = width * widthAdvanceScale + spacing * fontDirection; + } + x += charWidth; + if (restoreNeeded) { + ctx.restore(); + } + } + if (vertical) { + current.y -= x; + } else { + current.x += x * textHScale; + } + ctx.restore(); + this.compose(); + return undefined; + } + showType3Text(glyphs) { + const ctx = this.ctx; + const current = this.current; + const font = current.font; + const fontSize = current.fontSize; + const fontDirection = current.fontDirection; + const spacingDir = font.vertical ? 1 : -1; + const charSpacing = current.charSpacing; + const wordSpacing = current.wordSpacing; + const textHScale = current.textHScale * fontDirection; + const fontMatrix = current.fontMatrix || _util.FONT_IDENTITY_MATRIX; + const glyphsLength = glyphs.length; + const isTextInvisible = current.textRenderingMode === _util.TextRenderingMode.INVISIBLE; + let i, glyph, width, spacingLength; + if (isTextInvisible || fontSize === 0) { + return; + } + this._cachedScaleForStroking[0] = -1; + this._cachedGetSinglePixelWidth = null; + ctx.save(); + ctx.transform(...current.textMatrix); + ctx.translate(current.x, current.y); + ctx.scale(textHScale, fontDirection); + for (i = 0; i < glyphsLength; ++i) { + glyph = glyphs[i]; + if (typeof glyph === "number") { + spacingLength = spacingDir * glyph * fontSize / 1000; + this.ctx.translate(spacingLength, 0); + current.x += spacingLength * textHScale; + continue; + } + const spacing = (glyph.isSpace ? wordSpacing : 0) + charSpacing; + const operatorList = font.charProcOperatorList[glyph.operatorListId]; + if (!operatorList) { + (0, _util.warn)(`Type3 character "${glyph.operatorListId}" is not available.`); + continue; + } + if (this.contentVisible) { + this.processingType3 = glyph; + this.save(); + ctx.scale(fontSize, fontSize); + ctx.transform(...fontMatrix); + this.executeOperatorList(operatorList); + this.restore(); + } + const transformed = _util.Util.applyTransform([glyph.width, 0], fontMatrix); + width = transformed[0] * fontSize + spacing; + ctx.translate(width, 0); + current.x += width * textHScale; + } + ctx.restore(); + this.processingType3 = null; + } + setCharWidth(xWidth, yWidth) {} + setCharWidthAndBounds(xWidth, yWidth, llx, lly, urx, ury) { + this.ctx.rect(llx, lly, urx - llx, ury - lly); + this.ctx.clip(); + this.endPath(); + } + getColorN_Pattern(IR) { + let pattern; + if (IR[0] === "TilingPattern") { + const color = IR[1]; + const baseTransform = this.baseTransform || (0, _display_utils.getCurrentTransform)(this.ctx); + const canvasGraphicsFactory = { + createCanvasGraphics: ctx => { + return new CanvasGraphics(ctx, this.commonObjs, this.objs, this.canvasFactory, this.filterFactory, { + optionalContentConfig: this.optionalContentConfig, + markedContentStack: this.markedContentStack + }); + } + }; + pattern = new _pattern_helper.TilingPattern(IR, color, this.ctx, canvasGraphicsFactory, baseTransform); + } else { + pattern = this._getPattern(IR[1], IR[2]); + } + return pattern; + } + setStrokeColorN() { + this.current.strokeColor = this.getColorN_Pattern(arguments); + } + setFillColorN() { + this.current.fillColor = this.getColorN_Pattern(arguments); + this.current.patternFill = true; + } + setStrokeRGBColor(r, g, b) { + const color = _util.Util.makeHexColor(r, g, b); + this.ctx.strokeStyle = color; + this.current.strokeColor = color; + } + setFillRGBColor(r, g, b) { + const color = _util.Util.makeHexColor(r, g, b); + this.ctx.fillStyle = color; + this.current.fillColor = color; + this.current.patternFill = false; + } + _getPattern(objId, matrix = null) { + let pattern; + if (this.cachedPatterns.has(objId)) { + pattern = this.cachedPatterns.get(objId); + } else { + pattern = (0, _pattern_helper.getShadingPattern)(this.getObject(objId)); + this.cachedPatterns.set(objId, pattern); + } + if (matrix) { + pattern.matrix = matrix; + } + return pattern; + } + shadingFill(objId) { + if (!this.contentVisible) { + return; + } + const ctx = this.ctx; + this.save(); + const pattern = this._getPattern(objId); + ctx.fillStyle = pattern.getPattern(ctx, this, (0, _display_utils.getCurrentTransformInverse)(ctx), _pattern_helper.PathType.SHADING); + const inv = (0, _display_utils.getCurrentTransformInverse)(ctx); + if (inv) { + const { + width, + height + } = ctx.canvas; + const [x0, y0, x1, y1] = _util.Util.getAxialAlignedBoundingBox([0, 0, width, height], inv); + this.ctx.fillRect(x0, y0, x1 - x0, y1 - y0); + } else { + this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10); + } + this.compose(this.current.getClippedPathBoundingBox()); + this.restore(); + } + beginInlineImage() { + (0, _util.unreachable)("Should not call beginInlineImage"); + } + beginImageData() { + (0, _util.unreachable)("Should not call beginImageData"); + } + paintFormXObjectBegin(matrix, bbox) { + if (!this.contentVisible) { + return; + } + this.save(); + this.baseTransformStack.push(this.baseTransform); + if (Array.isArray(matrix) && matrix.length === 6) { + this.transform(...matrix); + } + this.baseTransform = (0, _display_utils.getCurrentTransform)(this.ctx); + if (bbox) { + const width = bbox[2] - bbox[0]; + const height = bbox[3] - bbox[1]; + this.ctx.rect(bbox[0], bbox[1], width, height); + this.current.updateRectMinMax((0, _display_utils.getCurrentTransform)(this.ctx), bbox); + this.clip(); + this.endPath(); + } + } + paintFormXObjectEnd() { + if (!this.contentVisible) { + return; + } + this.restore(); + this.baseTransform = this.baseTransformStack.pop(); + } + beginGroup(group) { + if (!this.contentVisible) { + return; + } + this.save(); + if (this.inSMaskMode) { + this.endSMaskMode(); + this.current.activeSMask = null; + } + const currentCtx = this.ctx; + if (!group.isolated) { + (0, _util.info)("TODO: Support non-isolated groups."); + } + if (group.knockout) { + (0, _util.warn)("Knockout groups not supported."); + } + const currentTransform = (0, _display_utils.getCurrentTransform)(currentCtx); + if (group.matrix) { + currentCtx.transform(...group.matrix); + } + if (!group.bbox) { + throw new Error("Bounding box is required."); + } + let bounds = _util.Util.getAxialAlignedBoundingBox(group.bbox, (0, _display_utils.getCurrentTransform)(currentCtx)); + const canvasBounds = [0, 0, currentCtx.canvas.width, currentCtx.canvas.height]; + bounds = _util.Util.intersect(bounds, canvasBounds) || [0, 0, 0, 0]; + const offsetX = Math.floor(bounds[0]); + const offsetY = Math.floor(bounds[1]); + let drawnWidth = Math.max(Math.ceil(bounds[2]) - offsetX, 1); + let drawnHeight = Math.max(Math.ceil(bounds[3]) - offsetY, 1); + let scaleX = 1, + scaleY = 1; + if (drawnWidth > MAX_GROUP_SIZE) { + scaleX = drawnWidth / MAX_GROUP_SIZE; + drawnWidth = MAX_GROUP_SIZE; + } + if (drawnHeight > MAX_GROUP_SIZE) { + scaleY = drawnHeight / MAX_GROUP_SIZE; + drawnHeight = MAX_GROUP_SIZE; + } + this.current.startNewPathAndClipBox([0, 0, drawnWidth, drawnHeight]); + let cacheId = "groupAt" + this.groupLevel; + if (group.smask) { + cacheId += "_smask_" + this.smaskCounter++ % 2; + } + const scratchCanvas = this.cachedCanvases.getCanvas(cacheId, drawnWidth, drawnHeight); + const groupCtx = scratchCanvas.context; + groupCtx.scale(1 / scaleX, 1 / scaleY); + groupCtx.translate(-offsetX, -offsetY); + groupCtx.transform(...currentTransform); + if (group.smask) { + this.smaskStack.push({ + canvas: scratchCanvas.canvas, + context: groupCtx, + offsetX, + offsetY, + scaleX, + scaleY, + subtype: group.smask.subtype, + backdrop: group.smask.backdrop, + transferMap: group.smask.transferMap || null, + startTransformInverse: null + }); + } else { + currentCtx.setTransform(1, 0, 0, 1, 0, 0); + currentCtx.translate(offsetX, offsetY); + currentCtx.scale(scaleX, scaleY); + currentCtx.save(); + } + copyCtxState(currentCtx, groupCtx); + this.ctx = groupCtx; + this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]); + this.groupStack.push(currentCtx); + this.groupLevel++; + } + endGroup(group) { + if (!this.contentVisible) { + return; + } + this.groupLevel--; + const groupCtx = this.ctx; + const ctx = this.groupStack.pop(); + this.ctx = ctx; + this.ctx.imageSmoothingEnabled = false; + if (group.smask) { + this.tempSMask = this.smaskStack.pop(); + this.restore(); + } else { + this.ctx.restore(); + const currentMtx = (0, _display_utils.getCurrentTransform)(this.ctx); + this.restore(); + this.ctx.save(); + this.ctx.setTransform(...currentMtx); + const dirtyBox = _util.Util.getAxialAlignedBoundingBox([0, 0, groupCtx.canvas.width, groupCtx.canvas.height], currentMtx); + this.ctx.drawImage(groupCtx.canvas, 0, 0); + this.ctx.restore(); + this.compose(dirtyBox); + } + } + beginAnnotation(id, rect, transform, matrix, hasOwnCanvas) { + this.#restoreInitialState(); + resetCtxToDefault(this.ctx); + this.ctx.save(); + this.save(); + if (this.baseTransform) { + this.ctx.setTransform(...this.baseTransform); + } + if (Array.isArray(rect) && rect.length === 4) { + const width = rect[2] - rect[0]; + const height = rect[3] - rect[1]; + if (hasOwnCanvas && this.annotationCanvasMap) { + transform = transform.slice(); + transform[4] -= rect[0]; + transform[5] -= rect[1]; + rect = rect.slice(); + rect[0] = rect[1] = 0; + rect[2] = width; + rect[3] = height; + const [scaleX, scaleY] = _util.Util.singularValueDecompose2dScale((0, _display_utils.getCurrentTransform)(this.ctx)); + const { + viewportScale + } = this; + const canvasWidth = Math.ceil(width * this.outputScaleX * viewportScale); + const canvasHeight = Math.ceil(height * this.outputScaleY * viewportScale); + this.annotationCanvas = this.canvasFactory.create(canvasWidth, canvasHeight); + const { + canvas, + context + } = this.annotationCanvas; + this.annotationCanvasMap.set(id, canvas); + this.annotationCanvas.savedCtx = this.ctx; + this.ctx = context; + this.ctx.save(); + this.ctx.setTransform(scaleX, 0, 0, -scaleY, 0, height * scaleY); + resetCtxToDefault(this.ctx); + } else { + resetCtxToDefault(this.ctx); + this.ctx.rect(rect[0], rect[1], width, height); + this.ctx.clip(); + this.endPath(); + } + } + this.current = new CanvasExtraState(this.ctx.canvas.width, this.ctx.canvas.height); + this.transform(...transform); + this.transform(...matrix); + } + endAnnotation() { + if (this.annotationCanvas) { + this.ctx.restore(); + this.#drawFilter(); + this.ctx = this.annotationCanvas.savedCtx; + delete this.annotationCanvas.savedCtx; + delete this.annotationCanvas; + } + } + paintImageMaskXObject(img) { + if (!this.contentVisible) { + return; + } + const count = img.count; + img = this.getObject(img.data, img); + img.count = count; + const ctx = this.ctx; + const glyph = this.processingType3; + if (glyph) { + if (glyph.compiled === undefined) { + glyph.compiled = compileType3Glyph(img); + } + if (glyph.compiled) { + glyph.compiled(ctx); + return; + } + } + const mask = this._createMaskCanvas(img); + const maskCanvas = mask.canvas; + ctx.save(); + ctx.setTransform(1, 0, 0, 1, 0, 0); + ctx.drawImage(maskCanvas, mask.offsetX, mask.offsetY); + ctx.restore(); + this.compose(); + } + paintImageMaskXObjectRepeat(img, scaleX, skewX = 0, skewY = 0, scaleY, positions) { + if (!this.contentVisible) { + return; + } + img = this.getObject(img.data, img); + const ctx = this.ctx; + ctx.save(); + const currentTransform = (0, _display_utils.getCurrentTransform)(ctx); + ctx.transform(scaleX, skewX, skewY, scaleY, 0, 0); + const mask = this._createMaskCanvas(img); + ctx.setTransform(1, 0, 0, 1, mask.offsetX - currentTransform[4], mask.offsetY - currentTransform[5]); + for (let i = 0, ii = positions.length; i < ii; i += 2) { + const trans = _util.Util.transform(currentTransform, [scaleX, skewX, skewY, scaleY, positions[i], positions[i + 1]]); + const [x, y] = _util.Util.applyTransform([0, 0], trans); + ctx.drawImage(mask.canvas, x, y); + } + ctx.restore(); + this.compose(); + } + paintImageMaskXObjectGroup(images) { + if (!this.contentVisible) { + return; + } + const ctx = this.ctx; + const fillColor = this.current.fillColor; + const isPatternFill = this.current.patternFill; + for (const image of images) { + const { + data, + width, + height, + transform + } = image; + const maskCanvas = this.cachedCanvases.getCanvas("maskCanvas", width, height); + const maskCtx = maskCanvas.context; + maskCtx.save(); + const img = this.getObject(data, image); + putBinaryImageMask(maskCtx, img); + maskCtx.globalCompositeOperation = "source-in"; + maskCtx.fillStyle = isPatternFill ? fillColor.getPattern(maskCtx, this, (0, _display_utils.getCurrentTransformInverse)(ctx), _pattern_helper.PathType.FILL) : fillColor; + maskCtx.fillRect(0, 0, width, height); + maskCtx.restore(); + ctx.save(); + ctx.transform(...transform); + ctx.scale(1, -1); + drawImageAtIntegerCoords(ctx, maskCanvas.canvas, 0, 0, width, height, 0, -1, 1, 1); + ctx.restore(); + } + this.compose(); + } + paintImageXObject(objId) { + if (!this.contentVisible) { + return; + } + const imgData = this.getObject(objId); + if (!imgData) { + (0, _util.warn)("Dependent image isn't ready yet"); + return; + } + this.paintInlineImageXObject(imgData); + } + paintImageXObjectRepeat(objId, scaleX, scaleY, positions) { + if (!this.contentVisible) { + return; + } + const imgData = this.getObject(objId); + if (!imgData) { + (0, _util.warn)("Dependent image isn't ready yet"); + return; + } + const width = imgData.width; + const height = imgData.height; + const map = []; + for (let i = 0, ii = positions.length; i < ii; i += 2) { + map.push({ + transform: [scaleX, 0, 0, scaleY, positions[i], positions[i + 1]], + x: 0, + y: 0, + w: width, + h: height + }); + } + this.paintInlineImageXObjectGroup(imgData, map); + } + applyTransferMapsToCanvas(ctx) { + if (this.current.transferMaps !== "none") { + ctx.filter = this.current.transferMaps; + ctx.drawImage(ctx.canvas, 0, 0); + ctx.filter = "none"; + } + return ctx.canvas; + } + applyTransferMapsToBitmap(imgData) { + if (this.current.transferMaps === "none") { + return imgData.bitmap; + } + const { + bitmap, + width, + height + } = imgData; + const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", width, height); + const tmpCtx = tmpCanvas.context; + tmpCtx.filter = this.current.transferMaps; + tmpCtx.drawImage(bitmap, 0, 0); + tmpCtx.filter = "none"; + return tmpCanvas.canvas; + } + paintInlineImageXObject(imgData) { + if (!this.contentVisible) { + return; + } + const width = imgData.width; + const height = imgData.height; + const ctx = this.ctx; + this.save(); + if (!_is_node.isNodeJS) { + ctx.filter = "none"; + } + ctx.scale(1 / width, -1 / height); + let imgToPaint; + if (imgData.bitmap) { + imgToPaint = this.applyTransferMapsToBitmap(imgData); + } else if (typeof HTMLElement === "function" && imgData instanceof HTMLElement || !imgData.data) { + imgToPaint = imgData; + } else { + const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", width, height); + const tmpCtx = tmpCanvas.context; + putBinaryImageData(tmpCtx, imgData); + imgToPaint = this.applyTransferMapsToCanvas(tmpCtx); + } + const scaled = this._scaleImage(imgToPaint, (0, _display_utils.getCurrentTransformInverse)(ctx)); + ctx.imageSmoothingEnabled = getImageSmoothingEnabled((0, _display_utils.getCurrentTransform)(ctx), imgData.interpolate); + drawImageAtIntegerCoords(ctx, scaled.img, 0, 0, scaled.paintWidth, scaled.paintHeight, 0, -height, width, height); + this.compose(); + this.restore(); + } + paintInlineImageXObjectGroup(imgData, map) { + if (!this.contentVisible) { + return; + } + const ctx = this.ctx; + let imgToPaint; + if (imgData.bitmap) { + imgToPaint = imgData.bitmap; + } else { + const w = imgData.width; + const h = imgData.height; + const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", w, h); + const tmpCtx = tmpCanvas.context; + putBinaryImageData(tmpCtx, imgData); + imgToPaint = this.applyTransferMapsToCanvas(tmpCtx); + } + for (const entry of map) { + ctx.save(); + ctx.transform(...entry.transform); + ctx.scale(1, -1); + drawImageAtIntegerCoords(ctx, imgToPaint, entry.x, entry.y, entry.w, entry.h, 0, -1, 1, 1); + ctx.restore(); + } + this.compose(); + } + paintSolidColorImageMask() { + if (!this.contentVisible) { + return; + } + this.ctx.fillRect(0, 0, 1, 1); + this.compose(); + } + markPoint(tag) {} + markPointProps(tag, properties) {} + beginMarkedContent(tag) { + this.markedContentStack.push({ + visible: true + }); + } + beginMarkedContentProps(tag, properties) { + if (tag === "OC") { + this.markedContentStack.push({ + visible: this.optionalContentConfig.isVisible(properties) + }); + } else { + this.markedContentStack.push({ + visible: true + }); + } + this.contentVisible = this.isContentVisible(); + } + endMarkedContent() { + this.markedContentStack.pop(); + this.contentVisible = this.isContentVisible(); + } + beginCompat() {} + endCompat() {} + consumePath(clipBox) { + const isEmpty = this.current.isEmptyClip(); + if (this.pendingClip) { + this.current.updateClipFromPath(); + } + if (!this.pendingClip) { + this.compose(clipBox); + } + const ctx = this.ctx; + if (this.pendingClip) { + if (!isEmpty) { + if (this.pendingClip === EO_CLIP) { + ctx.clip("evenodd"); + } else { + ctx.clip(); + } + } + this.pendingClip = null; + } + this.current.startNewPathAndClipBox(this.current.clipBox); + ctx.beginPath(); + } + getSinglePixelWidth() { + if (!this._cachedGetSinglePixelWidth) { + const m = (0, _display_utils.getCurrentTransform)(this.ctx); + if (m[1] === 0 && m[2] === 0) { + this._cachedGetSinglePixelWidth = 1 / Math.min(Math.abs(m[0]), Math.abs(m[3])); + } else { + const absDet = Math.abs(m[0] * m[3] - m[2] * m[1]); + const normX = Math.hypot(m[0], m[2]); + const normY = Math.hypot(m[1], m[3]); + this._cachedGetSinglePixelWidth = Math.max(normX, normY) / absDet; + } + } + return this._cachedGetSinglePixelWidth; + } + getScaleForStroking() { + if (this._cachedScaleForStroking[0] === -1) { + const { + lineWidth + } = this.current; + const { + a, + b, + c, + d + } = this.ctx.getTransform(); + let scaleX, scaleY; + if (b === 0 && c === 0) { + const normX = Math.abs(a); + const normY = Math.abs(d); + if (normX === normY) { + if (lineWidth === 0) { + scaleX = scaleY = 1 / normX; + } else { + const scaledLineWidth = normX * lineWidth; + scaleX = scaleY = scaledLineWidth < 1 ? 1 / scaledLineWidth : 1; + } + } else if (lineWidth === 0) { + scaleX = 1 / normX; + scaleY = 1 / normY; + } else { + const scaledXLineWidth = normX * lineWidth; + const scaledYLineWidth = normY * lineWidth; + scaleX = scaledXLineWidth < 1 ? 1 / scaledXLineWidth : 1; + scaleY = scaledYLineWidth < 1 ? 1 / scaledYLineWidth : 1; + } + } else { + const absDet = Math.abs(a * d - b * c); + const normX = Math.hypot(a, b); + const normY = Math.hypot(c, d); + if (lineWidth === 0) { + scaleX = normY / absDet; + scaleY = normX / absDet; + } else { + const baseArea = lineWidth * absDet; + scaleX = normY > baseArea ? normY / baseArea : 1; + scaleY = normX > baseArea ? normX / baseArea : 1; + } + } + this._cachedScaleForStroking[0] = scaleX; + this._cachedScaleForStroking[1] = scaleY; + } + return this._cachedScaleForStroking; + } + rescaleAndStroke(saveRestore) { + const { + ctx + } = this; + const { + lineWidth + } = this.current; + const [scaleX, scaleY] = this.getScaleForStroking(); + ctx.lineWidth = lineWidth || 1; + if (scaleX === 1 && scaleY === 1) { + ctx.stroke(); + return; + } + const dashes = ctx.getLineDash(); + if (saveRestore) { + ctx.save(); + } + ctx.scale(scaleX, scaleY); + if (dashes.length > 0) { + const scale = Math.max(scaleX, scaleY); + ctx.setLineDash(dashes.map(x => x / scale)); + ctx.lineDashOffset /= scale; + } + ctx.stroke(); + if (saveRestore) { + ctx.restore(); + } + } + isContentVisible() { + for (let i = this.markedContentStack.length - 1; i >= 0; i--) { + if (!this.markedContentStack[i].visible) { + return false; + } + } + return true; + } +} +exports.CanvasGraphics = CanvasGraphics; +for (const op in _util.OPS) { + if (CanvasGraphics.prototype[op] !== undefined) { + CanvasGraphics.prototype[_util.OPS[op]] = CanvasGraphics.prototype[op]; + } +} + +/***/ }), +/* 12 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TilingPattern = exports.PathType = void 0; +exports.getShadingPattern = getShadingPattern; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +const PathType = { + FILL: "Fill", + STROKE: "Stroke", + SHADING: "Shading" +}; +exports.PathType = PathType; +function applyBoundingBox(ctx, bbox) { + if (!bbox) { + return; + } + const width = bbox[2] - bbox[0]; + const height = bbox[3] - bbox[1]; + const region = new Path2D(); + region.rect(bbox[0], bbox[1], width, height); + ctx.clip(region); +} +class BaseShadingPattern { + constructor() { + if (this.constructor === BaseShadingPattern) { + (0, _util.unreachable)("Cannot initialize BaseShadingPattern."); + } + } + getPattern() { + (0, _util.unreachable)("Abstract method `getPattern` called."); + } +} +class RadialAxialShadingPattern extends BaseShadingPattern { + constructor(IR) { + super(); + this._type = IR[1]; + this._bbox = IR[2]; + this._colorStops = IR[3]; + this._p0 = IR[4]; + this._p1 = IR[5]; + this._r0 = IR[6]; + this._r1 = IR[7]; + this.matrix = null; + } + _createGradient(ctx) { + let grad; + if (this._type === "axial") { + grad = ctx.createLinearGradient(this._p0[0], this._p0[1], this._p1[0], this._p1[1]); + } else if (this._type === "radial") { + grad = ctx.createRadialGradient(this._p0[0], this._p0[1], this._r0, this._p1[0], this._p1[1], this._r1); + } + for (const colorStop of this._colorStops) { + grad.addColorStop(colorStop[0], colorStop[1]); + } + return grad; + } + getPattern(ctx, owner, inverse, pathType) { + let pattern; + if (pathType === PathType.STROKE || pathType === PathType.FILL) { + const ownerBBox = owner.current.getClippedPathBoundingBox(pathType, (0, _display_utils.getCurrentTransform)(ctx)) || [0, 0, 0, 0]; + const width = Math.ceil(ownerBBox[2] - ownerBBox[0]) || 1; + const height = Math.ceil(ownerBBox[3] - ownerBBox[1]) || 1; + const tmpCanvas = owner.cachedCanvases.getCanvas("pattern", width, height, true); + const tmpCtx = tmpCanvas.context; + tmpCtx.clearRect(0, 0, tmpCtx.canvas.width, tmpCtx.canvas.height); + tmpCtx.beginPath(); + tmpCtx.rect(0, 0, tmpCtx.canvas.width, tmpCtx.canvas.height); + tmpCtx.translate(-ownerBBox[0], -ownerBBox[1]); + inverse = _util.Util.transform(inverse, [1, 0, 0, 1, ownerBBox[0], ownerBBox[1]]); + tmpCtx.transform(...owner.baseTransform); + if (this.matrix) { + tmpCtx.transform(...this.matrix); + } + applyBoundingBox(tmpCtx, this._bbox); + tmpCtx.fillStyle = this._createGradient(tmpCtx); + tmpCtx.fill(); + pattern = ctx.createPattern(tmpCanvas.canvas, "no-repeat"); + const domMatrix = new DOMMatrix(inverse); + pattern.setTransform(domMatrix); + } else { + applyBoundingBox(ctx, this._bbox); + pattern = this._createGradient(ctx); + } + return pattern; + } +} +function drawTriangle(data, context, p1, p2, p3, c1, c2, c3) { + const coords = context.coords, + colors = context.colors; + const bytes = data.data, + rowSize = data.width * 4; + let tmp; + if (coords[p1 + 1] > coords[p2 + 1]) { + tmp = p1; + p1 = p2; + p2 = tmp; + tmp = c1; + c1 = c2; + c2 = tmp; + } + if (coords[p2 + 1] > coords[p3 + 1]) { + tmp = p2; + p2 = p3; + p3 = tmp; + tmp = c2; + c2 = c3; + c3 = tmp; + } + if (coords[p1 + 1] > coords[p2 + 1]) { + tmp = p1; + p1 = p2; + p2 = tmp; + tmp = c1; + c1 = c2; + c2 = tmp; + } + const x1 = (coords[p1] + context.offsetX) * context.scaleX; + const y1 = (coords[p1 + 1] + context.offsetY) * context.scaleY; + const x2 = (coords[p2] + context.offsetX) * context.scaleX; + const y2 = (coords[p2 + 1] + context.offsetY) * context.scaleY; + const x3 = (coords[p3] + context.offsetX) * context.scaleX; + const y3 = (coords[p3 + 1] + context.offsetY) * context.scaleY; + if (y1 >= y3) { + return; + } + const c1r = colors[c1], + c1g = colors[c1 + 1], + c1b = colors[c1 + 2]; + const c2r = colors[c2], + c2g = colors[c2 + 1], + c2b = colors[c2 + 2]; + const c3r = colors[c3], + c3g = colors[c3 + 1], + c3b = colors[c3 + 2]; + const minY = Math.round(y1), + maxY = Math.round(y3); + let xa, car, cag, cab; + let xb, cbr, cbg, cbb; + for (let y = minY; y <= maxY; y++) { + if (y < y2) { + let k; + if (y < y1) { + k = 0; + } else { + k = (y1 - y) / (y1 - y2); + } + xa = x1 - (x1 - x2) * k; + car = c1r - (c1r - c2r) * k; + cag = c1g - (c1g - c2g) * k; + cab = c1b - (c1b - c2b) * k; + } else { + let k; + if (y > y3) { + k = 1; + } else if (y2 === y3) { + k = 0; + } else { + k = (y2 - y) / (y2 - y3); + } + xa = x2 - (x2 - x3) * k; + car = c2r - (c2r - c3r) * k; + cag = c2g - (c2g - c3g) * k; + cab = c2b - (c2b - c3b) * k; + } + let k; + if (y < y1) { + k = 0; + } else if (y > y3) { + k = 1; + } else { + k = (y1 - y) / (y1 - y3); + } + xb = x1 - (x1 - x3) * k; + cbr = c1r - (c1r - c3r) * k; + cbg = c1g - (c1g - c3g) * k; + cbb = c1b - (c1b - c3b) * k; + const x1_ = Math.round(Math.min(xa, xb)); + const x2_ = Math.round(Math.max(xa, xb)); + let j = rowSize * y + x1_ * 4; + for (let x = x1_; x <= x2_; x++) { + k = (xa - x) / (xa - xb); + if (k < 0) { + k = 0; + } else if (k > 1) { + k = 1; + } + bytes[j++] = car - (car - cbr) * k | 0; + bytes[j++] = cag - (cag - cbg) * k | 0; + bytes[j++] = cab - (cab - cbb) * k | 0; + bytes[j++] = 255; + } + } +} +function drawFigure(data, figure, context) { + const ps = figure.coords; + const cs = figure.colors; + let i, ii; + switch (figure.type) { + case "lattice": + const verticesPerRow = figure.verticesPerRow; + const rows = Math.floor(ps.length / verticesPerRow) - 1; + const cols = verticesPerRow - 1; + for (i = 0; i < rows; i++) { + let q = i * verticesPerRow; + for (let j = 0; j < cols; j++, q++) { + drawTriangle(data, context, ps[q], ps[q + 1], ps[q + verticesPerRow], cs[q], cs[q + 1], cs[q + verticesPerRow]); + drawTriangle(data, context, ps[q + verticesPerRow + 1], ps[q + 1], ps[q + verticesPerRow], cs[q + verticesPerRow + 1], cs[q + 1], cs[q + verticesPerRow]); + } + } + break; + case "triangles": + for (i = 0, ii = ps.length; i < ii; i += 3) { + drawTriangle(data, context, ps[i], ps[i + 1], ps[i + 2], cs[i], cs[i + 1], cs[i + 2]); + } + break; + default: + throw new Error("illegal figure"); + } +} +class MeshShadingPattern extends BaseShadingPattern { + constructor(IR) { + super(); + this._coords = IR[2]; + this._colors = IR[3]; + this._figures = IR[4]; + this._bounds = IR[5]; + this._bbox = IR[7]; + this._background = IR[8]; + this.matrix = null; + } + _createMeshCanvas(combinedScale, backgroundColor, cachedCanvases) { + const EXPECTED_SCALE = 1.1; + const MAX_PATTERN_SIZE = 3000; + const BORDER_SIZE = 2; + const offsetX = Math.floor(this._bounds[0]); + const offsetY = Math.floor(this._bounds[1]); + const boundsWidth = Math.ceil(this._bounds[2]) - offsetX; + const boundsHeight = Math.ceil(this._bounds[3]) - offsetY; + const width = Math.min(Math.ceil(Math.abs(boundsWidth * combinedScale[0] * EXPECTED_SCALE)), MAX_PATTERN_SIZE); + const height = Math.min(Math.ceil(Math.abs(boundsHeight * combinedScale[1] * EXPECTED_SCALE)), MAX_PATTERN_SIZE); + const scaleX = boundsWidth / width; + const scaleY = boundsHeight / height; + const context = { + coords: this._coords, + colors: this._colors, + offsetX: -offsetX, + offsetY: -offsetY, + scaleX: 1 / scaleX, + scaleY: 1 / scaleY + }; + const paddedWidth = width + BORDER_SIZE * 2; + const paddedHeight = height + BORDER_SIZE * 2; + const tmpCanvas = cachedCanvases.getCanvas("mesh", paddedWidth, paddedHeight, false); + const tmpCtx = tmpCanvas.context; + const data = tmpCtx.createImageData(width, height); + if (backgroundColor) { + const bytes = data.data; + for (let i = 0, ii = bytes.length; i < ii; i += 4) { + bytes[i] = backgroundColor[0]; + bytes[i + 1] = backgroundColor[1]; + bytes[i + 2] = backgroundColor[2]; + bytes[i + 3] = 255; + } + } + for (const figure of this._figures) { + drawFigure(data, figure, context); + } + tmpCtx.putImageData(data, BORDER_SIZE, BORDER_SIZE); + const canvas = tmpCanvas.canvas; + return { + canvas, + offsetX: offsetX - BORDER_SIZE * scaleX, + offsetY: offsetY - BORDER_SIZE * scaleY, + scaleX, + scaleY + }; + } + getPattern(ctx, owner, inverse, pathType) { + applyBoundingBox(ctx, this._bbox); + let scale; + if (pathType === PathType.SHADING) { + scale = _util.Util.singularValueDecompose2dScale((0, _display_utils.getCurrentTransform)(ctx)); + } else { + scale = _util.Util.singularValueDecompose2dScale(owner.baseTransform); + if (this.matrix) { + const matrixScale = _util.Util.singularValueDecompose2dScale(this.matrix); + scale = [scale[0] * matrixScale[0], scale[1] * matrixScale[1]]; + } + } + const temporaryPatternCanvas = this._createMeshCanvas(scale, pathType === PathType.SHADING ? null : this._background, owner.cachedCanvases); + if (pathType !== PathType.SHADING) { + ctx.setTransform(...owner.baseTransform); + if (this.matrix) { + ctx.transform(...this.matrix); + } + } + ctx.translate(temporaryPatternCanvas.offsetX, temporaryPatternCanvas.offsetY); + ctx.scale(temporaryPatternCanvas.scaleX, temporaryPatternCanvas.scaleY); + return ctx.createPattern(temporaryPatternCanvas.canvas, "no-repeat"); + } +} +class DummyShadingPattern extends BaseShadingPattern { + getPattern() { + return "hotpink"; + } +} +function getShadingPattern(IR) { + switch (IR[0]) { + case "RadialAxial": + return new RadialAxialShadingPattern(IR); + case "Mesh": + return new MeshShadingPattern(IR); + case "Dummy": + return new DummyShadingPattern(); + } + throw new Error(`Unknown IR type: ${IR[0]}`); +} +const PaintType = { + COLORED: 1, + UNCOLORED: 2 +}; +class TilingPattern { + static MAX_PATTERN_SIZE = 3000; + constructor(IR, color, ctx, canvasGraphicsFactory, baseTransform) { + this.operatorList = IR[2]; + this.matrix = IR[3] || [1, 0, 0, 1, 0, 0]; + this.bbox = IR[4]; + this.xstep = IR[5]; + this.ystep = IR[6]; + this.paintType = IR[7]; + this.tilingType = IR[8]; + this.color = color; + this.ctx = ctx; + this.canvasGraphicsFactory = canvasGraphicsFactory; + this.baseTransform = baseTransform; + } + createPatternCanvas(owner) { + const operatorList = this.operatorList; + const bbox = this.bbox; + const xstep = this.xstep; + const ystep = this.ystep; + const paintType = this.paintType; + const tilingType = this.tilingType; + const color = this.color; + const canvasGraphicsFactory = this.canvasGraphicsFactory; + (0, _util.info)("TilingType: " + tilingType); + const x0 = bbox[0], + y0 = bbox[1], + x1 = bbox[2], + y1 = bbox[3]; + const matrixScale = _util.Util.singularValueDecompose2dScale(this.matrix); + const curMatrixScale = _util.Util.singularValueDecompose2dScale(this.baseTransform); + const combinedScale = [matrixScale[0] * curMatrixScale[0], matrixScale[1] * curMatrixScale[1]]; + const dimx = this.getSizeAndScale(xstep, this.ctx.canvas.width, combinedScale[0]); + const dimy = this.getSizeAndScale(ystep, this.ctx.canvas.height, combinedScale[1]); + const tmpCanvas = owner.cachedCanvases.getCanvas("pattern", dimx.size, dimy.size, true); + const tmpCtx = tmpCanvas.context; + const graphics = canvasGraphicsFactory.createCanvasGraphics(tmpCtx); + graphics.groupLevel = owner.groupLevel; + this.setFillAndStrokeStyleToContext(graphics, paintType, color); + let adjustedX0 = x0; + let adjustedY0 = y0; + let adjustedX1 = x1; + let adjustedY1 = y1; + if (x0 < 0) { + adjustedX0 = 0; + adjustedX1 += Math.abs(x0); + } + if (y0 < 0) { + adjustedY0 = 0; + adjustedY1 += Math.abs(y0); + } + tmpCtx.translate(-(dimx.scale * adjustedX0), -(dimy.scale * adjustedY0)); + graphics.transform(dimx.scale, 0, 0, dimy.scale, 0, 0); + tmpCtx.save(); + this.clipBbox(graphics, adjustedX0, adjustedY0, adjustedX1, adjustedY1); + graphics.baseTransform = (0, _display_utils.getCurrentTransform)(graphics.ctx); + graphics.executeOperatorList(operatorList); + graphics.endDrawing(); + return { + canvas: tmpCanvas.canvas, + scaleX: dimx.scale, + scaleY: dimy.scale, + offsetX: adjustedX0, + offsetY: adjustedY0 + }; + } + getSizeAndScale(step, realOutputSize, scale) { + step = Math.abs(step); + const maxSize = Math.max(TilingPattern.MAX_PATTERN_SIZE, realOutputSize); + let size = Math.ceil(step * scale); + if (size >= maxSize) { + size = maxSize; + } else { + scale = size / step; + } + return { + scale, + size + }; + } + clipBbox(graphics, x0, y0, x1, y1) { + const bboxWidth = x1 - x0; + const bboxHeight = y1 - y0; + graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight); + graphics.current.updateRectMinMax((0, _display_utils.getCurrentTransform)(graphics.ctx), [x0, y0, x1, y1]); + graphics.clip(); + graphics.endPath(); + } + setFillAndStrokeStyleToContext(graphics, paintType, color) { + const context = graphics.ctx, + current = graphics.current; + switch (paintType) { + case PaintType.COLORED: + const ctx = this.ctx; + context.fillStyle = ctx.fillStyle; + context.strokeStyle = ctx.strokeStyle; + current.fillColor = ctx.fillStyle; + current.strokeColor = ctx.strokeStyle; + break; + case PaintType.UNCOLORED: + const cssColor = _util.Util.makeHexColor(color[0], color[1], color[2]); + context.fillStyle = cssColor; + context.strokeStyle = cssColor; + current.fillColor = cssColor; + current.strokeColor = cssColor; + break; + default: + throw new _util.FormatError(`Unsupported paint type: ${paintType}`); + } + } + getPattern(ctx, owner, inverse, pathType) { + let matrix = inverse; + if (pathType !== PathType.SHADING) { + matrix = _util.Util.transform(matrix, owner.baseTransform); + if (this.matrix) { + matrix = _util.Util.transform(matrix, this.matrix); + } + } + const temporaryPatternCanvas = this.createPatternCanvas(owner); + let domMatrix = new DOMMatrix(matrix); + domMatrix = domMatrix.translate(temporaryPatternCanvas.offsetX, temporaryPatternCanvas.offsetY); + domMatrix = domMatrix.scale(1 / temporaryPatternCanvas.scaleX, 1 / temporaryPatternCanvas.scaleY); + const pattern = ctx.createPattern(temporaryPatternCanvas.canvas, "repeat"); + pattern.setTransform(domMatrix); + return pattern; + } +} +exports.TilingPattern = TilingPattern; + +/***/ }), +/* 13 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.convertBlackAndWhiteToRGBA = convertBlackAndWhiteToRGBA; +exports.convertToRGBA = convertToRGBA; +exports.grayToRGBA = grayToRGBA; +var _util = __w_pdfjs_require__(1); +function convertToRGBA(params) { + switch (params.kind) { + case _util.ImageKind.GRAYSCALE_1BPP: + return convertBlackAndWhiteToRGBA(params); + case _util.ImageKind.RGB_24BPP: + return convertRGBToRGBA(params); + } + return null; +} +function convertBlackAndWhiteToRGBA({ + src, + srcPos = 0, + dest, + width, + height, + nonBlackColor = 0xffffffff, + inverseDecode = false +}) { + const black = _util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; + const [zeroMapping, oneMapping] = inverseDecode ? [nonBlackColor, black] : [black, nonBlackColor]; + const widthInSource = width >> 3; + const widthRemainder = width & 7; + const srcLength = src.length; + dest = new Uint32Array(dest.buffer); + let destPos = 0; + for (let i = 0; i < height; i++) { + for (const max = srcPos + widthInSource; srcPos < max; srcPos++) { + const elem = srcPos < srcLength ? src[srcPos] : 255; + dest[destPos++] = elem & 0b10000000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1000000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b100000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b10000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b100 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b10 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1 ? oneMapping : zeroMapping; + } + if (widthRemainder === 0) { + continue; + } + const elem = srcPos < srcLength ? src[srcPos++] : 255; + for (let j = 0; j < widthRemainder; j++) { + dest[destPos++] = elem & 1 << 7 - j ? oneMapping : zeroMapping; + } + } + return { + srcPos, + destPos + }; +} +function convertRGBToRGBA({ + src, + srcPos = 0, + dest, + destPos = 0, + width, + height +}) { + let i = 0; + const len32 = src.length >> 2; + const src32 = new Uint32Array(src.buffer, srcPos, len32); + if (_util.FeatureTest.isLittleEndian) { + for (; i < len32 - 2; i += 3, destPos += 4) { + const s1 = src32[i]; + const s2 = src32[i + 1]; + const s3 = src32[i + 2]; + dest[destPos] = s1 | 0xff000000; + dest[destPos + 1] = s1 >>> 24 | s2 << 8 | 0xff000000; + dest[destPos + 2] = s2 >>> 16 | s3 << 16 | 0xff000000; + dest[destPos + 3] = s3 >>> 8 | 0xff000000; + } + for (let j = i * 4, jj = src.length; j < jj; j += 3) { + dest[destPos++] = src[j] | src[j + 1] << 8 | src[j + 2] << 16 | 0xff000000; + } + } else { + for (; i < len32 - 2; i += 3, destPos += 4) { + const s1 = src32[i]; + const s2 = src32[i + 1]; + const s3 = src32[i + 2]; + dest[destPos] = s1 | 0xff; + dest[destPos + 1] = s1 << 24 | s2 >>> 8 | 0xff; + dest[destPos + 2] = s2 << 16 | s3 >>> 16 | 0xff; + dest[destPos + 3] = s3 << 8 | 0xff; + } + for (let j = i * 4, jj = src.length; j < jj; j += 3) { + dest[destPos++] = src[j] << 24 | src[j + 1] << 16 | src[j + 2] << 8 | 0xff; + } + } + return { + srcPos, + destPos + }; +} +function grayToRGBA(src, dest) { + if (_util.FeatureTest.isLittleEndian) { + for (let i = 0, ii = src.length; i < ii; i++) { + dest[i] = src[i] * 0x10101 | 0xff000000; + } + } else { + for (let i = 0, ii = src.length; i < ii; i++) { + dest[i] = src[i] * 0x1010100 | 0x000000ff; + } + } +} + +/***/ }), +/* 14 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GlobalWorkerOptions = void 0; +const GlobalWorkerOptions = Object.create(null); +exports.GlobalWorkerOptions = GlobalWorkerOptions; +GlobalWorkerOptions.workerPort = null; +GlobalWorkerOptions.workerSrc = ""; + +/***/ }), +/* 15 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MessageHandler = void 0; +var _util = __w_pdfjs_require__(1); +const CallbackKind = { + UNKNOWN: 0, + DATA: 1, + ERROR: 2 +}; +const StreamKind = { + UNKNOWN: 0, + CANCEL: 1, + CANCEL_COMPLETE: 2, + CLOSE: 3, + ENQUEUE: 4, + ERROR: 5, + PULL: 6, + PULL_COMPLETE: 7, + START_COMPLETE: 8 +}; +function wrapReason(reason) { + if (!(reason instanceof Error || typeof reason === "object" && reason !== null)) { + (0, _util.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'); + } + switch (reason.name) { + case "AbortException": + return new _util.AbortException(reason.message); + case "MissingPDFException": + return new _util.MissingPDFException(reason.message); + case "PasswordException": + return new _util.PasswordException(reason.message, reason.code); + case "UnexpectedResponseException": + return new _util.UnexpectedResponseException(reason.message, reason.status); + case "UnknownErrorException": + return new _util.UnknownErrorException(reason.message, reason.details); + default: + return new _util.UnknownErrorException(reason.message, reason.toString()); + } +} +class MessageHandler { + constructor(sourceName, targetName, comObj) { + this.sourceName = sourceName; + this.targetName = targetName; + this.comObj = comObj; + this.callbackId = 1; + this.streamId = 1; + this.streamSinks = Object.create(null); + this.streamControllers = Object.create(null); + this.callbackCapabilities = Object.create(null); + this.actionHandler = Object.create(null); + this._onComObjOnMessage = event => { + const data = event.data; + if (data.targetName !== this.sourceName) { + return; + } + if (data.stream) { + this.#processStreamMessage(data); + return; + } + if (data.callback) { + const callbackId = data.callbackId; + const capability = this.callbackCapabilities[callbackId]; + if (!capability) { + throw new Error(`Cannot resolve callback ${callbackId}`); + } + delete this.callbackCapabilities[callbackId]; + if (data.callback === CallbackKind.DATA) { + capability.resolve(data.data); + } else if (data.callback === CallbackKind.ERROR) { + capability.reject(wrapReason(data.reason)); + } else { + throw new Error("Unexpected callback case"); + } + return; + } + const action = this.actionHandler[data.action]; + if (!action) { + throw new Error(`Unknown action from worker: ${data.action}`); + } + if (data.callbackId) { + const cbSourceName = this.sourceName; + const cbTargetName = data.sourceName; + new Promise(function (resolve) { + resolve(action(data.data)); + }).then(function (result) { + comObj.postMessage({ + sourceName: cbSourceName, + targetName: cbTargetName, + callback: CallbackKind.DATA, + callbackId: data.callbackId, + data: result + }); + }, function (reason) { + comObj.postMessage({ + sourceName: cbSourceName, + targetName: cbTargetName, + callback: CallbackKind.ERROR, + callbackId: data.callbackId, + reason: wrapReason(reason) + }); + }); + return; + } + if (data.streamId) { + this.#createStreamSink(data); + return; + } + action(data.data); + }; + comObj.addEventListener("message", this._onComObjOnMessage); + } + on(actionName, handler) { + const ah = this.actionHandler; + if (ah[actionName]) { + throw new Error(`There is already an actionName called "${actionName}"`); + } + ah[actionName] = handler; + } + send(actionName, data, transfers) { + this.comObj.postMessage({ + sourceName: this.sourceName, + targetName: this.targetName, + action: actionName, + data + }, transfers); + } + sendWithPromise(actionName, data, transfers) { + const callbackId = this.callbackId++; + const capability = new _util.PromiseCapability(); + this.callbackCapabilities[callbackId] = capability; + try { + this.comObj.postMessage({ + sourceName: this.sourceName, + targetName: this.targetName, + action: actionName, + callbackId, + data + }, transfers); + } catch (ex) { + capability.reject(ex); + } + return capability.promise; + } + sendWithStream(actionName, data, queueingStrategy, transfers) { + const streamId = this.streamId++, + sourceName = this.sourceName, + targetName = this.targetName, + comObj = this.comObj; + return new ReadableStream({ + start: controller => { + const startCapability = new _util.PromiseCapability(); + this.streamControllers[streamId] = { + controller, + startCall: startCapability, + pullCall: null, + cancelCall: null, + isClosed: false + }; + comObj.postMessage({ + sourceName, + targetName, + action: actionName, + streamId, + data, + desiredSize: controller.desiredSize + }, transfers); + return startCapability.promise; + }, + pull: controller => { + const pullCapability = new _util.PromiseCapability(); + this.streamControllers[streamId].pullCall = pullCapability; + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.PULL, + streamId, + desiredSize: controller.desiredSize + }); + return pullCapability.promise; + }, + cancel: reason => { + (0, _util.assert)(reason instanceof Error, "cancel must have a valid reason"); + const cancelCapability = new _util.PromiseCapability(); + this.streamControllers[streamId].cancelCall = cancelCapability; + this.streamControllers[streamId].isClosed = true; + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.CANCEL, + streamId, + reason: wrapReason(reason) + }); + return cancelCapability.promise; + } + }, queueingStrategy); + } + #createStreamSink(data) { + const streamId = data.streamId, + sourceName = this.sourceName, + targetName = data.sourceName, + comObj = this.comObj; + const self = this, + action = this.actionHandler[data.action]; + const streamSink = { + enqueue(chunk, size = 1, transfers) { + if (this.isCancelled) { + return; + } + const lastDesiredSize = this.desiredSize; + this.desiredSize -= size; + if (lastDesiredSize > 0 && this.desiredSize <= 0) { + this.sinkCapability = new _util.PromiseCapability(); + this.ready = this.sinkCapability.promise; + } + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.ENQUEUE, + streamId, + chunk + }, transfers); + }, + close() { + if (this.isCancelled) { + return; + } + this.isCancelled = true; + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.CLOSE, + streamId + }); + delete self.streamSinks[streamId]; + }, + error(reason) { + (0, _util.assert)(reason instanceof Error, "error must have a valid reason"); + if (this.isCancelled) { + return; + } + this.isCancelled = true; + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.ERROR, + streamId, + reason: wrapReason(reason) + }); + }, + sinkCapability: new _util.PromiseCapability(), + onPull: null, + onCancel: null, + isCancelled: false, + desiredSize: data.desiredSize, + ready: null + }; + streamSink.sinkCapability.resolve(); + streamSink.ready = streamSink.sinkCapability.promise; + this.streamSinks[streamId] = streamSink; + new Promise(function (resolve) { + resolve(action(data.data, streamSink)); + }).then(function () { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.START_COMPLETE, + streamId, + success: true + }); + }, function (reason) { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.START_COMPLETE, + streamId, + reason: wrapReason(reason) + }); + }); + } + #processStreamMessage(data) { + const streamId = data.streamId, + sourceName = this.sourceName, + targetName = data.sourceName, + comObj = this.comObj; + const streamController = this.streamControllers[streamId], + streamSink = this.streamSinks[streamId]; + switch (data.stream) { + case StreamKind.START_COMPLETE: + if (data.success) { + streamController.startCall.resolve(); + } else { + streamController.startCall.reject(wrapReason(data.reason)); + } + break; + case StreamKind.PULL_COMPLETE: + if (data.success) { + streamController.pullCall.resolve(); + } else { + streamController.pullCall.reject(wrapReason(data.reason)); + } + break; + case StreamKind.PULL: + if (!streamSink) { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.PULL_COMPLETE, + streamId, + success: true + }); + break; + } + if (streamSink.desiredSize <= 0 && data.desiredSize > 0) { + streamSink.sinkCapability.resolve(); + } + streamSink.desiredSize = data.desiredSize; + new Promise(function (resolve) { + resolve(streamSink.onPull?.()); + }).then(function () { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.PULL_COMPLETE, + streamId, + success: true + }); + }, function (reason) { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.PULL_COMPLETE, + streamId, + reason: wrapReason(reason) + }); + }); + break; + case StreamKind.ENQUEUE: + (0, _util.assert)(streamController, "enqueue should have stream controller"); + if (streamController.isClosed) { + break; + } + streamController.controller.enqueue(data.chunk); + break; + case StreamKind.CLOSE: + (0, _util.assert)(streamController, "close should have stream controller"); + if (streamController.isClosed) { + break; + } + streamController.isClosed = true; + streamController.controller.close(); + this.#deleteStreamController(streamController, streamId); + break; + case StreamKind.ERROR: + (0, _util.assert)(streamController, "error should have stream controller"); + streamController.controller.error(wrapReason(data.reason)); + this.#deleteStreamController(streamController, streamId); + break; + case StreamKind.CANCEL_COMPLETE: + if (data.success) { + streamController.cancelCall.resolve(); + } else { + streamController.cancelCall.reject(wrapReason(data.reason)); + } + this.#deleteStreamController(streamController, streamId); + break; + case StreamKind.CANCEL: + if (!streamSink) { + break; + } + new Promise(function (resolve) { + resolve(streamSink.onCancel?.(wrapReason(data.reason))); + }).then(function () { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.CANCEL_COMPLETE, + streamId, + success: true + }); + }, function (reason) { + comObj.postMessage({ + sourceName, + targetName, + stream: StreamKind.CANCEL_COMPLETE, + streamId, + reason: wrapReason(reason) + }); + }); + streamSink.sinkCapability.reject(wrapReason(data.reason)); + streamSink.isCancelled = true; + delete this.streamSinks[streamId]; + break; + default: + throw new Error("Unexpected stream case"); + } + } + async #deleteStreamController(streamController, streamId) { + await Promise.allSettled([streamController.startCall?.promise, streamController.pullCall?.promise, streamController.cancelCall?.promise]); + delete this.streamControllers[streamId]; + } + destroy() { + this.comObj.removeEventListener("message", this._onComObjOnMessage); + } +} +exports.MessageHandler = MessageHandler; + +/***/ }), +/* 16 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Metadata = void 0; +var _util = __w_pdfjs_require__(1); +class Metadata { + #metadataMap; + #data; + constructor({ + parsedData, + rawData + }) { + this.#metadataMap = parsedData; + this.#data = rawData; + } + getRaw() { + return this.#data; + } + get(name) { + return this.#metadataMap.get(name) ?? null; + } + getAll() { + return (0, _util.objectFromMap)(this.#metadataMap); + } + has(name) { + return this.#metadataMap.has(name); + } +} +exports.Metadata = Metadata; + +/***/ }), +/* 17 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.OptionalContentConfig = void 0; +var _util = __w_pdfjs_require__(1); +var _murmurhash = __w_pdfjs_require__(8); +const INTERNAL = Symbol("INTERNAL"); +class OptionalContentGroup { + #visible = true; + constructor(name, intent) { + this.name = name; + this.intent = intent; + } + get visible() { + return this.#visible; + } + _setVisible(internal, visible) { + if (internal !== INTERNAL) { + (0, _util.unreachable)("Internal method `_setVisible` called."); + } + this.#visible = visible; + } +} +class OptionalContentConfig { + #cachedGetHash = null; + #groups = new Map(); + #initialHash = null; + #order = null; + constructor(data) { + this.name = null; + this.creator = null; + if (data === null) { + return; + } + this.name = data.name; + this.creator = data.creator; + this.#order = data.order; + for (const group of data.groups) { + this.#groups.set(group.id, new OptionalContentGroup(group.name, group.intent)); + } + if (data.baseState === "OFF") { + for (const group of this.#groups.values()) { + group._setVisible(INTERNAL, false); + } + } + for (const on of data.on) { + this.#groups.get(on)._setVisible(INTERNAL, true); + } + for (const off of data.off) { + this.#groups.get(off)._setVisible(INTERNAL, false); + } + this.#initialHash = this.getHash(); + } + #evaluateVisibilityExpression(array) { + const length = array.length; + if (length < 2) { + return true; + } + const operator = array[0]; + for (let i = 1; i < length; i++) { + const element = array[i]; + let state; + if (Array.isArray(element)) { + state = this.#evaluateVisibilityExpression(element); + } else if (this.#groups.has(element)) { + state = this.#groups.get(element).visible; + } else { + (0, _util.warn)(`Optional content group not found: ${element}`); + return true; + } + switch (operator) { + case "And": + if (!state) { + return false; + } + break; + case "Or": + if (state) { + return true; + } + break; + case "Not": + return !state; + default: + return true; + } + } + return operator === "And"; + } + isVisible(group) { + if (this.#groups.size === 0) { + return true; + } + if (!group) { + (0, _util.warn)("Optional content group not defined."); + return true; + } + if (group.type === "OCG") { + if (!this.#groups.has(group.id)) { + (0, _util.warn)(`Optional content group not found: ${group.id}`); + return true; + } + return this.#groups.get(group.id).visible; + } else if (group.type === "OCMD") { + if (group.expression) { + return this.#evaluateVisibilityExpression(group.expression); + } + if (!group.policy || group.policy === "AnyOn") { + for (const id of group.ids) { + if (!this.#groups.has(id)) { + (0, _util.warn)(`Optional content group not found: ${id}`); + return true; + } + if (this.#groups.get(id).visible) { + return true; + } + } + return false; + } else if (group.policy === "AllOn") { + for (const id of group.ids) { + if (!this.#groups.has(id)) { + (0, _util.warn)(`Optional content group not found: ${id}`); + return true; + } + if (!this.#groups.get(id).visible) { + return false; + } + } + return true; + } else if (group.policy === "AnyOff") { + for (const id of group.ids) { + if (!this.#groups.has(id)) { + (0, _util.warn)(`Optional content group not found: ${id}`); + return true; + } + if (!this.#groups.get(id).visible) { + return true; + } + } + return false; + } else if (group.policy === "AllOff") { + for (const id of group.ids) { + if (!this.#groups.has(id)) { + (0, _util.warn)(`Optional content group not found: ${id}`); + return true; + } + if (this.#groups.get(id).visible) { + return false; + } + } + return true; + } + (0, _util.warn)(`Unknown optional content policy ${group.policy}.`); + return true; + } + (0, _util.warn)(`Unknown group type ${group.type}.`); + return true; + } + setVisibility(id, visible = true) { + if (!this.#groups.has(id)) { + (0, _util.warn)(`Optional content group not found: ${id}`); + return; + } + this.#groups.get(id)._setVisible(INTERNAL, !!visible); + this.#cachedGetHash = null; + } + get hasInitialVisibility() { + return this.getHash() === this.#initialHash; + } + getOrder() { + if (!this.#groups.size) { + return null; + } + if (this.#order) { + return this.#order.slice(); + } + return [...this.#groups.keys()]; + } + getGroups() { + return this.#groups.size > 0 ? (0, _util.objectFromMap)(this.#groups) : null; + } + getGroup(id) { + return this.#groups.get(id) || null; + } + getHash() { + if (this.#cachedGetHash !== null) { + return this.#cachedGetHash; + } + const hash = new _murmurhash.MurmurHash3_64(); + for (const [id, group] of this.#groups) { + hash.update(`${id}:${group.visible}`); + } + return this.#cachedGetHash = hash.hexdigest(); + } +} +exports.OptionalContentConfig = OptionalContentConfig; + +/***/ }), +/* 18 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFDataTransportStream = void 0; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +class PDFDataTransportStream { + constructor({ + length, + initialData, + progressiveDone = false, + contentDispositionFilename = null, + disableRange = false, + disableStream = false + }, pdfDataRangeTransport) { + (0, _util.assert)(pdfDataRangeTransport, 'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'); + this._queuedChunks = []; + this._progressiveDone = progressiveDone; + this._contentDispositionFilename = contentDispositionFilename; + if (initialData?.length > 0) { + const buffer = initialData instanceof Uint8Array && initialData.byteLength === initialData.buffer.byteLength ? initialData.buffer : new Uint8Array(initialData).buffer; + this._queuedChunks.push(buffer); + } + this._pdfDataRangeTransport = pdfDataRangeTransport; + this._isStreamingSupported = !disableStream; + this._isRangeSupported = !disableRange; + this._contentLength = length; + this._fullRequestReader = null; + this._rangeReaders = []; + this._pdfDataRangeTransport.addRangeListener((begin, chunk) => { + this._onReceiveData({ + begin, + chunk + }); + }); + this._pdfDataRangeTransport.addProgressListener((loaded, total) => { + this._onProgress({ + loaded, + total + }); + }); + this._pdfDataRangeTransport.addProgressiveReadListener(chunk => { + this._onReceiveData({ + chunk + }); + }); + this._pdfDataRangeTransport.addProgressiveDoneListener(() => { + this._onProgressiveDone(); + }); + this._pdfDataRangeTransport.transportReady(); + } + _onReceiveData({ + begin, + chunk + }) { + const buffer = chunk instanceof Uint8Array && chunk.byteLength === chunk.buffer.byteLength ? chunk.buffer : new Uint8Array(chunk).buffer; + if (begin === undefined) { + if (this._fullRequestReader) { + this._fullRequestReader._enqueue(buffer); + } else { + this._queuedChunks.push(buffer); + } + } else { + const found = this._rangeReaders.some(function (rangeReader) { + if (rangeReader._begin !== begin) { + return false; + } + rangeReader._enqueue(buffer); + return true; + }); + (0, _util.assert)(found, "_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found."); + } + } + get _progressiveDataLength() { + return this._fullRequestReader?._loaded ?? 0; + } + _onProgress(evt) { + if (evt.total === undefined) { + this._rangeReaders[0]?.onProgress?.({ + loaded: evt.loaded + }); + } else { + this._fullRequestReader?.onProgress?.({ + loaded: evt.loaded, + total: evt.total + }); + } + } + _onProgressiveDone() { + this._fullRequestReader?.progressiveDone(); + this._progressiveDone = true; + } + _removeRangeReader(reader) { + const i = this._rangeReaders.indexOf(reader); + if (i >= 0) { + this._rangeReaders.splice(i, 1); + } + } + getFullReader() { + (0, _util.assert)(!this._fullRequestReader, "PDFDataTransportStream.getFullReader can only be called once."); + const queuedChunks = this._queuedChunks; + this._queuedChunks = null; + return new PDFDataTransportStreamReader(this, queuedChunks, this._progressiveDone, this._contentDispositionFilename); + } + getRangeReader(begin, end) { + if (end <= this._progressiveDataLength) { + return null; + } + const reader = new PDFDataTransportStreamRangeReader(this, begin, end); + this._pdfDataRangeTransport.requestDataRange(begin, end); + this._rangeReaders.push(reader); + return reader; + } + cancelAllRequests(reason) { + this._fullRequestReader?.cancel(reason); + for (const reader of this._rangeReaders.slice(0)) { + reader.cancel(reason); + } + this._pdfDataRangeTransport.abort(); + } +} +exports.PDFDataTransportStream = PDFDataTransportStream; +class PDFDataTransportStreamReader { + constructor(stream, queuedChunks, progressiveDone = false, contentDispositionFilename = null) { + this._stream = stream; + this._done = progressiveDone || false; + this._filename = (0, _display_utils.isPdfFile)(contentDispositionFilename) ? contentDispositionFilename : null; + this._queuedChunks = queuedChunks || []; + this._loaded = 0; + for (const chunk of this._queuedChunks) { + this._loaded += chunk.byteLength; + } + this._requests = []; + this._headersReady = Promise.resolve(); + stream._fullRequestReader = this; + this.onProgress = null; + } + _enqueue(chunk) { + if (this._done) { + return; + } + if (this._requests.length > 0) { + const requestCapability = this._requests.shift(); + requestCapability.resolve({ + value: chunk, + done: false + }); + } else { + this._queuedChunks.push(chunk); + } + this._loaded += chunk.byteLength; + } + get headersReady() { + return this._headersReady; + } + get filename() { + return this._filename; + } + get isRangeSupported() { + return this._stream._isRangeSupported; + } + get isStreamingSupported() { + return this._stream._isStreamingSupported; + } + get contentLength() { + return this._stream._contentLength; + } + async read() { + if (this._queuedChunks.length > 0) { + const chunk = this._queuedChunks.shift(); + return { + value: chunk, + done: false + }; + } + if (this._done) { + return { + value: undefined, + done: true + }; + } + const requestCapability = new _util.PromiseCapability(); + this._requests.push(requestCapability); + return requestCapability.promise; + } + cancel(reason) { + this._done = true; + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + } + progressiveDone() { + if (this._done) { + return; + } + this._done = true; + } +} +class PDFDataTransportStreamRangeReader { + constructor(stream, begin, end) { + this._stream = stream; + this._begin = begin; + this._end = end; + this._queuedChunk = null; + this._requests = []; + this._done = false; + this.onProgress = null; + } + _enqueue(chunk) { + if (this._done) { + return; + } + if (this._requests.length === 0) { + this._queuedChunk = chunk; + } else { + const requestsCapability = this._requests.shift(); + requestsCapability.resolve({ + value: chunk, + done: false + }); + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + } + this._done = true; + this._stream._removeRangeReader(this); + } + get isStreamingSupported() { + return false; + } + async read() { + if (this._queuedChunk) { + const chunk = this._queuedChunk; + this._queuedChunk = null; + return { + value: chunk, + done: false + }; + } + if (this._done) { + return { + value: undefined, + done: true + }; + } + const requestCapability = new _util.PromiseCapability(); + this._requests.push(requestCapability); + return requestCapability.promise; + } + cancel(reason) { + this._done = true; + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + this._stream._removeRangeReader(this); + } +} + +/***/ }), +/* 19 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XfaText = void 0; +class XfaText { + static textContent(xfa) { + const items = []; + const output = { + items, + styles: Object.create(null) + }; + function walk(node) { + if (!node) { + return; + } + let str = null; + const name = node.name; + if (name === "#text") { + str = node.value; + } else if (!XfaText.shouldBuildText(name)) { + return; + } else if (node?.attributes?.textContent) { + str = node.attributes.textContent; + } else if (node.value) { + str = node.value; + } + if (str !== null) { + items.push({ + str + }); + } + if (!node.children) { + return; + } + for (const child of node.children) { + walk(child); + } + } + walk(xfa); + return output; + } + static shouldBuildText(name) { + return !(name === "textarea" || name === "input" || name === "option" || name === "select"); + } +} +exports.XfaText = XfaText; + +/***/ }), +/* 20 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NodeStandardFontDataFactory = exports.NodeFilterFactory = exports.NodeCanvasFactory = exports.NodeCMapReaderFactory = void 0; +var _base_factory = __w_pdfjs_require__(7); +; +const fetchData = function (url) { + return new Promise((resolve, reject) => { + const fs = require("fs"); + fs.readFile(url, (error, data) => { + if (error || !data) { + reject(new Error(error)); + return; + } + resolve(new Uint8Array(data)); + }); + }); +}; +class NodeFilterFactory extends _base_factory.BaseFilterFactory {} +exports.NodeFilterFactory = NodeFilterFactory; +class NodeCanvasFactory extends _base_factory.BaseCanvasFactory { + _createCanvas(width, height) { + const Canvas = require("canvas"); + return Canvas.createCanvas(width, height); + } +} +exports.NodeCanvasFactory = NodeCanvasFactory; +class NodeCMapReaderFactory extends _base_factory.BaseCMapReaderFactory { + _fetchData(url, compressionType) { + return fetchData(url).then(data => { + return { + cMapData: data, + compressionType + }; + }); + } +} +exports.NodeCMapReaderFactory = NodeCMapReaderFactory; +class NodeStandardFontDataFactory extends _base_factory.BaseStandardFontDataFactory { + _fetchData(url) { + return fetchData(url); + } +} +exports.NodeStandardFontDataFactory = NodeStandardFontDataFactory; + +/***/ }), +/* 21 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFNodeStream = void 0; +var _util = __w_pdfjs_require__(1); +var _network_utils = __w_pdfjs_require__(22); +; +const fs = require("fs"); +const http = require("http"); +const https = require("https"); +const url = require("url"); +const fileUriRegex = /^file:\/\/\/[a-zA-Z]:\//; +function parseUrl(sourceUrl) { + const parsedUrl = url.parse(sourceUrl); + if (parsedUrl.protocol === "file:" || parsedUrl.host) { + return parsedUrl; + } + if (/^[a-z]:[/\\]/i.test(sourceUrl)) { + return url.parse(`file:///${sourceUrl}`); + } + if (!parsedUrl.host) { + parsedUrl.protocol = "file:"; + } + return parsedUrl; +} +class PDFNodeStream { + constructor(source) { + this.source = source; + this.url = parseUrl(source.url); + this.isHttp = this.url.protocol === "http:" || this.url.protocol === "https:"; + this.isFsUrl = this.url.protocol === "file:"; + this.httpHeaders = this.isHttp && source.httpHeaders || {}; + this._fullRequestReader = null; + this._rangeRequestReaders = []; + } + get _progressiveDataLength() { + return this._fullRequestReader?._loaded ?? 0; + } + getFullReader() { + (0, _util.assert)(!this._fullRequestReader, "PDFNodeStream.getFullReader can only be called once."); + this._fullRequestReader = this.isFsUrl ? new PDFNodeStreamFsFullReader(this) : new PDFNodeStreamFullReader(this); + return this._fullRequestReader; + } + getRangeReader(start, end) { + if (end <= this._progressiveDataLength) { + return null; + } + const rangeReader = this.isFsUrl ? new PDFNodeStreamFsRangeReader(this, start, end) : new PDFNodeStreamRangeReader(this, start, end); + this._rangeRequestReaders.push(rangeReader); + return rangeReader; + } + cancelAllRequests(reason) { + this._fullRequestReader?.cancel(reason); + for (const reader of this._rangeRequestReaders.slice(0)) { + reader.cancel(reason); + } + } +} +exports.PDFNodeStream = PDFNodeStream; +class BaseFullReader { + constructor(stream) { + this._url = stream.url; + this._done = false; + this._storedError = null; + this.onProgress = null; + const source = stream.source; + this._contentLength = source.length; + this._loaded = 0; + this._filename = null; + this._disableRange = source.disableRange || false; + this._rangeChunkSize = source.rangeChunkSize; + if (!this._rangeChunkSize && !this._disableRange) { + this._disableRange = true; + } + this._isStreamingSupported = !source.disableStream; + this._isRangeSupported = !source.disableRange; + this._readableStream = null; + this._readCapability = new _util.PromiseCapability(); + this._headersCapability = new _util.PromiseCapability(); + } + get headersReady() { + return this._headersCapability.promise; + } + get filename() { + return this._filename; + } + get contentLength() { + return this._contentLength; + } + get isRangeSupported() { + return this._isRangeSupported; + } + get isStreamingSupported() { + return this._isStreamingSupported; + } + async read() { + await this._readCapability.promise; + if (this._done) { + return { + value: undefined, + done: true + }; + } + if (this._storedError) { + throw this._storedError; + } + const chunk = this._readableStream.read(); + if (chunk === null) { + this._readCapability = new _util.PromiseCapability(); + return this.read(); + } + this._loaded += chunk.length; + this.onProgress?.({ + loaded: this._loaded, + total: this._contentLength + }); + const buffer = new Uint8Array(chunk).buffer; + return { + value: buffer, + done: false + }; + } + cancel(reason) { + if (!this._readableStream) { + this._error(reason); + return; + } + this._readableStream.destroy(reason); + } + _error(reason) { + this._storedError = reason; + this._readCapability.resolve(); + } + _setReadableStream(readableStream) { + this._readableStream = readableStream; + readableStream.on("readable", () => { + this._readCapability.resolve(); + }); + readableStream.on("end", () => { + readableStream.destroy(); + this._done = true; + this._readCapability.resolve(); + }); + readableStream.on("error", reason => { + this._error(reason); + }); + if (!this._isStreamingSupported && this._isRangeSupported) { + this._error(new _util.AbortException("streaming is disabled")); + } + if (this._storedError) { + this._readableStream.destroy(this._storedError); + } + } +} +class BaseRangeReader { + constructor(stream) { + this._url = stream.url; + this._done = false; + this._storedError = null; + this.onProgress = null; + this._loaded = 0; + this._readableStream = null; + this._readCapability = new _util.PromiseCapability(); + const source = stream.source; + this._isStreamingSupported = !source.disableStream; + } + get isStreamingSupported() { + return this._isStreamingSupported; + } + async read() { + await this._readCapability.promise; + if (this._done) { + return { + value: undefined, + done: true + }; + } + if (this._storedError) { + throw this._storedError; + } + const chunk = this._readableStream.read(); + if (chunk === null) { + this._readCapability = new _util.PromiseCapability(); + return this.read(); + } + this._loaded += chunk.length; + this.onProgress?.({ + loaded: this._loaded + }); + const buffer = new Uint8Array(chunk).buffer; + return { + value: buffer, + done: false + }; + } + cancel(reason) { + if (!this._readableStream) { + this._error(reason); + return; + } + this._readableStream.destroy(reason); + } + _error(reason) { + this._storedError = reason; + this._readCapability.resolve(); + } + _setReadableStream(readableStream) { + this._readableStream = readableStream; + readableStream.on("readable", () => { + this._readCapability.resolve(); + }); + readableStream.on("end", () => { + readableStream.destroy(); + this._done = true; + this._readCapability.resolve(); + }); + readableStream.on("error", reason => { + this._error(reason); + }); + if (this._storedError) { + this._readableStream.destroy(this._storedError); + } + } +} +function createRequestOptions(parsedUrl, headers) { + return { + protocol: parsedUrl.protocol, + auth: parsedUrl.auth, + host: parsedUrl.hostname, + port: parsedUrl.port, + path: parsedUrl.path, + method: "GET", + headers + }; +} +class PDFNodeStreamFullReader extends BaseFullReader { + constructor(stream) { + super(stream); + const handleResponse = response => { + if (response.statusCode === 404) { + const error = new _util.MissingPDFException(`Missing PDF "${this._url}".`); + this._storedError = error; + this._headersCapability.reject(error); + return; + } + this._headersCapability.resolve(); + this._setReadableStream(response); + const getResponseHeader = name => { + return this._readableStream.headers[name.toLowerCase()]; + }; + const { + allowRangeRequests, + suggestedLength + } = (0, _network_utils.validateRangeRequestCapabilities)({ + getResponseHeader, + isHttp: stream.isHttp, + rangeChunkSize: this._rangeChunkSize, + disableRange: this._disableRange + }); + this._isRangeSupported = allowRangeRequests; + this._contentLength = suggestedLength || this._contentLength; + this._filename = (0, _network_utils.extractFilenameFromHeader)(getResponseHeader); + }; + this._request = null; + if (this._url.protocol === "http:") { + this._request = http.request(createRequestOptions(this._url, stream.httpHeaders), handleResponse); + } else { + this._request = https.request(createRequestOptions(this._url, stream.httpHeaders), handleResponse); + } + this._request.on("error", reason => { + this._storedError = reason; + this._headersCapability.reject(reason); + }); + this._request.end(); + } +} +class PDFNodeStreamRangeReader extends BaseRangeReader { + constructor(stream, start, end) { + super(stream); + this._httpHeaders = {}; + for (const property in stream.httpHeaders) { + const value = stream.httpHeaders[property]; + if (value === undefined) { + continue; + } + this._httpHeaders[property] = value; + } + this._httpHeaders.Range = `bytes=${start}-${end - 1}`; + const handleResponse = response => { + if (response.statusCode === 404) { + const error = new _util.MissingPDFException(`Missing PDF "${this._url}".`); + this._storedError = error; + return; + } + this._setReadableStream(response); + }; + this._request = null; + if (this._url.protocol === "http:") { + this._request = http.request(createRequestOptions(this._url, this._httpHeaders), handleResponse); + } else { + this._request = https.request(createRequestOptions(this._url, this._httpHeaders), handleResponse); + } + this._request.on("error", reason => { + this._storedError = reason; + }); + this._request.end(); + } +} +class PDFNodeStreamFsFullReader extends BaseFullReader { + constructor(stream) { + super(stream); + let path = decodeURIComponent(this._url.path); + if (fileUriRegex.test(this._url.href)) { + path = path.replace(/^\//, ""); + } + fs.lstat(path, (error, stat) => { + if (error) { + if (error.code === "ENOENT") { + error = new _util.MissingPDFException(`Missing PDF "${path}".`); + } + this._storedError = error; + this._headersCapability.reject(error); + return; + } + this._contentLength = stat.size; + this._setReadableStream(fs.createReadStream(path)); + this._headersCapability.resolve(); + }); + } +} +class PDFNodeStreamFsRangeReader extends BaseRangeReader { + constructor(stream, start, end) { + super(stream); + let path = decodeURIComponent(this._url.path); + if (fileUriRegex.test(this._url.href)) { + path = path.replace(/^\//, ""); + } + this._setReadableStream(fs.createReadStream(path, { + start, + end: end - 1 + })); + } +} + +/***/ }), +/* 22 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.createResponseStatusError = createResponseStatusError; +exports.extractFilenameFromHeader = extractFilenameFromHeader; +exports.validateRangeRequestCapabilities = validateRangeRequestCapabilities; +exports.validateResponseStatus = validateResponseStatus; +var _util = __w_pdfjs_require__(1); +var _content_disposition = __w_pdfjs_require__(23); +var _display_utils = __w_pdfjs_require__(6); +function validateRangeRequestCapabilities({ + getResponseHeader, + isHttp, + rangeChunkSize, + disableRange +}) { + const returnValues = { + allowRangeRequests: false, + suggestedLength: undefined + }; + const length = parseInt(getResponseHeader("Content-Length"), 10); + if (!Number.isInteger(length)) { + return returnValues; + } + returnValues.suggestedLength = length; + if (length <= 2 * rangeChunkSize) { + return returnValues; + } + if (disableRange || !isHttp) { + return returnValues; + } + if (getResponseHeader("Accept-Ranges") !== "bytes") { + return returnValues; + } + const contentEncoding = getResponseHeader("Content-Encoding") || "identity"; + if (contentEncoding !== "identity") { + return returnValues; + } + returnValues.allowRangeRequests = true; + return returnValues; +} +function extractFilenameFromHeader(getResponseHeader) { + const contentDisposition = getResponseHeader("Content-Disposition"); + if (contentDisposition) { + let filename = (0, _content_disposition.getFilenameFromContentDispositionHeader)(contentDisposition); + if (filename.includes("%")) { + try { + filename = decodeURIComponent(filename); + } catch {} + } + if ((0, _display_utils.isPdfFile)(filename)) { + return filename; + } + } + return null; +} +function createResponseStatusError(status, url) { + if (status === 404 || status === 0 && url.startsWith("file:")) { + return new _util.MissingPDFException('Missing PDF "' + url + '".'); + } + return new _util.UnexpectedResponseException(`Unexpected server response (${status}) while retrieving PDF "${url}".`, status); +} +function validateResponseStatus(status) { + return status === 200 || status === 206; +} + +/***/ }), +/* 23 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getFilenameFromContentDispositionHeader = getFilenameFromContentDispositionHeader; +var _util = __w_pdfjs_require__(1); +function getFilenameFromContentDispositionHeader(contentDisposition) { + let needsEncodingFixup = true; + let tmp = toParamRegExp("filename\\*", "i").exec(contentDisposition); + if (tmp) { + tmp = tmp[1]; + let filename = rfc2616unquote(tmp); + filename = unescape(filename); + filename = rfc5987decode(filename); + filename = rfc2047decode(filename); + return fixupEncoding(filename); + } + tmp = rfc2231getparam(contentDisposition); + if (tmp) { + const filename = rfc2047decode(tmp); + return fixupEncoding(filename); + } + tmp = toParamRegExp("filename", "i").exec(contentDisposition); + if (tmp) { + tmp = tmp[1]; + let filename = rfc2616unquote(tmp); + filename = rfc2047decode(filename); + return fixupEncoding(filename); + } + function toParamRegExp(attributePattern, flags) { + return new RegExp("(?:^|;)\\s*" + attributePattern + "\\s*=\\s*" + "(" + '[^";\\s][^;\\s]*' + "|" + '"(?:[^"\\\\]|\\\\"?)+"?' + ")", flags); + } + function textdecode(encoding, value) { + if (encoding) { + if (!/^[\x00-\xFF]+$/.test(value)) { + return value; + } + try { + const decoder = new TextDecoder(encoding, { + fatal: true + }); + const buffer = (0, _util.stringToBytes)(value); + value = decoder.decode(buffer); + needsEncodingFixup = false; + } catch {} + } + return value; + } + function fixupEncoding(value) { + if (needsEncodingFixup && /[\x80-\xff]/.test(value)) { + value = textdecode("utf-8", value); + if (needsEncodingFixup) { + value = textdecode("iso-8859-1", value); + } + } + return value; + } + function rfc2231getparam(contentDispositionStr) { + const matches = []; + let match; + const iter = toParamRegExp("filename\\*((?!0\\d)\\d+)(\\*?)", "ig"); + while ((match = iter.exec(contentDispositionStr)) !== null) { + let [, n, quot, part] = match; + n = parseInt(n, 10); + if (n in matches) { + if (n === 0) { + break; + } + continue; + } + matches[n] = [quot, part]; + } + const parts = []; + for (let n = 0; n < matches.length; ++n) { + if (!(n in matches)) { + break; + } + let [quot, part] = matches[n]; + part = rfc2616unquote(part); + if (quot) { + part = unescape(part); + if (n === 0) { + part = rfc5987decode(part); + } + } + parts.push(part); + } + return parts.join(""); + } + function rfc2616unquote(value) { + if (value.startsWith('"')) { + const parts = value.slice(1).split('\\"'); + for (let i = 0; i < parts.length; ++i) { + const quotindex = parts[i].indexOf('"'); + if (quotindex !== -1) { + parts[i] = parts[i].slice(0, quotindex); + parts.length = i + 1; + } + parts[i] = parts[i].replaceAll(/\\(.)/g, "$1"); + } + value = parts.join('"'); + } + return value; + } + function rfc5987decode(extvalue) { + const encodingend = extvalue.indexOf("'"); + if (encodingend === -1) { + return extvalue; + } + const encoding = extvalue.slice(0, encodingend); + const langvalue = extvalue.slice(encodingend + 1); + const value = langvalue.replace(/^[^']*'/, ""); + return textdecode(encoding, value); + } + function rfc2047decode(value) { + if (!value.startsWith("=?") || /[\x00-\x19\x80-\xff]/.test(value)) { + return value; + } + return value.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g, function (matches, charset, encoding, text) { + if (encoding === "q" || encoding === "Q") { + text = text.replaceAll("_", " "); + text = text.replaceAll(/=([0-9a-fA-F]{2})/g, function (match, hex) { + return String.fromCharCode(parseInt(hex, 16)); + }); + return textdecode(charset, text); + } + try { + text = atob(text); + } catch {} + return textdecode(charset, text); + }); + } + return ""; +} + +/***/ }), +/* 24 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFNetworkStream = void 0; +var _util = __w_pdfjs_require__(1); +var _network_utils = __w_pdfjs_require__(22); +; +const OK_RESPONSE = 200; +const PARTIAL_CONTENT_RESPONSE = 206; +function getArrayBuffer(xhr) { + const data = xhr.response; + if (typeof data !== "string") { + return data; + } + return (0, _util.stringToBytes)(data).buffer; +} +class NetworkManager { + constructor(url, args = {}) { + this.url = url; + this.isHttp = /^https?:/i.test(url); + this.httpHeaders = this.isHttp && args.httpHeaders || Object.create(null); + this.withCredentials = args.withCredentials || false; + this.currXhrId = 0; + this.pendingRequests = Object.create(null); + } + requestRange(begin, end, listeners) { + const args = { + begin, + end + }; + for (const prop in listeners) { + args[prop] = listeners[prop]; + } + return this.request(args); + } + requestFull(listeners) { + return this.request(listeners); + } + request(args) { + const xhr = new XMLHttpRequest(); + const xhrId = this.currXhrId++; + const pendingRequest = this.pendingRequests[xhrId] = { + xhr + }; + xhr.open("GET", this.url); + xhr.withCredentials = this.withCredentials; + for (const property in this.httpHeaders) { + const value = this.httpHeaders[property]; + if (value === undefined) { + continue; + } + xhr.setRequestHeader(property, value); + } + if (this.isHttp && "begin" in args && "end" in args) { + xhr.setRequestHeader("Range", `bytes=${args.begin}-${args.end - 1}`); + pendingRequest.expectedStatus = PARTIAL_CONTENT_RESPONSE; + } else { + pendingRequest.expectedStatus = OK_RESPONSE; + } + xhr.responseType = "arraybuffer"; + if (args.onError) { + xhr.onerror = function (evt) { + args.onError(xhr.status); + }; + } + xhr.onreadystatechange = this.onStateChange.bind(this, xhrId); + xhr.onprogress = this.onProgress.bind(this, xhrId); + pendingRequest.onHeadersReceived = args.onHeadersReceived; + pendingRequest.onDone = args.onDone; + pendingRequest.onError = args.onError; + pendingRequest.onProgress = args.onProgress; + xhr.send(null); + return xhrId; + } + onProgress(xhrId, evt) { + const pendingRequest = this.pendingRequests[xhrId]; + if (!pendingRequest) { + return; + } + pendingRequest.onProgress?.(evt); + } + onStateChange(xhrId, evt) { + const pendingRequest = this.pendingRequests[xhrId]; + if (!pendingRequest) { + return; + } + const xhr = pendingRequest.xhr; + if (xhr.readyState >= 2 && pendingRequest.onHeadersReceived) { + pendingRequest.onHeadersReceived(); + delete pendingRequest.onHeadersReceived; + } + if (xhr.readyState !== 4) { + return; + } + if (!(xhrId in this.pendingRequests)) { + return; + } + delete this.pendingRequests[xhrId]; + if (xhr.status === 0 && this.isHttp) { + pendingRequest.onError?.(xhr.status); + return; + } + const xhrStatus = xhr.status || OK_RESPONSE; + const ok_response_on_range_request = xhrStatus === OK_RESPONSE && pendingRequest.expectedStatus === PARTIAL_CONTENT_RESPONSE; + if (!ok_response_on_range_request && xhrStatus !== pendingRequest.expectedStatus) { + pendingRequest.onError?.(xhr.status); + return; + } + const chunk = getArrayBuffer(xhr); + if (xhrStatus === PARTIAL_CONTENT_RESPONSE) { + const rangeHeader = xhr.getResponseHeader("Content-Range"); + const matches = /bytes (\d+)-(\d+)\/(\d+)/.exec(rangeHeader); + pendingRequest.onDone({ + begin: parseInt(matches[1], 10), + chunk + }); + } else if (chunk) { + pendingRequest.onDone({ + begin: 0, + chunk + }); + } else { + pendingRequest.onError?.(xhr.status); + } + } + getRequestXhr(xhrId) { + return this.pendingRequests[xhrId].xhr; + } + isPendingRequest(xhrId) { + return xhrId in this.pendingRequests; + } + abortRequest(xhrId) { + const xhr = this.pendingRequests[xhrId].xhr; + delete this.pendingRequests[xhrId]; + xhr.abort(); + } +} +class PDFNetworkStream { + constructor(source) { + this._source = source; + this._manager = new NetworkManager(source.url, { + httpHeaders: source.httpHeaders, + withCredentials: source.withCredentials + }); + this._rangeChunkSize = source.rangeChunkSize; + this._fullRequestReader = null; + this._rangeRequestReaders = []; + } + _onRangeRequestReaderClosed(reader) { + const i = this._rangeRequestReaders.indexOf(reader); + if (i >= 0) { + this._rangeRequestReaders.splice(i, 1); + } + } + getFullReader() { + (0, _util.assert)(!this._fullRequestReader, "PDFNetworkStream.getFullReader can only be called once."); + this._fullRequestReader = new PDFNetworkStreamFullRequestReader(this._manager, this._source); + return this._fullRequestReader; + } + getRangeReader(begin, end) { + const reader = new PDFNetworkStreamRangeRequestReader(this._manager, begin, end); + reader.onClosed = this._onRangeRequestReaderClosed.bind(this); + this._rangeRequestReaders.push(reader); + return reader; + } + cancelAllRequests(reason) { + this._fullRequestReader?.cancel(reason); + for (const reader of this._rangeRequestReaders.slice(0)) { + reader.cancel(reason); + } + } +} +exports.PDFNetworkStream = PDFNetworkStream; +class PDFNetworkStreamFullRequestReader { + constructor(manager, source) { + this._manager = manager; + const args = { + onHeadersReceived: this._onHeadersReceived.bind(this), + onDone: this._onDone.bind(this), + onError: this._onError.bind(this), + onProgress: this._onProgress.bind(this) + }; + this._url = source.url; + this._fullRequestId = manager.requestFull(args); + this._headersReceivedCapability = new _util.PromiseCapability(); + this._disableRange = source.disableRange || false; + this._contentLength = source.length; + this._rangeChunkSize = source.rangeChunkSize; + if (!this._rangeChunkSize && !this._disableRange) { + this._disableRange = true; + } + this._isStreamingSupported = false; + this._isRangeSupported = false; + this._cachedChunks = []; + this._requests = []; + this._done = false; + this._storedError = undefined; + this._filename = null; + this.onProgress = null; + } + _onHeadersReceived() { + const fullRequestXhrId = this._fullRequestId; + const fullRequestXhr = this._manager.getRequestXhr(fullRequestXhrId); + const getResponseHeader = name => { + return fullRequestXhr.getResponseHeader(name); + }; + const { + allowRangeRequests, + suggestedLength + } = (0, _network_utils.validateRangeRequestCapabilities)({ + getResponseHeader, + isHttp: this._manager.isHttp, + rangeChunkSize: this._rangeChunkSize, + disableRange: this._disableRange + }); + if (allowRangeRequests) { + this._isRangeSupported = true; + } + this._contentLength = suggestedLength || this._contentLength; + this._filename = (0, _network_utils.extractFilenameFromHeader)(getResponseHeader); + if (this._isRangeSupported) { + this._manager.abortRequest(fullRequestXhrId); + } + this._headersReceivedCapability.resolve(); + } + _onDone(data) { + if (data) { + if (this._requests.length > 0) { + const requestCapability = this._requests.shift(); + requestCapability.resolve({ + value: data.chunk, + done: false + }); + } else { + this._cachedChunks.push(data.chunk); + } + } + this._done = true; + if (this._cachedChunks.length > 0) { + return; + } + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + } + _onError(status) { + this._storedError = (0, _network_utils.createResponseStatusError)(status, this._url); + this._headersReceivedCapability.reject(this._storedError); + for (const requestCapability of this._requests) { + requestCapability.reject(this._storedError); + } + this._requests.length = 0; + this._cachedChunks.length = 0; + } + _onProgress(evt) { + this.onProgress?.({ + loaded: evt.loaded, + total: evt.lengthComputable ? evt.total : this._contentLength + }); + } + get filename() { + return this._filename; + } + get isRangeSupported() { + return this._isRangeSupported; + } + get isStreamingSupported() { + return this._isStreamingSupported; + } + get contentLength() { + return this._contentLength; + } + get headersReady() { + return this._headersReceivedCapability.promise; + } + async read() { + if (this._storedError) { + throw this._storedError; + } + if (this._cachedChunks.length > 0) { + const chunk = this._cachedChunks.shift(); + return { + value: chunk, + done: false + }; + } + if (this._done) { + return { + value: undefined, + done: true + }; + } + const requestCapability = new _util.PromiseCapability(); + this._requests.push(requestCapability); + return requestCapability.promise; + } + cancel(reason) { + this._done = true; + this._headersReceivedCapability.reject(reason); + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + if (this._manager.isPendingRequest(this._fullRequestId)) { + this._manager.abortRequest(this._fullRequestId); + } + this._fullRequestReader = null; + } +} +class PDFNetworkStreamRangeRequestReader { + constructor(manager, begin, end) { + this._manager = manager; + const args = { + onDone: this._onDone.bind(this), + onError: this._onError.bind(this), + onProgress: this._onProgress.bind(this) + }; + this._url = manager.url; + this._requestId = manager.requestRange(begin, end, args); + this._requests = []; + this._queuedChunk = null; + this._done = false; + this._storedError = undefined; + this.onProgress = null; + this.onClosed = null; + } + _close() { + this.onClosed?.(this); + } + _onDone(data) { + const chunk = data.chunk; + if (this._requests.length > 0) { + const requestCapability = this._requests.shift(); + requestCapability.resolve({ + value: chunk, + done: false + }); + } else { + this._queuedChunk = chunk; + } + this._done = true; + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + this._close(); + } + _onError(status) { + this._storedError = (0, _network_utils.createResponseStatusError)(status, this._url); + for (const requestCapability of this._requests) { + requestCapability.reject(this._storedError); + } + this._requests.length = 0; + this._queuedChunk = null; + } + _onProgress(evt) { + if (!this.isStreamingSupported) { + this.onProgress?.({ + loaded: evt.loaded + }); + } + } + get isStreamingSupported() { + return false; + } + async read() { + if (this._storedError) { + throw this._storedError; + } + if (this._queuedChunk !== null) { + const chunk = this._queuedChunk; + this._queuedChunk = null; + return { + value: chunk, + done: false + }; + } + if (this._done) { + return { + value: undefined, + done: true + }; + } + const requestCapability = new _util.PromiseCapability(); + this._requests.push(requestCapability); + return requestCapability.promise; + } + cancel(reason) { + this._done = true; + for (const requestCapability of this._requests) { + requestCapability.resolve({ + value: undefined, + done: true + }); + } + this._requests.length = 0; + if (this._manager.isPendingRequest(this._requestId)) { + this._manager.abortRequest(this._requestId); + } + this._close(); + } +} + +/***/ }), +/* 25 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFFetchStream = void 0; +var _util = __w_pdfjs_require__(1); +var _network_utils = __w_pdfjs_require__(22); +; +function createFetchOptions(headers, withCredentials, abortController) { + return { + method: "GET", + headers, + signal: abortController.signal, + mode: "cors", + credentials: withCredentials ? "include" : "same-origin", + redirect: "follow" + }; +} +function createHeaders(httpHeaders) { + const headers = new Headers(); + for (const property in httpHeaders) { + const value = httpHeaders[property]; + if (value === undefined) { + continue; + } + headers.append(property, value); + } + return headers; +} +function getArrayBuffer(val) { + if (val instanceof Uint8Array) { + return val.buffer; + } + if (val instanceof ArrayBuffer) { + return val; + } + (0, _util.warn)(`getArrayBuffer - unexpected data format: ${val}`); + return new Uint8Array(val).buffer; +} +class PDFFetchStream { + constructor(source) { + this.source = source; + this.isHttp = /^https?:/i.test(source.url); + this.httpHeaders = this.isHttp && source.httpHeaders || {}; + this._fullRequestReader = null; + this._rangeRequestReaders = []; + } + get _progressiveDataLength() { + return this._fullRequestReader?._loaded ?? 0; + } + getFullReader() { + (0, _util.assert)(!this._fullRequestReader, "PDFFetchStream.getFullReader can only be called once."); + this._fullRequestReader = new PDFFetchStreamReader(this); + return this._fullRequestReader; + } + getRangeReader(begin, end) { + if (end <= this._progressiveDataLength) { + return null; + } + const reader = new PDFFetchStreamRangeReader(this, begin, end); + this._rangeRequestReaders.push(reader); + return reader; + } + cancelAllRequests(reason) { + this._fullRequestReader?.cancel(reason); + for (const reader of this._rangeRequestReaders.slice(0)) { + reader.cancel(reason); + } + } +} +exports.PDFFetchStream = PDFFetchStream; +class PDFFetchStreamReader { + constructor(stream) { + this._stream = stream; + this._reader = null; + this._loaded = 0; + this._filename = null; + const source = stream.source; + this._withCredentials = source.withCredentials || false; + this._contentLength = source.length; + this._headersCapability = new _util.PromiseCapability(); + this._disableRange = source.disableRange || false; + this._rangeChunkSize = source.rangeChunkSize; + if (!this._rangeChunkSize && !this._disableRange) { + this._disableRange = true; + } + this._abortController = new AbortController(); + this._isStreamingSupported = !source.disableStream; + this._isRangeSupported = !source.disableRange; + this._headers = createHeaders(this._stream.httpHeaders); + const url = source.url; + fetch(url, createFetchOptions(this._headers, this._withCredentials, this._abortController)).then(response => { + if (!(0, _network_utils.validateResponseStatus)(response.status)) { + throw (0, _network_utils.createResponseStatusError)(response.status, url); + } + this._reader = response.body.getReader(); + this._headersCapability.resolve(); + const getResponseHeader = name => { + return response.headers.get(name); + }; + const { + allowRangeRequests, + suggestedLength + } = (0, _network_utils.validateRangeRequestCapabilities)({ + getResponseHeader, + isHttp: this._stream.isHttp, + rangeChunkSize: this._rangeChunkSize, + disableRange: this._disableRange + }); + this._isRangeSupported = allowRangeRequests; + this._contentLength = suggestedLength || this._contentLength; + this._filename = (0, _network_utils.extractFilenameFromHeader)(getResponseHeader); + if (!this._isStreamingSupported && this._isRangeSupported) { + this.cancel(new _util.AbortException("Streaming is disabled.")); + } + }).catch(this._headersCapability.reject); + this.onProgress = null; + } + get headersReady() { + return this._headersCapability.promise; + } + get filename() { + return this._filename; + } + get contentLength() { + return this._contentLength; + } + get isRangeSupported() { + return this._isRangeSupported; + } + get isStreamingSupported() { + return this._isStreamingSupported; + } + async read() { + await this._headersCapability.promise; + const { + value, + done + } = await this._reader.read(); + if (done) { + return { + value, + done + }; + } + this._loaded += value.byteLength; + this.onProgress?.({ + loaded: this._loaded, + total: this._contentLength + }); + return { + value: getArrayBuffer(value), + done: false + }; + } + cancel(reason) { + this._reader?.cancel(reason); + this._abortController.abort(); + } +} +class PDFFetchStreamRangeReader { + constructor(stream, begin, end) { + this._stream = stream; + this._reader = null; + this._loaded = 0; + const source = stream.source; + this._withCredentials = source.withCredentials || false; + this._readCapability = new _util.PromiseCapability(); + this._isStreamingSupported = !source.disableStream; + this._abortController = new AbortController(); + this._headers = createHeaders(this._stream.httpHeaders); + this._headers.append("Range", `bytes=${begin}-${end - 1}`); + const url = source.url; + fetch(url, createFetchOptions(this._headers, this._withCredentials, this._abortController)).then(response => { + if (!(0, _network_utils.validateResponseStatus)(response.status)) { + throw (0, _network_utils.createResponseStatusError)(response.status, url); + } + this._readCapability.resolve(); + this._reader = response.body.getReader(); + }).catch(this._readCapability.reject); + this.onProgress = null; + } + get isStreamingSupported() { + return this._isStreamingSupported; + } + async read() { + await this._readCapability.promise; + const { + value, + done + } = await this._reader.read(); + if (done) { + return { + value, + done + }; + } + this._loaded += value.byteLength; + this.onProgress?.({ + loaded: this._loaded + }); + return { + value: getArrayBuffer(value), + done: false + }; + } + cancel(reason) { + this._reader?.cancel(reason); + this._abortController.abort(); + } +} + +/***/ }), +/* 26 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TextLayerRenderTask = void 0; +exports.renderTextLayer = renderTextLayer; +exports.updateTextLayer = updateTextLayer; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +const MAX_TEXT_DIVS_TO_RENDER = 100000; +const DEFAULT_FONT_SIZE = 30; +const DEFAULT_FONT_ASCENT = 0.8; +const ascentCache = new Map(); +function getCtx(size, isOffscreenCanvasSupported) { + let ctx; + if (isOffscreenCanvasSupported && _util.FeatureTest.isOffscreenCanvasSupported) { + ctx = new OffscreenCanvas(size, size).getContext("2d", { + alpha: false + }); + } else { + const canvas = document.createElement("canvas"); + canvas.width = canvas.height = size; + ctx = canvas.getContext("2d", { + alpha: false + }); + } + return ctx; +} +function getAscent(fontFamily, isOffscreenCanvasSupported) { + const cachedAscent = ascentCache.get(fontFamily); + if (cachedAscent) { + return cachedAscent; + } + const ctx = getCtx(DEFAULT_FONT_SIZE, isOffscreenCanvasSupported); + ctx.font = `${DEFAULT_FONT_SIZE}px ${fontFamily}`; + const metrics = ctx.measureText(""); + let ascent = metrics.fontBoundingBoxAscent; + let descent = Math.abs(metrics.fontBoundingBoxDescent); + if (ascent) { + const ratio = ascent / (ascent + descent); + ascentCache.set(fontFamily, ratio); + ctx.canvas.width = ctx.canvas.height = 0; + return ratio; + } + ctx.strokeStyle = "red"; + ctx.clearRect(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE); + ctx.strokeText("g", 0, 0); + let pixels = ctx.getImageData(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE).data; + descent = 0; + for (let i = pixels.length - 1 - 3; i >= 0; i -= 4) { + if (pixels[i] > 0) { + descent = Math.ceil(i / 4 / DEFAULT_FONT_SIZE); + break; + } + } + ctx.clearRect(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE); + ctx.strokeText("A", 0, DEFAULT_FONT_SIZE); + pixels = ctx.getImageData(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE).data; + ascent = 0; + for (let i = 0, ii = pixels.length; i < ii; i += 4) { + if (pixels[i] > 0) { + ascent = DEFAULT_FONT_SIZE - Math.floor(i / 4 / DEFAULT_FONT_SIZE); + break; + } + } + ctx.canvas.width = ctx.canvas.height = 0; + if (ascent) { + const ratio = ascent / (ascent + descent); + ascentCache.set(fontFamily, ratio); + return ratio; + } + ascentCache.set(fontFamily, DEFAULT_FONT_ASCENT); + return DEFAULT_FONT_ASCENT; +} +function appendText(task, geom, styles) { + const textDiv = document.createElement("span"); + const textDivProperties = { + angle: 0, + canvasWidth: 0, + hasText: geom.str !== "", + hasEOL: geom.hasEOL, + fontSize: 0 + }; + task._textDivs.push(textDiv); + const tx = _util.Util.transform(task._transform, geom.transform); + let angle = Math.atan2(tx[1], tx[0]); + const style = styles[geom.fontName]; + if (style.vertical) { + angle += Math.PI / 2; + } + const fontHeight = Math.hypot(tx[2], tx[3]); + const fontAscent = fontHeight * getAscent(style.fontFamily, task._isOffscreenCanvasSupported); + let left, top; + if (angle === 0) { + left = tx[4]; + top = tx[5] - fontAscent; + } else { + left = tx[4] + fontAscent * Math.sin(angle); + top = tx[5] - fontAscent * Math.cos(angle); + } + const scaleFactorStr = "calc(var(--scale-factor)*"; + const divStyle = textDiv.style; + if (task._container === task._rootContainer) { + divStyle.left = `${(100 * left / task._pageWidth).toFixed(2)}%`; + divStyle.top = `${(100 * top / task._pageHeight).toFixed(2)}%`; + } else { + divStyle.left = `${scaleFactorStr}${left.toFixed(2)}px)`; + divStyle.top = `${scaleFactorStr}${top.toFixed(2)}px)`; + } + divStyle.fontSize = `${scaleFactorStr}${fontHeight.toFixed(2)}px)`; + divStyle.fontFamily = style.fontFamily; + textDivProperties.fontSize = fontHeight; + textDiv.setAttribute("role", "presentation"); + textDiv.textContent = geom.str; + textDiv.dir = geom.dir; + if (task._fontInspectorEnabled) { + textDiv.dataset.fontName = geom.fontName; + } + if (angle !== 0) { + textDivProperties.angle = angle * (180 / Math.PI); + } + let shouldScaleText = false; + if (geom.str.length > 1) { + shouldScaleText = true; + } else if (geom.str !== " " && geom.transform[0] !== geom.transform[3]) { + const absScaleX = Math.abs(geom.transform[0]), + absScaleY = Math.abs(geom.transform[3]); + if (absScaleX !== absScaleY && Math.max(absScaleX, absScaleY) / Math.min(absScaleX, absScaleY) > 1.5) { + shouldScaleText = true; + } + } + if (shouldScaleText) { + textDivProperties.canvasWidth = style.vertical ? geom.height : geom.width; + } + task._textDivProperties.set(textDiv, textDivProperties); + if (task._isReadableStream) { + task._layoutText(textDiv); + } +} +function layout(params) { + const { + div, + scale, + properties, + ctx, + prevFontSize, + prevFontFamily + } = params; + const { + style + } = div; + let transform = ""; + if (properties.canvasWidth !== 0 && properties.hasText) { + const { + fontFamily + } = style; + const { + canvasWidth, + fontSize + } = properties; + if (prevFontSize !== fontSize || prevFontFamily !== fontFamily) { + ctx.font = `${fontSize * scale}px ${fontFamily}`; + params.prevFontSize = fontSize; + params.prevFontFamily = fontFamily; + } + const { + width + } = ctx.measureText(div.textContent); + if (width > 0) { + transform = `scaleX(${canvasWidth * scale / width})`; + } + } + if (properties.angle !== 0) { + transform = `rotate(${properties.angle}deg) ${transform}`; + } + if (transform.length > 0) { + style.transform = transform; + } +} +function render(task) { + if (task._canceled) { + return; + } + const textDivs = task._textDivs; + const capability = task._capability; + const textDivsLength = textDivs.length; + if (textDivsLength > MAX_TEXT_DIVS_TO_RENDER) { + capability.resolve(); + return; + } + if (!task._isReadableStream) { + for (const textDiv of textDivs) { + task._layoutText(textDiv); + } + } + capability.resolve(); +} +class TextLayerRenderTask { + constructor({ + textContentSource, + container, + viewport, + textDivs, + textDivProperties, + textContentItemsStr, + isOffscreenCanvasSupported + }) { + this._textContentSource = textContentSource; + this._isReadableStream = textContentSource instanceof ReadableStream; + this._container = this._rootContainer = container; + this._textDivs = textDivs || []; + this._textContentItemsStr = textContentItemsStr || []; + this._isOffscreenCanvasSupported = isOffscreenCanvasSupported; + this._fontInspectorEnabled = !!globalThis.FontInspector?.enabled; + this._reader = null; + this._textDivProperties = textDivProperties || new WeakMap(); + this._canceled = false; + this._capability = new _util.PromiseCapability(); + this._layoutTextParams = { + prevFontSize: null, + prevFontFamily: null, + div: null, + scale: viewport.scale * (globalThis.devicePixelRatio || 1), + properties: null, + ctx: getCtx(0, isOffscreenCanvasSupported) + }; + const { + pageWidth, + pageHeight, + pageX, + pageY + } = viewport.rawDims; + this._transform = [1, 0, 0, -1, -pageX, pageY + pageHeight]; + this._pageWidth = pageWidth; + this._pageHeight = pageHeight; + (0, _display_utils.setLayerDimensions)(container, viewport); + this._capability.promise.finally(() => { + this._layoutTextParams = null; + }).catch(() => {}); + } + get promise() { + return this._capability.promise; + } + cancel() { + this._canceled = true; + if (this._reader) { + this._reader.cancel(new _util.AbortException("TextLayer task cancelled.")).catch(() => {}); + this._reader = null; + } + this._capability.reject(new _util.AbortException("TextLayer task cancelled.")); + } + _processItems(items, styleCache) { + for (const item of items) { + if (item.str === undefined) { + if (item.type === "beginMarkedContentProps" || item.type === "beginMarkedContent") { + const parent = this._container; + this._container = document.createElement("span"); + this._container.classList.add("markedContent"); + if (item.id !== null) { + this._container.setAttribute("id", `${item.id}`); + } + parent.append(this._container); + } else if (item.type === "endMarkedContent") { + this._container = this._container.parentNode; + } + continue; + } + this._textContentItemsStr.push(item.str); + appendText(this, item, styleCache); + } + } + _layoutText(textDiv) { + const textDivProperties = this._layoutTextParams.properties = this._textDivProperties.get(textDiv); + this._layoutTextParams.div = textDiv; + layout(this._layoutTextParams); + if (textDivProperties.hasText) { + this._container.append(textDiv); + } + if (textDivProperties.hasEOL) { + const br = document.createElement("br"); + br.setAttribute("role", "presentation"); + this._container.append(br); + } + } + _render() { + const capability = new _util.PromiseCapability(); + let styleCache = Object.create(null); + if (this._isReadableStream) { + const pump = () => { + this._reader.read().then(({ + value, + done + }) => { + if (done) { + capability.resolve(); + return; + } + Object.assign(styleCache, value.styles); + this._processItems(value.items, styleCache); + pump(); + }, capability.reject); + }; + this._reader = this._textContentSource.getReader(); + pump(); + } else if (this._textContentSource) { + const { + items, + styles + } = this._textContentSource; + this._processItems(items, styles); + capability.resolve(); + } else { + throw new Error('No "textContentSource" parameter specified.'); + } + capability.promise.then(() => { + styleCache = null; + render(this); + }, this._capability.reject); + } +} +exports.TextLayerRenderTask = TextLayerRenderTask; +function renderTextLayer(params) { + if (!params.textContentSource && (params.textContent || params.textContentStream)) { + (0, _display_utils.deprecated)("The TextLayerRender `textContent`/`textContentStream` parameters " + "will be removed in the future, please use `textContentSource` instead."); + params.textContentSource = params.textContent || params.textContentStream; + } + const { + container, + viewport + } = params; + const style = getComputedStyle(container); + const visibility = style.getPropertyValue("visibility"); + const scaleFactor = parseFloat(style.getPropertyValue("--scale-factor")); + if (visibility === "visible" && (!scaleFactor || Math.abs(scaleFactor - viewport.scale) > 1e-5)) { + console.error("The `--scale-factor` CSS-variable must be set, " + "to the same value as `viewport.scale`, " + "either on the `container`-element itself or higher up in the DOM."); + } + const task = new TextLayerRenderTask(params); + task._render(); + return task; +} +function updateTextLayer({ + container, + viewport, + textDivs, + textDivProperties, + isOffscreenCanvasSupported, + mustRotate = true, + mustRescale = true +}) { + if (mustRotate) { + (0, _display_utils.setLayerDimensions)(container, { + rotation: viewport.rotation + }); + } + if (mustRescale) { + const ctx = getCtx(0, isOffscreenCanvasSupported); + const scale = viewport.scale * (globalThis.devicePixelRatio || 1); + const params = { + prevFontSize: null, + prevFontFamily: null, + div: null, + scale, + properties: null, + ctx + }; + for (const div of textDivs) { + params.properties = textDivProperties.get(div); + params.div = div; + layout(params); + } + } +} + +/***/ }), +/* 27 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AnnotationEditorLayer = void 0; +var _util = __w_pdfjs_require__(1); +var _editor = __w_pdfjs_require__(4); +var _tools = __w_pdfjs_require__(5); +var _freetext = __w_pdfjs_require__(28); +var _ink = __w_pdfjs_require__(33); +var _display_utils = __w_pdfjs_require__(6); +class AnnotationEditorLayer { + #accessibilityManager; + #allowClick = false; + #annotationLayer = null; + #boundPointerup = this.pointerup.bind(this); + #boundPointerdown = this.pointerdown.bind(this); + #editors = new Map(); + #hadPointerDown = false; + #isCleaningUp = false; + #isDisabling = false; + #uiManager; + static _initialized = false; + constructor(options) { + if (!AnnotationEditorLayer._initialized) { + AnnotationEditorLayer._initialized = true; + _freetext.FreeTextEditor.initialize(options.l10n); + _ink.InkEditor.initialize(options.l10n); + } + options.uiManager.registerEditorTypes([_freetext.FreeTextEditor, _ink.InkEditor]); + this.#uiManager = options.uiManager; + this.pageIndex = options.pageIndex; + this.div = options.div; + this.#accessibilityManager = options.accessibilityManager; + this.#annotationLayer = options.annotationLayer; + this.viewport = options.viewport; + this.#uiManager.addLayer(this); + } + get isEmpty() { + return this.#editors.size === 0; + } + updateToolbar(mode) { + this.#uiManager.updateToolbar(mode); + } + updateMode(mode = this.#uiManager.getMode()) { + this.#cleanup(); + if (mode === _util.AnnotationEditorType.INK) { + this.addInkEditorIfNeeded(false); + this.disableClick(); + } else { + this.enableClick(); + } + this.#uiManager.unselectAll(); + if (mode !== _util.AnnotationEditorType.NONE) { + this.div.classList.toggle("freeTextEditing", mode === _util.AnnotationEditorType.FREETEXT); + this.div.classList.toggle("inkEditing", mode === _util.AnnotationEditorType.INK); + this.div.hidden = false; + } + } + addInkEditorIfNeeded(isCommitting) { + if (!isCommitting && this.#uiManager.getMode() !== _util.AnnotationEditorType.INK) { + return; + } + if (!isCommitting) { + for (const editor of this.#editors.values()) { + if (editor.isEmpty()) { + editor.setInBackground(); + return; + } + } + } + const editor = this.#createAndAddNewEditor({ + offsetX: 0, + offsetY: 0 + }); + editor.setInBackground(); + } + setEditingState(isEditing) { + this.#uiManager.setEditingState(isEditing); + } + addCommands(params) { + this.#uiManager.addCommands(params); + } + enable() { + this.div.style.pointerEvents = "auto"; + const annotationElementIds = new Set(); + for (const editor of this.#editors.values()) { + editor.enableEditing(); + if (editor.annotationElementId) { + annotationElementIds.add(editor.annotationElementId); + } + } + if (!this.#annotationLayer) { + return; + } + const editables = this.#annotationLayer.getEditableAnnotations(); + for (const editable of editables) { + editable.hide(); + if (this.#uiManager.isDeletedAnnotationElement(editable.data.id)) { + continue; + } + if (annotationElementIds.has(editable.data.id)) { + continue; + } + const editor = this.deserialize(editable); + if (!editor) { + continue; + } + this.addOrRebuild(editor); + editor.enableEditing(); + } + } + disable() { + this.#isDisabling = true; + this.div.style.pointerEvents = "none"; + const hiddenAnnotationIds = new Set(); + for (const editor of this.#editors.values()) { + editor.disableEditing(); + if (!editor.annotationElementId || editor.serialize() !== null) { + hiddenAnnotationIds.add(editor.annotationElementId); + continue; + } + this.getEditableAnnotation(editor.annotationElementId)?.show(); + editor.remove(); + } + if (this.#annotationLayer) { + const editables = this.#annotationLayer.getEditableAnnotations(); + for (const editable of editables) { + const { + id + } = editable.data; + if (hiddenAnnotationIds.has(id) || this.#uiManager.isDeletedAnnotationElement(id)) { + continue; + } + editable.show(); + } + } + this.#cleanup(); + if (this.isEmpty) { + this.div.hidden = true; + } + this.#isDisabling = false; + } + getEditableAnnotation(id) { + return this.#annotationLayer?.getEditableAnnotation(id) || null; + } + setActiveEditor(editor) { + const currentActive = this.#uiManager.getActive(); + if (currentActive === editor) { + return; + } + this.#uiManager.setActiveEditor(editor); + } + enableClick() { + this.div.addEventListener("pointerdown", this.#boundPointerdown); + this.div.addEventListener("pointerup", this.#boundPointerup); + } + disableClick() { + this.div.removeEventListener("pointerdown", this.#boundPointerdown); + this.div.removeEventListener("pointerup", this.#boundPointerup); + } + attach(editor) { + this.#editors.set(editor.id, editor); + const { + annotationElementId + } = editor; + if (annotationElementId && this.#uiManager.isDeletedAnnotationElement(annotationElementId)) { + this.#uiManager.removeDeletedAnnotationElement(editor); + } + } + detach(editor) { + this.#editors.delete(editor.id); + this.#accessibilityManager?.removePointerInTextLayer(editor.contentDiv); + if (!this.#isDisabling && editor.annotationElementId) { + this.#uiManager.addDeletedAnnotationElement(editor); + } + } + remove(editor) { + this.detach(editor); + this.#uiManager.removeEditor(editor); + editor.div.style.display = "none"; + setTimeout(() => { + editor.div.style.display = ""; + editor.div.remove(); + editor.isAttachedToDOM = false; + if (document.activeElement === document.body) { + this.#uiManager.focusMainContainer(); + } + }, 0); + if (!this.#isCleaningUp) { + this.addInkEditorIfNeeded(false); + } + } + #changeParent(editor) { + if (editor.parent === this) { + return; + } + if (editor.annotationElementId) { + this.#uiManager.addDeletedAnnotationElement(editor.annotationElementId); + _editor.AnnotationEditor.deleteAnnotationElement(editor); + editor.annotationElementId = null; + } + this.attach(editor); + editor.parent?.detach(editor); + editor.setParent(this); + if (editor.div && editor.isAttachedToDOM) { + editor.div.remove(); + this.div.append(editor.div); + } + } + add(editor) { + this.#changeParent(editor); + this.#uiManager.addEditor(editor); + this.attach(editor); + if (!editor.isAttachedToDOM) { + const div = editor.render(); + this.div.append(div); + editor.isAttachedToDOM = true; + } + this.moveEditorInDOM(editor); + editor.onceAdded(); + this.#uiManager.addToAnnotationStorage(editor); + } + moveEditorInDOM(editor) { + this.#accessibilityManager?.moveElementInDOM(this.div, editor.div, editor.contentDiv, true); + } + addOrRebuild(editor) { + if (editor.needsToBeRebuilt()) { + editor.rebuild(); + } else { + this.add(editor); + } + } + getNextId() { + return this.#uiManager.getId(); + } + #createNewEditor(params) { + switch (this.#uiManager.getMode()) { + case _util.AnnotationEditorType.FREETEXT: + return new _freetext.FreeTextEditor(params); + case _util.AnnotationEditorType.INK: + return new _ink.InkEditor(params); + } + return null; + } + deserialize(data) { + switch (data.annotationType ?? data.annotationEditorType) { + case _util.AnnotationEditorType.FREETEXT: + return _freetext.FreeTextEditor.deserialize(data, this, this.#uiManager); + case _util.AnnotationEditorType.INK: + return _ink.InkEditor.deserialize(data, this, this.#uiManager); + } + return null; + } + #createAndAddNewEditor(event) { + const id = this.getNextId(); + const editor = this.#createNewEditor({ + parent: this, + id, + x: event.offsetX, + y: event.offsetY, + uiManager: this.#uiManager + }); + if (editor) { + this.add(editor); + } + return editor; + } + setSelected(editor) { + this.#uiManager.setSelected(editor); + } + toggleSelected(editor) { + this.#uiManager.toggleSelected(editor); + } + isSelected(editor) { + return this.#uiManager.isSelected(editor); + } + unselect(editor) { + this.#uiManager.unselect(editor); + } + pointerup(event) { + const { + isMac + } = _util.FeatureTest.platform; + if (event.button !== 0 || event.ctrlKey && isMac) { + return; + } + if (event.target !== this.div) { + return; + } + if (!this.#hadPointerDown) { + return; + } + this.#hadPointerDown = false; + if (!this.#allowClick) { + this.#allowClick = true; + return; + } + this.#createAndAddNewEditor(event); + } + pointerdown(event) { + const { + isMac + } = _util.FeatureTest.platform; + if (event.button !== 0 || event.ctrlKey && isMac) { + return; + } + if (event.target !== this.div) { + return; + } + this.#hadPointerDown = true; + const editor = this.#uiManager.getActive(); + this.#allowClick = !editor || editor.isEmpty(); + } + drop(event) { + const id = event.dataTransfer.getData("text/plain"); + const editor = this.#uiManager.getEditor(id); + if (!editor) { + return; + } + event.preventDefault(); + event.dataTransfer.dropEffect = "move"; + this.#changeParent(editor); + const rect = this.div.getBoundingClientRect(); + const endX = event.clientX - rect.x; + const endY = event.clientY - rect.y; + editor.translate(endX - editor.startX, endY - editor.startY); + this.moveEditorInDOM(editor); + editor.div.focus(); + } + dragover(event) { + event.preventDefault(); + } + destroy() { + if (this.#uiManager.getActive()?.parent === this) { + this.#uiManager.setActiveEditor(null); + } + for (const editor of this.#editors.values()) { + this.#accessibilityManager?.removePointerInTextLayer(editor.contentDiv); + editor.setParent(null); + editor.isAttachedToDOM = false; + editor.div.remove(); + } + this.div = null; + this.#editors.clear(); + this.#uiManager.removeLayer(this); + } + #cleanup() { + this.#isCleaningUp = true; + for (const editor of this.#editors.values()) { + if (editor.isEmpty()) { + editor.remove(); + } + } + this.#isCleaningUp = false; + } + render({ + viewport + }) { + this.viewport = viewport; + (0, _display_utils.setLayerDimensions)(this.div, viewport); + (0, _tools.bindEvents)(this, this.div, ["dragover", "drop"]); + for (const editor of this.#uiManager.getEditors(this.pageIndex)) { + this.add(editor); + } + this.updateMode(); + } + update({ + viewport + }) { + this.#uiManager.commitOrRemove(); + this.viewport = viewport; + (0, _display_utils.setLayerDimensions)(this.div, { + rotation: viewport.rotation + }); + this.updateMode(); + } + get pageDimensions() { + const { + pageWidth, + pageHeight + } = this.viewport.rawDims; + return [pageWidth, pageHeight]; + } +} +exports.AnnotationEditorLayer = AnnotationEditorLayer; + +/***/ }), +/* 28 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FreeTextEditor = void 0; +var _util = __w_pdfjs_require__(1); +var _tools = __w_pdfjs_require__(5); +var _editor = __w_pdfjs_require__(4); +var _annotation_layer = __w_pdfjs_require__(29); +class FreeTextEditor extends _editor.AnnotationEditor { + #boundEditorDivBlur = this.editorDivBlur.bind(this); + #boundEditorDivFocus = this.editorDivFocus.bind(this); + #boundEditorDivInput = this.editorDivInput.bind(this); + #boundEditorDivKeydown = this.editorDivKeydown.bind(this); + #color; + #content = ""; + #editorDivId = `${this.id}-editor`; + #fontSize; + #initialData = null; + static _freeTextDefaultContent = ""; + static _l10nPromise; + static _internalPadding = 0; + static _defaultColor = null; + static _defaultFontSize = 10; + static get _keyboardManager() { + return (0, _util.shadow)(this, "_keyboardManager", new _tools.KeyboardManager([[["ctrl+s", "mac+meta+s", "ctrl+p", "mac+meta+p"], FreeTextEditor.prototype.commitOrRemove, true], [["ctrl+Enter", "mac+meta+Enter", "Escape", "mac+Escape"], FreeTextEditor.prototype.commitOrRemove]])); + } + static _type = "freetext"; + constructor(params) { + super({ + ...params, + name: "freeTextEditor" + }); + this.#color = params.color || FreeTextEditor._defaultColor || _editor.AnnotationEditor._defaultLineColor; + this.#fontSize = params.fontSize || FreeTextEditor._defaultFontSize; + } + static initialize(l10n) { + this._l10nPromise = new Map(["free_text2_default_content", "editor_free_text2_aria_label"].map(str => [str, l10n.get(str)])); + const style = getComputedStyle(document.documentElement); + this._internalPadding = parseFloat(style.getPropertyValue("--freetext-padding")); + } + static updateDefaultParams(type, value) { + switch (type) { + case _util.AnnotationEditorParamsType.FREETEXT_SIZE: + FreeTextEditor._defaultFontSize = value; + break; + case _util.AnnotationEditorParamsType.FREETEXT_COLOR: + FreeTextEditor._defaultColor = value; + break; + } + } + updateParams(type, value) { + switch (type) { + case _util.AnnotationEditorParamsType.FREETEXT_SIZE: + this.#updateFontSize(value); + break; + case _util.AnnotationEditorParamsType.FREETEXT_COLOR: + this.#updateColor(value); + break; + } + } + static get defaultPropertiesToUpdate() { + return [[_util.AnnotationEditorParamsType.FREETEXT_SIZE, FreeTextEditor._defaultFontSize], [_util.AnnotationEditorParamsType.FREETEXT_COLOR, FreeTextEditor._defaultColor || _editor.AnnotationEditor._defaultLineColor]]; + } + get propertiesToUpdate() { + return [[_util.AnnotationEditorParamsType.FREETEXT_SIZE, this.#fontSize], [_util.AnnotationEditorParamsType.FREETEXT_COLOR, this.#color]]; + } + #updateFontSize(fontSize) { + const setFontsize = size => { + this.editorDiv.style.fontSize = `calc(${size}px * var(--scale-factor))`; + this.translate(0, -(size - this.#fontSize) * this.parentScale); + this.#fontSize = size; + this.#setEditorDimensions(); + }; + const savedFontsize = this.#fontSize; + this.addCommands({ + cmd: () => { + setFontsize(fontSize); + }, + undo: () => { + setFontsize(savedFontsize); + }, + mustExec: true, + type: _util.AnnotationEditorParamsType.FREETEXT_SIZE, + overwriteIfSameType: true, + keepUndo: true + }); + } + #updateColor(color) { + const savedColor = this.#color; + this.addCommands({ + cmd: () => { + this.#color = this.editorDiv.style.color = color; + }, + undo: () => { + this.#color = this.editorDiv.style.color = savedColor; + }, + mustExec: true, + type: _util.AnnotationEditorParamsType.FREETEXT_COLOR, + overwriteIfSameType: true, + keepUndo: true + }); + } + getInitialTranslation() { + const scale = this.parentScale; + return [-FreeTextEditor._internalPadding * scale, -(FreeTextEditor._internalPadding + this.#fontSize) * scale]; + } + rebuild() { + super.rebuild(); + if (this.div === null) { + return; + } + if (!this.isAttachedToDOM) { + this.parent.add(this); + } + } + enableEditMode() { + if (this.isInEditMode()) { + return; + } + this.parent.setEditingState(false); + this.parent.updateToolbar(_util.AnnotationEditorType.FREETEXT); + super.enableEditMode(); + this.overlayDiv.classList.remove("enabled"); + this.editorDiv.contentEditable = true; + this.div.draggable = false; + this.div.removeAttribute("aria-activedescendant"); + this.editorDiv.addEventListener("keydown", this.#boundEditorDivKeydown); + this.editorDiv.addEventListener("focus", this.#boundEditorDivFocus); + this.editorDiv.addEventListener("blur", this.#boundEditorDivBlur); + this.editorDiv.addEventListener("input", this.#boundEditorDivInput); + } + disableEditMode() { + if (!this.isInEditMode()) { + return; + } + this.parent.setEditingState(true); + super.disableEditMode(); + this.overlayDiv.classList.add("enabled"); + this.editorDiv.contentEditable = false; + this.div.setAttribute("aria-activedescendant", this.#editorDivId); + this.div.draggable = true; + this.editorDiv.removeEventListener("keydown", this.#boundEditorDivKeydown); + this.editorDiv.removeEventListener("focus", this.#boundEditorDivFocus); + this.editorDiv.removeEventListener("blur", this.#boundEditorDivBlur); + this.editorDiv.removeEventListener("input", this.#boundEditorDivInput); + this.div.focus({ + preventScroll: true + }); + this.isEditing = false; + this.parent.div.classList.add("freeTextEditing"); + } + focusin(event) { + super.focusin(event); + if (event.target !== this.editorDiv) { + this.editorDiv.focus(); + } + } + onceAdded() { + if (this.width) { + this.#cheatInitialRect(); + return; + } + this.enableEditMode(); + this.editorDiv.focus(); + } + isEmpty() { + return !this.editorDiv || this.editorDiv.innerText.trim() === ""; + } + remove() { + this.isEditing = false; + this.parent.setEditingState(true); + this.parent.div.classList.add("freeTextEditing"); + super.remove(); + } + #extractText() { + const divs = this.editorDiv.getElementsByTagName("div"); + if (divs.length === 0) { + return this.editorDiv.innerText; + } + const buffer = []; + for (const div of divs) { + buffer.push(div.innerText.replace(/\r\n?|\n/, "")); + } + return buffer.join("\n"); + } + #setEditorDimensions() { + const [parentWidth, parentHeight] = this.parentDimensions; + let rect; + if (this.isAttachedToDOM) { + rect = this.div.getBoundingClientRect(); + } else { + const { + currentLayer, + div + } = this; + const savedDisplay = div.style.display; + div.style.display = "hidden"; + currentLayer.div.append(this.div); + rect = div.getBoundingClientRect(); + div.remove(); + div.style.display = savedDisplay; + } + this.width = rect.width / parentWidth; + this.height = rect.height / parentHeight; + } + commit() { + if (!this.isInEditMode()) { + return; + } + super.commit(); + this.disableEditMode(); + const savedText = this.#content; + const newText = this.#content = this.#extractText().trimEnd(); + if (savedText === newText) { + return; + } + const setText = text => { + this.#content = text; + if (!text) { + this.remove(); + return; + } + this.#setContent(); + this.rebuild(); + this.#setEditorDimensions(); + }; + this.addCommands({ + cmd: () => { + setText(newText); + }, + undo: () => { + setText(savedText); + }, + mustExec: false + }); + this.#setEditorDimensions(); + } + shouldGetKeyboardEvents() { + return this.isInEditMode(); + } + dblclick(event) { + this.enableEditMode(); + this.editorDiv.focus(); + } + keydown(event) { + if (event.target === this.div && event.key === "Enter") { + this.enableEditMode(); + this.editorDiv.focus(); + } + } + editorDivKeydown(event) { + FreeTextEditor._keyboardManager.exec(this, event); + } + editorDivFocus(event) { + this.isEditing = true; + } + editorDivBlur(event) { + this.isEditing = false; + } + editorDivInput(event) { + this.parent.div.classList.toggle("freeTextEditing", this.isEmpty()); + } + disableEditing() { + this.editorDiv.setAttribute("role", "comment"); + this.editorDiv.removeAttribute("aria-multiline"); + } + enableEditing() { + this.editorDiv.setAttribute("role", "textbox"); + this.editorDiv.setAttribute("aria-multiline", true); + } + render() { + if (this.div) { + return this.div; + } + let baseX, baseY; + if (this.width) { + baseX = this.x; + baseY = this.y; + } + super.render(); + this.editorDiv = document.createElement("div"); + this.editorDiv.className = "internal"; + this.editorDiv.setAttribute("id", this.#editorDivId); + this.enableEditing(); + FreeTextEditor._l10nPromise.get("editor_free_text2_aria_label").then(msg => this.editorDiv?.setAttribute("aria-label", msg)); + FreeTextEditor._l10nPromise.get("free_text2_default_content").then(msg => this.editorDiv?.setAttribute("default-content", msg)); + this.editorDiv.contentEditable = true; + const { + style + } = this.editorDiv; + style.fontSize = `calc(${this.#fontSize}px * var(--scale-factor))`; + style.color = this.#color; + this.div.append(this.editorDiv); + this.overlayDiv = document.createElement("div"); + this.overlayDiv.classList.add("overlay", "enabled"); + this.div.append(this.overlayDiv); + (0, _tools.bindEvents)(this, this.div, ["dblclick", "keydown"]); + if (this.width) { + const [parentWidth, parentHeight] = this.parentDimensions; + if (this.annotationElementId) { + const [tx] = this.getInitialTranslation(); + this.setAt(baseX * parentWidth, baseY * parentHeight, tx, tx); + } else { + this.setAt(baseX * parentWidth, baseY * parentHeight, this.width * parentWidth, this.height * parentHeight); + } + this.#setContent(); + this.div.draggable = true; + this.editorDiv.contentEditable = false; + } else { + this.div.draggable = false; + this.editorDiv.contentEditable = true; + } + return this.div; + } + #setContent() { + this.editorDiv.replaceChildren(); + if (!this.#content) { + return; + } + for (const line of this.#content.split("\n")) { + const div = document.createElement("div"); + div.append(line ? document.createTextNode(line) : document.createElement("br")); + this.editorDiv.append(div); + } + } + get contentDiv() { + return this.editorDiv; + } + static deserialize(data, parent, uiManager) { + let initialData = null; + if (data instanceof _annotation_layer.FreeTextAnnotationElement) { + const { + data: { + defaultAppearanceData: { + fontSize, + fontColor + }, + rect, + rotation, + id + }, + textContent, + parent: { + page: { + pageNumber + } + } + } = data; + if (!textContent || textContent.length === 0) { + return null; + } + initialData = data = { + annotationType: _util.AnnotationEditorType.FREETEXT, + color: Array.from(fontColor), + fontSize, + value: textContent.join("\n"), + pageIndex: pageNumber - 1, + rect, + rotation, + id, + deleted: false + }; + } + const editor = super.deserialize(data, parent, uiManager); + editor.#fontSize = data.fontSize; + editor.#color = _util.Util.makeHexColor(...data.color); + editor.#content = data.value; + editor.annotationElementId = data.id || null; + editor.#initialData = initialData; + return editor; + } + serialize(isForCopying = false) { + if (this.isEmpty()) { + return null; + } + if (this.deleted) { + return { + pageIndex: this.pageIndex, + id: this.annotationElementId, + deleted: true + }; + } + const padding = FreeTextEditor._internalPadding * this.parentScale; + const rect = this.getRect(padding, padding); + const color = _editor.AnnotationEditor._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : this.#color); + const serialized = { + annotationType: _util.AnnotationEditorType.FREETEXT, + color, + fontSize: this.#fontSize, + value: this.#content, + pageIndex: this.pageIndex, + rect, + rotation: this.rotation + }; + if (isForCopying) { + return serialized; + } + if (this.annotationElementId && !this.#hasElementChanged(serialized)) { + return null; + } + serialized.id = this.annotationElementId; + return serialized; + } + #hasElementChanged(serialized) { + const { + value, + fontSize, + color, + rect, + pageIndex + } = this.#initialData; + return serialized.value !== value || serialized.fontSize !== fontSize || serialized.rect.some((x, i) => Math.abs(x - rect[i]) >= 1) || serialized.color.some((c, i) => c !== color[i]) || serialized.pageIndex !== pageIndex; + } + #cheatInitialRect(delayed = false) { + if (!this.annotationElementId) { + return; + } + this.#setEditorDimensions(); + if (!delayed && (this.width === 0 || this.height === 0)) { + setTimeout(() => this.#cheatInitialRect(true), 0); + return; + } + const padding = FreeTextEditor._internalPadding * this.parentScale; + this.#initialData.rect = this.getRect(padding, padding); + } +} +exports.FreeTextEditor = FreeTextEditor; + +/***/ }), +/* 29 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.InkAnnotationElement = exports.FreeTextAnnotationElement = exports.AnnotationLayer = void 0; +var _util = __w_pdfjs_require__(1); +var _display_utils = __w_pdfjs_require__(6); +var _annotation_storage = __w_pdfjs_require__(3); +var _scripting_utils = __w_pdfjs_require__(30); +var _xfa_layer = __w_pdfjs_require__(31); +const DEFAULT_TAB_INDEX = 1000; +const DEFAULT_FONT_SIZE = 9; +const GetElementsByNameSet = new WeakSet(); +function getRectDims(rect) { + return { + width: rect[2] - rect[0], + height: rect[3] - rect[1] + }; +} +class AnnotationElementFactory { + static create(parameters) { + const subtype = parameters.data.annotationType; + switch (subtype) { + case _util.AnnotationType.LINK: + return new LinkAnnotationElement(parameters); + case _util.AnnotationType.TEXT: + return new TextAnnotationElement(parameters); + case _util.AnnotationType.WIDGET: + const fieldType = parameters.data.fieldType; + switch (fieldType) { + case "Tx": + return new TextWidgetAnnotationElement(parameters); + case "Btn": + if (parameters.data.radioButton) { + return new RadioButtonWidgetAnnotationElement(parameters); + } else if (parameters.data.checkBox) { + return new CheckboxWidgetAnnotationElement(parameters); + } + return new PushButtonWidgetAnnotationElement(parameters); + case "Ch": + return new ChoiceWidgetAnnotationElement(parameters); + case "Sig": + return new SignatureWidgetAnnotationElement(parameters); + } + return new WidgetAnnotationElement(parameters); + case _util.AnnotationType.POPUP: + return new PopupAnnotationElement(parameters); + case _util.AnnotationType.FREETEXT: + return new FreeTextAnnotationElement(parameters); + case _util.AnnotationType.LINE: + return new LineAnnotationElement(parameters); + case _util.AnnotationType.SQUARE: + return new SquareAnnotationElement(parameters); + case _util.AnnotationType.CIRCLE: + return new CircleAnnotationElement(parameters); + case _util.AnnotationType.POLYLINE: + return new PolylineAnnotationElement(parameters); + case _util.AnnotationType.CARET: + return new CaretAnnotationElement(parameters); + case _util.AnnotationType.INK: + return new InkAnnotationElement(parameters); + case _util.AnnotationType.POLYGON: + return new PolygonAnnotationElement(parameters); + case _util.AnnotationType.HIGHLIGHT: + return new HighlightAnnotationElement(parameters); + case _util.AnnotationType.UNDERLINE: + return new UnderlineAnnotationElement(parameters); + case _util.AnnotationType.SQUIGGLY: + return new SquigglyAnnotationElement(parameters); + case _util.AnnotationType.STRIKEOUT: + return new StrikeOutAnnotationElement(parameters); + case _util.AnnotationType.STAMP: + return new StampAnnotationElement(parameters); + case _util.AnnotationType.FILEATTACHMENT: + return new FileAttachmentAnnotationElement(parameters); + default: + return new AnnotationElement(parameters); + } + } +} +class AnnotationElement { + constructor(parameters, { + isRenderable = false, + ignoreBorder = false, + createQuadrilaterals = false + } = {}) { + this.isRenderable = isRenderable; + this.data = parameters.data; + this.layer = parameters.layer; + this.linkService = parameters.linkService; + this.downloadManager = parameters.downloadManager; + this.imageResourcesPath = parameters.imageResourcesPath; + this.renderForms = parameters.renderForms; + this.svgFactory = parameters.svgFactory; + this.annotationStorage = parameters.annotationStorage; + this.enableScripting = parameters.enableScripting; + this.hasJSActions = parameters.hasJSActions; + this._fieldObjects = parameters.fieldObjects; + this.parent = parameters.parent; + if (isRenderable) { + this.container = this._createContainer(ignoreBorder); + } + if (createQuadrilaterals) { + this.quadrilaterals = this._createQuadrilaterals(ignoreBorder); + } + } + _createContainer(ignoreBorder) { + const { + data, + parent: { + page, + viewport + } + } = this; + const container = document.createElement("section"); + container.setAttribute("data-annotation-id", data.id); + container.style.zIndex = this.parent.zIndex++; + if (this.data.popupRef) { + container.setAttribute("aria-haspopup", "dialog"); + } + if (data.noRotate) { + container.classList.add("norotate"); + } + const { + pageWidth, + pageHeight, + pageX, + pageY + } = viewport.rawDims; + if (!data.rect || this instanceof PopupAnnotationElement) { + const { + rotation + } = data; + if (!data.hasOwnCanvas && rotation !== 0) { + this.setRotation(rotation, container); + } + return container; + } + const { + width, + height + } = getRectDims(data.rect); + const rect = _util.Util.normalizeRect([data.rect[0], page.view[3] - data.rect[1] + page.view[1], data.rect[2], page.view[3] - data.rect[3] + page.view[1]]); + if (!ignoreBorder && data.borderStyle.width > 0) { + container.style.borderWidth = `${data.borderStyle.width}px`; + const horizontalRadius = data.borderStyle.horizontalCornerRadius; + const verticalRadius = data.borderStyle.verticalCornerRadius; + if (horizontalRadius > 0 || verticalRadius > 0) { + const radius = `calc(${horizontalRadius}px * var(--scale-factor)) / calc(${verticalRadius}px * var(--scale-factor))`; + container.style.borderRadius = radius; + } else if (this instanceof RadioButtonWidgetAnnotationElement) { + const radius = `calc(${width}px * var(--scale-factor)) / calc(${height}px * var(--scale-factor))`; + container.style.borderRadius = radius; + } + switch (data.borderStyle.style) { + case _util.AnnotationBorderStyleType.SOLID: + container.style.borderStyle = "solid"; + break; + case _util.AnnotationBorderStyleType.DASHED: + container.style.borderStyle = "dashed"; + break; + case _util.AnnotationBorderStyleType.BEVELED: + (0, _util.warn)("Unimplemented border style: beveled"); + break; + case _util.AnnotationBorderStyleType.INSET: + (0, _util.warn)("Unimplemented border style: inset"); + break; + case _util.AnnotationBorderStyleType.UNDERLINE: + container.style.borderBottomStyle = "solid"; + break; + default: + break; + } + const borderColor = data.borderColor || null; + if (borderColor) { + container.style.borderColor = _util.Util.makeHexColor(borderColor[0] | 0, borderColor[1] | 0, borderColor[2] | 0); + } else { + container.style.borderWidth = 0; + } + } + container.style.left = `${100 * (rect[0] - pageX) / pageWidth}%`; + container.style.top = `${100 * (rect[1] - pageY) / pageHeight}%`; + const { + rotation + } = data; + if (data.hasOwnCanvas || rotation === 0) { + container.style.width = `${100 * width / pageWidth}%`; + container.style.height = `${100 * height / pageHeight}%`; + } else { + this.setRotation(rotation, container); + } + return container; + } + setRotation(angle, container = this.container) { + const { + pageWidth, + pageHeight + } = this.parent.viewport.rawDims; + const { + width, + height + } = getRectDims(this.data.rect); + let elementWidth, elementHeight; + if (angle % 180 === 0) { + elementWidth = 100 * width / pageWidth; + elementHeight = 100 * height / pageHeight; + } else { + elementWidth = 100 * height / pageWidth; + elementHeight = 100 * width / pageHeight; + } + container.style.width = `${elementWidth}%`; + container.style.height = `${elementHeight}%`; + container.setAttribute("data-main-rotation", (360 - angle) % 360); + } + get _commonActions() { + const setColor = (jsName, styleName, event) => { + const color = event.detail[jsName]; + event.target.style[styleName] = _scripting_utils.ColorConverters[`${color[0]}_HTML`](color.slice(1)); + }; + return (0, _util.shadow)(this, "_commonActions", { + display: event => { + const hidden = event.detail.display % 2 === 1; + this.container.style.visibility = hidden ? "hidden" : "visible"; + this.annotationStorage.setValue(this.data.id, { + hidden, + print: event.detail.display === 0 || event.detail.display === 3 + }); + }, + print: event => { + this.annotationStorage.setValue(this.data.id, { + print: event.detail.print + }); + }, + hidden: event => { + this.container.style.visibility = event.detail.hidden ? "hidden" : "visible"; + this.annotationStorage.setValue(this.data.id, { + hidden: event.detail.hidden + }); + }, + focus: event => { + setTimeout(() => event.target.focus({ + preventScroll: false + }), 0); + }, + userName: event => { + event.target.title = event.detail.userName; + }, + readonly: event => { + if (event.detail.readonly) { + event.target.setAttribute("readonly", ""); + } else { + event.target.removeAttribute("readonly"); + } + }, + required: event => { + this._setRequired(event.target, event.detail.required); + }, + bgColor: event => { + setColor("bgColor", "backgroundColor", event); + }, + fillColor: event => { + setColor("fillColor", "backgroundColor", event); + }, + fgColor: event => { + setColor("fgColor", "color", event); + }, + textColor: event => { + setColor("textColor", "color", event); + }, + borderColor: event => { + setColor("borderColor", "borderColor", event); + }, + strokeColor: event => { + setColor("strokeColor", "borderColor", event); + }, + rotation: event => { + const angle = event.detail.rotation; + this.setRotation(angle); + this.annotationStorage.setValue(this.data.id, { + rotation: angle + }); + } + }); + } + _dispatchEventFromSandbox(actions, jsEvent) { + const commonActions = this._commonActions; + for (const name of Object.keys(jsEvent.detail)) { + const action = actions[name] || commonActions[name]; + action?.(jsEvent); + } + } + _setDefaultPropertiesFromJS(element) { + if (!this.enableScripting) { + return; + } + const storedData = this.annotationStorage.getRawValue(this.data.id); + if (!storedData) { + return; + } + const commonActions = this._commonActions; + for (const [actionName, detail] of Object.entries(storedData)) { + const action = commonActions[actionName]; + if (action) { + const eventProxy = { + detail: { + [actionName]: detail + }, + target: element + }; + action(eventProxy); + delete storedData[actionName]; + } + } + } + _createQuadrilaterals(ignoreBorder = false) { + if (!this.data.quadPoints) { + return null; + } + const quadrilaterals = []; + const savedRect = this.data.rect; + let firstQuadRect = null; + for (const quadPoint of this.data.quadPoints) { + this.data.rect = [quadPoint[2].x, quadPoint[2].y, quadPoint[1].x, quadPoint[1].y]; + quadrilaterals.push(this._createContainer(ignoreBorder)); + firstQuadRect ||= this.data.rect; + } + this.data.rect = savedRect; + this.firstQuadRect = firstQuadRect; + return quadrilaterals; + } + _createPopup() { + const { + container, + data + } = this; + container.setAttribute("aria-haspopup", "dialog"); + const popup = new PopupAnnotationElement({ + data: { + color: data.color, + titleObj: data.titleObj, + modificationDate: data.modificationDate, + contentsObj: data.contentsObj, + richText: data.richText, + parentRect: this.firstQuadRect || data.rect, + borderStyle: 0, + id: `popup_${data.id}`, + rotation: data.rotation + }, + parent: this.parent, + elements: [this] + }); + this.parent.div.append(popup.render()); + } + _renderQuadrilaterals(className) { + for (const quadrilateral of this.quadrilaterals) { + quadrilateral.classList.add(className); + } + return this.quadrilaterals; + } + render() { + (0, _util.unreachable)("Abstract method `AnnotationElement.render` called"); + } + _getElementsByName(name, skipId = null) { + const fields = []; + if (this._fieldObjects) { + const fieldObj = this._fieldObjects[name]; + if (fieldObj) { + for (const { + page, + id, + exportValues + } of fieldObj) { + if (page === -1) { + continue; + } + if (id === skipId) { + continue; + } + const exportValue = typeof exportValues === "string" ? exportValues : null; + const domElement = document.querySelector(`[data-element-id="${id}"]`); + if (domElement && !GetElementsByNameSet.has(domElement)) { + (0, _util.warn)(`_getElementsByName - element not allowed: ${id}`); + continue; + } + fields.push({ + id, + exportValue, + domElement + }); + } + } + return fields; + } + for (const domElement of document.getElementsByName(name)) { + const { + exportValue + } = domElement; + const id = domElement.getAttribute("data-element-id"); + if (id === skipId) { + continue; + } + if (!GetElementsByNameSet.has(domElement)) { + continue; + } + fields.push({ + id, + exportValue, + domElement + }); + } + return fields; + } + show() { + if (this.container) { + this.container.hidden = false; + } + this.popup?.maybeShow(); + } + hide() { + if (this.container) { + this.container.hidden = true; + } + this.popup?.forceHide(); + } + getElementsToTriggerPopup() { + return this.quadrilaterals || this.container; + } + addHighlightArea() { + const triggers = this.getElementsToTriggerPopup(); + if (Array.isArray(triggers)) { + for (const element of triggers) { + element.classList.add("highlightArea"); + } + } else { + triggers.classList.add("highlightArea"); + } + } +} +class LinkAnnotationElement extends AnnotationElement { + constructor(parameters, options = null) { + super(parameters, { + isRenderable: true, + ignoreBorder: !!options?.ignoreBorder, + createQuadrilaterals: true + }); + this.isTooltipOnly = parameters.data.isTooltipOnly; + } + render() { + const { + data, + linkService + } = this; + const link = document.createElement("a"); + link.setAttribute("data-element-id", data.id); + let isBound = false; + if (data.url) { + linkService.addLinkAttributes(link, data.url, data.newWindow); + isBound = true; + } else if (data.action) { + this._bindNamedAction(link, data.action); + isBound = true; + } else if (data.attachment) { + this._bindAttachment(link, data.attachment); + isBound = true; + } else if (data.setOCGState) { + this.#bindSetOCGState(link, data.setOCGState); + isBound = true; + } else if (data.dest) { + this._bindLink(link, data.dest); + isBound = true; + } else { + if (data.actions && (data.actions.Action || data.actions["Mouse Up"] || data.actions["Mouse Down"]) && this.enableScripting && this.hasJSActions) { + this._bindJSAction(link, data); + isBound = true; + } + if (data.resetForm) { + this._bindResetFormAction(link, data.resetForm); + isBound = true; + } else if (this.isTooltipOnly && !isBound) { + this._bindLink(link, ""); + isBound = true; + } + } + if (this.quadrilaterals) { + return this._renderQuadrilaterals("linkAnnotation").map((quadrilateral, index) => { + const linkElement = index === 0 ? link : link.cloneNode(); + quadrilateral.append(linkElement); + return quadrilateral; + }); + } + this.container.classList.add("linkAnnotation"); + if (isBound) { + this.container.append(link); + } + return this.container; + } + #setInternalLink() { + this.container.setAttribute("data-internal-link", ""); + } + _bindLink(link, destination) { + link.href = this.linkService.getDestinationHash(destination); + link.onclick = () => { + if (destination) { + this.linkService.goToDestination(destination); + } + return false; + }; + if (destination || destination === "") { + this.#setInternalLink(); + } + } + _bindNamedAction(link, action) { + link.href = this.linkService.getAnchorUrl(""); + link.onclick = () => { + this.linkService.executeNamedAction(action); + return false; + }; + this.#setInternalLink(); + } + _bindAttachment(link, attachment) { + link.href = this.linkService.getAnchorUrl(""); + link.onclick = () => { + this.downloadManager?.openOrDownloadData(this.container, attachment.content, attachment.filename); + return false; + }; + this.#setInternalLink(); + } + #bindSetOCGState(link, action) { + link.href = this.linkService.getAnchorUrl(""); + link.onclick = () => { + this.linkService.executeSetOCGState(action); + return false; + }; + this.#setInternalLink(); + } + _bindJSAction(link, data) { + link.href = this.linkService.getAnchorUrl(""); + const map = new Map([["Action", "onclick"], ["Mouse Up", "onmouseup"], ["Mouse Down", "onmousedown"]]); + for (const name of Object.keys(data.actions)) { + const jsName = map.get(name); + if (!jsName) { + continue; + } + link[jsName] = () => { + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id: data.id, + name + } + }); + return false; + }; + } + if (!link.onclick) { + link.onclick = () => false; + } + this.#setInternalLink(); + } + _bindResetFormAction(link, resetForm) { + const otherClickAction = link.onclick; + if (!otherClickAction) { + link.href = this.linkService.getAnchorUrl(""); + } + this.#setInternalLink(); + if (!this._fieldObjects) { + (0, _util.warn)(`_bindResetFormAction - "resetForm" action not supported, ` + "ensure that the `fieldObjects` parameter is provided."); + if (!otherClickAction) { + link.onclick = () => false; + } + return; + } + link.onclick = () => { + otherClickAction?.(); + const { + fields: resetFormFields, + refs: resetFormRefs, + include + } = resetForm; + const allFields = []; + if (resetFormFields.length !== 0 || resetFormRefs.length !== 0) { + const fieldIds = new Set(resetFormRefs); + for (const fieldName of resetFormFields) { + const fields = this._fieldObjects[fieldName] || []; + for (const { + id + } of fields) { + fieldIds.add(id); + } + } + for (const fields of Object.values(this._fieldObjects)) { + for (const field of fields) { + if (fieldIds.has(field.id) === include) { + allFields.push(field); + } + } + } + } else { + for (const fields of Object.values(this._fieldObjects)) { + allFields.push(...fields); + } + } + const storage = this.annotationStorage; + const allIds = []; + for (const field of allFields) { + const { + id + } = field; + allIds.push(id); + switch (field.type) { + case "text": + { + const value = field.defaultValue || ""; + storage.setValue(id, { + value + }); + break; + } + case "checkbox": + case "radiobutton": + { + const value = field.defaultValue === field.exportValues; + storage.setValue(id, { + value + }); + break; + } + case "combobox": + case "listbox": + { + const value = field.defaultValue || ""; + storage.setValue(id, { + value + }); + break; + } + default: + continue; + } + const domElement = document.querySelector(`[data-element-id="${id}"]`); + if (!domElement) { + continue; + } else if (!GetElementsByNameSet.has(domElement)) { + (0, _util.warn)(`_bindResetFormAction - element not allowed: ${id}`); + continue; + } + domElement.dispatchEvent(new Event("resetform")); + } + if (this.enableScripting) { + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id: "app", + ids: allIds, + name: "ResetForm" + } + }); + } + return false; + }; + } +} +class TextAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable + }); + } + render() { + this.container.classList.add("textAnnotation"); + const image = document.createElement("img"); + image.src = this.imageResourcesPath + "annotation-" + this.data.name.toLowerCase() + ".svg"; + image.alt = "[{{type}} Annotation]"; + image.dataset.l10nId = "text_annotation_type"; + image.dataset.l10nArgs = JSON.stringify({ + type: this.data.name + }); + if (!this.data.popupRef) { + this._createPopup(); + } + this.container.append(image); + return this.container; + } +} +class WidgetAnnotationElement extends AnnotationElement { + render() { + if (this.data.alternativeText) { + this.container.title = this.data.alternativeText; + } + return this.container; + } + showElementAndHideCanvas(element) { + if (this.data.hasOwnCanvas) { + if (element.previousSibling?.nodeName === "CANVAS") { + element.previousSibling.hidden = true; + } + element.hidden = false; + } + } + _getKeyModifier(event) { + const { + isWin, + isMac + } = _util.FeatureTest.platform; + return isWin && event.ctrlKey || isMac && event.metaKey; + } + _setEventListener(element, baseName, eventName, valueGetter) { + if (baseName.includes("mouse")) { + element.addEventListener(baseName, event => { + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id: this.data.id, + name: eventName, + value: valueGetter(event), + shift: event.shiftKey, + modifier: this._getKeyModifier(event) + } + }); + }); + } else { + element.addEventListener(baseName, event => { + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id: this.data.id, + name: eventName, + value: valueGetter(event) + } + }); + }); + } + } + _setEventListeners(element, names, getter) { + for (const [baseName, eventName] of names) { + if (eventName === "Action" || this.data.actions?.[eventName]) { + this._setEventListener(element, baseName, eventName, getter); + } + } + } + _setBackgroundColor(element) { + const color = this.data.backgroundColor || null; + element.style.backgroundColor = color === null ? "transparent" : _util.Util.makeHexColor(color[0], color[1], color[2]); + } + _setTextStyle(element) { + const TEXT_ALIGNMENT = ["left", "center", "right"]; + const { + fontColor + } = this.data.defaultAppearanceData; + const fontSize = this.data.defaultAppearanceData.fontSize || DEFAULT_FONT_SIZE; + const style = element.style; + let computedFontSize; + const BORDER_SIZE = 2; + const roundToOneDecimal = x => Math.round(10 * x) / 10; + if (this.data.multiLine) { + const height = Math.abs(this.data.rect[3] - this.data.rect[1] - BORDER_SIZE); + const numberOfLines = Math.round(height / (_util.LINE_FACTOR * fontSize)) || 1; + const lineHeight = height / numberOfLines; + computedFontSize = Math.min(fontSize, roundToOneDecimal(lineHeight / _util.LINE_FACTOR)); + } else { + const height = Math.abs(this.data.rect[3] - this.data.rect[1] - BORDER_SIZE); + computedFontSize = Math.min(fontSize, roundToOneDecimal(height / _util.LINE_FACTOR)); + } + style.fontSize = `calc(${computedFontSize}px * var(--scale-factor))`; + style.color = _util.Util.makeHexColor(fontColor[0], fontColor[1], fontColor[2]); + if (this.data.textAlignment !== null) { + style.textAlign = TEXT_ALIGNMENT[this.data.textAlignment]; + } + } + _setRequired(element, isRequired) { + if (isRequired) { + element.setAttribute("required", true); + } else { + element.removeAttribute("required"); + } + element.setAttribute("aria-required", isRequired); + } +} +class TextWidgetAnnotationElement extends WidgetAnnotationElement { + constructor(parameters) { + const isRenderable = parameters.renderForms || !parameters.data.hasAppearance && !!parameters.data.fieldValue; + super(parameters, { + isRenderable + }); + } + setPropertyOnSiblings(base, key, value, keyInStorage) { + const storage = this.annotationStorage; + for (const element of this._getElementsByName(base.name, base.id)) { + if (element.domElement) { + element.domElement[key] = value; + } + storage.setValue(element.id, { + [keyInStorage]: value + }); + } + } + render() { + const storage = this.annotationStorage; + const id = this.data.id; + this.container.classList.add("textWidgetAnnotation"); + let element = null; + if (this.renderForms) { + const storedData = storage.getValue(id, { + value: this.data.fieldValue + }); + let textContent = storedData.value || ""; + const maxLen = storage.getValue(id, { + charLimit: this.data.maxLen + }).charLimit; + if (maxLen && textContent.length > maxLen) { + textContent = textContent.slice(0, maxLen); + } + let fieldFormattedValues = storedData.formattedValue || this.data.textContent?.join("\n") || null; + if (fieldFormattedValues && this.data.comb) { + fieldFormattedValues = fieldFormattedValues.replaceAll(/\s+/g, ""); + } + const elementData = { + userValue: textContent, + formattedValue: fieldFormattedValues, + lastCommittedValue: null, + commitKey: 1 + }; + if (this.data.multiLine) { + element = document.createElement("textarea"); + element.textContent = fieldFormattedValues ?? textContent; + if (this.data.doNotScroll) { + element.style.overflowY = "hidden"; + } + } else { + element = document.createElement("input"); + element.type = "text"; + element.setAttribute("value", fieldFormattedValues ?? textContent); + if (this.data.doNotScroll) { + element.style.overflowX = "hidden"; + } + } + if (this.data.hasOwnCanvas) { + element.hidden = true; + } + GetElementsByNameSet.add(element); + element.setAttribute("data-element-id", id); + element.disabled = this.data.readOnly; + element.name = this.data.baseFieldName || this.data.fieldName; + element.tabIndex = DEFAULT_TAB_INDEX; + this._setRequired(element, this.data.required); + if (maxLen) { + element.maxLength = maxLen; + } + element.addEventListener("input", event => { + storage.setValue(id, { + value: event.target.value + }); + this.setPropertyOnSiblings(element, "value", event.target.value, "value"); + elementData.formattedValue = null; + }); + element.addEventListener("resetform", event => { + const defaultValue = this.data.defaultFieldValue ?? ""; + element.value = elementData.userValue = defaultValue; + elementData.formattedValue = null; + }); + let blurListener = event => { + const { + formattedValue + } = elementData; + if (formattedValue !== null && formattedValue !== undefined) { + event.target.value = formattedValue; + } + event.target.scrollLeft = 0; + }; + if (this.enableScripting && this.hasJSActions) { + element.addEventListener("focus", event => { + const { + target + } = event; + if (elementData.userValue) { + target.value = elementData.userValue; + } + elementData.lastCommittedValue = target.value; + elementData.commitKey = 1; + }); + element.addEventListener("updatefromsandbox", jsEvent => { + this.showElementAndHideCanvas(jsEvent.target); + const actions = { + value(event) { + elementData.userValue = event.detail.value ?? ""; + storage.setValue(id, { + value: elementData.userValue.toString() + }); + event.target.value = elementData.userValue; + }, + formattedValue(event) { + const { + formattedValue + } = event.detail; + elementData.formattedValue = formattedValue; + if (formattedValue !== null && formattedValue !== undefined && event.target !== document.activeElement) { + event.target.value = formattedValue; + } + storage.setValue(id, { + formattedValue + }); + }, + selRange(event) { + event.target.setSelectionRange(...event.detail.selRange); + }, + charLimit: event => { + const { + charLimit + } = event.detail; + const { + target + } = event; + if (charLimit === 0) { + target.removeAttribute("maxLength"); + return; + } + target.setAttribute("maxLength", charLimit); + let value = elementData.userValue; + if (!value || value.length <= charLimit) { + return; + } + value = value.slice(0, charLimit); + target.value = elementData.userValue = value; + storage.setValue(id, { + value + }); + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id, + name: "Keystroke", + value, + willCommit: true, + commitKey: 1, + selStart: target.selectionStart, + selEnd: target.selectionEnd + } + }); + } + }; + this._dispatchEventFromSandbox(actions, jsEvent); + }); + element.addEventListener("keydown", event => { + elementData.commitKey = 1; + let commitKey = -1; + if (event.key === "Escape") { + commitKey = 0; + } else if (event.key === "Enter" && !this.data.multiLine) { + commitKey = 2; + } else if (event.key === "Tab") { + elementData.commitKey = 3; + } + if (commitKey === -1) { + return; + } + const { + value + } = event.target; + if (elementData.lastCommittedValue === value) { + return; + } + elementData.lastCommittedValue = value; + elementData.userValue = value; + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id, + name: "Keystroke", + value, + willCommit: true, + commitKey, + selStart: event.target.selectionStart, + selEnd: event.target.selectionEnd + } + }); + }); + const _blurListener = blurListener; + blurListener = null; + element.addEventListener("blur", event => { + if (!event.relatedTarget) { + return; + } + const { + value + } = event.target; + elementData.userValue = value; + if (elementData.lastCommittedValue !== value) { + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id, + name: "Keystroke", + value, + willCommit: true, + commitKey: elementData.commitKey, + selStart: event.target.selectionStart, + selEnd: event.target.selectionEnd + } + }); + } + _blurListener(event); + }); + if (this.data.actions?.Keystroke) { + element.addEventListener("beforeinput", event => { + elementData.lastCommittedValue = null; + const { + data, + target + } = event; + const { + value, + selectionStart, + selectionEnd + } = target; + let selStart = selectionStart, + selEnd = selectionEnd; + switch (event.inputType) { + case "deleteWordBackward": + { + const match = value.substring(0, selectionStart).match(/\w*[^\w]*$/); + if (match) { + selStart -= match[0].length; + } + break; + } + case "deleteWordForward": + { + const match = value.substring(selectionStart).match(/^[^\w]*\w*/); + if (match) { + selEnd += match[0].length; + } + break; + } + case "deleteContentBackward": + if (selectionStart === selectionEnd) { + selStart -= 1; + } + break; + case "deleteContentForward": + if (selectionStart === selectionEnd) { + selEnd += 1; + } + break; + } + event.preventDefault(); + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id, + name: "Keystroke", + value, + change: data || "", + willCommit: false, + selStart, + selEnd + } + }); + }); + } + this._setEventListeners(element, [["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.value); + } + if (blurListener) { + element.addEventListener("blur", blurListener); + } + if (this.data.comb) { + const fieldWidth = this.data.rect[2] - this.data.rect[0]; + const combWidth = fieldWidth / maxLen; + element.classList.add("comb"); + element.style.letterSpacing = `calc(${combWidth}px * var(--scale-factor) - 1ch)`; + } + } else { + element = document.createElement("div"); + element.textContent = this.data.fieldValue; + element.style.verticalAlign = "middle"; + element.style.display = "table-cell"; + } + this._setTextStyle(element); + this._setBackgroundColor(element); + this._setDefaultPropertiesFromJS(element); + this.container.append(element); + return this.container; + } +} +class SignatureWidgetAnnotationElement extends WidgetAnnotationElement { + constructor(parameters) { + super(parameters, { + isRenderable: !!parameters.data.hasOwnCanvas + }); + } +} +class CheckboxWidgetAnnotationElement extends WidgetAnnotationElement { + constructor(parameters) { + super(parameters, { + isRenderable: parameters.renderForms + }); + } + render() { + const storage = this.annotationStorage; + const data = this.data; + const id = data.id; + let value = storage.getValue(id, { + value: data.exportValue === data.fieldValue + }).value; + if (typeof value === "string") { + value = value !== "Off"; + storage.setValue(id, { + value + }); + } + this.container.classList.add("buttonWidgetAnnotation", "checkBox"); + const element = document.createElement("input"); + GetElementsByNameSet.add(element); + element.setAttribute("data-element-id", id); + element.disabled = data.readOnly; + this._setRequired(element, this.data.required); + element.type = "checkbox"; + element.name = data.baseFieldName || data.fieldName; + if (value) { + element.setAttribute("checked", true); + } + element.setAttribute("exportValue", data.exportValue); + element.tabIndex = DEFAULT_TAB_INDEX; + element.addEventListener("change", event => { + const { + name, + checked + } = event.target; + for (const checkbox of this._getElementsByName(name, id)) { + const curChecked = checked && checkbox.exportValue === data.exportValue; + if (checkbox.domElement) { + checkbox.domElement.checked = curChecked; + } + storage.setValue(checkbox.id, { + value: curChecked + }); + } + storage.setValue(id, { + value: checked + }); + }); + element.addEventListener("resetform", event => { + const defaultValue = data.defaultFieldValue || "Off"; + event.target.checked = defaultValue === data.exportValue; + }); + if (this.enableScripting && this.hasJSActions) { + element.addEventListener("updatefromsandbox", jsEvent => { + const actions = { + value(event) { + event.target.checked = event.detail.value !== "Off"; + storage.setValue(id, { + value: event.target.checked + }); + } + }; + this._dispatchEventFromSandbox(actions, jsEvent); + }); + this._setEventListeners(element, [["change", "Validate"], ["change", "Action"], ["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.checked); + } + this._setBackgroundColor(element); + this._setDefaultPropertiesFromJS(element); + this.container.append(element); + return this.container; + } +} +class RadioButtonWidgetAnnotationElement extends WidgetAnnotationElement { + constructor(parameters) { + super(parameters, { + isRenderable: parameters.renderForms + }); + } + render() { + this.container.classList.add("buttonWidgetAnnotation", "radioButton"); + const storage = this.annotationStorage; + const data = this.data; + const id = data.id; + let value = storage.getValue(id, { + value: data.fieldValue === data.buttonValue + }).value; + if (typeof value === "string") { + value = value !== data.buttonValue; + storage.setValue(id, { + value + }); + } + const element = document.createElement("input"); + GetElementsByNameSet.add(element); + element.setAttribute("data-element-id", id); + element.disabled = data.readOnly; + this._setRequired(element, this.data.required); + element.type = "radio"; + element.name = data.baseFieldName || data.fieldName; + if (value) { + element.setAttribute("checked", true); + } + element.tabIndex = DEFAULT_TAB_INDEX; + element.addEventListener("change", event => { + const { + name, + checked + } = event.target; + for (const radio of this._getElementsByName(name, id)) { + storage.setValue(radio.id, { + value: false + }); + } + storage.setValue(id, { + value: checked + }); + }); + element.addEventListener("resetform", event => { + const defaultValue = data.defaultFieldValue; + event.target.checked = defaultValue !== null && defaultValue !== undefined && defaultValue === data.buttonValue; + }); + if (this.enableScripting && this.hasJSActions) { + const pdfButtonValue = data.buttonValue; + element.addEventListener("updatefromsandbox", jsEvent => { + const actions = { + value: event => { + const checked = pdfButtonValue === event.detail.value; + for (const radio of this._getElementsByName(event.target.name)) { + const curChecked = checked && radio.id === id; + if (radio.domElement) { + radio.domElement.checked = curChecked; + } + storage.setValue(radio.id, { + value: curChecked + }); + } + } + }; + this._dispatchEventFromSandbox(actions, jsEvent); + }); + this._setEventListeners(element, [["change", "Validate"], ["change", "Action"], ["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.checked); + } + this._setBackgroundColor(element); + this._setDefaultPropertiesFromJS(element); + this.container.append(element); + return this.container; + } +} +class PushButtonWidgetAnnotationElement extends LinkAnnotationElement { + constructor(parameters) { + super(parameters, { + ignoreBorder: parameters.data.hasAppearance + }); + } + render() { + const container = super.render(); + container.classList.add("buttonWidgetAnnotation", "pushButton"); + if (this.data.alternativeText) { + container.title = this.data.alternativeText; + } + const linkElement = container.lastChild; + if (this.enableScripting && this.hasJSActions && linkElement) { + this._setDefaultPropertiesFromJS(linkElement); + linkElement.addEventListener("updatefromsandbox", jsEvent => { + this._dispatchEventFromSandbox({}, jsEvent); + }); + } + return container; + } +} +class ChoiceWidgetAnnotationElement extends WidgetAnnotationElement { + constructor(parameters) { + super(parameters, { + isRenderable: parameters.renderForms + }); + } + render() { + this.container.classList.add("choiceWidgetAnnotation"); + const storage = this.annotationStorage; + const id = this.data.id; + const storedData = storage.getValue(id, { + value: this.data.fieldValue + }); + const selectElement = document.createElement("select"); + GetElementsByNameSet.add(selectElement); + selectElement.setAttribute("data-element-id", id); + selectElement.disabled = this.data.readOnly; + this._setRequired(selectElement, this.data.required); + selectElement.name = this.data.baseFieldName || this.data.fieldName; + selectElement.tabIndex = DEFAULT_TAB_INDEX; + let addAnEmptyEntry = this.data.combo && this.data.options.length > 0; + if (!this.data.combo) { + selectElement.size = this.data.options.length; + if (this.data.multiSelect) { + selectElement.multiple = true; + } + } + selectElement.addEventListener("resetform", event => { + const defaultValue = this.data.defaultFieldValue; + for (const option of selectElement.options) { + option.selected = option.value === defaultValue; + } + }); + for (const option of this.data.options) { + const optionElement = document.createElement("option"); + optionElement.textContent = option.displayValue; + optionElement.value = option.exportValue; + if (storedData.value.includes(option.exportValue)) { + optionElement.setAttribute("selected", true); + addAnEmptyEntry = false; + } + selectElement.append(optionElement); + } + let removeEmptyEntry = null; + if (addAnEmptyEntry) { + const noneOptionElement = document.createElement("option"); + noneOptionElement.value = " "; + noneOptionElement.setAttribute("hidden", true); + noneOptionElement.setAttribute("selected", true); + selectElement.prepend(noneOptionElement); + removeEmptyEntry = () => { + noneOptionElement.remove(); + selectElement.removeEventListener("input", removeEmptyEntry); + removeEmptyEntry = null; + }; + selectElement.addEventListener("input", removeEmptyEntry); + } + const getValue = isExport => { + const name = isExport ? "value" : "textContent"; + const { + options, + multiple + } = selectElement; + if (!multiple) { + return options.selectedIndex === -1 ? null : options[options.selectedIndex][name]; + } + return Array.prototype.filter.call(options, option => option.selected).map(option => option[name]); + }; + let selectedValues = getValue(false); + const getItems = event => { + const options = event.target.options; + return Array.prototype.map.call(options, option => { + return { + displayValue: option.textContent, + exportValue: option.value + }; + }); + }; + if (this.enableScripting && this.hasJSActions) { + selectElement.addEventListener("updatefromsandbox", jsEvent => { + const actions = { + value(event) { + removeEmptyEntry?.(); + const value = event.detail.value; + const values = new Set(Array.isArray(value) ? value : [value]); + for (const option of selectElement.options) { + option.selected = values.has(option.value); + } + storage.setValue(id, { + value: getValue(true) + }); + selectedValues = getValue(false); + }, + multipleSelection(event) { + selectElement.multiple = true; + }, + remove(event) { + const options = selectElement.options; + const index = event.detail.remove; + options[index].selected = false; + selectElement.remove(index); + if (options.length > 0) { + const i = Array.prototype.findIndex.call(options, option => option.selected); + if (i === -1) { + options[0].selected = true; + } + } + storage.setValue(id, { + value: getValue(true), + items: getItems(event) + }); + selectedValues = getValue(false); + }, + clear(event) { + while (selectElement.length !== 0) { + selectElement.remove(0); + } + storage.setValue(id, { + value: null, + items: [] + }); + selectedValues = getValue(false); + }, + insert(event) { + const { + index, + displayValue, + exportValue + } = event.detail.insert; + const selectChild = selectElement.children[index]; + const optionElement = document.createElement("option"); + optionElement.textContent = displayValue; + optionElement.value = exportValue; + if (selectChild) { + selectChild.before(optionElement); + } else { + selectElement.append(optionElement); + } + storage.setValue(id, { + value: getValue(true), + items: getItems(event) + }); + selectedValues = getValue(false); + }, + items(event) { + const { + items + } = event.detail; + while (selectElement.length !== 0) { + selectElement.remove(0); + } + for (const item of items) { + const { + displayValue, + exportValue + } = item; + const optionElement = document.createElement("option"); + optionElement.textContent = displayValue; + optionElement.value = exportValue; + selectElement.append(optionElement); + } + if (selectElement.options.length > 0) { + selectElement.options[0].selected = true; + } + storage.setValue(id, { + value: getValue(true), + items: getItems(event) + }); + selectedValues = getValue(false); + }, + indices(event) { + const indices = new Set(event.detail.indices); + for (const option of event.target.options) { + option.selected = indices.has(option.index); + } + storage.setValue(id, { + value: getValue(true) + }); + selectedValues = getValue(false); + }, + editable(event) { + event.target.disabled = !event.detail.editable; + } + }; + this._dispatchEventFromSandbox(actions, jsEvent); + }); + selectElement.addEventListener("input", event => { + const exportValue = getValue(true); + storage.setValue(id, { + value: exportValue + }); + event.preventDefault(); + this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { + source: this, + detail: { + id, + name: "Keystroke", + value: selectedValues, + changeEx: exportValue, + willCommit: false, + commitKey: 1, + keyDown: false + } + }); + }); + this._setEventListeners(selectElement, [["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"], ["input", "Action"], ["input", "Validate"]], event => event.target.value); + } else { + selectElement.addEventListener("input", function (event) { + storage.setValue(id, { + value: getValue(true) + }); + }); + } + if (this.data.combo) { + this._setTextStyle(selectElement); + } else {} + this._setBackgroundColor(selectElement); + this._setDefaultPropertiesFromJS(selectElement); + this.container.append(selectElement); + return this.container; + } +} +class PopupAnnotationElement extends AnnotationElement { + constructor(parameters) { + const { + data, + elements + } = parameters; + const isRenderable = !!(data.titleObj?.str || data.contentsObj?.str || data.richText?.str); + super(parameters, { + isRenderable + }); + this.elements = elements; + } + render() { + this.container.classList.add("popupAnnotation"); + const popup = new PopupElement({ + container: this.container, + color: this.data.color, + titleObj: this.data.titleObj, + modificationDate: this.data.modificationDate, + contentsObj: this.data.contentsObj, + richText: this.data.richText, + rect: this.data.rect, + parentRect: this.data.parentRect || null, + parent: this.parent, + elements: this.elements, + open: this.data.open + }); + const elementIds = []; + for (const element of this.elements) { + element.popup = popup; + elementIds.push(element.data.id); + element.addHighlightArea(); + } + this.container.setAttribute("aria-controls", elementIds.join(",")); + return this.container; + } +} +class PopupElement { + #dateTimePromise = null; + #boundHide = this.#hide.bind(this); + #boundShow = this.#show.bind(this); + #boundToggle = this.#toggle.bind(this); + #color = null; + #container = null; + #contentsObj = null; + #elements = null; + #parent = null; + #parentRect = null; + #pinned = false; + #popup = null; + #rect = null; + #richText = null; + #titleObj = null; + #wasVisible = false; + constructor({ + container, + color, + elements, + titleObj, + modificationDate, + contentsObj, + richText, + parent, + rect, + parentRect, + open + }) { + this.#container = container; + this.#titleObj = titleObj; + this.#contentsObj = contentsObj; + this.#richText = richText; + this.#parent = parent; + this.#color = color; + this.#rect = rect; + this.#parentRect = parentRect; + this.#elements = elements; + const dateObject = _display_utils.PDFDateString.toDateObject(modificationDate); + if (dateObject) { + this.#dateTimePromise = parent.l10n.get("annotation_date_string", { + date: dateObject.toLocaleDateString(), + time: dateObject.toLocaleTimeString() + }); + } + this.trigger = elements.flatMap(e => e.getElementsToTriggerPopup()); + for (const element of this.trigger) { + element.addEventListener("click", this.#boundToggle); + element.addEventListener("mouseenter", this.#boundShow); + element.addEventListener("mouseleave", this.#boundHide); + } + this.#container.hidden = true; + if (open) { + this.#toggle(); + } + } + render() { + if (this.#popup) { + return; + } + const { + page: { + view + }, + viewport: { + rawDims: { + pageWidth, + pageHeight, + pageX, + pageY + } + } + } = this.#parent; + const popup = this.#popup = document.createElement("div"); + popup.className = "popup"; + if (this.#color) { + const baseColor = popup.style.outlineColor = _util.Util.makeHexColor(...this.#color); + if (CSS.supports("background-color", "color-mix(in srgb, red 30%, white)")) { + popup.style.backgroundColor = `color-mix(in srgb, ${baseColor} 30%, white)`; + } else { + const BACKGROUND_ENLIGHT = 0.7; + popup.style.backgroundColor = _util.Util.makeHexColor(...this.#color.map(c => Math.floor(BACKGROUND_ENLIGHT * (255 - c) + c))); + } + } + const header = document.createElement("span"); + header.className = "header"; + const title = document.createElement("h1"); + header.append(title); + ({ + dir: title.dir, + str: title.textContent + } = this.#titleObj); + popup.append(header); + if (this.#dateTimePromise) { + const modificationDate = document.createElement("span"); + modificationDate.classList.add("popupDate"); + this.#dateTimePromise.then(localized => { + modificationDate.textContent = localized; + }); + header.append(modificationDate); + } + const contentsObj = this.#contentsObj; + const richText = this.#richText; + if (richText?.str && (!contentsObj?.str || contentsObj.str === richText.str)) { + _xfa_layer.XfaLayer.render({ + xfaHtml: richText.html, + intent: "richText", + div: popup + }); + popup.lastChild.classList.add("richText", "popupContent"); + } else { + const contents = this._formatContents(contentsObj); + popup.append(contents); + } + let useParentRect = !!this.#parentRect; + let rect = useParentRect ? this.#parentRect : this.#rect; + for (const element of this.#elements) { + if (!rect || _util.Util.intersect(element.data.rect, rect) !== null) { + rect = element.data.rect; + useParentRect = true; + break; + } + } + const normalizedRect = _util.Util.normalizeRect([rect[0], view[3] - rect[1] + view[1], rect[2], view[3] - rect[3] + view[1]]); + const HORIZONTAL_SPACE_AFTER_ANNOTATION = 5; + const parentWidth = useParentRect ? rect[2] - rect[0] + HORIZONTAL_SPACE_AFTER_ANNOTATION : 0; + const popupLeft = normalizedRect[0] + parentWidth; + const popupTop = normalizedRect[1]; + const { + style + } = this.#container; + style.left = `${100 * (popupLeft - pageX) / pageWidth}%`; + style.top = `${100 * (popupTop - pageY) / pageHeight}%`; + this.#container.append(popup); + } + _formatContents({ + str, + dir + }) { + const p = document.createElement("p"); + p.classList.add("popupContent"); + p.dir = dir; + const lines = str.split(/(?:\r\n?|\n)/); + for (let i = 0, ii = lines.length; i < ii; ++i) { + const line = lines[i]; + p.append(document.createTextNode(line)); + if (i < ii - 1) { + p.append(document.createElement("br")); + } + } + return p; + } + #toggle() { + this.#pinned = !this.#pinned; + if (this.#pinned) { + this.#show(); + this.#container.addEventListener("click", this.#boundToggle); + } else { + this.#hide(); + this.#container.removeEventListener("click", this.#boundToggle); + } + } + #show() { + if (!this.#popup) { + this.render(); + } + if (!this.isVisible) { + this.#container.hidden = false; + this.#container.style.zIndex = parseInt(this.#container.style.zIndex) + 1000; + } else if (this.#pinned) { + this.#container.classList.add("focused"); + } + } + #hide() { + this.#container.classList.remove("focused"); + if (this.#pinned) { + return; + } + this.#container.hidden = true; + this.#container.style.zIndex = parseInt(this.#container.style.zIndex) - 1000; + } + forceHide() { + this.#wasVisible = this.isVisible; + if (!this.#wasVisible) { + return; + } + this.#container.hidden = true; + } + maybeShow() { + if (!this.#wasVisible) { + return; + } + this.#wasVisible = false; + this.#container.hidden = false; + } + get isVisible() { + return this.#container.hidden === false; + } +} +class FreeTextAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + this.textContent = parameters.data.textContent; + this.annotationEditorType = _util.AnnotationEditorType.FREETEXT; + } + render() { + this.container.classList.add("freeTextAnnotation"); + if (this.textContent) { + const content = document.createElement("div"); + content.classList.add("annotationTextContent"); + content.setAttribute("role", "comment"); + for (const line of this.textContent) { + const lineSpan = document.createElement("span"); + lineSpan.textContent = line; + content.append(lineSpan); + } + this.container.append(content); + } + if (!this.data.popupRef) { + this._createPopup(); + } + return this.container; + } +} +exports.FreeTextAnnotationElement = FreeTextAnnotationElement; +class LineAnnotationElement extends AnnotationElement { + #line = null; + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + } + render() { + this.container.classList.add("lineAnnotation"); + const data = this.data; + const { + width, + height + } = getRectDims(data.rect); + const svg = this.svgFactory.create(width, height, true); + const line = this.#line = this.svgFactory.createElement("svg:line"); + line.setAttribute("x1", data.rect[2] - data.lineCoordinates[0]); + line.setAttribute("y1", data.rect[3] - data.lineCoordinates[1]); + line.setAttribute("x2", data.rect[2] - data.lineCoordinates[2]); + line.setAttribute("y2", data.rect[3] - data.lineCoordinates[3]); + line.setAttribute("stroke-width", data.borderStyle.width || 1); + line.setAttribute("stroke", "transparent"); + line.setAttribute("fill", "transparent"); + svg.append(line); + this.container.append(svg); + if (!data.popupRef) { + this._createPopup(); + } + return this.container; + } + getElementsToTriggerPopup() { + return this.#line; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } +} +class SquareAnnotationElement extends AnnotationElement { + #square = null; + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + } + render() { + this.container.classList.add("squareAnnotation"); + const data = this.data; + const { + width, + height + } = getRectDims(data.rect); + const svg = this.svgFactory.create(width, height, true); + const borderWidth = data.borderStyle.width; + const square = this.#square = this.svgFactory.createElement("svg:rect"); + square.setAttribute("x", borderWidth / 2); + square.setAttribute("y", borderWidth / 2); + square.setAttribute("width", width - borderWidth); + square.setAttribute("height", height - borderWidth); + square.setAttribute("stroke-width", borderWidth || 1); + square.setAttribute("stroke", "transparent"); + square.setAttribute("fill", "transparent"); + svg.append(square); + this.container.append(svg); + if (!data.popupRef) { + this._createPopup(); + } + return this.container; + } + getElementsToTriggerPopup() { + return this.#square; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } +} +class CircleAnnotationElement extends AnnotationElement { + #circle = null; + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + } + render() { + this.container.classList.add("circleAnnotation"); + const data = this.data; + const { + width, + height + } = getRectDims(data.rect); + const svg = this.svgFactory.create(width, height, true); + const borderWidth = data.borderStyle.width; + const circle = this.#circle = this.svgFactory.createElement("svg:ellipse"); + circle.setAttribute("cx", width / 2); + circle.setAttribute("cy", height / 2); + circle.setAttribute("rx", width / 2 - borderWidth / 2); + circle.setAttribute("ry", height / 2 - borderWidth / 2); + circle.setAttribute("stroke-width", borderWidth || 1); + circle.setAttribute("stroke", "transparent"); + circle.setAttribute("fill", "transparent"); + svg.append(circle); + this.container.append(svg); + if (!data.popupRef) { + this._createPopup(); + } + return this.container; + } + getElementsToTriggerPopup() { + return this.#circle; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } +} +class PolylineAnnotationElement extends AnnotationElement { + #polyline = null; + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + this.containerClassName = "polylineAnnotation"; + this.svgElementName = "svg:polyline"; + } + render() { + this.container.classList.add(this.containerClassName); + const data = this.data; + const { + width, + height + } = getRectDims(data.rect); + const svg = this.svgFactory.create(width, height, true); + let points = []; + for (const coordinate of data.vertices) { + const x = coordinate.x - data.rect[0]; + const y = data.rect[3] - coordinate.y; + points.push(x + "," + y); + } + points = points.join(" "); + const polyline = this.#polyline = this.svgFactory.createElement(this.svgElementName); + polyline.setAttribute("points", points); + polyline.setAttribute("stroke-width", data.borderStyle.width || 1); + polyline.setAttribute("stroke", "transparent"); + polyline.setAttribute("fill", "transparent"); + svg.append(polyline); + this.container.append(svg); + if (!data.popupRef) { + this._createPopup(polyline, data); + } + return this.container; + } + getElementsToTriggerPopup() { + return this.#polyline; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } +} +class PolygonAnnotationElement extends PolylineAnnotationElement { + constructor(parameters) { + super(parameters); + this.containerClassName = "polygonAnnotation"; + this.svgElementName = "svg:polygon"; + } +} +class CaretAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + } + render() { + this.container.classList.add("caretAnnotation"); + if (!this.data.popupRef) { + this._createPopup(); + } + return this.container; + } +} +class InkAnnotationElement extends AnnotationElement { + #polylines = []; + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + this.containerClassName = "inkAnnotation"; + this.svgElementName = "svg:polyline"; + this.annotationEditorType = _util.AnnotationEditorType.INK; + } + render() { + this.container.classList.add(this.containerClassName); + const data = this.data; + const { + width, + height + } = getRectDims(data.rect); + const svg = this.svgFactory.create(width, height, true); + for (const inkList of data.inkLists) { + let points = []; + for (const coordinate of inkList) { + const x = coordinate.x - data.rect[0]; + const y = data.rect[3] - coordinate.y; + points.push(`${x},${y}`); + } + points = points.join(" "); + const polyline = this.svgFactory.createElement(this.svgElementName); + this.#polylines.push(polyline); + polyline.setAttribute("points", points); + polyline.setAttribute("stroke-width", data.borderStyle.width || 1); + polyline.setAttribute("stroke", "transparent"); + polyline.setAttribute("fill", "transparent"); + if (!data.popupRef) { + this._createPopup(polyline, data); + } + svg.append(polyline); + } + this.container.append(svg); + return this.container; + } + getElementsToTriggerPopup() { + return this.#polylines; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } +} +exports.InkAnnotationElement = InkAnnotationElement; +class HighlightAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true, + createQuadrilaterals: true + }); + } + render() { + if (!this.data.popupRef) { + this._createPopup(); + } + if (this.quadrilaterals) { + return this._renderQuadrilaterals("highlightAnnotation"); + } + this.container.classList.add("highlightAnnotation"); + return this.container; + } +} +class UnderlineAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true, + createQuadrilaterals: true + }); + } + render() { + if (!this.data.popupRef) { + this._createPopup(); + } + if (this.quadrilaterals) { + return this._renderQuadrilaterals("underlineAnnotation"); + } + this.container.classList.add("underlineAnnotation"); + return this.container; + } +} +class SquigglyAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true, + createQuadrilaterals: true + }); + } + render() { + if (!this.data.popupRef) { + this._createPopup(); + } + if (this.quadrilaterals) { + return this._renderQuadrilaterals("squigglyAnnotation"); + } + this.container.classList.add("squigglyAnnotation"); + return this.container; + } +} +class StrikeOutAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true, + createQuadrilaterals: true + }); + } + render() { + if (!this.data.popupRef) { + this._createPopup(); + } + if (this.quadrilaterals) { + return this._renderQuadrilaterals("strikeoutAnnotation"); + } + this.container.classList.add("strikeoutAnnotation"); + return this.container; + } +} +class StampAnnotationElement extends AnnotationElement { + constructor(parameters) { + const isRenderable = !!(parameters.data.popupRef || parameters.data.titleObj?.str || parameters.data.contentsObj?.str || parameters.data.richText?.str); + super(parameters, { + isRenderable, + ignoreBorder: true + }); + } + render() { + this.container.classList.add("stampAnnotation"); + if (!this.data.popupRef) { + this._createPopup(); + } + return this.container; + } +} +class FileAttachmentAnnotationElement extends AnnotationElement { + #trigger = null; + constructor(parameters) { + super(parameters, { + isRenderable: true + }); + const { + filename, + content + } = this.data.file; + this.filename = (0, _display_utils.getFilenameFromUrl)(filename, true); + this.content = content; + this.linkService.eventBus?.dispatch("fileattachmentannotation", { + source: this, + filename, + content + }); + } + render() { + this.container.classList.add("fileAttachmentAnnotation"); + let trigger; + if (this.data.hasAppearance) { + trigger = document.createElement("div"); + } else { + trigger = document.createElement("img"); + trigger.src = `${this.imageResourcesPath}annotation-${/paperclip/i.test(this.data.name) ? "paperclip" : "pushpin"}.svg`; + } + trigger.classList.add("popupTriggerArea"); + trigger.addEventListener("dblclick", this._download.bind(this)); + this.#trigger = trigger; + if (!this.data.popupRef && (this.data.titleObj?.str || this.data.contentsObj?.str || this.data.richText)) { + this._createPopup(); + } + this.container.append(trigger); + return this.container; + } + getElementsToTriggerPopup() { + return this.#trigger; + } + addHighlightArea() { + this.container.classList.add("highlightArea"); + } + _download() { + this.downloadManager?.openOrDownloadData(this.container, this.content, this.filename); + } +} +class AnnotationLayer { + #accessibilityManager = null; + #annotationCanvasMap = null; + #editableAnnotations = new Map(); + constructor({ + div, + accessibilityManager, + annotationCanvasMap, + l10n, + page, + viewport + }) { + this.div = div; + this.#accessibilityManager = accessibilityManager; + this.#annotationCanvasMap = annotationCanvasMap; + this.l10n = l10n; + this.page = page; + this.viewport = viewport; + this.zIndex = 0; + const { + NullL10n + } = __w_pdfjs_require__(32); + this.l10n ||= NullL10n; + } + #appendElement(element, id) { + const contentElement = element.firstChild || element; + contentElement.id = `${_display_utils.AnnotationPrefix}${id}`; + this.div.append(element); + this.#accessibilityManager?.moveElementInDOM(this.div, element, contentElement, false); + } + async render(params) { + const { + annotations + } = params; + const layer = this.div; + (0, _display_utils.setLayerDimensions)(layer, this.viewport); + const popupToElements = new Map(); + const elementParams = { + data: null, + layer, + linkService: params.linkService, + downloadManager: params.downloadManager, + imageResourcesPath: params.imageResourcesPath || "", + renderForms: params.renderForms !== false, + svgFactory: new _display_utils.DOMSVGFactory(), + annotationStorage: params.annotationStorage || new _annotation_storage.AnnotationStorage(), + enableScripting: params.enableScripting === true, + hasJSActions: params.hasJSActions, + fieldObjects: params.fieldObjects, + parent: this, + elements: null + }; + for (const data of annotations) { + if (data.noHTML) { + continue; + } + const isPopupAnnotation = data.annotationType === _util.AnnotationType.POPUP; + if (!isPopupAnnotation) { + const { + width, + height + } = getRectDims(data.rect); + if (width <= 0 || height <= 0) { + continue; + } + } else { + const elements = popupToElements.get(data.id); + if (!elements) { + continue; + } + elementParams.elements = elements; + } + elementParams.data = data; + const element = AnnotationElementFactory.create(elementParams); + if (!element.isRenderable) { + continue; + } + if (!isPopupAnnotation && data.popupRef) { + const elements = popupToElements.get(data.popupRef); + if (!elements) { + popupToElements.set(data.popupRef, [element]); + } else { + elements.push(element); + } + } + if (element.annotationEditorType > 0) { + this.#editableAnnotations.set(element.data.id, element); + } + const rendered = element.render(); + if (data.hidden) { + rendered.style.visibility = "hidden"; + } + if (Array.isArray(rendered)) { + for (const renderedElement of rendered) { + this.#appendElement(renderedElement, data.id); + } + } else { + this.#appendElement(rendered, data.id); + } + } + this.#setAnnotationCanvasMap(); + await this.l10n.translate(layer); + } + update({ + viewport + }) { + const layer = this.div; + this.viewport = viewport; + (0, _display_utils.setLayerDimensions)(layer, { + rotation: viewport.rotation + }); + this.#setAnnotationCanvasMap(); + layer.hidden = false; + } + #setAnnotationCanvasMap() { + if (!this.#annotationCanvasMap) { + return; + } + const layer = this.div; + for (const [id, canvas] of this.#annotationCanvasMap) { + const element = layer.querySelector(`[data-annotation-id="${id}"]`); + if (!element) { + continue; + } + const { + firstChild + } = element; + if (!firstChild) { + element.append(canvas); + } else if (firstChild.nodeName === "CANVAS") { + firstChild.replaceWith(canvas); + } else { + firstChild.before(canvas); + } + } + this.#annotationCanvasMap.clear(); + } + getEditableAnnotations() { + return Array.from(this.#editableAnnotations.values()); + } + getEditableAnnotation(id) { + return this.#editableAnnotations.get(id); + } +} +exports.AnnotationLayer = AnnotationLayer; + +/***/ }), +/* 30 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ColorConverters = void 0; +function makeColorComp(n) { + return Math.floor(Math.max(0, Math.min(1, n)) * 255).toString(16).padStart(2, "0"); +} +class ColorConverters { + static CMYK_G([c, y, m, k]) { + return ["G", 1 - Math.min(1, 0.3 * c + 0.59 * m + 0.11 * y + k)]; + } + static G_CMYK([g]) { + return ["CMYK", 0, 0, 0, 1 - g]; + } + static G_RGB([g]) { + return ["RGB", g, g, g]; + } + static G_HTML([g]) { + const G = makeColorComp(g); + return `#${G}${G}${G}`; + } + static RGB_G([r, g, b]) { + return ["G", 0.3 * r + 0.59 * g + 0.11 * b]; + } + static RGB_HTML([r, g, b]) { + const R = makeColorComp(r); + const G = makeColorComp(g); + const B = makeColorComp(b); + return `#${R}${G}${B}`; + } + static T_HTML() { + return "#00000000"; + } + static CMYK_RGB([c, y, m, k]) { + return ["RGB", 1 - Math.min(1, c + k), 1 - Math.min(1, m + k), 1 - Math.min(1, y + k)]; + } + static CMYK_HTML(components) { + const rgb = this.CMYK_RGB(components).slice(1); + return this.RGB_HTML(rgb); + } + static RGB_CMYK([r, g, b]) { + const c = 1 - r; + const m = 1 - g; + const y = 1 - b; + const k = Math.min(c, m, y); + return ["CMYK", c, m, y, k]; + } +} +exports.ColorConverters = ColorConverters; + +/***/ }), +/* 31 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XfaLayer = void 0; +var _xfa_text = __w_pdfjs_require__(19); +class XfaLayer { + static setupStorage(html, id, element, storage, intent) { + const storedData = storage.getValue(id, { + value: null + }); + switch (element.name) { + case "textarea": + if (storedData.value !== null) { + html.textContent = storedData.value; + } + if (intent === "print") { + break; + } + html.addEventListener("input", event => { + storage.setValue(id, { + value: event.target.value + }); + }); + break; + case "input": + if (element.attributes.type === "radio" || element.attributes.type === "checkbox") { + if (storedData.value === element.attributes.xfaOn) { + html.setAttribute("checked", true); + } else if (storedData.value === element.attributes.xfaOff) { + html.removeAttribute("checked"); + } + if (intent === "print") { + break; + } + html.addEventListener("change", event => { + storage.setValue(id, { + value: event.target.checked ? event.target.getAttribute("xfaOn") : event.target.getAttribute("xfaOff") + }); + }); + } else { + if (storedData.value !== null) { + html.setAttribute("value", storedData.value); + } + if (intent === "print") { + break; + } + html.addEventListener("input", event => { + storage.setValue(id, { + value: event.target.value + }); + }); + } + break; + case "select": + if (storedData.value !== null) { + for (const option of element.children) { + if (option.attributes.value === storedData.value) { + option.attributes.selected = true; + } + } + } + html.addEventListener("input", event => { + const options = event.target.options; + const value = options.selectedIndex === -1 ? "" : options[options.selectedIndex].value; + storage.setValue(id, { + value + }); + }); + break; + } + } + static setAttributes({ + html, + element, + storage = null, + intent, + linkService + }) { + const { + attributes + } = element; + const isHTMLAnchorElement = html instanceof HTMLAnchorElement; + if (attributes.type === "radio") { + attributes.name = `${attributes.name}-${intent}`; + } + for (const [key, value] of Object.entries(attributes)) { + if (value === null || value === undefined) { + continue; + } + switch (key) { + case "class": + if (value.length) { + html.setAttribute(key, value.join(" ")); + } + break; + case "dataId": + break; + case "id": + html.setAttribute("data-element-id", value); + break; + case "style": + Object.assign(html.style, value); + break; + case "textContent": + html.textContent = value; + break; + default: + if (!isHTMLAnchorElement || key !== "href" && key !== "newWindow") { + html.setAttribute(key, value); + } + } + } + if (isHTMLAnchorElement) { + linkService.addLinkAttributes(html, attributes.href, attributes.newWindow); + } + if (storage && attributes.dataId) { + this.setupStorage(html, attributes.dataId, element, storage); + } + } + static render(parameters) { + const storage = parameters.annotationStorage; + const linkService = parameters.linkService; + const root = parameters.xfaHtml; + const intent = parameters.intent || "display"; + const rootHtml = document.createElement(root.name); + if (root.attributes) { + this.setAttributes({ + html: rootHtml, + element: root, + intent, + linkService + }); + } + const stack = [[root, -1, rootHtml]]; + const rootDiv = parameters.div; + rootDiv.append(rootHtml); + if (parameters.viewport) { + const transform = `matrix(${parameters.viewport.transform.join(",")})`; + rootDiv.style.transform = transform; + } + if (intent !== "richText") { + rootDiv.setAttribute("class", "xfaLayer xfaFont"); + } + const textDivs = []; + while (stack.length > 0) { + const [parent, i, html] = stack.at(-1); + if (i + 1 === parent.children.length) { + stack.pop(); + continue; + } + const child = parent.children[++stack.at(-1)[1]]; + if (child === null) { + continue; + } + const { + name + } = child; + if (name === "#text") { + const node = document.createTextNode(child.value); + textDivs.push(node); + html.append(node); + continue; + } + let childHtml; + if (child?.attributes?.xmlns) { + childHtml = document.createElementNS(child.attributes.xmlns, name); + } else { + childHtml = document.createElement(name); + } + html.append(childHtml); + if (child.attributes) { + this.setAttributes({ + html: childHtml, + element: child, + storage, + intent, + linkService + }); + } + if (child.children && child.children.length > 0) { + stack.push([child, -1, childHtml]); + } else if (child.value) { + const node = document.createTextNode(child.value); + if (_xfa_text.XfaText.shouldBuildText(name)) { + textDivs.push(node); + } + childHtml.append(node); + } + } + for (const el of rootDiv.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea")) { + el.setAttribute("readOnly", true); + } + return { + textDivs + }; + } + static update(parameters) { + const transform = `matrix(${parameters.viewport.transform.join(",")})`; + parameters.div.style.transform = transform; + parameters.div.hidden = false; + } +} +exports.XfaLayer = XfaLayer; + +/***/ }), +/* 32 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NullL10n = void 0; +exports.getL10nFallback = getL10nFallback; +const DEFAULT_L10N_STRINGS = { + of_pages: "of {{pagesCount}}", + page_of_pages: "({{pageNumber}} of {{pagesCount}})", + document_properties_kb: "{{size_kb}} KB ({{size_b}} bytes)", + document_properties_mb: "{{size_mb}} MB ({{size_b}} bytes)", + document_properties_date_string: "{{date}}, {{time}}", + document_properties_page_size_unit_inches: "in", + document_properties_page_size_unit_millimeters: "mm", + document_properties_page_size_orientation_portrait: "portrait", + document_properties_page_size_orientation_landscape: "landscape", + document_properties_page_size_name_a3: "A3", + document_properties_page_size_name_a4: "A4", + document_properties_page_size_name_letter: "Letter", + document_properties_page_size_name_legal: "Legal", + document_properties_page_size_dimension_string: "{{width}} × {{height}} {{unit}} ({{orientation}})", + document_properties_page_size_dimension_name_string: "{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})", + document_properties_linearized_yes: "Yes", + document_properties_linearized_no: "No", + additional_layers: "Additional Layers", + page_landmark: "Page {{page}}", + thumb_page_title: "Page {{page}}", + thumb_page_canvas: "Thumbnail of Page {{page}}", + find_reached_top: "Reached top of document, continued from bottom", + find_reached_bottom: "Reached end of document, continued from top", + "find_match_count[one]": "{{current}} of {{total}} match", + "find_match_count[other]": "{{current}} of {{total}} matches", + "find_match_count_limit[one]": "More than {{limit}} match", + "find_match_count_limit[other]": "More than {{limit}} matches", + find_not_found: "Phrase not found", + page_scale_width: "Page Width", + page_scale_fit: "Page Fit", + page_scale_auto: "Automatic Zoom", + page_scale_actual: "Actual Size", + page_scale_percent: "{{scale}}%", + loading_error: "An error occurred while loading the PDF.", + invalid_file_error: "Invalid or corrupted PDF file.", + missing_file_error: "Missing PDF file.", + unexpected_response_error: "Unexpected server response.", + rendering_error: "An error occurred while rendering the page.", + annotation_date_string: "{{date}}, {{time}}", + printing_not_supported: "Warning: Printing is not fully supported by this browser.", + printing_not_ready: "Warning: The PDF is not fully loaded for printing.", + web_fonts_disabled: "Web fonts are disabled: unable to use embedded PDF fonts.", + free_text2_default_content: "Start typing…", + editor_free_text2_aria_label: "Text Editor", + editor_ink2_aria_label: "Draw Editor", + editor_ink_canvas_aria_label: "User-created image" +}; +{ + DEFAULT_L10N_STRINGS.print_progress_percent = "{{progress}}%"; +} +function getL10nFallback(key, args) { + switch (key) { + case "find_match_count": + key = `find_match_count[${args.total === 1 ? "one" : "other"}]`; + break; + case "find_match_count_limit": + key = `find_match_count_limit[${args.limit === 1 ? "one" : "other"}]`; + break; + } + return DEFAULT_L10N_STRINGS[key] || ""; +} +function formatL10nValue(text, args) { + if (!args) { + return text; + } + return text.replaceAll(/\{\{\s*(\w+)\s*\}\}/g, (all, name) => { + return name in args ? args[name] : "{{" + name + "}}"; + }); +} +const NullL10n = { + async getLanguage() { + return "en-us"; + }, + async getDirection() { + return "ltr"; + }, + async get(key, args = null, fallback = getL10nFallback(key, args)) { + return formatL10nValue(fallback, args); + }, + async translate(element) {} +}; +exports.NullL10n = NullL10n; + +/***/ }), +/* 33 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.InkEditor = void 0; +var _util = __w_pdfjs_require__(1); +var _editor = __w_pdfjs_require__(4); +var _annotation_layer = __w_pdfjs_require__(29); +var _tools = __w_pdfjs_require__(5); +const RESIZER_SIZE = 16; +class InkEditor extends _editor.AnnotationEditor { + #aspectRatio = 0; + #baseHeight = 0; + #baseWidth = 0; + #boundCanvasContextMenu = this.canvasContextMenu.bind(this); + #boundCanvasPointermove = this.canvasPointermove.bind(this); + #boundCanvasPointerleave = this.canvasPointerleave.bind(this); + #boundCanvasPointerup = this.canvasPointerup.bind(this); + #boundCanvasPointerdown = this.canvasPointerdown.bind(this); + #currentPath2D = new Path2D(); + #disableEditing = false; + #hasSomethingToDraw = false; + #isCanvasInitialized = false; + #observer = null; + #realWidth = 0; + #realHeight = 0; + #requestFrameCallback = null; + static _defaultColor = null; + static _defaultOpacity = 1; + static _defaultThickness = 1; + static _l10nPromise; + static _type = "ink"; + constructor(params) { + super({ + ...params, + name: "inkEditor" + }); + this.color = params.color || null; + this.thickness = params.thickness || null; + this.opacity = params.opacity || null; + this.paths = []; + this.bezierPath2D = []; + this.allRawPaths = []; + this.currentPath = []; + this.scaleFactor = 1; + this.translationX = this.translationY = 0; + this.x = 0; + this.y = 0; + } + static initialize(l10n) { + this._l10nPromise = new Map(["editor_ink_canvas_aria_label", "editor_ink2_aria_label"].map(str => [str, l10n.get(str)])); + } + static updateDefaultParams(type, value) { + switch (type) { + case _util.AnnotationEditorParamsType.INK_THICKNESS: + InkEditor._defaultThickness = value; + break; + case _util.AnnotationEditorParamsType.INK_COLOR: + InkEditor._defaultColor = value; + break; + case _util.AnnotationEditorParamsType.INK_OPACITY: + InkEditor._defaultOpacity = value / 100; + break; + } + } + updateParams(type, value) { + switch (type) { + case _util.AnnotationEditorParamsType.INK_THICKNESS: + this.#updateThickness(value); + break; + case _util.AnnotationEditorParamsType.INK_COLOR: + this.#updateColor(value); + break; + case _util.AnnotationEditorParamsType.INK_OPACITY: + this.#updateOpacity(value); + break; + } + } + static get defaultPropertiesToUpdate() { + return [[_util.AnnotationEditorParamsType.INK_THICKNESS, InkEditor._defaultThickness], [_util.AnnotationEditorParamsType.INK_COLOR, InkEditor._defaultColor || _editor.AnnotationEditor._defaultLineColor], [_util.AnnotationEditorParamsType.INK_OPACITY, Math.round(InkEditor._defaultOpacity * 100)]]; + } + get propertiesToUpdate() { + return [[_util.AnnotationEditorParamsType.INK_THICKNESS, this.thickness || InkEditor._defaultThickness], [_util.AnnotationEditorParamsType.INK_COLOR, this.color || InkEditor._defaultColor || _editor.AnnotationEditor._defaultLineColor], [_util.AnnotationEditorParamsType.INK_OPACITY, Math.round(100 * (this.opacity ?? InkEditor._defaultOpacity))]]; + } + #updateThickness(thickness) { + const savedThickness = this.thickness; + this.addCommands({ + cmd: () => { + this.thickness = thickness; + this.#fitToContent(); + }, + undo: () => { + this.thickness = savedThickness; + this.#fitToContent(); + }, + mustExec: true, + type: _util.AnnotationEditorParamsType.INK_THICKNESS, + overwriteIfSameType: true, + keepUndo: true + }); + } + #updateColor(color) { + const savedColor = this.color; + this.addCommands({ + cmd: () => { + this.color = color; + this.#redraw(); + }, + undo: () => { + this.color = savedColor; + this.#redraw(); + }, + mustExec: true, + type: _util.AnnotationEditorParamsType.INK_COLOR, + overwriteIfSameType: true, + keepUndo: true + }); + } + #updateOpacity(opacity) { + opacity /= 100; + const savedOpacity = this.opacity; + this.addCommands({ + cmd: () => { + this.opacity = opacity; + this.#redraw(); + }, + undo: () => { + this.opacity = savedOpacity; + this.#redraw(); + }, + mustExec: true, + type: _util.AnnotationEditorParamsType.INK_OPACITY, + overwriteIfSameType: true, + keepUndo: true + }); + } + rebuild() { + super.rebuild(); + if (this.div === null) { + return; + } + if (!this.canvas) { + this.#createCanvas(); + this.#createObserver(); + } + if (!this.isAttachedToDOM) { + this.parent.add(this); + this.#setCanvasDims(); + } + this.#fitToContent(); + } + remove() { + if (this.canvas === null) { + return; + } + if (!this.isEmpty()) { + this.commit(); + } + this.canvas.width = this.canvas.height = 0; + this.canvas.remove(); + this.canvas = null; + this.#observer.disconnect(); + this.#observer = null; + super.remove(); + } + setParent(parent) { + if (!this.parent && parent) { + this._uiManager.removeShouldRescale(this); + } else if (this.parent && parent === null) { + this._uiManager.addShouldRescale(this); + } + super.setParent(parent); + } + onScaleChanging() { + const [parentWidth, parentHeight] = this.parentDimensions; + const width = this.width * parentWidth; + const height = this.height * parentHeight; + this.setDimensions(width, height); + } + enableEditMode() { + if (this.#disableEditing || this.canvas === null) { + return; + } + super.enableEditMode(); + this.div.draggable = false; + this.canvas.addEventListener("pointerdown", this.#boundCanvasPointerdown); + } + disableEditMode() { + if (!this.isInEditMode() || this.canvas === null) { + return; + } + super.disableEditMode(); + this.div.draggable = !this.isEmpty(); + this.div.classList.remove("editing"); + this.canvas.removeEventListener("pointerdown", this.#boundCanvasPointerdown); + } + onceAdded() { + this.div.draggable = !this.isEmpty(); + } + isEmpty() { + return this.paths.length === 0 || this.paths.length === 1 && this.paths[0].length === 0; + } + #getInitialBBox() { + const { + parentRotation, + parentDimensions: [width, height] + } = this; + switch (parentRotation) { + case 90: + return [0, height, height, width]; + case 180: + return [width, height, width, height]; + case 270: + return [width, 0, height, width]; + default: + return [0, 0, width, height]; + } + } + #setStroke() { + const { + ctx, + color, + opacity, + thickness, + parentScale, + scaleFactor + } = this; + ctx.lineWidth = thickness * parentScale / scaleFactor; + ctx.lineCap = "round"; + ctx.lineJoin = "round"; + ctx.miterLimit = 10; + ctx.strokeStyle = `${color}${(0, _tools.opacityToHex)(opacity)}`; + } + #startDrawing(x, y) { + this.canvas.addEventListener("contextmenu", this.#boundCanvasContextMenu); + this.canvas.addEventListener("pointerleave", this.#boundCanvasPointerleave); + this.canvas.addEventListener("pointermove", this.#boundCanvasPointermove); + this.canvas.addEventListener("pointerup", this.#boundCanvasPointerup); + this.canvas.removeEventListener("pointerdown", this.#boundCanvasPointerdown); + this.isEditing = true; + if (!this.#isCanvasInitialized) { + this.#isCanvasInitialized = true; + this.#setCanvasDims(); + this.thickness ||= InkEditor._defaultThickness; + this.color ||= InkEditor._defaultColor || _editor.AnnotationEditor._defaultLineColor; + this.opacity ??= InkEditor._defaultOpacity; + } + this.currentPath.push([x, y]); + this.#hasSomethingToDraw = false; + this.#setStroke(); + this.#requestFrameCallback = () => { + this.#drawPoints(); + if (this.#requestFrameCallback) { + window.requestAnimationFrame(this.#requestFrameCallback); + } + }; + window.requestAnimationFrame(this.#requestFrameCallback); + } + #draw(x, y) { + const [lastX, lastY] = this.currentPath.at(-1); + if (this.currentPath.length > 1 && x === lastX && y === lastY) { + return; + } + const currentPath = this.currentPath; + let path2D = this.#currentPath2D; + currentPath.push([x, y]); + this.#hasSomethingToDraw = true; + if (currentPath.length <= 2) { + path2D.moveTo(...currentPath[0]); + path2D.lineTo(x, y); + return; + } + if (currentPath.length === 3) { + this.#currentPath2D = path2D = new Path2D(); + path2D.moveTo(...currentPath[0]); + } + this.#makeBezierCurve(path2D, ...currentPath.at(-3), ...currentPath.at(-2), x, y); + } + #endPath() { + if (this.currentPath.length === 0) { + return; + } + const lastPoint = this.currentPath.at(-1); + this.#currentPath2D.lineTo(...lastPoint); + } + #stopDrawing(x, y) { + this.#requestFrameCallback = null; + x = Math.min(Math.max(x, 0), this.canvas.width); + y = Math.min(Math.max(y, 0), this.canvas.height); + this.#draw(x, y); + this.#endPath(); + let bezier; + if (this.currentPath.length !== 1) { + bezier = this.#generateBezierPoints(); + } else { + const xy = [x, y]; + bezier = [[xy, xy.slice(), xy.slice(), xy]]; + } + const path2D = this.#currentPath2D; + const currentPath = this.currentPath; + this.currentPath = []; + this.#currentPath2D = new Path2D(); + const cmd = () => { + this.allRawPaths.push(currentPath); + this.paths.push(bezier); + this.bezierPath2D.push(path2D); + this.rebuild(); + }; + const undo = () => { + this.allRawPaths.pop(); + this.paths.pop(); + this.bezierPath2D.pop(); + if (this.paths.length === 0) { + this.remove(); + } else { + if (!this.canvas) { + this.#createCanvas(); + this.#createObserver(); + } + this.#fitToContent(); + } + }; + this.addCommands({ + cmd, + undo, + mustExec: true + }); + } + #drawPoints() { + if (!this.#hasSomethingToDraw) { + return; + } + this.#hasSomethingToDraw = false; + const thickness = Math.ceil(this.thickness * this.parentScale); + const lastPoints = this.currentPath.slice(-3); + const x = lastPoints.map(xy => xy[0]); + const y = lastPoints.map(xy => xy[1]); + const xMin = Math.min(...x) - thickness; + const xMax = Math.max(...x) + thickness; + const yMin = Math.min(...y) - thickness; + const yMax = Math.max(...y) + thickness; + const { + ctx + } = this; + ctx.save(); + ctx.clearRect(0, 0, this.canvas.width, this.canvas.height); + for (const path of this.bezierPath2D) { + ctx.stroke(path); + } + ctx.stroke(this.#currentPath2D); + ctx.restore(); + } + #makeBezierCurve(path2D, x0, y0, x1, y1, x2, y2) { + const prevX = (x0 + x1) / 2; + const prevY = (y0 + y1) / 2; + const x3 = (x1 + x2) / 2; + const y3 = (y1 + y2) / 2; + path2D.bezierCurveTo(prevX + 2 * (x1 - prevX) / 3, prevY + 2 * (y1 - prevY) / 3, x3 + 2 * (x1 - x3) / 3, y3 + 2 * (y1 - y3) / 3, x3, y3); + } + #generateBezierPoints() { + const path = this.currentPath; + if (path.length <= 2) { + return [[path[0], path[0], path.at(-1), path.at(-1)]]; + } + const bezierPoints = []; + let i; + let [x0, y0] = path[0]; + for (i = 1; i < path.length - 2; i++) { + const [x1, y1] = path[i]; + const [x2, y2] = path[i + 1]; + const x3 = (x1 + x2) / 2; + const y3 = (y1 + y2) / 2; + const control1 = [x0 + 2 * (x1 - x0) / 3, y0 + 2 * (y1 - y0) / 3]; + const control2 = [x3 + 2 * (x1 - x3) / 3, y3 + 2 * (y1 - y3) / 3]; + bezierPoints.push([[x0, y0], control1, control2, [x3, y3]]); + [x0, y0] = [x3, y3]; + } + const [x1, y1] = path[i]; + const [x2, y2] = path[i + 1]; + const control1 = [x0 + 2 * (x1 - x0) / 3, y0 + 2 * (y1 - y0) / 3]; + const control2 = [x2 + 2 * (x1 - x2) / 3, y2 + 2 * (y1 - y2) / 3]; + bezierPoints.push([[x0, y0], control1, control2, [x2, y2]]); + return bezierPoints; + } + #redraw() { + if (this.isEmpty()) { + this.#updateTransform(); + return; + } + this.#setStroke(); + const { + canvas, + ctx + } = this; + ctx.setTransform(1, 0, 0, 1, 0, 0); + ctx.clearRect(0, 0, canvas.width, canvas.height); + this.#updateTransform(); + for (const path of this.bezierPath2D) { + ctx.stroke(path); + } + } + commit() { + if (this.#disableEditing) { + return; + } + super.commit(); + this.isEditing = false; + this.disableEditMode(); + this.setInForeground(); + this.#disableEditing = true; + this.div.classList.add("disabled"); + this.#fitToContent(true); + this.parent.addInkEditorIfNeeded(true); + this.parent.moveEditorInDOM(this); + this.div.focus({ + preventScroll: true + }); + } + focusin(event) { + super.focusin(event); + this.enableEditMode(); + } + canvasPointerdown(event) { + if (event.button !== 0 || !this.isInEditMode() || this.#disableEditing) { + return; + } + this.setInForeground(); + event.preventDefault(); + if (event.type !== "mouse") { + this.div.focus(); + } + this.#startDrawing(event.offsetX, event.offsetY); + } + canvasContextMenu(event) { + event.preventDefault(); + } + canvasPointermove(event) { + event.preventDefault(); + this.#draw(event.offsetX, event.offsetY); + } + canvasPointerup(event) { + event.preventDefault(); + this.#endDrawing(event); + } + canvasPointerleave(event) { + this.#endDrawing(event); + } + #endDrawing(event) { + this.canvas.removeEventListener("pointerleave", this.#boundCanvasPointerleave); + this.canvas.removeEventListener("pointermove", this.#boundCanvasPointermove); + this.canvas.removeEventListener("pointerup", this.#boundCanvasPointerup); + this.canvas.addEventListener("pointerdown", this.#boundCanvasPointerdown); + setTimeout(() => { + this.canvas.removeEventListener("contextmenu", this.#boundCanvasContextMenu); + }, 10); + this.#stopDrawing(event.offsetX, event.offsetY); + this.addToAnnotationStorage(); + this.setInBackground(); + } + #createCanvas() { + this.canvas = document.createElement("canvas"); + this.canvas.width = this.canvas.height = 0; + this.canvas.className = "inkEditorCanvas"; + InkEditor._l10nPromise.get("editor_ink_canvas_aria_label").then(msg => this.canvas?.setAttribute("aria-label", msg)); + this.div.append(this.canvas); + this.ctx = this.canvas.getContext("2d"); + } + #createObserver() { + this.#observer = new ResizeObserver(entries => { + const rect = entries[0].contentRect; + if (rect.width && rect.height) { + this.setDimensions(rect.width, rect.height); + } + }); + this.#observer.observe(this.div); + } + render() { + if (this.div) { + return this.div; + } + let baseX, baseY; + if (this.width) { + baseX = this.x; + baseY = this.y; + } + super.render(); + InkEditor._l10nPromise.get("editor_ink2_aria_label").then(msg => this.div?.setAttribute("aria-label", msg)); + const [x, y, w, h] = this.#getInitialBBox(); + this.setAt(x, y, 0, 0); + this.setDims(w, h); + this.#createCanvas(); + if (this.width) { + const [parentWidth, parentHeight] = this.parentDimensions; + this.setAt(baseX * parentWidth, baseY * parentHeight, this.width * parentWidth, this.height * parentHeight); + this.#isCanvasInitialized = true; + this.#setCanvasDims(); + this.setDims(this.width * parentWidth, this.height * parentHeight); + this.#redraw(); + this.#setMinDims(); + this.div.classList.add("disabled"); + } else { + this.div.classList.add("editing"); + this.enableEditMode(); + } + this.#createObserver(); + return this.div; + } + #setCanvasDims() { + if (!this.#isCanvasInitialized) { + return; + } + const [parentWidth, parentHeight] = this.parentDimensions; + this.canvas.width = Math.ceil(this.width * parentWidth); + this.canvas.height = Math.ceil(this.height * parentHeight); + this.#updateTransform(); + } + setDimensions(width, height) { + const roundedWidth = Math.round(width); + const roundedHeight = Math.round(height); + if (this.#realWidth === roundedWidth && this.#realHeight === roundedHeight) { + return; + } + this.#realWidth = roundedWidth; + this.#realHeight = roundedHeight; + this.canvas.style.visibility = "hidden"; + if (this.#aspectRatio && Math.abs(this.#aspectRatio - width / height) > 1e-2) { + height = Math.ceil(width / this.#aspectRatio); + this.setDims(width, height); + } + const [parentWidth, parentHeight] = this.parentDimensions; + this.width = width / parentWidth; + this.height = height / parentHeight; + if (this.#disableEditing) { + this.#setScaleFactor(width, height); + } + this.#setCanvasDims(); + this.#redraw(); + this.canvas.style.visibility = "visible"; + this.fixDims(); + } + #setScaleFactor(width, height) { + const padding = this.#getPadding(); + const scaleFactorW = (width - padding) / this.#baseWidth; + const scaleFactorH = (height - padding) / this.#baseHeight; + this.scaleFactor = Math.min(scaleFactorW, scaleFactorH); + } + #updateTransform() { + const padding = this.#getPadding() / 2; + this.ctx.setTransform(this.scaleFactor, 0, 0, this.scaleFactor, this.translationX * this.scaleFactor + padding, this.translationY * this.scaleFactor + padding); + } + static #buildPath2D(bezier) { + const path2D = new Path2D(); + for (let i = 0, ii = bezier.length; i < ii; i++) { + const [first, control1, control2, second] = bezier[i]; + if (i === 0) { + path2D.moveTo(...first); + } + path2D.bezierCurveTo(control1[0], control1[1], control2[0], control2[1], second[0], second[1]); + } + return path2D; + } + static #toPDFCoordinates(points, rect, rotation) { + const [blX, blY, trX, trY] = rect; + switch (rotation) { + case 0: + for (let i = 0, ii = points.length; i < ii; i += 2) { + points[i] += blX; + points[i + 1] = trY - points[i + 1]; + } + break; + case 90: + for (let i = 0, ii = points.length; i < ii; i += 2) { + const x = points[i]; + points[i] = points[i + 1] + blX; + points[i + 1] = x + blY; + } + break; + case 180: + for (let i = 0, ii = points.length; i < ii; i += 2) { + points[i] = trX - points[i]; + points[i + 1] += blY; + } + break; + case 270: + for (let i = 0, ii = points.length; i < ii; i += 2) { + const x = points[i]; + points[i] = trX - points[i + 1]; + points[i + 1] = trY - x; + } + break; + default: + throw new Error("Invalid rotation"); + } + return points; + } + static #fromPDFCoordinates(points, rect, rotation) { + const [blX, blY, trX, trY] = rect; + switch (rotation) { + case 0: + for (let i = 0, ii = points.length; i < ii; i += 2) { + points[i] -= blX; + points[i + 1] = trY - points[i + 1]; + } + break; + case 90: + for (let i = 0, ii = points.length; i < ii; i += 2) { + const x = points[i]; + points[i] = points[i + 1] - blY; + points[i + 1] = x - blX; + } + break; + case 180: + for (let i = 0, ii = points.length; i < ii; i += 2) { + points[i] = trX - points[i]; + points[i + 1] -= blY; + } + break; + case 270: + for (let i = 0, ii = points.length; i < ii; i += 2) { + const x = points[i]; + points[i] = trY - points[i + 1]; + points[i + 1] = trX - x; + } + break; + default: + throw new Error("Invalid rotation"); + } + return points; + } + #serializePaths(s, tx, ty, rect) { + const paths = []; + const padding = this.thickness / 2; + const shiftX = s * tx + padding; + const shiftY = s * ty + padding; + for (const bezier of this.paths) { + const buffer = []; + const points = []; + for (let j = 0, jj = bezier.length; j < jj; j++) { + const [first, control1, control2, second] = bezier[j]; + const p10 = s * first[0] + shiftX; + const p11 = s * first[1] + shiftY; + const p20 = s * control1[0] + shiftX; + const p21 = s * control1[1] + shiftY; + const p30 = s * control2[0] + shiftX; + const p31 = s * control2[1] + shiftY; + const p40 = s * second[0] + shiftX; + const p41 = s * second[1] + shiftY; + if (j === 0) { + buffer.push(p10, p11); + points.push(p10, p11); + } + buffer.push(p20, p21, p30, p31, p40, p41); + points.push(p20, p21); + if (j === jj - 1) { + points.push(p40, p41); + } + } + paths.push({ + bezier: InkEditor.#toPDFCoordinates(buffer, rect, this.rotation), + points: InkEditor.#toPDFCoordinates(points, rect, this.rotation) + }); + } + return paths; + } + #getBbox() { + let xMin = Infinity; + let xMax = -Infinity; + let yMin = Infinity; + let yMax = -Infinity; + for (const path of this.paths) { + for (const [first, control1, control2, second] of path) { + const bbox = _util.Util.bezierBoundingBox(...first, ...control1, ...control2, ...second); + xMin = Math.min(xMin, bbox[0]); + yMin = Math.min(yMin, bbox[1]); + xMax = Math.max(xMax, bbox[2]); + yMax = Math.max(yMax, bbox[3]); + } + } + return [xMin, yMin, xMax, yMax]; + } + #getPadding() { + return this.#disableEditing ? Math.ceil(this.thickness * this.parentScale) : 0; + } + #fitToContent(firstTime = false) { + if (this.isEmpty()) { + return; + } + if (!this.#disableEditing) { + this.#redraw(); + return; + } + const bbox = this.#getBbox(); + const padding = this.#getPadding(); + this.#baseWidth = Math.max(RESIZER_SIZE, bbox[2] - bbox[0]); + this.#baseHeight = Math.max(RESIZER_SIZE, bbox[3] - bbox[1]); + const width = Math.ceil(padding + this.#baseWidth * this.scaleFactor); + const height = Math.ceil(padding + this.#baseHeight * this.scaleFactor); + const [parentWidth, parentHeight] = this.parentDimensions; + this.width = width / parentWidth; + this.height = height / parentHeight; + this.#aspectRatio = width / height; + this.#setMinDims(); + const prevTranslationX = this.translationX; + const prevTranslationY = this.translationY; + this.translationX = -bbox[0]; + this.translationY = -bbox[1]; + this.#setCanvasDims(); + this.#redraw(); + this.#realWidth = width; + this.#realHeight = height; + this.setDims(width, height); + const unscaledPadding = firstTime ? padding / this.scaleFactor / 2 : 0; + this.translate(prevTranslationX - this.translationX - unscaledPadding, prevTranslationY - this.translationY - unscaledPadding); + } + #setMinDims() { + const { + style + } = this.div; + if (this.#aspectRatio >= 1) { + style.minHeight = `${RESIZER_SIZE}px`; + style.minWidth = `${Math.round(this.#aspectRatio * RESIZER_SIZE)}px`; + } else { + style.minWidth = `${RESIZER_SIZE}px`; + style.minHeight = `${Math.round(RESIZER_SIZE / this.#aspectRatio)}px`; + } + } + static deserialize(data, parent, uiManager) { + if (data instanceof _annotation_layer.InkAnnotationElement) { + return null; + } + const editor = super.deserialize(data, parent, uiManager); + editor.thickness = data.thickness; + editor.color = _util.Util.makeHexColor(...data.color); + editor.opacity = data.opacity; + const [pageWidth, pageHeight] = editor.pageDimensions; + const width = editor.width * pageWidth; + const height = editor.height * pageHeight; + const scaleFactor = editor.parentScale; + const padding = data.thickness / 2; + editor.#aspectRatio = width / height; + editor.#disableEditing = true; + editor.#realWidth = Math.round(width); + editor.#realHeight = Math.round(height); + const { + paths, + rect, + rotation + } = data; + for (let { + bezier + } of paths) { + bezier = InkEditor.#fromPDFCoordinates(bezier, rect, rotation); + const path = []; + editor.paths.push(path); + let p0 = scaleFactor * (bezier[0] - padding); + let p1 = scaleFactor * (bezier[1] - padding); + for (let i = 2, ii = bezier.length; i < ii; i += 6) { + const p10 = scaleFactor * (bezier[i] - padding); + const p11 = scaleFactor * (bezier[i + 1] - padding); + const p20 = scaleFactor * (bezier[i + 2] - padding); + const p21 = scaleFactor * (bezier[i + 3] - padding); + const p30 = scaleFactor * (bezier[i + 4] - padding); + const p31 = scaleFactor * (bezier[i + 5] - padding); + path.push([[p0, p1], [p10, p11], [p20, p21], [p30, p31]]); + p0 = p30; + p1 = p31; + } + const path2D = this.#buildPath2D(path); + editor.bezierPath2D.push(path2D); + } + const bbox = editor.#getBbox(); + editor.#baseWidth = Math.max(RESIZER_SIZE, bbox[2] - bbox[0]); + editor.#baseHeight = Math.max(RESIZER_SIZE, bbox[3] - bbox[1]); + editor.#setScaleFactor(width, height); + return editor; + } + serialize() { + if (this.isEmpty()) { + return null; + } + const rect = this.getRect(0, 0); + const color = _editor.AnnotationEditor._colorManager.convert(this.ctx.strokeStyle); + return { + annotationType: _util.AnnotationEditorType.INK, + color, + thickness: this.thickness, + opacity: this.opacity, + paths: this.#serializePaths(this.scaleFactor / this.parentScale, this.translationX, this.translationY, rect), + pageIndex: this.pageIndex, + rect, + rotation: this.rotation + }; + } +} +exports.InkEditor = InkEditor; + +/***/ }), +/* 34 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SVGGraphics = void 0; +var _display_utils = __w_pdfjs_require__(6); +var _util = __w_pdfjs_require__(1); +var _is_node = __w_pdfjs_require__(10); +; +const SVG_DEFAULTS = { + fontStyle: "normal", + fontWeight: "normal", + fillColor: "#000000" +}; +const XML_NS = "http://www.w3.org/XML/1998/namespace"; +const XLINK_NS = "http://www.w3.org/1999/xlink"; +const LINE_CAP_STYLES = ["butt", "round", "square"]; +const LINE_JOIN_STYLES = ["miter", "round", "bevel"]; +const createObjectURL = function (data, contentType = "", forceDataSchema = false) { + if (URL.createObjectURL && typeof Blob !== "undefined" && !forceDataSchema) { + return URL.createObjectURL(new Blob([data], { + type: contentType + })); + } + const digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; + let buffer = `data:${contentType};base64,`; + for (let i = 0, ii = data.length; i < ii; i += 3) { + const b1 = data[i] & 0xff; + const b2 = data[i + 1] & 0xff; + const b3 = data[i + 2] & 0xff; + const d1 = b1 >> 2, + d2 = (b1 & 3) << 4 | b2 >> 4; + const d3 = i + 1 < ii ? (b2 & 0xf) << 2 | b3 >> 6 : 64; + const d4 = i + 2 < ii ? b3 & 0x3f : 64; + buffer += digits[d1] + digits[d2] + digits[d3] + digits[d4]; + } + return buffer; +}; +const convertImgDataToPng = function () { + const PNG_HEADER = new Uint8Array([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]); + const CHUNK_WRAPPER_SIZE = 12; + const crcTable = new Int32Array(256); + for (let i = 0; i < 256; i++) { + let c = i; + for (let h = 0; h < 8; h++) { + if (c & 1) { + c = 0xedb88320 ^ c >> 1 & 0x7fffffff; + } else { + c = c >> 1 & 0x7fffffff; + } + } + crcTable[i] = c; + } + function crc32(data, start, end) { + let crc = -1; + for (let i = start; i < end; i++) { + const a = (crc ^ data[i]) & 0xff; + const b = crcTable[a]; + crc = crc >>> 8 ^ b; + } + return crc ^ -1; + } + function writePngChunk(type, body, data, offset) { + let p = offset; + const len = body.length; + data[p] = len >> 24 & 0xff; + data[p + 1] = len >> 16 & 0xff; + data[p + 2] = len >> 8 & 0xff; + data[p + 3] = len & 0xff; + p += 4; + data[p] = type.charCodeAt(0) & 0xff; + data[p + 1] = type.charCodeAt(1) & 0xff; + data[p + 2] = type.charCodeAt(2) & 0xff; + data[p + 3] = type.charCodeAt(3) & 0xff; + p += 4; + data.set(body, p); + p += body.length; + const crc = crc32(data, offset + 4, p); + data[p] = crc >> 24 & 0xff; + data[p + 1] = crc >> 16 & 0xff; + data[p + 2] = crc >> 8 & 0xff; + data[p + 3] = crc & 0xff; + } + function adler32(data, start, end) { + let a = 1; + let b = 0; + for (let i = start; i < end; ++i) { + a = (a + (data[i] & 0xff)) % 65521; + b = (b + a) % 65521; + } + return b << 16 | a; + } + function deflateSync(literals) { + if (!_is_node.isNodeJS) { + return deflateSyncUncompressed(literals); + } + try { + let input; + if (parseInt(process.versions.node) >= 8) { + input = literals; + } else { + input = Buffer.from(literals); + } + const output = require("zlib").deflateSync(input, { + level: 9 + }); + return output instanceof Uint8Array ? output : new Uint8Array(output); + } catch (e) { + (0, _util.warn)("Not compressing PNG because zlib.deflateSync is unavailable: " + e); + } + return deflateSyncUncompressed(literals); + } + function deflateSyncUncompressed(literals) { + let len = literals.length; + const maxBlockLength = 0xffff; + const deflateBlocks = Math.ceil(len / maxBlockLength); + const idat = new Uint8Array(2 + len + deflateBlocks * 5 + 4); + let pi = 0; + idat[pi++] = 0x78; + idat[pi++] = 0x9c; + let pos = 0; + while (len > maxBlockLength) { + idat[pi++] = 0x00; + idat[pi++] = 0xff; + idat[pi++] = 0xff; + idat[pi++] = 0x00; + idat[pi++] = 0x00; + idat.set(literals.subarray(pos, pos + maxBlockLength), pi); + pi += maxBlockLength; + pos += maxBlockLength; + len -= maxBlockLength; + } + idat[pi++] = 0x01; + idat[pi++] = len & 0xff; + idat[pi++] = len >> 8 & 0xff; + idat[pi++] = ~len & 0xffff & 0xff; + idat[pi++] = (~len & 0xffff) >> 8 & 0xff; + idat.set(literals.subarray(pos), pi); + pi += literals.length - pos; + const adler = adler32(literals, 0, literals.length); + idat[pi++] = adler >> 24 & 0xff; + idat[pi++] = adler >> 16 & 0xff; + idat[pi++] = adler >> 8 & 0xff; + idat[pi++] = adler & 0xff; + return idat; + } + function encode(imgData, kind, forceDataSchema, isMask) { + const width = imgData.width; + const height = imgData.height; + let bitDepth, colorType, lineSize; + const bytes = imgData.data; + switch (kind) { + case _util.ImageKind.GRAYSCALE_1BPP: + colorType = 0; + bitDepth = 1; + lineSize = width + 7 >> 3; + break; + case _util.ImageKind.RGB_24BPP: + colorType = 2; + bitDepth = 8; + lineSize = width * 3; + break; + case _util.ImageKind.RGBA_32BPP: + colorType = 6; + bitDepth = 8; + lineSize = width * 4; + break; + default: + throw new Error("invalid format"); + } + const literals = new Uint8Array((1 + lineSize) * height); + let offsetLiterals = 0, + offsetBytes = 0; + for (let y = 0; y < height; ++y) { + literals[offsetLiterals++] = 0; + literals.set(bytes.subarray(offsetBytes, offsetBytes + lineSize), offsetLiterals); + offsetBytes += lineSize; + offsetLiterals += lineSize; + } + if (kind === _util.ImageKind.GRAYSCALE_1BPP && isMask) { + offsetLiterals = 0; + for (let y = 0; y < height; y++) { + offsetLiterals++; + for (let i = 0; i < lineSize; i++) { + literals[offsetLiterals++] ^= 0xff; + } + } + } + const ihdr = new Uint8Array([width >> 24 & 0xff, width >> 16 & 0xff, width >> 8 & 0xff, width & 0xff, height >> 24 & 0xff, height >> 16 & 0xff, height >> 8 & 0xff, height & 0xff, bitDepth, colorType, 0x00, 0x00, 0x00]); + const idat = deflateSync(literals); + const pngLength = PNG_HEADER.length + CHUNK_WRAPPER_SIZE * 3 + ihdr.length + idat.length; + const data = new Uint8Array(pngLength); + let offset = 0; + data.set(PNG_HEADER, offset); + offset += PNG_HEADER.length; + writePngChunk("IHDR", ihdr, data, offset); + offset += CHUNK_WRAPPER_SIZE + ihdr.length; + writePngChunk("IDATA", idat, data, offset); + offset += CHUNK_WRAPPER_SIZE + idat.length; + writePngChunk("IEND", new Uint8Array(0), data, offset); + return createObjectURL(data, "image/png", forceDataSchema); + } + return function convertImgDataToPng(imgData, forceDataSchema, isMask) { + const kind = imgData.kind === undefined ? _util.ImageKind.GRAYSCALE_1BPP : imgData.kind; + return encode(imgData, kind, forceDataSchema, isMask); + }; +}(); +class SVGExtraState { + constructor() { + this.fontSizeScale = 1; + this.fontWeight = SVG_DEFAULTS.fontWeight; + this.fontSize = 0; + this.textMatrix = _util.IDENTITY_MATRIX; + this.fontMatrix = _util.FONT_IDENTITY_MATRIX; + this.leading = 0; + this.textRenderingMode = _util.TextRenderingMode.FILL; + this.textMatrixScale = 1; + this.x = 0; + this.y = 0; + this.lineX = 0; + this.lineY = 0; + this.charSpacing = 0; + this.wordSpacing = 0; + this.textHScale = 1; + this.textRise = 0; + this.fillColor = SVG_DEFAULTS.fillColor; + this.strokeColor = "#000000"; + this.fillAlpha = 1; + this.strokeAlpha = 1; + this.lineWidth = 1; + this.lineJoin = ""; + this.lineCap = ""; + this.miterLimit = 0; + this.dashArray = []; + this.dashPhase = 0; + this.dependencies = []; + this.activeClipUrl = null; + this.clipGroup = null; + this.maskId = ""; + } + clone() { + return Object.create(this); + } + setCurrentPoint(x, y) { + this.x = x; + this.y = y; + } +} +function opListToTree(opList) { + let opTree = []; + const tmp = []; + for (const opListElement of opList) { + if (opListElement.fn === "save") { + opTree.push({ + fnId: 92, + fn: "group", + items: [] + }); + tmp.push(opTree); + opTree = opTree.at(-1).items; + continue; + } + if (opListElement.fn === "restore") { + opTree = tmp.pop(); + } else { + opTree.push(opListElement); + } + } + return opTree; +} +function pf(value) { + if (Number.isInteger(value)) { + return value.toString(); + } + const s = value.toFixed(10); + let i = s.length - 1; + if (s[i] !== "0") { + return s; + } + do { + i--; + } while (s[i] === "0"); + return s.substring(0, s[i] === "." ? i : i + 1); +} +function pm(m) { + if (m[4] === 0 && m[5] === 0) { + if (m[1] === 0 && m[2] === 0) { + if (m[0] === 1 && m[3] === 1) { + return ""; + } + return `scale(${pf(m[0])} ${pf(m[3])})`; + } + if (m[0] === m[3] && m[1] === -m[2]) { + const a = Math.acos(m[0]) * 180 / Math.PI; + return `rotate(${pf(a)})`; + } + } else { + if (m[0] === 1 && m[1] === 0 && m[2] === 0 && m[3] === 1) { + return `translate(${pf(m[4])} ${pf(m[5])})`; + } + } + return `matrix(${pf(m[0])} ${pf(m[1])} ${pf(m[2])} ${pf(m[3])} ${pf(m[4])} ` + `${pf(m[5])})`; +} +let clipCount = 0; +let maskCount = 0; +let shadingCount = 0; +class SVGGraphics { + constructor(commonObjs, objs, forceDataSchema = false) { + (0, _display_utils.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."); + this.svgFactory = new _display_utils.DOMSVGFactory(); + this.current = new SVGExtraState(); + this.transformMatrix = _util.IDENTITY_MATRIX; + this.transformStack = []; + this.extraStack = []; + this.commonObjs = commonObjs; + this.objs = objs; + this.pendingClip = null; + this.pendingEOFill = false; + this.embedFonts = false; + this.embeddedFonts = Object.create(null); + this.cssStyle = null; + this.forceDataSchema = !!forceDataSchema; + this._operatorIdMapping = []; + for (const op in _util.OPS) { + this._operatorIdMapping[_util.OPS[op]] = op; + } + } + getObject(data, fallback = null) { + if (typeof data === "string") { + return data.startsWith("g_") ? this.commonObjs.get(data) : this.objs.get(data); + } + return fallback; + } + save() { + this.transformStack.push(this.transformMatrix); + const old = this.current; + this.extraStack.push(old); + this.current = old.clone(); + } + restore() { + this.transformMatrix = this.transformStack.pop(); + this.current = this.extraStack.pop(); + this.pendingClip = null; + this.tgrp = null; + } + group(items) { + this.save(); + this.executeOpTree(items); + this.restore(); + } + loadDependencies(operatorList) { + const fnArray = operatorList.fnArray; + const argsArray = operatorList.argsArray; + for (let i = 0, ii = fnArray.length; i < ii; i++) { + if (fnArray[i] !== _util.OPS.dependency) { + continue; + } + for (const obj of argsArray[i]) { + const objsPool = obj.startsWith("g_") ? this.commonObjs : this.objs; + const promise = new Promise(resolve => { + objsPool.get(obj, resolve); + }); + this.current.dependencies.push(promise); + } + } + return Promise.all(this.current.dependencies); + } + transform(a, b, c, d, e, f) { + const transformMatrix = [a, b, c, d, e, f]; + this.transformMatrix = _util.Util.transform(this.transformMatrix, transformMatrix); + this.tgrp = null; + } + getSVG(operatorList, viewport) { + this.viewport = viewport; + const svgElement = this._initialize(viewport); + return this.loadDependencies(operatorList).then(() => { + this.transformMatrix = _util.IDENTITY_MATRIX; + this.executeOpTree(this.convertOpList(operatorList)); + return svgElement; + }); + } + convertOpList(operatorList) { + const operatorIdMapping = this._operatorIdMapping; + const argsArray = operatorList.argsArray; + const fnArray = operatorList.fnArray; + const opList = []; + for (let i = 0, ii = fnArray.length; i < ii; i++) { + const fnId = fnArray[i]; + opList.push({ + fnId, + fn: operatorIdMapping[fnId], + args: argsArray[i] + }); + } + return opListToTree(opList); + } + executeOpTree(opTree) { + for (const opTreeElement of opTree) { + const fn = opTreeElement.fn; + const fnId = opTreeElement.fnId; + const args = opTreeElement.args; + switch (fnId | 0) { + case _util.OPS.beginText: + this.beginText(); + break; + case _util.OPS.dependency: + break; + case _util.OPS.setLeading: + this.setLeading(args); + break; + case _util.OPS.setLeadingMoveText: + this.setLeadingMoveText(args[0], args[1]); + break; + case _util.OPS.setFont: + this.setFont(args); + break; + case _util.OPS.showText: + this.showText(args[0]); + break; + case _util.OPS.showSpacedText: + this.showText(args[0]); + break; + case _util.OPS.endText: + this.endText(); + break; + case _util.OPS.moveText: + this.moveText(args[0], args[1]); + break; + case _util.OPS.setCharSpacing: + this.setCharSpacing(args[0]); + break; + case _util.OPS.setWordSpacing: + this.setWordSpacing(args[0]); + break; + case _util.OPS.setHScale: + this.setHScale(args[0]); + break; + case _util.OPS.setTextMatrix: + this.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); + break; + case _util.OPS.setTextRise: + this.setTextRise(args[0]); + break; + case _util.OPS.setTextRenderingMode: + this.setTextRenderingMode(args[0]); + break; + case _util.OPS.setLineWidth: + this.setLineWidth(args[0]); + break; + case _util.OPS.setLineJoin: + this.setLineJoin(args[0]); + break; + case _util.OPS.setLineCap: + this.setLineCap(args[0]); + break; + case _util.OPS.setMiterLimit: + this.setMiterLimit(args[0]); + break; + case _util.OPS.setFillRGBColor: + this.setFillRGBColor(args[0], args[1], args[2]); + break; + case _util.OPS.setStrokeRGBColor: + this.setStrokeRGBColor(args[0], args[1], args[2]); + break; + case _util.OPS.setStrokeColorN: + this.setStrokeColorN(args); + break; + case _util.OPS.setFillColorN: + this.setFillColorN(args); + break; + case _util.OPS.shadingFill: + this.shadingFill(args[0]); + break; + case _util.OPS.setDash: + this.setDash(args[0], args[1]); + break; + case _util.OPS.setRenderingIntent: + this.setRenderingIntent(args[0]); + break; + case _util.OPS.setFlatness: + this.setFlatness(args[0]); + break; + case _util.OPS.setGState: + this.setGState(args[0]); + break; + case _util.OPS.fill: + this.fill(); + break; + case _util.OPS.eoFill: + this.eoFill(); + break; + case _util.OPS.stroke: + this.stroke(); + break; + case _util.OPS.fillStroke: + this.fillStroke(); + break; + case _util.OPS.eoFillStroke: + this.eoFillStroke(); + break; + case _util.OPS.clip: + this.clip("nonzero"); + break; + case _util.OPS.eoClip: + this.clip("evenodd"); + break; + case _util.OPS.paintSolidColorImageMask: + this.paintSolidColorImageMask(); + break; + case _util.OPS.paintImageXObject: + this.paintImageXObject(args[0]); + break; + case _util.OPS.paintInlineImageXObject: + this.paintInlineImageXObject(args[0]); + break; + case _util.OPS.paintImageMaskXObject: + this.paintImageMaskXObject(args[0]); + break; + case _util.OPS.paintFormXObjectBegin: + this.paintFormXObjectBegin(args[0], args[1]); + break; + case _util.OPS.paintFormXObjectEnd: + this.paintFormXObjectEnd(); + break; + case _util.OPS.closePath: + this.closePath(); + break; + case _util.OPS.closeStroke: + this.closeStroke(); + break; + case _util.OPS.closeFillStroke: + this.closeFillStroke(); + break; + case _util.OPS.closeEOFillStroke: + this.closeEOFillStroke(); + break; + case _util.OPS.nextLine: + this.nextLine(); + break; + case _util.OPS.transform: + this.transform(args[0], args[1], args[2], args[3], args[4], args[5]); + break; + case _util.OPS.constructPath: + this.constructPath(args[0], args[1]); + break; + case _util.OPS.endPath: + this.endPath(); + break; + case 92: + this.group(opTreeElement.items); + break; + default: + (0, _util.warn)(`Unimplemented operator ${fn}`); + break; + } + } + } + setWordSpacing(wordSpacing) { + this.current.wordSpacing = wordSpacing; + } + setCharSpacing(charSpacing) { + this.current.charSpacing = charSpacing; + } + nextLine() { + this.moveText(0, this.current.leading); + } + setTextMatrix(a, b, c, d, e, f) { + const current = this.current; + current.textMatrix = current.lineMatrix = [a, b, c, d, e, f]; + current.textMatrixScale = Math.hypot(a, b); + current.x = current.lineX = 0; + current.y = current.lineY = 0; + current.xcoords = []; + current.ycoords = []; + current.tspan = this.svgFactory.createElement("svg:tspan"); + current.tspan.setAttributeNS(null, "font-family", current.fontFamily); + current.tspan.setAttributeNS(null, "font-size", `${pf(current.fontSize)}px`); + current.tspan.setAttributeNS(null, "y", pf(-current.y)); + current.txtElement = this.svgFactory.createElement("svg:text"); + current.txtElement.append(current.tspan); + } + beginText() { + const current = this.current; + current.x = current.lineX = 0; + current.y = current.lineY = 0; + current.textMatrix = _util.IDENTITY_MATRIX; + current.lineMatrix = _util.IDENTITY_MATRIX; + current.textMatrixScale = 1; + current.tspan = this.svgFactory.createElement("svg:tspan"); + current.txtElement = this.svgFactory.createElement("svg:text"); + current.txtgrp = this.svgFactory.createElement("svg:g"); + current.xcoords = []; + current.ycoords = []; + } + moveText(x, y) { + const current = this.current; + current.x = current.lineX += x; + current.y = current.lineY += y; + current.xcoords = []; + current.ycoords = []; + current.tspan = this.svgFactory.createElement("svg:tspan"); + current.tspan.setAttributeNS(null, "font-family", current.fontFamily); + current.tspan.setAttributeNS(null, "font-size", `${pf(current.fontSize)}px`); + current.tspan.setAttributeNS(null, "y", pf(-current.y)); + } + showText(glyphs) { + const current = this.current; + const font = current.font; + const fontSize = current.fontSize; + if (fontSize === 0) { + return; + } + const fontSizeScale = current.fontSizeScale; + const charSpacing = current.charSpacing; + const wordSpacing = current.wordSpacing; + const fontDirection = current.fontDirection; + const textHScale = current.textHScale * fontDirection; + const vertical = font.vertical; + const spacingDir = vertical ? 1 : -1; + const defaultVMetrics = font.defaultVMetrics; + const widthAdvanceScale = fontSize * current.fontMatrix[0]; + let x = 0; + for (const glyph of glyphs) { + if (glyph === null) { + x += fontDirection * wordSpacing; + continue; + } else if (typeof glyph === "number") { + x += spacingDir * glyph * fontSize / 1000; + continue; + } + const spacing = (glyph.isSpace ? wordSpacing : 0) + charSpacing; + const character = glyph.fontChar; + let scaledX, scaledY; + let width = glyph.width; + if (vertical) { + let vx; + const vmetric = glyph.vmetric || defaultVMetrics; + vx = glyph.vmetric ? vmetric[1] : width * 0.5; + vx = -vx * widthAdvanceScale; + const vy = vmetric[2] * widthAdvanceScale; + width = vmetric ? -vmetric[0] : width; + scaledX = vx / fontSizeScale; + scaledY = (x + vy) / fontSizeScale; + } else { + scaledX = x / fontSizeScale; + scaledY = 0; + } + if (glyph.isInFont || font.missingFile) { + current.xcoords.push(current.x + scaledX); + if (vertical) { + current.ycoords.push(-current.y + scaledY); + } + current.tspan.textContent += character; + } else {} + let charWidth; + if (vertical) { + charWidth = width * widthAdvanceScale - spacing * fontDirection; + } else { + charWidth = width * widthAdvanceScale + spacing * fontDirection; + } + x += charWidth; + } + current.tspan.setAttributeNS(null, "x", current.xcoords.map(pf).join(" ")); + if (vertical) { + current.tspan.setAttributeNS(null, "y", current.ycoords.map(pf).join(" ")); + } else { + current.tspan.setAttributeNS(null, "y", pf(-current.y)); + } + if (vertical) { + current.y -= x; + } else { + current.x += x * textHScale; + } + current.tspan.setAttributeNS(null, "font-family", current.fontFamily); + current.tspan.setAttributeNS(null, "font-size", `${pf(current.fontSize)}px`); + if (current.fontStyle !== SVG_DEFAULTS.fontStyle) { + current.tspan.setAttributeNS(null, "font-style", current.fontStyle); + } + if (current.fontWeight !== SVG_DEFAULTS.fontWeight) { + current.tspan.setAttributeNS(null, "font-weight", current.fontWeight); + } + const fillStrokeMode = current.textRenderingMode & _util.TextRenderingMode.FILL_STROKE_MASK; + if (fillStrokeMode === _util.TextRenderingMode.FILL || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + if (current.fillColor !== SVG_DEFAULTS.fillColor) { + current.tspan.setAttributeNS(null, "fill", current.fillColor); + } + if (current.fillAlpha < 1) { + current.tspan.setAttributeNS(null, "fill-opacity", current.fillAlpha); + } + } else if (current.textRenderingMode === _util.TextRenderingMode.ADD_TO_PATH) { + current.tspan.setAttributeNS(null, "fill", "transparent"); + } else { + current.tspan.setAttributeNS(null, "fill", "none"); + } + if (fillStrokeMode === _util.TextRenderingMode.STROKE || fillStrokeMode === _util.TextRenderingMode.FILL_STROKE) { + const lineWidthScale = 1 / (current.textMatrixScale || 1); + this._setStrokeAttributes(current.tspan, lineWidthScale); + } + let textMatrix = current.textMatrix; + if (current.textRise !== 0) { + textMatrix = textMatrix.slice(); + textMatrix[5] += current.textRise; + } + current.txtElement.setAttributeNS(null, "transform", `${pm(textMatrix)} scale(${pf(textHScale)}, -1)`); + current.txtElement.setAttributeNS(XML_NS, "xml:space", "preserve"); + current.txtElement.append(current.tspan); + current.txtgrp.append(current.txtElement); + this._ensureTransformGroup().append(current.txtElement); + } + setLeadingMoveText(x, y) { + this.setLeading(-y); + this.moveText(x, y); + } + addFontStyle(fontObj) { + if (!fontObj.data) { + throw new Error("addFontStyle: No font data available, " + 'ensure that the "fontExtraProperties" API parameter is set.'); + } + if (!this.cssStyle) { + this.cssStyle = this.svgFactory.createElement("svg:style"); + this.cssStyle.setAttributeNS(null, "type", "text/css"); + this.defs.append(this.cssStyle); + } + const url = createObjectURL(fontObj.data, fontObj.mimetype, this.forceDataSchema); + this.cssStyle.textContent += `@font-face { font-family: "${fontObj.loadedName}";` + ` src: url(${url}); }\n`; + } + setFont(details) { + const current = this.current; + const fontObj = this.commonObjs.get(details[0]); + let size = details[1]; + current.font = fontObj; + if (this.embedFonts && !fontObj.missingFile && !this.embeddedFonts[fontObj.loadedName]) { + this.addFontStyle(fontObj); + this.embeddedFonts[fontObj.loadedName] = fontObj; + } + current.fontMatrix = fontObj.fontMatrix || _util.FONT_IDENTITY_MATRIX; + let bold = "normal"; + if (fontObj.black) { + bold = "900"; + } else if (fontObj.bold) { + bold = "bold"; + } + const italic = fontObj.italic ? "italic" : "normal"; + if (size < 0) { + size = -size; + current.fontDirection = -1; + } else { + current.fontDirection = 1; + } + current.fontSize = size; + current.fontFamily = fontObj.loadedName; + current.fontWeight = bold; + current.fontStyle = italic; + current.tspan = this.svgFactory.createElement("svg:tspan"); + current.tspan.setAttributeNS(null, "y", pf(-current.y)); + current.xcoords = []; + current.ycoords = []; + } + endText() { + const current = this.current; + if (current.textRenderingMode & _util.TextRenderingMode.ADD_TO_PATH_FLAG && current.txtElement?.hasChildNodes()) { + current.element = current.txtElement; + this.clip("nonzero"); + this.endPath(); + } + } + setLineWidth(width) { + if (width > 0) { + this.current.lineWidth = width; + } + } + setLineCap(style) { + this.current.lineCap = LINE_CAP_STYLES[style]; + } + setLineJoin(style) { + this.current.lineJoin = LINE_JOIN_STYLES[style]; + } + setMiterLimit(limit) { + this.current.miterLimit = limit; + } + setStrokeAlpha(strokeAlpha) { + this.current.strokeAlpha = strokeAlpha; + } + setStrokeRGBColor(r, g, b) { + this.current.strokeColor = _util.Util.makeHexColor(r, g, b); + } + setFillAlpha(fillAlpha) { + this.current.fillAlpha = fillAlpha; + } + setFillRGBColor(r, g, b) { + this.current.fillColor = _util.Util.makeHexColor(r, g, b); + this.current.tspan = this.svgFactory.createElement("svg:tspan"); + this.current.xcoords = []; + this.current.ycoords = []; + } + setStrokeColorN(args) { + this.current.strokeColor = this._makeColorN_Pattern(args); + } + setFillColorN(args) { + this.current.fillColor = this._makeColorN_Pattern(args); + } + shadingFill(args) { + const { + width, + height + } = this.viewport; + const inv = _util.Util.inverseTransform(this.transformMatrix); + const [x0, y0, x1, y1] = _util.Util.getAxialAlignedBoundingBox([0, 0, width, height], inv); + const rect = this.svgFactory.createElement("svg:rect"); + rect.setAttributeNS(null, "x", x0); + rect.setAttributeNS(null, "y", y0); + rect.setAttributeNS(null, "width", x1 - x0); + rect.setAttributeNS(null, "height", y1 - y0); + rect.setAttributeNS(null, "fill", this._makeShadingPattern(args)); + if (this.current.fillAlpha < 1) { + rect.setAttributeNS(null, "fill-opacity", this.current.fillAlpha); + } + this._ensureTransformGroup().append(rect); + } + _makeColorN_Pattern(args) { + if (args[0] === "TilingPattern") { + return this._makeTilingPattern(args); + } + return this._makeShadingPattern(args); + } + _makeTilingPattern(args) { + const color = args[1]; + const operatorList = args[2]; + const matrix = args[3] || _util.IDENTITY_MATRIX; + const [x0, y0, x1, y1] = args[4]; + const xstep = args[5]; + const ystep = args[6]; + const paintType = args[7]; + const tilingId = `shading${shadingCount++}`; + const [tx0, ty0, tx1, ty1] = _util.Util.normalizeRect([..._util.Util.applyTransform([x0, y0], matrix), ..._util.Util.applyTransform([x1, y1], matrix)]); + const [xscale, yscale] = _util.Util.singularValueDecompose2dScale(matrix); + const txstep = xstep * xscale; + const tystep = ystep * yscale; + const tiling = this.svgFactory.createElement("svg:pattern"); + tiling.setAttributeNS(null, "id", tilingId); + tiling.setAttributeNS(null, "patternUnits", "userSpaceOnUse"); + tiling.setAttributeNS(null, "width", txstep); + tiling.setAttributeNS(null, "height", tystep); + tiling.setAttributeNS(null, "x", `${tx0}`); + tiling.setAttributeNS(null, "y", `${ty0}`); + const svg = this.svg; + const transformMatrix = this.transformMatrix; + const fillColor = this.current.fillColor; + const strokeColor = this.current.strokeColor; + const bbox = this.svgFactory.create(tx1 - tx0, ty1 - ty0); + this.svg = bbox; + this.transformMatrix = matrix; + if (paintType === 2) { + const cssColor = _util.Util.makeHexColor(...color); + this.current.fillColor = cssColor; + this.current.strokeColor = cssColor; + } + this.executeOpTree(this.convertOpList(operatorList)); + this.svg = svg; + this.transformMatrix = transformMatrix; + this.current.fillColor = fillColor; + this.current.strokeColor = strokeColor; + tiling.append(bbox.childNodes[0]); + this.defs.append(tiling); + return `url(#${tilingId})`; + } + _makeShadingPattern(args) { + if (typeof args === "string") { + args = this.objs.get(args); + } + switch (args[0]) { + case "RadialAxial": + const shadingId = `shading${shadingCount++}`; + const colorStops = args[3]; + let gradient; + switch (args[1]) { + case "axial": + const point0 = args[4]; + const point1 = args[5]; + gradient = this.svgFactory.createElement("svg:linearGradient"); + gradient.setAttributeNS(null, "id", shadingId); + gradient.setAttributeNS(null, "gradientUnits", "userSpaceOnUse"); + gradient.setAttributeNS(null, "x1", point0[0]); + gradient.setAttributeNS(null, "y1", point0[1]); + gradient.setAttributeNS(null, "x2", point1[0]); + gradient.setAttributeNS(null, "y2", point1[1]); + break; + case "radial": + const focalPoint = args[4]; + const circlePoint = args[5]; + const focalRadius = args[6]; + const circleRadius = args[7]; + gradient = this.svgFactory.createElement("svg:radialGradient"); + gradient.setAttributeNS(null, "id", shadingId); + gradient.setAttributeNS(null, "gradientUnits", "userSpaceOnUse"); + gradient.setAttributeNS(null, "cx", circlePoint[0]); + gradient.setAttributeNS(null, "cy", circlePoint[1]); + gradient.setAttributeNS(null, "r", circleRadius); + gradient.setAttributeNS(null, "fx", focalPoint[0]); + gradient.setAttributeNS(null, "fy", focalPoint[1]); + gradient.setAttributeNS(null, "fr", focalRadius); + break; + default: + throw new Error(`Unknown RadialAxial type: ${args[1]}`); + } + for (const colorStop of colorStops) { + const stop = this.svgFactory.createElement("svg:stop"); + stop.setAttributeNS(null, "offset", colorStop[0]); + stop.setAttributeNS(null, "stop-color", colorStop[1]); + gradient.append(stop); + } + this.defs.append(gradient); + return `url(#${shadingId})`; + case "Mesh": + (0, _util.warn)("Unimplemented pattern Mesh"); + return null; + case "Dummy": + return "hotpink"; + default: + throw new Error(`Unknown IR type: ${args[0]}`); + } + } + setDash(dashArray, dashPhase) { + this.current.dashArray = dashArray; + this.current.dashPhase = dashPhase; + } + constructPath(ops, args) { + const current = this.current; + let x = current.x, + y = current.y; + let d = []; + let j = 0; + for (const op of ops) { + switch (op | 0) { + case _util.OPS.rectangle: + x = args[j++]; + y = args[j++]; + const width = args[j++]; + const height = args[j++]; + const xw = x + width; + const yh = y + height; + d.push("M", pf(x), pf(y), "L", pf(xw), pf(y), "L", pf(xw), pf(yh), "L", pf(x), pf(yh), "Z"); + break; + case _util.OPS.moveTo: + x = args[j++]; + y = args[j++]; + d.push("M", pf(x), pf(y)); + break; + case _util.OPS.lineTo: + x = args[j++]; + y = args[j++]; + d.push("L", pf(x), pf(y)); + break; + case _util.OPS.curveTo: + x = args[j + 4]; + y = args[j + 5]; + d.push("C", pf(args[j]), pf(args[j + 1]), pf(args[j + 2]), pf(args[j + 3]), pf(x), pf(y)); + j += 6; + break; + case _util.OPS.curveTo2: + d.push("C", pf(x), pf(y), pf(args[j]), pf(args[j + 1]), pf(args[j + 2]), pf(args[j + 3])); + x = args[j + 2]; + y = args[j + 3]; + j += 4; + break; + case _util.OPS.curveTo3: + x = args[j + 2]; + y = args[j + 3]; + d.push("C", pf(args[j]), pf(args[j + 1]), pf(x), pf(y), pf(x), pf(y)); + j += 4; + break; + case _util.OPS.closePath: + d.push("Z"); + break; + } + } + d = d.join(" "); + if (current.path && ops.length > 0 && ops[0] !== _util.OPS.rectangle && ops[0] !== _util.OPS.moveTo) { + d = current.path.getAttributeNS(null, "d") + d; + } else { + current.path = this.svgFactory.createElement("svg:path"); + this._ensureTransformGroup().append(current.path); + } + current.path.setAttributeNS(null, "d", d); + current.path.setAttributeNS(null, "fill", "none"); + current.element = current.path; + current.setCurrentPoint(x, y); + } + endPath() { + const current = this.current; + current.path = null; + if (!this.pendingClip) { + return; + } + if (!current.element) { + this.pendingClip = null; + return; + } + const clipId = `clippath${clipCount++}`; + const clipPath = this.svgFactory.createElement("svg:clipPath"); + clipPath.setAttributeNS(null, "id", clipId); + clipPath.setAttributeNS(null, "transform", pm(this.transformMatrix)); + const clipElement = current.element.cloneNode(true); + if (this.pendingClip === "evenodd") { + clipElement.setAttributeNS(null, "clip-rule", "evenodd"); + } else { + clipElement.setAttributeNS(null, "clip-rule", "nonzero"); + } + this.pendingClip = null; + clipPath.append(clipElement); + this.defs.append(clipPath); + if (current.activeClipUrl) { + current.clipGroup = null; + for (const prev of this.extraStack) { + prev.clipGroup = null; + } + clipPath.setAttributeNS(null, "clip-path", current.activeClipUrl); + } + current.activeClipUrl = `url(#${clipId})`; + this.tgrp = null; + } + clip(type) { + this.pendingClip = type; + } + closePath() { + const current = this.current; + if (current.path) { + const d = `${current.path.getAttributeNS(null, "d")}Z`; + current.path.setAttributeNS(null, "d", d); + } + } + setLeading(leading) { + this.current.leading = -leading; + } + setTextRise(textRise) { + this.current.textRise = textRise; + } + setTextRenderingMode(textRenderingMode) { + this.current.textRenderingMode = textRenderingMode; + } + setHScale(scale) { + this.current.textHScale = scale / 100; + } + setRenderingIntent(intent) {} + setFlatness(flatness) {} + setGState(states) { + for (const [key, value] of states) { + switch (key) { + case "LW": + this.setLineWidth(value); + break; + case "LC": + this.setLineCap(value); + break; + case "LJ": + this.setLineJoin(value); + break; + case "ML": + this.setMiterLimit(value); + break; + case "D": + this.setDash(value[0], value[1]); + break; + case "RI": + this.setRenderingIntent(value); + break; + case "FL": + this.setFlatness(value); + break; + case "Font": + this.setFont(value); + break; + case "CA": + this.setStrokeAlpha(value); + break; + case "ca": + this.setFillAlpha(value); + break; + default: + (0, _util.warn)(`Unimplemented graphic state operator ${key}`); + break; + } + } + } + fill() { + const current = this.current; + if (current.element) { + current.element.setAttributeNS(null, "fill", current.fillColor); + current.element.setAttributeNS(null, "fill-opacity", current.fillAlpha); + this.endPath(); + } + } + stroke() { + const current = this.current; + if (current.element) { + this._setStrokeAttributes(current.element); + current.element.setAttributeNS(null, "fill", "none"); + this.endPath(); + } + } + _setStrokeAttributes(element, lineWidthScale = 1) { + const current = this.current; + let dashArray = current.dashArray; + if (lineWidthScale !== 1 && dashArray.length > 0) { + dashArray = dashArray.map(function (value) { + return lineWidthScale * value; + }); + } + element.setAttributeNS(null, "stroke", current.strokeColor); + element.setAttributeNS(null, "stroke-opacity", current.strokeAlpha); + element.setAttributeNS(null, "stroke-miterlimit", pf(current.miterLimit)); + element.setAttributeNS(null, "stroke-linecap", current.lineCap); + element.setAttributeNS(null, "stroke-linejoin", current.lineJoin); + element.setAttributeNS(null, "stroke-width", pf(lineWidthScale * current.lineWidth) + "px"); + element.setAttributeNS(null, "stroke-dasharray", dashArray.map(pf).join(" ")); + element.setAttributeNS(null, "stroke-dashoffset", pf(lineWidthScale * current.dashPhase) + "px"); + } + eoFill() { + this.current.element?.setAttributeNS(null, "fill-rule", "evenodd"); + this.fill(); + } + fillStroke() { + this.stroke(); + this.fill(); + } + eoFillStroke() { + this.current.element?.setAttributeNS(null, "fill-rule", "evenodd"); + this.fillStroke(); + } + closeStroke() { + this.closePath(); + this.stroke(); + } + closeFillStroke() { + this.closePath(); + this.fillStroke(); + } + closeEOFillStroke() { + this.closePath(); + this.eoFillStroke(); + } + paintSolidColorImageMask() { + const rect = this.svgFactory.createElement("svg:rect"); + rect.setAttributeNS(null, "x", "0"); + rect.setAttributeNS(null, "y", "0"); + rect.setAttributeNS(null, "width", "1px"); + rect.setAttributeNS(null, "height", "1px"); + rect.setAttributeNS(null, "fill", this.current.fillColor); + this._ensureTransformGroup().append(rect); + } + paintImageXObject(objId) { + const imgData = this.getObject(objId); + if (!imgData) { + (0, _util.warn)(`Dependent image with object ID ${objId} is not ready yet`); + return; + } + this.paintInlineImageXObject(imgData); + } + paintInlineImageXObject(imgData, mask) { + const width = imgData.width; + const height = imgData.height; + const imgSrc = convertImgDataToPng(imgData, this.forceDataSchema, !!mask); + const cliprect = this.svgFactory.createElement("svg:rect"); + cliprect.setAttributeNS(null, "x", "0"); + cliprect.setAttributeNS(null, "y", "0"); + cliprect.setAttributeNS(null, "width", pf(width)); + cliprect.setAttributeNS(null, "height", pf(height)); + this.current.element = cliprect; + this.clip("nonzero"); + const imgEl = this.svgFactory.createElement("svg:image"); + imgEl.setAttributeNS(XLINK_NS, "xlink:href", imgSrc); + imgEl.setAttributeNS(null, "x", "0"); + imgEl.setAttributeNS(null, "y", pf(-height)); + imgEl.setAttributeNS(null, "width", pf(width) + "px"); + imgEl.setAttributeNS(null, "height", pf(height) + "px"); + imgEl.setAttributeNS(null, "transform", `scale(${pf(1 / width)} ${pf(-1 / height)})`); + if (mask) { + mask.append(imgEl); + } else { + this._ensureTransformGroup().append(imgEl); + } + } + paintImageMaskXObject(img) { + const imgData = this.getObject(img.data, img); + if (imgData.bitmap) { + (0, _util.warn)("paintImageMaskXObject: ImageBitmap support is not implemented, " + "ensure that the `isOffscreenCanvasSupported` API parameter is disabled."); + return; + } + const current = this.current; + const width = imgData.width; + const height = imgData.height; + const fillColor = current.fillColor; + current.maskId = `mask${maskCount++}`; + const mask = this.svgFactory.createElement("svg:mask"); + mask.setAttributeNS(null, "id", current.maskId); + const rect = this.svgFactory.createElement("svg:rect"); + rect.setAttributeNS(null, "x", "0"); + rect.setAttributeNS(null, "y", "0"); + rect.setAttributeNS(null, "width", pf(width)); + rect.setAttributeNS(null, "height", pf(height)); + rect.setAttributeNS(null, "fill", fillColor); + rect.setAttributeNS(null, "mask", `url(#${current.maskId})`); + this.defs.append(mask); + this._ensureTransformGroup().append(rect); + this.paintInlineImageXObject(imgData, mask); + } + paintFormXObjectBegin(matrix, bbox) { + if (Array.isArray(matrix) && matrix.length === 6) { + this.transform(matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]); + } + if (bbox) { + const width = bbox[2] - bbox[0]; + const height = bbox[3] - bbox[1]; + const cliprect = this.svgFactory.createElement("svg:rect"); + cliprect.setAttributeNS(null, "x", bbox[0]); + cliprect.setAttributeNS(null, "y", bbox[1]); + cliprect.setAttributeNS(null, "width", pf(width)); + cliprect.setAttributeNS(null, "height", pf(height)); + this.current.element = cliprect; + this.clip("nonzero"); + this.endPath(); + } + } + paintFormXObjectEnd() {} + _initialize(viewport) { + const svg = this.svgFactory.create(viewport.width, viewport.height); + const definitions = this.svgFactory.createElement("svg:defs"); + svg.append(definitions); + this.defs = definitions; + const rootGroup = this.svgFactory.createElement("svg:g"); + rootGroup.setAttributeNS(null, "transform", pm(viewport.transform)); + svg.append(rootGroup); + this.svg = rootGroup; + return svg; + } + _ensureClipGroup() { + if (!this.current.clipGroup) { + const clipGroup = this.svgFactory.createElement("svg:g"); + clipGroup.setAttributeNS(null, "clip-path", this.current.activeClipUrl); + this.svg.append(clipGroup); + this.current.clipGroup = clipGroup; + } + return this.current.clipGroup; + } + _ensureTransformGroup() { + if (!this.tgrp) { + this.tgrp = this.svgFactory.createElement("svg:g"); + this.tgrp.setAttributeNS(null, "transform", pm(this.transformMatrix)); + if (this.current.activeClipUrl) { + this._ensureClipGroup().append(this.tgrp); + } else { + this.svg.append(this.tgrp); + } + } + return this.tgrp; + } +} +exports.SVGGraphics = SVGGraphics; + +/***/ }) +/******/ ]); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __w_pdfjs_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __w_pdfjs_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +var exports = __webpack_exports__; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "AbortException", ({ + enumerable: true, + get: function () { + return _util.AbortException; + } +})); +Object.defineProperty(exports, "AnnotationEditorLayer", ({ + enumerable: true, + get: function () { + return _annotation_editor_layer.AnnotationEditorLayer; + } +})); +Object.defineProperty(exports, "AnnotationEditorParamsType", ({ + enumerable: true, + get: function () { + return _util.AnnotationEditorParamsType; + } +})); +Object.defineProperty(exports, "AnnotationEditorType", ({ + enumerable: true, + get: function () { + return _util.AnnotationEditorType; + } +})); +Object.defineProperty(exports, "AnnotationEditorUIManager", ({ + enumerable: true, + get: function () { + return _tools.AnnotationEditorUIManager; + } +})); +Object.defineProperty(exports, "AnnotationLayer", ({ + enumerable: true, + get: function () { + return _annotation_layer.AnnotationLayer; + } +})); +Object.defineProperty(exports, "AnnotationMode", ({ + enumerable: true, + get: function () { + return _util.AnnotationMode; + } +})); +Object.defineProperty(exports, "CMapCompressionType", ({ + enumerable: true, + get: function () { + return _util.CMapCompressionType; + } +})); +Object.defineProperty(exports, "FeatureTest", ({ + enumerable: true, + get: function () { + return _util.FeatureTest; + } +})); +Object.defineProperty(exports, "GlobalWorkerOptions", ({ + enumerable: true, + get: function () { + return _worker_options.GlobalWorkerOptions; + } +})); +Object.defineProperty(exports, "ImageKind", ({ + enumerable: true, + get: function () { + return _util.ImageKind; + } +})); +Object.defineProperty(exports, "InvalidPDFException", ({ + enumerable: true, + get: function () { + return _util.InvalidPDFException; + } +})); +Object.defineProperty(exports, "MissingPDFException", ({ + enumerable: true, + get: function () { + return _util.MissingPDFException; + } +})); +Object.defineProperty(exports, "OPS", ({ + enumerable: true, + get: function () { + return _util.OPS; + } +})); +Object.defineProperty(exports, "PDFDataRangeTransport", ({ + enumerable: true, + get: function () { + return _api.PDFDataRangeTransport; + } +})); +Object.defineProperty(exports, "PDFDateString", ({ + enumerable: true, + get: function () { + return _display_utils.PDFDateString; + } +})); +Object.defineProperty(exports, "PDFWorker", ({ + enumerable: true, + get: function () { + return _api.PDFWorker; + } +})); +Object.defineProperty(exports, "PasswordResponses", ({ + enumerable: true, + get: function () { + return _util.PasswordResponses; + } +})); +Object.defineProperty(exports, "PermissionFlag", ({ + enumerable: true, + get: function () { + return _util.PermissionFlag; + } +})); +Object.defineProperty(exports, "PixelsPerInch", ({ + enumerable: true, + get: function () { + return _display_utils.PixelsPerInch; + } +})); +Object.defineProperty(exports, "PromiseCapability", ({ + enumerable: true, + get: function () { + return _util.PromiseCapability; + } +})); +Object.defineProperty(exports, "RenderingCancelledException", ({ + enumerable: true, + get: function () { + return _display_utils.RenderingCancelledException; + } +})); +exports.SVGGraphics = void 0; +Object.defineProperty(exports, "UnexpectedResponseException", ({ + enumerable: true, + get: function () { + return _util.UnexpectedResponseException; + } +})); +Object.defineProperty(exports, "Util", ({ + enumerable: true, + get: function () { + return _util.Util; + } +})); +Object.defineProperty(exports, "VerbosityLevel", ({ + enumerable: true, + get: function () { + return _util.VerbosityLevel; + } +})); +Object.defineProperty(exports, "XfaLayer", ({ + enumerable: true, + get: function () { + return _xfa_layer.XfaLayer; + } +})); +Object.defineProperty(exports, "build", ({ + enumerable: true, + get: function () { + return _api.build; + } +})); +Object.defineProperty(exports, "createValidAbsoluteUrl", ({ + enumerable: true, + get: function () { + return _util.createValidAbsoluteUrl; + } +})); +Object.defineProperty(exports, "getDocument", ({ + enumerable: true, + get: function () { + return _api.getDocument; + } +})); +Object.defineProperty(exports, "getFilenameFromUrl", ({ + enumerable: true, + get: function () { + return _display_utils.getFilenameFromUrl; + } +})); +Object.defineProperty(exports, "getPdfFilenameFromUrl", ({ + enumerable: true, + get: function () { + return _display_utils.getPdfFilenameFromUrl; + } +})); +Object.defineProperty(exports, "getXfaPageViewport", ({ + enumerable: true, + get: function () { + return _display_utils.getXfaPageViewport; + } +})); +Object.defineProperty(exports, "isDataScheme", ({ + enumerable: true, + get: function () { + return _display_utils.isDataScheme; + } +})); +Object.defineProperty(exports, "isPdfFile", ({ + enumerable: true, + get: function () { + return _display_utils.isPdfFile; + } +})); +Object.defineProperty(exports, "loadScript", ({ + enumerable: true, + get: function () { + return _display_utils.loadScript; + } +})); +Object.defineProperty(exports, "normalizeUnicode", ({ + enumerable: true, + get: function () { + return _util.normalizeUnicode; + } +})); +Object.defineProperty(exports, "renderTextLayer", ({ + enumerable: true, + get: function () { + return _text_layer.renderTextLayer; + } +})); +Object.defineProperty(exports, "setLayerDimensions", ({ + enumerable: true, + get: function () { + return _display_utils.setLayerDimensions; + } +})); +Object.defineProperty(exports, "shadow", ({ + enumerable: true, + get: function () { + return _util.shadow; + } +})); +Object.defineProperty(exports, "updateTextLayer", ({ + enumerable: true, + get: function () { + return _text_layer.updateTextLayer; + } +})); +Object.defineProperty(exports, "version", ({ + enumerable: true, + get: function () { + return _api.version; + } +})); +var _util = __w_pdfjs_require__(1); +var _api = __w_pdfjs_require__(2); +var _display_utils = __w_pdfjs_require__(6); +var _text_layer = __w_pdfjs_require__(26); +var _annotation_editor_layer = __w_pdfjs_require__(27); +var _tools = __w_pdfjs_require__(5); +var _annotation_layer = __w_pdfjs_require__(29); +var _worker_options = __w_pdfjs_require__(14); +var _xfa_layer = __w_pdfjs_require__(31); +const pdfjsVersion = '3.8.162'; +const pdfjsBuild = '2c74323e3'; +const SVGGraphics = (__w_pdfjs_require__(34).SVGGraphics); +exports.SVGGraphics = SVGGraphics; +})(); + +/******/ return __webpack_exports__; +/******/ })() +; +}); +//# sourceMappingURL=pdf.js.map \ No newline at end of file diff --git a/media/js/pdf4/build/pdf.worker.mjs b/media/js/pdf/build/pdf.worker.js similarity index 62% rename from media/js/pdf4/build/pdf.worker.mjs rename to media/js/pdf/build/pdf.worker.js index f759c2e16a..c09d04eaa2 100644 --- a/media/js/pdf4/build/pdf.worker.mjs +++ b/media/js/pdf/build/pdf.worker.js @@ -20,4592 +20,664 @@ * JavaScript code in this page */ -/******/ var __webpack_modules__ = ({ - -/***/ 9306: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define("pdfjs-dist/build/pdf.worker", [], factory); + else if(typeof exports === 'object') + exports["pdfjs-dist/build/pdf.worker"] = factory(); + else + root["pdfjs-dist/build/pdf.worker"] = root.pdfjsWorker = factory(); +})(globalThis, () => { +return /******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ([ +/* 0 */, +/* 1 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -var isCallable = __webpack_require__(4901); -var tryToString = __webpack_require__(6823); -var $TypeError = TypeError; - -// `Assert: IsCallable(argument) is true` -module.exports = function (argument) { - if (isCallable(argument)) return argument; - throw new $TypeError(tryToString(argument) + ' is not a function'); -}; - - -/***/ }), - -/***/ 3506: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPossiblePrototype = __webpack_require__(3925); - -var $String = String; -var $TypeError = TypeError; - -module.exports = function (argument) { - if (isPossiblePrototype(argument)) return argument; - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); -}; - - -/***/ }), - -/***/ 7080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var has = (__webpack_require__(4402).has); - -// Perform ? RequireInternalSlot(M, [[SetData]]) -module.exports = function (it) { - has(it); - return it; -}; - - -/***/ }), - -/***/ 679: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPrototypeOf = __webpack_require__(1625); - -var $TypeError = TypeError; - -module.exports = function (it, Prototype) { - if (isPrototypeOf(Prototype, it)) return it; - throw new $TypeError('Incorrect invocation'); -}; - - -/***/ }), - -/***/ 8551: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -var $String = String; -var $TypeError = TypeError; - -// `Assert: Type(argument) is Object` -module.exports = function (argument) { - if (isObject(argument)) return argument; - throw new $TypeError($String(argument) + ' is not an object'); -}; - - -/***/ }), - -/***/ 7811: -/***/ ((module) => { - - -// eslint-disable-next-line es/no-typed-arrays -- safe -module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; - - -/***/ }), - -/***/ 7394: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var classof = __webpack_require__(4576); - -var $TypeError = TypeError; - -// Includes -// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). -// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. -module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { - if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected'); - return O.byteLength; -}; - - -/***/ }), - -/***/ 3238: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var arrayBufferByteLength = __webpack_require__(7394); - -var slice = uncurryThis(ArrayBuffer.prototype.slice); - -module.exports = function (O) { - if (arrayBufferByteLength(O) !== 0) return false; - try { - slice(O, 0, 0); - return false; - } catch (error) { - return true; +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.WorkerTask = exports.WorkerMessageHandler = void 0; +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _primitives = __w_pdfjs_require__(4); +var _pdf_manager = __w_pdfjs_require__(6); +var _annotation = __w_pdfjs_require__(10); +var _cleanup_helper = __w_pdfjs_require__(72); +var _writer = __w_pdfjs_require__(66); +var _is_node = __w_pdfjs_require__(104); +var _message_handler = __w_pdfjs_require__(105); +var _worker_stream = __w_pdfjs_require__(106); +class WorkerTask { + constructor(name) { + this.name = name; + this.terminated = false; + this._capability = new _util.PromiseCapability(); } -}; - - -/***/ }), - -/***/ 5636: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var uncurryThis = __webpack_require__(9504); -var uncurryThisAccessor = __webpack_require__(6706); -var toIndex = __webpack_require__(7696); -var isDetached = __webpack_require__(3238); -var arrayBufferByteLength = __webpack_require__(7394); -var detachTransferable = __webpack_require__(4483); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var ArrayBuffer = global.ArrayBuffer; -var DataView = global.DataView; -var TypeError = global.TypeError; -var min = Math.min; -var ArrayBufferPrototype = ArrayBuffer.prototype; -var DataViewPrototype = DataView.prototype; -var slice = uncurryThis(ArrayBufferPrototype.slice); -var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); -var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); -var getInt8 = uncurryThis(DataViewPrototype.getInt8); -var setInt8 = uncurryThis(DataViewPrototype.setInt8); - -module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) { - var byteLength = arrayBufferByteLength(arrayBuffer); - var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); - var fixedLength = !isResizable || !isResizable(arrayBuffer); - var newBuffer; - if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached'); - if (PROPER_STRUCTURED_CLONE_TRANSFER) { - arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); - if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer; + get finished() { + return this._capability.promise; } - if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) { - newBuffer = slice(arrayBuffer, 0, newByteLength); - } else { - var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined; - newBuffer = new ArrayBuffer(newByteLength, options); - var a = new DataView(arrayBuffer); - var b = new DataView(newBuffer); - var copyLength = min(newByteLength, byteLength); - for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); + finish() { + this._capability.resolve(); } - if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer); - return newBuffer; -}; - - -/***/ }), - -/***/ 4644: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_ARRAY_BUFFER = __webpack_require__(7811); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var hasOwn = __webpack_require__(9297); -var classof = __webpack_require__(6955); -var tryToString = __webpack_require__(6823); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineBuiltInAccessor = __webpack_require__(2106); -var isPrototypeOf = __webpack_require__(1625); -var getPrototypeOf = __webpack_require__(2787); -var setPrototypeOf = __webpack_require__(2967); -var wellKnownSymbol = __webpack_require__(8227); -var uid = __webpack_require__(3392); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var Int8Array = global.Int8Array; -var Int8ArrayPrototype = Int8Array && Int8Array.prototype; -var Uint8ClampedArray = global.Uint8ClampedArray; -var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; -var TypedArray = Int8Array && getPrototypeOf(Int8Array); -var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); -var ObjectPrototype = Object.prototype; -var TypeError = global.TypeError; - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); -var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; -// Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; -var TYPED_ARRAY_TAG_REQUIRED = false; -var NAME, Constructor, Prototype; - -var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 -}; - -var BigIntArrayConstructorsList = { - BigInt64Array: 8, - BigUint64Array: 8 -}; - -var isView = function isView(it) { - if (!isObject(it)) return false; - var klass = classof(it); - return klass === 'DataView' - || hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var getTypedArrayConstructor = function (it) { - var proto = getPrototypeOf(it); - if (!isObject(proto)) return; - var state = getInternalState(proto); - return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); -}; - -var isTypedArray = function (it) { - if (!isObject(it)) return false; - var klass = classof(it); - return hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw new TypeError('Target is not a typed array'); -}; - -var aTypedArrayConstructor = function (C) { - if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; - throw new TypeError(tryToString(C) + ' is not a typed array constructor'); -}; - -var exportTypedArrayMethod = function (KEY, property, forced, options) { - if (!DESCRIPTORS) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { - delete TypedArrayConstructor.prototype[KEY]; - } catch (error) { - // old WebKit bug - some methods are non-configurable - try { - TypedArrayConstructor.prototype[KEY] = property; - } catch (error2) { /* empty */ } + terminate() { + this.terminated = true; + } + ensureNotTerminated() { + if (this.terminated) { + throw new Error("Worker task was terminated"); } } - if (!TypedArrayPrototype[KEY] || forced) { - defineBuiltIn(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); - } -}; - -var exportTypedArrayStaticMethod = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!DESCRIPTORS) return; - if (setPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { - delete TypedArrayConstructor[KEY]; - } catch (error) { /* empty */ } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); - } catch (error) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - defineBuiltIn(TypedArrayConstructor, KEY, property); - } - } -}; - -for (NAME in TypedArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; - else NATIVE_ARRAY_BUFFER_VIEWS = false; } - -for (NAME in BigIntArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; -} - -// WebKit bug - typed arrays constructors prototype is Object.prototype -if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow -- safe - TypedArray = function TypedArray() { - throw new TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); - } -} - -if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); - } -} - -// WebKit bug - one more object in Uint8ClampedArray prototype chain -if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); -} - -if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { - TYPED_ARRAY_TAG_REQUIRED = true; - defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { - configurable: true, - get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } - }); - for (NAME in TypedArrayConstructorsList) if (global[NAME]) { - createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); - } -} - -module.exports = { - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportTypedArrayMethod: exportTypedArrayMethod, - exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, - getTypedArrayConstructor: getTypedArrayConstructor, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype -}; - - -/***/ }), - -/***/ 5370: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -module.exports = function (Constructor, list, $length) { - var index = 0; - var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); - var result = new Constructor(length); - while (length > index) result[index] = list[index++]; - return result; -}; - - -/***/ }), - -/***/ 9617: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIndexedObject = __webpack_require__(5397); -var toAbsoluteIndex = __webpack_require__(5610); -var lengthOfArrayLike = __webpack_require__(6198); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = lengthOfArrayLike(O); - if (length === 0) return !IS_INCLUDES && -1; - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el !== el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare -- NaN check - if (value !== value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ 4527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var isArray = __webpack_require__(4376); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Safari < 13 does not throw an error in this case -var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { - // makes no sense without proper strict mode support - if (this !== undefined) return true; - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).length = 1; - } catch (error) { - return error instanceof TypeError; - } -}(); - -module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { - if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { - throw new $TypeError('Cannot set read only .length'); - } return O.length = length; -} : function (O, length) { - return O.length = length; -}; - - -/***/ }), - -/***/ 7628: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed -module.exports = function (O, C) { - var len = lengthOfArrayLike(O); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = O[len - k - 1]; - return A; -}; - - -/***/ }), - -/***/ 9928: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); -var toIntegerOrInfinity = __webpack_require__(1291); - -var $RangeError = RangeError; - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with -module.exports = function (O, C, index, value) { - var len = lengthOfArrayLike(O); - var relativeIndex = toIntegerOrInfinity(index); - var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; - if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index'); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; - return A; -}; - - -/***/ }), - -/***/ 6319: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var anObject = __webpack_require__(8551); -var iteratorClose = __webpack_require__(9539); - -// call something on iterator step with safe closing on error -module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } -}; - - -/***/ }), - -/***/ 4576: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var toString = uncurryThis({}.toString); -var stringSlice = uncurryThis(''.slice); - -module.exports = function (it) { - return stringSlice(toString(it), 8, -1); -}; - - -/***/ }), - -/***/ 6955: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var TO_STRING_TAG_SUPPORT = __webpack_require__(2140); -var isCallable = __webpack_require__(4901); -var classofRaw = __webpack_require__(4576); -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var $Object = Object; - -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ 7740: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var ownKeys = __webpack_require__(5031); -var getOwnPropertyDescriptorModule = __webpack_require__(7347); -var definePropertyModule = __webpack_require__(4913); - -module.exports = function (target, source, exceptions) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { - defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - } -}; - - -/***/ }), - -/***/ 2211: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ 2529: -/***/ ((module) => { - - -// `CreateIterResultObject` abstract operation -// https://tc39.es/ecma262/#sec-createiterresultobject -module.exports = function (value, done) { - return { value: value, done: done }; -}; - - -/***/ }), - -/***/ 6699: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ 6980: -/***/ ((module) => { - - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ 4659: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = function (object, key, value) { - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); - else object[key] = value; -}; - - -/***/ }), - -/***/ 2106: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var makeBuiltIn = __webpack_require__(283); -var defineProperty = __webpack_require__(4913); - -module.exports = function (target, name, descriptor) { - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); - return defineProperty.f(target, name, descriptor); -}; - - -/***/ }), - -/***/ 6840: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var definePropertyModule = __webpack_require__(4913); -var makeBuiltIn = __webpack_require__(283); -var defineGlobalProperty = __webpack_require__(9433); - -module.exports = function (O, key, value, options) { - if (!options) options = {}; - var simple = options.enumerable; - var name = options.name !== undefined ? options.name : key; - if (isCallable(value)) makeBuiltIn(value, name, options); - if (options.global) { - if (simple) O[key] = value; - else defineGlobalProperty(key, value); - } else { - try { - if (!options.unsafe) delete O[key]; - else if (O[key]) simple = true; - } catch (error) { /* empty */ } - if (simple) O[key] = value; - else definePropertyModule.f(O, key, { - value: value, - enumerable: false, - configurable: !options.nonConfigurable, - writable: !options.nonWritable +exports.WorkerTask = WorkerTask; +class WorkerMessageHandler { + static setup(handler, port) { + let testMessageProcessed = false; + handler.on("test", function (data) { + if (testMessageProcessed) { + return; + } + testMessageProcessed = true; + handler.send("test", data instanceof Uint8Array); }); - } return O; -}; - - -/***/ }), - -/***/ 6279: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); - -module.exports = function (target, src, options) { - for (var key in src) defineBuiltIn(target, key, src[key], options); - return target; -}; - - -/***/ }), - -/***/ 9433: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); - -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; - -module.exports = function (key, value) { - try { - defineProperty(global, key, { value: value, configurable: true, writable: true }); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ 3724: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; -}); - - -/***/ }), - -/***/ 4483: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var tryNodeRequire = __webpack_require__(9714); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var $ArrayBuffer = global.ArrayBuffer; -var $MessageChannel = global.MessageChannel; -var detach = false; -var WorkerThreads, channel, buffer, $detach; - -if (PROPER_STRUCTURED_CLONE_TRANSFER) { - detach = function (transferable) { - structuredClone(transferable, { transfer: [transferable] }); - }; -} else if ($ArrayBuffer) try { - if (!$MessageChannel) { - WorkerThreads = tryNodeRequire('worker_threads'); - if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel; - } - - if ($MessageChannel) { - channel = new $MessageChannel(); - buffer = new $ArrayBuffer(2); - - $detach = function (transferable) { - channel.port1.postMessage(null, [transferable]); - }; - - if (buffer.byteLength === 2) { - $detach(buffer); - if (buffer.byteLength === 0) detach = $detach; - } - } -} catch (error) { /* empty */ } - -module.exports = detach; - - -/***/ }), - -/***/ 4055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ 6837: -/***/ ((module) => { - - -var $TypeError = TypeError; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - -module.exports = function (it) { - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); - return it; -}; - - -/***/ }), - -/***/ 5002: -/***/ ((module) => { - - -module.exports = { - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } -}; - - -/***/ }), - -/***/ 7290: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -module.exports = !IS_DENO && !IS_NODE - && typeof window == 'object' - && typeof document == 'object'; - - -/***/ }), - -/***/ 516: -/***/ ((module) => { - - -/* global Deno -- Deno case */ -module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; - - -/***/ }), - -/***/ 9088: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var classof = __webpack_require__(4576); - -module.exports = classof(global.process) === 'process'; - - -/***/ }), - -/***/ 9392: -/***/ ((module) => { - - -module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - - -/***/ }), - -/***/ 7388: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var userAgent = __webpack_require__(9392); - -var process = global.process; -var Deno = global.Deno; -var versions = process && process.versions || Deno && Deno.version; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - // in old Chrome, versions of V8 isn't V8 = Chrome / 10 - // but their correct versions are not interesting for us - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); -} - -// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` -// so check `userAgent` even if `.v8` exists, but 0 -if (!version && userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = +match[1]; - } -} - -module.exports = version; - - -/***/ }), - -/***/ 8727: -/***/ ((module) => { - - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ 6193: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var $Error = Error; -var replace = uncurryThis(''.replace); - -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); -// eslint-disable-next-line redos/no-vulnerable -- safe -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); - -module.exports = function (stack, dropEntries) { - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); - } return stack; -}; - - -/***/ }), - -/***/ 6518: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var getOwnPropertyDescriptor = (__webpack_require__(7347).f); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineGlobalProperty = __webpack_require__(9433); -var copyConstructorProperties = __webpack_require__(7740); -var isForced = __webpack_require__(2796); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.dontCallGetSet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || defineGlobalProperty(TARGET, {}); - } else { - target = global[TARGET] && global[TARGET].prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.dontCallGetSet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty == typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - defineBuiltIn(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ 9039: -/***/ ((module) => { - - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 6080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(7476); -var aCallable = __webpack_require__(9306); -var NATIVE_BIND = __webpack_require__(616); - -var bind = uncurryThis(uncurryThis.bind); - -// optional / simple context binding -module.exports = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ 616: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - // eslint-disable-next-line es/no-function-prototype-bind -- safe - var test = (function () { /* empty */ }).bind(); - // eslint-disable-next-line no-prototype-builtins -- safe - return typeof test != 'function' || test.hasOwnProperty('prototype'); -}); - - -/***/ }), - -/***/ 9565: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var call = Function.prototype.call; - -module.exports = NATIVE_BIND ? call.bind(call) : function () { - return call.apply(call, arguments); -}; - - -/***/ }), - -/***/ 350: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var hasOwn = __webpack_require__(9297); - -var FunctionPrototype = Function.prototype; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; - -var EXISTS = hasOwn(FunctionPrototype, 'name'); -// additional protection from minified / mangled / dropped function names -var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; -var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); - -module.exports = { - EXISTS: EXISTS, - PROPER: PROPER, - CONFIGURABLE: CONFIGURABLE -}; - - -/***/ }), - -/***/ 6706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); - -module.exports = function (object, key, method) { - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 7476: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classofRaw = __webpack_require__(4576); -var uncurryThis = __webpack_require__(9504); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis(fn); -}; - - -/***/ }), - -/***/ 9504: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var FunctionPrototype = Function.prototype; -var call = FunctionPrototype.call; -var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); - -module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { - return function () { - return call.apply(fn, arguments); - }; -}; - - -/***/ }), - -/***/ 7751: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var aFunction = function (argument) { - return isCallable(argument) ? argument : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ 1767: -/***/ ((module) => { - - -// `GetIteratorDirect(obj)` abstract operation -// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect -module.exports = function (obj) { - return { - iterator: obj, - next: obj.next, - done: false - }; -}; - - -/***/ }), - -/***/ 851: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); -var getMethod = __webpack_require__(5966); -var isNullOrUndefined = __webpack_require__(4117); -var Iterators = __webpack_require__(6269); -var wellKnownSymbol = __webpack_require__(8227); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) - || getMethod(it, '@@iterator') - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ 81: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var getIteratorMethod = __webpack_require__(851); - -var $TypeError = TypeError; - -module.exports = function (argument, usingIterator) { - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); - throw new $TypeError(tryToString(argument) + ' is not iterable'); -}; - - -/***/ }), - -/***/ 5966: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var isNullOrUndefined = __webpack_require__(4117); - -// `GetMethod` abstract operation -// https://tc39.es/ecma262/#sec-getmethod -module.exports = function (V, P) { - var func = V[P]; - return isNullOrUndefined(func) ? undefined : aCallable(func); -}; - - -/***/ }), - -/***/ 3789: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var call = __webpack_require__(9565); -var toIntegerOrInfinity = __webpack_require__(1291); -var getIteratorDirect = __webpack_require__(1767); - -var INVALID_SIZE = 'Invalid size'; -var $RangeError = RangeError; -var $TypeError = TypeError; -var max = Math.max; - -var SetRecord = function (set, intSize) { - this.set = set; - this.size = max(intSize, 0); - this.has = aCallable(set.has); - this.keys = aCallable(set.keys); -}; - -SetRecord.prototype = { - getIterator: function () { - return getIteratorDirect(anObject(call(this.keys, this.set))); - }, - includes: function (it) { - return call(this.has, this.set, it); - } -}; - -// `GetSetRecord` abstract operation -// https://tc39.es/proposal-set-methods/#sec-getsetrecord -module.exports = function (obj) { - anObject(obj); - var numSize = +obj.size; - // NOTE: If size is undefined, then numSize will be NaN - // eslint-disable-next-line no-self-compare -- NaN check - if (numSize !== numSize) throw new $TypeError(INVALID_SIZE); - var intSize = toIntegerOrInfinity(numSize); - if (intSize < 0) throw new $RangeError(INVALID_SIZE); - return new SetRecord(obj, intSize); -}; - - -/***/ }), - -/***/ 4475: -/***/ (function(module) { - - -var check = function (it) { - return it && it.Math === Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line es/no-global-this -- safe - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - // eslint-disable-next-line no-restricted-globals -- safe - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - check(typeof this == 'object' && this) || - // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ 9297: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var toObject = __webpack_require__(8981); - -var hasOwnProperty = uncurryThis({}.hasOwnProperty); - -// `HasOwnProperty` abstract operation -// https://tc39.es/ecma262/#sec-hasownproperty -// eslint-disable-next-line es/no-object-hasown -- safe -module.exports = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty(toObject(it), key); -}; - - -/***/ }), - -/***/ 421: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ 5917: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); -var createElement = __webpack_require__(4055); - -// Thanks to IE8 for its funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a !== 7; -}); - - -/***/ }), - -/***/ 7055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var classof = __webpack_require__(4576); - -var $Object = Object; -var split = uncurryThis(''.split); - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins -- safe - return !$Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) === 'String' ? split(it, '') : $Object(it); -} : $Object; - - -/***/ }), - -/***/ 3167: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var setPrototypeOf = __webpack_require__(2967); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - isCallable(NewTarget = dummy.constructor) && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ 3706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var isCallable = __webpack_require__(4901); -var store = __webpack_require__(7629); - -var functionToString = uncurryThis(Function.toString); - -// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper -if (!isCallable(store.inspectSource)) { - store.inspectSource = function (it) { - return functionToString(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ 1181: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_WEAK_MAP = __webpack_require__(8622); -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); -var createNonEnumerableProperty = __webpack_require__(6699); -var hasOwn = __webpack_require__(9297); -var shared = __webpack_require__(7629); -var sharedKey = __webpack_require__(6119); -var hiddenKeys = __webpack_require__(421); - -var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var TypeError = global.TypeError; -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP || shared.state) { - var store = shared.state || (shared.state = new WeakMap()); - /* eslint-disable no-self-assign -- prototype methods protection */ - store.get = store.get; - store.has = store.has; - store.set = store.set; - /* eslint-enable no-self-assign -- prototype methods protection */ - set = function (it, metadata) { - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - store.set(it, metadata); - return metadata; - }; - get = function (it) { - return store.get(it) || {}; - }; - has = function (it) { - return store.has(it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return hasOwn(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return hasOwn(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ 4209: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); -var Iterators = __webpack_require__(6269); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ 4376: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(4576); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -// eslint-disable-next-line es/no-array-isarray -- safe -module.exports = Array.isArray || function isArray(argument) { - return classof(argument) === 'Array'; -}; - - -/***/ }), - -/***/ 1108: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -module.exports = function (it) { - var klass = classof(it); - return klass === 'BigInt64Array' || klass === 'BigUint64Array'; -}; - - -/***/ }), - -/***/ 4901: -/***/ ((module) => { - - -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot -var documentAll = typeof document == 'object' && document.all; - -// `IsCallable` abstract operation -// https://tc39.es/ecma262/#sec-iscallable -// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing -module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { - return typeof argument == 'function' || argument === documentAll; -} : function (argument) { - return typeof argument == 'function'; -}; - - -/***/ }), - -/***/ 2796: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value === POLYFILL ? true - : value === NATIVE ? false - : isCallable(detection) ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ 4117: -/***/ ((module) => { - - -// we can't use just `it == null` since of `document.all` special case -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec -module.exports = function (it) { - return it === null || it === undefined; -}; - - -/***/ }), - -/***/ 34: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); - -module.exports = function (it) { - return typeof it == 'object' ? it !== null : isCallable(it); -}; - - -/***/ }), - -/***/ 3925: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -module.exports = function (argument) { - return isObject(argument) || argument === null; -}; - - -/***/ }), - -/***/ 6395: -/***/ ((module) => { - - -module.exports = false; - - -/***/ }), - -/***/ 757: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var isCallable = __webpack_require__(4901); -var isPrototypeOf = __webpack_require__(1625); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var $Object = Object; - -module.exports = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - var $Symbol = getBuiltIn('Symbol'); - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); -}; - - -/***/ }), - -/***/ 507: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); - -module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { - var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; - var next = record.next; - var step, result; - while (!(step = call(next, iterator)).done) { - result = fn(step.value); - if (result !== undefined) return result; - } -}; - - -/***/ }), - -/***/ 2652: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var bind = __webpack_require__(6080); -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var isArrayIteratorMethod = __webpack_require__(4209); -var lengthOfArrayLike = __webpack_require__(6198); -var isPrototypeOf = __webpack_require__(1625); -var getIterator = __webpack_require__(81); -var getIteratorMethod = __webpack_require__(851); -var iteratorClose = __webpack_require__(9539); - -var $TypeError = TypeError; - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -var ResultPrototype = Result.prototype; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_RECORD = !!(options && options.IS_RECORD); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator, 'normal', condition); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_RECORD) { - iterator = iterable.iterator; - } else if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { - result = callFn(iterable[index]); - if (result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); - } - iterator = getIterator(iterable, iterFn); - } - - next = IS_RECORD ? iterable.next : iterator.next; - while (!(step = call(next, iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } - if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ 9539: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var getMethod = __webpack_require__(5966); - -module.exports = function (iterator, kind, value) { - var innerResult, innerError; - anObject(iterator); - try { - innerResult = getMethod(iterator, 'return'); - if (!innerResult) { - if (kind === 'throw') throw value; - return value; - } - innerResult = call(innerResult, iterator); - } catch (error) { - innerError = true; - innerResult = error; - } - if (kind === 'throw') throw value; - if (innerError) throw innerResult; - anObject(innerResult); - return value; -}; - - -/***/ }), - -/***/ 9462: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var create = __webpack_require__(2360); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIns = __webpack_require__(6279); -var wellKnownSymbol = __webpack_require__(8227); -var InternalStateModule = __webpack_require__(1181); -var getMethod = __webpack_require__(5966); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var createIterResultObject = __webpack_require__(2529); -var iteratorClose = __webpack_require__(9539); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var ITERATOR_HELPER = 'IteratorHelper'; -var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; -var setInternalState = InternalStateModule.set; - -var createIteratorProxyPrototype = function (IS_ITERATOR) { - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); - - return defineBuiltIns(create(IteratorPrototype), { - next: function next() { - var state = getInternalState(this); - // for simplification: - // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` - // for `%IteratorHelperPrototype%.next` - just a value - if (IS_ITERATOR) return state.nextHandler(); - try { - var result = state.done ? undefined : state.nextHandler(); - return createIterResultObject(result, state.done); - } catch (error) { - state.done = true; - throw error; - } - }, - 'return': function () { - var state = getInternalState(this); - var iterator = state.iterator; - state.done = true; - if (IS_ITERATOR) { - var returnMethod = getMethod(iterator, 'return'); - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); - } - if (state.inner) try { - iteratorClose(state.inner.iterator, 'normal'); - } catch (error) { - return iteratorClose(iterator, 'throw', error); - } - iteratorClose(iterator, 'normal'); - return createIterResultObject(undefined, true); - } - }); -}; - -var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); -var IteratorHelperPrototype = createIteratorProxyPrototype(false); - -createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); - -module.exports = function (nextHandler, IS_ITERATOR) { - var IteratorProxy = function Iterator(record, state) { - if (state) { - state.iterator = record.iterator; - state.next = record.next; - } else state = record; - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; - state.nextHandler = nextHandler; - state.counter = 0; - state.done = false; - setInternalState(this, state); - }; - - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; - - return IteratorProxy; -}; - - -/***/ }), - -/***/ 713: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var result = anObject(call(this.next, iterator)); - var done = this.done = !!result.done; - if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); -}); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -module.exports = function map(mapper) { - anObject(this); - aCallable(mapper); - return new IteratorProxy(getIteratorDirect(this), { - mapper: mapper - }); -}; - - -/***/ }), - -/***/ 7657: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var create = __webpack_require__(2360); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltIn = __webpack_require__(6840); -var wellKnownSymbol = __webpack_require__(8227); -var IS_PURE = __webpack_require__(6395); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -/* eslint-disable es/no-array-prototype-keys -- safe */ -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; -else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); - -// `%IteratorPrototype%[@@iterator]()` method -// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if (!isCallable(IteratorPrototype[ITERATOR])) { - defineBuiltIn(IteratorPrototype, ITERATOR, function () { - return this; - }); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ 6269: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 6198: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toLength = __webpack_require__(8014); - -// `LengthOfArrayLike` abstract operation -// https://tc39.es/ecma262/#sec-lengthofarraylike -module.exports = function (obj) { - return toLength(obj.length); -}; - - -/***/ }), - -/***/ 283: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var hasOwn = __webpack_require__(9297); -var DESCRIPTORS = __webpack_require__(3724); -var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE); -var inspectSource = __webpack_require__(3706); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var $String = String; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; -var stringSlice = uncurryThis(''.slice); -var replace = uncurryThis(''.replace); -var join = uncurryThis([].join); - -var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; -}); - -var TEMPLATE = String(String).split('String'); - -var makeBuiltIn = module.exports = function (value, name, options) { - if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; - } - if (options && options.getter) name = 'get ' + name; - if (options && options.setter) name = 'set ' + name; - if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); - else value.name = name; - } - if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); - } - try { - if (options && hasOwn(options, 'constructor') && options.constructor) { - if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); - // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable - } else if (value.prototype) value.prototype = undefined; - } catch (error) { /* empty */ } - var state = enforceInternalState(value); - if (!hasOwn(state, 'source')) { - state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); - } return value; -}; - -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -// eslint-disable-next-line no-extend-native -- required -Function.prototype.toString = makeBuiltIn(function toString() { - return isCallable(this) && getInternalState(this).source || inspectSource(this); -}, 'toString'); - - -/***/ }), - -/***/ 741: -/***/ ((module) => { - - -var ceil = Math.ceil; -var floor = Math.floor; - -// `Math.trunc` method -// https://tc39.es/ecma262/#sec-math.trunc -// eslint-disable-next-line es/no-math-trunc -- safe -module.exports = Math.trunc || function trunc(x) { - var n = +x; - return (n > 0 ? floor : ceil)(n); -}; - - -/***/ }), - -/***/ 6043: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); - -var $TypeError = TypeError; - -var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aCallable(resolve); - this.reject = aCallable(reject); -}; - -// `NewPromiseCapability` abstract operation -// https://tc39.es/ecma262/#sec-newpromisecapability -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - - -/***/ }), - -/***/ 2603: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toString = __webpack_require__(655); - -module.exports = function (argument, $default) { - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); -}; - - -/***/ }), - -/***/ 2360: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* global ActiveXObject -- old IE, WSH */ -var anObject = __webpack_require__(8551); -var definePropertiesModule = __webpack_require__(6801); -var enumBugKeys = __webpack_require__(8727); -var hiddenKeys = __webpack_require__(421); -var html = __webpack_require__(397); -var documentCreateElement = __webpack_require__(4055); -var sharedKey = __webpack_require__(6119); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - activeXDocument = new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = typeof document != 'undefined' - ? document.domain && activeXDocument - ? NullProtoObjectViaActiveX(activeXDocument) // old IE - : NullProtoObjectViaIFrame() - : NullProtoObjectViaActiveX(activeXDocument); // WSH - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -// eslint-disable-next-line es/no-object-create -- safe -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : definePropertiesModule.f(result, Properties); -}; - - -/***/ }), - -/***/ 6801: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var definePropertyModule = __webpack_require__(4913); -var anObject = __webpack_require__(8551); -var toIndexedObject = __webpack_require__(5397); -var objectKeys = __webpack_require__(1072); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -// eslint-disable-next-line es/no-object-defineproperties -- safe -exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); - return O; -}; - - -/***/ }), - -/***/ 4913: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var IE8_DOM_DEFINE = __webpack_require__(5917); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var anObject = __webpack_require__(8551); -var toPropertyKey = __webpack_require__(6969); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var $defineProperty = Object.defineProperty; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var ENUMERABLE = 'enumerable'; -var CONFIGURABLE = 'configurable'; -var WRITABLE = 'writable'; - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { - var current = $getOwnPropertyDescriptor(O, P); - if (current && current[WRITABLE]) { - O[P] = Attributes.value; - Attributes = { - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], - writable: false - }; - } - } return $defineProperty(O, P, Attributes); -} : $defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return $defineProperty(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ 7347: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var call = __webpack_require__(9565); -var propertyIsEnumerableModule = __webpack_require__(8773); -var createPropertyDescriptor = __webpack_require__(6980); -var toIndexedObject = __webpack_require__(5397); -var toPropertyKey = __webpack_require__(6969); -var hasOwn = __webpack_require__(9297); -var IE8_DOM_DEFINE = __webpack_require__(5917); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPropertyKey(P); - if (IE8_DOM_DEFINE) try { - return $getOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); -}; - - -/***/ }), - -/***/ 8480: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -// eslint-disable-next-line es/no-object-getownpropertynames -- safe -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ 3717: -/***/ ((__unused_webpack_module, exports) => { - - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ 2787: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var isCallable = __webpack_require__(4901); -var toObject = __webpack_require__(8981); -var sharedKey = __webpack_require__(6119); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211); - -var IE_PROTO = sharedKey('IE_PROTO'); -var $Object = Object; -var ObjectPrototype = $Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -// eslint-disable-next-line es/no-object-getprototypeof -- safe -module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { - var object = toObject(O); - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; - var constructor = object.constructor; - if (isCallable(constructor) && object instanceof constructor) { - return constructor.prototype; - } return object instanceof $Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ 1625: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -module.exports = uncurryThis({}.isPrototypeOf); - - -/***/ }), - -/***/ 1828: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); -var toIndexedObject = __webpack_require__(5397); -var indexOf = (__webpack_require__(9617).indexOf); -var hiddenKeys = __webpack_require__(421); - -var push = uncurryThis([].push); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); - // Don't enum bug & hidden keys - while (names.length > i) if (hasOwn(O, key = names[i++])) { - ~indexOf(result, key) || push(result, key); - } - return result; -}; - - -/***/ }), - -/***/ 1072: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -// eslint-disable-next-line es/no-object-keys -- safe -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ 8773: -/***/ ((__unused_webpack_module, exports) => { - - -var $propertyIsEnumerable = {}.propertyIsEnumerable; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : $propertyIsEnumerable; - - -/***/ }), - -/***/ 2967: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable no-proto -- safe */ -var uncurryThisAccessor = __webpack_require__(6706); -var isObject = __webpack_require__(34); -var requireObjectCoercible = __webpack_require__(7750); -var aPossiblePrototype = __webpack_require__(3506); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -// eslint-disable-next-line es/no-object-setprototypeof -- safe -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); - setter(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - requireObjectCoercible(O); - aPossiblePrototype(proto); - if (!isObject(O)) return O; - if (CORRECT_SETTER) setter(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ 4270: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); - -var $TypeError = TypeError; - -// `OrdinaryToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-ordinarytoprimitive -module.exports = function (input, pref) { - var fn, val; - if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; - if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - throw new $TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ 5031: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var getOwnPropertyNamesModule = __webpack_require__(8480); -var getOwnPropertySymbolsModule = __webpack_require__(3717); -var anObject = __webpack_require__(8551); - -var concat = uncurryThis([].concat); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ 7979: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var anObject = __webpack_require__(8551); - -// `RegExp.prototype.flags` getter implementation -// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.hasIndices) result += 'd'; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.dotAll) result += 's'; - if (that.unicode) result += 'u'; - if (that.unicodeSets) result += 'v'; - if (that.sticky) result += 'y'; - return result; -}; - - -/***/ }), - -/***/ 7750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isNullOrUndefined = __webpack_require__(4117); - -var $TypeError = TypeError; - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ 9286: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var SetHelpers = __webpack_require__(4402); -var iterate = __webpack_require__(8469); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; - -module.exports = function (set) { - var result = new Set(); - iterate(set, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 3440: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function difference(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = clone(O); - if (size(O) <= otherRec.size) iterateSet(O, function (e) { - if (otherRec.includes(e)) remove(result, e); - }); - else iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) remove(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4402: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -// eslint-disable-next-line es/no-set -- safe -var SetPrototype = Set.prototype; - -module.exports = { - // eslint-disable-next-line es/no-set -- safe - Set: Set, - add: uncurryThis(SetPrototype.add), - has: uncurryThis(SetPrototype.has), - remove: uncurryThis(SetPrototype['delete']), - proto: SetPrototype -}; - - -/***/ }), - -/***/ 8750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; -var has = SetHelpers.has; - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -module.exports = function intersection(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = new Set(); - - if (size(O) > otherRec.size) { - iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) add(result, e); + handler.on("configure", function (data) { + (0, _util.setVerbosityLevel)(data.verbosity); }); - } else { - iterateSet(O, function (e) { - if (otherRec.includes(e)) add(result, e); + handler.on("GetDocRequest", function (data) { + return WorkerMessageHandler.createDocumentHandler(data, port); }); } - - return result; -}; - - -/***/ }), - -/***/ 4449: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isDisjointFrom` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom -module.exports = function isDisjointFrom(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) <= otherRec.size) return iterateSet(O, function (e) { - if (otherRec.includes(e)) return false; - }, true) !== false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 3838: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var size = __webpack_require__(5170); -var iterate = __webpack_require__(8469); -var getSetRecord = __webpack_require__(3789); - -// `Set.prototype.isSubsetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf -module.exports = function isSubsetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) > otherRec.size) return false; - return iterate(O, function (e) { - if (!otherRec.includes(e)) return false; - }, true) !== false; -}; - - -/***/ }), - -/***/ 8527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isSupersetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf -module.exports = function isSupersetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) < otherRec.size) return false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (!has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 8469: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var iterateSimple = __webpack_require__(507); -var SetHelpers = __webpack_require__(4402); - -var Set = SetHelpers.Set; -var SetPrototype = SetHelpers.proto; -var forEach = uncurryThis(SetPrototype.forEach); -var keys = uncurryThis(SetPrototype.keys); -var next = keys(new Set()).next; - -module.exports = function (set, fn, interruptible) { - return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); -}; - - -/***/ }), - -/***/ 4916: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -var createSetLike = function (size) { - return { - size: size, - has: function () { - return false; - }, - keys: function () { + static createDocumentHandler(docParams, port) { + let pdfManager; + let terminated = false; + let cancelXHRs = null; + const WorkerTasks = new Set(); + const verbosity = (0, _util.getVerbosityLevel)(); + const { + docId, + apiVersion + } = docParams; + const workerVersion = '3.8.162'; + if (apiVersion !== workerVersion) { + throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`); + } + const enumerableProperties = []; + for (const property in []) { + enumerableProperties.push(property); + } + if (enumerableProperties.length) { + throw new Error("The `Array.prototype` contains unexpected enumerable properties: " + enumerableProperties.join(", ") + "; thus breaking e.g. `for...in` iteration of `Array`s."); + } + const workerHandlerName = docId + "_worker"; + let handler = new _message_handler.MessageHandler(workerHandlerName, docId, port); + function ensureNotTerminated() { + if (terminated) { + throw new Error("Worker was terminated"); + } + } + function startWorkerTask(task) { + WorkerTasks.add(task); + } + function finishWorkerTask(task) { + task.finish(); + WorkerTasks.delete(task); + } + async function loadDocument(recoveryMode) { + await pdfManager.ensureDoc("checkHeader"); + await pdfManager.ensureDoc("parseStartXRef"); + await pdfManager.ensureDoc("parse", [recoveryMode]); + await pdfManager.ensureDoc("checkFirstPage", [recoveryMode]); + await pdfManager.ensureDoc("checkLastPage", [recoveryMode]); + const isPureXfa = await pdfManager.ensureDoc("isPureXfa"); + if (isPureXfa) { + const task = new WorkerTask("loadXfaFonts"); + startWorkerTask(task); + await Promise.all([pdfManager.loadXfaFonts(handler, task).catch(reason => {}).then(() => finishWorkerTask(task)), pdfManager.loadXfaImages()]); + } + const [numPages, fingerprints] = await Promise.all([pdfManager.ensureDoc("numPages"), pdfManager.ensureDoc("fingerprints")]); + const htmlForXfa = isPureXfa ? await pdfManager.ensureDoc("htmlForXfa") : null; return { - next: function () { - return { done: true }; - } + numPages, + fingerprints, + htmlForXfa }; } - }; -}; - -module.exports = function (name) { - var Set = getBuiltIn('Set'); - try { - new Set()[name](createSetLike(0)); - try { - // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it - // https://github.com/tc39/proposal-set-methods/pull/88 - new Set()[name](createSetLike(-1)); - return false; - } catch (error2) { - return true; - } - } catch (error) { - return false; - } -}; - - -/***/ }), - -/***/ 5170: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var SetHelpers = __webpack_require__(4402); - -module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { - return set.size; -}; - - -/***/ }), - -/***/ 3650: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -var add = SetHelpers.add; -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function symmetricDifference(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (e) { - if (has(O, e)) remove(result, e); - else add(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4204: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var add = (__webpack_require__(4402).add); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -module.exports = function union(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 6119: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var shared = __webpack_require__(5745); -var uid = __webpack_require__(3392); - -var keys = shared('keys'); - -module.exports = function (key) { - return keys[key] || (keys[key] = uid(key)); -}; - - -/***/ }), - -/***/ 7629: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_PURE = __webpack_require__(6395); -var globalThis = __webpack_require__(4475); -var defineGlobalProperty = __webpack_require__(9433); - -var SHARED = '__core-js_shared__'; -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); - -(store.versions || (store.versions = [])).push({ - version: '3.37.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE', - source: 'https://github.com/zloirock/core-js' -}); - - -/***/ }), - -/***/ 5745: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var store = __webpack_require__(7629); - -module.exports = function (key, value) { - return store[key] || (store[key] = value || {}); -}; - - -/***/ }), - -/***/ 1548: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var fails = __webpack_require__(9039); -var V8 = __webpack_require__(7388); -var IS_BROWSER = __webpack_require__(7290); -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -var structuredClone = global.structuredClone; - -module.exports = !!structuredClone && !fails(function () { - // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation - // https://github.com/zloirock/core-js/issues/679 - if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; - var buffer = new ArrayBuffer(8); - var clone = structuredClone(buffer, { transfer: [buffer] }); - return buffer.byteLength !== 0 || clone.byteLength !== 8; -}); - - -/***/ }), - -/***/ 4495: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__(7388); -var fails = __webpack_require__(9039); -var global = __webpack_require__(4475); - -var $String = global.String; - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - var symbol = Symbol('symbol detection'); - // Chrome 38 Symbol has incorrect toString conversion - // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances - // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, - // of course, fail. - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - !Symbol.sham && V8_VERSION && V8_VERSION < 41; -}); - - -/***/ }), - -/***/ 5610: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toIntegerOrInfinity(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ 5854: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); - -var $TypeError = TypeError; - -// `ToBigInt` abstract operation -// https://tc39.es/ecma262/#sec-tobigint -module.exports = function (argument) { - var prim = toPrimitive(argument, 'number'); - if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint"); - // eslint-disable-next-line es/no-bigint -- safe - return BigInt(prim); -}; - - -/***/ }), - -/***/ 7696: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); -var toLength = __webpack_require__(8014); - -var $RangeError = RangeError; - -// `ToIndex` abstract operation -// https://tc39.es/ecma262/#sec-toindex -module.exports = function (it) { - if (it === undefined) return 0; - var number = toIntegerOrInfinity(it); - var length = toLength(number); - if (number !== length) throw new $RangeError('Wrong length or index'); - return length; -}; - - -/***/ }), - -/***/ 5397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(7055); -var requireObjectCoercible = __webpack_require__(7750); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ 1291: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var trunc = __webpack_require__(741); - -// `ToIntegerOrInfinity` abstract operation -// https://tc39.es/ecma262/#sec-tointegerorinfinity -module.exports = function (argument) { - var number = +argument; - // eslint-disable-next-line no-self-compare -- NaN check - return number !== number || number === 0 ? 0 : trunc(number); -}; - - -/***/ }), - -/***/ 8014: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - var len = toIntegerOrInfinity(argument); - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ 8981: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var requireObjectCoercible = __webpack_require__(7750); - -var $Object = Object; - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return $Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ 2777: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isObject = __webpack_require__(34); -var isSymbol = __webpack_require__(757); -var getMethod = __webpack_require__(5966); -var ordinaryToPrimitive = __webpack_require__(4270); -var wellKnownSymbol = __webpack_require__(8227); - -var $TypeError = TypeError; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -module.exports = function (input, pref) { - if (!isObject(input) || isSymbol(input)) return input; - var exoticToPrim = getMethod(input, TO_PRIMITIVE); - var result; - if (exoticToPrim) { - if (pref === undefined) pref = 'default'; - result = call(exoticToPrim, input, pref); - if (!isObject(result) || isSymbol(result)) return result; - throw new $TypeError("Can't convert object to primitive value"); - } - if (pref === undefined) pref = 'number'; - return ordinaryToPrimitive(input, pref); -}; - - -/***/ }), - -/***/ 6969: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); -var isSymbol = __webpack_require__(757); - -// `ToPropertyKey` abstract operation -// https://tc39.es/ecma262/#sec-topropertykey -module.exports = function (argument) { - var key = toPrimitive(argument, 'string'); - return isSymbol(key) ? key : key + ''; -}; - - -/***/ }), - -/***/ 2140: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ 655: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -var $String = String; - -module.exports = function (argument) { - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); -}; - - -/***/ }), - -/***/ 9714: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_NODE = __webpack_require__(9088); - -module.exports = function (name) { - try { - // eslint-disable-next-line no-new-func -- safe - if (IS_NODE) return Function('return require("' + name + '")')(); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 6823: -/***/ ((module) => { - - -var $String = String; - -module.exports = function (argument) { - try { - return $String(argument); - } catch (error) { - return 'Object'; - } -}; - - -/***/ }), - -/***/ 3392: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var id = 0; -var postfix = Math.random(); -var toString = uncurryThis(1.0.toString); - -module.exports = function (key) { - return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); -}; - - -/***/ }), - -/***/ 7040: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(4495); - -module.exports = NATIVE_SYMBOL - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ 8686: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); - -// V8 ~ Chrome 36- -// https://bugs.chromium.org/p/v8/issues/detail?id=3334 -module.exports = DESCRIPTORS && fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(function () { /* empty */ }, 'prototype', { - value: 42, - writable: false - }).prototype !== 42; -}); - - -/***/ }), - -/***/ 2812: -/***/ ((module) => { - - -var $TypeError = TypeError; - -module.exports = function (passed, required) { - if (passed < required) throw new $TypeError('Not enough arguments'); - return passed; -}; - - -/***/ }), - -/***/ 8622: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var WeakMap = global.WeakMap; - -module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); - - -/***/ }), - -/***/ 8227: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var shared = __webpack_require__(5745); -var hasOwn = __webpack_require__(9297); -var uid = __webpack_require__(3392); -var NATIVE_SYMBOL = __webpack_require__(4495); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var Symbol = global.Symbol; -var WellKnownSymbolsStore = shared('wks'); -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!hasOwn(WellKnownSymbolsStore, name)) { - WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) - ? Symbol[name] - : createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ 6573: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var defineBuiltInAccessor = __webpack_require__(2106); -var isDetached = __webpack_require__(3238); - -var ArrayBufferPrototype = ArrayBuffer.prototype; - -if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { - defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { - configurable: true, - get: function detached() { - return isDetached(this); - } - }); -} - - -/***/ }), - -/***/ 7936: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transferToFixedLength` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transferToFixedLength: function transferToFixedLength() { - return $transfer(this, arguments.length ? arguments[0] : undefined, false); - } -}); - - -/***/ }), - -/***/ 8100: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transfer` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transfer: function transfer() { - return $transfer(this, arguments.length ? arguments[0] : undefined, true); - } -}); - - -/***/ }), - -/***/ 4114: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var toObject = __webpack_require__(8981); -var lengthOfArrayLike = __webpack_require__(6198); -var setArrayLength = __webpack_require__(4527); -var doesNotExceedSafeInteger = __webpack_require__(6837); -var fails = __webpack_require__(9039); - -var INCORRECT_TO_LENGTH = fails(function () { - return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; -}); - -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError -// https://bugs.chromium.org/p/v8/issues/detail?id=12681 -var properErrorOnNonWritableLength = function () { - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).push(); - } catch (error) { - return error instanceof TypeError; - } -}; - -var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); - -// `Array.prototype.push` method -// https://tc39.es/ecma262/#sec-array.prototype.push -$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - push: function push(item) { - var O = toObject(this); - var len = lengthOfArrayLike(O); - var argCount = arguments.length; - doesNotExceedSafeInteger(len + argCount); - for (var i = 0; i < argCount; i++) { - O[len] = arguments[i]; - len++; - } - setArrayLength(O, len); - return len; - } -}); - - -/***/ }), - -/***/ 4628: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var newPromiseCapabilityModule = __webpack_require__(6043); - -// `Promise.withResolvers` method -// https://github.com/tc39/proposal-promise-with-resolvers -$({ target: 'Promise', stat: true }, { - withResolvers: function withResolvers() { - var promiseCapability = newPromiseCapabilityModule.f(this); - return { - promise: promiseCapability.promise, - resolve: promiseCapability.resolve, - reject: promiseCapability.reject - }; - } -}); - - -/***/ }), - -/***/ 9479: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var DESCRIPTORS = __webpack_require__(3724); -var defineBuiltInAccessor = __webpack_require__(2106); -var regExpFlags = __webpack_require__(7979); -var fails = __webpack_require__(9039); - -// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError -var RegExp = global.RegExp; -var RegExpPrototype = RegExp.prototype; - -var FORCED = DESCRIPTORS && fails(function () { - var INDICES_SUPPORT = true; - try { - RegExp('.', 'd'); - } catch (error) { - INDICES_SUPPORT = false; - } - - var O = {}; - // modern V8 bug - var calls = ''; - var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; - - var addGetter = function (key, chr) { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty(O, key, { get: function () { - calls += chr; - return true; - } }); - }; - - var pairs = { - dotAll: 's', - global: 'g', - ignoreCase: 'i', - multiline: 'm', - sticky: 'y' - }; - - if (INDICES_SUPPORT) pairs.hasIndices = 'd'; - - for (var key in pairs) addGetter(key, pairs[key]); - - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O); - - return result !== expected || calls !== expected; -}); - -// `RegExp.prototype.flags` getter -// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { - configurable: true, - get: regExpFlags -}); - - -/***/ }), - -/***/ 7642: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var difference = __webpack_require__(3440); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { - difference: difference -}); - - -/***/ }), - -/***/ 8004: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var fails = __webpack_require__(9039); -var intersection = __webpack_require__(8750); -var setMethodAcceptSetLike = __webpack_require__(4916); - -var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { - // eslint-disable-next-line es/no-array-from, es/no-set -- testing - return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2'; -}); - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { - intersection: intersection -}); - - -/***/ }), - -/***/ 3853: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isDisjointFrom = __webpack_require__(4449); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isDisjointFrom` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { - isDisjointFrom: isDisjointFrom -}); - - -/***/ }), - -/***/ 5876: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSubsetOf = __webpack_require__(3838); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSubsetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { - isSubsetOf: isSubsetOf -}); - - -/***/ }), - -/***/ 2475: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSupersetOf = __webpack_require__(8527); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSupersetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { - isSupersetOf: isSupersetOf -}); - - -/***/ }), - -/***/ 5024: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var symmetricDifference = __webpack_require__(3650); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { - symmetricDifference: symmetricDifference -}); - - -/***/ }), - -/***/ 1698: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var union = __webpack_require__(4204); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { - union: union -}); - - -/***/ }), - -/***/ 7467: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayToReversed = __webpack_require__(7628); -var ArrayBufferViewCore = __webpack_require__(4644); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; - -// `%TypedArray%.prototype.toReversed` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed -exportTypedArrayMethod('toReversed', function toReversed() { - return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); -}); - - -/***/ }), - -/***/ 4732: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var ArrayBufferViewCore = __webpack_require__(4644); -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); -var arrayFromConstructorAndList = __webpack_require__(5370); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); - -// `%TypedArray%.prototype.toSorted` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted -exportTypedArrayMethod('toSorted', function toSorted(compareFn) { - if (compareFn !== undefined) aCallable(compareFn); - var O = aTypedArray(this); - var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); - return sort(A, compareFn); -}); - - -/***/ }), - -/***/ 9577: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayWith = __webpack_require__(9928); -var ArrayBufferViewCore = __webpack_require__(4644); -var isBigIntArray = __webpack_require__(1108); -var toIntegerOrInfinity = __webpack_require__(1291); -var toBigInt = __webpack_require__(5854); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; - -var PROPER_ORDER = !!function () { - try { - // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing - new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); - } catch (error) { - // some early implementations, like WebKit, does not follow the final semantic - // https://github.com/tc39/proposal-change-array-by-copy/pull/86 - return error === 8; - } -}(); - -// `%TypedArray%.prototype.with` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with -exportTypedArrayMethod('with', { 'with': function (index, value) { - var O = aTypedArray(this); - var relativeIndex = toIntegerOrInfinity(index); - var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; - return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); -} }['with'], !PROPER_ORDER); - - -/***/ }), - -/***/ 8992: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var anInstance = __webpack_require__(679); -var anObject = __webpack_require__(8551); -var isCallable = __webpack_require__(4901); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltInAccessor = __webpack_require__(2106); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var hasOwn = __webpack_require__(9297); -var wellKnownSymbol = __webpack_require__(8227); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var CONSTRUCTOR = 'constructor'; -var ITERATOR = 'Iterator'; -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -var $TypeError = TypeError; -var NativeIterator = global[ITERATOR]; - -// FF56- have non-standard global helper `Iterator` -var FORCED = IS_PURE - || !isCallable(NativeIterator) - || NativeIterator.prototype !== IteratorPrototype - // FF44- non-standard `Iterator` passes previous tests - || !fails(function () { NativeIterator({}); }); - -var IteratorConstructor = function Iterator() { - anInstance(this, IteratorPrototype); - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); -}; - -var defineIteratorPrototypeAccessor = function (key, value) { - if (DESCRIPTORS) { - defineBuiltInAccessor(IteratorPrototype, key, { - configurable: true, - get: function () { - return value; - }, - set: function (replacement) { - anObject(this); - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); - if (hasOwn(this, key)) this[key] = replacement; - else createProperty(this, key, replacement); + function getPdfManager({ + data, + password, + disableAutoFetch, + rangeChunkSize, + length, + docBaseUrl, + enableXfa, + evaluatorOptions + }) { + const pdfManagerArgs = { + source: null, + disableAutoFetch, + docBaseUrl, + docId, + enableXfa, + evaluatorOptions, + handler, + length, + password, + rangeChunkSize + }; + const pdfManagerCapability = new _util.PromiseCapability(); + let newPdfManager; + if (data) { + try { + pdfManagerArgs.source = data; + newPdfManager = new _pdf_manager.LocalPdfManager(pdfManagerArgs); + pdfManagerCapability.resolve(newPdfManager); + } catch (ex) { + pdfManagerCapability.reject(ex); + } + return pdfManagerCapability.promise; } - }); - } else IteratorPrototype[key] = value; -}; - -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); - -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); -} - -IteratorConstructor.prototype = IteratorPrototype; - -// `Iterator` constructor -// https://github.com/tc39/proposal-iterator-helpers -$({ global: true, constructor: true, forced: FORCED }, { - Iterator: IteratorConstructor -}); - - -/***/ }), - -/***/ 3215: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.every` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - every: function every(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return !iterate(record, function (value, stop) { - if (!predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 4520: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); -var IS_PURE = __webpack_require__(6395); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var predicate = this.predicate; - var next = this.next; - var result, done, value; - while (true) { - result = anObject(call(next, iterator)); - done = this.done = !!result.done; - if (done) return; - value = result.value; - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; - } -}); - -// `Iterator.prototype.filter` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - filter: function filter(predicate) { - anObject(this); - aCallable(predicate); - return new IteratorProxy(getIteratorDirect(this), { - predicate: predicate - }); - } -}); - - -/***/ }), - -/***/ 2577: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.find` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - find: function find(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return iterate(record, function (value, stop) { - if (predicate(value, counter++)) return stop(value); - }, { IS_RECORD: true, INTERRUPTED: true }).result; - } -}); - - -/***/ }), - -/***/ 3949: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.forEach` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - forEach: function forEach(fn) { - anObject(this); - aCallable(fn); - var record = getIteratorDirect(this); - var counter = 0; - iterate(record, function (value) { - fn(value, counter++); - }, { IS_RECORD: true }); - } -}); - - -/***/ }), - -/***/ 1454: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var map = __webpack_require__(713); -var IS_PURE = __webpack_require__(6395); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - map: map -}); - - -/***/ }), - -/***/ 8872: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -var $TypeError = TypeError; - -// `Iterator.prototype.reduce` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - reduce: function reduce(reducer /* , initialValue */) { - anObject(this); - aCallable(reducer); - var record = getIteratorDirect(this); - var noInitial = arguments.length < 2; - var accumulator = noInitial ? undefined : arguments[1]; - var counter = 0; - iterate(record, function (value) { - if (noInitial) { - noInitial = false; - accumulator = value; - } else { - accumulator = reducer(accumulator, value, counter); + let pdfStream, + cachedChunks = []; + try { + pdfStream = new _worker_stream.PDFWorkerStream(handler); + } catch (ex) { + pdfManagerCapability.reject(ex); + return pdfManagerCapability.promise; } - counter++; - }, { IS_RECORD: true }); - if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value'); - return accumulator; - } -}); - - -/***/ }), - -/***/ 7550: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.some` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - some: function some(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return iterate(record, function (value, stop) { - if (predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 1795: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var anObject = __webpack_require__(8551); -var iterate = __webpack_require__(2652); -var getIteratorDirect = __webpack_require__(1767); - -var push = [].push; - -// `Iterator.prototype.toArray` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - toArray: function toArray() { - var result = []; - iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); - return result; - } -}); - - -/***/ }), - -/***/ 3375: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(7642); - - -/***/ }), - -/***/ 9225: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(8004); - - -/***/ }), - -/***/ 3972: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(3853); - - -/***/ }), - -/***/ 9209: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5876); - - -/***/ }), - -/***/ 5714: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(2475); - - -/***/ }), - -/***/ 7561: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5024); - - -/***/ }), - -/***/ 6197: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(1698); - - -/***/ }), - -/***/ 4979: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var createPropertyDescriptor = __webpack_require__(6980); -var defineProperty = (__webpack_require__(4913).f); -var hasOwn = __webpack_require__(9297); -var anInstance = __webpack_require__(679); -var inheritIfRequired = __webpack_require__(3167); -var normalizeStringArgument = __webpack_require__(2603); -var DOMExceptionConstants = __webpack_require__(5002); -var clearErrorStack = __webpack_require__(6193); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var DOM_EXCEPTION = 'DOMException'; -var Error = getBuiltIn('Error'); -var NativeDOMException = getBuiltIn(DOM_EXCEPTION); - -var $DOMException = function DOMException() { - anInstance(this, DOMExceptionPrototype); - var argumentsLength = arguments.length; - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); - var that = new NativeDOMException(message, name); - var error = new Error(message); - error.name = DOM_EXCEPTION; - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); - inheritIfRequired(that, this, $DOMException); - return that; -}; - -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; - -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); - -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it -// https://github.com/Jarred-Sumner/bun/issues/399 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); - -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; - -// `DOMException` constructor patch for `.stack` where it's required -// https://webidl.spec.whatwg.org/#es-DOMException-specialness -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException -}); - -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; - -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { - if (!IS_PURE) { - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); - } - - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { - var constant = DOMExceptionConstants[key]; - var constantName = constant.s; - if (!hasOwn(PolyfilledDOMException, constantName)) { - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); - } - } -} - - -/***/ }), - -/***/ 3611: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var defineBuiltInAccessor = __webpack_require__(2106); -var DESCRIPTORS = __webpack_require__(3724); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; -var INCORRECT_VALUE = global.self !== global; - -// `self` getter -// https://html.spec.whatwg.org/multipage/window-object.html#dom-self -try { - if (DESCRIPTORS) { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - var descriptor = Object.getOwnPropertyDescriptor(global, 'self'); - // some engines have `self`, but with incorrect descriptor - // https://github.com/denoland/deno/issues/15765 - if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { - defineBuiltInAccessor(global, 'self', { - get: function self() { - return global; - }, - set: function self(value) { - if (this !== global) throw new $TypeError('Illegal invocation'); - defineProperty(global, 'self', { - value: value, - writable: true, - configurable: true, - enumerable: true - }); - }, - configurable: true, - enumerable: true + const fullRequest = pdfStream.getFullReader(); + fullRequest.headersReady.then(function () { + if (!fullRequest.isRangeSupported) { + return; + } + pdfManagerArgs.source = pdfStream; + pdfManagerArgs.length = fullRequest.contentLength; + pdfManagerArgs.disableAutoFetch ||= fullRequest.isStreamingSupported; + newPdfManager = new _pdf_manager.NetworkPdfManager(pdfManagerArgs); + for (const chunk of cachedChunks) { + newPdfManager.sendProgressiveData(chunk); + } + cachedChunks = []; + pdfManagerCapability.resolve(newPdfManager); + cancelXHRs = null; + }).catch(function (reason) { + pdfManagerCapability.reject(reason); + cancelXHRs = null; }); + let loaded = 0; + const flushChunks = function () { + const pdfFile = (0, _core_utils.arrayBuffersToBytes)(cachedChunks); + if (length && pdfFile.length !== length) { + (0, _util.warn)("reported HTTP length is different from actual"); + } + try { + pdfManagerArgs.source = pdfFile; + newPdfManager = new _pdf_manager.LocalPdfManager(pdfManagerArgs); + pdfManagerCapability.resolve(newPdfManager); + } catch (ex) { + pdfManagerCapability.reject(ex); + } + cachedChunks = []; + }; + new Promise(function (resolve, reject) { + const readChunk = function ({ + value, + done + }) { + try { + ensureNotTerminated(); + if (done) { + if (!newPdfManager) { + flushChunks(); + } + cancelXHRs = null; + return; + } + loaded += value.byteLength; + if (!fullRequest.isStreamingSupported) { + handler.send("DocProgress", { + loaded, + total: Math.max(loaded, fullRequest.contentLength || 0) + }); + } + if (newPdfManager) { + newPdfManager.sendProgressiveData(value); + } else { + cachedChunks.push(value); + } + fullRequest.read().then(readChunk, reject); + } catch (e) { + reject(e); + } + }; + fullRequest.read().then(readChunk, reject); + }).catch(function (e) { + pdfManagerCapability.reject(e); + cancelXHRs = null; + }); + cancelXHRs = function (reason) { + pdfStream.cancelAllRequests(reason); + }; + return pdfManagerCapability.promise; } - } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, { - self: global - }); -} catch (error) { /* empty */ } - - -/***/ }), - -/***/ 4603: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var append = uncurryThis(URLSearchParamsPrototype.append); -var $delete = uncurryThis(URLSearchParamsPrototype['delete']); -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); -var push = uncurryThis([].push); -var params = new $URLSearchParams('a=1&a=2&b=3'); - -params['delete']('a', 1); -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -params['delete']('b', undefined); - -if (params + '' !== 'a=2') { - defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $delete(this, name); - var entries = []; - forEach(this, function (v, k) { // also validates `this` - push(entries, { key: k, value: v }); + function setupDoc(data) { + function onSuccess(doc) { + ensureNotTerminated(); + handler.send("GetDoc", { + pdfInfo: doc + }); + } + function onFailure(ex) { + ensureNotTerminated(); + if (ex instanceof _util.PasswordException) { + const task = new WorkerTask(`PasswordException: response ${ex.code}`); + startWorkerTask(task); + handler.sendWithPromise("PasswordRequest", ex).then(function ({ + password + }) { + finishWorkerTask(task); + pdfManager.updatePassword(password); + pdfManagerReady(); + }).catch(function () { + finishWorkerTask(task); + handler.send("DocException", ex); + }); + } else if (ex instanceof _util.InvalidPDFException || ex instanceof _util.MissingPDFException || ex instanceof _util.UnexpectedResponseException || ex instanceof _util.UnknownErrorException) { + handler.send("DocException", ex); + } else { + handler.send("DocException", new _util.UnknownErrorException(ex.message, ex.toString())); + } + } + function pdfManagerReady() { + ensureNotTerminated(); + loadDocument(false).then(onSuccess, function (reason) { + ensureNotTerminated(); + if (!(reason instanceof _core_utils.XRefParseException)) { + onFailure(reason); + return; + } + pdfManager.requestLoadedStream().then(function () { + ensureNotTerminated(); + loadDocument(true).then(onSuccess, onFailure); + }); + }); + } + ensureNotTerminated(); + getPdfManager(data).then(function (newPdfManager) { + if (terminated) { + newPdfManager.terminate(new _util.AbortException("Worker was terminated.")); + throw new Error("Worker was terminated"); + } + pdfManager = newPdfManager; + pdfManager.requestLoadedStream(true).then(stream => { + handler.send("DataLoaded", { + length: stream.bytes.byteLength + }); + }); + }).then(pdfManagerReady, onFailure); + } + handler.on("GetPage", function (data) { + return pdfManager.getPage(data.pageIndex).then(function (page) { + return Promise.all([pdfManager.ensure(page, "rotate"), pdfManager.ensure(page, "ref"), pdfManager.ensure(page, "userUnit"), pdfManager.ensure(page, "view")]).then(function ([rotate, ref, userUnit, view]) { + return { + rotate, + ref, + userUnit, + view + }; + }); + }); }); - validateArgumentsLength(length, 1); - var key = toString(name); - var value = toString($value); - var index = 0; - var dindex = 0; - var found = false; - var entriesLength = entries.length; - var entry; - while (index < entriesLength) { - entry = entries[index++]; - if (found || entry.key === key) { - found = true; - $delete(this, entry.key); - } else dindex++; - } - while (dindex < entriesLength) { - entry = entries[dindex++]; - if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); - } - }, { enumerable: true, unsafe: true }); + handler.on("GetPageIndex", function (data) { + const pageRef = _primitives.Ref.get(data.num, data.gen); + return pdfManager.ensureCatalog("getPageIndex", [pageRef]); + }); + handler.on("GetDestinations", function (data) { + return pdfManager.ensureCatalog("destinations"); + }); + handler.on("GetDestination", function (data) { + return pdfManager.ensureCatalog("getDestination", [data.id]); + }); + handler.on("GetPageLabels", function (data) { + return pdfManager.ensureCatalog("pageLabels"); + }); + handler.on("GetPageLayout", function (data) { + return pdfManager.ensureCatalog("pageLayout"); + }); + handler.on("GetPageMode", function (data) { + return pdfManager.ensureCatalog("pageMode"); + }); + handler.on("GetViewerPreferences", function (data) { + return pdfManager.ensureCatalog("viewerPreferences"); + }); + handler.on("GetOpenAction", function (data) { + return pdfManager.ensureCatalog("openAction"); + }); + handler.on("GetAttachments", function (data) { + return pdfManager.ensureCatalog("attachments"); + }); + handler.on("GetJavaScript", function (data) { + return pdfManager.ensureCatalog("javaScript"); + }); + handler.on("GetDocJSActions", function (data) { + return pdfManager.ensureCatalog("jsActions"); + }); + handler.on("GetPageJSActions", function ({ + pageIndex + }) { + return pdfManager.getPage(pageIndex).then(function (page) { + return pdfManager.ensure(page, "jsActions"); + }); + }); + handler.on("GetOutline", function (data) { + return pdfManager.ensureCatalog("documentOutline"); + }); + handler.on("GetOptionalContentConfig", function (data) { + return pdfManager.ensureCatalog("optionalContentConfig"); + }); + handler.on("GetPermissions", function (data) { + return pdfManager.ensureCatalog("permissions"); + }); + handler.on("GetMetadata", function (data) { + return Promise.all([pdfManager.ensureDoc("documentInfo"), pdfManager.ensureCatalog("metadata")]); + }); + handler.on("GetMarkInfo", function (data) { + return pdfManager.ensureCatalog("markInfo"); + }); + handler.on("GetData", function (data) { + return pdfManager.requestLoadedStream().then(function (stream) { + return stream.bytes; + }); + }); + handler.on("GetAnnotations", function ({ + pageIndex, + intent + }) { + return pdfManager.getPage(pageIndex).then(function (page) { + const task = new WorkerTask(`GetAnnotations: page ${pageIndex}`); + startWorkerTask(task); + return page.getAnnotationsData(handler, task, intent).then(data => { + finishWorkerTask(task); + return data; + }, reason => { + finishWorkerTask(task); + throw reason; + }); + }); + }); + handler.on("GetFieldObjects", function (data) { + return pdfManager.ensureDoc("fieldObjects"); + }); + handler.on("HasJSActions", function (data) { + return pdfManager.ensureDoc("hasJSActions"); + }); + handler.on("GetCalculationOrderIds", function (data) { + return pdfManager.ensureDoc("calculationOrderIds"); + }); + handler.on("SaveDocument", async function ({ + isPureXfa, + numPages, + annotationStorage, + filename + }) { + const promises = [pdfManager.requestLoadedStream(), pdfManager.ensureCatalog("acroForm"), pdfManager.ensureCatalog("acroFormRef"), pdfManager.ensureDoc("startXRef")]; + const newAnnotationsByPage = !isPureXfa ? (0, _core_utils.getNewAnnotationsMap)(annotationStorage) : null; + const xref = await pdfManager.ensureDoc("xref"); + if (newAnnotationsByPage) { + const imagePromises = _annotation.AnnotationFactory.generateImages(annotationStorage.values(), xref, pdfManager.evaluatorOptions.isOffscreenCanvasSupported); + for (const [pageIndex, annotations] of newAnnotationsByPage) { + promises.push(pdfManager.getPage(pageIndex).then(page => { + const task = new WorkerTask(`Save (editor): page ${pageIndex}`); + return page.saveNewAnnotations(handler, task, annotations, imagePromises).finally(function () { + finishWorkerTask(task); + }); + })); + } + } + if (isPureXfa) { + promises.push(pdfManager.serializeXfaData(annotationStorage)); + } else { + for (let pageIndex = 0; pageIndex < numPages; pageIndex++) { + promises.push(pdfManager.getPage(pageIndex).then(function (page) { + const task = new WorkerTask(`Save: page ${pageIndex}`); + return page.save(handler, task, annotationStorage).finally(function () { + finishWorkerTask(task); + }); + })); + } + } + return Promise.all(promises).then(function ([stream, acroForm, acroFormRef, startXRef, ...refs]) { + let newRefs = []; + let xfaData = null; + if (isPureXfa) { + xfaData = refs[0]; + if (!xfaData) { + return stream.bytes; + } + } else { + newRefs = refs.flat(2); + if (newRefs.length === 0) { + return stream.bytes; + } + } + const needAppearances = acroFormRef && acroForm instanceof _primitives.Dict && newRefs.some(ref => ref.needAppearances); + const xfa = acroForm instanceof _primitives.Dict && acroForm.get("XFA") || null; + let xfaDatasetsRef = null; + let hasXfaDatasetsEntry = false; + if (Array.isArray(xfa)) { + for (let i = 0, ii = xfa.length; i < ii; i += 2) { + if (xfa[i] === "datasets") { + xfaDatasetsRef = xfa[i + 1]; + hasXfaDatasetsEntry = true; + } + } + if (xfaDatasetsRef === null) { + xfaDatasetsRef = xref.getNewTemporaryRef(); + } + } else if (xfa) { + (0, _util.warn)("Unsupported XFA type."); + } + let newXrefInfo = Object.create(null); + if (xref.trailer) { + const infoObj = Object.create(null); + const xrefInfo = xref.trailer.get("Info") || null; + if (xrefInfo instanceof _primitives.Dict) { + xrefInfo.forEach((key, value) => { + if (typeof value === "string") { + infoObj[key] = (0, _util.stringToPDFString)(value); + } + }); + } + newXrefInfo = { + rootRef: xref.trailer.getRaw("Root") || null, + encryptRef: xref.trailer.getRaw("Encrypt") || null, + newRef: xref.getNewTemporaryRef(), + infoRef: xref.trailer.getRaw("Info") || null, + info: infoObj, + fileIds: xref.trailer.get("ID") || null, + startXRef: xref.lastXRefStreamPos ?? startXRef, + filename + }; + } + try { + return (0, _writer.incrementalUpdate)({ + originalData: stream.bytes, + xrefInfo: newXrefInfo, + newRefs, + xref, + hasXfa: !!xfa, + xfaDatasetsRef, + hasXfaDatasetsEntry, + needAppearances, + acroFormRef, + acroForm, + xfaData + }); + } finally { + xref.resetNewTemporaryRef(); + } + }); + }); + handler.on("GetOperatorList", function (data, sink) { + const pageIndex = data.pageIndex; + pdfManager.getPage(pageIndex).then(function (page) { + const task = new WorkerTask(`GetOperatorList: page ${pageIndex}`); + startWorkerTask(task); + const start = verbosity >= _util.VerbosityLevel.INFOS ? Date.now() : 0; + page.getOperatorList({ + handler, + sink, + task, + intent: data.intent, + cacheKey: data.cacheKey, + annotationStorage: data.annotationStorage + }).then(function (operatorListInfo) { + finishWorkerTask(task); + if (start) { + (0, _util.info)(`page=${pageIndex + 1} - getOperatorList: time=` + `${Date.now() - start}ms, len=${operatorListInfo.length}`); + } + sink.close(); + }, function (reason) { + finishWorkerTask(task); + if (task.terminated) { + return; + } + sink.error(reason); + }); + }); + }); + handler.on("GetTextContent", function (data, sink) { + const { + pageIndex, + includeMarkedContent, + disableNormalization + } = data; + pdfManager.getPage(pageIndex).then(function (page) { + const task = new WorkerTask("GetTextContent: page " + pageIndex); + startWorkerTask(task); + const start = verbosity >= _util.VerbosityLevel.INFOS ? Date.now() : 0; + page.extractTextContent({ + handler, + task, + sink, + includeMarkedContent, + disableNormalization + }).then(function () { + finishWorkerTask(task); + if (start) { + (0, _util.info)(`page=${pageIndex + 1} - getTextContent: time=` + `${Date.now() - start}ms`); + } + sink.close(); + }, function (reason) { + finishWorkerTask(task); + if (task.terminated) { + return; + } + sink.error(reason); + }); + }); + }); + handler.on("GetStructTree", function (data) { + return pdfManager.getPage(data.pageIndex).then(function (page) { + return pdfManager.ensure(page, "getStructTree"); + }); + }); + handler.on("FontFallback", function (data) { + return pdfManager.fontFallback(data.id, handler); + }); + handler.on("Cleanup", function (data) { + return pdfManager.cleanup(true); + }); + handler.on("Terminate", function (data) { + terminated = true; + const waitOn = []; + if (pdfManager) { + pdfManager.terminate(new _util.AbortException("Worker was terminated.")); + const cleanupPromise = pdfManager.cleanup(); + waitOn.push(cleanupPromise); + pdfManager = null; + } else { + (0, _cleanup_helper.clearGlobalCaches)(); + } + if (cancelXHRs) { + cancelXHRs(new _util.AbortException("Worker was terminated.")); + } + for (const task of WorkerTasks) { + waitOn.push(task.finished); + task.terminate(); + } + return Promise.all(waitOn).then(function () { + handler.destroy(); + handler = null; + }); + }); + handler.on("Ready", function (data) { + setupDoc(docParams); + docParams = null; + }); + return workerHandlerName; + } + static initializeFromPort(port) { + const handler = new _message_handler.MessageHandler("worker", "main", port); + WorkerMessageHandler.setup(handler, port); + handler.send("ready", null); + } +} +exports.WorkerMessageHandler = WorkerMessageHandler; +function isMessagePort(maybePort) { + return typeof maybePort.postMessage === "function" && "onmessage" in maybePort; +} +if (typeof window === "undefined" && !_is_node.isNodeJS && typeof self !== "undefined" && isMessagePort(self)) { + WorkerMessageHandler.initializeFromPort(self); } - /***/ }), - -/***/ 7566: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var getAll = uncurryThis(URLSearchParamsPrototype.getAll); -var $has = uncurryThis(URLSearchParamsPrototype.has); -var params = new $URLSearchParams('a=1'); - -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -if (params.has('a', 2) || !params.has('a', undefined)) { - defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $has(this, name); - var values = getAll(this, name); // also validates `this` - validateArgumentsLength(length, 1); - var value = toString($value); - var index = 0; - while (index < values.length) { - if (values[index++] === value) return true; - } return false; - }, { enumerable: true, unsafe: true }); -} - - -/***/ }), - -/***/ 8721: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var uncurryThis = __webpack_require__(9504); -var defineBuiltInAccessor = __webpack_require__(2106); - -var URLSearchParamsPrototype = URLSearchParams.prototype; -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); - -// `URLSearchParams.prototype.size` getter -// https://github.com/whatwg/url/pull/734 -if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { - defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { - get: function size() { - var count = 0; - forEach(this, function () { count++; }); - return count; - }, - configurable: true, - enumerable: true - }); -} - - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/************************************************************************/ -var __webpack_exports__ = globalThis.pdfjsWorker = {}; -// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. -(() => { - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - WorkerMessageHandler: () => (/* reexport */ WorkerMessageHandler) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js -var es_array_buffer_detached = __webpack_require__(6573); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js -var es_array_buffer_transfer = __webpack_require__(8100); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js -var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js -var es_promise_with_resolvers = __webpack_require__(4628); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-reversed.js -var es_typed_array_to_reversed = __webpack_require__(7467); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-sorted.js -var es_typed_array_to_sorted = __webpack_require__(4732); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js -var es_typed_array_with = __webpack_require__(9577); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js -var esnext_iterator_for_each = __webpack_require__(3949); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.some.js -var esnext_iterator_some = __webpack_require__(7550); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js -var esnext_set_difference_v2 = __webpack_require__(3375); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js -var esnext_set_intersection_v2 = __webpack_require__(9225); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js -var esnext_set_is_disjoint_from_v2 = __webpack_require__(3972); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js -var esnext_set_is_subset_of_v2 = __webpack_require__(9209); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js -var esnext_set_is_superset_of_v2 = __webpack_require__(5714); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js -var esnext_set_symmetric_difference_v2 = __webpack_require__(7561); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js -var esnext_set_union_v2 = __webpack_require__(6197); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.self.js -var web_self = __webpack_require__(3611); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js -var web_url_search_params_delete = __webpack_require__(4603); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js -var web_url_search_params_has = __webpack_require__(7566); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js -var web_url_search_params_size = __webpack_require__(8721); -;// CONCATENATED MODULE: ./src/shared/util.js +/* 2 */ +/***/ ((__unused_webpack_module, exports) => { - - - - - - - -const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser"); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.VerbosityLevel = exports.Util = exports.UnknownErrorException = exports.UnexpectedResponseException = exports.TextRenderingMode = exports.RenderingIntentFlag = exports.PromiseCapability = exports.PermissionFlag = exports.PasswordResponses = exports.PasswordException = exports.PageActionEventType = exports.OPS = exports.MissingPDFException = exports.MAX_IMAGE_SIZE_TO_CACHE = exports.LINE_FACTOR = exports.LINE_DESCENT_FACTOR = exports.InvalidPDFException = exports.ImageKind = exports.IDENTITY_MATRIX = exports.FormatError = exports.FeatureTest = exports.FONT_IDENTITY_MATRIX = exports.DocumentActionEventType = exports.CMapCompressionType = exports.BaseException = exports.BASELINE_FACTOR = exports.AnnotationType = exports.AnnotationReplyType = exports.AnnotationMode = exports.AnnotationFlag = exports.AnnotationFieldFlag = exports.AnnotationEditorType = exports.AnnotationEditorPrefix = exports.AnnotationEditorParamsType = exports.AnnotationBorderStyleType = exports.AnnotationActionEventType = exports.AbortException = void 0; +exports.assert = assert; +exports.bytesToString = bytesToString; +exports.createValidAbsoluteUrl = createValidAbsoluteUrl; +exports.getModificationDate = getModificationDate; +exports.getVerbosityLevel = getVerbosityLevel; +exports.info = info; +exports.isArrayBuffer = isArrayBuffer; +exports.isArrayEqual = isArrayEqual; +exports.normalizeUnicode = normalizeUnicode; +exports.objectFromMap = objectFromMap; +exports.objectSize = objectSize; +exports.setVerbosityLevel = setVerbosityLevel; +exports.shadow = shadow; +exports.string32 = string32; +exports.stringToBytes = stringToBytes; +exports.stringToPDFString = stringToPDFString; +exports.stringToUTF8String = stringToUTF8String; +exports.unreachable = unreachable; +exports.utf8StringToString = utf8StringToString; +exports.warn = warn; +; const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0]; +exports.IDENTITY_MATRIX = IDENTITY_MATRIX; const FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0]; +exports.FONT_IDENTITY_MATRIX = FONT_IDENTITY_MATRIX; const MAX_IMAGE_SIZE_TO_CACHE = 10e6; +exports.MAX_IMAGE_SIZE_TO_CACHE = MAX_IMAGE_SIZE_TO_CACHE; const LINE_FACTOR = 1.35; +exports.LINE_FACTOR = LINE_FACTOR; const LINE_DESCENT_FACTOR = 0.35; +exports.LINE_DESCENT_FACTOR = LINE_DESCENT_FACTOR; const BASELINE_FACTOR = LINE_DESCENT_FACTOR / LINE_FACTOR; +exports.BASELINE_FACTOR = BASELINE_FACTOR; const RenderingIntentFlag = { ANY: 0x01, DISPLAY: 0x02, @@ -4616,36 +688,33 @@ const RenderingIntentFlag = { ANNOTATIONS_DISABLE: 0x40, OPLIST: 0x100 }; +exports.RenderingIntentFlag = RenderingIntentFlag; const AnnotationMode = { DISABLE: 0, ENABLE: 1, ENABLE_FORMS: 2, ENABLE_STORAGE: 3 }; +exports.AnnotationMode = AnnotationMode; const AnnotationEditorPrefix = "pdfjs_internal_editor_"; +exports.AnnotationEditorPrefix = AnnotationEditorPrefix; const AnnotationEditorType = { DISABLE: -1, NONE: 0, FREETEXT: 3, - HIGHLIGHT: 9, STAMP: 13, INK: 15 }; +exports.AnnotationEditorType = AnnotationEditorType; const AnnotationEditorParamsType = { - RESIZE: 1, - CREATE: 2, - FREETEXT_SIZE: 11, - FREETEXT_COLOR: 12, - FREETEXT_OPACITY: 13, - INK_COLOR: 21, - INK_THICKNESS: 22, - INK_OPACITY: 23, - HIGHLIGHT_COLOR: 31, - HIGHLIGHT_DEFAULT_COLOR: 32, - HIGHLIGHT_THICKNESS: 33, - HIGHLIGHT_FREE: 34, - HIGHLIGHT_SHOW_ALL: 35 + FREETEXT_SIZE: 1, + FREETEXT_COLOR: 2, + FREETEXT_OPACITY: 3, + INK_COLOR: 11, + INK_THICKNESS: 12, + INK_OPACITY: 13 }; +exports.AnnotationEditorParamsType = AnnotationEditorParamsType; const PermissionFlag = { PRINT: 0x04, MODIFY_CONTENTS: 0x08, @@ -4656,6 +725,7 @@ const PermissionFlag = { ASSEMBLE: 0x400, PRINT_HIGH_QUALITY: 0x800 }; +exports.PermissionFlag = PermissionFlag; const TextRenderingMode = { FILL: 0, STROKE: 1, @@ -4668,11 +738,13 @@ const TextRenderingMode = { FILL_STROKE_MASK: 3, ADD_TO_PATH_FLAG: 4 }; +exports.TextRenderingMode = TextRenderingMode; const ImageKind = { GRAYSCALE_1BPP: 1, RGB_24BPP: 2, RGBA_32BPP: 3 }; +exports.ImageKind = ImageKind; const AnnotationType = { TEXT: 1, LINK: 2, @@ -4701,10 +773,12 @@ const AnnotationType = { THREED: 25, REDACT: 26 }; +exports.AnnotationType = AnnotationType; const AnnotationReplyType = { GROUP: "Group", REPLY: "R" }; +exports.AnnotationReplyType = AnnotationReplyType; const AnnotationFlag = { INVISIBLE: 0x01, HIDDEN: 0x02, @@ -4717,6 +791,7 @@ const AnnotationFlag = { TOGGLENOVIEW: 0x100, LOCKEDCONTENTS: 0x200 }; +exports.AnnotationFlag = AnnotationFlag; const AnnotationFieldFlag = { READONLY: 0x0000001, REQUIRED: 0x0000002, @@ -4738,6 +813,7 @@ const AnnotationFieldFlag = { RADIOSINUNISON: 0x2000000, COMMITONSELCHANGE: 0x4000000 }; +exports.AnnotationFieldFlag = AnnotationFieldFlag; const AnnotationBorderStyleType = { SOLID: 1, DASHED: 2, @@ -4745,6 +821,7 @@ const AnnotationBorderStyleType = { INSET: 4, UNDERLINE: 5 }; +exports.AnnotationBorderStyleType = AnnotationBorderStyleType; const AnnotationActionEventType = { E: "Mouse Enter", X: "Mouse Exit", @@ -4761,6 +838,7 @@ const AnnotationActionEventType = { V: "Validate", C: "Calculate" }; +exports.AnnotationActionEventType = AnnotationActionEventType; const DocumentActionEventType = { WC: "WillClose", WS: "WillSave", @@ -4768,19 +846,23 @@ const DocumentActionEventType = { WP: "WillPrint", DP: "DidPrint" }; +exports.DocumentActionEventType = DocumentActionEventType; const PageActionEventType = { O: "PageOpen", C: "PageClose" }; +exports.PageActionEventType = PageActionEventType; const VerbosityLevel = { ERRORS: 0, WARNINGS: 1, INFOS: 5 }; +exports.VerbosityLevel = VerbosityLevel; const CMapCompressionType = { NONE: 0, BINARY: 1 }; +exports.CMapCompressionType = CMapCompressionType; const OPS = { dependency: 1, setLineWidth: 2, @@ -4871,10 +953,12 @@ const OPS = { paintSolidColorImageMask: 90, constructPath: 91 }; +exports.OPS = OPS; const PasswordResponses = { NEED_PASSWORD: 1, INCORRECT_PASSWORD: 2 }; +exports.PasswordResponses = PasswordResponses; let verbosity = VerbosityLevel.WARNINGS; function setVerbosityLevel(level) { if (Number.isInteger(level)) { @@ -4960,44 +1044,52 @@ const BaseException = function BaseExceptionClosure() { BaseException.constructor = BaseException; return BaseException; }(); +exports.BaseException = BaseException; class PasswordException extends BaseException { constructor(msg, code) { super(msg, "PasswordException"); this.code = code; } } +exports.PasswordException = PasswordException; class UnknownErrorException extends BaseException { constructor(msg, details) { super(msg, "UnknownErrorException"); this.details = details; } } +exports.UnknownErrorException = UnknownErrorException; class InvalidPDFException extends BaseException { constructor(msg) { super(msg, "InvalidPDFException"); } } +exports.InvalidPDFException = InvalidPDFException; class MissingPDFException extends BaseException { constructor(msg) { super(msg, "MissingPDFException"); } } +exports.MissingPDFException = MissingPDFException; class UnexpectedResponseException extends BaseException { constructor(msg, status) { super(msg, "UnexpectedResponseException"); this.status = status; } } +exports.UnexpectedResponseException = UnexpectedResponseException; class FormatError extends BaseException { constructor(msg) { super(msg, "FormatError"); } } +exports.FormatError = FormatError; class AbortException extends BaseException { constructor(msg) { super(msg, "AbortException"); } } +exports.AbortException = AbortException; function bytesToString(bytes) { if (typeof bytes !== "object" || bytes?.length === undefined) { unreachable("Invalid argument for bytesToString"); @@ -5064,20 +1156,20 @@ class FeatureTest { return shadow(this, "isOffscreenCanvasSupported", typeof OffscreenCanvas !== "undefined"); } static get platform() { - if (typeof navigator !== "undefined" && typeof navigator?.platform === "string") { + if (typeof navigator === "undefined") { return shadow(this, "platform", { - isMac: navigator.platform.includes("Mac") + isWin: false, + isMac: false }); } return shadow(this, "platform", { - isMac: false + isWin: navigator.platform.includes("Win"), + isMac: navigator.platform.includes("Mac") }); } - static get isCSSRoundSupported() { - return shadow(this, "isCSSRoundSupported", globalThis.CSS?.supports?.("width: round(1.5px, 1px)")); - } } -const hexNumbers = Array.from(Array(256).keys(), n => n.toString(16).padStart(2, "0")); +exports.FeatureTest = FeatureTest; +const hexNumbers = [...Array(256).keys()].map(n => n.toString(16).padStart(2, "0")); class Util { static makeHexColor(r, g, b) { return `#${hexNumbers[r]}${hexNumbers[g]}${hexNumbers[b]}`; @@ -5087,43 +1179,43 @@ class Util { if (transform[0]) { if (transform[0] < 0) { temp = minMax[0]; - minMax[0] = minMax[2]; - minMax[2] = temp; + minMax[0] = minMax[1]; + minMax[1] = temp; } minMax[0] *= transform[0]; - minMax[2] *= transform[0]; + minMax[1] *= transform[0]; if (transform[3] < 0) { - temp = minMax[1]; - minMax[1] = minMax[3]; + temp = minMax[2]; + minMax[2] = minMax[3]; minMax[3] = temp; } - minMax[1] *= transform[3]; + minMax[2] *= transform[3]; minMax[3] *= transform[3]; } else { temp = minMax[0]; - minMax[0] = minMax[1]; - minMax[1] = temp; - temp = minMax[2]; - minMax[2] = minMax[3]; + minMax[0] = minMax[2]; + minMax[2] = temp; + temp = minMax[1]; + minMax[1] = minMax[3]; minMax[3] = temp; if (transform[1] < 0) { - temp = minMax[1]; - minMax[1] = minMax[3]; + temp = minMax[2]; + minMax[2] = minMax[3]; minMax[3] = temp; } - minMax[1] *= transform[1]; + minMax[2] *= transform[1]; minMax[3] *= transform[1]; if (transform[2] < 0) { temp = minMax[0]; - minMax[0] = minMax[2]; - minMax[2] = temp; + minMax[0] = minMax[1]; + minMax[1] = temp; } minMax[0] *= transform[2]; - minMax[2] *= transform[2]; + minMax[1] *= transform[2]; } minMax[0] += transform[4]; - minMax[1] += transform[5]; - minMax[2] += transform[4]; + minMax[1] += transform[4]; + minMax[2] += transform[5]; minMax[3] += transform[5]; } static transform(m1, m2) { @@ -5188,64 +1280,70 @@ class Util { } return [xLow, yLow, xHigh, yHigh]; } - static #getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, t, minMax) { - if (t <= 0 || t >= 1) { - return; - } - const mt = 1 - t; - const tt = t * t; - const ttt = tt * t; - const x = mt * (mt * (mt * x0 + 3 * t * x1) + 3 * tt * x2) + ttt * x3; - const y = mt * (mt * (mt * y0 + 3 * t * y1) + 3 * tt * y2) + ttt * y3; - minMax[0] = Math.min(minMax[0], x); - minMax[1] = Math.min(minMax[1], y); - minMax[2] = Math.max(minMax[2], x); - minMax[3] = Math.max(minMax[3], y); - } - static #getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, a, b, c, minMax) { - if (Math.abs(a) < 1e-12) { - if (Math.abs(b) >= 1e-12) { - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, -c / b, minMax); + static bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3) { + const tvalues = [], + bounds = [[], []]; + let a, b, c, t, t1, t2, b2ac, sqrtb2ac; + for (let i = 0; i < 2; ++i) { + if (i === 0) { + b = 6 * x0 - 12 * x1 + 6 * x2; + a = -3 * x0 + 9 * x1 - 9 * x2 + 3 * x3; + c = 3 * x1 - 3 * x0; + } else { + b = 6 * y0 - 12 * y1 + 6 * y2; + a = -3 * y0 + 9 * y1 - 9 * y2 + 3 * y3; + c = 3 * y1 - 3 * y0; + } + if (Math.abs(a) < 1e-12) { + if (Math.abs(b) < 1e-12) { + continue; + } + t = -c / b; + if (0 < t && t < 1) { + tvalues.push(t); + } + continue; + } + b2ac = b * b - 4 * c * a; + sqrtb2ac = Math.sqrt(b2ac); + if (b2ac < 0) { + continue; + } + t1 = (-b + sqrtb2ac) / (2 * a); + if (0 < t1 && t1 < 1) { + tvalues.push(t1); + } + t2 = (-b - sqrtb2ac) / (2 * a); + if (0 < t2 && t2 < 1) { + tvalues.push(t2); } - return; } - const delta = b ** 2 - 4 * c * a; - if (delta < 0) { - return; + let j = tvalues.length, + mt; + const jlen = j; + while (j--) { + t = tvalues[j]; + mt = 1 - t; + bounds[0][j] = mt * mt * mt * x0 + 3 * mt * mt * t * x1 + 3 * mt * t * t * x2 + t * t * t * x3; + bounds[1][j] = mt * mt * mt * y0 + 3 * mt * mt * t * y1 + 3 * mt * t * t * y2 + t * t * t * y3; } - const sqrtDelta = Math.sqrt(delta); - const a2 = 2 * a; - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, (-b + sqrtDelta) / a2, minMax); - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, (-b - sqrtDelta) / a2, minMax); - } - static bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3, minMax) { - if (minMax) { - minMax[0] = Math.min(minMax[0], x0, x3); - minMax[1] = Math.min(minMax[1], y0, y3); - minMax[2] = Math.max(minMax[2], x0, x3); - minMax[3] = Math.max(minMax[3], y0, y3); - } else { - minMax = [Math.min(x0, x3), Math.min(y0, y3), Math.max(x0, x3), Math.max(y0, y3)]; - } - this.#getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, 3 * (-x0 + 3 * (x1 - x2) + x3), 6 * (x0 - 2 * x1 + x2), 3 * (x1 - x0), minMax); - this.#getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, 3 * (-y0 + 3 * (y1 - y2) + y3), 6 * (y0 - 2 * y1 + y2), 3 * (y1 - y0), minMax); - return minMax; + bounds[0][jlen] = x0; + bounds[1][jlen] = y0; + bounds[0][jlen + 1] = x3; + bounds[1][jlen + 1] = y3; + bounds[0].length = bounds[1].length = jlen + 2; + return [Math.min(...bounds[0]), Math.min(...bounds[1]), Math.max(...bounds[0]), Math.max(...bounds[1])]; } } +exports.Util = Util; const PDFStringTranslateTable = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2d8, 0x2c7, 0x2c6, 0x2d9, 0x2dd, 0x2db, 0x2da, 0x2dc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2022, 0x2020, 0x2021, 0x2026, 0x2014, 0x2013, 0x192, 0x2044, 0x2039, 0x203a, 0x2212, 0x2030, 0x201e, 0x201c, 0x201d, 0x2018, 0x2019, 0x201a, 0x2122, 0xfb01, 0xfb02, 0x141, 0x152, 0x160, 0x178, 0x17d, 0x131, 0x142, 0x153, 0x161, 0x17e, 0, 0x20ac]; function stringToPDFString(str) { if (str[0] >= "\xEF") { let encoding; if (str[0] === "\xFE" && str[1] === "\xFF") { encoding = "utf-16be"; - if (str.length % 2 === 1) { - str = str.slice(0, -1); - } } else if (str[0] === "\xFF" && str[1] === "\xFE") { encoding = "utf-16le"; - if (str.length % 2 === 1) { - str = str.slice(0, -1); - } } else if (str[0] === "\xEF" && str[1] === "\xBB" && str[2] === "\xBF") { encoding = "utf-8"; } @@ -5255,11 +1353,7 @@ function stringToPDFString(str) { fatal: true }); const buffer = stringToBytes(str); - const decoded = decoder.decode(buffer); - if (!decoded.includes("\x1b")) { - return decoded; - } - return decoded.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g, ""); + return decoder.decode(buffer); } catch (ex) { warn(`stringToPDFString: "${ex}".`); } @@ -5267,12 +1361,7 @@ function stringToPDFString(str) { } const strBuf = []; for (let i = 0, ii = str.length; i < ii; i++) { - const charCode = str.charCodeAt(i); - if (charCode === 0x1b) { - while (++i < ii && str.charCodeAt(i) !== 0x1b) {} - continue; - } - const code = PDFStringTranslateTable[charCode]; + const code = PDFStringTranslateTable[str.charCodeAt(i)]; strBuf.push(code ? String.fromCharCode(code) : str.charAt(i)); } return strBuf.join(""); @@ -5283,6 +1372,9 @@ function stringToUTF8String(str) { function utf8StringToString(str) { return unescape(encodeURIComponent(str)); } +function isArrayBuffer(v) { + return typeof v === "object" && v?.byteLength !== undefined; +} function isArrayEqual(arr1, arr2) { if (arr1.length !== arr2.length) { return false; @@ -5298,6 +1390,25 @@ function getModificationDate(date = new Date()) { const buffer = [date.getUTCFullYear().toString(), (date.getUTCMonth() + 1).toString().padStart(2, "0"), date.getUTCDate().toString().padStart(2, "0"), date.getUTCHours().toString().padStart(2, "0"), date.getUTCMinutes().toString().padStart(2, "0"), date.getUTCSeconds().toString().padStart(2, "0")]; return buffer.join(""); } +class PromiseCapability { + #settled = false; + constructor() { + this.promise = new Promise((resolve, reject) => { + this.resolve = data => { + this.#settled = true; + resolve(data); + }; + this.reject = reason => { + this.#settled = true; + reject(reason); + }; + }); + } + get settled() { + return this.#settled; + } +} +exports.PromiseCapability = PromiseCapability; let NormalizeRegex = null; let NormalizationMap = null; function normalizeUnicode(str) { @@ -5305,49 +1416,473 @@ function normalizeUnicode(str) { NormalizeRegex = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu; NormalizationMap = new Map([["ſt", "ſt"]]); } - return str.replaceAll(NormalizeRegex, (_, p1, p2) => p1 ? p1.normalize("NFKC") : NormalizationMap.get(p2)); + return str.replaceAll(NormalizeRegex, (_, p1, p2) => { + return p1 ? p1.normalize("NFKC") : NormalizationMap.get(p2); + }); } -function getUuid() { - if (typeof crypto !== "undefined" && typeof crypto?.randomUUID === "function") { - return crypto.randomUUID(); + +/***/ }), +/* 3 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XRefParseException = exports.XRefEntryException = exports.ParserEOFException = exports.PDF_VERSION_REGEXP = exports.MissingDataException = void 0; +exports.arrayBuffersToBytes = arrayBuffersToBytes; +exports.collectActions = collectActions; +exports.encodeToXmlString = encodeToXmlString; +exports.escapePDFName = escapePDFName; +exports.escapeString = escapeString; +exports.getInheritableProperty = getInheritableProperty; +exports.getLookupTableFactory = getLookupTableFactory; +exports.getNewAnnotationsMap = getNewAnnotationsMap; +exports.getRotationMatrix = getRotationMatrix; +exports.isAscii = isAscii; +exports.isWhiteSpace = isWhiteSpace; +exports.log2 = log2; +exports.numberToString = numberToString; +exports.parseXFAPath = parseXFAPath; +exports.readInt8 = readInt8; +exports.readUint16 = readUint16; +exports.readUint32 = readUint32; +exports.recoverJsURL = recoverJsURL; +exports.stringToUTF16HexString = stringToUTF16HexString; +exports.stringToUTF16String = stringToUTF16String; +exports.toRomanNumerals = toRomanNumerals; +exports.validateCSSFont = validateCSSFont; +exports.validateFontName = validateFontName; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _base_stream = __w_pdfjs_require__(5); +const PDF_VERSION_REGEXP = /^[1-9]\.\d$/; +exports.PDF_VERSION_REGEXP = PDF_VERSION_REGEXP; +function getLookupTableFactory(initializer) { + let lookup; + return function () { + if (initializer) { + lookup = Object.create(null); + initializer(lookup); + initializer = null; + } + return lookup; + }; +} +class MissingDataException extends _util.BaseException { + constructor(begin, end) { + super(`Missing data [${begin}, ${end})`, "MissingDataException"); + this.begin = begin; + this.end = end; } - const buf = new Uint8Array(32); - if (typeof crypto !== "undefined" && typeof crypto?.getRandomValues === "function") { - crypto.getRandomValues(buf); - } else { - for (let i = 0; i < 32; i++) { - buf[i] = Math.floor(Math.random() * 255); +} +exports.MissingDataException = MissingDataException; +class ParserEOFException extends _util.BaseException { + constructor(msg) { + super(msg, "ParserEOFException"); + } +} +exports.ParserEOFException = ParserEOFException; +class XRefEntryException extends _util.BaseException { + constructor(msg) { + super(msg, "XRefEntryException"); + } +} +exports.XRefEntryException = XRefEntryException; +class XRefParseException extends _util.BaseException { + constructor(msg) { + super(msg, "XRefParseException"); + } +} +exports.XRefParseException = XRefParseException; +function arrayBuffersToBytes(arr) { + const length = arr.length; + if (length === 0) { + return new Uint8Array(0); + } + if (length === 1) { + return new Uint8Array(arr[0]); + } + let dataLength = 0; + for (let i = 0; i < length; i++) { + dataLength += arr[i].byteLength; + } + const data = new Uint8Array(dataLength); + let pos = 0; + for (let i = 0; i < length; i++) { + const item = new Uint8Array(arr[i]); + data.set(item, pos); + pos += item.byteLength; + } + return data; +} +function getInheritableProperty({ + dict, + key, + getArray = false, + stopWhenFound = true +}) { + let values; + const visited = new _primitives.RefSet(); + while (dict instanceof _primitives.Dict && !(dict.objId && visited.has(dict.objId))) { + if (dict.objId) { + visited.put(dict.objId); + } + const value = getArray ? dict.getArray(key) : dict.get(key); + if (value !== undefined) { + if (stopWhenFound) { + return value; + } + (values ||= []).push(value); + } + dict = dict.get("Parent"); + } + return values; +} +const ROMAN_NUMBER_MAP = ["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM", "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC", "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"]; +function toRomanNumerals(number, lowerCase = false) { + (0, _util.assert)(Number.isInteger(number) && number > 0, "The number should be a positive integer."); + const romanBuf = []; + let pos; + while (number >= 1000) { + number -= 1000; + romanBuf.push("M"); + } + pos = number / 100 | 0; + number %= 100; + romanBuf.push(ROMAN_NUMBER_MAP[pos]); + pos = number / 10 | 0; + number %= 10; + romanBuf.push(ROMAN_NUMBER_MAP[10 + pos]); + romanBuf.push(ROMAN_NUMBER_MAP[20 + number]); + const romanStr = romanBuf.join(""); + return lowerCase ? romanStr.toLowerCase() : romanStr; +} +function log2(x) { + if (x <= 0) { + return 0; + } + return Math.ceil(Math.log2(x)); +} +function readInt8(data, offset) { + return data[offset] << 24 >> 24; +} +function readUint16(data, offset) { + return data[offset] << 8 | data[offset + 1]; +} +function readUint32(data, offset) { + return (data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]) >>> 0; +} +function isWhiteSpace(ch) { + return ch === 0x20 || ch === 0x09 || ch === 0x0d || ch === 0x0a; +} +function parseXFAPath(path) { + const positionPattern = /(.+)\[(\d+)\]$/; + return path.split(".").map(component => { + const m = component.match(positionPattern); + if (m) { + return { + name: m[1], + pos: parseInt(m[2], 10) + }; + } + return { + name: component, + pos: 0 + }; + }); +} +function escapePDFName(str) { + const buffer = []; + let start = 0; + for (let i = 0, ii = str.length; i < ii; i++) { + const char = str.charCodeAt(i); + if (char < 0x21 || char > 0x7e || char === 0x23 || char === 0x28 || char === 0x29 || char === 0x3c || char === 0x3e || char === 0x5b || char === 0x5d || char === 0x7b || char === 0x7d || char === 0x2f || char === 0x25) { + if (start < i) { + buffer.push(str.substring(start, i)); + } + buffer.push(`#${char.toString(16)}`); + start = i + 1; } } - return bytesToString(buf); + if (buffer.length === 0) { + return str; + } + if (start < str.length) { + buffer.push(str.substring(start, str.length)); + } + return buffer.join(""); } -const AnnotationPrefix = "pdfjs_internal_id_"; -const FontRenderOps = { - BEZIER_CURVE_TO: 0, - MOVE_TO: 1, - LINE_TO: 2, - QUADRATIC_CURVE_TO: 3, - RESTORE: 4, - SAVE: 5, - SCALE: 6, - TRANSFORM: 7, - TRANSLATE: 8 +function escapeString(str) { + return str.replaceAll(/([()\\\n\r])/g, match => { + if (match === "\n") { + return "\\n"; + } else if (match === "\r") { + return "\\r"; + } + return `\\${match}`; + }); +} +function _collectJS(entry, xref, list, parents) { + if (!entry) { + return; + } + let parent = null; + if (entry instanceof _primitives.Ref) { + if (parents.has(entry)) { + return; + } + parent = entry; + parents.put(parent); + entry = xref.fetch(entry); + } + if (Array.isArray(entry)) { + for (const element of entry) { + _collectJS(element, xref, list, parents); + } + } else if (entry instanceof _primitives.Dict) { + if ((0, _primitives.isName)(entry.get("S"), "JavaScript")) { + const js = entry.get("JS"); + let code; + if (js instanceof _base_stream.BaseStream) { + code = js.getString(); + } else if (typeof js === "string") { + code = js; + } + code &&= (0, _util.stringToPDFString)(code).replaceAll("\x00", ""); + if (code) { + list.push(code); + } + } + _collectJS(entry.getRaw("Next"), xref, list, parents); + } + if (parent) { + parents.remove(parent); + } +} +function collectActions(xref, dict, eventType) { + const actions = Object.create(null); + const additionalActionsDicts = getInheritableProperty({ + dict, + key: "AA", + stopWhenFound: false + }); + if (additionalActionsDicts) { + for (let i = additionalActionsDicts.length - 1; i >= 0; i--) { + const additionalActions = additionalActionsDicts[i]; + if (!(additionalActions instanceof _primitives.Dict)) { + continue; + } + for (const key of additionalActions.getKeys()) { + const action = eventType[key]; + if (!action) { + continue; + } + const actionDict = additionalActions.getRaw(key); + const parents = new _primitives.RefSet(); + const list = []; + _collectJS(actionDict, xref, list, parents); + if (list.length > 0) { + actions[action] = list; + } + } + } + } + if (dict.has("A")) { + const actionDict = dict.get("A"); + const parents = new _primitives.RefSet(); + const list = []; + _collectJS(actionDict, xref, list, parents); + if (list.length > 0) { + actions.Action = list; + } + } + return (0, _util.objectSize)(actions) > 0 ? actions : null; +} +const XMLEntities = { + 0x3c: "<", + 0x3e: ">", + 0x26: "&", + 0x22: """, + 0x27: "'" }; +function encodeToXmlString(str) { + const buffer = []; + let start = 0; + for (let i = 0, ii = str.length; i < ii; i++) { + const char = str.codePointAt(i); + if (0x20 <= char && char <= 0x7e) { + const entity = XMLEntities[char]; + if (entity) { + if (start < i) { + buffer.push(str.substring(start, i)); + } + buffer.push(entity); + start = i + 1; + } + } else { + if (start < i) { + buffer.push(str.substring(start, i)); + } + buffer.push(`${char.toString(16).toUpperCase()};`); + if (char > 0xd7ff && (char < 0xe000 || char > 0xfffd)) { + i++; + } + start = i + 1; + } + } + if (buffer.length === 0) { + return str; + } + if (start < str.length) { + buffer.push(str.substring(start, str.length)); + } + return buffer.join(""); +} +function validateFontName(fontFamily, mustWarn = false) { + const m = /^("|').*("|')$/.exec(fontFamily); + if (m && m[1] === m[2]) { + const re = new RegExp(`[^\\\\]${m[1]}`); + if (re.test(fontFamily.slice(1, -1))) { + if (mustWarn) { + (0, _util.warn)(`FontFamily contains unescaped ${m[1]}: ${fontFamily}.`); + } + return false; + } + } else { + for (const ident of fontFamily.split(/[ \t]+/)) { + if (/^(\d|(-(\d|-)))/.test(ident) || !/^[\w-\\]+$/.test(ident)) { + if (mustWarn) { + (0, _util.warn)(`FontFamily contains invalid : ${fontFamily}.`); + } + return false; + } + } + } + return true; +} +function validateCSSFont(cssFontInfo) { + const DEFAULT_CSS_FONT_OBLIQUE = "14"; + const DEFAULT_CSS_FONT_WEIGHT = "400"; + const CSS_FONT_WEIGHT_VALUES = new Set(["100", "200", "300", "400", "500", "600", "700", "800", "900", "1000", "normal", "bold", "bolder", "lighter"]); + const { + fontFamily, + fontWeight, + italicAngle + } = cssFontInfo; + if (!validateFontName(fontFamily, true)) { + return false; + } + const weight = fontWeight ? fontWeight.toString() : ""; + cssFontInfo.fontWeight = CSS_FONT_WEIGHT_VALUES.has(weight) ? weight : DEFAULT_CSS_FONT_WEIGHT; + const angle = parseFloat(italicAngle); + cssFontInfo.italicAngle = isNaN(angle) || angle < -90 || angle > 90 ? DEFAULT_CSS_FONT_OBLIQUE : italicAngle.toString(); + return true; +} +function recoverJsURL(str) { + const URL_OPEN_METHODS = ["app.launchURL", "window.open", "xfa.host.gotoURL"]; + const regex = new RegExp("^\\s*(" + URL_OPEN_METHODS.join("|").replaceAll(".", "\\.") + ")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))", "i"); + const jsUrl = regex.exec(str); + if (jsUrl?.[2]) { + const url = jsUrl[2]; + let newWindow = false; + if (jsUrl[3] === "true" && jsUrl[1] === "app.launchURL") { + newWindow = true; + } + return { + url, + newWindow + }; + } + return null; +} +function numberToString(value) { + if (Number.isInteger(value)) { + return value.toString(); + } + const roundedValue = Math.round(value * 100); + if (roundedValue % 100 === 0) { + return (roundedValue / 100).toString(); + } + if (roundedValue % 10 === 0) { + return value.toFixed(1); + } + return value.toFixed(2); +} +function getNewAnnotationsMap(annotationStorage) { + if (!annotationStorage) { + return null; + } + const newAnnotationsByPage = new Map(); + for (const [key, value] of annotationStorage) { + if (!key.startsWith(_util.AnnotationEditorPrefix)) { + continue; + } + let annotations = newAnnotationsByPage.get(value.pageIndex); + if (!annotations) { + annotations = []; + newAnnotationsByPage.set(value.pageIndex, annotations); + } + annotations.push(value); + } + return newAnnotationsByPage.size > 0 ? newAnnotationsByPage : null; +} +function isAscii(str) { + return /^[\x00-\x7F]*$/.test(str); +} +function stringToUTF16HexString(str) { + const buf = []; + for (let i = 0, ii = str.length; i < ii; i++) { + const char = str.charCodeAt(i); + buf.push((char >> 8 & 0xff).toString(16).padStart(2, "0"), (char & 0xff).toString(16).padStart(2, "0")); + } + return buf.join(""); +} +function stringToUTF16String(str, bigEndian = false) { + const buf = []; + if (bigEndian) { + buf.push("\xFE\xFF"); + } + for (let i = 0, ii = str.length; i < ii; i++) { + const char = str.charCodeAt(i); + buf.push(String.fromCharCode(char >> 8 & 0xff), String.fromCharCode(char & 0xff)); + } + return buf.join(""); +} +function getRotationMatrix(rotation, width, height) { + switch (rotation) { + case 90: + return [0, 1, -1, 0, width, 0]; + case 180: + return [-1, 0, 0, -1, width, height]; + case 270: + return [0, -1, 1, 0, 0, height]; + default: + throw new Error("Invalid rotation"); + } +} -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.every.js -var esnext_iterator_every = __webpack_require__(3215); -;// CONCATENATED MODULE: ./src/core/primitives.js - - - - - - +/***/ }), +/* 4 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.RefSetCache = exports.RefSet = exports.Ref = exports.Name = exports.EOF = exports.Dict = exports.Cmd = exports.CIRCULAR_REF = void 0; +exports.clearPrimitiveCaches = clearPrimitiveCaches; +exports.isCmd = isCmd; +exports.isDict = isDict; +exports.isName = isName; +exports.isRefsEqual = isRefsEqual; +var _util = __w_pdfjs_require__(2); const CIRCULAR_REF = Symbol("CIRCULAR_REF"); +exports.CIRCULAR_REF = CIRCULAR_REF; const EOF = Symbol("EOF"); +exports.EOF = EOF; let CmdCache = Object.create(null); let NameCache = Object.create(null); let RefCache = Object.create(null); @@ -5364,6 +1899,7 @@ class Name { return NameCache[name] ||= new Name(name); } } +exports.Name = Name; class Cmd { constructor(cmd) { this.cmd = cmd; @@ -5372,6 +1908,7 @@ class Cmd { return CmdCache[cmd] ||= new Cmd(cmd); } } +exports.Cmd = Cmd; const nonSerializable = function nonSerializableClosure() { return nonSerializable; }; @@ -5459,9 +1996,9 @@ class Dict { static get empty() { const emptyDict = new Dict(null); emptyDict.set = (key, value) => { - unreachable("Should not call `set` on the empty dictionary."); + (0, _util.unreachable)("Should not call `set` on the empty dictionary."); }; - return shadow(this, "empty", emptyDict); + return (0, _util.shadow)(this, "empty", emptyDict); } static merge({ xref, @@ -5505,14 +2042,8 @@ class Dict { properties.clear(); return mergedDict.size > 0 ? mergedDict : Dict.empty; } - clone() { - const dict = new Dict(this.xref); - for (const key of this.getKeys()) { - dict.set(key, this.getRaw(key)); - } - return dict; - } } +exports.Dict = Dict; class Ref { constructor(num, gen) { this.num = num; @@ -5540,6 +2071,7 @@ class Ref { return RefCache[key] ||= new Ref(num, gen); } } +exports.Ref = Ref; class RefSet { constructor(parent = null) { this._set = new Set(parent?._set); @@ -5560,6 +2092,7 @@ class RefSet { this._set.clear(); } } +exports.RefSet = RefSet; class RefSetCache { constructor() { this._map = new Map(); @@ -5585,12 +2118,8 @@ class RefSetCache { clear() { this._map.clear(); } - *items() { - for (const [ref, value] of this._map) { - yield [Ref.fromString(ref), value]; - } - } } +exports.RefSetCache = RefSetCache; function isName(v, name) { return v instanceof Name && (name === undefined || v.name === name); } @@ -5604,28 +2133,37 @@ function isRefsEqual(v1, v2) { return v1.num === v2.num && v1.gen === v2.gen; } -;// CONCATENATED MODULE: ./src/core/base_stream.js +/***/ }), +/* 5 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.BaseStream = void 0; +var _util = __w_pdfjs_require__(2); class BaseStream { constructor() { if (this.constructor === BaseStream) { - unreachable("Cannot initialize BaseStream."); + (0, _util.unreachable)("Cannot initialize BaseStream."); } } get length() { - unreachable("Abstract getter `length` accessed"); + (0, _util.unreachable)("Abstract getter `length` accessed"); } get isEmpty() { - unreachable("Abstract getter `isEmpty` accessed"); + (0, _util.unreachable)("Abstract getter `isEmpty` accessed"); } get isDataLoaded() { - return shadow(this, "isDataLoaded", true); + return (0, _util.shadow)(this, "isDataLoaded", true); } getByte() { - unreachable("Abstract method `getByte` called"); + (0, _util.unreachable)("Abstract method `getByte` called"); } getBytes(length) { - unreachable("Abstract method `getBytes` called"); + (0, _util.unreachable)("Abstract method `getBytes` called"); } peekByte() { const peekedByte = this.getByte(); @@ -5655,559 +2193,202 @@ class BaseStream { return (b0 << 24) + (b1 << 16) + (b2 << 8) + b3; } getByteRange(begin, end) { - unreachable("Abstract method `getByteRange` called"); + (0, _util.unreachable)("Abstract method `getByteRange` called"); } getString(length) { - return bytesToString(this.getBytes(length)); + return (0, _util.bytesToString)(this.getBytes(length)); } skip(n) { this.pos += n || 1; } reset() { - unreachable("Abstract method `reset` called"); + (0, _util.unreachable)("Abstract method `reset` called"); } moveStart() { - unreachable("Abstract method `moveStart` called"); + (0, _util.unreachable)("Abstract method `moveStart` called"); } makeSubStream(start, length, dict = null) { - unreachable("Abstract method `makeSubStream` called"); + (0, _util.unreachable)("Abstract method `makeSubStream` called"); } getBaseStreams() { return null; } } +exports.BaseStream = BaseStream; -;// CONCATENATED MODULE: ./src/core/core_utils.js +/***/ }), +/* 6 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - - - - -const PDF_VERSION_REGEXP = /^[1-9]\.\d$/; -function getLookupTableFactory(initializer) { - let lookup; - return function () { - if (initializer) { - lookup = Object.create(null); - initializer(lookup); - initializer = null; +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NetworkPdfManager = exports.LocalPdfManager = void 0; +var _util = __w_pdfjs_require__(2); +var _chunked_stream = __w_pdfjs_require__(7); +var _core_utils = __w_pdfjs_require__(3); +var _document = __w_pdfjs_require__(9); +var _stream = __w_pdfjs_require__(8); +function parseDocBaseUrl(url) { + if (url) { + const absoluteUrl = (0, _util.createValidAbsoluteUrl)(url); + if (absoluteUrl) { + return absoluteUrl.href; } - return lookup; - }; -} -class MissingDataException extends BaseException { - constructor(begin, end) { - super(`Missing data [${begin}, ${end})`, "MissingDataException"); - this.begin = begin; - this.end = end; - } -} -class ParserEOFException extends BaseException { - constructor(msg) { - super(msg, "ParserEOFException"); - } -} -class XRefEntryException extends BaseException { - constructor(msg) { - super(msg, "XRefEntryException"); - } -} -class XRefParseException extends BaseException { - constructor(msg) { - super(msg, "XRefParseException"); - } -} -function arrayBuffersToBytes(arr) { - const length = arr.length; - if (length === 0) { - return new Uint8Array(0); - } - if (length === 1) { - return new Uint8Array(arr[0]); - } - let dataLength = 0; - for (let i = 0; i < length; i++) { - dataLength += arr[i].byteLength; - } - const data = new Uint8Array(dataLength); - let pos = 0; - for (let i = 0; i < length; i++) { - const item = new Uint8Array(arr[i]); - data.set(item, pos); - pos += item.byteLength; - } - return data; -} -function getInheritableProperty({ - dict, - key, - getArray = false, - stopWhenFound = true -}) { - let values; - const visited = new RefSet(); - while (dict instanceof Dict && !(dict.objId && visited.has(dict.objId))) { - if (dict.objId) { - visited.put(dict.objId); - } - const value = getArray ? dict.getArray(key) : dict.get(key); - if (value !== undefined) { - if (stopWhenFound) { - return value; - } - (values ||= []).push(value); - } - dict = dict.get("Parent"); - } - return values; -} -const ROMAN_NUMBER_MAP = ["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM", "", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC", "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"]; -function toRomanNumerals(number, lowerCase = false) { - assert(Number.isInteger(number) && number > 0, "The number should be a positive integer."); - const romanBuf = []; - let pos; - while (number >= 1000) { - number -= 1000; - romanBuf.push("M"); - } - pos = number / 100 | 0; - number %= 100; - romanBuf.push(ROMAN_NUMBER_MAP[pos]); - pos = number / 10 | 0; - number %= 10; - romanBuf.push(ROMAN_NUMBER_MAP[10 + pos]); - romanBuf.push(ROMAN_NUMBER_MAP[20 + number]); - const romanStr = romanBuf.join(""); - return lowerCase ? romanStr.toLowerCase() : romanStr; -} -function log2(x) { - if (x <= 0) { - return 0; - } - return Math.ceil(Math.log2(x)); -} -function readInt8(data, offset) { - return data[offset] << 24 >> 24; -} -function readUint16(data, offset) { - return data[offset] << 8 | data[offset + 1]; -} -function readUint32(data, offset) { - return (data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]) >>> 0; -} -function isWhiteSpace(ch) { - return ch === 0x20 || ch === 0x09 || ch === 0x0d || ch === 0x0a; -} -function isNumberArray(arr, len) { - return Array.isArray(arr) && (len === null || arr.length === len) && arr.every(x => typeof x === "number"); -} -function parseXFAPath(path) { - const positionPattern = /(.+)\[(\d+)\]$/; - return path.split(".").map(component => { - const m = component.match(positionPattern); - if (m) { - return { - name: m[1], - pos: parseInt(m[2], 10) - }; - } - return { - name: component, - pos: 0 - }; - }); -} -function escapePDFName(str) { - const buffer = []; - let start = 0; - for (let i = 0, ii = str.length; i < ii; i++) { - const char = str.charCodeAt(i); - if (char < 0x21 || char > 0x7e || char === 0x23 || char === 0x28 || char === 0x29 || char === 0x3c || char === 0x3e || char === 0x5b || char === 0x5d || char === 0x7b || char === 0x7d || char === 0x2f || char === 0x25) { - if (start < i) { - buffer.push(str.substring(start, i)); - } - buffer.push(`#${char.toString(16)}`); - start = i + 1; - } - } - if (buffer.length === 0) { - return str; - } - if (start < str.length) { - buffer.push(str.substring(start, str.length)); - } - return buffer.join(""); -} -function escapeString(str) { - return str.replaceAll(/([()\\\n\r])/g, match => { - if (match === "\n") { - return "\\n"; - } else if (match === "\r") { - return "\\r"; - } - return `\\${match}`; - }); -} -function _collectJS(entry, xref, list, parents) { - if (!entry) { - return; - } - let parent = null; - if (entry instanceof Ref) { - if (parents.has(entry)) { - return; - } - parent = entry; - parents.put(parent); - entry = xref.fetch(entry); - } - if (Array.isArray(entry)) { - for (const element of entry) { - _collectJS(element, xref, list, parents); - } - } else if (entry instanceof Dict) { - if (isName(entry.get("S"), "JavaScript")) { - const js = entry.get("JS"); - let code; - if (js instanceof BaseStream) { - code = js.getString(); - } else if (typeof js === "string") { - code = js; - } - code &&= stringToPDFString(code).replaceAll("\x00", ""); - if (code) { - list.push(code); - } - } - _collectJS(entry.getRaw("Next"), xref, list, parents); - } - if (parent) { - parents.remove(parent); - } -} -function collectActions(xref, dict, eventType) { - const actions = Object.create(null); - const additionalActionsDicts = getInheritableProperty({ - dict, - key: "AA", - stopWhenFound: false - }); - if (additionalActionsDicts) { - for (let i = additionalActionsDicts.length - 1; i >= 0; i--) { - const additionalActions = additionalActionsDicts[i]; - if (!(additionalActions instanceof Dict)) { - continue; - } - for (const key of additionalActions.getKeys()) { - const action = eventType[key]; - if (!action) { - continue; - } - const actionDict = additionalActions.getRaw(key); - const parents = new RefSet(); - const list = []; - _collectJS(actionDict, xref, list, parents); - if (list.length > 0) { - actions[action] = list; - } - } - } - } - if (dict.has("A")) { - const actionDict = dict.get("A"); - const parents = new RefSet(); - const list = []; - _collectJS(actionDict, xref, list, parents); - if (list.length > 0) { - actions.Action = list; - } - } - return objectSize(actions) > 0 ? actions : null; -} -const XMLEntities = { - 0x3c: "<", - 0x3e: ">", - 0x26: "&", - 0x22: """, - 0x27: "'" -}; -function* codePointIter(str) { - for (let i = 0, ii = str.length; i < ii; i++) { - const char = str.codePointAt(i); - if (char > 0xd7ff && (char < 0xe000 || char > 0xfffd)) { - i++; - } - yield char; - } -} -function encodeToXmlString(str) { - const buffer = []; - let start = 0; - for (let i = 0, ii = str.length; i < ii; i++) { - const char = str.codePointAt(i); - if (0x20 <= char && char <= 0x7e) { - const entity = XMLEntities[char]; - if (entity) { - if (start < i) { - buffer.push(str.substring(start, i)); - } - buffer.push(entity); - start = i + 1; - } - } else { - if (start < i) { - buffer.push(str.substring(start, i)); - } - buffer.push(`${char.toString(16).toUpperCase()};`); - if (char > 0xd7ff && (char < 0xe000 || char > 0xfffd)) { - i++; - } - start = i + 1; - } - } - if (buffer.length === 0) { - return str; - } - if (start < str.length) { - buffer.push(str.substring(start, str.length)); - } - return buffer.join(""); -} -function validateFontName(fontFamily, mustWarn = false) { - const m = /^("|').*("|')$/.exec(fontFamily); - if (m && m[1] === m[2]) { - const re = new RegExp(`[^\\\\]${m[1]}`); - if (re.test(fontFamily.slice(1, -1))) { - if (mustWarn) { - warn(`FontFamily contains unescaped ${m[1]}: ${fontFamily}.`); - } - return false; - } - } else { - for (const ident of fontFamily.split(/[ \t]+/)) { - if (/^(\d|(-(\d|-)))/.test(ident) || !/^[\w-\\]+$/.test(ident)) { - if (mustWarn) { - warn(`FontFamily contains invalid : ${fontFamily}.`); - } - return false; - } - } - } - return true; -} -function validateCSSFont(cssFontInfo) { - const DEFAULT_CSS_FONT_OBLIQUE = "14"; - const DEFAULT_CSS_FONT_WEIGHT = "400"; - const CSS_FONT_WEIGHT_VALUES = new Set(["100", "200", "300", "400", "500", "600", "700", "800", "900", "1000", "normal", "bold", "bolder", "lighter"]); - const { - fontFamily, - fontWeight, - italicAngle - } = cssFontInfo; - if (!validateFontName(fontFamily, true)) { - return false; - } - const weight = fontWeight ? fontWeight.toString() : ""; - cssFontInfo.fontWeight = CSS_FONT_WEIGHT_VALUES.has(weight) ? weight : DEFAULT_CSS_FONT_WEIGHT; - const angle = parseFloat(italicAngle); - cssFontInfo.italicAngle = isNaN(angle) || angle < -90 || angle > 90 ? DEFAULT_CSS_FONT_OBLIQUE : italicAngle.toString(); - return true; -} -function recoverJsURL(str) { - const URL_OPEN_METHODS = ["app.launchURL", "window.open", "xfa.host.gotoURL"]; - const regex = new RegExp("^\\s*(" + URL_OPEN_METHODS.join("|").replaceAll(".", "\\.") + ")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))", "i"); - const jsUrl = regex.exec(str); - if (jsUrl?.[2]) { - const url = jsUrl[2]; - let newWindow = false; - if (jsUrl[3] === "true" && jsUrl[1] === "app.launchURL") { - newWindow = true; - } - return { - url, - newWindow - }; + (0, _util.warn)(`Invalid absolute docBaseUrl: "${url}".`); } return null; } -function numberToString(value) { - if (Number.isInteger(value)) { - return value.toString(); - } - const roundedValue = Math.round(value * 100); - if (roundedValue % 100 === 0) { - return (roundedValue / 100).toString(); - } - if (roundedValue % 10 === 0) { - return value.toFixed(1); - } - return value.toFixed(2); -} -function getNewAnnotationsMap(annotationStorage) { - if (!annotationStorage) { - return null; - } - const newAnnotationsByPage = new Map(); - for (const [key, value] of annotationStorage) { - if (!key.startsWith(AnnotationEditorPrefix)) { - continue; +class BasePdfManager { + constructor(args) { + if (this.constructor === BasePdfManager) { + (0, _util.unreachable)("Cannot initialize BasePdfManager."); } - let annotations = newAnnotationsByPage.get(value.pageIndex); - if (!annotations) { - annotations = []; - newAnnotationsByPage.set(value.pageIndex, annotations); + this._docBaseUrl = parseDocBaseUrl(args.docBaseUrl); + this._docId = args.docId; + this._password = args.password; + this.enableXfa = args.enableXfa; + args.evaluatorOptions.isOffscreenCanvasSupported &&= _util.FeatureTest.isOffscreenCanvasSupported; + this.evaluatorOptions = args.evaluatorOptions; + } + get docId() { + return this._docId; + } + get password() { + return this._password; + } + get docBaseUrl() { + const catalog = this.pdfDocument.catalog; + return (0, _util.shadow)(this, "docBaseUrl", catalog.baseUrl || this._docBaseUrl); + } + ensureDoc(prop, args) { + return this.ensure(this.pdfDocument, prop, args); + } + ensureXRef(prop, args) { + return this.ensure(this.pdfDocument.xref, prop, args); + } + ensureCatalog(prop, args) { + return this.ensure(this.pdfDocument.catalog, prop, args); + } + getPage(pageIndex) { + return this.pdfDocument.getPage(pageIndex); + } + fontFallback(id, handler) { + return this.pdfDocument.fontFallback(id, handler); + } + loadXfaFonts(handler, task) { + return this.pdfDocument.loadXfaFonts(handler, task); + } + loadXfaImages() { + return this.pdfDocument.loadXfaImages(); + } + serializeXfaData(annotationStorage) { + return this.pdfDocument.serializeXfaData(annotationStorage); + } + cleanup(manuallyTriggered = false) { + return this.pdfDocument.cleanup(manuallyTriggered); + } + async ensure(obj, prop, args) { + (0, _util.unreachable)("Abstract method `ensure` called"); + } + requestRange(begin, end) { + (0, _util.unreachable)("Abstract method `requestRange` called"); + } + requestLoadedStream(noFetch = false) { + (0, _util.unreachable)("Abstract method `requestLoadedStream` called"); + } + sendProgressiveData(chunk) { + (0, _util.unreachable)("Abstract method `sendProgressiveData` called"); + } + updatePassword(password) { + this._password = password; + } + terminate(reason) { + (0, _util.unreachable)("Abstract method `terminate` called"); + } +} +class LocalPdfManager extends BasePdfManager { + constructor(args) { + super(args); + const stream = new _stream.Stream(args.source); + this.pdfDocument = new _document.PDFDocument(this, stream); + this._loadedStreamPromise = Promise.resolve(stream); + } + async ensure(obj, prop, args) { + const value = obj[prop]; + if (typeof value === "function") { + return value.apply(obj, args); } - annotations.push(value); + return value; } - return newAnnotationsByPage.size > 0 ? newAnnotationsByPage : null; + requestRange(begin, end) { + return Promise.resolve(); + } + requestLoadedStream(noFetch = false) { + return this._loadedStreamPromise; + } + terminate(reason) {} } -function isAscii(str) { - return /^[\x00-\x7F]*$/.test(str); -} -function stringToUTF16HexString(str) { - const buf = []; - for (let i = 0, ii = str.length; i < ii; i++) { - const char = str.charCodeAt(i); - buf.push((char >> 8 & 0xff).toString(16).padStart(2, "0"), (char & 0xff).toString(16).padStart(2, "0")); +exports.LocalPdfManager = LocalPdfManager; +class NetworkPdfManager extends BasePdfManager { + constructor(args) { + super(args); + this.streamManager = new _chunked_stream.ChunkedStreamManager(args.source, { + msgHandler: args.handler, + length: args.length, + disableAutoFetch: args.disableAutoFetch, + rangeChunkSize: args.rangeChunkSize + }); + this.pdfDocument = new _document.PDFDocument(this, this.streamManager.getStream()); } - return buf.join(""); -} -function stringToUTF16String(str, bigEndian = false) { - const buf = []; - if (bigEndian) { - buf.push("\xFE\xFF"); - } - for (let i = 0, ii = str.length; i < ii; i++) { - const char = str.charCodeAt(i); - buf.push(String.fromCharCode(char >> 8 & 0xff), String.fromCharCode(char & 0xff)); - } - return buf.join(""); -} -function getRotationMatrix(rotation, width, height) { - switch (rotation) { - case 90: - return [0, 1, -1, 0, width, 0]; - case 180: - return [-1, 0, 0, -1, width, height]; - case 270: - return [0, -1, 1, 0, 0, height]; - default: - throw new Error("Invalid rotation"); - } -} -function getSizeInBytes(x) { - return Math.ceil(Math.ceil(Math.log2(1 + x)) / 8); -} - -;// CONCATENATED MODULE: ./src/core/stream.js - - - - - - - - -class Stream extends BaseStream { - constructor(arrayBuffer, start, length, dict) { - super(); - this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer : new Uint8Array(arrayBuffer); - this.start = start || 0; - this.pos = this.start; - this.end = start + length || this.bytes.length; - this.dict = dict; - } - get length() { - return this.end - this.start; - } - get isEmpty() { - return this.length === 0; - } - getByte() { - if (this.pos >= this.end) { - return -1; + async ensure(obj, prop, args) { + try { + const value = obj[prop]; + if (typeof value === "function") { + return value.apply(obj, args); + } + return value; + } catch (ex) { + if (!(ex instanceof _core_utils.MissingDataException)) { + throw ex; + } + await this.requestRange(ex.begin, ex.end); + return this.ensure(obj, prop, args); } - return this.bytes[this.pos++]; } - getBytes(length) { - const bytes = this.bytes; - const pos = this.pos; - const strEnd = this.end; - if (!length) { - return bytes.subarray(pos, strEnd); - } - let end = pos + length; - if (end > strEnd) { - end = strEnd; - } - this.pos = end; - return bytes.subarray(pos, end); + requestRange(begin, end) { + return this.streamManager.requestRange(begin, end); } - getByteRange(begin, end) { - if (begin < 0) { - begin = 0; - } - if (end > this.end) { - end = this.end; - } - return this.bytes.subarray(begin, end); + requestLoadedStream(noFetch = false) { + return this.streamManager.requestAllChunks(noFetch); } - reset() { - this.pos = this.start; + sendProgressiveData(chunk) { + this.streamManager.onReceiveData({ + chunk + }); } - moveStart() { - this.start = this.pos; - } - makeSubStream(start, length, dict = null) { - return new Stream(this.bytes.buffer, start, length, dict); - } -} -class StringStream extends Stream { - constructor(str) { - super(stringToBytes(str)); - } -} -class NullStream extends Stream { - constructor() { - super(new Uint8Array(0)); + terminate(reason) { + this.streamManager.abort(reason); } } +exports.NetworkPdfManager = NetworkPdfManager; -;// CONCATENATED MODULE: ./src/core/chunked_stream.js +/***/ }), +/* 7 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - - -class ChunkedStream extends Stream { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ChunkedStreamManager = exports.ChunkedStream = void 0; +var _core_utils = __w_pdfjs_require__(3); +var _util = __w_pdfjs_require__(2); +var _stream = __w_pdfjs_require__(8); +class ChunkedStream extends _stream.Stream { constructor(length, chunkSize, manager) { super(new Uint8Array(length), 0, length, null); this.chunkSize = chunkSize; @@ -6271,7 +2452,7 @@ class ChunkedStream extends Stream { return; } if (!this._loadedChunks.has(chunk)) { - throw new MissingDataException(pos, pos + 1); + throw new _core_utils.MissingDataException(pos, pos + 1); } this.lastSuccessfulEnsureByteChunk = chunk; } @@ -6289,7 +2470,7 @@ class ChunkedStream extends Stream { const endChunk = Math.min(Math.floor((end - 1) / this.chunkSize) + 1, this.numChunks); for (let chunk = beginChunk; chunk < endChunk; ++chunk) { if (!this._loadedChunks.has(chunk)) { - throw new MissingDataException(begin, end); + throw new _core_utils.MissingDataException(begin, end); } } } @@ -6353,8 +2534,10 @@ class ChunkedStream extends Stream { if (start + length > this.progressiveDataLength) { this.ensureRange(start, start + length); } - } else if (start >= this.progressiveDataLength) { - this.ensureByte(start); + } else { + if (start >= this.progressiveDataLength) { + this.ensureByte(start); + } } function ChunkedStreamSubstream() {} ChunkedStreamSubstream.prototype = Object.create(this); @@ -6389,6 +2572,7 @@ class ChunkedStream extends Stream { return [this]; } } +exports.ChunkedStream = ChunkedStream; class ChunkedStreamManager { constructor(pdfNetworkStream, args) { this.length = args.length; @@ -6403,7 +2587,7 @@ class ChunkedStreamManager { this._promisesByRequest = new Map(); this.progressiveDataLength = 0; this.aborted = false; - this._loadedStreamCapability = Promise.withResolvers(); + this._loadedStreamCapability = new _util.PromiseCapability(); } sendRequest(begin, end) { const rangeReader = this.pdfNetworkStream.getRangeReader(begin, end); @@ -6419,7 +2603,7 @@ class ChunkedStreamManager { }) => { try { if (done) { - const chunkData = arrayBuffersToBytes(chunks); + const chunkData = (0, _core_utils.arrayBuffersToBytes)(chunks); chunks = null; resolve(chunkData); return; @@ -6466,7 +2650,7 @@ class ChunkedStreamManager { if (chunksNeeded.size === 0) { return Promise.resolve(); } - const capability = Promise.withResolvers(); + const capability = new _util.PromiseCapability(); this._promisesByRequest.set(requestId, capability); const chunksToRequest = []; for (const chunk of chunksNeeded) { @@ -6623,32 +2807,4967 @@ class ChunkedStreamManager { } abort(reason) { this.aborted = true; - this.pdfNetworkStream?.cancelAllRequests(reason); + if (this.pdfNetworkStream) { + this.pdfNetworkStream.cancelAllRequests(reason); + } for (const capability of this._promisesByRequest.values()) { capability.reject(reason); } } } +exports.ChunkedStreamManager = ChunkedStreamManager; -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js -var esnext_iterator_filter = __webpack_require__(4520); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.flags.js -var es_regexp_flags = __webpack_require__(9479); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.find.js -var esnext_iterator_find = __webpack_require__(2577); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.reduce.js -var esnext_iterator_reduce = __webpack_require__(8872); -;// CONCATENATED MODULE: ./src/core/colorspace.js +/***/ }), +/* 8 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StringStream = exports.Stream = exports.NullStream = void 0; +var _base_stream = __w_pdfjs_require__(5); +var _util = __w_pdfjs_require__(2); +class Stream extends _base_stream.BaseStream { + constructor(arrayBuffer, start, length, dict) { + super(); + this.bytes = arrayBuffer instanceof Uint8Array ? arrayBuffer : new Uint8Array(arrayBuffer); + this.start = start || 0; + this.pos = this.start; + this.end = start + length || this.bytes.length; + this.dict = dict; + } + get length() { + return this.end - this.start; + } + get isEmpty() { + return this.length === 0; + } + getByte() { + if (this.pos >= this.end) { + return -1; + } + return this.bytes[this.pos++]; + } + getBytes(length) { + const bytes = this.bytes; + const pos = this.pos; + const strEnd = this.end; + if (!length) { + return bytes.subarray(pos, strEnd); + } + let end = pos + length; + if (end > strEnd) { + end = strEnd; + } + this.pos = end; + return bytes.subarray(pos, end); + } + getByteRange(begin, end) { + if (begin < 0) { + begin = 0; + } + if (end > this.end) { + end = this.end; + } + return this.bytes.subarray(begin, end); + } + reset() { + this.pos = this.start; + } + moveStart() { + this.start = this.pos; + } + makeSubStream(start, length, dict = null) { + return new Stream(this.bytes.buffer, start, length, dict); + } +} +exports.Stream = Stream; +class StringStream extends Stream { + constructor(str) { + super((0, _util.stringToBytes)(str)); + } +} +exports.StringStream = StringStream; +class NullStream extends Stream { + constructor() { + super(new Uint8Array(0)); + } +} +exports.NullStream = NullStream; + +/***/ }), +/* 9 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Page = exports.PDFDocument = void 0; +var _util = __w_pdfjs_require__(2); +var _annotation = __w_pdfjs_require__(10); +var _core_utils = __w_pdfjs_require__(3); +var _primitives = __w_pdfjs_require__(4); +var _xfa_fonts = __w_pdfjs_require__(51); +var _base_stream = __w_pdfjs_require__(5); +var _crypto = __w_pdfjs_require__(68); +var _catalog = __w_pdfjs_require__(70); +var _cleanup_helper = __w_pdfjs_require__(72); +var _dataset_reader = __w_pdfjs_require__(102); +var _parser = __w_pdfjs_require__(16); +var _stream = __w_pdfjs_require__(8); +var _object_loader = __w_pdfjs_require__(76); +var _operator_list = __w_pdfjs_require__(64); +var _evaluator = __w_pdfjs_require__(13); +var _decode_stream = __w_pdfjs_require__(18); +var _struct_tree = __w_pdfjs_require__(75); +var _writer = __w_pdfjs_require__(66); +var _factory = __w_pdfjs_require__(77); +var _xref = __w_pdfjs_require__(103); +const DEFAULT_USER_UNIT = 1.0; +const LETTER_SIZE_MEDIABOX = [0, 0, 612, 792]; +class Page { + constructor({ + pdfManager, + xref, + pageIndex, + pageDict, + ref, + globalIdFactory, + fontCache, + builtInCMapCache, + standardFontDataCache, + globalImageCache, + systemFontCache, + nonBlendModesSet, + xfaFactory + }) { + this.pdfManager = pdfManager; + this.pageIndex = pageIndex; + this.pageDict = pageDict; + this.xref = xref; + this.ref = ref; + this.fontCache = fontCache; + this.builtInCMapCache = builtInCMapCache; + this.standardFontDataCache = standardFontDataCache; + this.globalImageCache = globalImageCache; + this.systemFontCache = systemFontCache; + this.nonBlendModesSet = nonBlendModesSet; + this.evaluatorOptions = pdfManager.evaluatorOptions; + this.resourcesPromise = null; + this.xfaFactory = xfaFactory; + const idCounters = { + obj: 0 + }; + this._localIdFactory = class extends globalIdFactory { + static createObjId() { + return `p${pageIndex}_${++idCounters.obj}`; + } + static getPageObjId() { + return `p${ref.toString()}`; + } + }; + } + _getInheritableProperty(key, getArray = false) { + const value = (0, _core_utils.getInheritableProperty)({ + dict: this.pageDict, + key, + getArray, + stopWhenFound: false + }); + if (!Array.isArray(value)) { + return value; + } + if (value.length === 1 || !(value[0] instanceof _primitives.Dict)) { + return value[0]; + } + return _primitives.Dict.merge({ + xref: this.xref, + dictArray: value + }); + } + get content() { + return this.pageDict.getArray("Contents"); + } + get resources() { + const resources = this._getInheritableProperty("Resources"); + return (0, _util.shadow)(this, "resources", resources instanceof _primitives.Dict ? resources : _primitives.Dict.empty); + } + _getBoundingBox(name) { + if (this.xfaData) { + return this.xfaData.bbox; + } + let box = this._getInheritableProperty(name, true); + if (Array.isArray(box) && box.length === 4) { + box = _util.Util.normalizeRect(box); + if (box[2] - box[0] > 0 && box[3] - box[1] > 0) { + return box; + } + (0, _util.warn)(`Empty, or invalid, /${name} entry.`); + } + return null; + } + get mediaBox() { + return (0, _util.shadow)(this, "mediaBox", this._getBoundingBox("MediaBox") || LETTER_SIZE_MEDIABOX); + } + get cropBox() { + return (0, _util.shadow)(this, "cropBox", this._getBoundingBox("CropBox") || this.mediaBox); + } + get userUnit() { + let obj = this.pageDict.get("UserUnit"); + if (typeof obj !== "number" || obj <= 0) { + obj = DEFAULT_USER_UNIT; + } + return (0, _util.shadow)(this, "userUnit", obj); + } + get view() { + const { + cropBox, + mediaBox + } = this; + if (cropBox !== mediaBox && !(0, _util.isArrayEqual)(cropBox, mediaBox)) { + const box = _util.Util.intersect(cropBox, mediaBox); + if (box && box[2] - box[0] > 0 && box[3] - box[1] > 0) { + return (0, _util.shadow)(this, "view", box); + } + (0, _util.warn)("Empty /CropBox and /MediaBox intersection."); + } + return (0, _util.shadow)(this, "view", mediaBox); + } + get rotate() { + let rotate = this._getInheritableProperty("Rotate") || 0; + if (rotate % 90 !== 0) { + rotate = 0; + } else if (rotate >= 360) { + rotate %= 360; + } else if (rotate < 0) { + rotate = (rotate % 360 + 360) % 360; + } + return (0, _util.shadow)(this, "rotate", rotate); + } + _onSubStreamError(reason, objId) { + if (this.evaluatorOptions.ignoreErrors) { + (0, _util.warn)(`getContentStream - ignoring sub-stream (${objId}): "${reason}".`); + return; + } + throw reason; + } + getContentStream() { + return this.pdfManager.ensure(this, "content").then(content => { + if (content instanceof _base_stream.BaseStream) { + return content; + } + if (Array.isArray(content)) { + return new _decode_stream.StreamsSequenceStream(content, this._onSubStreamError.bind(this)); + } + return new _stream.NullStream(); + }); + } + get xfaData() { + return (0, _util.shadow)(this, "xfaData", this.xfaFactory ? { + bbox: this.xfaFactory.getBoundingBox(this.pageIndex) + } : null); + } + #replaceIdByRef(annotations, deletedAnnotations, existingAnnotations) { + for (const annotation of annotations) { + if (annotation.id) { + const ref = _primitives.Ref.fromString(annotation.id); + if (!ref) { + (0, _util.warn)(`A non-linked annotation cannot be modified: ${annotation.id}`); + continue; + } + if (annotation.deleted) { + deletedAnnotations.put(ref); + continue; + } + existingAnnotations?.put(ref); + annotation.ref = ref; + delete annotation.id; + } + } + } + async saveNewAnnotations(handler, task, annotations, imagePromises) { + if (this.xfaFactory) { + throw new Error("XFA: Cannot save new annotations."); + } + const partialEvaluator = new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: this.pageIndex, + idFactory: this._localIdFactory, + fontCache: this.fontCache, + builtInCMapCache: this.builtInCMapCache, + standardFontDataCache: this.standardFontDataCache, + globalImageCache: this.globalImageCache, + systemFontCache: this.systemFontCache, + options: this.evaluatorOptions + }); + const deletedAnnotations = new _primitives.RefSet(); + const existingAnnotations = new _primitives.RefSet(); + this.#replaceIdByRef(annotations, deletedAnnotations, existingAnnotations); + const pageDict = this.pageDict; + const annotationsArray = this.annotations.filter(a => !(a instanceof _primitives.Ref && deletedAnnotations.has(a))); + const newData = await _annotation.AnnotationFactory.saveNewAnnotations(partialEvaluator, task, annotations, imagePromises); + for (const { + ref + } of newData.annotations) { + if (ref instanceof _primitives.Ref && !existingAnnotations.has(ref)) { + annotationsArray.push(ref); + } + } + const savedDict = pageDict.get("Annots"); + pageDict.set("Annots", annotationsArray); + const buffer = []; + let transform = null; + if (this.xref.encrypt) { + transform = this.xref.encrypt.createCipherTransform(this.ref.num, this.ref.gen); + } + await (0, _writer.writeObject)(this.ref, pageDict, buffer, transform); + if (savedDict) { + pageDict.set("Annots", savedDict); + } + const objects = newData.dependencies; + objects.push({ + ref: this.ref, + data: buffer.join("") + }, ...newData.annotations); + return objects; + } + save(handler, task, annotationStorage) { + const partialEvaluator = new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: this.pageIndex, + idFactory: this._localIdFactory, + fontCache: this.fontCache, + builtInCMapCache: this.builtInCMapCache, + standardFontDataCache: this.standardFontDataCache, + globalImageCache: this.globalImageCache, + systemFontCache: this.systemFontCache, + options: this.evaluatorOptions + }); + return this._parsedAnnotations.then(function (annotations) { + const newRefsPromises = []; + for (const annotation of annotations) { + if (!annotation.mustBePrinted(annotationStorage)) { + continue; + } + newRefsPromises.push(annotation.save(partialEvaluator, task, annotationStorage).catch(function (reason) { + (0, _util.warn)("save - ignoring annotation data during " + `"${task.name}" task: "${reason}".`); + return null; + })); + } + return Promise.all(newRefsPromises).then(function (newRefs) { + return newRefs.filter(newRef => !!newRef); + }); + }); + } + loadResources(keys) { + if (!this.resourcesPromise) { + this.resourcesPromise = this.pdfManager.ensure(this, "resources"); + } + return this.resourcesPromise.then(() => { + const objectLoader = new _object_loader.ObjectLoader(this.resources, keys, this.xref); + return objectLoader.load(); + }); + } + getOperatorList({ + handler, + sink, + task, + intent, + cacheKey, + annotationStorage = null + }) { + const contentStreamPromise = this.getContentStream(); + const resourcesPromise = this.loadResources(["ColorSpace", "ExtGState", "Font", "Pattern", "Properties", "Shading", "XObject"]); + const partialEvaluator = new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: this.pageIndex, + idFactory: this._localIdFactory, + fontCache: this.fontCache, + builtInCMapCache: this.builtInCMapCache, + standardFontDataCache: this.standardFontDataCache, + globalImageCache: this.globalImageCache, + systemFontCache: this.systemFontCache, + options: this.evaluatorOptions + }); + const newAnnotationsByPage = !this.xfaFactory ? (0, _core_utils.getNewAnnotationsMap)(annotationStorage) : null; + let deletedAnnotations = null; + let newAnnotationsPromise = Promise.resolve(null); + if (newAnnotationsByPage) { + let imagePromises; + const newAnnotations = newAnnotationsByPage.get(this.pageIndex); + if (newAnnotations) { + const missingBitmaps = new Set(); + for (const { + bitmapId, + bitmap + } of newAnnotations) { + if (bitmapId && !bitmap && !missingBitmaps.has(bitmapId)) { + missingBitmaps.add(bitmapId); + } + } + const { + isOffscreenCanvasSupported + } = this.evaluatorOptions; + if (missingBitmaps.size > 0) { + const annotationWithBitmaps = []; + for (const [key, annotation] of annotationStorage) { + if (!key.startsWith(_util.AnnotationEditorPrefix)) { + continue; + } + if (annotation.bitmap && missingBitmaps.has(annotation.bitmapId)) { + annotationWithBitmaps.push(annotation); + } + } + imagePromises = _annotation.AnnotationFactory.generateImages(annotationWithBitmaps, this.xref, isOffscreenCanvasSupported); + } else { + imagePromises = _annotation.AnnotationFactory.generateImages(newAnnotations, this.xref, isOffscreenCanvasSupported); + } + deletedAnnotations = new _primitives.RefSet(); + this.#replaceIdByRef(newAnnotations, deletedAnnotations, null); + newAnnotationsPromise = _annotation.AnnotationFactory.printNewAnnotations(partialEvaluator, task, newAnnotations, imagePromises); + } + } + const dataPromises = Promise.all([contentStreamPromise, resourcesPromise]); + const pageListPromise = dataPromises.then(([contentStream]) => { + const opList = new _operator_list.OperatorList(intent, sink); + handler.send("StartRenderPage", { + transparency: partialEvaluator.hasBlendModes(this.resources, this.nonBlendModesSet), + pageIndex: this.pageIndex, + cacheKey + }); + return partialEvaluator.getOperatorList({ + stream: contentStream, + task, + resources: this.resources, + operatorList: opList + }).then(function () { + return opList; + }); + }); + return Promise.all([pageListPromise, this._parsedAnnotations, newAnnotationsPromise]).then(function ([pageOpList, annotations, newAnnotations]) { + if (newAnnotations) { + annotations = annotations.filter(a => !(a.ref && deletedAnnotations.has(a.ref))); + for (let i = 0, ii = newAnnotations.length; i < ii; i++) { + const newAnnotation = newAnnotations[i]; + if (newAnnotation.refToReplace) { + const j = annotations.findIndex(a => a.ref && (0, _primitives.isRefsEqual)(a.ref, newAnnotation.refToReplace)); + if (j >= 0) { + annotations.splice(j, 1, newAnnotation); + newAnnotations.splice(i--, 1); + ii--; + } + } + } + annotations = annotations.concat(newAnnotations); + } + if (annotations.length === 0 || intent & _util.RenderingIntentFlag.ANNOTATIONS_DISABLE) { + pageOpList.flush(true); + return { + length: pageOpList.totalLength + }; + } + const renderForms = !!(intent & _util.RenderingIntentFlag.ANNOTATIONS_FORMS), + intentAny = !!(intent & _util.RenderingIntentFlag.ANY), + intentDisplay = !!(intent & _util.RenderingIntentFlag.DISPLAY), + intentPrint = !!(intent & _util.RenderingIntentFlag.PRINT); + const opListPromises = []; + for (const annotation of annotations) { + if (intentAny || intentDisplay && annotation.mustBeViewed(annotationStorage) || intentPrint && annotation.mustBePrinted(annotationStorage)) { + opListPromises.push(annotation.getOperatorList(partialEvaluator, task, intent, renderForms, annotationStorage).catch(function (reason) { + (0, _util.warn)("getOperatorList - ignoring annotation data during " + `"${task.name}" task: "${reason}".`); + return { + opList: null, + separateForm: false, + separateCanvas: false + }; + })); + } + } + return Promise.all(opListPromises).then(function (opLists) { + let form = false, + canvas = false; + for (const { + opList, + separateForm, + separateCanvas + } of opLists) { + pageOpList.addOpList(opList); + form ||= separateForm; + canvas ||= separateCanvas; + } + pageOpList.flush(true, { + form, + canvas + }); + return { + length: pageOpList.totalLength + }; + }); + }); + } + extractTextContent({ + handler, + task, + includeMarkedContent, + disableNormalization, + sink + }) { + const contentStreamPromise = this.getContentStream(); + const resourcesPromise = this.loadResources(["ExtGState", "Font", "Properties", "XObject"]); + const dataPromises = Promise.all([contentStreamPromise, resourcesPromise]); + return dataPromises.then(([contentStream]) => { + const partialEvaluator = new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: this.pageIndex, + idFactory: this._localIdFactory, + fontCache: this.fontCache, + builtInCMapCache: this.builtInCMapCache, + standardFontDataCache: this.standardFontDataCache, + globalImageCache: this.globalImageCache, + systemFontCache: this.systemFontCache, + options: this.evaluatorOptions + }); + return partialEvaluator.getTextContent({ + stream: contentStream, + task, + resources: this.resources, + includeMarkedContent, + disableNormalization, + sink, + viewBox: this.view + }); + }); + } + async getStructTree() { + const structTreeRoot = await this.pdfManager.ensureCatalog("structTreeRoot"); + if (!structTreeRoot) { + return null; + } + const structTree = await this.pdfManager.ensure(this, "_parseStructTree", [structTreeRoot]); + return structTree.serializable; + } + _parseStructTree(structTreeRoot) { + const tree = new _struct_tree.StructTreePage(structTreeRoot, this.pageDict); + tree.parse(); + return tree; + } + async getAnnotationsData(handler, task, intent) { + const annotations = await this._parsedAnnotations; + if (annotations.length === 0) { + return []; + } + const annotationsData = [], + textContentPromises = []; + let partialEvaluator; + const intentAny = !!(intent & _util.RenderingIntentFlag.ANY), + intentDisplay = !!(intent & _util.RenderingIntentFlag.DISPLAY), + intentPrint = !!(intent & _util.RenderingIntentFlag.PRINT); + for (const annotation of annotations) { + const isVisible = intentAny || intentDisplay && annotation.viewable; + if (isVisible || intentPrint && annotation.printable) { + annotationsData.push(annotation.data); + } + if (annotation.hasTextContent && isVisible) { + partialEvaluator ||= new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: this.pageIndex, + idFactory: this._localIdFactory, + fontCache: this.fontCache, + builtInCMapCache: this.builtInCMapCache, + standardFontDataCache: this.standardFontDataCache, + globalImageCache: this.globalImageCache, + systemFontCache: this.systemFontCache, + options: this.evaluatorOptions + }); + textContentPromises.push(annotation.extractTextContent(partialEvaluator, task, [-Infinity, -Infinity, Infinity, Infinity]).catch(function (reason) { + (0, _util.warn)(`getAnnotationsData - ignoring textContent during "${task.name}" task: "${reason}".`); + })); + } + } + await Promise.all(textContentPromises); + return annotationsData; + } + get annotations() { + const annots = this._getInheritableProperty("Annots"); + return (0, _util.shadow)(this, "annotations", Array.isArray(annots) ? annots : []); + } + get _parsedAnnotations() { + const parsedAnnotations = this.pdfManager.ensure(this, "annotations").then(() => { + const annotationPromises = []; + for (const annotationRef of this.annotations) { + annotationPromises.push(_annotation.AnnotationFactory.create(this.xref, annotationRef, this.pdfManager, this._localIdFactory, false).catch(function (reason) { + (0, _util.warn)(`_parsedAnnotations: "${reason}".`); + return null; + })); + } + return Promise.all(annotationPromises).then(function (annotations) { + if (annotations.length === 0) { + return annotations; + } + const sortedAnnotations = []; + let popupAnnotations; + for (const annotation of annotations) { + if (!annotation) { + continue; + } + if (annotation instanceof _annotation.PopupAnnotation) { + (popupAnnotations ||= []).push(annotation); + continue; + } + sortedAnnotations.push(annotation); + } + if (popupAnnotations) { + sortedAnnotations.push(...popupAnnotations); + } + return sortedAnnotations; + }); + }); + return (0, _util.shadow)(this, "_parsedAnnotations", parsedAnnotations); + } + get jsActions() { + const actions = (0, _core_utils.collectActions)(this.xref, this.pageDict, _util.PageActionEventType); + return (0, _util.shadow)(this, "jsActions", actions); + } +} +exports.Page = Page; +const PDF_HEADER_SIGNATURE = new Uint8Array([0x25, 0x50, 0x44, 0x46, 0x2d]); +const STARTXREF_SIGNATURE = new Uint8Array([0x73, 0x74, 0x61, 0x72, 0x74, 0x78, 0x72, 0x65, 0x66]); +const ENDOBJ_SIGNATURE = new Uint8Array([0x65, 0x6e, 0x64, 0x6f, 0x62, 0x6a]); +const FINGERPRINT_FIRST_BYTES = 1024; +const EMPTY_FINGERPRINT = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; +function find(stream, signature, limit = 1024, backwards = false) { + const signatureLength = signature.length; + const scanBytes = stream.peekBytes(limit); + const scanLength = scanBytes.length - signatureLength; + if (scanLength <= 0) { + return false; + } + if (backwards) { + const signatureEnd = signatureLength - 1; + let pos = scanBytes.length - 1; + while (pos >= signatureEnd) { + let j = 0; + while (j < signatureLength && scanBytes[pos - j] === signature[signatureEnd - j]) { + j++; + } + if (j >= signatureLength) { + stream.pos += pos - signatureEnd; + return true; + } + pos--; + } + } else { + let pos = 0; + while (pos <= scanLength) { + let j = 0; + while (j < signatureLength && scanBytes[pos + j] === signature[j]) { + j++; + } + if (j >= signatureLength) { + stream.pos += pos; + return true; + } + pos++; + } + } + return false; +} +class PDFDocument { + constructor(pdfManager, stream) { + if (stream.length <= 0) { + throw new _util.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes."); + } + this.pdfManager = pdfManager; + this.stream = stream; + this.xref = new _xref.XRef(stream, pdfManager); + this._pagePromises = new Map(); + this._version = null; + const idCounters = { + font: 0 + }; + this._globalIdFactory = class { + static getDocId() { + return `g_${pdfManager.docId}`; + } + static createFontId() { + return `f${++idCounters.font}`; + } + static createObjId() { + (0, _util.unreachable)("Abstract method `createObjId` called."); + } + static getPageObjId() { + (0, _util.unreachable)("Abstract method `getPageObjId` called."); + } + }; + } + parse(recoveryMode) { + this.xref.parse(recoveryMode); + this.catalog = new _catalog.Catalog(this.pdfManager, this.xref); + } + get linearization() { + let linearization = null; + try { + linearization = _parser.Linearization.create(this.stream); + } catch (err) { + if (err instanceof _core_utils.MissingDataException) { + throw err; + } + (0, _util.info)(err); + } + return (0, _util.shadow)(this, "linearization", linearization); + } + get startXRef() { + const stream = this.stream; + let startXRef = 0; + if (this.linearization) { + stream.reset(); + if (find(stream, ENDOBJ_SIGNATURE)) { + startXRef = stream.pos + 6 - stream.start; + } + } else { + const step = 1024; + const startXRefLength = STARTXREF_SIGNATURE.length; + let found = false, + pos = stream.end; + while (!found && pos > 0) { + pos -= step - startXRefLength; + if (pos < 0) { + pos = 0; + } + stream.pos = pos; + found = find(stream, STARTXREF_SIGNATURE, step, true); + } + if (found) { + stream.skip(9); + let ch; + do { + ch = stream.getByte(); + } while ((0, _core_utils.isWhiteSpace)(ch)); + let str = ""; + while (ch >= 0x20 && ch <= 0x39) { + str += String.fromCharCode(ch); + ch = stream.getByte(); + } + startXRef = parseInt(str, 10); + if (isNaN(startXRef)) { + startXRef = 0; + } + } + } + return (0, _util.shadow)(this, "startXRef", startXRef); + } + checkHeader() { + const stream = this.stream; + stream.reset(); + if (!find(stream, PDF_HEADER_SIGNATURE)) { + return; + } + stream.moveStart(); + stream.skip(PDF_HEADER_SIGNATURE.length); + let version = "", + ch; + while ((ch = stream.getByte()) > 0x20 && version.length < 7) { + version += String.fromCharCode(ch); + } + if (_core_utils.PDF_VERSION_REGEXP.test(version)) { + this._version = version; + } else { + (0, _util.warn)(`Invalid PDF header version: ${version}`); + } + } + parseStartXRef() { + this.xref.setStartXRef(this.startXRef); + } + get numPages() { + let num = 0; + if (this.catalog.hasActualNumPages) { + num = this.catalog.numPages; + } else if (this.xfaFactory) { + num = this.xfaFactory.getNumPages(); + } else if (this.linearization) { + num = this.linearization.numPages; + } else { + num = this.catalog.numPages; + } + return (0, _util.shadow)(this, "numPages", num); + } + _hasOnlyDocumentSignatures(fields, recursionDepth = 0) { + const RECURSION_LIMIT = 10; + if (!Array.isArray(fields)) { + return false; + } + return fields.every(field => { + field = this.xref.fetchIfRef(field); + if (!(field instanceof _primitives.Dict)) { + return false; + } + if (field.has("Kids")) { + if (++recursionDepth > RECURSION_LIMIT) { + (0, _util.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"); + return false; + } + return this._hasOnlyDocumentSignatures(field.get("Kids"), recursionDepth); + } + const isSignature = (0, _primitives.isName)(field.get("FT"), "Sig"); + const rectangle = field.get("Rect"); + const isInvisible = Array.isArray(rectangle) && rectangle.every(value => value === 0); + return isSignature && isInvisible; + }); + } + get _xfaStreams() { + const acroForm = this.catalog.acroForm; + if (!acroForm) { + return null; + } + const xfa = acroForm.get("XFA"); + const entries = { + "xdp:xdp": "", + template: "", + datasets: "", + config: "", + connectionSet: "", + localeSet: "", + stylesheet: "", + "/xdp:xdp": "" + }; + if (xfa instanceof _base_stream.BaseStream && !xfa.isEmpty) { + entries["xdp:xdp"] = xfa; + return entries; + } + if (!Array.isArray(xfa) || xfa.length === 0) { + return null; + } + for (let i = 0, ii = xfa.length; i < ii; i += 2) { + let name; + if (i === 0) { + name = "xdp:xdp"; + } else if (i === ii - 2) { + name = "/xdp:xdp"; + } else { + name = xfa[i]; + } + if (!entries.hasOwnProperty(name)) { + continue; + } + const data = this.xref.fetchIfRef(xfa[i + 1]); + if (!(data instanceof _base_stream.BaseStream) || data.isEmpty) { + continue; + } + entries[name] = data; + } + return entries; + } + get xfaDatasets() { + const streams = this._xfaStreams; + if (!streams) { + return (0, _util.shadow)(this, "xfaDatasets", null); + } + for (const key of ["datasets", "xdp:xdp"]) { + const stream = streams[key]; + if (!stream) { + continue; + } + try { + const str = (0, _util.stringToUTF8String)(stream.getString()); + const data = { + [key]: str + }; + return (0, _util.shadow)(this, "xfaDatasets", new _dataset_reader.DatasetReader(data)); + } catch { + (0, _util.warn)("XFA - Invalid utf-8 string."); + break; + } + } + return (0, _util.shadow)(this, "xfaDatasets", null); + } + get xfaData() { + const streams = this._xfaStreams; + if (!streams) { + return null; + } + const data = Object.create(null); + for (const [key, stream] of Object.entries(streams)) { + if (!stream) { + continue; + } + try { + data[key] = (0, _util.stringToUTF8String)(stream.getString()); + } catch { + (0, _util.warn)("XFA - Invalid utf-8 string."); + return null; + } + } + return data; + } + get xfaFactory() { + let data; + if (this.pdfManager.enableXfa && this.catalog.needsRendering && this.formInfo.hasXfa && !this.formInfo.hasAcroForm) { + data = this.xfaData; + } + return (0, _util.shadow)(this, "xfaFactory", data ? new _factory.XFAFactory(data) : null); + } + get isPureXfa() { + return this.xfaFactory ? this.xfaFactory.isValid() : false; + } + get htmlForXfa() { + return this.xfaFactory ? this.xfaFactory.getPages() : null; + } + async loadXfaImages() { + const xfaImagesDict = await this.pdfManager.ensureCatalog("xfaImages"); + if (!xfaImagesDict) { + return; + } + const keys = xfaImagesDict.getKeys(); + const objectLoader = new _object_loader.ObjectLoader(xfaImagesDict, keys, this.xref); + await objectLoader.load(); + const xfaImages = new Map(); + for (const key of keys) { + const stream = xfaImagesDict.get(key); + if (stream instanceof _base_stream.BaseStream) { + xfaImages.set(key, stream.getBytes()); + } + } + this.xfaFactory.setImages(xfaImages); + } + async loadXfaFonts(handler, task) { + const acroForm = await this.pdfManager.ensureCatalog("acroForm"); + if (!acroForm) { + return; + } + const resources = await acroForm.getAsync("DR"); + if (!(resources instanceof _primitives.Dict)) { + return; + } + const objectLoader = new _object_loader.ObjectLoader(resources, ["Font"], this.xref); + await objectLoader.load(); + const fontRes = resources.get("Font"); + if (!(fontRes instanceof _primitives.Dict)) { + return; + } + const options = Object.assign(Object.create(null), this.pdfManager.evaluatorOptions); + options.useSystemFonts = false; + const partialEvaluator = new _evaluator.PartialEvaluator({ + xref: this.xref, + handler, + pageIndex: -1, + idFactory: this._globalIdFactory, + fontCache: this.catalog.fontCache, + builtInCMapCache: this.catalog.builtInCMapCache, + standardFontDataCache: this.catalog.standardFontDataCache, + options + }); + const operatorList = new _operator_list.OperatorList(); + const pdfFonts = []; + const initialState = { + get font() { + return pdfFonts.at(-1); + }, + set font(font) { + pdfFonts.push(font); + }, + clone() { + return this; + } + }; + const fonts = new Map(); + fontRes.forEach((fontName, font) => { + fonts.set(fontName, font); + }); + const promises = []; + for (const [fontName, font] of fonts) { + const descriptor = font.get("FontDescriptor"); + if (!(descriptor instanceof _primitives.Dict)) { + continue; + } + let fontFamily = descriptor.get("FontFamily"); + fontFamily = fontFamily.replaceAll(/[ ]+(\d)/g, "$1"); + const fontWeight = descriptor.get("FontWeight"); + const italicAngle = -descriptor.get("ItalicAngle"); + const cssFontInfo = { + fontFamily, + fontWeight, + italicAngle + }; + if (!(0, _core_utils.validateCSSFont)(cssFontInfo)) { + continue; + } + promises.push(partialEvaluator.handleSetFont(resources, [_primitives.Name.get(fontName), 1], null, operatorList, task, initialState, null, cssFontInfo).catch(function (reason) { + (0, _util.warn)(`loadXfaFonts: "${reason}".`); + return null; + })); + } + await Promise.all(promises); + const missingFonts = this.xfaFactory.setFonts(pdfFonts); + if (!missingFonts) { + return; + } + options.ignoreErrors = true; + promises.length = 0; + pdfFonts.length = 0; + const reallyMissingFonts = new Set(); + for (const missing of missingFonts) { + if (!(0, _xfa_fonts.getXfaFontName)(`${missing}-Regular`)) { + reallyMissingFonts.add(missing); + } + } + if (reallyMissingFonts.size) { + missingFonts.push("PdfJS-Fallback"); + } + for (const missing of missingFonts) { + if (reallyMissingFonts.has(missing)) { + continue; + } + for (const fontInfo of [{ + name: "Regular", + fontWeight: 400, + italicAngle: 0 + }, { + name: "Bold", + fontWeight: 700, + italicAngle: 0 + }, { + name: "Italic", + fontWeight: 400, + italicAngle: 12 + }, { + name: "BoldItalic", + fontWeight: 700, + italicAngle: 12 + }]) { + const name = `${missing}-${fontInfo.name}`; + const dict = (0, _xfa_fonts.getXfaFontDict)(name); + promises.push(partialEvaluator.handleSetFont(resources, [_primitives.Name.get(name), 1], null, operatorList, task, initialState, dict, { + fontFamily: missing, + fontWeight: fontInfo.fontWeight, + italicAngle: fontInfo.italicAngle + }).catch(function (reason) { + (0, _util.warn)(`loadXfaFonts: "${reason}".`); + return null; + })); + } + } + await Promise.all(promises); + this.xfaFactory.appendFonts(pdfFonts, reallyMissingFonts); + } + async serializeXfaData(annotationStorage) { + return this.xfaFactory ? this.xfaFactory.serializeData(annotationStorage) : null; + } + get version() { + return this.catalog.version || this._version; + } + get formInfo() { + const formInfo = { + hasFields: false, + hasAcroForm: false, + hasXfa: false, + hasSignatures: false + }; + const acroForm = this.catalog.acroForm; + if (!acroForm) { + return (0, _util.shadow)(this, "formInfo", formInfo); + } + try { + const fields = acroForm.get("Fields"); + const hasFields = Array.isArray(fields) && fields.length > 0; + formInfo.hasFields = hasFields; + const xfa = acroForm.get("XFA"); + formInfo.hasXfa = Array.isArray(xfa) && xfa.length > 0 || xfa instanceof _base_stream.BaseStream && !xfa.isEmpty; + const sigFlags = acroForm.get("SigFlags"); + const hasSignatures = !!(sigFlags & 0x1); + const hasOnlyDocumentSignatures = hasSignatures && this._hasOnlyDocumentSignatures(fields); + formInfo.hasAcroForm = hasFields && !hasOnlyDocumentSignatures; + formInfo.hasSignatures = hasSignatures; + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)(`Cannot fetch form information: "${ex}".`); + } + return (0, _util.shadow)(this, "formInfo", formInfo); + } + get documentInfo() { + const docInfo = { + PDFFormatVersion: this.version, + Language: this.catalog.lang, + EncryptFilterName: this.xref.encrypt ? this.xref.encrypt.filterName : null, + IsLinearized: !!this.linearization, + IsAcroFormPresent: this.formInfo.hasAcroForm, + IsXFAPresent: this.formInfo.hasXfa, + IsCollectionPresent: !!this.catalog.collection, + IsSignaturesPresent: this.formInfo.hasSignatures + }; + let infoDict; + try { + infoDict = this.xref.trailer.get("Info"); + } catch (err) { + if (err instanceof _core_utils.MissingDataException) { + throw err; + } + (0, _util.info)("The document information dictionary is invalid."); + } + if (!(infoDict instanceof _primitives.Dict)) { + return (0, _util.shadow)(this, "documentInfo", docInfo); + } + for (const key of infoDict.getKeys()) { + const value = infoDict.get(key); + switch (key) { + case "Title": + case "Author": + case "Subject": + case "Keywords": + case "Creator": + case "Producer": + case "CreationDate": + case "ModDate": + if (typeof value === "string") { + docInfo[key] = (0, _util.stringToPDFString)(value); + continue; + } + break; + case "Trapped": + if (value instanceof _primitives.Name) { + docInfo[key] = value; + continue; + } + break; + default: + let customValue; + switch (typeof value) { + case "string": + customValue = (0, _util.stringToPDFString)(value); + break; + case "number": + case "boolean": + customValue = value; + break; + default: + if (value instanceof _primitives.Name) { + customValue = value; + } + break; + } + if (customValue === undefined) { + (0, _util.warn)(`Bad value, for custom key "${key}", in Info: ${value}.`); + continue; + } + if (!docInfo.Custom) { + docInfo.Custom = Object.create(null); + } + docInfo.Custom[key] = customValue; + continue; + } + (0, _util.warn)(`Bad value, for key "${key}", in Info: ${value}.`); + } + return (0, _util.shadow)(this, "documentInfo", docInfo); + } + get fingerprints() { + function validate(data) { + return typeof data === "string" && data.length > 0 && data !== EMPTY_FINGERPRINT; + } + function hexString(hash) { + const buf = []; + for (const num of hash) { + const hex = num.toString(16); + buf.push(hex.padStart(2, "0")); + } + return buf.join(""); + } + const idArray = this.xref.trailer.get("ID"); + let hashOriginal, hashModified; + if (Array.isArray(idArray) && validate(idArray[0])) { + hashOriginal = (0, _util.stringToBytes)(idArray[0]); + if (idArray[1] !== idArray[0] && validate(idArray[1])) { + hashModified = (0, _util.stringToBytes)(idArray[1]); + } + } else { + hashOriginal = (0, _crypto.calculateMD5)(this.stream.getByteRange(0, FINGERPRINT_FIRST_BYTES), 0, FINGERPRINT_FIRST_BYTES); + } + return (0, _util.shadow)(this, "fingerprints", [hexString(hashOriginal), hashModified ? hexString(hashModified) : null]); + } + async _getLinearizationPage(pageIndex) { + const { + catalog, + linearization, + xref + } = this; + const ref = _primitives.Ref.get(linearization.objectNumberFirst, 0); + try { + const obj = await xref.fetchAsync(ref); + if (obj instanceof _primitives.Dict) { + let type = obj.getRaw("Type"); + if (type instanceof _primitives.Ref) { + type = await xref.fetchAsync(type); + } + if ((0, _primitives.isName)(type, "Page") || !obj.has("Type") && !obj.has("Kids")) { + if (!catalog.pageKidsCountCache.has(ref)) { + catalog.pageKidsCountCache.put(ref, 1); + } + if (!catalog.pageIndexCache.has(ref)) { + catalog.pageIndexCache.put(ref, 0); + } + return [obj, ref]; + } + } + throw new _util.FormatError("The Linearization dictionary doesn't point to a valid Page dictionary."); + } catch (reason) { + (0, _util.warn)(`_getLinearizationPage: "${reason.message}".`); + return catalog.getPageDict(pageIndex); + } + } + getPage(pageIndex) { + const cachedPromise = this._pagePromises.get(pageIndex); + if (cachedPromise) { + return cachedPromise; + } + const { + catalog, + linearization, + xfaFactory + } = this; + let promise; + if (xfaFactory) { + promise = Promise.resolve([_primitives.Dict.empty, null]); + } else if (linearization?.pageFirst === pageIndex) { + promise = this._getLinearizationPage(pageIndex); + } else { + promise = catalog.getPageDict(pageIndex); + } + promise = promise.then(([pageDict, ref]) => { + return new Page({ + pdfManager: this.pdfManager, + xref: this.xref, + pageIndex, + pageDict, + ref, + globalIdFactory: this._globalIdFactory, + fontCache: catalog.fontCache, + builtInCMapCache: catalog.builtInCMapCache, + standardFontDataCache: catalog.standardFontDataCache, + globalImageCache: catalog.globalImageCache, + systemFontCache: catalog.systemFontCache, + nonBlendModesSet: catalog.nonBlendModesSet, + xfaFactory + }); + }); + this._pagePromises.set(pageIndex, promise); + return promise; + } + async checkFirstPage(recoveryMode = false) { + if (recoveryMode) { + return; + } + try { + await this.getPage(0); + } catch (reason) { + if (reason instanceof _core_utils.XRefEntryException) { + this._pagePromises.delete(0); + await this.cleanup(); + throw new _core_utils.XRefParseException(); + } + } + } + async checkLastPage(recoveryMode = false) { + const { + catalog, + pdfManager + } = this; + catalog.setActualNumPages(); + let numPages; + try { + await Promise.all([pdfManager.ensureDoc("xfaFactory"), pdfManager.ensureDoc("linearization"), pdfManager.ensureCatalog("numPages")]); + if (this.xfaFactory) { + return; + } else if (this.linearization) { + numPages = this.linearization.numPages; + } else { + numPages = catalog.numPages; + } + if (!Number.isInteger(numPages)) { + throw new _util.FormatError("Page count is not an integer."); + } else if (numPages <= 1) { + return; + } + await this.getPage(numPages - 1); + } catch (reason) { + this._pagePromises.delete(numPages - 1); + await this.cleanup(); + if (reason instanceof _core_utils.XRefEntryException && !recoveryMode) { + throw new _core_utils.XRefParseException(); + } + (0, _util.warn)(`checkLastPage - invalid /Pages tree /Count: ${numPages}.`); + let pagesTree; + try { + pagesTree = await catalog.getAllPageDicts(recoveryMode); + } catch (reasonAll) { + if (reasonAll instanceof _core_utils.XRefEntryException && !recoveryMode) { + throw new _core_utils.XRefParseException(); + } + catalog.setActualNumPages(1); + return; + } + for (const [pageIndex, [pageDict, ref]] of pagesTree) { + let promise; + if (pageDict instanceof Error) { + promise = Promise.reject(pageDict); + promise.catch(() => {}); + } else { + promise = Promise.resolve(new Page({ + pdfManager, + xref: this.xref, + pageIndex, + pageDict, + ref, + globalIdFactory: this._globalIdFactory, + fontCache: catalog.fontCache, + builtInCMapCache: catalog.builtInCMapCache, + standardFontDataCache: catalog.standardFontDataCache, + globalImageCache: catalog.globalImageCache, + systemFontCache: catalog.systemFontCache, + nonBlendModesSet: catalog.nonBlendModesSet, + xfaFactory: null + })); + } + this._pagePromises.set(pageIndex, promise); + } + catalog.setActualNumPages(pagesTree.size); + } + } + fontFallback(id, handler) { + return this.catalog.fontFallback(id, handler); + } + async cleanup(manuallyTriggered = false) { + return this.catalog ? this.catalog.cleanup(manuallyTriggered) : (0, _cleanup_helper.clearGlobalCaches)(); + } + _collectFieldObjects(name, fieldRef, promises) { + const field = this.xref.fetchIfRef(fieldRef); + if (field.has("T")) { + const partName = (0, _util.stringToPDFString)(field.get("T")); + if (name === "") { + name = partName; + } else { + name = `${name}.${partName}`; + } + } + if (!field.has("Kids") && /\[\d+\]$/.test(name)) { + name = name.substring(0, name.lastIndexOf("[")); + } + if (!promises.has(name)) { + promises.set(name, []); + } + promises.get(name).push(_annotation.AnnotationFactory.create(this.xref, fieldRef, this.pdfManager, this._localIdFactory, true).then(annotation => annotation?.getFieldObject()).catch(function (reason) { + (0, _util.warn)(`_collectFieldObjects: "${reason}".`); + return null; + })); + if (field.has("Kids")) { + const kids = field.get("Kids"); + for (const kid of kids) { + this._collectFieldObjects(name, kid, promises); + } + } + } + get fieldObjects() { + if (!this.formInfo.hasFields) { + return (0, _util.shadow)(this, "fieldObjects", Promise.resolve(null)); + } + const allFields = Object.create(null); + const fieldPromises = new Map(); + for (const fieldRef of this.catalog.acroForm.get("Fields")) { + this._collectFieldObjects("", fieldRef, fieldPromises); + } + const allPromises = []; + for (const [name, promises] of fieldPromises) { + allPromises.push(Promise.all(promises).then(fields => { + fields = fields.filter(field => !!field); + if (fields.length > 0) { + allFields[name] = fields; + } + })); + } + return (0, _util.shadow)(this, "fieldObjects", Promise.all(allPromises).then(() => allFields)); + } + get hasJSActions() { + const promise = this.pdfManager.ensureDoc("_parseHasJSActions"); + return (0, _util.shadow)(this, "hasJSActions", promise); + } + async _parseHasJSActions() { + const [catalogJsActions, fieldObjects] = await Promise.all([this.pdfManager.ensureCatalog("jsActions"), this.pdfManager.ensureDoc("fieldObjects")]); + if (catalogJsActions) { + return true; + } + if (fieldObjects) { + return Object.values(fieldObjects).some(fieldObject => fieldObject.some(object => object.actions !== null)); + } + return false; + } + get calculationOrderIds() { + const acroForm = this.catalog.acroForm; + if (!acroForm?.has("CO")) { + return (0, _util.shadow)(this, "calculationOrderIds", null); + } + const calculationOrder = acroForm.get("CO"); + if (!Array.isArray(calculationOrder) || calculationOrder.length === 0) { + return (0, _util.shadow)(this, "calculationOrderIds", null); + } + const ids = []; + for (const id of calculationOrder) { + if (id instanceof _primitives.Ref) { + ids.push(id.toString()); + } + } + if (ids.length === 0) { + return (0, _util.shadow)(this, "calculationOrderIds", null); + } + return (0, _util.shadow)(this, "calculationOrderIds", ids); + } +} +exports.PDFDocument = PDFDocument; + +/***/ }), +/* 10 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PopupAnnotation = exports.MarkupAnnotation = exports.AnnotationFactory = exports.AnnotationBorderStyle = exports.Annotation = void 0; +exports.getQuadPoints = getQuadPoints; +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _default_appearance = __w_pdfjs_require__(11); +var _primitives = __w_pdfjs_require__(4); +var _stream = __w_pdfjs_require__(8); +var _writer = __w_pdfjs_require__(66); +var _base_stream = __w_pdfjs_require__(5); +var _bidi = __w_pdfjs_require__(60); +var _catalog = __w_pdfjs_require__(70); +var _colorspace = __w_pdfjs_require__(12); +var _file_spec = __w_pdfjs_require__(73); +var _jpeg_stream = __w_pdfjs_require__(26); +var _object_loader = __w_pdfjs_require__(76); +var _operator_list = __w_pdfjs_require__(64); +var _factory = __w_pdfjs_require__(77); +class AnnotationFactory { + static create(xref, ref, pdfManager, idFactory, collectFields) { + return Promise.all([pdfManager.ensureCatalog("acroForm"), pdfManager.ensureCatalog("baseUrl"), pdfManager.ensureCatalog("attachments"), pdfManager.ensureDoc("xfaDatasets"), collectFields ? this._getPageIndex(xref, ref, pdfManager) : -1]).then(([acroForm, baseUrl, attachments, xfaDatasets, pageIndex]) => pdfManager.ensure(this, "_create", [xref, ref, pdfManager, idFactory, acroForm, attachments, xfaDatasets, collectFields, pageIndex])); + } + static _create(xref, ref, pdfManager, idFactory, acroForm, attachments = null, xfaDatasets, collectFields, pageIndex = -1) { + const dict = xref.fetchIfRef(ref); + if (!(dict instanceof _primitives.Dict)) { + return undefined; + } + const id = ref instanceof _primitives.Ref ? ref.toString() : `annot_${idFactory.createObjId()}`; + let subtype = dict.get("Subtype"); + subtype = subtype instanceof _primitives.Name ? subtype.name : null; + const acroFormDict = acroForm instanceof _primitives.Dict ? acroForm : _primitives.Dict.empty; + const parameters = { + xref, + ref, + dict, + subtype, + id, + pdfManager, + acroForm: acroFormDict, + attachments, + xfaDatasets, + collectFields, + needAppearances: !collectFields && acroFormDict.get("NeedAppearances") === true, + pageIndex, + isOffscreenCanvasSupported: pdfManager.evaluatorOptions.isOffscreenCanvasSupported + }; + switch (subtype) { + case "Link": + return new LinkAnnotation(parameters); + case "Text": + return new TextAnnotation(parameters); + case "Widget": + let fieldType = (0, _core_utils.getInheritableProperty)({ + dict, + key: "FT" + }); + fieldType = fieldType instanceof _primitives.Name ? fieldType.name : null; + switch (fieldType) { + case "Tx": + return new TextWidgetAnnotation(parameters); + case "Btn": + return new ButtonWidgetAnnotation(parameters); + case "Ch": + return new ChoiceWidgetAnnotation(parameters); + case "Sig": + return new SignatureWidgetAnnotation(parameters); + } + (0, _util.warn)(`Unimplemented widget field type "${fieldType}", ` + "falling back to base field type."); + return new WidgetAnnotation(parameters); + case "Popup": + return new PopupAnnotation(parameters); + case "FreeText": + return new FreeTextAnnotation(parameters); + case "Line": + return new LineAnnotation(parameters); + case "Square": + return new SquareAnnotation(parameters); + case "Circle": + return new CircleAnnotation(parameters); + case "PolyLine": + return new PolylineAnnotation(parameters); + case "Polygon": + return new PolygonAnnotation(parameters); + case "Caret": + return new CaretAnnotation(parameters); + case "Ink": + return new InkAnnotation(parameters); + case "Highlight": + return new HighlightAnnotation(parameters); + case "Underline": + return new UnderlineAnnotation(parameters); + case "Squiggly": + return new SquigglyAnnotation(parameters); + case "StrikeOut": + return new StrikeOutAnnotation(parameters); + case "Stamp": + return new StampAnnotation(parameters); + case "FileAttachment": + return new FileAttachmentAnnotation(parameters); + default: + if (!collectFields) { + if (!subtype) { + (0, _util.warn)("Annotation is missing the required /Subtype."); + } else { + (0, _util.warn)(`Unimplemented annotation type "${subtype}", ` + "falling back to base annotation."); + } + } + return new Annotation(parameters); + } + } + static async _getPageIndex(xref, ref, pdfManager) { + try { + const annotDict = await xref.fetchIfRefAsync(ref); + if (!(annotDict instanceof _primitives.Dict)) { + return -1; + } + const pageRef = annotDict.getRaw("P"); + if (!(pageRef instanceof _primitives.Ref)) { + return -1; + } + const pageIndex = await pdfManager.ensureCatalog("getPageIndex", [pageRef]); + return pageIndex; + } catch (ex) { + (0, _util.warn)(`_getPageIndex: "${ex}".`); + return -1; + } + } + static generateImages(annotations, xref, isOffscreenCanvasSupported) { + if (!isOffscreenCanvasSupported) { + (0, _util.warn)("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."); + return null; + } + let imagePromises; + for (const { + bitmapId, + bitmap + } of annotations) { + if (!bitmap) { + continue; + } + imagePromises ||= new Map(); + imagePromises.set(bitmapId, StampAnnotation.createImage(bitmap, xref)); + } + return imagePromises; + } + static async saveNewAnnotations(evaluator, task, annotations, imagePromises) { + const xref = evaluator.xref; + let baseFontRef; + const dependencies = []; + const promises = []; + const { + isOffscreenCanvasSupported + } = evaluator.options; + for (const annotation of annotations) { + if (annotation.deleted) { + continue; + } + switch (annotation.annotationType) { + case _util.AnnotationEditorType.FREETEXT: + if (!baseFontRef) { + const baseFont = new _primitives.Dict(xref); + baseFont.set("BaseFont", _primitives.Name.get("Helvetica")); + baseFont.set("Type", _primitives.Name.get("Font")); + baseFont.set("Subtype", _primitives.Name.get("Type1")); + baseFont.set("Encoding", _primitives.Name.get("WinAnsiEncoding")); + const buffer = []; + baseFontRef = xref.getNewTemporaryRef(); + await (0, _writer.writeObject)(baseFontRef, baseFont, buffer, null); + dependencies.push({ + ref: baseFontRef, + data: buffer.join("") + }); + } + promises.push(FreeTextAnnotation.createNewAnnotation(xref, annotation, dependencies, { + evaluator, + task, + baseFontRef + })); + break; + case _util.AnnotationEditorType.INK: + promises.push(InkAnnotation.createNewAnnotation(xref, annotation, dependencies)); + break; + case _util.AnnotationEditorType.STAMP: + if (!isOffscreenCanvasSupported) { + break; + } + const image = await imagePromises.get(annotation.bitmapId); + if (image.imageStream) { + const { + imageStream, + smaskStream + } = image; + const buffer = []; + if (smaskStream) { + const smaskRef = xref.getNewTemporaryRef(); + await (0, _writer.writeObject)(smaskRef, smaskStream, buffer, null); + dependencies.push({ + ref: smaskRef, + data: buffer.join("") + }); + imageStream.dict.set("SMask", smaskRef); + buffer.length = 0; + } + const imageRef = image.imageRef = xref.getNewTemporaryRef(); + await (0, _writer.writeObject)(imageRef, imageStream, buffer, null); + dependencies.push({ + ref: imageRef, + data: buffer.join("") + }); + image.imageStream = image.smaskStream = null; + } + promises.push(StampAnnotation.createNewAnnotation(xref, annotation, dependencies, image)); + break; + } + } + return { + annotations: await Promise.all(promises), + dependencies + }; + } + static async printNewAnnotations(evaluator, task, annotations, imagePromises) { + if (!annotations) { + return null; + } + const xref = evaluator.xref; + const { + isOffscreenCanvasSupported + } = evaluator.options; + const promises = []; + for (const annotation of annotations) { + if (annotation.deleted) { + continue; + } + switch (annotation.annotationType) { + case _util.AnnotationEditorType.FREETEXT: + promises.push(FreeTextAnnotation.createNewPrintAnnotation(xref, annotation, { + evaluator, + task, + isOffscreenCanvasSupported + })); + break; + case _util.AnnotationEditorType.INK: + promises.push(InkAnnotation.createNewPrintAnnotation(xref, annotation, { + isOffscreenCanvasSupported + })); + break; + case _util.AnnotationEditorType.STAMP: + if (!isOffscreenCanvasSupported) { + break; + } + const image = await imagePromises.get(annotation.bitmapId); + if (image.imageStream) { + const { + imageStream, + smaskStream + } = image; + if (smaskStream) { + imageStream.dict.set("SMask", smaskStream); + } + image.imageRef = new _jpeg_stream.JpegStream(imageStream, imageStream.length); + image.imageStream = image.smaskStream = null; + } + promises.push(StampAnnotation.createNewPrintAnnotation(xref, annotation, image)); + break; + } + } + return Promise.all(promises); + } +} +exports.AnnotationFactory = AnnotationFactory; +function getRgbColor(color, defaultColor = new Uint8ClampedArray(3)) { + if (!Array.isArray(color)) { + return defaultColor; + } + const rgbColor = defaultColor || new Uint8ClampedArray(3); + switch (color.length) { + case 0: + return null; + case 1: + _colorspace.ColorSpace.singletons.gray.getRgbItem(color, 0, rgbColor, 0); + return rgbColor; + case 3: + _colorspace.ColorSpace.singletons.rgb.getRgbItem(color, 0, rgbColor, 0); + return rgbColor; + case 4: + _colorspace.ColorSpace.singletons.cmyk.getRgbItem(color, 0, rgbColor, 0); + return rgbColor; + default: + return defaultColor; + } +} +function getPdfColorArray(color) { + return Array.from(color, c => c / 255); +} +function getQuadPoints(dict, rect) { + const quadPoints = dict.getArray("QuadPoints"); + if (!Array.isArray(quadPoints) || quadPoints.length === 0 || quadPoints.length % 8 > 0) { + return null; + } + const quadPointsLists = []; + for (let i = 0, ii = quadPoints.length / 8; i < ii; i++) { + let minX = Infinity, + maxX = -Infinity, + minY = Infinity, + maxY = -Infinity; + for (let j = i * 8, jj = i * 8 + 8; j < jj; j += 2) { + const x = quadPoints[j]; + const y = quadPoints[j + 1]; + minX = Math.min(x, minX); + maxX = Math.max(x, maxX); + minY = Math.min(y, minY); + maxY = Math.max(y, maxY); + } + if (rect !== null && (minX < rect[0] || maxX > rect[2] || minY < rect[1] || maxY > rect[3])) { + return null; + } + quadPointsLists.push([{ + x: minX, + y: maxY + }, { + x: maxX, + y: maxY + }, { + x: minX, + y: minY + }, { + x: maxX, + y: minY + }]); + } + return quadPointsLists; +} +function getTransformMatrix(rect, bbox, matrix) { + const [minX, minY, maxX, maxY] = _util.Util.getAxialAlignedBoundingBox(bbox, matrix); + if (minX === maxX || minY === maxY) { + return [1, 0, 0, 1, rect[0], rect[1]]; + } + const xRatio = (rect[2] - rect[0]) / (maxX - minX); + const yRatio = (rect[3] - rect[1]) / (maxY - minY); + return [xRatio, 0, 0, yRatio, rect[0] - minX * xRatio, rect[1] - minY * yRatio]; +} +class Annotation { + constructor(params) { + const { + dict, + xref + } = params; + this.setTitle(dict.get("T")); + this.setContents(dict.get("Contents")); + this.setModificationDate(dict.get("M")); + this.setFlags(dict.get("F")); + this.setRectangle(dict.getArray("Rect")); + this.setColor(dict.getArray("C")); + this.setBorderStyle(dict); + this.setAppearance(dict); + this.setOptionalContent(dict); + const MK = dict.get("MK"); + this.setBorderAndBackgroundColors(MK); + this.setRotation(MK); + this.ref = params.ref instanceof _primitives.Ref ? params.ref : null; + this._streams = []; + if (this.appearance) { + this._streams.push(this.appearance); + } + const isLocked = !!(this.flags & _util.AnnotationFlag.LOCKED); + const isContentLocked = !!(this.flags & _util.AnnotationFlag.LOCKEDCONTENTS); + this.data = { + annotationFlags: this.flags, + borderStyle: this.borderStyle, + color: this.color, + backgroundColor: this.backgroundColor, + borderColor: this.borderColor, + rotation: this.rotation, + contentsObj: this._contents, + hasAppearance: !!this.appearance, + id: params.id, + modificationDate: this.modificationDate, + rect: this.rectangle, + subtype: params.subtype, + hasOwnCanvas: false, + noRotate: !!(this.flags & _util.AnnotationFlag.NOROTATE), + noHTML: isLocked && isContentLocked + }; + if (params.collectFields) { + const kids = dict.get("Kids"); + if (Array.isArray(kids)) { + const kidIds = []; + for (const kid of kids) { + if (kid instanceof _primitives.Ref) { + kidIds.push(kid.toString()); + } + } + if (kidIds.length !== 0) { + this.data.kidIds = kidIds; + } + } + this.data.actions = (0, _core_utils.collectActions)(xref, dict, _util.AnnotationActionEventType); + this.data.fieldName = this._constructFieldName(dict); + this.data.pageIndex = params.pageIndex; + } + this._isOffscreenCanvasSupported = params.isOffscreenCanvasSupported; + this._fallbackFontDict = null; + this._needAppearances = false; + } + _hasFlag(flags, flag) { + return !!(flags & flag); + } + _isViewable(flags) { + return !this._hasFlag(flags, _util.AnnotationFlag.INVISIBLE) && !this._hasFlag(flags, _util.AnnotationFlag.NOVIEW); + } + _isPrintable(flags) { + return this._hasFlag(flags, _util.AnnotationFlag.PRINT) && !this._hasFlag(flags, _util.AnnotationFlag.INVISIBLE); + } + mustBeViewed(annotationStorage) { + const hidden = annotationStorage?.get(this.data.id)?.hidden; + if (hidden !== undefined) { + return !hidden; + } + return this.viewable && !this._hasFlag(this.flags, _util.AnnotationFlag.HIDDEN); + } + mustBePrinted(annotationStorage) { + const print = annotationStorage?.get(this.data.id)?.print; + if (print !== undefined) { + return print; + } + return this.printable; + } + get viewable() { + if (this.data.quadPoints === null) { + return false; + } + if (this.flags === 0) { + return true; + } + return this._isViewable(this.flags); + } + get printable() { + if (this.data.quadPoints === null) { + return false; + } + if (this.flags === 0) { + return false; + } + return this._isPrintable(this.flags); + } + _parseStringHelper(data) { + const str = typeof data === "string" ? (0, _util.stringToPDFString)(data) : ""; + const dir = str && (0, _bidi.bidi)(str).dir === "rtl" ? "rtl" : "ltr"; + return { + str, + dir + }; + } + setDefaultAppearance(params) { + const defaultAppearance = (0, _core_utils.getInheritableProperty)({ + dict: params.dict, + key: "DA" + }) || params.acroForm.get("DA"); + this._defaultAppearance = typeof defaultAppearance === "string" ? defaultAppearance : ""; + this.data.defaultAppearanceData = (0, _default_appearance.parseDefaultAppearance)(this._defaultAppearance); + } + setTitle(title) { + this._title = this._parseStringHelper(title); + } + setContents(contents) { + this._contents = this._parseStringHelper(contents); + } + setModificationDate(modificationDate) { + this.modificationDate = typeof modificationDate === "string" ? modificationDate : null; + } + setFlags(flags) { + this.flags = Number.isInteger(flags) && flags > 0 ? flags : 0; + } + hasFlag(flag) { + return this._hasFlag(this.flags, flag); + } + setRectangle(rectangle) { + if (Array.isArray(rectangle) && rectangle.length === 4) { + this.rectangle = _util.Util.normalizeRect(rectangle); + } else { + this.rectangle = [0, 0, 0, 0]; + } + } + setColor(color) { + this.color = getRgbColor(color); + } + setLineEndings(lineEndings) { + this.lineEndings = ["None", "None"]; + if (Array.isArray(lineEndings) && lineEndings.length === 2) { + for (let i = 0; i < 2; i++) { + const obj = lineEndings[i]; + if (obj instanceof _primitives.Name) { + switch (obj.name) { + case "None": + continue; + case "Square": + case "Circle": + case "Diamond": + case "OpenArrow": + case "ClosedArrow": + case "Butt": + case "ROpenArrow": + case "RClosedArrow": + case "Slash": + this.lineEndings[i] = obj.name; + continue; + } + } + (0, _util.warn)(`Ignoring invalid lineEnding: ${obj}`); + } + } + } + setRotation(mk) { + this.rotation = 0; + if (mk instanceof _primitives.Dict) { + let angle = mk.get("R") || 0; + if (Number.isInteger(angle) && angle !== 0) { + angle %= 360; + if (angle < 0) { + angle += 360; + } + if (angle % 90 === 0) { + this.rotation = angle; + } + } + } + } + setBorderAndBackgroundColors(mk) { + if (mk instanceof _primitives.Dict) { + this.borderColor = getRgbColor(mk.getArray("BC"), null); + this.backgroundColor = getRgbColor(mk.getArray("BG"), null); + } else { + this.borderColor = this.backgroundColor = null; + } + } + setBorderStyle(borderStyle) { + this.borderStyle = new AnnotationBorderStyle(); + if (!(borderStyle instanceof _primitives.Dict)) { + return; + } + if (borderStyle.has("BS")) { + const dict = borderStyle.get("BS"); + const dictType = dict.get("Type"); + if (!dictType || (0, _primitives.isName)(dictType, "Border")) { + this.borderStyle.setWidth(dict.get("W"), this.rectangle); + this.borderStyle.setStyle(dict.get("S")); + this.borderStyle.setDashArray(dict.getArray("D")); + } + } else if (borderStyle.has("Border")) { + const array = borderStyle.getArray("Border"); + if (Array.isArray(array) && array.length >= 3) { + this.borderStyle.setHorizontalCornerRadius(array[0]); + this.borderStyle.setVerticalCornerRadius(array[1]); + this.borderStyle.setWidth(array[2], this.rectangle); + if (array.length === 4) { + this.borderStyle.setDashArray(array[3], true); + } + } + } else { + this.borderStyle.setWidth(0); + } + } + setAppearance(dict) { + this.appearance = null; + const appearanceStates = dict.get("AP"); + if (!(appearanceStates instanceof _primitives.Dict)) { + return; + } + const normalAppearanceState = appearanceStates.get("N"); + if (normalAppearanceState instanceof _base_stream.BaseStream) { + this.appearance = normalAppearanceState; + return; + } + if (!(normalAppearanceState instanceof _primitives.Dict)) { + return; + } + const as = dict.get("AS"); + if (!(as instanceof _primitives.Name) || !normalAppearanceState.has(as.name)) { + return; + } + const appearance = normalAppearanceState.get(as.name); + if (appearance instanceof _base_stream.BaseStream) { + this.appearance = appearance; + } + } + setOptionalContent(dict) { + this.oc = null; + const oc = dict.get("OC"); + if (oc instanceof _primitives.Name) { + (0, _util.warn)("setOptionalContent: Support for /Name-entry is not implemented."); + } else if (oc instanceof _primitives.Dict) { + this.oc = oc; + } + } + loadResources(keys, appearance) { + return appearance.dict.getAsync("Resources").then(resources => { + if (!resources) { + return undefined; + } + const objectLoader = new _object_loader.ObjectLoader(resources, keys, resources.xref); + return objectLoader.load().then(function () { + return resources; + }); + }); + } + async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { + const data = this.data; + let appearance = this.appearance; + const isUsingOwnCanvas = !!(this.data.hasOwnCanvas && intent & _util.RenderingIntentFlag.DISPLAY); + if (!appearance) { + if (!isUsingOwnCanvas) { + return { + opList: new _operator_list.OperatorList(), + separateForm: false, + separateCanvas: false + }; + } + appearance = new _stream.StringStream(""); + appearance.dict = new _primitives.Dict(); + } + const appearanceDict = appearance.dict; + const resources = await this.loadResources(["ExtGState", "ColorSpace", "Pattern", "Shading", "XObject", "Font"], appearance); + const bbox = appearanceDict.getArray("BBox") || [0, 0, 1, 1]; + const matrix = appearanceDict.getArray("Matrix") || [1, 0, 0, 1, 0, 0]; + const transform = getTransformMatrix(data.rect, bbox, matrix); + const opList = new _operator_list.OperatorList(); + let optionalContent; + if (this.oc) { + optionalContent = await evaluator.parseMarkedContentProps(this.oc, null); + } + if (optionalContent !== undefined) { + opList.addOp(_util.OPS.beginMarkedContentProps, ["OC", optionalContent]); + } + opList.addOp(_util.OPS.beginAnnotation, [data.id, data.rect, transform, matrix, isUsingOwnCanvas]); + await evaluator.getOperatorList({ + stream: appearance, + task, + resources, + operatorList: opList, + fallbackFontDict: this._fallbackFontDict + }); + opList.addOp(_util.OPS.endAnnotation, []); + if (optionalContent !== undefined) { + opList.addOp(_util.OPS.endMarkedContent, []); + } + this.reset(); + return { + opList, + separateForm: false, + separateCanvas: isUsingOwnCanvas + }; + } + async save(evaluator, task, annotationStorage) { + return null; + } + get hasTextContent() { + return false; + } + async extractTextContent(evaluator, task, viewBox) { + if (!this.appearance) { + return; + } + const resources = await this.loadResources(["ExtGState", "Font", "Properties", "XObject"], this.appearance); + const text = []; + const buffer = []; + const sink = { + desiredSize: Math.Infinity, + ready: true, + enqueue(chunk, size) { + for (const item of chunk.items) { + if (item.str === undefined) { + continue; + } + buffer.push(item.str); + if (item.hasEOL) { + text.push(buffer.join("")); + buffer.length = 0; + } + } + } + }; + await evaluator.getTextContent({ + stream: this.appearance, + task, + resources, + includeMarkedContent: true, + sink, + viewBox + }); + this.reset(); + if (buffer.length) { + text.push(buffer.join("")); + } + if (text.length > 1 || text[0]) { + this.data.textContent = text; + } + } + getFieldObject() { + if (this.data.kidIds) { + return { + id: this.data.id, + actions: this.data.actions, + name: this.data.fieldName, + strokeColor: this.data.borderColor, + fillColor: this.data.backgroundColor, + type: "", + kidIds: this.data.kidIds, + page: this.data.pageIndex, + rotation: this.rotation + }; + } + return null; + } + reset() { + for (const stream of this._streams) { + stream.reset(); + } + } + _constructFieldName(dict) { + if (!dict.has("T") && !dict.has("Parent")) { + (0, _util.warn)("Unknown field name, falling back to empty field name."); + return ""; + } + if (!dict.has("Parent")) { + return (0, _util.stringToPDFString)(dict.get("T")); + } + const fieldName = []; + if (dict.has("T")) { + fieldName.unshift((0, _util.stringToPDFString)(dict.get("T"))); + } + let loopDict = dict; + const visited = new _primitives.RefSet(); + if (dict.objId) { + visited.put(dict.objId); + } + while (loopDict.has("Parent")) { + loopDict = loopDict.get("Parent"); + if (!(loopDict instanceof _primitives.Dict) || loopDict.objId && visited.has(loopDict.objId)) { + break; + } + if (loopDict.objId) { + visited.put(loopDict.objId); + } + if (loopDict.has("T")) { + const t = (0, _util.stringToPDFString)(loopDict.get("T")); + if (!t.startsWith("#")) { + fieldName.unshift(t); + } + } + } + return fieldName.join("."); + } +} +exports.Annotation = Annotation; +class AnnotationBorderStyle { + constructor() { + this.width = 1; + this.style = _util.AnnotationBorderStyleType.SOLID; + this.dashArray = [3]; + this.horizontalCornerRadius = 0; + this.verticalCornerRadius = 0; + } + setWidth(width, rect = [0, 0, 0, 0]) { + if (width instanceof _primitives.Name) { + this.width = 0; + return; + } + if (typeof width === "number") { + if (width > 0) { + const maxWidth = (rect[2] - rect[0]) / 2; + const maxHeight = (rect[3] - rect[1]) / 2; + if (maxWidth > 0 && maxHeight > 0 && (width > maxWidth || width > maxHeight)) { + (0, _util.warn)(`AnnotationBorderStyle.setWidth - ignoring width: ${width}`); + width = 1; + } + } + this.width = width; + } + } + setStyle(style) { + if (!(style instanceof _primitives.Name)) { + return; + } + switch (style.name) { + case "S": + this.style = _util.AnnotationBorderStyleType.SOLID; + break; + case "D": + this.style = _util.AnnotationBorderStyleType.DASHED; + break; + case "B": + this.style = _util.AnnotationBorderStyleType.BEVELED; + break; + case "I": + this.style = _util.AnnotationBorderStyleType.INSET; + break; + case "U": + this.style = _util.AnnotationBorderStyleType.UNDERLINE; + break; + default: + break; + } + } + setDashArray(dashArray, forceStyle = false) { + if (Array.isArray(dashArray) && dashArray.length > 0) { + let isValid = true; + let allZeros = true; + for (const element of dashArray) { + const validNumber = +element >= 0; + if (!validNumber) { + isValid = false; + break; + } else if (element > 0) { + allZeros = false; + } + } + if (isValid && !allZeros) { + this.dashArray = dashArray; + if (forceStyle) { + this.setStyle(_primitives.Name.get("D")); + } + } else { + this.width = 0; + } + } else if (dashArray) { + this.width = 0; + } + } + setHorizontalCornerRadius(radius) { + if (Number.isInteger(radius)) { + this.horizontalCornerRadius = radius; + } + } + setVerticalCornerRadius(radius) { + if (Number.isInteger(radius)) { + this.verticalCornerRadius = radius; + } + } +} +exports.AnnotationBorderStyle = AnnotationBorderStyle; +class MarkupAnnotation extends Annotation { + constructor(params) { + super(params); + const { + dict + } = params; + if (dict.has("IRT")) { + const rawIRT = dict.getRaw("IRT"); + this.data.inReplyTo = rawIRT instanceof _primitives.Ref ? rawIRT.toString() : null; + const rt = dict.get("RT"); + this.data.replyType = rt instanceof _primitives.Name ? rt.name : _util.AnnotationReplyType.REPLY; + } + let popupRef = null; + if (this.data.replyType === _util.AnnotationReplyType.GROUP) { + const parent = dict.get("IRT"); + this.setTitle(parent.get("T")); + this.data.titleObj = this._title; + this.setContents(parent.get("Contents")); + this.data.contentsObj = this._contents; + if (!parent.has("CreationDate")) { + this.data.creationDate = null; + } else { + this.setCreationDate(parent.get("CreationDate")); + this.data.creationDate = this.creationDate; + } + if (!parent.has("M")) { + this.data.modificationDate = null; + } else { + this.setModificationDate(parent.get("M")); + this.data.modificationDate = this.modificationDate; + } + popupRef = parent.getRaw("Popup"); + if (!parent.has("C")) { + this.data.color = null; + } else { + this.setColor(parent.getArray("C")); + this.data.color = this.color; + } + } else { + this.data.titleObj = this._title; + this.setCreationDate(dict.get("CreationDate")); + this.data.creationDate = this.creationDate; + popupRef = dict.getRaw("Popup"); + if (!dict.has("C")) { + this.data.color = null; + } + } + this.data.popupRef = popupRef instanceof _primitives.Ref ? popupRef.toString() : null; + if (dict.has("RC")) { + this.data.richText = _factory.XFAFactory.getRichTextAsHtml(dict.get("RC")); + } + } + setCreationDate(creationDate) { + this.creationDate = typeof creationDate === "string" ? creationDate : null; + } + _setDefaultAppearance({ + xref, + extra, + strokeColor, + fillColor, + blendMode, + strokeAlpha, + fillAlpha, + pointsCallback + }) { + let minX = Number.MAX_VALUE; + let minY = Number.MAX_VALUE; + let maxX = Number.MIN_VALUE; + let maxY = Number.MIN_VALUE; + const buffer = ["q"]; + if (extra) { + buffer.push(extra); + } + if (strokeColor) { + buffer.push(`${strokeColor[0]} ${strokeColor[1]} ${strokeColor[2]} RG`); + } + if (fillColor) { + buffer.push(`${fillColor[0]} ${fillColor[1]} ${fillColor[2]} rg`); + } + let pointsArray = this.data.quadPoints; + if (!pointsArray) { + pointsArray = [[{ + x: this.rectangle[0], + y: this.rectangle[3] + }, { + x: this.rectangle[2], + y: this.rectangle[3] + }, { + x: this.rectangle[0], + y: this.rectangle[1] + }, { + x: this.rectangle[2], + y: this.rectangle[1] + }]]; + } + for (const points of pointsArray) { + const [mX, MX, mY, MY] = pointsCallback(buffer, points); + minX = Math.min(minX, mX); + maxX = Math.max(maxX, MX); + minY = Math.min(minY, mY); + maxY = Math.max(maxY, MY); + } + buffer.push("Q"); + const formDict = new _primitives.Dict(xref); + const appearanceStreamDict = new _primitives.Dict(xref); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + const appearanceStream = new _stream.StringStream(buffer.join(" ")); + appearanceStream.dict = appearanceStreamDict; + formDict.set("Fm0", appearanceStream); + const gsDict = new _primitives.Dict(xref); + if (blendMode) { + gsDict.set("BM", _primitives.Name.get(blendMode)); + } + if (typeof strokeAlpha === "number") { + gsDict.set("CA", strokeAlpha); + } + if (typeof fillAlpha === "number") { + gsDict.set("ca", fillAlpha); + } + const stateDict = new _primitives.Dict(xref); + stateDict.set("GS0", gsDict); + const resources = new _primitives.Dict(xref); + resources.set("ExtGState", stateDict); + resources.set("XObject", formDict); + const appearanceDict = new _primitives.Dict(xref); + appearanceDict.set("Resources", resources); + const bbox = this.data.rect = [minX, minY, maxX, maxY]; + appearanceDict.set("BBox", bbox); + this.appearance = new _stream.StringStream("/GS0 gs /Fm0 Do"); + this.appearance.dict = appearanceDict; + this._streams.push(this.appearance, appearanceStream); + } + static async createNewAnnotation(xref, annotation, dependencies, params) { + const annotationRef = annotation.ref || xref.getNewTemporaryRef(); + const ap = await this.createNewAppearanceStream(annotation, xref, params); + const buffer = []; + let annotationDict; + if (ap) { + const apRef = xref.getNewTemporaryRef(); + annotationDict = this.createNewDict(annotation, xref, { + apRef + }); + const transform = xref.encrypt ? xref.encrypt.createCipherTransform(apRef.num, apRef.gen) : null; + await (0, _writer.writeObject)(apRef, ap, buffer, transform); + dependencies.push({ + ref: apRef, + data: buffer.join("") + }); + } else { + annotationDict = this.createNewDict(annotation, xref, {}); + } + buffer.length = 0; + const transform = xref.encrypt ? xref.encrypt.createCipherTransform(annotationRef.num, annotationRef.gen) : null; + await (0, _writer.writeObject)(annotationRef, annotationDict, buffer, transform); + return { + ref: annotationRef, + data: buffer.join("") + }; + } + static async createNewPrintAnnotation(xref, annotation, params) { + const ap = await this.createNewAppearanceStream(annotation, xref, params); + const annotationDict = this.createNewDict(annotation, xref, { + ap + }); + const newAnnotation = new this.prototype.constructor({ + dict: annotationDict, + xref, + isOffscreenCanvasSupported: params.isOffscreenCanvasSupported + }); + if (annotation.ref) { + newAnnotation.ref = newAnnotation.refToReplace = annotation.ref; + } + return newAnnotation; + } +} +exports.MarkupAnnotation = MarkupAnnotation; +class WidgetAnnotation extends Annotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + const data = this.data; + this._needAppearances = params.needAppearances; + data.annotationType = _util.AnnotationType.WIDGET; + if (data.fieldName === undefined) { + data.fieldName = this._constructFieldName(dict); + } + if (data.fieldName && /\[\d+\]$/.test(data.fieldName) && !dict.has("Kids")) { + data.baseFieldName = data.fieldName.substring(0, data.fieldName.lastIndexOf("[")); + } + if (data.actions === undefined) { + data.actions = (0, _core_utils.collectActions)(xref, dict, _util.AnnotationActionEventType); + } + let fieldValue = (0, _core_utils.getInheritableProperty)({ + dict, + key: "V", + getArray: true + }); + data.fieldValue = this._decodeFormValue(fieldValue); + const defaultFieldValue = (0, _core_utils.getInheritableProperty)({ + dict, + key: "DV", + getArray: true + }); + data.defaultFieldValue = this._decodeFormValue(defaultFieldValue); + if (fieldValue === undefined && params.xfaDatasets) { + const path = this._title.str; + if (path) { + this._hasValueFromXFA = true; + data.fieldValue = fieldValue = params.xfaDatasets.getValue(path); + } + } + if (fieldValue === undefined && data.defaultFieldValue !== null) { + data.fieldValue = data.defaultFieldValue; + } + data.alternativeText = (0, _util.stringToPDFString)(dict.get("TU") || ""); + this.setDefaultAppearance(params); + data.hasAppearance ||= this._needAppearances && data.fieldValue !== undefined && data.fieldValue !== null; + const fieldType = (0, _core_utils.getInheritableProperty)({ + dict, + key: "FT" + }); + data.fieldType = fieldType instanceof _primitives.Name ? fieldType.name : null; + const localResources = (0, _core_utils.getInheritableProperty)({ + dict, + key: "DR" + }); + const acroFormResources = params.acroForm.get("DR"); + const appearanceResources = this.appearance?.dict.get("Resources"); + this._fieldResources = { + localResources, + acroFormResources, + appearanceResources, + mergedResources: _primitives.Dict.merge({ + xref, + dictArray: [localResources, appearanceResources, acroFormResources], + mergeSubDicts: true + }) + }; + data.fieldFlags = (0, _core_utils.getInheritableProperty)({ + dict, + key: "Ff" + }); + if (!Number.isInteger(data.fieldFlags) || data.fieldFlags < 0) { + data.fieldFlags = 0; + } + data.readOnly = this.hasFieldFlag(_util.AnnotationFieldFlag.READONLY); + data.required = this.hasFieldFlag(_util.AnnotationFieldFlag.REQUIRED); + data.hidden = this._hasFlag(data.annotationFlags, _util.AnnotationFlag.HIDDEN); + } + _decodeFormValue(formValue) { + if (Array.isArray(formValue)) { + return formValue.filter(item => typeof item === "string").map(item => (0, _util.stringToPDFString)(item)); + } else if (formValue instanceof _primitives.Name) { + return (0, _util.stringToPDFString)(formValue.name); + } else if (typeof formValue === "string") { + return (0, _util.stringToPDFString)(formValue); + } + return null; + } + hasFieldFlag(flag) { + return !!(this.data.fieldFlags & flag); + } + getRotationMatrix(annotationStorage) { + let rotation = annotationStorage?.get(this.data.id)?.rotation; + if (rotation === undefined) { + rotation = this.rotation; + } + if (rotation === 0) { + return _util.IDENTITY_MATRIX; + } + const width = this.data.rect[2] - this.data.rect[0]; + const height = this.data.rect[3] - this.data.rect[1]; + return (0, _core_utils.getRotationMatrix)(rotation, width, height); + } + getBorderAndBackgroundAppearances(annotationStorage) { + let rotation = annotationStorage?.get(this.data.id)?.rotation; + if (rotation === undefined) { + rotation = this.rotation; + } + if (!this.backgroundColor && !this.borderColor) { + return ""; + } + const width = this.data.rect[2] - this.data.rect[0]; + const height = this.data.rect[3] - this.data.rect[1]; + const rect = rotation === 0 || rotation === 180 ? `0 0 ${width} ${height} re` : `0 0 ${height} ${width} re`; + let str = ""; + if (this.backgroundColor) { + str = `${(0, _default_appearance.getPdfColor)(this.backgroundColor, true)} ${rect} f `; + } + if (this.borderColor) { + const borderWidth = this.borderStyle.width || 1; + str += `${borderWidth} w ${(0, _default_appearance.getPdfColor)(this.borderColor, false)} ${rect} S `; + } + return str; + } + async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { + if (renderForms && !(this instanceof SignatureWidgetAnnotation) && !this.data.noHTML && !this.data.hasOwnCanvas) { + return { + opList: new _operator_list.OperatorList(), + separateForm: true, + separateCanvas: false + }; + } + if (!this._hasText) { + return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); + } + const content = await this._getAppearance(evaluator, task, intent, annotationStorage); + if (this.appearance && content === null) { + return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); + } + const opList = new _operator_list.OperatorList(); + if (!this._defaultAppearance || content === null) { + return { + opList, + separateForm: false, + separateCanvas: false + }; + } + const matrix = [1, 0, 0, 1, 0, 0]; + const bbox = [0, 0, this.data.rect[2] - this.data.rect[0], this.data.rect[3] - this.data.rect[1]]; + const transform = getTransformMatrix(this.data.rect, bbox, matrix); + let optionalContent; + if (this.oc) { + optionalContent = await evaluator.parseMarkedContentProps(this.oc, null); + } + if (optionalContent !== undefined) { + opList.addOp(_util.OPS.beginMarkedContentProps, ["OC", optionalContent]); + } + opList.addOp(_util.OPS.beginAnnotation, [this.data.id, this.data.rect, transform, this.getRotationMatrix(annotationStorage), false]); + const stream = new _stream.StringStream(content); + await evaluator.getOperatorList({ + stream, + task, + resources: this._fieldResources.mergedResources, + operatorList: opList + }); + opList.addOp(_util.OPS.endAnnotation, []); + if (optionalContent !== undefined) { + opList.addOp(_util.OPS.endMarkedContent, []); + } + return { + opList, + separateForm: false, + separateCanvas: false + }; + } + _getMKDict(rotation) { + const mk = new _primitives.Dict(null); + if (rotation) { + mk.set("R", rotation); + } + if (this.borderColor) { + mk.set("BC", getPdfColorArray(this.borderColor)); + } + if (this.backgroundColor) { + mk.set("BG", getPdfColorArray(this.backgroundColor)); + } + return mk.size > 0 ? mk : null; + } + amendSavedDict(annotationStorage, dict) {} + async save(evaluator, task, annotationStorage) { + const storageEntry = annotationStorage?.get(this.data.id); + let value = storageEntry?.value, + rotation = storageEntry?.rotation; + if (value === this.data.fieldValue || value === undefined) { + if (!this._hasValueFromXFA && rotation === undefined) { + return null; + } + value ||= this.data.fieldValue; + } + if (rotation === undefined && !this._hasValueFromXFA && Array.isArray(value) && Array.isArray(this.data.fieldValue) && value.length === this.data.fieldValue.length && value.every((x, i) => x === this.data.fieldValue[i])) { + return null; + } + if (rotation === undefined) { + rotation = this.rotation; + } + let appearance = null; + if (!this._needAppearances) { + appearance = await this._getAppearance(evaluator, task, _util.RenderingIntentFlag.SAVE, annotationStorage); + if (appearance === null) { + return null; + } + } else {} + let needAppearances = false; + if (appearance?.needAppearances) { + needAppearances = true; + appearance = null; + } + const { + xref + } = evaluator; + const originalDict = xref.fetchIfRef(this.ref); + if (!(originalDict instanceof _primitives.Dict)) { + return null; + } + const dict = new _primitives.Dict(xref); + for (const key of originalDict.getKeys()) { + if (key !== "AP") { + dict.set(key, originalDict.getRaw(key)); + } + } + const xfa = { + path: this.data.fieldName, + value + }; + const encoder = val => { + return (0, _core_utils.isAscii)(val) ? val : (0, _core_utils.stringToUTF16String)(val, true); + }; + dict.set("V", Array.isArray(value) ? value.map(encoder) : encoder(value)); + this.amendSavedDict(annotationStorage, dict); + const maybeMK = this._getMKDict(rotation); + if (maybeMK) { + dict.set("MK", maybeMK); + } + const encrypt = xref.encrypt; + const originalTransform = encrypt ? encrypt.createCipherTransform(this.ref.num, this.ref.gen) : null; + const buffer = []; + const changes = [{ + ref: this.ref, + data: "", + xfa, + needAppearances + }]; + if (appearance !== null) { + const newRef = xref.getNewTemporaryRef(); + const AP = new _primitives.Dict(xref); + dict.set("AP", AP); + AP.set("N", newRef); + let newTransform = null; + if (encrypt) { + newTransform = encrypt.createCipherTransform(newRef.num, newRef.gen); + } + const resources = this._getSaveFieldResources(xref); + const appearanceStream = new _stream.StringStream(appearance); + const appearanceDict = appearanceStream.dict = new _primitives.Dict(xref); + appearanceDict.set("Subtype", _primitives.Name.get("Form")); + appearanceDict.set("Resources", resources); + appearanceDict.set("BBox", [0, 0, this.data.rect[2] - this.data.rect[0], this.data.rect[3] - this.data.rect[1]]); + const rotationMatrix = this.getRotationMatrix(annotationStorage); + if (rotationMatrix !== _util.IDENTITY_MATRIX) { + appearanceDict.set("Matrix", rotationMatrix); + } + await (0, _writer.writeObject)(newRef, appearanceStream, buffer, newTransform); + changes.push({ + ref: newRef, + data: buffer.join(""), + xfa: null, + needAppearances: false + }); + buffer.length = 0; + } + dict.set("M", `D:${(0, _util.getModificationDate)()}`); + await (0, _writer.writeObject)(this.ref, dict, buffer, originalTransform); + changes[0].data = buffer.join(""); + return changes; + } + async _getAppearance(evaluator, task, intent, annotationStorage) { + const isPassword = this.hasFieldFlag(_util.AnnotationFieldFlag.PASSWORD); + if (isPassword) { + return null; + } + const storageEntry = annotationStorage?.get(this.data.id); + let value, rotation; + if (storageEntry) { + value = storageEntry.formattedValue || storageEntry.value; + rotation = storageEntry.rotation; + } + if (rotation === undefined && value === undefined && !this._needAppearances) { + if (!this._hasValueFromXFA || this.appearance) { + return null; + } + } + const colors = this.getBorderAndBackgroundAppearances(annotationStorage); + if (value === undefined) { + value = this.data.fieldValue; + if (!value) { + return `/Tx BMC q ${colors}Q EMC`; + } + } + if (Array.isArray(value) && value.length === 1) { + value = value[0]; + } + (0, _util.assert)(typeof value === "string", "Expected `value` to be a string."); + value = value.trim(); + if (this.data.combo) { + const option = this.data.options.find(({ + exportValue + }) => value === exportValue); + value = option?.displayValue || value; + } + if (value === "") { + return `/Tx BMC q ${colors}Q EMC`; + } + if (rotation === undefined) { + rotation = this.rotation; + } + let lineCount = -1; + let lines; + if (this.data.multiLine) { + lines = value.split(/\r\n?|\n/).map(line => line.normalize("NFC")); + lineCount = lines.length; + } else { + lines = [value.replace(/\r\n?|\n/, "").normalize("NFC")]; + } + const defaultPadding = 1; + const defaultHPadding = 2; + let totalHeight = this.data.rect[3] - this.data.rect[1]; + let totalWidth = this.data.rect[2] - this.data.rect[0]; + if (rotation === 90 || rotation === 270) { + [totalWidth, totalHeight] = [totalHeight, totalWidth]; + } + if (!this._defaultAppearance) { + this.data.defaultAppearanceData = (0, _default_appearance.parseDefaultAppearance)(this._defaultAppearance = "/Helvetica 0 Tf 0 g"); + } + let font = await WidgetAnnotation._getFontData(evaluator, task, this.data.defaultAppearanceData, this._fieldResources.mergedResources); + let defaultAppearance, fontSize, lineHeight; + const encodedLines = []; + let encodingError = false; + for (const line of lines) { + const encodedString = font.encodeString(line); + if (encodedString.length > 1) { + encodingError = true; + } + encodedLines.push(encodedString.join("")); + } + if (encodingError && intent & _util.RenderingIntentFlag.SAVE) { + return { + needAppearances: true + }; + } + if (encodingError && this._isOffscreenCanvasSupported) { + const fontFamily = this.data.comb ? "monospace" : "sans-serif"; + const fakeUnicodeFont = new _default_appearance.FakeUnicodeFont(evaluator.xref, fontFamily); + const resources = fakeUnicodeFont.createFontResources(lines.join("")); + const newFont = resources.getRaw("Font"); + if (this._fieldResources.mergedResources.has("Font")) { + const oldFont = this._fieldResources.mergedResources.get("Font"); + for (const key of newFont.getKeys()) { + oldFont.set(key, newFont.getRaw(key)); + } + } else { + this._fieldResources.mergedResources.set("Font", newFont); + } + const fontName = fakeUnicodeFont.fontName.name; + font = await WidgetAnnotation._getFontData(evaluator, task, { + fontName, + fontSize: 0 + }, resources); + for (let i = 0, ii = encodedLines.length; i < ii; i++) { + encodedLines[i] = (0, _core_utils.stringToUTF16String)(lines[i]); + } + const savedDefaultAppearance = Object.assign(Object.create(null), this.data.defaultAppearanceData); + this.data.defaultAppearanceData.fontSize = 0; + this.data.defaultAppearanceData.fontName = fontName; + [defaultAppearance, fontSize, lineHeight] = this._computeFontSize(totalHeight - 2 * defaultPadding, totalWidth - 2 * defaultHPadding, value, font, lineCount); + this.data.defaultAppearanceData = savedDefaultAppearance; + } else { + if (!this._isOffscreenCanvasSupported) { + (0, _util.warn)("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."); + } + [defaultAppearance, fontSize, lineHeight] = this._computeFontSize(totalHeight - 2 * defaultPadding, totalWidth - 2 * defaultHPadding, value, font, lineCount); + } + let descent = font.descent; + if (isNaN(descent)) { + descent = _util.BASELINE_FACTOR * lineHeight; + } else { + descent = Math.max(_util.BASELINE_FACTOR * lineHeight, Math.abs(descent) * fontSize); + } + const defaultVPadding = Math.min(Math.floor((totalHeight - fontSize) / 2), defaultPadding); + const alignment = this.data.textAlignment; + if (this.data.multiLine) { + return this._getMultilineAppearance(defaultAppearance, encodedLines, font, fontSize, totalWidth, totalHeight, alignment, defaultHPadding, defaultVPadding, descent, lineHeight, annotationStorage); + } + if (this.data.comb) { + return this._getCombAppearance(defaultAppearance, font, encodedLines[0], fontSize, totalWidth, totalHeight, defaultHPadding, defaultVPadding, descent, lineHeight, annotationStorage); + } + const bottomPadding = defaultVPadding + descent; + if (alignment === 0 || alignment > 2) { + return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 ${(0, _core_utils.numberToString)(defaultHPadding)} ${(0, _core_utils.numberToString)(bottomPadding)} Tm (${(0, _core_utils.escapeString)(encodedLines[0])}) Tj` + " ET Q EMC"; + } + const prevInfo = { + shift: 0 + }; + const renderedText = this._renderText(encodedLines[0], font, fontSize, totalWidth, alignment, prevInfo, defaultHPadding, bottomPadding); + return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 0 0 Tm ${renderedText}` + " ET Q EMC"; + } + static async _getFontData(evaluator, task, appearanceData, resources) { + const operatorList = new _operator_list.OperatorList(); + const initialState = { + font: null, + clone() { + return this; + } + }; + const { + fontName, + fontSize + } = appearanceData; + await evaluator.handleSetFont(resources, [fontName && _primitives.Name.get(fontName), fontSize], null, operatorList, task, initialState, null); + return initialState.font; + } + _getTextWidth(text, font) { + return font.charsToGlyphs(text).reduce((width, glyph) => width + glyph.width, 0) / 1000; + } + _computeFontSize(height, width, text, font, lineCount) { + let { + fontSize + } = this.data.defaultAppearanceData; + let lineHeight = (fontSize || 12) * _util.LINE_FACTOR, + numberOfLines = Math.round(height / lineHeight); + if (!fontSize) { + const roundWithTwoDigits = x => Math.floor(x * 100) / 100; + if (lineCount === -1) { + const textWidth = this._getTextWidth(text, font); + fontSize = roundWithTwoDigits(Math.min(height / _util.LINE_FACTOR, textWidth > width ? width / textWidth : Infinity)); + numberOfLines = 1; + } else { + const lines = text.split(/\r\n?|\n/); + const cachedLines = []; + for (const line of lines) { + const encoded = font.encodeString(line).join(""); + const glyphs = font.charsToGlyphs(encoded); + const positions = font.getCharPositions(encoded); + cachedLines.push({ + line: encoded, + glyphs, + positions + }); + } + const isTooBig = fsize => { + let totalHeight = 0; + for (const cache of cachedLines) { + const chunks = this._splitLine(null, font, fsize, width, cache); + totalHeight += chunks.length * fsize; + if (totalHeight > height) { + return true; + } + } + return false; + }; + numberOfLines = Math.max(numberOfLines, lineCount); + while (true) { + lineHeight = height / numberOfLines; + fontSize = roundWithTwoDigits(lineHeight / _util.LINE_FACTOR); + if (isTooBig(fontSize)) { + numberOfLines++; + continue; + } + break; + } + } + const { + fontName, + fontColor + } = this.data.defaultAppearanceData; + this._defaultAppearance = (0, _default_appearance.createDefaultAppearance)({ + fontSize, + fontName, + fontColor + }); + } + return [this._defaultAppearance, fontSize, height / numberOfLines]; + } + _renderText(text, font, fontSize, totalWidth, alignment, prevInfo, hPadding, vPadding) { + let shift; + if (alignment === 1) { + const width = this._getTextWidth(text, font) * fontSize; + shift = (totalWidth - width) / 2; + } else if (alignment === 2) { + const width = this._getTextWidth(text, font) * fontSize; + shift = totalWidth - width - hPadding; + } else { + shift = hPadding; + } + const shiftStr = (0, _core_utils.numberToString)(shift - prevInfo.shift); + prevInfo.shift = shift; + vPadding = (0, _core_utils.numberToString)(vPadding); + return `${shiftStr} ${vPadding} Td (${(0, _core_utils.escapeString)(text)}) Tj`; + } + _getSaveFieldResources(xref) { + const { + localResources, + appearanceResources, + acroFormResources + } = this._fieldResources; + const fontName = this.data.defaultAppearanceData?.fontName; + if (!fontName) { + return localResources || _primitives.Dict.empty; + } + for (const resources of [localResources, appearanceResources]) { + if (resources instanceof _primitives.Dict) { + const localFont = resources.get("Font"); + if (localFont instanceof _primitives.Dict && localFont.has(fontName)) { + return resources; + } + } + } + if (acroFormResources instanceof _primitives.Dict) { + const acroFormFont = acroFormResources.get("Font"); + if (acroFormFont instanceof _primitives.Dict && acroFormFont.has(fontName)) { + const subFontDict = new _primitives.Dict(xref); + subFontDict.set(fontName, acroFormFont.getRaw(fontName)); + const subResourcesDict = new _primitives.Dict(xref); + subResourcesDict.set("Font", subFontDict); + return _primitives.Dict.merge({ + xref, + dictArray: [subResourcesDict, localResources], + mergeSubDicts: true + }); + } + } + return localResources || _primitives.Dict.empty; + } + getFieldObject() { + return null; + } +} +class TextWidgetAnnotation extends WidgetAnnotation { + constructor(params) { + super(params); + this.data.hasOwnCanvas = this.data.readOnly && !this.data.noHTML; + this._hasText = true; + const dict = params.dict; + if (typeof this.data.fieldValue !== "string") { + this.data.fieldValue = ""; + } + let alignment = (0, _core_utils.getInheritableProperty)({ + dict, + key: "Q" + }); + if (!Number.isInteger(alignment) || alignment < 0 || alignment > 2) { + alignment = null; + } + this.data.textAlignment = alignment; + let maximumLength = (0, _core_utils.getInheritableProperty)({ + dict, + key: "MaxLen" + }); + if (!Number.isInteger(maximumLength) || maximumLength < 0) { + maximumLength = 0; + } + this.data.maxLen = maximumLength; + this.data.multiLine = this.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE); + this.data.comb = this.hasFieldFlag(_util.AnnotationFieldFlag.COMB) && !this.hasFieldFlag(_util.AnnotationFieldFlag.MULTILINE) && !this.hasFieldFlag(_util.AnnotationFieldFlag.PASSWORD) && !this.hasFieldFlag(_util.AnnotationFieldFlag.FILESELECT) && this.data.maxLen !== 0; + this.data.doNotScroll = this.hasFieldFlag(_util.AnnotationFieldFlag.DONOTSCROLL); + } + get hasTextContent() { + return !!this.appearance; + } + _getCombAppearance(defaultAppearance, font, text, fontSize, width, height, hPadding, vPadding, descent, lineHeight, annotationStorage) { + const combWidth = width / this.data.maxLen; + const colors = this.getBorderAndBackgroundAppearances(annotationStorage); + const buf = []; + const positions = font.getCharPositions(text); + for (const [start, end] of positions) { + buf.push(`(${(0, _core_utils.escapeString)(text.substring(start, end))}) Tj`); + } + const renderedComb = buf.join(` ${(0, _core_utils.numberToString)(combWidth)} 0 Td `); + return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 ${(0, _core_utils.numberToString)(hPadding)} ${(0, _core_utils.numberToString)(vPadding + descent)} Tm ${renderedComb}` + " ET Q EMC"; + } + _getMultilineAppearance(defaultAppearance, lines, font, fontSize, width, height, alignment, hPadding, vPadding, descent, lineHeight, annotationStorage) { + const buf = []; + const totalWidth = width - 2 * hPadding; + const prevInfo = { + shift: 0 + }; + for (let i = 0, ii = lines.length; i < ii; i++) { + const line = lines[i]; + const chunks = this._splitLine(line, font, fontSize, totalWidth); + for (let j = 0, jj = chunks.length; j < jj; j++) { + const chunk = chunks[j]; + const vShift = i === 0 && j === 0 ? -vPadding - (lineHeight - descent) : -lineHeight; + buf.push(this._renderText(chunk, font, fontSize, width, alignment, prevInfo, hPadding, vShift)); + } + } + const colors = this.getBorderAndBackgroundAppearances(annotationStorage); + const renderedText = buf.join("\n"); + return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 0 ${(0, _core_utils.numberToString)(height)} Tm ${renderedText}` + " ET Q EMC"; + } + _splitLine(line, font, fontSize, width, cache = {}) { + line = cache.line || line; + const glyphs = cache.glyphs || font.charsToGlyphs(line); + if (glyphs.length <= 1) { + return [line]; + } + const positions = cache.positions || font.getCharPositions(line); + const scale = fontSize / 1000; + const chunks = []; + let lastSpacePosInStringStart = -1, + lastSpacePosInStringEnd = -1, + lastSpacePos = -1, + startChunk = 0, + currentWidth = 0; + for (let i = 0, ii = glyphs.length; i < ii; i++) { + const [start, end] = positions[i]; + const glyph = glyphs[i]; + const glyphWidth = glyph.width * scale; + if (glyph.unicode === " ") { + if (currentWidth + glyphWidth > width) { + chunks.push(line.substring(startChunk, start)); + startChunk = start; + currentWidth = glyphWidth; + lastSpacePosInStringStart = -1; + lastSpacePos = -1; + } else { + currentWidth += glyphWidth; + lastSpacePosInStringStart = start; + lastSpacePosInStringEnd = end; + lastSpacePos = i; + } + } else { + if (currentWidth + glyphWidth > width) { + if (lastSpacePosInStringStart !== -1) { + chunks.push(line.substring(startChunk, lastSpacePosInStringEnd)); + startChunk = lastSpacePosInStringEnd; + i = lastSpacePos + 1; + lastSpacePosInStringStart = -1; + currentWidth = 0; + } else { + chunks.push(line.substring(startChunk, start)); + startChunk = start; + currentWidth = glyphWidth; + } + } else { + currentWidth += glyphWidth; + } + } + } + if (startChunk < line.length) { + chunks.push(line.substring(startChunk, line.length)); + } + return chunks; + } + getFieldObject() { + return { + id: this.data.id, + value: this.data.fieldValue, + defaultValue: this.data.defaultFieldValue || "", + multiline: this.data.multiLine, + password: this.hasFieldFlag(_util.AnnotationFieldFlag.PASSWORD), + charLimit: this.data.maxLen, + comb: this.data.comb, + editable: !this.data.readOnly, + hidden: this.data.hidden, + name: this.data.fieldName, + rect: this.data.rect, + actions: this.data.actions, + page: this.data.pageIndex, + strokeColor: this.data.borderColor, + fillColor: this.data.backgroundColor, + rotation: this.rotation, + type: "text" + }; + } +} +class ButtonWidgetAnnotation extends WidgetAnnotation { + constructor(params) { + super(params); + this.checkedAppearance = null; + this.uncheckedAppearance = null; + this.data.checkBox = !this.hasFieldFlag(_util.AnnotationFieldFlag.RADIO) && !this.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON); + this.data.radioButton = this.hasFieldFlag(_util.AnnotationFieldFlag.RADIO) && !this.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON); + this.data.pushButton = this.hasFieldFlag(_util.AnnotationFieldFlag.PUSHBUTTON); + this.data.isTooltipOnly = false; + if (this.data.checkBox) { + this._processCheckBox(params); + } else if (this.data.radioButton) { + this._processRadioButton(params); + } else if (this.data.pushButton) { + this.data.hasOwnCanvas = true; + this._processPushButton(params); + } else { + (0, _util.warn)("Invalid field flags for button widget annotation"); + } + } + async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { + if (this.data.pushButton) { + return super.getOperatorList(evaluator, task, intent, false, annotationStorage); + } + let value = null; + let rotation = null; + if (annotationStorage) { + const storageEntry = annotationStorage.get(this.data.id); + value = storageEntry ? storageEntry.value : null; + rotation = storageEntry ? storageEntry.rotation : null; + } + if (value === null && this.appearance) { + return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); + } + if (value === null || value === undefined) { + if (this.data.checkBox) { + value = this.data.fieldValue === this.data.exportValue; + } else { + value = this.data.fieldValue === this.data.buttonValue; + } + } + const appearance = value ? this.checkedAppearance : this.uncheckedAppearance; + if (appearance) { + const savedAppearance = this.appearance; + const savedMatrix = appearance.dict.getArray("Matrix") || _util.IDENTITY_MATRIX; + if (rotation) { + appearance.dict.set("Matrix", this.getRotationMatrix(annotationStorage)); + } + this.appearance = appearance; + const operatorList = super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); + this.appearance = savedAppearance; + appearance.dict.set("Matrix", savedMatrix); + return operatorList; + } + return { + opList: new _operator_list.OperatorList(), + separateForm: false, + separateCanvas: false + }; + } + async save(evaluator, task, annotationStorage) { + if (this.data.checkBox) { + return this._saveCheckbox(evaluator, task, annotationStorage); + } + if (this.data.radioButton) { + return this._saveRadioButton(evaluator, task, annotationStorage); + } + return null; + } + async _saveCheckbox(evaluator, task, annotationStorage) { + if (!annotationStorage) { + return null; + } + const storageEntry = annotationStorage.get(this.data.id); + let rotation = storageEntry?.rotation, + value = storageEntry?.value; + if (rotation === undefined) { + if (value === undefined) { + return null; + } + const defaultValue = this.data.fieldValue === this.data.exportValue; + if (defaultValue === value) { + return null; + } + } + const dict = evaluator.xref.fetchIfRef(this.ref); + if (!(dict instanceof _primitives.Dict)) { + return null; + } + if (rotation === undefined) { + rotation = this.rotation; + } + if (value === undefined) { + value = this.data.fieldValue === this.data.exportValue; + } + const xfa = { + path: this.data.fieldName, + value: value ? this.data.exportValue : "" + }; + const name = _primitives.Name.get(value ? this.data.exportValue : "Off"); + dict.set("V", name); + dict.set("AS", name); + dict.set("M", `D:${(0, _util.getModificationDate)()}`); + const maybeMK = this._getMKDict(rotation); + if (maybeMK) { + dict.set("MK", maybeMK); + } + const encrypt = evaluator.xref.encrypt; + let originalTransform = null; + if (encrypt) { + originalTransform = encrypt.createCipherTransform(this.ref.num, this.ref.gen); + } + const buffer = [`${this.ref.num} ${this.ref.gen} obj\n`]; + await (0, _writer.writeDict)(dict, buffer, originalTransform); + buffer.push("\nendobj\n"); + return [{ + ref: this.ref, + data: buffer.join(""), + xfa + }]; + } + async _saveRadioButton(evaluator, task, annotationStorage) { + if (!annotationStorage) { + return null; + } + const storageEntry = annotationStorage.get(this.data.id); + let rotation = storageEntry?.rotation, + value = storageEntry?.value; + if (rotation === undefined) { + if (value === undefined) { + return null; + } + const defaultValue = this.data.fieldValue === this.data.buttonValue; + if (defaultValue === value) { + return null; + } + } + const dict = evaluator.xref.fetchIfRef(this.ref); + if (!(dict instanceof _primitives.Dict)) { + return null; + } + if (value === undefined) { + value = this.data.fieldValue === this.data.buttonValue; + } + if (rotation === undefined) { + rotation = this.rotation; + } + const xfa = { + path: this.data.fieldName, + value: value ? this.data.buttonValue : "" + }; + const name = _primitives.Name.get(value ? this.data.buttonValue : "Off"); + let parentBuffer = null; + const encrypt = evaluator.xref.encrypt; + if (value) { + if (this.parent instanceof _primitives.Ref) { + const parent = evaluator.xref.fetch(this.parent); + let parentTransform = null; + if (encrypt) { + parentTransform = encrypt.createCipherTransform(this.parent.num, this.parent.gen); + } + parent.set("V", name); + parentBuffer = [`${this.parent.num} ${this.parent.gen} obj\n`]; + await (0, _writer.writeDict)(parent, parentBuffer, parentTransform); + parentBuffer.push("\nendobj\n"); + } else if (this.parent instanceof _primitives.Dict) { + this.parent.set("V", name); + } + } + dict.set("AS", name); + dict.set("M", `D:${(0, _util.getModificationDate)()}`); + const maybeMK = this._getMKDict(rotation); + if (maybeMK) { + dict.set("MK", maybeMK); + } + let originalTransform = null; + if (encrypt) { + originalTransform = encrypt.createCipherTransform(this.ref.num, this.ref.gen); + } + const buffer = [`${this.ref.num} ${this.ref.gen} obj\n`]; + await (0, _writer.writeDict)(dict, buffer, originalTransform); + buffer.push("\nendobj\n"); + const newRefs = [{ + ref: this.ref, + data: buffer.join(""), + xfa + }]; + if (parentBuffer !== null) { + newRefs.push({ + ref: this.parent, + data: parentBuffer.join(""), + xfa: null + }); + } + return newRefs; + } + _getDefaultCheckedAppearance(params, type) { + const width = this.data.rect[2] - this.data.rect[0]; + const height = this.data.rect[3] - this.data.rect[1]; + const bbox = [0, 0, width, height]; + const FONT_RATIO = 0.8; + const fontSize = Math.min(width, height) * FONT_RATIO; + let metrics, char; + if (type === "check") { + metrics = { + width: 0.755 * fontSize, + height: 0.705 * fontSize + }; + char = "\x33"; + } else if (type === "disc") { + metrics = { + width: 0.791 * fontSize, + height: 0.705 * fontSize + }; + char = "\x6C"; + } else { + (0, _util.unreachable)(`_getDefaultCheckedAppearance - unsupported type: ${type}`); + } + const xShift = (0, _core_utils.numberToString)((width - metrics.width) / 2); + const yShift = (0, _core_utils.numberToString)((height - metrics.height) / 2); + const appearance = `q BT /PdfJsZaDb ${fontSize} Tf 0 g ${xShift} ${yShift} Td (${char}) Tj ET Q`; + const appearanceStreamDict = new _primitives.Dict(params.xref); + appearanceStreamDict.set("FormType", 1); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + appearanceStreamDict.set("Type", _primitives.Name.get("XObject")); + appearanceStreamDict.set("BBox", bbox); + appearanceStreamDict.set("Matrix", [1, 0, 0, 1, 0, 0]); + appearanceStreamDict.set("Length", appearance.length); + const resources = new _primitives.Dict(params.xref); + const font = new _primitives.Dict(params.xref); + font.set("PdfJsZaDb", this.fallbackFontDict); + resources.set("Font", font); + appearanceStreamDict.set("Resources", resources); + this.checkedAppearance = new _stream.StringStream(appearance); + this.checkedAppearance.dict = appearanceStreamDict; + this._streams.push(this.checkedAppearance); + } + _processCheckBox(params) { + const customAppearance = params.dict.get("AP"); + if (!(customAppearance instanceof _primitives.Dict)) { + return; + } + const normalAppearance = customAppearance.get("N"); + if (!(normalAppearance instanceof _primitives.Dict)) { + return; + } + const asValue = this._decodeFormValue(params.dict.get("AS")); + if (typeof asValue === "string") { + this.data.fieldValue = asValue; + } + const yes = this.data.fieldValue !== null && this.data.fieldValue !== "Off" ? this.data.fieldValue : "Yes"; + const exportValues = normalAppearance.getKeys(); + if (exportValues.length === 0) { + exportValues.push("Off", yes); + } else if (exportValues.length === 1) { + if (exportValues[0] === "Off") { + exportValues.push(yes); + } else { + exportValues.unshift("Off"); + } + } else if (exportValues.includes(yes)) { + exportValues.length = 0; + exportValues.push("Off", yes); + } else { + const otherYes = exportValues.find(v => v !== "Off"); + exportValues.length = 0; + exportValues.push("Off", otherYes); + } + if (!exportValues.includes(this.data.fieldValue)) { + this.data.fieldValue = "Off"; + } + this.data.exportValue = exportValues[1]; + const checkedAppearance = normalAppearance.get(this.data.exportValue); + this.checkedAppearance = checkedAppearance instanceof _base_stream.BaseStream ? checkedAppearance : null; + const uncheckedAppearance = normalAppearance.get("Off"); + this.uncheckedAppearance = uncheckedAppearance instanceof _base_stream.BaseStream ? uncheckedAppearance : null; + if (this.checkedAppearance) { + this._streams.push(this.checkedAppearance); + } else { + this._getDefaultCheckedAppearance(params, "check"); + } + if (this.uncheckedAppearance) { + this._streams.push(this.uncheckedAppearance); + } + this._fallbackFontDict = this.fallbackFontDict; + } + _processRadioButton(params) { + this.data.fieldValue = this.data.buttonValue = null; + const fieldParent = params.dict.get("Parent"); + if (fieldParent instanceof _primitives.Dict) { + this.parent = params.dict.getRaw("Parent"); + const fieldParentValue = fieldParent.get("V"); + if (fieldParentValue instanceof _primitives.Name) { + this.data.fieldValue = this._decodeFormValue(fieldParentValue); + } + } + const appearanceStates = params.dict.get("AP"); + if (!(appearanceStates instanceof _primitives.Dict)) { + return; + } + const normalAppearance = appearanceStates.get("N"); + if (!(normalAppearance instanceof _primitives.Dict)) { + return; + } + for (const key of normalAppearance.getKeys()) { + if (key !== "Off") { + this.data.buttonValue = this._decodeFormValue(key); + break; + } + } + const checkedAppearance = normalAppearance.get(this.data.buttonValue); + this.checkedAppearance = checkedAppearance instanceof _base_stream.BaseStream ? checkedAppearance : null; + const uncheckedAppearance = normalAppearance.get("Off"); + this.uncheckedAppearance = uncheckedAppearance instanceof _base_stream.BaseStream ? uncheckedAppearance : null; + if (this.checkedAppearance) { + this._streams.push(this.checkedAppearance); + } else { + this._getDefaultCheckedAppearance(params, "disc"); + } + if (this.uncheckedAppearance) { + this._streams.push(this.uncheckedAppearance); + } + this._fallbackFontDict = this.fallbackFontDict; + } + _processPushButton(params) { + if (!params.dict.has("A") && !params.dict.has("AA") && !this.data.alternativeText) { + (0, _util.warn)("Push buttons without action dictionaries are not supported"); + return; + } + this.data.isTooltipOnly = !params.dict.has("A") && !params.dict.has("AA"); + _catalog.Catalog.parseDestDictionary({ + destDict: params.dict, + resultObj: this.data, + docBaseUrl: params.pdfManager.docBaseUrl, + docAttachments: params.attachments + }); + } + getFieldObject() { + let type = "button"; + let exportValues; + if (this.data.checkBox) { + type = "checkbox"; + exportValues = this.data.exportValue; + } else if (this.data.radioButton) { + type = "radiobutton"; + exportValues = this.data.buttonValue; + } + return { + id: this.data.id, + value: this.data.fieldValue || "Off", + defaultValue: this.data.defaultFieldValue, + exportValues, + editable: !this.data.readOnly, + name: this.data.fieldName, + rect: this.data.rect, + hidden: this.data.hidden, + actions: this.data.actions, + page: this.data.pageIndex, + strokeColor: this.data.borderColor, + fillColor: this.data.backgroundColor, + rotation: this.rotation, + type + }; + } + get fallbackFontDict() { + const dict = new _primitives.Dict(); + dict.set("BaseFont", _primitives.Name.get("ZapfDingbats")); + dict.set("Type", _primitives.Name.get("FallbackType")); + dict.set("Subtype", _primitives.Name.get("FallbackType")); + dict.set("Encoding", _primitives.Name.get("ZapfDingbatsEncoding")); + return (0, _util.shadow)(this, "fallbackFontDict", dict); + } +} +class ChoiceWidgetAnnotation extends WidgetAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.indices = dict.getArray("I"); + this.hasIndices = Array.isArray(this.indices) && this.indices.length > 0; + this.data.options = []; + const options = (0, _core_utils.getInheritableProperty)({ + dict, + key: "Opt" + }); + if (Array.isArray(options)) { + for (let i = 0, ii = options.length; i < ii; i++) { + const option = xref.fetchIfRef(options[i]); + const isOptionArray = Array.isArray(option); + this.data.options[i] = { + exportValue: this._decodeFormValue(isOptionArray ? xref.fetchIfRef(option[0]) : option), + displayValue: this._decodeFormValue(isOptionArray ? xref.fetchIfRef(option[1]) : option) + }; + } + } + if (!this.hasIndices) { + if (typeof this.data.fieldValue === "string") { + this.data.fieldValue = [this.data.fieldValue]; + } else if (!this.data.fieldValue) { + this.data.fieldValue = []; + } + } else { + this.data.fieldValue = []; + const ii = this.data.options.length; + for (const i of this.indices) { + if (Number.isInteger(i) && i >= 0 && i < ii) { + this.data.fieldValue.push(this.data.options[i].exportValue); + } + } + } + this.data.combo = this.hasFieldFlag(_util.AnnotationFieldFlag.COMBO); + this.data.multiSelect = this.hasFieldFlag(_util.AnnotationFieldFlag.MULTISELECT); + this._hasText = true; + } + getFieldObject() { + const type = this.data.combo ? "combobox" : "listbox"; + const value = this.data.fieldValue.length > 0 ? this.data.fieldValue[0] : null; + return { + id: this.data.id, + value, + defaultValue: this.data.defaultFieldValue, + editable: !this.data.readOnly, + name: this.data.fieldName, + rect: this.data.rect, + numItems: this.data.fieldValue.length, + multipleSelection: this.data.multiSelect, + hidden: this.data.hidden, + actions: this.data.actions, + items: this.data.options, + page: this.data.pageIndex, + strokeColor: this.data.borderColor, + fillColor: this.data.backgroundColor, + rotation: this.rotation, + type + }; + } + amendSavedDict(annotationStorage, dict) { + if (!this.hasIndices) { + return; + } + let values = annotationStorage?.get(this.data.id)?.value; + if (!Array.isArray(values)) { + values = [values]; + } + const indices = []; + const { + options + } = this.data; + for (let i = 0, j = 0, ii = options.length; i < ii; i++) { + if (options[i].exportValue === values[j]) { + indices.push(i); + j += 1; + } + } + dict.set("I", indices); + } + async _getAppearance(evaluator, task, intent, annotationStorage) { + if (this.data.combo) { + return super._getAppearance(evaluator, task, intent, annotationStorage); + } + let exportedValue, rotation; + const storageEntry = annotationStorage?.get(this.data.id); + if (storageEntry) { + rotation = storageEntry.rotation; + exportedValue = storageEntry.value; + } + if (rotation === undefined && exportedValue === undefined && !this._needAppearances) { + return null; + } + if (exportedValue === undefined) { + exportedValue = this.data.fieldValue; + } else if (!Array.isArray(exportedValue)) { + exportedValue = [exportedValue]; + } + const defaultPadding = 1; + const defaultHPadding = 2; + let totalHeight = this.data.rect[3] - this.data.rect[1]; + let totalWidth = this.data.rect[2] - this.data.rect[0]; + if (rotation === 90 || rotation === 270) { + [totalWidth, totalHeight] = [totalHeight, totalWidth]; + } + const lineCount = this.data.options.length; + const valueIndices = []; + for (let i = 0; i < lineCount; i++) { + const { + exportValue + } = this.data.options[i]; + if (exportedValue.includes(exportValue)) { + valueIndices.push(i); + } + } + if (!this._defaultAppearance) { + this.data.defaultAppearanceData = (0, _default_appearance.parseDefaultAppearance)(this._defaultAppearance = "/Helvetica 0 Tf 0 g"); + } + const font = await WidgetAnnotation._getFontData(evaluator, task, this.data.defaultAppearanceData, this._fieldResources.mergedResources); + let defaultAppearance; + let { + fontSize + } = this.data.defaultAppearanceData; + if (!fontSize) { + const lineHeight = (totalHeight - defaultPadding) / lineCount; + let lineWidth = -1; + let value; + for (const { + displayValue + } of this.data.options) { + const width = this._getTextWidth(displayValue, font); + if (width > lineWidth) { + lineWidth = width; + value = displayValue; + } + } + [defaultAppearance, fontSize] = this._computeFontSize(lineHeight, totalWidth - 2 * defaultHPadding, value, font, -1); + } else { + defaultAppearance = this._defaultAppearance; + } + const lineHeight = fontSize * _util.LINE_FACTOR; + const vPadding = (lineHeight - fontSize) / 2; + const numberOfVisibleLines = Math.floor(totalHeight / lineHeight); + let firstIndex = 0; + if (valueIndices.length > 0) { + const minIndex = Math.min(...valueIndices); + const maxIndex = Math.max(...valueIndices); + firstIndex = Math.max(0, maxIndex - numberOfVisibleLines + 1); + if (firstIndex > minIndex) { + firstIndex = minIndex; + } + } + const end = Math.min(firstIndex + numberOfVisibleLines + 1, lineCount); + const buf = ["/Tx BMC q", `1 1 ${totalWidth} ${totalHeight} re W n`]; + if (valueIndices.length) { + buf.push("0.600006 0.756866 0.854904 rg"); + for (const index of valueIndices) { + if (firstIndex <= index && index < end) { + buf.push(`1 ${totalHeight - (index - firstIndex + 1) * lineHeight} ${totalWidth} ${lineHeight} re f`); + } + } + } + buf.push("BT", defaultAppearance, `1 0 0 1 0 ${totalHeight} Tm`); + const prevInfo = { + shift: 0 + }; + for (let i = firstIndex; i < end; i++) { + const { + displayValue + } = this.data.options[i]; + const vpadding = i === firstIndex ? vPadding : 0; + buf.push(this._renderText(displayValue, font, fontSize, totalWidth, 0, prevInfo, defaultHPadding, -lineHeight + vpadding)); + } + buf.push("ET Q EMC"); + return buf.join("\n"); + } +} +class SignatureWidgetAnnotation extends WidgetAnnotation { + constructor(params) { + super(params); + this.data.fieldValue = null; + this.data.hasOwnCanvas = this.data.noRotate; + } + getFieldObject() { + return { + id: this.data.id, + value: null, + page: this.data.pageIndex, + type: "signature" + }; + } +} +class TextAnnotation extends MarkupAnnotation { + constructor(params) { + const DEFAULT_ICON_SIZE = 22; + super(params); + this.data.noRotate = true; + this.data.hasOwnCanvas = this.data.noRotate; + const { + dict + } = params; + this.data.annotationType = _util.AnnotationType.TEXT; + if (this.data.hasAppearance) { + this.data.name = "NoIcon"; + } else { + this.data.rect[1] = this.data.rect[3] - DEFAULT_ICON_SIZE; + this.data.rect[2] = this.data.rect[0] + DEFAULT_ICON_SIZE; + this.data.name = dict.has("Name") ? dict.get("Name").name : "Note"; + } + if (dict.has("State")) { + this.data.state = dict.get("State") || null; + this.data.stateModel = dict.get("StateModel") || null; + } else { + this.data.state = null; + this.data.stateModel = null; + } + } +} +class LinkAnnotation extends Annotation { + constructor(params) { + super(params); + this.data.annotationType = _util.AnnotationType.LINK; + const quadPoints = getQuadPoints(params.dict, this.rectangle); + if (quadPoints) { + this.data.quadPoints = quadPoints; + } + this.data.borderColor ||= this.data.color; + _catalog.Catalog.parseDestDictionary({ + destDict: params.dict, + resultObj: this.data, + docBaseUrl: params.pdfManager.docBaseUrl, + docAttachments: params.attachments + }); + } +} +class PopupAnnotation extends Annotation { + constructor(params) { + super(params); + const { + dict + } = params; + this.data.annotationType = _util.AnnotationType.POPUP; + if (this.data.rect[0] === this.data.rect[2] || this.data.rect[1] === this.data.rect[3]) { + this.data.rect = null; + } + let parentItem = dict.get("Parent"); + if (!parentItem) { + (0, _util.warn)("Popup annotation has a missing or invalid parent annotation."); + return; + } + const parentRect = parentItem.getArray("Rect"); + if (Array.isArray(parentRect) && parentRect.length === 4) { + this.data.parentRect = _util.Util.normalizeRect(parentRect); + } else { + this.data.parentRect = null; + } + const rt = parentItem.get("RT"); + if ((0, _primitives.isName)(rt, _util.AnnotationReplyType.GROUP)) { + parentItem = parentItem.get("IRT"); + } + if (!parentItem.has("M")) { + this.data.modificationDate = null; + } else { + this.setModificationDate(parentItem.get("M")); + this.data.modificationDate = this.modificationDate; + } + if (!parentItem.has("C")) { + this.data.color = null; + } else { + this.setColor(parentItem.getArray("C")); + this.data.color = this.color; + } + if (!this.viewable) { + const parentFlags = parentItem.get("F"); + if (this._isViewable(parentFlags)) { + this.setFlags(parentFlags); + } + } + this.setTitle(parentItem.get("T")); + this.data.titleObj = this._title; + this.setContents(parentItem.get("Contents")); + this.data.contentsObj = this._contents; + if (parentItem.has("RC")) { + this.data.richText = _factory.XFAFactory.getRichTextAsHtml(parentItem.get("RC")); + } + this.data.open = !!dict.get("Open"); + } +} +exports.PopupAnnotation = PopupAnnotation; +class FreeTextAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + this.data.hasOwnCanvas = true; + const { + xref + } = params; + this.data.annotationType = _util.AnnotationType.FREETEXT; + this.setDefaultAppearance(params); + if (this.appearance) { + const { + fontColor, + fontSize + } = (0, _default_appearance.parseAppearanceStream)(this.appearance); + this.data.defaultAppearanceData.fontColor = fontColor; + this.data.defaultAppearanceData.fontSize = fontSize || 10; + } else if (this._isOffscreenCanvasSupported) { + const strokeAlpha = params.dict.get("CA"); + const fakeUnicodeFont = new _default_appearance.FakeUnicodeFont(xref, "sans-serif"); + this.data.defaultAppearanceData.fontSize ||= 10; + const { + fontColor, + fontSize + } = this.data.defaultAppearanceData; + this.appearance = fakeUnicodeFont.createAppearance(this._contents.str, this.rectangle, this.rotation, fontSize, fontColor, strokeAlpha); + this._streams.push(this.appearance, _default_appearance.FakeUnicodeFont.toUnicodeStream); + } else { + (0, _util.warn)("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly."); + } + } + get hasTextContent() { + return !!this.appearance; + } + static createNewDict(annotation, xref, { + apRef, + ap + }) { + const { + color, + fontSize, + rect, + rotation, + user, + value + } = annotation; + const freetext = new _primitives.Dict(xref); + freetext.set("Type", _primitives.Name.get("Annot")); + freetext.set("Subtype", _primitives.Name.get("FreeText")); + freetext.set("CreationDate", `D:${(0, _util.getModificationDate)()}`); + freetext.set("Rect", rect); + const da = `/Helv ${fontSize} Tf ${(0, _default_appearance.getPdfColor)(color, true)}`; + freetext.set("DA", da); + freetext.set("Contents", (0, _core_utils.isAscii)(value) ? value : (0, _core_utils.stringToUTF16String)(value, true)); + freetext.set("F", 4); + freetext.set("Border", [0, 0, 0]); + freetext.set("Rotate", rotation); + if (user) { + freetext.set("T", (0, _core_utils.isAscii)(user) ? user : (0, _core_utils.stringToUTF16String)(user, true)); + } + if (apRef || ap) { + const n = new _primitives.Dict(xref); + freetext.set("AP", n); + if (apRef) { + n.set("N", apRef); + } else { + n.set("N", ap); + } + } + return freetext; + } + static async createNewAppearanceStream(annotation, xref, params) { + const { + baseFontRef, + evaluator, + task + } = params; + const { + color, + fontSize, + rect, + rotation, + value + } = annotation; + const resources = new _primitives.Dict(xref); + const font = new _primitives.Dict(xref); + if (baseFontRef) { + font.set("Helv", baseFontRef); + } else { + const baseFont = new _primitives.Dict(xref); + baseFont.set("BaseFont", _primitives.Name.get("Helvetica")); + baseFont.set("Type", _primitives.Name.get("Font")); + baseFont.set("Subtype", _primitives.Name.get("Type1")); + baseFont.set("Encoding", _primitives.Name.get("WinAnsiEncoding")); + font.set("Helv", baseFont); + } + resources.set("Font", font); + const helv = await WidgetAnnotation._getFontData(evaluator, task, { + fontName: "Helvetica", + fontSize + }, resources); + const [x1, y1, x2, y2] = rect; + let w = x2 - x1; + let h = y2 - y1; + if (rotation % 180 !== 0) { + [w, h] = [h, w]; + } + const lines = value.split("\n"); + const scale = fontSize / 1000; + let totalWidth = -Infinity; + const encodedLines = []; + for (let line of lines) { + const encoded = helv.encodeString(line); + if (encoded.length > 1) { + return null; + } + line = encoded.join(""); + encodedLines.push(line); + let lineWidth = 0; + const glyphs = helv.charsToGlyphs(line); + for (const glyph of glyphs) { + lineWidth += glyph.width * scale; + } + totalWidth = Math.max(totalWidth, lineWidth); + } + let hscale = 1; + if (totalWidth > w) { + hscale = w / totalWidth; + } + let vscale = 1; + const lineHeight = _util.LINE_FACTOR * fontSize; + const lineDescent = _util.LINE_DESCENT_FACTOR * fontSize; + const totalHeight = lineHeight * lines.length; + if (totalHeight > h) { + vscale = h / totalHeight; + } + const fscale = Math.min(hscale, vscale); + const newFontSize = fontSize * fscale; + const buffer = ["q", `0 0 ${(0, _core_utils.numberToString)(w)} ${(0, _core_utils.numberToString)(h)} re W n`, `BT`, `1 0 0 1 0 ${(0, _core_utils.numberToString)(h + lineDescent)} Tm 0 Tc ${(0, _default_appearance.getPdfColor)(color, true)}`, `/Helv ${(0, _core_utils.numberToString)(newFontSize)} Tf`]; + const vShift = (0, _core_utils.numberToString)(lineHeight); + for (const line of encodedLines) { + buffer.push(`0 -${vShift} Td (${(0, _core_utils.escapeString)(line)}) Tj`); + } + buffer.push("ET", "Q"); + const appearance = buffer.join("\n"); + const appearanceStreamDict = new _primitives.Dict(xref); + appearanceStreamDict.set("FormType", 1); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + appearanceStreamDict.set("Type", _primitives.Name.get("XObject")); + appearanceStreamDict.set("BBox", [0, 0, w, h]); + appearanceStreamDict.set("Resources", resources); + if (rotation) { + const matrix = (0, _core_utils.getRotationMatrix)(rotation, w, h); + appearanceStreamDict.set("Matrix", matrix); + } + const ap = new _stream.StringStream(appearance); + ap.dict = appearanceStreamDict; + return ap; + } +} +class LineAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.LINE; + this.data.hasOwnCanvas = this.data.noRotate; + const lineCoordinates = dict.getArray("L"); + this.data.lineCoordinates = _util.Util.normalizeRect(lineCoordinates); + this.setLineEndings(dict.getArray("LE")); + this.data.lineEndings = this.lineEndings; + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + const interiorColor = getRgbColor(dict.getArray("IC"), null); + const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; + const fillAlpha = fillColor ? strokeAlpha : null; + const borderWidth = this.borderStyle.width || 1, + borderAdjust = 2 * borderWidth; + const bbox = [this.data.lineCoordinates[0] - borderAdjust, this.data.lineCoordinates[1] - borderAdjust, this.data.lineCoordinates[2] + borderAdjust, this.data.lineCoordinates[3] + borderAdjust]; + if (!_util.Util.intersect(this.rectangle, bbox)) { + this.rectangle = bbox; + } + this._setDefaultAppearance({ + xref, + extra: `${borderWidth} w`, + strokeColor, + fillColor, + strokeAlpha, + fillAlpha, + pointsCallback: (buffer, points) => { + buffer.push(`${lineCoordinates[0]} ${lineCoordinates[1]} m`, `${lineCoordinates[2]} ${lineCoordinates[3]} l`, "S"); + return [points[0].x - borderWidth, points[1].x + borderWidth, points[3].y - borderWidth, points[1].y + borderWidth]; + } + }); + } + } +} +class SquareAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.SQUARE; + this.data.hasOwnCanvas = this.data.noRotate; + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + const interiorColor = getRgbColor(dict.getArray("IC"), null); + const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; + const fillAlpha = fillColor ? strokeAlpha : null; + if (this.borderStyle.width === 0 && !fillColor) { + return; + } + this._setDefaultAppearance({ + xref, + extra: `${this.borderStyle.width} w`, + strokeColor, + fillColor, + strokeAlpha, + fillAlpha, + pointsCallback: (buffer, points) => { + const x = points[2].x + this.borderStyle.width / 2; + const y = points[2].y + this.borderStyle.width / 2; + const width = points[3].x - points[2].x - this.borderStyle.width; + const height = points[1].y - points[3].y - this.borderStyle.width; + buffer.push(`${x} ${y} ${width} ${height} re`); + if (fillColor) { + buffer.push("B"); + } else { + buffer.push("S"); + } + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } +} +class CircleAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.CIRCLE; + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + const interiorColor = getRgbColor(dict.getArray("IC"), null); + const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; + const fillAlpha = fillColor ? strokeAlpha : null; + if (this.borderStyle.width === 0 && !fillColor) { + return; + } + const controlPointsDistance = 4 / 3 * Math.tan(Math.PI / (2 * 4)); + this._setDefaultAppearance({ + xref, + extra: `${this.borderStyle.width} w`, + strokeColor, + fillColor, + strokeAlpha, + fillAlpha, + pointsCallback: (buffer, points) => { + const x0 = points[0].x + this.borderStyle.width / 2; + const y0 = points[0].y - this.borderStyle.width / 2; + const x1 = points[3].x - this.borderStyle.width / 2; + const y1 = points[3].y + this.borderStyle.width / 2; + const xMid = x0 + (x1 - x0) / 2; + const yMid = y0 + (y1 - y0) / 2; + const xOffset = (x1 - x0) / 2 * controlPointsDistance; + const yOffset = (y1 - y0) / 2 * controlPointsDistance; + buffer.push(`${xMid} ${y1} m`, `${xMid + xOffset} ${y1} ${x1} ${yMid + yOffset} ${x1} ${yMid} c`, `${x1} ${yMid - yOffset} ${xMid + xOffset} ${y0} ${xMid} ${y0} c`, `${xMid - xOffset} ${y0} ${x0} ${yMid - yOffset} ${x0} ${yMid} c`, `${x0} ${yMid + yOffset} ${xMid - xOffset} ${y1} ${xMid} ${y1} c`, "h"); + if (fillColor) { + buffer.push("B"); + } else { + buffer.push("S"); + } + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } +} +class PolylineAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.POLYLINE; + this.data.hasOwnCanvas = this.data.noRotate; + this.data.vertices = []; + if (!(this instanceof PolygonAnnotation)) { + this.setLineEndings(dict.getArray("LE")); + this.data.lineEndings = this.lineEndings; + } + const rawVertices = dict.getArray("Vertices"); + if (!Array.isArray(rawVertices)) { + return; + } + for (let i = 0, ii = rawVertices.length; i < ii; i += 2) { + this.data.vertices.push({ + x: rawVertices[i], + y: rawVertices[i + 1] + }); + } + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + const borderWidth = this.borderStyle.width || 1, + borderAdjust = 2 * borderWidth; + const bbox = [Infinity, Infinity, -Infinity, -Infinity]; + for (const vertex of this.data.vertices) { + bbox[0] = Math.min(bbox[0], vertex.x - borderAdjust); + bbox[1] = Math.min(bbox[1], vertex.y - borderAdjust); + bbox[2] = Math.max(bbox[2], vertex.x + borderAdjust); + bbox[3] = Math.max(bbox[3], vertex.y + borderAdjust); + } + if (!_util.Util.intersect(this.rectangle, bbox)) { + this.rectangle = bbox; + } + this._setDefaultAppearance({ + xref, + extra: `${borderWidth} w`, + strokeColor, + strokeAlpha, + pointsCallback: (buffer, points) => { + const vertices = this.data.vertices; + for (let i = 0, ii = vertices.length; i < ii; i++) { + buffer.push(`${vertices[i].x} ${vertices[i].y} ${i === 0 ? "m" : "l"}`); + } + buffer.push("S"); + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } +} +class PolygonAnnotation extends PolylineAnnotation { + constructor(params) { + super(params); + this.data.annotationType = _util.AnnotationType.POLYGON; + } +} +class CaretAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + this.data.annotationType = _util.AnnotationType.CARET; + } +} +class InkAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + this.data.hasOwnCanvas = this.data.noRotate; + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.INK; + this.data.inkLists = []; + const rawInkLists = dict.getArray("InkList"); + if (!Array.isArray(rawInkLists)) { + return; + } + for (let i = 0, ii = rawInkLists.length; i < ii; ++i) { + this.data.inkLists.push([]); + for (let j = 0, jj = rawInkLists[i].length; j < jj; j += 2) { + this.data.inkLists[i].push({ + x: xref.fetchIfRef(rawInkLists[i][j]), + y: xref.fetchIfRef(rawInkLists[i][j + 1]) + }); + } + } + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + const borderWidth = this.borderStyle.width || 1, + borderAdjust = 2 * borderWidth; + const bbox = [Infinity, Infinity, -Infinity, -Infinity]; + for (const inkLists of this.data.inkLists) { + for (const vertex of inkLists) { + bbox[0] = Math.min(bbox[0], vertex.x - borderAdjust); + bbox[1] = Math.min(bbox[1], vertex.y - borderAdjust); + bbox[2] = Math.max(bbox[2], vertex.x + borderAdjust); + bbox[3] = Math.max(bbox[3], vertex.y + borderAdjust); + } + } + if (!_util.Util.intersect(this.rectangle, bbox)) { + this.rectangle = bbox; + } + this._setDefaultAppearance({ + xref, + extra: `${borderWidth} w`, + strokeColor, + strokeAlpha, + pointsCallback: (buffer, points) => { + for (const inkList of this.data.inkLists) { + for (let i = 0, ii = inkList.length; i < ii; i++) { + buffer.push(`${inkList[i].x} ${inkList[i].y} ${i === 0 ? "m" : "l"}`); + } + buffer.push("S"); + } + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } + static createNewDict(annotation, xref, { + apRef, + ap + }) { + const { + color, + opacity, + paths, + rect, + rotation, + thickness + } = annotation; + const ink = new _primitives.Dict(xref); + ink.set("Type", _primitives.Name.get("Annot")); + ink.set("Subtype", _primitives.Name.get("Ink")); + ink.set("CreationDate", `D:${(0, _util.getModificationDate)()}`); + ink.set("Rect", rect); + ink.set("InkList", paths.map(p => p.points)); + ink.set("F", 4); + ink.set("Rotate", rotation); + const bs = new _primitives.Dict(xref); + ink.set("BS", bs); + bs.set("W", thickness); + ink.set("C", Array.from(color, c => c / 255)); + ink.set("CA", opacity); + const n = new _primitives.Dict(xref); + ink.set("AP", n); + if (apRef) { + n.set("N", apRef); + } else { + n.set("N", ap); + } + return ink; + } + static async createNewAppearanceStream(annotation, xref, params) { + const { + color, + rect, + paths, + thickness, + opacity + } = annotation; + const appearanceBuffer = [`${thickness} w 1 J 1 j`, `${(0, _default_appearance.getPdfColor)(color, false)}`]; + if (opacity !== 1) { + appearanceBuffer.push("/R0 gs"); + } + const buffer = []; + for (const { + bezier + } of paths) { + buffer.length = 0; + buffer.push(`${(0, _core_utils.numberToString)(bezier[0])} ${(0, _core_utils.numberToString)(bezier[1])} m`); + for (let i = 2, ii = bezier.length; i < ii; i += 6) { + const curve = bezier.slice(i, i + 6).map(_core_utils.numberToString).join(" "); + buffer.push(`${curve} c`); + } + buffer.push("S"); + appearanceBuffer.push(buffer.join("\n")); + } + const appearance = appearanceBuffer.join("\n"); + const appearanceStreamDict = new _primitives.Dict(xref); + appearanceStreamDict.set("FormType", 1); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + appearanceStreamDict.set("Type", _primitives.Name.get("XObject")); + appearanceStreamDict.set("BBox", rect); + appearanceStreamDict.set("Length", appearance.length); + if (opacity !== 1) { + const resources = new _primitives.Dict(xref); + const extGState = new _primitives.Dict(xref); + const r0 = new _primitives.Dict(xref); + r0.set("CA", opacity); + r0.set("Type", _primitives.Name.get("ExtGState")); + extGState.set("R0", r0); + resources.set("ExtGState", extGState); + appearanceStreamDict.set("Resources", resources); + } + const ap = new _stream.StringStream(appearance); + ap.dict = appearanceStreamDict; + return ap; + } +} +class HighlightAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.HIGHLIGHT; + const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); + if (quadPoints) { + const resources = this.appearance?.dict.get("Resources"); + if (!this.appearance || !resources?.has("ExtGState")) { + if (this.appearance) { + (0, _util.warn)("HighlightAnnotation - ignoring built-in appearance stream."); + } + const fillColor = this.color ? getPdfColorArray(this.color) : [1, 1, 0]; + const fillAlpha = dict.get("CA"); + this._setDefaultAppearance({ + xref, + fillColor, + blendMode: "Multiply", + fillAlpha, + pointsCallback: (buffer, points) => { + buffer.push(`${points[0].x} ${points[0].y} m`, `${points[1].x} ${points[1].y} l`, `${points[3].x} ${points[3].y} l`, `${points[2].x} ${points[2].y} l`, "f"); + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } else { + this.data.popupRef = null; + } + } +} +class UnderlineAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.UNDERLINE; + const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); + if (quadPoints) { + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + this._setDefaultAppearance({ + xref, + extra: "[] 0 d 0.571 w", + strokeColor, + strokeAlpha, + pointsCallback: (buffer, points) => { + buffer.push(`${points[2].x} ${points[2].y + 1.3} m`, `${points[3].x} ${points[3].y + 1.3} l`, "S"); + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } else { + this.data.popupRef = null; + } + } +} +class SquigglyAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.SQUIGGLY; + const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); + if (quadPoints) { + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + this._setDefaultAppearance({ + xref, + extra: "[] 0 d 1 w", + strokeColor, + strokeAlpha, + pointsCallback: (buffer, points) => { + const dy = (points[0].y - points[2].y) / 6; + let shift = dy; + let x = points[2].x; + const y = points[2].y; + const xEnd = points[3].x; + buffer.push(`${x} ${y + shift} m`); + do { + x += 2; + shift = shift === 0 ? dy : 0; + buffer.push(`${x} ${y + shift} l`); + } while (x < xEnd); + buffer.push("S"); + return [points[2].x, xEnd, y - 2 * dy, y + 2 * dy]; + } + }); + } + } else { + this.data.popupRef = null; + } + } +} +class StrikeOutAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + this.data.annotationType = _util.AnnotationType.STRIKEOUT; + const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); + if (quadPoints) { + if (!this.appearance) { + const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; + const strokeAlpha = dict.get("CA"); + this._setDefaultAppearance({ + xref, + extra: "[] 0 d 1 w", + strokeColor, + strokeAlpha, + pointsCallback: (buffer, points) => { + buffer.push(`${(points[0].x + points[2].x) / 2} ` + `${(points[0].y + points[2].y) / 2} m`, `${(points[1].x + points[3].x) / 2} ` + `${(points[1].y + points[3].y) / 2} l`, "S"); + return [points[0].x, points[1].x, points[3].y, points[1].y]; + } + }); + } + } else { + this.data.popupRef = null; + } + } +} +class StampAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + this.data.annotationType = _util.AnnotationType.STAMP; + this.data.hasOwnCanvas = this.data.noRotate; + } + static async createImage(bitmap, xref) { + const { + width, + height + } = bitmap; + const canvas = new OffscreenCanvas(width, height); + const ctx = canvas.getContext("2d", { + alpha: true + }); + ctx.drawImage(bitmap, 0, 0); + const data = ctx.getImageData(0, 0, width, height).data; + const buf32 = new Uint32Array(data.buffer); + const hasAlpha = buf32.some(_util.FeatureTest.isLittleEndian ? x => x >>> 24 !== 0xff : x => (x & 0xff) !== 0xff); + if (hasAlpha) { + ctx.fillStyle = "white"; + ctx.fillRect(0, 0, width, height); + ctx.drawImage(bitmap, 0, 0); + } + const jpegBufferPromise = canvas.convertToBlob({ + type: "image/jpeg", + quality: 1 + }).then(blob => { + return blob.arrayBuffer(); + }); + const xobjectName = _primitives.Name.get("XObject"); + const imageName = _primitives.Name.get("Image"); + const image = new _primitives.Dict(xref); + image.set("Type", xobjectName); + image.set("Subtype", imageName); + image.set("BitsPerComponent", 8); + image.set("ColorSpace", _primitives.Name.get("DeviceRGB")); + image.set("Filter", _primitives.Name.get("DCTDecode")); + image.set("BBox", [0, 0, width, height]); + image.set("Width", width); + image.set("Height", height); + let smaskStream = null; + if (hasAlpha) { + const alphaBuffer = new Uint8Array(buf32.length); + if (_util.FeatureTest.isLittleEndian) { + for (let i = 0, ii = buf32.length; i < ii; i++) { + alphaBuffer[i] = buf32[i] >>> 24; + } + } else { + for (let i = 0, ii = buf32.length; i < ii; i++) { + alphaBuffer[i] = buf32[i] & 0xff; + } + } + const smask = new _primitives.Dict(xref); + smask.set("Type", xobjectName); + smask.set("Subtype", imageName); + smask.set("BitsPerComponent", 8); + smask.set("ColorSpace", _primitives.Name.get("DeviceGray")); + smask.set("Width", width); + smask.set("Height", height); + smaskStream = new _stream.Stream(alphaBuffer, 0, 0, smask); + } + const imageStream = new _stream.Stream(await jpegBufferPromise, 0, 0, image); + return { + imageStream, + smaskStream, + width, + height + }; + } + static createNewDict(annotation, xref, { + apRef, + ap + }) { + const { + rect, + rotation, + user + } = annotation; + const stamp = new _primitives.Dict(xref); + stamp.set("Type", _primitives.Name.get("Annot")); + stamp.set("Subtype", _primitives.Name.get("Stamp")); + stamp.set("CreationDate", `D:${(0, _util.getModificationDate)()}`); + stamp.set("Rect", rect); + stamp.set("F", 4); + stamp.set("Border", [0, 0, 0]); + stamp.set("Rotate", rotation); + if (user) { + stamp.set("T", (0, _core_utils.isAscii)(user) ? user : (0, _core_utils.stringToUTF16String)(user, true)); + } + if (apRef || ap) { + const n = new _primitives.Dict(xref); + stamp.set("AP", n); + if (apRef) { + n.set("N", apRef); + } else { + n.set("N", ap); + } + } + return stamp; + } + static async createNewAppearanceStream(annotation, xref, params) { + const { + rotation + } = annotation; + const { + imageRef, + width, + height + } = params; + const resources = new _primitives.Dict(xref); + const xobject = new _primitives.Dict(xref); + resources.set("XObject", xobject); + xobject.set("Im0", imageRef); + const appearance = `q ${width} 0 0 ${height} 0 0 cm /Im0 Do Q`; + const appearanceStreamDict = new _primitives.Dict(xref); + appearanceStreamDict.set("FormType", 1); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + appearanceStreamDict.set("Type", _primitives.Name.get("XObject")); + appearanceStreamDict.set("BBox", [0, 0, width, height]); + appearanceStreamDict.set("Resources", resources); + if (rotation) { + const matrix = (0, _core_utils.getRotationMatrix)(rotation, width, height); + appearanceStreamDict.set("Matrix", matrix); + } + const ap = new _stream.StringStream(appearance); + ap.dict = appearanceStreamDict; + return ap; + } +} +class FileAttachmentAnnotation extends MarkupAnnotation { + constructor(params) { + super(params); + const { + dict, + xref + } = params; + const file = new _file_spec.FileSpec(dict.get("FS"), xref); + this.data.annotationType = _util.AnnotationType.FILEATTACHMENT; + this.data.hasOwnCanvas = this.data.noRotate; + this.data.file = file.serializable; + const name = dict.get("Name"); + this.data.name = name instanceof _primitives.Name ? (0, _util.stringToPDFString)(name.name) : "PushPin"; + } +} +/***/ }), +/* 11 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FakeUnicodeFont = void 0; +exports.createDefaultAppearance = createDefaultAppearance; +exports.getPdfColor = getPdfColor; +exports.parseAppearanceStream = parseAppearanceStream; +exports.parseDefaultAppearance = parseDefaultAppearance; +var _primitives = __w_pdfjs_require__(4); +var _core_utils = __w_pdfjs_require__(3); +var _util = __w_pdfjs_require__(2); +var _colorspace = __w_pdfjs_require__(12); +var _evaluator = __w_pdfjs_require__(13); +var _stream = __w_pdfjs_require__(8); +class DefaultAppearanceEvaluator extends _evaluator.EvaluatorPreprocessor { + constructor(str) { + super(new _stream.StringStream(str)); + } + parse() { + const operation = { + fn: 0, + args: [] + }; + const result = { + fontSize: 0, + fontName: "", + fontColor: new Uint8ClampedArray(3) + }; + try { + while (true) { + operation.args.length = 0; + if (!this.read(operation)) { + break; + } + if (this.savedStatesDepth !== 0) { + continue; + } + const { + fn, + args + } = operation; + switch (fn | 0) { + case _util.OPS.setFont: + const [fontName, fontSize] = args; + if (fontName instanceof _primitives.Name) { + result.fontName = fontName.name; + } + if (typeof fontSize === "number" && fontSize > 0) { + result.fontSize = fontSize; + } + break; + case _util.OPS.setFillRGBColor: + _colorspace.ColorSpace.singletons.rgb.getRgbItem(args, 0, result.fontColor, 0); + break; + case _util.OPS.setFillGray: + _colorspace.ColorSpace.singletons.gray.getRgbItem(args, 0, result.fontColor, 0); + break; + case _util.OPS.setFillColorSpace: + _colorspace.ColorSpace.singletons.cmyk.getRgbItem(args, 0, result.fontColor, 0); + break; + } + } + } catch (reason) { + (0, _util.warn)(`parseDefaultAppearance - ignoring errors: "${reason}".`); + } + return result; + } +} +function parseDefaultAppearance(str) { + return new DefaultAppearanceEvaluator(str).parse(); +} +class AppearanceStreamEvaluator extends _evaluator.EvaluatorPreprocessor { + constructor(stream) { + super(stream); + this.stream = stream; + } + parse() { + const operation = { + fn: 0, + args: [] + }; + let result = { + scaleFactor: 1, + fontSize: 0, + fontName: "", + fontColor: new Uint8ClampedArray(3) + }; + let breakLoop = false; + const stack = []; + try { + while (true) { + operation.args.length = 0; + if (breakLoop || !this.read(operation)) { + break; + } + const { + fn, + args + } = operation; + switch (fn | 0) { + case _util.OPS.save: + stack.push({ + scaleFactor: result.scaleFactor, + fontSize: result.fontSize, + fontName: result.fontName, + fontColor: result.fontColor.slice() + }); + break; + case _util.OPS.restore: + result = stack.pop() || result; + break; + case _util.OPS.setTextMatrix: + result.scaleFactor *= Math.hypot(args[0], args[1]); + break; + case _util.OPS.setFont: + const [fontName, fontSize] = args; + if (fontName instanceof _primitives.Name) { + result.fontName = fontName.name; + } + if (typeof fontSize === "number" && fontSize > 0) { + result.fontSize = fontSize * result.scaleFactor; + } + break; + case _util.OPS.setFillRGBColor: + _colorspace.ColorSpace.singletons.rgb.getRgbItem(args, 0, result.fontColor, 0); + break; + case _util.OPS.setFillGray: + _colorspace.ColorSpace.singletons.gray.getRgbItem(args, 0, result.fontColor, 0); + break; + case _util.OPS.setFillColorSpace: + _colorspace.ColorSpace.singletons.cmyk.getRgbItem(args, 0, result.fontColor, 0); + break; + case _util.OPS.showText: + case _util.OPS.showSpacedText: + case _util.OPS.nextLineShowText: + case _util.OPS.nextLineSetSpacingShowText: + breakLoop = true; + break; + } + } + } catch (reason) { + (0, _util.warn)(`parseAppearanceStream - ignoring errors: "${reason}".`); + } + this.stream.reset(); + delete result.scaleFactor; + return result; + } +} +function parseAppearanceStream(stream) { + return new AppearanceStreamEvaluator(stream).parse(); +} +function getPdfColor(color, isFill) { + if (color[0] === color[1] && color[1] === color[2]) { + const gray = color[0] / 255; + return `${(0, _core_utils.numberToString)(gray)} ${isFill ? "g" : "G"}`; + } + return Array.from(color, c => (0, _core_utils.numberToString)(c / 255)).join(" ") + ` ${isFill ? "rg" : "RG"}`; +} +function createDefaultAppearance({ + fontSize, + fontName, + fontColor +}) { + return `/${(0, _core_utils.escapePDFName)(fontName)} ${fontSize} Tf ${getPdfColor(fontColor, true)}`; +} +class FakeUnicodeFont { + constructor(xref, fontFamily) { + this.xref = xref; + this.widths = null; + this.firstChar = Infinity; + this.lastChar = -Infinity; + this.fontFamily = fontFamily; + const canvas = new OffscreenCanvas(1, 1); + this.ctxMeasure = canvas.getContext("2d"); + if (!FakeUnicodeFont._fontNameId) { + FakeUnicodeFont._fontNameId = 1; + } + this.fontName = _primitives.Name.get(`InvalidPDFjsFont_${fontFamily}_${FakeUnicodeFont._fontNameId++}`); + } + get toUnicodeRef() { + if (!FakeUnicodeFont._toUnicodeRef) { + const toUnicode = `/CIDInit /ProcSet findresource begin +12 dict begin +begincmap +/CIDSystemInfo +<< /Registry (Adobe) +/Ordering (UCS) /Supplement 0 >> def +/CMapName /Adobe-Identity-UCS def +/CMapType 2 def +1 begincodespacerange +<0000> +endcodespacerange +1 beginbfrange +<0000> <0000> +endbfrange +endcmap CMapName currentdict /CMap defineresource pop end end`; + const toUnicodeStream = FakeUnicodeFont.toUnicodeStream = new _stream.StringStream(toUnicode); + const toUnicodeDict = new _primitives.Dict(this.xref); + toUnicodeStream.dict = toUnicodeDict; + toUnicodeDict.set("Length", toUnicode.length); + FakeUnicodeFont._toUnicodeRef = this.xref.getNewPersistentRef(toUnicodeStream); + } + return FakeUnicodeFont._toUnicodeRef; + } + get fontDescriptorRef() { + if (!FakeUnicodeFont._fontDescriptorRef) { + const fontDescriptor = new _primitives.Dict(this.xref); + fontDescriptor.set("Type", _primitives.Name.get("FontDescriptor")); + fontDescriptor.set("FontName", this.fontName); + fontDescriptor.set("FontFamily", "MyriadPro Regular"); + fontDescriptor.set("FontBBox", [0, 0, 0, 0]); + fontDescriptor.set("FontStretch", _primitives.Name.get("Normal")); + fontDescriptor.set("FontWeight", 400); + fontDescriptor.set("ItalicAngle", 0); + FakeUnicodeFont._fontDescriptorRef = this.xref.getNewPersistentRef(fontDescriptor); + } + return FakeUnicodeFont._fontDescriptorRef; + } + get descendantFontRef() { + const descendantFont = new _primitives.Dict(this.xref); + descendantFont.set("BaseFont", this.fontName); + descendantFont.set("Type", _primitives.Name.get("Font")); + descendantFont.set("Subtype", _primitives.Name.get("CIDFontType0")); + descendantFont.set("CIDToGIDMap", _primitives.Name.get("Identity")); + descendantFont.set("FirstChar", this.firstChar); + descendantFont.set("LastChar", this.lastChar); + descendantFont.set("FontDescriptor", this.fontDescriptorRef); + descendantFont.set("DW", 1000); + const widths = []; + const chars = [...this.widths.entries()].sort(); + let currentChar = null; + let currentWidths = null; + for (const [char, width] of chars) { + if (!currentChar) { + currentChar = char; + currentWidths = [width]; + continue; + } + if (char === currentChar + currentWidths.length) { + currentWidths.push(width); + } else { + widths.push(currentChar, currentWidths); + currentChar = char; + currentWidths = [width]; + } + } + if (currentChar) { + widths.push(currentChar, currentWidths); + } + descendantFont.set("W", widths); + const cidSystemInfo = new _primitives.Dict(this.xref); + cidSystemInfo.set("Ordering", "Identity"); + cidSystemInfo.set("Registry", "Adobe"); + cidSystemInfo.set("Supplement", 0); + descendantFont.set("CIDSystemInfo", cidSystemInfo); + return this.xref.getNewPersistentRef(descendantFont); + } + get baseFontRef() { + const baseFont = new _primitives.Dict(this.xref); + baseFont.set("BaseFont", this.fontName); + baseFont.set("Type", _primitives.Name.get("Font")); + baseFont.set("Subtype", _primitives.Name.get("Type0")); + baseFont.set("Encoding", _primitives.Name.get("Identity-H")); + baseFont.set("DescendantFonts", [this.descendantFontRef]); + baseFont.set("ToUnicode", this.toUnicodeRef); + return this.xref.getNewPersistentRef(baseFont); + } + get resources() { + const resources = new _primitives.Dict(this.xref); + const font = new _primitives.Dict(this.xref); + font.set(this.fontName.name, this.baseFontRef); + resources.set("Font", font); + return resources; + } + _createContext() { + this.widths = new Map(); + this.ctxMeasure.font = `1000px ${this.fontFamily}`; + return this.ctxMeasure; + } + createFontResources(text) { + const ctx = this._createContext(); + for (const line of text.split(/\r\n?|\n/)) { + for (const char of line.split("")) { + const code = char.charCodeAt(0); + if (this.widths.has(code)) { + continue; + } + const metrics = ctx.measureText(char); + const width = Math.ceil(metrics.width); + this.widths.set(code, width); + this.firstChar = Math.min(code, this.firstChar); + this.lastChar = Math.max(code, this.lastChar); + } + } + return this.resources; + } + createAppearance(text, rect, rotation, fontSize, bgColor, strokeAlpha) { + const ctx = this._createContext(); + const lines = []; + let maxWidth = -Infinity; + for (const line of text.split(/\r\n?|\n/)) { + lines.push(line); + const lineWidth = ctx.measureText(line).width; + maxWidth = Math.max(maxWidth, lineWidth); + for (const char of line.split("")) { + const code = char.charCodeAt(0); + let width = this.widths.get(code); + if (width === undefined) { + const metrics = ctx.measureText(char); + width = Math.ceil(metrics.width); + this.widths.set(code, width); + this.firstChar = Math.min(code, this.firstChar); + this.lastChar = Math.max(code, this.lastChar); + } + } + } + maxWidth *= fontSize / 1000; + const [x1, y1, x2, y2] = rect; + let w = x2 - x1; + let h = y2 - y1; + if (rotation % 180 !== 0) { + [w, h] = [h, w]; + } + let hscale = 1; + if (maxWidth > w) { + hscale = w / maxWidth; + } + let vscale = 1; + const lineHeight = _util.LINE_FACTOR * fontSize; + const lineDescent = _util.LINE_DESCENT_FACTOR * fontSize; + const maxHeight = lineHeight * lines.length; + if (maxHeight > h) { + vscale = h / maxHeight; + } + const fscale = Math.min(hscale, vscale); + const newFontSize = fontSize * fscale; + const buffer = ["q", `0 0 ${(0, _core_utils.numberToString)(w)} ${(0, _core_utils.numberToString)(h)} re W n`, `BT`, `1 0 0 1 0 ${(0, _core_utils.numberToString)(h + lineDescent)} Tm 0 Tc ${getPdfColor(bgColor, true)}`, `/${this.fontName.name} ${(0, _core_utils.numberToString)(newFontSize)} Tf`]; + const { + resources + } = this; + strokeAlpha = typeof strokeAlpha === "number" && strokeAlpha >= 0 && strokeAlpha <= 1 ? strokeAlpha : 1; + if (strokeAlpha !== 1) { + buffer.push("/R0 gs"); + const extGState = new _primitives.Dict(this.xref); + const r0 = new _primitives.Dict(this.xref); + r0.set("ca", strokeAlpha); + r0.set("CA", strokeAlpha); + r0.set("Type", _primitives.Name.get("ExtGState")); + extGState.set("R0", r0); + resources.set("ExtGState", extGState); + } + const vShift = (0, _core_utils.numberToString)(lineHeight); + for (const line of lines) { + buffer.push(`0 -${vShift} Td <${(0, _core_utils.stringToUTF16HexString)(line)}> Tj`); + } + buffer.push("ET", "Q"); + const appearance = buffer.join("\n"); + const appearanceStreamDict = new _primitives.Dict(this.xref); + appearanceStreamDict.set("Subtype", _primitives.Name.get("Form")); + appearanceStreamDict.set("Type", _primitives.Name.get("XObject")); + appearanceStreamDict.set("BBox", [0, 0, w, h]); + appearanceStreamDict.set("Length", appearance.length); + appearanceStreamDict.set("Resources", resources); + if (rotation) { + const matrix = (0, _core_utils.getRotationMatrix)(rotation, w, h); + appearanceStreamDict.set("Matrix", matrix); + } + const ap = new _stream.StringStream(appearance); + ap.dict = appearanceStreamDict; + return ap; + } +} +exports.FakeUnicodeFont = FakeUnicodeFont; + +/***/ }), +/* 12 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ColorSpace = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _base_stream = __w_pdfjs_require__(5); +var _core_utils = __w_pdfjs_require__(3); function resizeRgbImage(src, dest, w1, h1, w2, h2, alpha01) { const COMPONENTS = 3; alpha01 = alpha01 !== 1 ? 0 : alpha01; @@ -6675,7 +7794,7 @@ function resizeRgbImage(src, dest, w1, h1, w2, h2, alpha01) { class ColorSpace { constructor(name, numComps) { if (this.constructor === ColorSpace) { - unreachable("Cannot initialize ColorSpace."); + (0, _util.unreachable)("Cannot initialize ColorSpace."); } this.name = name; this.numComps = numComps; @@ -6686,13 +7805,13 @@ class ColorSpace { return rgb; } getRgbItem(src, srcOffset, dest, destOffset) { - unreachable("Should not call ColorSpace.getRgbItem"); + (0, _util.unreachable)("Should not call ColorSpace.getRgbItem"); } getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { - unreachable("Should not call ColorSpace.getRgbBuffer"); + (0, _util.unreachable)("Should not call ColorSpace.getRgbBuffer"); } getOutputLength(inputLength, alpha01) { - unreachable("Should not call ColorSpace.getOutputLength"); + (0, _util.unreachable)("Should not call ColorSpace.getOutputLength"); } isPassthrough(bits) { return false; @@ -6733,11 +7852,13 @@ class ColorSpace { rgbBuf[rgbPos++] = colorMap[key + 2]; } } - } else if (!needsResizing) { - this.getRgbBuffer(comps, 0, width * actualHeight, dest, 0, bpc, alpha01); } else { - rgbBuf = new Uint8ClampedArray(count * 3); - this.getRgbBuffer(comps, 0, count, rgbBuf, 0, bpc, 0); + if (!needsResizing) { + this.getRgbBuffer(comps, 0, width * actualHeight, dest, 0, bpc, alpha01); + } else { + rgbBuf = new Uint8ClampedArray(count * 3); + this.getRgbBuffer(comps, 0, count, rgbBuf, 0, bpc, 0); + } } if (rgbBuf) { if (needsResizing) { @@ -6755,7 +7876,7 @@ class ColorSpace { } } get usesZeroToOneRange() { - return shadow(this, "usesZeroToOneRange", true); + return (0, _util.shadow)(this, "usesZeroToOneRange", true); } static _cache(cacheKey, xref, localColorSpaceCache, parsedColorSpace) { if (!localColorSpaceCache) { @@ -6765,11 +7886,11 @@ class ColorSpace { throw new Error('ColorSpace._cache - expected "parsedColorSpace" argument.'); } let csName, csRef; - if (cacheKey instanceof Ref) { + if (cacheKey instanceof _primitives.Ref) { csRef = cacheKey; cacheKey = xref.fetch(cacheKey); } - if (cacheKey instanceof Name) { + if (cacheKey instanceof _primitives.Name) { csName = cacheKey.name; } if (csName || csRef) { @@ -6780,7 +7901,7 @@ class ColorSpace { if (!localColorSpaceCache) { throw new Error('ColorSpace.getCached - expected "localColorSpaceCache" argument.'); } - if (cacheKey instanceof Ref) { + if (cacheKey instanceof _primitives.Ref) { const localColorSpace = localColorSpaceCache.getByRef(cacheKey); if (localColorSpace) { return localColorSpace; @@ -6788,12 +7909,12 @@ class ColorSpace { try { cacheKey = xref.fetch(cacheKey); } catch (ex) { - if (ex instanceof MissingDataException) { + if (ex instanceof _core_utils.MissingDataException) { throw ex; } } } - if (cacheKey instanceof Name) { + if (cacheKey instanceof _primitives.Name) { const localColorSpace = localColorSpaceCache.getByName(cacheKey.name); if (localColorSpace) { return localColorSpace; @@ -6829,7 +7950,7 @@ class ColorSpace { } static _parse(cs, xref, resources = null, pdfFunctionFactory) { cs = xref.fetchIfRef(cs); - if (cs instanceof Name) { + if (cs instanceof _primitives.Name) { switch (cs.name) { case "G": case "DeviceGray": @@ -6843,12 +7964,12 @@ class ColorSpace { case "Pattern": return new PatternCS(null); default: - if (resources instanceof Dict) { + if (resources instanceof _primitives.Dict) { const colorSpaces = resources.get("ColorSpace"); - if (colorSpaces instanceof Dict) { + if (colorSpaces instanceof _primitives.Dict) { const resourcesCS = colorSpaces.get(cs.name); if (resourcesCS) { - if (resourcesCS instanceof Name) { + if (resourcesCS instanceof _primitives.Name) { return this._parse(resourcesCS, xref, resources, pdfFunctionFactory); } cs = resourcesCS; @@ -6856,7 +7977,7 @@ class ColorSpace { } } } - throw new FormatError(`Unrecognized ColorSpace: ${cs.name}`); + throw new _util.FormatError(`Unrecognized ColorSpace: ${cs.name}`); } } if (Array.isArray(cs)) { @@ -6895,7 +8016,7 @@ class ColorSpace { if (altCS.numComps === numComps) { return altCS; } - warn("ICCBased color space: Ignoring incorrect /Alternate entry."); + (0, _util.warn)("ICCBased color space: Ignoring incorrect /Alternate entry."); } if (numComps === 1) { return this.singletons.gray; @@ -6931,17 +8052,17 @@ class ColorSpace { const range = params.getArray("Range"); return new LabCS(whitePoint, blackPoint, range); default: - throw new FormatError(`Unimplemented ColorSpace object: ${mode}`); + throw new _util.FormatError(`Unimplemented ColorSpace object: ${mode}`); } } - throw new FormatError(`Unrecognized ColorSpace object: ${cs}`); + throw new _util.FormatError(`Unrecognized ColorSpace object: ${cs}`); } static isDefaultDecode(decode, numComps) { if (!Array.isArray(decode)) { return true; } if (numComps * 2 !== decode.length) { - warn("The decode map is not the correct length"); + (0, _util.warn)("The decode map is not the correct length"); return true; } for (let i = 0, ii = decode.length; i < ii; i += 2) { @@ -6952,19 +8073,20 @@ class ColorSpace { return true; } static get singletons() { - return shadow(this, "singletons", { + return (0, _util.shadow)(this, "singletons", { get gray() { - return shadow(this, "gray", new DeviceGrayCS()); + return (0, _util.shadow)(this, "gray", new DeviceGrayCS()); }, get rgb() { - return shadow(this, "rgb", new DeviceRgbCS()); + return (0, _util.shadow)(this, "rgb", new DeviceRgbCS()); }, get cmyk() { - return shadow(this, "cmyk", new DeviceCmykCS()); + return (0, _util.shadow)(this, "cmyk", new DeviceCmykCS()); } }); } } +exports.ColorSpace = ColorSpace; class AlternateCS extends ColorSpace { constructor(numComps, base, tintFn) { super("Alternate", numComps); @@ -7018,7 +8140,7 @@ class PatternCS extends ColorSpace { this.base = baseCS; } isDefaultDecode(decodeMap, bpc) { - unreachable("Should not call PatternCS.isDefaultDecode"); + (0, _util.unreachable)("Should not call PatternCS.isDefaultDecode"); } } class IndexedCS extends ColorSpace { @@ -7028,7 +8150,7 @@ class IndexedCS extends ColorSpace { this.highVal = highVal; const length = base.numComps * highVal; this.lookup = new Uint8Array(length); - if (lookup instanceof BaseStream) { + if (lookup instanceof _base_stream.BaseStream) { const bytes = lookup.getBytes(length); this.lookup.set(bytes); } else if (typeof lookup === "string") { @@ -7036,7 +8158,7 @@ class IndexedCS extends ColorSpace { this.lookup[i] = lookup.charCodeAt(i) & 0xff; } } else { - throw new FormatError(`IndexedCS - unrecognized lookup table: ${lookup}`); + throw new _util.FormatError(`IndexedCS - unrecognized lookup table: ${lookup}`); } } getRgbItem(src, srcOffset, dest, destOffset) { @@ -7063,11 +8185,11 @@ class IndexedCS extends ColorSpace { return true; } if (decodeMap.length !== 2) { - warn("Decode map length is not correct"); + (0, _util.warn)("Decode map length is not correct"); return true; } if (!Number.isInteger(bpc) || bpc < 1) { - warn("Bits per component is not correct"); + (0, _util.warn)("Bits per component is not correct"); return true; } return decodeMap[0] === 0 && decodeMap[1] === (1 << bpc) - 1; @@ -7128,11 +8250,8 @@ class DeviceRgbCS extends ColorSpace { return bits === 8; } } -class DeviceCmykCS extends ColorSpace { - constructor() { - super("DeviceCMYK", 4); - } - #toRgb(src, srcOffset, srcScale, dest, destOffset) { +const DeviceCmykCS = function DeviceCmykCSClosure() { + function convertToRgb(src, srcOffset, srcScale, dest, destOffset) { const c = src[srcOffset] * srcScale; const m = src[srcOffset + 1] * srcScale; const y = src[srcOffset + 2] * srcScale; @@ -7141,110 +8260,104 @@ class DeviceCmykCS extends ColorSpace { dest[destOffset + 1] = 255 + c * (8.841041422036149 * c + 60.118027045597366 * m + 6.871425592049007 * y + 31.159100130055922 * k + -79.2970844816548) + m * (-15.310361306967817 * m + 17.575251261109482 * y + 131.35250912493976 * k - 190.9453302588951) + y * (4.444339102852739 * y + 9.8632861493405 * k - 24.86741582555878) + k * (-20.737325471181034 * k - 187.80453709719578); dest[destOffset + 2] = 255 + c * (0.8842522430003296 * c + 8.078677503112928 * m + 30.89978309703729 * y - 0.23883238689178934 * k + -14.183576799673286) + m * (10.49593273432072 * m + 63.02378494754052 * y + 50.606957656360734 * k - 112.23884253719248) + y * (0.03296041114873217 * y + 115.60384449646641 * k + -193.58209356861505) + k * (-22.33816807309886 * k - 180.12613974708367); } - getRgbItem(src, srcOffset, dest, destOffset) { - this.#toRgb(src, srcOffset, 1, dest, destOffset); - } - getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { - const scale = 1 / ((1 << bits) - 1); - for (let i = 0; i < count; i++) { - this.#toRgb(src, srcOffset, scale, dest, destOffset); - srcOffset += 4; - destOffset += 3 + alpha01; + class DeviceCmykCS extends ColorSpace { + constructor() { + super("DeviceCMYK", 4); + } + getRgbItem(src, srcOffset, dest, destOffset) { + convertToRgb(src, srcOffset, 1, dest, destOffset); + } + getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { + const scale = 1 / ((1 << bits) - 1); + for (let i = 0; i < count; i++) { + convertToRgb(src, srcOffset, scale, dest, destOffset); + srcOffset += 4; + destOffset += 3 + alpha01; + } + } + getOutputLength(inputLength, alpha01) { + return inputLength / 4 * (3 + alpha01) | 0; } } - getOutputLength(inputLength, alpha01) { - return inputLength / 4 * (3 + alpha01) | 0; - } -} -class CalGrayCS extends ColorSpace { - constructor(whitePoint, blackPoint, gamma) { - super("CalGray", 1); - if (!whitePoint) { - throw new FormatError("WhitePoint missing - required for color space CalGray"); - } - [this.XW, this.YW, this.ZW] = whitePoint; - [this.XB, this.YB, this.ZB] = blackPoint || [0, 0, 0]; - this.G = gamma || 1; - if (this.XW < 0 || this.ZW < 0 || this.YW !== 1) { - throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`); - } - if (this.XB < 0 || this.YB < 0 || this.ZB < 0) { - info(`Invalid BlackPoint for ${this.name}, falling back to default.`); - this.XB = this.YB = this.ZB = 0; - } - if (this.XB !== 0 || this.YB !== 0 || this.ZB !== 0) { - warn(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ` + `ZB: ${this.ZB}, only default values are supported.`); - } - if (this.G < 1) { - info(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`); - this.G = 1; - } - } - #toRgb(src, srcOffset, dest, destOffset, scale) { + return DeviceCmykCS; +}(); +const CalGrayCS = function CalGrayCSClosure() { + function convertToRgb(cs, src, srcOffset, dest, destOffset, scale) { const A = src[srcOffset] * scale; - const AG = A ** this.G; - const L = this.YW * AG; + const AG = A ** cs.G; + const L = cs.YW * AG; const val = Math.max(295.8 * L ** 0.3333333333333333 - 40.8, 0); dest[destOffset] = val; dest[destOffset + 1] = val; dest[destOffset + 2] = val; } - getRgbItem(src, srcOffset, dest, destOffset) { - this.#toRgb(src, srcOffset, dest, destOffset, 1); - } - getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { - const scale = 1 / ((1 << bits) - 1); - for (let i = 0; i < count; ++i) { - this.#toRgb(src, srcOffset, dest, destOffset, scale); - srcOffset += 1; - destOffset += 3 + alpha01; + class CalGrayCS extends ColorSpace { + constructor(whitePoint, blackPoint, gamma) { + super("CalGray", 1); + if (!whitePoint) { + throw new _util.FormatError("WhitePoint missing - required for color space CalGray"); + } + blackPoint ||= [0, 0, 0]; + gamma ||= 1; + this.XW = whitePoint[0]; + this.YW = whitePoint[1]; + this.ZW = whitePoint[2]; + this.XB = blackPoint[0]; + this.YB = blackPoint[1]; + this.ZB = blackPoint[2]; + this.G = gamma; + if (this.XW < 0 || this.ZW < 0 || this.YW !== 1) { + throw new _util.FormatError(`Invalid WhitePoint components for ${this.name}` + ", no fallback available"); + } + if (this.XB < 0 || this.YB < 0 || this.ZB < 0) { + (0, _util.info)(`Invalid BlackPoint for ${this.name}, falling back to default.`); + this.XB = this.YB = this.ZB = 0; + } + if (this.XB !== 0 || this.YB !== 0 || this.ZB !== 0) { + (0, _util.warn)(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ` + `ZB: ${this.ZB}, only default values are supported.`); + } + if (this.G < 1) { + (0, _util.info)(`Invalid Gamma: ${this.G} for ${this.name}, ` + "falling back to default."); + this.G = 1; + } + } + getRgbItem(src, srcOffset, dest, destOffset) { + convertToRgb(this, src, srcOffset, dest, destOffset, 1); + } + getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { + const scale = 1 / ((1 << bits) - 1); + for (let i = 0; i < count; ++i) { + convertToRgb(this, src, srcOffset, dest, destOffset, scale); + srcOffset += 1; + destOffset += 3 + alpha01; + } + } + getOutputLength(inputLength, alpha01) { + return inputLength * (3 + alpha01); } } - getOutputLength(inputLength, alpha01) { - return inputLength * (3 + alpha01); - } -} -class CalRGBCS extends ColorSpace { - static #BRADFORD_SCALE_MATRIX = new Float32Array([0.8951, 0.2664, -0.1614, -0.7502, 1.7135, 0.0367, 0.0389, -0.0685, 1.0296]); - static #BRADFORD_SCALE_INVERSE_MATRIX = new Float32Array([0.9869929, -0.1470543, 0.1599627, 0.4323053, 0.5183603, 0.0492912, -0.0085287, 0.0400428, 0.9684867]); - static #SRGB_D65_XYZ_TO_RGB_MATRIX = new Float32Array([3.2404542, -1.5371385, -0.4985314, -0.9692660, 1.8760108, 0.0415560, 0.0556434, -0.2040259, 1.0572252]); - static #FLAT_WHITEPOINT_MATRIX = new Float32Array([1, 1, 1]); - static #tempNormalizeMatrix = new Float32Array(3); - static #tempConvertMatrix1 = new Float32Array(3); - static #tempConvertMatrix2 = new Float32Array(3); - static #DECODE_L_CONSTANT = ((8 + 16) / 116) ** 3 / 8.0; - constructor(whitePoint, blackPoint, gamma, matrix) { - super("CalRGB", 3); - if (!whitePoint) { - throw new FormatError("WhitePoint missing - required for color space CalRGB"); - } - const [XW, YW, ZW] = this.whitePoint = whitePoint; - const [XB, YB, ZB] = this.blackPoint = blackPoint || new Float32Array(3); - [this.GR, this.GG, this.GB] = gamma || new Float32Array([1, 1, 1]); - [this.MXA, this.MYA, this.MZA, this.MXB, this.MYB, this.MZB, this.MXC, this.MYC, this.MZC] = matrix || new Float32Array([1, 0, 0, 0, 1, 0, 0, 0, 1]); - if (XW < 0 || ZW < 0 || YW !== 1) { - throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`); - } - if (XB < 0 || YB < 0 || ZB < 0) { - info(`Invalid BlackPoint for ${this.name} [${XB}, ${YB}, ${ZB}], ` + "falling back to default."); - this.blackPoint = new Float32Array(3); - } - if (this.GR < 0 || this.GG < 0 || this.GB < 0) { - info(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ` + `${this.name}, falling back to default.`); - this.GR = this.GG = this.GB = 1; - } - } - #matrixProduct(a, b, result) { + return CalGrayCS; +}(); +const CalRGBCS = function CalRGBCSClosure() { + const BRADFORD_SCALE_MATRIX = new Float32Array([0.8951, 0.2664, -0.1614, -0.7502, 1.7135, 0.0367, 0.0389, -0.0685, 1.0296]); + const BRADFORD_SCALE_INVERSE_MATRIX = new Float32Array([0.9869929, -0.1470543, 0.1599627, 0.4323053, 0.5183603, 0.0492912, -0.0085287, 0.0400428, 0.9684867]); + const SRGB_D65_XYZ_TO_RGB_MATRIX = new Float32Array([3.2404542, -1.5371385, -0.4985314, -0.9692660, 1.8760108, 0.0415560, 0.0556434, -0.2040259, 1.0572252]); + const FLAT_WHITEPOINT_MATRIX = new Float32Array([1, 1, 1]); + const tempNormalizeMatrix = new Float32Array(3); + const tempConvertMatrix1 = new Float32Array(3); + const tempConvertMatrix2 = new Float32Array(3); + const DECODE_L_CONSTANT = ((8 + 16) / 116) ** 3 / 8.0; + function matrixProduct(a, b, result) { result[0] = a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; result[1] = a[3] * b[0] + a[4] * b[1] + a[5] * b[2]; result[2] = a[6] * b[0] + a[7] * b[1] + a[8] * b[2]; } - #toFlat(sourceWhitePoint, LMS, result) { + function convertToFlat(sourceWhitePoint, LMS, result) { result[0] = LMS[0] * 1 / sourceWhitePoint[0]; result[1] = LMS[1] * 1 / sourceWhitePoint[1]; result[2] = LMS[2] * 1 / sourceWhitePoint[2]; } - #toD65(sourceWhitePoint, LMS, result) { + function convertToD65(sourceWhitePoint, LMS, result) { const D65X = 0.95047; const D65Y = 1; const D65Z = 1.08883; @@ -7252,41 +8365,41 @@ class CalRGBCS extends ColorSpace { result[1] = LMS[1] * D65Y / sourceWhitePoint[1]; result[2] = LMS[2] * D65Z / sourceWhitePoint[2]; } - #sRGBTransferFunction(color) { + function sRGBTransferFunction(color) { if (color <= 0.0031308) { - return this.#adjustToRange(0, 1, 12.92 * color); + return adjustToRange(0, 1, 12.92 * color); } if (color >= 0.99554525) { return 1; } - return this.#adjustToRange(0, 1, (1 + 0.055) * color ** (1 / 2.4) - 0.055); + return adjustToRange(0, 1, (1 + 0.055) * color ** (1 / 2.4) - 0.055); } - #adjustToRange(min, max, value) { + function adjustToRange(min, max, value) { return Math.max(min, Math.min(max, value)); } - #decodeL(L) { + function decodeL(L) { if (L < 0) { - return -this.#decodeL(-L); + return -decodeL(-L); } if (L > 8.0) { return ((L + 16) / 116) ** 3; } - return L * CalRGBCS.#DECODE_L_CONSTANT; + return L * DECODE_L_CONSTANT; } - #compensateBlackPoint(sourceBlackPoint, XYZ_Flat, result) { + function compensateBlackPoint(sourceBlackPoint, XYZ_Flat, result) { if (sourceBlackPoint[0] === 0 && sourceBlackPoint[1] === 0 && sourceBlackPoint[2] === 0) { result[0] = XYZ_Flat[0]; result[1] = XYZ_Flat[1]; result[2] = XYZ_Flat[2]; return; } - const zeroDecodeL = this.#decodeL(0); + const zeroDecodeL = decodeL(0); const X_DST = zeroDecodeL; - const X_SRC = this.#decodeL(sourceBlackPoint[0]); + const X_SRC = decodeL(sourceBlackPoint[0]); const Y_DST = zeroDecodeL; - const Y_SRC = this.#decodeL(sourceBlackPoint[1]); + const Y_SRC = decodeL(sourceBlackPoint[1]); const Z_DST = zeroDecodeL; - const Z_SRC = this.#decodeL(sourceBlackPoint[2]); + const Z_SRC = decodeL(sourceBlackPoint[2]); const X_Scale = (1 - X_DST) / (1 - X_SRC); const X_Offset = 1 - X_Scale; const Y_Scale = (1 - Y_DST) / (1 - Y_SRC); @@ -7297,7 +8410,7 @@ class CalRGBCS extends ColorSpace { result[1] = XYZ_Flat[1] * Y_Scale + Y_Offset; result[2] = XYZ_Flat[2] * Z_Scale + Z_Offset; } - #normalizeWhitePointToFlat(sourceWhitePoint, XYZ_In, result) { + function normalizeWhitePointToFlat(sourceWhitePoint, XYZ_In, result) { if (sourceWhitePoint[0] === 1 && sourceWhitePoint[2] === 1) { result[0] = XYZ_In[0]; result[1] = XYZ_In[1]; @@ -7305,116 +8418,142 @@ class CalRGBCS extends ColorSpace { return; } const LMS = result; - this.#matrixProduct(CalRGBCS.#BRADFORD_SCALE_MATRIX, XYZ_In, LMS); - const LMS_Flat = CalRGBCS.#tempNormalizeMatrix; - this.#toFlat(sourceWhitePoint, LMS, LMS_Flat); - this.#matrixProduct(CalRGBCS.#BRADFORD_SCALE_INVERSE_MATRIX, LMS_Flat, result); + matrixProduct(BRADFORD_SCALE_MATRIX, XYZ_In, LMS); + const LMS_Flat = tempNormalizeMatrix; + convertToFlat(sourceWhitePoint, LMS, LMS_Flat); + matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX, LMS_Flat, result); } - #normalizeWhitePointToD65(sourceWhitePoint, XYZ_In, result) { + function normalizeWhitePointToD65(sourceWhitePoint, XYZ_In, result) { const LMS = result; - this.#matrixProduct(CalRGBCS.#BRADFORD_SCALE_MATRIX, XYZ_In, LMS); - const LMS_D65 = CalRGBCS.#tempNormalizeMatrix; - this.#toD65(sourceWhitePoint, LMS, LMS_D65); - this.#matrixProduct(CalRGBCS.#BRADFORD_SCALE_INVERSE_MATRIX, LMS_D65, result); + matrixProduct(BRADFORD_SCALE_MATRIX, XYZ_In, LMS); + const LMS_D65 = tempNormalizeMatrix; + convertToD65(sourceWhitePoint, LMS, LMS_D65); + matrixProduct(BRADFORD_SCALE_INVERSE_MATRIX, LMS_D65, result); } - #toRgb(src, srcOffset, dest, destOffset, scale) { - const A = this.#adjustToRange(0, 1, src[srcOffset] * scale); - const B = this.#adjustToRange(0, 1, src[srcOffset + 1] * scale); - const C = this.#adjustToRange(0, 1, src[srcOffset + 2] * scale); - const AGR = A === 1 ? 1 : A ** this.GR; - const BGG = B === 1 ? 1 : B ** this.GG; - const CGB = C === 1 ? 1 : C ** this.GB; - const X = this.MXA * AGR + this.MXB * BGG + this.MXC * CGB; - const Y = this.MYA * AGR + this.MYB * BGG + this.MYC * CGB; - const Z = this.MZA * AGR + this.MZB * BGG + this.MZC * CGB; - const XYZ = CalRGBCS.#tempConvertMatrix1; + function convertToRgb(cs, src, srcOffset, dest, destOffset, scale) { + const A = adjustToRange(0, 1, src[srcOffset] * scale); + const B = adjustToRange(0, 1, src[srcOffset + 1] * scale); + const C = adjustToRange(0, 1, src[srcOffset + 2] * scale); + const AGR = A === 1 ? 1 : A ** cs.GR; + const BGG = B === 1 ? 1 : B ** cs.GG; + const CGB = C === 1 ? 1 : C ** cs.GB; + const X = cs.MXA * AGR + cs.MXB * BGG + cs.MXC * CGB; + const Y = cs.MYA * AGR + cs.MYB * BGG + cs.MYC * CGB; + const Z = cs.MZA * AGR + cs.MZB * BGG + cs.MZC * CGB; + const XYZ = tempConvertMatrix1; XYZ[0] = X; XYZ[1] = Y; XYZ[2] = Z; - const XYZ_Flat = CalRGBCS.#tempConvertMatrix2; - this.#normalizeWhitePointToFlat(this.whitePoint, XYZ, XYZ_Flat); - const XYZ_Black = CalRGBCS.#tempConvertMatrix1; - this.#compensateBlackPoint(this.blackPoint, XYZ_Flat, XYZ_Black); - const XYZ_D65 = CalRGBCS.#tempConvertMatrix2; - this.#normalizeWhitePointToD65(CalRGBCS.#FLAT_WHITEPOINT_MATRIX, XYZ_Black, XYZ_D65); - const SRGB = CalRGBCS.#tempConvertMatrix1; - this.#matrixProduct(CalRGBCS.#SRGB_D65_XYZ_TO_RGB_MATRIX, XYZ_D65, SRGB); - dest[destOffset] = this.#sRGBTransferFunction(SRGB[0]) * 255; - dest[destOffset + 1] = this.#sRGBTransferFunction(SRGB[1]) * 255; - dest[destOffset + 2] = this.#sRGBTransferFunction(SRGB[2]) * 255; + const XYZ_Flat = tempConvertMatrix2; + normalizeWhitePointToFlat(cs.whitePoint, XYZ, XYZ_Flat); + const XYZ_Black = tempConvertMatrix1; + compensateBlackPoint(cs.blackPoint, XYZ_Flat, XYZ_Black); + const XYZ_D65 = tempConvertMatrix2; + normalizeWhitePointToD65(FLAT_WHITEPOINT_MATRIX, XYZ_Black, XYZ_D65); + const SRGB = tempConvertMatrix1; + matrixProduct(SRGB_D65_XYZ_TO_RGB_MATRIX, XYZ_D65, SRGB); + dest[destOffset] = sRGBTransferFunction(SRGB[0]) * 255; + dest[destOffset + 1] = sRGBTransferFunction(SRGB[1]) * 255; + dest[destOffset + 2] = sRGBTransferFunction(SRGB[2]) * 255; } - getRgbItem(src, srcOffset, dest, destOffset) { - this.#toRgb(src, srcOffset, dest, destOffset, 1); - } - getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { - const scale = 1 / ((1 << bits) - 1); - for (let i = 0; i < count; ++i) { - this.#toRgb(src, srcOffset, dest, destOffset, scale); - srcOffset += 3; - destOffset += 3 + alpha01; + class CalRGBCS extends ColorSpace { + constructor(whitePoint, blackPoint, gamma, matrix) { + super("CalRGB", 3); + if (!whitePoint) { + throw new _util.FormatError("WhitePoint missing - required for color space CalRGB"); + } + blackPoint ||= new Float32Array(3); + gamma ||= new Float32Array([1, 1, 1]); + matrix ||= new Float32Array([1, 0, 0, 0, 1, 0, 0, 0, 1]); + const XW = whitePoint[0]; + const YW = whitePoint[1]; + const ZW = whitePoint[2]; + this.whitePoint = whitePoint; + const XB = blackPoint[0]; + const YB = blackPoint[1]; + const ZB = blackPoint[2]; + this.blackPoint = blackPoint; + this.GR = gamma[0]; + this.GG = gamma[1]; + this.GB = gamma[2]; + this.MXA = matrix[0]; + this.MYA = matrix[1]; + this.MZA = matrix[2]; + this.MXB = matrix[3]; + this.MYB = matrix[4]; + this.MZB = matrix[5]; + this.MXC = matrix[6]; + this.MYC = matrix[7]; + this.MZC = matrix[8]; + if (XW < 0 || ZW < 0 || YW !== 1) { + throw new _util.FormatError(`Invalid WhitePoint components for ${this.name}` + ", no fallback available"); + } + if (XB < 0 || YB < 0 || ZB < 0) { + (0, _util.info)(`Invalid BlackPoint for ${this.name} [${XB}, ${YB}, ${ZB}], ` + "falling back to default."); + this.blackPoint = new Float32Array(3); + } + if (this.GR < 0 || this.GG < 0 || this.GB < 0) { + (0, _util.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ` + `${this.name}, falling back to default.`); + this.GR = this.GG = this.GB = 1; + } + } + getRgbItem(src, srcOffset, dest, destOffset) { + convertToRgb(this, src, srcOffset, dest, destOffset, 1); + } + getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { + const scale = 1 / ((1 << bits) - 1); + for (let i = 0; i < count; ++i) { + convertToRgb(this, src, srcOffset, dest, destOffset, scale); + srcOffset += 3; + destOffset += 3 + alpha01; + } + } + getOutputLength(inputLength, alpha01) { + return inputLength * (3 + alpha01) / 3 | 0; } } - getOutputLength(inputLength, alpha01) { - return inputLength * (3 + alpha01) / 3 | 0; + return CalRGBCS; +}(); +const LabCS = function LabCSClosure() { + function fn_g(x) { + let result; + if (x >= 6 / 29) { + result = x ** 3; + } else { + result = 108 / 841 * (x - 4 / 29); + } + return result; } -} -class LabCS extends ColorSpace { - constructor(whitePoint, blackPoint, range) { - super("Lab", 3); - if (!whitePoint) { - throw new FormatError("WhitePoint missing - required for color space Lab"); - } - [this.XW, this.YW, this.ZW] = whitePoint; - [this.amin, this.amax, this.bmin, this.bmax] = range || [-100, 100, -100, 100]; - [this.XB, this.YB, this.ZB] = blackPoint || [0, 0, 0]; - if (this.XW < 0 || this.ZW < 0 || this.YW !== 1) { - throw new FormatError("Invalid WhitePoint components, no fallback available"); - } - if (this.XB < 0 || this.YB < 0 || this.ZB < 0) { - info("Invalid BlackPoint, falling back to default"); - this.XB = this.YB = this.ZB = 0; - } - if (this.amin > this.amax || this.bmin > this.bmax) { - info("Invalid Range, falling back to defaults"); - this.amin = -100; - this.amax = 100; - this.bmin = -100; - this.bmax = 100; - } - } - #fn_g(x) { - return x >= 6 / 29 ? x ** 3 : 108 / 841 * (x - 4 / 29); - } - #decode(value, high1, low2, high2) { + function decode(value, high1, low2, high2) { return low2 + value * (high2 - low2) / high1; } - #toRgb(src, srcOffset, maxVal, dest, destOffset) { + function convertToRgb(cs, src, srcOffset, maxVal, dest, destOffset) { let Ls = src[srcOffset]; let as = src[srcOffset + 1]; let bs = src[srcOffset + 2]; if (maxVal !== false) { - Ls = this.#decode(Ls, maxVal, 0, 100); - as = this.#decode(as, maxVal, this.amin, this.amax); - bs = this.#decode(bs, maxVal, this.bmin, this.bmax); + Ls = decode(Ls, maxVal, 0, 100); + as = decode(as, maxVal, cs.amin, cs.amax); + bs = decode(bs, maxVal, cs.bmin, cs.bmax); } - if (as > this.amax) { - as = this.amax; - } else if (as < this.amin) { - as = this.amin; + if (as > cs.amax) { + as = cs.amax; + } else if (as < cs.amin) { + as = cs.amin; } - if (bs > this.bmax) { - bs = this.bmax; - } else if (bs < this.bmin) { - bs = this.bmin; + if (bs > cs.bmax) { + bs = cs.bmax; + } else if (bs < cs.bmin) { + bs = cs.bmin; } const M = (Ls + 16) / 116; const L = M + as / 500; const N = M - bs / 200; - const X = this.XW * this.#fn_g(L); - const Y = this.YW * this.#fn_g(M); - const Z = this.ZW * this.#fn_g(N); + const X = cs.XW * fn_g(L); + const Y = cs.YW * fn_g(M); + const Z = cs.ZW * fn_g(N); let r, g, b; - if (this.ZW < 1) { + if (cs.ZW < 1) { r = X * 3.1339 + Y * -1.617 + Z * -0.4906; g = X * -0.9785 + Y * 1.916 + Z * 0.0333; b = X * 0.072 + Y * -0.229 + Z * 1.4057; @@ -7427,36 +8566,4394 @@ class LabCS extends ColorSpace { dest[destOffset + 1] = Math.sqrt(g) * 255; dest[destOffset + 2] = Math.sqrt(b) * 255; } - getRgbItem(src, srcOffset, dest, destOffset) { - this.#toRgb(src, srcOffset, false, dest, destOffset); - } - getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { - const maxVal = (1 << bits) - 1; - for (let i = 0; i < count; i++) { - this.#toRgb(src, srcOffset, maxVal, dest, destOffset); - srcOffset += 3; - destOffset += 3 + alpha01; + class LabCS extends ColorSpace { + constructor(whitePoint, blackPoint, range) { + super("Lab", 3); + if (!whitePoint) { + throw new _util.FormatError("WhitePoint missing - required for color space Lab"); + } + blackPoint ||= [0, 0, 0]; + range ||= [-100, 100, -100, 100]; + this.XW = whitePoint[0]; + this.YW = whitePoint[1]; + this.ZW = whitePoint[2]; + this.amin = range[0]; + this.amax = range[1]; + this.bmin = range[2]; + this.bmax = range[3]; + this.XB = blackPoint[0]; + this.YB = blackPoint[1]; + this.ZB = blackPoint[2]; + if (this.XW < 0 || this.ZW < 0 || this.YW !== 1) { + throw new _util.FormatError("Invalid WhitePoint components, no fallback available"); + } + if (this.XB < 0 || this.YB < 0 || this.ZB < 0) { + (0, _util.info)("Invalid BlackPoint, falling back to default"); + this.XB = this.YB = this.ZB = 0; + } + if (this.amin > this.amax || this.bmin > this.bmax) { + (0, _util.info)("Invalid Range, falling back to defaults"); + this.amin = -100; + this.amax = 100; + this.bmin = -100; + this.bmax = 100; + } + } + getRgbItem(src, srcOffset, dest, destOffset) { + convertToRgb(this, src, srcOffset, false, dest, destOffset); + } + getRgbBuffer(src, srcOffset, count, dest, destOffset, bits, alpha01) { + const maxVal = (1 << bits) - 1; + for (let i = 0; i < count; i++) { + convertToRgb(this, src, srcOffset, maxVal, dest, destOffset); + srcOffset += 3; + destOffset += 3 + alpha01; + } + } + getOutputLength(inputLength, alpha01) { + return inputLength * (3 + alpha01) / 3 | 0; + } + isDefaultDecode(decodeMap, bpc) { + return true; + } + get usesZeroToOneRange() { + return (0, _util.shadow)(this, "usesZeroToOneRange", false); } } - getOutputLength(inputLength, alpha01) { - return inputLength * (3 + alpha01) / 3 | 0; + return LabCS; +}(); + +/***/ }), +/* 13 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PartialEvaluator = exports.EvaluatorPreprocessor = void 0; +var _util = __w_pdfjs_require__(2); +var _cmap = __w_pdfjs_require__(14); +var _primitives = __w_pdfjs_require__(4); +var _fonts = __w_pdfjs_require__(34); +var _encodings = __w_pdfjs_require__(37); +var _standard_fonts = __w_pdfjs_require__(41); +var _pattern = __w_pdfjs_require__(50); +var _xfa_fonts = __w_pdfjs_require__(51); +var _to_unicode_map = __w_pdfjs_require__(42); +var _function = __w_pdfjs_require__(57); +var _parser = __w_pdfjs_require__(16); +var _image_utils = __w_pdfjs_require__(59); +var _stream = __w_pdfjs_require__(8); +var _base_stream = __w_pdfjs_require__(5); +var _bidi = __w_pdfjs_require__(60); +var _colorspace = __w_pdfjs_require__(12); +var _decode_stream = __w_pdfjs_require__(18); +var _fonts_utils = __w_pdfjs_require__(38); +var _font_substitutions = __w_pdfjs_require__(61); +var _glyphlist = __w_pdfjs_require__(39); +var _core_utils = __w_pdfjs_require__(3); +var _metrics = __w_pdfjs_require__(45); +var _unicode = __w_pdfjs_require__(40); +var _image_resizer = __w_pdfjs_require__(62); +var _murmurhash = __w_pdfjs_require__(63); +var _operator_list = __w_pdfjs_require__(64); +var _image = __w_pdfjs_require__(65); +const DefaultPartialEvaluatorOptions = Object.freeze({ + maxImageSize: -1, + disableFontFace: false, + ignoreErrors: false, + isEvalSupported: true, + isOffscreenCanvasSupported: false, + canvasMaxAreaInBytes: -1, + fontExtraProperties: false, + useSystemFonts: true, + cMapUrl: null, + standardFontDataUrl: null +}); +const PatternType = { + TILING: 1, + SHADING: 2 +}; +const TEXT_CHUNK_BATCH_SIZE = 10; +const deferred = Promise.resolve(); +function normalizeBlendMode(value, parsingArray = false) { + if (Array.isArray(value)) { + for (const val of value) { + const maybeBM = normalizeBlendMode(val, true); + if (maybeBM) { + return maybeBM; + } + } + (0, _util.warn)(`Unsupported blend mode Array: ${value}`); + return "source-over"; } - isDefaultDecode(decodeMap, bpc) { - return true; + if (!(value instanceof _primitives.Name)) { + if (parsingArray) { + return null; + } + return "source-over"; } - get usesZeroToOneRange() { - return shadow(this, "usesZeroToOneRange", false); + switch (value.name) { + case "Normal": + case "Compatible": + return "source-over"; + case "Multiply": + return "multiply"; + case "Screen": + return "screen"; + case "Overlay": + return "overlay"; + case "Darken": + return "darken"; + case "Lighten": + return "lighten"; + case "ColorDodge": + return "color-dodge"; + case "ColorBurn": + return "color-burn"; + case "HardLight": + return "hard-light"; + case "SoftLight": + return "soft-light"; + case "Difference": + return "difference"; + case "Exclusion": + return "exclusion"; + case "Hue": + return "hue"; + case "Saturation": + return "saturation"; + case "Color": + return "color"; + case "Luminosity": + return "luminosity"; + } + if (parsingArray) { + return null; + } + (0, _util.warn)(`Unsupported blend mode: ${value.name}`); + return "source-over"; +} +function incrementCachedImageMaskCount(data) { + if (data.fn === _util.OPS.paintImageMaskXObject && data.args[0]?.count > 0) { + data.args[0].count++; } } +class TimeSlotManager { + static TIME_SLOT_DURATION_MS = 20; + static CHECK_TIME_EVERY = 100; + constructor() { + this.reset(); + } + check() { + if (++this.checked < TimeSlotManager.CHECK_TIME_EVERY) { + return false; + } + this.checked = 0; + return this.endTime <= Date.now(); + } + reset() { + this.endTime = Date.now() + TimeSlotManager.TIME_SLOT_DURATION_MS; + this.checked = 0; + } +} +class PartialEvaluator { + constructor({ + xref, + handler, + pageIndex, + idFactory, + fontCache, + builtInCMapCache, + standardFontDataCache, + globalImageCache, + systemFontCache, + options = null + }) { + this.xref = xref; + this.handler = handler; + this.pageIndex = pageIndex; + this.idFactory = idFactory; + this.fontCache = fontCache; + this.builtInCMapCache = builtInCMapCache; + this.standardFontDataCache = standardFontDataCache; + this.globalImageCache = globalImageCache; + this.systemFontCache = systemFontCache; + this.options = options || DefaultPartialEvaluatorOptions; + this.parsingType3Font = false; + this._regionalImageCache = new _image_utils.RegionalImageCache(); + this._fetchBuiltInCMapBound = this.fetchBuiltInCMap.bind(this); + _image_resizer.ImageResizer.setMaxArea(this.options.canvasMaxAreaInBytes); + } + get _pdfFunctionFactory() { + const pdfFunctionFactory = new _function.PDFFunctionFactory({ + xref: this.xref, + isEvalSupported: this.options.isEvalSupported + }); + return (0, _util.shadow)(this, "_pdfFunctionFactory", pdfFunctionFactory); + } + clone(newOptions = null) { + const newEvaluator = Object.create(this); + newEvaluator.options = Object.assign(Object.create(null), this.options, newOptions); + return newEvaluator; + } + hasBlendModes(resources, nonBlendModesSet) { + if (!(resources instanceof _primitives.Dict)) { + return false; + } + if (resources.objId && nonBlendModesSet.has(resources.objId)) { + return false; + } + const processed = new _primitives.RefSet(nonBlendModesSet); + if (resources.objId) { + processed.put(resources.objId); + } + const nodes = [resources], + xref = this.xref; + while (nodes.length) { + const node = nodes.shift(); + const graphicStates = node.get("ExtGState"); + if (graphicStates instanceof _primitives.Dict) { + for (let graphicState of graphicStates.getRawValues()) { + if (graphicState instanceof _primitives.Ref) { + if (processed.has(graphicState)) { + continue; + } + try { + graphicState = xref.fetch(graphicState); + } catch (ex) { + processed.put(graphicState); + (0, _util.info)(`hasBlendModes - ignoring ExtGState: "${ex}".`); + continue; + } + } + if (!(graphicState instanceof _primitives.Dict)) { + continue; + } + if (graphicState.objId) { + processed.put(graphicState.objId); + } + const bm = graphicState.get("BM"); + if (bm instanceof _primitives.Name) { + if (bm.name !== "Normal") { + return true; + } + continue; + } + if (bm !== undefined && Array.isArray(bm)) { + for (const element of bm) { + if (element instanceof _primitives.Name && element.name !== "Normal") { + return true; + } + } + } + } + } + const xObjects = node.get("XObject"); + if (!(xObjects instanceof _primitives.Dict)) { + continue; + } + for (let xObject of xObjects.getRawValues()) { + if (xObject instanceof _primitives.Ref) { + if (processed.has(xObject)) { + continue; + } + try { + xObject = xref.fetch(xObject); + } catch (ex) { + processed.put(xObject); + (0, _util.info)(`hasBlendModes - ignoring XObject: "${ex}".`); + continue; + } + } + if (!(xObject instanceof _base_stream.BaseStream)) { + continue; + } + if (xObject.dict.objId) { + processed.put(xObject.dict.objId); + } + const xResources = xObject.dict.get("Resources"); + if (!(xResources instanceof _primitives.Dict)) { + continue; + } + if (xResources.objId && processed.has(xResources.objId)) { + continue; + } + nodes.push(xResources); + if (xResources.objId) { + processed.put(xResources.objId); + } + } + } + for (const ref of processed) { + nonBlendModesSet.put(ref); + } + return false; + } + async fetchBuiltInCMap(name) { + const cachedData = this.builtInCMapCache.get(name); + if (cachedData) { + return cachedData; + } + let data; + if (this.options.cMapUrl !== null) { + const url = `${this.options.cMapUrl}${name}.bcmap`; + const response = await fetch(url); + if (!response.ok) { + throw new Error(`fetchBuiltInCMap: failed to fetch file "${url}" with "${response.statusText}".`); + } + data = { + cMapData: new Uint8Array(await response.arrayBuffer()), + compressionType: _util.CMapCompressionType.BINARY + }; + } else { + data = await this.handler.sendWithPromise("FetchBuiltInCMap", { + name + }); + } + if (data.compressionType !== _util.CMapCompressionType.NONE) { + this.builtInCMapCache.set(name, data); + } + return data; + } + async fetchStandardFontData(name) { + const cachedData = this.standardFontDataCache.get(name); + if (cachedData) { + return new _stream.Stream(cachedData); + } + if (this.options.useSystemFonts && name !== "Symbol" && name !== "ZapfDingbats") { + return null; + } + const standardFontNameToFileName = (0, _standard_fonts.getFontNameToFileMap)(), + filename = standardFontNameToFileName[name]; + let data; + if (this.options.standardFontDataUrl !== null) { + const url = `${this.options.standardFontDataUrl}${filename}`; + const response = await fetch(url); + if (!response.ok) { + (0, _util.warn)(`fetchStandardFontData: failed to fetch file "${url}" with "${response.statusText}".`); + } else { + data = await response.arrayBuffer(); + } + } else { + try { + data = await this.handler.sendWithPromise("FetchStandardFontData", { + filename + }); + } catch (e) { + (0, _util.warn)(`fetchStandardFontData: failed to fetch file "${filename}" with "${e}".`); + } + } + if (!data) { + return null; + } + this.standardFontDataCache.set(name, data); + return new _stream.Stream(data); + } + async buildFormXObject(resources, xobj, smask, operatorList, task, initialState, localColorSpaceCache) { + const dict = xobj.dict; + const matrix = dict.getArray("Matrix"); + let bbox = dict.getArray("BBox"); + if (Array.isArray(bbox) && bbox.length === 4) { + bbox = _util.Util.normalizeRect(bbox); + } else { + bbox = null; + } + let optionalContent, groupOptions; + if (dict.has("OC")) { + optionalContent = await this.parseMarkedContentProps(dict.get("OC"), resources); + } + if (optionalContent !== undefined) { + operatorList.addOp(_util.OPS.beginMarkedContentProps, ["OC", optionalContent]); + } + const group = dict.get("Group"); + if (group) { + groupOptions = { + matrix, + bbox, + smask, + isolated: false, + knockout: false + }; + const groupSubtype = group.get("S"); + let colorSpace = null; + if ((0, _primitives.isName)(groupSubtype, "Transparency")) { + groupOptions.isolated = group.get("I") || false; + groupOptions.knockout = group.get("K") || false; + if (group.has("CS")) { + const cs = group.getRaw("CS"); + const cachedColorSpace = _colorspace.ColorSpace.getCached(cs, this.xref, localColorSpaceCache); + if (cachedColorSpace) { + colorSpace = cachedColorSpace; + } else { + colorSpace = await this.parseColorSpace({ + cs, + resources, + localColorSpaceCache + }); + } + } + } + if (smask?.backdrop) { + colorSpace ||= _colorspace.ColorSpace.singletons.rgb; + smask.backdrop = colorSpace.getRgb(smask.backdrop, 0); + } + operatorList.addOp(_util.OPS.beginGroup, [groupOptions]); + } + const args = group ? [matrix, null] : [matrix, bbox]; + operatorList.addOp(_util.OPS.paintFormXObjectBegin, args); + return this.getOperatorList({ + stream: xobj, + task, + resources: dict.get("Resources") || resources, + operatorList, + initialState + }).then(function () { + operatorList.addOp(_util.OPS.paintFormXObjectEnd, []); + if (group) { + operatorList.addOp(_util.OPS.endGroup, [groupOptions]); + } + if (optionalContent !== undefined) { + operatorList.addOp(_util.OPS.endMarkedContent, []); + } + }); + } + _sendImgData(objId, imgData, cacheGlobally = false) { + const transfers = imgData ? [imgData.bitmap || imgData.data.buffer] : null; + if (this.parsingType3Font || cacheGlobally) { + return this.handler.send("commonobj", [objId, "Image", imgData], transfers); + } + return this.handler.send("obj", [objId, this.pageIndex, "Image", imgData], transfers); + } + async buildPaintImageXObject({ + resources, + image, + isInline = false, + operatorList, + cacheKey, + localImageCache, + localColorSpaceCache + }) { + const dict = image.dict; + const imageRef = dict.objId; + const w = dict.get("W", "Width"); + const h = dict.get("H", "Height"); + if (!(w && typeof w === "number") || !(h && typeof h === "number")) { + (0, _util.warn)("Image dimensions are missing, or not numbers."); + return; + } + const maxImageSize = this.options.maxImageSize; + if (maxImageSize !== -1 && w * h > maxImageSize) { + const msg = "Image exceeded maximum allowed size and was removed."; + if (this.options.ignoreErrors) { + (0, _util.warn)(msg); + return; + } + throw new Error(msg); + } + let optionalContent; + if (dict.has("OC")) { + optionalContent = await this.parseMarkedContentProps(dict.get("OC"), resources); + } + const imageMask = dict.get("IM", "ImageMask") || false; + let imgData, args; + if (imageMask) { + const interpolate = dict.get("I", "Interpolate"); + const bitStrideLength = w + 7 >> 3; + const imgArray = image.getBytes(bitStrideLength * h); + const decode = dict.getArray("D", "Decode"); + if (this.parsingType3Font) { + imgData = _image.PDFImage.createRawMask({ + imgArray, + width: w, + height: h, + imageIsFromDecodeStream: image instanceof _decode_stream.DecodeStream, + inverseDecode: decode?.[0] > 0, + interpolate + }); + imgData.cached = !!cacheKey; + args = [imgData]; + operatorList.addImageOps(_util.OPS.paintImageMaskXObject, args, optionalContent); + if (cacheKey) { + const cacheData = { + fn: _util.OPS.paintImageMaskXObject, + args, + optionalContent + }; + localImageCache.set(cacheKey, imageRef, cacheData); + if (imageRef) { + this._regionalImageCache.set(null, imageRef, cacheData); + } + } + return; + } + imgData = await _image.PDFImage.createMask({ + imgArray, + width: w, + height: h, + imageIsFromDecodeStream: image instanceof _decode_stream.DecodeStream, + inverseDecode: decode?.[0] > 0, + interpolate, + isOffscreenCanvasSupported: this.options.isOffscreenCanvasSupported + }); + if (imgData.isSingleOpaquePixel) { + operatorList.addImageOps(_util.OPS.paintSolidColorImageMask, [], optionalContent); + if (cacheKey) { + const cacheData = { + fn: _util.OPS.paintSolidColorImageMask, + args: [], + optionalContent + }; + localImageCache.set(cacheKey, imageRef, cacheData); + if (imageRef) { + this._regionalImageCache.set(null, imageRef, cacheData); + } + } + return; + } + const objId = `mask_${this.idFactory.createObjId()}`; + operatorList.addDependency(objId); + this._sendImgData(objId, imgData); + args = [{ + data: objId, + width: imgData.width, + height: imgData.height, + interpolate: imgData.interpolate, + count: 1 + }]; + operatorList.addImageOps(_util.OPS.paintImageMaskXObject, args, optionalContent); + if (cacheKey) { + const cacheData = { + fn: _util.OPS.paintImageMaskXObject, + args, + optionalContent + }; + localImageCache.set(cacheKey, imageRef, cacheData); + if (imageRef) { + this._regionalImageCache.set(null, imageRef, cacheData); + } + } + return; + } + const SMALL_IMAGE_DIMENSIONS = 200; + if (isInline && !dict.has("SMask") && !dict.has("Mask") && w + h < SMALL_IMAGE_DIMENSIONS) { + const imageObj = new _image.PDFImage({ + xref: this.xref, + res: resources, + image, + isInline, + pdfFunctionFactory: this._pdfFunctionFactory, + localColorSpaceCache + }); + imgData = await imageObj.createImageData(true, false); + operatorList.isOffscreenCanvasSupported = this.options.isOffscreenCanvasSupported; + operatorList.addImageOps(_util.OPS.paintInlineImageXObject, [imgData], optionalContent); + return; + } + let objId = `img_${this.idFactory.createObjId()}`, + cacheGlobally = false; + if (this.parsingType3Font) { + objId = `${this.idFactory.getDocId()}_type3_${objId}`; + } else if (imageRef) { + cacheGlobally = this.globalImageCache.shouldCache(imageRef, this.pageIndex); + if (cacheGlobally) { + objId = `${this.idFactory.getDocId()}_${objId}`; + } + } + operatorList.addDependency(objId); + args = [objId, w, h]; + _image.PDFImage.buildImage({ + xref: this.xref, + res: resources, + image, + isInline, + pdfFunctionFactory: this._pdfFunctionFactory, + localColorSpaceCache + }).then(async imageObj => { + imgData = await imageObj.createImageData(false, this.options.isOffscreenCanvasSupported); + if (cacheKey && imageRef && cacheGlobally) { + let length = 0; + if (imgData.bitmap) { + length = imgData.width * imgData.height * 4; + } else { + length = imgData.data.length; + } + this.globalImageCache.addByteSize(imageRef, length); + } + return this._sendImgData(objId, imgData, cacheGlobally); + }).catch(reason => { + (0, _util.warn)(`Unable to decode image "${objId}": "${reason}".`); + return this._sendImgData(objId, null, cacheGlobally); + }); + operatorList.addImageOps(_util.OPS.paintImageXObject, args, optionalContent); + if (cacheKey) { + const cacheData = { + fn: _util.OPS.paintImageXObject, + args, + optionalContent + }; + localImageCache.set(cacheKey, imageRef, cacheData); + if (imageRef) { + this._regionalImageCache.set(null, imageRef, cacheData); + if (cacheGlobally) { + (0, _util.assert)(!isInline, "Cannot cache an inline image globally."); + this.globalImageCache.setData(imageRef, { + objId, + fn: _util.OPS.paintImageXObject, + args, + optionalContent, + byteSize: 0 + }); + } + } + } + } + handleSMask(smask, resources, operatorList, task, stateManager, localColorSpaceCache) { + const smaskContent = smask.get("G"); + const smaskOptions = { + subtype: smask.get("S").name, + backdrop: smask.get("BC") + }; + const transferObj = smask.get("TR"); + if ((0, _function.isPDFFunction)(transferObj)) { + const transferFn = this._pdfFunctionFactory.create(transferObj); + const transferMap = new Uint8Array(256); + const tmp = new Float32Array(1); + for (let i = 0; i < 256; i++) { + tmp[0] = i / 255; + transferFn(tmp, 0, tmp, 0); + transferMap[i] = tmp[0] * 255 | 0; + } + smaskOptions.transferMap = transferMap; + } + return this.buildFormXObject(resources, smaskContent, smaskOptions, operatorList, task, stateManager.state.clone(), localColorSpaceCache); + } + handleTransferFunction(tr) { + let transferArray; + if (Array.isArray(tr)) { + transferArray = tr; + } else if ((0, _function.isPDFFunction)(tr)) { + transferArray = [tr]; + } else { + return null; + } + const transferMaps = []; + let numFns = 0, + numEffectfulFns = 0; + for (const entry of transferArray) { + const transferObj = this.xref.fetchIfRef(entry); + numFns++; + if ((0, _primitives.isName)(transferObj, "Identity")) { + transferMaps.push(null); + continue; + } else if (!(0, _function.isPDFFunction)(transferObj)) { + return null; + } + const transferFn = this._pdfFunctionFactory.create(transferObj); + const transferMap = new Uint8Array(256), + tmp = new Float32Array(1); + for (let j = 0; j < 256; j++) { + tmp[0] = j / 255; + transferFn(tmp, 0, tmp, 0); + transferMap[j] = tmp[0] * 255 | 0; + } + transferMaps.push(transferMap); + numEffectfulFns++; + } + if (!(numFns === 1 || numFns === 4)) { + return null; + } + if (numEffectfulFns === 0) { + return null; + } + return transferMaps; + } + handleTilingType(fn, color, resources, pattern, patternDict, operatorList, task, localTilingPatternCache) { + const tilingOpList = new _operator_list.OperatorList(); + const patternResources = _primitives.Dict.merge({ + xref: this.xref, + dictArray: [patternDict.get("Resources"), resources] + }); + return this.getOperatorList({ + stream: pattern, + task, + resources: patternResources, + operatorList: tilingOpList + }).then(function () { + const operatorListIR = tilingOpList.getIR(); + const tilingPatternIR = (0, _pattern.getTilingPatternIR)(operatorListIR, patternDict, color); + operatorList.addDependencies(tilingOpList.dependencies); + operatorList.addOp(fn, tilingPatternIR); + if (patternDict.objId) { + localTilingPatternCache.set(null, patternDict.objId, { + operatorListIR, + dict: patternDict + }); + } + }).catch(reason => { + if (reason instanceof _util.AbortException) { + return; + } + if (this.options.ignoreErrors) { + (0, _util.warn)(`handleTilingType - ignoring pattern: "${reason}".`); + return; + } + throw reason; + }); + } + handleSetFont(resources, fontArgs, fontRef, operatorList, task, state, fallbackFontDict = null, cssFontInfo = null) { + const fontName = fontArgs?.[0] instanceof _primitives.Name ? fontArgs[0].name : null; + return this.loadFont(fontName, fontRef, resources, fallbackFontDict, cssFontInfo).then(translated => { + if (!translated.font.isType3Font) { + return translated; + } + return translated.loadType3Data(this, resources, task).then(function () { + operatorList.addDependencies(translated.type3Dependencies); + return translated; + }).catch(reason => { + return new TranslatedFont({ + loadedName: "g_font_error", + font: new _fonts.ErrorFont(`Type3 font load error: ${reason}`), + dict: translated.font, + evaluatorOptions: this.options + }); + }); + }).then(translated => { + state.font = translated.font; + translated.send(this.handler); + return translated.loadedName; + }); + } + handleText(chars, state) { + const font = state.font; + const glyphs = font.charsToGlyphs(chars); + if (font.data) { + const isAddToPathSet = !!(state.textRenderingMode & _util.TextRenderingMode.ADD_TO_PATH_FLAG); + if (isAddToPathSet || state.fillColorSpace.name === "Pattern" || font.disableFontFace || this.options.disableFontFace) { + PartialEvaluator.buildFontPaths(font, glyphs, this.handler, this.options); + } + } + return glyphs; + } + ensureStateFont(state) { + if (state.font) { + return; + } + const reason = new _util.FormatError("Missing setFont (Tf) operator before text rendering operator."); + if (this.options.ignoreErrors) { + (0, _util.warn)(`ensureStateFont: "${reason}".`); + return; + } + throw reason; + } + async setGState({ + resources, + gState, + operatorList, + cacheKey, + task, + stateManager, + localGStateCache, + localColorSpaceCache + }) { + const gStateRef = gState.objId; + let isSimpleGState = true; + const gStateObj = []; + let promise = Promise.resolve(); + for (const key of gState.getKeys()) { + const value = gState.get(key); + switch (key) { + case "Type": + break; + case "LW": + case "LC": + case "LJ": + case "ML": + case "D": + case "RI": + case "FL": + case "CA": + case "ca": + gStateObj.push([key, value]); + break; + case "Font": + isSimpleGState = false; + promise = promise.then(() => { + return this.handleSetFont(resources, null, value[0], operatorList, task, stateManager.state).then(function (loadedName) { + operatorList.addDependency(loadedName); + gStateObj.push([key, [loadedName, value[1]]]); + }); + }); + break; + case "BM": + gStateObj.push([key, normalizeBlendMode(value)]); + break; + case "SMask": + if ((0, _primitives.isName)(value, "None")) { + gStateObj.push([key, false]); + break; + } + if (value instanceof _primitives.Dict) { + isSimpleGState = false; + promise = promise.then(() => { + return this.handleSMask(value, resources, operatorList, task, stateManager, localColorSpaceCache); + }); + gStateObj.push([key, true]); + } else { + (0, _util.warn)("Unsupported SMask type"); + } + break; + case "TR": + const transferMaps = this.handleTransferFunction(value); + gStateObj.push([key, transferMaps]); + break; + case "OP": + case "op": + case "OPM": + case "BG": + case "BG2": + case "UCR": + case "UCR2": + case "TR2": + case "HT": + case "SM": + case "SA": + case "AIS": + case "TK": + (0, _util.info)("graphic state operator " + key); + break; + default: + (0, _util.info)("Unknown graphic state operator " + key); + break; + } + } + return promise.then(function () { + if (gStateObj.length > 0) { + operatorList.addOp(_util.OPS.setGState, [gStateObj]); + } + if (isSimpleGState) { + localGStateCache.set(cacheKey, gStateRef, gStateObj); + } + }); + } + loadFont(fontName, font, resources, fallbackFontDict = null, cssFontInfo = null) { + const errorFont = async () => { + return new TranslatedFont({ + loadedName: "g_font_error", + font: new _fonts.ErrorFont(`Font "${fontName}" is not available.`), + dict: font, + evaluatorOptions: this.options + }); + }; + let fontRef; + if (font) { + if (font instanceof _primitives.Ref) { + fontRef = font; + } + } else { + const fontRes = resources.get("Font"); + if (fontRes) { + fontRef = fontRes.getRaw(fontName); + } + } + if (fontRef) { + if (this.parsingType3Font && this.type3FontRefs.has(fontRef)) { + return errorFont(); + } + if (this.fontCache.has(fontRef)) { + return this.fontCache.get(fontRef); + } + font = this.xref.fetchIfRef(fontRef); + } + if (!(font instanceof _primitives.Dict)) { + if (!this.options.ignoreErrors && !this.parsingType3Font) { + (0, _util.warn)(`Font "${fontName}" is not available.`); + return errorFont(); + } + (0, _util.warn)(`Font "${fontName}" is not available -- attempting to fallback to a default font.`); + font = fallbackFontDict || PartialEvaluator.fallbackFontDict; + } + if (font.cacheKey && this.fontCache.has(font.cacheKey)) { + return this.fontCache.get(font.cacheKey); + } + const fontCapability = new _util.PromiseCapability(); + let preEvaluatedFont; + try { + preEvaluatedFont = this.preEvaluateFont(font); + preEvaluatedFont.cssFontInfo = cssFontInfo; + } catch (reason) { + (0, _util.warn)(`loadFont - preEvaluateFont failed: "${reason}".`); + return errorFont(); + } + const { + descriptor, + hash + } = preEvaluatedFont; + const fontRefIsRef = fontRef instanceof _primitives.Ref; + let fontID; + if (hash && descriptor instanceof _primitives.Dict) { + const fontAliases = descriptor.fontAliases ||= Object.create(null); + if (fontAliases[hash]) { + const aliasFontRef = fontAliases[hash].aliasRef; + if (fontRefIsRef && aliasFontRef && this.fontCache.has(aliasFontRef)) { + this.fontCache.putAlias(fontRef, aliasFontRef); + return this.fontCache.get(fontRef); + } + } else { + fontAliases[hash] = { + fontID: this.idFactory.createFontId() + }; + } + if (fontRefIsRef) { + fontAliases[hash].aliasRef = fontRef; + } + fontID = fontAliases[hash].fontID; + } else { + fontID = this.idFactory.createFontId(); + } + (0, _util.assert)(fontID?.startsWith("f"), 'The "fontID" must be (correctly) defined.'); + if (fontRefIsRef) { + this.fontCache.put(fontRef, fontCapability.promise); + } else { + font.cacheKey = `cacheKey_${fontID}`; + this.fontCache.put(font.cacheKey, fontCapability.promise); + } + font.loadedName = `${this.idFactory.getDocId()}_${fontID}`; + this.translateFont(preEvaluatedFont).then(translatedFont => { + fontCapability.resolve(new TranslatedFont({ + loadedName: font.loadedName, + font: translatedFont, + dict: font, + evaluatorOptions: this.options + })); + }).catch(reason => { + (0, _util.warn)(`loadFont - translateFont failed: "${reason}".`); + fontCapability.resolve(new TranslatedFont({ + loadedName: font.loadedName, + font: new _fonts.ErrorFont(reason instanceof Error ? reason.message : reason), + dict: font, + evaluatorOptions: this.options + })); + }); + return fontCapability.promise; + } + buildPath(operatorList, fn, args, parsingText = false) { + const lastIndex = operatorList.length - 1; + if (!args) { + args = []; + } + if (lastIndex < 0 || operatorList.fnArray[lastIndex] !== _util.OPS.constructPath) { + if (parsingText) { + (0, _util.warn)(`Encountered path operator "${fn}" inside of a text object.`); + operatorList.addOp(_util.OPS.save, null); + } + let minMax; + switch (fn) { + case _util.OPS.rectangle: + const x = args[0] + args[2]; + const y = args[1] + args[3]; + minMax = [Math.min(args[0], x), Math.max(args[0], x), Math.min(args[1], y), Math.max(args[1], y)]; + break; + case _util.OPS.moveTo: + case _util.OPS.lineTo: + minMax = [args[0], args[0], args[1], args[1]]; + break; + default: + minMax = [Infinity, -Infinity, Infinity, -Infinity]; + break; + } + operatorList.addOp(_util.OPS.constructPath, [[fn], args, minMax]); + if (parsingText) { + operatorList.addOp(_util.OPS.restore, null); + } + } else { + const opArgs = operatorList.argsArray[lastIndex]; + opArgs[0].push(fn); + opArgs[1].push(...args); + const minMax = opArgs[2]; + switch (fn) { + case _util.OPS.rectangle: + const x = args[0] + args[2]; + const y = args[1] + args[3]; + minMax[0] = Math.min(minMax[0], args[0], x); + minMax[1] = Math.max(minMax[1], args[0], x); + minMax[2] = Math.min(minMax[2], args[1], y); + minMax[3] = Math.max(minMax[3], args[1], y); + break; + case _util.OPS.moveTo: + case _util.OPS.lineTo: + minMax[0] = Math.min(minMax[0], args[0]); + minMax[1] = Math.max(minMax[1], args[0]); + minMax[2] = Math.min(minMax[2], args[1]); + minMax[3] = Math.max(minMax[3], args[1]); + break; + } + } + } + parseColorSpace({ + cs, + resources, + localColorSpaceCache + }) { + return _colorspace.ColorSpace.parseAsync({ + cs, + xref: this.xref, + resources, + pdfFunctionFactory: this._pdfFunctionFactory, + localColorSpaceCache + }).catch(reason => { + if (reason instanceof _util.AbortException) { + return null; + } + if (this.options.ignoreErrors) { + (0, _util.warn)(`parseColorSpace - ignoring ColorSpace: "${reason}".`); + return null; + } + throw reason; + }); + } + parseShading({ + shading, + resources, + localColorSpaceCache, + localShadingPatternCache + }) { + let id = localShadingPatternCache.get(shading); + if (!id) { + var shadingFill = _pattern.Pattern.parseShading(shading, this.xref, resources, this._pdfFunctionFactory, localColorSpaceCache); + const patternIR = shadingFill.getIR(); + id = `pattern_${this.idFactory.createObjId()}`; + if (this.parsingType3Font) { + id = `${this.idFactory.getDocId()}_type3_${id}`; + } + localShadingPatternCache.set(shading, id); + if (this.parsingType3Font) { + this.handler.send("commonobj", [id, "Pattern", patternIR]); + } else { + this.handler.send("obj", [id, this.pageIndex, "Pattern", patternIR]); + } + } + return id; + } + handleColorN(operatorList, fn, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache) { + const patternName = args.pop(); + if (patternName instanceof _primitives.Name) { + const rawPattern = patterns.getRaw(patternName.name); + const localTilingPattern = rawPattern instanceof _primitives.Ref && localTilingPatternCache.getByRef(rawPattern); + if (localTilingPattern) { + try { + const color = cs.base ? cs.base.getRgb(args, 0) : null; + const tilingPatternIR = (0, _pattern.getTilingPatternIR)(localTilingPattern.operatorListIR, localTilingPattern.dict, color); + operatorList.addOp(fn, tilingPatternIR); + return undefined; + } catch {} + } + const pattern = this.xref.fetchIfRef(rawPattern); + if (pattern) { + const dict = pattern instanceof _base_stream.BaseStream ? pattern.dict : pattern; + const typeNum = dict.get("PatternType"); + if (typeNum === PatternType.TILING) { + const color = cs.base ? cs.base.getRgb(args, 0) : null; + return this.handleTilingType(fn, color, resources, pattern, dict, operatorList, task, localTilingPatternCache); + } else if (typeNum === PatternType.SHADING) { + const shading = dict.get("Shading"); + const matrix = dict.getArray("Matrix"); + const objId = this.parseShading({ + shading, + resources, + localColorSpaceCache, + localShadingPatternCache + }); + operatorList.addOp(fn, ["Shading", objId, matrix]); + return undefined; + } + throw new _util.FormatError(`Unknown PatternType: ${typeNum}`); + } + } + throw new _util.FormatError(`Unknown PatternName: ${patternName}`); + } + _parseVisibilityExpression(array, nestingCounter, currentResult) { + const MAX_NESTING = 10; + if (++nestingCounter > MAX_NESTING) { + (0, _util.warn)("Visibility expression is too deeply nested"); + return; + } + const length = array.length; + const operator = this.xref.fetchIfRef(array[0]); + if (length < 2 || !(operator instanceof _primitives.Name)) { + (0, _util.warn)("Invalid visibility expression"); + return; + } + switch (operator.name) { + case "And": + case "Or": + case "Not": + currentResult.push(operator.name); + break; + default: + (0, _util.warn)(`Invalid operator ${operator.name} in visibility expression`); + return; + } + for (let i = 1; i < length; i++) { + const raw = array[i]; + const object = this.xref.fetchIfRef(raw); + if (Array.isArray(object)) { + const nestedResult = []; + currentResult.push(nestedResult); + this._parseVisibilityExpression(object, nestingCounter, nestedResult); + } else if (raw instanceof _primitives.Ref) { + currentResult.push(raw.toString()); + } + } + } + async parseMarkedContentProps(contentProperties, resources) { + let optionalContent; + if (contentProperties instanceof _primitives.Name) { + const properties = resources.get("Properties"); + optionalContent = properties.get(contentProperties.name); + } else if (contentProperties instanceof _primitives.Dict) { + optionalContent = contentProperties; + } else { + throw new _util.FormatError("Optional content properties malformed."); + } + const optionalContentType = optionalContent.get("Type").name; + if (optionalContentType === "OCG") { + return { + type: optionalContentType, + id: optionalContent.objId + }; + } else if (optionalContentType === "OCMD") { + const expression = optionalContent.get("VE"); + if (Array.isArray(expression)) { + const result = []; + this._parseVisibilityExpression(expression, 0, result); + if (result.length > 0) { + return { + type: "OCMD", + expression: result + }; + } + } + const optionalContentGroups = optionalContent.get("OCGs"); + if (Array.isArray(optionalContentGroups) || optionalContentGroups instanceof _primitives.Dict) { + const groupIds = []; + if (Array.isArray(optionalContentGroups)) { + for (const ocg of optionalContentGroups) { + groupIds.push(ocg.toString()); + } + } else { + groupIds.push(optionalContentGroups.objId); + } + return { + type: optionalContentType, + ids: groupIds, + policy: optionalContent.get("P") instanceof _primitives.Name ? optionalContent.get("P").name : null, + expression: null + }; + } else if (optionalContentGroups instanceof _primitives.Ref) { + return { + type: optionalContentType, + id: optionalContentGroups.toString() + }; + } + } + return null; + } + getOperatorList({ + stream, + task, + resources, + operatorList, + initialState = null, + fallbackFontDict = null + }) { + resources ||= _primitives.Dict.empty; + initialState ||= new EvalState(); + if (!operatorList) { + throw new Error('getOperatorList: missing "operatorList" parameter'); + } + const self = this; + const xref = this.xref; + let parsingText = false; + const localImageCache = new _image_utils.LocalImageCache(); + const localColorSpaceCache = new _image_utils.LocalColorSpaceCache(); + const localGStateCache = new _image_utils.LocalGStateCache(); + const localTilingPatternCache = new _image_utils.LocalTilingPatternCache(); + const localShadingPatternCache = new Map(); + const xobjs = resources.get("XObject") || _primitives.Dict.empty; + const patterns = resources.get("Pattern") || _primitives.Dict.empty; + const stateManager = new StateManager(initialState); + const preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); + const timeSlotManager = new TimeSlotManager(); + function closePendingRestoreOPS(argument) { + for (let i = 0, ii = preprocessor.savedStatesDepth; i < ii; i++) { + operatorList.addOp(_util.OPS.restore, []); + } + } + return new Promise(function promiseBody(resolve, reject) { + const next = function (promise) { + Promise.all([promise, operatorList.ready]).then(function () { + try { + promiseBody(resolve, reject); + } catch (ex) { + reject(ex); + } + }, reject); + }; + task.ensureNotTerminated(); + timeSlotManager.reset(); + const operation = {}; + let stop, i, ii, cs, name, isValidName; + while (!(stop = timeSlotManager.check())) { + operation.args = null; + if (!preprocessor.read(operation)) { + break; + } + let args = operation.args; + let fn = operation.fn; + switch (fn | 0) { + case _util.OPS.paintXObject: + isValidName = args[0] instanceof _primitives.Name; + name = args[0].name; + if (isValidName) { + const localImage = localImageCache.getByName(name); + if (localImage) { + operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); + incrementCachedImageMaskCount(localImage); + args = null; + continue; + } + } + next(new Promise(function (resolveXObject, rejectXObject) { + if (!isValidName) { + throw new _util.FormatError("XObject must be referred to by name."); + } + let xobj = xobjs.getRaw(name); + if (xobj instanceof _primitives.Ref) { + const localImage = localImageCache.getByRef(xobj) || self._regionalImageCache.getByRef(xobj); + if (localImage) { + operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); + incrementCachedImageMaskCount(localImage); + resolveXObject(); + return; + } + const globalImage = self.globalImageCache.getData(xobj, self.pageIndex); + if (globalImage) { + operatorList.addDependency(globalImage.objId); + operatorList.addImageOps(globalImage.fn, globalImage.args, globalImage.optionalContent); + resolveXObject(); + return; + } + xobj = xref.fetch(xobj); + } + if (!(xobj instanceof _base_stream.BaseStream)) { + throw new _util.FormatError("XObject should be a stream"); + } + const type = xobj.dict.get("Subtype"); + if (!(type instanceof _primitives.Name)) { + throw new _util.FormatError("XObject should have a Name subtype"); + } + if (type.name === "Form") { + stateManager.save(); + self.buildFormXObject(resources, xobj, null, operatorList, task, stateManager.state.clone(), localColorSpaceCache).then(function () { + stateManager.restore(); + resolveXObject(); + }, rejectXObject); + return; + } else if (type.name === "Image") { + self.buildPaintImageXObject({ + resources, + image: xobj, + operatorList, + cacheKey: name, + localImageCache, + localColorSpaceCache + }).then(resolveXObject, rejectXObject); + return; + } else if (type.name === "PS") { + (0, _util.info)("Ignored XObject subtype PS"); + } else { + throw new _util.FormatError(`Unhandled XObject subtype ${type.name}`); + } + resolveXObject(); + }).catch(function (reason) { + if (reason instanceof _util.AbortException) { + return; + } + if (self.options.ignoreErrors) { + (0, _util.warn)(`getOperatorList - ignoring XObject: "${reason}".`); + return; + } + throw reason; + })); + return; + case _util.OPS.setFont: + var fontSize = args[1]; + next(self.handleSetFont(resources, args, null, operatorList, task, stateManager.state, fallbackFontDict).then(function (loadedName) { + operatorList.addDependency(loadedName); + operatorList.addOp(_util.OPS.setFont, [loadedName, fontSize]); + })); + return; + case _util.OPS.beginText: + parsingText = true; + break; + case _util.OPS.endText: + parsingText = false; + break; + case _util.OPS.endInlineImage: + var cacheKey = args[0].cacheKey; + if (cacheKey) { + const localImage = localImageCache.getByName(cacheKey); + if (localImage) { + operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); + incrementCachedImageMaskCount(localImage); + args = null; + continue; + } + } + next(self.buildPaintImageXObject({ + resources, + image: args[0], + isInline: true, + operatorList, + cacheKey, + localImageCache, + localColorSpaceCache + })); + return; + case _util.OPS.showText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + args[0] = self.handleText(args[0], stateManager.state); + break; + case _util.OPS.showSpacedText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + var combinedGlyphs = []; + var state = stateManager.state; + for (const arrItem of args[0]) { + if (typeof arrItem === "string") { + combinedGlyphs.push(...self.handleText(arrItem, state)); + } else if (typeof arrItem === "number") { + combinedGlyphs.push(arrItem); + } + } + args[0] = combinedGlyphs; + fn = _util.OPS.showText; + break; + case _util.OPS.nextLineShowText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + operatorList.addOp(_util.OPS.nextLine); + args[0] = self.handleText(args[0], stateManager.state); + fn = _util.OPS.showText; + break; + case _util.OPS.nextLineSetSpacingShowText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + operatorList.addOp(_util.OPS.nextLine); + operatorList.addOp(_util.OPS.setWordSpacing, [args.shift()]); + operatorList.addOp(_util.OPS.setCharSpacing, [args.shift()]); + args[0] = self.handleText(args[0], stateManager.state); + fn = _util.OPS.showText; + break; + case _util.OPS.setTextRenderingMode: + stateManager.state.textRenderingMode = args[0]; + break; + case _util.OPS.setFillColorSpace: + { + const cachedColorSpace = _colorspace.ColorSpace.getCached(args[0], xref, localColorSpaceCache); + if (cachedColorSpace) { + stateManager.state.fillColorSpace = cachedColorSpace; + continue; + } + next(self.parseColorSpace({ + cs: args[0], + resources, + localColorSpaceCache + }).then(function (colorSpace) { + if (colorSpace) { + stateManager.state.fillColorSpace = colorSpace; + } + })); + return; + } + case _util.OPS.setStrokeColorSpace: + { + const cachedColorSpace = _colorspace.ColorSpace.getCached(args[0], xref, localColorSpaceCache); + if (cachedColorSpace) { + stateManager.state.strokeColorSpace = cachedColorSpace; + continue; + } + next(self.parseColorSpace({ + cs: args[0], + resources, + localColorSpaceCache + }).then(function (colorSpace) { + if (colorSpace) { + stateManager.state.strokeColorSpace = colorSpace; + } + })); + return; + } + case _util.OPS.setFillColor: + cs = stateManager.state.fillColorSpace; + args = cs.getRgb(args, 0); + fn = _util.OPS.setFillRGBColor; + break; + case _util.OPS.setStrokeColor: + cs = stateManager.state.strokeColorSpace; + args = cs.getRgb(args, 0); + fn = _util.OPS.setStrokeRGBColor; + break; + case _util.OPS.setFillGray: + stateManager.state.fillColorSpace = _colorspace.ColorSpace.singletons.gray; + args = _colorspace.ColorSpace.singletons.gray.getRgb(args, 0); + fn = _util.OPS.setFillRGBColor; + break; + case _util.OPS.setStrokeGray: + stateManager.state.strokeColorSpace = _colorspace.ColorSpace.singletons.gray; + args = _colorspace.ColorSpace.singletons.gray.getRgb(args, 0); + fn = _util.OPS.setStrokeRGBColor; + break; + case _util.OPS.setFillCMYKColor: + stateManager.state.fillColorSpace = _colorspace.ColorSpace.singletons.cmyk; + args = _colorspace.ColorSpace.singletons.cmyk.getRgb(args, 0); + fn = _util.OPS.setFillRGBColor; + break; + case _util.OPS.setStrokeCMYKColor: + stateManager.state.strokeColorSpace = _colorspace.ColorSpace.singletons.cmyk; + args = _colorspace.ColorSpace.singletons.cmyk.getRgb(args, 0); + fn = _util.OPS.setStrokeRGBColor; + break; + case _util.OPS.setFillRGBColor: + stateManager.state.fillColorSpace = _colorspace.ColorSpace.singletons.rgb; + args = _colorspace.ColorSpace.singletons.rgb.getRgb(args, 0); + break; + case _util.OPS.setStrokeRGBColor: + stateManager.state.strokeColorSpace = _colorspace.ColorSpace.singletons.rgb; + args = _colorspace.ColorSpace.singletons.rgb.getRgb(args, 0); + break; + case _util.OPS.setFillColorN: + cs = stateManager.state.fillColorSpace; + if (cs.name === "Pattern") { + next(self.handleColorN(operatorList, _util.OPS.setFillColorN, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache)); + return; + } + args = cs.getRgb(args, 0); + fn = _util.OPS.setFillRGBColor; + break; + case _util.OPS.setStrokeColorN: + cs = stateManager.state.strokeColorSpace; + if (cs.name === "Pattern") { + next(self.handleColorN(operatorList, _util.OPS.setStrokeColorN, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache)); + return; + } + args = cs.getRgb(args, 0); + fn = _util.OPS.setStrokeRGBColor; + break; + case _util.OPS.shadingFill: + var shadingRes = resources.get("Shading"); + if (!shadingRes) { + throw new _util.FormatError("No shading resource found"); + } + var shading = shadingRes.get(args[0].name); + if (!shading) { + throw new _util.FormatError("No shading object found"); + } + const patternId = self.parseShading({ + shading, + resources, + localColorSpaceCache, + localShadingPatternCache + }); + args = [patternId]; + fn = _util.OPS.shadingFill; + break; + case _util.OPS.setGState: + isValidName = args[0] instanceof _primitives.Name; + name = args[0].name; + if (isValidName) { + const localGStateObj = localGStateCache.getByName(name); + if (localGStateObj) { + if (localGStateObj.length > 0) { + operatorList.addOp(_util.OPS.setGState, [localGStateObj]); + } + args = null; + continue; + } + } + next(new Promise(function (resolveGState, rejectGState) { + if (!isValidName) { + throw new _util.FormatError("GState must be referred to by name."); + } + const extGState = resources.get("ExtGState"); + if (!(extGState instanceof _primitives.Dict)) { + throw new _util.FormatError("ExtGState should be a dictionary."); + } + const gState = extGState.get(name); + if (!(gState instanceof _primitives.Dict)) { + throw new _util.FormatError("GState should be a dictionary."); + } + self.setGState({ + resources, + gState, + operatorList, + cacheKey: name, + task, + stateManager, + localGStateCache, + localColorSpaceCache + }).then(resolveGState, rejectGState); + }).catch(function (reason) { + if (reason instanceof _util.AbortException) { + return; + } + if (self.options.ignoreErrors) { + (0, _util.warn)(`getOperatorList - ignoring ExtGState: "${reason}".`); + return; + } + throw reason; + })); + return; + case _util.OPS.moveTo: + case _util.OPS.lineTo: + case _util.OPS.curveTo: + case _util.OPS.curveTo2: + case _util.OPS.curveTo3: + case _util.OPS.closePath: + case _util.OPS.rectangle: + self.buildPath(operatorList, fn, args, parsingText); + continue; + case _util.OPS.markPoint: + case _util.OPS.markPointProps: + case _util.OPS.beginCompat: + case _util.OPS.endCompat: + continue; + case _util.OPS.beginMarkedContentProps: + if (!(args[0] instanceof _primitives.Name)) { + (0, _util.warn)(`Expected name for beginMarkedContentProps arg0=${args[0]}`); + continue; + } + if (args[0].name === "OC") { + next(self.parseMarkedContentProps(args[1], resources).then(data => { + operatorList.addOp(_util.OPS.beginMarkedContentProps, ["OC", data]); + }).catch(reason => { + if (reason instanceof _util.AbortException) { + return; + } + if (self.options.ignoreErrors) { + (0, _util.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${reason}".`); + return; + } + throw reason; + })); + return; + } + args = [args[0].name, args[1] instanceof _primitives.Dict ? args[1].get("MCID") : null]; + break; + case _util.OPS.beginMarkedContent: + case _util.OPS.endMarkedContent: + default: + if (args !== null) { + for (i = 0, ii = args.length; i < ii; i++) { + if (args[i] instanceof _primitives.Dict) { + break; + } + } + if (i < ii) { + (0, _util.warn)("getOperatorList - ignoring operator: " + fn); + continue; + } + } + } + operatorList.addOp(fn, args); + } + if (stop) { + next(deferred); + return; + } + closePendingRestoreOPS(); + resolve(); + }).catch(reason => { + if (reason instanceof _util.AbortException) { + return; + } + if (this.options.ignoreErrors) { + (0, _util.warn)(`getOperatorList - ignoring errors during "${task.name}" ` + `task: "${reason}".`); + closePendingRestoreOPS(); + return; + } + throw reason; + }); + } + getTextContent({ + stream, + task, + resources, + stateManager = null, + includeMarkedContent = false, + sink, + seenStyles = new Set(), + viewBox, + markedContentData = null, + disableNormalization = false + }) { + resources ||= _primitives.Dict.empty; + stateManager ||= new StateManager(new TextState()); + if (includeMarkedContent) { + markedContentData ||= { + level: 0 + }; + } + const textContent = { + items: [], + styles: Object.create(null) + }; + const textContentItem = { + initialized: false, + str: [], + totalWidth: 0, + totalHeight: 0, + width: 0, + height: 0, + vertical: false, + prevTransform: null, + textAdvanceScale: 0, + spaceInFlowMin: 0, + spaceInFlowMax: 0, + trackingSpaceMin: Infinity, + negativeSpaceMax: -Infinity, + notASpace: -Infinity, + transform: null, + fontName: null, + hasEOL: false + }; + const twoLastChars = [" ", " "]; + let twoLastCharsPos = 0; + function saveLastChar(char) { + const nextPos = (twoLastCharsPos + 1) % 2; + const ret = twoLastChars[twoLastCharsPos] !== " " && twoLastChars[nextPos] === " "; + twoLastChars[twoLastCharsPos] = char; + twoLastCharsPos = nextPos; + return ret; + } + function shouldAddWhitepsace() { + return twoLastChars[twoLastCharsPos] !== " " && twoLastChars[(twoLastCharsPos + 1) % 2] === " "; + } + function resetLastChars() { + twoLastChars[0] = twoLastChars[1] = " "; + twoLastCharsPos = 0; + } + const TRACKING_SPACE_FACTOR = 0.102; + const NOT_A_SPACE_FACTOR = 0.03; + const NEGATIVE_SPACE_FACTOR = -0.2; + const SPACE_IN_FLOW_MIN_FACTOR = 0.102; + const SPACE_IN_FLOW_MAX_FACTOR = 0.6; + const VERTICAL_SHIFT_RATIO = 0.25; + const self = this; + const xref = this.xref; + const showSpacedTextBuffer = []; + let xobjs = null; + const emptyXObjectCache = new _image_utils.LocalImageCache(); + const emptyGStateCache = new _image_utils.LocalGStateCache(); + const preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); + let textState; + function pushWhitespace({ + width = 0, + height = 0, + transform = textContentItem.prevTransform, + fontName = textContentItem.fontName + }) { + textContent.items.push({ + str: " ", + dir: "ltr", + width, + height, + transform, + fontName, + hasEOL: false + }); + } + function getCurrentTextTransform() { + const font = textState.font; + const tsm = [textState.fontSize * textState.textHScale, 0, 0, textState.fontSize, 0, textState.textRise]; + if (font.isType3Font && (textState.fontSize <= 1 || font.isCharBBox) && !(0, _util.isArrayEqual)(textState.fontMatrix, _util.FONT_IDENTITY_MATRIX)) { + const glyphHeight = font.bbox[3] - font.bbox[1]; + if (glyphHeight > 0) { + tsm[3] *= glyphHeight * textState.fontMatrix[3]; + } + } + return _util.Util.transform(textState.ctm, _util.Util.transform(textState.textMatrix, tsm)); + } + function ensureTextContentItem() { + if (textContentItem.initialized) { + return textContentItem; + } + const { + font, + loadedName + } = textState; + if (!seenStyles.has(loadedName)) { + seenStyles.add(loadedName); + textContent.styles[loadedName] = { + fontFamily: font.fallbackName, + ascent: font.ascent, + descent: font.descent, + vertical: font.vertical + }; + } + textContentItem.fontName = loadedName; + const trm = textContentItem.transform = getCurrentTextTransform(); + if (!font.vertical) { + textContentItem.width = textContentItem.totalWidth = 0; + textContentItem.height = textContentItem.totalHeight = Math.hypot(trm[2], trm[3]); + textContentItem.vertical = false; + } else { + textContentItem.width = textContentItem.totalWidth = Math.hypot(trm[0], trm[1]); + textContentItem.height = textContentItem.totalHeight = 0; + textContentItem.vertical = true; + } + const scaleLineX = Math.hypot(textState.textLineMatrix[0], textState.textLineMatrix[1]); + const scaleCtmX = Math.hypot(textState.ctm[0], textState.ctm[1]); + textContentItem.textAdvanceScale = scaleCtmX * scaleLineX; + const { + fontSize + } = textState; + textContentItem.trackingSpaceMin = fontSize * TRACKING_SPACE_FACTOR; + textContentItem.notASpace = fontSize * NOT_A_SPACE_FACTOR; + textContentItem.negativeSpaceMax = fontSize * NEGATIVE_SPACE_FACTOR; + textContentItem.spaceInFlowMin = fontSize * SPACE_IN_FLOW_MIN_FACTOR; + textContentItem.spaceInFlowMax = fontSize * SPACE_IN_FLOW_MAX_FACTOR; + textContentItem.hasEOL = false; + textContentItem.initialized = true; + return textContentItem; + } + function updateAdvanceScale() { + if (!textContentItem.initialized) { + return; + } + const scaleLineX = Math.hypot(textState.textLineMatrix[0], textState.textLineMatrix[1]); + const scaleCtmX = Math.hypot(textState.ctm[0], textState.ctm[1]); + const scaleFactor = scaleCtmX * scaleLineX; + if (scaleFactor === textContentItem.textAdvanceScale) { + return; + } + if (!textContentItem.vertical) { + textContentItem.totalWidth += textContentItem.width * textContentItem.textAdvanceScale; + textContentItem.width = 0; + } else { + textContentItem.totalHeight += textContentItem.height * textContentItem.textAdvanceScale; + textContentItem.height = 0; + } + textContentItem.textAdvanceScale = scaleFactor; + } + function runBidiTransform(textChunk) { + let text = textChunk.str.join(""); + if (!disableNormalization) { + text = (0, _util.normalizeUnicode)(text); + } + const bidiResult = (0, _bidi.bidi)(text, -1, textChunk.vertical); + return { + str: bidiResult.str, + dir: bidiResult.dir, + width: Math.abs(textChunk.totalWidth), + height: Math.abs(textChunk.totalHeight), + transform: textChunk.transform, + fontName: textChunk.fontName, + hasEOL: textChunk.hasEOL + }; + } + function handleSetFont(fontName, fontRef) { + return self.loadFont(fontName, fontRef, resources).then(function (translated) { + if (!translated.font.isType3Font) { + return translated; + } + return translated.loadType3Data(self, resources, task).catch(function () {}).then(function () { + return translated; + }); + }).then(function (translated) { + textState.loadedName = translated.loadedName; + textState.font = translated.font; + textState.fontMatrix = translated.font.fontMatrix || _util.FONT_IDENTITY_MATRIX; + }); + } + function applyInverseRotation(x, y, matrix) { + const scale = Math.hypot(matrix[0], matrix[1]); + return [(matrix[0] * x + matrix[1] * y) / scale, (matrix[2] * x + matrix[3] * y) / scale]; + } + function compareWithLastPosition(glyphWidth) { + const currentTransform = getCurrentTextTransform(); + let posX = currentTransform[4]; + let posY = currentTransform[5]; + if (textState.font?.vertical) { + if (posX < viewBox[0] || posX > viewBox[2] || posY + glyphWidth < viewBox[1] || posY > viewBox[3]) { + return false; + } + } else if (posX + glyphWidth < viewBox[0] || posX > viewBox[2] || posY < viewBox[1] || posY > viewBox[3]) { + return false; + } + if (!textState.font || !textContentItem.prevTransform) { + return true; + } + let lastPosX = textContentItem.prevTransform[4]; + let lastPosY = textContentItem.prevTransform[5]; + if (lastPosX === posX && lastPosY === posY) { + return true; + } + let rotate = -1; + if (currentTransform[0] && currentTransform[1] === 0 && currentTransform[2] === 0) { + rotate = currentTransform[0] > 0 ? 0 : 180; + } else if (currentTransform[1] && currentTransform[0] === 0 && currentTransform[3] === 0) { + rotate = currentTransform[1] > 0 ? 90 : 270; + } + switch (rotate) { + case 0: + break; + case 90: + [posX, posY] = [posY, posX]; + [lastPosX, lastPosY] = [lastPosY, lastPosX]; + break; + case 180: + [posX, posY, lastPosX, lastPosY] = [-posX, -posY, -lastPosX, -lastPosY]; + break; + case 270: + [posX, posY] = [-posY, -posX]; + [lastPosX, lastPosY] = [-lastPosY, -lastPosX]; + break; + default: + [posX, posY] = applyInverseRotation(posX, posY, currentTransform); + [lastPosX, lastPosY] = applyInverseRotation(lastPosX, lastPosY, textContentItem.prevTransform); + } + if (textState.font.vertical) { + const advanceY = (lastPosY - posY) / textContentItem.textAdvanceScale; + const advanceX = posX - lastPosX; + const textOrientation = Math.sign(textContentItem.height); + if (advanceY < textOrientation * textContentItem.negativeSpaceMax) { + if (Math.abs(advanceX) > 0.5 * textContentItem.width) { + appendEOL(); + return true; + } + resetLastChars(); + flushTextContentItem(); + return true; + } + if (Math.abs(advanceX) > textContentItem.width) { + appendEOL(); + return true; + } + if (advanceY <= textOrientation * textContentItem.notASpace) { + resetLastChars(); + } + if (advanceY <= textOrientation * textContentItem.trackingSpaceMin) { + if (shouldAddWhitepsace()) { + resetLastChars(); + flushTextContentItem(); + pushWhitespace({ + height: Math.abs(advanceY) + }); + } else { + textContentItem.height += advanceY; + } + } else if (!addFakeSpaces(advanceY, textContentItem.prevTransform, textOrientation)) { + if (textContentItem.str.length === 0) { + resetLastChars(); + pushWhitespace({ + height: Math.abs(advanceY) + }); + } else { + textContentItem.height += advanceY; + } + } + if (Math.abs(advanceX) > textContentItem.width * VERTICAL_SHIFT_RATIO) { + flushTextContentItem(); + } + return true; + } + const advanceX = (posX - lastPosX) / textContentItem.textAdvanceScale; + const advanceY = posY - lastPosY; + const textOrientation = Math.sign(textContentItem.width); + if (advanceX < textOrientation * textContentItem.negativeSpaceMax) { + if (Math.abs(advanceY) > 0.5 * textContentItem.height) { + appendEOL(); + return true; + } + resetLastChars(); + flushTextContentItem(); + return true; + } + if (Math.abs(advanceY) > textContentItem.height) { + appendEOL(); + return true; + } + if (advanceX <= textOrientation * textContentItem.notASpace) { + resetLastChars(); + } + if (advanceX <= textOrientation * textContentItem.trackingSpaceMin) { + if (shouldAddWhitepsace()) { + resetLastChars(); + flushTextContentItem(); + pushWhitespace({ + width: Math.abs(advanceX) + }); + } else { + textContentItem.width += advanceX; + } + } else if (!addFakeSpaces(advanceX, textContentItem.prevTransform, textOrientation)) { + if (textContentItem.str.length === 0) { + resetLastChars(); + pushWhitespace({ + width: Math.abs(advanceX) + }); + } else { + textContentItem.width += advanceX; + } + } + if (Math.abs(advanceY) > textContentItem.height * VERTICAL_SHIFT_RATIO) { + flushTextContentItem(); + } + return true; + } + function buildTextContentItem({ + chars, + extraSpacing + }) { + const font = textState.font; + if (!chars) { + const charSpacing = textState.charSpacing + extraSpacing; + if (charSpacing) { + if (!font.vertical) { + textState.translateTextMatrix(charSpacing * textState.textHScale, 0); + } else { + textState.translateTextMatrix(0, -charSpacing); + } + } + return; + } + const glyphs = font.charsToGlyphs(chars); + const scale = textState.fontMatrix[0] * textState.fontSize; + for (let i = 0, ii = glyphs.length; i < ii; i++) { + const glyph = glyphs[i]; + const { + category + } = glyph; + if (category.isInvisibleFormatMark) { + continue; + } + let charSpacing = textState.charSpacing + (i + 1 === ii ? extraSpacing : 0); + let glyphWidth = glyph.width; + if (font.vertical) { + glyphWidth = glyph.vmetric ? glyph.vmetric[0] : -glyphWidth; + } + let scaledDim = glyphWidth * scale; + if (category.isWhitespace) { + if (!font.vertical) { + charSpacing += scaledDim + textState.wordSpacing; + textState.translateTextMatrix(charSpacing * textState.textHScale, 0); + } else { + charSpacing += -scaledDim + textState.wordSpacing; + textState.translateTextMatrix(0, -charSpacing); + } + saveLastChar(" "); + continue; + } + if (!category.isZeroWidthDiacritic && !compareWithLastPosition(scaledDim)) { + if (!font.vertical) { + textState.translateTextMatrix(scaledDim * textState.textHScale, 0); + } else { + textState.translateTextMatrix(0, scaledDim); + } + continue; + } + const textChunk = ensureTextContentItem(); + if (category.isZeroWidthDiacritic) { + scaledDim = 0; + } + if (!font.vertical) { + scaledDim *= textState.textHScale; + textState.translateTextMatrix(scaledDim, 0); + textChunk.width += scaledDim; + } else { + textState.translateTextMatrix(0, scaledDim); + scaledDim = Math.abs(scaledDim); + textChunk.height += scaledDim; + } + if (scaledDim) { + textChunk.prevTransform = getCurrentTextTransform(); + } + const glyphUnicode = glyph.unicode; + if (saveLastChar(glyphUnicode)) { + textChunk.str.push(" "); + } + textChunk.str.push(glyphUnicode); + if (charSpacing) { + if (!font.vertical) { + textState.translateTextMatrix(charSpacing * textState.textHScale, 0); + } else { + textState.translateTextMatrix(0, -charSpacing); + } + } + } + } + function appendEOL() { + resetLastChars(); + if (textContentItem.initialized) { + textContentItem.hasEOL = true; + flushTextContentItem(); + } else { + textContent.items.push({ + str: "", + dir: "ltr", + width: 0, + height: 0, + transform: getCurrentTextTransform(), + fontName: textState.loadedName, + hasEOL: true + }); + } + } + function addFakeSpaces(width, transf, textOrientation) { + if (textOrientation * textContentItem.spaceInFlowMin <= width && width <= textOrientation * textContentItem.spaceInFlowMax) { + if (textContentItem.initialized) { + resetLastChars(); + textContentItem.str.push(" "); + } + return false; + } + const fontName = textContentItem.fontName; + let height = 0; + if (textContentItem.vertical) { + height = width; + width = 0; + } + flushTextContentItem(); + resetLastChars(); + pushWhitespace({ + width: Math.abs(width), + height: Math.abs(height), + transform: transf || getCurrentTextTransform(), + fontName + }); + return true; + } + function flushTextContentItem() { + if (!textContentItem.initialized || !textContentItem.str) { + return; + } + if (!textContentItem.vertical) { + textContentItem.totalWidth += textContentItem.width * textContentItem.textAdvanceScale; + } else { + textContentItem.totalHeight += textContentItem.height * textContentItem.textAdvanceScale; + } + textContent.items.push(runBidiTransform(textContentItem)); + textContentItem.initialized = false; + textContentItem.str.length = 0; + } + function enqueueChunk(batch = false) { + const length = textContent.items.length; + if (length === 0) { + return; + } + if (batch && length < TEXT_CHUNK_BATCH_SIZE) { + return; + } + sink.enqueue(textContent, length); + textContent.items = []; + textContent.styles = Object.create(null); + } + const timeSlotManager = new TimeSlotManager(); + return new Promise(function promiseBody(resolve, reject) { + const next = function (promise) { + enqueueChunk(true); + Promise.all([promise, sink.ready]).then(function () { + try { + promiseBody(resolve, reject); + } catch (ex) { + reject(ex); + } + }, reject); + }; + task.ensureNotTerminated(); + timeSlotManager.reset(); + const operation = {}; + let stop, + args = []; + while (!(stop = timeSlotManager.check())) { + args.length = 0; + operation.args = args; + if (!preprocessor.read(operation)) { + break; + } + const previousState = textState; + textState = stateManager.state; + const fn = operation.fn; + args = operation.args; + switch (fn | 0) { + case _util.OPS.setFont: + var fontNameArg = args[0].name, + fontSizeArg = args[1]; + if (textState.font && fontNameArg === textState.fontName && fontSizeArg === textState.fontSize) { + break; + } + flushTextContentItem(); + textState.fontName = fontNameArg; + textState.fontSize = fontSizeArg; + next(handleSetFont(fontNameArg, null)); + return; + case _util.OPS.setTextRise: + textState.textRise = args[0]; + break; + case _util.OPS.setHScale: + textState.textHScale = args[0] / 100; + break; + case _util.OPS.setLeading: + textState.leading = args[0]; + break; + case _util.OPS.moveText: + textState.translateTextLineMatrix(args[0], args[1]); + textState.textMatrix = textState.textLineMatrix.slice(); + break; + case _util.OPS.setLeadingMoveText: + textState.leading = -args[1]; + textState.translateTextLineMatrix(args[0], args[1]); + textState.textMatrix = textState.textLineMatrix.slice(); + break; + case _util.OPS.nextLine: + textState.carriageReturn(); + break; + case _util.OPS.setTextMatrix: + textState.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); + textState.setTextLineMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); + updateAdvanceScale(); + break; + case _util.OPS.setCharSpacing: + textState.charSpacing = args[0]; + break; + case _util.OPS.setWordSpacing: + textState.wordSpacing = args[0]; + break; + case _util.OPS.beginText: + textState.textMatrix = _util.IDENTITY_MATRIX.slice(); + textState.textLineMatrix = _util.IDENTITY_MATRIX.slice(); + break; + case _util.OPS.showSpacedText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + const spaceFactor = (textState.font.vertical ? 1 : -1) * textState.fontSize / 1000; + const elements = args[0]; + for (let i = 0, ii = elements.length; i < ii; i++) { + const item = elements[i]; + if (typeof item === "string") { + showSpacedTextBuffer.push(item); + } else if (typeof item === "number" && item !== 0) { + const str = showSpacedTextBuffer.join(""); + showSpacedTextBuffer.length = 0; + buildTextContentItem({ + chars: str, + extraSpacing: item * spaceFactor + }); + } + } + if (showSpacedTextBuffer.length > 0) { + const str = showSpacedTextBuffer.join(""); + showSpacedTextBuffer.length = 0; + buildTextContentItem({ + chars: str, + extraSpacing: 0 + }); + } + break; + case _util.OPS.showText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + buildTextContentItem({ + chars: args[0], + extraSpacing: 0 + }); + break; + case _util.OPS.nextLineShowText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + textState.carriageReturn(); + buildTextContentItem({ + chars: args[0], + extraSpacing: 0 + }); + break; + case _util.OPS.nextLineSetSpacingShowText: + if (!stateManager.state.font) { + self.ensureStateFont(stateManager.state); + continue; + } + textState.wordSpacing = args[0]; + textState.charSpacing = args[1]; + textState.carriageReturn(); + buildTextContentItem({ + chars: args[2], + extraSpacing: 0 + }); + break; + case _util.OPS.paintXObject: + flushTextContentItem(); + if (!xobjs) { + xobjs = resources.get("XObject") || _primitives.Dict.empty; + } + var isValidName = args[0] instanceof _primitives.Name; + var name = args[0].name; + if (isValidName && emptyXObjectCache.getByName(name)) { + break; + } + next(new Promise(function (resolveXObject, rejectXObject) { + if (!isValidName) { + throw new _util.FormatError("XObject must be referred to by name."); + } + let xobj = xobjs.getRaw(name); + if (xobj instanceof _primitives.Ref) { + if (emptyXObjectCache.getByRef(xobj)) { + resolveXObject(); + return; + } + const globalImage = self.globalImageCache.getData(xobj, self.pageIndex); + if (globalImage) { + resolveXObject(); + return; + } + xobj = xref.fetch(xobj); + } + if (!(xobj instanceof _base_stream.BaseStream)) { + throw new _util.FormatError("XObject should be a stream"); + } + const type = xobj.dict.get("Subtype"); + if (!(type instanceof _primitives.Name)) { + throw new _util.FormatError("XObject should have a Name subtype"); + } + if (type.name !== "Form") { + emptyXObjectCache.set(name, xobj.dict.objId, true); + resolveXObject(); + return; + } + const currentState = stateManager.state.clone(); + const xObjStateManager = new StateManager(currentState); + const matrix = xobj.dict.getArray("Matrix"); + if (Array.isArray(matrix) && matrix.length === 6) { + xObjStateManager.transform(matrix); + } + enqueueChunk(); + const sinkWrapper = { + enqueueInvoked: false, + enqueue(chunk, size) { + this.enqueueInvoked = true; + sink.enqueue(chunk, size); + }, + get desiredSize() { + return sink.desiredSize; + }, + get ready() { + return sink.ready; + } + }; + self.getTextContent({ + stream: xobj, + task, + resources: xobj.dict.get("Resources") || resources, + stateManager: xObjStateManager, + includeMarkedContent, + sink: sinkWrapper, + seenStyles, + viewBox, + markedContentData, + disableNormalization + }).then(function () { + if (!sinkWrapper.enqueueInvoked) { + emptyXObjectCache.set(name, xobj.dict.objId, true); + } + resolveXObject(); + }, rejectXObject); + }).catch(function (reason) { + if (reason instanceof _util.AbortException) { + return; + } + if (self.options.ignoreErrors) { + (0, _util.warn)(`getTextContent - ignoring XObject: "${reason}".`); + return; + } + throw reason; + })); + return; + case _util.OPS.setGState: + isValidName = args[0] instanceof _primitives.Name; + name = args[0].name; + if (isValidName && emptyGStateCache.getByName(name)) { + break; + } + next(new Promise(function (resolveGState, rejectGState) { + if (!isValidName) { + throw new _util.FormatError("GState must be referred to by name."); + } + const extGState = resources.get("ExtGState"); + if (!(extGState instanceof _primitives.Dict)) { + throw new _util.FormatError("ExtGState should be a dictionary."); + } + const gState = extGState.get(name); + if (!(gState instanceof _primitives.Dict)) { + throw new _util.FormatError("GState should be a dictionary."); + } + const gStateFont = gState.get("Font"); + if (!gStateFont) { + emptyGStateCache.set(name, gState.objId, true); + resolveGState(); + return; + } + flushTextContentItem(); + textState.fontName = null; + textState.fontSize = gStateFont[1]; + handleSetFont(null, gStateFont[0]).then(resolveGState, rejectGState); + }).catch(function (reason) { + if (reason instanceof _util.AbortException) { + return; + } + if (self.options.ignoreErrors) { + (0, _util.warn)(`getTextContent - ignoring ExtGState: "${reason}".`); + return; + } + throw reason; + })); + return; + case _util.OPS.beginMarkedContent: + flushTextContentItem(); + if (includeMarkedContent) { + markedContentData.level++; + textContent.items.push({ + type: "beginMarkedContent", + tag: args[0] instanceof _primitives.Name ? args[0].name : null + }); + } + break; + case _util.OPS.beginMarkedContentProps: + flushTextContentItem(); + if (includeMarkedContent) { + markedContentData.level++; + let mcid = null; + if (args[1] instanceof _primitives.Dict) { + mcid = args[1].get("MCID"); + } + textContent.items.push({ + type: "beginMarkedContentProps", + id: Number.isInteger(mcid) ? `${self.idFactory.getPageObjId()}_mc${mcid}` : null, + tag: args[0] instanceof _primitives.Name ? args[0].name : null + }); + } + break; + case _util.OPS.endMarkedContent: + flushTextContentItem(); + if (includeMarkedContent) { + if (markedContentData.level === 0) { + break; + } + markedContentData.level--; + textContent.items.push({ + type: "endMarkedContent" + }); + } + break; + case _util.OPS.restore: + if (previousState && (previousState.font !== textState.font || previousState.fontSize !== textState.fontSize || previousState.fontName !== textState.fontName)) { + flushTextContentItem(); + } + break; + } + if (textContent.items.length >= sink.desiredSize) { + stop = true; + break; + } + } + if (stop) { + next(deferred); + return; + } + flushTextContentItem(); + enqueueChunk(); + resolve(); + }).catch(reason => { + if (reason instanceof _util.AbortException) { + return; + } + if (this.options.ignoreErrors) { + (0, _util.warn)(`getTextContent - ignoring errors during "${task.name}" ` + `task: "${reason}".`); + flushTextContentItem(); + enqueueChunk(); + return; + } + throw reason; + }); + } + extractDataStructures(dict, baseDict, properties) { + const xref = this.xref; + let cidToGidBytes; + const toUnicodePromise = this.readToUnicode(properties.toUnicode || dict.get("ToUnicode") || baseDict.get("ToUnicode")); + if (properties.composite) { + const cidSystemInfo = dict.get("CIDSystemInfo"); + if (cidSystemInfo instanceof _primitives.Dict) { + properties.cidSystemInfo = { + registry: (0, _util.stringToPDFString)(cidSystemInfo.get("Registry")), + ordering: (0, _util.stringToPDFString)(cidSystemInfo.get("Ordering")), + supplement: cidSystemInfo.get("Supplement") + }; + } + try { + const cidToGidMap = dict.get("CIDToGIDMap"); + if (cidToGidMap instanceof _base_stream.BaseStream) { + cidToGidBytes = cidToGidMap.getBytes(); + } + } catch (ex) { + if (!this.options.ignoreErrors) { + throw ex; + } + (0, _util.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${ex}".`); + } + } + const differences = []; + let baseEncodingName = null; + let encoding; + if (dict.has("Encoding")) { + encoding = dict.get("Encoding"); + if (encoding instanceof _primitives.Dict) { + baseEncodingName = encoding.get("BaseEncoding"); + baseEncodingName = baseEncodingName instanceof _primitives.Name ? baseEncodingName.name : null; + if (encoding.has("Differences")) { + const diffEncoding = encoding.get("Differences"); + let index = 0; + for (const entry of diffEncoding) { + const data = xref.fetchIfRef(entry); + if (typeof data === "number") { + index = data; + } else if (data instanceof _primitives.Name) { + differences[index++] = data.name; + } else { + throw new _util.FormatError(`Invalid entry in 'Differences' array: ${data}`); + } + } + } + } else if (encoding instanceof _primitives.Name) { + baseEncodingName = encoding.name; + } else { + const msg = "Encoding is not a Name nor a Dict"; + if (!this.options.ignoreErrors) { + throw new _util.FormatError(msg); + } + (0, _util.warn)(msg); + } + if (baseEncodingName !== "MacRomanEncoding" && baseEncodingName !== "MacExpertEncoding" && baseEncodingName !== "WinAnsiEncoding") { + baseEncodingName = null; + } + } + const nonEmbeddedFont = !properties.file || properties.isInternalFont, + isSymbolsFontName = (0, _standard_fonts.getSymbolsFonts)()[properties.name]; + if (baseEncodingName && nonEmbeddedFont && isSymbolsFontName) { + baseEncodingName = null; + } + if (baseEncodingName) { + properties.defaultEncoding = (0, _encodings.getEncoding)(baseEncodingName); + } else { + const isSymbolicFont = !!(properties.flags & _fonts_utils.FontFlags.Symbolic); + const isNonsymbolicFont = !!(properties.flags & _fonts_utils.FontFlags.Nonsymbolic); + encoding = _encodings.StandardEncoding; + if (properties.type === "TrueType" && !isNonsymbolicFont) { + encoding = _encodings.WinAnsiEncoding; + } + if (isSymbolicFont || isSymbolsFontName) { + encoding = _encodings.MacRomanEncoding; + if (nonEmbeddedFont) { + if (/Symbol/i.test(properties.name)) { + encoding = _encodings.SymbolSetEncoding; + } else if (/Dingbats/i.test(properties.name)) { + encoding = _encodings.ZapfDingbatsEncoding; + } else if (/Wingdings/i.test(properties.name)) { + encoding = _encodings.WinAnsiEncoding; + } + } + } + properties.defaultEncoding = encoding; + } + properties.differences = differences; + properties.baseEncodingName = baseEncodingName; + properties.hasEncoding = !!baseEncodingName || differences.length > 0; + properties.dict = dict; + return toUnicodePromise.then(readToUnicode => { + properties.toUnicode = readToUnicode; + return this.buildToUnicode(properties); + }).then(builtToUnicode => { + properties.toUnicode = builtToUnicode; + if (cidToGidBytes) { + properties.cidToGidMap = this.readCidToGidMap(cidToGidBytes, builtToUnicode); + } + return properties; + }); + } + _simpleFontToUnicode(properties, forceGlyphs = false) { + (0, _util.assert)(!properties.composite, "Must be a simple font."); + const toUnicode = []; + const encoding = properties.defaultEncoding.slice(); + const baseEncodingName = properties.baseEncodingName; + const differences = properties.differences; + for (const charcode in differences) { + const glyphName = differences[charcode]; + if (glyphName === ".notdef") { + continue; + } + encoding[charcode] = glyphName; + } + const glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + for (const charcode in encoding) { + let glyphName = encoding[charcode]; + if (glyphName === "") { + continue; + } + let unicode = glyphsUnicodeMap[glyphName]; + if (unicode !== undefined) { + toUnicode[charcode] = String.fromCharCode(unicode); + continue; + } + let code = 0; + switch (glyphName[0]) { + case "G": + if (glyphName.length === 3) { + code = parseInt(glyphName.substring(1), 16); + } + break; + case "g": + if (glyphName.length === 5) { + code = parseInt(glyphName.substring(1), 16); + } + break; + case "C": + case "c": + if (glyphName.length >= 3 && glyphName.length <= 4) { + const codeStr = glyphName.substring(1); + if (forceGlyphs) { + code = parseInt(codeStr, 16); + break; + } + code = +codeStr; + if (Number.isNaN(code) && Number.isInteger(parseInt(codeStr, 16))) { + return this._simpleFontToUnicode(properties, true); + } + } + break; + case "u": + unicode = (0, _unicode.getUnicodeForGlyph)(glyphName, glyphsUnicodeMap); + if (unicode !== -1) { + code = unicode; + } + break; + default: + switch (glyphName) { + case "f_h": + case "f_t": + case "T_h": + toUnicode[charcode] = glyphName.replaceAll("_", ""); + continue; + } + break; + } + if (code > 0 && code <= 0x10ffff && Number.isInteger(code)) { + if (baseEncodingName && code === +charcode) { + const baseEncoding = (0, _encodings.getEncoding)(baseEncodingName); + if (baseEncoding && (glyphName = baseEncoding[charcode])) { + toUnicode[charcode] = String.fromCharCode(glyphsUnicodeMap[glyphName]); + continue; + } + } + toUnicode[charcode] = String.fromCodePoint(code); + } + } + return toUnicode; + } + async buildToUnicode(properties) { + properties.hasIncludedToUnicodeMap = properties.toUnicode?.length > 0; + if (properties.hasIncludedToUnicodeMap) { + if (!properties.composite && properties.hasEncoding) { + properties.fallbackToUnicode = this._simpleFontToUnicode(properties); + } + return properties.toUnicode; + } + if (!properties.composite) { + return new _to_unicode_map.ToUnicodeMap(this._simpleFontToUnicode(properties)); + } + if (properties.composite && (properties.cMap.builtInCMap && !(properties.cMap instanceof _cmap.IdentityCMap) || properties.cidSystemInfo.registry === "Adobe" && (properties.cidSystemInfo.ordering === "GB1" || properties.cidSystemInfo.ordering === "CNS1" || properties.cidSystemInfo.ordering === "Japan1" || properties.cidSystemInfo.ordering === "Korea1"))) { + const { + registry, + ordering + } = properties.cidSystemInfo; + const ucs2CMapName = _primitives.Name.get(`${registry}-${ordering}-UCS2`); + const ucs2CMap = await _cmap.CMapFactory.create({ + encoding: ucs2CMapName, + fetchBuiltInCMap: this._fetchBuiltInCMapBound, + useCMap: null + }); + const toUnicode = [], + buf = []; + properties.cMap.forEach(function (charcode, cid) { + if (cid > 0xffff) { + throw new _util.FormatError("Max size of CID is 65,535"); + } + const ucs2 = ucs2CMap.lookup(cid); + if (ucs2) { + buf.length = 0; + for (let i = 0, ii = ucs2.length; i < ii; i += 2) { + buf.push((ucs2.charCodeAt(i) << 8) + ucs2.charCodeAt(i + 1)); + } + toUnicode[charcode] = String.fromCharCode(...buf); + } + }); + return new _to_unicode_map.ToUnicodeMap(toUnicode); + } + return new _to_unicode_map.IdentityToUnicodeMap(properties.firstChar, properties.lastChar); + } + readToUnicode(cmapObj) { + if (!cmapObj) { + return Promise.resolve(null); + } + if (cmapObj instanceof _primitives.Name) { + return _cmap.CMapFactory.create({ + encoding: cmapObj, + fetchBuiltInCMap: this._fetchBuiltInCMapBound, + useCMap: null + }).then(function (cmap) { + if (cmap instanceof _cmap.IdentityCMap) { + return new _to_unicode_map.IdentityToUnicodeMap(0, 0xffff); + } + return new _to_unicode_map.ToUnicodeMap(cmap.getMap()); + }); + } else if (cmapObj instanceof _base_stream.BaseStream) { + return _cmap.CMapFactory.create({ + encoding: cmapObj, + fetchBuiltInCMap: this._fetchBuiltInCMapBound, + useCMap: null + }).then(function (cmap) { + if (cmap instanceof _cmap.IdentityCMap) { + return new _to_unicode_map.IdentityToUnicodeMap(0, 0xffff); + } + const map = new Array(cmap.length); + cmap.forEach(function (charCode, token) { + if (typeof token === "number") { + map[charCode] = String.fromCodePoint(token); + return; + } + const str = []; + for (let k = 0; k < token.length; k += 2) { + const w1 = token.charCodeAt(k) << 8 | token.charCodeAt(k + 1); + if ((w1 & 0xf800) !== 0xd800) { + str.push(w1); + continue; + } + k += 2; + const w2 = token.charCodeAt(k) << 8 | token.charCodeAt(k + 1); + str.push(((w1 & 0x3ff) << 10) + (w2 & 0x3ff) + 0x10000); + } + map[charCode] = String.fromCodePoint(...str); + }); + return new _to_unicode_map.ToUnicodeMap(map); + }, reason => { + if (reason instanceof _util.AbortException) { + return null; + } + if (this.options.ignoreErrors) { + (0, _util.warn)(`readToUnicode - ignoring ToUnicode data: "${reason}".`); + return null; + } + throw reason; + }); + } + return Promise.resolve(null); + } + readCidToGidMap(glyphsData, toUnicode) { + const result = []; + for (let j = 0, jj = glyphsData.length; j < jj; j++) { + const glyphID = glyphsData[j++] << 8 | glyphsData[j]; + const code = j >> 1; + if (glyphID === 0 && !toUnicode.has(code)) { + continue; + } + result[code] = glyphID; + } + return result; + } + extractWidths(dict, descriptor, properties) { + const xref = this.xref; + let glyphsWidths = []; + let defaultWidth = 0; + const glyphsVMetrics = []; + let defaultVMetrics; + let i, ii, j, jj, start, code, widths; + if (properties.composite) { + defaultWidth = dict.has("DW") ? dict.get("DW") : 1000; + widths = dict.get("W"); + if (widths) { + for (i = 0, ii = widths.length; i < ii; i++) { + start = xref.fetchIfRef(widths[i++]); + code = xref.fetchIfRef(widths[i]); + if (Array.isArray(code)) { + for (j = 0, jj = code.length; j < jj; j++) { + glyphsWidths[start++] = xref.fetchIfRef(code[j]); + } + } else { + const width = xref.fetchIfRef(widths[++i]); + for (j = start; j <= code; j++) { + glyphsWidths[j] = width; + } + } + } + } + if (properties.vertical) { + let vmetrics = dict.getArray("DW2") || [880, -1000]; + defaultVMetrics = [vmetrics[1], defaultWidth * 0.5, vmetrics[0]]; + vmetrics = dict.get("W2"); + if (vmetrics) { + for (i = 0, ii = vmetrics.length; i < ii; i++) { + start = xref.fetchIfRef(vmetrics[i++]); + code = xref.fetchIfRef(vmetrics[i]); + if (Array.isArray(code)) { + for (j = 0, jj = code.length; j < jj; j++) { + glyphsVMetrics[start++] = [xref.fetchIfRef(code[j++]), xref.fetchIfRef(code[j++]), xref.fetchIfRef(code[j])]; + } + } else { + const vmetric = [xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vmetrics[++i])]; + for (j = start; j <= code; j++) { + glyphsVMetrics[j] = vmetric; + } + } + } + } + } + } else { + const firstChar = properties.firstChar; + widths = dict.get("Widths"); + if (widths) { + j = firstChar; + for (i = 0, ii = widths.length; i < ii; i++) { + glyphsWidths[j++] = xref.fetchIfRef(widths[i]); + } + defaultWidth = parseFloat(descriptor.get("MissingWidth")) || 0; + } else { + const baseFontName = dict.get("BaseFont"); + if (baseFontName instanceof _primitives.Name) { + const metrics = this.getBaseFontMetrics(baseFontName.name); + glyphsWidths = this.buildCharCodeToWidth(metrics.widths, properties); + defaultWidth = metrics.defaultWidth; + } + } + } + let isMonospace = true; + let firstWidth = defaultWidth; + for (const glyph in glyphsWidths) { + const glyphWidth = glyphsWidths[glyph]; + if (!glyphWidth) { + continue; + } + if (!firstWidth) { + firstWidth = glyphWidth; + continue; + } + if (firstWidth !== glyphWidth) { + isMonospace = false; + break; + } + } + if (isMonospace) { + properties.flags |= _fonts_utils.FontFlags.FixedPitch; + } else { + properties.flags &= ~_fonts_utils.FontFlags.FixedPitch; + } + properties.defaultWidth = defaultWidth; + properties.widths = glyphsWidths; + properties.defaultVMetrics = defaultVMetrics; + properties.vmetrics = glyphsVMetrics; + } + isSerifFont(baseFontName) { + const fontNameWoStyle = baseFontName.split("-")[0]; + return fontNameWoStyle in (0, _standard_fonts.getSerifFonts)() || /serif/gi.test(fontNameWoStyle); + } + getBaseFontMetrics(name) { + let defaultWidth = 0; + let widths = Object.create(null); + let monospace = false; + const stdFontMap = (0, _standard_fonts.getStdFontMap)(); + let lookupName = stdFontMap[name] || name; + const Metrics = (0, _metrics.getMetrics)(); + if (!(lookupName in Metrics)) { + if (this.isSerifFont(name)) { + lookupName = "Times-Roman"; + } else { + lookupName = "Helvetica"; + } + } + const glyphWidths = Metrics[lookupName]; + if (typeof glyphWidths === "number") { + defaultWidth = glyphWidths; + monospace = true; + } else { + widths = glyphWidths(); + } + return { + defaultWidth, + monospace, + widths + }; + } + buildCharCodeToWidth(widthsByGlyphName, properties) { + const widths = Object.create(null); + const differences = properties.differences; + const encoding = properties.defaultEncoding; + for (let charCode = 0; charCode < 256; charCode++) { + if (charCode in differences && widthsByGlyphName[differences[charCode]]) { + widths[charCode] = widthsByGlyphName[differences[charCode]]; + continue; + } + if (charCode in encoding && widthsByGlyphName[encoding[charCode]]) { + widths[charCode] = widthsByGlyphName[encoding[charCode]]; + continue; + } + } + return widths; + } + preEvaluateFont(dict) { + const baseDict = dict; + let type = dict.get("Subtype"); + if (!(type instanceof _primitives.Name)) { + throw new _util.FormatError("invalid font Subtype"); + } + let composite = false; + let hash, toUnicode; + if (type.name === "Type0") { + const df = dict.get("DescendantFonts"); + if (!df) { + throw new _util.FormatError("Descendant fonts are not specified"); + } + dict = Array.isArray(df) ? this.xref.fetchIfRef(df[0]) : df; + if (!(dict instanceof _primitives.Dict)) { + throw new _util.FormatError("Descendant font is not a dictionary."); + } + type = dict.get("Subtype"); + if (!(type instanceof _primitives.Name)) { + throw new _util.FormatError("invalid font Subtype"); + } + composite = true; + } + const firstChar = dict.get("FirstChar") || 0, + lastChar = dict.get("LastChar") || (composite ? 0xffff : 0xff); + const descriptor = dict.get("FontDescriptor"); + if (descriptor) { + hash = new _murmurhash.MurmurHash3_64(); + const encoding = baseDict.getRaw("Encoding"); + if (encoding instanceof _primitives.Name) { + hash.update(encoding.name); + } else if (encoding instanceof _primitives.Ref) { + hash.update(encoding.toString()); + } else if (encoding instanceof _primitives.Dict) { + for (const entry of encoding.getRawValues()) { + if (entry instanceof _primitives.Name) { + hash.update(entry.name); + } else if (entry instanceof _primitives.Ref) { + hash.update(entry.toString()); + } else if (Array.isArray(entry)) { + const diffLength = entry.length, + diffBuf = new Array(diffLength); + for (let j = 0; j < diffLength; j++) { + const diffEntry = entry[j]; + if (diffEntry instanceof _primitives.Name) { + diffBuf[j] = diffEntry.name; + } else if (typeof diffEntry === "number" || diffEntry instanceof _primitives.Ref) { + diffBuf[j] = diffEntry.toString(); + } + } + hash.update(diffBuf.join()); + } + } + } + hash.update(`${firstChar}-${lastChar}`); + toUnicode = dict.get("ToUnicode") || baseDict.get("ToUnicode"); + if (toUnicode instanceof _base_stream.BaseStream) { + const stream = toUnicode.str || toUnicode; + const uint8array = stream.buffer ? new Uint8Array(stream.buffer.buffer, 0, stream.bufferLength) : new Uint8Array(stream.bytes.buffer, stream.start, stream.end - stream.start); + hash.update(uint8array); + } else if (toUnicode instanceof _primitives.Name) { + hash.update(toUnicode.name); + } + const widths = dict.get("Widths") || baseDict.get("Widths"); + if (Array.isArray(widths)) { + const widthsBuf = []; + for (const entry of widths) { + if (typeof entry === "number" || entry instanceof _primitives.Ref) { + widthsBuf.push(entry.toString()); + } + } + hash.update(widthsBuf.join()); + } + if (composite) { + hash.update("compositeFont"); + const compositeWidths = dict.get("W") || baseDict.get("W"); + if (Array.isArray(compositeWidths)) { + const widthsBuf = []; + for (const entry of compositeWidths) { + if (typeof entry === "number" || entry instanceof _primitives.Ref) { + widthsBuf.push(entry.toString()); + } else if (Array.isArray(entry)) { + const subWidthsBuf = []; + for (const element of entry) { + if (typeof element === "number" || element instanceof _primitives.Ref) { + subWidthsBuf.push(element.toString()); + } + } + widthsBuf.push(`[${subWidthsBuf.join()}]`); + } + } + hash.update(widthsBuf.join()); + } + const cidToGidMap = dict.getRaw("CIDToGIDMap") || baseDict.getRaw("CIDToGIDMap"); + if (cidToGidMap instanceof _primitives.Name) { + hash.update(cidToGidMap.name); + } else if (cidToGidMap instanceof _primitives.Ref) { + hash.update(cidToGidMap.toString()); + } else if (cidToGidMap instanceof _base_stream.BaseStream) { + hash.update(cidToGidMap.peekBytes()); + } + } + } + return { + descriptor, + dict, + baseDict, + composite, + type: type.name, + firstChar, + lastChar, + toUnicode, + hash: hash ? hash.hexdigest() : "" + }; + } + async translateFont({ + descriptor, + dict, + baseDict, + composite, + type, + firstChar, + lastChar, + toUnicode, + cssFontInfo + }) { + const isType3Font = type === "Type3"; + let properties; + if (!descriptor) { + if (isType3Font) { + descriptor = new _primitives.Dict(null); + descriptor.set("FontName", _primitives.Name.get(type)); + descriptor.set("FontBBox", dict.getArray("FontBBox") || [0, 0, 0, 0]); + } else { + let baseFontName = dict.get("BaseFont"); + if (!(baseFontName instanceof _primitives.Name)) { + throw new _util.FormatError("Base font is not specified"); + } + baseFontName = baseFontName.name.replaceAll(/[,_]/g, "-"); + const metrics = this.getBaseFontMetrics(baseFontName); + const fontNameWoStyle = baseFontName.split("-")[0]; + const flags = (this.isSerifFont(fontNameWoStyle) ? _fonts_utils.FontFlags.Serif : 0) | (metrics.monospace ? _fonts_utils.FontFlags.FixedPitch : 0) | ((0, _standard_fonts.getSymbolsFonts)()[fontNameWoStyle] ? _fonts_utils.FontFlags.Symbolic : _fonts_utils.FontFlags.Nonsymbolic); + properties = { + type, + name: baseFontName, + loadedName: baseDict.loadedName, + systemFontInfo: null, + widths: metrics.widths, + defaultWidth: metrics.defaultWidth, + isSimulatedFlags: true, + flags, + firstChar, + lastChar, + toUnicode, + xHeight: 0, + capHeight: 0, + italicAngle: 0, + isType3Font + }; + const widths = dict.get("Widths"); + const standardFontName = (0, _standard_fonts.getStandardFontName)(baseFontName); + let file = null; + if (standardFontName) { + file = await this.fetchStandardFontData(standardFontName); + properties.isInternalFont = !!file; + } + if (!properties.isInternalFont && this.options.useSystemFonts) { + properties.systemFontInfo = (0, _font_substitutions.getFontSubstitution)(this.systemFontCache, this.idFactory, this.options.standardFontDataUrl, baseFontName, standardFontName); + } + return this.extractDataStructures(dict, dict, properties).then(newProperties => { + if (widths) { + const glyphWidths = []; + let j = firstChar; + for (const width of widths) { + glyphWidths[j++] = this.xref.fetchIfRef(width); + } + newProperties.widths = glyphWidths; + } else { + newProperties.widths = this.buildCharCodeToWidth(metrics.widths, newProperties); + } + return new _fonts.Font(baseFontName, file, newProperties); + }); + } + } + let fontName = descriptor.get("FontName"); + let baseFont = dict.get("BaseFont"); + if (typeof fontName === "string") { + fontName = _primitives.Name.get(fontName); + } + if (typeof baseFont === "string") { + baseFont = _primitives.Name.get(baseFont); + } + const fontNameStr = fontName?.name; + const baseFontStr = baseFont?.name; + if (!isType3Font && fontNameStr !== baseFontStr) { + (0, _util.info)(`The FontDescriptor's FontName is "${fontNameStr}" but ` + `should be the same as the Font's BaseFont "${baseFontStr}".`); + if (fontNameStr && baseFontStr && (baseFontStr.startsWith(fontNameStr) || !(0, _standard_fonts.isKnownFontName)(fontNameStr) && (0, _standard_fonts.isKnownFontName)(baseFontStr))) { + fontName = null; + } + } + fontName ||= baseFont; + if (!(fontName instanceof _primitives.Name)) { + throw new _util.FormatError("invalid font name"); + } + let fontFile, subtype, length1, length2, length3; + try { + fontFile = descriptor.get("FontFile", "FontFile2", "FontFile3"); + } catch (ex) { + if (!this.options.ignoreErrors) { + throw ex; + } + (0, _util.warn)(`translateFont - fetching "${fontName.name}" font file: "${ex}".`); + fontFile = new _stream.NullStream(); + } + let isInternalFont = false; + let glyphScaleFactors = null; + let systemFontInfo = null; + if (fontFile) { + if (fontFile.dict) { + const subtypeEntry = fontFile.dict.get("Subtype"); + if (subtypeEntry instanceof _primitives.Name) { + subtype = subtypeEntry.name; + } + length1 = fontFile.dict.get("Length1"); + length2 = fontFile.dict.get("Length2"); + length3 = fontFile.dict.get("Length3"); + } + } else if (cssFontInfo) { + const standardFontName = (0, _xfa_fonts.getXfaFontName)(fontName.name); + if (standardFontName) { + cssFontInfo.fontFamily = `${cssFontInfo.fontFamily}-PdfJS-XFA`; + cssFontInfo.metrics = standardFontName.metrics || null; + glyphScaleFactors = standardFontName.factors || null; + fontFile = await this.fetchStandardFontData(standardFontName.name); + isInternalFont = !!fontFile; + baseDict = dict = (0, _xfa_fonts.getXfaFontDict)(fontName.name); + composite = true; + } + } else if (!isType3Font) { + const standardFontName = (0, _standard_fonts.getStandardFontName)(fontName.name); + if (standardFontName) { + fontFile = await this.fetchStandardFontData(standardFontName); + isInternalFont = !!fontFile; + } + if (!isInternalFont && this.options.useSystemFonts) { + systemFontInfo = (0, _font_substitutions.getFontSubstitution)(this.systemFontCache, this.idFactory, this.options.standardFontDataUrl, fontName.name, standardFontName); + } + } + properties = { + type, + name: fontName.name, + subtype, + file: fontFile, + length1, + length2, + length3, + isInternalFont, + loadedName: baseDict.loadedName, + composite, + fixedPitch: false, + fontMatrix: dict.getArray("FontMatrix") || _util.FONT_IDENTITY_MATRIX, + firstChar, + lastChar, + toUnicode, + bbox: descriptor.getArray("FontBBox") || dict.getArray("FontBBox"), + ascent: descriptor.get("Ascent"), + descent: descriptor.get("Descent"), + xHeight: descriptor.get("XHeight") || 0, + capHeight: descriptor.get("CapHeight") || 0, + flags: descriptor.get("Flags"), + italicAngle: descriptor.get("ItalicAngle") || 0, + isType3Font, + cssFontInfo, + scaleFactors: glyphScaleFactors, + systemFontInfo + }; + if (composite) { + const cidEncoding = baseDict.get("Encoding"); + if (cidEncoding instanceof _primitives.Name) { + properties.cidEncoding = cidEncoding.name; + } + const cMap = await _cmap.CMapFactory.create({ + encoding: cidEncoding, + fetchBuiltInCMap: this._fetchBuiltInCMapBound, + useCMap: null + }); + properties.cMap = cMap; + properties.vertical = properties.cMap.vertical; + } + return this.extractDataStructures(dict, baseDict, properties).then(newProperties => { + this.extractWidths(dict, descriptor, newProperties); + return new _fonts.Font(fontName.name, fontFile, newProperties); + }); + } + static buildFontPaths(font, glyphs, handler, evaluatorOptions) { + function buildPath(fontChar) { + const glyphName = `${font.loadedName}_path_${fontChar}`; + try { + if (font.renderer.hasBuiltPath(fontChar)) { + return; + } + handler.send("commonobj", [glyphName, "FontPath", font.renderer.getPathJs(fontChar)]); + } catch (reason) { + if (evaluatorOptions.ignoreErrors) { + (0, _util.warn)(`buildFontPaths - ignoring ${glyphName} glyph: "${reason}".`); + return; + } + throw reason; + } + } + for (const glyph of glyphs) { + buildPath(glyph.fontChar); + const accent = glyph.accent; + if (accent?.fontChar) { + buildPath(accent.fontChar); + } + } + } + static get fallbackFontDict() { + const dict = new _primitives.Dict(); + dict.set("BaseFont", _primitives.Name.get("Helvetica")); + dict.set("Type", _primitives.Name.get("FallbackType")); + dict.set("Subtype", _primitives.Name.get("FallbackType")); + dict.set("Encoding", _primitives.Name.get("WinAnsiEncoding")); + return (0, _util.shadow)(this, "fallbackFontDict", dict); + } +} +exports.PartialEvaluator = PartialEvaluator; +class TranslatedFont { + constructor({ + loadedName, + font, + dict, + evaluatorOptions + }) { + this.loadedName = loadedName; + this.font = font; + this.dict = dict; + this._evaluatorOptions = evaluatorOptions || DefaultPartialEvaluatorOptions; + this.type3Loaded = null; + this.type3Dependencies = font.isType3Font ? new Set() : null; + this.sent = false; + } + send(handler) { + if (this.sent) { + return; + } + this.sent = true; + handler.send("commonobj", [this.loadedName, "Font", this.font.exportData(this._evaluatorOptions.fontExtraProperties)]); + } + fallback(handler) { + if (!this.font.data) { + return; + } + this.font.disableFontFace = true; + PartialEvaluator.buildFontPaths(this.font, this.font.glyphCacheValues, handler, this._evaluatorOptions); + } + loadType3Data(evaluator, resources, task) { + if (this.type3Loaded) { + return this.type3Loaded; + } + if (!this.font.isType3Font) { + throw new Error("Must be a Type3 font."); + } + const type3Evaluator = evaluator.clone({ + ignoreErrors: false + }); + type3Evaluator.parsingType3Font = true; + const type3FontRefs = new _primitives.RefSet(evaluator.type3FontRefs); + if (this.dict.objId && !type3FontRefs.has(this.dict.objId)) { + type3FontRefs.put(this.dict.objId); + } + type3Evaluator.type3FontRefs = type3FontRefs; + const translatedFont = this.font, + type3Dependencies = this.type3Dependencies; + let loadCharProcsPromise = Promise.resolve(); + const charProcs = this.dict.get("CharProcs"); + const fontResources = this.dict.get("Resources") || resources; + const charProcOperatorList = Object.create(null); + const fontBBox = _util.Util.normalizeRect(translatedFont.bbox || [0, 0, 0, 0]), + width = fontBBox[2] - fontBBox[0], + height = fontBBox[3] - fontBBox[1]; + const fontBBoxSize = Math.hypot(width, height); + for (const key of charProcs.getKeys()) { + loadCharProcsPromise = loadCharProcsPromise.then(() => { + const glyphStream = charProcs.get(key); + const operatorList = new _operator_list.OperatorList(); + return type3Evaluator.getOperatorList({ + stream: glyphStream, + task, + resources: fontResources, + operatorList + }).then(() => { + if (operatorList.fnArray[0] === _util.OPS.setCharWidthAndBounds) { + this._removeType3ColorOperators(operatorList, fontBBoxSize); + } + charProcOperatorList[key] = operatorList.getIR(); + for (const dependency of operatorList.dependencies) { + type3Dependencies.add(dependency); + } + }).catch(function (reason) { + (0, _util.warn)(`Type3 font resource "${key}" is not available.`); + const dummyOperatorList = new _operator_list.OperatorList(); + charProcOperatorList[key] = dummyOperatorList.getIR(); + }); + }); + } + this.type3Loaded = loadCharProcsPromise.then(() => { + translatedFont.charProcOperatorList = charProcOperatorList; + if (this._bbox) { + translatedFont.isCharBBox = true; + translatedFont.bbox = this._bbox; + } + }); + return this.type3Loaded; + } + _removeType3ColorOperators(operatorList, fontBBoxSize = NaN) { + const charBBox = _util.Util.normalizeRect(operatorList.argsArray[0].slice(2)), + width = charBBox[2] - charBBox[0], + height = charBBox[3] - charBBox[1]; + const charBBoxSize = Math.hypot(width, height); + if (width === 0 || height === 0) { + operatorList.fnArray.splice(0, 1); + operatorList.argsArray.splice(0, 1); + } else if (fontBBoxSize === 0 || Math.round(charBBoxSize / fontBBoxSize) >= 10) { + if (!this._bbox) { + this._bbox = [Infinity, Infinity, -Infinity, -Infinity]; + } + this._bbox[0] = Math.min(this._bbox[0], charBBox[0]); + this._bbox[1] = Math.min(this._bbox[1], charBBox[1]); + this._bbox[2] = Math.max(this._bbox[2], charBBox[2]); + this._bbox[3] = Math.max(this._bbox[3], charBBox[3]); + } + let i = 0, + ii = operatorList.length; + while (i < ii) { + switch (operatorList.fnArray[i]) { + case _util.OPS.setCharWidthAndBounds: + break; + case _util.OPS.setStrokeColorSpace: + case _util.OPS.setFillColorSpace: + case _util.OPS.setStrokeColor: + case _util.OPS.setStrokeColorN: + case _util.OPS.setFillColor: + case _util.OPS.setFillColorN: + case _util.OPS.setStrokeGray: + case _util.OPS.setFillGray: + case _util.OPS.setStrokeRGBColor: + case _util.OPS.setFillRGBColor: + case _util.OPS.setStrokeCMYKColor: + case _util.OPS.setFillCMYKColor: + case _util.OPS.shadingFill: + case _util.OPS.setRenderingIntent: + operatorList.fnArray.splice(i, 1); + operatorList.argsArray.splice(i, 1); + ii--; + continue; + case _util.OPS.setGState: + const [gStateObj] = operatorList.argsArray[i]; + let j = 0, + jj = gStateObj.length; + while (j < jj) { + const [gStateKey] = gStateObj[j]; + switch (gStateKey) { + case "TR": + case "TR2": + case "HT": + case "BG": + case "BG2": + case "UCR": + case "UCR2": + gStateObj.splice(j, 1); + jj--; + continue; + } + j++; + } + break; + } + i++; + } + } +} +class StateManager { + constructor(initialState = new EvalState()) { + this.state = initialState; + this.stateStack = []; + } + save() { + const old = this.state; + this.stateStack.push(this.state); + this.state = old.clone(); + } + restore() { + const prev = this.stateStack.pop(); + if (prev) { + this.state = prev; + } + } + transform(args) { + this.state.ctm = _util.Util.transform(this.state.ctm, args); + } +} +class TextState { + constructor() { + this.ctm = new Float32Array(_util.IDENTITY_MATRIX); + this.fontName = null; + this.fontSize = 0; + this.loadedName = null; + this.font = null; + this.fontMatrix = _util.FONT_IDENTITY_MATRIX; + this.textMatrix = _util.IDENTITY_MATRIX.slice(); + this.textLineMatrix = _util.IDENTITY_MATRIX.slice(); + this.charSpacing = 0; + this.wordSpacing = 0; + this.leading = 0; + this.textHScale = 1; + this.textRise = 0; + } + setTextMatrix(a, b, c, d, e, f) { + const m = this.textMatrix; + m[0] = a; + m[1] = b; + m[2] = c; + m[3] = d; + m[4] = e; + m[5] = f; + } + setTextLineMatrix(a, b, c, d, e, f) { + const m = this.textLineMatrix; + m[0] = a; + m[1] = b; + m[2] = c; + m[3] = d; + m[4] = e; + m[5] = f; + } + translateTextMatrix(x, y) { + const m = this.textMatrix; + m[4] = m[0] * x + m[2] * y + m[4]; + m[5] = m[1] * x + m[3] * y + m[5]; + } + translateTextLineMatrix(x, y) { + const m = this.textLineMatrix; + m[4] = m[0] * x + m[2] * y + m[4]; + m[5] = m[1] * x + m[3] * y + m[5]; + } + carriageReturn() { + this.translateTextLineMatrix(0, -this.leading); + this.textMatrix = this.textLineMatrix.slice(); + } + clone() { + const clone = Object.create(this); + clone.textMatrix = this.textMatrix.slice(); + clone.textLineMatrix = this.textLineMatrix.slice(); + clone.fontMatrix = this.fontMatrix.slice(); + return clone; + } +} +class EvalState { + constructor() { + this.ctm = new Float32Array(_util.IDENTITY_MATRIX); + this.font = null; + this.textRenderingMode = _util.TextRenderingMode.FILL; + this.fillColorSpace = _colorspace.ColorSpace.singletons.gray; + this.strokeColorSpace = _colorspace.ColorSpace.singletons.gray; + } + clone() { + return Object.create(this); + } +} +class EvaluatorPreprocessor { + static get opMap() { + const getOPMap = (0, _core_utils.getLookupTableFactory)(function (t) { + t.w = { + id: _util.OPS.setLineWidth, + numArgs: 1, + variableArgs: false + }; + t.J = { + id: _util.OPS.setLineCap, + numArgs: 1, + variableArgs: false + }; + t.j = { + id: _util.OPS.setLineJoin, + numArgs: 1, + variableArgs: false + }; + t.M = { + id: _util.OPS.setMiterLimit, + numArgs: 1, + variableArgs: false + }; + t.d = { + id: _util.OPS.setDash, + numArgs: 2, + variableArgs: false + }; + t.ri = { + id: _util.OPS.setRenderingIntent, + numArgs: 1, + variableArgs: false + }; + t.i = { + id: _util.OPS.setFlatness, + numArgs: 1, + variableArgs: false + }; + t.gs = { + id: _util.OPS.setGState, + numArgs: 1, + variableArgs: false + }; + t.q = { + id: _util.OPS.save, + numArgs: 0, + variableArgs: false + }; + t.Q = { + id: _util.OPS.restore, + numArgs: 0, + variableArgs: false + }; + t.cm = { + id: _util.OPS.transform, + numArgs: 6, + variableArgs: false + }; + t.m = { + id: _util.OPS.moveTo, + numArgs: 2, + variableArgs: false + }; + t.l = { + id: _util.OPS.lineTo, + numArgs: 2, + variableArgs: false + }; + t.c = { + id: _util.OPS.curveTo, + numArgs: 6, + variableArgs: false + }; + t.v = { + id: _util.OPS.curveTo2, + numArgs: 4, + variableArgs: false + }; + t.y = { + id: _util.OPS.curveTo3, + numArgs: 4, + variableArgs: false + }; + t.h = { + id: _util.OPS.closePath, + numArgs: 0, + variableArgs: false + }; + t.re = { + id: _util.OPS.rectangle, + numArgs: 4, + variableArgs: false + }; + t.S = { + id: _util.OPS.stroke, + numArgs: 0, + variableArgs: false + }; + t.s = { + id: _util.OPS.closeStroke, + numArgs: 0, + variableArgs: false + }; + t.f = { + id: _util.OPS.fill, + numArgs: 0, + variableArgs: false + }; + t.F = { + id: _util.OPS.fill, + numArgs: 0, + variableArgs: false + }; + t["f*"] = { + id: _util.OPS.eoFill, + numArgs: 0, + variableArgs: false + }; + t.B = { + id: _util.OPS.fillStroke, + numArgs: 0, + variableArgs: false + }; + t["B*"] = { + id: _util.OPS.eoFillStroke, + numArgs: 0, + variableArgs: false + }; + t.b = { + id: _util.OPS.closeFillStroke, + numArgs: 0, + variableArgs: false + }; + t["b*"] = { + id: _util.OPS.closeEOFillStroke, + numArgs: 0, + variableArgs: false + }; + t.n = { + id: _util.OPS.endPath, + numArgs: 0, + variableArgs: false + }; + t.W = { + id: _util.OPS.clip, + numArgs: 0, + variableArgs: false + }; + t["W*"] = { + id: _util.OPS.eoClip, + numArgs: 0, + variableArgs: false + }; + t.BT = { + id: _util.OPS.beginText, + numArgs: 0, + variableArgs: false + }; + t.ET = { + id: _util.OPS.endText, + numArgs: 0, + variableArgs: false + }; + t.Tc = { + id: _util.OPS.setCharSpacing, + numArgs: 1, + variableArgs: false + }; + t.Tw = { + id: _util.OPS.setWordSpacing, + numArgs: 1, + variableArgs: false + }; + t.Tz = { + id: _util.OPS.setHScale, + numArgs: 1, + variableArgs: false + }; + t.TL = { + id: _util.OPS.setLeading, + numArgs: 1, + variableArgs: false + }; + t.Tf = { + id: _util.OPS.setFont, + numArgs: 2, + variableArgs: false + }; + t.Tr = { + id: _util.OPS.setTextRenderingMode, + numArgs: 1, + variableArgs: false + }; + t.Ts = { + id: _util.OPS.setTextRise, + numArgs: 1, + variableArgs: false + }; + t.Td = { + id: _util.OPS.moveText, + numArgs: 2, + variableArgs: false + }; + t.TD = { + id: _util.OPS.setLeadingMoveText, + numArgs: 2, + variableArgs: false + }; + t.Tm = { + id: _util.OPS.setTextMatrix, + numArgs: 6, + variableArgs: false + }; + t["T*"] = { + id: _util.OPS.nextLine, + numArgs: 0, + variableArgs: false + }; + t.Tj = { + id: _util.OPS.showText, + numArgs: 1, + variableArgs: false + }; + t.TJ = { + id: _util.OPS.showSpacedText, + numArgs: 1, + variableArgs: false + }; + t["'"] = { + id: _util.OPS.nextLineShowText, + numArgs: 1, + variableArgs: false + }; + t['"'] = { + id: _util.OPS.nextLineSetSpacingShowText, + numArgs: 3, + variableArgs: false + }; + t.d0 = { + id: _util.OPS.setCharWidth, + numArgs: 2, + variableArgs: false + }; + t.d1 = { + id: _util.OPS.setCharWidthAndBounds, + numArgs: 6, + variableArgs: false + }; + t.CS = { + id: _util.OPS.setStrokeColorSpace, + numArgs: 1, + variableArgs: false + }; + t.cs = { + id: _util.OPS.setFillColorSpace, + numArgs: 1, + variableArgs: false + }; + t.SC = { + id: _util.OPS.setStrokeColor, + numArgs: 4, + variableArgs: true + }; + t.SCN = { + id: _util.OPS.setStrokeColorN, + numArgs: 33, + variableArgs: true + }; + t.sc = { + id: _util.OPS.setFillColor, + numArgs: 4, + variableArgs: true + }; + t.scn = { + id: _util.OPS.setFillColorN, + numArgs: 33, + variableArgs: true + }; + t.G = { + id: _util.OPS.setStrokeGray, + numArgs: 1, + variableArgs: false + }; + t.g = { + id: _util.OPS.setFillGray, + numArgs: 1, + variableArgs: false + }; + t.RG = { + id: _util.OPS.setStrokeRGBColor, + numArgs: 3, + variableArgs: false + }; + t.rg = { + id: _util.OPS.setFillRGBColor, + numArgs: 3, + variableArgs: false + }; + t.K = { + id: _util.OPS.setStrokeCMYKColor, + numArgs: 4, + variableArgs: false + }; + t.k = { + id: _util.OPS.setFillCMYKColor, + numArgs: 4, + variableArgs: false + }; + t.sh = { + id: _util.OPS.shadingFill, + numArgs: 1, + variableArgs: false + }; + t.BI = { + id: _util.OPS.beginInlineImage, + numArgs: 0, + variableArgs: false + }; + t.ID = { + id: _util.OPS.beginImageData, + numArgs: 0, + variableArgs: false + }; + t.EI = { + id: _util.OPS.endInlineImage, + numArgs: 1, + variableArgs: false + }; + t.Do = { + id: _util.OPS.paintXObject, + numArgs: 1, + variableArgs: false + }; + t.MP = { + id: _util.OPS.markPoint, + numArgs: 1, + variableArgs: false + }; + t.DP = { + id: _util.OPS.markPointProps, + numArgs: 2, + variableArgs: false + }; + t.BMC = { + id: _util.OPS.beginMarkedContent, + numArgs: 1, + variableArgs: false + }; + t.BDC = { + id: _util.OPS.beginMarkedContentProps, + numArgs: 2, + variableArgs: false + }; + t.EMC = { + id: _util.OPS.endMarkedContent, + numArgs: 0, + variableArgs: false + }; + t.BX = { + id: _util.OPS.beginCompat, + numArgs: 0, + variableArgs: false + }; + t.EX = { + id: _util.OPS.endCompat, + numArgs: 0, + variableArgs: false + }; + t.BM = null; + t.BD = null; + t.true = null; + t.fa = null; + t.fal = null; + t.fals = null; + t.false = null; + t.nu = null; + t.nul = null; + t.null = null; + }); + return (0, _util.shadow)(this, "opMap", getOPMap()); + } + static MAX_INVALID_PATH_OPS = 10; + constructor(stream, xref, stateManager = new StateManager()) { + this.parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream, EvaluatorPreprocessor.opMap), + xref + }); + this.stateManager = stateManager; + this.nonProcessedArgs = []; + this._isPathOp = false; + this._numInvalidPathOPS = 0; + } + get savedStatesDepth() { + return this.stateManager.stateStack.length; + } + read(operation) { + let args = operation.args; + while (true) { + const obj = this.parser.getObj(); + if (obj instanceof _primitives.Cmd) { + const cmd = obj.cmd; + const opSpec = EvaluatorPreprocessor.opMap[cmd]; + if (!opSpec) { + (0, _util.warn)(`Unknown command "${cmd}".`); + continue; + } + const fn = opSpec.id; + const numArgs = opSpec.numArgs; + let argsLength = args !== null ? args.length : 0; + if (!this._isPathOp) { + this._numInvalidPathOPS = 0; + } + this._isPathOp = fn >= _util.OPS.moveTo && fn <= _util.OPS.endPath; + if (!opSpec.variableArgs) { + if (argsLength !== numArgs) { + const nonProcessedArgs = this.nonProcessedArgs; + while (argsLength > numArgs) { + nonProcessedArgs.push(args.shift()); + argsLength--; + } + while (argsLength < numArgs && nonProcessedArgs.length !== 0) { + if (args === null) { + args = []; + } + args.unshift(nonProcessedArgs.pop()); + argsLength++; + } + } + if (argsLength < numArgs) { + const partialMsg = `command ${cmd}: expected ${numArgs} args, ` + `but received ${argsLength} args.`; + if (this._isPathOp && ++this._numInvalidPathOPS > EvaluatorPreprocessor.MAX_INVALID_PATH_OPS) { + throw new _util.FormatError(`Invalid ${partialMsg}`); + } + (0, _util.warn)(`Skipping ${partialMsg}`); + if (args !== null) { + args.length = 0; + } + continue; + } + } else if (argsLength > numArgs) { + (0, _util.info)(`Command ${cmd}: expected [0, ${numArgs}] args, ` + `but received ${argsLength} args.`); + } + this.preprocessCommand(fn, args); + operation.fn = fn; + operation.args = args; + return true; + } + if (obj === _primitives.EOF) { + return false; + } + if (obj !== null) { + if (args === null) { + args = []; + } + args.push(obj); + if (args.length > 33) { + throw new _util.FormatError("Too many arguments"); + } + } + } + } + preprocessCommand(fn, args) { + switch (fn | 0) { + case _util.OPS.save: + this.stateManager.save(); + break; + case _util.OPS.restore: + this.stateManager.restore(); + break; + case _util.OPS.transform: + this.stateManager.transform(args); + break; + } + } +} +exports.EvaluatorPreprocessor = EvaluatorPreprocessor; -;// CONCATENATED MODULE: ./src/core/binary_cmap.js - +/***/ }), +/* 14 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.IdentityCMap = exports.CMapFactory = exports.CMap = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _base_stream = __w_pdfjs_require__(5); +var _binary_cmap = __w_pdfjs_require__(15); +var _parser = __w_pdfjs_require__(16); +var _core_utils = __w_pdfjs_require__(3); +var _stream = __w_pdfjs_require__(8); +const BUILT_IN_CMAPS = ["Adobe-GB1-UCS2", "Adobe-CNS1-UCS2", "Adobe-Japan1-UCS2", "Adobe-Korea1-UCS2", "78-EUC-H", "78-EUC-V", "78-H", "78-RKSJ-H", "78-RKSJ-V", "78-V", "78ms-RKSJ-H", "78ms-RKSJ-V", "83pv-RKSJ-H", "90ms-RKSJ-H", "90ms-RKSJ-V", "90msp-RKSJ-H", "90msp-RKSJ-V", "90pv-RKSJ-H", "90pv-RKSJ-V", "Add-H", "Add-RKSJ-H", "Add-RKSJ-V", "Add-V", "Adobe-CNS1-0", "Adobe-CNS1-1", "Adobe-CNS1-2", "Adobe-CNS1-3", "Adobe-CNS1-4", "Adobe-CNS1-5", "Adobe-CNS1-6", "Adobe-GB1-0", "Adobe-GB1-1", "Adobe-GB1-2", "Adobe-GB1-3", "Adobe-GB1-4", "Adobe-GB1-5", "Adobe-Japan1-0", "Adobe-Japan1-1", "Adobe-Japan1-2", "Adobe-Japan1-3", "Adobe-Japan1-4", "Adobe-Japan1-5", "Adobe-Japan1-6", "Adobe-Korea1-0", "Adobe-Korea1-1", "Adobe-Korea1-2", "B5-H", "B5-V", "B5pc-H", "B5pc-V", "CNS-EUC-H", "CNS-EUC-V", "CNS1-H", "CNS1-V", "CNS2-H", "CNS2-V", "ETHK-B5-H", "ETHK-B5-V", "ETen-B5-H", "ETen-B5-V", "ETenms-B5-H", "ETenms-B5-V", "EUC-H", "EUC-V", "Ext-H", "Ext-RKSJ-H", "Ext-RKSJ-V", "Ext-V", "GB-EUC-H", "GB-EUC-V", "GB-H", "GB-V", "GBK-EUC-H", "GBK-EUC-V", "GBK2K-H", "GBK2K-V", "GBKp-EUC-H", "GBKp-EUC-V", "GBT-EUC-H", "GBT-EUC-V", "GBT-H", "GBT-V", "GBTpc-EUC-H", "GBTpc-EUC-V", "GBpc-EUC-H", "GBpc-EUC-V", "H", "HKdla-B5-H", "HKdla-B5-V", "HKdlb-B5-H", "HKdlb-B5-V", "HKgccs-B5-H", "HKgccs-B5-V", "HKm314-B5-H", "HKm314-B5-V", "HKm471-B5-H", "HKm471-B5-V", "HKscs-B5-H", "HKscs-B5-V", "Hankaku", "Hiragana", "KSC-EUC-H", "KSC-EUC-V", "KSC-H", "KSC-Johab-H", "KSC-Johab-V", "KSC-V", "KSCms-UHC-H", "KSCms-UHC-HW-H", "KSCms-UHC-HW-V", "KSCms-UHC-V", "KSCpc-EUC-H", "KSCpc-EUC-V", "Katakana", "NWP-H", "NWP-V", "RKSJ-H", "RKSJ-V", "Roman", "UniCNS-UCS2-H", "UniCNS-UCS2-V", "UniCNS-UTF16-H", "UniCNS-UTF16-V", "UniCNS-UTF32-H", "UniCNS-UTF32-V", "UniCNS-UTF8-H", "UniCNS-UTF8-V", "UniGB-UCS2-H", "UniGB-UCS2-V", "UniGB-UTF16-H", "UniGB-UTF16-V", "UniGB-UTF32-H", "UniGB-UTF32-V", "UniGB-UTF8-H", "UniGB-UTF8-V", "UniJIS-UCS2-H", "UniJIS-UCS2-HW-H", "UniJIS-UCS2-HW-V", "UniJIS-UCS2-V", "UniJIS-UTF16-H", "UniJIS-UTF16-V", "UniJIS-UTF32-H", "UniJIS-UTF32-V", "UniJIS-UTF8-H", "UniJIS-UTF8-V", "UniJIS2004-UTF16-H", "UniJIS2004-UTF16-V", "UniJIS2004-UTF32-H", "UniJIS2004-UTF32-V", "UniJIS2004-UTF8-H", "UniJIS2004-UTF8-V", "UniJISPro-UCS2-HW-V", "UniJISPro-UCS2-V", "UniJISPro-UTF8-V", "UniJISX0213-UTF32-H", "UniJISX0213-UTF32-V", "UniJISX02132004-UTF32-H", "UniJISX02132004-UTF32-V", "UniKS-UCS2-H", "UniKS-UCS2-V", "UniKS-UTF16-H", "UniKS-UTF16-V", "UniKS-UTF32-H", "UniKS-UTF32-V", "UniKS-UTF8-H", "UniKS-UTF8-V", "V", "WP-Symbol"]; +const MAX_MAP_RANGE = 2 ** 24 - 1; +class CMap { + constructor(builtInCMap = false) { + this.codespaceRanges = [[], [], [], []]; + this.numCodespaceRanges = 0; + this._map = []; + this.name = ""; + this.vertical = false; + this.useCMap = null; + this.builtInCMap = builtInCMap; + } + addCodespaceRange(n, low, high) { + this.codespaceRanges[n - 1].push(low, high); + this.numCodespaceRanges++; + } + mapCidRange(low, high, dstLow) { + if (high - low > MAX_MAP_RANGE) { + throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE."); + } + while (low <= high) { + this._map[low++] = dstLow++; + } + } + mapBfRange(low, high, dstLow) { + if (high - low > MAX_MAP_RANGE) { + throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE."); + } + const lastByte = dstLow.length - 1; + while (low <= high) { + this._map[low++] = dstLow; + const nextCharCode = dstLow.charCodeAt(lastByte) + 1; + if (nextCharCode > 0xff) { + dstLow = dstLow.substring(0, lastByte - 1) + String.fromCharCode(dstLow.charCodeAt(lastByte - 1) + 1) + "\x00"; + continue; + } + dstLow = dstLow.substring(0, lastByte) + String.fromCharCode(nextCharCode); + } + } + mapBfRangeToArray(low, high, array) { + if (high - low > MAX_MAP_RANGE) { + throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE."); + } + const ii = array.length; + let i = 0; + while (low <= high && i < ii) { + this._map[low] = array[i++]; + ++low; + } + } + mapOne(src, dst) { + this._map[src] = dst; + } + lookup(code) { + return this._map[code]; + } + contains(code) { + return this._map[code] !== undefined; + } + forEach(callback) { + const map = this._map; + const length = map.length; + if (length <= 0x10000) { + for (let i = 0; i < length; i++) { + if (map[i] !== undefined) { + callback(i, map[i]); + } + } + } else { + for (const i in map) { + callback(i, map[i]); + } + } + } + charCodeOf(value) { + const map = this._map; + if (map.length <= 0x10000) { + return map.indexOf(value); + } + for (const charCode in map) { + if (map[charCode] === value) { + return charCode | 0; + } + } + return -1; + } + getMap() { + return this._map; + } + readCharCode(str, offset, out) { + let c = 0; + const codespaceRanges = this.codespaceRanges; + for (let n = 0, nn = codespaceRanges.length; n < nn; n++) { + c = (c << 8 | str.charCodeAt(offset + n)) >>> 0; + const codespaceRange = codespaceRanges[n]; + for (let k = 0, kk = codespaceRange.length; k < kk;) { + const low = codespaceRange[k++]; + const high = codespaceRange[k++]; + if (c >= low && c <= high) { + out.charcode = c; + out.length = n + 1; + return; + } + } + } + out.charcode = 0; + out.length = 1; + } + getCharCodeLength(charCode) { + const codespaceRanges = this.codespaceRanges; + for (let n = 0, nn = codespaceRanges.length; n < nn; n++) { + const codespaceRange = codespaceRanges[n]; + for (let k = 0, kk = codespaceRange.length; k < kk;) { + const low = codespaceRange[k++]; + const high = codespaceRange[k++]; + if (charCode >= low && charCode <= high) { + return n + 1; + } + } + } + return 1; + } + get length() { + return this._map.length; + } + get isIdentityCMap() { + if (!(this.name === "Identity-H" || this.name === "Identity-V")) { + return false; + } + if (this._map.length !== 0x10000) { + return false; + } + for (let i = 0; i < 0x10000; i++) { + if (this._map[i] !== i) { + return false; + } + } + return true; + } +} +exports.CMap = CMap; +class IdentityCMap extends CMap { + constructor(vertical, n) { + super(); + this.vertical = vertical; + this.addCodespaceRange(n, 0, 0xffff); + } + mapCidRange(low, high, dstLow) { + (0, _util.unreachable)("should not call mapCidRange"); + } + mapBfRange(low, high, dstLow) { + (0, _util.unreachable)("should not call mapBfRange"); + } + mapBfRangeToArray(low, high, array) { + (0, _util.unreachable)("should not call mapBfRangeToArray"); + } + mapOne(src, dst) { + (0, _util.unreachable)("should not call mapCidOne"); + } + lookup(code) { + return Number.isInteger(code) && code <= 0xffff ? code : undefined; + } + contains(code) { + return Number.isInteger(code) && code <= 0xffff; + } + forEach(callback) { + for (let i = 0; i <= 0xffff; i++) { + callback(i, i); + } + } + charCodeOf(value) { + return Number.isInteger(value) && value <= 0xffff ? value : -1; + } + getMap() { + const map = new Array(0x10000); + for (let i = 0; i <= 0xffff; i++) { + map[i] = i; + } + return map; + } + get length() { + return 0x10000; + } + get isIdentityCMap() { + (0, _util.unreachable)("should not access .isIdentityCMap"); + } +} +exports.IdentityCMap = IdentityCMap; +function strToInt(str) { + let a = 0; + for (let i = 0; i < str.length; i++) { + a = a << 8 | str.charCodeAt(i); + } + return a >>> 0; +} +function expectString(obj) { + if (typeof obj !== "string") { + throw new _util.FormatError("Malformed CMap: expected string."); + } +} +function expectInt(obj) { + if (!Number.isInteger(obj)) { + throw new _util.FormatError("Malformed CMap: expected int."); + } +} +function parseBfChar(cMap, lexer) { + while (true) { + let obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } + if ((0, _primitives.isCmd)(obj, "endbfchar")) { + return; + } + expectString(obj); + const src = strToInt(obj); + obj = lexer.getObj(); + expectString(obj); + const dst = obj; + cMap.mapOne(src, dst); + } +} +function parseBfRange(cMap, lexer) { + while (true) { + let obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } + if ((0, _primitives.isCmd)(obj, "endbfrange")) { + return; + } + expectString(obj); + const low = strToInt(obj); + obj = lexer.getObj(); + expectString(obj); + const high = strToInt(obj); + obj = lexer.getObj(); + if (Number.isInteger(obj) || typeof obj === "string") { + const dstLow = Number.isInteger(obj) ? String.fromCharCode(obj) : obj; + cMap.mapBfRange(low, high, dstLow); + } else if ((0, _primitives.isCmd)(obj, "[")) { + obj = lexer.getObj(); + const array = []; + while (!(0, _primitives.isCmd)(obj, "]") && obj !== _primitives.EOF) { + array.push(obj); + obj = lexer.getObj(); + } + cMap.mapBfRangeToArray(low, high, array); + } else { + break; + } + } + throw new _util.FormatError("Invalid bf range."); +} +function parseCidChar(cMap, lexer) { + while (true) { + let obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } + if ((0, _primitives.isCmd)(obj, "endcidchar")) { + return; + } + expectString(obj); + const src = strToInt(obj); + obj = lexer.getObj(); + expectInt(obj); + const dst = obj; + cMap.mapOne(src, dst); + } +} +function parseCidRange(cMap, lexer) { + while (true) { + let obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } + if ((0, _primitives.isCmd)(obj, "endcidrange")) { + return; + } + expectString(obj); + const low = strToInt(obj); + obj = lexer.getObj(); + expectString(obj); + const high = strToInt(obj); + obj = lexer.getObj(); + expectInt(obj); + const dstLow = obj; + cMap.mapCidRange(low, high, dstLow); + } +} +function parseCodespaceRange(cMap, lexer) { + while (true) { + let obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } + if ((0, _primitives.isCmd)(obj, "endcodespacerange")) { + return; + } + if (typeof obj !== "string") { + break; + } + const low = strToInt(obj); + obj = lexer.getObj(); + if (typeof obj !== "string") { + break; + } + const high = strToInt(obj); + cMap.addCodespaceRange(obj.length, low, high); + } + throw new _util.FormatError("Invalid codespace range."); +} +function parseWMode(cMap, lexer) { + const obj = lexer.getObj(); + if (Number.isInteger(obj)) { + cMap.vertical = !!obj; + } +} +function parseCMapName(cMap, lexer) { + const obj = lexer.getObj(); + if (obj instanceof _primitives.Name) { + cMap.name = obj.name; + } +} +async function parseCMap(cMap, lexer, fetchBuiltInCMap, useCMap) { + let previous, embeddedUseCMap; + objLoop: while (true) { + try { + const obj = lexer.getObj(); + if (obj === _primitives.EOF) { + break; + } else if (obj instanceof _primitives.Name) { + if (obj.name === "WMode") { + parseWMode(cMap, lexer); + } else if (obj.name === "CMapName") { + parseCMapName(cMap, lexer); + } + previous = obj; + } else if (obj instanceof _primitives.Cmd) { + switch (obj.cmd) { + case "endcmap": + break objLoop; + case "usecmap": + if (previous instanceof _primitives.Name) { + embeddedUseCMap = previous.name; + } + break; + case "begincodespacerange": + parseCodespaceRange(cMap, lexer); + break; + case "beginbfchar": + parseBfChar(cMap, lexer); + break; + case "begincidchar": + parseCidChar(cMap, lexer); + break; + case "beginbfrange": + parseBfRange(cMap, lexer); + break; + case "begincidrange": + parseCidRange(cMap, lexer); + break; + } + } + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Invalid cMap data: " + ex); + continue; + } + } + if (!useCMap && embeddedUseCMap) { + useCMap = embeddedUseCMap; + } + if (useCMap) { + return extendCMap(cMap, fetchBuiltInCMap, useCMap); + } + return cMap; +} +async function extendCMap(cMap, fetchBuiltInCMap, useCMap) { + cMap.useCMap = await createBuiltInCMap(useCMap, fetchBuiltInCMap); + if (cMap.numCodespaceRanges === 0) { + const useCodespaceRanges = cMap.useCMap.codespaceRanges; + for (let i = 0; i < useCodespaceRanges.length; i++) { + cMap.codespaceRanges[i] = useCodespaceRanges[i].slice(); + } + cMap.numCodespaceRanges = cMap.useCMap.numCodespaceRanges; + } + cMap.useCMap.forEach(function (key, value) { + if (!cMap.contains(key)) { + cMap.mapOne(key, cMap.useCMap.lookup(key)); + } + }); + return cMap; +} +async function createBuiltInCMap(name, fetchBuiltInCMap) { + if (name === "Identity-H") { + return new IdentityCMap(false, 2); + } else if (name === "Identity-V") { + return new IdentityCMap(true, 2); + } + if (!BUILT_IN_CMAPS.includes(name)) { + throw new Error("Unknown CMap name: " + name); + } + if (!fetchBuiltInCMap) { + throw new Error("Built-in CMap parameters are not provided."); + } + const { + cMapData, + compressionType + } = await fetchBuiltInCMap(name); + const cMap = new CMap(true); + if (compressionType === _util.CMapCompressionType.BINARY) { + return new _binary_cmap.BinaryCMapReader().process(cMapData, cMap, useCMap => { + return extendCMap(cMap, fetchBuiltInCMap, useCMap); + }); + } + if (compressionType === _util.CMapCompressionType.NONE) { + const lexer = new _parser.Lexer(new _stream.Stream(cMapData)); + return parseCMap(cMap, lexer, fetchBuiltInCMap, null); + } + throw new Error(`Invalid CMap "compressionType" value: ${compressionType}`); +} +class CMapFactory { + static async create({ + encoding, + fetchBuiltInCMap, + useCMap + }) { + if (encoding instanceof _primitives.Name) { + return createBuiltInCMap(encoding.name, fetchBuiltInCMap); + } else if (encoding instanceof _base_stream.BaseStream) { + const parsedCMap = await parseCMap(new CMap(), new _parser.Lexer(encoding), fetchBuiltInCMap, useCMap); + if (parsedCMap.isIdentityCMap) { + return createBuiltInCMap(parsedCMap.name, fetchBuiltInCMap); + } + return parsedCMap; + } + throw new Error("Encoding required."); + } +} +exports.CMapFactory = CMapFactory; + +/***/ }), +/* 15 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.BinaryCMapReader = void 0; +var _util = __w_pdfjs_require__(2); function hexToInt(a, size) { let n = 0; for (let i = 0; i <= size; i++) { @@ -7510,7 +13007,7 @@ class BinaryCMapStream { do { const b = this.readByte(); if (b < 0) { - throw new FormatError("unexpected EOF in bcmap"); + throw new _util.FormatError("unexpected EOF in bcmap"); } last = !(b & 0x80); n = n << 7 | b & 0x7f; @@ -7532,7 +13029,7 @@ class BinaryCMapStream { do { const b = this.readByte(); if (b < 0) { - throw new FormatError("unexpected EOF in bcmap"); + throw new _util.FormatError("unexpected EOF in bcmap"); } last = !(b & 0x80); stack[sp++] = b & 0x7f; @@ -7711,19 +13208,1177 @@ class BinaryCMapReader { return cMap; } } +exports.BinaryCMapReader = BinaryCMapReader; -;// CONCATENATED MODULE: ./src/core/decode_stream.js +/***/ }), +/* 16 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Parser = exports.Linearization = exports.Lexer = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _core_utils = __w_pdfjs_require__(3); +var _stream = __w_pdfjs_require__(8); +var _ascii_85_stream = __w_pdfjs_require__(17); +var _ascii_hex_stream = __w_pdfjs_require__(19); +var _ccitt_stream = __w_pdfjs_require__(20); +var _flate_stream = __w_pdfjs_require__(22); +var _jbig2_stream = __w_pdfjs_require__(23); +var _jpeg_stream = __w_pdfjs_require__(26); +var _jpx_stream = __w_pdfjs_require__(29); +var _lzw_stream = __w_pdfjs_require__(31); +var _predictor_stream = __w_pdfjs_require__(32); +var _run_length_stream = __w_pdfjs_require__(33); +const MAX_LENGTH_TO_CACHE = 1000; +function getInlineImageCacheKey(bytes) { + const strBuf = [], + ii = bytes.length; + let i = 0; + while (i < ii - 1) { + strBuf.push(bytes[i++] << 8 | bytes[i++]); + } + if (i < ii) { + strBuf.push(bytes[i]); + } + return ii + "_" + String.fromCharCode.apply(null, strBuf); +} +class Parser { + constructor({ + lexer, + xref, + allowStreams = false, + recoveryMode = false + }) { + this.lexer = lexer; + this.xref = xref; + this.allowStreams = allowStreams; + this.recoveryMode = recoveryMode; + this.imageCache = Object.create(null); + this._imageId = 0; + this.refill(); + } + refill() { + this.buf1 = this.lexer.getObj(); + this.buf2 = this.lexer.getObj(); + } + shift() { + if (this.buf2 instanceof _primitives.Cmd && this.buf2.cmd === "ID") { + this.buf1 = this.buf2; + this.buf2 = null; + } else { + this.buf1 = this.buf2; + this.buf2 = this.lexer.getObj(); + } + } + tryShift() { + try { + this.shift(); + return true; + } catch (e) { + if (e instanceof _core_utils.MissingDataException) { + throw e; + } + return false; + } + } + getObj(cipherTransform = null) { + const buf1 = this.buf1; + this.shift(); + if (buf1 instanceof _primitives.Cmd) { + switch (buf1.cmd) { + case "BI": + return this.makeInlineImage(cipherTransform); + case "[": + const array = []; + while (!(0, _primitives.isCmd)(this.buf1, "]") && this.buf1 !== _primitives.EOF) { + array.push(this.getObj(cipherTransform)); + } + if (this.buf1 === _primitives.EOF) { + if (this.recoveryMode) { + return array; + } + throw new _core_utils.ParserEOFException("End of file inside array."); + } + this.shift(); + return array; + case "<<": + const dict = new _primitives.Dict(this.xref); + while (!(0, _primitives.isCmd)(this.buf1, ">>") && this.buf1 !== _primitives.EOF) { + if (!(this.buf1 instanceof _primitives.Name)) { + (0, _util.info)("Malformed dictionary: key must be a name object"); + this.shift(); + continue; + } + const key = this.buf1.name; + this.shift(); + if (this.buf1 === _primitives.EOF) { + break; + } + dict.set(key, this.getObj(cipherTransform)); + } + if (this.buf1 === _primitives.EOF) { + if (this.recoveryMode) { + return dict; + } + throw new _core_utils.ParserEOFException("End of file inside dictionary."); + } + if ((0, _primitives.isCmd)(this.buf2, "stream")) { + return this.allowStreams ? this.makeStream(dict, cipherTransform) : dict; + } + this.shift(); + return dict; + default: + return buf1; + } + } + if (Number.isInteger(buf1)) { + if (Number.isInteger(this.buf1) && (0, _primitives.isCmd)(this.buf2, "R")) { + const ref = _primitives.Ref.get(buf1, this.buf1); + this.shift(); + this.shift(); + return ref; + } + return buf1; + } + if (typeof buf1 === "string") { + if (cipherTransform) { + return cipherTransform.decryptString(buf1); + } + return buf1; + } + return buf1; + } + findDefaultInlineStreamEnd(stream) { + const E = 0x45, + I = 0x49, + SPACE = 0x20, + LF = 0xa, + CR = 0xd, + NUL = 0x0; + const { + knownCommands + } = this.lexer, + startPos = stream.pos, + n = 15; + let state = 0, + ch, + maybeEIPos; + while ((ch = stream.getByte()) !== -1) { + if (state === 0) { + state = ch === E ? 1 : 0; + } else if (state === 1) { + state = ch === I ? 2 : 0; + } else { + if (ch === SPACE || ch === LF || ch === CR) { + maybeEIPos = stream.pos; + const followingBytes = stream.peekBytes(n); + const ii = followingBytes.length; + if (ii === 0) { + break; + } + for (let i = 0; i < ii; i++) { + ch = followingBytes[i]; + if (ch === NUL && followingBytes[i + 1] !== NUL) { + continue; + } + if (ch !== LF && ch !== CR && (ch < SPACE || ch > 0x7f)) { + state = 0; + break; + } + } + if (state !== 2) { + continue; + } + if (!knownCommands) { + (0, _util.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined."); + continue; + } + const tmpLexer = new Lexer(new _stream.Stream(followingBytes.slice()), knownCommands); + tmpLexer._hexStringWarn = () => {}; + let numArgs = 0; + while (true) { + const nextObj = tmpLexer.getObj(); + if (nextObj === _primitives.EOF) { + state = 0; + break; + } + if (nextObj instanceof _primitives.Cmd) { + const knownCommand = knownCommands[nextObj.cmd]; + if (!knownCommand) { + state = 0; + break; + } else if (knownCommand.variableArgs ? numArgs <= knownCommand.numArgs : numArgs === knownCommand.numArgs) { + break; + } + numArgs = 0; + continue; + } + numArgs++; + } + if (state === 2) { + break; + } + } else { + state = 0; + } + } + } + if (ch === -1) { + (0, _util.warn)("findDefaultInlineStreamEnd: " + "Reached the end of the stream without finding a valid EI marker"); + if (maybeEIPos) { + (0, _util.warn)('... trying to recover by using the last "EI" occurrence.'); + stream.skip(-(stream.pos - maybeEIPos)); + } + } + let endOffset = 4; + stream.skip(-endOffset); + ch = stream.peekByte(); + stream.skip(endOffset); + if (!(0, _core_utils.isWhiteSpace)(ch)) { + endOffset--; + } + return stream.pos - endOffset - startPos; + } + findDCTDecodeInlineStreamEnd(stream) { + const startPos = stream.pos; + let foundEOI = false, + b, + markerLength; + while ((b = stream.getByte()) !== -1) { + if (b !== 0xff) { + continue; + } + switch (stream.getByte()) { + case 0x00: + break; + case 0xff: + stream.skip(-1); + break; + case 0xd9: + foundEOI = true; + break; + case 0xc0: + case 0xc1: + case 0xc2: + case 0xc3: + case 0xc5: + case 0xc6: + case 0xc7: + case 0xc9: + case 0xca: + case 0xcb: + case 0xcd: + case 0xce: + case 0xcf: + case 0xc4: + case 0xcc: + case 0xda: + case 0xdb: + case 0xdc: + case 0xdd: + case 0xde: + case 0xdf: + case 0xe0: + case 0xe1: + case 0xe2: + case 0xe3: + case 0xe4: + case 0xe5: + case 0xe6: + case 0xe7: + case 0xe8: + case 0xe9: + case 0xea: + case 0xeb: + case 0xec: + case 0xed: + case 0xee: + case 0xef: + case 0xfe: + markerLength = stream.getUint16(); + if (markerLength > 2) { + stream.skip(markerLength - 2); + } else { + stream.skip(-2); + } + break; + } + if (foundEOI) { + break; + } + } + const length = stream.pos - startPos; + if (b === -1) { + (0, _util.warn)("Inline DCTDecode image stream: " + "EOI marker not found, searching for /EI/ instead."); + stream.skip(-length); + return this.findDefaultInlineStreamEnd(stream); + } + this.inlineStreamSkipEI(stream); + return length; + } + findASCII85DecodeInlineStreamEnd(stream) { + const TILDE = 0x7e, + GT = 0x3e; + const startPos = stream.pos; + let ch; + while ((ch = stream.getByte()) !== -1) { + if (ch === TILDE) { + const tildePos = stream.pos; + ch = stream.peekByte(); + while ((0, _core_utils.isWhiteSpace)(ch)) { + stream.skip(); + ch = stream.peekByte(); + } + if (ch === GT) { + stream.skip(); + break; + } + if (stream.pos > tildePos) { + const maybeEI = stream.peekBytes(2); + if (maybeEI[0] === 0x45 && maybeEI[1] === 0x49) { + break; + } + } + } + } + const length = stream.pos - startPos; + if (ch === -1) { + (0, _util.warn)("Inline ASCII85Decode image stream: " + "EOD marker not found, searching for /EI/ instead."); + stream.skip(-length); + return this.findDefaultInlineStreamEnd(stream); + } + this.inlineStreamSkipEI(stream); + return length; + } + findASCIIHexDecodeInlineStreamEnd(stream) { + const GT = 0x3e; + const startPos = stream.pos; + let ch; + while ((ch = stream.getByte()) !== -1) { + if (ch === GT) { + break; + } + } + const length = stream.pos - startPos; + if (ch === -1) { + (0, _util.warn)("Inline ASCIIHexDecode image stream: " + "EOD marker not found, searching for /EI/ instead."); + stream.skip(-length); + return this.findDefaultInlineStreamEnd(stream); + } + this.inlineStreamSkipEI(stream); + return length; + } + inlineStreamSkipEI(stream) { + const E = 0x45, + I = 0x49; + let state = 0, + ch; + while ((ch = stream.getByte()) !== -1) { + if (state === 0) { + state = ch === E ? 1 : 0; + } else if (state === 1) { + state = ch === I ? 2 : 0; + } else if (state === 2) { + break; + } + } + } + makeInlineImage(cipherTransform) { + const lexer = this.lexer; + const stream = lexer.stream; + const dictMap = Object.create(null); + let dictLength; + while (!(0, _primitives.isCmd)(this.buf1, "ID") && this.buf1 !== _primitives.EOF) { + if (!(this.buf1 instanceof _primitives.Name)) { + throw new _util.FormatError("Dictionary key must be a name object"); + } + const key = this.buf1.name; + this.shift(); + if (this.buf1 === _primitives.EOF) { + break; + } + dictMap[key] = this.getObj(cipherTransform); + } + if (lexer.beginInlineImagePos !== -1) { + dictLength = stream.pos - lexer.beginInlineImagePos; + } + const filter = this.xref.fetchIfRef(dictMap.F || dictMap.Filter); + let filterName; + if (filter instanceof _primitives.Name) { + filterName = filter.name; + } else if (Array.isArray(filter)) { + const filterZero = this.xref.fetchIfRef(filter[0]); + if (filterZero instanceof _primitives.Name) { + filterName = filterZero.name; + } + } + const startPos = stream.pos; + let length; + switch (filterName) { + case "DCT": + case "DCTDecode": + length = this.findDCTDecodeInlineStreamEnd(stream); + break; + case "A85": + case "ASCII85Decode": + length = this.findASCII85DecodeInlineStreamEnd(stream); + break; + case "AHx": + case "ASCIIHexDecode": + length = this.findASCIIHexDecodeInlineStreamEnd(stream); + break; + default: + length = this.findDefaultInlineStreamEnd(stream); + } + let cacheKey; + if (length < MAX_LENGTH_TO_CACHE && dictLength > 0) { + const initialStreamPos = stream.pos; + stream.pos = lexer.beginInlineImagePos; + cacheKey = getInlineImageCacheKey(stream.getBytes(dictLength + length)); + stream.pos = initialStreamPos; + const cacheEntry = this.imageCache[cacheKey]; + if (cacheEntry !== undefined) { + this.buf2 = _primitives.Cmd.get("EI"); + this.shift(); + cacheEntry.reset(); + return cacheEntry; + } + } + const dict = new _primitives.Dict(this.xref); + for (const key in dictMap) { + dict.set(key, dictMap[key]); + } + let imageStream = stream.makeSubStream(startPos, length, dict); + if (cipherTransform) { + imageStream = cipherTransform.createStream(imageStream, length); + } + imageStream = this.filter(imageStream, dict, length); + imageStream.dict = dict; + if (cacheKey !== undefined) { + imageStream.cacheKey = `inline_img_${++this._imageId}`; + this.imageCache[cacheKey] = imageStream; + } + this.buf2 = _primitives.Cmd.get("EI"); + this.shift(); + return imageStream; + } + _findStreamLength(startPos, signature) { + const { + stream + } = this.lexer; + stream.pos = startPos; + const SCAN_BLOCK_LENGTH = 2048; + const signatureLength = signature.length; + while (stream.pos < stream.end) { + const scanBytes = stream.peekBytes(SCAN_BLOCK_LENGTH); + const scanLength = scanBytes.length - signatureLength; + if (scanLength <= 0) { + break; + } + let pos = 0; + while (pos < scanLength) { + let j = 0; + while (j < signatureLength && scanBytes[pos + j] === signature[j]) { + j++; + } + if (j >= signatureLength) { + stream.pos += pos; + return stream.pos - startPos; + } + pos++; + } + stream.pos += scanLength; + } + return -1; + } + makeStream(dict, cipherTransform) { + const lexer = this.lexer; + let stream = lexer.stream; + lexer.skipToNextLine(); + const startPos = stream.pos - 1; + let length = dict.get("Length"); + if (!Number.isInteger(length)) { + (0, _util.info)(`Bad length "${length && length.toString()}" in stream.`); + length = 0; + } + stream.pos = startPos + length; + lexer.nextChar(); + if (this.tryShift() && (0, _primitives.isCmd)(this.buf2, "endstream")) { + this.shift(); + } else { + const ENDSTREAM_SIGNATURE = new Uint8Array([0x65, 0x6e, 0x64, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d]); + let actualLength = this._findStreamLength(startPos, ENDSTREAM_SIGNATURE); + if (actualLength < 0) { + const MAX_TRUNCATION = 1; + for (let i = 1; i <= MAX_TRUNCATION; i++) { + const end = ENDSTREAM_SIGNATURE.length - i; + const TRUNCATED_SIGNATURE = ENDSTREAM_SIGNATURE.slice(0, end); + const maybeLength = this._findStreamLength(startPos, TRUNCATED_SIGNATURE); + if (maybeLength >= 0) { + const lastByte = stream.peekBytes(end + 1)[end]; + if (!(0, _core_utils.isWhiteSpace)(lastByte)) { + break; + } + (0, _util.info)(`Found "${(0, _util.bytesToString)(TRUNCATED_SIGNATURE)}" when ` + "searching for endstream command."); + actualLength = maybeLength; + break; + } + } + if (actualLength < 0) { + throw new _util.FormatError("Missing endstream command."); + } + } + length = actualLength; + lexer.nextChar(); + this.shift(); + this.shift(); + } + this.shift(); + stream = stream.makeSubStream(startPos, length, dict); + if (cipherTransform) { + stream = cipherTransform.createStream(stream, length); + } + stream = this.filter(stream, dict, length); + stream.dict = dict; + return stream; + } + filter(stream, dict, length) { + let filter = dict.get("F", "Filter"); + let params = dict.get("DP", "DecodeParms"); + if (filter instanceof _primitives.Name) { + if (Array.isArray(params)) { + (0, _util.warn)("/DecodeParms should not be an Array, when /Filter is a Name."); + } + return this.makeFilter(stream, filter.name, length, params); + } + let maybeLength = length; + if (Array.isArray(filter)) { + const filterArray = filter; + const paramsArray = params; + for (let i = 0, ii = filterArray.length; i < ii; ++i) { + filter = this.xref.fetchIfRef(filterArray[i]); + if (!(filter instanceof _primitives.Name)) { + throw new _util.FormatError(`Bad filter name "${filter}"`); + } + params = null; + if (Array.isArray(paramsArray) && i in paramsArray) { + params = this.xref.fetchIfRef(paramsArray[i]); + } + stream = this.makeFilter(stream, filter.name, maybeLength, params); + maybeLength = null; + } + } + return stream; + } + makeFilter(stream, name, maybeLength, params) { + if (maybeLength === 0) { + (0, _util.warn)(`Empty "${name}" stream.`); + return new _stream.NullStream(); + } + try { + switch (name) { + case "Fl": + case "FlateDecode": + if (params) { + return new _predictor_stream.PredictorStream(new _flate_stream.FlateStream(stream, maybeLength), maybeLength, params); + } + return new _flate_stream.FlateStream(stream, maybeLength); + case "LZW": + case "LZWDecode": + let earlyChange = 1; + if (params) { + if (params.has("EarlyChange")) { + earlyChange = params.get("EarlyChange"); + } + return new _predictor_stream.PredictorStream(new _lzw_stream.LZWStream(stream, maybeLength, earlyChange), maybeLength, params); + } + return new _lzw_stream.LZWStream(stream, maybeLength, earlyChange); + case "DCT": + case "DCTDecode": + return new _jpeg_stream.JpegStream(stream, maybeLength, params); + case "JPX": + case "JPXDecode": + return new _jpx_stream.JpxStream(stream, maybeLength, params); + case "A85": + case "ASCII85Decode": + return new _ascii_85_stream.Ascii85Stream(stream, maybeLength); + case "AHx": + case "ASCIIHexDecode": + return new _ascii_hex_stream.AsciiHexStream(stream, maybeLength); + case "CCF": + case "CCITTFaxDecode": + return new _ccitt_stream.CCITTFaxStream(stream, maybeLength, params); + case "RL": + case "RunLengthDecode": + return new _run_length_stream.RunLengthStream(stream, maybeLength); + case "JBIG2Decode": + return new _jbig2_stream.Jbig2Stream(stream, maybeLength, params); + } + (0, _util.warn)(`Filter "${name}" is not supported.`); + return stream; + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)(`Invalid stream: "${ex}"`); + return new _stream.NullStream(); + } + } +} +exports.Parser = Parser; +const specialChars = [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; +function toHexDigit(ch) { + if (ch >= 0x30 && ch <= 0x39) { + return ch & 0x0f; + } + if (ch >= 0x41 && ch <= 0x46 || ch >= 0x61 && ch <= 0x66) { + return (ch & 0x0f) + 9; + } + return -1; +} +class Lexer { + constructor(stream, knownCommands = null) { + this.stream = stream; + this.nextChar(); + this.strBuf = []; + this.knownCommands = knownCommands; + this._hexStringNumWarn = 0; + this.beginInlineImagePos = -1; + } + nextChar() { + return this.currentChar = this.stream.getByte(); + } + peekChar() { + return this.stream.peekByte(); + } + getNumber() { + let ch = this.currentChar; + let eNotation = false; + let divideBy = 0; + let sign = 1; + if (ch === 0x2d) { + sign = -1; + ch = this.nextChar(); + if (ch === 0x2d) { + ch = this.nextChar(); + } + } else if (ch === 0x2b) { + ch = this.nextChar(); + } + if (ch === 0x0a || ch === 0x0d) { + do { + ch = this.nextChar(); + } while (ch === 0x0a || ch === 0x0d); + } + if (ch === 0x2e) { + divideBy = 10; + ch = this.nextChar(); + } + if (ch < 0x30 || ch > 0x39) { + const msg = `Invalid number: ${String.fromCharCode(ch)} (charCode ${ch})`; + if ((0, _core_utils.isWhiteSpace)(ch) || ch === -1) { + (0, _util.info)(`Lexer.getNumber - "${msg}".`); + return 0; + } + throw new _util.FormatError(msg); + } + let baseValue = ch - 0x30; + let powerValue = 0; + let powerValueSign = 1; + while ((ch = this.nextChar()) >= 0) { + if (ch >= 0x30 && ch <= 0x39) { + const currentDigit = ch - 0x30; + if (eNotation) { + powerValue = powerValue * 10 + currentDigit; + } else { + if (divideBy !== 0) { + divideBy *= 10; + } + baseValue = baseValue * 10 + currentDigit; + } + } else if (ch === 0x2e) { + if (divideBy === 0) { + divideBy = 1; + } else { + break; + } + } else if (ch === 0x2d) { + (0, _util.warn)("Badly formatted number: minus sign in the middle"); + } else if (ch === 0x45 || ch === 0x65) { + ch = this.peekChar(); + if (ch === 0x2b || ch === 0x2d) { + powerValueSign = ch === 0x2d ? -1 : 1; + this.nextChar(); + } else if (ch < 0x30 || ch > 0x39) { + break; + } + eNotation = true; + } else { + break; + } + } + if (divideBy !== 0) { + baseValue /= divideBy; + } + if (eNotation) { + baseValue *= 10 ** (powerValueSign * powerValue); + } + return sign * baseValue; + } + getString() { + let numParen = 1; + let done = false; + const strBuf = this.strBuf; + strBuf.length = 0; + let ch = this.nextChar(); + while (true) { + let charBuffered = false; + switch (ch | 0) { + case -1: + (0, _util.warn)("Unterminated string"); + done = true; + break; + case 0x28: + ++numParen; + strBuf.push("("); + break; + case 0x29: + if (--numParen === 0) { + this.nextChar(); + done = true; + } else { + strBuf.push(")"); + } + break; + case 0x5c: + ch = this.nextChar(); + switch (ch) { + case -1: + (0, _util.warn)("Unterminated string"); + done = true; + break; + case 0x6e: + strBuf.push("\n"); + break; + case 0x72: + strBuf.push("\r"); + break; + case 0x74: + strBuf.push("\t"); + break; + case 0x62: + strBuf.push("\b"); + break; + case 0x66: + strBuf.push("\f"); + break; + case 0x5c: + case 0x28: + case 0x29: + strBuf.push(String.fromCharCode(ch)); + break; + case 0x30: + case 0x31: + case 0x32: + case 0x33: + case 0x34: + case 0x35: + case 0x36: + case 0x37: + let x = ch & 0x0f; + ch = this.nextChar(); + charBuffered = true; + if (ch >= 0x30 && ch <= 0x37) { + x = (x << 3) + (ch & 0x0f); + ch = this.nextChar(); + if (ch >= 0x30 && ch <= 0x37) { + charBuffered = false; + x = (x << 3) + (ch & 0x0f); + } + } + strBuf.push(String.fromCharCode(x)); + break; + case 0x0d: + if (this.peekChar() === 0x0a) { + this.nextChar(); + } + break; + case 0x0a: + break; + default: + strBuf.push(String.fromCharCode(ch)); + break; + } + break; + default: + strBuf.push(String.fromCharCode(ch)); + break; + } + if (done) { + break; + } + if (!charBuffered) { + ch = this.nextChar(); + } + } + return strBuf.join(""); + } + getName() { + let ch, previousCh; + const strBuf = this.strBuf; + strBuf.length = 0; + while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) { + if (ch === 0x23) { + ch = this.nextChar(); + if (specialChars[ch]) { + (0, _util.warn)("Lexer_getName: " + "NUMBER SIGN (#) should be followed by a hexadecimal number."); + strBuf.push("#"); + break; + } + const x = toHexDigit(ch); + if (x !== -1) { + previousCh = ch; + ch = this.nextChar(); + const x2 = toHexDigit(ch); + if (x2 === -1) { + (0, _util.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(ch)}) ` + "in hexadecimal number."); + strBuf.push("#", String.fromCharCode(previousCh)); + if (specialChars[ch]) { + break; + } + strBuf.push(String.fromCharCode(ch)); + continue; + } + strBuf.push(String.fromCharCode(x << 4 | x2)); + } else { + strBuf.push("#", String.fromCharCode(ch)); + } + } else { + strBuf.push(String.fromCharCode(ch)); + } + } + if (strBuf.length > 127) { + (0, _util.warn)(`Name token is longer than allowed by the spec: ${strBuf.length}`); + } + return _primitives.Name.get(strBuf.join("")); + } + _hexStringWarn(ch) { + const MAX_HEX_STRING_NUM_WARN = 5; + if (this._hexStringNumWarn++ === MAX_HEX_STRING_NUM_WARN) { + (0, _util.warn)("getHexString - ignoring additional invalid characters."); + return; + } + if (this._hexStringNumWarn > MAX_HEX_STRING_NUM_WARN) { + return; + } + (0, _util.warn)(`getHexString - ignoring invalid character: ${ch}`); + } + getHexString() { + const strBuf = this.strBuf; + strBuf.length = 0; + let ch = this.currentChar; + let isFirstHex = true; + let firstDigit, secondDigit; + this._hexStringNumWarn = 0; + while (true) { + if (ch < 0) { + (0, _util.warn)("Unterminated hex string"); + break; + } else if (ch === 0x3e) { + this.nextChar(); + break; + } else if (specialChars[ch] === 1) { + ch = this.nextChar(); + continue; + } else { + if (isFirstHex) { + firstDigit = toHexDigit(ch); + if (firstDigit === -1) { + this._hexStringWarn(ch); + ch = this.nextChar(); + continue; + } + } else { + secondDigit = toHexDigit(ch); + if (secondDigit === -1) { + this._hexStringWarn(ch); + ch = this.nextChar(); + continue; + } + strBuf.push(String.fromCharCode(firstDigit << 4 | secondDigit)); + } + isFirstHex = !isFirstHex; + ch = this.nextChar(); + } + } + return strBuf.join(""); + } + getObj() { + let comment = false; + let ch = this.currentChar; + while (true) { + if (ch < 0) { + return _primitives.EOF; + } + if (comment) { + if (ch === 0x0a || ch === 0x0d) { + comment = false; + } + } else if (ch === 0x25) { + comment = true; + } else if (specialChars[ch] !== 1) { + break; + } + ch = this.nextChar(); + } + switch (ch | 0) { + case 0x30: + case 0x31: + case 0x32: + case 0x33: + case 0x34: + case 0x35: + case 0x36: + case 0x37: + case 0x38: + case 0x39: + case 0x2b: + case 0x2d: + case 0x2e: + return this.getNumber(); + case 0x28: + return this.getString(); + case 0x2f: + return this.getName(); + case 0x5b: + this.nextChar(); + return _primitives.Cmd.get("["); + case 0x5d: + this.nextChar(); + return _primitives.Cmd.get("]"); + case 0x3c: + ch = this.nextChar(); + if (ch === 0x3c) { + this.nextChar(); + return _primitives.Cmd.get("<<"); + } + return this.getHexString(); + case 0x3e: + ch = this.nextChar(); + if (ch === 0x3e) { + this.nextChar(); + return _primitives.Cmd.get(">>"); + } + return _primitives.Cmd.get(">"); + case 0x7b: + this.nextChar(); + return _primitives.Cmd.get("{"); + case 0x7d: + this.nextChar(); + return _primitives.Cmd.get("}"); + case 0x29: + this.nextChar(); + throw new _util.FormatError(`Illegal character: ${ch}`); + } + let str = String.fromCharCode(ch); + if (ch < 0x20 || ch > 0x7f) { + const nextCh = this.peekChar(); + if (nextCh >= 0x20 && nextCh <= 0x7f) { + this.nextChar(); + return _primitives.Cmd.get(str); + } + } + const knownCommands = this.knownCommands; + let knownCommandFound = knownCommands?.[str] !== undefined; + while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) { + const possibleCommand = str + String.fromCharCode(ch); + if (knownCommandFound && knownCommands[possibleCommand] === undefined) { + break; + } + if (str.length === 128) { + throw new _util.FormatError(`Command token too long: ${str.length}`); + } + str = possibleCommand; + knownCommandFound = knownCommands?.[str] !== undefined; + } + if (str === "true") { + return true; + } + if (str === "false") { + return false; + } + if (str === "null") { + return null; + } + if (str === "BI") { + this.beginInlineImagePos = this.stream.pos; + } + return _primitives.Cmd.get(str); + } + skipToNextLine() { + let ch = this.currentChar; + while (ch >= 0) { + if (ch === 0x0d) { + ch = this.nextChar(); + if (ch === 0x0a) { + this.nextChar(); + } + break; + } else if (ch === 0x0a) { + this.nextChar(); + break; + } + ch = this.nextChar(); + } + } +} +exports.Lexer = Lexer; +class Linearization { + static create(stream) { + function getInt(linDict, name, allowZeroValue = false) { + const obj = linDict.get(name); + if (Number.isInteger(obj) && (allowZeroValue ? obj >= 0 : obj > 0)) { + return obj; + } + throw new Error(`The "${name}" parameter in the linearization ` + "dictionary is invalid."); + } + function getHints(linDict) { + const hints = linDict.get("H"); + let hintsLength; + if (Array.isArray(hints) && ((hintsLength = hints.length) === 2 || hintsLength === 4)) { + for (let index = 0; index < hintsLength; index++) { + const hint = hints[index]; + if (!(Number.isInteger(hint) && hint > 0)) { + throw new Error(`Hint (${index}) in the linearization dictionary is invalid.`); + } + } + return hints; + } + throw new Error("Hint array in the linearization dictionary is invalid."); + } + const parser = new Parser({ + lexer: new Lexer(stream), + xref: null + }); + const obj1 = parser.getObj(); + const obj2 = parser.getObj(); + const obj3 = parser.getObj(); + const linDict = parser.getObj(); + let obj, length; + if (!(Number.isInteger(obj1) && Number.isInteger(obj2) && (0, _primitives.isCmd)(obj3, "obj") && linDict instanceof _primitives.Dict && typeof (obj = linDict.get("Linearized")) === "number" && obj > 0)) { + return null; + } else if ((length = getInt(linDict, "L")) !== stream.length) { + throw new Error('The "L" parameter in the linearization dictionary ' + "does not equal the stream length."); + } + return { + length, + hints: getHints(linDict), + objectNumberFirst: getInt(linDict, "O"), + endFirst: getInt(linDict, "E"), + numPages: getInt(linDict, "N"), + mainXRefEntriesOffset: getInt(linDict, "T"), + pageFirst: linDict.has("P") ? getInt(linDict, "P", true) : 0 + }; + } +} +exports.Linearization = Linearization; + +/***/ }), +/* 17 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Ascii85Stream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +var _core_utils = __w_pdfjs_require__(3); +class Ascii85Stream extends _decode_stream.DecodeStream { + constructor(str, maybeLength) { + if (maybeLength) { + maybeLength *= 0.8; + } + super(maybeLength); + this.str = str; + this.dict = str.dict; + this.input = new Uint8Array(5); + } + readBlock() { + const TILDA_CHAR = 0x7e; + const Z_LOWER_CHAR = 0x7a; + const EOF = -1; + const str = this.str; + let c = str.getByte(); + while ((0, _core_utils.isWhiteSpace)(c)) { + c = str.getByte(); + } + if (c === EOF || c === TILDA_CHAR) { + this.eof = true; + return; + } + const bufferLength = this.bufferLength; + let buffer, i; + if (c === Z_LOWER_CHAR) { + buffer = this.ensureBuffer(bufferLength + 4); + for (i = 0; i < 4; ++i) { + buffer[bufferLength + i] = 0; + } + this.bufferLength += 4; + } else { + const input = this.input; + input[0] = c; + for (i = 1; i < 5; ++i) { + c = str.getByte(); + while ((0, _core_utils.isWhiteSpace)(c)) { + c = str.getByte(); + } + input[i] = c; + if (c === EOF || c === TILDA_CHAR) { + break; + } + } + buffer = this.ensureBuffer(bufferLength + i - 1); + this.bufferLength += i - 1; + if (i < 5) { + for (; i < 5; ++i) { + input[i] = 0x21 + 84; + } + this.eof = true; + } + let t = 0; + for (i = 0; i < 5; ++i) { + t = t * 85 + (input[i] - 0x21); + } + for (i = 3; i >= 0; --i) { + buffer[bufferLength + i] = t & 0xff; + t >>= 8; + } + } + } +} +exports.Ascii85Stream = Ascii85Stream; + +/***/ }), +/* 18 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StreamsSequenceStream = exports.DecodeStream = void 0; +var _base_stream = __w_pdfjs_require__(5); +var _stream = __w_pdfjs_require__(8); const emptyBuffer = new Uint8Array(0); -class DecodeStream extends BaseStream { +class DecodeStream extends _base_stream.BaseStream { constructor(maybeMinBufferLength) { super(); this._rawMinBufferLength = maybeMinBufferLength || 0; @@ -7767,14 +14422,14 @@ class DecodeStream extends BaseStream { } return this.buffer[this.pos++]; } - getBytes(length, ignoreColorSpace = false) { + getBytes(length) { const pos = this.pos; let end; if (length) { this.ensureBuffer(pos + length); end = pos + length; while (!this.eof && this.bufferLength < end) { - this.readBlock(ignoreColorSpace); + this.readBlock(); } const bufEnd = this.bufferLength; if (end > bufEnd) { @@ -7782,7 +14437,7 @@ class DecodeStream extends BaseStream { } } else { while (!this.eof) { - this.readBlock(ignoreColorSpace); + this.readBlock(); } end = this.bufferLength; } @@ -7803,12 +14458,13 @@ class DecodeStream extends BaseStream { this.readBlock(); } } - return new Stream(this.buffer, start, length, dict); + return new _stream.Stream(this.buffer, start, length, dict); } getBaseStreams() { return this.str ? this.str.getBaseStreams() : null; } } +exports.DecodeStream = DecodeStream; class StreamsSequenceStream extends DecodeStream { constructor(streams, onError = null) { let maybeLength = 0; @@ -7853,83 +14509,20 @@ class StreamsSequenceStream extends DecodeStream { return baseStreamsBuf.length > 0 ? baseStreamsBuf : null; } } +exports.StreamsSequenceStream = StreamsSequenceStream; -;// CONCATENATED MODULE: ./src/core/ascii_85_stream.js +/***/ }), +/* 19 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - -class Ascii85Stream extends DecodeStream { - constructor(str, maybeLength) { - if (maybeLength) { - maybeLength *= 0.8; - } - super(maybeLength); - this.str = str; - this.dict = str.dict; - this.input = new Uint8Array(5); - } - readBlock() { - const TILDA_CHAR = 0x7e; - const Z_LOWER_CHAR = 0x7a; - const EOF = -1; - const str = this.str; - let c = str.getByte(); - while (isWhiteSpace(c)) { - c = str.getByte(); - } - if (c === EOF || c === TILDA_CHAR) { - this.eof = true; - return; - } - const bufferLength = this.bufferLength; - let buffer, i; - if (c === Z_LOWER_CHAR) { - buffer = this.ensureBuffer(bufferLength + 4); - for (i = 0; i < 4; ++i) { - buffer[bufferLength + i] = 0; - } - this.bufferLength += 4; - } else { - const input = this.input; - input[0] = c; - for (i = 1; i < 5; ++i) { - c = str.getByte(); - while (isWhiteSpace(c)) { - c = str.getByte(); - } - input[i] = c; - if (c === EOF || c === TILDA_CHAR) { - break; - } - } - buffer = this.ensureBuffer(bufferLength + i - 1); - this.bufferLength += i - 1; - if (i < 5) { - for (; i < 5; ++i) { - input[i] = 0x21 + 84; - } - this.eof = true; - } - let t = 0; - for (i = 0; i < 5; ++i) { - t = t * 85 + (input[i] - 0x21); - } - for (i = 3; i >= 0; --i) { - buffer[bufferLength + i] = t & 0xff; - t >>= 8; - } - } - } -} - -;// CONCATENATED MODULE: ./src/core/ascii_hex_stream.js - -class AsciiHexStream extends DecodeStream { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AsciiHexStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +class AsciiHexStream extends _decode_stream.DecodeStream { constructor(str, maybeLength) { if (maybeLength) { maybeLength *= 0.5; @@ -7977,15 +14570,69 @@ class AsciiHexStream extends DecodeStream { this.bufferLength = bufferLength; } } +exports.AsciiHexStream = AsciiHexStream; -;// CONCATENATED MODULE: ./src/core/ccitt.js - +/***/ }), +/* 20 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CCITTFaxStream = void 0; +var _ccitt = __w_pdfjs_require__(21); +var _decode_stream = __w_pdfjs_require__(18); +var _primitives = __w_pdfjs_require__(4); +class CCITTFaxStream extends _decode_stream.DecodeStream { + constructor(str, maybeLength, params) { + super(maybeLength); + this.str = str; + this.dict = str.dict; + if (!(params instanceof _primitives.Dict)) { + params = _primitives.Dict.empty; + } + const source = { + next() { + return str.getByte(); + } + }; + this.ccittFaxDecoder = new _ccitt.CCITTFaxDecoder(source, { + K: params.get("K"), + EndOfLine: params.get("EndOfLine"), + EncodedByteAlign: params.get("EncodedByteAlign"), + Columns: params.get("Columns"), + Rows: params.get("Rows"), + EndOfBlock: params.get("EndOfBlock"), + BlackIs1: params.get("BlackIs1") + }); + } + readBlock() { + while (!this.eof) { + const c = this.ccittFaxDecoder.readNextChar(); + if (c === -1) { + this.eof = true; + return; + } + this.ensureBuffer(this.bufferLength + 1); + this.buffer[this.bufferLength++] = c; + } + } +} +exports.CCITTFaxStream = CCITTFaxStream; + +/***/ }), +/* 21 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CCITTFaxDecoder = void 0; +var _util = __w_pdfjs_require__(2); const ccittEOL = -2; const ccittEOF = -1; const twoDimPass = 0; @@ -8187,7 +14834,7 @@ class CCITTFaxDecoder { this.eof = true; break; default: - info("bad 2d code"); + (0, _util.info)("bad 2d code"); this._addPixels(columns, 0); this.err = true; } @@ -8253,7 +14900,7 @@ class CCITTFaxDecoder { for (i = 0; i < 4; ++i) { code1 = this._lookBits(12); if (code1 !== 1) { - info("bad rtc code: " + code1); + (0, _util.info)("bad rtc code: " + code1); } this._eatBits(12); if (this.encoding > 0) { @@ -8282,7 +14929,11 @@ class CCITTFaxDecoder { this.nextLine2D = !(code1 & 1); } } - this.outputBits = codingLine[0] > 0 ? codingLine[this.codingPos = 0] : codingLine[this.codingPos = 1]; + if (codingLine[0] > 0) { + this.outputBits = codingLine[this.codingPos = 0]; + } else { + this.outputBits = codingLine[this.codingPos = 1]; + } this.row++; } let c; @@ -8298,7 +14949,7 @@ class CCITTFaxDecoder { c = 0; do { if (typeof this.outputBits !== "number") { - throw new FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.'); + throw new _util.FormatError('Invalid /CCITTFaxDecode data, "outputBits" must be a number.'); } if (this.outputBits > bits) { c <<= bits; @@ -8334,7 +14985,7 @@ class CCITTFaxDecoder { let codingPos = this.codingPos; if (a1 > codingLine[codingPos]) { if (a1 > this.columns) { - info("row is wrong length"); + (0, _util.info)("row is wrong length"); this.err = true; a1 = this.columns; } @@ -8350,7 +15001,7 @@ class CCITTFaxDecoder { let codingPos = this.codingPos; if (a1 > codingLine[codingPos]) { if (a1 > this.columns) { - info("row is wrong length"); + (0, _util.info)("row is wrong length"); this.err = true; a1 = this.columns; } @@ -8360,7 +15011,7 @@ class CCITTFaxDecoder { codingLine[codingPos] = a1; } else if (a1 < codingLine[codingPos]) { if (a1 < 0) { - info("invalid code"); + (0, _util.info)("invalid code"); this.err = true; a1 = 0; } @@ -8407,7 +15058,7 @@ class CCITTFaxDecoder { return result[1]; } } - info("Bad two dim code"); + (0, _util.info)("Bad two dim code"); return ccittEOF; } _getWhiteCode() { @@ -8418,7 +15069,11 @@ class CCITTFaxDecoder { if (code === ccittEOF) { return 1; } - p = code >> 5 === 0 ? whiteTable1[code] : whiteTable2[code >> 3]; + if (code >> 5 === 0) { + p = whiteTable1[code]; + } else { + p = whiteTable2[code >> 3]; + } if (p[0] > 0) { this._eatBits(p[0]); return p[1]; @@ -8433,7 +15088,7 @@ class CCITTFaxDecoder { return result[1]; } } - info("bad white code"); + (0, _util.info)("bad white code"); this._eatBits(1); return 1; } @@ -8469,7 +15124,7 @@ class CCITTFaxDecoder { return result[1]; } } - info("bad black code"); + (0, _util.info)("bad black code"); this._eatBits(1); return 1; } @@ -8493,62 +15148,26 @@ class CCITTFaxDecoder { } } } +exports.CCITTFaxDecoder = CCITTFaxDecoder; -;// CONCATENATED MODULE: ./src/core/ccitt_stream.js - - - -class CCITTFaxStream extends DecodeStream { - constructor(str, maybeLength, params) { - super(maybeLength); - this.str = str; - this.dict = str.dict; - if (!(params instanceof Dict)) { - params = Dict.empty; - } - const source = { - next() { - return str.getByte(); - } - }; - this.ccittFaxDecoder = new CCITTFaxDecoder(source, { - K: params.get("K"), - EndOfLine: params.get("EndOfLine"), - EncodedByteAlign: params.get("EncodedByteAlign"), - Columns: params.get("Columns"), - Rows: params.get("Rows"), - EndOfBlock: params.get("EndOfBlock"), - BlackIs1: params.get("BlackIs1") - }); - } - readBlock() { - while (!this.eof) { - const c = this.ccittFaxDecoder.readNextChar(); - if (c === -1) { - this.eof = true; - return; - } - this.ensureBuffer(this.bufferLength + 1); - this.buffer[this.bufferLength++] = c; - } - } -} - -;// CONCATENATED MODULE: ./src/core/flate_stream.js - - - - - +/***/ }), +/* 22 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FlateStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +var _util = __w_pdfjs_require__(2); const codeLenCodeMap = new Int32Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); const lengthDecode = new Int32Array([0x00003, 0x00004, 0x00005, 0x00006, 0x00007, 0x00008, 0x00009, 0x0000a, 0x1000b, 0x1000d, 0x1000f, 0x10011, 0x20013, 0x20017, 0x2001b, 0x2001f, 0x30023, 0x3002b, 0x30033, 0x3003b, 0x40043, 0x40053, 0x40063, 0x40073, 0x50083, 0x500a3, 0x500c3, 0x500e3, 0x00102, 0x00102, 0x00102]); const distDecode = new Int32Array([0x00001, 0x00002, 0x00003, 0x00004, 0x10005, 0x10007, 0x20009, 0x2000d, 0x30011, 0x30019, 0x40021, 0x40031, 0x50041, 0x50061, 0x60081, 0x600c1, 0x70101, 0x70181, 0x80201, 0x80301, 0x90401, 0x90601, 0xa0801, 0xa0c01, 0xb1001, 0xb1801, 0xc2001, 0xc3001, 0xd4001, 0xd6001]); const fixedLitCodeTab = [new Int32Array([0x70100, 0x80050, 0x80010, 0x80118, 0x70110, 0x80070, 0x80030, 0x900c0, 0x70108, 0x80060, 0x80020, 0x900a0, 0x80000, 0x80080, 0x80040, 0x900e0, 0x70104, 0x80058, 0x80018, 0x90090, 0x70114, 0x80078, 0x80038, 0x900d0, 0x7010c, 0x80068, 0x80028, 0x900b0, 0x80008, 0x80088, 0x80048, 0x900f0, 0x70102, 0x80054, 0x80014, 0x8011c, 0x70112, 0x80074, 0x80034, 0x900c8, 0x7010a, 0x80064, 0x80024, 0x900a8, 0x80004, 0x80084, 0x80044, 0x900e8, 0x70106, 0x8005c, 0x8001c, 0x90098, 0x70116, 0x8007c, 0x8003c, 0x900d8, 0x7010e, 0x8006c, 0x8002c, 0x900b8, 0x8000c, 0x8008c, 0x8004c, 0x900f8, 0x70101, 0x80052, 0x80012, 0x8011a, 0x70111, 0x80072, 0x80032, 0x900c4, 0x70109, 0x80062, 0x80022, 0x900a4, 0x80002, 0x80082, 0x80042, 0x900e4, 0x70105, 0x8005a, 0x8001a, 0x90094, 0x70115, 0x8007a, 0x8003a, 0x900d4, 0x7010d, 0x8006a, 0x8002a, 0x900b4, 0x8000a, 0x8008a, 0x8004a, 0x900f4, 0x70103, 0x80056, 0x80016, 0x8011e, 0x70113, 0x80076, 0x80036, 0x900cc, 0x7010b, 0x80066, 0x80026, 0x900ac, 0x80006, 0x80086, 0x80046, 0x900ec, 0x70107, 0x8005e, 0x8001e, 0x9009c, 0x70117, 0x8007e, 0x8003e, 0x900dc, 0x7010f, 0x8006e, 0x8002e, 0x900bc, 0x8000e, 0x8008e, 0x8004e, 0x900fc, 0x70100, 0x80051, 0x80011, 0x80119, 0x70110, 0x80071, 0x80031, 0x900c2, 0x70108, 0x80061, 0x80021, 0x900a2, 0x80001, 0x80081, 0x80041, 0x900e2, 0x70104, 0x80059, 0x80019, 0x90092, 0x70114, 0x80079, 0x80039, 0x900d2, 0x7010c, 0x80069, 0x80029, 0x900b2, 0x80009, 0x80089, 0x80049, 0x900f2, 0x70102, 0x80055, 0x80015, 0x8011d, 0x70112, 0x80075, 0x80035, 0x900ca, 0x7010a, 0x80065, 0x80025, 0x900aa, 0x80005, 0x80085, 0x80045, 0x900ea, 0x70106, 0x8005d, 0x8001d, 0x9009a, 0x70116, 0x8007d, 0x8003d, 0x900da, 0x7010e, 0x8006d, 0x8002d, 0x900ba, 0x8000d, 0x8008d, 0x8004d, 0x900fa, 0x70101, 0x80053, 0x80013, 0x8011b, 0x70111, 0x80073, 0x80033, 0x900c6, 0x70109, 0x80063, 0x80023, 0x900a6, 0x80003, 0x80083, 0x80043, 0x900e6, 0x70105, 0x8005b, 0x8001b, 0x90096, 0x70115, 0x8007b, 0x8003b, 0x900d6, 0x7010d, 0x8006b, 0x8002b, 0x900b6, 0x8000b, 0x8008b, 0x8004b, 0x900f6, 0x70103, 0x80057, 0x80017, 0x8011f, 0x70113, 0x80077, 0x80037, 0x900ce, 0x7010b, 0x80067, 0x80027, 0x900ae, 0x80007, 0x80087, 0x80047, 0x900ee, 0x70107, 0x8005f, 0x8001f, 0x9009e, 0x70117, 0x8007f, 0x8003f, 0x900de, 0x7010f, 0x8006f, 0x8002f, 0x900be, 0x8000f, 0x8008f, 0x8004f, 0x900fe, 0x70100, 0x80050, 0x80010, 0x80118, 0x70110, 0x80070, 0x80030, 0x900c1, 0x70108, 0x80060, 0x80020, 0x900a1, 0x80000, 0x80080, 0x80040, 0x900e1, 0x70104, 0x80058, 0x80018, 0x90091, 0x70114, 0x80078, 0x80038, 0x900d1, 0x7010c, 0x80068, 0x80028, 0x900b1, 0x80008, 0x80088, 0x80048, 0x900f1, 0x70102, 0x80054, 0x80014, 0x8011c, 0x70112, 0x80074, 0x80034, 0x900c9, 0x7010a, 0x80064, 0x80024, 0x900a9, 0x80004, 0x80084, 0x80044, 0x900e9, 0x70106, 0x8005c, 0x8001c, 0x90099, 0x70116, 0x8007c, 0x8003c, 0x900d9, 0x7010e, 0x8006c, 0x8002c, 0x900b9, 0x8000c, 0x8008c, 0x8004c, 0x900f9, 0x70101, 0x80052, 0x80012, 0x8011a, 0x70111, 0x80072, 0x80032, 0x900c5, 0x70109, 0x80062, 0x80022, 0x900a5, 0x80002, 0x80082, 0x80042, 0x900e5, 0x70105, 0x8005a, 0x8001a, 0x90095, 0x70115, 0x8007a, 0x8003a, 0x900d5, 0x7010d, 0x8006a, 0x8002a, 0x900b5, 0x8000a, 0x8008a, 0x8004a, 0x900f5, 0x70103, 0x80056, 0x80016, 0x8011e, 0x70113, 0x80076, 0x80036, 0x900cd, 0x7010b, 0x80066, 0x80026, 0x900ad, 0x80006, 0x80086, 0x80046, 0x900ed, 0x70107, 0x8005e, 0x8001e, 0x9009d, 0x70117, 0x8007e, 0x8003e, 0x900dd, 0x7010f, 0x8006e, 0x8002e, 0x900bd, 0x8000e, 0x8008e, 0x8004e, 0x900fd, 0x70100, 0x80051, 0x80011, 0x80119, 0x70110, 0x80071, 0x80031, 0x900c3, 0x70108, 0x80061, 0x80021, 0x900a3, 0x80001, 0x80081, 0x80041, 0x900e3, 0x70104, 0x80059, 0x80019, 0x90093, 0x70114, 0x80079, 0x80039, 0x900d3, 0x7010c, 0x80069, 0x80029, 0x900b3, 0x80009, 0x80089, 0x80049, 0x900f3, 0x70102, 0x80055, 0x80015, 0x8011d, 0x70112, 0x80075, 0x80035, 0x900cb, 0x7010a, 0x80065, 0x80025, 0x900ab, 0x80005, 0x80085, 0x80045, 0x900eb, 0x70106, 0x8005d, 0x8001d, 0x9009b, 0x70116, 0x8007d, 0x8003d, 0x900db, 0x7010e, 0x8006d, 0x8002d, 0x900bb, 0x8000d, 0x8008d, 0x8004d, 0x900fb, 0x70101, 0x80053, 0x80013, 0x8011b, 0x70111, 0x80073, 0x80033, 0x900c7, 0x70109, 0x80063, 0x80023, 0x900a7, 0x80003, 0x80083, 0x80043, 0x900e7, 0x70105, 0x8005b, 0x8001b, 0x90097, 0x70115, 0x8007b, 0x8003b, 0x900d7, 0x7010d, 0x8006b, 0x8002b, 0x900b7, 0x8000b, 0x8008b, 0x8004b, 0x900f7, 0x70103, 0x80057, 0x80017, 0x8011f, 0x70113, 0x80077, 0x80037, 0x900cf, 0x7010b, 0x80067, 0x80027, 0x900af, 0x80007, 0x80087, 0x80047, 0x900ef, 0x70107, 0x8005f, 0x8001f, 0x9009f, 0x70117, 0x8007f, 0x8003f, 0x900df, 0x7010f, 0x8006f, 0x8002f, 0x900bf, 0x8000f, 0x8008f, 0x8004f, 0x900ff]), 9]; const fixedDistCodeTab = [new Int32Array([0x50000, 0x50010, 0x50008, 0x50018, 0x50004, 0x50014, 0x5000c, 0x5001c, 0x50002, 0x50012, 0x5000a, 0x5001a, 0x50006, 0x50016, 0x5000e, 0x00000, 0x50001, 0x50011, 0x50009, 0x50019, 0x50005, 0x50015, 0x5000d, 0x5001d, 0x50003, 0x50013, 0x5000b, 0x5001b, 0x50007, 0x50017, 0x5000f, 0x00000]), 5]; -class FlateStream extends DecodeStream { +class FlateStream extends _decode_stream.DecodeStream { constructor(str, maybeLength) { super(maybeLength); this.str = str; @@ -8556,16 +15175,16 @@ class FlateStream extends DecodeStream { const cmf = str.getByte(); const flg = str.getByte(); if (cmf === -1 || flg === -1) { - throw new FormatError(`Invalid header in flate stream: ${cmf}, ${flg}`); + throw new _util.FormatError(`Invalid header in flate stream: ${cmf}, ${flg}`); } if ((cmf & 0x0f) !== 0x08) { - throw new FormatError(`Unknown compression method in flate stream: ${cmf}, ${flg}`); + throw new _util.FormatError(`Unknown compression method in flate stream: ${cmf}, ${flg}`); } if (((cmf << 8) + flg) % 31 !== 0) { - throw new FormatError(`Bad FCHECK in flate stream: ${cmf}, ${flg}`); + throw new _util.FormatError(`Bad FCHECK in flate stream: ${cmf}, ${flg}`); } if (flg & 0x20) { - throw new FormatError(`FDICT bit set in flate stream: ${cmf}, ${flg}`); + throw new _util.FormatError(`FDICT bit set in flate stream: ${cmf}, ${flg}`); } this.codeSize = 0; this.codeBuf = 0; @@ -8577,7 +15196,7 @@ class FlateStream extends DecodeStream { let b; while (codeSize < bits) { if ((b = str.getByte()) === -1) { - throw new FormatError("Bad encoding in flate stream"); + throw new _util.FormatError("Bad encoding in flate stream"); } codeBuf |= b << codeSize; codeSize += 8; @@ -8605,7 +15224,7 @@ class FlateStream extends DecodeStream { const codeLen = code >> 16; const codeVal = code & 0xffff; if (codeLen < 1 || codeSize < codeLen) { - throw new FormatError("Bad encoding in flate stream"); + throw new _util.FormatError("Bad encoding in flate stream"); } this.codeBuf = codeBuf >> codeLen; this.codeSize = codeSize - codeLen; @@ -8640,10 +15259,6 @@ class FlateStream extends DecodeStream { } return [codes, maxLen]; } - #endsStreamOnError(err) { - info(err); - this.eof = true; - } readBlock() { let buffer, len; const str = this.str; @@ -8655,27 +15270,23 @@ class FlateStream extends DecodeStream { if (hdr === 0) { let b; if ((b = str.getByte()) === -1) { - this.#endsStreamOnError("Bad block header in flate stream"); - return; + throw new _util.FormatError("Bad block header in flate stream"); } let blockLen = b; if ((b = str.getByte()) === -1) { - this.#endsStreamOnError("Bad block header in flate stream"); - return; + throw new _util.FormatError("Bad block header in flate stream"); } blockLen |= b << 8; if ((b = str.getByte()) === -1) { - this.#endsStreamOnError("Bad block header in flate stream"); - return; + throw new _util.FormatError("Bad block header in flate stream"); } let check = b; if ((b = str.getByte()) === -1) { - this.#endsStreamOnError("Bad block header in flate stream"); - return; + throw new _util.FormatError("Bad block header in flate stream"); } check |= b << 8; if (check !== (~blockLen & 0xffff) && (blockLen !== 0 || check !== 0)) { - throw new FormatError("Bad uncompressed block length in flate stream"); + throw new _util.FormatError("Bad uncompressed block length in flate stream"); } this.codeBuf = 0; this.codeSize = 0; @@ -8742,7 +15353,7 @@ class FlateStream extends DecodeStream { litCodeTable = this.generateHuffmanTable(codeLengths.subarray(0, numLitCodes)); distCodeTable = this.generateHuffmanTable(codeLengths.subarray(numLitCodes, codes)); } else { - throw new FormatError("Unknown block type in flate stream"); + throw new _util.FormatError("Unknown block type in flate stream"); } buffer = this.buffer; let limit = buffer ? buffer.length : 0; @@ -8785,348 +15396,86 @@ class FlateStream extends DecodeStream { } } } +exports.FlateStream = FlateStream; -;// CONCATENATED MODULE: ./src/core/arithmetic_decoder.js -const QeTable = [{ - qe: 0x5601, - nmps: 1, - nlps: 1, - switchFlag: 1 -}, { - qe: 0x3401, - nmps: 2, - nlps: 6, - switchFlag: 0 -}, { - qe: 0x1801, - nmps: 3, - nlps: 9, - switchFlag: 0 -}, { - qe: 0x0ac1, - nmps: 4, - nlps: 12, - switchFlag: 0 -}, { - qe: 0x0521, - nmps: 5, - nlps: 29, - switchFlag: 0 -}, { - qe: 0x0221, - nmps: 38, - nlps: 33, - switchFlag: 0 -}, { - qe: 0x5601, - nmps: 7, - nlps: 6, - switchFlag: 1 -}, { - qe: 0x5401, - nmps: 8, - nlps: 14, - switchFlag: 0 -}, { - qe: 0x4801, - nmps: 9, - nlps: 14, - switchFlag: 0 -}, { - qe: 0x3801, - nmps: 10, - nlps: 14, - switchFlag: 0 -}, { - qe: 0x3001, - nmps: 11, - nlps: 17, - switchFlag: 0 -}, { - qe: 0x2401, - nmps: 12, - nlps: 18, - switchFlag: 0 -}, { - qe: 0x1c01, - nmps: 13, - nlps: 20, - switchFlag: 0 -}, { - qe: 0x1601, - nmps: 29, - nlps: 21, - switchFlag: 0 -}, { - qe: 0x5601, - nmps: 15, - nlps: 14, - switchFlag: 1 -}, { - qe: 0x5401, - nmps: 16, - nlps: 14, - switchFlag: 0 -}, { - qe: 0x5101, - nmps: 17, - nlps: 15, - switchFlag: 0 -}, { - qe: 0x4801, - nmps: 18, - nlps: 16, - switchFlag: 0 -}, { - qe: 0x3801, - nmps: 19, - nlps: 17, - switchFlag: 0 -}, { - qe: 0x3401, - nmps: 20, - nlps: 18, - switchFlag: 0 -}, { - qe: 0x3001, - nmps: 21, - nlps: 19, - switchFlag: 0 -}, { - qe: 0x2801, - nmps: 22, - nlps: 19, - switchFlag: 0 -}, { - qe: 0x2401, - nmps: 23, - nlps: 20, - switchFlag: 0 -}, { - qe: 0x2201, - nmps: 24, - nlps: 21, - switchFlag: 0 -}, { - qe: 0x1c01, - nmps: 25, - nlps: 22, - switchFlag: 0 -}, { - qe: 0x1801, - nmps: 26, - nlps: 23, - switchFlag: 0 -}, { - qe: 0x1601, - nmps: 27, - nlps: 24, - switchFlag: 0 -}, { - qe: 0x1401, - nmps: 28, - nlps: 25, - switchFlag: 0 -}, { - qe: 0x1201, - nmps: 29, - nlps: 26, - switchFlag: 0 -}, { - qe: 0x1101, - nmps: 30, - nlps: 27, - switchFlag: 0 -}, { - qe: 0x0ac1, - nmps: 31, - nlps: 28, - switchFlag: 0 -}, { - qe: 0x09c1, - nmps: 32, - nlps: 29, - switchFlag: 0 -}, { - qe: 0x08a1, - nmps: 33, - nlps: 30, - switchFlag: 0 -}, { - qe: 0x0521, - nmps: 34, - nlps: 31, - switchFlag: 0 -}, { - qe: 0x0441, - nmps: 35, - nlps: 32, - switchFlag: 0 -}, { - qe: 0x02a1, - nmps: 36, - nlps: 33, - switchFlag: 0 -}, { - qe: 0x0221, - nmps: 37, - nlps: 34, - switchFlag: 0 -}, { - qe: 0x0141, - nmps: 38, - nlps: 35, - switchFlag: 0 -}, { - qe: 0x0111, - nmps: 39, - nlps: 36, - switchFlag: 0 -}, { - qe: 0x0085, - nmps: 40, - nlps: 37, - switchFlag: 0 -}, { - qe: 0x0049, - nmps: 41, - nlps: 38, - switchFlag: 0 -}, { - qe: 0x0025, - nmps: 42, - nlps: 39, - switchFlag: 0 -}, { - qe: 0x0015, - nmps: 43, - nlps: 40, - switchFlag: 0 -}, { - qe: 0x0009, - nmps: 44, - nlps: 41, - switchFlag: 0 -}, { - qe: 0x0005, - nmps: 45, - nlps: 42, - switchFlag: 0 -}, { - qe: 0x0001, - nmps: 45, - nlps: 43, - switchFlag: 0 -}, { - qe: 0x5601, - nmps: 46, - nlps: 46, - switchFlag: 0 -}]; -class ArithmeticDecoder { - constructor(data, start, end) { - this.data = data; - this.bp = start; - this.dataEnd = end; - this.chigh = data[start]; - this.clow = 0; - this.byteIn(); - this.chigh = this.chigh << 7 & 0xffff | this.clow >> 9 & 0x7f; - this.clow = this.clow << 7 & 0xffff; - this.ct -= 7; - this.a = 0x8000; +/***/ }), +/* 23 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Jbig2Stream = void 0; +var _base_stream = __w_pdfjs_require__(5); +var _decode_stream = __w_pdfjs_require__(18); +var _primitives = __w_pdfjs_require__(4); +var _jbig = __w_pdfjs_require__(24); +var _util = __w_pdfjs_require__(2); +class Jbig2Stream extends _decode_stream.DecodeStream { + constructor(stream, maybeLength, params) { + super(maybeLength); + this.stream = stream; + this.dict = stream.dict; + this.maybeLength = maybeLength; + this.params = params; } - byteIn() { - const data = this.data; - let bp = this.bp; - if (data[bp] === 0xff) { - if (data[bp + 1] > 0x8f) { - this.clow += 0xff00; - this.ct = 8; - } else { - bp++; - this.clow += data[bp] << 9; - this.ct = 7; - this.bp = bp; - } - } else { - bp++; - this.clow += bp < this.dataEnd ? data[bp] << 8 : 0xff00; - this.ct = 8; - this.bp = bp; - } - if (this.clow > 0xffff) { - this.chigh += this.clow >> 16; - this.clow &= 0xffff; - } + get bytes() { + return (0, _util.shadow)(this, "bytes", this.stream.getBytes(this.maybeLength)); } - readBit(contexts, pos) { - let cx_index = contexts[pos] >> 1, - cx_mps = contexts[pos] & 1; - const qeTableIcx = QeTable[cx_index]; - const qeIcx = qeTableIcx.qe; - let d; - let a = this.a - qeIcx; - if (this.chigh < qeIcx) { - if (a < qeIcx) { - a = qeIcx; - d = cx_mps; - cx_index = qeTableIcx.nmps; - } else { - a = qeIcx; - d = 1 ^ cx_mps; - if (qeTableIcx.switchFlag === 1) { - cx_mps = d; - } - cx_index = qeTableIcx.nlps; - } - } else { - this.chigh -= qeIcx; - if ((a & 0x8000) !== 0) { - this.a = a; - return cx_mps; - } - if (a < qeIcx) { - d = 1 ^ cx_mps; - if (qeTableIcx.switchFlag === 1) { - cx_mps = d; - } - cx_index = qeTableIcx.nlps; - } else { - d = cx_mps; - cx_index = qeTableIcx.nmps; + ensureBuffer(requested) {} + readBlock() { + if (this.eof) { + return; + } + const jbig2Image = new _jbig.Jbig2Image(); + const chunks = []; + if (this.params instanceof _primitives.Dict) { + const globalsStream = this.params.get("JBIG2Globals"); + if (globalsStream instanceof _base_stream.BaseStream) { + const globals = globalsStream.getBytes(); + chunks.push({ + data: globals, + start: 0, + end: globals.length + }); } } - do { - if (this.ct === 0) { - this.byteIn(); - } - a <<= 1; - this.chigh = this.chigh << 1 & 0xffff | this.clow >> 15 & 1; - this.clow = this.clow << 1 & 0xffff; - this.ct--; - } while ((a & 0x8000) === 0); - this.a = a; - contexts[pos] = cx_index << 1 | cx_mps; - return d; + chunks.push({ + data: this.bytes, + start: 0, + end: this.bytes.length + }); + const data = jbig2Image.parseChunks(chunks); + const dataLength = data.length; + for (let i = 0; i < dataLength; i++) { + data[i] ^= 0xff; + } + this.buffer = data; + this.bufferLength = dataLength; + this.eof = true; } } +exports.Jbig2Stream = Jbig2Stream; -;// CONCATENATED MODULE: ./src/core/jbig2.js +/***/ }), +/* 24 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - -class Jbig2Error extends BaseException { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Jbig2Image = void 0; +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _arithmetic_decoder = __w_pdfjs_require__(25); +var _ccitt = __w_pdfjs_require__(21); +class Jbig2Error extends _util.BaseException { constructor(msg) { - super(msg, "Jbig2Error"); + super(`JBIG2 error: ${msg}`, "Jbig2Error"); } } class ContextCache { @@ -9144,12 +15493,12 @@ class DecodingContext { this.end = end; } get decoder() { - const decoder = new ArithmeticDecoder(this.data, this.start, this.end); - return shadow(this, "decoder", decoder); + const decoder = new _arithmetic_decoder.ArithmeticDecoder(this.data, this.start, this.end); + return (0, _util.shadow)(this, "decoder", decoder); } get contextCache() { const cache = new ContextCache(); - return shadow(this, "contextCache", cache); + return (0, _util.shadow)(this, "contextCache", cache); } } const MAX_INT_32 = 2 ** 31 - 1; @@ -9591,7 +15940,7 @@ function decodeSymbolDictionary(huffman, refinement, symbols, numberOfNewSymbols } const newSymbols = []; let currentHeight = 0; - let symbolCodeLength = log2(symbols.length + numberOfNewSymbols); + let symbolCodeLength = (0, _core_utils.log2)(symbols.length + numberOfNewSymbols); const decoder = decodingContext.decoder; const contextCache = decodingContext.contextCache; let tableB1, symbolWidths; @@ -9741,18 +16090,6 @@ function decodeTextRegion(huffman, refinement, width, height, defaultPixelValue, symbolHeight += rdh; symbolBitmap = decodeRefinement(symbolWidth, symbolHeight, refinementTemplateIndex, symbolBitmap, (rdw >> 1) + rdx, (rdh >> 1) + rdy, false, refinementAt, decodingContext); } - let increment = 0; - if (!transposed) { - if (referenceCorner > 1) { - currentS += symbolWidth - 1; - } else { - increment = symbolWidth - 1; - } - } else if (!(referenceCorner & 1)) { - currentS += symbolHeight - 1; - } else { - increment = symbolHeight - 1; - } const offsetT = t - (referenceCorner & 1 ? 0 : symbolHeight - 1); const offsetS = currentS - (referenceCorner & 2 ? symbolWidth - 1 : 0); let s2, t2, symbolRow; @@ -9779,6 +16116,7 @@ function decodeTextRegion(huffman, refinement, width, height, defaultPixelValue, throw new Jbig2Error(`operator ${combinationOperator} is not supported`); } } + currentS += symbolHeight - 1; } else { for (t2 = 0; t2 < symbolHeight; t2++) { row = bitmap[offsetT + t2]; @@ -9801,13 +16139,14 @@ function decodeTextRegion(huffman, refinement, width, height, defaultPixelValue, throw new Jbig2Error(`operator ${combinationOperator} is not supported`); } } + currentS += symbolWidth - 1; } i++; const deltaS = huffman ? huffmanTables.tableDeltaS.decode(huffmanInput) : decodeInteger(contextCache, "IADS", decoder); if (deltaS === null) { break; } - currentS += increment + deltaS + dsOffset; + currentS += deltaS + dsOffset; } while (true); } return bitmap; @@ -9869,7 +16208,7 @@ function decodeHalftoneRegion(mmr, patterns, template, regionWidth, regionHeight const pattern0 = patterns[0]; const patternWidth = pattern0[0].length, patternHeight = pattern0.length; - const bitsPerValue = log2(numberOfPatterns); + const bitsPerValue = (0, _core_utils.log2)(numberOfPatterns); const at = []; if (!mmr) { at.push({ @@ -9945,7 +16284,7 @@ function decodeHalftoneRegion(mmr, patterns, template, regionWidth, regionHeight } function readSegmentHeader(data, start) { const segmentHeader = {}; - segmentHeader.number = readUint32(data, start); + segmentHeader.number = (0, _core_utils.readUint32)(data, start); const flags = data[start + 4]; const segmentType = flags & 0x3f; if (!SegmentTypes[segmentType]) { @@ -9960,7 +16299,7 @@ function readSegmentHeader(data, start) { const retainBits = [referredFlags & 31]; let position = start + 6; if (referredFlags === 7) { - referredToCount = readUint32(data, position - 1) & 0x1fffffff; + referredToCount = (0, _core_utils.readUint32)(data, position - 1) & 0x1fffffff; position += 3; let bytes = referredToCount + 7 >> 3; retainBits[0] = data[position++]; @@ -9984,9 +16323,9 @@ function readSegmentHeader(data, start) { if (referredToSegmentNumberSize === 1) { number = data[position]; } else if (referredToSegmentNumberSize === 2) { - number = readUint16(data, position); + number = (0, _core_utils.readUint16)(data, position); } else { - number = readUint32(data, position); + number = (0, _core_utils.readUint32)(data, position); } referredTo.push(number); position += referredToSegmentNumberSize; @@ -9995,10 +16334,10 @@ function readSegmentHeader(data, start) { if (!pageAssociationFieldSize) { segmentHeader.pageAssociation = data[position++]; } else { - segmentHeader.pageAssociation = readUint32(data, position); + segmentHeader.pageAssociation = (0, _core_utils.readUint32)(data, position); position += 4; } - segmentHeader.length = readUint32(data, position); + segmentHeader.length = (0, _core_utils.readUint32)(data, position); position += 4; if (segmentHeader.length === 0xffffffff) { if (segmentType === 38) { @@ -10066,10 +16405,10 @@ function readSegments(header, data, start, end) { } function readRegionSegmentInformation(data, start) { return { - width: readUint32(data, start), - height: readUint32(data, start + 4), - x: readUint32(data, start + 8), - y: readUint32(data, start + 12), + width: (0, _core_utils.readUint32)(data, start), + height: (0, _core_utils.readUint32)(data, start + 4), + x: (0, _core_utils.readUint32)(data, start + 8), + y: (0, _core_utils.readUint32)(data, start + 12), combinationOperator: data[start + 16] & 7 }; } @@ -10083,7 +16422,7 @@ function processSegment(segment, visitor) { switch (header.type) { case 0: const dictionary = {}; - const dictionaryFlags = readUint16(data, position); + const dictionaryFlags = (0, _core_utils.readUint16)(data, position); dictionary.huffman = !!(dictionaryFlags & 1); dictionary.refinement = !!(dictionaryFlags & 2); dictionary.huffmanDHSelector = dictionaryFlags >> 2 & 3; @@ -10100,8 +16439,8 @@ function processSegment(segment, visitor) { at = []; for (i = 0; i < atLength; i++) { at.push({ - x: readInt8(data, position), - y: readInt8(data, position + 1) + x: (0, _core_utils.readInt8)(data, position), + y: (0, _core_utils.readInt8)(data, position + 1) }); position += 2; } @@ -10111,16 +16450,16 @@ function processSegment(segment, visitor) { at = []; for (i = 0; i < 2; i++) { at.push({ - x: readInt8(data, position), - y: readInt8(data, position + 1) + x: (0, _core_utils.readInt8)(data, position), + y: (0, _core_utils.readInt8)(data, position + 1) }); position += 2; } dictionary.refinementAt = at; } - dictionary.numberOfExportedSymbols = readUint32(data, position); + dictionary.numberOfExportedSymbols = (0, _core_utils.readUint32)(data, position); position += 4; - dictionary.numberOfNewSymbols = readUint32(data, position); + dictionary.numberOfNewSymbols = (0, _core_utils.readUint32)(data, position); position += 4; args = [dictionary, header.number, header.referredTo, data, position, end]; break; @@ -10129,7 +16468,7 @@ function processSegment(segment, visitor) { const textRegion = {}; textRegion.info = readRegionSegmentInformation(data, position); position += RegionSegmentInformationFieldLength; - const textRegionSegmentFlags = readUint16(data, position); + const textRegionSegmentFlags = (0, _core_utils.readUint16)(data, position); position += 2; textRegion.huffman = !!(textRegionSegmentFlags & 1); textRegion.refinement = !!(textRegionSegmentFlags & 2); @@ -10142,7 +16481,7 @@ function processSegment(segment, visitor) { textRegion.dsOffset = textRegionSegmentFlags << 17 >> 27; textRegion.refinementTemplate = textRegionSegmentFlags >> 15 & 1; if (textRegion.huffman) { - const textRegionHuffmanFlags = readUint16(data, position); + const textRegionHuffmanFlags = (0, _core_utils.readUint16)(data, position); position += 2; textRegion.huffmanFS = textRegionHuffmanFlags & 3; textRegion.huffmanDS = textRegionHuffmanFlags >> 2 & 3; @@ -10157,14 +16496,14 @@ function processSegment(segment, visitor) { at = []; for (i = 0; i < 2; i++) { at.push({ - x: readInt8(data, position), - y: readInt8(data, position + 1) + x: (0, _core_utils.readInt8)(data, position), + y: (0, _core_utils.readInt8)(data, position + 1) }); position += 2; } textRegion.refinementAt = at; } - textRegion.numberOfSymbolInstances = readUint32(data, position); + textRegion.numberOfSymbolInstances = (0, _core_utils.readUint32)(data, position); position += 4; args = [textRegion, header.referredTo, data, position, end]; break; @@ -10175,7 +16514,7 @@ function processSegment(segment, visitor) { patternDictionary.template = patternDictionaryFlags >> 1 & 3; patternDictionary.patternWidth = data[position++]; patternDictionary.patternHeight = data[position++]; - patternDictionary.maxPatternIndex = readUint32(data, position); + patternDictionary.maxPatternIndex = (0, _core_utils.readUint32)(data, position); position += 4; args = [patternDictionary, header.number, data, position, end]; break; @@ -10190,17 +16529,17 @@ function processSegment(segment, visitor) { halftoneRegion.enableSkip = !!(halftoneRegionFlags & 8); halftoneRegion.combinationOperator = halftoneRegionFlags >> 4 & 7; halftoneRegion.defaultPixelValue = halftoneRegionFlags >> 7 & 1; - halftoneRegion.gridWidth = readUint32(data, position); + halftoneRegion.gridWidth = (0, _core_utils.readUint32)(data, position); position += 4; - halftoneRegion.gridHeight = readUint32(data, position); + halftoneRegion.gridHeight = (0, _core_utils.readUint32)(data, position); position += 4; - halftoneRegion.gridOffsetX = readUint32(data, position) & 0xffffffff; + halftoneRegion.gridOffsetX = (0, _core_utils.readUint32)(data, position) & 0xffffffff; position += 4; - halftoneRegion.gridOffsetY = readUint32(data, position) & 0xffffffff; + halftoneRegion.gridOffsetY = (0, _core_utils.readUint32)(data, position) & 0xffffffff; position += 4; - halftoneRegion.gridVectorX = readUint16(data, position); + halftoneRegion.gridVectorX = (0, _core_utils.readUint16)(data, position); position += 2; - halftoneRegion.gridVectorY = readUint16(data, position); + halftoneRegion.gridVectorY = (0, _core_utils.readUint16)(data, position); position += 2; args = [halftoneRegion, header.referredTo, data, position, end]; break; @@ -10218,8 +16557,8 @@ function processSegment(segment, visitor) { at = []; for (i = 0; i < atLength; i++) { at.push({ - x: readInt8(data, position), - y: readInt8(data, position + 1) + x: (0, _core_utils.readInt8)(data, position), + y: (0, _core_utils.readInt8)(data, position + 1) }); position += 2; } @@ -10229,16 +16568,16 @@ function processSegment(segment, visitor) { break; case 48: const pageInfo = { - width: readUint32(data, position), - height: readUint32(data, position + 4), - resolutionX: readUint32(data, position + 8), - resolutionY: readUint32(data, position + 12) + width: (0, _core_utils.readUint32)(data, position), + height: (0, _core_utils.readUint32)(data, position + 4), + resolutionX: (0, _core_utils.readUint32)(data, position + 8), + resolutionY: (0, _core_utils.readUint32)(data, position + 12) }; if (pageInfo.height === 0xffffffff) { delete pageInfo.height; } const pageSegmentFlags = data[position + 16]; - readUint16(data, position + 17); + (0, _core_utils.readUint16)(data, position + 17); pageInfo.lossless = !!(pageSegmentFlags & 1); pageInfo.refinement = !!(pageSegmentFlags & 2); pageInfo.defaultPixelValue = pageSegmentFlags >> 2 & 1; @@ -10382,7 +16721,7 @@ class SimpleSegmentVisitor { inputSymbols.push(...referredSymbols); } } - const symbolCodeLength = log2(inputSymbols.length); + const symbolCodeLength = (0, _core_utils.log2)(inputSymbols.length); if (region.huffman) { huffmanInput = new Reader(data, start, end); huffmanTables = getTextRegionHuffmanTables(region, referredSegments, this.customTables, inputSymbols.length, huffmanInput); @@ -10529,8 +16868,8 @@ class HuffmanTable { } function decodeTablesSegment(data, start, end) { const flags = data[start]; - const lowestValue = readUint32(data, start + 1) & 0xffffffff; - const highestValue = readUint32(data, start + 5) & 0xffffffff; + const lowestValue = (0, _core_utils.readUint32)(data, start + 1) & 0xffffffff; + const highestValue = (0, _core_utils.readUint32)(data, start + 5) & 0xffffffff; const reader = new Reader(data, start + 9, end); const prefixSizeBits = (flags >> 1 & 7) + 1; const rangeSizeBits = (flags >> 4 & 7) + 1; @@ -10830,7 +17169,7 @@ function decodeMMRBitmap(input, width, height, endOfBlock) { BlackIs1: true, EndOfBlock: endOfBlock }; - const decoder = new CCITTFaxDecoder(input, params); + const decoder = new _ccitt.CCITTFaxDecoder(input, params); const bitmap = []; let currentByte, eof = false; @@ -10869,16 +17208,367 @@ class Jbig2Image { throw new Error("Not implemented: Jbig2Image.parse"); } } +exports.Jbig2Image = Jbig2Image; -;// CONCATENATED MODULE: ./src/core/jbig2_stream.js +/***/ }), +/* 25 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ArithmeticDecoder = void 0; +const QeTable = [{ + qe: 0x5601, + nmps: 1, + nlps: 1, + switchFlag: 1 +}, { + qe: 0x3401, + nmps: 2, + nlps: 6, + switchFlag: 0 +}, { + qe: 0x1801, + nmps: 3, + nlps: 9, + switchFlag: 0 +}, { + qe: 0x0ac1, + nmps: 4, + nlps: 12, + switchFlag: 0 +}, { + qe: 0x0521, + nmps: 5, + nlps: 29, + switchFlag: 0 +}, { + qe: 0x0221, + nmps: 38, + nlps: 33, + switchFlag: 0 +}, { + qe: 0x5601, + nmps: 7, + nlps: 6, + switchFlag: 1 +}, { + qe: 0x5401, + nmps: 8, + nlps: 14, + switchFlag: 0 +}, { + qe: 0x4801, + nmps: 9, + nlps: 14, + switchFlag: 0 +}, { + qe: 0x3801, + nmps: 10, + nlps: 14, + switchFlag: 0 +}, { + qe: 0x3001, + nmps: 11, + nlps: 17, + switchFlag: 0 +}, { + qe: 0x2401, + nmps: 12, + nlps: 18, + switchFlag: 0 +}, { + qe: 0x1c01, + nmps: 13, + nlps: 20, + switchFlag: 0 +}, { + qe: 0x1601, + nmps: 29, + nlps: 21, + switchFlag: 0 +}, { + qe: 0x5601, + nmps: 15, + nlps: 14, + switchFlag: 1 +}, { + qe: 0x5401, + nmps: 16, + nlps: 14, + switchFlag: 0 +}, { + qe: 0x5101, + nmps: 17, + nlps: 15, + switchFlag: 0 +}, { + qe: 0x4801, + nmps: 18, + nlps: 16, + switchFlag: 0 +}, { + qe: 0x3801, + nmps: 19, + nlps: 17, + switchFlag: 0 +}, { + qe: 0x3401, + nmps: 20, + nlps: 18, + switchFlag: 0 +}, { + qe: 0x3001, + nmps: 21, + nlps: 19, + switchFlag: 0 +}, { + qe: 0x2801, + nmps: 22, + nlps: 19, + switchFlag: 0 +}, { + qe: 0x2401, + nmps: 23, + nlps: 20, + switchFlag: 0 +}, { + qe: 0x2201, + nmps: 24, + nlps: 21, + switchFlag: 0 +}, { + qe: 0x1c01, + nmps: 25, + nlps: 22, + switchFlag: 0 +}, { + qe: 0x1801, + nmps: 26, + nlps: 23, + switchFlag: 0 +}, { + qe: 0x1601, + nmps: 27, + nlps: 24, + switchFlag: 0 +}, { + qe: 0x1401, + nmps: 28, + nlps: 25, + switchFlag: 0 +}, { + qe: 0x1201, + nmps: 29, + nlps: 26, + switchFlag: 0 +}, { + qe: 0x1101, + nmps: 30, + nlps: 27, + switchFlag: 0 +}, { + qe: 0x0ac1, + nmps: 31, + nlps: 28, + switchFlag: 0 +}, { + qe: 0x09c1, + nmps: 32, + nlps: 29, + switchFlag: 0 +}, { + qe: 0x08a1, + nmps: 33, + nlps: 30, + switchFlag: 0 +}, { + qe: 0x0521, + nmps: 34, + nlps: 31, + switchFlag: 0 +}, { + qe: 0x0441, + nmps: 35, + nlps: 32, + switchFlag: 0 +}, { + qe: 0x02a1, + nmps: 36, + nlps: 33, + switchFlag: 0 +}, { + qe: 0x0221, + nmps: 37, + nlps: 34, + switchFlag: 0 +}, { + qe: 0x0141, + nmps: 38, + nlps: 35, + switchFlag: 0 +}, { + qe: 0x0111, + nmps: 39, + nlps: 36, + switchFlag: 0 +}, { + qe: 0x0085, + nmps: 40, + nlps: 37, + switchFlag: 0 +}, { + qe: 0x0049, + nmps: 41, + nlps: 38, + switchFlag: 0 +}, { + qe: 0x0025, + nmps: 42, + nlps: 39, + switchFlag: 0 +}, { + qe: 0x0015, + nmps: 43, + nlps: 40, + switchFlag: 0 +}, { + qe: 0x0009, + nmps: 44, + nlps: 41, + switchFlag: 0 +}, { + qe: 0x0005, + nmps: 45, + nlps: 42, + switchFlag: 0 +}, { + qe: 0x0001, + nmps: 45, + nlps: 43, + switchFlag: 0 +}, { + qe: 0x5601, + nmps: 46, + nlps: 46, + switchFlag: 0 +}]; +class ArithmeticDecoder { + constructor(data, start, end) { + this.data = data; + this.bp = start; + this.dataEnd = end; + this.chigh = data[start]; + this.clow = 0; + this.byteIn(); + this.chigh = this.chigh << 7 & 0xffff | this.clow >> 9 & 0x7f; + this.clow = this.clow << 7 & 0xffff; + this.ct -= 7; + this.a = 0x8000; + } + byteIn() { + const data = this.data; + let bp = this.bp; + if (data[bp] === 0xff) { + if (data[bp + 1] > 0x8f) { + this.clow += 0xff00; + this.ct = 8; + } else { + bp++; + this.clow += data[bp] << 9; + this.ct = 7; + this.bp = bp; + } + } else { + bp++; + this.clow += bp < this.dataEnd ? data[bp] << 8 : 0xff00; + this.ct = 8; + this.bp = bp; + } + if (this.clow > 0xffff) { + this.chigh += this.clow >> 16; + this.clow &= 0xffff; + } + } + readBit(contexts, pos) { + let cx_index = contexts[pos] >> 1, + cx_mps = contexts[pos] & 1; + const qeTableIcx = QeTable[cx_index]; + const qeIcx = qeTableIcx.qe; + let d; + let a = this.a - qeIcx; + if (this.chigh < qeIcx) { + if (a < qeIcx) { + a = qeIcx; + d = cx_mps; + cx_index = qeTableIcx.nmps; + } else { + a = qeIcx; + d = 1 ^ cx_mps; + if (qeTableIcx.switchFlag === 1) { + cx_mps = d; + } + cx_index = qeTableIcx.nlps; + } + } else { + this.chigh -= qeIcx; + if ((a & 0x8000) !== 0) { + this.a = a; + return cx_mps; + } + if (a < qeIcx) { + d = 1 ^ cx_mps; + if (qeTableIcx.switchFlag === 1) { + cx_mps = d; + } + cx_index = qeTableIcx.nlps; + } else { + d = cx_mps; + cx_index = qeTableIcx.nmps; + } + } + do { + if (this.ct === 0) { + this.byteIn(); + } + a <<= 1; + this.chigh = this.chigh << 1 & 0xffff | this.clow >> 15 & 1; + this.clow = this.clow << 1 & 0xffff; + this.ct--; + } while ((a & 0x8000) === 0); + this.a = a; + contexts[pos] = cx_index << 1 | cx_mps; + return d; + } +} +exports.ArithmeticDecoder = ArithmeticDecoder; + +/***/ }), +/* 26 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -class Jbig2Stream extends DecodeStream { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.JpegStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +var _primitives = __w_pdfjs_require__(4); +var _jpg = __w_pdfjs_require__(27); +var _util = __w_pdfjs_require__(2); +class JpegStream extends _decode_stream.DecodeStream { constructor(stream, maybeLength, params) { + let ch; + while ((ch = stream.getByte()) !== -1) { + if (ch === 0xff) { + stream.skip(-1); + break; + } + } super(maybeLength); this.stream = stream; this.dict = stream.dict; @@ -10886,178 +17576,82 @@ class Jbig2Stream extends DecodeStream { this.params = params; } get bytes() { - return shadow(this, "bytes", this.stream.getBytes(this.maybeLength)); + return (0, _util.shadow)(this, "bytes", this.stream.getBytes(this.maybeLength)); } ensureBuffer(requested) {} readBlock() { if (this.eof) { return; } - const jbig2Image = new Jbig2Image(); - const chunks = []; - if (this.params instanceof Dict) { - const globalsStream = this.params.get("JBIG2Globals"); - if (globalsStream instanceof BaseStream) { - const globals = globalsStream.getBytes(); - chunks.push({ - data: globals, - start: 0, - end: globals.length - }); + const jpegOptions = { + decodeTransform: undefined, + colorTransform: undefined + }; + const decodeArr = this.dict.getArray("D", "Decode"); + if ((this.forceRGBA || this.forceRGB) && Array.isArray(decodeArr)) { + const bitsPerComponent = this.dict.get("BPC", "BitsPerComponent") || 8; + const decodeArrLength = decodeArr.length; + const transform = new Int32Array(decodeArrLength); + let transformNeeded = false; + const maxValue = (1 << bitsPerComponent) - 1; + for (let i = 0; i < decodeArrLength; i += 2) { + transform[i] = (decodeArr[i + 1] - decodeArr[i]) * 256 | 0; + transform[i + 1] = decodeArr[i] * maxValue | 0; + if (transform[i] !== 256 || transform[i + 1] !== 0) { + transformNeeded = true; + } + } + if (transformNeeded) { + jpegOptions.decodeTransform = transform; } } - chunks.push({ - data: this.bytes, - start: 0, - end: this.bytes.length - }); - const data = jbig2Image.parseChunks(chunks); - const dataLength = data.length; - for (let i = 0; i < dataLength; i++) { - data[i] ^= 0xff; + if (this.params instanceof _primitives.Dict) { + const colorTransform = this.params.get("ColorTransform"); + if (Number.isInteger(colorTransform)) { + jpegOptions.colorTransform = colorTransform; + } } + const jpegImage = new _jpg.JpegImage(jpegOptions); + jpegImage.parse(this.bytes); + const data = jpegImage.getData({ + width: this.drawWidth, + height: this.drawHeight, + forceRGBA: this.forceRGBA, + forceRGB: this.forceRGB, + isSourcePDF: true + }); this.buffer = data; - this.bufferLength = dataLength; + this.bufferLength = data.length; this.eof = true; } } +exports.JpegStream = JpegStream; -;// CONCATENATED MODULE: ./src/shared/image_utils.js +/***/ }), +/* 27 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - -function convertToRGBA(params) { - switch (params.kind) { - case ImageKind.GRAYSCALE_1BPP: - return convertBlackAndWhiteToRGBA(params); - case ImageKind.RGB_24BPP: - return convertRGBToRGBA(params); - } - return null; -} -function convertBlackAndWhiteToRGBA({ - src, - srcPos = 0, - dest, - width, - height, - nonBlackColor = 0xffffffff, - inverseDecode = false -}) { - const black = FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; - const [zeroMapping, oneMapping] = inverseDecode ? [nonBlackColor, black] : [black, nonBlackColor]; - const widthInSource = width >> 3; - const widthRemainder = width & 7; - const srcLength = src.length; - dest = new Uint32Array(dest.buffer); - let destPos = 0; - for (let i = 0; i < height; i++) { - for (const max = srcPos + widthInSource; srcPos < max; srcPos++) { - const elem = srcPos < srcLength ? src[srcPos] : 255; - dest[destPos++] = elem & 0b10000000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1000000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b100000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b10000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b100 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b10 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1 ? oneMapping : zeroMapping; - } - if (widthRemainder === 0) { - continue; - } - const elem = srcPos < srcLength ? src[srcPos++] : 255; - for (let j = 0; j < widthRemainder; j++) { - dest[destPos++] = elem & 1 << 7 - j ? oneMapping : zeroMapping; - } - } - return { - srcPos, - destPos - }; -} -function convertRGBToRGBA({ - src, - srcPos = 0, - dest, - destPos = 0, - width, - height -}) { - let i = 0; - const len32 = src.length >> 2; - const src32 = new Uint32Array(src.buffer, srcPos, len32); - if (FeatureTest.isLittleEndian) { - for (; i < len32 - 2; i += 3, destPos += 4) { - const s1 = src32[i]; - const s2 = src32[i + 1]; - const s3 = src32[i + 2]; - dest[destPos] = s1 | 0xff000000; - dest[destPos + 1] = s1 >>> 24 | s2 << 8 | 0xff000000; - dest[destPos + 2] = s2 >>> 16 | s3 << 16 | 0xff000000; - dest[destPos + 3] = s3 >>> 8 | 0xff000000; - } - for (let j = i * 4, jj = src.length; j < jj; j += 3) { - dest[destPos++] = src[j] | src[j + 1] << 8 | src[j + 2] << 16 | 0xff000000; - } - } else { - for (; i < len32 - 2; i += 3, destPos += 4) { - const s1 = src32[i]; - const s2 = src32[i + 1]; - const s3 = src32[i + 2]; - dest[destPos] = s1 | 0xff; - dest[destPos + 1] = s1 << 24 | s2 >>> 8 | 0xff; - dest[destPos + 2] = s2 << 16 | s3 >>> 16 | 0xff; - dest[destPos + 3] = s3 << 8 | 0xff; - } - for (let j = i * 4, jj = src.length; j < jj; j += 3) { - dest[destPos++] = src[j] << 24 | src[j + 1] << 16 | src[j + 2] << 8 | 0xff; - } - } - return { - srcPos, - destPos - }; -} -function grayToRGBA(src, dest) { - if (FeatureTest.isLittleEndian) { - for (let i = 0, ii = src.length; i < ii; i++) { - dest[i] = src[i] * 0x10101 | 0xff000000; - } - } else { - for (let i = 0, ii = src.length; i < ii; i++) { - dest[i] = src[i] * 0x1010100 | 0x000000ff; - } - } -} - -;// CONCATENATED MODULE: ./src/core/jpg.js - - - - - - - - - - -class JpegError extends BaseException { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.JpegImage = void 0; +var _util = __w_pdfjs_require__(2); +var _image_utils = __w_pdfjs_require__(28); +var _core_utils = __w_pdfjs_require__(3); +class JpegError extends _util.BaseException { constructor(msg) { - super(msg, "JpegError"); + super(`JPEG error: ${msg}`, "JpegError"); } } -class DNLMarkerError extends BaseException { +class DNLMarkerError extends _util.BaseException { constructor(message, scanLines) { super(message, "DNLMarkerError"); this.scanLines = scanLines; } } -class EOIMarkerError extends BaseException { +class EOIMarkerError extends _util.BaseException { constructor(msg) { super(msg, "EOIMarkerError"); } @@ -11135,7 +17729,7 @@ function decodeScan(data, offset, frame, components, resetInterval, spectralStar if (nextByte) { if (nextByte === 0xdc && parseDNLMarker) { offset += 2; - const scanLines = readUint16(data, offset); + const scanLines = (0, _core_utils.readUint16)(data, offset); offset += 2; if (scanLines > 0 && scanLines !== frame.scanLines) { throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data", scanLines); @@ -11337,7 +17931,12 @@ function decodeScan(data, offset, frame, components, resetInterval, spectralStar } let mcu = 0, fileMarker; - const mcuExpected = componentsLength === 1 ? components[0].blocksPerLine * components[0].blocksPerColumn : mcusPerLine * frame.mcusPerColumn; + let mcuExpected; + if (componentsLength === 1) { + mcuExpected = components[0].blocksPerLine * components[0].blocksPerColumn; + } else { + mcuExpected = mcusPerLine * frame.mcusPerColumn; + } let h, v; while (mcu <= mcuExpected) { const mcuToRead = resetInterval ? Math.min(mcuExpected - mcu, resetInterval) : mcuExpected; @@ -11375,7 +17974,7 @@ function decodeScan(data, offset, frame, components, resetInterval, spectralStar } if (fileMarker.invalid) { const partialMsg = mcuToRead > 0 ? "unexpected" : "excessive"; - warn(`decodeScan - ${partialMsg} MCU data, current marker is: ${fileMarker.invalid}`); + (0, _util.warn)(`decodeScan - ${partialMsg} MCU data, current marker is: ${fileMarker.invalid}`); offset = fileMarker.offset; } if (fileMarker.marker >= 0xffd0 && fileMarker.marker <= 0xffd7) { @@ -11607,7 +18206,7 @@ function findNextFileMarker(data, currentPos, startPos = currentPos) { if (currentPos >= maxPos) { return null; } - const currentMarker = readUint16(data, currentPos); + const currentMarker = (0, _core_utils.readUint16)(data, currentPos); if (currentMarker >= 0xffc0 && currentMarker <= 0xfffe) { return { invalid: null, @@ -11615,12 +18214,12 @@ function findNextFileMarker(data, currentPos, startPos = currentPos) { offset: currentPos }; } - let newMarker = readUint16(data, newPos); + let newMarker = (0, _core_utils.readUint16)(data, newPos); while (!(newMarker >= 0xffc0 && newMarker <= 0xfffe)) { if (++newPos >= maxPos) { return null; } - newMarker = readUint16(data, newPos); + newMarker = (0, _core_utils.readUint16)(data, newPos); } return { invalid: currentMarker.toString(16), @@ -11640,12 +18239,12 @@ class JpegImage { dnlScanLines = null } = {}) { function readDataBlock() { - const length = readUint16(data, offset); + const length = (0, _core_utils.readUint16)(data, offset); offset += 2; let endOffset = offset + length - 2; const fileMarker = findNextFileMarker(data, endOffset, offset); if (fileMarker?.invalid) { - warn("readDataBlock - incorrect length, current marker is: " + fileMarker.invalid); + (0, _util.warn)("readDataBlock - incorrect length, current marker is: " + fileMarker.invalid); endOffset = fileMarker.offset; } const array = data.subarray(offset, endOffset); @@ -11676,12 +18275,12 @@ class JpegImage { const quantizationTables = []; const huffmanTablesAC = [], huffmanTablesDC = []; - let fileMarker = readUint16(data, offset); + let fileMarker = (0, _core_utils.readUint16)(data, offset); offset += 2; if (fileMarker !== 0xffd8) { throw new JpegError("SOI not found"); } - fileMarker = readUint16(data, offset); + fileMarker = (0, _core_utils.readUint16)(data, offset); offset += 2; markerLoop: while (fileMarker !== 0xffd9) { let i, j, l; @@ -11732,7 +18331,7 @@ class JpegImage { } break; case 0xffdb: - const quantizationTablesLength = readUint16(data, offset); + const quantizationTablesLength = (0, _core_utils.readUint16)(data, offset); offset += 2; const quantizationTablesEnd = quantizationTablesLength + offset - 2; let z; @@ -11747,7 +18346,7 @@ class JpegImage { } else if (quantizationTableSpec >> 4 === 1) { for (j = 0; j < 64; j++) { z = dctZigZag[j]; - tableData[z] = readUint16(data, offset); + tableData[z] = (0, _core_utils.readUint16)(data, offset); offset += 2; } } else { @@ -11767,10 +18366,10 @@ class JpegImage { frame.extended = fileMarker === 0xffc1; frame.progressive = fileMarker === 0xffc2; frame.precision = data[offset++]; - const sofScanLines = readUint16(data, offset); + const sofScanLines = (0, _core_utils.readUint16)(data, offset); offset += 2; frame.scanLines = dnlScanLines || sofScanLines; - frame.samplesPerLine = readUint16(data, offset); + frame.samplesPerLine = (0, _core_utils.readUint16)(data, offset); offset += 2; frame.components = []; frame.componentIds = {}; @@ -11802,7 +18401,7 @@ class JpegImage { prepareComponents(frame); break; case 0xffc4: - const huffmanLength = readUint16(data, offset); + const huffmanLength = (0, _core_utils.readUint16)(data, offset); offset += 2; for (i = 2; i < huffmanLength;) { const huffmanTableSpec = data[offset++]; @@ -11821,7 +18420,7 @@ class JpegImage { break; case 0xffdd: offset += 2; - resetInterval = readUint16(data, offset); + resetInterval = (0, _core_utils.readUint16)(data, offset); offset += 2; break; case 0xffda: @@ -11847,12 +18446,12 @@ class JpegImage { offset += processed; } catch (ex) { if (ex instanceof DNLMarkerError) { - warn(`${ex.message} -- attempting to re-parse the JPEG image.`); + (0, _util.warn)(`${ex.message} -- attempting to re-parse the JPEG image.`); return this.parse(data, { dnlScanLines: ex.scanLines }); } else if (ex instanceof EOIMarkerError) { - warn(`${ex.message} -- ignoring the rest of the image data.`); + (0, _util.warn)(`${ex.message} -- ignoring the rest of the image data.`); break markerLoop; } throw ex; @@ -11869,22 +18468,19 @@ class JpegImage { default: const nextFileMarker = findNextFileMarker(data, offset - 2, offset - 3); if (nextFileMarker?.invalid) { - warn("JpegImage.parse - unexpected data, current marker is: " + nextFileMarker.invalid); + (0, _util.warn)("JpegImage.parse - unexpected data, current marker is: " + nextFileMarker.invalid); offset = nextFileMarker.offset; break; } if (!nextFileMarker || offset >= data.length - 1) { - warn("JpegImage.parse - reached the end of the image data " + "without finding an EOI marker (0xFFD9)."); + (0, _util.warn)("JpegImage.parse - reached the end of the image data " + "without finding an EOI marker (0xFFD9)."); break markerLoop; } throw new JpegError("JpegImage.parse - unknown marker: " + fileMarker.toString(16)); } - fileMarker = readUint16(data, offset); + fileMarker = (0, _core_utils.readUint16)(data, offset); offset += 2; } - if (!frame) { - throw new JpegError("JpegImage.parse - no frame data found."); - } this.width = frame.samplesPerLine; this.height = frame.scanLines; this.jfif = jfif; @@ -12080,7 +18676,7 @@ class JpegImage { const rgbaData = new Uint8ClampedArray(len); let offset = 0; if (forceRGBA) { - grayToRGBA(data, new Uint32Array(rgbaData.buffer)); + (0, _image_utils.grayToRGBA)(data, new Uint32Array(rgbaData.buffer)); } else { for (const grayColor of data) { rgbaData[offset++] = grayColor; @@ -12113,27 +18709,141 @@ class JpegImage { return data; } } +exports.JpegImage = JpegImage; -;// CONCATENATED MODULE: ./src/core/jpeg_stream.js +/***/ }), +/* 28 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - -class JpegStream extends DecodeStream { - constructor(stream, maybeLength, params) { - let ch; - while ((ch = stream.getByte()) !== -1) { - if (ch === 0xff) { - stream.skip(-1); - break; - } +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.convertBlackAndWhiteToRGBA = convertBlackAndWhiteToRGBA; +exports.convertToRGBA = convertToRGBA; +exports.grayToRGBA = grayToRGBA; +var _util = __w_pdfjs_require__(2); +function convertToRGBA(params) { + switch (params.kind) { + case _util.ImageKind.GRAYSCALE_1BPP: + return convertBlackAndWhiteToRGBA(params); + case _util.ImageKind.RGB_24BPP: + return convertRGBToRGBA(params); + } + return null; +} +function convertBlackAndWhiteToRGBA({ + src, + srcPos = 0, + dest, + width, + height, + nonBlackColor = 0xffffffff, + inverseDecode = false +}) { + const black = _util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; + const [zeroMapping, oneMapping] = inverseDecode ? [nonBlackColor, black] : [black, nonBlackColor]; + const widthInSource = width >> 3; + const widthRemainder = width & 7; + const srcLength = src.length; + dest = new Uint32Array(dest.buffer); + let destPos = 0; + for (let i = 0; i < height; i++) { + for (const max = srcPos + widthInSource; srcPos < max; srcPos++) { + const elem = srcPos < srcLength ? src[srcPos] : 255; + dest[destPos++] = elem & 0b10000000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1000000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b100000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b10000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1000 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b100 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b10 ? oneMapping : zeroMapping; + dest[destPos++] = elem & 0b1 ? oneMapping : zeroMapping; } + if (widthRemainder === 0) { + continue; + } + const elem = srcPos < srcLength ? src[srcPos++] : 255; + for (let j = 0; j < widthRemainder; j++) { + dest[destPos++] = elem & 1 << 7 - j ? oneMapping : zeroMapping; + } + } + return { + srcPos, + destPos + }; +} +function convertRGBToRGBA({ + src, + srcPos = 0, + dest, + destPos = 0, + width, + height +}) { + let i = 0; + const len32 = src.length >> 2; + const src32 = new Uint32Array(src.buffer, srcPos, len32); + if (_util.FeatureTest.isLittleEndian) { + for (; i < len32 - 2; i += 3, destPos += 4) { + const s1 = src32[i]; + const s2 = src32[i + 1]; + const s3 = src32[i + 2]; + dest[destPos] = s1 | 0xff000000; + dest[destPos + 1] = s1 >>> 24 | s2 << 8 | 0xff000000; + dest[destPos + 2] = s2 >>> 16 | s3 << 16 | 0xff000000; + dest[destPos + 3] = s3 >>> 8 | 0xff000000; + } + for (let j = i * 4, jj = src.length; j < jj; j += 3) { + dest[destPos++] = src[j] | src[j + 1] << 8 | src[j + 2] << 16 | 0xff000000; + } + } else { + for (; i < len32 - 2; i += 3, destPos += 4) { + const s1 = src32[i]; + const s2 = src32[i + 1]; + const s3 = src32[i + 2]; + dest[destPos] = s1 | 0xff; + dest[destPos + 1] = s1 << 24 | s2 >>> 8 | 0xff; + dest[destPos + 2] = s2 << 16 | s3 >>> 16 | 0xff; + dest[destPos + 3] = s3 << 8 | 0xff; + } + for (let j = i * 4, jj = src.length; j < jj; j += 3) { + dest[destPos++] = src[j] << 24 | src[j + 1] << 16 | src[j + 2] << 8 | 0xff; + } + } + return { + srcPos, + destPos + }; +} +function grayToRGBA(src, dest) { + if (_util.FeatureTest.isLittleEndian) { + for (let i = 0, ii = src.length; i < ii; i++) { + dest[i] = src[i] * 0x10101 | 0xff000000; + } + } else { + for (let i = 0, ii = src.length; i < ii; i++) { + dest[i] = src[i] * 0x1010100 | 0x000000ff; + } + } +} + +/***/ }), +/* 29 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.JpxStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +var _jpx = __w_pdfjs_require__(30); +var _util = __w_pdfjs_require__(2); +class JpxStream extends _decode_stream.DecodeStream { + constructor(stream, maybeLength, params) { super(maybeLength); this.stream = stream; this.dict = stream.dict; @@ -12141,550 +18851,149 @@ class JpegStream extends DecodeStream { this.params = params; } get bytes() { - return shadow(this, "bytes", this.stream.getBytes(this.maybeLength)); + return (0, _util.shadow)(this, "bytes", this.stream.getBytes(this.maybeLength)); } ensureBuffer(requested) {} readBlock() { if (this.eof) { return; } - const jpegOptions = { - decodeTransform: undefined, - colorTransform: undefined - }; - const decodeArr = this.dict.getArray("D", "Decode"); - if ((this.forceRGBA || this.forceRGB) && Array.isArray(decodeArr)) { - const bitsPerComponent = this.dict.get("BPC", "BitsPerComponent") || 8; - const decodeArrLength = decodeArr.length; - const transform = new Int32Array(decodeArrLength); - let transformNeeded = false; - const maxValue = (1 << bitsPerComponent) - 1; - for (let i = 0; i < decodeArrLength; i += 2) { - transform[i] = (decodeArr[i + 1] - decodeArr[i]) * 256 | 0; - transform[i + 1] = decodeArr[i] * maxValue | 0; - if (transform[i] !== 256 || transform[i + 1] !== 0) { - transformNeeded = true; + const jpxImage = new _jpx.JpxImage(); + jpxImage.parse(this.bytes); + const width = jpxImage.width; + const height = jpxImage.height; + const componentsCount = jpxImage.componentsCount; + const tileCount = jpxImage.tiles.length; + if (tileCount === 1) { + this.buffer = jpxImage.tiles[0].items; + } else { + const data = new Uint8ClampedArray(width * height * componentsCount); + for (let k = 0; k < tileCount; k++) { + const tileComponents = jpxImage.tiles[k]; + const tileWidth = tileComponents.width; + const tileHeight = tileComponents.height; + const tileLeft = tileComponents.left; + const tileTop = tileComponents.top; + const src = tileComponents.items; + let srcPosition = 0; + let dataPosition = (width * tileTop + tileLeft) * componentsCount; + const imgRowSize = width * componentsCount; + const tileRowSize = tileWidth * componentsCount; + for (let j = 0; j < tileHeight; j++) { + const rowBytes = src.subarray(srcPosition, srcPosition + tileRowSize); + data.set(rowBytes, dataPosition); + srcPosition += tileRowSize; + dataPosition += imgRowSize; } } - if (transformNeeded) { - jpegOptions.decodeTransform = transform; - } + this.buffer = data; } - if (this.params instanceof Dict) { - const colorTransform = this.params.get("ColorTransform"); - if (Number.isInteger(colorTransform)) { - jpegOptions.colorTransform = colorTransform; - } - } - const jpegImage = new JpegImage(jpegOptions); - jpegImage.parse(this.bytes); - const data = jpegImage.getData({ - width: this.drawWidth, - height: this.drawHeight, - forceRGBA: this.forceRGBA, - forceRGB: this.forceRGB, - isSourcePDF: true - }); - this.buffer = data; - this.bufferLength = data.length; + this.bufferLength = this.buffer.length; this.eof = true; } } +exports.JpxStream = JpxStream; -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js -var web_dom_exception_stack = __webpack_require__(4979); -;// CONCATENATED MODULE: ./external/openjpeg/openjpeg.js +/***/ }), +/* 30 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - -var OpenJPEG = (() => { - var _scriptDir = "file:///Users/lidongze/source-code/pdf.js/external/openjpeg/openjpeg.js"; - return function (moduleArg = {}) { - var Module = moduleArg; - var readyPromiseResolve, readyPromiseReject; - var readyPromise = new Promise((resolve, reject) => { - readyPromiseResolve = resolve; - readyPromiseReject = reject; - }); - "use strict"; - Module.decode = function (bytes, ignoreColorSpace) { - const size = bytes.length; - const ptr = Module._malloc(size); - Module.HEAPU8.set(bytes, ptr); - const ret = Module._jp2_decode(ptr, size, ignoreColorSpace ? 1 : 0); - Module._free(ptr); - if (ret) { - const { - errorMessages: errorMessages - } = Module; - if (errorMessages) { - delete Module.errorMessages; - return errorMessages; - } - return "Unknown error"; - } - const { - imageData: imageData - } = Module; - Module.imageData = null; - return imageData; - }; - var moduleOverrides = Object.assign({}, Module); - var arguments_ = []; - var thisProgram = "./this.program"; - var quit_ = (status, toThrow) => { - throw toThrow; - }; - var ENVIRONMENT_IS_WEB = true; - var ENVIRONMENT_IS_WORKER = false; - var scriptDirectory = ""; - var read_, readAsync, readBinary; - if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - if (ENVIRONMENT_IS_WORKER) { - scriptDirectory = self.location.href; - } else if (typeof document != "undefined" && document.currentScript) { - scriptDirectory = document.currentScript.src; - } - if (_scriptDir) { - scriptDirectory = _scriptDir; - } - if (scriptDirectory.startsWith("blob:")) { - scriptDirectory = ""; - } else { - scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1); - } - read_ = url => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.send(null); - return xhr.responseText; - }; - if (ENVIRONMENT_IS_WORKER) { - readBinary = url => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.responseType = "arraybuffer"; - xhr.send(null); - return new Uint8Array(xhr.response); - }; - } - readAsync = (url, onload, onerror) => { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, true); - xhr.responseType = "arraybuffer"; - xhr.onload = () => { - if (xhr.status == 200 || xhr.status == 0 && xhr.response) { - onload(xhr.response); - return; - } - onerror(); - }; - xhr.onerror = onerror; - xhr.send(null); - }; - } else {} - var out = Module["print"] || console.log.bind(console); - var err = Module["printErr"] || console.error.bind(console); - Object.assign(Module, moduleOverrides); - moduleOverrides = null; - if (Module["arguments"]) arguments_ = Module["arguments"]; - if (Module["thisProgram"]) thisProgram = Module["thisProgram"]; - if (Module["quit"]) quit_ = Module["quit"]; - var wasmBinary; - if (Module["wasmBinary"]) wasmBinary = Module["wasmBinary"]; - function intArrayFromBase64(s) { - var decoded = atob(s); - var bytes = new Uint8Array(decoded.length); - for (var i = 0; i < decoded.length; ++i) { - bytes[i] = decoded.charCodeAt(i); - } - return bytes; - } - function tryParseAsDataURI(filename) { - if (!isDataURI(filename)) { - return; - } - return intArrayFromBase64(filename.slice(dataURIPrefix.length)); - } - var wasmMemory; - var ABORT = false; - var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; - function updateMemoryViews() { - var b = wasmMemory.buffer; - Module["HEAP8"] = HEAP8 = new Int8Array(b); - Module["HEAP16"] = HEAP16 = new Int16Array(b); - Module["HEAPU8"] = HEAPU8 = new Uint8Array(b); - Module["HEAPU16"] = HEAPU16 = new Uint16Array(b); - Module["HEAP32"] = HEAP32 = new Int32Array(b); - Module["HEAPU32"] = HEAPU32 = new Uint32Array(b); - Module["HEAPF32"] = HEAPF32 = new Float32Array(b); - Module["HEAPF64"] = HEAPF64 = new Float64Array(b); - } - var __ATPRERUN__ = []; - var __ATINIT__ = []; - var __ATPOSTRUN__ = []; - var runtimeInitialized = false; - function preRun() { - if (Module["preRun"]) { - if (typeof Module["preRun"] == "function") Module["preRun"] = [Module["preRun"]]; - while (Module["preRun"].length) { - addOnPreRun(Module["preRun"].shift()); - } - } - callRuntimeCallbacks(__ATPRERUN__); - } - function initRuntime() { - runtimeInitialized = true; - callRuntimeCallbacks(__ATINIT__); - } - function postRun() { - if (Module["postRun"]) { - if (typeof Module["postRun"] == "function") Module["postRun"] = [Module["postRun"]]; - while (Module["postRun"].length) { - addOnPostRun(Module["postRun"].shift()); - } - } - callRuntimeCallbacks(__ATPOSTRUN__); - } - function addOnPreRun(cb) { - __ATPRERUN__.unshift(cb); - } - function addOnInit(cb) { - __ATINIT__.unshift(cb); - } - function addOnPostRun(cb) { - __ATPOSTRUN__.unshift(cb); - } - var runDependencies = 0; - var runDependencyWatcher = null; - var dependenciesFulfilled = null; - function addRunDependency(id) { - runDependencies++; - Module["monitorRunDependencies"]?.(runDependencies); - } - function removeRunDependency(id) { - runDependencies--; - Module["monitorRunDependencies"]?.(runDependencies); - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - if (dependenciesFulfilled) { - var callback = dependenciesFulfilled; - dependenciesFulfilled = null; - callback(); - } - } - } - var dataURIPrefix = "data:application/octet-stream;base64,"; - var isDataURI = filename => filename.startsWith(dataURIPrefix); - var wasmBinaryFile; - wasmBinaryFile = "data:application/octet-stream;base64,AGFzbQEAAAABzgEaYAN/f38Bf2AEf39/fwF/YAF/AGACf38AYAF/AX9gA39/fwBgAn9/AX9gBH9/f38AYAN/fn8BfmACfn8Bf2AFf39/f38Bf2ACfn8BfmADf35/AX9gAAF/YAd/f39/f39/AX9gBX9/f39/AGAJf39/f39/f39/AX9gC39/f39/f39/f39/AX9gBn9/f39/fwF/YAZ/fH9/f38Bf2AIf39/f39/f38AYAh/f39/f39/fwF/YAAAYAZ/f39/f38AYAd/f39/f39/AGACfH8BfAIxCAFhAWEAAgFhAWIABAFhAWMABgFhAWQABgFhAWUAAQFhAWYABQFhAWcAAgFhAWgAAwO+AbwBBwIFAAYEAAUGBQEEDwUEFAIGAgYCAgAQEQQCCRICBQICAgQHBAINDAYCFQMHAAAEAwEWCgoDAAoGAQQEBQUNDgEBAwADBgIQBBcYAgcGAwcHAQECAAQEGQYHBA4PAAQCAgIABgAGAQEBAQEBAQEAAAAAAAYDAgICAwMDAwMAAxMIBA0AAwMABAgJCwgAAAEBAQEBAQEBDAEABAQFCg4BEhEBAAAGAwMBBQUFBQUFBQUBCwEBAQEBAQEBAQkEBQFwAWxsBQcBAYICgIACBggBfwFBgNgFCwcbBgFpAgABag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EgASgCAEEHakF4cSIBQRBqNgIAIAAhCyABKQMAIQMgASkDCCEHIwBBIGsiCCQAIAdC////////P4MhBAJ+IAdCMIhC//8BgyIFpyIKQYH4AGtB/Q9NBEAgBEIEhiADQjyIhCECIApBgPgAa60hBQJAIANC//////////8PgyIDQoGAgICAgICACFoEQCACQgF8IQIMAQsgA0KAgICAgICAgAhSDQAgAkIBgyACfCECC0IAIAIgAkL/////////B1YiABshAiAArSAFfAwBCwJAIAMgBIRQDQAgBUL//wFSDQAgBEIEhiADQjyIhEKAgICAgICABIQhAkL/DwwBC0L/DyAKQf6HAUsNABpCAEGA+ABBgfgAIAVQIgEbIgAgCmsiCUHwAEoNABogAyECIAQgBEKAgICAgIDAAIQgARsiBiEEAkBBgAEgCWsiAUHAAHEEQCADIAFBQGqthiEEQgAhAgwBCyABRQ0AIAQgAa0iBYYgAkHAACABa62IhCEEIAIgBYYhAgsgCCACNwMQIAggBDcDGAJAIAlBwABxBEAgBiAJQUBqrYghA0IAIQYMAQsgCUUNACAGQcAAIAlrrYYgAyAJrSICiIQhAyAGIAKIIQYLIAggAzcDACAIIAY3AwggCCkDCEIEhiAIKQMAIgJCPIiEIQMCQCAAIApHIAgpAxAgCCkDGIRCAFJxrSACQv//////////D4OEIgJCgYCAgICAgIAIWgRAIANCAXwhAwwBCyACQoCAgICAgICACFINACADQgGDIAN8IQMLIANCgICAgICAgAiFIAMgA0L/////////B1YiABshAiAArQshAyAIQSBqJAAgCyAHQoCAgICAgICAgH+DIANCNIaEIAKEvzkDAAucGAMTfwF8A34jAEGwBGsiDCQAIAxBADYCLAJAIAG9IhpCAFMEQEEBIRBBugghEyABmiIBvSEaDAELIARBgBBxBEBBASEQQb0IIRMMAQtBwAhBuwggBEEBcSIQGyETIBBFIRULAkAgGkKAgICAgICA+P8Ag0KAgICAgICA+P8AUQRAIABBICACIBBBA2oiAyAEQf//e3EQFCAAIBMgEBARIABBtwlB9gogBUEgcSIFG0GgCkH6CiAFGyABIAFiG0EDEB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ACAFaiIBLQAAQT1GDQELIAQoAgQhBSAEQQRqIQQgBQ0BDAILCyABQQFqIQgLIAgLzgIBCH8jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCEFIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEFQQIhBiADQRBqIQECfwNAAkACQAJAIAAoAjwgASAGIANBDGoQBCIEBH9BlMYBIAQ2AgBBfwVBAAtFBEAgBSADKAIMIgdGDQEgB0EATg0CDAMLIAVBf0cNAgsgACAAKAIsIgE2AhwgACABNgIUIAAgASAAKAIwajYCECACDAMLIAEgByABKAIEIghLIglBA3RqIgQgByAIQQAgCRtrIgggBCgCAGo2AgAgAUEMQQQgCRtqIgEgASgCACAIazYCACAFIAdrIQUgBiAJayEGIAQhAQwBCwsgAEEANgIcIABCADcDECAAIAAoAgBBIHI2AgBBACAGQQJGDQAaIAIgASgCBGsLIQogA0EgaiQAIAoLBgAgABAACwYAIAAQBgvPHQMNfwR7A34jAEHQwABrIgkkACAJQQA2AhBBAiEEAkACQCAAKAIAIgNBjZSc1ABGDQAgA0H/n/2PBUcEQAJAIANBgICA4ABHDQAgACgCBEHqoIGBAkcNACAAKAIIQY2UnNQARg0CC0HNCBAAQQEhAAwCC0EAIQQLAn9BAEEBQeAAEAwiA0UNABogA0EBNgJMAkACQAJAAkAgBA4DAAMBAwsgA0HDADYCWCADQcQANgJUIANBxQA2AlAgA0HGADYCECADQccANgIEIANByAA2AhwgA0HJADYCGCADQcoANgIUIANBywA2AgAgA0HMADYCXCADQc0ANgIsIANBzgA2AiggA0HPADYCJCADQdAANgIgIANB0QA2AgwgA0HSADYCCCADEEYiBDYCMCAEDQEMAgsgA0HTADYCWCADQdQANgJUIANB1QA2AlAgA0HWADYCECADQdcANgIEIANB2AA2AlwgA0HZADYCLCADQdoANgIoIANB2wA2AiQgA0HcADYCICADQd0ANgIcIANB3gA2AhggA0HfADYCFCADQeAANgIMIANB4QA2AgggA0HiADYCACADAn9BAUGIARAMIgQEQCA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aDJwajgAQdDAAQsycmRoaTkAAABybG9jOgAAAGNjcGI7AAAAcmxjcDwAAABwYW1jPQAAAGZlZGM+AAAAeGIAQZDBAQtBGQALABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZAAoKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRkAQeHBAQshDgAAAAAAAAAAGQALDRkZGQANAAACAAkOAAAACQAOAAAOAEGbwgELAQwAQafCAQsVEwAAAAATAAAAAAkMAAAAAAAMAAAMAEHVwgELARAAQeHCAQsVDwAAAAQPAAAAAAkQAAAAAAAQAAAQAEGPwwELARIAQZvDAQseEQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoaAEHSwwELDhoAAAAaGhoAAAAAAAAJAEGDxAELARQAQY/EAQsVFwAAAAAXAAAAAAkUAAAAAAAUAAAUAEG9xAELARYAQcnEAQsnFQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGAEHxxAELCGwBAAAAAAAFAEGExQELAWkAQZzFAQsOagAAAGsAAAD4ZwAAAAQAQbTFAQsBAQBBxMUBCwX/////Cg=="; - function getBinarySync(file) { - if (file == wasmBinaryFile && wasmBinary) { - return new Uint8Array(wasmBinary); - } - var binary = tryParseAsDataURI(file); - if (binary) { - return binary; - } - if (readBinary) { - return readBinary(file); - } - throw 'sync fetching of the wasm failed: you can preload it to Module["wasmBinary"] manually, or emcc.py will do that for you when generating HTML (but not JS)'; - } - function instantiateSync(file, info) { - var module; - var binary = getBinarySync(file); - module = new WebAssembly.Module(binary); - var instance = new WebAssembly.Instance(module, info); - return [instance, module]; - } - function createWasm() { - var info = { - "a": wasmImports - }; - function receiveInstance(instance, module) { - wasmExports = instance.exports; - wasmMemory = wasmExports["i"]; - updateMemoryViews(); - addOnInit(wasmExports["j"]); - removeRunDependency("wasm-instantiate"); - return wasmExports; - } - addRunDependency("wasm-instantiate"); - if (Module["instantiateWasm"]) { - try { - return Module["instantiateWasm"](info, receiveInstance); - } catch (e) { - err(`Module.instantiateWasm callback failed with error: ${e}`); - readyPromiseReject(e); - } - } - var result = instantiateSync(wasmBinaryFile, info); - return receiveInstance(result[0]); - } - var callRuntimeCallbacks = callbacks => { - while (callbacks.length > 0) { - callbacks.shift()(Module); - } - }; - var noExitRuntime = Module["noExitRuntime"] || true; - var __emscripten_memcpy_js = (dest, src, num) => HEAPU8.copyWithin(dest, src, src + num); - var getHeapMax = () => 2147483648; - var growMemory = size => { - var b = wasmMemory.buffer; - var pages = (size - b.byteLength + 65535) / 65536; - try { - wasmMemory.grow(pages); - updateMemoryViews(); - return 1; - } catch (e) {} - }; - var _emscripten_resize_heap = requestedSize => { - var oldSize = HEAPU8.length; - requestedSize >>>= 0; - var maxHeapSize = getHeapMax(); - if (requestedSize > maxHeapSize) { - return false; - } - var alignUp = (x, multiple) => x + (multiple - x % multiple) % multiple; - for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { - var overGrownHeapSize = oldSize * (1 + .2 / cutDown); - overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296); - var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536)); - var replacement = growMemory(newSize); - if (replacement) { - return true; - } - } - return false; - }; - var ENV = {}; - var getExecutableName = () => thisProgram || "./this.program"; - var getEnvStrings = () => { - if (!getEnvStrings.strings) { - var lang = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8"; - var env = { - "USER": "web_user", - "LOGNAME": "web_user", - "PATH": "/", - "PWD": "/", - "HOME": "/home/web_user", - "LANG": lang, - "_": getExecutableName() - }; - for (var x in ENV) { - if (ENV[x] === undefined) delete env[x];else env[x] = ENV[x]; - } - var strings = []; - for (var x in env) { - strings.push(`${x}=${env[x]}`); - } - getEnvStrings.strings = strings; - } - return getEnvStrings.strings; - }; - var stringToAscii = (str, buffer) => { - for (var i = 0; i < str.length; ++i) { - HEAP8[buffer++] = str.charCodeAt(i); - } - HEAP8[buffer] = 0; - }; - var _environ_get = (__environ, environ_buf) => { - var bufSize = 0; - getEnvStrings().forEach((string, i) => { - var ptr = environ_buf + bufSize; - HEAPU32[__environ + i * 4 >> 2] = ptr; - stringToAscii(string, ptr); - bufSize += string.length + 1; - }); - return 0; - }; - var _environ_sizes_get = (penviron_count, penviron_buf_size) => { - var strings = getEnvStrings(); - HEAPU32[penviron_count >> 2] = strings.length; - var bufSize = 0; - strings.forEach(string => bufSize += string.length + 1); - HEAPU32[penviron_buf_size >> 2] = bufSize; - return 0; - }; - var printCharBuffers = [null, [], []]; - var UTF8Decoder = typeof TextDecoder != "undefined" ? new TextDecoder("utf8") : undefined; - var UTF8ArrayToString = (heapOrArray, idx, maxBytesToRead) => { - var endIdx = idx + maxBytesToRead; - var endPtr = idx; - while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr; - if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) { - return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); - } - var str = ""; - while (idx < endPtr) { - var u0 = heapOrArray[idx++]; - if (!(u0 & 128)) { - str += String.fromCharCode(u0); - continue; - } - var u1 = heapOrArray[idx++] & 63; - if ((u0 & 224) == 192) { - str += String.fromCharCode((u0 & 31) << 6 | u1); - continue; - } - var u2 = heapOrArray[idx++] & 63; - if ((u0 & 240) == 224) { - u0 = (u0 & 15) << 12 | u1 << 6 | u2; - } else { - u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heapOrArray[idx++] & 63; - } - if (u0 < 65536) { - str += String.fromCharCode(u0); - } else { - var ch = u0 - 65536; - str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } - } - return str; - }; - var printChar = (stream, curr) => { - var buffer = printCharBuffers[stream]; - if (curr === 0 || curr === 10) { - (stream === 1 ? out : err)(UTF8ArrayToString(buffer, 0)); - buffer.length = 0; - } else { - buffer.push(curr); - } - }; - var UTF8ToString = (ptr, maxBytesToRead) => ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ""; - var _fd_write = (fd, iov, iovcnt, pnum) => { - var num = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAPU32[iov >> 2]; - var len = HEAPU32[iov + 4 >> 2]; - iov += 8; - for (var j = 0; j < len; j++) { - printChar(fd, HEAPU8[ptr + j]); - } - num += len; - } - HEAPU32[pnum >> 2] = num; - return 0; - }; - function _jsPrintWarning(message_ptr) { - const message = UTF8ToString(message_ptr); - (Module.warn || console.warn)(`OpenJPEG: ${message}`); - } - function _setImageData(array_ptr, array_size) { - Module.imageData = new Uint8ClampedArray(Module.HEAPU8.subarray(array_ptr, array_ptr + array_size)); - } - function _storeErrorMessage(message_ptr) { - const message = UTF8ToString(message_ptr); - if (!Module.errorMessages) { - Module.errorMessages = message; - } else { - Module.errorMessages += "\n" + message; - } - } - var wasmImports = { - f: __emscripten_memcpy_js, - b: _emscripten_resize_heap, - c: _environ_get, - d: _environ_sizes_get, - e: _fd_write, - g: _jsPrintWarning, - h: _setImageData, - a: _storeErrorMessage - }; - var wasmExports = createWasm(); - var ___wasm_call_ctors = wasmExports["j"]; - var _malloc = Module["_malloc"] = wasmExports["k"]; - var _free = Module["_free"] = wasmExports["l"]; - var _jp2_decode = Module["_jp2_decode"] = wasmExports["n"]; - var __emscripten_stack_restore = wasmExports["_emscripten_stack_restore"]; - var __emscripten_stack_alloc = wasmExports["_emscripten_stack_alloc"]; - var _emscripten_stack_get_current = wasmExports["emscripten_stack_get_current"]; - var calledRun; - dependenciesFulfilled = function runCaller() { - if (!calledRun) run(); - if (!calledRun) dependenciesFulfilled = runCaller; - }; - function run() { - if (runDependencies > 0) { - return; - } - preRun(); - if (runDependencies > 0) { - return; - } - function doRun() { - if (calledRun) return; - calledRun = true; - Module["calledRun"] = true; - if (ABORT) return; - initRuntime(); - readyPromiseResolve(Module); - if (Module["onRuntimeInitialized"]) Module["onRuntimeInitialized"](); - postRun(); - } - if (Module["setStatus"]) { - Module["setStatus"]("Running..."); - setTimeout(function () { - setTimeout(function () { - Module["setStatus"](""); - }, 1); - doRun(); - }, 1); - } else { - doRun(); - } - } - if (Module["preInit"]) { - if (typeof Module["preInit"] == "function") Module["preInit"] = [Module["preInit"]]; - while (Module["preInit"].length > 0) { - Module["preInit"].pop()(); - } - } - run(); - return moduleArg; - }; -})(); -/* harmony default export */ const openjpeg = (OpenJPEG); -;// CONCATENATED MODULE: ./src/core/jpx.js - - - - - - -class JpxError extends BaseException { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.JpxImage = void 0; +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _arithmetic_decoder = __w_pdfjs_require__(25); +class JpxError extends _util.BaseException { constructor(msg) { - super(msg, "JpxError"); + super(`JPX error: ${msg}`, "JpxError"); } } +const SubbandsGainLog2 = { + LL: 0, + LH: 1, + HL: 1, + HH: 2 +}; class JpxImage { - static #module = null; - static decode(data, ignoreColorSpace = false) { - this.#module ||= openjpeg({ - warn: warn - }); - const imageData = this.#module.decode(data, ignoreColorSpace); - if (typeof imageData === "string") { - throw new JpxError(imageData); + constructor() { + this.failOnCorruptedImage = false; + } + parse(data) { + const head = (0, _core_utils.readUint16)(data, 0); + if (head === 0xff4f) { + this.parseCodestream(data, 0, data.length); + return; + } + const length = data.length; + let position = 0; + while (position < length) { + let headerSize = 8; + let lbox = (0, _core_utils.readUint32)(data, position); + const tbox = (0, _core_utils.readUint32)(data, position + 4); + position += headerSize; + if (lbox === 1) { + lbox = (0, _core_utils.readUint32)(data, position) * 4294967296 + (0, _core_utils.readUint32)(data, position + 4); + position += 8; + headerSize += 8; + } + if (lbox === 0) { + lbox = length - position + headerSize; + } + if (lbox < headerSize) { + throw new JpxError("Invalid box field size"); + } + const dataLength = lbox - headerSize; + let jumpDataLength = true; + switch (tbox) { + case 0x6a703268: + jumpDataLength = false; + break; + case 0x636f6c72: + const method = data[position]; + if (method === 1) { + const colorspace = (0, _core_utils.readUint32)(data, position + 3); + switch (colorspace) { + case 16: + case 17: + case 18: + break; + default: + (0, _util.warn)("Unknown colorspace " + colorspace); + break; + } + } else if (method === 2) { + (0, _util.info)("ICC profile not supported"); + } + break; + case 0x6a703263: + this.parseCodestream(data, position, position + dataLength); + break; + case 0x6a502020: + if ((0, _core_utils.readUint32)(data, position) !== 0x0d0a870a) { + (0, _util.warn)("Invalid JP2 signature"); + } + break; + case 0x6a501a1a: + case 0x66747970: + case 0x72726571: + case 0x72657320: + case 0x69686472: + break; + default: + const headerType = String.fromCharCode(tbox >> 24 & 0xff, tbox >> 16 & 0xff, tbox >> 8 & 0xff, tbox & 0xff); + (0, _util.warn)(`Unsupported header type ${tbox} (${headerType}).`); + break; + } + if (jumpDataLength) { + position += dataLength; + } } - return imageData; } - static cleanup() { - this.#module = null; - } - static parseImageProperties(stream) { + parseImageProperties(stream) { let newByte = stream.getByte(); while (newByte >= 0) { const oldByte = newByte; @@ -12698,53 +19007,1830 @@ class JpxImage { const YOsiz = stream.getInt32() >>> 0; stream.skip(16); const Csiz = stream.getUint16(); - return { - width: Xsiz - XOsiz, - height: Ysiz - YOsiz, - bitsPerComponent: 8, - componentsCount: Csiz - }; + this.width = Xsiz - XOsiz; + this.height = Ysiz - YOsiz; + this.componentsCount = Csiz; + this.bitsPerComponent = 8; + return; } } throw new JpxError("No size marker found in JPX stream"); } -} - -;// CONCATENATED MODULE: ./src/core/jpx_stream.js - - - -class JpxStream extends DecodeStream { - constructor(stream, maybeLength, params) { - super(maybeLength); - this.stream = stream; - this.dict = stream.dict; - this.maybeLength = maybeLength; - this.params = params; - } - get bytes() { - return shadow(this, "bytes", this.stream.getBytes(this.maybeLength)); - } - ensureBuffer(requested) {} - readBlock(ignoreColorSpace) { - if (this.eof) { - return; + parseCodestream(data, start, end) { + const context = {}; + let doNotRecover = false; + try { + let position = start; + while (position + 1 < end) { + const code = (0, _core_utils.readUint16)(data, position); + position += 2; + let length = 0, + j, + sqcd, + spqcds, + spqcdSize, + scalarExpounded, + tile; + switch (code) { + case 0xff4f: + context.mainHeader = true; + break; + case 0xffd9: + break; + case 0xff51: + length = (0, _core_utils.readUint16)(data, position); + const siz = {}; + siz.Xsiz = (0, _core_utils.readUint32)(data, position + 4); + siz.Ysiz = (0, _core_utils.readUint32)(data, position + 8); + siz.XOsiz = (0, _core_utils.readUint32)(data, position + 12); + siz.YOsiz = (0, _core_utils.readUint32)(data, position + 16); + siz.XTsiz = (0, _core_utils.readUint32)(data, position + 20); + siz.YTsiz = (0, _core_utils.readUint32)(data, position + 24); + siz.XTOsiz = (0, _core_utils.readUint32)(data, position + 28); + siz.YTOsiz = (0, _core_utils.readUint32)(data, position + 32); + const componentsCount = (0, _core_utils.readUint16)(data, position + 36); + siz.Csiz = componentsCount; + const components = []; + j = position + 38; + for (let i = 0; i < componentsCount; i++) { + const component = { + precision: (data[j] & 0x7f) + 1, + isSigned: !!(data[j] & 0x80), + XRsiz: data[j + 1], + YRsiz: data[j + 2] + }; + j += 3; + calculateComponentDimensions(component, siz); + components.push(component); + } + context.SIZ = siz; + context.components = components; + calculateTileGrids(context, components); + context.QCC = []; + context.COC = []; + break; + case 0xff5c: + length = (0, _core_utils.readUint16)(data, position); + const qcd = {}; + j = position + 2; + sqcd = data[j++]; + switch (sqcd & 0x1f) { + case 0: + spqcdSize = 8; + scalarExpounded = true; + break; + case 1: + spqcdSize = 16; + scalarExpounded = false; + break; + case 2: + spqcdSize = 16; + scalarExpounded = true; + break; + default: + throw new Error("Invalid SQcd value " + sqcd); + } + qcd.noQuantization = spqcdSize === 8; + qcd.scalarExpounded = scalarExpounded; + qcd.guardBits = sqcd >> 5; + spqcds = []; + while (j < length + position) { + const spqcd = {}; + if (spqcdSize === 8) { + spqcd.epsilon = data[j++] >> 3; + spqcd.mu = 0; + } else { + spqcd.epsilon = data[j] >> 3; + spqcd.mu = (data[j] & 0x7) << 8 | data[j + 1]; + j += 2; + } + spqcds.push(spqcd); + } + qcd.SPqcds = spqcds; + if (context.mainHeader) { + context.QCD = qcd; + } else { + context.currentTile.QCD = qcd; + context.currentTile.QCC = []; + } + break; + case 0xff5d: + length = (0, _core_utils.readUint16)(data, position); + const qcc = {}; + j = position + 2; + let cqcc; + if (context.SIZ.Csiz < 257) { + cqcc = data[j++]; + } else { + cqcc = (0, _core_utils.readUint16)(data, j); + j += 2; + } + sqcd = data[j++]; + switch (sqcd & 0x1f) { + case 0: + spqcdSize = 8; + scalarExpounded = true; + break; + case 1: + spqcdSize = 16; + scalarExpounded = false; + break; + case 2: + spqcdSize = 16; + scalarExpounded = true; + break; + default: + throw new Error("Invalid SQcd value " + sqcd); + } + qcc.noQuantization = spqcdSize === 8; + qcc.scalarExpounded = scalarExpounded; + qcc.guardBits = sqcd >> 5; + spqcds = []; + while (j < length + position) { + const spqcd = {}; + if (spqcdSize === 8) { + spqcd.epsilon = data[j++] >> 3; + spqcd.mu = 0; + } else { + spqcd.epsilon = data[j] >> 3; + spqcd.mu = (data[j] & 0x7) << 8 | data[j + 1]; + j += 2; + } + spqcds.push(spqcd); + } + qcc.SPqcds = spqcds; + if (context.mainHeader) { + context.QCC[cqcc] = qcc; + } else { + context.currentTile.QCC[cqcc] = qcc; + } + break; + case 0xff52: + length = (0, _core_utils.readUint16)(data, position); + const cod = {}; + j = position + 2; + const scod = data[j++]; + cod.entropyCoderWithCustomPrecincts = !!(scod & 1); + cod.sopMarkerUsed = !!(scod & 2); + cod.ephMarkerUsed = !!(scod & 4); + cod.progressionOrder = data[j++]; + cod.layersCount = (0, _core_utils.readUint16)(data, j); + j += 2; + cod.multipleComponentTransform = data[j++]; + cod.decompositionLevelsCount = data[j++]; + cod.xcb = (data[j++] & 0xf) + 2; + cod.ycb = (data[j++] & 0xf) + 2; + const blockStyle = data[j++]; + cod.selectiveArithmeticCodingBypass = !!(blockStyle & 1); + cod.resetContextProbabilities = !!(blockStyle & 2); + cod.terminationOnEachCodingPass = !!(blockStyle & 4); + cod.verticallyStripe = !!(blockStyle & 8); + cod.predictableTermination = !!(blockStyle & 16); + cod.segmentationSymbolUsed = !!(blockStyle & 32); + cod.reversibleTransformation = data[j++]; + if (cod.entropyCoderWithCustomPrecincts) { + const precinctsSizes = []; + while (j < length + position) { + const precinctsSize = data[j++]; + precinctsSizes.push({ + PPx: precinctsSize & 0xf, + PPy: precinctsSize >> 4 + }); + } + cod.precinctsSizes = precinctsSizes; + } + const unsupported = []; + if (cod.selectiveArithmeticCodingBypass) { + unsupported.push("selectiveArithmeticCodingBypass"); + } + if (cod.terminationOnEachCodingPass) { + unsupported.push("terminationOnEachCodingPass"); + } + if (cod.verticallyStripe) { + unsupported.push("verticallyStripe"); + } + if (cod.predictableTermination) { + unsupported.push("predictableTermination"); + } + if (unsupported.length > 0) { + doNotRecover = true; + (0, _util.warn)(`JPX: Unsupported COD options (${unsupported.join(", ")}).`); + } + if (context.mainHeader) { + context.COD = cod; + } else { + context.currentTile.COD = cod; + context.currentTile.COC = []; + } + break; + case 0xff90: + length = (0, _core_utils.readUint16)(data, position); + tile = {}; + tile.index = (0, _core_utils.readUint16)(data, position + 2); + tile.length = (0, _core_utils.readUint32)(data, position + 4); + tile.dataEnd = tile.length + position - 2; + tile.partIndex = data[position + 8]; + tile.partsCount = data[position + 9]; + context.mainHeader = false; + if (tile.partIndex === 0) { + tile.COD = context.COD; + tile.COC = context.COC.slice(0); + tile.QCD = context.QCD; + tile.QCC = context.QCC.slice(0); + } + context.currentTile = tile; + break; + case 0xff93: + tile = context.currentTile; + if (tile.partIndex === 0) { + initializeTile(context, tile.index); + buildPackets(context); + } + length = tile.dataEnd - position; + parseTilePackets(context, data, position, length); + break; + case 0xff53: + (0, _util.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented."); + case 0xff55: + case 0xff57: + case 0xff58: + case 0xff64: + length = (0, _core_utils.readUint16)(data, position); + break; + default: + throw new Error("Unknown codestream code: " + code.toString(16)); + } + position += length; + } + } catch (e) { + if (doNotRecover || this.failOnCorruptedImage) { + throw new JpxError(e.message); + } else { + (0, _util.warn)(`JPX: Trying to recover from: "${e.message}".`); + } + } + this.tiles = transformComponents(context); + this.width = context.SIZ.Xsiz - context.SIZ.XOsiz; + this.height = context.SIZ.Ysiz - context.SIZ.YOsiz; + this.componentsCount = context.SIZ.Csiz; + } +} +exports.JpxImage = JpxImage; +function calculateComponentDimensions(component, siz) { + component.x0 = Math.ceil(siz.XOsiz / component.XRsiz); + component.x1 = Math.ceil(siz.Xsiz / component.XRsiz); + component.y0 = Math.ceil(siz.YOsiz / component.YRsiz); + component.y1 = Math.ceil(siz.Ysiz / component.YRsiz); + component.width = component.x1 - component.x0; + component.height = component.y1 - component.y0; +} +function calculateTileGrids(context, components) { + const siz = context.SIZ; + const tiles = []; + let tile; + const numXtiles = Math.ceil((siz.Xsiz - siz.XTOsiz) / siz.XTsiz); + const numYtiles = Math.ceil((siz.Ysiz - siz.YTOsiz) / siz.YTsiz); + for (let q = 0; q < numYtiles; q++) { + for (let p = 0; p < numXtiles; p++) { + tile = {}; + tile.tx0 = Math.max(siz.XTOsiz + p * siz.XTsiz, siz.XOsiz); + tile.ty0 = Math.max(siz.YTOsiz + q * siz.YTsiz, siz.YOsiz); + tile.tx1 = Math.min(siz.XTOsiz + (p + 1) * siz.XTsiz, siz.Xsiz); + tile.ty1 = Math.min(siz.YTOsiz + (q + 1) * siz.YTsiz, siz.Ysiz); + tile.width = tile.tx1 - tile.tx0; + tile.height = tile.ty1 - tile.ty0; + tile.components = []; + tiles.push(tile); + } + } + context.tiles = tiles; + const componentsCount = siz.Csiz; + for (let i = 0, ii = componentsCount; i < ii; i++) { + const component = components[i]; + for (let j = 0, jj = tiles.length; j < jj; j++) { + const tileComponent = {}; + tile = tiles[j]; + tileComponent.tcx0 = Math.ceil(tile.tx0 / component.XRsiz); + tileComponent.tcy0 = Math.ceil(tile.ty0 / component.YRsiz); + tileComponent.tcx1 = Math.ceil(tile.tx1 / component.XRsiz); + tileComponent.tcy1 = Math.ceil(tile.ty1 / component.YRsiz); + tileComponent.width = tileComponent.tcx1 - tileComponent.tcx0; + tileComponent.height = tileComponent.tcy1 - tileComponent.tcy0; + tile.components[i] = tileComponent; + } + } +} +function getBlocksDimensions(context, component, r) { + const codOrCoc = component.codingStyleParameters; + const result = {}; + if (!codOrCoc.entropyCoderWithCustomPrecincts) { + result.PPx = 15; + result.PPy = 15; + } else { + result.PPx = codOrCoc.precinctsSizes[r].PPx; + result.PPy = codOrCoc.precinctsSizes[r].PPy; + } + result.xcb_ = r > 0 ? Math.min(codOrCoc.xcb, result.PPx - 1) : Math.min(codOrCoc.xcb, result.PPx); + result.ycb_ = r > 0 ? Math.min(codOrCoc.ycb, result.PPy - 1) : Math.min(codOrCoc.ycb, result.PPy); + return result; +} +function buildPrecincts(context, resolution, dimensions) { + const precinctWidth = 1 << dimensions.PPx; + const precinctHeight = 1 << dimensions.PPy; + const isZeroRes = resolution.resLevel === 0; + const precinctWidthInSubband = 1 << dimensions.PPx + (isZeroRes ? 0 : -1); + const precinctHeightInSubband = 1 << dimensions.PPy + (isZeroRes ? 0 : -1); + const numprecinctswide = resolution.trx1 > resolution.trx0 ? Math.ceil(resolution.trx1 / precinctWidth) - Math.floor(resolution.trx0 / precinctWidth) : 0; + const numprecinctshigh = resolution.try1 > resolution.try0 ? Math.ceil(resolution.try1 / precinctHeight) - Math.floor(resolution.try0 / precinctHeight) : 0; + const numprecincts = numprecinctswide * numprecinctshigh; + resolution.precinctParameters = { + precinctWidth, + precinctHeight, + numprecinctswide, + numprecinctshigh, + numprecincts, + precinctWidthInSubband, + precinctHeightInSubband + }; +} +function buildCodeblocks(context, subband, dimensions) { + const xcb_ = dimensions.xcb_; + const ycb_ = dimensions.ycb_; + const codeblockWidth = 1 << xcb_; + const codeblockHeight = 1 << ycb_; + const cbx0 = subband.tbx0 >> xcb_; + const cby0 = subband.tby0 >> ycb_; + const cbx1 = subband.tbx1 + codeblockWidth - 1 >> xcb_; + const cby1 = subband.tby1 + codeblockHeight - 1 >> ycb_; + const precinctParameters = subband.resolution.precinctParameters; + const codeblocks = []; + const precincts = []; + let i, j, codeblock, precinctNumber; + for (j = cby0; j < cby1; j++) { + for (i = cbx0; i < cbx1; i++) { + codeblock = { + cbx: i, + cby: j, + tbx0: codeblockWidth * i, + tby0: codeblockHeight * j, + tbx1: codeblockWidth * (i + 1), + tby1: codeblockHeight * (j + 1) + }; + codeblock.tbx0_ = Math.max(subband.tbx0, codeblock.tbx0); + codeblock.tby0_ = Math.max(subband.tby0, codeblock.tby0); + codeblock.tbx1_ = Math.min(subband.tbx1, codeblock.tbx1); + codeblock.tby1_ = Math.min(subband.tby1, codeblock.tby1); + const pi = Math.floor((codeblock.tbx0_ - subband.tbx0) / precinctParameters.precinctWidthInSubband); + const pj = Math.floor((codeblock.tby0_ - subband.tby0) / precinctParameters.precinctHeightInSubband); + precinctNumber = pi + pj * precinctParameters.numprecinctswide; + codeblock.precinctNumber = precinctNumber; + codeblock.subbandType = subband.type; + codeblock.Lblock = 3; + if (codeblock.tbx1_ <= codeblock.tbx0_ || codeblock.tby1_ <= codeblock.tby0_) { + continue; + } + codeblocks.push(codeblock); + let precinct = precincts[precinctNumber]; + if (precinct !== undefined) { + if (i < precinct.cbxMin) { + precinct.cbxMin = i; + } else if (i > precinct.cbxMax) { + precinct.cbxMax = i; + } + if (j < precinct.cbyMin) { + precinct.cbxMin = j; + } else if (j > precinct.cbyMax) { + precinct.cbyMax = j; + } + } else { + precincts[precinctNumber] = precinct = { + cbxMin: i, + cbyMin: j, + cbxMax: i, + cbyMax: j + }; + } + codeblock.precinct = precinct; + } + } + subband.codeblockParameters = { + codeblockWidth: xcb_, + codeblockHeight: ycb_, + numcodeblockwide: cbx1 - cbx0 + 1, + numcodeblockhigh: cby1 - cby0 + 1 + }; + subband.codeblocks = codeblocks; + subband.precincts = precincts; +} +function createPacket(resolution, precinctNumber, layerNumber) { + const precinctCodeblocks = []; + const subbands = resolution.subbands; + for (let i = 0, ii = subbands.length; i < ii; i++) { + const subband = subbands[i]; + const codeblocks = subband.codeblocks; + for (let j = 0, jj = codeblocks.length; j < jj; j++) { + const codeblock = codeblocks[j]; + if (codeblock.precinctNumber !== precinctNumber) { + continue; + } + precinctCodeblocks.push(codeblock); + } + } + return { + layerNumber, + codeblocks: precinctCodeblocks + }; +} +function LayerResolutionComponentPositionIterator(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const layersCount = tile.codingStyleDefaultParameters.layersCount; + const componentsCount = siz.Csiz; + let maxDecompositionLevelsCount = 0; + for (let q = 0; q < componentsCount; q++) { + maxDecompositionLevelsCount = Math.max(maxDecompositionLevelsCount, tile.components[q].codingStyleParameters.decompositionLevelsCount); + } + let l = 0, + r = 0, + i = 0, + k = 0; + this.nextPacket = function JpxImage_nextPacket() { + for (; l < layersCount; l++) { + for (; r <= maxDecompositionLevelsCount; r++) { + for (; i < componentsCount; i++) { + const component = tile.components[i]; + if (r > component.codingStyleParameters.decompositionLevelsCount) { + continue; + } + const resolution = component.resolutions[r]; + const numprecincts = resolution.precinctParameters.numprecincts; + for (; k < numprecincts;) { + const packet = createPacket(resolution, k, l); + k++; + return packet; + } + k = 0; + } + i = 0; + } + r = 0; + } + throw new JpxError("Out of packets"); + }; +} +function ResolutionLayerComponentPositionIterator(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const layersCount = tile.codingStyleDefaultParameters.layersCount; + const componentsCount = siz.Csiz; + let maxDecompositionLevelsCount = 0; + for (let q = 0; q < componentsCount; q++) { + maxDecompositionLevelsCount = Math.max(maxDecompositionLevelsCount, tile.components[q].codingStyleParameters.decompositionLevelsCount); + } + let r = 0, + l = 0, + i = 0, + k = 0; + this.nextPacket = function JpxImage_nextPacket() { + for (; r <= maxDecompositionLevelsCount; r++) { + for (; l < layersCount; l++) { + for (; i < componentsCount; i++) { + const component = tile.components[i]; + if (r > component.codingStyleParameters.decompositionLevelsCount) { + continue; + } + const resolution = component.resolutions[r]; + const numprecincts = resolution.precinctParameters.numprecincts; + for (; k < numprecincts;) { + const packet = createPacket(resolution, k, l); + k++; + return packet; + } + k = 0; + } + i = 0; + } + l = 0; + } + throw new JpxError("Out of packets"); + }; +} +function ResolutionPositionComponentLayerIterator(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const layersCount = tile.codingStyleDefaultParameters.layersCount; + const componentsCount = siz.Csiz; + let l, r, c, p; + let maxDecompositionLevelsCount = 0; + for (c = 0; c < componentsCount; c++) { + const component = tile.components[c]; + maxDecompositionLevelsCount = Math.max(maxDecompositionLevelsCount, component.codingStyleParameters.decompositionLevelsCount); + } + const maxNumPrecinctsInLevel = new Int32Array(maxDecompositionLevelsCount + 1); + for (r = 0; r <= maxDecompositionLevelsCount; ++r) { + let maxNumPrecincts = 0; + for (c = 0; c < componentsCount; ++c) { + const resolutions = tile.components[c].resolutions; + if (r < resolutions.length) { + maxNumPrecincts = Math.max(maxNumPrecincts, resolutions[r].precinctParameters.numprecincts); + } + } + maxNumPrecinctsInLevel[r] = maxNumPrecincts; + } + l = 0; + r = 0; + c = 0; + p = 0; + this.nextPacket = function JpxImage_nextPacket() { + for (; r <= maxDecompositionLevelsCount; r++) { + for (; p < maxNumPrecinctsInLevel[r]; p++) { + for (; c < componentsCount; c++) { + const component = tile.components[c]; + if (r > component.codingStyleParameters.decompositionLevelsCount) { + continue; + } + const resolution = component.resolutions[r]; + const numprecincts = resolution.precinctParameters.numprecincts; + if (p >= numprecincts) { + continue; + } + for (; l < layersCount;) { + const packet = createPacket(resolution, p, l); + l++; + return packet; + } + l = 0; + } + c = 0; + } + p = 0; + } + throw new JpxError("Out of packets"); + }; +} +function PositionComponentResolutionLayerIterator(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const layersCount = tile.codingStyleDefaultParameters.layersCount; + const componentsCount = siz.Csiz; + const precinctsSizes = getPrecinctSizesInImageScale(tile); + const precinctsIterationSizes = precinctsSizes; + let l = 0, + r = 0, + c = 0, + px = 0, + py = 0; + this.nextPacket = function JpxImage_nextPacket() { + for (; py < precinctsIterationSizes.maxNumHigh; py++) { + for (; px < precinctsIterationSizes.maxNumWide; px++) { + for (; c < componentsCount; c++) { + const component = tile.components[c]; + const decompositionLevelsCount = component.codingStyleParameters.decompositionLevelsCount; + for (; r <= decompositionLevelsCount; r++) { + const resolution = component.resolutions[r]; + const sizeInImageScale = precinctsSizes.components[c].resolutions[r]; + const k = getPrecinctIndexIfExist(px, py, sizeInImageScale, precinctsIterationSizes, resolution); + if (k === null) { + continue; + } + for (; l < layersCount;) { + const packet = createPacket(resolution, k, l); + l++; + return packet; + } + l = 0; + } + r = 0; + } + c = 0; + } + px = 0; + } + throw new JpxError("Out of packets"); + }; +} +function ComponentPositionResolutionLayerIterator(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const layersCount = tile.codingStyleDefaultParameters.layersCount; + const componentsCount = siz.Csiz; + const precinctsSizes = getPrecinctSizesInImageScale(tile); + let l = 0, + r = 0, + c = 0, + px = 0, + py = 0; + this.nextPacket = function JpxImage_nextPacket() { + for (; c < componentsCount; ++c) { + const component = tile.components[c]; + const precinctsIterationSizes = precinctsSizes.components[c]; + const decompositionLevelsCount = component.codingStyleParameters.decompositionLevelsCount; + for (; py < precinctsIterationSizes.maxNumHigh; py++) { + for (; px < precinctsIterationSizes.maxNumWide; px++) { + for (; r <= decompositionLevelsCount; r++) { + const resolution = component.resolutions[r]; + const sizeInImageScale = precinctsIterationSizes.resolutions[r]; + const k = getPrecinctIndexIfExist(px, py, sizeInImageScale, precinctsIterationSizes, resolution); + if (k === null) { + continue; + } + for (; l < layersCount;) { + const packet = createPacket(resolution, k, l); + l++; + return packet; + } + l = 0; + } + r = 0; + } + px = 0; + } + py = 0; + } + throw new JpxError("Out of packets"); + }; +} +function getPrecinctIndexIfExist(pxIndex, pyIndex, sizeInImageScale, precinctIterationSizes, resolution) { + const posX = pxIndex * precinctIterationSizes.minWidth; + const posY = pyIndex * precinctIterationSizes.minHeight; + if (posX % sizeInImageScale.width !== 0 || posY % sizeInImageScale.height !== 0) { + return null; + } + const startPrecinctRowIndex = posY / sizeInImageScale.width * resolution.precinctParameters.numprecinctswide; + return posX / sizeInImageScale.height + startPrecinctRowIndex; +} +function getPrecinctSizesInImageScale(tile) { + const componentsCount = tile.components.length; + let minWidth = Number.MAX_VALUE; + let minHeight = Number.MAX_VALUE; + let maxNumWide = 0; + let maxNumHigh = 0; + const sizePerComponent = new Array(componentsCount); + for (let c = 0; c < componentsCount; c++) { + const component = tile.components[c]; + const decompositionLevelsCount = component.codingStyleParameters.decompositionLevelsCount; + const sizePerResolution = new Array(decompositionLevelsCount + 1); + let minWidthCurrentComponent = Number.MAX_VALUE; + let minHeightCurrentComponent = Number.MAX_VALUE; + let maxNumWideCurrentComponent = 0; + let maxNumHighCurrentComponent = 0; + let scale = 1; + for (let r = decompositionLevelsCount; r >= 0; --r) { + const resolution = component.resolutions[r]; + const widthCurrentResolution = scale * resolution.precinctParameters.precinctWidth; + const heightCurrentResolution = scale * resolution.precinctParameters.precinctHeight; + minWidthCurrentComponent = Math.min(minWidthCurrentComponent, widthCurrentResolution); + minHeightCurrentComponent = Math.min(minHeightCurrentComponent, heightCurrentResolution); + maxNumWideCurrentComponent = Math.max(maxNumWideCurrentComponent, resolution.precinctParameters.numprecinctswide); + maxNumHighCurrentComponent = Math.max(maxNumHighCurrentComponent, resolution.precinctParameters.numprecinctshigh); + sizePerResolution[r] = { + width: widthCurrentResolution, + height: heightCurrentResolution + }; + scale <<= 1; + } + minWidth = Math.min(minWidth, minWidthCurrentComponent); + minHeight = Math.min(minHeight, minHeightCurrentComponent); + maxNumWide = Math.max(maxNumWide, maxNumWideCurrentComponent); + maxNumHigh = Math.max(maxNumHigh, maxNumHighCurrentComponent); + sizePerComponent[c] = { + resolutions: sizePerResolution, + minWidth: minWidthCurrentComponent, + minHeight: minHeightCurrentComponent, + maxNumWide: maxNumWideCurrentComponent, + maxNumHigh: maxNumHighCurrentComponent + }; + } + return { + components: sizePerComponent, + minWidth, + minHeight, + maxNumWide, + maxNumHigh + }; +} +function buildPackets(context) { + const siz = context.SIZ; + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const componentsCount = siz.Csiz; + for (let c = 0; c < componentsCount; c++) { + const component = tile.components[c]; + const decompositionLevelsCount = component.codingStyleParameters.decompositionLevelsCount; + const resolutions = []; + const subbands = []; + for (let r = 0; r <= decompositionLevelsCount; r++) { + const blocksDimensions = getBlocksDimensions(context, component, r); + const resolution = {}; + const scale = 1 << decompositionLevelsCount - r; + resolution.trx0 = Math.ceil(component.tcx0 / scale); + resolution.try0 = Math.ceil(component.tcy0 / scale); + resolution.trx1 = Math.ceil(component.tcx1 / scale); + resolution.try1 = Math.ceil(component.tcy1 / scale); + resolution.resLevel = r; + buildPrecincts(context, resolution, blocksDimensions); + resolutions.push(resolution); + let subband; + if (r === 0) { + subband = {}; + subband.type = "LL"; + subband.tbx0 = Math.ceil(component.tcx0 / scale); + subband.tby0 = Math.ceil(component.tcy0 / scale); + subband.tbx1 = Math.ceil(component.tcx1 / scale); + subband.tby1 = Math.ceil(component.tcy1 / scale); + subband.resolution = resolution; + buildCodeblocks(context, subband, blocksDimensions); + subbands.push(subband); + resolution.subbands = [subband]; + } else { + const bscale = 1 << decompositionLevelsCount - r + 1; + const resolutionSubbands = []; + subband = {}; + subband.type = "HL"; + subband.tbx0 = Math.ceil(component.tcx0 / bscale - 0.5); + subband.tby0 = Math.ceil(component.tcy0 / bscale); + subband.tbx1 = Math.ceil(component.tcx1 / bscale - 0.5); + subband.tby1 = Math.ceil(component.tcy1 / bscale); + subband.resolution = resolution; + buildCodeblocks(context, subband, blocksDimensions); + subbands.push(subband); + resolutionSubbands.push(subband); + subband = {}; + subband.type = "LH"; + subband.tbx0 = Math.ceil(component.tcx0 / bscale); + subband.tby0 = Math.ceil(component.tcy0 / bscale - 0.5); + subband.tbx1 = Math.ceil(component.tcx1 / bscale); + subband.tby1 = Math.ceil(component.tcy1 / bscale - 0.5); + subband.resolution = resolution; + buildCodeblocks(context, subband, blocksDimensions); + subbands.push(subband); + resolutionSubbands.push(subband); + subband = {}; + subband.type = "HH"; + subband.tbx0 = Math.ceil(component.tcx0 / bscale - 0.5); + subband.tby0 = Math.ceil(component.tcy0 / bscale - 0.5); + subband.tbx1 = Math.ceil(component.tcx1 / bscale - 0.5); + subband.tby1 = Math.ceil(component.tcy1 / bscale - 0.5); + subband.resolution = resolution; + buildCodeblocks(context, subband, blocksDimensions); + subbands.push(subband); + resolutionSubbands.push(subband); + resolution.subbands = resolutionSubbands; + } + } + component.resolutions = resolutions; + component.subbands = subbands; + } + const progressionOrder = tile.codingStyleDefaultParameters.progressionOrder; + switch (progressionOrder) { + case 0: + tile.packetsIterator = new LayerResolutionComponentPositionIterator(context); + break; + case 1: + tile.packetsIterator = new ResolutionLayerComponentPositionIterator(context); + break; + case 2: + tile.packetsIterator = new ResolutionPositionComponentLayerIterator(context); + break; + case 3: + tile.packetsIterator = new PositionComponentResolutionLayerIterator(context); + break; + case 4: + tile.packetsIterator = new ComponentPositionResolutionLayerIterator(context); + break; + default: + throw new JpxError(`Unsupported progression order ${progressionOrder}`); + } +} +function parseTilePackets(context, data, offset, dataLength) { + let position = 0; + let buffer, + bufferSize = 0, + skipNextBit = false; + function readBits(count) { + while (bufferSize < count) { + const b = data[offset + position]; + position++; + if (skipNextBit) { + buffer = buffer << 7 | b; + bufferSize += 7; + skipNextBit = false; + } else { + buffer = buffer << 8 | b; + bufferSize += 8; + } + if (b === 0xff) { + skipNextBit = true; + } + } + bufferSize -= count; + return buffer >>> bufferSize & (1 << count) - 1; + } + function skipMarkerIfEqual(value) { + if (data[offset + position - 1] === 0xff && data[offset + position] === value) { + skipBytes(1); + return true; + } else if (data[offset + position] === 0xff && data[offset + position + 1] === value) { + skipBytes(2); + return true; + } + return false; + } + function skipBytes(count) { + position += count; + } + function alignToByte() { + bufferSize = 0; + if (skipNextBit) { + position++; + skipNextBit = false; + } + } + function readCodingpasses() { + if (readBits(1) === 0) { + return 1; + } + if (readBits(1) === 0) { + return 2; + } + let value = readBits(2); + if (value < 3) { + return value + 3; + } + value = readBits(5); + if (value < 31) { + return value + 6; + } + value = readBits(7); + return value + 37; + } + const tileIndex = context.currentTile.index; + const tile = context.tiles[tileIndex]; + const sopMarkerUsed = context.COD.sopMarkerUsed; + const ephMarkerUsed = context.COD.ephMarkerUsed; + const packetsIterator = tile.packetsIterator; + while (position < dataLength) { + alignToByte(); + if (sopMarkerUsed && skipMarkerIfEqual(0x91)) { + skipBytes(4); + } + const packet = packetsIterator.nextPacket(); + if (!readBits(1)) { + continue; + } + const layerNumber = packet.layerNumber, + queue = []; + let codeblock; + for (let i = 0, ii = packet.codeblocks.length; i < ii; i++) { + codeblock = packet.codeblocks[i]; + let precinct = codeblock.precinct; + const codeblockColumn = codeblock.cbx - precinct.cbxMin; + const codeblockRow = codeblock.cby - precinct.cbyMin; + let codeblockIncluded = false; + let firstTimeInclusion = false; + let valueReady, zeroBitPlanesTree; + if (codeblock.included !== undefined) { + codeblockIncluded = !!readBits(1); + } else { + precinct = codeblock.precinct; + let inclusionTree; + if (precinct.inclusionTree !== undefined) { + inclusionTree = precinct.inclusionTree; + } else { + const width = precinct.cbxMax - precinct.cbxMin + 1; + const height = precinct.cbyMax - precinct.cbyMin + 1; + inclusionTree = new InclusionTree(width, height, layerNumber); + zeroBitPlanesTree = new TagTree(width, height); + precinct.inclusionTree = inclusionTree; + precinct.zeroBitPlanesTree = zeroBitPlanesTree; + for (let l = 0; l < layerNumber; l++) { + if (readBits(1) !== 0) { + throw new JpxError("Invalid tag tree"); + } + } + } + if (inclusionTree.reset(codeblockColumn, codeblockRow, layerNumber)) { + while (true) { + if (readBits(1)) { + valueReady = !inclusionTree.nextLevel(); + if (valueReady) { + codeblock.included = true; + codeblockIncluded = firstTimeInclusion = true; + break; + } + } else { + inclusionTree.incrementValue(layerNumber); + break; + } + } + } + } + if (!codeblockIncluded) { + continue; + } + if (firstTimeInclusion) { + zeroBitPlanesTree = precinct.zeroBitPlanesTree; + zeroBitPlanesTree.reset(codeblockColumn, codeblockRow); + while (true) { + if (readBits(1)) { + valueReady = !zeroBitPlanesTree.nextLevel(); + if (valueReady) { + break; + } + } else { + zeroBitPlanesTree.incrementValue(); + } + } + codeblock.zeroBitPlanes = zeroBitPlanesTree.value; + } + const codingpasses = readCodingpasses(); + while (readBits(1)) { + codeblock.Lblock++; + } + const codingpassesLog2 = (0, _core_utils.log2)(codingpasses); + const bits = (codingpasses < 1 << codingpassesLog2 ? codingpassesLog2 - 1 : codingpassesLog2) + codeblock.Lblock; + const codedDataLength = readBits(bits); + queue.push({ + codeblock, + codingpasses, + dataLength: codedDataLength + }); + } + alignToByte(); + if (ephMarkerUsed) { + skipMarkerIfEqual(0x92); + } + while (queue.length > 0) { + const packetItem = queue.shift(); + codeblock = packetItem.codeblock; + if (codeblock.data === undefined) { + codeblock.data = []; + } + codeblock.data.push({ + data, + start: offset + position, + end: offset + position + packetItem.dataLength, + codingpasses: packetItem.codingpasses + }); + position += packetItem.dataLength; + } + } + return position; +} +function copyCoefficients(coefficients, levelWidth, levelHeight, subband, delta, mb, reversible, segmentationSymbolUsed, resetContextProbabilities) { + const x0 = subband.tbx0; + const y0 = subband.tby0; + const width = subband.tbx1 - subband.tbx0; + const codeblocks = subband.codeblocks; + const right = subband.type.charAt(0) === "H" ? 1 : 0; + const bottom = subband.type.charAt(1) === "H" ? levelWidth : 0; + for (let i = 0, ii = codeblocks.length; i < ii; ++i) { + const codeblock = codeblocks[i]; + const blockWidth = codeblock.tbx1_ - codeblock.tbx0_; + const blockHeight = codeblock.tby1_ - codeblock.tby0_; + if (blockWidth === 0 || blockHeight === 0) { + continue; + } + if (codeblock.data === undefined) { + continue; + } + const bitModel = new BitModel(blockWidth, blockHeight, codeblock.subbandType, codeblock.zeroBitPlanes, mb); + let currentCodingpassType = 2; + const data = codeblock.data; + let totalLength = 0, + codingpasses = 0; + let j, jj, dataItem; + for (j = 0, jj = data.length; j < jj; j++) { + dataItem = data[j]; + totalLength += dataItem.end - dataItem.start; + codingpasses += dataItem.codingpasses; + } + const encodedData = new Uint8Array(totalLength); + let position = 0; + for (j = 0, jj = data.length; j < jj; j++) { + dataItem = data[j]; + const chunk = dataItem.data.subarray(dataItem.start, dataItem.end); + encodedData.set(chunk, position); + position += chunk.length; + } + const decoder = new _arithmetic_decoder.ArithmeticDecoder(encodedData, 0, totalLength); + bitModel.setDecoder(decoder); + for (j = 0; j < codingpasses; j++) { + switch (currentCodingpassType) { + case 0: + bitModel.runSignificancePropagationPass(); + break; + case 1: + bitModel.runMagnitudeRefinementPass(); + break; + case 2: + bitModel.runCleanupPass(); + if (segmentationSymbolUsed) { + bitModel.checkSegmentationSymbol(); + } + break; + } + if (resetContextProbabilities) { + bitModel.reset(); + } + currentCodingpassType = (currentCodingpassType + 1) % 3; + } + let offset = codeblock.tbx0_ - x0 + (codeblock.tby0_ - y0) * width; + const sign = bitModel.coefficentsSign; + const magnitude = bitModel.coefficentsMagnitude; + const bitsDecoded = bitModel.bitsDecoded; + const magnitudeCorrection = reversible ? 0 : 0.5; + let k, n, nb; + position = 0; + const interleave = subband.type !== "LL"; + for (j = 0; j < blockHeight; j++) { + const row = offset / width | 0; + const levelOffset = 2 * row * (levelWidth - width) + right + bottom; + for (k = 0; k < blockWidth; k++) { + n = magnitude[position]; + if (n !== 0) { + n = (n + magnitudeCorrection) * delta; + if (sign[position] !== 0) { + n = -n; + } + nb = bitsDecoded[position]; + const pos = interleave ? levelOffset + (offset << 1) : offset; + if (reversible && nb >= mb) { + coefficients[pos] = n; + } else { + coefficients[pos] = n * (1 << mb - nb); + } + } + offset++; + position++; + } + offset += width - blockWidth; + } + } +} +function transformTile(context, tile, c) { + const component = tile.components[c]; + const codingStyleParameters = component.codingStyleParameters; + const quantizationParameters = component.quantizationParameters; + const decompositionLevelsCount = codingStyleParameters.decompositionLevelsCount; + const spqcds = quantizationParameters.SPqcds; + const scalarExpounded = quantizationParameters.scalarExpounded; + const guardBits = quantizationParameters.guardBits; + const segmentationSymbolUsed = codingStyleParameters.segmentationSymbolUsed; + const resetContextProbabilities = codingStyleParameters.resetContextProbabilities; + const precision = context.components[c].precision; + const reversible = codingStyleParameters.reversibleTransformation; + const transform = reversible ? new ReversibleTransform() : new IrreversibleTransform(); + const subbandCoefficients = []; + let b = 0; + for (let i = 0; i <= decompositionLevelsCount; i++) { + const resolution = component.resolutions[i]; + const width = resolution.trx1 - resolution.trx0; + const height = resolution.try1 - resolution.try0; + const coefficients = new Float32Array(width * height); + for (let j = 0, jj = resolution.subbands.length; j < jj; j++) { + let mu, epsilon; + if (!scalarExpounded) { + mu = spqcds[0].mu; + epsilon = spqcds[0].epsilon + (i > 0 ? 1 - i : 0); + } else { + mu = spqcds[b].mu; + epsilon = spqcds[b].epsilon; + b++; + } + const subband = resolution.subbands[j]; + const gainLog2 = SubbandsGainLog2[subband.type]; + const delta = reversible ? 1 : 2 ** (precision + gainLog2 - epsilon) * (1 + mu / 2048); + const mb = guardBits + epsilon - 1; + copyCoefficients(coefficients, width, height, subband, delta, mb, reversible, segmentationSymbolUsed, resetContextProbabilities); + } + subbandCoefficients.push({ + width, + height, + items: coefficients + }); + } + const result = transform.calculate(subbandCoefficients, component.tcx0, component.tcy0); + return { + left: component.tcx0, + top: component.tcy0, + width: result.width, + height: result.height, + items: result.items + }; +} +function transformComponents(context) { + const siz = context.SIZ; + const components = context.components; + const componentsCount = siz.Csiz; + const resultImages = []; + for (let i = 0, ii = context.tiles.length; i < ii; i++) { + const tile = context.tiles[i]; + const transformedTiles = []; + for (let c = 0; c < componentsCount; c++) { + transformedTiles[c] = transformTile(context, tile, c); + } + const tile0 = transformedTiles[0]; + const out = new Uint8ClampedArray(tile0.items.length * componentsCount); + const result = { + left: tile0.left, + top: tile0.top, + width: tile0.width, + height: tile0.height, + items: out + }; + let shift, offset; + let pos = 0, + j, + jj, + y0, + y1, + y2; + if (tile.codingStyleDefaultParameters.multipleComponentTransform) { + const fourComponents = componentsCount === 4; + const y0items = transformedTiles[0].items; + const y1items = transformedTiles[1].items; + const y2items = transformedTiles[2].items; + const y3items = fourComponents ? transformedTiles[3].items : null; + shift = components[0].precision - 8; + offset = (128 << shift) + 0.5; + const component0 = tile.components[0]; + const alpha01 = componentsCount - 3; + jj = y0items.length; + if (!component0.codingStyleParameters.reversibleTransformation) { + for (j = 0; j < jj; j++, pos += alpha01) { + y0 = y0items[j] + offset; + y1 = y1items[j]; + y2 = y2items[j]; + out[pos++] = y0 + 1.402 * y2 >> shift; + out[pos++] = y0 - 0.34413 * y1 - 0.71414 * y2 >> shift; + out[pos++] = y0 + 1.772 * y1 >> shift; + } + } else { + for (j = 0; j < jj; j++, pos += alpha01) { + y0 = y0items[j] + offset; + y1 = y1items[j]; + y2 = y2items[j]; + const g = y0 - (y2 + y1 >> 2); + out[pos++] = g + y2 >> shift; + out[pos++] = g >> shift; + out[pos++] = g + y1 >> shift; + } + } + if (fourComponents) { + for (j = 0, pos = 3; j < jj; j++, pos += 4) { + out[pos] = y3items[j] + offset >> shift; + } + } + } else { + for (let c = 0; c < componentsCount; c++) { + const items = transformedTiles[c].items; + shift = components[c].precision - 8; + offset = (128 << shift) + 0.5; + for (pos = c, j = 0, jj = items.length; j < jj; j++) { + out[pos] = items[j] + offset >> shift; + pos += componentsCount; + } + } + } + resultImages.push(result); + } + return resultImages; +} +function initializeTile(context, tileIndex) { + const siz = context.SIZ; + const componentsCount = siz.Csiz; + const tile = context.tiles[tileIndex]; + for (let c = 0; c < componentsCount; c++) { + const component = tile.components[c]; + const qcdOrQcc = context.currentTile.QCC[c] !== undefined ? context.currentTile.QCC[c] : context.currentTile.QCD; + component.quantizationParameters = qcdOrQcc; + const codOrCoc = context.currentTile.COC[c] !== undefined ? context.currentTile.COC[c] : context.currentTile.COD; + component.codingStyleParameters = codOrCoc; + } + tile.codingStyleDefaultParameters = context.currentTile.COD; +} +class TagTree { + constructor(width, height) { + const levelsLength = (0, _core_utils.log2)(Math.max(width, height)) + 1; + this.levels = []; + for (let i = 0; i < levelsLength; i++) { + const level = { + width, + height, + items: [] + }; + this.levels.push(level); + width = Math.ceil(width / 2); + height = Math.ceil(height / 2); + } + } + reset(i, j) { + let currentLevel = 0, + value = 0, + level; + while (currentLevel < this.levels.length) { + level = this.levels[currentLevel]; + const index = i + j * level.width; + if (level.items[index] !== undefined) { + value = level.items[index]; + break; + } + level.index = index; + i >>= 1; + j >>= 1; + currentLevel++; + } + currentLevel--; + level = this.levels[currentLevel]; + level.items[level.index] = value; + this.currentLevel = currentLevel; + delete this.value; + } + incrementValue() { + const level = this.levels[this.currentLevel]; + level.items[level.index]++; + } + nextLevel() { + let currentLevel = this.currentLevel; + let level = this.levels[currentLevel]; + const value = level.items[level.index]; + currentLevel--; + if (currentLevel < 0) { + this.value = value; + return false; + } + this.currentLevel = currentLevel; + level = this.levels[currentLevel]; + level.items[level.index] = value; + return true; + } +} +class InclusionTree { + constructor(width, height, defaultValue) { + const levelsLength = (0, _core_utils.log2)(Math.max(width, height)) + 1; + this.levels = []; + for (let i = 0; i < levelsLength; i++) { + const items = new Uint8Array(width * height); + for (let j = 0, jj = items.length; j < jj; j++) { + items[j] = defaultValue; + } + const level = { + width, + height, + items + }; + this.levels.push(level); + width = Math.ceil(width / 2); + height = Math.ceil(height / 2); + } + } + reset(i, j, stopValue) { + let currentLevel = 0; + while (currentLevel < this.levels.length) { + const level = this.levels[currentLevel]; + const index = i + j * level.width; + level.index = index; + const value = level.items[index]; + if (value === 0xff) { + break; + } + if (value > stopValue) { + this.currentLevel = currentLevel; + this.propagateValues(); + return false; + } + i >>= 1; + j >>= 1; + currentLevel++; + } + this.currentLevel = currentLevel - 1; + return true; + } + incrementValue(stopValue) { + const level = this.levels[this.currentLevel]; + level.items[level.index] = stopValue + 1; + this.propagateValues(); + } + propagateValues() { + let levelIndex = this.currentLevel; + let level = this.levels[levelIndex]; + const currentValue = level.items[level.index]; + while (--levelIndex >= 0) { + level = this.levels[levelIndex]; + level.items[level.index] = currentValue; + } + } + nextLevel() { + let currentLevel = this.currentLevel; + let level = this.levels[currentLevel]; + const value = level.items[level.index]; + level.items[level.index] = 0xff; + currentLevel--; + if (currentLevel < 0) { + return false; + } + this.currentLevel = currentLevel; + level = this.levels[currentLevel]; + level.items[level.index] = value; + return true; + } +} +class BitModel { + static UNIFORM_CONTEXT = 17; + static RUNLENGTH_CONTEXT = 18; + static LLAndLHContextsLabel = new Uint8Array([0, 5, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 1, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 2, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 2, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8, 0, 0, 0, 0, 0, 2, 6, 8, 0, 3, 7, 8, 0, 4, 7, 8]); + static HLContextLabel = new Uint8Array([0, 3, 4, 0, 5, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 1, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8, 0, 0, 0, 0, 0, 2, 3, 4, 0, 6, 7, 7, 0, 8, 8, 8]); + static HHContextLabel = new Uint8Array([0, 1, 2, 0, 1, 2, 2, 0, 2, 2, 2, 0, 0, 0, 0, 0, 3, 4, 5, 0, 4, 5, 5, 0, 5, 5, 5, 0, 0, 0, 0, 0, 6, 7, 7, 0, 7, 7, 7, 0, 7, 7, 7, 0, 0, 0, 0, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8, 0, 0, 0, 0, 0, 8, 8, 8, 0, 8, 8, 8, 0, 8, 8, 8]); + constructor(width, height, subband, zeroBitPlanes, mb) { + this.width = width; + this.height = height; + let contextLabelTable; + if (subband === "HH") { + contextLabelTable = BitModel.HHContextLabel; + } else if (subband === "HL") { + contextLabelTable = BitModel.HLContextLabel; + } else { + contextLabelTable = BitModel.LLAndLHContextsLabel; + } + this.contextLabelTable = contextLabelTable; + const coefficientCount = width * height; + this.neighborsSignificance = new Uint8Array(coefficientCount); + this.coefficentsSign = new Uint8Array(coefficientCount); + let coefficentsMagnitude; + if (mb > 14) { + coefficentsMagnitude = new Uint32Array(coefficientCount); + } else if (mb > 6) { + coefficentsMagnitude = new Uint16Array(coefficientCount); + } else { + coefficentsMagnitude = new Uint8Array(coefficientCount); + } + this.coefficentsMagnitude = coefficentsMagnitude; + this.processingFlags = new Uint8Array(coefficientCount); + const bitsDecoded = new Uint8Array(coefficientCount); + if (zeroBitPlanes !== 0) { + for (let i = 0; i < coefficientCount; i++) { + bitsDecoded[i] = zeroBitPlanes; + } + } + this.bitsDecoded = bitsDecoded; + this.reset(); + } + setDecoder(decoder) { + this.decoder = decoder; + } + reset() { + this.contexts = new Int8Array(19); + this.contexts[0] = 4 << 1 | 0; + this.contexts[BitModel.UNIFORM_CONTEXT] = 46 << 1 | 0; + this.contexts[BitModel.RUNLENGTH_CONTEXT] = 3 << 1 | 0; + } + setNeighborsSignificance(row, column, index) { + const neighborsSignificance = this.neighborsSignificance; + const width = this.width, + height = this.height; + const left = column > 0; + const right = column + 1 < width; + let i; + if (row > 0) { + i = index - width; + if (left) { + neighborsSignificance[i - 1] += 0x10; + } + if (right) { + neighborsSignificance[i + 1] += 0x10; + } + neighborsSignificance[i] += 0x04; + } + if (row + 1 < height) { + i = index + width; + if (left) { + neighborsSignificance[i - 1] += 0x10; + } + if (right) { + neighborsSignificance[i + 1] += 0x10; + } + neighborsSignificance[i] += 0x04; + } + if (left) { + neighborsSignificance[index - 1] += 0x01; + } + if (right) { + neighborsSignificance[index + 1] += 0x01; + } + neighborsSignificance[index] |= 0x80; + } + runSignificancePropagationPass() { + const decoder = this.decoder; + const width = this.width, + height = this.height; + const coefficentsMagnitude = this.coefficentsMagnitude; + const coefficentsSign = this.coefficentsSign; + const neighborsSignificance = this.neighborsSignificance; + const processingFlags = this.processingFlags; + const contexts = this.contexts; + const labels = this.contextLabelTable; + const bitsDecoded = this.bitsDecoded; + const processedInverseMask = ~1; + const processedMask = 1; + const firstMagnitudeBitMask = 2; + for (let i0 = 0; i0 < height; i0 += 4) { + for (let j = 0; j < width; j++) { + let index = i0 * width + j; + for (let i1 = 0; i1 < 4; i1++, index += width) { + const i = i0 + i1; + if (i >= height) { + break; + } + processingFlags[index] &= processedInverseMask; + if (coefficentsMagnitude[index] || !neighborsSignificance[index]) { + continue; + } + const contextLabel = labels[neighborsSignificance[index]]; + const decision = decoder.readBit(contexts, contextLabel); + if (decision) { + const sign = this.decodeSignBit(i, j, index); + coefficentsSign[index] = sign; + coefficentsMagnitude[index] = 1; + this.setNeighborsSignificance(i, j, index); + processingFlags[index] |= firstMagnitudeBitMask; + } + bitsDecoded[index]++; + processingFlags[index] |= processedMask; + } + } + } + } + decodeSignBit(row, column, index) { + const width = this.width, + height = this.height; + const coefficentsMagnitude = this.coefficentsMagnitude; + const coefficentsSign = this.coefficentsSign; + let contribution, sign0, sign1, significance1; + let contextLabel, decoded; + significance1 = column > 0 && coefficentsMagnitude[index - 1] !== 0; + if (column + 1 < width && coefficentsMagnitude[index + 1] !== 0) { + sign1 = coefficentsSign[index + 1]; + if (significance1) { + sign0 = coefficentsSign[index - 1]; + contribution = 1 - sign1 - sign0; + } else { + contribution = 1 - sign1 - sign1; + } + } else if (significance1) { + sign0 = coefficentsSign[index - 1]; + contribution = 1 - sign0 - sign0; + } else { + contribution = 0; + } + const horizontalContribution = 3 * contribution; + significance1 = row > 0 && coefficentsMagnitude[index - width] !== 0; + if (row + 1 < height && coefficentsMagnitude[index + width] !== 0) { + sign1 = coefficentsSign[index + width]; + if (significance1) { + sign0 = coefficentsSign[index - width]; + contribution = 1 - sign1 - sign0 + horizontalContribution; + } else { + contribution = 1 - sign1 - sign1 + horizontalContribution; + } + } else if (significance1) { + sign0 = coefficentsSign[index - width]; + contribution = 1 - sign0 - sign0 + horizontalContribution; + } else { + contribution = horizontalContribution; + } + if (contribution >= 0) { + contextLabel = 9 + contribution; + decoded = this.decoder.readBit(this.contexts, contextLabel); + } else { + contextLabel = 9 - contribution; + decoded = this.decoder.readBit(this.contexts, contextLabel) ^ 1; + } + return decoded; + } + runMagnitudeRefinementPass() { + const decoder = this.decoder; + const width = this.width, + height = this.height; + const coefficentsMagnitude = this.coefficentsMagnitude; + const neighborsSignificance = this.neighborsSignificance; + const contexts = this.contexts; + const bitsDecoded = this.bitsDecoded; + const processingFlags = this.processingFlags; + const processedMask = 1; + const firstMagnitudeBitMask = 2; + const length = width * height; + const width4 = width * 4; + for (let index0 = 0, indexNext; index0 < length; index0 = indexNext) { + indexNext = Math.min(length, index0 + width4); + for (let j = 0; j < width; j++) { + for (let index = index0 + j; index < indexNext; index += width) { + if (!coefficentsMagnitude[index] || (processingFlags[index] & processedMask) !== 0) { + continue; + } + let contextLabel = 16; + if ((processingFlags[index] & firstMagnitudeBitMask) !== 0) { + processingFlags[index] ^= firstMagnitudeBitMask; + const significance = neighborsSignificance[index] & 127; + contextLabel = significance === 0 ? 15 : 14; + } + const bit = decoder.readBit(contexts, contextLabel); + coefficentsMagnitude[index] = coefficentsMagnitude[index] << 1 | bit; + bitsDecoded[index]++; + processingFlags[index] |= processedMask; + } + } + } + } + runCleanupPass() { + const decoder = this.decoder; + const width = this.width, + height = this.height; + const neighborsSignificance = this.neighborsSignificance; + const coefficentsMagnitude = this.coefficentsMagnitude; + const coefficentsSign = this.coefficentsSign; + const contexts = this.contexts; + const labels = this.contextLabelTable; + const bitsDecoded = this.bitsDecoded; + const processingFlags = this.processingFlags; + const processedMask = 1; + const firstMagnitudeBitMask = 2; + const oneRowDown = width; + const twoRowsDown = width * 2; + const threeRowsDown = width * 3; + let iNext; + for (let i0 = 0; i0 < height; i0 = iNext) { + iNext = Math.min(i0 + 4, height); + const indexBase = i0 * width; + const checkAllEmpty = i0 + 3 < height; + for (let j = 0; j < width; j++) { + const index0 = indexBase + j; + const allEmpty = checkAllEmpty && processingFlags[index0] === 0 && processingFlags[index0 + oneRowDown] === 0 && processingFlags[index0 + twoRowsDown] === 0 && processingFlags[index0 + threeRowsDown] === 0 && neighborsSignificance[index0] === 0 && neighborsSignificance[index0 + oneRowDown] === 0 && neighborsSignificance[index0 + twoRowsDown] === 0 && neighborsSignificance[index0 + threeRowsDown] === 0; + let i1 = 0, + index = index0; + let i = i0, + sign; + if (allEmpty) { + const hasSignificantCoefficent = decoder.readBit(contexts, BitModel.RUNLENGTH_CONTEXT); + if (!hasSignificantCoefficent) { + bitsDecoded[index0]++; + bitsDecoded[index0 + oneRowDown]++; + bitsDecoded[index0 + twoRowsDown]++; + bitsDecoded[index0 + threeRowsDown]++; + continue; + } + i1 = decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT) << 1 | decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT); + if (i1 !== 0) { + i = i0 + i1; + index += i1 * width; + } + sign = this.decodeSignBit(i, j, index); + coefficentsSign[index] = sign; + coefficentsMagnitude[index] = 1; + this.setNeighborsSignificance(i, j, index); + processingFlags[index] |= firstMagnitudeBitMask; + index = index0; + for (let i2 = i0; i2 <= i; i2++, index += width) { + bitsDecoded[index]++; + } + i1++; + } + for (i = i0 + i1; i < iNext; i++, index += width) { + if (coefficentsMagnitude[index] || (processingFlags[index] & processedMask) !== 0) { + continue; + } + const contextLabel = labels[neighborsSignificance[index]]; + const decision = decoder.readBit(contexts, contextLabel); + if (decision === 1) { + sign = this.decodeSignBit(i, j, index); + coefficentsSign[index] = sign; + coefficentsMagnitude[index] = 1; + this.setNeighborsSignificance(i, j, index); + processingFlags[index] |= firstMagnitudeBitMask; + } + bitsDecoded[index]++; + } + } + } + } + checkSegmentationSymbol() { + const decoder = this.decoder; + const contexts = this.contexts; + const symbol = decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT) << 3 | decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT) << 2 | decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT) << 1 | decoder.readBit(contexts, BitModel.UNIFORM_CONTEXT); + if (symbol !== 0xa) { + throw new JpxError("Invalid segmentation symbol"); + } + } +} +class Transform { + constructor() { + if (this.constructor === Transform) { + (0, _util.unreachable)("Cannot initialize Transform."); + } + } + calculate(subbands, u0, v0) { + let ll = subbands[0]; + for (let i = 1, ii = subbands.length; i < ii; i++) { + ll = this.iterate(ll, subbands[i], u0, v0); + } + return ll; + } + extend(buffer, offset, size) { + let i1 = offset - 1, + j1 = offset + 1; + let i2 = offset + size - 2, + j2 = offset + size; + buffer[i1--] = buffer[j1++]; + buffer[j2++] = buffer[i2--]; + buffer[i1--] = buffer[j1++]; + buffer[j2++] = buffer[i2--]; + buffer[i1--] = buffer[j1++]; + buffer[j2++] = buffer[i2--]; + buffer[i1] = buffer[j1]; + buffer[j2] = buffer[i2]; + } + filter(x, offset, length) { + (0, _util.unreachable)("Abstract method `filter` called"); + } + iterate(ll, hl_lh_hh, u0, v0) { + const llWidth = ll.width, + llHeight = ll.height; + let llItems = ll.items; + const width = hl_lh_hh.width; + const height = hl_lh_hh.height; + const items = hl_lh_hh.items; + let i, j, k, l, u, v; + for (k = 0, i = 0; i < llHeight; i++) { + l = i * 2 * width; + for (j = 0; j < llWidth; j++, k++, l += 2) { + items[l] = llItems[k]; + } + } + llItems = ll.items = null; + const bufferPadding = 4; + const rowBuffer = new Float32Array(width + 2 * bufferPadding); + if (width === 1) { + if ((u0 & 1) !== 0) { + for (v = 0, k = 0; v < height; v++, k += width) { + items[k] *= 0.5; + } + } + } else { + for (v = 0, k = 0; v < height; v++, k += width) { + rowBuffer.set(items.subarray(k, k + width), bufferPadding); + this.extend(rowBuffer, bufferPadding, width); + this.filter(rowBuffer, bufferPadding, width); + items.set(rowBuffer.subarray(bufferPadding, bufferPadding + width), k); + } + } + let numBuffers = 16; + const colBuffers = []; + for (i = 0; i < numBuffers; i++) { + colBuffers.push(new Float32Array(height + 2 * bufferPadding)); + } + let b, + currentBuffer = 0; + ll = bufferPadding + height; + if (height === 1) { + if ((v0 & 1) !== 0) { + for (u = 0; u < width; u++) { + items[u] *= 0.5; + } + } + } else { + for (u = 0; u < width; u++) { + if (currentBuffer === 0) { + numBuffers = Math.min(width - u, numBuffers); + for (k = u, l = bufferPadding; l < ll; k += width, l++) { + for (b = 0; b < numBuffers; b++) { + colBuffers[b][l] = items[k + b]; + } + } + currentBuffer = numBuffers; + } + currentBuffer--; + const buffer = colBuffers[currentBuffer]; + this.extend(buffer, bufferPadding, height); + this.filter(buffer, bufferPadding, height); + if (currentBuffer === 0) { + k = u - numBuffers + 1; + for (l = bufferPadding; l < ll; k += width, l++) { + for (b = 0; b < numBuffers; b++) { + items[k + b] = colBuffers[b][l]; + } + } + } + } + } + return { + width, + height, + items + }; + } +} +class IrreversibleTransform extends Transform { + filter(x, offset, length) { + const len = length >> 1; + offset |= 0; + let j, n, current, next; + const alpha = -1.586134342059924; + const beta = -0.052980118572961; + const gamma = 0.882911075530934; + const delta = 0.443506852043971; + const K = 1.230174104914001; + const K_ = 1 / K; + j = offset - 3; + for (n = len + 4; n--; j += 2) { + x[j] *= K_; + } + j = offset - 2; + current = delta * x[j - 1]; + for (n = len + 3; n--; j += 2) { + next = delta * x[j + 1]; + x[j] = K * x[j] - current - next; + if (n--) { + j += 2; + current = delta * x[j + 1]; + x[j] = K * x[j] - current - next; + } else { + break; + } + } + j = offset - 1; + current = gamma * x[j - 1]; + for (n = len + 2; n--; j += 2) { + next = gamma * x[j + 1]; + x[j] -= current + next; + if (n--) { + j += 2; + current = gamma * x[j + 1]; + x[j] -= current + next; + } else { + break; + } + } + j = offset; + current = beta * x[j - 1]; + for (n = len + 1; n--; j += 2) { + next = beta * x[j + 1]; + x[j] -= current + next; + if (n--) { + j += 2; + current = beta * x[j + 1]; + x[j] -= current + next; + } else { + break; + } + } + if (len !== 0) { + j = offset + 1; + current = alpha * x[j - 1]; + for (n = len; n--; j += 2) { + next = alpha * x[j + 1]; + x[j] -= current + next; + if (n--) { + j += 2; + current = alpha * x[j + 1]; + x[j] -= current + next; + } else { + break; + } + } + } + } +} +class ReversibleTransform extends Transform { + filter(x, offset, length) { + const len = length >> 1; + offset |= 0; + let j, n; + for (j = offset, n = len + 1; n--; j += 2) { + x[j] -= x[j - 1] + x[j + 1] + 2 >> 2; + } + for (j = offset + 1, n = len; n--; j += 2) { + x[j] += x[j - 1] + x[j + 1] >> 1; } - this.buffer = JpxImage.decode(this.bytes, ignoreColorSpace); - this.bufferLength = this.buffer.length; - this.eof = true; } } -;// CONCATENATED MODULE: ./src/core/lzw_stream.js +/***/ }), +/* 31 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - -class LZWStream extends DecodeStream { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.LZWStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +class LZWStream extends _decode_stream.DecodeStream { constructor(str, maybeLength, earlyChange) { super(maybeLength); this.str = str; @@ -12858,21 +20944,25 @@ class LZWStream extends DecodeStream { this.bufferLength = currentBufferLength; } } +exports.LZWStream = LZWStream; -;// CONCATENATED MODULE: ./src/core/predictor_stream.js +/***/ }), +/* 32 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - -class PredictorStream extends DecodeStream { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PredictorStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +var _primitives = __w_pdfjs_require__(4); +var _util = __w_pdfjs_require__(2); +class PredictorStream extends _decode_stream.DecodeStream { constructor(str, maybeLength, params) { super(maybeLength); - if (!(params instanceof Dict)) { + if (!(params instanceof _primitives.Dict)) { return str; } const predictor = this.predictor = params.get("Predictor") || 1; @@ -12880,9 +20970,13 @@ class PredictorStream extends DecodeStream { return str; } if (predictor !== 2 && (predictor < 10 || predictor > 15)) { - throw new FormatError(`Unsupported predictor: ${predictor}`); + throw new _util.FormatError(`Unsupported predictor: ${predictor}`); + } + if (predictor === 2) { + this.readBlock = this.readBlockTiff; + } else { + this.readBlock = this.readBlockPng; } - this.readBlock = predictor === 2 ? this.readBlockTiff : this.readBlockPng; this.str = str; this.dict = str.dict; const colors = this.colors = params.get("Colors") || 1; @@ -13046,15 +21140,25 @@ class PredictorStream extends DecodeStream { } break; default: - throw new FormatError(`Unsupported predictor: ${predictor}`); + throw new _util.FormatError(`Unsupported predictor: ${predictor}`); } this.bufferLength += rowBytes; } } +exports.PredictorStream = PredictorStream; -;// CONCATENATED MODULE: ./src/core/run_length_stream.js +/***/ }), +/* 33 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -class RunLengthStream extends DecodeStream { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.RunLengthStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +class RunLengthStream extends _decode_stream.DecodeStream { constructor(str, maybeLength) { super(maybeLength); this.str = str; @@ -13088,1582 +21192,2458 @@ class RunLengthStream extends DecodeStream { this.bufferLength = bufferLength; } } +exports.RunLengthStream = RunLengthStream; -;// CONCATENATED MODULE: ./src/core/parser.js +/***/ }), +/* 34 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - - - - - - - -const MAX_LENGTH_TO_CACHE = 1000; -function getInlineImageCacheKey(bytes) { - const strBuf = [], - ii = bytes.length; - let i = 0; - while (i < ii - 1) { - strBuf.push(bytes[i++] << 8 | bytes[i++]); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Font = exports.ErrorFont = void 0; +var _util = __w_pdfjs_require__(2); +var _cff_parser = __w_pdfjs_require__(35); +var _fonts_utils = __w_pdfjs_require__(38); +var _unicode = __w_pdfjs_require__(40); +var _glyphlist = __w_pdfjs_require__(39); +var _encodings = __w_pdfjs_require__(37); +var _standard_fonts = __w_pdfjs_require__(41); +var _to_unicode_map = __w_pdfjs_require__(42); +var _cff_font = __w_pdfjs_require__(43); +var _font_renderer = __w_pdfjs_require__(44); +var _metrics = __w_pdfjs_require__(45); +var _glyf = __w_pdfjs_require__(46); +var _cmap = __w_pdfjs_require__(14); +var _opentype_file_builder = __w_pdfjs_require__(47); +var _core_utils = __w_pdfjs_require__(3); +var _stream = __w_pdfjs_require__(8); +var _type1_font = __w_pdfjs_require__(48); +const PRIVATE_USE_AREAS = [[0xe000, 0xf8ff], [0x100000, 0x10fffd]]; +const PDF_GLYPH_SPACE_UNITS = 1000; +const EXPORT_DATA_PROPERTIES = ["ascent", "bbox", "black", "bold", "charProcOperatorList", "composite", "cssFontInfo", "data", "defaultVMetrics", "defaultWidth", "descent", "fallbackName", "fontMatrix", "isInvalidPDFjsFont", "isType3Font", "italic", "loadedName", "mimetype", "missingFile", "name", "remeasure", "subtype", "systemFontInfo", "type", "vertical"]; +const EXPORT_DATA_EXTRA_PROPERTIES = ["cMap", "defaultEncoding", "differences", "isMonospace", "isSerifFont", "isSymbolicFont", "seacMap", "toFontChar", "toUnicode", "vmetrics", "widths"]; +function adjustWidths(properties) { + if (!properties.fontMatrix) { + return; } - if (i < ii) { - strBuf.push(bytes[i]); + if (properties.fontMatrix[0] === _util.FONT_IDENTITY_MATRIX[0]) { + return; } - return ii + "_" + String.fromCharCode.apply(null, strBuf); + const scale = 0.001 / properties.fontMatrix[0]; + const glyphsWidths = properties.widths; + for (const glyph in glyphsWidths) { + glyphsWidths[glyph] *= scale; + } + properties.defaultWidth *= scale; } -class Parser { - constructor({ - lexer, - xref, - allowStreams = false, - recoveryMode = false - }) { - this.lexer = lexer; - this.xref = xref; - this.allowStreams = allowStreams; - this.recoveryMode = recoveryMode; - this.imageCache = Object.create(null); - this._imageId = 0; - this.refill(); +function adjustTrueTypeToUnicode(properties, isSymbolicFont, nameRecords) { + if (properties.isInternalFont) { + return; } - refill() { - this.buf1 = this.lexer.getObj(); - this.buf2 = this.lexer.getObj(); + if (properties.hasIncludedToUnicodeMap) { + return; } - shift() { - if (this.buf2 instanceof Cmd && this.buf2.cmd === "ID") { - this.buf1 = this.buf2; - this.buf2 = null; - } else { - this.buf1 = this.buf2; - this.buf2 = this.lexer.getObj(); - } + if (properties.hasEncoding) { + return; } - tryShift() { - try { - this.shift(); - return true; - } catch (e) { - if (e instanceof MissingDataException) { - throw e; - } - return false; - } + if (properties.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) { + return; } - getObj(cipherTransform = null) { - const buf1 = this.buf1; - this.shift(); - if (buf1 instanceof Cmd) { - switch (buf1.cmd) { - case "BI": - return this.makeInlineImage(cipherTransform); - case "[": - const array = []; - while (!isCmd(this.buf1, "]") && this.buf1 !== EOF) { - array.push(this.getObj(cipherTransform)); - } - if (this.buf1 === EOF) { - if (this.recoveryMode) { - return array; - } - throw new ParserEOFException("End of file inside array."); - } - this.shift(); - return array; - case "<<": - const dict = new Dict(this.xref); - while (!isCmd(this.buf1, ">>") && this.buf1 !== EOF) { - if (!(this.buf1 instanceof Name)) { - info("Malformed dictionary: key must be a name object"); - this.shift(); - continue; - } - const key = this.buf1.name; - this.shift(); - if (this.buf1 === EOF) { - break; - } - dict.set(key, this.getObj(cipherTransform)); - } - if (this.buf1 === EOF) { - if (this.recoveryMode) { - return dict; - } - throw new ParserEOFException("End of file inside dictionary."); - } - if (isCmd(this.buf2, "stream")) { - return this.allowStreams ? this.makeStream(dict, cipherTransform) : dict; - } - this.shift(); - return dict; - default: - return buf1; - } - } - if (Number.isInteger(buf1)) { - if (Number.isInteger(this.buf1) && isCmd(this.buf2, "R")) { - const ref = Ref.get(buf1, this.buf1); - this.shift(); - this.shift(); - return ref; - } - return buf1; - } - if (typeof buf1 === "string") { - if (cipherTransform) { - return cipherTransform.decryptString(buf1); - } - return buf1; - } - return buf1; + if (!isSymbolicFont) { + return; } - findDefaultInlineStreamEnd(stream) { - const E = 0x45, - I = 0x49, - SPACE = 0x20, - LF = 0xa, - CR = 0xd, - NUL = 0x0; - const { - knownCommands - } = this.lexer, - startPos = stream.pos, - n = 15; - let state = 0, - ch, - maybeEIPos; - while ((ch = stream.getByte()) !== -1) { - if (state === 0) { - state = ch === E ? 1 : 0; - } else if (state === 1) { - state = ch === I ? 2 : 0; - } else { - if (ch === SPACE || ch === LF || ch === CR) { - maybeEIPos = stream.pos; - const followingBytes = stream.peekBytes(n); - const ii = followingBytes.length; - if (ii === 0) { - break; - } - for (let i = 0; i < ii; i++) { - ch = followingBytes[i]; - if (ch === NUL && followingBytes[i + 1] !== NUL) { - continue; - } - if (ch !== LF && ch !== CR && (ch < SPACE || ch > 0x7f)) { - state = 0; - break; - } - } - if (state !== 2) { - continue; - } - if (!knownCommands) { - warn("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined."); - continue; - } - const tmpLexer = new Lexer(new Stream(followingBytes.slice()), knownCommands); - tmpLexer._hexStringWarn = () => {}; - let numArgs = 0; - while (true) { - const nextObj = tmpLexer.getObj(); - if (nextObj === EOF) { - state = 0; - break; - } - if (nextObj instanceof Cmd) { - const knownCommand = knownCommands[nextObj.cmd]; - if (!knownCommand) { - state = 0; - break; - } else if (knownCommand.variableArgs ? numArgs <= knownCommand.numArgs : numArgs === knownCommand.numArgs) { - break; - } - numArgs = 0; - continue; - } - numArgs++; - } - if (state === 2) { - break; - } - } else { - state = 0; - } - } - } - if (ch === -1) { - warn("findDefaultInlineStreamEnd: " + "Reached the end of the stream without finding a valid EI marker"); - if (maybeEIPos) { - warn('... trying to recover by using the last "EI" occurrence.'); - stream.skip(-(stream.pos - maybeEIPos)); - } - } - let endOffset = 4; - stream.skip(-endOffset); - ch = stream.peekByte(); - stream.skip(endOffset); - if (!isWhiteSpace(ch)) { - endOffset--; - } - return stream.pos - endOffset - startPos; + if (nameRecords.length === 0) { + return; } - findDCTDecodeInlineStreamEnd(stream) { - const startPos = stream.pos; - let foundEOI = false, - b, - markerLength; - while ((b = stream.getByte()) !== -1) { - if (b !== 0xff) { - continue; - } - switch (stream.getByte()) { - case 0x00: - break; - case 0xff: - stream.skip(-1); - break; - case 0xd9: - foundEOI = true; - break; - case 0xc0: - case 0xc1: - case 0xc2: - case 0xc3: - case 0xc5: - case 0xc6: - case 0xc7: - case 0xc9: - case 0xca: - case 0xcb: - case 0xcd: - case 0xce: - case 0xcf: - case 0xc4: - case 0xcc: - case 0xda: - case 0xdb: - case 0xdc: - case 0xdd: - case 0xde: - case 0xdf: - case 0xe0: - case 0xe1: - case 0xe2: - case 0xe3: - case 0xe4: - case 0xe5: - case 0xe6: - case 0xe7: - case 0xe8: - case 0xe9: - case 0xea: - case 0xeb: - case 0xec: - case 0xed: - case 0xee: - case 0xef: - case 0xfe: - markerLength = stream.getUint16(); - if (markerLength > 2) { - stream.skip(markerLength - 2); - } else { - stream.skip(-2); - } - break; - } - if (foundEOI) { - break; - } - } - const length = stream.pos - startPos; - if (b === -1) { - warn("Inline DCTDecode image stream: " + "EOI marker not found, searching for /EI/ instead."); - stream.skip(-length); - return this.findDefaultInlineStreamEnd(stream); - } - this.inlineStreamSkipEI(stream); - return length; + if (properties.defaultEncoding === _encodings.WinAnsiEncoding) { + return; } - findASCII85DecodeInlineStreamEnd(stream) { - const TILDE = 0x7e, - GT = 0x3e; - const startPos = stream.pos; - let ch; - while ((ch = stream.getByte()) !== -1) { - if (ch === TILDE) { - const tildePos = stream.pos; - ch = stream.peekByte(); - while (isWhiteSpace(ch)) { - stream.skip(); - ch = stream.peekByte(); - } - if (ch === GT) { - stream.skip(); - break; - } - if (stream.pos > tildePos) { - const maybeEI = stream.peekBytes(2); - if (maybeEI[0] === 0x45 && maybeEI[1] === 0x49) { - break; - } - } - } - } - const length = stream.pos - startPos; - if (ch === -1) { - warn("Inline ASCII85Decode image stream: " + "EOD marker not found, searching for /EI/ instead."); - stream.skip(-length); - return this.findDefaultInlineStreamEnd(stream); - } - this.inlineStreamSkipEI(stream); - return length; - } - findASCIIHexDecodeInlineStreamEnd(stream) { - const GT = 0x3e; - const startPos = stream.pos; - let ch; - while ((ch = stream.getByte()) !== -1) { - if (ch === GT) { - break; - } - } - const length = stream.pos - startPos; - if (ch === -1) { - warn("Inline ASCIIHexDecode image stream: " + "EOD marker not found, searching for /EI/ instead."); - stream.skip(-length); - return this.findDefaultInlineStreamEnd(stream); - } - this.inlineStreamSkipEI(stream); - return length; - } - inlineStreamSkipEI(stream) { - const E = 0x45, - I = 0x49; - let state = 0, - ch; - while ((ch = stream.getByte()) !== -1) { - if (state === 0) { - state = ch === E ? 1 : 0; - } else if (state === 1) { - state = ch === I ? 2 : 0; - } else if (state === 2) { - break; - } - } - } - makeInlineImage(cipherTransform) { - const lexer = this.lexer; - const stream = lexer.stream; - const dictMap = Object.create(null); - let dictLength; - while (!isCmd(this.buf1, "ID") && this.buf1 !== EOF) { - if (!(this.buf1 instanceof Name)) { - throw new FormatError("Dictionary key must be a name object"); - } - const key = this.buf1.name; - this.shift(); - if (this.buf1 === EOF) { - break; - } - dictMap[key] = this.getObj(cipherTransform); - } - if (lexer.beginInlineImagePos !== -1) { - dictLength = stream.pos - lexer.beginInlineImagePos; - } - const filter = this.xref.fetchIfRef(dictMap.F || dictMap.Filter); - let filterName; - if (filter instanceof Name) { - filterName = filter.name; - } else if (Array.isArray(filter)) { - const filterZero = this.xref.fetchIfRef(filter[0]); - if (filterZero instanceof Name) { - filterName = filterZero.name; - } - } - const startPos = stream.pos; - let length; - switch (filterName) { - case "DCT": - case "DCTDecode": - length = this.findDCTDecodeInlineStreamEnd(stream); - break; - case "A85": - case "ASCII85Decode": - length = this.findASCII85DecodeInlineStreamEnd(stream); - break; - case "AHx": - case "ASCIIHexDecode": - length = this.findASCIIHexDecodeInlineStreamEnd(stream); - break; - default: - length = this.findDefaultInlineStreamEnd(stream); - } - let cacheKey; - if (length < MAX_LENGTH_TO_CACHE && dictLength > 0) { - const initialStreamPos = stream.pos; - stream.pos = lexer.beginInlineImagePos; - cacheKey = getInlineImageCacheKey(stream.getBytes(dictLength + length)); - stream.pos = initialStreamPos; - const cacheEntry = this.imageCache[cacheKey]; - if (cacheEntry !== undefined) { - this.buf2 = Cmd.get("EI"); - this.shift(); - cacheEntry.reset(); - return cacheEntry; - } - } - const dict = new Dict(this.xref); - for (const key in dictMap) { - dict.set(key, dictMap[key]); - } - let imageStream = stream.makeSubStream(startPos, length, dict); - if (cipherTransform) { - imageStream = cipherTransform.createStream(imageStream, length); - } - imageStream = this.filter(imageStream, dict, length); - imageStream.dict = dict; - if (cacheKey !== undefined) { - imageStream.cacheKey = `inline_img_${++this._imageId}`; - this.imageCache[cacheKey] = imageStream; - } - this.buf2 = Cmd.get("EI"); - this.shift(); - return imageStream; - } - _findStreamLength(startPos, signature) { - const { - stream - } = this.lexer; - stream.pos = startPos; - const SCAN_BLOCK_LENGTH = 2048; - const signatureLength = signature.length; - while (stream.pos < stream.end) { - const scanBytes = stream.peekBytes(SCAN_BLOCK_LENGTH); - const scanLength = scanBytes.length - signatureLength; - if (scanLength <= 0) { - break; - } - let pos = 0; - while (pos < scanLength) { - let j = 0; - while (j < signatureLength && scanBytes[pos + j] === signature[j]) { - j++; - } - if (j >= signatureLength) { - stream.pos += pos; - return stream.pos - startPos; - } - pos++; - } - stream.pos += scanLength; - } - return -1; - } - makeStream(dict, cipherTransform) { - const lexer = this.lexer; - let stream = lexer.stream; - lexer.skipToNextLine(); - const startPos = stream.pos - 1; - let length = dict.get("Length"); - if (!Number.isInteger(length)) { - info(`Bad length "${length && length.toString()}" in stream.`); - length = 0; - } - stream.pos = startPos + length; - lexer.nextChar(); - if (this.tryShift() && isCmd(this.buf2, "endstream")) { - this.shift(); - } else { - const ENDSTREAM_SIGNATURE = new Uint8Array([0x65, 0x6e, 0x64, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d]); - let actualLength = this._findStreamLength(startPos, ENDSTREAM_SIGNATURE); - if (actualLength < 0) { - const MAX_TRUNCATION = 1; - for (let i = 1; i <= MAX_TRUNCATION; i++) { - const end = ENDSTREAM_SIGNATURE.length - i; - const TRUNCATED_SIGNATURE = ENDSTREAM_SIGNATURE.slice(0, end); - const maybeLength = this._findStreamLength(startPos, TRUNCATED_SIGNATURE); - if (maybeLength >= 0) { - const lastByte = stream.peekBytes(end + 1)[end]; - if (!isWhiteSpace(lastByte)) { - break; - } - info(`Found "${bytesToString(TRUNCATED_SIGNATURE)}" when ` + "searching for endstream command."); - actualLength = maybeLength; - break; - } - } - if (actualLength < 0) { - throw new FormatError("Missing endstream command."); - } - } - length = actualLength; - lexer.nextChar(); - this.shift(); - this.shift(); - } - this.shift(); - stream = stream.makeSubStream(startPos, length, dict); - if (cipherTransform) { - stream = cipherTransform.createStream(stream, length); - } - stream = this.filter(stream, dict, length); - stream.dict = dict; - return stream; - } - filter(stream, dict, length) { - let filter = dict.get("F", "Filter"); - let params = dict.get("DP", "DecodeParms"); - if (filter instanceof Name) { - if (Array.isArray(params)) { - warn("/DecodeParms should not be an Array, when /Filter is a Name."); - } - return this.makeFilter(stream, filter.name, length, params); - } - let maybeLength = length; - if (Array.isArray(filter)) { - const filterArray = filter; - const paramsArray = params; - for (let i = 0, ii = filterArray.length; i < ii; ++i) { - filter = this.xref.fetchIfRef(filterArray[i]); - if (!(filter instanceof Name)) { - throw new FormatError(`Bad filter name "${filter}"`); - } - params = null; - if (Array.isArray(paramsArray) && i in paramsArray) { - params = this.xref.fetchIfRef(paramsArray[i]); - } - stream = this.makeFilter(stream, filter.name, maybeLength, params); - maybeLength = null; - } - } - return stream; - } - makeFilter(stream, name, maybeLength, params) { - if (maybeLength === 0) { - warn(`Empty "${name}" stream.`); - return new NullStream(); - } - try { - switch (name) { - case "Fl": - case "FlateDecode": - if (params) { - return new PredictorStream(new FlateStream(stream, maybeLength), maybeLength, params); - } - return new FlateStream(stream, maybeLength); - case "LZW": - case "LZWDecode": - let earlyChange = 1; - if (params) { - if (params.has("EarlyChange")) { - earlyChange = params.get("EarlyChange"); - } - return new PredictorStream(new LZWStream(stream, maybeLength, earlyChange), maybeLength, params); - } - return new LZWStream(stream, maybeLength, earlyChange); - case "DCT": - case "DCTDecode": - return new JpegStream(stream, maybeLength, params); - case "JPX": - case "JPXDecode": - return new JpxStream(stream, maybeLength, params); - case "A85": - case "ASCII85Decode": - return new Ascii85Stream(stream, maybeLength); - case "AHx": - case "ASCIIHexDecode": - return new AsciiHexStream(stream, maybeLength); - case "CCF": - case "CCITTFaxDecode": - return new CCITTFaxStream(stream, maybeLength, params); - case "RL": - case "RunLengthDecode": - return new RunLengthStream(stream, maybeLength); - case "JBIG2Decode": - return new Jbig2Stream(stream, maybeLength, params); - } - warn(`Filter "${name}" is not supported.`); - return stream; - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn(`Invalid stream: "${ex}"`); - return new NullStream(); - } - } -} -const specialChars = [1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; -function toHexDigit(ch) { - if (ch >= 0x30 && ch <= 0x39) { - return ch & 0x0f; - } - if (ch >= 0x41 && ch <= 0x46 || ch >= 0x61 && ch <= 0x66) { - return (ch & 0x0f) + 9; - } - return -1; -} -class Lexer { - constructor(stream, knownCommands = null) { - this.stream = stream; - this.nextChar(); - this.strBuf = []; - this.knownCommands = knownCommands; - this._hexStringNumWarn = 0; - this.beginInlineImagePos = -1; - } - nextChar() { - return this.currentChar = this.stream.getByte(); - } - peekChar() { - return this.stream.peekByte(); - } - getNumber() { - let ch = this.currentChar; - let eNotation = false; - let divideBy = 0; - let sign = 1; - if (ch === 0x2d) { - sign = -1; - ch = this.nextChar(); - if (ch === 0x2d) { - ch = this.nextChar(); - } - } else if (ch === 0x2b) { - ch = this.nextChar(); - } - if (ch === 0x0a || ch === 0x0d) { - do { - ch = this.nextChar(); - } while (ch === 0x0a || ch === 0x0d); - } - if (ch === 0x2e) { - divideBy = 10; - ch = this.nextChar(); - } - if (ch < 0x30 || ch > 0x39) { - const msg = `Invalid number: ${String.fromCharCode(ch)} (charCode ${ch})`; - if (isWhiteSpace(ch) || ch === -1) { - info(`Lexer.getNumber - "${msg}".`); - return 0; - } - throw new FormatError(msg); - } - let baseValue = ch - 0x30; - let powerValue = 0; - let powerValueSign = 1; - while ((ch = this.nextChar()) >= 0) { - if (ch >= 0x30 && ch <= 0x39) { - const currentDigit = ch - 0x30; - if (eNotation) { - powerValue = powerValue * 10 + currentDigit; - } else { - if (divideBy !== 0) { - divideBy *= 10; - } - baseValue = baseValue * 10 + currentDigit; - } - } else if (ch === 0x2e) { - if (divideBy === 0) { - divideBy = 1; - } else { - break; - } - } else if (ch === 0x2d) { - warn("Badly formatted number: minus sign in the middle"); - } else if (ch === 0x45 || ch === 0x65) { - ch = this.peekChar(); - if (ch === 0x2b || ch === 0x2d) { - powerValueSign = ch === 0x2d ? -1 : 1; - this.nextChar(); - } else if (ch < 0x30 || ch > 0x39) { - break; - } - eNotation = true; - } else { - break; - } - } - if (divideBy !== 0) { - baseValue /= divideBy; - } - if (eNotation) { - baseValue *= 10 ** (powerValueSign * powerValue); - } - return sign * baseValue; - } - getString() { - let numParen = 1; - let done = false; - const strBuf = this.strBuf; - strBuf.length = 0; - let ch = this.nextChar(); - while (true) { - let charBuffered = false; - switch (ch | 0) { - case -1: - warn("Unterminated string"); - done = true; - break; - case 0x28: - ++numParen; - strBuf.push("("); - break; - case 0x29: - if (--numParen === 0) { - this.nextChar(); - done = true; - } else { - strBuf.push(")"); - } - break; - case 0x5c: - ch = this.nextChar(); - switch (ch) { - case -1: - warn("Unterminated string"); - done = true; - break; - case 0x6e: - strBuf.push("\n"); - break; - case 0x72: - strBuf.push("\r"); - break; - case 0x74: - strBuf.push("\t"); - break; - case 0x62: - strBuf.push("\b"); - break; - case 0x66: - strBuf.push("\f"); - break; - case 0x5c: - case 0x28: - case 0x29: - strBuf.push(String.fromCharCode(ch)); - break; - case 0x30: - case 0x31: - case 0x32: - case 0x33: - case 0x34: - case 0x35: - case 0x36: - case 0x37: - let x = ch & 0x0f; - ch = this.nextChar(); - charBuffered = true; - if (ch >= 0x30 && ch <= 0x37) { - x = (x << 3) + (ch & 0x0f); - ch = this.nextChar(); - if (ch >= 0x30 && ch <= 0x37) { - charBuffered = false; - x = (x << 3) + (ch & 0x0f); - } - } - strBuf.push(String.fromCharCode(x)); - break; - case 0x0d: - if (this.peekChar() === 0x0a) { - this.nextChar(); - } - break; - case 0x0a: - break; - default: - strBuf.push(String.fromCharCode(ch)); - break; - } - break; - default: - strBuf.push(String.fromCharCode(ch)); - break; - } - if (done) { - break; - } - if (!charBuffered) { - ch = this.nextChar(); - } - } - return strBuf.join(""); - } - getName() { - let ch, previousCh; - const strBuf = this.strBuf; - strBuf.length = 0; - while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) { - if (ch === 0x23) { - ch = this.nextChar(); - if (specialChars[ch]) { - warn("Lexer_getName: " + "NUMBER SIGN (#) should be followed by a hexadecimal number."); - strBuf.push("#"); - break; - } - const x = toHexDigit(ch); - if (x !== -1) { - previousCh = ch; - ch = this.nextChar(); - const x2 = toHexDigit(ch); - if (x2 === -1) { - warn(`Lexer_getName: Illegal digit (${String.fromCharCode(ch)}) ` + "in hexadecimal number."); - strBuf.push("#", String.fromCharCode(previousCh)); - if (specialChars[ch]) { - break; - } - strBuf.push(String.fromCharCode(ch)); - continue; - } - strBuf.push(String.fromCharCode(x << 4 | x2)); - } else { - strBuf.push("#", String.fromCharCode(ch)); - } - } else { - strBuf.push(String.fromCharCode(ch)); - } - } - if (strBuf.length > 127) { - warn(`Name token is longer than allowed by the spec: ${strBuf.length}`); - } - return Name.get(strBuf.join("")); - } - _hexStringWarn(ch) { - const MAX_HEX_STRING_NUM_WARN = 5; - if (this._hexStringNumWarn++ === MAX_HEX_STRING_NUM_WARN) { - warn("getHexString - ignoring additional invalid characters."); + for (const r of nameRecords) { + if (!isWinNameRecord(r)) { return; } - if (this._hexStringNumWarn > MAX_HEX_STRING_NUM_WARN) { - return; - } - warn(`getHexString - ignoring invalid character: ${ch}`); } - getHexString() { - const strBuf = this.strBuf; - strBuf.length = 0; - let ch = this.currentChar; - let isFirstHex = true; - let firstDigit, secondDigit; - this._hexStringNumWarn = 0; - while (true) { - if (ch < 0) { - warn("Unterminated hex string"); - break; - } else if (ch === 0x3e) { - this.nextChar(); - break; - } else if (specialChars[ch] === 1) { - ch = this.nextChar(); - continue; - } else { - if (isFirstHex) { - firstDigit = toHexDigit(ch); - if (firstDigit === -1) { - this._hexStringWarn(ch); - ch = this.nextChar(); - continue; - } - } else { - secondDigit = toHexDigit(ch); - if (secondDigit === -1) { - this._hexStringWarn(ch); - ch = this.nextChar(); - continue; - } - strBuf.push(String.fromCharCode(firstDigit << 4 | secondDigit)); - } - isFirstHex = !isFirstHex; - ch = this.nextChar(); - } + const encoding = _encodings.WinAnsiEncoding; + const toUnicode = [], + glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + for (const charCode in encoding) { + const glyphName = encoding[charCode]; + if (glyphName === "") { + continue; } - return strBuf.join(""); + const unicode = glyphsUnicodeMap[glyphName]; + if (unicode === undefined) { + continue; + } + toUnicode[charCode] = String.fromCharCode(unicode); } - getObj() { - let comment = false; - let ch = this.currentChar; - while (true) { - if (ch < 0) { - return EOF; - } - if (comment) { - if (ch === 0x0a || ch === 0x0d) { - comment = false; - } - } else if (ch === 0x25) { - comment = true; - } else if (specialChars[ch] !== 1) { - break; - } - ch = this.nextChar(); - } - switch (ch | 0) { - case 0x30: - case 0x31: - case 0x32: - case 0x33: - case 0x34: - case 0x35: - case 0x36: - case 0x37: - case 0x38: - case 0x39: - case 0x2b: - case 0x2d: - case 0x2e: - return this.getNumber(); - case 0x28: - return this.getString(); - case 0x2f: - return this.getName(); - case 0x5b: - this.nextChar(); - return Cmd.get("["); - case 0x5d: - this.nextChar(); - return Cmd.get("]"); - case 0x3c: - ch = this.nextChar(); - if (ch === 0x3c) { - this.nextChar(); - return Cmd.get("<<"); - } - return this.getHexString(); - case 0x3e: - ch = this.nextChar(); - if (ch === 0x3e) { - this.nextChar(); - return Cmd.get(">>"); - } - return Cmd.get(">"); - case 0x7b: - this.nextChar(); - return Cmd.get("{"); - case 0x7d: - this.nextChar(); - return Cmd.get("}"); - case 0x29: - this.nextChar(); - throw new FormatError(`Illegal character: ${ch}`); - } - let str = String.fromCharCode(ch); - if (ch < 0x20 || ch > 0x7f) { - const nextCh = this.peekChar(); - if (nextCh >= 0x20 && nextCh <= 0x7f) { - this.nextChar(); - return Cmd.get(str); - } - } - const knownCommands = this.knownCommands; - let knownCommandFound = knownCommands?.[str] !== undefined; - while ((ch = this.nextChar()) >= 0 && !specialChars[ch]) { - const possibleCommand = str + String.fromCharCode(ch); - if (knownCommandFound && knownCommands[possibleCommand] === undefined) { - break; - } - if (str.length === 128) { - throw new FormatError(`Command token too long: ${str.length}`); - } - str = possibleCommand; - knownCommandFound = knownCommands?.[str] !== undefined; - } - if (str === "true") { - return true; - } - if (str === "false") { - return false; - } - if (str === "null") { - return null; - } - if (str === "BI") { - this.beginInlineImagePos = this.stream.pos; - } - return Cmd.get(str); - } - skipToNextLine() { - let ch = this.currentChar; - while (ch >= 0) { - if (ch === 0x0d) { - ch = this.nextChar(); - if (ch === 0x0a) { - this.nextChar(); - } - break; - } else if (ch === 0x0a) { - this.nextChar(); - break; - } - ch = this.nextChar(); - } + if (toUnicode.length > 0) { + properties.toUnicode.amend(toUnicode); } } -class Linearization { - static create(stream) { - function getInt(linDict, name, allowZeroValue = false) { - const obj = linDict.get(name); - if (Number.isInteger(obj) && (allowZeroValue ? obj >= 0 : obj > 0)) { - return obj; +function adjustType1ToUnicode(properties, builtInEncoding) { + if (properties.isInternalFont) { + return; + } + if (properties.hasIncludedToUnicodeMap) { + return; + } + if (builtInEncoding === properties.defaultEncoding) { + return; + } + if (properties.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) { + return; + } + const toUnicode = [], + glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + for (const charCode in builtInEncoding) { + if (properties.hasEncoding) { + if (properties.baseEncodingName || properties.differences[charCode] !== undefined) { + continue; } - throw new Error(`The "${name}" parameter in the linearization ` + "dictionary is invalid."); } - function getHints(linDict) { - const hints = linDict.get("H"); - let hintsLength; - if (Array.isArray(hints) && ((hintsLength = hints.length) === 2 || hintsLength === 4)) { - for (let index = 0; index < hintsLength; index++) { - const hint = hints[index]; - if (!(Number.isInteger(hint) && hint > 0)) { - throw new Error(`Hint (${index}) in the linearization dictionary is invalid.`); - } - } - return hints; + const glyphName = builtInEncoding[charCode]; + const unicode = (0, _unicode.getUnicodeForGlyph)(glyphName, glyphsUnicodeMap); + if (unicode !== -1) { + toUnicode[charCode] = String.fromCharCode(unicode); + } + } + if (toUnicode.length > 0) { + properties.toUnicode.amend(toUnicode); + } +} +function amendFallbackToUnicode(properties) { + if (!properties.fallbackToUnicode) { + return; + } + if (properties.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) { + return; + } + const toUnicode = []; + for (const charCode in properties.fallbackToUnicode) { + if (properties.toUnicode.has(charCode)) { + continue; + } + toUnicode[charCode] = properties.fallbackToUnicode[charCode]; + } + if (toUnicode.length > 0) { + properties.toUnicode.amend(toUnicode); + } +} +class Glyph { + constructor(originalCharCode, fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont) { + this.originalCharCode = originalCharCode; + this.fontChar = fontChar; + this.unicode = unicode; + this.accent = accent; + this.width = width; + this.vmetric = vmetric; + this.operatorListId = operatorListId; + this.isSpace = isSpace; + this.isInFont = isInFont; + } + get category() { + return (0, _util.shadow)(this, "category", (0, _unicode.getCharUnicodeCategory)(this.unicode), true); + } +} +function int16(b0, b1) { + return (b0 << 8) + b1; +} +function writeSignedInt16(bytes, index, value) { + bytes[index + 1] = value; + bytes[index] = value >>> 8; +} +function signedInt16(b0, b1) { + const value = (b0 << 8) + b1; + return value & 1 << 15 ? value - 0x10000 : value; +} +function int32(b0, b1, b2, b3) { + return (b0 << 24) + (b1 << 16) + (b2 << 8) + b3; +} +function string16(value) { + return String.fromCharCode(value >> 8 & 0xff, value & 0xff); +} +function safeString16(value) { + if (value > 0x7fff) { + value = 0x7fff; + } else if (value < -0x8000) { + value = -0x8000; + } + return String.fromCharCode(value >> 8 & 0xff, value & 0xff); +} +function isTrueTypeFile(file) { + const header = file.peekBytes(4); + return (0, _core_utils.readUint32)(header, 0) === 0x00010000 || (0, _util.bytesToString)(header) === "true"; +} +function isTrueTypeCollectionFile(file) { + const header = file.peekBytes(4); + return (0, _util.bytesToString)(header) === "ttcf"; +} +function isOpenTypeFile(file) { + const header = file.peekBytes(4); + return (0, _util.bytesToString)(header) === "OTTO"; +} +function isType1File(file) { + const header = file.peekBytes(2); + if (header[0] === 0x25 && header[1] === 0x21) { + return true; + } + if (header[0] === 0x80 && header[1] === 0x01) { + return true; + } + return false; +} +function isCFFFile(file) { + const header = file.peekBytes(4); + if (header[0] >= 1 && header[3] >= 1 && header[3] <= 4) { + return true; + } + return false; +} +function getFontFileType(file, { + type, + subtype, + composite +}) { + let fileType, fileSubtype; + if (isTrueTypeFile(file) || isTrueTypeCollectionFile(file)) { + if (composite) { + fileType = "CIDFontType2"; + } else { + fileType = "TrueType"; + } + } else if (isOpenTypeFile(file)) { + if (composite) { + fileType = "CIDFontType2"; + } else { + fileType = "OpenType"; + } + } else if (isType1File(file)) { + if (composite) { + fileType = "CIDFontType0"; + } else { + fileType = type === "MMType1" ? "MMType1" : "Type1"; + } + } else if (isCFFFile(file)) { + if (composite) { + fileType = "CIDFontType0"; + fileSubtype = "CIDFontType0C"; + } else { + fileType = type === "MMType1" ? "MMType1" : "Type1"; + fileSubtype = "Type1C"; + } + } else { + (0, _util.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."); + fileType = type; + fileSubtype = subtype; + } + return [fileType, fileSubtype]; +} +function applyStandardFontGlyphMap(map, glyphMap) { + for (const charCode in glyphMap) { + map[+charCode] = glyphMap[charCode]; + } +} +function buildToFontChar(encoding, glyphsUnicodeMap, differences) { + const toFontChar = []; + let unicode; + for (let i = 0, ii = encoding.length; i < ii; i++) { + unicode = (0, _unicode.getUnicodeForGlyph)(encoding[i], glyphsUnicodeMap); + if (unicode !== -1) { + toFontChar[i] = unicode; + } + } + for (const charCode in differences) { + unicode = (0, _unicode.getUnicodeForGlyph)(differences[charCode], glyphsUnicodeMap); + if (unicode !== -1) { + toFontChar[+charCode] = unicode; + } + } + return toFontChar; +} +function isMacNameRecord(r) { + return r.platform === 1 && r.encoding === 0 && r.language === 0; +} +function isWinNameRecord(r) { + return r.platform === 3 && r.encoding === 1 && r.language === 0x409; +} +function convertCidString(charCode, cid, shouldThrow = false) { + switch (cid.length) { + case 1: + return cid.charCodeAt(0); + case 2: + return cid.charCodeAt(0) << 8 | cid.charCodeAt(1); + } + const msg = `Unsupported CID string (charCode ${charCode}): "${cid}".`; + if (shouldThrow) { + throw new _util.FormatError(msg); + } + (0, _util.warn)(msg); + return cid; +} +function adjustMapping(charCodeToGlyphId, hasGlyph, newGlyphZeroId, toUnicode) { + const newMap = Object.create(null); + const toUnicodeExtraMap = new Map(); + const toFontChar = []; + const usedGlyphIds = new Set(); + let privateUseAreaIndex = 0; + const privateUseOffetStart = PRIVATE_USE_AREAS[privateUseAreaIndex][0]; + let nextAvailableFontCharCode = privateUseOffetStart; + let privateUseOffetEnd = PRIVATE_USE_AREAS[privateUseAreaIndex][1]; + const isInPrivateArea = code => PRIVATE_USE_AREAS[0][0] <= code && code <= PRIVATE_USE_AREAS[0][1] || PRIVATE_USE_AREAS[1][0] <= code && code <= PRIVATE_USE_AREAS[1][1]; + for (let originalCharCode in charCodeToGlyphId) { + originalCharCode |= 0; + let glyphId = charCodeToGlyphId[originalCharCode]; + if (!hasGlyph(glyphId)) { + continue; + } + if (nextAvailableFontCharCode > privateUseOffetEnd) { + privateUseAreaIndex++; + if (privateUseAreaIndex >= PRIVATE_USE_AREAS.length) { + (0, _util.warn)("Ran out of space in font private use area."); + break; } - throw new Error("Hint array in the linearization dictionary is invalid."); + nextAvailableFontCharCode = PRIVATE_USE_AREAS[privateUseAreaIndex][0]; + privateUseOffetEnd = PRIVATE_USE_AREAS[privateUseAreaIndex][1]; } - const parser = new Parser({ - lexer: new Lexer(stream), - xref: null + const fontCharCode = nextAvailableFontCharCode++; + if (glyphId === 0) { + glyphId = newGlyphZeroId; + } + let unicode = toUnicode.get(originalCharCode); + if (typeof unicode === "string") { + unicode = unicode.codePointAt(0); + } + if (unicode && !isInPrivateArea(unicode) && !usedGlyphIds.has(glyphId)) { + toUnicodeExtraMap.set(unicode, glyphId); + usedGlyphIds.add(glyphId); + } + newMap[fontCharCode] = glyphId; + toFontChar[originalCharCode] = fontCharCode; + } + return { + toFontChar, + charCodeToGlyphId: newMap, + toUnicodeExtraMap, + nextAvailableFontCharCode + }; +} +function getRanges(glyphs, toUnicodeExtraMap, numGlyphs) { + const codes = []; + for (const charCode in glyphs) { + if (glyphs[charCode] >= numGlyphs) { + continue; + } + codes.push({ + fontCharCode: charCode | 0, + glyphId: glyphs[charCode] }); - const obj1 = parser.getObj(); - const obj2 = parser.getObj(); - const obj3 = parser.getObj(); - const linDict = parser.getObj(); - let obj, length; - if (!(Number.isInteger(obj1) && Number.isInteger(obj2) && isCmd(obj3, "obj") && linDict instanceof Dict && typeof (obj = linDict.get("Linearized")) === "number" && obj > 0)) { - return null; - } else if ((length = getInt(linDict, "L")) !== stream.length) { - throw new Error('The "L" parameter in the linearization dictionary ' + "does not equal the stream length."); - } - return { - length, - hints: getHints(linDict), - objectNumberFirst: getInt(linDict, "O"), - endFirst: getInt(linDict, "E"), - numPages: getInt(linDict, "N"), - mainXRefEntriesOffset: getInt(linDict, "T"), - pageFirst: linDict.has("P") ? getInt(linDict, "P", true) : 0 - }; } -} - -;// CONCATENATED MODULE: ./src/core/cmap.js - - - - - - - - - - -const BUILT_IN_CMAPS = ["Adobe-GB1-UCS2", "Adobe-CNS1-UCS2", "Adobe-Japan1-UCS2", "Adobe-Korea1-UCS2", "78-EUC-H", "78-EUC-V", "78-H", "78-RKSJ-H", "78-RKSJ-V", "78-V", "78ms-RKSJ-H", "78ms-RKSJ-V", "83pv-RKSJ-H", "90ms-RKSJ-H", "90ms-RKSJ-V", "90msp-RKSJ-H", "90msp-RKSJ-V", "90pv-RKSJ-H", "90pv-RKSJ-V", "Add-H", "Add-RKSJ-H", "Add-RKSJ-V", "Add-V", "Adobe-CNS1-0", "Adobe-CNS1-1", "Adobe-CNS1-2", "Adobe-CNS1-3", "Adobe-CNS1-4", "Adobe-CNS1-5", "Adobe-CNS1-6", "Adobe-GB1-0", "Adobe-GB1-1", "Adobe-GB1-2", "Adobe-GB1-3", "Adobe-GB1-4", "Adobe-GB1-5", "Adobe-Japan1-0", "Adobe-Japan1-1", "Adobe-Japan1-2", "Adobe-Japan1-3", "Adobe-Japan1-4", "Adobe-Japan1-5", "Adobe-Japan1-6", "Adobe-Korea1-0", "Adobe-Korea1-1", "Adobe-Korea1-2", "B5-H", "B5-V", "B5pc-H", "B5pc-V", "CNS-EUC-H", "CNS-EUC-V", "CNS1-H", "CNS1-V", "CNS2-H", "CNS2-V", "ETHK-B5-H", "ETHK-B5-V", "ETen-B5-H", "ETen-B5-V", "ETenms-B5-H", "ETenms-B5-V", "EUC-H", "EUC-V", "Ext-H", "Ext-RKSJ-H", "Ext-RKSJ-V", "Ext-V", "GB-EUC-H", "GB-EUC-V", "GB-H", "GB-V", "GBK-EUC-H", "GBK-EUC-V", "GBK2K-H", "GBK2K-V", "GBKp-EUC-H", "GBKp-EUC-V", "GBT-EUC-H", "GBT-EUC-V", "GBT-H", "GBT-V", "GBTpc-EUC-H", "GBTpc-EUC-V", "GBpc-EUC-H", "GBpc-EUC-V", "H", "HKdla-B5-H", "HKdla-B5-V", "HKdlb-B5-H", "HKdlb-B5-V", "HKgccs-B5-H", "HKgccs-B5-V", "HKm314-B5-H", "HKm314-B5-V", "HKm471-B5-H", "HKm471-B5-V", "HKscs-B5-H", "HKscs-B5-V", "Hankaku", "Hiragana", "KSC-EUC-H", "KSC-EUC-V", "KSC-H", "KSC-Johab-H", "KSC-Johab-V", "KSC-V", "KSCms-UHC-H", "KSCms-UHC-HW-H", "KSCms-UHC-HW-V", "KSCms-UHC-V", "KSCpc-EUC-H", "KSCpc-EUC-V", "Katakana", "NWP-H", "NWP-V", "RKSJ-H", "RKSJ-V", "Roman", "UniCNS-UCS2-H", "UniCNS-UCS2-V", "UniCNS-UTF16-H", "UniCNS-UTF16-V", "UniCNS-UTF32-H", "UniCNS-UTF32-V", "UniCNS-UTF8-H", "UniCNS-UTF8-V", "UniGB-UCS2-H", "UniGB-UCS2-V", "UniGB-UTF16-H", "UniGB-UTF16-V", "UniGB-UTF32-H", "UniGB-UTF32-V", "UniGB-UTF8-H", "UniGB-UTF8-V", "UniJIS-UCS2-H", "UniJIS-UCS2-HW-H", "UniJIS-UCS2-HW-V", "UniJIS-UCS2-V", "UniJIS-UTF16-H", "UniJIS-UTF16-V", "UniJIS-UTF32-H", "UniJIS-UTF32-V", "UniJIS-UTF8-H", "UniJIS-UTF8-V", "UniJIS2004-UTF16-H", "UniJIS2004-UTF16-V", "UniJIS2004-UTF32-H", "UniJIS2004-UTF32-V", "UniJIS2004-UTF8-H", "UniJIS2004-UTF8-V", "UniJISPro-UCS2-HW-V", "UniJISPro-UCS2-V", "UniJISPro-UTF8-V", "UniJISX0213-UTF32-H", "UniJISX0213-UTF32-V", "UniJISX02132004-UTF32-H", "UniJISX02132004-UTF32-V", "UniKS-UCS2-H", "UniKS-UCS2-V", "UniKS-UTF16-H", "UniKS-UTF16-V", "UniKS-UTF32-H", "UniKS-UTF32-V", "UniKS-UTF8-H", "UniKS-UTF8-V", "V", "WP-Symbol"]; -const MAX_MAP_RANGE = 2 ** 24 - 1; -class CMap { - constructor(builtInCMap = false) { - this.codespaceRanges = [[], [], [], []]; - this.numCodespaceRanges = 0; - this._map = []; - this.name = ""; - this.vertical = false; - this.useCMap = null; - this.builtInCMap = builtInCMap; - } - addCodespaceRange(n, low, high) { - this.codespaceRanges[n - 1].push(low, high); - this.numCodespaceRanges++; - } - mapCidRange(low, high, dstLow) { - if (high - low > MAX_MAP_RANGE) { - throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE."); - } - while (low <= high) { - this._map[low++] = dstLow++; - } - } - mapBfRange(low, high, dstLow) { - if (high - low > MAX_MAP_RANGE) { - throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE."); - } - const lastByte = dstLow.length - 1; - while (low <= high) { - this._map[low++] = dstLow; - const nextCharCode = dstLow.charCodeAt(lastByte) + 1; - if (nextCharCode > 0xff) { - dstLow = dstLow.substring(0, lastByte - 1) + String.fromCharCode(dstLow.charCodeAt(lastByte - 1) + 1) + "\x00"; + if (toUnicodeExtraMap) { + for (const [unicode, glyphId] of toUnicodeExtraMap) { + if (glyphId >= numGlyphs) { continue; } - dstLow = dstLow.substring(0, lastByte) + String.fromCharCode(nextCharCode); + codes.push({ + fontCharCode: unicode, + glyphId + }); } } - mapBfRangeToArray(low, high, array) { - if (high - low > MAX_MAP_RANGE) { - throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE."); + if (codes.length === 0) { + codes.push({ + fontCharCode: 0, + glyphId: 0 + }); + } + codes.sort(function fontGetRangesSort(a, b) { + return a.fontCharCode - b.fontCharCode; + }); + const ranges = []; + const length = codes.length; + for (let n = 0; n < length;) { + const start = codes[n].fontCharCode; + const codeIndices = [codes[n].glyphId]; + ++n; + let end = start; + while (n < length && end + 1 === codes[n].fontCharCode) { + codeIndices.push(codes[n].glyphId); + ++end; + ++n; + if (end === 0xffff) { + break; + } } - const ii = array.length; - let i = 0; - while (low <= high && i < ii) { - this._map[low] = array[i++]; - ++low; + ranges.push([start, end, codeIndices]); + } + return ranges; +} +function createCmapTable(glyphs, toUnicodeExtraMap, numGlyphs) { + const ranges = getRanges(glyphs, toUnicodeExtraMap, numGlyphs); + const numTables = ranges.at(-1)[1] > 0xffff ? 2 : 1; + let cmap = "\x00\x00" + string16(numTables) + "\x00\x03" + "\x00\x01" + (0, _util.string32)(4 + numTables * 8); + let i, ii, j, jj; + for (i = ranges.length - 1; i >= 0; --i) { + if (ranges[i][0] <= 0xffff) { + break; } } - mapOne(src, dst) { - this._map[src] = dst; + const bmpLength = i + 1; + if (ranges[i][0] < 0xffff && ranges[i][1] === 0xffff) { + ranges[i][1] = 0xfffe; } - lookup(code) { - return this._map[code]; - } - contains(code) { - return this._map[code] !== undefined; - } - forEach(callback) { - const map = this._map; - const length = map.length; - if (length <= 0x10000) { - for (let i = 0; i < length; i++) { - if (map[i] !== undefined) { - callback(i, map[i]); - } + const trailingRangesCount = ranges[i][1] < 0xffff ? 1 : 0; + const segCount = bmpLength + trailingRangesCount; + const searchParams = _opentype_file_builder.OpenTypeFileBuilder.getSearchParams(segCount, 2); + let startCount = ""; + let endCount = ""; + let idDeltas = ""; + let idRangeOffsets = ""; + let glyphsIds = ""; + let bias = 0; + let range, start, end, codes; + for (i = 0, ii = bmpLength; i < ii; i++) { + range = ranges[i]; + start = range[0]; + end = range[1]; + startCount += string16(start); + endCount += string16(end); + codes = range[2]; + let contiguous = true; + for (j = 1, jj = codes.length; j < jj; ++j) { + if (codes[j] !== codes[j - 1] + 1) { + contiguous = false; + break; + } + } + if (!contiguous) { + const offset = (segCount - i) * 2 + bias * 2; + bias += end - start + 1; + idDeltas += string16(0); + idRangeOffsets += string16(offset); + for (j = 0, jj = codes.length; j < jj; ++j) { + glyphsIds += string16(codes[j]); } } else { - for (const i in map) { - callback(i, map[i]); + const startCode = codes[0]; + idDeltas += string16(startCode - start & 0xffff); + idRangeOffsets += string16(0); + } + } + if (trailingRangesCount > 0) { + endCount += "\xFF\xFF"; + startCount += "\xFF\xFF"; + idDeltas += "\x00\x01"; + idRangeOffsets += "\x00\x00"; + } + const format314 = "\x00\x00" + string16(2 * segCount) + string16(searchParams.range) + string16(searchParams.entry) + string16(searchParams.rangeShift) + endCount + "\x00\x00" + startCount + idDeltas + idRangeOffsets + glyphsIds; + let format31012 = ""; + let header31012 = ""; + if (numTables > 1) { + cmap += "\x00\x03" + "\x00\x0A" + (0, _util.string32)(4 + numTables * 8 + 4 + format314.length); + format31012 = ""; + for (i = 0, ii = ranges.length; i < ii; i++) { + range = ranges[i]; + start = range[0]; + codes = range[2]; + let code = codes[0]; + for (j = 1, jj = codes.length; j < jj; ++j) { + if (codes[j] !== codes[j - 1] + 1) { + end = range[0] + j - 1; + format31012 += (0, _util.string32)(start) + (0, _util.string32)(end) + (0, _util.string32)(code); + start = end + 1; + code = codes[j]; + } + } + format31012 += (0, _util.string32)(start) + (0, _util.string32)(range[1]) + (0, _util.string32)(code); + } + header31012 = "\x00\x0C" + "\x00\x00" + (0, _util.string32)(format31012.length + 16) + "\x00\x00\x00\x00" + (0, _util.string32)(format31012.length / 12); + } + return cmap + "\x00\x04" + string16(format314.length + 4) + format314 + header31012 + format31012; +} +function validateOS2Table(os2, file) { + file.pos = (file.start || 0) + os2.offset; + const version = file.getUint16(); + file.skip(60); + const selection = file.getUint16(); + if (version < 4 && selection & 0x0300) { + return false; + } + const firstChar = file.getUint16(); + const lastChar = file.getUint16(); + if (firstChar > lastChar) { + return false; + } + file.skip(6); + const usWinAscent = file.getUint16(); + if (usWinAscent === 0) { + return false; + } + os2.data[8] = os2.data[9] = 0; + return true; +} +function createOS2Table(properties, charstrings, override) { + override ||= { + unitsPerEm: 0, + yMax: 0, + yMin: 0, + ascent: 0, + descent: 0 + }; + let ulUnicodeRange1 = 0; + let ulUnicodeRange2 = 0; + let ulUnicodeRange3 = 0; + let ulUnicodeRange4 = 0; + let firstCharIndex = null; + let lastCharIndex = 0; + let position = -1; + if (charstrings) { + for (let code in charstrings) { + code |= 0; + if (firstCharIndex > code || !firstCharIndex) { + firstCharIndex = code; + } + if (lastCharIndex < code) { + lastCharIndex = code; + } + position = (0, _unicode.getUnicodeRangeFor)(code, position); + if (position < 32) { + ulUnicodeRange1 |= 1 << position; + } else if (position < 64) { + ulUnicodeRange2 |= 1 << position - 32; + } else if (position < 96) { + ulUnicodeRange3 |= 1 << position - 64; + } else if (position < 123) { + ulUnicodeRange4 |= 1 << position - 96; + } else { + throw new _util.FormatError("Unicode ranges Bits > 123 are reserved for internal usage"); } } - } - charCodeOf(value) { - const map = this._map; - if (map.length <= 0x10000) { - return map.indexOf(value); + if (lastCharIndex > 0xffff) { + lastCharIndex = 0xffff; } - for (const charCode in map) { - if (map[charCode] === value) { - return charCode | 0; + } else { + firstCharIndex = 0; + lastCharIndex = 255; + } + const bbox = properties.bbox || [0, 0, 0, 0]; + const unitsPerEm = override.unitsPerEm || 1 / (properties.fontMatrix || _util.FONT_IDENTITY_MATRIX)[0]; + const scale = properties.ascentScaled ? 1.0 : unitsPerEm / PDF_GLYPH_SPACE_UNITS; + const typoAscent = override.ascent || Math.round(scale * (properties.ascent || bbox[3])); + let typoDescent = override.descent || Math.round(scale * (properties.descent || bbox[1])); + if (typoDescent > 0 && properties.descent > 0 && bbox[1] < 0) { + typoDescent = -typoDescent; + } + const winAscent = override.yMax || typoAscent; + const winDescent = -override.yMin || -typoDescent; + return "\x00\x03" + "\x02\x24" + "\x01\xF4" + "\x00\x05" + "\x00\x00" + "\x02\x8A" + "\x02\xBB" + "\x00\x00" + "\x00\x8C" + "\x02\x8A" + "\x02\xBB" + "\x00\x00" + "\x01\xDF" + "\x00\x31" + "\x01\x02" + "\x00\x00" + "\x00\x00\x06" + String.fromCharCode(properties.fixedPitch ? 0x09 : 0x00) + "\x00\x00\x00\x00\x00\x00" + (0, _util.string32)(ulUnicodeRange1) + (0, _util.string32)(ulUnicodeRange2) + (0, _util.string32)(ulUnicodeRange3) + (0, _util.string32)(ulUnicodeRange4) + "\x2A\x32\x31\x2A" + string16(properties.italicAngle ? 1 : 0) + string16(firstCharIndex || properties.firstChar) + string16(lastCharIndex || properties.lastChar) + string16(typoAscent) + string16(typoDescent) + "\x00\x64" + string16(winAscent) + string16(winDescent) + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + string16(properties.xHeight) + string16(properties.capHeight) + string16(0) + string16(firstCharIndex || properties.firstChar) + "\x00\x03"; +} +function createPostTable(properties) { + const angle = Math.floor(properties.italicAngle * 2 ** 16); + return "\x00\x03\x00\x00" + (0, _util.string32)(angle) + "\x00\x00" + "\x00\x00" + (0, _util.string32)(properties.fixedPitch ? 1 : 0) + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + "\x00\x00\x00\x00"; +} +function createPostscriptName(name) { + return name.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g, "").slice(0, 63); +} +function createNameTable(name, proto) { + if (!proto) { + proto = [[], []]; + } + const strings = [proto[0][0] || "Original licence", proto[0][1] || name, proto[0][2] || "Unknown", proto[0][3] || "uniqueID", proto[0][4] || name, proto[0][5] || "Version 0.11", proto[0][6] || createPostscriptName(name), proto[0][7] || "Unknown", proto[0][8] || "Unknown", proto[0][9] || "Unknown"]; + const stringsUnicode = []; + let i, ii, j, jj, str; + for (i = 0, ii = strings.length; i < ii; i++) { + str = proto[1][i] || strings[i]; + const strBufUnicode = []; + for (j = 0, jj = str.length; j < jj; j++) { + strBufUnicode.push(string16(str.charCodeAt(j))); + } + stringsUnicode.push(strBufUnicode.join("")); + } + const names = [strings, stringsUnicode]; + const platforms = ["\x00\x01", "\x00\x03"]; + const encodings = ["\x00\x00", "\x00\x01"]; + const languages = ["\x00\x00", "\x04\x09"]; + const namesRecordCount = strings.length * platforms.length; + let nameTable = "\x00\x00" + string16(namesRecordCount) + string16(namesRecordCount * 12 + 6); + let strOffset = 0; + for (i = 0, ii = platforms.length; i < ii; i++) { + const strs = names[i]; + for (j = 0, jj = strs.length; j < jj; j++) { + str = strs[j]; + const nameRecord = platforms[i] + encodings[i] + languages[i] + string16(j) + string16(str.length) + string16(strOffset); + nameTable += nameRecord; + strOffset += str.length; + } + } + nameTable += strings.join("") + stringsUnicode.join(""); + return nameTable; +} +class Font { + constructor(name, file, properties) { + this.name = name; + this.psName = null; + this.mimetype = null; + this.disableFontFace = false; + this.loadedName = properties.loadedName; + this.isType3Font = properties.isType3Font; + this.missingFile = false; + this.cssFontInfo = properties.cssFontInfo; + this._charsCache = Object.create(null); + this._glyphCache = Object.create(null); + let isSerifFont = !!(properties.flags & _fonts_utils.FontFlags.Serif); + if (!isSerifFont && !properties.isSimulatedFlags) { + const baseName = name.replaceAll(/[,_]/g, "-").split("-")[0], + serifFonts = (0, _standard_fonts.getSerifFonts)(); + for (const namePart of baseName.split("+")) { + if (serifFonts[namePart]) { + isSerifFont = true; + break; + } } } - return -1; + this.isSerifFont = isSerifFont; + this.isSymbolicFont = !!(properties.flags & _fonts_utils.FontFlags.Symbolic); + this.isMonospace = !!(properties.flags & _fonts_utils.FontFlags.FixedPitch); + let { + type, + subtype + } = properties; + this.type = type; + this.subtype = subtype; + this.systemFontInfo = properties.systemFontInfo; + const matches = name.match(/^InvalidPDFjsFont_(.*)_\d+$/); + this.isInvalidPDFjsFont = !!matches; + if (this.isInvalidPDFjsFont) { + this.fallbackName = matches[1]; + } else if (this.isMonospace) { + this.fallbackName = "monospace"; + } else if (this.isSerifFont) { + this.fallbackName = "serif"; + } else { + this.fallbackName = "sans-serif"; + } + if (this.systemFontInfo?.guessFallback) { + this.systemFontInfo.guessFallback = false; + this.systemFontInfo.css += `,${this.fallbackName}`; + } + this.differences = properties.differences; + this.widths = properties.widths; + this.defaultWidth = properties.defaultWidth; + this.composite = properties.composite; + this.cMap = properties.cMap; + this.capHeight = properties.capHeight / PDF_GLYPH_SPACE_UNITS; + this.ascent = properties.ascent / PDF_GLYPH_SPACE_UNITS; + this.descent = properties.descent / PDF_GLYPH_SPACE_UNITS; + this.lineHeight = this.ascent - this.descent; + this.fontMatrix = properties.fontMatrix; + this.bbox = properties.bbox; + this.defaultEncoding = properties.defaultEncoding; + this.toUnicode = properties.toUnicode; + this.toFontChar = []; + if (properties.type === "Type3") { + for (let charCode = 0; charCode < 256; charCode++) { + this.toFontChar[charCode] = this.differences[charCode] || properties.defaultEncoding[charCode]; + } + return; + } + this.cidEncoding = properties.cidEncoding || ""; + this.vertical = !!properties.vertical; + if (this.vertical) { + this.vmetrics = properties.vmetrics; + this.defaultVMetrics = properties.defaultVMetrics; + } + if (!file || file.isEmpty) { + if (file) { + (0, _util.warn)('Font file is empty in "' + name + '" (' + this.loadedName + ")"); + } + this.fallbackToSystemFont(properties); + return; + } + [type, subtype] = getFontFileType(file, properties); + if (type !== this.type || subtype !== this.subtype) { + (0, _util.info)("Inconsistent font file Type/SubType, expected: " + `${this.type}/${this.subtype} but found: ${type}/${subtype}.`); + } + let data; + try { + switch (type) { + case "MMType1": + (0, _util.info)("MMType1 font (" + name + "), falling back to Type1."); + case "Type1": + case "CIDFontType0": + this.mimetype = "font/opentype"; + const cff = subtype === "Type1C" || subtype === "CIDFontType0C" ? new _cff_font.CFFFont(file, properties) : new _type1_font.Type1Font(name, file, properties); + adjustWidths(properties); + data = this.convert(name, cff, properties); + break; + case "OpenType": + case "TrueType": + case "CIDFontType2": + this.mimetype = "font/opentype"; + data = this.checkAndRepair(name, file, properties); + if (this.isOpenType) { + adjustWidths(properties); + type = "OpenType"; + } + break; + default: + throw new _util.FormatError(`Font ${type} is not supported`); + } + } catch (e) { + (0, _util.warn)(e); + this.fallbackToSystemFont(properties); + return; + } + amendFallbackToUnicode(properties); + this.data = data; + this.type = type; + this.subtype = subtype; + this.fontMatrix = properties.fontMatrix; + this.widths = properties.widths; + this.defaultWidth = properties.defaultWidth; + this.toUnicode = properties.toUnicode; + this.seacMap = properties.seacMap; } - getMap() { - return this._map; + get renderer() { + const renderer = _font_renderer.FontRendererFactory.create(this, _fonts_utils.SEAC_ANALYSIS_ENABLED); + return (0, _util.shadow)(this, "renderer", renderer); } - readCharCode(str, offset, out) { - let c = 0; - const codespaceRanges = this.codespaceRanges; - for (let n = 0, nn = codespaceRanges.length; n < nn; n++) { - c = (c << 8 | str.charCodeAt(offset + n)) >>> 0; - const codespaceRange = codespaceRanges[n]; - for (let k = 0, kk = codespaceRange.length; k < kk;) { - const low = codespaceRange[k++]; - const high = codespaceRange[k++]; - if (c >= low && c <= high) { - out.charcode = c; - out.length = n + 1; + exportData(extraProperties = false) { + const exportDataProperties = extraProperties ? [...EXPORT_DATA_PROPERTIES, ...EXPORT_DATA_EXTRA_PROPERTIES] : EXPORT_DATA_PROPERTIES; + const data = Object.create(null); + let property, value; + for (property of exportDataProperties) { + value = this[property]; + if (value !== undefined) { + data[property] = value; + } + } + return data; + } + fallbackToSystemFont(properties) { + this.missingFile = true; + const { + name, + type + } = this; + let fontName = (0, _fonts_utils.normalizeFontName)(name); + const stdFontMap = (0, _standard_fonts.getStdFontMap)(), + nonStdFontMap = (0, _standard_fonts.getNonStdFontMap)(); + const isStandardFont = !!stdFontMap[fontName]; + const isMappedToStandardFont = !!(nonStdFontMap[fontName] && stdFontMap[nonStdFontMap[fontName]]); + fontName = stdFontMap[fontName] || nonStdFontMap[fontName] || fontName; + const fontBasicMetricsMap = (0, _metrics.getFontBasicMetrics)(); + const metrics = fontBasicMetricsMap[fontName]; + if (metrics) { + if (isNaN(this.ascent)) { + this.ascent = metrics.ascent / PDF_GLYPH_SPACE_UNITS; + } + if (isNaN(this.descent)) { + this.descent = metrics.descent / PDF_GLYPH_SPACE_UNITS; + } + if (isNaN(this.capHeight)) { + this.capHeight = metrics.capHeight / PDF_GLYPH_SPACE_UNITS; + } + } + this.bold = /bold/gi.test(fontName); + this.italic = /oblique|italic/gi.test(fontName); + this.black = /Black/g.test(name); + const isNarrow = /Narrow/g.test(name); + this.remeasure = (!isStandardFont || isNarrow) && Object.keys(this.widths).length > 0; + if ((isStandardFont || isMappedToStandardFont) && type === "CIDFontType2" && this.cidEncoding.startsWith("Identity-")) { + const cidToGidMap = properties.cidToGidMap; + const map = []; + applyStandardFontGlyphMap(map, (0, _standard_fonts.getGlyphMapForStandardFonts)()); + if (/Arial-?Black/i.test(name)) { + applyStandardFontGlyphMap(map, (0, _standard_fonts.getSupplementalGlyphMapForArialBlack)()); + } else if (/Calibri/i.test(name)) { + applyStandardFontGlyphMap(map, (0, _standard_fonts.getSupplementalGlyphMapForCalibri)()); + } + if (cidToGidMap) { + for (const charCode in map) { + const cid = map[charCode]; + if (cidToGidMap[cid] !== undefined) { + map[+charCode] = cidToGidMap[cid]; + } + } + if (cidToGidMap.length !== this.toUnicode.length && properties.hasIncludedToUnicodeMap && this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) { + this.toUnicode.forEach(function (charCode, unicodeCharCode) { + const cid = map[charCode]; + if (cidToGidMap[cid] === undefined) { + map[+charCode] = unicodeCharCode; + } + }); + } + } + if (!(this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap)) { + this.toUnicode.forEach(function (charCode, unicodeCharCode) { + map[+charCode] = unicodeCharCode; + }); + } + this.toFontChar = map; + this.toUnicode = new _to_unicode_map.ToUnicodeMap(map); + } else if (/Symbol/i.test(fontName)) { + this.toFontChar = buildToFontChar(_encodings.SymbolSetEncoding, (0, _glyphlist.getGlyphsUnicode)(), this.differences); + } else if (/Dingbats/i.test(fontName)) { + this.toFontChar = buildToFontChar(_encodings.ZapfDingbatsEncoding, (0, _glyphlist.getDingbatsGlyphsUnicode)(), this.differences); + } else if (isStandardFont) { + const map = buildToFontChar(this.defaultEncoding, (0, _glyphlist.getGlyphsUnicode)(), this.differences); + if (type === "CIDFontType2" && !this.cidEncoding.startsWith("Identity-") && !(this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap)) { + this.toUnicode.forEach(function (charCode, unicodeCharCode) { + map[+charCode] = unicodeCharCode; + }); + } + this.toFontChar = map; + } else { + const glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + const map = []; + this.toUnicode.forEach((charCode, unicodeCharCode) => { + if (!this.composite) { + const glyphName = this.differences[charCode] || this.defaultEncoding[charCode]; + const unicode = (0, _unicode.getUnicodeForGlyph)(glyphName, glyphsUnicodeMap); + if (unicode !== -1) { + unicodeCharCode = unicode; + } + } + map[+charCode] = unicodeCharCode; + }); + if (this.composite && this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) { + if (/Tahoma|Verdana/i.test(name)) { + applyStandardFontGlyphMap(map, (0, _standard_fonts.getGlyphMapForStandardFonts)()); + } + } + this.toFontChar = map; + } + amendFallbackToUnicode(properties); + this.loadedName = fontName.split("-")[0]; + } + checkAndRepair(name, font, properties) { + const VALID_TABLES = ["OS/2", "cmap", "head", "hhea", "hmtx", "maxp", "name", "post", "loca", "glyf", "fpgm", "prep", "cvt ", "CFF "]; + function readTables(file, numTables) { + const tables = Object.create(null); + tables["OS/2"] = null; + tables.cmap = null; + tables.head = null; + tables.hhea = null; + tables.hmtx = null; + tables.maxp = null; + tables.name = null; + tables.post = null; + for (let i = 0; i < numTables; i++) { + const table = readTableEntry(file); + if (!VALID_TABLES.includes(table.tag)) { + continue; + } + if (table.length === 0) { + continue; + } + tables[table.tag] = table; + } + return tables; + } + function readTableEntry(file) { + const tag = file.getString(4); + const checksum = file.getInt32() >>> 0; + const offset = file.getInt32() >>> 0; + const length = file.getInt32() >>> 0; + const previousPosition = file.pos; + file.pos = file.start || 0; + file.skip(offset); + const data = file.getBytes(length); + file.pos = previousPosition; + if (tag === "head") { + data[8] = data[9] = data[10] = data[11] = 0; + data[17] |= 0x20; + } + return { + tag, + checksum, + length, + offset, + data + }; + } + function readOpenTypeHeader(ttf) { + return { + version: ttf.getString(4), + numTables: ttf.getUint16(), + searchRange: ttf.getUint16(), + entrySelector: ttf.getUint16(), + rangeShift: ttf.getUint16() + }; + } + function readTrueTypeCollectionHeader(ttc) { + const ttcTag = ttc.getString(4); + (0, _util.assert)(ttcTag === "ttcf", "Must be a TrueType Collection font."); + const majorVersion = ttc.getUint16(); + const minorVersion = ttc.getUint16(); + const numFonts = ttc.getInt32() >>> 0; + const offsetTable = []; + for (let i = 0; i < numFonts; i++) { + offsetTable.push(ttc.getInt32() >>> 0); + } + const header = { + ttcTag, + majorVersion, + minorVersion, + numFonts, + offsetTable + }; + switch (majorVersion) { + case 1: + return header; + case 2: + header.dsigTag = ttc.getInt32() >>> 0; + header.dsigLength = ttc.getInt32() >>> 0; + header.dsigOffset = ttc.getInt32() >>> 0; + return header; + } + throw new _util.FormatError(`Invalid TrueType Collection majorVersion: ${majorVersion}.`); + } + function readTrueTypeCollectionData(ttc, fontName) { + const { + numFonts, + offsetTable + } = readTrueTypeCollectionHeader(ttc); + const fontNameParts = fontName.split("+"); + let fallbackData; + for (let i = 0; i < numFonts; i++) { + ttc.pos = (ttc.start || 0) + offsetTable[i]; + const potentialHeader = readOpenTypeHeader(ttc); + const potentialTables = readTables(ttc, potentialHeader.numTables); + if (!potentialTables.name) { + throw new _util.FormatError('TrueType Collection font must contain a "name" table.'); + } + const [nameTable] = readNameTable(potentialTables.name); + for (let j = 0, jj = nameTable.length; j < jj; j++) { + for (let k = 0, kk = nameTable[j].length; k < kk; k++) { + const nameEntry = nameTable[j][k]?.replaceAll(/\s/g, ""); + if (!nameEntry) { + continue; + } + if (nameEntry === fontName) { + return { + header: potentialHeader, + tables: potentialTables + }; + } + if (fontNameParts.length < 2) { + continue; + } + for (const part of fontNameParts) { + if (nameEntry === part) { + fallbackData = { + name: part, + header: potentialHeader, + tables: potentialTables + }; + } + } + } + } + } + if (fallbackData) { + (0, _util.warn)(`TrueType Collection does not contain "${fontName}" font, ` + `falling back to "${fallbackData.name}" font instead.`); + return { + header: fallbackData.header, + tables: fallbackData.tables + }; + } + throw new _util.FormatError(`TrueType Collection does not contain "${fontName}" font.`); + } + function readCmapTable(cmap, file, isSymbolicFont, hasEncoding) { + if (!cmap) { + (0, _util.warn)("No cmap table available."); + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; + } + let segment; + let start = (file.start || 0) + cmap.offset; + file.pos = start; + file.skip(2); + const numTables = file.getUint16(); + let potentialTable; + let canBreak = false; + for (let i = 0; i < numTables; i++) { + const platformId = file.getUint16(); + const encodingId = file.getUint16(); + const offset = file.getInt32() >>> 0; + let useTable = false; + if (potentialTable?.platformId === platformId && potentialTable?.encodingId === encodingId) { + continue; + } + if (platformId === 0 && (encodingId === 0 || encodingId === 1 || encodingId === 3)) { + useTable = true; + } else if (platformId === 1 && encodingId === 0) { + useTable = true; + } else if (platformId === 3 && encodingId === 1 && (hasEncoding || !potentialTable)) { + useTable = true; + if (!isSymbolicFont) { + canBreak = true; + } + } else if (isSymbolicFont && platformId === 3 && encodingId === 0) { + useTable = true; + let correctlySorted = true; + if (i < numTables - 1) { + const nextBytes = file.peekBytes(2), + nextPlatformId = int16(nextBytes[0], nextBytes[1]); + if (nextPlatformId < platformId) { + correctlySorted = false; + } + } + if (correctlySorted) { + canBreak = true; + } + } + if (useTable) { + potentialTable = { + platformId, + encodingId, + offset + }; + } + if (canBreak) { + break; + } + } + if (potentialTable) { + file.pos = start + potentialTable.offset; + } + if (!potentialTable || file.peekByte() === -1) { + (0, _util.warn)("Could not find a preferred cmap table."); + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; + } + const format = file.getUint16(); + let hasShortCmap = false; + const mappings = []; + let j, glyphId; + if (format === 0) { + file.skip(2 + 2); + for (j = 0; j < 256; j++) { + const index = file.getByte(); + if (!index) { + continue; + } + mappings.push({ + charCode: j, + glyphId: index + }); + } + hasShortCmap = true; + } else if (format === 2) { + file.skip(2 + 2); + const subHeaderKeys = []; + let maxSubHeaderKey = 0; + for (let i = 0; i < 256; i++) { + const subHeaderKey = file.getUint16() >> 3; + subHeaderKeys.push(subHeaderKey); + maxSubHeaderKey = Math.max(subHeaderKey, maxSubHeaderKey); + } + const subHeaders = []; + for (let i = 0; i <= maxSubHeaderKey; i++) { + subHeaders.push({ + firstCode: file.getUint16(), + entryCount: file.getUint16(), + idDelta: signedInt16(file.getByte(), file.getByte()), + idRangePos: file.pos + file.getUint16() + }); + } + for (let i = 0; i < 256; i++) { + if (subHeaderKeys[i] === 0) { + file.pos = subHeaders[0].idRangePos + 2 * i; + glyphId = file.getUint16(); + mappings.push({ + charCode: i, + glyphId + }); + } else { + const s = subHeaders[subHeaderKeys[i]]; + for (j = 0; j < s.entryCount; j++) { + const charCode = (i << 8) + j + s.firstCode; + file.pos = s.idRangePos + 2 * j; + glyphId = file.getUint16(); + if (glyphId !== 0) { + glyphId = (glyphId + s.idDelta) % 65536; + } + mappings.push({ + charCode, + glyphId + }); + } + } + } + } else if (format === 4) { + file.skip(2 + 2); + const segCount = file.getUint16() >> 1; + file.skip(6); + const segments = []; + let segIndex; + for (segIndex = 0; segIndex < segCount; segIndex++) { + segments.push({ + end: file.getUint16() + }); + } + file.skip(2); + for (segIndex = 0; segIndex < segCount; segIndex++) { + segments[segIndex].start = file.getUint16(); + } + for (segIndex = 0; segIndex < segCount; segIndex++) { + segments[segIndex].delta = file.getUint16(); + } + let offsetsCount = 0, + offsetIndex; + for (segIndex = 0; segIndex < segCount; segIndex++) { + segment = segments[segIndex]; + const rangeOffset = file.getUint16(); + if (!rangeOffset) { + segment.offsetIndex = -1; + continue; + } + offsetIndex = (rangeOffset >> 1) - (segCount - segIndex); + segment.offsetIndex = offsetIndex; + offsetsCount = Math.max(offsetsCount, offsetIndex + segment.end - segment.start + 1); + } + const offsets = []; + for (j = 0; j < offsetsCount; j++) { + offsets.push(file.getUint16()); + } + for (segIndex = 0; segIndex < segCount; segIndex++) { + segment = segments[segIndex]; + start = segment.start; + const end = segment.end; + const delta = segment.delta; + offsetIndex = segment.offsetIndex; + for (j = start; j <= end; j++) { + if (j === 0xffff) { + continue; + } + glyphId = offsetIndex < 0 ? j : offsets[offsetIndex + j - start]; + glyphId = glyphId + delta & 0xffff; + mappings.push({ + charCode: j, + glyphId + }); + } + } + } else if (format === 6) { + file.skip(2 + 2); + const firstCode = file.getUint16(); + const entryCount = file.getUint16(); + for (j = 0; j < entryCount; j++) { + glyphId = file.getUint16(); + const charCode = firstCode + j; + mappings.push({ + charCode, + glyphId + }); + } + } else if (format === 12) { + file.skip(2 + 4 + 4); + const nGroups = file.getInt32() >>> 0; + for (j = 0; j < nGroups; j++) { + const startCharCode = file.getInt32() >>> 0; + const endCharCode = file.getInt32() >>> 0; + let glyphCode = file.getInt32() >>> 0; + for (let charCode = startCharCode; charCode <= endCharCode; charCode++) { + mappings.push({ + charCode, + glyphId: glyphCode++ + }); + } + } + } else { + (0, _util.warn)("cmap table has unsupported format: " + format); + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; + } + mappings.sort(function (a, b) { + return a.charCode - b.charCode; + }); + for (let i = 1; i < mappings.length; i++) { + if (mappings[i - 1].charCode === mappings[i].charCode) { + mappings.splice(i, 1); + i--; + } + } + return { + platformId: potentialTable.platformId, + encodingId: potentialTable.encodingId, + mappings, + hasShortCmap + }; + } + function sanitizeMetrics(file, header, metrics, headTable, numGlyphs, dupFirstEntry) { + if (!header) { + if (metrics) { + metrics.data = null; + } + return; + } + file.pos = (file.start || 0) + header.offset; + file.pos += 4; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + file.pos += 2; + const caretOffset = file.getUint16(); + file.pos += 8; + file.pos += 2; + let numOfMetrics = file.getUint16(); + if (caretOffset !== 0) { + const macStyle = int16(headTable.data[44], headTable.data[45]); + if (!(macStyle & 2)) { + header.data[22] = 0; + header.data[23] = 0; + } + } + if (numOfMetrics > numGlyphs) { + (0, _util.info)(`The numOfMetrics (${numOfMetrics}) should not be ` + `greater than the numGlyphs (${numGlyphs}).`); + numOfMetrics = numGlyphs; + header.data[34] = (numOfMetrics & 0xff00) >> 8; + header.data[35] = numOfMetrics & 0x00ff; + } + const numOfSidebearings = numGlyphs - numOfMetrics; + const numMissing = numOfSidebearings - (metrics.length - numOfMetrics * 4 >> 1); + if (numMissing > 0) { + const entries = new Uint8Array(metrics.length + numMissing * 2); + entries.set(metrics.data); + if (dupFirstEntry) { + entries[metrics.length] = metrics.data[2]; + entries[metrics.length + 1] = metrics.data[3]; + } + metrics.data = entries; + } + } + function sanitizeGlyph(source, sourceStart, sourceEnd, dest, destStart, hintsValid) { + const glyphProfile = { + length: 0, + sizeOfInstructions: 0 + }; + if (sourceStart < 0 || sourceStart >= source.length || sourceEnd > source.length || sourceEnd - sourceStart <= 12) { + return glyphProfile; + } + const glyf = source.subarray(sourceStart, sourceEnd); + const xMin = signedInt16(glyf[2], glyf[3]); + const yMin = signedInt16(glyf[4], glyf[5]); + const xMax = signedInt16(glyf[6], glyf[7]); + const yMax = signedInt16(glyf[8], glyf[9]); + if (xMin > xMax) { + writeSignedInt16(glyf, 2, xMax); + writeSignedInt16(glyf, 6, xMin); + } + if (yMin > yMax) { + writeSignedInt16(glyf, 4, yMax); + writeSignedInt16(glyf, 8, yMin); + } + const contoursCount = signedInt16(glyf[0], glyf[1]); + if (contoursCount < 0) { + if (contoursCount < -1) { + return glyphProfile; + } + dest.set(glyf, destStart); + glyphProfile.length = glyf.length; + return glyphProfile; + } + let i, + j = 10, + flagsCount = 0; + for (i = 0; i < contoursCount; i++) { + const endPoint = glyf[j] << 8 | glyf[j + 1]; + flagsCount = endPoint + 1; + j += 2; + } + const instructionsStart = j; + const instructionsLength = glyf[j] << 8 | glyf[j + 1]; + glyphProfile.sizeOfInstructions = instructionsLength; + j += 2 + instructionsLength; + const instructionsEnd = j; + let coordinatesLength = 0; + for (i = 0; i < flagsCount; i++) { + const flag = glyf[j++]; + if (flag & 0xc0) { + glyf[j - 1] = flag & 0x3f; + } + let xLength = 2; + if (flag & 2) { + xLength = 1; + } else if (flag & 16) { + xLength = 0; + } + let yLength = 2; + if (flag & 4) { + yLength = 1; + } else if (flag & 32) { + yLength = 0; + } + const xyLength = xLength + yLength; + coordinatesLength += xyLength; + if (flag & 8) { + const repeat = glyf[j++]; + if (repeat === 0) { + glyf[j - 1] ^= 8; + } + i += repeat; + coordinatesLength += repeat * xyLength; + } + } + if (coordinatesLength === 0) { + return glyphProfile; + } + let glyphDataLength = j + coordinatesLength; + if (glyphDataLength > glyf.length) { + return glyphProfile; + } + if (!hintsValid && instructionsLength > 0) { + dest.set(glyf.subarray(0, instructionsStart), destStart); + dest.set([0, 0], destStart + instructionsStart); + dest.set(glyf.subarray(instructionsEnd, glyphDataLength), destStart + instructionsStart + 2); + glyphDataLength -= instructionsLength; + if (glyf.length - glyphDataLength > 3) { + glyphDataLength = glyphDataLength + 3 & ~3; + } + glyphProfile.length = glyphDataLength; + return glyphProfile; + } + if (glyf.length - glyphDataLength > 3) { + glyphDataLength = glyphDataLength + 3 & ~3; + dest.set(glyf.subarray(0, glyphDataLength), destStart); + glyphProfile.length = glyphDataLength; + return glyphProfile; + } + dest.set(glyf, destStart); + glyphProfile.length = glyf.length; + return glyphProfile; + } + function sanitizeHead(head, numGlyphs, locaLength) { + const data = head.data; + const version = int32(data[0], data[1], data[2], data[3]); + if (version >> 16 !== 1) { + (0, _util.info)("Attempting to fix invalid version in head table: " + version); + data[0] = 0; + data[1] = 1; + data[2] = 0; + data[3] = 0; + } + const indexToLocFormat = int16(data[50], data[51]); + if (indexToLocFormat < 0 || indexToLocFormat > 1) { + (0, _util.info)("Attempting to fix invalid indexToLocFormat in head table: " + indexToLocFormat); + const numGlyphsPlusOne = numGlyphs + 1; + if (locaLength === numGlyphsPlusOne << 1) { + data[50] = 0; + data[51] = 0; + } else if (locaLength === numGlyphsPlusOne << 2) { + data[50] = 0; + data[51] = 1; + } else { + throw new _util.FormatError("Could not fix indexToLocFormat: " + indexToLocFormat); + } + } + } + function sanitizeGlyphLocations(loca, glyf, numGlyphs, isGlyphLocationsLong, hintsValid, dupFirstEntry, maxSizeOfInstructions) { + let itemSize, itemDecode, itemEncode; + if (isGlyphLocationsLong) { + itemSize = 4; + itemDecode = function fontItemDecodeLong(data, offset) { + return data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]; + }; + itemEncode = function fontItemEncodeLong(data, offset, value) { + data[offset] = value >>> 24 & 0xff; + data[offset + 1] = value >> 16 & 0xff; + data[offset + 2] = value >> 8 & 0xff; + data[offset + 3] = value & 0xff; + }; + } else { + itemSize = 2; + itemDecode = function fontItemDecode(data, offset) { + return data[offset] << 9 | data[offset + 1] << 1; + }; + itemEncode = function fontItemEncode(data, offset, value) { + data[offset] = value >> 9 & 0xff; + data[offset + 1] = value >> 1 & 0xff; + }; + } + const numGlyphsOut = dupFirstEntry ? numGlyphs + 1 : numGlyphs; + const locaDataSize = itemSize * (1 + numGlyphsOut); + const locaData = new Uint8Array(locaDataSize); + locaData.set(loca.data.subarray(0, locaDataSize)); + loca.data = locaData; + const oldGlyfData = glyf.data; + const oldGlyfDataLength = oldGlyfData.length; + const newGlyfData = new Uint8Array(oldGlyfDataLength); + let i, j; + const locaEntries = []; + for (i = 0, j = 0; i < numGlyphs + 1; i++, j += itemSize) { + let offset = itemDecode(locaData, j); + if (offset > oldGlyfDataLength) { + offset = oldGlyfDataLength; + } + locaEntries.push({ + index: i, + offset, + endOffset: 0 + }); + } + locaEntries.sort((a, b) => { + return a.offset - b.offset; + }); + for (i = 0; i < numGlyphs; i++) { + locaEntries[i].endOffset = locaEntries[i + 1].offset; + } + locaEntries.sort((a, b) => { + return a.index - b.index; + }); + for (i = 0; i < numGlyphs; i++) { + const { + offset, + endOffset + } = locaEntries[i]; + if (offset !== 0 || endOffset !== 0) { + break; + } + const nextOffset = locaEntries[i + 1].offset; + if (nextOffset === 0) { + continue; + } + locaEntries[i].endOffset = nextOffset; + break; + } + const missingGlyphs = Object.create(null); + let writeOffset = 0; + itemEncode(locaData, 0, writeOffset); + for (i = 0, j = itemSize; i < numGlyphs; i++, j += itemSize) { + const glyphProfile = sanitizeGlyph(oldGlyfData, locaEntries[i].offset, locaEntries[i].endOffset, newGlyfData, writeOffset, hintsValid); + const newLength = glyphProfile.length; + if (newLength === 0) { + missingGlyphs[i] = true; + } + if (glyphProfile.sizeOfInstructions > maxSizeOfInstructions) { + maxSizeOfInstructions = glyphProfile.sizeOfInstructions; + } + writeOffset += newLength; + itemEncode(locaData, j, writeOffset); + } + if (writeOffset === 0) { + const simpleGlyph = new Uint8Array([0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0]); + for (i = 0, j = itemSize; i < numGlyphsOut; i++, j += itemSize) { + itemEncode(locaData, j, simpleGlyph.length); + } + glyf.data = simpleGlyph; + } else if (dupFirstEntry) { + const firstEntryLength = itemDecode(locaData, itemSize); + if (newGlyfData.length > firstEntryLength + writeOffset) { + glyf.data = newGlyfData.subarray(0, firstEntryLength + writeOffset); + } else { + glyf.data = new Uint8Array(firstEntryLength + writeOffset); + glyf.data.set(newGlyfData.subarray(0, writeOffset)); + } + glyf.data.set(newGlyfData.subarray(0, firstEntryLength), writeOffset); + itemEncode(loca.data, locaData.length - itemSize, writeOffset + firstEntryLength); + } else { + glyf.data = newGlyfData.subarray(0, writeOffset); + } + return { + missingGlyphs, + maxSizeOfInstructions + }; + } + function readPostScriptTable(post, propertiesObj, maxpNumGlyphs) { + const start = (font.start || 0) + post.offset; + font.pos = start; + const length = post.length, + end = start + length; + const version = font.getInt32(); + font.skip(28); + let glyphNames; + let valid = true; + let i; + switch (version) { + case 0x00010000: + glyphNames = _fonts_utils.MacStandardGlyphOrdering; + break; + case 0x00020000: + const numGlyphs = font.getUint16(); + if (numGlyphs !== maxpNumGlyphs) { + valid = false; + break; + } + const glyphNameIndexes = []; + for (i = 0; i < numGlyphs; ++i) { + const index = font.getUint16(); + if (index >= 32768) { + valid = false; + break; + } + glyphNameIndexes.push(index); + } + if (!valid) { + break; + } + const customNames = [], + strBuf = []; + while (font.pos < end) { + const stringLength = font.getByte(); + strBuf.length = stringLength; + for (i = 0; i < stringLength; ++i) { + strBuf[i] = String.fromCharCode(font.getByte()); + } + customNames.push(strBuf.join("")); + } + glyphNames = []; + for (i = 0; i < numGlyphs; ++i) { + const j = glyphNameIndexes[i]; + if (j < 258) { + glyphNames.push(_fonts_utils.MacStandardGlyphOrdering[j]); + continue; + } + glyphNames.push(customNames[j - 258]); + } + break; + case 0x00030000: + break; + default: + (0, _util.warn)("Unknown/unsupported post table version " + version); + valid = false; + if (propertiesObj.defaultEncoding) { + glyphNames = propertiesObj.defaultEncoding; + } + break; + } + propertiesObj.glyphNames = glyphNames; + return valid; + } + function readNameTable(nameTable) { + const start = (font.start || 0) + nameTable.offset; + font.pos = start; + const names = [[], []], + records = []; + const length = nameTable.length, + end = start + length; + const format = font.getUint16(); + const FORMAT_0_HEADER_LENGTH = 6; + if (format !== 0 || length < FORMAT_0_HEADER_LENGTH) { + return [names, records]; + } + const numRecords = font.getUint16(); + const stringsStart = font.getUint16(); + const NAME_RECORD_LENGTH = 12; + let i, ii; + for (i = 0; i < numRecords && font.pos + NAME_RECORD_LENGTH <= end; i++) { + const r = { + platform: font.getUint16(), + encoding: font.getUint16(), + language: font.getUint16(), + name: font.getUint16(), + length: font.getUint16(), + offset: font.getUint16() + }; + if (isMacNameRecord(r) || isWinNameRecord(r)) { + records.push(r); + } + } + for (i = 0, ii = records.length; i < ii; i++) { + const record = records[i]; + if (record.length <= 0) { + continue; + } + const pos = start + stringsStart + record.offset; + if (pos + record.length > end) { + continue; + } + font.pos = pos; + const nameIndex = record.name; + if (record.encoding) { + let str = ""; + for (let j = 0, jj = record.length; j < jj; j += 2) { + str += String.fromCharCode(font.getUint16()); + } + names[1][nameIndex] = str; + } else { + names[0][nameIndex] = font.getString(record.length); + } + } + return [names, records]; + } + const TTOpsStackDeltas = [0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, -2, -5, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, -1, 1, -1, -999, 0, 1, 0, -1, -2, 0, -1, -2, -1, -1, 0, -1, -1, 0, 0, -999, -999, -1, -1, -1, -1, -2, -999, -2, -2, -999, 0, -2, -2, 0, 0, -2, 0, -2, 0, 0, 0, -2, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, -999, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -999, -999, -999, -999, -999, -1, -1, -2, -2, 0, 0, 0, 0, -1, -1, -999, -2, -2, 0, 0, -1, -2, -2, 0, 0, 0, -1, -1, -1, -2]; + function sanitizeTTProgram(table, ttContext) { + let data = table.data; + let i = 0, + j, + n, + b, + funcId, + pc, + lastEndf = 0, + lastDeff = 0; + const stack = []; + const callstack = []; + const functionsCalled = []; + let tooComplexToFollowFunctions = ttContext.tooComplexToFollowFunctions; + let inFDEF = false, + ifLevel = 0, + inELSE = 0; + for (let ii = data.length; i < ii;) { + const op = data[i++]; + if (op === 0x40) { + n = data[i++]; + if (inFDEF || inELSE) { + i += n; + } else { + for (j = 0; j < n; j++) { + stack.push(data[i++]); + } + } + } else if (op === 0x41) { + n = data[i++]; + if (inFDEF || inELSE) { + i += n * 2; + } else { + for (j = 0; j < n; j++) { + b = data[i++]; + stack.push(b << 8 | data[i++]); + } + } + } else if ((op & 0xf8) === 0xb0) { + n = op - 0xb0 + 1; + if (inFDEF || inELSE) { + i += n; + } else { + for (j = 0; j < n; j++) { + stack.push(data[i++]); + } + } + } else if ((op & 0xf8) === 0xb8) { + n = op - 0xb8 + 1; + if (inFDEF || inELSE) { + i += n * 2; + } else { + for (j = 0; j < n; j++) { + b = data[i++]; + stack.push(b << 8 | data[i++]); + } + } + } else if (op === 0x2b && !tooComplexToFollowFunctions) { + if (!inFDEF && !inELSE) { + funcId = stack.at(-1); + if (isNaN(funcId)) { + (0, _util.info)("TT: CALL empty stack (or invalid entry)."); + } else { + ttContext.functionsUsed[funcId] = true; + if (funcId in ttContext.functionsStackDeltas) { + const newStackLength = stack.length + ttContext.functionsStackDeltas[funcId]; + if (newStackLength < 0) { + (0, _util.warn)("TT: CALL invalid functions stack delta."); + ttContext.hintsValid = false; + return; + } + stack.length = newStackLength; + } else if (funcId in ttContext.functionsDefined && !functionsCalled.includes(funcId)) { + callstack.push({ + data, + i, + stackTop: stack.length - 1 + }); + functionsCalled.push(funcId); + pc = ttContext.functionsDefined[funcId]; + if (!pc) { + (0, _util.warn)("TT: CALL non-existent function"); + ttContext.hintsValid = false; + return; + } + data = pc.data; + i = pc.i; + } + } + } + } else if (op === 0x2c && !tooComplexToFollowFunctions) { + if (inFDEF || inELSE) { + (0, _util.warn)("TT: nested FDEFs not allowed"); + tooComplexToFollowFunctions = true; + } + inFDEF = true; + lastDeff = i; + funcId = stack.pop(); + ttContext.functionsDefined[funcId] = { + data, + i + }; + } else if (op === 0x2d) { + if (inFDEF) { + inFDEF = false; + lastEndf = i; + } else { + pc = callstack.pop(); + if (!pc) { + (0, _util.warn)("TT: ENDF bad stack"); + ttContext.hintsValid = false; + return; + } + funcId = functionsCalled.pop(); + data = pc.data; + i = pc.i; + ttContext.functionsStackDeltas[funcId] = stack.length - pc.stackTop; + } + } else if (op === 0x89) { + if (inFDEF || inELSE) { + (0, _util.warn)("TT: nested IDEFs not allowed"); + tooComplexToFollowFunctions = true; + } + inFDEF = true; + lastDeff = i; + } else if (op === 0x58) { + ++ifLevel; + } else if (op === 0x1b) { + inELSE = ifLevel; + } else if (op === 0x59) { + if (inELSE === ifLevel) { + inELSE = 0; + } + --ifLevel; + } else if (op === 0x1c) { + if (!inFDEF && !inELSE) { + const offset = stack.at(-1); + if (offset > 0) { + i += offset - 1; + } + } + } + if (!inFDEF && !inELSE) { + let stackDelta = 0; + if (op <= 0x8e) { + stackDelta = TTOpsStackDeltas[op]; + } else if (op >= 0xc0 && op <= 0xdf) { + stackDelta = -1; + } else if (op >= 0xe0) { + stackDelta = -2; + } + if (op >= 0x71 && op <= 0x75) { + n = stack.pop(); + if (!isNaN(n)) { + stackDelta = -n * 2; + } + } + while (stackDelta < 0 && stack.length > 0) { + stack.pop(); + stackDelta++; + } + while (stackDelta > 0) { + stack.push(NaN); + stackDelta--; + } + } + } + ttContext.tooComplexToFollowFunctions = tooComplexToFollowFunctions; + const content = [data]; + if (i > data.length) { + content.push(new Uint8Array(i - data.length)); + } + if (lastDeff > lastEndf) { + (0, _util.warn)("TT: complementing a missing function tail"); + content.push(new Uint8Array([0x22, 0x2d])); + } + foldTTTable(table, content); + } + function checkInvalidFunctions(ttContext, maxFunctionDefs) { + if (ttContext.tooComplexToFollowFunctions) { + return; + } + if (ttContext.functionsDefined.length > maxFunctionDefs) { + (0, _util.warn)("TT: more functions defined than expected"); + ttContext.hintsValid = false; + return; + } + for (let j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) { + if (j > maxFunctionDefs) { + (0, _util.warn)("TT: invalid function id: " + j); + ttContext.hintsValid = false; + return; + } + if (ttContext.functionsUsed[j] && !ttContext.functionsDefined[j]) { + (0, _util.warn)("TT: undefined function: " + j); + ttContext.hintsValid = false; return; } } } - out.charcode = 0; - out.length = 1; - } - getCharCodeLength(charCode) { - const codespaceRanges = this.codespaceRanges; - for (let n = 0, nn = codespaceRanges.length; n < nn; n++) { - const codespaceRange = codespaceRanges[n]; - for (let k = 0, kk = codespaceRange.length; k < kk;) { - const low = codespaceRange[k++]; - const high = codespaceRange[k++]; - if (charCode >= low && charCode <= high) { - return n + 1; + function foldTTTable(table, content) { + if (content.length > 1) { + let newLength = 0; + let j, jj; + for (j = 0, jj = content.length; j < jj; j++) { + newLength += content[j].length; } + newLength = newLength + 3 & ~3; + const result = new Uint8Array(newLength); + let pos = 0; + for (j = 0, jj = content.length; j < jj; j++) { + result.set(content[j], pos); + pos += content[j].length; + } + table.data = result; + table.length = newLength; } } - return 1; - } - get length() { - return this._map.length; - } - get isIdentityCMap() { - if (!(this.name === "Identity-H" || this.name === "Identity-V")) { - return false; - } - if (this._map.length !== 0x10000) { - return false; - } - for (let i = 0; i < 0x10000; i++) { - if (this._map[i] !== i) { - return false; + function sanitizeTTPrograms(fpgm, prep, cvt, maxFunctionDefs) { + const ttContext = { + functionsDefined: [], + functionsUsed: [], + functionsStackDeltas: [], + tooComplexToFollowFunctions: false, + hintsValid: true + }; + if (fpgm) { + sanitizeTTProgram(fpgm, ttContext); } - } - return true; - } -} -class IdentityCMap extends CMap { - constructor(vertical, n) { - super(); - this.vertical = vertical; - this.addCodespaceRange(n, 0, 0xffff); - } - mapCidRange(low, high, dstLow) { - unreachable("should not call mapCidRange"); - } - mapBfRange(low, high, dstLow) { - unreachable("should not call mapBfRange"); - } - mapBfRangeToArray(low, high, array) { - unreachable("should not call mapBfRangeToArray"); - } - mapOne(src, dst) { - unreachable("should not call mapCidOne"); - } - lookup(code) { - return Number.isInteger(code) && code <= 0xffff ? code : undefined; - } - contains(code) { - return Number.isInteger(code) && code <= 0xffff; - } - forEach(callback) { - for (let i = 0; i <= 0xffff; i++) { - callback(i, i); - } - } - charCodeOf(value) { - return Number.isInteger(value) && value <= 0xffff ? value : -1; - } - getMap() { - const map = new Array(0x10000); - for (let i = 0; i <= 0xffff; i++) { - map[i] = i; - } - return map; - } - get length() { - return 0x10000; - } - get isIdentityCMap() { - unreachable("should not access .isIdentityCMap"); - } -} -function strToInt(str) { - let a = 0; - for (let i = 0; i < str.length; i++) { - a = a << 8 | str.charCodeAt(i); - } - return a >>> 0; -} -function expectString(obj) { - if (typeof obj !== "string") { - throw new FormatError("Malformed CMap: expected string."); - } -} -function expectInt(obj) { - if (!Number.isInteger(obj)) { - throw new FormatError("Malformed CMap: expected int."); - } -} -function parseBfChar(cMap, lexer) { - while (true) { - let obj = lexer.getObj(); - if (obj === EOF) { - break; - } - if (isCmd(obj, "endbfchar")) { - return; - } - expectString(obj); - const src = strToInt(obj); - obj = lexer.getObj(); - expectString(obj); - const dst = obj; - cMap.mapOne(src, dst); - } -} -function parseBfRange(cMap, lexer) { - while (true) { - let obj = lexer.getObj(); - if (obj === EOF) { - break; - } - if (isCmd(obj, "endbfrange")) { - return; - } - expectString(obj); - const low = strToInt(obj); - obj = lexer.getObj(); - expectString(obj); - const high = strToInt(obj); - obj = lexer.getObj(); - if (Number.isInteger(obj) || typeof obj === "string") { - const dstLow = Number.isInteger(obj) ? String.fromCharCode(obj) : obj; - cMap.mapBfRange(low, high, dstLow); - } else if (isCmd(obj, "[")) { - obj = lexer.getObj(); - const array = []; - while (!isCmd(obj, "]") && obj !== EOF) { - array.push(obj); - obj = lexer.getObj(); + if (prep) { + sanitizeTTProgram(prep, ttContext); } - cMap.mapBfRangeToArray(low, high, array); + if (fpgm) { + checkInvalidFunctions(ttContext, maxFunctionDefs); + } + if (cvt && cvt.length & 1) { + const cvtData = new Uint8Array(cvt.length + 1); + cvtData.set(cvt.data); + cvt.data = cvtData; + } + return ttContext.hintsValid; + } + font = new _stream.Stream(new Uint8Array(font.getBytes())); + let header, tables; + if (isTrueTypeCollectionFile(font)) { + const ttcData = readTrueTypeCollectionData(font, this.name); + header = ttcData.header; + tables = ttcData.tables; } else { - break; + header = readOpenTypeHeader(font); + tables = readTables(font, header.numTables); } - } - throw new FormatError("Invalid bf range."); -} -function parseCidChar(cMap, lexer) { - while (true) { - let obj = lexer.getObj(); - if (obj === EOF) { - break; + let cff, cffFile; + const isTrueType = !tables["CFF "]; + if (!isTrueType) { + const isComposite = properties.composite && (properties.cidToGidMap?.length > 0 || !(properties.cMap instanceof _cmap.IdentityCMap)); + if (header.version === "OTTO" && !isComposite || !tables.head || !tables.hhea || !tables.maxp || !tables.post) { + cffFile = new _stream.Stream(tables["CFF "].data); + cff = new _cff_font.CFFFont(cffFile, properties); + adjustWidths(properties); + return this.convert(name, cff, properties); + } + delete tables.glyf; + delete tables.loca; + delete tables.fpgm; + delete tables.prep; + delete tables["cvt "]; + this.isOpenType = true; + } else { + if (!tables.loca) { + throw new _util.FormatError('Required "loca" table is not found'); + } + if (!tables.glyf) { + (0, _util.warn)('Required "glyf" table is not found -- trying to recover.'); + tables.glyf = { + tag: "glyf", + data: new Uint8Array(0) + }; + } + this.isOpenType = false; } - if (isCmd(obj, "endcidchar")) { - return; + if (!tables.maxp) { + throw new _util.FormatError('Required "maxp" table is not found'); } - expectString(obj); - const src = strToInt(obj); - obj = lexer.getObj(); - expectInt(obj); - const dst = obj; - cMap.mapOne(src, dst); - } -} -function parseCidRange(cMap, lexer) { - while (true) { - let obj = lexer.getObj(); - if (obj === EOF) { - break; + font.pos = (font.start || 0) + tables.maxp.offset; + const version = font.getInt32(); + const numGlyphs = font.getUint16(); + if (properties.scaleFactors?.length === numGlyphs && isTrueType) { + const { + scaleFactors + } = properties; + const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]); + const glyphs = new _glyf.GlyfTable({ + glyfTable: tables.glyf.data, + isGlyphLocationsLong, + locaTable: tables.loca.data, + numGlyphs + }); + glyphs.scale(scaleFactors); + const { + glyf, + loca, + isLocationLong + } = glyphs.write(); + tables.glyf.data = glyf; + tables.loca.data = loca; + if (isLocationLong !== !!isGlyphLocationsLong) { + tables.head.data[50] = 0; + tables.head.data[51] = isLocationLong ? 1 : 0; + } + const metrics = tables.hmtx.data; + for (let i = 0; i < numGlyphs; i++) { + const j = 4 * i; + const advanceWidth = Math.round(scaleFactors[i] * int16(metrics[j], metrics[j + 1])); + metrics[j] = advanceWidth >> 8 & 0xff; + metrics[j + 1] = advanceWidth & 0xff; + const lsb = Math.round(scaleFactors[i] * signedInt16(metrics[j + 2], metrics[j + 3])); + writeSignedInt16(metrics, j + 2, lsb); + } } - if (isCmd(obj, "endcidrange")) { - return; + let numGlyphsOut = numGlyphs + 1; + let dupFirstEntry = true; + if (numGlyphsOut > 0xffff) { + dupFirstEntry = false; + numGlyphsOut = numGlyphs; + (0, _util.warn)("Not enough space in glyfs to duplicate first glyph."); } - expectString(obj); - const low = strToInt(obj); - obj = lexer.getObj(); - expectString(obj); - const high = strToInt(obj); - obj = lexer.getObj(); - expectInt(obj); - const dstLow = obj; - cMap.mapCidRange(low, high, dstLow); - } -} -function parseCodespaceRange(cMap, lexer) { - while (true) { - let obj = lexer.getObj(); - if (obj === EOF) { - break; + let maxFunctionDefs = 0; + let maxSizeOfInstructions = 0; + if (version >= 0x00010000 && tables.maxp.length >= 22) { + font.pos += 8; + const maxZones = font.getUint16(); + if (maxZones > 2) { + tables.maxp.data[14] = 0; + tables.maxp.data[15] = 2; + } + font.pos += 4; + maxFunctionDefs = font.getUint16(); + font.pos += 4; + maxSizeOfInstructions = font.getUint16(); } - if (isCmd(obj, "endcodespacerange")) { - return; + tables.maxp.data[4] = numGlyphsOut >> 8; + tables.maxp.data[5] = numGlyphsOut & 255; + const hintsValid = sanitizeTTPrograms(tables.fpgm, tables.prep, tables["cvt "], maxFunctionDefs); + if (!hintsValid) { + delete tables.fpgm; + delete tables.prep; + delete tables["cvt "]; } - if (typeof obj !== "string") { - break; + sanitizeMetrics(font, tables.hhea, tables.hmtx, tables.head, numGlyphsOut, dupFirstEntry); + if (!tables.head) { + throw new _util.FormatError('Required "head" table is not found'); } - const low = strToInt(obj); - obj = lexer.getObj(); - if (typeof obj !== "string") { - break; + sanitizeHead(tables.head, numGlyphs, isTrueType ? tables.loca.length : 0); + let missingGlyphs = Object.create(null); + if (isTrueType) { + const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]); + const glyphsInfo = sanitizeGlyphLocations(tables.loca, tables.glyf, numGlyphs, isGlyphLocationsLong, hintsValid, dupFirstEntry, maxSizeOfInstructions); + missingGlyphs = glyphsInfo.missingGlyphs; + if (version >= 0x00010000 && tables.maxp.length >= 22) { + tables.maxp.data[26] = glyphsInfo.maxSizeOfInstructions >> 8; + tables.maxp.data[27] = glyphsInfo.maxSizeOfInstructions & 255; + } } - const high = strToInt(obj); - cMap.addCodespaceRange(obj.length, low, high); - } - throw new FormatError("Invalid codespace range."); -} -function parseWMode(cMap, lexer) { - const obj = lexer.getObj(); - if (Number.isInteger(obj)) { - cMap.vertical = !!obj; - } -} -function parseCMapName(cMap, lexer) { - const obj = lexer.getObj(); - if (obj instanceof Name) { - cMap.name = obj.name; - } -} -async function parseCMap(cMap, lexer, fetchBuiltInCMap, useCMap) { - let previous, embeddedUseCMap; - objLoop: while (true) { - try { - const obj = lexer.getObj(); - if (obj === EOF) { - break; - } else if (obj instanceof Name) { - if (obj.name === "WMode") { - parseWMode(cMap, lexer); - } else if (obj.name === "CMapName") { - parseCMapName(cMap, lexer); + if (!tables.hhea) { + throw new _util.FormatError('Required "hhea" table is not found'); + } + if (tables.hhea.data[10] === 0 && tables.hhea.data[11] === 0) { + tables.hhea.data[10] = 0xff; + tables.hhea.data[11] = 0xff; + } + const metricsOverride = { + unitsPerEm: int16(tables.head.data[18], tables.head.data[19]), + yMax: signedInt16(tables.head.data[42], tables.head.data[43]), + yMin: signedInt16(tables.head.data[38], tables.head.data[39]), + ascent: signedInt16(tables.hhea.data[4], tables.hhea.data[5]), + descent: signedInt16(tables.hhea.data[6], tables.hhea.data[7]), + lineGap: signedInt16(tables.hhea.data[8], tables.hhea.data[9]) + }; + this.ascent = metricsOverride.ascent / metricsOverride.unitsPerEm; + this.descent = metricsOverride.descent / metricsOverride.unitsPerEm; + this.lineGap = metricsOverride.lineGap / metricsOverride.unitsPerEm; + if (this.cssFontInfo?.lineHeight) { + this.lineHeight = this.cssFontInfo.metrics.lineHeight; + this.lineGap = this.cssFontInfo.metrics.lineGap; + } else { + this.lineHeight = this.ascent - this.descent + this.lineGap; + } + if (tables.post) { + readPostScriptTable(tables.post, properties, numGlyphs); + } + tables.post = { + tag: "post", + data: createPostTable(properties) + }; + const charCodeToGlyphId = []; + function hasGlyph(glyphId) { + return !missingGlyphs[glyphId]; + } + if (properties.composite) { + const cidToGidMap = properties.cidToGidMap || []; + const isCidToGidMapEmpty = cidToGidMap.length === 0; + properties.cMap.forEach(function (charCode, cid) { + if (typeof cid === "string") { + cid = convertCidString(charCode, cid, true); } - previous = obj; - } else if (obj instanceof Cmd) { - switch (obj.cmd) { - case "endcmap": - break objLoop; - case "usecmap": - if (previous instanceof Name) { - embeddedUseCMap = previous.name; + if (cid > 0xffff) { + throw new _util.FormatError("Max size of CID is 65,535"); + } + let glyphId = -1; + if (isCidToGidMapEmpty) { + glyphId = cid; + } else if (cidToGidMap[cid] !== undefined) { + glyphId = cidToGidMap[cid]; + } + if (glyphId >= 0 && glyphId < numGlyphs && hasGlyph(glyphId)) { + charCodeToGlyphId[charCode] = glyphId; + } + }); + } else { + const cmapTable = readCmapTable(tables.cmap, font, this.isSymbolicFont, properties.hasEncoding); + const cmapPlatformId = cmapTable.platformId; + const cmapEncodingId = cmapTable.encodingId; + const cmapMappings = cmapTable.mappings; + let baseEncoding = [], + forcePostTable = false; + if (properties.hasEncoding && (properties.baseEncodingName === "MacRomanEncoding" || properties.baseEncodingName === "WinAnsiEncoding")) { + baseEncoding = (0, _encodings.getEncoding)(properties.baseEncodingName); + } + if (properties.hasEncoding && !this.isSymbolicFont && (cmapPlatformId === 3 && cmapEncodingId === 1 || cmapPlatformId === 1 && cmapEncodingId === 0)) { + const glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + for (let charCode = 0; charCode < 256; charCode++) { + let glyphName; + if (this.differences[charCode] !== undefined) { + glyphName = this.differences[charCode]; + } else if (baseEncoding.length && baseEncoding[charCode] !== "") { + glyphName = baseEncoding[charCode]; + } else { + glyphName = _encodings.StandardEncoding[charCode]; + } + if (!glyphName) { + continue; + } + const standardGlyphName = (0, _fonts_utils.recoverGlyphName)(glyphName, glyphsUnicodeMap); + let unicodeOrCharCode; + if (cmapPlatformId === 3 && cmapEncodingId === 1) { + unicodeOrCharCode = glyphsUnicodeMap[standardGlyphName]; + } else if (cmapPlatformId === 1 && cmapEncodingId === 0) { + unicodeOrCharCode = _encodings.MacRomanEncoding.indexOf(standardGlyphName); + } + if (unicodeOrCharCode === undefined) { + if (!properties.glyphNames && properties.hasIncludedToUnicodeMap && !(this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap)) { + const unicode = this.toUnicode.get(charCode); + if (unicode) { + unicodeOrCharCode = unicode.codePointAt(0); + } } + if (unicodeOrCharCode === undefined) { + continue; + } + } + for (const mapping of cmapMappings) { + if (mapping.charCode !== unicodeOrCharCode) { + continue; + } + charCodeToGlyphId[charCode] = mapping.glyphId; break; - case "begincodespacerange": - parseCodespaceRange(cMap, lexer); - break; - case "beginbfchar": - parseBfChar(cMap, lexer); - break; - case "begincidchar": - parseCidChar(cMap, lexer); - break; - case "beginbfrange": - parseBfRange(cMap, lexer); - break; - case "begincidrange": - parseCidRange(cMap, lexer); - break; + } + } + } else if (cmapPlatformId === 0) { + for (const mapping of cmapMappings) { + charCodeToGlyphId[mapping.charCode] = mapping.glyphId; + } + forcePostTable = true; + } else { + for (const mapping of cmapMappings) { + let charCode = mapping.charCode; + if (cmapPlatformId === 3 && charCode >= 0xf000 && charCode <= 0xf0ff) { + charCode &= 0xff; + } + charCodeToGlyphId[charCode] = mapping.glyphId; } } - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; + if (properties.glyphNames && (baseEncoding.length || this.differences.length)) { + for (let i = 0; i < 256; ++i) { + if (!forcePostTable && charCodeToGlyphId[i] !== undefined) { + continue; + } + const glyphName = this.differences[i] || baseEncoding[i]; + if (!glyphName) { + continue; + } + const glyphId = properties.glyphNames.indexOf(glyphName); + if (glyphId > 0 && hasGlyph(glyphId)) { + charCodeToGlyphId[i] = glyphId; + } + } } - warn("Invalid cMap data: " + ex); - continue; } - } - if (!useCMap && embeddedUseCMap) { - useCMap = embeddedUseCMap; - } - if (useCMap) { - return extendCMap(cMap, fetchBuiltInCMap, useCMap); - } - return cMap; -} -async function extendCMap(cMap, fetchBuiltInCMap, useCMap) { - cMap.useCMap = await createBuiltInCMap(useCMap, fetchBuiltInCMap); - if (cMap.numCodespaceRanges === 0) { - const useCodespaceRanges = cMap.useCMap.codespaceRanges; - for (let i = 0; i < useCodespaceRanges.length; i++) { - cMap.codespaceRanges[i] = useCodespaceRanges[i].slice(); + if (charCodeToGlyphId.length === 0) { + charCodeToGlyphId[0] = 0; } - cMap.numCodespaceRanges = cMap.useCMap.numCodespaceRanges; - } - cMap.useCMap.forEach(function (key, value) { - if (!cMap.contains(key)) { - cMap.mapOne(key, cMap.useCMap.lookup(key)); + let glyphZeroId = numGlyphsOut - 1; + if (!dupFirstEntry) { + glyphZeroId = 0; } - }); - return cMap; -} -async function createBuiltInCMap(name, fetchBuiltInCMap) { - if (name === "Identity-H") { - return new IdentityCMap(false, 2); - } else if (name === "Identity-V") { - return new IdentityCMap(true, 2); - } - if (!BUILT_IN_CMAPS.includes(name)) { - throw new Error("Unknown CMap name: " + name); - } - if (!fetchBuiltInCMap) { - throw new Error("Built-in CMap parameters are not provided."); - } - const { - cMapData, - compressionType - } = await fetchBuiltInCMap(name); - const cMap = new CMap(true); - if (compressionType === CMapCompressionType.BINARY) { - return new BinaryCMapReader().process(cMapData, cMap, useCMap => extendCMap(cMap, fetchBuiltInCMap, useCMap)); - } - if (compressionType === CMapCompressionType.NONE) { - const lexer = new Lexer(new Stream(cMapData)); - return parseCMap(cMap, lexer, fetchBuiltInCMap, null); - } - throw new Error(`Invalid CMap "compressionType" value: ${compressionType}`); -} -class CMapFactory { - static async create({ - encoding, - fetchBuiltInCMap, - useCMap - }) { - if (encoding instanceof Name) { - return createBuiltInCMap(encoding.name, fetchBuiltInCMap); - } else if (encoding instanceof BaseStream) { - const parsedCMap = await parseCMap(new CMap(), new Lexer(encoding), fetchBuiltInCMap, useCMap); - if (parsedCMap.isIdentityCMap) { - return createBuiltInCMap(parsedCMap.name, fetchBuiltInCMap); + if (!properties.cssFontInfo) { + const newMapping = adjustMapping(charCodeToGlyphId, hasGlyph, glyphZeroId, this.toUnicode); + this.toFontChar = newMapping.toFontChar; + tables.cmap = { + tag: "cmap", + data: createCmapTable(newMapping.charCodeToGlyphId, newMapping.toUnicodeExtraMap, numGlyphsOut) + }; + if (!tables["OS/2"] || !validateOS2Table(tables["OS/2"], font)) { + tables["OS/2"] = { + tag: "OS/2", + data: createOS2Table(properties, newMapping.charCodeToGlyphId, metricsOverride) + }; } - return parsedCMap; } - throw new Error("Encoding required."); + if (!isTrueType) { + try { + cffFile = new _stream.Stream(tables["CFF "].data); + const parser = new _cff_parser.CFFParser(cffFile, properties, _fonts_utils.SEAC_ANALYSIS_ENABLED); + cff = parser.parse(); + cff.duplicateFirstGlyph(); + const compiler = new _cff_parser.CFFCompiler(cff); + tables["CFF "].data = compiler.compile(); + } catch { + (0, _util.warn)("Failed to compile font " + properties.loadedName); + } + } + if (!tables.name) { + tables.name = { + tag: "name", + data: createNameTable(this.name) + }; + } else { + const [namePrototype, nameRecords] = readNameTable(tables.name); + tables.name.data = createNameTable(name, namePrototype); + this.psName = namePrototype[0][6] || null; + if (!properties.composite) { + adjustTrueTypeToUnicode(properties, this.isSymbolicFont, nameRecords); + } + } + const builder = new _opentype_file_builder.OpenTypeFileBuilder(header.version); + for (const tableTag in tables) { + builder.addTable(tableTag, tables[tableTag].data); + } + return builder.toArray(); + } + convert(fontName, font, properties) { + properties.fixedPitch = false; + if (properties.builtInEncoding) { + adjustType1ToUnicode(properties, properties.builtInEncoding); + } + let glyphZeroId = 1; + if (font instanceof _cff_font.CFFFont) { + glyphZeroId = font.numGlyphs - 1; + } + const mapping = font.getGlyphMapping(properties); + let newMapping = null; + let newCharCodeToGlyphId = mapping; + let toUnicodeExtraMap = null; + if (!properties.cssFontInfo) { + newMapping = adjustMapping(mapping, font.hasGlyphId.bind(font), glyphZeroId, this.toUnicode); + this.toFontChar = newMapping.toFontChar; + newCharCodeToGlyphId = newMapping.charCodeToGlyphId; + toUnicodeExtraMap = newMapping.toUnicodeExtraMap; + } + const numGlyphs = font.numGlyphs; + function getCharCodes(charCodeToGlyphId, glyphId) { + let charCodes = null; + for (const charCode in charCodeToGlyphId) { + if (glyphId === charCodeToGlyphId[charCode]) { + (charCodes ||= []).push(charCode | 0); + } + } + return charCodes; + } + function createCharCode(charCodeToGlyphId, glyphId) { + for (const charCode in charCodeToGlyphId) { + if (glyphId === charCodeToGlyphId[charCode]) { + return charCode | 0; + } + } + newMapping.charCodeToGlyphId[newMapping.nextAvailableFontCharCode] = glyphId; + return newMapping.nextAvailableFontCharCode++; + } + const seacs = font.seacs; + if (newMapping && _fonts_utils.SEAC_ANALYSIS_ENABLED && seacs?.length) { + const matrix = properties.fontMatrix || _util.FONT_IDENTITY_MATRIX; + const charset = font.getCharset(); + const seacMap = Object.create(null); + for (let glyphId in seacs) { + glyphId |= 0; + const seac = seacs[glyphId]; + const baseGlyphName = _encodings.StandardEncoding[seac[2]]; + const accentGlyphName = _encodings.StandardEncoding[seac[3]]; + const baseGlyphId = charset.indexOf(baseGlyphName); + const accentGlyphId = charset.indexOf(accentGlyphName); + if (baseGlyphId < 0 || accentGlyphId < 0) { + continue; + } + const accentOffset = { + x: seac[0] * matrix[0] + seac[1] * matrix[2] + matrix[4], + y: seac[0] * matrix[1] + seac[1] * matrix[3] + matrix[5] + }; + const charCodes = getCharCodes(mapping, glyphId); + if (!charCodes) { + continue; + } + for (const charCode of charCodes) { + const charCodeToGlyphId = newMapping.charCodeToGlyphId; + const baseFontCharCode = createCharCode(charCodeToGlyphId, baseGlyphId); + const accentFontCharCode = createCharCode(charCodeToGlyphId, accentGlyphId); + seacMap[charCode] = { + baseFontCharCode, + accentFontCharCode, + accentOffset + }; + } + } + properties.seacMap = seacMap; + } + const unitsPerEm = 1 / (properties.fontMatrix || _util.FONT_IDENTITY_MATRIX)[0]; + const builder = new _opentype_file_builder.OpenTypeFileBuilder("\x4F\x54\x54\x4F"); + builder.addTable("CFF ", font.data); + builder.addTable("OS/2", createOS2Table(properties, newCharCodeToGlyphId)); + builder.addTable("cmap", createCmapTable(newCharCodeToGlyphId, toUnicodeExtraMap, numGlyphs)); + builder.addTable("head", "\x00\x01\x00\x00" + "\x00\x00\x10\x00" + "\x00\x00\x00\x00" + "\x5F\x0F\x3C\xF5" + "\x00\x00" + safeString16(unitsPerEm) + "\x00\x00\x00\x00\x9e\x0b\x7e\x27" + "\x00\x00\x00\x00\x9e\x0b\x7e\x27" + "\x00\x00" + safeString16(properties.descent) + "\x0F\xFF" + safeString16(properties.ascent) + string16(properties.italicAngle ? 2 : 0) + "\x00\x11" + "\x00\x00" + "\x00\x00" + "\x00\x00"); + builder.addTable("hhea", "\x00\x01\x00\x00" + safeString16(properties.ascent) + safeString16(properties.descent) + "\x00\x00" + "\xFF\xFF" + "\x00\x00" + "\x00\x00" + "\x00\x00" + safeString16(properties.capHeight) + safeString16(Math.tan(properties.italicAngle) * properties.xHeight) + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + string16(numGlyphs)); + builder.addTable("hmtx", function fontFieldsHmtx() { + const charstrings = font.charstrings; + const cffWidths = font.cff ? font.cff.widths : null; + let hmtx = "\x00\x00\x00\x00"; + for (let i = 1, ii = numGlyphs; i < ii; i++) { + let width = 0; + if (charstrings) { + const charstring = charstrings[i - 1]; + width = "width" in charstring ? charstring.width : 0; + } else if (cffWidths) { + width = Math.ceil(cffWidths[i] || 0); + } + hmtx += string16(width) + string16(0); + } + return hmtx; + }()); + builder.addTable("maxp", "\x00\x00\x50\x00" + string16(numGlyphs)); + builder.addTable("name", createNameTable(fontName)); + builder.addTable("post", createPostTable(properties)); + return builder.toArray(); + } + get spaceWidth() { + const possibleSpaceReplacements = ["space", "minus", "one", "i", "I"]; + let width; + for (const glyphName of possibleSpaceReplacements) { + if (glyphName in this.widths) { + width = this.widths[glyphName]; + break; + } + const glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); + const glyphUnicode = glyphsUnicodeMap[glyphName]; + let charcode = 0; + if (this.composite && this.cMap.contains(glyphUnicode)) { + charcode = this.cMap.lookup(glyphUnicode); + if (typeof charcode === "string") { + charcode = convertCidString(glyphUnicode, charcode); + } + } + if (!charcode && this.toUnicode) { + charcode = this.toUnicode.charCodeOf(glyphUnicode); + } + if (charcode <= 0) { + charcode = glyphUnicode; + } + width = this.widths[charcode]; + if (width) { + break; + } + } + return (0, _util.shadow)(this, "spaceWidth", width || this.defaultWidth); + } + _charToGlyph(charcode, isSpace = false) { + let glyph = this._glyphCache[charcode]; + if (glyph?.isSpace === isSpace) { + return glyph; + } + let fontCharCode, width, operatorListId; + let widthCode = charcode; + if (this.cMap?.contains(charcode)) { + widthCode = this.cMap.lookup(charcode); + if (typeof widthCode === "string") { + widthCode = convertCidString(charcode, widthCode); + } + } + width = this.widths[widthCode]; + if (typeof width !== "number") { + width = this.defaultWidth; + } + const vmetric = this.vmetrics?.[widthCode]; + let unicode = this.toUnicode.get(charcode) || charcode; + if (typeof unicode === "number") { + unicode = String.fromCharCode(unicode); + } + let isInFont = this.toFontChar[charcode] !== undefined; + fontCharCode = this.toFontChar[charcode] || charcode; + if (this.missingFile) { + const glyphName = this.differences[charcode] || this.defaultEncoding[charcode]; + if ((glyphName === ".notdef" || glyphName === "") && this.type === "Type1") { + fontCharCode = 0x20; + } + fontCharCode = (0, _unicode.mapSpecialUnicodeValues)(fontCharCode); + } + if (this.isType3Font) { + operatorListId = fontCharCode; + } + let accent = null; + if (this.seacMap?.[charcode]) { + isInFont = true; + const seac = this.seacMap[charcode]; + fontCharCode = seac.baseFontCharCode; + accent = { + fontChar: String.fromCodePoint(seac.accentFontCharCode), + offset: seac.accentOffset + }; + } + let fontChar = ""; + if (typeof fontCharCode === "number") { + if (fontCharCode <= 0x10ffff) { + fontChar = String.fromCodePoint(fontCharCode); + } else { + (0, _util.warn)(`charToGlyph - invalid fontCharCode: ${fontCharCode}`); + } + } + glyph = new Glyph(charcode, fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont); + return this._glyphCache[charcode] = glyph; + } + charsToGlyphs(chars) { + let glyphs = this._charsCache[chars]; + if (glyphs) { + return glyphs; + } + glyphs = []; + if (this.cMap) { + const c = Object.create(null), + ii = chars.length; + let i = 0; + while (i < ii) { + this.cMap.readCharCode(chars, i, c); + const { + charcode, + length + } = c; + i += length; + const glyph = this._charToGlyph(charcode, length === 1 && chars.charCodeAt(i - 1) === 0x20); + glyphs.push(glyph); + } + } else { + for (let i = 0, ii = chars.length; i < ii; ++i) { + const charcode = chars.charCodeAt(i); + const glyph = this._charToGlyph(charcode, charcode === 0x20); + glyphs.push(glyph); + } + } + return this._charsCache[chars] = glyphs; + } + getCharPositions(chars) { + const positions = []; + if (this.cMap) { + const c = Object.create(null); + let i = 0; + while (i < chars.length) { + this.cMap.readCharCode(chars, i, c); + const length = c.length; + positions.push([i, i + length]); + i += length; + } + } else { + for (let i = 0, ii = chars.length; i < ii; ++i) { + positions.push([i, i + 1]); + } + } + return positions; + } + get glyphCacheValues() { + return Object.values(this._glyphCache); + } + encodeString(str) { + const buffers = []; + const currentBuf = []; + const hasCurrentBufErrors = () => buffers.length % 2 === 1; + const getCharCode = this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap ? unicode => this.toUnicode.charCodeOf(unicode) : unicode => this.toUnicode.charCodeOf(String.fromCodePoint(unicode)); + for (let i = 0, ii = str.length; i < ii; i++) { + const unicode = str.codePointAt(i); + if (unicode > 0xd7ff && (unicode < 0xe000 || unicode > 0xfffd)) { + i++; + } + if (this.toUnicode) { + const charCode = getCharCode(unicode); + if (charCode !== -1) { + if (hasCurrentBufErrors()) { + buffers.push(currentBuf.join("")); + currentBuf.length = 0; + } + const charCodeLength = this.cMap ? this.cMap.getCharCodeLength(charCode) : 1; + for (let j = charCodeLength - 1; j >= 0; j--) { + currentBuf.push(String.fromCharCode(charCode >> 8 * j & 0xff)); + } + continue; + } + } + if (!hasCurrentBufErrors()) { + buffers.push(currentBuf.join("")); + currentBuf.length = 0; + } + currentBuf.push(String.fromCodePoint(unicode)); + } + buffers.push(currentBuf.join("")); + return buffers; } } - -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.to-array.js -var esnext_iterator_to_array = __webpack_require__(1795); -;// CONCATENATED MODULE: ./src/core/charsets.js -const ISOAdobeCharset = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron"]; -const ExpertCharset = [".notdef", "space", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"]; -const ExpertSubsetCharset = [".notdef", "space", "dollaroldstyle", "dollarsuperior", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "hyphensuperior", "colonmonetary", "onefitted", "rupiah", "centoldstyle", "figuredash", "hypheninferior", "onequarter", "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior"]; - -;// CONCATENATED MODULE: ./src/core/encodings.js -const ExpertEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclamsmall", "Hungarumlautsmall", "", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "", "", "", "isuperior", "", "", "lsuperior", "msuperior", "nsuperior", "osuperior", "", "", "rsuperior", "ssuperior", "tsuperior", "", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "exclamdownsmall", "centoldstyle", "Lslashsmall", "", "", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "", "Dotaccentsmall", "", "", "Macronsmall", "", "", "figuredash", "hypheninferior", "", "", "Ogoneksmall", "Ringsmall", "Cedillasmall", "", "", "", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "", "", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"]; -const MacExpertEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "", "threequartersemdash", "", "questionsmall", "", "", "", "", "Ethsmall", "", "", "onequarter", "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "", "", "", "", "", "", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "", "parenrightinferior", "Circumflexsmall", "hypheninferior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "", "", "asuperior", "centsuperior", "", "", "", "", "Aacutesmall", "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsmall", "Ccedillasmall", "Eacutesmall", "Egravesmall", "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircumflexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutesmall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", "", "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eightinferior", "seveninferior", "Scaronsmall", "", "centinferior", "twoinferior", "", "Dieresissmall", "", "Caronsmall", "osuperior", "fiveinferior", "", "commainferior", "periodinferior", "Yacutesmall", "", "dollarinferior", "", "", "Thornsmall", "", "nineinferior", "zeroinferior", "Zcaronsmall", "AEsmall", "Oslashsmall", "questiondownsmall", "oneinferior", "Lslashsmall", "", "", "", "", "", "", "Cedillasmall", "", "", "", "", "", "OEsmall", "figuredash", "hyphensuperior", "", "", "", "", "exclamdownsmall", "", "Ydieresissmall", "", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "ninesuperior", "zerosuperior", "", "esuperior", "rsuperior", "tsuperior", "", "", "isuperior", "ssuperior", "dsuperior", "", "", "", "", "", "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior", "nsuperior", "msuperior", "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", "", "", "", ""]; -const MacRomanEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "", "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresis", "aacute", "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute", "egrave", "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis", "ntilde", "oacute", "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircumflex", "udieresis", "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "germandbls", "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE", "Oslash", "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partialdiff", "summation", "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "oslash", "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequal", "Delta", "guillemotleft", "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "oe", "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoteright", "divide", "lozenge", "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsinglright", "fi", "fl", "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousand", "Acircumflex", "Ecircumflex", "Aacute", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacute", "Ocircumflex", "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumflex", "tilde", "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek", "caron"]; -const StandardEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "", "endash", "dagger", "daggerdbl", "periodcentered", "", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "", "questiondown", "", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "", "ring", "cedilla", "", "hungarumlaut", "ogonek", "caron", "emdash", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "AE", "", "ordfeminine", "", "", "", "", "Lslash", "Oslash", "OE", "ordmasculine", "", "", "", "", "", "ae", "", "", "", "dotlessi", "", "", "lslash", "oslash", "oe", "germandbls", "", "", "", ""]; -const WinAnsiEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "dagger", "daggerdbl", "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zcaron", "bullet", "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bullet", "endash", "emdash", "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron", "Ydieresis", "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "section", "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyphen", "registered", "macron", "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "paragraph", "periodcentered", "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "onehalf", "threequarters", "questiondown", "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Ccedilla", "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircumflex", "Idieresis", "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "multiply", "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn", "germandbls", "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "ccedilla", "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircumflex", "idieresis", "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "divide", "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn", "ydieresis"]; -const SymbolSetEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "universal", "numbersign", "existential", "percent", "ampersand", "suchthat", "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicular", "underscore", "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin", "club", "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowright", "arrowdown", "degree", "plusminus", "second", "greaterequal", "multiply", "proportional", "partialdiff", "bullet", "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex", "arrowhorizex", "carriagereturn", "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplus", "emptyset", "intersection", "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "reflexsubset", "element", "notelement", "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "product", "radical", "dotmath", "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "arrowdblup", "arrowdblright", "arrowdbldown", "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "summation", "parenlefttp", "parenleftex", "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "bracelefttp", "braceleftmid", "braceleftbt", "braceex", "", "angleright", "integral", "integraltp", "integralex", "integralbt", "parenrighttp", "parenrightex", "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "bracerighttp", "bracerightmid", "bracerightbt", ""]; -const ZapfDingbatsEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", "a203", "a75", "a204", "a76", "a77", "a78", "a79", "a81", "a82", "a83", "a84", "a97", "a98", "a99", "a100", "", "a89", "a90", "a93", "a94", "a91", "a92", "a205", "a85", "a206", "a86", "a87", "a88", "a95", "a96", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "a101", "a102", "a103", "a104", "a106", "a107", "a108", "a112", "a111", "a110", "a109", "a120", "a121", "a122", "a123", "a124", "a125", "a126", "a127", "a128", "a129", "a130", "a131", "a132", "a133", "a134", "a135", "a136", "a137", "a138", "a139", "a140", "a141", "a142", "a143", "a144", "a145", "a146", "a147", "a148", "a149", "a150", "a151", "a152", "a153", "a154", "a155", "a156", "a157", "a158", "a159", "a160", "a161", "a163", "a164", "a196", "a165", "a192", "a166", "a167", "a168", "a169", "a170", "a171", "a172", "a173", "a162", "a174", "a175", "a176", "a177", "a178", "a179", "a193", "a180", "a199", "a181", "a200", "a182", "", "a201", "a183", "a184", "a197", "a185", "a194", "a198", "a186", "a195", "a187", "a188", "a189", "a190", "a191", ""]; -function getEncoding(encodingName) { - switch (encodingName) { - case "WinAnsiEncoding": - return WinAnsiEncoding; - case "StandardEncoding": - return StandardEncoding; - case "MacRomanEncoding": - return MacRomanEncoding; - case "SymbolSetEncoding": - return SymbolSetEncoding; - case "ZapfDingbatsEncoding": - return ZapfDingbatsEncoding; - case "ExpertEncoding": - return ExpertEncoding; - case "MacExpertEncoding": - return MacExpertEncoding; - default: - return null; +exports.Font = Font; +class ErrorFont { + constructor(error) { + this.error = error; + this.loadedName = "g_font_error"; + this.missingFile = true; + } + charsToGlyphs() { + return []; + } + encodeString(chars) { + return [chars]; + } + exportData(extraProperties = false) { + return { + error: this.error + }; } } +exports.ErrorFont = ErrorFont; -;// CONCATENATED MODULE: ./src/core/cff_parser.js - - - - - - - +/***/ }), +/* 35 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CFFTopDict = exports.CFFStrings = exports.CFFStandardStrings = exports.CFFPrivateDict = exports.CFFParser = exports.CFFIndex = exports.CFFHeader = exports.CFFFDSelect = exports.CFFCompiler = exports.CFFCharset = exports.CFF = void 0; +var _util = __w_pdfjs_require__(2); +var _charsets = __w_pdfjs_require__(36); +var _encodings = __w_pdfjs_require__(37); const MAX_SUBR_NESTING = 10; const CFFStandardStrings = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall", "001.000", "001.001", "001.002", "001.003", "Black", "Bold", "Book", "Light", "Medium", "Regular", "Roman", "Semibold"]; +exports.CFFStandardStrings = CFFStandardStrings; const NUM_STANDARD_CFF_STRINGS = 391; const CharstringValidationData = [null, { id: "hstem", @@ -14949,10 +23929,10 @@ class CFFParser { ++offset; } if (offset >= bytesLength) { - throw new FormatError("Invalid CFF header"); + throw new _util.FormatError("Invalid CFF header"); } if (offset !== 0) { - info("cff data is shifted"); + (0, _util.info)("cff data is shifted"); bytes = bytes.subarray(offset); this.bytes = bytes; } @@ -14989,7 +23969,7 @@ class CFFParser { } else if (value >= 251 && value <= 254) { return -((value - 251) * 256) - dict[pos++] - 108; } - warn('CFFParser_parseDict: "' + value + '" is a reserved command.'); + (0, _util.warn)('CFFParser_parseDict: "' + value + '" is a reserved command.'); return NaN; } function parseFloatOperand() { @@ -15065,7 +24045,7 @@ class CFFParser { const names = []; for (let i = 0, ii = index.count; i < ii; ++i) { const name = index.get(i); - names.push(bytesToString(name)); + names.push((0, _util.bytesToString)(name)); } return names; } @@ -15073,7 +24053,7 @@ class CFFParser { const strings = new CFFStrings(); for (let i = 0, ii = index.count; i < ii; ++i) { const data = index.get(i); - strings.add(bytesToString(data)); + strings.add((0, _util.bytesToString)(data)); } return strings; } @@ -15139,10 +24119,15 @@ class CFFParser { stackSize %= 2; validationCommand = CharstringValidationData[value]; } else if (value === 10 || value === 29) { - const subrsIndex = value === 10 ? localSubrIndex : globalSubrIndex; + let subrsIndex; + if (value === 10) { + subrsIndex = localSubrIndex; + } else { + subrsIndex = globalSubrIndex; + } if (!subrsIndex) { validationCommand = CharstringValidationData[value]; - warn("Missing subrsIndex for " + validationCommand.id); + (0, _util.warn)("Missing subrsIndex for " + validationCommand.id); return false; } let bias = 32768; @@ -15154,7 +24139,7 @@ class CFFParser { const subrNumber = stack[--stackSize] + bias; if (subrNumber < 0 || subrNumber >= subrsIndex.count || isNaN(subrNumber)) { validationCommand = CharstringValidationData[value]; - warn("Out of bounds subrIndex for " + validationCommand.id); + (0, _util.warn)("Out of bounds subrIndex for " + validationCommand.id); return false; } state.stackSize = stackSize; @@ -15186,13 +24171,13 @@ class CFFParser { if (value === 3 || value === 23) { state.hasVStems = true; } else if (state.hasVStems && (value === 1 || value === 18)) { - warn("CFF stem hints are in wrong order"); + (0, _util.warn)("CFF stem hints are in wrong order"); data[j - 1] = value === 1 ? 3 : 23; } } if ("min" in validationCommand) { if (!state.undefStack && stackSize < validationCommand.min) { - warn("Not enough parameters for " + validationCommand.id + "; actual: " + stackSize + ", expected: " + validationCommand.min); + (0, _util.warn)("Not enough parameters for " + validationCommand.id + "; actual: " + stackSize + ", expected: " + validationCommand.min); if (stackSize === 0) { data[j - 1] = 14; return true; @@ -15206,7 +24191,7 @@ class CFFParser { if (stackSize >= 2 && validationCommand.stem) { stackSize %= 2; } else if (stackSize > 1) { - warn("Found too many parameters for stack-clearing command"); + (0, _util.warn)("Found too many parameters for stack-clearing command"); } if (stackSize > 0) { state.width = stack[stackSize - 1]; @@ -15265,11 +24250,11 @@ class CFFParser { if (fdSelect && fdArray.length) { const fdIndex = fdSelect.getFDIndex(i); if (fdIndex === -1) { - warn("Glyph index is not in fd select."); + (0, _util.warn)("Glyph index is not in fd select."); valid = false; } if (fdIndex >= fdArray.length) { - warn("Invalid fd index for glyph index."); + (0, _util.warn)("Invalid fd index for glyph index."); valid = false; } if (valid) { @@ -15345,11 +24330,11 @@ class CFFParser { } parseCharsets(pos, length, strings, cid) { if (pos === 0) { - return new CFFCharset(true, CFFCharsetPredefinedTypes.ISO_ADOBE, ISOAdobeCharset); + return new CFFCharset(true, CFFCharsetPredefinedTypes.ISO_ADOBE, _charsets.ISOAdobeCharset); } else if (pos === 1) { - return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT, ExpertCharset); + return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT, _charsets.ExpertCharset); } else if (pos === 2) { - return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT_SUBSET, ExpertSubsetCharset); + return new CFFCharset(true, CFFCharsetPredefinedTypes.EXPERT_SUBSET, _charsets.ExpertSubsetCharset); } const bytes = this.bytes; const start = pos; @@ -15383,7 +24368,7 @@ class CFFParser { } break; default: - throw new FormatError("Unknown charset format"); + throw new _util.FormatError("Unknown charset format"); } const end = pos; const raw = bytes.subarray(start, end); @@ -15406,7 +24391,7 @@ class CFFParser { if (pos === 0 || pos === 1) { predefined = true; format = pos; - const baseEncoding = pos ? ExpertEncoding : StandardEncoding; + const baseEncoding = pos ? _encodings.ExpertEncoding : _encodings.StandardEncoding; for (i = 0, ii = charset.length; i < ii; i++) { const index = baseEncoding.indexOf(charset[i]); if (index !== -1) { @@ -15435,7 +24420,7 @@ class CFFParser { } break; default: - throw new FormatError(`Unknown encoding format: ${format} in CFF`); + throw new _util.FormatError(`Unknown encoding format: ${format} in CFF`); } const dataEnd = pos; if (format & 0x80) { @@ -15464,7 +24449,7 @@ class CFFParser { for (i = 0; i < rangesCount; ++i) { let first = bytes[pos++] << 8 | bytes[pos++]; if (i === 0 && first !== 0) { - warn("parseFDSelect: The first range must have a first GID of 0" + " -- trying to recover."); + (0, _util.warn)("parseFDSelect: The first range must have a first GID of 0" + " -- trying to recover."); first = 0; } const fdIndex = bytes[pos++]; @@ -15476,14 +24461,15 @@ class CFFParser { pos += 2; break; default: - throw new FormatError(`parseFDSelect: Unknown format "${format}".`); + throw new _util.FormatError(`parseFDSelect: Unknown format "${format}".`); } if (fdSelect.length !== length) { - throw new FormatError("parseFDSelect: Invalid font data."); + throw new _util.FormatError("parseFDSelect: Invalid font data."); } return new CFFFDSelect(format, fdSelect); } } +exports.CFFParser = CFFParser; class CFF { constructor() { this.header = null; @@ -15500,7 +24486,7 @@ class CFF { } duplicateFirstGlyph() { if (this.charStrings.count >= 65535) { - warn("Not enough space in charstrings to duplicate first glyph."); + (0, _util.warn)("Not enough space in charstrings to duplicate first glyph."); return; } const glyphZero = this.charStrings.get(0); @@ -15517,6 +24503,7 @@ class CFF { return glyph.length > 0; } } +exports.CFF = CFF; class CFFHeader { constructor(major, minor, hdrSize, offSize) { this.major = major; @@ -15525,6 +24512,7 @@ class CFFHeader { this.offSize = offSize; } } +exports.CFFHeader = CFFHeader; class CFFStrings { constructor() { this.strings = []; @@ -15556,6 +24544,7 @@ class CFFStrings { return this.strings.length; } } +exports.CFFStrings = CFFStrings; class CFFIndex { constructor() { this.objects = []; @@ -15576,6 +24565,7 @@ class CFFIndex { return this.objects.length; } } +exports.CFFIndex = CFFIndex; class CFFDict { constructor(tables, strings) { this.keyToNameMap = tables.keyToNameMap; @@ -15596,7 +24586,7 @@ class CFFDict { } for (const val of value) { if (isNaN(val)) { - warn(`Invalid CFFDict value: "${value}" for key "${key}".`); + (0, _util.warn)(`Invalid CFFDict value: "${value}" for key "${key}".`); return true; } } @@ -15609,7 +24599,7 @@ class CFFDict { } setByName(name, value) { if (!(name in this.nameToKeyMap)) { - throw new FormatError(`Invalid dictionary name "${name}"`); + throw new _util.FormatError(`Invalid dictionary name "${name}"`); } this.values[this.nameToKeyMap[name]] = value; } @@ -15618,7 +24608,7 @@ class CFFDict { } getByName(name) { if (!(name in this.nameToKeyMap)) { - throw new FormatError(`Invalid dictionary name ${name}"`); + throw new _util.FormatError(`Invalid dictionary name ${name}"`); } const key = this.nameToKeyMap[name]; if (!(key in this.values)) { @@ -15653,23 +24643,25 @@ class CFFDict { const CFFTopDictLayout = [[[12, 30], "ROS", ["sid", "sid", "num"], null], [[12, 20], "SyntheticBase", "num", null], [0, "version", "sid", null], [1, "Notice", "sid", null], [[12, 0], "Copyright", "sid", null], [2, "FullName", "sid", null], [3, "FamilyName", "sid", null], [4, "Weight", "sid", null], [[12, 1], "isFixedPitch", "num", 0], [[12, 2], "ItalicAngle", "num", 0], [[12, 3], "UnderlinePosition", "num", -100], [[12, 4], "UnderlineThickness", "num", 50], [[12, 5], "PaintType", "num", 0], [[12, 6], "CharstringType", "num", 2], [[12, 7], "FontMatrix", ["num", "num", "num", "num", "num", "num"], [0.001, 0, 0, 0.001, 0, 0]], [13, "UniqueID", "num", null], [5, "FontBBox", ["num", "num", "num", "num"], [0, 0, 0, 0]], [[12, 8], "StrokeWidth", "num", 0], [14, "XUID", "array", null], [15, "charset", "offset", 0], [16, "Encoding", "offset", 0], [17, "CharStrings", "offset", 0], [18, "Private", ["offset", "offset"], null], [[12, 21], "PostScript", "sid", null], [[12, 22], "BaseFontName", "sid", null], [[12, 23], "BaseFontBlend", "delta", null], [[12, 31], "CIDFontVersion", "num", 0], [[12, 32], "CIDFontRevision", "num", 0], [[12, 33], "CIDFontType", "num", 0], [[12, 34], "CIDCount", "num", 8720], [[12, 35], "UIDBase", "num", null], [[12, 37], "FDSelect", "offset", null], [[12, 36], "FDArray", "offset", null], [[12, 38], "FontName", "sid", null]]; class CFFTopDict extends CFFDict { static get tables() { - return shadow(this, "tables", this.createTables(CFFTopDictLayout)); + return (0, _util.shadow)(this, "tables", this.createTables(CFFTopDictLayout)); } constructor(strings) { super(CFFTopDict.tables, strings); this.privateDict = null; } } +exports.CFFTopDict = CFFTopDict; const CFFPrivateDictLayout = [[6, "BlueValues", "delta", null], [7, "OtherBlues", "delta", null], [8, "FamilyBlues", "delta", null], [9, "FamilyOtherBlues", "delta", null], [[12, 9], "BlueScale", "num", 0.039625], [[12, 10], "BlueShift", "num", 7], [[12, 11], "BlueFuzz", "num", 1], [10, "StdHW", "num", null], [11, "StdVW", "num", null], [[12, 12], "StemSnapH", "delta", null], [[12, 13], "StemSnapV", "delta", null], [[12, 14], "ForceBold", "num", 0], [[12, 17], "LanguageGroup", "num", 0], [[12, 18], "ExpansionFactor", "num", 0.06], [[12, 19], "initialRandomSeed", "num", 0], [20, "defaultWidthX", "num", 0], [21, "nominalWidthX", "num", 0], [19, "Subrs", "offset", null]]; class CFFPrivateDict extends CFFDict { static get tables() { - return shadow(this, "tables", this.createTables(CFFPrivateDictLayout)); + return (0, _util.shadow)(this, "tables", this.createTables(CFFPrivateDictLayout)); } constructor(strings) { super(CFFPrivateDict.tables, strings); this.subrsIndex = null; } } +exports.CFFPrivateDict = CFFPrivateDict; const CFFCharsetPredefinedTypes = { ISO_ADOBE: 0, EXPERT: 1, @@ -15683,6 +24675,7 @@ class CFFCharset { this.raw = raw; } } +exports.CFFCharset = CFFCharset; class CFFEncoding { constructor(predefined, format, encoding, raw) { this.predefined = predefined; @@ -15703,6 +24696,7 @@ class CFFFDSelect { return this.fdSelect[glyphIndex]; } } +exports.CFFFDSelect = CFFFDSelect; class CFFOffsetTracker { constructor() { this.offsets = Object.create(null); @@ -15712,7 +24706,7 @@ class CFFOffsetTracker { } track(key, location) { if (key in this.offsets) { - throw new FormatError(`Already tracking location of ${key}`); + throw new _util.FormatError(`Already tracking location of ${key}`); } this.offsets[key] = location; } @@ -15723,7 +24717,7 @@ class CFFOffsetTracker { } setEntryLocation(key, values, output) { if (!(key in this.offsets)) { - throw new FormatError(`Not tracking location of ${key}`); + throw new _util.FormatError(`Not tracking location of ${key}`); } const data = output.data; const dataOffset = this.offsets[key]; @@ -15735,7 +24729,7 @@ class CFFOffsetTracker { const offset3 = offset0 + 3; const offset4 = offset0 + 4; if (data[offset0] !== 0x1d || data[offset1] !== 0 || data[offset2] !== 0 || data[offset3] !== 0 || data[offset4] !== 0) { - throw new FormatError("writing to an offset that is not empty"); + throw new _util.FormatError("writing to an offset that is not empty"); } const value = values[i]; data[offset0] = 0x1d; @@ -15775,7 +24769,7 @@ class CFFCompiler { for (const subDict of cff.fdArray) { let matrix = base.slice(0); if (subDict.hasName("FontMatrix")) { - matrix = Util.transform(matrix, subDict.getByName("FontMatrix")); + matrix = _util.Util.transform(matrix, subDict.getByName("FontMatrix")); } subDict.setByName("FontMatrix", matrix); } @@ -15829,7 +24823,7 @@ class CFFCompiler { return this.encodeFloat(value); } static get EncodeFloatRegExp() { - return shadow(this, "EncodeFloatRegExp", /\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/); + return (0, _util.shadow)(this, "EncodeFloatRegExp", /\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/); } encodeFloat(num) { let value = num.toString(); @@ -15895,7 +24889,7 @@ class CFFCompiler { if (sanitizedName === "") { sanitizedName = "Bad_Font_Name"; } - nameIndex.add(stringToBytes(sanitizedName)); + nameIndex.add((0, _util.stringToBytes)(sanitizedName)); } return this.compileIndex(nameIndex); } @@ -15927,7 +24921,7 @@ class CFFCompiler { const fontDict = dicts[i]; const privateDict = fontDict.privateDict; if (!privateDict || !fontDict.hasName("Private")) { - throw new FormatError("There must be a private dictionary."); + throw new _util.FormatError("There must be a private dictionary."); } const privateDictTracker = new CFFOffsetTracker(); const privateDictData = this.compileDict(privateDict, privateDictTracker); @@ -15985,7 +24979,7 @@ class CFFCompiler { } break; default: - throw new FormatError(`Unknown data type of ${type}`); + throw new _util.FormatError(`Unknown data type of ${type}`); } } out.push(...dict.opcodes[key]); @@ -15995,7 +24989,7 @@ class CFFCompiler { compileStringIndex(strings) { const stringIndex = new CFFIndex(); for (const string of strings) { - stringIndex.add(stringToBytes(string)); + stringIndex.add((0, _util.stringToBytes)(string)); } return this.compileIndex(stringIndex); } @@ -16032,7 +25026,7 @@ class CFFCompiler { sid = 0; if (!warned) { warned = true; - warn(`Couldn't find ${name} in CFF strings`); + (0, _util.warn)(`Couldn't find ${name} in CFF strings`); } } } @@ -16126,4657 +25120,89 @@ class CFFCompiler { return data; } } +exports.CFFCompiler = CFFCompiler; -;// CONCATENATED MODULE: ./src/core/glyphlist.js +/***/ }), +/* 36 */ +/***/ ((__unused_webpack_module, exports) => { -const getGlyphsUnicode = getLookupTableFactory(function (t) { - t.A = 0x0041; - t.AE = 0x00c6; - t.AEacute = 0x01fc; - t.AEmacron = 0x01e2; - t.AEsmall = 0xf7e6; - t.Aacute = 0x00c1; - t.Aacutesmall = 0xf7e1; - t.Abreve = 0x0102; - t.Abreveacute = 0x1eae; - t.Abrevecyrillic = 0x04d0; - t.Abrevedotbelow = 0x1eb6; - t.Abrevegrave = 0x1eb0; - t.Abrevehookabove = 0x1eb2; - t.Abrevetilde = 0x1eb4; - t.Acaron = 0x01cd; - t.Acircle = 0x24b6; - t.Acircumflex = 0x00c2; - t.Acircumflexacute = 0x1ea4; - t.Acircumflexdotbelow = 0x1eac; - t.Acircumflexgrave = 0x1ea6; - t.Acircumflexhookabove = 0x1ea8; - t.Acircumflexsmall = 0xf7e2; - t.Acircumflextilde = 0x1eaa; - t.Acute = 0xf6c9; - t.Acutesmall = 0xf7b4; - t.Acyrillic = 0x0410; - t.Adblgrave = 0x0200; - t.Adieresis = 0x00c4; - t.Adieresiscyrillic = 0x04d2; - t.Adieresismacron = 0x01de; - t.Adieresissmall = 0xf7e4; - t.Adotbelow = 0x1ea0; - t.Adotmacron = 0x01e0; - t.Agrave = 0x00c0; - t.Agravesmall = 0xf7e0; - t.Ahookabove = 0x1ea2; - t.Aiecyrillic = 0x04d4; - t.Ainvertedbreve = 0x0202; - t.Alpha = 0x0391; - t.Alphatonos = 0x0386; - t.Amacron = 0x0100; - t.Amonospace = 0xff21; - t.Aogonek = 0x0104; - t.Aring = 0x00c5; - t.Aringacute = 0x01fa; - t.Aringbelow = 0x1e00; - t.Aringsmall = 0xf7e5; - t.Asmall = 0xf761; - t.Atilde = 0x00c3; - t.Atildesmall = 0xf7e3; - t.Aybarmenian = 0x0531; - t.B = 0x0042; - t.Bcircle = 0x24b7; - t.Bdotaccent = 0x1e02; - t.Bdotbelow = 0x1e04; - t.Becyrillic = 0x0411; - t.Benarmenian = 0x0532; - t.Beta = 0x0392; - t.Bhook = 0x0181; - t.Blinebelow = 0x1e06; - t.Bmonospace = 0xff22; - t.Brevesmall = 0xf6f4; - t.Bsmall = 0xf762; - t.Btopbar = 0x0182; - t.C = 0x0043; - t.Caarmenian = 0x053e; - t.Cacute = 0x0106; - t.Caron = 0xf6ca; - t.Caronsmall = 0xf6f5; - t.Ccaron = 0x010c; - t.Ccedilla = 0x00c7; - t.Ccedillaacute = 0x1e08; - t.Ccedillasmall = 0xf7e7; - t.Ccircle = 0x24b8; - t.Ccircumflex = 0x0108; - t.Cdot = 0x010a; - t.Cdotaccent = 0x010a; - t.Cedillasmall = 0xf7b8; - t.Chaarmenian = 0x0549; - t.Cheabkhasiancyrillic = 0x04bc; - t.Checyrillic = 0x0427; - t.Chedescenderabkhasiancyrillic = 0x04be; - t.Chedescendercyrillic = 0x04b6; - t.Chedieresiscyrillic = 0x04f4; - t.Cheharmenian = 0x0543; - t.Chekhakassiancyrillic = 0x04cb; - t.Cheverticalstrokecyrillic = 0x04b8; - t.Chi = 0x03a7; - t.Chook = 0x0187; - t.Circumflexsmall = 0xf6f6; - t.Cmonospace = 0xff23; - t.Coarmenian = 0x0551; - t.Csmall = 0xf763; - t.D = 0x0044; - t.DZ = 0x01f1; - t.DZcaron = 0x01c4; - t.Daarmenian = 0x0534; - t.Dafrican = 0x0189; - t.Dcaron = 0x010e; - t.Dcedilla = 0x1e10; - t.Dcircle = 0x24b9; - t.Dcircumflexbelow = 0x1e12; - t.Dcroat = 0x0110; - t.Ddotaccent = 0x1e0a; - t.Ddotbelow = 0x1e0c; - t.Decyrillic = 0x0414; - t.Deicoptic = 0x03ee; - t.Delta = 0x2206; - t.Deltagreek = 0x0394; - t.Dhook = 0x018a; - t.Dieresis = 0xf6cb; - t.DieresisAcute = 0xf6cc; - t.DieresisGrave = 0xf6cd; - t.Dieresissmall = 0xf7a8; - t.Digammagreek = 0x03dc; - t.Djecyrillic = 0x0402; - t.Dlinebelow = 0x1e0e; - t.Dmonospace = 0xff24; - t.Dotaccentsmall = 0xf6f7; - t.Dslash = 0x0110; - t.Dsmall = 0xf764; - t.Dtopbar = 0x018b; - t.Dz = 0x01f2; - t.Dzcaron = 0x01c5; - t.Dzeabkhasiancyrillic = 0x04e0; - t.Dzecyrillic = 0x0405; - t.Dzhecyrillic = 0x040f; - t.E = 0x0045; - t.Eacute = 0x00c9; - t.Eacutesmall = 0xf7e9; - t.Ebreve = 0x0114; - t.Ecaron = 0x011a; - t.Ecedillabreve = 0x1e1c; - t.Echarmenian = 0x0535; - t.Ecircle = 0x24ba; - t.Ecircumflex = 0x00ca; - t.Ecircumflexacute = 0x1ebe; - t.Ecircumflexbelow = 0x1e18; - t.Ecircumflexdotbelow = 0x1ec6; - t.Ecircumflexgrave = 0x1ec0; - t.Ecircumflexhookabove = 0x1ec2; - t.Ecircumflexsmall = 0xf7ea; - t.Ecircumflextilde = 0x1ec4; - t.Ecyrillic = 0x0404; - t.Edblgrave = 0x0204; - t.Edieresis = 0x00cb; - t.Edieresissmall = 0xf7eb; - t.Edot = 0x0116; - t.Edotaccent = 0x0116; - t.Edotbelow = 0x1eb8; - t.Efcyrillic = 0x0424; - t.Egrave = 0x00c8; - t.Egravesmall = 0xf7e8; - t.Eharmenian = 0x0537; - t.Ehookabove = 0x1eba; - t.Eightroman = 0x2167; - t.Einvertedbreve = 0x0206; - t.Eiotifiedcyrillic = 0x0464; - t.Elcyrillic = 0x041b; - t.Elevenroman = 0x216a; - t.Emacron = 0x0112; - t.Emacronacute = 0x1e16; - t.Emacrongrave = 0x1e14; - t.Emcyrillic = 0x041c; - t.Emonospace = 0xff25; - t.Encyrillic = 0x041d; - t.Endescendercyrillic = 0x04a2; - t.Eng = 0x014a; - t.Enghecyrillic = 0x04a4; - t.Enhookcyrillic = 0x04c7; - t.Eogonek = 0x0118; - t.Eopen = 0x0190; - t.Epsilon = 0x0395; - t.Epsilontonos = 0x0388; - t.Ercyrillic = 0x0420; - t.Ereversed = 0x018e; - t.Ereversedcyrillic = 0x042d; - t.Escyrillic = 0x0421; - t.Esdescendercyrillic = 0x04aa; - t.Esh = 0x01a9; - t.Esmall = 0xf765; - t.Eta = 0x0397; - t.Etarmenian = 0x0538; - t.Etatonos = 0x0389; - t.Eth = 0x00d0; - t.Ethsmall = 0xf7f0; - t.Etilde = 0x1ebc; - t.Etildebelow = 0x1e1a; - t.Euro = 0x20ac; - t.Ezh = 0x01b7; - t.Ezhcaron = 0x01ee; - t.Ezhreversed = 0x01b8; - t.F = 0x0046; - t.Fcircle = 0x24bb; - t.Fdotaccent = 0x1e1e; - t.Feharmenian = 0x0556; - t.Feicoptic = 0x03e4; - t.Fhook = 0x0191; - t.Fitacyrillic = 0x0472; - t.Fiveroman = 0x2164; - t.Fmonospace = 0xff26; - t.Fourroman = 0x2163; - t.Fsmall = 0xf766; - t.G = 0x0047; - t.GBsquare = 0x3387; - t.Gacute = 0x01f4; - t.Gamma = 0x0393; - t.Gammaafrican = 0x0194; - t.Gangiacoptic = 0x03ea; - t.Gbreve = 0x011e; - t.Gcaron = 0x01e6; - t.Gcedilla = 0x0122; - t.Gcircle = 0x24bc; - t.Gcircumflex = 0x011c; - t.Gcommaaccent = 0x0122; - t.Gdot = 0x0120; - t.Gdotaccent = 0x0120; - t.Gecyrillic = 0x0413; - t.Ghadarmenian = 0x0542; - t.Ghemiddlehookcyrillic = 0x0494; - t.Ghestrokecyrillic = 0x0492; - t.Gheupturncyrillic = 0x0490; - t.Ghook = 0x0193; - t.Gimarmenian = 0x0533; - t.Gjecyrillic = 0x0403; - t.Gmacron = 0x1e20; - t.Gmonospace = 0xff27; - t.Grave = 0xf6ce; - t.Gravesmall = 0xf760; - t.Gsmall = 0xf767; - t.Gsmallhook = 0x029b; - t.Gstroke = 0x01e4; - t.H = 0x0048; - t.H18533 = 0x25cf; - t.H18543 = 0x25aa; - t.H18551 = 0x25ab; - t.H22073 = 0x25a1; - t.HPsquare = 0x33cb; - t.Haabkhasiancyrillic = 0x04a8; - t.Hadescendercyrillic = 0x04b2; - t.Hardsigncyrillic = 0x042a; - t.Hbar = 0x0126; - t.Hbrevebelow = 0x1e2a; - t.Hcedilla = 0x1e28; - t.Hcircle = 0x24bd; - t.Hcircumflex = 0x0124; - t.Hdieresis = 0x1e26; - t.Hdotaccent = 0x1e22; - t.Hdotbelow = 0x1e24; - t.Hmonospace = 0xff28; - t.Hoarmenian = 0x0540; - t.Horicoptic = 0x03e8; - t.Hsmall = 0xf768; - t.Hungarumlaut = 0xf6cf; - t.Hungarumlautsmall = 0xf6f8; - t.Hzsquare = 0x3390; - t.I = 0x0049; - t.IAcyrillic = 0x042f; - t.IJ = 0x0132; - t.IUcyrillic = 0x042e; - t.Iacute = 0x00cd; - t.Iacutesmall = 0xf7ed; - t.Ibreve = 0x012c; - t.Icaron = 0x01cf; - t.Icircle = 0x24be; - t.Icircumflex = 0x00ce; - t.Icircumflexsmall = 0xf7ee; - t.Icyrillic = 0x0406; - t.Idblgrave = 0x0208; - t.Idieresis = 0x00cf; - t.Idieresisacute = 0x1e2e; - t.Idieresiscyrillic = 0x04e4; - t.Idieresissmall = 0xf7ef; - t.Idot = 0x0130; - t.Idotaccent = 0x0130; - t.Idotbelow = 0x1eca; - t.Iebrevecyrillic = 0x04d6; - t.Iecyrillic = 0x0415; - t.Ifraktur = 0x2111; - t.Igrave = 0x00cc; - t.Igravesmall = 0xf7ec; - t.Ihookabove = 0x1ec8; - t.Iicyrillic = 0x0418; - t.Iinvertedbreve = 0x020a; - t.Iishortcyrillic = 0x0419; - t.Imacron = 0x012a; - t.Imacroncyrillic = 0x04e2; - t.Imonospace = 0xff29; - t.Iniarmenian = 0x053b; - t.Iocyrillic = 0x0401; - t.Iogonek = 0x012e; - t.Iota = 0x0399; - t.Iotaafrican = 0x0196; - t.Iotadieresis = 0x03aa; - t.Iotatonos = 0x038a; - t.Ismall = 0xf769; - t.Istroke = 0x0197; - t.Itilde = 0x0128; - t.Itildebelow = 0x1e2c; - t.Izhitsacyrillic = 0x0474; - t.Izhitsadblgravecyrillic = 0x0476; - t.J = 0x004a; - t.Jaarmenian = 0x0541; - t.Jcircle = 0x24bf; - t.Jcircumflex = 0x0134; - t.Jecyrillic = 0x0408; - t.Jheharmenian = 0x054b; - t.Jmonospace = 0xff2a; - t.Jsmall = 0xf76a; - t.K = 0x004b; - t.KBsquare = 0x3385; - t.KKsquare = 0x33cd; - t.Kabashkircyrillic = 0x04a0; - t.Kacute = 0x1e30; - t.Kacyrillic = 0x041a; - t.Kadescendercyrillic = 0x049a; - t.Kahookcyrillic = 0x04c3; - t.Kappa = 0x039a; - t.Kastrokecyrillic = 0x049e; - t.Kaverticalstrokecyrillic = 0x049c; - t.Kcaron = 0x01e8; - t.Kcedilla = 0x0136; - t.Kcircle = 0x24c0; - t.Kcommaaccent = 0x0136; - t.Kdotbelow = 0x1e32; - t.Keharmenian = 0x0554; - t.Kenarmenian = 0x053f; - t.Khacyrillic = 0x0425; - t.Kheicoptic = 0x03e6; - t.Khook = 0x0198; - t.Kjecyrillic = 0x040c; - t.Klinebelow = 0x1e34; - t.Kmonospace = 0xff2b; - t.Koppacyrillic = 0x0480; - t.Koppagreek = 0x03de; - t.Ksicyrillic = 0x046e; - t.Ksmall = 0xf76b; - t.L = 0x004c; - t.LJ = 0x01c7; - t.LL = 0xf6bf; - t.Lacute = 0x0139; - t.Lambda = 0x039b; - t.Lcaron = 0x013d; - t.Lcedilla = 0x013b; - t.Lcircle = 0x24c1; - t.Lcircumflexbelow = 0x1e3c; - t.Lcommaaccent = 0x013b; - t.Ldot = 0x013f; - t.Ldotaccent = 0x013f; - t.Ldotbelow = 0x1e36; - t.Ldotbelowmacron = 0x1e38; - t.Liwnarmenian = 0x053c; - t.Lj = 0x01c8; - t.Ljecyrillic = 0x0409; - t.Llinebelow = 0x1e3a; - t.Lmonospace = 0xff2c; - t.Lslash = 0x0141; - t.Lslashsmall = 0xf6f9; - t.Lsmall = 0xf76c; - t.M = 0x004d; - t.MBsquare = 0x3386; - t.Macron = 0xf6d0; - t.Macronsmall = 0xf7af; - t.Macute = 0x1e3e; - t.Mcircle = 0x24c2; - t.Mdotaccent = 0x1e40; - t.Mdotbelow = 0x1e42; - t.Menarmenian = 0x0544; - t.Mmonospace = 0xff2d; - t.Msmall = 0xf76d; - t.Mturned = 0x019c; - t.Mu = 0x039c; - t.N = 0x004e; - t.NJ = 0x01ca; - t.Nacute = 0x0143; - t.Ncaron = 0x0147; - t.Ncedilla = 0x0145; - t.Ncircle = 0x24c3; - t.Ncircumflexbelow = 0x1e4a; - t.Ncommaaccent = 0x0145; - t.Ndotaccent = 0x1e44; - t.Ndotbelow = 0x1e46; - t.Nhookleft = 0x019d; - t.Nineroman = 0x2168; - t.Nj = 0x01cb; - t.Njecyrillic = 0x040a; - t.Nlinebelow = 0x1e48; - t.Nmonospace = 0xff2e; - t.Nowarmenian = 0x0546; - t.Nsmall = 0xf76e; - t.Ntilde = 0x00d1; - t.Ntildesmall = 0xf7f1; - t.Nu = 0x039d; - t.O = 0x004f; - t.OE = 0x0152; - t.OEsmall = 0xf6fa; - t.Oacute = 0x00d3; - t.Oacutesmall = 0xf7f3; - t.Obarredcyrillic = 0x04e8; - t.Obarreddieresiscyrillic = 0x04ea; - t.Obreve = 0x014e; - t.Ocaron = 0x01d1; - t.Ocenteredtilde = 0x019f; - t.Ocircle = 0x24c4; - t.Ocircumflex = 0x00d4; - t.Ocircumflexacute = 0x1ed0; - t.Ocircumflexdotbelow = 0x1ed8; - t.Ocircumflexgrave = 0x1ed2; - t.Ocircumflexhookabove = 0x1ed4; - t.Ocircumflexsmall = 0xf7f4; - t.Ocircumflextilde = 0x1ed6; - t.Ocyrillic = 0x041e; - t.Odblacute = 0x0150; - t.Odblgrave = 0x020c; - t.Odieresis = 0x00d6; - t.Odieresiscyrillic = 0x04e6; - t.Odieresissmall = 0xf7f6; - t.Odotbelow = 0x1ecc; - t.Ogoneksmall = 0xf6fb; - t.Ograve = 0x00d2; - t.Ogravesmall = 0xf7f2; - t.Oharmenian = 0x0555; - t.Ohm = 0x2126; - t.Ohookabove = 0x1ece; - t.Ohorn = 0x01a0; - t.Ohornacute = 0x1eda; - t.Ohorndotbelow = 0x1ee2; - t.Ohorngrave = 0x1edc; - t.Ohornhookabove = 0x1ede; - t.Ohorntilde = 0x1ee0; - t.Ohungarumlaut = 0x0150; - t.Oi = 0x01a2; - t.Oinvertedbreve = 0x020e; - t.Omacron = 0x014c; - t.Omacronacute = 0x1e52; - t.Omacrongrave = 0x1e50; - t.Omega = 0x2126; - t.Omegacyrillic = 0x0460; - t.Omegagreek = 0x03a9; - t.Omegaroundcyrillic = 0x047a; - t.Omegatitlocyrillic = 0x047c; - t.Omegatonos = 0x038f; - t.Omicron = 0x039f; - t.Omicrontonos = 0x038c; - t.Omonospace = 0xff2f; - t.Oneroman = 0x2160; - t.Oogonek = 0x01ea; - t.Oogonekmacron = 0x01ec; - t.Oopen = 0x0186; - t.Oslash = 0x00d8; - t.Oslashacute = 0x01fe; - t.Oslashsmall = 0xf7f8; - t.Osmall = 0xf76f; - t.Ostrokeacute = 0x01fe; - t.Otcyrillic = 0x047e; - t.Otilde = 0x00d5; - t.Otildeacute = 0x1e4c; - t.Otildedieresis = 0x1e4e; - t.Otildesmall = 0xf7f5; - t.P = 0x0050; - t.Pacute = 0x1e54; - t.Pcircle = 0x24c5; - t.Pdotaccent = 0x1e56; - t.Pecyrillic = 0x041f; - t.Peharmenian = 0x054a; - t.Pemiddlehookcyrillic = 0x04a6; - t.Phi = 0x03a6; - t.Phook = 0x01a4; - t.Pi = 0x03a0; - t.Piwrarmenian = 0x0553; - t.Pmonospace = 0xff30; - t.Psi = 0x03a8; - t.Psicyrillic = 0x0470; - t.Psmall = 0xf770; - t.Q = 0x0051; - t.Qcircle = 0x24c6; - t.Qmonospace = 0xff31; - t.Qsmall = 0xf771; - t.R = 0x0052; - t.Raarmenian = 0x054c; - t.Racute = 0x0154; - t.Rcaron = 0x0158; - t.Rcedilla = 0x0156; - t.Rcircle = 0x24c7; - t.Rcommaaccent = 0x0156; - t.Rdblgrave = 0x0210; - t.Rdotaccent = 0x1e58; - t.Rdotbelow = 0x1e5a; - t.Rdotbelowmacron = 0x1e5c; - t.Reharmenian = 0x0550; - t.Rfraktur = 0x211c; - t.Rho = 0x03a1; - t.Ringsmall = 0xf6fc; - t.Rinvertedbreve = 0x0212; - t.Rlinebelow = 0x1e5e; - t.Rmonospace = 0xff32; - t.Rsmall = 0xf772; - t.Rsmallinverted = 0x0281; - t.Rsmallinvertedsuperior = 0x02b6; - t.S = 0x0053; - t.SF010000 = 0x250c; - t.SF020000 = 0x2514; - t.SF030000 = 0x2510; - t.SF040000 = 0x2518; - t.SF050000 = 0x253c; - t.SF060000 = 0x252c; - t.SF070000 = 0x2534; - t.SF080000 = 0x251c; - t.SF090000 = 0x2524; - t.SF100000 = 0x2500; - t.SF110000 = 0x2502; - t.SF190000 = 0x2561; - t.SF200000 = 0x2562; - t.SF210000 = 0x2556; - t.SF220000 = 0x2555; - t.SF230000 = 0x2563; - t.SF240000 = 0x2551; - t.SF250000 = 0x2557; - t.SF260000 = 0x255d; - t.SF270000 = 0x255c; - t.SF280000 = 0x255b; - t.SF360000 = 0x255e; - t.SF370000 = 0x255f; - t.SF380000 = 0x255a; - t.SF390000 = 0x2554; - t.SF400000 = 0x2569; - t.SF410000 = 0x2566; - t.SF420000 = 0x2560; - t.SF430000 = 0x2550; - t.SF440000 = 0x256c; - t.SF450000 = 0x2567; - t.SF460000 = 0x2568; - t.SF470000 = 0x2564; - t.SF480000 = 0x2565; - t.SF490000 = 0x2559; - t.SF500000 = 0x2558; - t.SF510000 = 0x2552; - t.SF520000 = 0x2553; - t.SF530000 = 0x256b; - t.SF540000 = 0x256a; - t.Sacute = 0x015a; - t.Sacutedotaccent = 0x1e64; - t.Sampigreek = 0x03e0; - t.Scaron = 0x0160; - t.Scarondotaccent = 0x1e66; - t.Scaronsmall = 0xf6fd; - t.Scedilla = 0x015e; - t.Schwa = 0x018f; - t.Schwacyrillic = 0x04d8; - t.Schwadieresiscyrillic = 0x04da; - t.Scircle = 0x24c8; - t.Scircumflex = 0x015c; - t.Scommaaccent = 0x0218; - t.Sdotaccent = 0x1e60; - t.Sdotbelow = 0x1e62; - t.Sdotbelowdotaccent = 0x1e68; - t.Seharmenian = 0x054d; - t.Sevenroman = 0x2166; - t.Shaarmenian = 0x0547; - t.Shacyrillic = 0x0428; - t.Shchacyrillic = 0x0429; - t.Sheicoptic = 0x03e2; - t.Shhacyrillic = 0x04ba; - t.Shimacoptic = 0x03ec; - t.Sigma = 0x03a3; - t.Sixroman = 0x2165; - t.Smonospace = 0xff33; - t.Softsigncyrillic = 0x042c; - t.Ssmall = 0xf773; - t.Stigmagreek = 0x03da; - t.T = 0x0054; - t.Tau = 0x03a4; - t.Tbar = 0x0166; - t.Tcaron = 0x0164; - t.Tcedilla = 0x0162; - t.Tcircle = 0x24c9; - t.Tcircumflexbelow = 0x1e70; - t.Tcommaaccent = 0x0162; - t.Tdotaccent = 0x1e6a; - t.Tdotbelow = 0x1e6c; - t.Tecyrillic = 0x0422; - t.Tedescendercyrillic = 0x04ac; - t.Tenroman = 0x2169; - t.Tetsecyrillic = 0x04b4; - t.Theta = 0x0398; - t.Thook = 0x01ac; - t.Thorn = 0x00de; - t.Thornsmall = 0xf7fe; - t.Threeroman = 0x2162; - t.Tildesmall = 0xf6fe; - t.Tiwnarmenian = 0x054f; - t.Tlinebelow = 0x1e6e; - t.Tmonospace = 0xff34; - t.Toarmenian = 0x0539; - t.Tonefive = 0x01bc; - t.Tonesix = 0x0184; - t.Tonetwo = 0x01a7; - t.Tretroflexhook = 0x01ae; - t.Tsecyrillic = 0x0426; - t.Tshecyrillic = 0x040b; - t.Tsmall = 0xf774; - t.Twelveroman = 0x216b; - t.Tworoman = 0x2161; - t.U = 0x0055; - t.Uacute = 0x00da; - t.Uacutesmall = 0xf7fa; - t.Ubreve = 0x016c; - t.Ucaron = 0x01d3; - t.Ucircle = 0x24ca; - t.Ucircumflex = 0x00db; - t.Ucircumflexbelow = 0x1e76; - t.Ucircumflexsmall = 0xf7fb; - t.Ucyrillic = 0x0423; - t.Udblacute = 0x0170; - t.Udblgrave = 0x0214; - t.Udieresis = 0x00dc; - t.Udieresisacute = 0x01d7; - t.Udieresisbelow = 0x1e72; - t.Udieresiscaron = 0x01d9; - t.Udieresiscyrillic = 0x04f0; - t.Udieresisgrave = 0x01db; - t.Udieresismacron = 0x01d5; - t.Udieresissmall = 0xf7fc; - t.Udotbelow = 0x1ee4; - t.Ugrave = 0x00d9; - t.Ugravesmall = 0xf7f9; - t.Uhookabove = 0x1ee6; - t.Uhorn = 0x01af; - t.Uhornacute = 0x1ee8; - t.Uhorndotbelow = 0x1ef0; - t.Uhorngrave = 0x1eea; - t.Uhornhookabove = 0x1eec; - t.Uhorntilde = 0x1eee; - t.Uhungarumlaut = 0x0170; - t.Uhungarumlautcyrillic = 0x04f2; - t.Uinvertedbreve = 0x0216; - t.Ukcyrillic = 0x0478; - t.Umacron = 0x016a; - t.Umacroncyrillic = 0x04ee; - t.Umacrondieresis = 0x1e7a; - t.Umonospace = 0xff35; - t.Uogonek = 0x0172; - t.Upsilon = 0x03a5; - t.Upsilon1 = 0x03d2; - t.Upsilonacutehooksymbolgreek = 0x03d3; - t.Upsilonafrican = 0x01b1; - t.Upsilondieresis = 0x03ab; - t.Upsilondieresishooksymbolgreek = 0x03d4; - t.Upsilonhooksymbol = 0x03d2; - t.Upsilontonos = 0x038e; - t.Uring = 0x016e; - t.Ushortcyrillic = 0x040e; - t.Usmall = 0xf775; - t.Ustraightcyrillic = 0x04ae; - t.Ustraightstrokecyrillic = 0x04b0; - t.Utilde = 0x0168; - t.Utildeacute = 0x1e78; - t.Utildebelow = 0x1e74; - t.V = 0x0056; - t.Vcircle = 0x24cb; - t.Vdotbelow = 0x1e7e; - t.Vecyrillic = 0x0412; - t.Vewarmenian = 0x054e; - t.Vhook = 0x01b2; - t.Vmonospace = 0xff36; - t.Voarmenian = 0x0548; - t.Vsmall = 0xf776; - t.Vtilde = 0x1e7c; - t.W = 0x0057; - t.Wacute = 0x1e82; - t.Wcircle = 0x24cc; - t.Wcircumflex = 0x0174; - t.Wdieresis = 0x1e84; - t.Wdotaccent = 0x1e86; - t.Wdotbelow = 0x1e88; - t.Wgrave = 0x1e80; - t.Wmonospace = 0xff37; - t.Wsmall = 0xf777; - t.X = 0x0058; - t.Xcircle = 0x24cd; - t.Xdieresis = 0x1e8c; - t.Xdotaccent = 0x1e8a; - t.Xeharmenian = 0x053d; - t.Xi = 0x039e; - t.Xmonospace = 0xff38; - t.Xsmall = 0xf778; - t.Y = 0x0059; - t.Yacute = 0x00dd; - t.Yacutesmall = 0xf7fd; - t.Yatcyrillic = 0x0462; - t.Ycircle = 0x24ce; - t.Ycircumflex = 0x0176; - t.Ydieresis = 0x0178; - t.Ydieresissmall = 0xf7ff; - t.Ydotaccent = 0x1e8e; - t.Ydotbelow = 0x1ef4; - t.Yericyrillic = 0x042b; - t.Yerudieresiscyrillic = 0x04f8; - t.Ygrave = 0x1ef2; - t.Yhook = 0x01b3; - t.Yhookabove = 0x1ef6; - t.Yiarmenian = 0x0545; - t.Yicyrillic = 0x0407; - t.Yiwnarmenian = 0x0552; - t.Ymonospace = 0xff39; - t.Ysmall = 0xf779; - t.Ytilde = 0x1ef8; - t.Yusbigcyrillic = 0x046a; - t.Yusbigiotifiedcyrillic = 0x046c; - t.Yuslittlecyrillic = 0x0466; - t.Yuslittleiotifiedcyrillic = 0x0468; - t.Z = 0x005a; - t.Zaarmenian = 0x0536; - t.Zacute = 0x0179; - t.Zcaron = 0x017d; - t.Zcaronsmall = 0xf6ff; - t.Zcircle = 0x24cf; - t.Zcircumflex = 0x1e90; - t.Zdot = 0x017b; - t.Zdotaccent = 0x017b; - t.Zdotbelow = 0x1e92; - t.Zecyrillic = 0x0417; - t.Zedescendercyrillic = 0x0498; - t.Zedieresiscyrillic = 0x04de; - t.Zeta = 0x0396; - t.Zhearmenian = 0x053a; - t.Zhebrevecyrillic = 0x04c1; - t.Zhecyrillic = 0x0416; - t.Zhedescendercyrillic = 0x0496; - t.Zhedieresiscyrillic = 0x04dc; - t.Zlinebelow = 0x1e94; - t.Zmonospace = 0xff3a; - t.Zsmall = 0xf77a; - t.Zstroke = 0x01b5; - t.a = 0x0061; - t.aabengali = 0x0986; - t.aacute = 0x00e1; - t.aadeva = 0x0906; - t.aagujarati = 0x0a86; - t.aagurmukhi = 0x0a06; - t.aamatragurmukhi = 0x0a3e; - t.aarusquare = 0x3303; - t.aavowelsignbengali = 0x09be; - t.aavowelsigndeva = 0x093e; - t.aavowelsigngujarati = 0x0abe; - t.abbreviationmarkarmenian = 0x055f; - t.abbreviationsigndeva = 0x0970; - t.abengali = 0x0985; - t.abopomofo = 0x311a; - t.abreve = 0x0103; - t.abreveacute = 0x1eaf; - t.abrevecyrillic = 0x04d1; - t.abrevedotbelow = 0x1eb7; - t.abrevegrave = 0x1eb1; - t.abrevehookabove = 0x1eb3; - t.abrevetilde = 0x1eb5; - t.acaron = 0x01ce; - t.acircle = 0x24d0; - t.acircumflex = 0x00e2; - t.acircumflexacute = 0x1ea5; - t.acircumflexdotbelow = 0x1ead; - t.acircumflexgrave = 0x1ea7; - t.acircumflexhookabove = 0x1ea9; - t.acircumflextilde = 0x1eab; - t.acute = 0x00b4; - t.acutebelowcmb = 0x0317; - t.acutecmb = 0x0301; - t.acutecomb = 0x0301; - t.acutedeva = 0x0954; - t.acutelowmod = 0x02cf; - t.acutetonecmb = 0x0341; - t.acyrillic = 0x0430; - t.adblgrave = 0x0201; - t.addakgurmukhi = 0x0a71; - t.adeva = 0x0905; - t.adieresis = 0x00e4; - t.adieresiscyrillic = 0x04d3; - t.adieresismacron = 0x01df; - t.adotbelow = 0x1ea1; - t.adotmacron = 0x01e1; - t.ae = 0x00e6; - t.aeacute = 0x01fd; - t.aekorean = 0x3150; - t.aemacron = 0x01e3; - t.afii00208 = 0x2015; - t.afii08941 = 0x20a4; - t.afii10017 = 0x0410; - t.afii10018 = 0x0411; - t.afii10019 = 0x0412; - t.afii10020 = 0x0413; - t.afii10021 = 0x0414; - t.afii10022 = 0x0415; - t.afii10023 = 0x0401; - t.afii10024 = 0x0416; - t.afii10025 = 0x0417; - t.afii10026 = 0x0418; - t.afii10027 = 0x0419; - t.afii10028 = 0x041a; - t.afii10029 = 0x041b; - t.afii10030 = 0x041c; - t.afii10031 = 0x041d; - t.afii10032 = 0x041e; - t.afii10033 = 0x041f; - t.afii10034 = 0x0420; - t.afii10035 = 0x0421; - t.afii10036 = 0x0422; - t.afii10037 = 0x0423; - t.afii10038 = 0x0424; - t.afii10039 = 0x0425; - t.afii10040 = 0x0426; - t.afii10041 = 0x0427; - t.afii10042 = 0x0428; - t.afii10043 = 0x0429; - t.afii10044 = 0x042a; - t.afii10045 = 0x042b; - t.afii10046 = 0x042c; - t.afii10047 = 0x042d; - t.afii10048 = 0x042e; - t.afii10049 = 0x042f; - t.afii10050 = 0x0490; - t.afii10051 = 0x0402; - t.afii10052 = 0x0403; - t.afii10053 = 0x0404; - t.afii10054 = 0x0405; - t.afii10055 = 0x0406; - t.afii10056 = 0x0407; - t.afii10057 = 0x0408; - t.afii10058 = 0x0409; - t.afii10059 = 0x040a; - t.afii10060 = 0x040b; - t.afii10061 = 0x040c; - t.afii10062 = 0x040e; - t.afii10063 = 0xf6c4; - t.afii10064 = 0xf6c5; - t.afii10065 = 0x0430; - t.afii10066 = 0x0431; - t.afii10067 = 0x0432; - t.afii10068 = 0x0433; - t.afii10069 = 0x0434; - t.afii10070 = 0x0435; - t.afii10071 = 0x0451; - t.afii10072 = 0x0436; - t.afii10073 = 0x0437; - t.afii10074 = 0x0438; - t.afii10075 = 0x0439; - t.afii10076 = 0x043a; - t.afii10077 = 0x043b; - t.afii10078 = 0x043c; - t.afii10079 = 0x043d; - t.afii10080 = 0x043e; - t.afii10081 = 0x043f; - t.afii10082 = 0x0440; - t.afii10083 = 0x0441; - t.afii10084 = 0x0442; - t.afii10085 = 0x0443; - t.afii10086 = 0x0444; - t.afii10087 = 0x0445; - t.afii10088 = 0x0446; - t.afii10089 = 0x0447; - t.afii10090 = 0x0448; - t.afii10091 = 0x0449; - t.afii10092 = 0x044a; - t.afii10093 = 0x044b; - t.afii10094 = 0x044c; - t.afii10095 = 0x044d; - t.afii10096 = 0x044e; - t.afii10097 = 0x044f; - t.afii10098 = 0x0491; - t.afii10099 = 0x0452; - t.afii10100 = 0x0453; - t.afii10101 = 0x0454; - t.afii10102 = 0x0455; - t.afii10103 = 0x0456; - t.afii10104 = 0x0457; - t.afii10105 = 0x0458; - t.afii10106 = 0x0459; - t.afii10107 = 0x045a; - t.afii10108 = 0x045b; - t.afii10109 = 0x045c; - t.afii10110 = 0x045e; - t.afii10145 = 0x040f; - t.afii10146 = 0x0462; - t.afii10147 = 0x0472; - t.afii10148 = 0x0474; - t.afii10192 = 0xf6c6; - t.afii10193 = 0x045f; - t.afii10194 = 0x0463; - t.afii10195 = 0x0473; - t.afii10196 = 0x0475; - t.afii10831 = 0xf6c7; - t.afii10832 = 0xf6c8; - t.afii10846 = 0x04d9; - t.afii299 = 0x200e; - t.afii300 = 0x200f; - t.afii301 = 0x200d; - t.afii57381 = 0x066a; - t.afii57388 = 0x060c; - t.afii57392 = 0x0660; - t.afii57393 = 0x0661; - t.afii57394 = 0x0662; - t.afii57395 = 0x0663; - t.afii57396 = 0x0664; - t.afii57397 = 0x0665; - t.afii57398 = 0x0666; - t.afii57399 = 0x0667; - t.afii57400 = 0x0668; - t.afii57401 = 0x0669; - t.afii57403 = 0x061b; - t.afii57407 = 0x061f; - t.afii57409 = 0x0621; - t.afii57410 = 0x0622; - t.afii57411 = 0x0623; - t.afii57412 = 0x0624; - t.afii57413 = 0x0625; - t.afii57414 = 0x0626; - t.afii57415 = 0x0627; - t.afii57416 = 0x0628; - t.afii57417 = 0x0629; - t.afii57418 = 0x062a; - t.afii57419 = 0x062b; - t.afii57420 = 0x062c; - t.afii57421 = 0x062d; - t.afii57422 = 0x062e; - t.afii57423 = 0x062f; - t.afii57424 = 0x0630; - t.afii57425 = 0x0631; - t.afii57426 = 0x0632; - t.afii57427 = 0x0633; - t.afii57428 = 0x0634; - t.afii57429 = 0x0635; - t.afii57430 = 0x0636; - t.afii57431 = 0x0637; - t.afii57432 = 0x0638; - t.afii57433 = 0x0639; - t.afii57434 = 0x063a; - t.afii57440 = 0x0640; - t.afii57441 = 0x0641; - t.afii57442 = 0x0642; - t.afii57443 = 0x0643; - t.afii57444 = 0x0644; - t.afii57445 = 0x0645; - t.afii57446 = 0x0646; - t.afii57448 = 0x0648; - t.afii57449 = 0x0649; - t.afii57450 = 0x064a; - t.afii57451 = 0x064b; - t.afii57452 = 0x064c; - t.afii57453 = 0x064d; - t.afii57454 = 0x064e; - t.afii57455 = 0x064f; - t.afii57456 = 0x0650; - t.afii57457 = 0x0651; - t.afii57458 = 0x0652; - t.afii57470 = 0x0647; - t.afii57505 = 0x06a4; - t.afii57506 = 0x067e; - t.afii57507 = 0x0686; - t.afii57508 = 0x0698; - t.afii57509 = 0x06af; - t.afii57511 = 0x0679; - t.afii57512 = 0x0688; - t.afii57513 = 0x0691; - t.afii57514 = 0x06ba; - t.afii57519 = 0x06d2; - t.afii57534 = 0x06d5; - t.afii57636 = 0x20aa; - t.afii57645 = 0x05be; - t.afii57658 = 0x05c3; - t.afii57664 = 0x05d0; - t.afii57665 = 0x05d1; - t.afii57666 = 0x05d2; - t.afii57667 = 0x05d3; - t.afii57668 = 0x05d4; - t.afii57669 = 0x05d5; - t.afii57670 = 0x05d6; - t.afii57671 = 0x05d7; - t.afii57672 = 0x05d8; - t.afii57673 = 0x05d9; - t.afii57674 = 0x05da; - t.afii57675 = 0x05db; - t.afii57676 = 0x05dc; - t.afii57677 = 0x05dd; - t.afii57678 = 0x05de; - t.afii57679 = 0x05df; - t.afii57680 = 0x05e0; - t.afii57681 = 0x05e1; - t.afii57682 = 0x05e2; - t.afii57683 = 0x05e3; - t.afii57684 = 0x05e4; - t.afii57685 = 0x05e5; - t.afii57686 = 0x05e6; - t.afii57687 = 0x05e7; - t.afii57688 = 0x05e8; - t.afii57689 = 0x05e9; - t.afii57690 = 0x05ea; - t.afii57694 = 0xfb2a; - t.afii57695 = 0xfb2b; - t.afii57700 = 0xfb4b; - t.afii57705 = 0xfb1f; - t.afii57716 = 0x05f0; - t.afii57717 = 0x05f1; - t.afii57718 = 0x05f2; - t.afii57723 = 0xfb35; - t.afii57793 = 0x05b4; - t.afii57794 = 0x05b5; - t.afii57795 = 0x05b6; - t.afii57796 = 0x05bb; - t.afii57797 = 0x05b8; - t.afii57798 = 0x05b7; - t.afii57799 = 0x05b0; - t.afii57800 = 0x05b2; - t.afii57801 = 0x05b1; - t.afii57802 = 0x05b3; - t.afii57803 = 0x05c2; - t.afii57804 = 0x05c1; - t.afii57806 = 0x05b9; - t.afii57807 = 0x05bc; - t.afii57839 = 0x05bd; - t.afii57841 = 0x05bf; - t.afii57842 = 0x05c0; - t.afii57929 = 0x02bc; - t.afii61248 = 0x2105; - t.afii61289 = 0x2113; - t.afii61352 = 0x2116; - t.afii61573 = 0x202c; - t.afii61574 = 0x202d; - t.afii61575 = 0x202e; - t.afii61664 = 0x200c; - t.afii63167 = 0x066d; - t.afii64937 = 0x02bd; - t.agrave = 0x00e0; - t.agujarati = 0x0a85; - t.agurmukhi = 0x0a05; - t.ahiragana = 0x3042; - t.ahookabove = 0x1ea3; - t.aibengali = 0x0990; - t.aibopomofo = 0x311e; - t.aideva = 0x0910; - t.aiecyrillic = 0x04d5; - t.aigujarati = 0x0a90; - t.aigurmukhi = 0x0a10; - t.aimatragurmukhi = 0x0a48; - t.ainarabic = 0x0639; - t.ainfinalarabic = 0xfeca; - t.aininitialarabic = 0xfecb; - t.ainmedialarabic = 0xfecc; - t.ainvertedbreve = 0x0203; - t.aivowelsignbengali = 0x09c8; - t.aivowelsigndeva = 0x0948; - t.aivowelsigngujarati = 0x0ac8; - t.akatakana = 0x30a2; - t.akatakanahalfwidth = 0xff71; - t.akorean = 0x314f; - t.alef = 0x05d0; - t.alefarabic = 0x0627; - t.alefdageshhebrew = 0xfb30; - t.aleffinalarabic = 0xfe8e; - t.alefhamzaabovearabic = 0x0623; - t.alefhamzaabovefinalarabic = 0xfe84; - t.alefhamzabelowarabic = 0x0625; - t.alefhamzabelowfinalarabic = 0xfe88; - t.alefhebrew = 0x05d0; - t.aleflamedhebrew = 0xfb4f; - t.alefmaddaabovearabic = 0x0622; - t.alefmaddaabovefinalarabic = 0xfe82; - t.alefmaksuraarabic = 0x0649; - t.alefmaksurafinalarabic = 0xfef0; - t.alefmaksurainitialarabic = 0xfef3; - t.alefmaksuramedialarabic = 0xfef4; - t.alefpatahhebrew = 0xfb2e; - t.alefqamatshebrew = 0xfb2f; - t.aleph = 0x2135; - t.allequal = 0x224c; - t.alpha = 0x03b1; - t.alphatonos = 0x03ac; - t.amacron = 0x0101; - t.amonospace = 0xff41; - t.ampersand = 0x0026; - t.ampersandmonospace = 0xff06; - t.ampersandsmall = 0xf726; - t.amsquare = 0x33c2; - t.anbopomofo = 0x3122; - t.angbopomofo = 0x3124; - t.angbracketleft = 0x3008; - t.angbracketright = 0x3009; - t.angkhankhuthai = 0x0e5a; - t.angle = 0x2220; - t.anglebracketleft = 0x3008; - t.anglebracketleftvertical = 0xfe3f; - t.anglebracketright = 0x3009; - t.anglebracketrightvertical = 0xfe40; - t.angleleft = 0x2329; - t.angleright = 0x232a; - t.angstrom = 0x212b; - t.anoteleia = 0x0387; - t.anudattadeva = 0x0952; - t.anusvarabengali = 0x0982; - t.anusvaradeva = 0x0902; - t.anusvaragujarati = 0x0a82; - t.aogonek = 0x0105; - t.apaatosquare = 0x3300; - t.aparen = 0x249c; - t.apostrophearmenian = 0x055a; - t.apostrophemod = 0x02bc; - t.apple = 0xf8ff; - t.approaches = 0x2250; - t.approxequal = 0x2248; - t.approxequalorimage = 0x2252; - t.approximatelyequal = 0x2245; - t.araeaekorean = 0x318e; - t.araeakorean = 0x318d; - t.arc = 0x2312; - t.arighthalfring = 0x1e9a; - t.aring = 0x00e5; - t.aringacute = 0x01fb; - t.aringbelow = 0x1e01; - t.arrowboth = 0x2194; - t.arrowdashdown = 0x21e3; - t.arrowdashleft = 0x21e0; - t.arrowdashright = 0x21e2; - t.arrowdashup = 0x21e1; - t.arrowdblboth = 0x21d4; - t.arrowdbldown = 0x21d3; - t.arrowdblleft = 0x21d0; - t.arrowdblright = 0x21d2; - t.arrowdblup = 0x21d1; - t.arrowdown = 0x2193; - t.arrowdownleft = 0x2199; - t.arrowdownright = 0x2198; - t.arrowdownwhite = 0x21e9; - t.arrowheaddownmod = 0x02c5; - t.arrowheadleftmod = 0x02c2; - t.arrowheadrightmod = 0x02c3; - t.arrowheadupmod = 0x02c4; - t.arrowhorizex = 0xf8e7; - t.arrowleft = 0x2190; - t.arrowleftdbl = 0x21d0; - t.arrowleftdblstroke = 0x21cd; - t.arrowleftoverright = 0x21c6; - t.arrowleftwhite = 0x21e6; - t.arrowright = 0x2192; - t.arrowrightdblstroke = 0x21cf; - t.arrowrightheavy = 0x279e; - t.arrowrightoverleft = 0x21c4; - t.arrowrightwhite = 0x21e8; - t.arrowtableft = 0x21e4; - t.arrowtabright = 0x21e5; - t.arrowup = 0x2191; - t.arrowupdn = 0x2195; - t.arrowupdnbse = 0x21a8; - t.arrowupdownbase = 0x21a8; - t.arrowupleft = 0x2196; - t.arrowupleftofdown = 0x21c5; - t.arrowupright = 0x2197; - t.arrowupwhite = 0x21e7; - t.arrowvertex = 0xf8e6; - t.asciicircum = 0x005e; - t.asciicircummonospace = 0xff3e; - t.asciitilde = 0x007e; - t.asciitildemonospace = 0xff5e; - t.ascript = 0x0251; - t.ascriptturned = 0x0252; - t.asmallhiragana = 0x3041; - t.asmallkatakana = 0x30a1; - t.asmallkatakanahalfwidth = 0xff67; - t.asterisk = 0x002a; - t.asteriskaltonearabic = 0x066d; - t.asteriskarabic = 0x066d; - t.asteriskmath = 0x2217; - t.asteriskmonospace = 0xff0a; - t.asterisksmall = 0xfe61; - t.asterism = 0x2042; - t.asuperior = 0xf6e9; - t.asymptoticallyequal = 0x2243; - t.at = 0x0040; - t.atilde = 0x00e3; - t.atmonospace = 0xff20; - t.atsmall = 0xfe6b; - t.aturned = 0x0250; - t.aubengali = 0x0994; - t.aubopomofo = 0x3120; - t.audeva = 0x0914; - t.augujarati = 0x0a94; - t.augurmukhi = 0x0a14; - t.aulengthmarkbengali = 0x09d7; - t.aumatragurmukhi = 0x0a4c; - t.auvowelsignbengali = 0x09cc; - t.auvowelsigndeva = 0x094c; - t.auvowelsigngujarati = 0x0acc; - t.avagrahadeva = 0x093d; - t.aybarmenian = 0x0561; - t.ayin = 0x05e2; - t.ayinaltonehebrew = 0xfb20; - t.ayinhebrew = 0x05e2; - t.b = 0x0062; - t.babengali = 0x09ac; - t.backslash = 0x005c; - t.backslashmonospace = 0xff3c; - t.badeva = 0x092c; - t.bagujarati = 0x0aac; - t.bagurmukhi = 0x0a2c; - t.bahiragana = 0x3070; - t.bahtthai = 0x0e3f; - t.bakatakana = 0x30d0; - t.bar = 0x007c; - t.barmonospace = 0xff5c; - t.bbopomofo = 0x3105; - t.bcircle = 0x24d1; - t.bdotaccent = 0x1e03; - t.bdotbelow = 0x1e05; - t.beamedsixteenthnotes = 0x266c; - t.because = 0x2235; - t.becyrillic = 0x0431; - t.beharabic = 0x0628; - t.behfinalarabic = 0xfe90; - t.behinitialarabic = 0xfe91; - t.behiragana = 0x3079; - t.behmedialarabic = 0xfe92; - t.behmeeminitialarabic = 0xfc9f; - t.behmeemisolatedarabic = 0xfc08; - t.behnoonfinalarabic = 0xfc6d; - t.bekatakana = 0x30d9; - t.benarmenian = 0x0562; - t.bet = 0x05d1; - t.beta = 0x03b2; - t.betasymbolgreek = 0x03d0; - t.betdagesh = 0xfb31; - t.betdageshhebrew = 0xfb31; - t.bethebrew = 0x05d1; - t.betrafehebrew = 0xfb4c; - t.bhabengali = 0x09ad; - t.bhadeva = 0x092d; - t.bhagujarati = 0x0aad; - t.bhagurmukhi = 0x0a2d; - t.bhook = 0x0253; - t.bihiragana = 0x3073; - t.bikatakana = 0x30d3; - t.bilabialclick = 0x0298; - t.bindigurmukhi = 0x0a02; - t.birusquare = 0x3331; - t.blackcircle = 0x25cf; - t.blackdiamond = 0x25c6; - t.blackdownpointingtriangle = 0x25bc; - t.blackleftpointingpointer = 0x25c4; - t.blackleftpointingtriangle = 0x25c0; - t.blacklenticularbracketleft = 0x3010; - t.blacklenticularbracketleftvertical = 0xfe3b; - t.blacklenticularbracketright = 0x3011; - t.blacklenticularbracketrightvertical = 0xfe3c; - t.blacklowerlefttriangle = 0x25e3; - t.blacklowerrighttriangle = 0x25e2; - t.blackrectangle = 0x25ac; - t.blackrightpointingpointer = 0x25ba; - t.blackrightpointingtriangle = 0x25b6; - t.blacksmallsquare = 0x25aa; - t.blacksmilingface = 0x263b; - t.blacksquare = 0x25a0; - t.blackstar = 0x2605; - t.blackupperlefttriangle = 0x25e4; - t.blackupperrighttriangle = 0x25e5; - t.blackuppointingsmalltriangle = 0x25b4; - t.blackuppointingtriangle = 0x25b2; - t.blank = 0x2423; - t.blinebelow = 0x1e07; - t.block = 0x2588; - t.bmonospace = 0xff42; - t.bobaimaithai = 0x0e1a; - t.bohiragana = 0x307c; - t.bokatakana = 0x30dc; - t.bparen = 0x249d; - t.bqsquare = 0x33c3; - t.braceex = 0xf8f4; - t.braceleft = 0x007b; - t.braceleftbt = 0xf8f3; - t.braceleftmid = 0xf8f2; - t.braceleftmonospace = 0xff5b; - t.braceleftsmall = 0xfe5b; - t.bracelefttp = 0xf8f1; - t.braceleftvertical = 0xfe37; - t.braceright = 0x007d; - t.bracerightbt = 0xf8fe; - t.bracerightmid = 0xf8fd; - t.bracerightmonospace = 0xff5d; - t.bracerightsmall = 0xfe5c; - t.bracerighttp = 0xf8fc; - t.bracerightvertical = 0xfe38; - t.bracketleft = 0x005b; - t.bracketleftbt = 0xf8f0; - t.bracketleftex = 0xf8ef; - t.bracketleftmonospace = 0xff3b; - t.bracketlefttp = 0xf8ee; - t.bracketright = 0x005d; - t.bracketrightbt = 0xf8fb; - t.bracketrightex = 0xf8fa; - t.bracketrightmonospace = 0xff3d; - t.bracketrighttp = 0xf8f9; - t.breve = 0x02d8; - t.brevebelowcmb = 0x032e; - t.brevecmb = 0x0306; - t.breveinvertedbelowcmb = 0x032f; - t.breveinvertedcmb = 0x0311; - t.breveinverteddoublecmb = 0x0361; - t.bridgebelowcmb = 0x032a; - t.bridgeinvertedbelowcmb = 0x033a; - t.brokenbar = 0x00a6; - t.bstroke = 0x0180; - t.bsuperior = 0xf6ea; - t.btopbar = 0x0183; - t.buhiragana = 0x3076; - t.bukatakana = 0x30d6; - t.bullet = 0x2022; - t.bulletinverse = 0x25d8; - t.bulletoperator = 0x2219; - t.bullseye = 0x25ce; - t.c = 0x0063; - t.caarmenian = 0x056e; - t.cabengali = 0x099a; - t.cacute = 0x0107; - t.cadeva = 0x091a; - t.cagujarati = 0x0a9a; - t.cagurmukhi = 0x0a1a; - t.calsquare = 0x3388; - t.candrabindubengali = 0x0981; - t.candrabinducmb = 0x0310; - t.candrabindudeva = 0x0901; - t.candrabindugujarati = 0x0a81; - t.capslock = 0x21ea; - t.careof = 0x2105; - t.caron = 0x02c7; - t.caronbelowcmb = 0x032c; - t.caroncmb = 0x030c; - t.carriagereturn = 0x21b5; - t.cbopomofo = 0x3118; - t.ccaron = 0x010d; - t.ccedilla = 0x00e7; - t.ccedillaacute = 0x1e09; - t.ccircle = 0x24d2; - t.ccircumflex = 0x0109; - t.ccurl = 0x0255; - t.cdot = 0x010b; - t.cdotaccent = 0x010b; - t.cdsquare = 0x33c5; - t.cedilla = 0x00b8; - t.cedillacmb = 0x0327; - t.cent = 0x00a2; - t.centigrade = 0x2103; - t.centinferior = 0xf6df; - t.centmonospace = 0xffe0; - t.centoldstyle = 0xf7a2; - t.centsuperior = 0xf6e0; - t.chaarmenian = 0x0579; - t.chabengali = 0x099b; - t.chadeva = 0x091b; - t.chagujarati = 0x0a9b; - t.chagurmukhi = 0x0a1b; - t.chbopomofo = 0x3114; - t.cheabkhasiancyrillic = 0x04bd; - t.checkmark = 0x2713; - t.checyrillic = 0x0447; - t.chedescenderabkhasiancyrillic = 0x04bf; - t.chedescendercyrillic = 0x04b7; - t.chedieresiscyrillic = 0x04f5; - t.cheharmenian = 0x0573; - t.chekhakassiancyrillic = 0x04cc; - t.cheverticalstrokecyrillic = 0x04b9; - t.chi = 0x03c7; - t.chieuchacirclekorean = 0x3277; - t.chieuchaparenkorean = 0x3217; - t.chieuchcirclekorean = 0x3269; - t.chieuchkorean = 0x314a; - t.chieuchparenkorean = 0x3209; - t.chochangthai = 0x0e0a; - t.chochanthai = 0x0e08; - t.chochingthai = 0x0e09; - t.chochoethai = 0x0e0c; - t.chook = 0x0188; - t.cieucacirclekorean = 0x3276; - t.cieucaparenkorean = 0x3216; - t.cieuccirclekorean = 0x3268; - t.cieuckorean = 0x3148; - t.cieucparenkorean = 0x3208; - t.cieucuparenkorean = 0x321c; - t.circle = 0x25cb; - t.circlecopyrt = 0x00a9; - t.circlemultiply = 0x2297; - t.circleot = 0x2299; - t.circleplus = 0x2295; - t.circlepostalmark = 0x3036; - t.circlewithlefthalfblack = 0x25d0; - t.circlewithrighthalfblack = 0x25d1; - t.circumflex = 0x02c6; - t.circumflexbelowcmb = 0x032d; - t.circumflexcmb = 0x0302; - t.clear = 0x2327; - t.clickalveolar = 0x01c2; - t.clickdental = 0x01c0; - t.clicklateral = 0x01c1; - t.clickretroflex = 0x01c3; - t.club = 0x2663; - t.clubsuitblack = 0x2663; - t.clubsuitwhite = 0x2667; - t.cmcubedsquare = 0x33a4; - t.cmonospace = 0xff43; - t.cmsquaredsquare = 0x33a0; - t.coarmenian = 0x0581; - t.colon = 0x003a; - t.colonmonetary = 0x20a1; - t.colonmonospace = 0xff1a; - t.colonsign = 0x20a1; - t.colonsmall = 0xfe55; - t.colontriangularhalfmod = 0x02d1; - t.colontriangularmod = 0x02d0; - t.comma = 0x002c; - t.commaabovecmb = 0x0313; - t.commaaboverightcmb = 0x0315; - t.commaaccent = 0xf6c3; - t.commaarabic = 0x060c; - t.commaarmenian = 0x055d; - t.commainferior = 0xf6e1; - t.commamonospace = 0xff0c; - t.commareversedabovecmb = 0x0314; - t.commareversedmod = 0x02bd; - t.commasmall = 0xfe50; - t.commasuperior = 0xf6e2; - t.commaturnedabovecmb = 0x0312; - t.commaturnedmod = 0x02bb; - t.compass = 0x263c; - t.congruent = 0x2245; - t.contourintegral = 0x222e; - t.control = 0x2303; - t.controlACK = 0x0006; - t.controlBEL = 0x0007; - t.controlBS = 0x0008; - t.controlCAN = 0x0018; - t.controlCR = 0x000d; - t.controlDC1 = 0x0011; - t.controlDC2 = 0x0012; - t.controlDC3 = 0x0013; - t.controlDC4 = 0x0014; - t.controlDEL = 0x007f; - t.controlDLE = 0x0010; - t.controlEM = 0x0019; - t.controlENQ = 0x0005; - t.controlEOT = 0x0004; - t.controlESC = 0x001b; - t.controlETB = 0x0017; - t.controlETX = 0x0003; - t.controlFF = 0x000c; - t.controlFS = 0x001c; - t.controlGS = 0x001d; - t.controlHT = 0x0009; - t.controlLF = 0x000a; - t.controlNAK = 0x0015; - t.controlNULL = 0x0000; - t.controlRS = 0x001e; - t.controlSI = 0x000f; - t.controlSO = 0x000e; - t.controlSOT = 0x0002; - t.controlSTX = 0x0001; - t.controlSUB = 0x001a; - t.controlSYN = 0x0016; - t.controlUS = 0x001f; - t.controlVT = 0x000b; - t.copyright = 0x00a9; - t.copyrightsans = 0xf8e9; - t.copyrightserif = 0xf6d9; - t.cornerbracketleft = 0x300c; - t.cornerbracketlefthalfwidth = 0xff62; - t.cornerbracketleftvertical = 0xfe41; - t.cornerbracketright = 0x300d; - t.cornerbracketrighthalfwidth = 0xff63; - t.cornerbracketrightvertical = 0xfe42; - t.corporationsquare = 0x337f; - t.cosquare = 0x33c7; - t.coverkgsquare = 0x33c6; - t.cparen = 0x249e; - t.cruzeiro = 0x20a2; - t.cstretched = 0x0297; - t.curlyand = 0x22cf; - t.curlyor = 0x22ce; - t.currency = 0x00a4; - t.cyrBreve = 0xf6d1; - t.cyrFlex = 0xf6d2; - t.cyrbreve = 0xf6d4; - t.cyrflex = 0xf6d5; - t.d = 0x0064; - t.daarmenian = 0x0564; - t.dabengali = 0x09a6; - t.dadarabic = 0x0636; - t.dadeva = 0x0926; - t.dadfinalarabic = 0xfebe; - t.dadinitialarabic = 0xfebf; - t.dadmedialarabic = 0xfec0; - t.dagesh = 0x05bc; - t.dageshhebrew = 0x05bc; - t.dagger = 0x2020; - t.daggerdbl = 0x2021; - t.dagujarati = 0x0aa6; - t.dagurmukhi = 0x0a26; - t.dahiragana = 0x3060; - t.dakatakana = 0x30c0; - t.dalarabic = 0x062f; - t.dalet = 0x05d3; - t.daletdagesh = 0xfb33; - t.daletdageshhebrew = 0xfb33; - t.dalethebrew = 0x05d3; - t.dalfinalarabic = 0xfeaa; - t.dammaarabic = 0x064f; - t.dammalowarabic = 0x064f; - t.dammatanaltonearabic = 0x064c; - t.dammatanarabic = 0x064c; - t.danda = 0x0964; - t.dargahebrew = 0x05a7; - t.dargalefthebrew = 0x05a7; - t.dasiapneumatacyrilliccmb = 0x0485; - t.dblGrave = 0xf6d3; - t.dblanglebracketleft = 0x300a; - t.dblanglebracketleftvertical = 0xfe3d; - t.dblanglebracketright = 0x300b; - t.dblanglebracketrightvertical = 0xfe3e; - t.dblarchinvertedbelowcmb = 0x032b; - t.dblarrowleft = 0x21d4; - t.dblarrowright = 0x21d2; - t.dbldanda = 0x0965; - t.dblgrave = 0xf6d6; - t.dblgravecmb = 0x030f; - t.dblintegral = 0x222c; - t.dbllowline = 0x2017; - t.dbllowlinecmb = 0x0333; - t.dbloverlinecmb = 0x033f; - t.dblprimemod = 0x02ba; - t.dblverticalbar = 0x2016; - t.dblverticallineabovecmb = 0x030e; - t.dbopomofo = 0x3109; - t.dbsquare = 0x33c8; - t.dcaron = 0x010f; - t.dcedilla = 0x1e11; - t.dcircle = 0x24d3; - t.dcircumflexbelow = 0x1e13; - t.dcroat = 0x0111; - t.ddabengali = 0x09a1; - t.ddadeva = 0x0921; - t.ddagujarati = 0x0aa1; - t.ddagurmukhi = 0x0a21; - t.ddalarabic = 0x0688; - t.ddalfinalarabic = 0xfb89; - t.dddhadeva = 0x095c; - t.ddhabengali = 0x09a2; - t.ddhadeva = 0x0922; - t.ddhagujarati = 0x0aa2; - t.ddhagurmukhi = 0x0a22; - t.ddotaccent = 0x1e0b; - t.ddotbelow = 0x1e0d; - t.decimalseparatorarabic = 0x066b; - t.decimalseparatorpersian = 0x066b; - t.decyrillic = 0x0434; - t.degree = 0x00b0; - t.dehihebrew = 0x05ad; - t.dehiragana = 0x3067; - t.deicoptic = 0x03ef; - t.dekatakana = 0x30c7; - t.deleteleft = 0x232b; - t.deleteright = 0x2326; - t.delta = 0x03b4; - t.deltaturned = 0x018d; - t.denominatorminusonenumeratorbengali = 0x09f8; - t.dezh = 0x02a4; - t.dhabengali = 0x09a7; - t.dhadeva = 0x0927; - t.dhagujarati = 0x0aa7; - t.dhagurmukhi = 0x0a27; - t.dhook = 0x0257; - t.dialytikatonos = 0x0385; - t.dialytikatonoscmb = 0x0344; - t.diamond = 0x2666; - t.diamondsuitwhite = 0x2662; - t.dieresis = 0x00a8; - t.dieresisacute = 0xf6d7; - t.dieresisbelowcmb = 0x0324; - t.dieresiscmb = 0x0308; - t.dieresisgrave = 0xf6d8; - t.dieresistonos = 0x0385; - t.dihiragana = 0x3062; - t.dikatakana = 0x30c2; - t.dittomark = 0x3003; - t.divide = 0x00f7; - t.divides = 0x2223; - t.divisionslash = 0x2215; - t.djecyrillic = 0x0452; - t.dkshade = 0x2593; - t.dlinebelow = 0x1e0f; - t.dlsquare = 0x3397; - t.dmacron = 0x0111; - t.dmonospace = 0xff44; - t.dnblock = 0x2584; - t.dochadathai = 0x0e0e; - t.dodekthai = 0x0e14; - t.dohiragana = 0x3069; - t.dokatakana = 0x30c9; - t.dollar = 0x0024; - t.dollarinferior = 0xf6e3; - t.dollarmonospace = 0xff04; - t.dollaroldstyle = 0xf724; - t.dollarsmall = 0xfe69; - t.dollarsuperior = 0xf6e4; - t.dong = 0x20ab; - t.dorusquare = 0x3326; - t.dotaccent = 0x02d9; - t.dotaccentcmb = 0x0307; - t.dotbelowcmb = 0x0323; - t.dotbelowcomb = 0x0323; - t.dotkatakana = 0x30fb; - t.dotlessi = 0x0131; - t.dotlessj = 0xf6be; - t.dotlessjstrokehook = 0x0284; - t.dotmath = 0x22c5; - t.dottedcircle = 0x25cc; - t.doubleyodpatah = 0xfb1f; - t.doubleyodpatahhebrew = 0xfb1f; - t.downtackbelowcmb = 0x031e; - t.downtackmod = 0x02d5; - t.dparen = 0x249f; - t.dsuperior = 0xf6eb; - t.dtail = 0x0256; - t.dtopbar = 0x018c; - t.duhiragana = 0x3065; - t.dukatakana = 0x30c5; - t.dz = 0x01f3; - t.dzaltone = 0x02a3; - t.dzcaron = 0x01c6; - t.dzcurl = 0x02a5; - t.dzeabkhasiancyrillic = 0x04e1; - t.dzecyrillic = 0x0455; - t.dzhecyrillic = 0x045f; - t.e = 0x0065; - t.eacute = 0x00e9; - t.earth = 0x2641; - t.ebengali = 0x098f; - t.ebopomofo = 0x311c; - t.ebreve = 0x0115; - t.ecandradeva = 0x090d; - t.ecandragujarati = 0x0a8d; - t.ecandravowelsigndeva = 0x0945; - t.ecandravowelsigngujarati = 0x0ac5; - t.ecaron = 0x011b; - t.ecedillabreve = 0x1e1d; - t.echarmenian = 0x0565; - t.echyiwnarmenian = 0x0587; - t.ecircle = 0x24d4; - t.ecircumflex = 0x00ea; - t.ecircumflexacute = 0x1ebf; - t.ecircumflexbelow = 0x1e19; - t.ecircumflexdotbelow = 0x1ec7; - t.ecircumflexgrave = 0x1ec1; - t.ecircumflexhookabove = 0x1ec3; - t.ecircumflextilde = 0x1ec5; - t.ecyrillic = 0x0454; - t.edblgrave = 0x0205; - t.edeva = 0x090f; - t.edieresis = 0x00eb; - t.edot = 0x0117; - t.edotaccent = 0x0117; - t.edotbelow = 0x1eb9; - t.eegurmukhi = 0x0a0f; - t.eematragurmukhi = 0x0a47; - t.efcyrillic = 0x0444; - t.egrave = 0x00e8; - t.egujarati = 0x0a8f; - t.eharmenian = 0x0567; - t.ehbopomofo = 0x311d; - t.ehiragana = 0x3048; - t.ehookabove = 0x1ebb; - t.eibopomofo = 0x311f; - t.eight = 0x0038; - t.eightarabic = 0x0668; - t.eightbengali = 0x09ee; - t.eightcircle = 0x2467; - t.eightcircleinversesansserif = 0x2791; - t.eightdeva = 0x096e; - t.eighteencircle = 0x2471; - t.eighteenparen = 0x2485; - t.eighteenperiod = 0x2499; - t.eightgujarati = 0x0aee; - t.eightgurmukhi = 0x0a6e; - t.eighthackarabic = 0x0668; - t.eighthangzhou = 0x3028; - t.eighthnotebeamed = 0x266b; - t.eightideographicparen = 0x3227; - t.eightinferior = 0x2088; - t.eightmonospace = 0xff18; - t.eightoldstyle = 0xf738; - t.eightparen = 0x247b; - t.eightperiod = 0x248f; - t.eightpersian = 0x06f8; - t.eightroman = 0x2177; - t.eightsuperior = 0x2078; - t.eightthai = 0x0e58; - t.einvertedbreve = 0x0207; - t.eiotifiedcyrillic = 0x0465; - t.ekatakana = 0x30a8; - t.ekatakanahalfwidth = 0xff74; - t.ekonkargurmukhi = 0x0a74; - t.ekorean = 0x3154; - t.elcyrillic = 0x043b; - t.element = 0x2208; - t.elevencircle = 0x246a; - t.elevenparen = 0x247e; - t.elevenperiod = 0x2492; - t.elevenroman = 0x217a; - t.ellipsis = 0x2026; - t.ellipsisvertical = 0x22ee; - t.emacron = 0x0113; - t.emacronacute = 0x1e17; - t.emacrongrave = 0x1e15; - t.emcyrillic = 0x043c; - t.emdash = 0x2014; - t.emdashvertical = 0xfe31; - t.emonospace = 0xff45; - t.emphasismarkarmenian = 0x055b; - t.emptyset = 0x2205; - t.enbopomofo = 0x3123; - t.encyrillic = 0x043d; - t.endash = 0x2013; - t.endashvertical = 0xfe32; - t.endescendercyrillic = 0x04a3; - t.eng = 0x014b; - t.engbopomofo = 0x3125; - t.enghecyrillic = 0x04a5; - t.enhookcyrillic = 0x04c8; - t.enspace = 0x2002; - t.eogonek = 0x0119; - t.eokorean = 0x3153; - t.eopen = 0x025b; - t.eopenclosed = 0x029a; - t.eopenreversed = 0x025c; - t.eopenreversedclosed = 0x025e; - t.eopenreversedhook = 0x025d; - t.eparen = 0x24a0; - t.epsilon = 0x03b5; - t.epsilontonos = 0x03ad; - t.equal = 0x003d; - t.equalmonospace = 0xff1d; - t.equalsmall = 0xfe66; - t.equalsuperior = 0x207c; - t.equivalence = 0x2261; - t.erbopomofo = 0x3126; - t.ercyrillic = 0x0440; - t.ereversed = 0x0258; - t.ereversedcyrillic = 0x044d; - t.escyrillic = 0x0441; - t.esdescendercyrillic = 0x04ab; - t.esh = 0x0283; - t.eshcurl = 0x0286; - t.eshortdeva = 0x090e; - t.eshortvowelsigndeva = 0x0946; - t.eshreversedloop = 0x01aa; - t.eshsquatreversed = 0x0285; - t.esmallhiragana = 0x3047; - t.esmallkatakana = 0x30a7; - t.esmallkatakanahalfwidth = 0xff6a; - t.estimated = 0x212e; - t.esuperior = 0xf6ec; - t.eta = 0x03b7; - t.etarmenian = 0x0568; - t.etatonos = 0x03ae; - t.eth = 0x00f0; - t.etilde = 0x1ebd; - t.etildebelow = 0x1e1b; - t.etnahtafoukhhebrew = 0x0591; - t.etnahtafoukhlefthebrew = 0x0591; - t.etnahtahebrew = 0x0591; - t.etnahtalefthebrew = 0x0591; - t.eturned = 0x01dd; - t.eukorean = 0x3161; - t.euro = 0x20ac; - t.evowelsignbengali = 0x09c7; - t.evowelsigndeva = 0x0947; - t.evowelsigngujarati = 0x0ac7; - t.exclam = 0x0021; - t.exclamarmenian = 0x055c; - t.exclamdbl = 0x203c; - t.exclamdown = 0x00a1; - t.exclamdownsmall = 0xf7a1; - t.exclammonospace = 0xff01; - t.exclamsmall = 0xf721; - t.existential = 0x2203; - t.ezh = 0x0292; - t.ezhcaron = 0x01ef; - t.ezhcurl = 0x0293; - t.ezhreversed = 0x01b9; - t.ezhtail = 0x01ba; - t.f = 0x0066; - t.fadeva = 0x095e; - t.fagurmukhi = 0x0a5e; - t.fahrenheit = 0x2109; - t.fathaarabic = 0x064e; - t.fathalowarabic = 0x064e; - t.fathatanarabic = 0x064b; - t.fbopomofo = 0x3108; - t.fcircle = 0x24d5; - t.fdotaccent = 0x1e1f; - t.feharabic = 0x0641; - t.feharmenian = 0x0586; - t.fehfinalarabic = 0xfed2; - t.fehinitialarabic = 0xfed3; - t.fehmedialarabic = 0xfed4; - t.feicoptic = 0x03e5; - t.female = 0x2640; - t.ff = 0xfb00; - t.f_f = 0xfb00; - t.ffi = 0xfb03; - t.f_f_i = 0xfb03; - t.ffl = 0xfb04; - t.f_f_l = 0xfb04; - t.fi = 0xfb01; - t.f_i = 0xfb01; - t.fifteencircle = 0x246e; - t.fifteenparen = 0x2482; - t.fifteenperiod = 0x2496; - t.figuredash = 0x2012; - t.filledbox = 0x25a0; - t.filledrect = 0x25ac; - t.finalkaf = 0x05da; - t.finalkafdagesh = 0xfb3a; - t.finalkafdageshhebrew = 0xfb3a; - t.finalkafhebrew = 0x05da; - t.finalmem = 0x05dd; - t.finalmemhebrew = 0x05dd; - t.finalnun = 0x05df; - t.finalnunhebrew = 0x05df; - t.finalpe = 0x05e3; - t.finalpehebrew = 0x05e3; - t.finaltsadi = 0x05e5; - t.finaltsadihebrew = 0x05e5; - t.firsttonechinese = 0x02c9; - t.fisheye = 0x25c9; - t.fitacyrillic = 0x0473; - t.five = 0x0035; - t.fivearabic = 0x0665; - t.fivebengali = 0x09eb; - t.fivecircle = 0x2464; - t.fivecircleinversesansserif = 0x278e; - t.fivedeva = 0x096b; - t.fiveeighths = 0x215d; - t.fivegujarati = 0x0aeb; - t.fivegurmukhi = 0x0a6b; - t.fivehackarabic = 0x0665; - t.fivehangzhou = 0x3025; - t.fiveideographicparen = 0x3224; - t.fiveinferior = 0x2085; - t.fivemonospace = 0xff15; - t.fiveoldstyle = 0xf735; - t.fiveparen = 0x2478; - t.fiveperiod = 0x248c; - t.fivepersian = 0x06f5; - t.fiveroman = 0x2174; - t.fivesuperior = 0x2075; - t.fivethai = 0x0e55; - t.fl = 0xfb02; - t.f_l = 0xfb02; - t.florin = 0x0192; - t.fmonospace = 0xff46; - t.fmsquare = 0x3399; - t.fofanthai = 0x0e1f; - t.fofathai = 0x0e1d; - t.fongmanthai = 0x0e4f; - t.forall = 0x2200; - t.four = 0x0034; - t.fourarabic = 0x0664; - t.fourbengali = 0x09ea; - t.fourcircle = 0x2463; - t.fourcircleinversesansserif = 0x278d; - t.fourdeva = 0x096a; - t.fourgujarati = 0x0aea; - t.fourgurmukhi = 0x0a6a; - t.fourhackarabic = 0x0664; - t.fourhangzhou = 0x3024; - t.fourideographicparen = 0x3223; - t.fourinferior = 0x2084; - t.fourmonospace = 0xff14; - t.fournumeratorbengali = 0x09f7; - t.fouroldstyle = 0xf734; - t.fourparen = 0x2477; - t.fourperiod = 0x248b; - t.fourpersian = 0x06f4; - t.fourroman = 0x2173; - t.foursuperior = 0x2074; - t.fourteencircle = 0x246d; - t.fourteenparen = 0x2481; - t.fourteenperiod = 0x2495; - t.fourthai = 0x0e54; - t.fourthtonechinese = 0x02cb; - t.fparen = 0x24a1; - t.fraction = 0x2044; - t.franc = 0x20a3; - t.g = 0x0067; - t.gabengali = 0x0997; - t.gacute = 0x01f5; - t.gadeva = 0x0917; - t.gafarabic = 0x06af; - t.gaffinalarabic = 0xfb93; - t.gafinitialarabic = 0xfb94; - t.gafmedialarabic = 0xfb95; - t.gagujarati = 0x0a97; - t.gagurmukhi = 0x0a17; - t.gahiragana = 0x304c; - t.gakatakana = 0x30ac; - t.gamma = 0x03b3; - t.gammalatinsmall = 0x0263; - t.gammasuperior = 0x02e0; - t.gangiacoptic = 0x03eb; - t.gbopomofo = 0x310d; - t.gbreve = 0x011f; - t.gcaron = 0x01e7; - t.gcedilla = 0x0123; - t.gcircle = 0x24d6; - t.gcircumflex = 0x011d; - t.gcommaaccent = 0x0123; - t.gdot = 0x0121; - t.gdotaccent = 0x0121; - t.gecyrillic = 0x0433; - t.gehiragana = 0x3052; - t.gekatakana = 0x30b2; - t.geometricallyequal = 0x2251; - t.gereshaccenthebrew = 0x059c; - t.gereshhebrew = 0x05f3; - t.gereshmuqdamhebrew = 0x059d; - t.germandbls = 0x00df; - t.gershayimaccenthebrew = 0x059e; - t.gershayimhebrew = 0x05f4; - t.getamark = 0x3013; - t.ghabengali = 0x0998; - t.ghadarmenian = 0x0572; - t.ghadeva = 0x0918; - t.ghagujarati = 0x0a98; - t.ghagurmukhi = 0x0a18; - t.ghainarabic = 0x063a; - t.ghainfinalarabic = 0xfece; - t.ghaininitialarabic = 0xfecf; - t.ghainmedialarabic = 0xfed0; - t.ghemiddlehookcyrillic = 0x0495; - t.ghestrokecyrillic = 0x0493; - t.gheupturncyrillic = 0x0491; - t.ghhadeva = 0x095a; - t.ghhagurmukhi = 0x0a5a; - t.ghook = 0x0260; - t.ghzsquare = 0x3393; - t.gihiragana = 0x304e; - t.gikatakana = 0x30ae; - t.gimarmenian = 0x0563; - t.gimel = 0x05d2; - t.gimeldagesh = 0xfb32; - t.gimeldageshhebrew = 0xfb32; - t.gimelhebrew = 0x05d2; - t.gjecyrillic = 0x0453; - t.glottalinvertedstroke = 0x01be; - t.glottalstop = 0x0294; - t.glottalstopinverted = 0x0296; - t.glottalstopmod = 0x02c0; - t.glottalstopreversed = 0x0295; - t.glottalstopreversedmod = 0x02c1; - t.glottalstopreversedsuperior = 0x02e4; - t.glottalstopstroke = 0x02a1; - t.glottalstopstrokereversed = 0x02a2; - t.gmacron = 0x1e21; - t.gmonospace = 0xff47; - t.gohiragana = 0x3054; - t.gokatakana = 0x30b4; - t.gparen = 0x24a2; - t.gpasquare = 0x33ac; - t.gradient = 0x2207; - t.grave = 0x0060; - t.gravebelowcmb = 0x0316; - t.gravecmb = 0x0300; - t.gravecomb = 0x0300; - t.gravedeva = 0x0953; - t.gravelowmod = 0x02ce; - t.gravemonospace = 0xff40; - t.gravetonecmb = 0x0340; - t.greater = 0x003e; - t.greaterequal = 0x2265; - t.greaterequalorless = 0x22db; - t.greatermonospace = 0xff1e; - t.greaterorequivalent = 0x2273; - t.greaterorless = 0x2277; - t.greateroverequal = 0x2267; - t.greatersmall = 0xfe65; - t.gscript = 0x0261; - t.gstroke = 0x01e5; - t.guhiragana = 0x3050; - t.guillemotleft = 0x00ab; - t.guillemotright = 0x00bb; - t.guilsinglleft = 0x2039; - t.guilsinglright = 0x203a; - t.gukatakana = 0x30b0; - t.guramusquare = 0x3318; - t.gysquare = 0x33c9; - t.h = 0x0068; - t.haabkhasiancyrillic = 0x04a9; - t.haaltonearabic = 0x06c1; - t.habengali = 0x09b9; - t.hadescendercyrillic = 0x04b3; - t.hadeva = 0x0939; - t.hagujarati = 0x0ab9; - t.hagurmukhi = 0x0a39; - t.haharabic = 0x062d; - t.hahfinalarabic = 0xfea2; - t.hahinitialarabic = 0xfea3; - t.hahiragana = 0x306f; - t.hahmedialarabic = 0xfea4; - t.haitusquare = 0x332a; - t.hakatakana = 0x30cf; - t.hakatakanahalfwidth = 0xff8a; - t.halantgurmukhi = 0x0a4d; - t.hamzaarabic = 0x0621; - t.hamzalowarabic = 0x0621; - t.hangulfiller = 0x3164; - t.hardsigncyrillic = 0x044a; - t.harpoonleftbarbup = 0x21bc; - t.harpoonrightbarbup = 0x21c0; - t.hasquare = 0x33ca; - t.hatafpatah = 0x05b2; - t.hatafpatah16 = 0x05b2; - t.hatafpatah23 = 0x05b2; - t.hatafpatah2f = 0x05b2; - t.hatafpatahhebrew = 0x05b2; - t.hatafpatahnarrowhebrew = 0x05b2; - t.hatafpatahquarterhebrew = 0x05b2; - t.hatafpatahwidehebrew = 0x05b2; - t.hatafqamats = 0x05b3; - t.hatafqamats1b = 0x05b3; - t.hatafqamats28 = 0x05b3; - t.hatafqamats34 = 0x05b3; - t.hatafqamatshebrew = 0x05b3; - t.hatafqamatsnarrowhebrew = 0x05b3; - t.hatafqamatsquarterhebrew = 0x05b3; - t.hatafqamatswidehebrew = 0x05b3; - t.hatafsegol = 0x05b1; - t.hatafsegol17 = 0x05b1; - t.hatafsegol24 = 0x05b1; - t.hatafsegol30 = 0x05b1; - t.hatafsegolhebrew = 0x05b1; - t.hatafsegolnarrowhebrew = 0x05b1; - t.hatafsegolquarterhebrew = 0x05b1; - t.hatafsegolwidehebrew = 0x05b1; - t.hbar = 0x0127; - t.hbopomofo = 0x310f; - t.hbrevebelow = 0x1e2b; - t.hcedilla = 0x1e29; - t.hcircle = 0x24d7; - t.hcircumflex = 0x0125; - t.hdieresis = 0x1e27; - t.hdotaccent = 0x1e23; - t.hdotbelow = 0x1e25; - t.he = 0x05d4; - t.heart = 0x2665; - t.heartsuitblack = 0x2665; - t.heartsuitwhite = 0x2661; - t.hedagesh = 0xfb34; - t.hedageshhebrew = 0xfb34; - t.hehaltonearabic = 0x06c1; - t.heharabic = 0x0647; - t.hehebrew = 0x05d4; - t.hehfinalaltonearabic = 0xfba7; - t.hehfinalalttwoarabic = 0xfeea; - t.hehfinalarabic = 0xfeea; - t.hehhamzaabovefinalarabic = 0xfba5; - t.hehhamzaaboveisolatedarabic = 0xfba4; - t.hehinitialaltonearabic = 0xfba8; - t.hehinitialarabic = 0xfeeb; - t.hehiragana = 0x3078; - t.hehmedialaltonearabic = 0xfba9; - t.hehmedialarabic = 0xfeec; - t.heiseierasquare = 0x337b; - t.hekatakana = 0x30d8; - t.hekatakanahalfwidth = 0xff8d; - t.hekutaarusquare = 0x3336; - t.henghook = 0x0267; - t.herutusquare = 0x3339; - t.het = 0x05d7; - t.hethebrew = 0x05d7; - t.hhook = 0x0266; - t.hhooksuperior = 0x02b1; - t.hieuhacirclekorean = 0x327b; - t.hieuhaparenkorean = 0x321b; - t.hieuhcirclekorean = 0x326d; - t.hieuhkorean = 0x314e; - t.hieuhparenkorean = 0x320d; - t.hihiragana = 0x3072; - t.hikatakana = 0x30d2; - t.hikatakanahalfwidth = 0xff8b; - t.hiriq = 0x05b4; - t.hiriq14 = 0x05b4; - t.hiriq21 = 0x05b4; - t.hiriq2d = 0x05b4; - t.hiriqhebrew = 0x05b4; - t.hiriqnarrowhebrew = 0x05b4; - t.hiriqquarterhebrew = 0x05b4; - t.hiriqwidehebrew = 0x05b4; - t.hlinebelow = 0x1e96; - t.hmonospace = 0xff48; - t.hoarmenian = 0x0570; - t.hohipthai = 0x0e2b; - t.hohiragana = 0x307b; - t.hokatakana = 0x30db; - t.hokatakanahalfwidth = 0xff8e; - t.holam = 0x05b9; - t.holam19 = 0x05b9; - t.holam26 = 0x05b9; - t.holam32 = 0x05b9; - t.holamhebrew = 0x05b9; - t.holamnarrowhebrew = 0x05b9; - t.holamquarterhebrew = 0x05b9; - t.holamwidehebrew = 0x05b9; - t.honokhukthai = 0x0e2e; - t.hookabovecomb = 0x0309; - t.hookcmb = 0x0309; - t.hookpalatalizedbelowcmb = 0x0321; - t.hookretroflexbelowcmb = 0x0322; - t.hoonsquare = 0x3342; - t.horicoptic = 0x03e9; - t.horizontalbar = 0x2015; - t.horncmb = 0x031b; - t.hotsprings = 0x2668; - t.house = 0x2302; - t.hparen = 0x24a3; - t.hsuperior = 0x02b0; - t.hturned = 0x0265; - t.huhiragana = 0x3075; - t.huiitosquare = 0x3333; - t.hukatakana = 0x30d5; - t.hukatakanahalfwidth = 0xff8c; - t.hungarumlaut = 0x02dd; - t.hungarumlautcmb = 0x030b; - t.hv = 0x0195; - t.hyphen = 0x002d; - t.hypheninferior = 0xf6e5; - t.hyphenmonospace = 0xff0d; - t.hyphensmall = 0xfe63; - t.hyphensuperior = 0xf6e6; - t.hyphentwo = 0x2010; - t.i = 0x0069; - t.iacute = 0x00ed; - t.iacyrillic = 0x044f; - t.ibengali = 0x0987; - t.ibopomofo = 0x3127; - t.ibreve = 0x012d; - t.icaron = 0x01d0; - t.icircle = 0x24d8; - t.icircumflex = 0x00ee; - t.icyrillic = 0x0456; - t.idblgrave = 0x0209; - t.ideographearthcircle = 0x328f; - t.ideographfirecircle = 0x328b; - t.ideographicallianceparen = 0x323f; - t.ideographiccallparen = 0x323a; - t.ideographiccentrecircle = 0x32a5; - t.ideographicclose = 0x3006; - t.ideographiccomma = 0x3001; - t.ideographiccommaleft = 0xff64; - t.ideographiccongratulationparen = 0x3237; - t.ideographiccorrectcircle = 0x32a3; - t.ideographicearthparen = 0x322f; - t.ideographicenterpriseparen = 0x323d; - t.ideographicexcellentcircle = 0x329d; - t.ideographicfestivalparen = 0x3240; - t.ideographicfinancialcircle = 0x3296; - t.ideographicfinancialparen = 0x3236; - t.ideographicfireparen = 0x322b; - t.ideographichaveparen = 0x3232; - t.ideographichighcircle = 0x32a4; - t.ideographiciterationmark = 0x3005; - t.ideographiclaborcircle = 0x3298; - t.ideographiclaborparen = 0x3238; - t.ideographicleftcircle = 0x32a7; - t.ideographiclowcircle = 0x32a6; - t.ideographicmedicinecircle = 0x32a9; - t.ideographicmetalparen = 0x322e; - t.ideographicmoonparen = 0x322a; - t.ideographicnameparen = 0x3234; - t.ideographicperiod = 0x3002; - t.ideographicprintcircle = 0x329e; - t.ideographicreachparen = 0x3243; - t.ideographicrepresentparen = 0x3239; - t.ideographicresourceparen = 0x323e; - t.ideographicrightcircle = 0x32a8; - t.ideographicsecretcircle = 0x3299; - t.ideographicselfparen = 0x3242; - t.ideographicsocietyparen = 0x3233; - t.ideographicspace = 0x3000; - t.ideographicspecialparen = 0x3235; - t.ideographicstockparen = 0x3231; - t.ideographicstudyparen = 0x323b; - t.ideographicsunparen = 0x3230; - t.ideographicsuperviseparen = 0x323c; - t.ideographicwaterparen = 0x322c; - t.ideographicwoodparen = 0x322d; - t.ideographiczero = 0x3007; - t.ideographmetalcircle = 0x328e; - t.ideographmooncircle = 0x328a; - t.ideographnamecircle = 0x3294; - t.ideographsuncircle = 0x3290; - t.ideographwatercircle = 0x328c; - t.ideographwoodcircle = 0x328d; - t.ideva = 0x0907; - t.idieresis = 0x00ef; - t.idieresisacute = 0x1e2f; - t.idieresiscyrillic = 0x04e5; - t.idotbelow = 0x1ecb; - t.iebrevecyrillic = 0x04d7; - t.iecyrillic = 0x0435; - t.ieungacirclekorean = 0x3275; - t.ieungaparenkorean = 0x3215; - t.ieungcirclekorean = 0x3267; - t.ieungkorean = 0x3147; - t.ieungparenkorean = 0x3207; - t.igrave = 0x00ec; - t.igujarati = 0x0a87; - t.igurmukhi = 0x0a07; - t.ihiragana = 0x3044; - t.ihookabove = 0x1ec9; - t.iibengali = 0x0988; - t.iicyrillic = 0x0438; - t.iideva = 0x0908; - t.iigujarati = 0x0a88; - t.iigurmukhi = 0x0a08; - t.iimatragurmukhi = 0x0a40; - t.iinvertedbreve = 0x020b; - t.iishortcyrillic = 0x0439; - t.iivowelsignbengali = 0x09c0; - t.iivowelsigndeva = 0x0940; - t.iivowelsigngujarati = 0x0ac0; - t.ij = 0x0133; - t.ikatakana = 0x30a4; - t.ikatakanahalfwidth = 0xff72; - t.ikorean = 0x3163; - t.ilde = 0x02dc; - t.iluyhebrew = 0x05ac; - t.imacron = 0x012b; - t.imacroncyrillic = 0x04e3; - t.imageorapproximatelyequal = 0x2253; - t.imatragurmukhi = 0x0a3f; - t.imonospace = 0xff49; - t.increment = 0x2206; - t.infinity = 0x221e; - t.iniarmenian = 0x056b; - t.integral = 0x222b; - t.integralbottom = 0x2321; - t.integralbt = 0x2321; - t.integralex = 0xf8f5; - t.integraltop = 0x2320; - t.integraltp = 0x2320; - t.intersection = 0x2229; - t.intisquare = 0x3305; - t.invbullet = 0x25d8; - t.invcircle = 0x25d9; - t.invsmileface = 0x263b; - t.iocyrillic = 0x0451; - t.iogonek = 0x012f; - t.iota = 0x03b9; - t.iotadieresis = 0x03ca; - t.iotadieresistonos = 0x0390; - t.iotalatin = 0x0269; - t.iotatonos = 0x03af; - t.iparen = 0x24a4; - t.irigurmukhi = 0x0a72; - t.ismallhiragana = 0x3043; - t.ismallkatakana = 0x30a3; - t.ismallkatakanahalfwidth = 0xff68; - t.issharbengali = 0x09fa; - t.istroke = 0x0268; - t.isuperior = 0xf6ed; - t.iterationhiragana = 0x309d; - t.iterationkatakana = 0x30fd; - t.itilde = 0x0129; - t.itildebelow = 0x1e2d; - t.iubopomofo = 0x3129; - t.iucyrillic = 0x044e; - t.ivowelsignbengali = 0x09bf; - t.ivowelsigndeva = 0x093f; - t.ivowelsigngujarati = 0x0abf; - t.izhitsacyrillic = 0x0475; - t.izhitsadblgravecyrillic = 0x0477; - t.j = 0x006a; - t.jaarmenian = 0x0571; - t.jabengali = 0x099c; - t.jadeva = 0x091c; - t.jagujarati = 0x0a9c; - t.jagurmukhi = 0x0a1c; - t.jbopomofo = 0x3110; - t.jcaron = 0x01f0; - t.jcircle = 0x24d9; - t.jcircumflex = 0x0135; - t.jcrossedtail = 0x029d; - t.jdotlessstroke = 0x025f; - t.jecyrillic = 0x0458; - t.jeemarabic = 0x062c; - t.jeemfinalarabic = 0xfe9e; - t.jeeminitialarabic = 0xfe9f; - t.jeemmedialarabic = 0xfea0; - t.jeharabic = 0x0698; - t.jehfinalarabic = 0xfb8b; - t.jhabengali = 0x099d; - t.jhadeva = 0x091d; - t.jhagujarati = 0x0a9d; - t.jhagurmukhi = 0x0a1d; - t.jheharmenian = 0x057b; - t.jis = 0x3004; - t.jmonospace = 0xff4a; - t.jparen = 0x24a5; - t.jsuperior = 0x02b2; - t.k = 0x006b; - t.kabashkircyrillic = 0x04a1; - t.kabengali = 0x0995; - t.kacute = 0x1e31; - t.kacyrillic = 0x043a; - t.kadescendercyrillic = 0x049b; - t.kadeva = 0x0915; - t.kaf = 0x05db; - t.kafarabic = 0x0643; - t.kafdagesh = 0xfb3b; - t.kafdageshhebrew = 0xfb3b; - t.kaffinalarabic = 0xfeda; - t.kafhebrew = 0x05db; - t.kafinitialarabic = 0xfedb; - t.kafmedialarabic = 0xfedc; - t.kafrafehebrew = 0xfb4d; - t.kagujarati = 0x0a95; - t.kagurmukhi = 0x0a15; - t.kahiragana = 0x304b; - t.kahookcyrillic = 0x04c4; - t.kakatakana = 0x30ab; - t.kakatakanahalfwidth = 0xff76; - t.kappa = 0x03ba; - t.kappasymbolgreek = 0x03f0; - t.kapyeounmieumkorean = 0x3171; - t.kapyeounphieuphkorean = 0x3184; - t.kapyeounpieupkorean = 0x3178; - t.kapyeounssangpieupkorean = 0x3179; - t.karoriisquare = 0x330d; - t.kashidaautoarabic = 0x0640; - t.kashidaautonosidebearingarabic = 0x0640; - t.kasmallkatakana = 0x30f5; - t.kasquare = 0x3384; - t.kasraarabic = 0x0650; - t.kasratanarabic = 0x064d; - t.kastrokecyrillic = 0x049f; - t.katahiraprolongmarkhalfwidth = 0xff70; - t.kaverticalstrokecyrillic = 0x049d; - t.kbopomofo = 0x310e; - t.kcalsquare = 0x3389; - t.kcaron = 0x01e9; - t.kcedilla = 0x0137; - t.kcircle = 0x24da; - t.kcommaaccent = 0x0137; - t.kdotbelow = 0x1e33; - t.keharmenian = 0x0584; - t.kehiragana = 0x3051; - t.kekatakana = 0x30b1; - t.kekatakanahalfwidth = 0xff79; - t.kenarmenian = 0x056f; - t.kesmallkatakana = 0x30f6; - t.kgreenlandic = 0x0138; - t.khabengali = 0x0996; - t.khacyrillic = 0x0445; - t.khadeva = 0x0916; - t.khagujarati = 0x0a96; - t.khagurmukhi = 0x0a16; - t.khaharabic = 0x062e; - t.khahfinalarabic = 0xfea6; - t.khahinitialarabic = 0xfea7; - t.khahmedialarabic = 0xfea8; - t.kheicoptic = 0x03e7; - t.khhadeva = 0x0959; - t.khhagurmukhi = 0x0a59; - t.khieukhacirclekorean = 0x3278; - t.khieukhaparenkorean = 0x3218; - t.khieukhcirclekorean = 0x326a; - t.khieukhkorean = 0x314b; - t.khieukhparenkorean = 0x320a; - t.khokhaithai = 0x0e02; - t.khokhonthai = 0x0e05; - t.khokhuatthai = 0x0e03; - t.khokhwaithai = 0x0e04; - t.khomutthai = 0x0e5b; - t.khook = 0x0199; - t.khorakhangthai = 0x0e06; - t.khzsquare = 0x3391; - t.kihiragana = 0x304d; - t.kikatakana = 0x30ad; - t.kikatakanahalfwidth = 0xff77; - t.kiroguramusquare = 0x3315; - t.kiromeetorusquare = 0x3316; - t.kirosquare = 0x3314; - t.kiyeokacirclekorean = 0x326e; - t.kiyeokaparenkorean = 0x320e; - t.kiyeokcirclekorean = 0x3260; - t.kiyeokkorean = 0x3131; - t.kiyeokparenkorean = 0x3200; - t.kiyeoksioskorean = 0x3133; - t.kjecyrillic = 0x045c; - t.klinebelow = 0x1e35; - t.klsquare = 0x3398; - t.kmcubedsquare = 0x33a6; - t.kmonospace = 0xff4b; - t.kmsquaredsquare = 0x33a2; - t.kohiragana = 0x3053; - t.kohmsquare = 0x33c0; - t.kokaithai = 0x0e01; - t.kokatakana = 0x30b3; - t.kokatakanahalfwidth = 0xff7a; - t.kooposquare = 0x331e; - t.koppacyrillic = 0x0481; - t.koreanstandardsymbol = 0x327f; - t.koroniscmb = 0x0343; - t.kparen = 0x24a6; - t.kpasquare = 0x33aa; - t.ksicyrillic = 0x046f; - t.ktsquare = 0x33cf; - t.kturned = 0x029e; - t.kuhiragana = 0x304f; - t.kukatakana = 0x30af; - t.kukatakanahalfwidth = 0xff78; - t.kvsquare = 0x33b8; - t.kwsquare = 0x33be; - t.l = 0x006c; - t.labengali = 0x09b2; - t.lacute = 0x013a; - t.ladeva = 0x0932; - t.lagujarati = 0x0ab2; - t.lagurmukhi = 0x0a32; - t.lakkhangyaothai = 0x0e45; - t.lamaleffinalarabic = 0xfefc; - t.lamalefhamzaabovefinalarabic = 0xfef8; - t.lamalefhamzaaboveisolatedarabic = 0xfef7; - t.lamalefhamzabelowfinalarabic = 0xfefa; - t.lamalefhamzabelowisolatedarabic = 0xfef9; - t.lamalefisolatedarabic = 0xfefb; - t.lamalefmaddaabovefinalarabic = 0xfef6; - t.lamalefmaddaaboveisolatedarabic = 0xfef5; - t.lamarabic = 0x0644; - t.lambda = 0x03bb; - t.lambdastroke = 0x019b; - t.lamed = 0x05dc; - t.lameddagesh = 0xfb3c; - t.lameddageshhebrew = 0xfb3c; - t.lamedhebrew = 0x05dc; - t.lamfinalarabic = 0xfede; - t.lamhahinitialarabic = 0xfcca; - t.laminitialarabic = 0xfedf; - t.lamjeeminitialarabic = 0xfcc9; - t.lamkhahinitialarabic = 0xfccb; - t.lamlamhehisolatedarabic = 0xfdf2; - t.lammedialarabic = 0xfee0; - t.lammeemhahinitialarabic = 0xfd88; - t.lammeeminitialarabic = 0xfccc; - t.largecircle = 0x25ef; - t.lbar = 0x019a; - t.lbelt = 0x026c; - t.lbopomofo = 0x310c; - t.lcaron = 0x013e; - t.lcedilla = 0x013c; - t.lcircle = 0x24db; - t.lcircumflexbelow = 0x1e3d; - t.lcommaaccent = 0x013c; - t.ldot = 0x0140; - t.ldotaccent = 0x0140; - t.ldotbelow = 0x1e37; - t.ldotbelowmacron = 0x1e39; - t.leftangleabovecmb = 0x031a; - t.lefttackbelowcmb = 0x0318; - t.less = 0x003c; - t.lessequal = 0x2264; - t.lessequalorgreater = 0x22da; - t.lessmonospace = 0xff1c; - t.lessorequivalent = 0x2272; - t.lessorgreater = 0x2276; - t.lessoverequal = 0x2266; - t.lesssmall = 0xfe64; - t.lezh = 0x026e; - t.lfblock = 0x258c; - t.lhookretroflex = 0x026d; - t.lira = 0x20a4; - t.liwnarmenian = 0x056c; - t.lj = 0x01c9; - t.ljecyrillic = 0x0459; - t.ll = 0xf6c0; - t.lladeva = 0x0933; - t.llagujarati = 0x0ab3; - t.llinebelow = 0x1e3b; - t.llladeva = 0x0934; - t.llvocalicbengali = 0x09e1; - t.llvocalicdeva = 0x0961; - t.llvocalicvowelsignbengali = 0x09e3; - t.llvocalicvowelsigndeva = 0x0963; - t.lmiddletilde = 0x026b; - t.lmonospace = 0xff4c; - t.lmsquare = 0x33d0; - t.lochulathai = 0x0e2c; - t.logicaland = 0x2227; - t.logicalnot = 0x00ac; - t.logicalnotreversed = 0x2310; - t.logicalor = 0x2228; - t.lolingthai = 0x0e25; - t.longs = 0x017f; - t.lowlinecenterline = 0xfe4e; - t.lowlinecmb = 0x0332; - t.lowlinedashed = 0xfe4d; - t.lozenge = 0x25ca; - t.lparen = 0x24a7; - t.lslash = 0x0142; - t.lsquare = 0x2113; - t.lsuperior = 0xf6ee; - t.ltshade = 0x2591; - t.luthai = 0x0e26; - t.lvocalicbengali = 0x098c; - t.lvocalicdeva = 0x090c; - t.lvocalicvowelsignbengali = 0x09e2; - t.lvocalicvowelsigndeva = 0x0962; - t.lxsquare = 0x33d3; - t.m = 0x006d; - t.mabengali = 0x09ae; - t.macron = 0x00af; - t.macronbelowcmb = 0x0331; - t.macroncmb = 0x0304; - t.macronlowmod = 0x02cd; - t.macronmonospace = 0xffe3; - t.macute = 0x1e3f; - t.madeva = 0x092e; - t.magujarati = 0x0aae; - t.magurmukhi = 0x0a2e; - t.mahapakhhebrew = 0x05a4; - t.mahapakhlefthebrew = 0x05a4; - t.mahiragana = 0x307e; - t.maichattawalowleftthai = 0xf895; - t.maichattawalowrightthai = 0xf894; - t.maichattawathai = 0x0e4b; - t.maichattawaupperleftthai = 0xf893; - t.maieklowleftthai = 0xf88c; - t.maieklowrightthai = 0xf88b; - t.maiekthai = 0x0e48; - t.maiekupperleftthai = 0xf88a; - t.maihanakatleftthai = 0xf884; - t.maihanakatthai = 0x0e31; - t.maitaikhuleftthai = 0xf889; - t.maitaikhuthai = 0x0e47; - t.maitholowleftthai = 0xf88f; - t.maitholowrightthai = 0xf88e; - t.maithothai = 0x0e49; - t.maithoupperleftthai = 0xf88d; - t.maitrilowleftthai = 0xf892; - t.maitrilowrightthai = 0xf891; - t.maitrithai = 0x0e4a; - t.maitriupperleftthai = 0xf890; - t.maiyamokthai = 0x0e46; - t.makatakana = 0x30de; - t.makatakanahalfwidth = 0xff8f; - t.male = 0x2642; - t.mansyonsquare = 0x3347; - t.maqafhebrew = 0x05be; - t.mars = 0x2642; - t.masoracirclehebrew = 0x05af; - t.masquare = 0x3383; - t.mbopomofo = 0x3107; - t.mbsquare = 0x33d4; - t.mcircle = 0x24dc; - t.mcubedsquare = 0x33a5; - t.mdotaccent = 0x1e41; - t.mdotbelow = 0x1e43; - t.meemarabic = 0x0645; - t.meemfinalarabic = 0xfee2; - t.meeminitialarabic = 0xfee3; - t.meemmedialarabic = 0xfee4; - t.meemmeeminitialarabic = 0xfcd1; - t.meemmeemisolatedarabic = 0xfc48; - t.meetorusquare = 0x334d; - t.mehiragana = 0x3081; - t.meizierasquare = 0x337e; - t.mekatakana = 0x30e1; - t.mekatakanahalfwidth = 0xff92; - t.mem = 0x05de; - t.memdagesh = 0xfb3e; - t.memdageshhebrew = 0xfb3e; - t.memhebrew = 0x05de; - t.menarmenian = 0x0574; - t.merkhahebrew = 0x05a5; - t.merkhakefulahebrew = 0x05a6; - t.merkhakefulalefthebrew = 0x05a6; - t.merkhalefthebrew = 0x05a5; - t.mhook = 0x0271; - t.mhzsquare = 0x3392; - t.middledotkatakanahalfwidth = 0xff65; - t.middot = 0x00b7; - t.mieumacirclekorean = 0x3272; - t.mieumaparenkorean = 0x3212; - t.mieumcirclekorean = 0x3264; - t.mieumkorean = 0x3141; - t.mieumpansioskorean = 0x3170; - t.mieumparenkorean = 0x3204; - t.mieumpieupkorean = 0x316e; - t.mieumsioskorean = 0x316f; - t.mihiragana = 0x307f; - t.mikatakana = 0x30df; - t.mikatakanahalfwidth = 0xff90; - t.minus = 0x2212; - t.minusbelowcmb = 0x0320; - t.minuscircle = 0x2296; - t.minusmod = 0x02d7; - t.minusplus = 0x2213; - t.minute = 0x2032; - t.miribaarusquare = 0x334a; - t.mirisquare = 0x3349; - t.mlonglegturned = 0x0270; - t.mlsquare = 0x3396; - t.mmcubedsquare = 0x33a3; - t.mmonospace = 0xff4d; - t.mmsquaredsquare = 0x339f; - t.mohiragana = 0x3082; - t.mohmsquare = 0x33c1; - t.mokatakana = 0x30e2; - t.mokatakanahalfwidth = 0xff93; - t.molsquare = 0x33d6; - t.momathai = 0x0e21; - t.moverssquare = 0x33a7; - t.moverssquaredsquare = 0x33a8; - t.mparen = 0x24a8; - t.mpasquare = 0x33ab; - t.mssquare = 0x33b3; - t.msuperior = 0xf6ef; - t.mturned = 0x026f; - t.mu = 0x00b5; - t.mu1 = 0x00b5; - t.muasquare = 0x3382; - t.muchgreater = 0x226b; - t.muchless = 0x226a; - t.mufsquare = 0x338c; - t.mugreek = 0x03bc; - t.mugsquare = 0x338d; - t.muhiragana = 0x3080; - t.mukatakana = 0x30e0; - t.mukatakanahalfwidth = 0xff91; - t.mulsquare = 0x3395; - t.multiply = 0x00d7; - t.mumsquare = 0x339b; - t.munahhebrew = 0x05a3; - t.munahlefthebrew = 0x05a3; - t.musicalnote = 0x266a; - t.musicalnotedbl = 0x266b; - t.musicflatsign = 0x266d; - t.musicsharpsign = 0x266f; - t.mussquare = 0x33b2; - t.muvsquare = 0x33b6; - t.muwsquare = 0x33bc; - t.mvmegasquare = 0x33b9; - t.mvsquare = 0x33b7; - t.mwmegasquare = 0x33bf; - t.mwsquare = 0x33bd; - t.n = 0x006e; - t.nabengali = 0x09a8; - t.nabla = 0x2207; - t.nacute = 0x0144; - t.nadeva = 0x0928; - t.nagujarati = 0x0aa8; - t.nagurmukhi = 0x0a28; - t.nahiragana = 0x306a; - t.nakatakana = 0x30ca; - t.nakatakanahalfwidth = 0xff85; - t.napostrophe = 0x0149; - t.nasquare = 0x3381; - t.nbopomofo = 0x310b; - t.nbspace = 0x00a0; - t.ncaron = 0x0148; - t.ncedilla = 0x0146; - t.ncircle = 0x24dd; - t.ncircumflexbelow = 0x1e4b; - t.ncommaaccent = 0x0146; - t.ndotaccent = 0x1e45; - t.ndotbelow = 0x1e47; - t.nehiragana = 0x306d; - t.nekatakana = 0x30cd; - t.nekatakanahalfwidth = 0xff88; - t.newsheqelsign = 0x20aa; - t.nfsquare = 0x338b; - t.ngabengali = 0x0999; - t.ngadeva = 0x0919; - t.ngagujarati = 0x0a99; - t.ngagurmukhi = 0x0a19; - t.ngonguthai = 0x0e07; - t.nhiragana = 0x3093; - t.nhookleft = 0x0272; - t.nhookretroflex = 0x0273; - t.nieunacirclekorean = 0x326f; - t.nieunaparenkorean = 0x320f; - t.nieuncieuckorean = 0x3135; - t.nieuncirclekorean = 0x3261; - t.nieunhieuhkorean = 0x3136; - t.nieunkorean = 0x3134; - t.nieunpansioskorean = 0x3168; - t.nieunparenkorean = 0x3201; - t.nieunsioskorean = 0x3167; - t.nieuntikeutkorean = 0x3166; - t.nihiragana = 0x306b; - t.nikatakana = 0x30cb; - t.nikatakanahalfwidth = 0xff86; - t.nikhahitleftthai = 0xf899; - t.nikhahitthai = 0x0e4d; - t.nine = 0x0039; - t.ninearabic = 0x0669; - t.ninebengali = 0x09ef; - t.ninecircle = 0x2468; - t.ninecircleinversesansserif = 0x2792; - t.ninedeva = 0x096f; - t.ninegujarati = 0x0aef; - t.ninegurmukhi = 0x0a6f; - t.ninehackarabic = 0x0669; - t.ninehangzhou = 0x3029; - t.nineideographicparen = 0x3228; - t.nineinferior = 0x2089; - t.ninemonospace = 0xff19; - t.nineoldstyle = 0xf739; - t.nineparen = 0x247c; - t.nineperiod = 0x2490; - t.ninepersian = 0x06f9; - t.nineroman = 0x2178; - t.ninesuperior = 0x2079; - t.nineteencircle = 0x2472; - t.nineteenparen = 0x2486; - t.nineteenperiod = 0x249a; - t.ninethai = 0x0e59; - t.nj = 0x01cc; - t.njecyrillic = 0x045a; - t.nkatakana = 0x30f3; - t.nkatakanahalfwidth = 0xff9d; - t.nlegrightlong = 0x019e; - t.nlinebelow = 0x1e49; - t.nmonospace = 0xff4e; - t.nmsquare = 0x339a; - t.nnabengali = 0x09a3; - t.nnadeva = 0x0923; - t.nnagujarati = 0x0aa3; - t.nnagurmukhi = 0x0a23; - t.nnnadeva = 0x0929; - t.nohiragana = 0x306e; - t.nokatakana = 0x30ce; - t.nokatakanahalfwidth = 0xff89; - t.nonbreakingspace = 0x00a0; - t.nonenthai = 0x0e13; - t.nonuthai = 0x0e19; - t.noonarabic = 0x0646; - t.noonfinalarabic = 0xfee6; - t.noonghunnaarabic = 0x06ba; - t.noonghunnafinalarabic = 0xfb9f; - t.nooninitialarabic = 0xfee7; - t.noonjeeminitialarabic = 0xfcd2; - t.noonjeemisolatedarabic = 0xfc4b; - t.noonmedialarabic = 0xfee8; - t.noonmeeminitialarabic = 0xfcd5; - t.noonmeemisolatedarabic = 0xfc4e; - t.noonnoonfinalarabic = 0xfc8d; - t.notcontains = 0x220c; - t.notelement = 0x2209; - t.notelementof = 0x2209; - t.notequal = 0x2260; - t.notgreater = 0x226f; - t.notgreaternorequal = 0x2271; - t.notgreaternorless = 0x2279; - t.notidentical = 0x2262; - t.notless = 0x226e; - t.notlessnorequal = 0x2270; - t.notparallel = 0x2226; - t.notprecedes = 0x2280; - t.notsubset = 0x2284; - t.notsucceeds = 0x2281; - t.notsuperset = 0x2285; - t.nowarmenian = 0x0576; - t.nparen = 0x24a9; - t.nssquare = 0x33b1; - t.nsuperior = 0x207f; - t.ntilde = 0x00f1; - t.nu = 0x03bd; - t.nuhiragana = 0x306c; - t.nukatakana = 0x30cc; - t.nukatakanahalfwidth = 0xff87; - t.nuktabengali = 0x09bc; - t.nuktadeva = 0x093c; - t.nuktagujarati = 0x0abc; - t.nuktagurmukhi = 0x0a3c; - t.numbersign = 0x0023; - t.numbersignmonospace = 0xff03; - t.numbersignsmall = 0xfe5f; - t.numeralsigngreek = 0x0374; - t.numeralsignlowergreek = 0x0375; - t.numero = 0x2116; - t.nun = 0x05e0; - t.nundagesh = 0xfb40; - t.nundageshhebrew = 0xfb40; - t.nunhebrew = 0x05e0; - t.nvsquare = 0x33b5; - t.nwsquare = 0x33bb; - t.nyabengali = 0x099e; - t.nyadeva = 0x091e; - t.nyagujarati = 0x0a9e; - t.nyagurmukhi = 0x0a1e; - t.o = 0x006f; - t.oacute = 0x00f3; - t.oangthai = 0x0e2d; - t.obarred = 0x0275; - t.obarredcyrillic = 0x04e9; - t.obarreddieresiscyrillic = 0x04eb; - t.obengali = 0x0993; - t.obopomofo = 0x311b; - t.obreve = 0x014f; - t.ocandradeva = 0x0911; - t.ocandragujarati = 0x0a91; - t.ocandravowelsigndeva = 0x0949; - t.ocandravowelsigngujarati = 0x0ac9; - t.ocaron = 0x01d2; - t.ocircle = 0x24de; - t.ocircumflex = 0x00f4; - t.ocircumflexacute = 0x1ed1; - t.ocircumflexdotbelow = 0x1ed9; - t.ocircumflexgrave = 0x1ed3; - t.ocircumflexhookabove = 0x1ed5; - t.ocircumflextilde = 0x1ed7; - t.ocyrillic = 0x043e; - t.odblacute = 0x0151; - t.odblgrave = 0x020d; - t.odeva = 0x0913; - t.odieresis = 0x00f6; - t.odieresiscyrillic = 0x04e7; - t.odotbelow = 0x1ecd; - t.oe = 0x0153; - t.oekorean = 0x315a; - t.ogonek = 0x02db; - t.ogonekcmb = 0x0328; - t.ograve = 0x00f2; - t.ogujarati = 0x0a93; - t.oharmenian = 0x0585; - t.ohiragana = 0x304a; - t.ohookabove = 0x1ecf; - t.ohorn = 0x01a1; - t.ohornacute = 0x1edb; - t.ohorndotbelow = 0x1ee3; - t.ohorngrave = 0x1edd; - t.ohornhookabove = 0x1edf; - t.ohorntilde = 0x1ee1; - t.ohungarumlaut = 0x0151; - t.oi = 0x01a3; - t.oinvertedbreve = 0x020f; - t.okatakana = 0x30aa; - t.okatakanahalfwidth = 0xff75; - t.okorean = 0x3157; - t.olehebrew = 0x05ab; - t.omacron = 0x014d; - t.omacronacute = 0x1e53; - t.omacrongrave = 0x1e51; - t.omdeva = 0x0950; - t.omega = 0x03c9; - t.omega1 = 0x03d6; - t.omegacyrillic = 0x0461; - t.omegalatinclosed = 0x0277; - t.omegaroundcyrillic = 0x047b; - t.omegatitlocyrillic = 0x047d; - t.omegatonos = 0x03ce; - t.omgujarati = 0x0ad0; - t.omicron = 0x03bf; - t.omicrontonos = 0x03cc; - t.omonospace = 0xff4f; - t.one = 0x0031; - t.onearabic = 0x0661; - t.onebengali = 0x09e7; - t.onecircle = 0x2460; - t.onecircleinversesansserif = 0x278a; - t.onedeva = 0x0967; - t.onedotenleader = 0x2024; - t.oneeighth = 0x215b; - t.onefitted = 0xf6dc; - t.onegujarati = 0x0ae7; - t.onegurmukhi = 0x0a67; - t.onehackarabic = 0x0661; - t.onehalf = 0x00bd; - t.onehangzhou = 0x3021; - t.oneideographicparen = 0x3220; - t.oneinferior = 0x2081; - t.onemonospace = 0xff11; - t.onenumeratorbengali = 0x09f4; - t.oneoldstyle = 0xf731; - t.oneparen = 0x2474; - t.oneperiod = 0x2488; - t.onepersian = 0x06f1; - t.onequarter = 0x00bc; - t.oneroman = 0x2170; - t.onesuperior = 0x00b9; - t.onethai = 0x0e51; - t.onethird = 0x2153; - t.oogonek = 0x01eb; - t.oogonekmacron = 0x01ed; - t.oogurmukhi = 0x0a13; - t.oomatragurmukhi = 0x0a4b; - t.oopen = 0x0254; - t.oparen = 0x24aa; - t.openbullet = 0x25e6; - t.option = 0x2325; - t.ordfeminine = 0x00aa; - t.ordmasculine = 0x00ba; - t.orthogonal = 0x221f; - t.oshortdeva = 0x0912; - t.oshortvowelsigndeva = 0x094a; - t.oslash = 0x00f8; - t.oslashacute = 0x01ff; - t.osmallhiragana = 0x3049; - t.osmallkatakana = 0x30a9; - t.osmallkatakanahalfwidth = 0xff6b; - t.ostrokeacute = 0x01ff; - t.osuperior = 0xf6f0; - t.otcyrillic = 0x047f; - t.otilde = 0x00f5; - t.otildeacute = 0x1e4d; - t.otildedieresis = 0x1e4f; - t.oubopomofo = 0x3121; - t.overline = 0x203e; - t.overlinecenterline = 0xfe4a; - t.overlinecmb = 0x0305; - t.overlinedashed = 0xfe49; - t.overlinedblwavy = 0xfe4c; - t.overlinewavy = 0xfe4b; - t.overscore = 0x00af; - t.ovowelsignbengali = 0x09cb; - t.ovowelsigndeva = 0x094b; - t.ovowelsigngujarati = 0x0acb; - t.p = 0x0070; - t.paampssquare = 0x3380; - t.paasentosquare = 0x332b; - t.pabengali = 0x09aa; - t.pacute = 0x1e55; - t.padeva = 0x092a; - t.pagedown = 0x21df; - t.pageup = 0x21de; - t.pagujarati = 0x0aaa; - t.pagurmukhi = 0x0a2a; - t.pahiragana = 0x3071; - t.paiyannoithai = 0x0e2f; - t.pakatakana = 0x30d1; - t.palatalizationcyrilliccmb = 0x0484; - t.palochkacyrillic = 0x04c0; - t.pansioskorean = 0x317f; - t.paragraph = 0x00b6; - t.parallel = 0x2225; - t.parenleft = 0x0028; - t.parenleftaltonearabic = 0xfd3e; - t.parenleftbt = 0xf8ed; - t.parenleftex = 0xf8ec; - t.parenleftinferior = 0x208d; - t.parenleftmonospace = 0xff08; - t.parenleftsmall = 0xfe59; - t.parenleftsuperior = 0x207d; - t.parenlefttp = 0xf8eb; - t.parenleftvertical = 0xfe35; - t.parenright = 0x0029; - t.parenrightaltonearabic = 0xfd3f; - t.parenrightbt = 0xf8f8; - t.parenrightex = 0xf8f7; - t.parenrightinferior = 0x208e; - t.parenrightmonospace = 0xff09; - t.parenrightsmall = 0xfe5a; - t.parenrightsuperior = 0x207e; - t.parenrighttp = 0xf8f6; - t.parenrightvertical = 0xfe36; - t.partialdiff = 0x2202; - t.paseqhebrew = 0x05c0; - t.pashtahebrew = 0x0599; - t.pasquare = 0x33a9; - t.patah = 0x05b7; - t.patah11 = 0x05b7; - t.patah1d = 0x05b7; - t.patah2a = 0x05b7; - t.patahhebrew = 0x05b7; - t.patahnarrowhebrew = 0x05b7; - t.patahquarterhebrew = 0x05b7; - t.patahwidehebrew = 0x05b7; - t.pazerhebrew = 0x05a1; - t.pbopomofo = 0x3106; - t.pcircle = 0x24df; - t.pdotaccent = 0x1e57; - t.pe = 0x05e4; - t.pecyrillic = 0x043f; - t.pedagesh = 0xfb44; - t.pedageshhebrew = 0xfb44; - t.peezisquare = 0x333b; - t.pefinaldageshhebrew = 0xfb43; - t.peharabic = 0x067e; - t.peharmenian = 0x057a; - t.pehebrew = 0x05e4; - t.pehfinalarabic = 0xfb57; - t.pehinitialarabic = 0xfb58; - t.pehiragana = 0x307a; - t.pehmedialarabic = 0xfb59; - t.pekatakana = 0x30da; - t.pemiddlehookcyrillic = 0x04a7; - t.perafehebrew = 0xfb4e; - t.percent = 0x0025; - t.percentarabic = 0x066a; - t.percentmonospace = 0xff05; - t.percentsmall = 0xfe6a; - t.period = 0x002e; - t.periodarmenian = 0x0589; - t.periodcentered = 0x00b7; - t.periodhalfwidth = 0xff61; - t.periodinferior = 0xf6e7; - t.periodmonospace = 0xff0e; - t.periodsmall = 0xfe52; - t.periodsuperior = 0xf6e8; - t.perispomenigreekcmb = 0x0342; - t.perpendicular = 0x22a5; - t.perthousand = 0x2030; - t.peseta = 0x20a7; - t.pfsquare = 0x338a; - t.phabengali = 0x09ab; - t.phadeva = 0x092b; - t.phagujarati = 0x0aab; - t.phagurmukhi = 0x0a2b; - t.phi = 0x03c6; - t.phi1 = 0x03d5; - t.phieuphacirclekorean = 0x327a; - t.phieuphaparenkorean = 0x321a; - t.phieuphcirclekorean = 0x326c; - t.phieuphkorean = 0x314d; - t.phieuphparenkorean = 0x320c; - t.philatin = 0x0278; - t.phinthuthai = 0x0e3a; - t.phisymbolgreek = 0x03d5; - t.phook = 0x01a5; - t.phophanthai = 0x0e1e; - t.phophungthai = 0x0e1c; - t.phosamphaothai = 0x0e20; - t.pi = 0x03c0; - t.pieupacirclekorean = 0x3273; - t.pieupaparenkorean = 0x3213; - t.pieupcieuckorean = 0x3176; - t.pieupcirclekorean = 0x3265; - t.pieupkiyeokkorean = 0x3172; - t.pieupkorean = 0x3142; - t.pieupparenkorean = 0x3205; - t.pieupsioskiyeokkorean = 0x3174; - t.pieupsioskorean = 0x3144; - t.pieupsiostikeutkorean = 0x3175; - t.pieupthieuthkorean = 0x3177; - t.pieuptikeutkorean = 0x3173; - t.pihiragana = 0x3074; - t.pikatakana = 0x30d4; - t.pisymbolgreek = 0x03d6; - t.piwrarmenian = 0x0583; - t.planckover2pi = 0x210f; - t.planckover2pi1 = 0x210f; - t.plus = 0x002b; - t.plusbelowcmb = 0x031f; - t.pluscircle = 0x2295; - t.plusminus = 0x00b1; - t.plusmod = 0x02d6; - t.plusmonospace = 0xff0b; - t.plussmall = 0xfe62; - t.plussuperior = 0x207a; - t.pmonospace = 0xff50; - t.pmsquare = 0x33d8; - t.pohiragana = 0x307d; - t.pointingindexdownwhite = 0x261f; - t.pointingindexleftwhite = 0x261c; - t.pointingindexrightwhite = 0x261e; - t.pointingindexupwhite = 0x261d; - t.pokatakana = 0x30dd; - t.poplathai = 0x0e1b; - t.postalmark = 0x3012; - t.postalmarkface = 0x3020; - t.pparen = 0x24ab; - t.precedes = 0x227a; - t.prescription = 0x211e; - t.primemod = 0x02b9; - t.primereversed = 0x2035; - t.product = 0x220f; - t.projective = 0x2305; - t.prolongedkana = 0x30fc; - t.propellor = 0x2318; - t.propersubset = 0x2282; - t.propersuperset = 0x2283; - t.proportion = 0x2237; - t.proportional = 0x221d; - t.psi = 0x03c8; - t.psicyrillic = 0x0471; - t.psilipneumatacyrilliccmb = 0x0486; - t.pssquare = 0x33b0; - t.puhiragana = 0x3077; - t.pukatakana = 0x30d7; - t.pvsquare = 0x33b4; - t.pwsquare = 0x33ba; - t.q = 0x0071; - t.qadeva = 0x0958; - t.qadmahebrew = 0x05a8; - t.qafarabic = 0x0642; - t.qaffinalarabic = 0xfed6; - t.qafinitialarabic = 0xfed7; - t.qafmedialarabic = 0xfed8; - t.qamats = 0x05b8; - t.qamats10 = 0x05b8; - t.qamats1a = 0x05b8; - t.qamats1c = 0x05b8; - t.qamats27 = 0x05b8; - t.qamats29 = 0x05b8; - t.qamats33 = 0x05b8; - t.qamatsde = 0x05b8; - t.qamatshebrew = 0x05b8; - t.qamatsnarrowhebrew = 0x05b8; - t.qamatsqatanhebrew = 0x05b8; - t.qamatsqatannarrowhebrew = 0x05b8; - t.qamatsqatanquarterhebrew = 0x05b8; - t.qamatsqatanwidehebrew = 0x05b8; - t.qamatsquarterhebrew = 0x05b8; - t.qamatswidehebrew = 0x05b8; - t.qarneyparahebrew = 0x059f; - t.qbopomofo = 0x3111; - t.qcircle = 0x24e0; - t.qhook = 0x02a0; - t.qmonospace = 0xff51; - t.qof = 0x05e7; - t.qofdagesh = 0xfb47; - t.qofdageshhebrew = 0xfb47; - t.qofhebrew = 0x05e7; - t.qparen = 0x24ac; - t.quarternote = 0x2669; - t.qubuts = 0x05bb; - t.qubuts18 = 0x05bb; - t.qubuts25 = 0x05bb; - t.qubuts31 = 0x05bb; - t.qubutshebrew = 0x05bb; - t.qubutsnarrowhebrew = 0x05bb; - t.qubutsquarterhebrew = 0x05bb; - t.qubutswidehebrew = 0x05bb; - t.question = 0x003f; - t.questionarabic = 0x061f; - t.questionarmenian = 0x055e; - t.questiondown = 0x00bf; - t.questiondownsmall = 0xf7bf; - t.questiongreek = 0x037e; - t.questionmonospace = 0xff1f; - t.questionsmall = 0xf73f; - t.quotedbl = 0x0022; - t.quotedblbase = 0x201e; - t.quotedblleft = 0x201c; - t.quotedblmonospace = 0xff02; - t.quotedblprime = 0x301e; - t.quotedblprimereversed = 0x301d; - t.quotedblright = 0x201d; - t.quoteleft = 0x2018; - t.quoteleftreversed = 0x201b; - t.quotereversed = 0x201b; - t.quoteright = 0x2019; - t.quoterightn = 0x0149; - t.quotesinglbase = 0x201a; - t.quotesingle = 0x0027; - t.quotesinglemonospace = 0xff07; - t.r = 0x0072; - t.raarmenian = 0x057c; - t.rabengali = 0x09b0; - t.racute = 0x0155; - t.radeva = 0x0930; - t.radical = 0x221a; - t.radicalex = 0xf8e5; - t.radoverssquare = 0x33ae; - t.radoverssquaredsquare = 0x33af; - t.radsquare = 0x33ad; - t.rafe = 0x05bf; - t.rafehebrew = 0x05bf; - t.ragujarati = 0x0ab0; - t.ragurmukhi = 0x0a30; - t.rahiragana = 0x3089; - t.rakatakana = 0x30e9; - t.rakatakanahalfwidth = 0xff97; - t.ralowerdiagonalbengali = 0x09f1; - t.ramiddlediagonalbengali = 0x09f0; - t.ramshorn = 0x0264; - t.ratio = 0x2236; - t.rbopomofo = 0x3116; - t.rcaron = 0x0159; - t.rcedilla = 0x0157; - t.rcircle = 0x24e1; - t.rcommaaccent = 0x0157; - t.rdblgrave = 0x0211; - t.rdotaccent = 0x1e59; - t.rdotbelow = 0x1e5b; - t.rdotbelowmacron = 0x1e5d; - t.referencemark = 0x203b; - t.reflexsubset = 0x2286; - t.reflexsuperset = 0x2287; - t.registered = 0x00ae; - t.registersans = 0xf8e8; - t.registerserif = 0xf6da; - t.reharabic = 0x0631; - t.reharmenian = 0x0580; - t.rehfinalarabic = 0xfeae; - t.rehiragana = 0x308c; - t.rekatakana = 0x30ec; - t.rekatakanahalfwidth = 0xff9a; - t.resh = 0x05e8; - t.reshdageshhebrew = 0xfb48; - t.reshhebrew = 0x05e8; - t.reversedtilde = 0x223d; - t.reviahebrew = 0x0597; - t.reviamugrashhebrew = 0x0597; - t.revlogicalnot = 0x2310; - t.rfishhook = 0x027e; - t.rfishhookreversed = 0x027f; - t.rhabengali = 0x09dd; - t.rhadeva = 0x095d; - t.rho = 0x03c1; - t.rhook = 0x027d; - t.rhookturned = 0x027b; - t.rhookturnedsuperior = 0x02b5; - t.rhosymbolgreek = 0x03f1; - t.rhotichookmod = 0x02de; - t.rieulacirclekorean = 0x3271; - t.rieulaparenkorean = 0x3211; - t.rieulcirclekorean = 0x3263; - t.rieulhieuhkorean = 0x3140; - t.rieulkiyeokkorean = 0x313a; - t.rieulkiyeoksioskorean = 0x3169; - t.rieulkorean = 0x3139; - t.rieulmieumkorean = 0x313b; - t.rieulpansioskorean = 0x316c; - t.rieulparenkorean = 0x3203; - t.rieulphieuphkorean = 0x313f; - t.rieulpieupkorean = 0x313c; - t.rieulpieupsioskorean = 0x316b; - t.rieulsioskorean = 0x313d; - t.rieulthieuthkorean = 0x313e; - t.rieultikeutkorean = 0x316a; - t.rieulyeorinhieuhkorean = 0x316d; - t.rightangle = 0x221f; - t.righttackbelowcmb = 0x0319; - t.righttriangle = 0x22bf; - t.rihiragana = 0x308a; - t.rikatakana = 0x30ea; - t.rikatakanahalfwidth = 0xff98; - t.ring = 0x02da; - t.ringbelowcmb = 0x0325; - t.ringcmb = 0x030a; - t.ringhalfleft = 0x02bf; - t.ringhalfleftarmenian = 0x0559; - t.ringhalfleftbelowcmb = 0x031c; - t.ringhalfleftcentered = 0x02d3; - t.ringhalfright = 0x02be; - t.ringhalfrightbelowcmb = 0x0339; - t.ringhalfrightcentered = 0x02d2; - t.rinvertedbreve = 0x0213; - t.rittorusquare = 0x3351; - t.rlinebelow = 0x1e5f; - t.rlongleg = 0x027c; - t.rlonglegturned = 0x027a; - t.rmonospace = 0xff52; - t.rohiragana = 0x308d; - t.rokatakana = 0x30ed; - t.rokatakanahalfwidth = 0xff9b; - t.roruathai = 0x0e23; - t.rparen = 0x24ad; - t.rrabengali = 0x09dc; - t.rradeva = 0x0931; - t.rragurmukhi = 0x0a5c; - t.rreharabic = 0x0691; - t.rrehfinalarabic = 0xfb8d; - t.rrvocalicbengali = 0x09e0; - t.rrvocalicdeva = 0x0960; - t.rrvocalicgujarati = 0x0ae0; - t.rrvocalicvowelsignbengali = 0x09c4; - t.rrvocalicvowelsigndeva = 0x0944; - t.rrvocalicvowelsigngujarati = 0x0ac4; - t.rsuperior = 0xf6f1; - t.rtblock = 0x2590; - t.rturned = 0x0279; - t.rturnedsuperior = 0x02b4; - t.ruhiragana = 0x308b; - t.rukatakana = 0x30eb; - t.rukatakanahalfwidth = 0xff99; - t.rupeemarkbengali = 0x09f2; - t.rupeesignbengali = 0x09f3; - t.rupiah = 0xf6dd; - t.ruthai = 0x0e24; - t.rvocalicbengali = 0x098b; - t.rvocalicdeva = 0x090b; - t.rvocalicgujarati = 0x0a8b; - t.rvocalicvowelsignbengali = 0x09c3; - t.rvocalicvowelsigndeva = 0x0943; - t.rvocalicvowelsigngujarati = 0x0ac3; - t.s = 0x0073; - t.sabengali = 0x09b8; - t.sacute = 0x015b; - t.sacutedotaccent = 0x1e65; - t.sadarabic = 0x0635; - t.sadeva = 0x0938; - t.sadfinalarabic = 0xfeba; - t.sadinitialarabic = 0xfebb; - t.sadmedialarabic = 0xfebc; - t.sagujarati = 0x0ab8; - t.sagurmukhi = 0x0a38; - t.sahiragana = 0x3055; - t.sakatakana = 0x30b5; - t.sakatakanahalfwidth = 0xff7b; - t.sallallahoualayhewasallamarabic = 0xfdfa; - t.samekh = 0x05e1; - t.samekhdagesh = 0xfb41; - t.samekhdageshhebrew = 0xfb41; - t.samekhhebrew = 0x05e1; - t.saraaathai = 0x0e32; - t.saraaethai = 0x0e41; - t.saraaimaimalaithai = 0x0e44; - t.saraaimaimuanthai = 0x0e43; - t.saraamthai = 0x0e33; - t.saraathai = 0x0e30; - t.saraethai = 0x0e40; - t.saraiileftthai = 0xf886; - t.saraiithai = 0x0e35; - t.saraileftthai = 0xf885; - t.saraithai = 0x0e34; - t.saraothai = 0x0e42; - t.saraueeleftthai = 0xf888; - t.saraueethai = 0x0e37; - t.saraueleftthai = 0xf887; - t.sarauethai = 0x0e36; - t.sarauthai = 0x0e38; - t.sarauuthai = 0x0e39; - t.sbopomofo = 0x3119; - t.scaron = 0x0161; - t.scarondotaccent = 0x1e67; - t.scedilla = 0x015f; - t.schwa = 0x0259; - t.schwacyrillic = 0x04d9; - t.schwadieresiscyrillic = 0x04db; - t.schwahook = 0x025a; - t.scircle = 0x24e2; - t.scircumflex = 0x015d; - t.scommaaccent = 0x0219; - t.sdotaccent = 0x1e61; - t.sdotbelow = 0x1e63; - t.sdotbelowdotaccent = 0x1e69; - t.seagullbelowcmb = 0x033c; - t.second = 0x2033; - t.secondtonechinese = 0x02ca; - t.section = 0x00a7; - t.seenarabic = 0x0633; - t.seenfinalarabic = 0xfeb2; - t.seeninitialarabic = 0xfeb3; - t.seenmedialarabic = 0xfeb4; - t.segol = 0x05b6; - t.segol13 = 0x05b6; - t.segol1f = 0x05b6; - t.segol2c = 0x05b6; - t.segolhebrew = 0x05b6; - t.segolnarrowhebrew = 0x05b6; - t.segolquarterhebrew = 0x05b6; - t.segoltahebrew = 0x0592; - t.segolwidehebrew = 0x05b6; - t.seharmenian = 0x057d; - t.sehiragana = 0x305b; - t.sekatakana = 0x30bb; - t.sekatakanahalfwidth = 0xff7e; - t.semicolon = 0x003b; - t.semicolonarabic = 0x061b; - t.semicolonmonospace = 0xff1b; - t.semicolonsmall = 0xfe54; - t.semivoicedmarkkana = 0x309c; - t.semivoicedmarkkanahalfwidth = 0xff9f; - t.sentisquare = 0x3322; - t.sentosquare = 0x3323; - t.seven = 0x0037; - t.sevenarabic = 0x0667; - t.sevenbengali = 0x09ed; - t.sevencircle = 0x2466; - t.sevencircleinversesansserif = 0x2790; - t.sevendeva = 0x096d; - t.seveneighths = 0x215e; - t.sevengujarati = 0x0aed; - t.sevengurmukhi = 0x0a6d; - t.sevenhackarabic = 0x0667; - t.sevenhangzhou = 0x3027; - t.sevenideographicparen = 0x3226; - t.seveninferior = 0x2087; - t.sevenmonospace = 0xff17; - t.sevenoldstyle = 0xf737; - t.sevenparen = 0x247a; - t.sevenperiod = 0x248e; - t.sevenpersian = 0x06f7; - t.sevenroman = 0x2176; - t.sevensuperior = 0x2077; - t.seventeencircle = 0x2470; - t.seventeenparen = 0x2484; - t.seventeenperiod = 0x2498; - t.seventhai = 0x0e57; - t.sfthyphen = 0x00ad; - t.shaarmenian = 0x0577; - t.shabengali = 0x09b6; - t.shacyrillic = 0x0448; - t.shaddaarabic = 0x0651; - t.shaddadammaarabic = 0xfc61; - t.shaddadammatanarabic = 0xfc5e; - t.shaddafathaarabic = 0xfc60; - t.shaddakasraarabic = 0xfc62; - t.shaddakasratanarabic = 0xfc5f; - t.shade = 0x2592; - t.shadedark = 0x2593; - t.shadelight = 0x2591; - t.shademedium = 0x2592; - t.shadeva = 0x0936; - t.shagujarati = 0x0ab6; - t.shagurmukhi = 0x0a36; - t.shalshelethebrew = 0x0593; - t.shbopomofo = 0x3115; - t.shchacyrillic = 0x0449; - t.sheenarabic = 0x0634; - t.sheenfinalarabic = 0xfeb6; - t.sheeninitialarabic = 0xfeb7; - t.sheenmedialarabic = 0xfeb8; - t.sheicoptic = 0x03e3; - t.sheqel = 0x20aa; - t.sheqelhebrew = 0x20aa; - t.sheva = 0x05b0; - t.sheva115 = 0x05b0; - t.sheva15 = 0x05b0; - t.sheva22 = 0x05b0; - t.sheva2e = 0x05b0; - t.shevahebrew = 0x05b0; - t.shevanarrowhebrew = 0x05b0; - t.shevaquarterhebrew = 0x05b0; - t.shevawidehebrew = 0x05b0; - t.shhacyrillic = 0x04bb; - t.shimacoptic = 0x03ed; - t.shin = 0x05e9; - t.shindagesh = 0xfb49; - t.shindageshhebrew = 0xfb49; - t.shindageshshindot = 0xfb2c; - t.shindageshshindothebrew = 0xfb2c; - t.shindageshsindot = 0xfb2d; - t.shindageshsindothebrew = 0xfb2d; - t.shindothebrew = 0x05c1; - t.shinhebrew = 0x05e9; - t.shinshindot = 0xfb2a; - t.shinshindothebrew = 0xfb2a; - t.shinsindot = 0xfb2b; - t.shinsindothebrew = 0xfb2b; - t.shook = 0x0282; - t.sigma = 0x03c3; - t.sigma1 = 0x03c2; - t.sigmafinal = 0x03c2; - t.sigmalunatesymbolgreek = 0x03f2; - t.sihiragana = 0x3057; - t.sikatakana = 0x30b7; - t.sikatakanahalfwidth = 0xff7c; - t.siluqhebrew = 0x05bd; - t.siluqlefthebrew = 0x05bd; - t.similar = 0x223c; - t.sindothebrew = 0x05c2; - t.siosacirclekorean = 0x3274; - t.siosaparenkorean = 0x3214; - t.sioscieuckorean = 0x317e; - t.sioscirclekorean = 0x3266; - t.sioskiyeokkorean = 0x317a; - t.sioskorean = 0x3145; - t.siosnieunkorean = 0x317b; - t.siosparenkorean = 0x3206; - t.siospieupkorean = 0x317d; - t.siostikeutkorean = 0x317c; - t.six = 0x0036; - t.sixarabic = 0x0666; - t.sixbengali = 0x09ec; - t.sixcircle = 0x2465; - t.sixcircleinversesansserif = 0x278f; - t.sixdeva = 0x096c; - t.sixgujarati = 0x0aec; - t.sixgurmukhi = 0x0a6c; - t.sixhackarabic = 0x0666; - t.sixhangzhou = 0x3026; - t.sixideographicparen = 0x3225; - t.sixinferior = 0x2086; - t.sixmonospace = 0xff16; - t.sixoldstyle = 0xf736; - t.sixparen = 0x2479; - t.sixperiod = 0x248d; - t.sixpersian = 0x06f6; - t.sixroman = 0x2175; - t.sixsuperior = 0x2076; - t.sixteencircle = 0x246f; - t.sixteencurrencydenominatorbengali = 0x09f9; - t.sixteenparen = 0x2483; - t.sixteenperiod = 0x2497; - t.sixthai = 0x0e56; - t.slash = 0x002f; - t.slashmonospace = 0xff0f; - t.slong = 0x017f; - t.slongdotaccent = 0x1e9b; - t.smileface = 0x263a; - t.smonospace = 0xff53; - t.sofpasuqhebrew = 0x05c3; - t.softhyphen = 0x00ad; - t.softsigncyrillic = 0x044c; - t.sohiragana = 0x305d; - t.sokatakana = 0x30bd; - t.sokatakanahalfwidth = 0xff7f; - t.soliduslongoverlaycmb = 0x0338; - t.solidusshortoverlaycmb = 0x0337; - t.sorusithai = 0x0e29; - t.sosalathai = 0x0e28; - t.sosothai = 0x0e0b; - t.sosuathai = 0x0e2a; - t.space = 0x0020; - t.spacehackarabic = 0x0020; - t.spade = 0x2660; - t.spadesuitblack = 0x2660; - t.spadesuitwhite = 0x2664; - t.sparen = 0x24ae; - t.squarebelowcmb = 0x033b; - t.squarecc = 0x33c4; - t.squarecm = 0x339d; - t.squarediagonalcrosshatchfill = 0x25a9; - t.squarehorizontalfill = 0x25a4; - t.squarekg = 0x338f; - t.squarekm = 0x339e; - t.squarekmcapital = 0x33ce; - t.squareln = 0x33d1; - t.squarelog = 0x33d2; - t.squaremg = 0x338e; - t.squaremil = 0x33d5; - t.squaremm = 0x339c; - t.squaremsquared = 0x33a1; - t.squareorthogonalcrosshatchfill = 0x25a6; - t.squareupperlefttolowerrightfill = 0x25a7; - t.squareupperrighttolowerleftfill = 0x25a8; - t.squareverticalfill = 0x25a5; - t.squarewhitewithsmallblack = 0x25a3; - t.srsquare = 0x33db; - t.ssabengali = 0x09b7; - t.ssadeva = 0x0937; - t.ssagujarati = 0x0ab7; - t.ssangcieuckorean = 0x3149; - t.ssanghieuhkorean = 0x3185; - t.ssangieungkorean = 0x3180; - t.ssangkiyeokkorean = 0x3132; - t.ssangnieunkorean = 0x3165; - t.ssangpieupkorean = 0x3143; - t.ssangsioskorean = 0x3146; - t.ssangtikeutkorean = 0x3138; - t.ssuperior = 0xf6f2; - t.sterling = 0x00a3; - t.sterlingmonospace = 0xffe1; - t.strokelongoverlaycmb = 0x0336; - t.strokeshortoverlaycmb = 0x0335; - t.subset = 0x2282; - t.subsetnotequal = 0x228a; - t.subsetorequal = 0x2286; - t.succeeds = 0x227b; - t.suchthat = 0x220b; - t.suhiragana = 0x3059; - t.sukatakana = 0x30b9; - t.sukatakanahalfwidth = 0xff7d; - t.sukunarabic = 0x0652; - t.summation = 0x2211; - t.sun = 0x263c; - t.superset = 0x2283; - t.supersetnotequal = 0x228b; - t.supersetorequal = 0x2287; - t.svsquare = 0x33dc; - t.syouwaerasquare = 0x337c; - t.t = 0x0074; - t.tabengali = 0x09a4; - t.tackdown = 0x22a4; - t.tackleft = 0x22a3; - t.tadeva = 0x0924; - t.tagujarati = 0x0aa4; - t.tagurmukhi = 0x0a24; - t.taharabic = 0x0637; - t.tahfinalarabic = 0xfec2; - t.tahinitialarabic = 0xfec3; - t.tahiragana = 0x305f; - t.tahmedialarabic = 0xfec4; - t.taisyouerasquare = 0x337d; - t.takatakana = 0x30bf; - t.takatakanahalfwidth = 0xff80; - t.tatweelarabic = 0x0640; - t.tau = 0x03c4; - t.tav = 0x05ea; - t.tavdages = 0xfb4a; - t.tavdagesh = 0xfb4a; - t.tavdageshhebrew = 0xfb4a; - t.tavhebrew = 0x05ea; - t.tbar = 0x0167; - t.tbopomofo = 0x310a; - t.tcaron = 0x0165; - t.tccurl = 0x02a8; - t.tcedilla = 0x0163; - t.tcheharabic = 0x0686; - t.tchehfinalarabic = 0xfb7b; - t.tchehinitialarabic = 0xfb7c; - t.tchehmedialarabic = 0xfb7d; - t.tcircle = 0x24e3; - t.tcircumflexbelow = 0x1e71; - t.tcommaaccent = 0x0163; - t.tdieresis = 0x1e97; - t.tdotaccent = 0x1e6b; - t.tdotbelow = 0x1e6d; - t.tecyrillic = 0x0442; - t.tedescendercyrillic = 0x04ad; - t.teharabic = 0x062a; - t.tehfinalarabic = 0xfe96; - t.tehhahinitialarabic = 0xfca2; - t.tehhahisolatedarabic = 0xfc0c; - t.tehinitialarabic = 0xfe97; - t.tehiragana = 0x3066; - t.tehjeeminitialarabic = 0xfca1; - t.tehjeemisolatedarabic = 0xfc0b; - t.tehmarbutaarabic = 0x0629; - t.tehmarbutafinalarabic = 0xfe94; - t.tehmedialarabic = 0xfe98; - t.tehmeeminitialarabic = 0xfca4; - t.tehmeemisolatedarabic = 0xfc0e; - t.tehnoonfinalarabic = 0xfc73; - t.tekatakana = 0x30c6; - t.tekatakanahalfwidth = 0xff83; - t.telephone = 0x2121; - t.telephoneblack = 0x260e; - t.telishagedolahebrew = 0x05a0; - t.telishaqetanahebrew = 0x05a9; - t.tencircle = 0x2469; - t.tenideographicparen = 0x3229; - t.tenparen = 0x247d; - t.tenperiod = 0x2491; - t.tenroman = 0x2179; - t.tesh = 0x02a7; - t.tet = 0x05d8; - t.tetdagesh = 0xfb38; - t.tetdageshhebrew = 0xfb38; - t.tethebrew = 0x05d8; - t.tetsecyrillic = 0x04b5; - t.tevirhebrew = 0x059b; - t.tevirlefthebrew = 0x059b; - t.thabengali = 0x09a5; - t.thadeva = 0x0925; - t.thagujarati = 0x0aa5; - t.thagurmukhi = 0x0a25; - t.thalarabic = 0x0630; - t.thalfinalarabic = 0xfeac; - t.thanthakhatlowleftthai = 0xf898; - t.thanthakhatlowrightthai = 0xf897; - t.thanthakhatthai = 0x0e4c; - t.thanthakhatupperleftthai = 0xf896; - t.theharabic = 0x062b; - t.thehfinalarabic = 0xfe9a; - t.thehinitialarabic = 0xfe9b; - t.thehmedialarabic = 0xfe9c; - t.thereexists = 0x2203; - t.therefore = 0x2234; - t.theta = 0x03b8; - t.theta1 = 0x03d1; - t.thetasymbolgreek = 0x03d1; - t.thieuthacirclekorean = 0x3279; - t.thieuthaparenkorean = 0x3219; - t.thieuthcirclekorean = 0x326b; - t.thieuthkorean = 0x314c; - t.thieuthparenkorean = 0x320b; - t.thirteencircle = 0x246c; - t.thirteenparen = 0x2480; - t.thirteenperiod = 0x2494; - t.thonangmonthothai = 0x0e11; - t.thook = 0x01ad; - t.thophuthaothai = 0x0e12; - t.thorn = 0x00fe; - t.thothahanthai = 0x0e17; - t.thothanthai = 0x0e10; - t.thothongthai = 0x0e18; - t.thothungthai = 0x0e16; - t.thousandcyrillic = 0x0482; - t.thousandsseparatorarabic = 0x066c; - t.thousandsseparatorpersian = 0x066c; - t.three = 0x0033; - t.threearabic = 0x0663; - t.threebengali = 0x09e9; - t.threecircle = 0x2462; - t.threecircleinversesansserif = 0x278c; - t.threedeva = 0x0969; - t.threeeighths = 0x215c; - t.threegujarati = 0x0ae9; - t.threegurmukhi = 0x0a69; - t.threehackarabic = 0x0663; - t.threehangzhou = 0x3023; - t.threeideographicparen = 0x3222; - t.threeinferior = 0x2083; - t.threemonospace = 0xff13; - t.threenumeratorbengali = 0x09f6; - t.threeoldstyle = 0xf733; - t.threeparen = 0x2476; - t.threeperiod = 0x248a; - t.threepersian = 0x06f3; - t.threequarters = 0x00be; - t.threequartersemdash = 0xf6de; - t.threeroman = 0x2172; - t.threesuperior = 0x00b3; - t.threethai = 0x0e53; - t.thzsquare = 0x3394; - t.tihiragana = 0x3061; - t.tikatakana = 0x30c1; - t.tikatakanahalfwidth = 0xff81; - t.tikeutacirclekorean = 0x3270; - t.tikeutaparenkorean = 0x3210; - t.tikeutcirclekorean = 0x3262; - t.tikeutkorean = 0x3137; - t.tikeutparenkorean = 0x3202; - t.tilde = 0x02dc; - t.tildebelowcmb = 0x0330; - t.tildecmb = 0x0303; - t.tildecomb = 0x0303; - t.tildedoublecmb = 0x0360; - t.tildeoperator = 0x223c; - t.tildeoverlaycmb = 0x0334; - t.tildeverticalcmb = 0x033e; - t.timescircle = 0x2297; - t.tipehahebrew = 0x0596; - t.tipehalefthebrew = 0x0596; - t.tippigurmukhi = 0x0a70; - t.titlocyrilliccmb = 0x0483; - t.tiwnarmenian = 0x057f; - t.tlinebelow = 0x1e6f; - t.tmonospace = 0xff54; - t.toarmenian = 0x0569; - t.tohiragana = 0x3068; - t.tokatakana = 0x30c8; - t.tokatakanahalfwidth = 0xff84; - t.tonebarextrahighmod = 0x02e5; - t.tonebarextralowmod = 0x02e9; - t.tonebarhighmod = 0x02e6; - t.tonebarlowmod = 0x02e8; - t.tonebarmidmod = 0x02e7; - t.tonefive = 0x01bd; - t.tonesix = 0x0185; - t.tonetwo = 0x01a8; - t.tonos = 0x0384; - t.tonsquare = 0x3327; - t.topatakthai = 0x0e0f; - t.tortoiseshellbracketleft = 0x3014; - t.tortoiseshellbracketleftsmall = 0xfe5d; - t.tortoiseshellbracketleftvertical = 0xfe39; - t.tortoiseshellbracketright = 0x3015; - t.tortoiseshellbracketrightsmall = 0xfe5e; - t.tortoiseshellbracketrightvertical = 0xfe3a; - t.totaothai = 0x0e15; - t.tpalatalhook = 0x01ab; - t.tparen = 0x24af; - t.trademark = 0x2122; - t.trademarksans = 0xf8ea; - t.trademarkserif = 0xf6db; - t.tretroflexhook = 0x0288; - t.triagdn = 0x25bc; - t.triaglf = 0x25c4; - t.triagrt = 0x25ba; - t.triagup = 0x25b2; - t.ts = 0x02a6; - t.tsadi = 0x05e6; - t.tsadidagesh = 0xfb46; - t.tsadidageshhebrew = 0xfb46; - t.tsadihebrew = 0x05e6; - t.tsecyrillic = 0x0446; - t.tsere = 0x05b5; - t.tsere12 = 0x05b5; - t.tsere1e = 0x05b5; - t.tsere2b = 0x05b5; - t.tserehebrew = 0x05b5; - t.tserenarrowhebrew = 0x05b5; - t.tserequarterhebrew = 0x05b5; - t.tserewidehebrew = 0x05b5; - t.tshecyrillic = 0x045b; - t.tsuperior = 0xf6f3; - t.ttabengali = 0x099f; - t.ttadeva = 0x091f; - t.ttagujarati = 0x0a9f; - t.ttagurmukhi = 0x0a1f; - t.tteharabic = 0x0679; - t.ttehfinalarabic = 0xfb67; - t.ttehinitialarabic = 0xfb68; - t.ttehmedialarabic = 0xfb69; - t.tthabengali = 0x09a0; - t.tthadeva = 0x0920; - t.tthagujarati = 0x0aa0; - t.tthagurmukhi = 0x0a20; - t.tturned = 0x0287; - t.tuhiragana = 0x3064; - t.tukatakana = 0x30c4; - t.tukatakanahalfwidth = 0xff82; - t.tusmallhiragana = 0x3063; - t.tusmallkatakana = 0x30c3; - t.tusmallkatakanahalfwidth = 0xff6f; - t.twelvecircle = 0x246b; - t.twelveparen = 0x247f; - t.twelveperiod = 0x2493; - t.twelveroman = 0x217b; - t.twentycircle = 0x2473; - t.twentyhangzhou = 0x5344; - t.twentyparen = 0x2487; - t.twentyperiod = 0x249b; - t.two = 0x0032; - t.twoarabic = 0x0662; - t.twobengali = 0x09e8; - t.twocircle = 0x2461; - t.twocircleinversesansserif = 0x278b; - t.twodeva = 0x0968; - t.twodotenleader = 0x2025; - t.twodotleader = 0x2025; - t.twodotleadervertical = 0xfe30; - t.twogujarati = 0x0ae8; - t.twogurmukhi = 0x0a68; - t.twohackarabic = 0x0662; - t.twohangzhou = 0x3022; - t.twoideographicparen = 0x3221; - t.twoinferior = 0x2082; - t.twomonospace = 0xff12; - t.twonumeratorbengali = 0x09f5; - t.twooldstyle = 0xf732; - t.twoparen = 0x2475; - t.twoperiod = 0x2489; - t.twopersian = 0x06f2; - t.tworoman = 0x2171; - t.twostroke = 0x01bb; - t.twosuperior = 0x00b2; - t.twothai = 0x0e52; - t.twothirds = 0x2154; - t.u = 0x0075; - t.uacute = 0x00fa; - t.ubar = 0x0289; - t.ubengali = 0x0989; - t.ubopomofo = 0x3128; - t.ubreve = 0x016d; - t.ucaron = 0x01d4; - t.ucircle = 0x24e4; - t.ucircumflex = 0x00fb; - t.ucircumflexbelow = 0x1e77; - t.ucyrillic = 0x0443; - t.udattadeva = 0x0951; - t.udblacute = 0x0171; - t.udblgrave = 0x0215; - t.udeva = 0x0909; - t.udieresis = 0x00fc; - t.udieresisacute = 0x01d8; - t.udieresisbelow = 0x1e73; - t.udieresiscaron = 0x01da; - t.udieresiscyrillic = 0x04f1; - t.udieresisgrave = 0x01dc; - t.udieresismacron = 0x01d6; - t.udotbelow = 0x1ee5; - t.ugrave = 0x00f9; - t.ugujarati = 0x0a89; - t.ugurmukhi = 0x0a09; - t.uhiragana = 0x3046; - t.uhookabove = 0x1ee7; - t.uhorn = 0x01b0; - t.uhornacute = 0x1ee9; - t.uhorndotbelow = 0x1ef1; - t.uhorngrave = 0x1eeb; - t.uhornhookabove = 0x1eed; - t.uhorntilde = 0x1eef; - t.uhungarumlaut = 0x0171; - t.uhungarumlautcyrillic = 0x04f3; - t.uinvertedbreve = 0x0217; - t.ukatakana = 0x30a6; - t.ukatakanahalfwidth = 0xff73; - t.ukcyrillic = 0x0479; - t.ukorean = 0x315c; - t.umacron = 0x016b; - t.umacroncyrillic = 0x04ef; - t.umacrondieresis = 0x1e7b; - t.umatragurmukhi = 0x0a41; - t.umonospace = 0xff55; - t.underscore = 0x005f; - t.underscoredbl = 0x2017; - t.underscoremonospace = 0xff3f; - t.underscorevertical = 0xfe33; - t.underscorewavy = 0xfe4f; - t.union = 0x222a; - t.universal = 0x2200; - t.uogonek = 0x0173; - t.uparen = 0x24b0; - t.upblock = 0x2580; - t.upperdothebrew = 0x05c4; - t.upsilon = 0x03c5; - t.upsilondieresis = 0x03cb; - t.upsilondieresistonos = 0x03b0; - t.upsilonlatin = 0x028a; - t.upsilontonos = 0x03cd; - t.uptackbelowcmb = 0x031d; - t.uptackmod = 0x02d4; - t.uragurmukhi = 0x0a73; - t.uring = 0x016f; - t.ushortcyrillic = 0x045e; - t.usmallhiragana = 0x3045; - t.usmallkatakana = 0x30a5; - t.usmallkatakanahalfwidth = 0xff69; - t.ustraightcyrillic = 0x04af; - t.ustraightstrokecyrillic = 0x04b1; - t.utilde = 0x0169; - t.utildeacute = 0x1e79; - t.utildebelow = 0x1e75; - t.uubengali = 0x098a; - t.uudeva = 0x090a; - t.uugujarati = 0x0a8a; - t.uugurmukhi = 0x0a0a; - t.uumatragurmukhi = 0x0a42; - t.uuvowelsignbengali = 0x09c2; - t.uuvowelsigndeva = 0x0942; - t.uuvowelsigngujarati = 0x0ac2; - t.uvowelsignbengali = 0x09c1; - t.uvowelsigndeva = 0x0941; - t.uvowelsigngujarati = 0x0ac1; - t.v = 0x0076; - t.vadeva = 0x0935; - t.vagujarati = 0x0ab5; - t.vagurmukhi = 0x0a35; - t.vakatakana = 0x30f7; - t.vav = 0x05d5; - t.vavdagesh = 0xfb35; - t.vavdagesh65 = 0xfb35; - t.vavdageshhebrew = 0xfb35; - t.vavhebrew = 0x05d5; - t.vavholam = 0xfb4b; - t.vavholamhebrew = 0xfb4b; - t.vavvavhebrew = 0x05f0; - t.vavyodhebrew = 0x05f1; - t.vcircle = 0x24e5; - t.vdotbelow = 0x1e7f; - t.vecyrillic = 0x0432; - t.veharabic = 0x06a4; - t.vehfinalarabic = 0xfb6b; - t.vehinitialarabic = 0xfb6c; - t.vehmedialarabic = 0xfb6d; - t.vekatakana = 0x30f9; - t.venus = 0x2640; - t.verticalbar = 0x007c; - t.verticallineabovecmb = 0x030d; - t.verticallinebelowcmb = 0x0329; - t.verticallinelowmod = 0x02cc; - t.verticallinemod = 0x02c8; - t.vewarmenian = 0x057e; - t.vhook = 0x028b; - t.vikatakana = 0x30f8; - t.viramabengali = 0x09cd; - t.viramadeva = 0x094d; - t.viramagujarati = 0x0acd; - t.visargabengali = 0x0983; - t.visargadeva = 0x0903; - t.visargagujarati = 0x0a83; - t.vmonospace = 0xff56; - t.voarmenian = 0x0578; - t.voicediterationhiragana = 0x309e; - t.voicediterationkatakana = 0x30fe; - t.voicedmarkkana = 0x309b; - t.voicedmarkkanahalfwidth = 0xff9e; - t.vokatakana = 0x30fa; - t.vparen = 0x24b1; - t.vtilde = 0x1e7d; - t.vturned = 0x028c; - t.vuhiragana = 0x3094; - t.vukatakana = 0x30f4; - t.w = 0x0077; - t.wacute = 0x1e83; - t.waekorean = 0x3159; - t.wahiragana = 0x308f; - t.wakatakana = 0x30ef; - t.wakatakanahalfwidth = 0xff9c; - t.wakorean = 0x3158; - t.wasmallhiragana = 0x308e; - t.wasmallkatakana = 0x30ee; - t.wattosquare = 0x3357; - t.wavedash = 0x301c; - t.wavyunderscorevertical = 0xfe34; - t.wawarabic = 0x0648; - t.wawfinalarabic = 0xfeee; - t.wawhamzaabovearabic = 0x0624; - t.wawhamzaabovefinalarabic = 0xfe86; - t.wbsquare = 0x33dd; - t.wcircle = 0x24e6; - t.wcircumflex = 0x0175; - t.wdieresis = 0x1e85; - t.wdotaccent = 0x1e87; - t.wdotbelow = 0x1e89; - t.wehiragana = 0x3091; - t.weierstrass = 0x2118; - t.wekatakana = 0x30f1; - t.wekorean = 0x315e; - t.weokorean = 0x315d; - t.wgrave = 0x1e81; - t.whitebullet = 0x25e6; - t.whitecircle = 0x25cb; - t.whitecircleinverse = 0x25d9; - t.whitecornerbracketleft = 0x300e; - t.whitecornerbracketleftvertical = 0xfe43; - t.whitecornerbracketright = 0x300f; - t.whitecornerbracketrightvertical = 0xfe44; - t.whitediamond = 0x25c7; - t.whitediamondcontainingblacksmalldiamond = 0x25c8; - t.whitedownpointingsmalltriangle = 0x25bf; - t.whitedownpointingtriangle = 0x25bd; - t.whiteleftpointingsmalltriangle = 0x25c3; - t.whiteleftpointingtriangle = 0x25c1; - t.whitelenticularbracketleft = 0x3016; - t.whitelenticularbracketright = 0x3017; - t.whiterightpointingsmalltriangle = 0x25b9; - t.whiterightpointingtriangle = 0x25b7; - t.whitesmallsquare = 0x25ab; - t.whitesmilingface = 0x263a; - t.whitesquare = 0x25a1; - t.whitestar = 0x2606; - t.whitetelephone = 0x260f; - t.whitetortoiseshellbracketleft = 0x3018; - t.whitetortoiseshellbracketright = 0x3019; - t.whiteuppointingsmalltriangle = 0x25b5; - t.whiteuppointingtriangle = 0x25b3; - t.wihiragana = 0x3090; - t.wikatakana = 0x30f0; - t.wikorean = 0x315f; - t.wmonospace = 0xff57; - t.wohiragana = 0x3092; - t.wokatakana = 0x30f2; - t.wokatakanahalfwidth = 0xff66; - t.won = 0x20a9; - t.wonmonospace = 0xffe6; - t.wowaenthai = 0x0e27; - t.wparen = 0x24b2; - t.wring = 0x1e98; - t.wsuperior = 0x02b7; - t.wturned = 0x028d; - t.wynn = 0x01bf; - t.x = 0x0078; - t.xabovecmb = 0x033d; - t.xbopomofo = 0x3112; - t.xcircle = 0x24e7; - t.xdieresis = 0x1e8d; - t.xdotaccent = 0x1e8b; - t.xeharmenian = 0x056d; - t.xi = 0x03be; - t.xmonospace = 0xff58; - t.xparen = 0x24b3; - t.xsuperior = 0x02e3; - t.y = 0x0079; - t.yaadosquare = 0x334e; - t.yabengali = 0x09af; - t.yacute = 0x00fd; - t.yadeva = 0x092f; - t.yaekorean = 0x3152; - t.yagujarati = 0x0aaf; - t.yagurmukhi = 0x0a2f; - t.yahiragana = 0x3084; - t.yakatakana = 0x30e4; - t.yakatakanahalfwidth = 0xff94; - t.yakorean = 0x3151; - t.yamakkanthai = 0x0e4e; - t.yasmallhiragana = 0x3083; - t.yasmallkatakana = 0x30e3; - t.yasmallkatakanahalfwidth = 0xff6c; - t.yatcyrillic = 0x0463; - t.ycircle = 0x24e8; - t.ycircumflex = 0x0177; - t.ydieresis = 0x00ff; - t.ydotaccent = 0x1e8f; - t.ydotbelow = 0x1ef5; - t.yeharabic = 0x064a; - t.yehbarreearabic = 0x06d2; - t.yehbarreefinalarabic = 0xfbaf; - t.yehfinalarabic = 0xfef2; - t.yehhamzaabovearabic = 0x0626; - t.yehhamzaabovefinalarabic = 0xfe8a; - t.yehhamzaaboveinitialarabic = 0xfe8b; - t.yehhamzaabovemedialarabic = 0xfe8c; - t.yehinitialarabic = 0xfef3; - t.yehmedialarabic = 0xfef4; - t.yehmeeminitialarabic = 0xfcdd; - t.yehmeemisolatedarabic = 0xfc58; - t.yehnoonfinalarabic = 0xfc94; - t.yehthreedotsbelowarabic = 0x06d1; - t.yekorean = 0x3156; - t.yen = 0x00a5; - t.yenmonospace = 0xffe5; - t.yeokorean = 0x3155; - t.yeorinhieuhkorean = 0x3186; - t.yerahbenyomohebrew = 0x05aa; - t.yerahbenyomolefthebrew = 0x05aa; - t.yericyrillic = 0x044b; - t.yerudieresiscyrillic = 0x04f9; - t.yesieungkorean = 0x3181; - t.yesieungpansioskorean = 0x3183; - t.yesieungsioskorean = 0x3182; - t.yetivhebrew = 0x059a; - t.ygrave = 0x1ef3; - t.yhook = 0x01b4; - t.yhookabove = 0x1ef7; - t.yiarmenian = 0x0575; - t.yicyrillic = 0x0457; - t.yikorean = 0x3162; - t.yinyang = 0x262f; - t.yiwnarmenian = 0x0582; - t.ymonospace = 0xff59; - t.yod = 0x05d9; - t.yoddagesh = 0xfb39; - t.yoddageshhebrew = 0xfb39; - t.yodhebrew = 0x05d9; - t.yodyodhebrew = 0x05f2; - t.yodyodpatahhebrew = 0xfb1f; - t.yohiragana = 0x3088; - t.yoikorean = 0x3189; - t.yokatakana = 0x30e8; - t.yokatakanahalfwidth = 0xff96; - t.yokorean = 0x315b; - t.yosmallhiragana = 0x3087; - t.yosmallkatakana = 0x30e7; - t.yosmallkatakanahalfwidth = 0xff6e; - t.yotgreek = 0x03f3; - t.yoyaekorean = 0x3188; - t.yoyakorean = 0x3187; - t.yoyakthai = 0x0e22; - t.yoyingthai = 0x0e0d; - t.yparen = 0x24b4; - t.ypogegrammeni = 0x037a; - t.ypogegrammenigreekcmb = 0x0345; - t.yr = 0x01a6; - t.yring = 0x1e99; - t.ysuperior = 0x02b8; - t.ytilde = 0x1ef9; - t.yturned = 0x028e; - t.yuhiragana = 0x3086; - t.yuikorean = 0x318c; - t.yukatakana = 0x30e6; - t.yukatakanahalfwidth = 0xff95; - t.yukorean = 0x3160; - t.yusbigcyrillic = 0x046b; - t.yusbigiotifiedcyrillic = 0x046d; - t.yuslittlecyrillic = 0x0467; - t.yuslittleiotifiedcyrillic = 0x0469; - t.yusmallhiragana = 0x3085; - t.yusmallkatakana = 0x30e5; - t.yusmallkatakanahalfwidth = 0xff6d; - t.yuyekorean = 0x318b; - t.yuyeokorean = 0x318a; - t.yyabengali = 0x09df; - t.yyadeva = 0x095f; - t.z = 0x007a; - t.zaarmenian = 0x0566; - t.zacute = 0x017a; - t.zadeva = 0x095b; - t.zagurmukhi = 0x0a5b; - t.zaharabic = 0x0638; - t.zahfinalarabic = 0xfec6; - t.zahinitialarabic = 0xfec7; - t.zahiragana = 0x3056; - t.zahmedialarabic = 0xfec8; - t.zainarabic = 0x0632; - t.zainfinalarabic = 0xfeb0; - t.zakatakana = 0x30b6; - t.zaqefgadolhebrew = 0x0595; - t.zaqefqatanhebrew = 0x0594; - t.zarqahebrew = 0x0598; - t.zayin = 0x05d6; - t.zayindagesh = 0xfb36; - t.zayindageshhebrew = 0xfb36; - t.zayinhebrew = 0x05d6; - t.zbopomofo = 0x3117; - t.zcaron = 0x017e; - t.zcircle = 0x24e9; - t.zcircumflex = 0x1e91; - t.zcurl = 0x0291; - t.zdot = 0x017c; - t.zdotaccent = 0x017c; - t.zdotbelow = 0x1e93; - t.zecyrillic = 0x0437; - t.zedescendercyrillic = 0x0499; - t.zedieresiscyrillic = 0x04df; - t.zehiragana = 0x305c; - t.zekatakana = 0x30bc; - t.zero = 0x0030; - t.zeroarabic = 0x0660; - t.zerobengali = 0x09e6; - t.zerodeva = 0x0966; - t.zerogujarati = 0x0ae6; - t.zerogurmukhi = 0x0a66; - t.zerohackarabic = 0x0660; - t.zeroinferior = 0x2080; - t.zeromonospace = 0xff10; - t.zerooldstyle = 0xf730; - t.zeropersian = 0x06f0; - t.zerosuperior = 0x2070; - t.zerothai = 0x0e50; - t.zerowidthjoiner = 0xfeff; - t.zerowidthnonjoiner = 0x200c; - t.zerowidthspace = 0x200b; - t.zeta = 0x03b6; - t.zhbopomofo = 0x3113; - t.zhearmenian = 0x056a; - t.zhebrevecyrillic = 0x04c2; - t.zhecyrillic = 0x0436; - t.zhedescendercyrillic = 0x0497; - t.zhedieresiscyrillic = 0x04dd; - t.zihiragana = 0x3058; - t.zikatakana = 0x30b8; - t.zinorhebrew = 0x05ae; - t.zlinebelow = 0x1e95; - t.zmonospace = 0xff5a; - t.zohiragana = 0x305e; - t.zokatakana = 0x30be; - t.zparen = 0x24b5; - t.zretroflexhook = 0x0290; - t.zstroke = 0x01b6; - t.zuhiragana = 0x305a; - t.zukatakana = 0x30ba; - t[".notdef"] = 0x0000; - t.angbracketleftbig = 0x2329; - t.angbracketleftBig = 0x2329; - t.angbracketleftbigg = 0x2329; - t.angbracketleftBigg = 0x2329; - t.angbracketrightBig = 0x232a; - t.angbracketrightbig = 0x232a; - t.angbracketrightBigg = 0x232a; - t.angbracketrightbigg = 0x232a; - t.arrowhookleft = 0x21aa; - t.arrowhookright = 0x21a9; - t.arrowlefttophalf = 0x21bc; - t.arrowleftbothalf = 0x21bd; - t.arrownortheast = 0x2197; - t.arrownorthwest = 0x2196; - t.arrowrighttophalf = 0x21c0; - t.arrowrightbothalf = 0x21c1; - t.arrowsoutheast = 0x2198; - t.arrowsouthwest = 0x2199; - t.backslashbig = 0x2216; - t.backslashBig = 0x2216; - t.backslashBigg = 0x2216; - t.backslashbigg = 0x2216; - t.bardbl = 0x2016; - t.bracehtipdownleft = 0xfe37; - t.bracehtipdownright = 0xfe37; - t.bracehtipupleft = 0xfe38; - t.bracehtipupright = 0xfe38; - t.braceleftBig = 0x007b; - t.braceleftbig = 0x007b; - t.braceleftbigg = 0x007b; - t.braceleftBigg = 0x007b; - t.bracerightBig = 0x007d; - t.bracerightbig = 0x007d; - t.bracerightbigg = 0x007d; - t.bracerightBigg = 0x007d; - t.bracketleftbig = 0x005b; - t.bracketleftBig = 0x005b; - t.bracketleftbigg = 0x005b; - t.bracketleftBigg = 0x005b; - t.bracketrightBig = 0x005d; - t.bracketrightbig = 0x005d; - t.bracketrightbigg = 0x005d; - t.bracketrightBigg = 0x005d; - t.ceilingleftbig = 0x2308; - t.ceilingleftBig = 0x2308; - t.ceilingleftBigg = 0x2308; - t.ceilingleftbigg = 0x2308; - t.ceilingrightbig = 0x2309; - t.ceilingrightBig = 0x2309; - t.ceilingrightbigg = 0x2309; - t.ceilingrightBigg = 0x2309; - t.circledotdisplay = 0x2299; - t.circledottext = 0x2299; - t.circlemultiplydisplay = 0x2297; - t.circlemultiplytext = 0x2297; - t.circleplusdisplay = 0x2295; - t.circleplustext = 0x2295; - t.contintegraldisplay = 0x222e; - t.contintegraltext = 0x222e; - t.coproductdisplay = 0x2210; - t.coproducttext = 0x2210; - t.floorleftBig = 0x230a; - t.floorleftbig = 0x230a; - t.floorleftbigg = 0x230a; - t.floorleftBigg = 0x230a; - t.floorrightbig = 0x230b; - t.floorrightBig = 0x230b; - t.floorrightBigg = 0x230b; - t.floorrightbigg = 0x230b; - t.hatwide = 0x0302; - t.hatwider = 0x0302; - t.hatwidest = 0x0302; - t.intercal = 0x1d40; - t.integraldisplay = 0x222b; - t.integraltext = 0x222b; - t.intersectiondisplay = 0x22c2; - t.intersectiontext = 0x22c2; - t.logicalanddisplay = 0x2227; - t.logicalandtext = 0x2227; - t.logicalordisplay = 0x2228; - t.logicalortext = 0x2228; - t.parenleftBig = 0x0028; - t.parenleftbig = 0x0028; - t.parenleftBigg = 0x0028; - t.parenleftbigg = 0x0028; - t.parenrightBig = 0x0029; - t.parenrightbig = 0x0029; - t.parenrightBigg = 0x0029; - t.parenrightbigg = 0x0029; - t.prime = 0x2032; - t.productdisplay = 0x220f; - t.producttext = 0x220f; - t.radicalbig = 0x221a; - t.radicalBig = 0x221a; - t.radicalBigg = 0x221a; - t.radicalbigg = 0x221a; - t.radicalbt = 0x221a; - t.radicaltp = 0x221a; - t.radicalvertex = 0x221a; - t.slashbig = 0x002f; - t.slashBig = 0x002f; - t.slashBigg = 0x002f; - t.slashbigg = 0x002f; - t.summationdisplay = 0x2211; - t.summationtext = 0x2211; - t.tildewide = 0x02dc; - t.tildewider = 0x02dc; - t.tildewidest = 0x02dc; - t.uniondisplay = 0x22c3; - t.unionmultidisplay = 0x228e; - t.unionmultitext = 0x228e; - t.unionsqdisplay = 0x2294; - t.unionsqtext = 0x2294; - t.uniontext = 0x22c3; - t.vextenddouble = 0x2225; - t.vextendsingle = 0x2223; -}); -const getDingbatsGlyphsUnicode = getLookupTableFactory(function (t) { - t.space = 0x0020; - t.a1 = 0x2701; - t.a2 = 0x2702; - t.a202 = 0x2703; - t.a3 = 0x2704; - t.a4 = 0x260e; - t.a5 = 0x2706; - t.a119 = 0x2707; - t.a118 = 0x2708; - t.a117 = 0x2709; - t.a11 = 0x261b; - t.a12 = 0x261e; - t.a13 = 0x270c; - t.a14 = 0x270d; - t.a15 = 0x270e; - t.a16 = 0x270f; - t.a105 = 0x2710; - t.a17 = 0x2711; - t.a18 = 0x2712; - t.a19 = 0x2713; - t.a20 = 0x2714; - t.a21 = 0x2715; - t.a22 = 0x2716; - t.a23 = 0x2717; - t.a24 = 0x2718; - t.a25 = 0x2719; - t.a26 = 0x271a; - t.a27 = 0x271b; - t.a28 = 0x271c; - t.a6 = 0x271d; - t.a7 = 0x271e; - t.a8 = 0x271f; - t.a9 = 0x2720; - t.a10 = 0x2721; - t.a29 = 0x2722; - t.a30 = 0x2723; - t.a31 = 0x2724; - t.a32 = 0x2725; - t.a33 = 0x2726; - t.a34 = 0x2727; - t.a35 = 0x2605; - t.a36 = 0x2729; - t.a37 = 0x272a; - t.a38 = 0x272b; - t.a39 = 0x272c; - t.a40 = 0x272d; - t.a41 = 0x272e; - t.a42 = 0x272f; - t.a43 = 0x2730; - t.a44 = 0x2731; - t.a45 = 0x2732; - t.a46 = 0x2733; - t.a47 = 0x2734; - t.a48 = 0x2735; - t.a49 = 0x2736; - t.a50 = 0x2737; - t.a51 = 0x2738; - t.a52 = 0x2739; - t.a53 = 0x273a; - t.a54 = 0x273b; - t.a55 = 0x273c; - t.a56 = 0x273d; - t.a57 = 0x273e; - t.a58 = 0x273f; - t.a59 = 0x2740; - t.a60 = 0x2741; - t.a61 = 0x2742; - t.a62 = 0x2743; - t.a63 = 0x2744; - t.a64 = 0x2745; - t.a65 = 0x2746; - t.a66 = 0x2747; - t.a67 = 0x2748; - t.a68 = 0x2749; - t.a69 = 0x274a; - t.a70 = 0x274b; - t.a71 = 0x25cf; - t.a72 = 0x274d; - t.a73 = 0x25a0; - t.a74 = 0x274f; - t.a203 = 0x2750; - t.a75 = 0x2751; - t.a204 = 0x2752; - t.a76 = 0x25b2; - t.a77 = 0x25bc; - t.a78 = 0x25c6; - t.a79 = 0x2756; - t.a81 = 0x25d7; - t.a82 = 0x2758; - t.a83 = 0x2759; - t.a84 = 0x275a; - t.a97 = 0x275b; - t.a98 = 0x275c; - t.a99 = 0x275d; - t.a100 = 0x275e; - t.a101 = 0x2761; - t.a102 = 0x2762; - t.a103 = 0x2763; - t.a104 = 0x2764; - t.a106 = 0x2765; - t.a107 = 0x2766; - t.a108 = 0x2767; - t.a112 = 0x2663; - t.a111 = 0x2666; - t.a110 = 0x2665; - t.a109 = 0x2660; - t.a120 = 0x2460; - t.a121 = 0x2461; - t.a122 = 0x2462; - t.a123 = 0x2463; - t.a124 = 0x2464; - t.a125 = 0x2465; - t.a126 = 0x2466; - t.a127 = 0x2467; - t.a128 = 0x2468; - t.a129 = 0x2469; - t.a130 = 0x2776; - t.a131 = 0x2777; - t.a132 = 0x2778; - t.a133 = 0x2779; - t.a134 = 0x277a; - t.a135 = 0x277b; - t.a136 = 0x277c; - t.a137 = 0x277d; - t.a138 = 0x277e; - t.a139 = 0x277f; - t.a140 = 0x2780; - t.a141 = 0x2781; - t.a142 = 0x2782; - t.a143 = 0x2783; - t.a144 = 0x2784; - t.a145 = 0x2785; - t.a146 = 0x2786; - t.a147 = 0x2787; - t.a148 = 0x2788; - t.a149 = 0x2789; - t.a150 = 0x278a; - t.a151 = 0x278b; - t.a152 = 0x278c; - t.a153 = 0x278d; - t.a154 = 0x278e; - t.a155 = 0x278f; - t.a156 = 0x2790; - t.a157 = 0x2791; - t.a158 = 0x2792; - t.a159 = 0x2793; - t.a160 = 0x2794; - t.a161 = 0x2192; - t.a163 = 0x2194; - t.a164 = 0x2195; - t.a196 = 0x2798; - t.a165 = 0x2799; - t.a192 = 0x279a; - t.a166 = 0x279b; - t.a167 = 0x279c; - t.a168 = 0x279d; - t.a169 = 0x279e; - t.a170 = 0x279f; - t.a171 = 0x27a0; - t.a172 = 0x27a1; - t.a173 = 0x27a2; - t.a162 = 0x27a3; - t.a174 = 0x27a4; - t.a175 = 0x27a5; - t.a176 = 0x27a6; - t.a177 = 0x27a7; - t.a178 = 0x27a8; - t.a179 = 0x27a9; - t.a193 = 0x27aa; - t.a180 = 0x27ab; - t.a199 = 0x27ac; - t.a181 = 0x27ad; - t.a200 = 0x27ae; - t.a182 = 0x27af; - t.a201 = 0x27b1; - t.a183 = 0x27b2; - t.a184 = 0x27b3; - t.a197 = 0x27b4; - t.a185 = 0x27b5; - t.a194 = 0x27b6; - t.a198 = 0x27b7; - t.a186 = 0x27b8; - t.a195 = 0x27b9; - t.a187 = 0x27ba; - t.a188 = 0x27bb; - t.a189 = 0x27bc; - t.a190 = 0x27bd; - t.a191 = 0x27be; - t.a89 = 0x2768; - t.a90 = 0x2769; - t.a93 = 0x276a; - t.a94 = 0x276b; - t.a91 = 0x276c; - t.a92 = 0x276d; - t.a205 = 0x276e; - t.a85 = 0x276f; - t.a206 = 0x2770; - t.a86 = 0x2771; - t.a87 = 0x2772; - t.a88 = 0x2773; - t.a95 = 0x2774; - t.a96 = 0x2775; - t[".notdef"] = 0x0000; -}); -;// CONCATENATED MODULE: ./src/core/unicode.js -const getSpecialPUASymbols = getLookupTableFactory(function (t) { - t[63721] = 0x00a9; - t[63193] = 0x00a9; - t[63720] = 0x00ae; - t[63194] = 0x00ae; - t[63722] = 0x2122; - t[63195] = 0x2122; - t[63729] = 0x23a7; - t[63730] = 0x23a8; - t[63731] = 0x23a9; - t[63740] = 0x23ab; - t[63741] = 0x23ac; - t[63742] = 0x23ad; - t[63726] = 0x23a1; - t[63727] = 0x23a2; - t[63728] = 0x23a3; - t[63737] = 0x23a4; - t[63738] = 0x23a5; - t[63739] = 0x23a6; - t[63723] = 0x239b; - t[63724] = 0x239c; - t[63725] = 0x239d; - t[63734] = 0x239e; - t[63735] = 0x239f; - t[63736] = 0x23a0; -}); -function mapSpecialUnicodeValues(code) { - if (code >= 0xfff0 && code <= 0xffff) { - return 0; - } else if (code >= 0xf600 && code <= 0xf8ff) { - return getSpecialPUASymbols()[code] || code; - } else if (code === 0x00ad) { - return 0x002d; +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ISOAdobeCharset = exports.ExpertSubsetCharset = exports.ExpertCharset = void 0; +const ISOAdobeCharset = [".notdef", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "endash", "dagger", "daggerdbl", "periodcentered", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "questiondown", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "emdash", "AE", "ordfeminine", "Lslash", "Oslash", "OE", "ordmasculine", "ae", "dotlessi", "lslash", "oslash", "oe", "germandbls", "onesuperior", "logicalnot", "mu", "trademark", "Eth", "onehalf", "plusminus", "Thorn", "onequarter", "divide", "brokenbar", "degree", "thorn", "threequarters", "twosuperior", "registered", "minus", "eth", "multiply", "threesuperior", "copyright", "Aacute", "Acircumflex", "Adieresis", "Agrave", "Aring", "Atilde", "Ccedilla", "Eacute", "Ecircumflex", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Ntilde", "Oacute", "Ocircumflex", "Odieresis", "Ograve", "Otilde", "Scaron", "Uacute", "Ucircumflex", "Udieresis", "Ugrave", "Yacute", "Ydieresis", "Zcaron", "aacute", "acircumflex", "adieresis", "agrave", "aring", "atilde", "ccedilla", "eacute", "ecircumflex", "edieresis", "egrave", "iacute", "icircumflex", "idieresis", "igrave", "ntilde", "oacute", "ocircumflex", "odieresis", "ograve", "otilde", "scaron", "uacute", "ucircumflex", "udieresis", "ugrave", "yacute", "ydieresis", "zcaron"]; +exports.ISOAdobeCharset = ISOAdobeCharset; +const ExpertCharset = [".notdef", "space", "exclamsmall", "Hungarumlautsmall", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "exclamdownsmall", "centoldstyle", "Lslashsmall", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "Dotaccentsmall", "Macronsmall", "figuredash", "hypheninferior", "Ogoneksmall", "Ringsmall", "Cedillasmall", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"]; +exports.ExpertCharset = ExpertCharset; +const ExpertSubsetCharset = [".notdef", "space", "dollaroldstyle", "dollarsuperior", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "isuperior", "lsuperior", "msuperior", "nsuperior", "osuperior", "rsuperior", "ssuperior", "tsuperior", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "parenrightinferior", "hyphensuperior", "colonmonetary", "onefitted", "rupiah", "centoldstyle", "figuredash", "hypheninferior", "onequarter", "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior"]; +exports.ExpertSubsetCharset = ExpertSubsetCharset; + +/***/ }), +/* 37 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ZapfDingbatsEncoding = exports.WinAnsiEncoding = exports.SymbolSetEncoding = exports.StandardEncoding = exports.MacRomanEncoding = exports.ExpertEncoding = void 0; +exports.getEncoding = getEncoding; +const ExpertEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclamsmall", "Hungarumlautsmall", "", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "commasuperior", "threequartersemdash", "periodsuperior", "questionsmall", "", "asuperior", "bsuperior", "centsuperior", "dsuperior", "esuperior", "", "", "", "isuperior", "", "", "lsuperior", "msuperior", "nsuperior", "osuperior", "", "", "rsuperior", "ssuperior", "tsuperior", "", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "", "parenrightinferior", "Circumflexsmall", "hyphensuperior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "exclamdownsmall", "centoldstyle", "Lslashsmall", "", "", "Scaronsmall", "Zcaronsmall", "Dieresissmall", "Brevesmall", "Caronsmall", "", "Dotaccentsmall", "", "", "Macronsmall", "", "", "figuredash", "hypheninferior", "", "", "Ogoneksmall", "Ringsmall", "Cedillasmall", "", "", "", "onequarter", "onehalf", "threequarters", "questiondownsmall", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "", "", "zerosuperior", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "eightsuperior", "ninesuperior", "zeroinferior", "oneinferior", "twoinferior", "threeinferior", "fourinferior", "fiveinferior", "sixinferior", "seveninferior", "eightinferior", "nineinferior", "centinferior", "dollarinferior", "periodinferior", "commainferior", "Agravesmall", "Aacutesmall", "Acircumflexsmall", "Atildesmall", "Adieresissmall", "Aringsmall", "AEsmall", "Ccedillasmall", "Egravesmall", "Eacutesmall", "Ecircumflexsmall", "Edieresissmall", "Igravesmall", "Iacutesmall", "Icircumflexsmall", "Idieresissmall", "Ethsmall", "Ntildesmall", "Ogravesmall", "Oacutesmall", "Ocircumflexsmall", "Otildesmall", "Odieresissmall", "OEsmall", "Oslashsmall", "Ugravesmall", "Uacutesmall", "Ucircumflexsmall", "Udieresissmall", "Yacutesmall", "Thornsmall", "Ydieresissmall"]; +exports.ExpertEncoding = ExpertEncoding; +const MacExpertEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclamsmall", "Hungarumlautsmall", "centoldstyle", "dollaroldstyle", "dollarsuperior", "ampersandsmall", "Acutesmall", "parenleftsuperior", "parenrightsuperior", "twodotenleader", "onedotenleader", "comma", "hyphen", "period", "fraction", "zerooldstyle", "oneoldstyle", "twooldstyle", "threeoldstyle", "fouroldstyle", "fiveoldstyle", "sixoldstyle", "sevenoldstyle", "eightoldstyle", "nineoldstyle", "colon", "semicolon", "", "threequartersemdash", "", "questionsmall", "", "", "", "", "Ethsmall", "", "", "onequarter", "onehalf", "threequarters", "oneeighth", "threeeighths", "fiveeighths", "seveneighths", "onethird", "twothirds", "", "", "", "", "", "", "ff", "fi", "fl", "ffi", "ffl", "parenleftinferior", "", "parenrightinferior", "Circumflexsmall", "hypheninferior", "Gravesmall", "Asmall", "Bsmall", "Csmall", "Dsmall", "Esmall", "Fsmall", "Gsmall", "Hsmall", "Ismall", "Jsmall", "Ksmall", "Lsmall", "Msmall", "Nsmall", "Osmall", "Psmall", "Qsmall", "Rsmall", "Ssmall", "Tsmall", "Usmall", "Vsmall", "Wsmall", "Xsmall", "Ysmall", "Zsmall", "colonmonetary", "onefitted", "rupiah", "Tildesmall", "", "", "asuperior", "centsuperior", "", "", "", "", "Aacutesmall", "Agravesmall", "Acircumflexsmall", "Adieresissmall", "Atildesmall", "Aringsmall", "Ccedillasmall", "Eacutesmall", "Egravesmall", "Ecircumflexsmall", "Edieresissmall", "Iacutesmall", "Igravesmall", "Icircumflexsmall", "Idieresissmall", "Ntildesmall", "Oacutesmall", "Ogravesmall", "Ocircumflexsmall", "Odieresissmall", "Otildesmall", "Uacutesmall", "Ugravesmall", "Ucircumflexsmall", "Udieresissmall", "", "eightsuperior", "fourinferior", "threeinferior", "sixinferior", "eightinferior", "seveninferior", "Scaronsmall", "", "centinferior", "twoinferior", "", "Dieresissmall", "", "Caronsmall", "osuperior", "fiveinferior", "", "commainferior", "periodinferior", "Yacutesmall", "", "dollarinferior", "", "", "Thornsmall", "", "nineinferior", "zeroinferior", "Zcaronsmall", "AEsmall", "Oslashsmall", "questiondownsmall", "oneinferior", "Lslashsmall", "", "", "", "", "", "", "Cedillasmall", "", "", "", "", "", "OEsmall", "figuredash", "hyphensuperior", "", "", "", "", "exclamdownsmall", "", "Ydieresissmall", "", "onesuperior", "twosuperior", "threesuperior", "foursuperior", "fivesuperior", "sixsuperior", "sevensuperior", "ninesuperior", "zerosuperior", "", "esuperior", "rsuperior", "tsuperior", "", "", "isuperior", "ssuperior", "dsuperior", "", "", "", "", "", "lsuperior", "Ogoneksmall", "Brevesmall", "Macronsmall", "bsuperior", "nsuperior", "msuperior", "commasuperior", "periodsuperior", "Dotaccentsmall", "Ringsmall", "", "", "", ""]; +const MacRomanEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "", "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresis", "aacute", "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute", "egrave", "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis", "ntilde", "oacute", "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircumflex", "udieresis", "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "germandbls", "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE", "Oslash", "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partialdiff", "summation", "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "oslash", "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequal", "Delta", "guillemotleft", "guillemotright", "ellipsis", "space", "Agrave", "Atilde", "Otilde", "OE", "oe", "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoteright", "divide", "lozenge", "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsinglright", "fi", "fl", "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousand", "Acircumflex", "Ecircumflex", "Aacute", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacute", "Ocircumflex", "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumflex", "tilde", "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek", "caron"]; +exports.MacRomanEncoding = MacRomanEncoding; +const StandardEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quoteright", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "quoteleft", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "exclamdown", "cent", "sterling", "fraction", "yen", "florin", "section", "currency", "quotesingle", "quotedblleft", "guillemotleft", "guilsinglleft", "guilsinglright", "fi", "fl", "", "endash", "dagger", "daggerdbl", "periodcentered", "", "paragraph", "bullet", "quotesinglbase", "quotedblbase", "quotedblright", "guillemotright", "ellipsis", "perthousand", "", "questiondown", "", "grave", "acute", "circumflex", "tilde", "macron", "breve", "dotaccent", "dieresis", "", "ring", "cedilla", "", "hungarumlaut", "ogonek", "caron", "emdash", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "AE", "", "ordfeminine", "", "", "", "", "Lslash", "Oslash", "OE", "ordmasculine", "", "", "", "", "", "ae", "", "", "", "dotlessi", "", "", "lslash", "oslash", "oe", "germandbls", "", "", "", ""]; +exports.StandardEncoding = StandardEncoding; +const WinAnsiEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "bullet", "Euro", "bullet", "quotesinglbase", "florin", "quotedblbase", "ellipsis", "dagger", "daggerdbl", "circumflex", "perthousand", "Scaron", "guilsinglleft", "OE", "bullet", "Zcaron", "bullet", "bullet", "quoteleft", "quoteright", "quotedblleft", "quotedblright", "bullet", "endash", "emdash", "tilde", "trademark", "scaron", "guilsinglright", "oe", "bullet", "zcaron", "Ydieresis", "space", "exclamdown", "cent", "sterling", "currency", "yen", "brokenbar", "section", "dieresis", "copyright", "ordfeminine", "guillemotleft", "logicalnot", "hyphen", "registered", "macron", "degree", "plusminus", "twosuperior", "threesuperior", "acute", "mu", "paragraph", "periodcentered", "cedilla", "onesuperior", "ordmasculine", "guillemotright", "onequarter", "onehalf", "threequarters", "questiondown", "Agrave", "Aacute", "Acircumflex", "Atilde", "Adieresis", "Aring", "AE", "Ccedilla", "Egrave", "Eacute", "Ecircumflex", "Edieresis", "Igrave", "Iacute", "Icircumflex", "Idieresis", "Eth", "Ntilde", "Ograve", "Oacute", "Ocircumflex", "Otilde", "Odieresis", "multiply", "Oslash", "Ugrave", "Uacute", "Ucircumflex", "Udieresis", "Yacute", "Thorn", "germandbls", "agrave", "aacute", "acircumflex", "atilde", "adieresis", "aring", "ae", "ccedilla", "egrave", "eacute", "ecircumflex", "edieresis", "igrave", "iacute", "icircumflex", "idieresis", "eth", "ntilde", "ograve", "oacute", "ocircumflex", "otilde", "odieresis", "divide", "oslash", "ugrave", "uacute", "ucircumflex", "udieresis", "yacute", "thorn", "ydieresis"]; +exports.WinAnsiEncoding = WinAnsiEncoding; +const SymbolSetEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "exclam", "universal", "numbersign", "existential", "percent", "ampersand", "suchthat", "parenleft", "parenright", "asteriskmath", "plus", "comma", "minus", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "congruent", "Alpha", "Beta", "Chi", "Delta", "Epsilon", "Phi", "Gamma", "Eta", "Iota", "theta1", "Kappa", "Lambda", "Mu", "Nu", "Omicron", "Pi", "Theta", "Rho", "Sigma", "Tau", "Upsilon", "sigma1", "Omega", "Xi", "Psi", "Zeta", "bracketleft", "therefore", "bracketright", "perpendicular", "underscore", "radicalex", "alpha", "beta", "chi", "delta", "epsilon", "phi", "gamma", "eta", "iota", "phi1", "kappa", "lambda", "mu", "nu", "omicron", "pi", "theta", "rho", "sigma", "tau", "upsilon", "omega1", "omega", "xi", "psi", "zeta", "braceleft", "bar", "braceright", "similar", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "Euro", "Upsilon1", "minute", "lessequal", "fraction", "infinity", "florin", "club", "diamond", "heart", "spade", "arrowboth", "arrowleft", "arrowup", "arrowright", "arrowdown", "degree", "plusminus", "second", "greaterequal", "multiply", "proportional", "partialdiff", "bullet", "divide", "notequal", "equivalence", "approxequal", "ellipsis", "arrowvertex", "arrowhorizex", "carriagereturn", "aleph", "Ifraktur", "Rfraktur", "weierstrass", "circlemultiply", "circleplus", "emptyset", "intersection", "union", "propersuperset", "reflexsuperset", "notsubset", "propersubset", "reflexsubset", "element", "notelement", "angle", "gradient", "registerserif", "copyrightserif", "trademarkserif", "product", "radical", "dotmath", "logicalnot", "logicaland", "logicalor", "arrowdblboth", "arrowdblleft", "arrowdblup", "arrowdblright", "arrowdbldown", "lozenge", "angleleft", "registersans", "copyrightsans", "trademarksans", "summation", "parenlefttp", "parenleftex", "parenleftbt", "bracketlefttp", "bracketleftex", "bracketleftbt", "bracelefttp", "braceleftmid", "braceleftbt", "braceex", "", "angleright", "integral", "integraltp", "integralex", "integralbt", "parenrighttp", "parenrightex", "parenrightbt", "bracketrighttp", "bracketrightex", "bracketrightbt", "bracerighttp", "bracerightmid", "bracerightbt", ""]; +exports.SymbolSetEncoding = SymbolSetEncoding; +const ZapfDingbatsEncoding = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "space", "a1", "a2", "a202", "a3", "a4", "a5", "a119", "a118", "a117", "a11", "a12", "a13", "a14", "a15", "a16", "a105", "a17", "a18", "a19", "a20", "a21", "a22", "a23", "a24", "a25", "a26", "a27", "a28", "a6", "a7", "a8", "a9", "a10", "a29", "a30", "a31", "a32", "a33", "a34", "a35", "a36", "a37", "a38", "a39", "a40", "a41", "a42", "a43", "a44", "a45", "a46", "a47", "a48", "a49", "a50", "a51", "a52", "a53", "a54", "a55", "a56", "a57", "a58", "a59", "a60", "a61", "a62", "a63", "a64", "a65", "a66", "a67", "a68", "a69", "a70", "a71", "a72", "a73", "a74", "a203", "a75", "a204", "a76", "a77", "a78", "a79", "a81", "a82", "a83", "a84", "a97", "a98", "a99", "a100", "", "a89", "a90", "a93", "a94", "a91", "a92", "a205", "a85", "a206", "a86", "a87", "a88", "a95", "a96", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "a101", "a102", "a103", "a104", "a106", "a107", "a108", "a112", "a111", "a110", "a109", "a120", "a121", "a122", "a123", "a124", "a125", "a126", "a127", "a128", "a129", "a130", "a131", "a132", "a133", "a134", "a135", "a136", "a137", "a138", "a139", "a140", "a141", "a142", "a143", "a144", "a145", "a146", "a147", "a148", "a149", "a150", "a151", "a152", "a153", "a154", "a155", "a156", "a157", "a158", "a159", "a160", "a161", "a163", "a164", "a196", "a165", "a192", "a166", "a167", "a168", "a169", "a170", "a171", "a172", "a173", "a162", "a174", "a175", "a176", "a177", "a178", "a179", "a193", "a180", "a199", "a181", "a200", "a182", "", "a201", "a183", "a184", "a197", "a185", "a194", "a198", "a186", "a195", "a187", "a188", "a189", "a190", "a191", ""]; +exports.ZapfDingbatsEncoding = ZapfDingbatsEncoding; +function getEncoding(encodingName) { + switch (encodingName) { + case "WinAnsiEncoding": + return WinAnsiEncoding; + case "StandardEncoding": + return StandardEncoding; + case "MacRomanEncoding": + return MacRomanEncoding; + case "SymbolSetEncoding": + return SymbolSetEncoding; + case "ZapfDingbatsEncoding": + return ZapfDingbatsEncoding; + case "ExpertEncoding": + return ExpertEncoding; + case "MacExpertEncoding": + return MacExpertEncoding; + default: + return null; } - return code; -} -function getUnicodeForGlyph(name, glyphsUnicodeMap) { - let unicode = glyphsUnicodeMap[name]; - if (unicode !== undefined) { - return unicode; - } - if (!name) { - return -1; - } - if (name[0] === "u") { - const nameLen = name.length; - let hexStr; - if (nameLen === 7 && name[1] === "n" && name[2] === "i") { - hexStr = name.substring(3); - } else if (nameLen >= 5 && nameLen <= 7) { - hexStr = name.substring(1); - } else { - return -1; - } - if (hexStr === hexStr.toUpperCase()) { - unicode = parseInt(hexStr, 16); - if (unicode >= 0) { - return unicode; - } - } - } - return -1; -} -const UnicodeRanges = [[0x0000, 0x007f], [0x0080, 0x00ff], [0x0100, 0x017f], [0x0180, 0x024f], [0x0250, 0x02af, 0x1d00, 0x1d7f, 0x1d80, 0x1dbf], [0x02b0, 0x02ff, 0xa700, 0xa71f], [0x0300, 0x036f, 0x1dc0, 0x1dff], [0x0370, 0x03ff], [0x2c80, 0x2cff], [0x0400, 0x04ff, 0x0500, 0x052f, 0x2de0, 0x2dff, 0xa640, 0xa69f], [0x0530, 0x058f], [0x0590, 0x05ff], [0xa500, 0xa63f], [0x0600, 0x06ff, 0x0750, 0x077f], [0x07c0, 0x07ff], [0x0900, 0x097f], [0x0980, 0x09ff], [0x0a00, 0x0a7f], [0x0a80, 0x0aff], [0x0b00, 0x0b7f], [0x0b80, 0x0bff], [0x0c00, 0x0c7f], [0x0c80, 0x0cff], [0x0d00, 0x0d7f], [0x0e00, 0x0e7f], [0x0e80, 0x0eff], [0x10a0, 0x10ff, 0x2d00, 0x2d2f], [0x1b00, 0x1b7f], [0x1100, 0x11ff], [0x1e00, 0x1eff, 0x2c60, 0x2c7f, 0xa720, 0xa7ff], [0x1f00, 0x1fff], [0x2000, 0x206f, 0x2e00, 0x2e7f], [0x2070, 0x209f], [0x20a0, 0x20cf], [0x20d0, 0x20ff], [0x2100, 0x214f], [0x2150, 0x218f], [0x2190, 0x21ff, 0x27f0, 0x27ff, 0x2900, 0x297f, 0x2b00, 0x2bff], [0x2200, 0x22ff, 0x2a00, 0x2aff, 0x27c0, 0x27ef, 0x2980, 0x29ff], [0x2300, 0x23ff], [0x2400, 0x243f], [0x2440, 0x245f], [0x2460, 0x24ff], [0x2500, 0x257f], [0x2580, 0x259f], [0x25a0, 0x25ff], [0x2600, 0x26ff], [0x2700, 0x27bf], [0x3000, 0x303f], [0x3040, 0x309f], [0x30a0, 0x30ff, 0x31f0, 0x31ff], [0x3100, 0x312f, 0x31a0, 0x31bf], [0x3130, 0x318f], [0xa840, 0xa87f], [0x3200, 0x32ff], [0x3300, 0x33ff], [0xac00, 0xd7af], [0xd800, 0xdfff], [0x10900, 0x1091f], [0x4e00, 0x9fff, 0x2e80, 0x2eff, 0x2f00, 0x2fdf, 0x2ff0, 0x2fff, 0x3400, 0x4dbf, 0x20000, 0x2a6df, 0x3190, 0x319f], [0xe000, 0xf8ff], [0x31c0, 0x31ef, 0xf900, 0xfaff, 0x2f800, 0x2fa1f], [0xfb00, 0xfb4f], [0xfb50, 0xfdff], [0xfe20, 0xfe2f], [0xfe10, 0xfe1f], [0xfe50, 0xfe6f], [0xfe70, 0xfeff], [0xff00, 0xffef], [0xfff0, 0xffff], [0x0f00, 0x0fff], [0x0700, 0x074f], [0x0780, 0x07bf], [0x0d80, 0x0dff], [0x1000, 0x109f], [0x1200, 0x137f, 0x1380, 0x139f, 0x2d80, 0x2ddf], [0x13a0, 0x13ff], [0x1400, 0x167f], [0x1680, 0x169f], [0x16a0, 0x16ff], [0x1780, 0x17ff], [0x1800, 0x18af], [0x2800, 0x28ff], [0xa000, 0xa48f], [0x1700, 0x171f, 0x1720, 0x173f, 0x1740, 0x175f, 0x1760, 0x177f], [0x10300, 0x1032f], [0x10330, 0x1034f], [0x10400, 0x1044f], [0x1d000, 0x1d0ff, 0x1d100, 0x1d1ff, 0x1d200, 0x1d24f], [0x1d400, 0x1d7ff], [0xff000, 0xffffd], [0xfe00, 0xfe0f, 0xe0100, 0xe01ef], [0xe0000, 0xe007f], [0x1900, 0x194f], [0x1950, 0x197f], [0x1980, 0x19df], [0x1a00, 0x1a1f], [0x2c00, 0x2c5f], [0x2d30, 0x2d7f], [0x4dc0, 0x4dff], [0xa800, 0xa82f], [0x10000, 0x1007f, 0x10080, 0x100ff, 0x10100, 0x1013f], [0x10140, 0x1018f], [0x10380, 0x1039f], [0x103a0, 0x103df], [0x10450, 0x1047f], [0x10480, 0x104af], [0x10800, 0x1083f], [0x10a00, 0x10a5f], [0x1d300, 0x1d35f], [0x12000, 0x123ff, 0x12400, 0x1247f], [0x1d360, 0x1d37f], [0x1b80, 0x1bbf], [0x1c00, 0x1c4f], [0x1c50, 0x1c7f], [0xa880, 0xa8df], [0xa900, 0xa92f], [0xa930, 0xa95f], [0xaa00, 0xaa5f], [0x10190, 0x101cf], [0x101d0, 0x101ff], [0x102a0, 0x102df, 0x10280, 0x1029f, 0x10920, 0x1093f], [0x1f030, 0x1f09f, 0x1f000, 0x1f02f]]; -function getUnicodeRangeFor(value, lastPosition = -1) { - if (lastPosition !== -1) { - const range = UnicodeRanges[lastPosition]; - for (let i = 0, ii = range.length; i < ii; i += 2) { - if (value >= range[i] && value <= range[i + 1]) { - return lastPosition; - } - } - } - for (let i = 0, ii = UnicodeRanges.length; i < ii; i++) { - const range = UnicodeRanges[i]; - for (let j = 0, jj = range.length; j < jj; j += 2) { - if (value >= range[j] && value <= range[j + 1]) { - return i; - } - } - } - return -1; -} -const SpecialCharRegExp = new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$", "u"); -const CategoryCache = new Map(); -function getCharUnicodeCategory(char) { - const cachedCategory = CategoryCache.get(char); - if (cachedCategory) { - return cachedCategory; - } - const groups = char.match(SpecialCharRegExp); - const category = { - isWhitespace: !!groups?.[1], - isZeroWidthDiacritic: !!groups?.[2], - isInvisibleFormatMark: !!groups?.[3] - }; - CategoryCache.set(char, category); - return category; -} -function clearUnicodeCaches() { - CategoryCache.clear(); } -;// CONCATENATED MODULE: ./src/core/fonts_utils.js - - +/***/ }), +/* 38 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SEAC_ANALYSIS_ENABLED = exports.MacStandardGlyphOrdering = exports.FontFlags = void 0; +exports.normalizeFontName = normalizeFontName; +exports.recoverGlyphName = recoverGlyphName; +exports.type1FontGlyphMapping = type1FontGlyphMapping; +var _encodings = __w_pdfjs_require__(37); +var _glyphlist = __w_pdfjs_require__(39); +var _unicode = __w_pdfjs_require__(40); +var _util = __w_pdfjs_require__(2); const SEAC_ANALYSIS_ENABLED = true; +exports.SEAC_ANALYSIS_ENABLED = SEAC_ANALYSIS_ENABLED; const FontFlags = { FixedPitch: 1, Serif: 2, @@ -20788,12 +25214,14 @@ const FontFlags = { SmallCap: 131072, ForceBold: 262144 }; +exports.FontFlags = FontFlags; const MacStandardGlyphOrdering = [".notdef", ".null", "nonmarkingreturn", "space", "exclam", "quotedbl", "numbersign", "dollar", "percent", "ampersand", "quotesingle", "parenleft", "parenright", "asterisk", "plus", "comma", "hyphen", "period", "slash", "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", "colon", "semicolon", "less", "equal", "greater", "question", "at", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "bracketleft", "backslash", "bracketright", "asciicircum", "underscore", "grave", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "braceleft", "bar", "braceright", "asciitilde", "Adieresis", "Aring", "Ccedilla", "Eacute", "Ntilde", "Odieresis", "Udieresis", "aacute", "agrave", "acircumflex", "adieresis", "atilde", "aring", "ccedilla", "eacute", "egrave", "ecircumflex", "edieresis", "iacute", "igrave", "icircumflex", "idieresis", "ntilde", "oacute", "ograve", "ocircumflex", "odieresis", "otilde", "uacute", "ugrave", "ucircumflex", "udieresis", "dagger", "degree", "cent", "sterling", "section", "bullet", "paragraph", "germandbls", "registered", "copyright", "trademark", "acute", "dieresis", "notequal", "AE", "Oslash", "infinity", "plusminus", "lessequal", "greaterequal", "yen", "mu", "partialdiff", "summation", "product", "pi", "integral", "ordfeminine", "ordmasculine", "Omega", "ae", "oslash", "questiondown", "exclamdown", "logicalnot", "radical", "florin", "approxequal", "Delta", "guillemotleft", "guillemotright", "ellipsis", "nonbreakingspace", "Agrave", "Atilde", "Otilde", "OE", "oe", "endash", "emdash", "quotedblleft", "quotedblright", "quoteleft", "quoteright", "divide", "lozenge", "ydieresis", "Ydieresis", "fraction", "currency", "guilsinglleft", "guilsinglright", "fi", "fl", "daggerdbl", "periodcentered", "quotesinglbase", "quotedblbase", "perthousand", "Acircumflex", "Ecircumflex", "Aacute", "Edieresis", "Egrave", "Iacute", "Icircumflex", "Idieresis", "Igrave", "Oacute", "Ocircumflex", "apple", "Ograve", "Uacute", "Ucircumflex", "Ugrave", "dotlessi", "circumflex", "tilde", "macron", "breve", "dotaccent", "ring", "cedilla", "hungarumlaut", "ogonek", "caron", "Lslash", "lslash", "Scaron", "scaron", "Zcaron", "zcaron", "brokenbar", "Eth", "eth", "Yacute", "yacute", "Thorn", "thorn", "minus", "multiply", "onesuperior", "twosuperior", "threesuperior", "onehalf", "onequarter", "threequarters", "franc", "Gbreve", "gbreve", "Idotaccent", "Scedilla", "scedilla", "Cacute", "cacute", "Ccaron", "ccaron", "dcroat"]; +exports.MacStandardGlyphOrdering = MacStandardGlyphOrdering; function recoverGlyphName(name, glyphsUnicodeMap) { if (glyphsUnicodeMap[name] !== undefined) { return name; } - const unicode = getUnicodeForGlyph(name, glyphsUnicodeMap); + const unicode = (0, _unicode.getUnicodeForGlyph)(name, glyphsUnicodeMap); if (unicode !== -1) { for (const key in glyphsUnicodeMap) { if (glyphsUnicodeMap[key] === unicode) { @@ -20801,7 +25229,7 @@ function recoverGlyphName(name, glyphsUnicodeMap) { } } } - info("Unable to recover a standard glyph name for: " + name); + (0, _util.info)("Unable to recover a standard glyph name for: " + name); return name; } function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) { @@ -20812,23 +25240,35 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) { baseEncoding = builtInEncoding; for (charCode = 0; charCode < baseEncoding.length; charCode++) { glyphId = glyphNames.indexOf(baseEncoding[charCode]); - charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0; + if (glyphId >= 0) { + charCodeToGlyphId[charCode] = glyphId; + } else { + charCodeToGlyphId[charCode] = 0; + } } } else if (properties.baseEncodingName) { - baseEncoding = getEncoding(properties.baseEncodingName); + baseEncoding = (0, _encodings.getEncoding)(properties.baseEncodingName); for (charCode = 0; charCode < baseEncoding.length; charCode++) { glyphId = glyphNames.indexOf(baseEncoding[charCode]); - charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0; + if (glyphId >= 0) { + charCodeToGlyphId[charCode] = glyphId; + } else { + charCodeToGlyphId[charCode] = 0; + } } } else if (isSymbolicFont) { for (charCode in builtInEncoding) { charCodeToGlyphId[charCode] = builtInEncoding[charCode]; } } else { - baseEncoding = StandardEncoding; + baseEncoding = _encodings.StandardEncoding; for (charCode = 0; charCode < baseEncoding.length; charCode++) { glyphId = glyphNames.indexOf(baseEncoding[charCode]); - charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0; + if (glyphId >= 0) { + charCodeToGlyphId[charCode] = glyphId; + } else { + charCodeToGlyphId[charCode] = 0; + } } } const differences = properties.differences; @@ -20839,14 +25279,18 @@ function type1FontGlyphMapping(properties, builtInEncoding, glyphNames) { glyphId = glyphNames.indexOf(glyphName); if (glyphId === -1) { if (!glyphsUnicodeMap) { - glyphsUnicodeMap = getGlyphsUnicode(); + glyphsUnicodeMap = (0, _glyphlist.getGlyphsUnicode)(); } const standardGlyphName = recoverGlyphName(glyphName, glyphsUnicodeMap); if (standardGlyphName !== glyphName) { glyphId = glyphNames.indexOf(standardGlyphName); } } - charCodeToGlyphId[charCode] = glyphId >= 0 ? glyphId : 0; + if (glyphId >= 0) { + charCodeToGlyphId[charCode] = glyphId; + } else { + charCodeToGlyphId[charCode] = 0; + } } } return charCodeToGlyphId; @@ -20855,10 +25299,5263 @@ function normalizeFontName(name) { return name.replaceAll(/[,_]/g, "-").replaceAll(/\s/g, ""); } -;// CONCATENATED MODULE: ./src/core/standard_fonts.js +/***/ }), +/* 39 */ +/***/ ((__unused_webpack_module, __webpack_exports__, __w_pdfjs_require__) => { + +__w_pdfjs_require__.r(__webpack_exports__); +/* harmony export */ __w_pdfjs_require__.d(__webpack_exports__, { +/* harmony export */ getDingbatsGlyphsUnicode: () => (/* binding */ getDingbatsGlyphsUnicode), +/* harmony export */ getGlyphsUnicode: () => (/* binding */ getGlyphsUnicode) +/* harmony export */ }); +/* harmony import */ var _core_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __w_pdfjs_require__(3); + +const getGlyphsUnicode = (0,_core_utils_js__WEBPACK_IMPORTED_MODULE_0__.getLookupTableFactory)(function (t) { + t.A = 0x0041; + t.AE = 0x00c6; + t.AEacute = 0x01fc; + t.AEmacron = 0x01e2; + t.AEsmall = 0xf7e6; + t.Aacute = 0x00c1; + t.Aacutesmall = 0xf7e1; + t.Abreve = 0x0102; + t.Abreveacute = 0x1eae; + t.Abrevecyrillic = 0x04d0; + t.Abrevedotbelow = 0x1eb6; + t.Abrevegrave = 0x1eb0; + t.Abrevehookabove = 0x1eb2; + t.Abrevetilde = 0x1eb4; + t.Acaron = 0x01cd; + t.Acircle = 0x24b6; + t.Acircumflex = 0x00c2; + t.Acircumflexacute = 0x1ea4; + t.Acircumflexdotbelow = 0x1eac; + t.Acircumflexgrave = 0x1ea6; + t.Acircumflexhookabove = 0x1ea8; + t.Acircumflexsmall = 0xf7e2; + t.Acircumflextilde = 0x1eaa; + t.Acute = 0xf6c9; + t.Acutesmall = 0xf7b4; + t.Acyrillic = 0x0410; + t.Adblgrave = 0x0200; + t.Adieresis = 0x00c4; + t.Adieresiscyrillic = 0x04d2; + t.Adieresismacron = 0x01de; + t.Adieresissmall = 0xf7e4; + t.Adotbelow = 0x1ea0; + t.Adotmacron = 0x01e0; + t.Agrave = 0x00c0; + t.Agravesmall = 0xf7e0; + t.Ahookabove = 0x1ea2; + t.Aiecyrillic = 0x04d4; + t.Ainvertedbreve = 0x0202; + t.Alpha = 0x0391; + t.Alphatonos = 0x0386; + t.Amacron = 0x0100; + t.Amonospace = 0xff21; + t.Aogonek = 0x0104; + t.Aring = 0x00c5; + t.Aringacute = 0x01fa; + t.Aringbelow = 0x1e00; + t.Aringsmall = 0xf7e5; + t.Asmall = 0xf761; + t.Atilde = 0x00c3; + t.Atildesmall = 0xf7e3; + t.Aybarmenian = 0x0531; + t.B = 0x0042; + t.Bcircle = 0x24b7; + t.Bdotaccent = 0x1e02; + t.Bdotbelow = 0x1e04; + t.Becyrillic = 0x0411; + t.Benarmenian = 0x0532; + t.Beta = 0x0392; + t.Bhook = 0x0181; + t.Blinebelow = 0x1e06; + t.Bmonospace = 0xff22; + t.Brevesmall = 0xf6f4; + t.Bsmall = 0xf762; + t.Btopbar = 0x0182; + t.C = 0x0043; + t.Caarmenian = 0x053e; + t.Cacute = 0x0106; + t.Caron = 0xf6ca; + t.Caronsmall = 0xf6f5; + t.Ccaron = 0x010c; + t.Ccedilla = 0x00c7; + t.Ccedillaacute = 0x1e08; + t.Ccedillasmall = 0xf7e7; + t.Ccircle = 0x24b8; + t.Ccircumflex = 0x0108; + t.Cdot = 0x010a; + t.Cdotaccent = 0x010a; + t.Cedillasmall = 0xf7b8; + t.Chaarmenian = 0x0549; + t.Cheabkhasiancyrillic = 0x04bc; + t.Checyrillic = 0x0427; + t.Chedescenderabkhasiancyrillic = 0x04be; + t.Chedescendercyrillic = 0x04b6; + t.Chedieresiscyrillic = 0x04f4; + t.Cheharmenian = 0x0543; + t.Chekhakassiancyrillic = 0x04cb; + t.Cheverticalstrokecyrillic = 0x04b8; + t.Chi = 0x03a7; + t.Chook = 0x0187; + t.Circumflexsmall = 0xf6f6; + t.Cmonospace = 0xff23; + t.Coarmenian = 0x0551; + t.Csmall = 0xf763; + t.D = 0x0044; + t.DZ = 0x01f1; + t.DZcaron = 0x01c4; + t.Daarmenian = 0x0534; + t.Dafrican = 0x0189; + t.Dcaron = 0x010e; + t.Dcedilla = 0x1e10; + t.Dcircle = 0x24b9; + t.Dcircumflexbelow = 0x1e12; + t.Dcroat = 0x0110; + t.Ddotaccent = 0x1e0a; + t.Ddotbelow = 0x1e0c; + t.Decyrillic = 0x0414; + t.Deicoptic = 0x03ee; + t.Delta = 0x2206; + t.Deltagreek = 0x0394; + t.Dhook = 0x018a; + t.Dieresis = 0xf6cb; + t.DieresisAcute = 0xf6cc; + t.DieresisGrave = 0xf6cd; + t.Dieresissmall = 0xf7a8; + t.Digammagreek = 0x03dc; + t.Djecyrillic = 0x0402; + t.Dlinebelow = 0x1e0e; + t.Dmonospace = 0xff24; + t.Dotaccentsmall = 0xf6f7; + t.Dslash = 0x0110; + t.Dsmall = 0xf764; + t.Dtopbar = 0x018b; + t.Dz = 0x01f2; + t.Dzcaron = 0x01c5; + t.Dzeabkhasiancyrillic = 0x04e0; + t.Dzecyrillic = 0x0405; + t.Dzhecyrillic = 0x040f; + t.E = 0x0045; + t.Eacute = 0x00c9; + t.Eacutesmall = 0xf7e9; + t.Ebreve = 0x0114; + t.Ecaron = 0x011a; + t.Ecedillabreve = 0x1e1c; + t.Echarmenian = 0x0535; + t.Ecircle = 0x24ba; + t.Ecircumflex = 0x00ca; + t.Ecircumflexacute = 0x1ebe; + t.Ecircumflexbelow = 0x1e18; + t.Ecircumflexdotbelow = 0x1ec6; + t.Ecircumflexgrave = 0x1ec0; + t.Ecircumflexhookabove = 0x1ec2; + t.Ecircumflexsmall = 0xf7ea; + t.Ecircumflextilde = 0x1ec4; + t.Ecyrillic = 0x0404; + t.Edblgrave = 0x0204; + t.Edieresis = 0x00cb; + t.Edieresissmall = 0xf7eb; + t.Edot = 0x0116; + t.Edotaccent = 0x0116; + t.Edotbelow = 0x1eb8; + t.Efcyrillic = 0x0424; + t.Egrave = 0x00c8; + t.Egravesmall = 0xf7e8; + t.Eharmenian = 0x0537; + t.Ehookabove = 0x1eba; + t.Eightroman = 0x2167; + t.Einvertedbreve = 0x0206; + t.Eiotifiedcyrillic = 0x0464; + t.Elcyrillic = 0x041b; + t.Elevenroman = 0x216a; + t.Emacron = 0x0112; + t.Emacronacute = 0x1e16; + t.Emacrongrave = 0x1e14; + t.Emcyrillic = 0x041c; + t.Emonospace = 0xff25; + t.Encyrillic = 0x041d; + t.Endescendercyrillic = 0x04a2; + t.Eng = 0x014a; + t.Enghecyrillic = 0x04a4; + t.Enhookcyrillic = 0x04c7; + t.Eogonek = 0x0118; + t.Eopen = 0x0190; + t.Epsilon = 0x0395; + t.Epsilontonos = 0x0388; + t.Ercyrillic = 0x0420; + t.Ereversed = 0x018e; + t.Ereversedcyrillic = 0x042d; + t.Escyrillic = 0x0421; + t.Esdescendercyrillic = 0x04aa; + t.Esh = 0x01a9; + t.Esmall = 0xf765; + t.Eta = 0x0397; + t.Etarmenian = 0x0538; + t.Etatonos = 0x0389; + t.Eth = 0x00d0; + t.Ethsmall = 0xf7f0; + t.Etilde = 0x1ebc; + t.Etildebelow = 0x1e1a; + t.Euro = 0x20ac; + t.Ezh = 0x01b7; + t.Ezhcaron = 0x01ee; + t.Ezhreversed = 0x01b8; + t.F = 0x0046; + t.Fcircle = 0x24bb; + t.Fdotaccent = 0x1e1e; + t.Feharmenian = 0x0556; + t.Feicoptic = 0x03e4; + t.Fhook = 0x0191; + t.Fitacyrillic = 0x0472; + t.Fiveroman = 0x2164; + t.Fmonospace = 0xff26; + t.Fourroman = 0x2163; + t.Fsmall = 0xf766; + t.G = 0x0047; + t.GBsquare = 0x3387; + t.Gacute = 0x01f4; + t.Gamma = 0x0393; + t.Gammaafrican = 0x0194; + t.Gangiacoptic = 0x03ea; + t.Gbreve = 0x011e; + t.Gcaron = 0x01e6; + t.Gcedilla = 0x0122; + t.Gcircle = 0x24bc; + t.Gcircumflex = 0x011c; + t.Gcommaaccent = 0x0122; + t.Gdot = 0x0120; + t.Gdotaccent = 0x0120; + t.Gecyrillic = 0x0413; + t.Ghadarmenian = 0x0542; + t.Ghemiddlehookcyrillic = 0x0494; + t.Ghestrokecyrillic = 0x0492; + t.Gheupturncyrillic = 0x0490; + t.Ghook = 0x0193; + t.Gimarmenian = 0x0533; + t.Gjecyrillic = 0x0403; + t.Gmacron = 0x1e20; + t.Gmonospace = 0xff27; + t.Grave = 0xf6ce; + t.Gravesmall = 0xf760; + t.Gsmall = 0xf767; + t.Gsmallhook = 0x029b; + t.Gstroke = 0x01e4; + t.H = 0x0048; + t.H18533 = 0x25cf; + t.H18543 = 0x25aa; + t.H18551 = 0x25ab; + t.H22073 = 0x25a1; + t.HPsquare = 0x33cb; + t.Haabkhasiancyrillic = 0x04a8; + t.Hadescendercyrillic = 0x04b2; + t.Hardsigncyrillic = 0x042a; + t.Hbar = 0x0126; + t.Hbrevebelow = 0x1e2a; + t.Hcedilla = 0x1e28; + t.Hcircle = 0x24bd; + t.Hcircumflex = 0x0124; + t.Hdieresis = 0x1e26; + t.Hdotaccent = 0x1e22; + t.Hdotbelow = 0x1e24; + t.Hmonospace = 0xff28; + t.Hoarmenian = 0x0540; + t.Horicoptic = 0x03e8; + t.Hsmall = 0xf768; + t.Hungarumlaut = 0xf6cf; + t.Hungarumlautsmall = 0xf6f8; + t.Hzsquare = 0x3390; + t.I = 0x0049; + t.IAcyrillic = 0x042f; + t.IJ = 0x0132; + t.IUcyrillic = 0x042e; + t.Iacute = 0x00cd; + t.Iacutesmall = 0xf7ed; + t.Ibreve = 0x012c; + t.Icaron = 0x01cf; + t.Icircle = 0x24be; + t.Icircumflex = 0x00ce; + t.Icircumflexsmall = 0xf7ee; + t.Icyrillic = 0x0406; + t.Idblgrave = 0x0208; + t.Idieresis = 0x00cf; + t.Idieresisacute = 0x1e2e; + t.Idieresiscyrillic = 0x04e4; + t.Idieresissmall = 0xf7ef; + t.Idot = 0x0130; + t.Idotaccent = 0x0130; + t.Idotbelow = 0x1eca; + t.Iebrevecyrillic = 0x04d6; + t.Iecyrillic = 0x0415; + t.Ifraktur = 0x2111; + t.Igrave = 0x00cc; + t.Igravesmall = 0xf7ec; + t.Ihookabove = 0x1ec8; + t.Iicyrillic = 0x0418; + t.Iinvertedbreve = 0x020a; + t.Iishortcyrillic = 0x0419; + t.Imacron = 0x012a; + t.Imacroncyrillic = 0x04e2; + t.Imonospace = 0xff29; + t.Iniarmenian = 0x053b; + t.Iocyrillic = 0x0401; + t.Iogonek = 0x012e; + t.Iota = 0x0399; + t.Iotaafrican = 0x0196; + t.Iotadieresis = 0x03aa; + t.Iotatonos = 0x038a; + t.Ismall = 0xf769; + t.Istroke = 0x0197; + t.Itilde = 0x0128; + t.Itildebelow = 0x1e2c; + t.Izhitsacyrillic = 0x0474; + t.Izhitsadblgravecyrillic = 0x0476; + t.J = 0x004a; + t.Jaarmenian = 0x0541; + t.Jcircle = 0x24bf; + t.Jcircumflex = 0x0134; + t.Jecyrillic = 0x0408; + t.Jheharmenian = 0x054b; + t.Jmonospace = 0xff2a; + t.Jsmall = 0xf76a; + t.K = 0x004b; + t.KBsquare = 0x3385; + t.KKsquare = 0x33cd; + t.Kabashkircyrillic = 0x04a0; + t.Kacute = 0x1e30; + t.Kacyrillic = 0x041a; + t.Kadescendercyrillic = 0x049a; + t.Kahookcyrillic = 0x04c3; + t.Kappa = 0x039a; + t.Kastrokecyrillic = 0x049e; + t.Kaverticalstrokecyrillic = 0x049c; + t.Kcaron = 0x01e8; + t.Kcedilla = 0x0136; + t.Kcircle = 0x24c0; + t.Kcommaaccent = 0x0136; + t.Kdotbelow = 0x1e32; + t.Keharmenian = 0x0554; + t.Kenarmenian = 0x053f; + t.Khacyrillic = 0x0425; + t.Kheicoptic = 0x03e6; + t.Khook = 0x0198; + t.Kjecyrillic = 0x040c; + t.Klinebelow = 0x1e34; + t.Kmonospace = 0xff2b; + t.Koppacyrillic = 0x0480; + t.Koppagreek = 0x03de; + t.Ksicyrillic = 0x046e; + t.Ksmall = 0xf76b; + t.L = 0x004c; + t.LJ = 0x01c7; + t.LL = 0xf6bf; + t.Lacute = 0x0139; + t.Lambda = 0x039b; + t.Lcaron = 0x013d; + t.Lcedilla = 0x013b; + t.Lcircle = 0x24c1; + t.Lcircumflexbelow = 0x1e3c; + t.Lcommaaccent = 0x013b; + t.Ldot = 0x013f; + t.Ldotaccent = 0x013f; + t.Ldotbelow = 0x1e36; + t.Ldotbelowmacron = 0x1e38; + t.Liwnarmenian = 0x053c; + t.Lj = 0x01c8; + t.Ljecyrillic = 0x0409; + t.Llinebelow = 0x1e3a; + t.Lmonospace = 0xff2c; + t.Lslash = 0x0141; + t.Lslashsmall = 0xf6f9; + t.Lsmall = 0xf76c; + t.M = 0x004d; + t.MBsquare = 0x3386; + t.Macron = 0xf6d0; + t.Macronsmall = 0xf7af; + t.Macute = 0x1e3e; + t.Mcircle = 0x24c2; + t.Mdotaccent = 0x1e40; + t.Mdotbelow = 0x1e42; + t.Menarmenian = 0x0544; + t.Mmonospace = 0xff2d; + t.Msmall = 0xf76d; + t.Mturned = 0x019c; + t.Mu = 0x039c; + t.N = 0x004e; + t.NJ = 0x01ca; + t.Nacute = 0x0143; + t.Ncaron = 0x0147; + t.Ncedilla = 0x0145; + t.Ncircle = 0x24c3; + t.Ncircumflexbelow = 0x1e4a; + t.Ncommaaccent = 0x0145; + t.Ndotaccent = 0x1e44; + t.Ndotbelow = 0x1e46; + t.Nhookleft = 0x019d; + t.Nineroman = 0x2168; + t.Nj = 0x01cb; + t.Njecyrillic = 0x040a; + t.Nlinebelow = 0x1e48; + t.Nmonospace = 0xff2e; + t.Nowarmenian = 0x0546; + t.Nsmall = 0xf76e; + t.Ntilde = 0x00d1; + t.Ntildesmall = 0xf7f1; + t.Nu = 0x039d; + t.O = 0x004f; + t.OE = 0x0152; + t.OEsmall = 0xf6fa; + t.Oacute = 0x00d3; + t.Oacutesmall = 0xf7f3; + t.Obarredcyrillic = 0x04e8; + t.Obarreddieresiscyrillic = 0x04ea; + t.Obreve = 0x014e; + t.Ocaron = 0x01d1; + t.Ocenteredtilde = 0x019f; + t.Ocircle = 0x24c4; + t.Ocircumflex = 0x00d4; + t.Ocircumflexacute = 0x1ed0; + t.Ocircumflexdotbelow = 0x1ed8; + t.Ocircumflexgrave = 0x1ed2; + t.Ocircumflexhookabove = 0x1ed4; + t.Ocircumflexsmall = 0xf7f4; + t.Ocircumflextilde = 0x1ed6; + t.Ocyrillic = 0x041e; + t.Odblacute = 0x0150; + t.Odblgrave = 0x020c; + t.Odieresis = 0x00d6; + t.Odieresiscyrillic = 0x04e6; + t.Odieresissmall = 0xf7f6; + t.Odotbelow = 0x1ecc; + t.Ogoneksmall = 0xf6fb; + t.Ograve = 0x00d2; + t.Ogravesmall = 0xf7f2; + t.Oharmenian = 0x0555; + t.Ohm = 0x2126; + t.Ohookabove = 0x1ece; + t.Ohorn = 0x01a0; + t.Ohornacute = 0x1eda; + t.Ohorndotbelow = 0x1ee2; + t.Ohorngrave = 0x1edc; + t.Ohornhookabove = 0x1ede; + t.Ohorntilde = 0x1ee0; + t.Ohungarumlaut = 0x0150; + t.Oi = 0x01a2; + t.Oinvertedbreve = 0x020e; + t.Omacron = 0x014c; + t.Omacronacute = 0x1e52; + t.Omacrongrave = 0x1e50; + t.Omega = 0x2126; + t.Omegacyrillic = 0x0460; + t.Omegagreek = 0x03a9; + t.Omegaroundcyrillic = 0x047a; + t.Omegatitlocyrillic = 0x047c; + t.Omegatonos = 0x038f; + t.Omicron = 0x039f; + t.Omicrontonos = 0x038c; + t.Omonospace = 0xff2f; + t.Oneroman = 0x2160; + t.Oogonek = 0x01ea; + t.Oogonekmacron = 0x01ec; + t.Oopen = 0x0186; + t.Oslash = 0x00d8; + t.Oslashacute = 0x01fe; + t.Oslashsmall = 0xf7f8; + t.Osmall = 0xf76f; + t.Ostrokeacute = 0x01fe; + t.Otcyrillic = 0x047e; + t.Otilde = 0x00d5; + t.Otildeacute = 0x1e4c; + t.Otildedieresis = 0x1e4e; + t.Otildesmall = 0xf7f5; + t.P = 0x0050; + t.Pacute = 0x1e54; + t.Pcircle = 0x24c5; + t.Pdotaccent = 0x1e56; + t.Pecyrillic = 0x041f; + t.Peharmenian = 0x054a; + t.Pemiddlehookcyrillic = 0x04a6; + t.Phi = 0x03a6; + t.Phook = 0x01a4; + t.Pi = 0x03a0; + t.Piwrarmenian = 0x0553; + t.Pmonospace = 0xff30; + t.Psi = 0x03a8; + t.Psicyrillic = 0x0470; + t.Psmall = 0xf770; + t.Q = 0x0051; + t.Qcircle = 0x24c6; + t.Qmonospace = 0xff31; + t.Qsmall = 0xf771; + t.R = 0x0052; + t.Raarmenian = 0x054c; + t.Racute = 0x0154; + t.Rcaron = 0x0158; + t.Rcedilla = 0x0156; + t.Rcircle = 0x24c7; + t.Rcommaaccent = 0x0156; + t.Rdblgrave = 0x0210; + t.Rdotaccent = 0x1e58; + t.Rdotbelow = 0x1e5a; + t.Rdotbelowmacron = 0x1e5c; + t.Reharmenian = 0x0550; + t.Rfraktur = 0x211c; + t.Rho = 0x03a1; + t.Ringsmall = 0xf6fc; + t.Rinvertedbreve = 0x0212; + t.Rlinebelow = 0x1e5e; + t.Rmonospace = 0xff32; + t.Rsmall = 0xf772; + t.Rsmallinverted = 0x0281; + t.Rsmallinvertedsuperior = 0x02b6; + t.S = 0x0053; + t.SF010000 = 0x250c; + t.SF020000 = 0x2514; + t.SF030000 = 0x2510; + t.SF040000 = 0x2518; + t.SF050000 = 0x253c; + t.SF060000 = 0x252c; + t.SF070000 = 0x2534; + t.SF080000 = 0x251c; + t.SF090000 = 0x2524; + t.SF100000 = 0x2500; + t.SF110000 = 0x2502; + t.SF190000 = 0x2561; + t.SF200000 = 0x2562; + t.SF210000 = 0x2556; + t.SF220000 = 0x2555; + t.SF230000 = 0x2563; + t.SF240000 = 0x2551; + t.SF250000 = 0x2557; + t.SF260000 = 0x255d; + t.SF270000 = 0x255c; + t.SF280000 = 0x255b; + t.SF360000 = 0x255e; + t.SF370000 = 0x255f; + t.SF380000 = 0x255a; + t.SF390000 = 0x2554; + t.SF400000 = 0x2569; + t.SF410000 = 0x2566; + t.SF420000 = 0x2560; + t.SF430000 = 0x2550; + t.SF440000 = 0x256c; + t.SF450000 = 0x2567; + t.SF460000 = 0x2568; + t.SF470000 = 0x2564; + t.SF480000 = 0x2565; + t.SF490000 = 0x2559; + t.SF500000 = 0x2558; + t.SF510000 = 0x2552; + t.SF520000 = 0x2553; + t.SF530000 = 0x256b; + t.SF540000 = 0x256a; + t.Sacute = 0x015a; + t.Sacutedotaccent = 0x1e64; + t.Sampigreek = 0x03e0; + t.Scaron = 0x0160; + t.Scarondotaccent = 0x1e66; + t.Scaronsmall = 0xf6fd; + t.Scedilla = 0x015e; + t.Schwa = 0x018f; + t.Schwacyrillic = 0x04d8; + t.Schwadieresiscyrillic = 0x04da; + t.Scircle = 0x24c8; + t.Scircumflex = 0x015c; + t.Scommaaccent = 0x0218; + t.Sdotaccent = 0x1e60; + t.Sdotbelow = 0x1e62; + t.Sdotbelowdotaccent = 0x1e68; + t.Seharmenian = 0x054d; + t.Sevenroman = 0x2166; + t.Shaarmenian = 0x0547; + t.Shacyrillic = 0x0428; + t.Shchacyrillic = 0x0429; + t.Sheicoptic = 0x03e2; + t.Shhacyrillic = 0x04ba; + t.Shimacoptic = 0x03ec; + t.Sigma = 0x03a3; + t.Sixroman = 0x2165; + t.Smonospace = 0xff33; + t.Softsigncyrillic = 0x042c; + t.Ssmall = 0xf773; + t.Stigmagreek = 0x03da; + t.T = 0x0054; + t.Tau = 0x03a4; + t.Tbar = 0x0166; + t.Tcaron = 0x0164; + t.Tcedilla = 0x0162; + t.Tcircle = 0x24c9; + t.Tcircumflexbelow = 0x1e70; + t.Tcommaaccent = 0x0162; + t.Tdotaccent = 0x1e6a; + t.Tdotbelow = 0x1e6c; + t.Tecyrillic = 0x0422; + t.Tedescendercyrillic = 0x04ac; + t.Tenroman = 0x2169; + t.Tetsecyrillic = 0x04b4; + t.Theta = 0x0398; + t.Thook = 0x01ac; + t.Thorn = 0x00de; + t.Thornsmall = 0xf7fe; + t.Threeroman = 0x2162; + t.Tildesmall = 0xf6fe; + t.Tiwnarmenian = 0x054f; + t.Tlinebelow = 0x1e6e; + t.Tmonospace = 0xff34; + t.Toarmenian = 0x0539; + t.Tonefive = 0x01bc; + t.Tonesix = 0x0184; + t.Tonetwo = 0x01a7; + t.Tretroflexhook = 0x01ae; + t.Tsecyrillic = 0x0426; + t.Tshecyrillic = 0x040b; + t.Tsmall = 0xf774; + t.Twelveroman = 0x216b; + t.Tworoman = 0x2161; + t.U = 0x0055; + t.Uacute = 0x00da; + t.Uacutesmall = 0xf7fa; + t.Ubreve = 0x016c; + t.Ucaron = 0x01d3; + t.Ucircle = 0x24ca; + t.Ucircumflex = 0x00db; + t.Ucircumflexbelow = 0x1e76; + t.Ucircumflexsmall = 0xf7fb; + t.Ucyrillic = 0x0423; + t.Udblacute = 0x0170; + t.Udblgrave = 0x0214; + t.Udieresis = 0x00dc; + t.Udieresisacute = 0x01d7; + t.Udieresisbelow = 0x1e72; + t.Udieresiscaron = 0x01d9; + t.Udieresiscyrillic = 0x04f0; + t.Udieresisgrave = 0x01db; + t.Udieresismacron = 0x01d5; + t.Udieresissmall = 0xf7fc; + t.Udotbelow = 0x1ee4; + t.Ugrave = 0x00d9; + t.Ugravesmall = 0xf7f9; + t.Uhookabove = 0x1ee6; + t.Uhorn = 0x01af; + t.Uhornacute = 0x1ee8; + t.Uhorndotbelow = 0x1ef0; + t.Uhorngrave = 0x1eea; + t.Uhornhookabove = 0x1eec; + t.Uhorntilde = 0x1eee; + t.Uhungarumlaut = 0x0170; + t.Uhungarumlautcyrillic = 0x04f2; + t.Uinvertedbreve = 0x0216; + t.Ukcyrillic = 0x0478; + t.Umacron = 0x016a; + t.Umacroncyrillic = 0x04ee; + t.Umacrondieresis = 0x1e7a; + t.Umonospace = 0xff35; + t.Uogonek = 0x0172; + t.Upsilon = 0x03a5; + t.Upsilon1 = 0x03d2; + t.Upsilonacutehooksymbolgreek = 0x03d3; + t.Upsilonafrican = 0x01b1; + t.Upsilondieresis = 0x03ab; + t.Upsilondieresishooksymbolgreek = 0x03d4; + t.Upsilonhooksymbol = 0x03d2; + t.Upsilontonos = 0x038e; + t.Uring = 0x016e; + t.Ushortcyrillic = 0x040e; + t.Usmall = 0xf775; + t.Ustraightcyrillic = 0x04ae; + t.Ustraightstrokecyrillic = 0x04b0; + t.Utilde = 0x0168; + t.Utildeacute = 0x1e78; + t.Utildebelow = 0x1e74; + t.V = 0x0056; + t.Vcircle = 0x24cb; + t.Vdotbelow = 0x1e7e; + t.Vecyrillic = 0x0412; + t.Vewarmenian = 0x054e; + t.Vhook = 0x01b2; + t.Vmonospace = 0xff36; + t.Voarmenian = 0x0548; + t.Vsmall = 0xf776; + t.Vtilde = 0x1e7c; + t.W = 0x0057; + t.Wacute = 0x1e82; + t.Wcircle = 0x24cc; + t.Wcircumflex = 0x0174; + t.Wdieresis = 0x1e84; + t.Wdotaccent = 0x1e86; + t.Wdotbelow = 0x1e88; + t.Wgrave = 0x1e80; + t.Wmonospace = 0xff37; + t.Wsmall = 0xf777; + t.X = 0x0058; + t.Xcircle = 0x24cd; + t.Xdieresis = 0x1e8c; + t.Xdotaccent = 0x1e8a; + t.Xeharmenian = 0x053d; + t.Xi = 0x039e; + t.Xmonospace = 0xff38; + t.Xsmall = 0xf778; + t.Y = 0x0059; + t.Yacute = 0x00dd; + t.Yacutesmall = 0xf7fd; + t.Yatcyrillic = 0x0462; + t.Ycircle = 0x24ce; + t.Ycircumflex = 0x0176; + t.Ydieresis = 0x0178; + t.Ydieresissmall = 0xf7ff; + t.Ydotaccent = 0x1e8e; + t.Ydotbelow = 0x1ef4; + t.Yericyrillic = 0x042b; + t.Yerudieresiscyrillic = 0x04f8; + t.Ygrave = 0x1ef2; + t.Yhook = 0x01b3; + t.Yhookabove = 0x1ef6; + t.Yiarmenian = 0x0545; + t.Yicyrillic = 0x0407; + t.Yiwnarmenian = 0x0552; + t.Ymonospace = 0xff39; + t.Ysmall = 0xf779; + t.Ytilde = 0x1ef8; + t.Yusbigcyrillic = 0x046a; + t.Yusbigiotifiedcyrillic = 0x046c; + t.Yuslittlecyrillic = 0x0466; + t.Yuslittleiotifiedcyrillic = 0x0468; + t.Z = 0x005a; + t.Zaarmenian = 0x0536; + t.Zacute = 0x0179; + t.Zcaron = 0x017d; + t.Zcaronsmall = 0xf6ff; + t.Zcircle = 0x24cf; + t.Zcircumflex = 0x1e90; + t.Zdot = 0x017b; + t.Zdotaccent = 0x017b; + t.Zdotbelow = 0x1e92; + t.Zecyrillic = 0x0417; + t.Zedescendercyrillic = 0x0498; + t.Zedieresiscyrillic = 0x04de; + t.Zeta = 0x0396; + t.Zhearmenian = 0x053a; + t.Zhebrevecyrillic = 0x04c1; + t.Zhecyrillic = 0x0416; + t.Zhedescendercyrillic = 0x0496; + t.Zhedieresiscyrillic = 0x04dc; + t.Zlinebelow = 0x1e94; + t.Zmonospace = 0xff3a; + t.Zsmall = 0xf77a; + t.Zstroke = 0x01b5; + t.a = 0x0061; + t.aabengali = 0x0986; + t.aacute = 0x00e1; + t.aadeva = 0x0906; + t.aagujarati = 0x0a86; + t.aagurmukhi = 0x0a06; + t.aamatragurmukhi = 0x0a3e; + t.aarusquare = 0x3303; + t.aavowelsignbengali = 0x09be; + t.aavowelsigndeva = 0x093e; + t.aavowelsigngujarati = 0x0abe; + t.abbreviationmarkarmenian = 0x055f; + t.abbreviationsigndeva = 0x0970; + t.abengali = 0x0985; + t.abopomofo = 0x311a; + t.abreve = 0x0103; + t.abreveacute = 0x1eaf; + t.abrevecyrillic = 0x04d1; + t.abrevedotbelow = 0x1eb7; + t.abrevegrave = 0x1eb1; + t.abrevehookabove = 0x1eb3; + t.abrevetilde = 0x1eb5; + t.acaron = 0x01ce; + t.acircle = 0x24d0; + t.acircumflex = 0x00e2; + t.acircumflexacute = 0x1ea5; + t.acircumflexdotbelow = 0x1ead; + t.acircumflexgrave = 0x1ea7; + t.acircumflexhookabove = 0x1ea9; + t.acircumflextilde = 0x1eab; + t.acute = 0x00b4; + t.acutebelowcmb = 0x0317; + t.acutecmb = 0x0301; + t.acutecomb = 0x0301; + t.acutedeva = 0x0954; + t.acutelowmod = 0x02cf; + t.acutetonecmb = 0x0341; + t.acyrillic = 0x0430; + t.adblgrave = 0x0201; + t.addakgurmukhi = 0x0a71; + t.adeva = 0x0905; + t.adieresis = 0x00e4; + t.adieresiscyrillic = 0x04d3; + t.adieresismacron = 0x01df; + t.adotbelow = 0x1ea1; + t.adotmacron = 0x01e1; + t.ae = 0x00e6; + t.aeacute = 0x01fd; + t.aekorean = 0x3150; + t.aemacron = 0x01e3; + t.afii00208 = 0x2015; + t.afii08941 = 0x20a4; + t.afii10017 = 0x0410; + t.afii10018 = 0x0411; + t.afii10019 = 0x0412; + t.afii10020 = 0x0413; + t.afii10021 = 0x0414; + t.afii10022 = 0x0415; + t.afii10023 = 0x0401; + t.afii10024 = 0x0416; + t.afii10025 = 0x0417; + t.afii10026 = 0x0418; + t.afii10027 = 0x0419; + t.afii10028 = 0x041a; + t.afii10029 = 0x041b; + t.afii10030 = 0x041c; + t.afii10031 = 0x041d; + t.afii10032 = 0x041e; + t.afii10033 = 0x041f; + t.afii10034 = 0x0420; + t.afii10035 = 0x0421; + t.afii10036 = 0x0422; + t.afii10037 = 0x0423; + t.afii10038 = 0x0424; + t.afii10039 = 0x0425; + t.afii10040 = 0x0426; + t.afii10041 = 0x0427; + t.afii10042 = 0x0428; + t.afii10043 = 0x0429; + t.afii10044 = 0x042a; + t.afii10045 = 0x042b; + t.afii10046 = 0x042c; + t.afii10047 = 0x042d; + t.afii10048 = 0x042e; + t.afii10049 = 0x042f; + t.afii10050 = 0x0490; + t.afii10051 = 0x0402; + t.afii10052 = 0x0403; + t.afii10053 = 0x0404; + t.afii10054 = 0x0405; + t.afii10055 = 0x0406; + t.afii10056 = 0x0407; + t.afii10057 = 0x0408; + t.afii10058 = 0x0409; + t.afii10059 = 0x040a; + t.afii10060 = 0x040b; + t.afii10061 = 0x040c; + t.afii10062 = 0x040e; + t.afii10063 = 0xf6c4; + t.afii10064 = 0xf6c5; + t.afii10065 = 0x0430; + t.afii10066 = 0x0431; + t.afii10067 = 0x0432; + t.afii10068 = 0x0433; + t.afii10069 = 0x0434; + t.afii10070 = 0x0435; + t.afii10071 = 0x0451; + t.afii10072 = 0x0436; + t.afii10073 = 0x0437; + t.afii10074 = 0x0438; + t.afii10075 = 0x0439; + t.afii10076 = 0x043a; + t.afii10077 = 0x043b; + t.afii10078 = 0x043c; + t.afii10079 = 0x043d; + t.afii10080 = 0x043e; + t.afii10081 = 0x043f; + t.afii10082 = 0x0440; + t.afii10083 = 0x0441; + t.afii10084 = 0x0442; + t.afii10085 = 0x0443; + t.afii10086 = 0x0444; + t.afii10087 = 0x0445; + t.afii10088 = 0x0446; + t.afii10089 = 0x0447; + t.afii10090 = 0x0448; + t.afii10091 = 0x0449; + t.afii10092 = 0x044a; + t.afii10093 = 0x044b; + t.afii10094 = 0x044c; + t.afii10095 = 0x044d; + t.afii10096 = 0x044e; + t.afii10097 = 0x044f; + t.afii10098 = 0x0491; + t.afii10099 = 0x0452; + t.afii10100 = 0x0453; + t.afii10101 = 0x0454; + t.afii10102 = 0x0455; + t.afii10103 = 0x0456; + t.afii10104 = 0x0457; + t.afii10105 = 0x0458; + t.afii10106 = 0x0459; + t.afii10107 = 0x045a; + t.afii10108 = 0x045b; + t.afii10109 = 0x045c; + t.afii10110 = 0x045e; + t.afii10145 = 0x040f; + t.afii10146 = 0x0462; + t.afii10147 = 0x0472; + t.afii10148 = 0x0474; + t.afii10192 = 0xf6c6; + t.afii10193 = 0x045f; + t.afii10194 = 0x0463; + t.afii10195 = 0x0473; + t.afii10196 = 0x0475; + t.afii10831 = 0xf6c7; + t.afii10832 = 0xf6c8; + t.afii10846 = 0x04d9; + t.afii299 = 0x200e; + t.afii300 = 0x200f; + t.afii301 = 0x200d; + t.afii57381 = 0x066a; + t.afii57388 = 0x060c; + t.afii57392 = 0x0660; + t.afii57393 = 0x0661; + t.afii57394 = 0x0662; + t.afii57395 = 0x0663; + t.afii57396 = 0x0664; + t.afii57397 = 0x0665; + t.afii57398 = 0x0666; + t.afii57399 = 0x0667; + t.afii57400 = 0x0668; + t.afii57401 = 0x0669; + t.afii57403 = 0x061b; + t.afii57407 = 0x061f; + t.afii57409 = 0x0621; + t.afii57410 = 0x0622; + t.afii57411 = 0x0623; + t.afii57412 = 0x0624; + t.afii57413 = 0x0625; + t.afii57414 = 0x0626; + t.afii57415 = 0x0627; + t.afii57416 = 0x0628; + t.afii57417 = 0x0629; + t.afii57418 = 0x062a; + t.afii57419 = 0x062b; + t.afii57420 = 0x062c; + t.afii57421 = 0x062d; + t.afii57422 = 0x062e; + t.afii57423 = 0x062f; + t.afii57424 = 0x0630; + t.afii57425 = 0x0631; + t.afii57426 = 0x0632; + t.afii57427 = 0x0633; + t.afii57428 = 0x0634; + t.afii57429 = 0x0635; + t.afii57430 = 0x0636; + t.afii57431 = 0x0637; + t.afii57432 = 0x0638; + t.afii57433 = 0x0639; + t.afii57434 = 0x063a; + t.afii57440 = 0x0640; + t.afii57441 = 0x0641; + t.afii57442 = 0x0642; + t.afii57443 = 0x0643; + t.afii57444 = 0x0644; + t.afii57445 = 0x0645; + t.afii57446 = 0x0646; + t.afii57448 = 0x0648; + t.afii57449 = 0x0649; + t.afii57450 = 0x064a; + t.afii57451 = 0x064b; + t.afii57452 = 0x064c; + t.afii57453 = 0x064d; + t.afii57454 = 0x064e; + t.afii57455 = 0x064f; + t.afii57456 = 0x0650; + t.afii57457 = 0x0651; + t.afii57458 = 0x0652; + t.afii57470 = 0x0647; + t.afii57505 = 0x06a4; + t.afii57506 = 0x067e; + t.afii57507 = 0x0686; + t.afii57508 = 0x0698; + t.afii57509 = 0x06af; + t.afii57511 = 0x0679; + t.afii57512 = 0x0688; + t.afii57513 = 0x0691; + t.afii57514 = 0x06ba; + t.afii57519 = 0x06d2; + t.afii57534 = 0x06d5; + t.afii57636 = 0x20aa; + t.afii57645 = 0x05be; + t.afii57658 = 0x05c3; + t.afii57664 = 0x05d0; + t.afii57665 = 0x05d1; + t.afii57666 = 0x05d2; + t.afii57667 = 0x05d3; + t.afii57668 = 0x05d4; + t.afii57669 = 0x05d5; + t.afii57670 = 0x05d6; + t.afii57671 = 0x05d7; + t.afii57672 = 0x05d8; + t.afii57673 = 0x05d9; + t.afii57674 = 0x05da; + t.afii57675 = 0x05db; + t.afii57676 = 0x05dc; + t.afii57677 = 0x05dd; + t.afii57678 = 0x05de; + t.afii57679 = 0x05df; + t.afii57680 = 0x05e0; + t.afii57681 = 0x05e1; + t.afii57682 = 0x05e2; + t.afii57683 = 0x05e3; + t.afii57684 = 0x05e4; + t.afii57685 = 0x05e5; + t.afii57686 = 0x05e6; + t.afii57687 = 0x05e7; + t.afii57688 = 0x05e8; + t.afii57689 = 0x05e9; + t.afii57690 = 0x05ea; + t.afii57694 = 0xfb2a; + t.afii57695 = 0xfb2b; + t.afii57700 = 0xfb4b; + t.afii57705 = 0xfb1f; + t.afii57716 = 0x05f0; + t.afii57717 = 0x05f1; + t.afii57718 = 0x05f2; + t.afii57723 = 0xfb35; + t.afii57793 = 0x05b4; + t.afii57794 = 0x05b5; + t.afii57795 = 0x05b6; + t.afii57796 = 0x05bb; + t.afii57797 = 0x05b8; + t.afii57798 = 0x05b7; + t.afii57799 = 0x05b0; + t.afii57800 = 0x05b2; + t.afii57801 = 0x05b1; + t.afii57802 = 0x05b3; + t.afii57803 = 0x05c2; + t.afii57804 = 0x05c1; + t.afii57806 = 0x05b9; + t.afii57807 = 0x05bc; + t.afii57839 = 0x05bd; + t.afii57841 = 0x05bf; + t.afii57842 = 0x05c0; + t.afii57929 = 0x02bc; + t.afii61248 = 0x2105; + t.afii61289 = 0x2113; + t.afii61352 = 0x2116; + t.afii61573 = 0x202c; + t.afii61574 = 0x202d; + t.afii61575 = 0x202e; + t.afii61664 = 0x200c; + t.afii63167 = 0x066d; + t.afii64937 = 0x02bd; + t.agrave = 0x00e0; + t.agujarati = 0x0a85; + t.agurmukhi = 0x0a05; + t.ahiragana = 0x3042; + t.ahookabove = 0x1ea3; + t.aibengali = 0x0990; + t.aibopomofo = 0x311e; + t.aideva = 0x0910; + t.aiecyrillic = 0x04d5; + t.aigujarati = 0x0a90; + t.aigurmukhi = 0x0a10; + t.aimatragurmukhi = 0x0a48; + t.ainarabic = 0x0639; + t.ainfinalarabic = 0xfeca; + t.aininitialarabic = 0xfecb; + t.ainmedialarabic = 0xfecc; + t.ainvertedbreve = 0x0203; + t.aivowelsignbengali = 0x09c8; + t.aivowelsigndeva = 0x0948; + t.aivowelsigngujarati = 0x0ac8; + t.akatakana = 0x30a2; + t.akatakanahalfwidth = 0xff71; + t.akorean = 0x314f; + t.alef = 0x05d0; + t.alefarabic = 0x0627; + t.alefdageshhebrew = 0xfb30; + t.aleffinalarabic = 0xfe8e; + t.alefhamzaabovearabic = 0x0623; + t.alefhamzaabovefinalarabic = 0xfe84; + t.alefhamzabelowarabic = 0x0625; + t.alefhamzabelowfinalarabic = 0xfe88; + t.alefhebrew = 0x05d0; + t.aleflamedhebrew = 0xfb4f; + t.alefmaddaabovearabic = 0x0622; + t.alefmaddaabovefinalarabic = 0xfe82; + t.alefmaksuraarabic = 0x0649; + t.alefmaksurafinalarabic = 0xfef0; + t.alefmaksurainitialarabic = 0xfef3; + t.alefmaksuramedialarabic = 0xfef4; + t.alefpatahhebrew = 0xfb2e; + t.alefqamatshebrew = 0xfb2f; + t.aleph = 0x2135; + t.allequal = 0x224c; + t.alpha = 0x03b1; + t.alphatonos = 0x03ac; + t.amacron = 0x0101; + t.amonospace = 0xff41; + t.ampersand = 0x0026; + t.ampersandmonospace = 0xff06; + t.ampersandsmall = 0xf726; + t.amsquare = 0x33c2; + t.anbopomofo = 0x3122; + t.angbopomofo = 0x3124; + t.angbracketleft = 0x3008; + t.angbracketright = 0x3009; + t.angkhankhuthai = 0x0e5a; + t.angle = 0x2220; + t.anglebracketleft = 0x3008; + t.anglebracketleftvertical = 0xfe3f; + t.anglebracketright = 0x3009; + t.anglebracketrightvertical = 0xfe40; + t.angleleft = 0x2329; + t.angleright = 0x232a; + t.angstrom = 0x212b; + t.anoteleia = 0x0387; + t.anudattadeva = 0x0952; + t.anusvarabengali = 0x0982; + t.anusvaradeva = 0x0902; + t.anusvaragujarati = 0x0a82; + t.aogonek = 0x0105; + t.apaatosquare = 0x3300; + t.aparen = 0x249c; + t.apostrophearmenian = 0x055a; + t.apostrophemod = 0x02bc; + t.apple = 0xf8ff; + t.approaches = 0x2250; + t.approxequal = 0x2248; + t.approxequalorimage = 0x2252; + t.approximatelyequal = 0x2245; + t.araeaekorean = 0x318e; + t.araeakorean = 0x318d; + t.arc = 0x2312; + t.arighthalfring = 0x1e9a; + t.aring = 0x00e5; + t.aringacute = 0x01fb; + t.aringbelow = 0x1e01; + t.arrowboth = 0x2194; + t.arrowdashdown = 0x21e3; + t.arrowdashleft = 0x21e0; + t.arrowdashright = 0x21e2; + t.arrowdashup = 0x21e1; + t.arrowdblboth = 0x21d4; + t.arrowdbldown = 0x21d3; + t.arrowdblleft = 0x21d0; + t.arrowdblright = 0x21d2; + t.arrowdblup = 0x21d1; + t.arrowdown = 0x2193; + t.arrowdownleft = 0x2199; + t.arrowdownright = 0x2198; + t.arrowdownwhite = 0x21e9; + t.arrowheaddownmod = 0x02c5; + t.arrowheadleftmod = 0x02c2; + t.arrowheadrightmod = 0x02c3; + t.arrowheadupmod = 0x02c4; + t.arrowhorizex = 0xf8e7; + t.arrowleft = 0x2190; + t.arrowleftdbl = 0x21d0; + t.arrowleftdblstroke = 0x21cd; + t.arrowleftoverright = 0x21c6; + t.arrowleftwhite = 0x21e6; + t.arrowright = 0x2192; + t.arrowrightdblstroke = 0x21cf; + t.arrowrightheavy = 0x279e; + t.arrowrightoverleft = 0x21c4; + t.arrowrightwhite = 0x21e8; + t.arrowtableft = 0x21e4; + t.arrowtabright = 0x21e5; + t.arrowup = 0x2191; + t.arrowupdn = 0x2195; + t.arrowupdnbse = 0x21a8; + t.arrowupdownbase = 0x21a8; + t.arrowupleft = 0x2196; + t.arrowupleftofdown = 0x21c5; + t.arrowupright = 0x2197; + t.arrowupwhite = 0x21e7; + t.arrowvertex = 0xf8e6; + t.asciicircum = 0x005e; + t.asciicircummonospace = 0xff3e; + t.asciitilde = 0x007e; + t.asciitildemonospace = 0xff5e; + t.ascript = 0x0251; + t.ascriptturned = 0x0252; + t.asmallhiragana = 0x3041; + t.asmallkatakana = 0x30a1; + t.asmallkatakanahalfwidth = 0xff67; + t.asterisk = 0x002a; + t.asteriskaltonearabic = 0x066d; + t.asteriskarabic = 0x066d; + t.asteriskmath = 0x2217; + t.asteriskmonospace = 0xff0a; + t.asterisksmall = 0xfe61; + t.asterism = 0x2042; + t.asuperior = 0xf6e9; + t.asymptoticallyequal = 0x2243; + t.at = 0x0040; + t.atilde = 0x00e3; + t.atmonospace = 0xff20; + t.atsmall = 0xfe6b; + t.aturned = 0x0250; + t.aubengali = 0x0994; + t.aubopomofo = 0x3120; + t.audeva = 0x0914; + t.augujarati = 0x0a94; + t.augurmukhi = 0x0a14; + t.aulengthmarkbengali = 0x09d7; + t.aumatragurmukhi = 0x0a4c; + t.auvowelsignbengali = 0x09cc; + t.auvowelsigndeva = 0x094c; + t.auvowelsigngujarati = 0x0acc; + t.avagrahadeva = 0x093d; + t.aybarmenian = 0x0561; + t.ayin = 0x05e2; + t.ayinaltonehebrew = 0xfb20; + t.ayinhebrew = 0x05e2; + t.b = 0x0062; + t.babengali = 0x09ac; + t.backslash = 0x005c; + t.backslashmonospace = 0xff3c; + t.badeva = 0x092c; + t.bagujarati = 0x0aac; + t.bagurmukhi = 0x0a2c; + t.bahiragana = 0x3070; + t.bahtthai = 0x0e3f; + t.bakatakana = 0x30d0; + t.bar = 0x007c; + t.barmonospace = 0xff5c; + t.bbopomofo = 0x3105; + t.bcircle = 0x24d1; + t.bdotaccent = 0x1e03; + t.bdotbelow = 0x1e05; + t.beamedsixteenthnotes = 0x266c; + t.because = 0x2235; + t.becyrillic = 0x0431; + t.beharabic = 0x0628; + t.behfinalarabic = 0xfe90; + t.behinitialarabic = 0xfe91; + t.behiragana = 0x3079; + t.behmedialarabic = 0xfe92; + t.behmeeminitialarabic = 0xfc9f; + t.behmeemisolatedarabic = 0xfc08; + t.behnoonfinalarabic = 0xfc6d; + t.bekatakana = 0x30d9; + t.benarmenian = 0x0562; + t.bet = 0x05d1; + t.beta = 0x03b2; + t.betasymbolgreek = 0x03d0; + t.betdagesh = 0xfb31; + t.betdageshhebrew = 0xfb31; + t.bethebrew = 0x05d1; + t.betrafehebrew = 0xfb4c; + t.bhabengali = 0x09ad; + t.bhadeva = 0x092d; + t.bhagujarati = 0x0aad; + t.bhagurmukhi = 0x0a2d; + t.bhook = 0x0253; + t.bihiragana = 0x3073; + t.bikatakana = 0x30d3; + t.bilabialclick = 0x0298; + t.bindigurmukhi = 0x0a02; + t.birusquare = 0x3331; + t.blackcircle = 0x25cf; + t.blackdiamond = 0x25c6; + t.blackdownpointingtriangle = 0x25bc; + t.blackleftpointingpointer = 0x25c4; + t.blackleftpointingtriangle = 0x25c0; + t.blacklenticularbracketleft = 0x3010; + t.blacklenticularbracketleftvertical = 0xfe3b; + t.blacklenticularbracketright = 0x3011; + t.blacklenticularbracketrightvertical = 0xfe3c; + t.blacklowerlefttriangle = 0x25e3; + t.blacklowerrighttriangle = 0x25e2; + t.blackrectangle = 0x25ac; + t.blackrightpointingpointer = 0x25ba; + t.blackrightpointingtriangle = 0x25b6; + t.blacksmallsquare = 0x25aa; + t.blacksmilingface = 0x263b; + t.blacksquare = 0x25a0; + t.blackstar = 0x2605; + t.blackupperlefttriangle = 0x25e4; + t.blackupperrighttriangle = 0x25e5; + t.blackuppointingsmalltriangle = 0x25b4; + t.blackuppointingtriangle = 0x25b2; + t.blank = 0x2423; + t.blinebelow = 0x1e07; + t.block = 0x2588; + t.bmonospace = 0xff42; + t.bobaimaithai = 0x0e1a; + t.bohiragana = 0x307c; + t.bokatakana = 0x30dc; + t.bparen = 0x249d; + t.bqsquare = 0x33c3; + t.braceex = 0xf8f4; + t.braceleft = 0x007b; + t.braceleftbt = 0xf8f3; + t.braceleftmid = 0xf8f2; + t.braceleftmonospace = 0xff5b; + t.braceleftsmall = 0xfe5b; + t.bracelefttp = 0xf8f1; + t.braceleftvertical = 0xfe37; + t.braceright = 0x007d; + t.bracerightbt = 0xf8fe; + t.bracerightmid = 0xf8fd; + t.bracerightmonospace = 0xff5d; + t.bracerightsmall = 0xfe5c; + t.bracerighttp = 0xf8fc; + t.bracerightvertical = 0xfe38; + t.bracketleft = 0x005b; + t.bracketleftbt = 0xf8f0; + t.bracketleftex = 0xf8ef; + t.bracketleftmonospace = 0xff3b; + t.bracketlefttp = 0xf8ee; + t.bracketright = 0x005d; + t.bracketrightbt = 0xf8fb; + t.bracketrightex = 0xf8fa; + t.bracketrightmonospace = 0xff3d; + t.bracketrighttp = 0xf8f9; + t.breve = 0x02d8; + t.brevebelowcmb = 0x032e; + t.brevecmb = 0x0306; + t.breveinvertedbelowcmb = 0x032f; + t.breveinvertedcmb = 0x0311; + t.breveinverteddoublecmb = 0x0361; + t.bridgebelowcmb = 0x032a; + t.bridgeinvertedbelowcmb = 0x033a; + t.brokenbar = 0x00a6; + t.bstroke = 0x0180; + t.bsuperior = 0xf6ea; + t.btopbar = 0x0183; + t.buhiragana = 0x3076; + t.bukatakana = 0x30d6; + t.bullet = 0x2022; + t.bulletinverse = 0x25d8; + t.bulletoperator = 0x2219; + t.bullseye = 0x25ce; + t.c = 0x0063; + t.caarmenian = 0x056e; + t.cabengali = 0x099a; + t.cacute = 0x0107; + t.cadeva = 0x091a; + t.cagujarati = 0x0a9a; + t.cagurmukhi = 0x0a1a; + t.calsquare = 0x3388; + t.candrabindubengali = 0x0981; + t.candrabinducmb = 0x0310; + t.candrabindudeva = 0x0901; + t.candrabindugujarati = 0x0a81; + t.capslock = 0x21ea; + t.careof = 0x2105; + t.caron = 0x02c7; + t.caronbelowcmb = 0x032c; + t.caroncmb = 0x030c; + t.carriagereturn = 0x21b5; + t.cbopomofo = 0x3118; + t.ccaron = 0x010d; + t.ccedilla = 0x00e7; + t.ccedillaacute = 0x1e09; + t.ccircle = 0x24d2; + t.ccircumflex = 0x0109; + t.ccurl = 0x0255; + t.cdot = 0x010b; + t.cdotaccent = 0x010b; + t.cdsquare = 0x33c5; + t.cedilla = 0x00b8; + t.cedillacmb = 0x0327; + t.cent = 0x00a2; + t.centigrade = 0x2103; + t.centinferior = 0xf6df; + t.centmonospace = 0xffe0; + t.centoldstyle = 0xf7a2; + t.centsuperior = 0xf6e0; + t.chaarmenian = 0x0579; + t.chabengali = 0x099b; + t.chadeva = 0x091b; + t.chagujarati = 0x0a9b; + t.chagurmukhi = 0x0a1b; + t.chbopomofo = 0x3114; + t.cheabkhasiancyrillic = 0x04bd; + t.checkmark = 0x2713; + t.checyrillic = 0x0447; + t.chedescenderabkhasiancyrillic = 0x04bf; + t.chedescendercyrillic = 0x04b7; + t.chedieresiscyrillic = 0x04f5; + t.cheharmenian = 0x0573; + t.chekhakassiancyrillic = 0x04cc; + t.cheverticalstrokecyrillic = 0x04b9; + t.chi = 0x03c7; + t.chieuchacirclekorean = 0x3277; + t.chieuchaparenkorean = 0x3217; + t.chieuchcirclekorean = 0x3269; + t.chieuchkorean = 0x314a; + t.chieuchparenkorean = 0x3209; + t.chochangthai = 0x0e0a; + t.chochanthai = 0x0e08; + t.chochingthai = 0x0e09; + t.chochoethai = 0x0e0c; + t.chook = 0x0188; + t.cieucacirclekorean = 0x3276; + t.cieucaparenkorean = 0x3216; + t.cieuccirclekorean = 0x3268; + t.cieuckorean = 0x3148; + t.cieucparenkorean = 0x3208; + t.cieucuparenkorean = 0x321c; + t.circle = 0x25cb; + t.circlecopyrt = 0x00a9; + t.circlemultiply = 0x2297; + t.circleot = 0x2299; + t.circleplus = 0x2295; + t.circlepostalmark = 0x3036; + t.circlewithlefthalfblack = 0x25d0; + t.circlewithrighthalfblack = 0x25d1; + t.circumflex = 0x02c6; + t.circumflexbelowcmb = 0x032d; + t.circumflexcmb = 0x0302; + t.clear = 0x2327; + t.clickalveolar = 0x01c2; + t.clickdental = 0x01c0; + t.clicklateral = 0x01c1; + t.clickretroflex = 0x01c3; + t.club = 0x2663; + t.clubsuitblack = 0x2663; + t.clubsuitwhite = 0x2667; + t.cmcubedsquare = 0x33a4; + t.cmonospace = 0xff43; + t.cmsquaredsquare = 0x33a0; + t.coarmenian = 0x0581; + t.colon = 0x003a; + t.colonmonetary = 0x20a1; + t.colonmonospace = 0xff1a; + t.colonsign = 0x20a1; + t.colonsmall = 0xfe55; + t.colontriangularhalfmod = 0x02d1; + t.colontriangularmod = 0x02d0; + t.comma = 0x002c; + t.commaabovecmb = 0x0313; + t.commaaboverightcmb = 0x0315; + t.commaaccent = 0xf6c3; + t.commaarabic = 0x060c; + t.commaarmenian = 0x055d; + t.commainferior = 0xf6e1; + t.commamonospace = 0xff0c; + t.commareversedabovecmb = 0x0314; + t.commareversedmod = 0x02bd; + t.commasmall = 0xfe50; + t.commasuperior = 0xf6e2; + t.commaturnedabovecmb = 0x0312; + t.commaturnedmod = 0x02bb; + t.compass = 0x263c; + t.congruent = 0x2245; + t.contourintegral = 0x222e; + t.control = 0x2303; + t.controlACK = 0x0006; + t.controlBEL = 0x0007; + t.controlBS = 0x0008; + t.controlCAN = 0x0018; + t.controlCR = 0x000d; + t.controlDC1 = 0x0011; + t.controlDC2 = 0x0012; + t.controlDC3 = 0x0013; + t.controlDC4 = 0x0014; + t.controlDEL = 0x007f; + t.controlDLE = 0x0010; + t.controlEM = 0x0019; + t.controlENQ = 0x0005; + t.controlEOT = 0x0004; + t.controlESC = 0x001b; + t.controlETB = 0x0017; + t.controlETX = 0x0003; + t.controlFF = 0x000c; + t.controlFS = 0x001c; + t.controlGS = 0x001d; + t.controlHT = 0x0009; + t.controlLF = 0x000a; + t.controlNAK = 0x0015; + t.controlNULL = 0x0000; + t.controlRS = 0x001e; + t.controlSI = 0x000f; + t.controlSO = 0x000e; + t.controlSOT = 0x0002; + t.controlSTX = 0x0001; + t.controlSUB = 0x001a; + t.controlSYN = 0x0016; + t.controlUS = 0x001f; + t.controlVT = 0x000b; + t.copyright = 0x00a9; + t.copyrightsans = 0xf8e9; + t.copyrightserif = 0xf6d9; + t.cornerbracketleft = 0x300c; + t.cornerbracketlefthalfwidth = 0xff62; + t.cornerbracketleftvertical = 0xfe41; + t.cornerbracketright = 0x300d; + t.cornerbracketrighthalfwidth = 0xff63; + t.cornerbracketrightvertical = 0xfe42; + t.corporationsquare = 0x337f; + t.cosquare = 0x33c7; + t.coverkgsquare = 0x33c6; + t.cparen = 0x249e; + t.cruzeiro = 0x20a2; + t.cstretched = 0x0297; + t.curlyand = 0x22cf; + t.curlyor = 0x22ce; + t.currency = 0x00a4; + t.cyrBreve = 0xf6d1; + t.cyrFlex = 0xf6d2; + t.cyrbreve = 0xf6d4; + t.cyrflex = 0xf6d5; + t.d = 0x0064; + t.daarmenian = 0x0564; + t.dabengali = 0x09a6; + t.dadarabic = 0x0636; + t.dadeva = 0x0926; + t.dadfinalarabic = 0xfebe; + t.dadinitialarabic = 0xfebf; + t.dadmedialarabic = 0xfec0; + t.dagesh = 0x05bc; + t.dageshhebrew = 0x05bc; + t.dagger = 0x2020; + t.daggerdbl = 0x2021; + t.dagujarati = 0x0aa6; + t.dagurmukhi = 0x0a26; + t.dahiragana = 0x3060; + t.dakatakana = 0x30c0; + t.dalarabic = 0x062f; + t.dalet = 0x05d3; + t.daletdagesh = 0xfb33; + t.daletdageshhebrew = 0xfb33; + t.dalethebrew = 0x05d3; + t.dalfinalarabic = 0xfeaa; + t.dammaarabic = 0x064f; + t.dammalowarabic = 0x064f; + t.dammatanaltonearabic = 0x064c; + t.dammatanarabic = 0x064c; + t.danda = 0x0964; + t.dargahebrew = 0x05a7; + t.dargalefthebrew = 0x05a7; + t.dasiapneumatacyrilliccmb = 0x0485; + t.dblGrave = 0xf6d3; + t.dblanglebracketleft = 0x300a; + t.dblanglebracketleftvertical = 0xfe3d; + t.dblanglebracketright = 0x300b; + t.dblanglebracketrightvertical = 0xfe3e; + t.dblarchinvertedbelowcmb = 0x032b; + t.dblarrowleft = 0x21d4; + t.dblarrowright = 0x21d2; + t.dbldanda = 0x0965; + t.dblgrave = 0xf6d6; + t.dblgravecmb = 0x030f; + t.dblintegral = 0x222c; + t.dbllowline = 0x2017; + t.dbllowlinecmb = 0x0333; + t.dbloverlinecmb = 0x033f; + t.dblprimemod = 0x02ba; + t.dblverticalbar = 0x2016; + t.dblverticallineabovecmb = 0x030e; + t.dbopomofo = 0x3109; + t.dbsquare = 0x33c8; + t.dcaron = 0x010f; + t.dcedilla = 0x1e11; + t.dcircle = 0x24d3; + t.dcircumflexbelow = 0x1e13; + t.dcroat = 0x0111; + t.ddabengali = 0x09a1; + t.ddadeva = 0x0921; + t.ddagujarati = 0x0aa1; + t.ddagurmukhi = 0x0a21; + t.ddalarabic = 0x0688; + t.ddalfinalarabic = 0xfb89; + t.dddhadeva = 0x095c; + t.ddhabengali = 0x09a2; + t.ddhadeva = 0x0922; + t.ddhagujarati = 0x0aa2; + t.ddhagurmukhi = 0x0a22; + t.ddotaccent = 0x1e0b; + t.ddotbelow = 0x1e0d; + t.decimalseparatorarabic = 0x066b; + t.decimalseparatorpersian = 0x066b; + t.decyrillic = 0x0434; + t.degree = 0x00b0; + t.dehihebrew = 0x05ad; + t.dehiragana = 0x3067; + t.deicoptic = 0x03ef; + t.dekatakana = 0x30c7; + t.deleteleft = 0x232b; + t.deleteright = 0x2326; + t.delta = 0x03b4; + t.deltaturned = 0x018d; + t.denominatorminusonenumeratorbengali = 0x09f8; + t.dezh = 0x02a4; + t.dhabengali = 0x09a7; + t.dhadeva = 0x0927; + t.dhagujarati = 0x0aa7; + t.dhagurmukhi = 0x0a27; + t.dhook = 0x0257; + t.dialytikatonos = 0x0385; + t.dialytikatonoscmb = 0x0344; + t.diamond = 0x2666; + t.diamondsuitwhite = 0x2662; + t.dieresis = 0x00a8; + t.dieresisacute = 0xf6d7; + t.dieresisbelowcmb = 0x0324; + t.dieresiscmb = 0x0308; + t.dieresisgrave = 0xf6d8; + t.dieresistonos = 0x0385; + t.dihiragana = 0x3062; + t.dikatakana = 0x30c2; + t.dittomark = 0x3003; + t.divide = 0x00f7; + t.divides = 0x2223; + t.divisionslash = 0x2215; + t.djecyrillic = 0x0452; + t.dkshade = 0x2593; + t.dlinebelow = 0x1e0f; + t.dlsquare = 0x3397; + t.dmacron = 0x0111; + t.dmonospace = 0xff44; + t.dnblock = 0x2584; + t.dochadathai = 0x0e0e; + t.dodekthai = 0x0e14; + t.dohiragana = 0x3069; + t.dokatakana = 0x30c9; + t.dollar = 0x0024; + t.dollarinferior = 0xf6e3; + t.dollarmonospace = 0xff04; + t.dollaroldstyle = 0xf724; + t.dollarsmall = 0xfe69; + t.dollarsuperior = 0xf6e4; + t.dong = 0x20ab; + t.dorusquare = 0x3326; + t.dotaccent = 0x02d9; + t.dotaccentcmb = 0x0307; + t.dotbelowcmb = 0x0323; + t.dotbelowcomb = 0x0323; + t.dotkatakana = 0x30fb; + t.dotlessi = 0x0131; + t.dotlessj = 0xf6be; + t.dotlessjstrokehook = 0x0284; + t.dotmath = 0x22c5; + t.dottedcircle = 0x25cc; + t.doubleyodpatah = 0xfb1f; + t.doubleyodpatahhebrew = 0xfb1f; + t.downtackbelowcmb = 0x031e; + t.downtackmod = 0x02d5; + t.dparen = 0x249f; + t.dsuperior = 0xf6eb; + t.dtail = 0x0256; + t.dtopbar = 0x018c; + t.duhiragana = 0x3065; + t.dukatakana = 0x30c5; + t.dz = 0x01f3; + t.dzaltone = 0x02a3; + t.dzcaron = 0x01c6; + t.dzcurl = 0x02a5; + t.dzeabkhasiancyrillic = 0x04e1; + t.dzecyrillic = 0x0455; + t.dzhecyrillic = 0x045f; + t.e = 0x0065; + t.eacute = 0x00e9; + t.earth = 0x2641; + t.ebengali = 0x098f; + t.ebopomofo = 0x311c; + t.ebreve = 0x0115; + t.ecandradeva = 0x090d; + t.ecandragujarati = 0x0a8d; + t.ecandravowelsigndeva = 0x0945; + t.ecandravowelsigngujarati = 0x0ac5; + t.ecaron = 0x011b; + t.ecedillabreve = 0x1e1d; + t.echarmenian = 0x0565; + t.echyiwnarmenian = 0x0587; + t.ecircle = 0x24d4; + t.ecircumflex = 0x00ea; + t.ecircumflexacute = 0x1ebf; + t.ecircumflexbelow = 0x1e19; + t.ecircumflexdotbelow = 0x1ec7; + t.ecircumflexgrave = 0x1ec1; + t.ecircumflexhookabove = 0x1ec3; + t.ecircumflextilde = 0x1ec5; + t.ecyrillic = 0x0454; + t.edblgrave = 0x0205; + t.edeva = 0x090f; + t.edieresis = 0x00eb; + t.edot = 0x0117; + t.edotaccent = 0x0117; + t.edotbelow = 0x1eb9; + t.eegurmukhi = 0x0a0f; + t.eematragurmukhi = 0x0a47; + t.efcyrillic = 0x0444; + t.egrave = 0x00e8; + t.egujarati = 0x0a8f; + t.eharmenian = 0x0567; + t.ehbopomofo = 0x311d; + t.ehiragana = 0x3048; + t.ehookabove = 0x1ebb; + t.eibopomofo = 0x311f; + t.eight = 0x0038; + t.eightarabic = 0x0668; + t.eightbengali = 0x09ee; + t.eightcircle = 0x2467; + t.eightcircleinversesansserif = 0x2791; + t.eightdeva = 0x096e; + t.eighteencircle = 0x2471; + t.eighteenparen = 0x2485; + t.eighteenperiod = 0x2499; + t.eightgujarati = 0x0aee; + t.eightgurmukhi = 0x0a6e; + t.eighthackarabic = 0x0668; + t.eighthangzhou = 0x3028; + t.eighthnotebeamed = 0x266b; + t.eightideographicparen = 0x3227; + t.eightinferior = 0x2088; + t.eightmonospace = 0xff18; + t.eightoldstyle = 0xf738; + t.eightparen = 0x247b; + t.eightperiod = 0x248f; + t.eightpersian = 0x06f8; + t.eightroman = 0x2177; + t.eightsuperior = 0x2078; + t.eightthai = 0x0e58; + t.einvertedbreve = 0x0207; + t.eiotifiedcyrillic = 0x0465; + t.ekatakana = 0x30a8; + t.ekatakanahalfwidth = 0xff74; + t.ekonkargurmukhi = 0x0a74; + t.ekorean = 0x3154; + t.elcyrillic = 0x043b; + t.element = 0x2208; + t.elevencircle = 0x246a; + t.elevenparen = 0x247e; + t.elevenperiod = 0x2492; + t.elevenroman = 0x217a; + t.ellipsis = 0x2026; + t.ellipsisvertical = 0x22ee; + t.emacron = 0x0113; + t.emacronacute = 0x1e17; + t.emacrongrave = 0x1e15; + t.emcyrillic = 0x043c; + t.emdash = 0x2014; + t.emdashvertical = 0xfe31; + t.emonospace = 0xff45; + t.emphasismarkarmenian = 0x055b; + t.emptyset = 0x2205; + t.enbopomofo = 0x3123; + t.encyrillic = 0x043d; + t.endash = 0x2013; + t.endashvertical = 0xfe32; + t.endescendercyrillic = 0x04a3; + t.eng = 0x014b; + t.engbopomofo = 0x3125; + t.enghecyrillic = 0x04a5; + t.enhookcyrillic = 0x04c8; + t.enspace = 0x2002; + t.eogonek = 0x0119; + t.eokorean = 0x3153; + t.eopen = 0x025b; + t.eopenclosed = 0x029a; + t.eopenreversed = 0x025c; + t.eopenreversedclosed = 0x025e; + t.eopenreversedhook = 0x025d; + t.eparen = 0x24a0; + t.epsilon = 0x03b5; + t.epsilontonos = 0x03ad; + t.equal = 0x003d; + t.equalmonospace = 0xff1d; + t.equalsmall = 0xfe66; + t.equalsuperior = 0x207c; + t.equivalence = 0x2261; + t.erbopomofo = 0x3126; + t.ercyrillic = 0x0440; + t.ereversed = 0x0258; + t.ereversedcyrillic = 0x044d; + t.escyrillic = 0x0441; + t.esdescendercyrillic = 0x04ab; + t.esh = 0x0283; + t.eshcurl = 0x0286; + t.eshortdeva = 0x090e; + t.eshortvowelsigndeva = 0x0946; + t.eshreversedloop = 0x01aa; + t.eshsquatreversed = 0x0285; + t.esmallhiragana = 0x3047; + t.esmallkatakana = 0x30a7; + t.esmallkatakanahalfwidth = 0xff6a; + t.estimated = 0x212e; + t.esuperior = 0xf6ec; + t.eta = 0x03b7; + t.etarmenian = 0x0568; + t.etatonos = 0x03ae; + t.eth = 0x00f0; + t.etilde = 0x1ebd; + t.etildebelow = 0x1e1b; + t.etnahtafoukhhebrew = 0x0591; + t.etnahtafoukhlefthebrew = 0x0591; + t.etnahtahebrew = 0x0591; + t.etnahtalefthebrew = 0x0591; + t.eturned = 0x01dd; + t.eukorean = 0x3161; + t.euro = 0x20ac; + t.evowelsignbengali = 0x09c7; + t.evowelsigndeva = 0x0947; + t.evowelsigngujarati = 0x0ac7; + t.exclam = 0x0021; + t.exclamarmenian = 0x055c; + t.exclamdbl = 0x203c; + t.exclamdown = 0x00a1; + t.exclamdownsmall = 0xf7a1; + t.exclammonospace = 0xff01; + t.exclamsmall = 0xf721; + t.existential = 0x2203; + t.ezh = 0x0292; + t.ezhcaron = 0x01ef; + t.ezhcurl = 0x0293; + t.ezhreversed = 0x01b9; + t.ezhtail = 0x01ba; + t.f = 0x0066; + t.fadeva = 0x095e; + t.fagurmukhi = 0x0a5e; + t.fahrenheit = 0x2109; + t.fathaarabic = 0x064e; + t.fathalowarabic = 0x064e; + t.fathatanarabic = 0x064b; + t.fbopomofo = 0x3108; + t.fcircle = 0x24d5; + t.fdotaccent = 0x1e1f; + t.feharabic = 0x0641; + t.feharmenian = 0x0586; + t.fehfinalarabic = 0xfed2; + t.fehinitialarabic = 0xfed3; + t.fehmedialarabic = 0xfed4; + t.feicoptic = 0x03e5; + t.female = 0x2640; + t.ff = 0xfb00; + t.f_f = 0xfb00; + t.ffi = 0xfb03; + t.f_f_i = 0xfb03; + t.ffl = 0xfb04; + t.f_f_l = 0xfb04; + t.fi = 0xfb01; + t.f_i = 0xfb01; + t.fifteencircle = 0x246e; + t.fifteenparen = 0x2482; + t.fifteenperiod = 0x2496; + t.figuredash = 0x2012; + t.filledbox = 0x25a0; + t.filledrect = 0x25ac; + t.finalkaf = 0x05da; + t.finalkafdagesh = 0xfb3a; + t.finalkafdageshhebrew = 0xfb3a; + t.finalkafhebrew = 0x05da; + t.finalmem = 0x05dd; + t.finalmemhebrew = 0x05dd; + t.finalnun = 0x05df; + t.finalnunhebrew = 0x05df; + t.finalpe = 0x05e3; + t.finalpehebrew = 0x05e3; + t.finaltsadi = 0x05e5; + t.finaltsadihebrew = 0x05e5; + t.firsttonechinese = 0x02c9; + t.fisheye = 0x25c9; + t.fitacyrillic = 0x0473; + t.five = 0x0035; + t.fivearabic = 0x0665; + t.fivebengali = 0x09eb; + t.fivecircle = 0x2464; + t.fivecircleinversesansserif = 0x278e; + t.fivedeva = 0x096b; + t.fiveeighths = 0x215d; + t.fivegujarati = 0x0aeb; + t.fivegurmukhi = 0x0a6b; + t.fivehackarabic = 0x0665; + t.fivehangzhou = 0x3025; + t.fiveideographicparen = 0x3224; + t.fiveinferior = 0x2085; + t.fivemonospace = 0xff15; + t.fiveoldstyle = 0xf735; + t.fiveparen = 0x2478; + t.fiveperiod = 0x248c; + t.fivepersian = 0x06f5; + t.fiveroman = 0x2174; + t.fivesuperior = 0x2075; + t.fivethai = 0x0e55; + t.fl = 0xfb02; + t.f_l = 0xfb02; + t.florin = 0x0192; + t.fmonospace = 0xff46; + t.fmsquare = 0x3399; + t.fofanthai = 0x0e1f; + t.fofathai = 0x0e1d; + t.fongmanthai = 0x0e4f; + t.forall = 0x2200; + t.four = 0x0034; + t.fourarabic = 0x0664; + t.fourbengali = 0x09ea; + t.fourcircle = 0x2463; + t.fourcircleinversesansserif = 0x278d; + t.fourdeva = 0x096a; + t.fourgujarati = 0x0aea; + t.fourgurmukhi = 0x0a6a; + t.fourhackarabic = 0x0664; + t.fourhangzhou = 0x3024; + t.fourideographicparen = 0x3223; + t.fourinferior = 0x2084; + t.fourmonospace = 0xff14; + t.fournumeratorbengali = 0x09f7; + t.fouroldstyle = 0xf734; + t.fourparen = 0x2477; + t.fourperiod = 0x248b; + t.fourpersian = 0x06f4; + t.fourroman = 0x2173; + t.foursuperior = 0x2074; + t.fourteencircle = 0x246d; + t.fourteenparen = 0x2481; + t.fourteenperiod = 0x2495; + t.fourthai = 0x0e54; + t.fourthtonechinese = 0x02cb; + t.fparen = 0x24a1; + t.fraction = 0x2044; + t.franc = 0x20a3; + t.g = 0x0067; + t.gabengali = 0x0997; + t.gacute = 0x01f5; + t.gadeva = 0x0917; + t.gafarabic = 0x06af; + t.gaffinalarabic = 0xfb93; + t.gafinitialarabic = 0xfb94; + t.gafmedialarabic = 0xfb95; + t.gagujarati = 0x0a97; + t.gagurmukhi = 0x0a17; + t.gahiragana = 0x304c; + t.gakatakana = 0x30ac; + t.gamma = 0x03b3; + t.gammalatinsmall = 0x0263; + t.gammasuperior = 0x02e0; + t.gangiacoptic = 0x03eb; + t.gbopomofo = 0x310d; + t.gbreve = 0x011f; + t.gcaron = 0x01e7; + t.gcedilla = 0x0123; + t.gcircle = 0x24d6; + t.gcircumflex = 0x011d; + t.gcommaaccent = 0x0123; + t.gdot = 0x0121; + t.gdotaccent = 0x0121; + t.gecyrillic = 0x0433; + t.gehiragana = 0x3052; + t.gekatakana = 0x30b2; + t.geometricallyequal = 0x2251; + t.gereshaccenthebrew = 0x059c; + t.gereshhebrew = 0x05f3; + t.gereshmuqdamhebrew = 0x059d; + t.germandbls = 0x00df; + t.gershayimaccenthebrew = 0x059e; + t.gershayimhebrew = 0x05f4; + t.getamark = 0x3013; + t.ghabengali = 0x0998; + t.ghadarmenian = 0x0572; + t.ghadeva = 0x0918; + t.ghagujarati = 0x0a98; + t.ghagurmukhi = 0x0a18; + t.ghainarabic = 0x063a; + t.ghainfinalarabic = 0xfece; + t.ghaininitialarabic = 0xfecf; + t.ghainmedialarabic = 0xfed0; + t.ghemiddlehookcyrillic = 0x0495; + t.ghestrokecyrillic = 0x0493; + t.gheupturncyrillic = 0x0491; + t.ghhadeva = 0x095a; + t.ghhagurmukhi = 0x0a5a; + t.ghook = 0x0260; + t.ghzsquare = 0x3393; + t.gihiragana = 0x304e; + t.gikatakana = 0x30ae; + t.gimarmenian = 0x0563; + t.gimel = 0x05d2; + t.gimeldagesh = 0xfb32; + t.gimeldageshhebrew = 0xfb32; + t.gimelhebrew = 0x05d2; + t.gjecyrillic = 0x0453; + t.glottalinvertedstroke = 0x01be; + t.glottalstop = 0x0294; + t.glottalstopinverted = 0x0296; + t.glottalstopmod = 0x02c0; + t.glottalstopreversed = 0x0295; + t.glottalstopreversedmod = 0x02c1; + t.glottalstopreversedsuperior = 0x02e4; + t.glottalstopstroke = 0x02a1; + t.glottalstopstrokereversed = 0x02a2; + t.gmacron = 0x1e21; + t.gmonospace = 0xff47; + t.gohiragana = 0x3054; + t.gokatakana = 0x30b4; + t.gparen = 0x24a2; + t.gpasquare = 0x33ac; + t.gradient = 0x2207; + t.grave = 0x0060; + t.gravebelowcmb = 0x0316; + t.gravecmb = 0x0300; + t.gravecomb = 0x0300; + t.gravedeva = 0x0953; + t.gravelowmod = 0x02ce; + t.gravemonospace = 0xff40; + t.gravetonecmb = 0x0340; + t.greater = 0x003e; + t.greaterequal = 0x2265; + t.greaterequalorless = 0x22db; + t.greatermonospace = 0xff1e; + t.greaterorequivalent = 0x2273; + t.greaterorless = 0x2277; + t.greateroverequal = 0x2267; + t.greatersmall = 0xfe65; + t.gscript = 0x0261; + t.gstroke = 0x01e5; + t.guhiragana = 0x3050; + t.guillemotleft = 0x00ab; + t.guillemotright = 0x00bb; + t.guilsinglleft = 0x2039; + t.guilsinglright = 0x203a; + t.gukatakana = 0x30b0; + t.guramusquare = 0x3318; + t.gysquare = 0x33c9; + t.h = 0x0068; + t.haabkhasiancyrillic = 0x04a9; + t.haaltonearabic = 0x06c1; + t.habengali = 0x09b9; + t.hadescendercyrillic = 0x04b3; + t.hadeva = 0x0939; + t.hagujarati = 0x0ab9; + t.hagurmukhi = 0x0a39; + t.haharabic = 0x062d; + t.hahfinalarabic = 0xfea2; + t.hahinitialarabic = 0xfea3; + t.hahiragana = 0x306f; + t.hahmedialarabic = 0xfea4; + t.haitusquare = 0x332a; + t.hakatakana = 0x30cf; + t.hakatakanahalfwidth = 0xff8a; + t.halantgurmukhi = 0x0a4d; + t.hamzaarabic = 0x0621; + t.hamzalowarabic = 0x0621; + t.hangulfiller = 0x3164; + t.hardsigncyrillic = 0x044a; + t.harpoonleftbarbup = 0x21bc; + t.harpoonrightbarbup = 0x21c0; + t.hasquare = 0x33ca; + t.hatafpatah = 0x05b2; + t.hatafpatah16 = 0x05b2; + t.hatafpatah23 = 0x05b2; + t.hatafpatah2f = 0x05b2; + t.hatafpatahhebrew = 0x05b2; + t.hatafpatahnarrowhebrew = 0x05b2; + t.hatafpatahquarterhebrew = 0x05b2; + t.hatafpatahwidehebrew = 0x05b2; + t.hatafqamats = 0x05b3; + t.hatafqamats1b = 0x05b3; + t.hatafqamats28 = 0x05b3; + t.hatafqamats34 = 0x05b3; + t.hatafqamatshebrew = 0x05b3; + t.hatafqamatsnarrowhebrew = 0x05b3; + t.hatafqamatsquarterhebrew = 0x05b3; + t.hatafqamatswidehebrew = 0x05b3; + t.hatafsegol = 0x05b1; + t.hatafsegol17 = 0x05b1; + t.hatafsegol24 = 0x05b1; + t.hatafsegol30 = 0x05b1; + t.hatafsegolhebrew = 0x05b1; + t.hatafsegolnarrowhebrew = 0x05b1; + t.hatafsegolquarterhebrew = 0x05b1; + t.hatafsegolwidehebrew = 0x05b1; + t.hbar = 0x0127; + t.hbopomofo = 0x310f; + t.hbrevebelow = 0x1e2b; + t.hcedilla = 0x1e29; + t.hcircle = 0x24d7; + t.hcircumflex = 0x0125; + t.hdieresis = 0x1e27; + t.hdotaccent = 0x1e23; + t.hdotbelow = 0x1e25; + t.he = 0x05d4; + t.heart = 0x2665; + t.heartsuitblack = 0x2665; + t.heartsuitwhite = 0x2661; + t.hedagesh = 0xfb34; + t.hedageshhebrew = 0xfb34; + t.hehaltonearabic = 0x06c1; + t.heharabic = 0x0647; + t.hehebrew = 0x05d4; + t.hehfinalaltonearabic = 0xfba7; + t.hehfinalalttwoarabic = 0xfeea; + t.hehfinalarabic = 0xfeea; + t.hehhamzaabovefinalarabic = 0xfba5; + t.hehhamzaaboveisolatedarabic = 0xfba4; + t.hehinitialaltonearabic = 0xfba8; + t.hehinitialarabic = 0xfeeb; + t.hehiragana = 0x3078; + t.hehmedialaltonearabic = 0xfba9; + t.hehmedialarabic = 0xfeec; + t.heiseierasquare = 0x337b; + t.hekatakana = 0x30d8; + t.hekatakanahalfwidth = 0xff8d; + t.hekutaarusquare = 0x3336; + t.henghook = 0x0267; + t.herutusquare = 0x3339; + t.het = 0x05d7; + t.hethebrew = 0x05d7; + t.hhook = 0x0266; + t.hhooksuperior = 0x02b1; + t.hieuhacirclekorean = 0x327b; + t.hieuhaparenkorean = 0x321b; + t.hieuhcirclekorean = 0x326d; + t.hieuhkorean = 0x314e; + t.hieuhparenkorean = 0x320d; + t.hihiragana = 0x3072; + t.hikatakana = 0x30d2; + t.hikatakanahalfwidth = 0xff8b; + t.hiriq = 0x05b4; + t.hiriq14 = 0x05b4; + t.hiriq21 = 0x05b4; + t.hiriq2d = 0x05b4; + t.hiriqhebrew = 0x05b4; + t.hiriqnarrowhebrew = 0x05b4; + t.hiriqquarterhebrew = 0x05b4; + t.hiriqwidehebrew = 0x05b4; + t.hlinebelow = 0x1e96; + t.hmonospace = 0xff48; + t.hoarmenian = 0x0570; + t.hohipthai = 0x0e2b; + t.hohiragana = 0x307b; + t.hokatakana = 0x30db; + t.hokatakanahalfwidth = 0xff8e; + t.holam = 0x05b9; + t.holam19 = 0x05b9; + t.holam26 = 0x05b9; + t.holam32 = 0x05b9; + t.holamhebrew = 0x05b9; + t.holamnarrowhebrew = 0x05b9; + t.holamquarterhebrew = 0x05b9; + t.holamwidehebrew = 0x05b9; + t.honokhukthai = 0x0e2e; + t.hookabovecomb = 0x0309; + t.hookcmb = 0x0309; + t.hookpalatalizedbelowcmb = 0x0321; + t.hookretroflexbelowcmb = 0x0322; + t.hoonsquare = 0x3342; + t.horicoptic = 0x03e9; + t.horizontalbar = 0x2015; + t.horncmb = 0x031b; + t.hotsprings = 0x2668; + t.house = 0x2302; + t.hparen = 0x24a3; + t.hsuperior = 0x02b0; + t.hturned = 0x0265; + t.huhiragana = 0x3075; + t.huiitosquare = 0x3333; + t.hukatakana = 0x30d5; + t.hukatakanahalfwidth = 0xff8c; + t.hungarumlaut = 0x02dd; + t.hungarumlautcmb = 0x030b; + t.hv = 0x0195; + t.hyphen = 0x002d; + t.hypheninferior = 0xf6e5; + t.hyphenmonospace = 0xff0d; + t.hyphensmall = 0xfe63; + t.hyphensuperior = 0xf6e6; + t.hyphentwo = 0x2010; + t.i = 0x0069; + t.iacute = 0x00ed; + t.iacyrillic = 0x044f; + t.ibengali = 0x0987; + t.ibopomofo = 0x3127; + t.ibreve = 0x012d; + t.icaron = 0x01d0; + t.icircle = 0x24d8; + t.icircumflex = 0x00ee; + t.icyrillic = 0x0456; + t.idblgrave = 0x0209; + t.ideographearthcircle = 0x328f; + t.ideographfirecircle = 0x328b; + t.ideographicallianceparen = 0x323f; + t.ideographiccallparen = 0x323a; + t.ideographiccentrecircle = 0x32a5; + t.ideographicclose = 0x3006; + t.ideographiccomma = 0x3001; + t.ideographiccommaleft = 0xff64; + t.ideographiccongratulationparen = 0x3237; + t.ideographiccorrectcircle = 0x32a3; + t.ideographicearthparen = 0x322f; + t.ideographicenterpriseparen = 0x323d; + t.ideographicexcellentcircle = 0x329d; + t.ideographicfestivalparen = 0x3240; + t.ideographicfinancialcircle = 0x3296; + t.ideographicfinancialparen = 0x3236; + t.ideographicfireparen = 0x322b; + t.ideographichaveparen = 0x3232; + t.ideographichighcircle = 0x32a4; + t.ideographiciterationmark = 0x3005; + t.ideographiclaborcircle = 0x3298; + t.ideographiclaborparen = 0x3238; + t.ideographicleftcircle = 0x32a7; + t.ideographiclowcircle = 0x32a6; + t.ideographicmedicinecircle = 0x32a9; + t.ideographicmetalparen = 0x322e; + t.ideographicmoonparen = 0x322a; + t.ideographicnameparen = 0x3234; + t.ideographicperiod = 0x3002; + t.ideographicprintcircle = 0x329e; + t.ideographicreachparen = 0x3243; + t.ideographicrepresentparen = 0x3239; + t.ideographicresourceparen = 0x323e; + t.ideographicrightcircle = 0x32a8; + t.ideographicsecretcircle = 0x3299; + t.ideographicselfparen = 0x3242; + t.ideographicsocietyparen = 0x3233; + t.ideographicspace = 0x3000; + t.ideographicspecialparen = 0x3235; + t.ideographicstockparen = 0x3231; + t.ideographicstudyparen = 0x323b; + t.ideographicsunparen = 0x3230; + t.ideographicsuperviseparen = 0x323c; + t.ideographicwaterparen = 0x322c; + t.ideographicwoodparen = 0x322d; + t.ideographiczero = 0x3007; + t.ideographmetalcircle = 0x328e; + t.ideographmooncircle = 0x328a; + t.ideographnamecircle = 0x3294; + t.ideographsuncircle = 0x3290; + t.ideographwatercircle = 0x328c; + t.ideographwoodcircle = 0x328d; + t.ideva = 0x0907; + t.idieresis = 0x00ef; + t.idieresisacute = 0x1e2f; + t.idieresiscyrillic = 0x04e5; + t.idotbelow = 0x1ecb; + t.iebrevecyrillic = 0x04d7; + t.iecyrillic = 0x0435; + t.ieungacirclekorean = 0x3275; + t.ieungaparenkorean = 0x3215; + t.ieungcirclekorean = 0x3267; + t.ieungkorean = 0x3147; + t.ieungparenkorean = 0x3207; + t.igrave = 0x00ec; + t.igujarati = 0x0a87; + t.igurmukhi = 0x0a07; + t.ihiragana = 0x3044; + t.ihookabove = 0x1ec9; + t.iibengali = 0x0988; + t.iicyrillic = 0x0438; + t.iideva = 0x0908; + t.iigujarati = 0x0a88; + t.iigurmukhi = 0x0a08; + t.iimatragurmukhi = 0x0a40; + t.iinvertedbreve = 0x020b; + t.iishortcyrillic = 0x0439; + t.iivowelsignbengali = 0x09c0; + t.iivowelsigndeva = 0x0940; + t.iivowelsigngujarati = 0x0ac0; + t.ij = 0x0133; + t.ikatakana = 0x30a4; + t.ikatakanahalfwidth = 0xff72; + t.ikorean = 0x3163; + t.ilde = 0x02dc; + t.iluyhebrew = 0x05ac; + t.imacron = 0x012b; + t.imacroncyrillic = 0x04e3; + t.imageorapproximatelyequal = 0x2253; + t.imatragurmukhi = 0x0a3f; + t.imonospace = 0xff49; + t.increment = 0x2206; + t.infinity = 0x221e; + t.iniarmenian = 0x056b; + t.integral = 0x222b; + t.integralbottom = 0x2321; + t.integralbt = 0x2321; + t.integralex = 0xf8f5; + t.integraltop = 0x2320; + t.integraltp = 0x2320; + t.intersection = 0x2229; + t.intisquare = 0x3305; + t.invbullet = 0x25d8; + t.invcircle = 0x25d9; + t.invsmileface = 0x263b; + t.iocyrillic = 0x0451; + t.iogonek = 0x012f; + t.iota = 0x03b9; + t.iotadieresis = 0x03ca; + t.iotadieresistonos = 0x0390; + t.iotalatin = 0x0269; + t.iotatonos = 0x03af; + t.iparen = 0x24a4; + t.irigurmukhi = 0x0a72; + t.ismallhiragana = 0x3043; + t.ismallkatakana = 0x30a3; + t.ismallkatakanahalfwidth = 0xff68; + t.issharbengali = 0x09fa; + t.istroke = 0x0268; + t.isuperior = 0xf6ed; + t.iterationhiragana = 0x309d; + t.iterationkatakana = 0x30fd; + t.itilde = 0x0129; + t.itildebelow = 0x1e2d; + t.iubopomofo = 0x3129; + t.iucyrillic = 0x044e; + t.ivowelsignbengali = 0x09bf; + t.ivowelsigndeva = 0x093f; + t.ivowelsigngujarati = 0x0abf; + t.izhitsacyrillic = 0x0475; + t.izhitsadblgravecyrillic = 0x0477; + t.j = 0x006a; + t.jaarmenian = 0x0571; + t.jabengali = 0x099c; + t.jadeva = 0x091c; + t.jagujarati = 0x0a9c; + t.jagurmukhi = 0x0a1c; + t.jbopomofo = 0x3110; + t.jcaron = 0x01f0; + t.jcircle = 0x24d9; + t.jcircumflex = 0x0135; + t.jcrossedtail = 0x029d; + t.jdotlessstroke = 0x025f; + t.jecyrillic = 0x0458; + t.jeemarabic = 0x062c; + t.jeemfinalarabic = 0xfe9e; + t.jeeminitialarabic = 0xfe9f; + t.jeemmedialarabic = 0xfea0; + t.jeharabic = 0x0698; + t.jehfinalarabic = 0xfb8b; + t.jhabengali = 0x099d; + t.jhadeva = 0x091d; + t.jhagujarati = 0x0a9d; + t.jhagurmukhi = 0x0a1d; + t.jheharmenian = 0x057b; + t.jis = 0x3004; + t.jmonospace = 0xff4a; + t.jparen = 0x24a5; + t.jsuperior = 0x02b2; + t.k = 0x006b; + t.kabashkircyrillic = 0x04a1; + t.kabengali = 0x0995; + t.kacute = 0x1e31; + t.kacyrillic = 0x043a; + t.kadescendercyrillic = 0x049b; + t.kadeva = 0x0915; + t.kaf = 0x05db; + t.kafarabic = 0x0643; + t.kafdagesh = 0xfb3b; + t.kafdageshhebrew = 0xfb3b; + t.kaffinalarabic = 0xfeda; + t.kafhebrew = 0x05db; + t.kafinitialarabic = 0xfedb; + t.kafmedialarabic = 0xfedc; + t.kafrafehebrew = 0xfb4d; + t.kagujarati = 0x0a95; + t.kagurmukhi = 0x0a15; + t.kahiragana = 0x304b; + t.kahookcyrillic = 0x04c4; + t.kakatakana = 0x30ab; + t.kakatakanahalfwidth = 0xff76; + t.kappa = 0x03ba; + t.kappasymbolgreek = 0x03f0; + t.kapyeounmieumkorean = 0x3171; + t.kapyeounphieuphkorean = 0x3184; + t.kapyeounpieupkorean = 0x3178; + t.kapyeounssangpieupkorean = 0x3179; + t.karoriisquare = 0x330d; + t.kashidaautoarabic = 0x0640; + t.kashidaautonosidebearingarabic = 0x0640; + t.kasmallkatakana = 0x30f5; + t.kasquare = 0x3384; + t.kasraarabic = 0x0650; + t.kasratanarabic = 0x064d; + t.kastrokecyrillic = 0x049f; + t.katahiraprolongmarkhalfwidth = 0xff70; + t.kaverticalstrokecyrillic = 0x049d; + t.kbopomofo = 0x310e; + t.kcalsquare = 0x3389; + t.kcaron = 0x01e9; + t.kcedilla = 0x0137; + t.kcircle = 0x24da; + t.kcommaaccent = 0x0137; + t.kdotbelow = 0x1e33; + t.keharmenian = 0x0584; + t.kehiragana = 0x3051; + t.kekatakana = 0x30b1; + t.kekatakanahalfwidth = 0xff79; + t.kenarmenian = 0x056f; + t.kesmallkatakana = 0x30f6; + t.kgreenlandic = 0x0138; + t.khabengali = 0x0996; + t.khacyrillic = 0x0445; + t.khadeva = 0x0916; + t.khagujarati = 0x0a96; + t.khagurmukhi = 0x0a16; + t.khaharabic = 0x062e; + t.khahfinalarabic = 0xfea6; + t.khahinitialarabic = 0xfea7; + t.khahmedialarabic = 0xfea8; + t.kheicoptic = 0x03e7; + t.khhadeva = 0x0959; + t.khhagurmukhi = 0x0a59; + t.khieukhacirclekorean = 0x3278; + t.khieukhaparenkorean = 0x3218; + t.khieukhcirclekorean = 0x326a; + t.khieukhkorean = 0x314b; + t.khieukhparenkorean = 0x320a; + t.khokhaithai = 0x0e02; + t.khokhonthai = 0x0e05; + t.khokhuatthai = 0x0e03; + t.khokhwaithai = 0x0e04; + t.khomutthai = 0x0e5b; + t.khook = 0x0199; + t.khorakhangthai = 0x0e06; + t.khzsquare = 0x3391; + t.kihiragana = 0x304d; + t.kikatakana = 0x30ad; + t.kikatakanahalfwidth = 0xff77; + t.kiroguramusquare = 0x3315; + t.kiromeetorusquare = 0x3316; + t.kirosquare = 0x3314; + t.kiyeokacirclekorean = 0x326e; + t.kiyeokaparenkorean = 0x320e; + t.kiyeokcirclekorean = 0x3260; + t.kiyeokkorean = 0x3131; + t.kiyeokparenkorean = 0x3200; + t.kiyeoksioskorean = 0x3133; + t.kjecyrillic = 0x045c; + t.klinebelow = 0x1e35; + t.klsquare = 0x3398; + t.kmcubedsquare = 0x33a6; + t.kmonospace = 0xff4b; + t.kmsquaredsquare = 0x33a2; + t.kohiragana = 0x3053; + t.kohmsquare = 0x33c0; + t.kokaithai = 0x0e01; + t.kokatakana = 0x30b3; + t.kokatakanahalfwidth = 0xff7a; + t.kooposquare = 0x331e; + t.koppacyrillic = 0x0481; + t.koreanstandardsymbol = 0x327f; + t.koroniscmb = 0x0343; + t.kparen = 0x24a6; + t.kpasquare = 0x33aa; + t.ksicyrillic = 0x046f; + t.ktsquare = 0x33cf; + t.kturned = 0x029e; + t.kuhiragana = 0x304f; + t.kukatakana = 0x30af; + t.kukatakanahalfwidth = 0xff78; + t.kvsquare = 0x33b8; + t.kwsquare = 0x33be; + t.l = 0x006c; + t.labengali = 0x09b2; + t.lacute = 0x013a; + t.ladeva = 0x0932; + t.lagujarati = 0x0ab2; + t.lagurmukhi = 0x0a32; + t.lakkhangyaothai = 0x0e45; + t.lamaleffinalarabic = 0xfefc; + t.lamalefhamzaabovefinalarabic = 0xfef8; + t.lamalefhamzaaboveisolatedarabic = 0xfef7; + t.lamalefhamzabelowfinalarabic = 0xfefa; + t.lamalefhamzabelowisolatedarabic = 0xfef9; + t.lamalefisolatedarabic = 0xfefb; + t.lamalefmaddaabovefinalarabic = 0xfef6; + t.lamalefmaddaaboveisolatedarabic = 0xfef5; + t.lamarabic = 0x0644; + t.lambda = 0x03bb; + t.lambdastroke = 0x019b; + t.lamed = 0x05dc; + t.lameddagesh = 0xfb3c; + t.lameddageshhebrew = 0xfb3c; + t.lamedhebrew = 0x05dc; + t.lamfinalarabic = 0xfede; + t.lamhahinitialarabic = 0xfcca; + t.laminitialarabic = 0xfedf; + t.lamjeeminitialarabic = 0xfcc9; + t.lamkhahinitialarabic = 0xfccb; + t.lamlamhehisolatedarabic = 0xfdf2; + t.lammedialarabic = 0xfee0; + t.lammeemhahinitialarabic = 0xfd88; + t.lammeeminitialarabic = 0xfccc; + t.largecircle = 0x25ef; + t.lbar = 0x019a; + t.lbelt = 0x026c; + t.lbopomofo = 0x310c; + t.lcaron = 0x013e; + t.lcedilla = 0x013c; + t.lcircle = 0x24db; + t.lcircumflexbelow = 0x1e3d; + t.lcommaaccent = 0x013c; + t.ldot = 0x0140; + t.ldotaccent = 0x0140; + t.ldotbelow = 0x1e37; + t.ldotbelowmacron = 0x1e39; + t.leftangleabovecmb = 0x031a; + t.lefttackbelowcmb = 0x0318; + t.less = 0x003c; + t.lessequal = 0x2264; + t.lessequalorgreater = 0x22da; + t.lessmonospace = 0xff1c; + t.lessorequivalent = 0x2272; + t.lessorgreater = 0x2276; + t.lessoverequal = 0x2266; + t.lesssmall = 0xfe64; + t.lezh = 0x026e; + t.lfblock = 0x258c; + t.lhookretroflex = 0x026d; + t.lira = 0x20a4; + t.liwnarmenian = 0x056c; + t.lj = 0x01c9; + t.ljecyrillic = 0x0459; + t.ll = 0xf6c0; + t.lladeva = 0x0933; + t.llagujarati = 0x0ab3; + t.llinebelow = 0x1e3b; + t.llladeva = 0x0934; + t.llvocalicbengali = 0x09e1; + t.llvocalicdeva = 0x0961; + t.llvocalicvowelsignbengali = 0x09e3; + t.llvocalicvowelsigndeva = 0x0963; + t.lmiddletilde = 0x026b; + t.lmonospace = 0xff4c; + t.lmsquare = 0x33d0; + t.lochulathai = 0x0e2c; + t.logicaland = 0x2227; + t.logicalnot = 0x00ac; + t.logicalnotreversed = 0x2310; + t.logicalor = 0x2228; + t.lolingthai = 0x0e25; + t.longs = 0x017f; + t.lowlinecenterline = 0xfe4e; + t.lowlinecmb = 0x0332; + t.lowlinedashed = 0xfe4d; + t.lozenge = 0x25ca; + t.lparen = 0x24a7; + t.lslash = 0x0142; + t.lsquare = 0x2113; + t.lsuperior = 0xf6ee; + t.ltshade = 0x2591; + t.luthai = 0x0e26; + t.lvocalicbengali = 0x098c; + t.lvocalicdeva = 0x090c; + t.lvocalicvowelsignbengali = 0x09e2; + t.lvocalicvowelsigndeva = 0x0962; + t.lxsquare = 0x33d3; + t.m = 0x006d; + t.mabengali = 0x09ae; + t.macron = 0x00af; + t.macronbelowcmb = 0x0331; + t.macroncmb = 0x0304; + t.macronlowmod = 0x02cd; + t.macronmonospace = 0xffe3; + t.macute = 0x1e3f; + t.madeva = 0x092e; + t.magujarati = 0x0aae; + t.magurmukhi = 0x0a2e; + t.mahapakhhebrew = 0x05a4; + t.mahapakhlefthebrew = 0x05a4; + t.mahiragana = 0x307e; + t.maichattawalowleftthai = 0xf895; + t.maichattawalowrightthai = 0xf894; + t.maichattawathai = 0x0e4b; + t.maichattawaupperleftthai = 0xf893; + t.maieklowleftthai = 0xf88c; + t.maieklowrightthai = 0xf88b; + t.maiekthai = 0x0e48; + t.maiekupperleftthai = 0xf88a; + t.maihanakatleftthai = 0xf884; + t.maihanakatthai = 0x0e31; + t.maitaikhuleftthai = 0xf889; + t.maitaikhuthai = 0x0e47; + t.maitholowleftthai = 0xf88f; + t.maitholowrightthai = 0xf88e; + t.maithothai = 0x0e49; + t.maithoupperleftthai = 0xf88d; + t.maitrilowleftthai = 0xf892; + t.maitrilowrightthai = 0xf891; + t.maitrithai = 0x0e4a; + t.maitriupperleftthai = 0xf890; + t.maiyamokthai = 0x0e46; + t.makatakana = 0x30de; + t.makatakanahalfwidth = 0xff8f; + t.male = 0x2642; + t.mansyonsquare = 0x3347; + t.maqafhebrew = 0x05be; + t.mars = 0x2642; + t.masoracirclehebrew = 0x05af; + t.masquare = 0x3383; + t.mbopomofo = 0x3107; + t.mbsquare = 0x33d4; + t.mcircle = 0x24dc; + t.mcubedsquare = 0x33a5; + t.mdotaccent = 0x1e41; + t.mdotbelow = 0x1e43; + t.meemarabic = 0x0645; + t.meemfinalarabic = 0xfee2; + t.meeminitialarabic = 0xfee3; + t.meemmedialarabic = 0xfee4; + t.meemmeeminitialarabic = 0xfcd1; + t.meemmeemisolatedarabic = 0xfc48; + t.meetorusquare = 0x334d; + t.mehiragana = 0x3081; + t.meizierasquare = 0x337e; + t.mekatakana = 0x30e1; + t.mekatakanahalfwidth = 0xff92; + t.mem = 0x05de; + t.memdagesh = 0xfb3e; + t.memdageshhebrew = 0xfb3e; + t.memhebrew = 0x05de; + t.menarmenian = 0x0574; + t.merkhahebrew = 0x05a5; + t.merkhakefulahebrew = 0x05a6; + t.merkhakefulalefthebrew = 0x05a6; + t.merkhalefthebrew = 0x05a5; + t.mhook = 0x0271; + t.mhzsquare = 0x3392; + t.middledotkatakanahalfwidth = 0xff65; + t.middot = 0x00b7; + t.mieumacirclekorean = 0x3272; + t.mieumaparenkorean = 0x3212; + t.mieumcirclekorean = 0x3264; + t.mieumkorean = 0x3141; + t.mieumpansioskorean = 0x3170; + t.mieumparenkorean = 0x3204; + t.mieumpieupkorean = 0x316e; + t.mieumsioskorean = 0x316f; + t.mihiragana = 0x307f; + t.mikatakana = 0x30df; + t.mikatakanahalfwidth = 0xff90; + t.minus = 0x2212; + t.minusbelowcmb = 0x0320; + t.minuscircle = 0x2296; + t.minusmod = 0x02d7; + t.minusplus = 0x2213; + t.minute = 0x2032; + t.miribaarusquare = 0x334a; + t.mirisquare = 0x3349; + t.mlonglegturned = 0x0270; + t.mlsquare = 0x3396; + t.mmcubedsquare = 0x33a3; + t.mmonospace = 0xff4d; + t.mmsquaredsquare = 0x339f; + t.mohiragana = 0x3082; + t.mohmsquare = 0x33c1; + t.mokatakana = 0x30e2; + t.mokatakanahalfwidth = 0xff93; + t.molsquare = 0x33d6; + t.momathai = 0x0e21; + t.moverssquare = 0x33a7; + t.moverssquaredsquare = 0x33a8; + t.mparen = 0x24a8; + t.mpasquare = 0x33ab; + t.mssquare = 0x33b3; + t.msuperior = 0xf6ef; + t.mturned = 0x026f; + t.mu = 0x00b5; + t.mu1 = 0x00b5; + t.muasquare = 0x3382; + t.muchgreater = 0x226b; + t.muchless = 0x226a; + t.mufsquare = 0x338c; + t.mugreek = 0x03bc; + t.mugsquare = 0x338d; + t.muhiragana = 0x3080; + t.mukatakana = 0x30e0; + t.mukatakanahalfwidth = 0xff91; + t.mulsquare = 0x3395; + t.multiply = 0x00d7; + t.mumsquare = 0x339b; + t.munahhebrew = 0x05a3; + t.munahlefthebrew = 0x05a3; + t.musicalnote = 0x266a; + t.musicalnotedbl = 0x266b; + t.musicflatsign = 0x266d; + t.musicsharpsign = 0x266f; + t.mussquare = 0x33b2; + t.muvsquare = 0x33b6; + t.muwsquare = 0x33bc; + t.mvmegasquare = 0x33b9; + t.mvsquare = 0x33b7; + t.mwmegasquare = 0x33bf; + t.mwsquare = 0x33bd; + t.n = 0x006e; + t.nabengali = 0x09a8; + t.nabla = 0x2207; + t.nacute = 0x0144; + t.nadeva = 0x0928; + t.nagujarati = 0x0aa8; + t.nagurmukhi = 0x0a28; + t.nahiragana = 0x306a; + t.nakatakana = 0x30ca; + t.nakatakanahalfwidth = 0xff85; + t.napostrophe = 0x0149; + t.nasquare = 0x3381; + t.nbopomofo = 0x310b; + t.nbspace = 0x00a0; + t.ncaron = 0x0148; + t.ncedilla = 0x0146; + t.ncircle = 0x24dd; + t.ncircumflexbelow = 0x1e4b; + t.ncommaaccent = 0x0146; + t.ndotaccent = 0x1e45; + t.ndotbelow = 0x1e47; + t.nehiragana = 0x306d; + t.nekatakana = 0x30cd; + t.nekatakanahalfwidth = 0xff88; + t.newsheqelsign = 0x20aa; + t.nfsquare = 0x338b; + t.ngabengali = 0x0999; + t.ngadeva = 0x0919; + t.ngagujarati = 0x0a99; + t.ngagurmukhi = 0x0a19; + t.ngonguthai = 0x0e07; + t.nhiragana = 0x3093; + t.nhookleft = 0x0272; + t.nhookretroflex = 0x0273; + t.nieunacirclekorean = 0x326f; + t.nieunaparenkorean = 0x320f; + t.nieuncieuckorean = 0x3135; + t.nieuncirclekorean = 0x3261; + t.nieunhieuhkorean = 0x3136; + t.nieunkorean = 0x3134; + t.nieunpansioskorean = 0x3168; + t.nieunparenkorean = 0x3201; + t.nieunsioskorean = 0x3167; + t.nieuntikeutkorean = 0x3166; + t.nihiragana = 0x306b; + t.nikatakana = 0x30cb; + t.nikatakanahalfwidth = 0xff86; + t.nikhahitleftthai = 0xf899; + t.nikhahitthai = 0x0e4d; + t.nine = 0x0039; + t.ninearabic = 0x0669; + t.ninebengali = 0x09ef; + t.ninecircle = 0x2468; + t.ninecircleinversesansserif = 0x2792; + t.ninedeva = 0x096f; + t.ninegujarati = 0x0aef; + t.ninegurmukhi = 0x0a6f; + t.ninehackarabic = 0x0669; + t.ninehangzhou = 0x3029; + t.nineideographicparen = 0x3228; + t.nineinferior = 0x2089; + t.ninemonospace = 0xff19; + t.nineoldstyle = 0xf739; + t.nineparen = 0x247c; + t.nineperiod = 0x2490; + t.ninepersian = 0x06f9; + t.nineroman = 0x2178; + t.ninesuperior = 0x2079; + t.nineteencircle = 0x2472; + t.nineteenparen = 0x2486; + t.nineteenperiod = 0x249a; + t.ninethai = 0x0e59; + t.nj = 0x01cc; + t.njecyrillic = 0x045a; + t.nkatakana = 0x30f3; + t.nkatakanahalfwidth = 0xff9d; + t.nlegrightlong = 0x019e; + t.nlinebelow = 0x1e49; + t.nmonospace = 0xff4e; + t.nmsquare = 0x339a; + t.nnabengali = 0x09a3; + t.nnadeva = 0x0923; + t.nnagujarati = 0x0aa3; + t.nnagurmukhi = 0x0a23; + t.nnnadeva = 0x0929; + t.nohiragana = 0x306e; + t.nokatakana = 0x30ce; + t.nokatakanahalfwidth = 0xff89; + t.nonbreakingspace = 0x00a0; + t.nonenthai = 0x0e13; + t.nonuthai = 0x0e19; + t.noonarabic = 0x0646; + t.noonfinalarabic = 0xfee6; + t.noonghunnaarabic = 0x06ba; + t.noonghunnafinalarabic = 0xfb9f; + t.nooninitialarabic = 0xfee7; + t.noonjeeminitialarabic = 0xfcd2; + t.noonjeemisolatedarabic = 0xfc4b; + t.noonmedialarabic = 0xfee8; + t.noonmeeminitialarabic = 0xfcd5; + t.noonmeemisolatedarabic = 0xfc4e; + t.noonnoonfinalarabic = 0xfc8d; + t.notcontains = 0x220c; + t.notelement = 0x2209; + t.notelementof = 0x2209; + t.notequal = 0x2260; + t.notgreater = 0x226f; + t.notgreaternorequal = 0x2271; + t.notgreaternorless = 0x2279; + t.notidentical = 0x2262; + t.notless = 0x226e; + t.notlessnorequal = 0x2270; + t.notparallel = 0x2226; + t.notprecedes = 0x2280; + t.notsubset = 0x2284; + t.notsucceeds = 0x2281; + t.notsuperset = 0x2285; + t.nowarmenian = 0x0576; + t.nparen = 0x24a9; + t.nssquare = 0x33b1; + t.nsuperior = 0x207f; + t.ntilde = 0x00f1; + t.nu = 0x03bd; + t.nuhiragana = 0x306c; + t.nukatakana = 0x30cc; + t.nukatakanahalfwidth = 0xff87; + t.nuktabengali = 0x09bc; + t.nuktadeva = 0x093c; + t.nuktagujarati = 0x0abc; + t.nuktagurmukhi = 0x0a3c; + t.numbersign = 0x0023; + t.numbersignmonospace = 0xff03; + t.numbersignsmall = 0xfe5f; + t.numeralsigngreek = 0x0374; + t.numeralsignlowergreek = 0x0375; + t.numero = 0x2116; + t.nun = 0x05e0; + t.nundagesh = 0xfb40; + t.nundageshhebrew = 0xfb40; + t.nunhebrew = 0x05e0; + t.nvsquare = 0x33b5; + t.nwsquare = 0x33bb; + t.nyabengali = 0x099e; + t.nyadeva = 0x091e; + t.nyagujarati = 0x0a9e; + t.nyagurmukhi = 0x0a1e; + t.o = 0x006f; + t.oacute = 0x00f3; + t.oangthai = 0x0e2d; + t.obarred = 0x0275; + t.obarredcyrillic = 0x04e9; + t.obarreddieresiscyrillic = 0x04eb; + t.obengali = 0x0993; + t.obopomofo = 0x311b; + t.obreve = 0x014f; + t.ocandradeva = 0x0911; + t.ocandragujarati = 0x0a91; + t.ocandravowelsigndeva = 0x0949; + t.ocandravowelsigngujarati = 0x0ac9; + t.ocaron = 0x01d2; + t.ocircle = 0x24de; + t.ocircumflex = 0x00f4; + t.ocircumflexacute = 0x1ed1; + t.ocircumflexdotbelow = 0x1ed9; + t.ocircumflexgrave = 0x1ed3; + t.ocircumflexhookabove = 0x1ed5; + t.ocircumflextilde = 0x1ed7; + t.ocyrillic = 0x043e; + t.odblacute = 0x0151; + t.odblgrave = 0x020d; + t.odeva = 0x0913; + t.odieresis = 0x00f6; + t.odieresiscyrillic = 0x04e7; + t.odotbelow = 0x1ecd; + t.oe = 0x0153; + t.oekorean = 0x315a; + t.ogonek = 0x02db; + t.ogonekcmb = 0x0328; + t.ograve = 0x00f2; + t.ogujarati = 0x0a93; + t.oharmenian = 0x0585; + t.ohiragana = 0x304a; + t.ohookabove = 0x1ecf; + t.ohorn = 0x01a1; + t.ohornacute = 0x1edb; + t.ohorndotbelow = 0x1ee3; + t.ohorngrave = 0x1edd; + t.ohornhookabove = 0x1edf; + t.ohorntilde = 0x1ee1; + t.ohungarumlaut = 0x0151; + t.oi = 0x01a3; + t.oinvertedbreve = 0x020f; + t.okatakana = 0x30aa; + t.okatakanahalfwidth = 0xff75; + t.okorean = 0x3157; + t.olehebrew = 0x05ab; + t.omacron = 0x014d; + t.omacronacute = 0x1e53; + t.omacrongrave = 0x1e51; + t.omdeva = 0x0950; + t.omega = 0x03c9; + t.omega1 = 0x03d6; + t.omegacyrillic = 0x0461; + t.omegalatinclosed = 0x0277; + t.omegaroundcyrillic = 0x047b; + t.omegatitlocyrillic = 0x047d; + t.omegatonos = 0x03ce; + t.omgujarati = 0x0ad0; + t.omicron = 0x03bf; + t.omicrontonos = 0x03cc; + t.omonospace = 0xff4f; + t.one = 0x0031; + t.onearabic = 0x0661; + t.onebengali = 0x09e7; + t.onecircle = 0x2460; + t.onecircleinversesansserif = 0x278a; + t.onedeva = 0x0967; + t.onedotenleader = 0x2024; + t.oneeighth = 0x215b; + t.onefitted = 0xf6dc; + t.onegujarati = 0x0ae7; + t.onegurmukhi = 0x0a67; + t.onehackarabic = 0x0661; + t.onehalf = 0x00bd; + t.onehangzhou = 0x3021; + t.oneideographicparen = 0x3220; + t.oneinferior = 0x2081; + t.onemonospace = 0xff11; + t.onenumeratorbengali = 0x09f4; + t.oneoldstyle = 0xf731; + t.oneparen = 0x2474; + t.oneperiod = 0x2488; + t.onepersian = 0x06f1; + t.onequarter = 0x00bc; + t.oneroman = 0x2170; + t.onesuperior = 0x00b9; + t.onethai = 0x0e51; + t.onethird = 0x2153; + t.oogonek = 0x01eb; + t.oogonekmacron = 0x01ed; + t.oogurmukhi = 0x0a13; + t.oomatragurmukhi = 0x0a4b; + t.oopen = 0x0254; + t.oparen = 0x24aa; + t.openbullet = 0x25e6; + t.option = 0x2325; + t.ordfeminine = 0x00aa; + t.ordmasculine = 0x00ba; + t.orthogonal = 0x221f; + t.oshortdeva = 0x0912; + t.oshortvowelsigndeva = 0x094a; + t.oslash = 0x00f8; + t.oslashacute = 0x01ff; + t.osmallhiragana = 0x3049; + t.osmallkatakana = 0x30a9; + t.osmallkatakanahalfwidth = 0xff6b; + t.ostrokeacute = 0x01ff; + t.osuperior = 0xf6f0; + t.otcyrillic = 0x047f; + t.otilde = 0x00f5; + t.otildeacute = 0x1e4d; + t.otildedieresis = 0x1e4f; + t.oubopomofo = 0x3121; + t.overline = 0x203e; + t.overlinecenterline = 0xfe4a; + t.overlinecmb = 0x0305; + t.overlinedashed = 0xfe49; + t.overlinedblwavy = 0xfe4c; + t.overlinewavy = 0xfe4b; + t.overscore = 0x00af; + t.ovowelsignbengali = 0x09cb; + t.ovowelsigndeva = 0x094b; + t.ovowelsigngujarati = 0x0acb; + t.p = 0x0070; + t.paampssquare = 0x3380; + t.paasentosquare = 0x332b; + t.pabengali = 0x09aa; + t.pacute = 0x1e55; + t.padeva = 0x092a; + t.pagedown = 0x21df; + t.pageup = 0x21de; + t.pagujarati = 0x0aaa; + t.pagurmukhi = 0x0a2a; + t.pahiragana = 0x3071; + t.paiyannoithai = 0x0e2f; + t.pakatakana = 0x30d1; + t.palatalizationcyrilliccmb = 0x0484; + t.palochkacyrillic = 0x04c0; + t.pansioskorean = 0x317f; + t.paragraph = 0x00b6; + t.parallel = 0x2225; + t.parenleft = 0x0028; + t.parenleftaltonearabic = 0xfd3e; + t.parenleftbt = 0xf8ed; + t.parenleftex = 0xf8ec; + t.parenleftinferior = 0x208d; + t.parenleftmonospace = 0xff08; + t.parenleftsmall = 0xfe59; + t.parenleftsuperior = 0x207d; + t.parenlefttp = 0xf8eb; + t.parenleftvertical = 0xfe35; + t.parenright = 0x0029; + t.parenrightaltonearabic = 0xfd3f; + t.parenrightbt = 0xf8f8; + t.parenrightex = 0xf8f7; + t.parenrightinferior = 0x208e; + t.parenrightmonospace = 0xff09; + t.parenrightsmall = 0xfe5a; + t.parenrightsuperior = 0x207e; + t.parenrighttp = 0xf8f6; + t.parenrightvertical = 0xfe36; + t.partialdiff = 0x2202; + t.paseqhebrew = 0x05c0; + t.pashtahebrew = 0x0599; + t.pasquare = 0x33a9; + t.patah = 0x05b7; + t.patah11 = 0x05b7; + t.patah1d = 0x05b7; + t.patah2a = 0x05b7; + t.patahhebrew = 0x05b7; + t.patahnarrowhebrew = 0x05b7; + t.patahquarterhebrew = 0x05b7; + t.patahwidehebrew = 0x05b7; + t.pazerhebrew = 0x05a1; + t.pbopomofo = 0x3106; + t.pcircle = 0x24df; + t.pdotaccent = 0x1e57; + t.pe = 0x05e4; + t.pecyrillic = 0x043f; + t.pedagesh = 0xfb44; + t.pedageshhebrew = 0xfb44; + t.peezisquare = 0x333b; + t.pefinaldageshhebrew = 0xfb43; + t.peharabic = 0x067e; + t.peharmenian = 0x057a; + t.pehebrew = 0x05e4; + t.pehfinalarabic = 0xfb57; + t.pehinitialarabic = 0xfb58; + t.pehiragana = 0x307a; + t.pehmedialarabic = 0xfb59; + t.pekatakana = 0x30da; + t.pemiddlehookcyrillic = 0x04a7; + t.perafehebrew = 0xfb4e; + t.percent = 0x0025; + t.percentarabic = 0x066a; + t.percentmonospace = 0xff05; + t.percentsmall = 0xfe6a; + t.period = 0x002e; + t.periodarmenian = 0x0589; + t.periodcentered = 0x00b7; + t.periodhalfwidth = 0xff61; + t.periodinferior = 0xf6e7; + t.periodmonospace = 0xff0e; + t.periodsmall = 0xfe52; + t.periodsuperior = 0xf6e8; + t.perispomenigreekcmb = 0x0342; + t.perpendicular = 0x22a5; + t.perthousand = 0x2030; + t.peseta = 0x20a7; + t.pfsquare = 0x338a; + t.phabengali = 0x09ab; + t.phadeva = 0x092b; + t.phagujarati = 0x0aab; + t.phagurmukhi = 0x0a2b; + t.phi = 0x03c6; + t.phi1 = 0x03d5; + t.phieuphacirclekorean = 0x327a; + t.phieuphaparenkorean = 0x321a; + t.phieuphcirclekorean = 0x326c; + t.phieuphkorean = 0x314d; + t.phieuphparenkorean = 0x320c; + t.philatin = 0x0278; + t.phinthuthai = 0x0e3a; + t.phisymbolgreek = 0x03d5; + t.phook = 0x01a5; + t.phophanthai = 0x0e1e; + t.phophungthai = 0x0e1c; + t.phosamphaothai = 0x0e20; + t.pi = 0x03c0; + t.pieupacirclekorean = 0x3273; + t.pieupaparenkorean = 0x3213; + t.pieupcieuckorean = 0x3176; + t.pieupcirclekorean = 0x3265; + t.pieupkiyeokkorean = 0x3172; + t.pieupkorean = 0x3142; + t.pieupparenkorean = 0x3205; + t.pieupsioskiyeokkorean = 0x3174; + t.pieupsioskorean = 0x3144; + t.pieupsiostikeutkorean = 0x3175; + t.pieupthieuthkorean = 0x3177; + t.pieuptikeutkorean = 0x3173; + t.pihiragana = 0x3074; + t.pikatakana = 0x30d4; + t.pisymbolgreek = 0x03d6; + t.piwrarmenian = 0x0583; + t.plus = 0x002b; + t.plusbelowcmb = 0x031f; + t.pluscircle = 0x2295; + t.plusminus = 0x00b1; + t.plusmod = 0x02d6; + t.plusmonospace = 0xff0b; + t.plussmall = 0xfe62; + t.plussuperior = 0x207a; + t.pmonospace = 0xff50; + t.pmsquare = 0x33d8; + t.pohiragana = 0x307d; + t.pointingindexdownwhite = 0x261f; + t.pointingindexleftwhite = 0x261c; + t.pointingindexrightwhite = 0x261e; + t.pointingindexupwhite = 0x261d; + t.pokatakana = 0x30dd; + t.poplathai = 0x0e1b; + t.postalmark = 0x3012; + t.postalmarkface = 0x3020; + t.pparen = 0x24ab; + t.precedes = 0x227a; + t.prescription = 0x211e; + t.primemod = 0x02b9; + t.primereversed = 0x2035; + t.product = 0x220f; + t.projective = 0x2305; + t.prolongedkana = 0x30fc; + t.propellor = 0x2318; + t.propersubset = 0x2282; + t.propersuperset = 0x2283; + t.proportion = 0x2237; + t.proportional = 0x221d; + t.psi = 0x03c8; + t.psicyrillic = 0x0471; + t.psilipneumatacyrilliccmb = 0x0486; + t.pssquare = 0x33b0; + t.puhiragana = 0x3077; + t.pukatakana = 0x30d7; + t.pvsquare = 0x33b4; + t.pwsquare = 0x33ba; + t.q = 0x0071; + t.qadeva = 0x0958; + t.qadmahebrew = 0x05a8; + t.qafarabic = 0x0642; + t.qaffinalarabic = 0xfed6; + t.qafinitialarabic = 0xfed7; + t.qafmedialarabic = 0xfed8; + t.qamats = 0x05b8; + t.qamats10 = 0x05b8; + t.qamats1a = 0x05b8; + t.qamats1c = 0x05b8; + t.qamats27 = 0x05b8; + t.qamats29 = 0x05b8; + t.qamats33 = 0x05b8; + t.qamatsde = 0x05b8; + t.qamatshebrew = 0x05b8; + t.qamatsnarrowhebrew = 0x05b8; + t.qamatsqatanhebrew = 0x05b8; + t.qamatsqatannarrowhebrew = 0x05b8; + t.qamatsqatanquarterhebrew = 0x05b8; + t.qamatsqatanwidehebrew = 0x05b8; + t.qamatsquarterhebrew = 0x05b8; + t.qamatswidehebrew = 0x05b8; + t.qarneyparahebrew = 0x059f; + t.qbopomofo = 0x3111; + t.qcircle = 0x24e0; + t.qhook = 0x02a0; + t.qmonospace = 0xff51; + t.qof = 0x05e7; + t.qofdagesh = 0xfb47; + t.qofdageshhebrew = 0xfb47; + t.qofhebrew = 0x05e7; + t.qparen = 0x24ac; + t.quarternote = 0x2669; + t.qubuts = 0x05bb; + t.qubuts18 = 0x05bb; + t.qubuts25 = 0x05bb; + t.qubuts31 = 0x05bb; + t.qubutshebrew = 0x05bb; + t.qubutsnarrowhebrew = 0x05bb; + t.qubutsquarterhebrew = 0x05bb; + t.qubutswidehebrew = 0x05bb; + t.question = 0x003f; + t.questionarabic = 0x061f; + t.questionarmenian = 0x055e; + t.questiondown = 0x00bf; + t.questiondownsmall = 0xf7bf; + t.questiongreek = 0x037e; + t.questionmonospace = 0xff1f; + t.questionsmall = 0xf73f; + t.quotedbl = 0x0022; + t.quotedblbase = 0x201e; + t.quotedblleft = 0x201c; + t.quotedblmonospace = 0xff02; + t.quotedblprime = 0x301e; + t.quotedblprimereversed = 0x301d; + t.quotedblright = 0x201d; + t.quoteleft = 0x2018; + t.quoteleftreversed = 0x201b; + t.quotereversed = 0x201b; + t.quoteright = 0x2019; + t.quoterightn = 0x0149; + t.quotesinglbase = 0x201a; + t.quotesingle = 0x0027; + t.quotesinglemonospace = 0xff07; + t.r = 0x0072; + t.raarmenian = 0x057c; + t.rabengali = 0x09b0; + t.racute = 0x0155; + t.radeva = 0x0930; + t.radical = 0x221a; + t.radicalex = 0xf8e5; + t.radoverssquare = 0x33ae; + t.radoverssquaredsquare = 0x33af; + t.radsquare = 0x33ad; + t.rafe = 0x05bf; + t.rafehebrew = 0x05bf; + t.ragujarati = 0x0ab0; + t.ragurmukhi = 0x0a30; + t.rahiragana = 0x3089; + t.rakatakana = 0x30e9; + t.rakatakanahalfwidth = 0xff97; + t.ralowerdiagonalbengali = 0x09f1; + t.ramiddlediagonalbengali = 0x09f0; + t.ramshorn = 0x0264; + t.ratio = 0x2236; + t.rbopomofo = 0x3116; + t.rcaron = 0x0159; + t.rcedilla = 0x0157; + t.rcircle = 0x24e1; + t.rcommaaccent = 0x0157; + t.rdblgrave = 0x0211; + t.rdotaccent = 0x1e59; + t.rdotbelow = 0x1e5b; + t.rdotbelowmacron = 0x1e5d; + t.referencemark = 0x203b; + t.reflexsubset = 0x2286; + t.reflexsuperset = 0x2287; + t.registered = 0x00ae; + t.registersans = 0xf8e8; + t.registerserif = 0xf6da; + t.reharabic = 0x0631; + t.reharmenian = 0x0580; + t.rehfinalarabic = 0xfeae; + t.rehiragana = 0x308c; + t.rekatakana = 0x30ec; + t.rekatakanahalfwidth = 0xff9a; + t.resh = 0x05e8; + t.reshdageshhebrew = 0xfb48; + t.reshhebrew = 0x05e8; + t.reversedtilde = 0x223d; + t.reviahebrew = 0x0597; + t.reviamugrashhebrew = 0x0597; + t.revlogicalnot = 0x2310; + t.rfishhook = 0x027e; + t.rfishhookreversed = 0x027f; + t.rhabengali = 0x09dd; + t.rhadeva = 0x095d; + t.rho = 0x03c1; + t.rhook = 0x027d; + t.rhookturned = 0x027b; + t.rhookturnedsuperior = 0x02b5; + t.rhosymbolgreek = 0x03f1; + t.rhotichookmod = 0x02de; + t.rieulacirclekorean = 0x3271; + t.rieulaparenkorean = 0x3211; + t.rieulcirclekorean = 0x3263; + t.rieulhieuhkorean = 0x3140; + t.rieulkiyeokkorean = 0x313a; + t.rieulkiyeoksioskorean = 0x3169; + t.rieulkorean = 0x3139; + t.rieulmieumkorean = 0x313b; + t.rieulpansioskorean = 0x316c; + t.rieulparenkorean = 0x3203; + t.rieulphieuphkorean = 0x313f; + t.rieulpieupkorean = 0x313c; + t.rieulpieupsioskorean = 0x316b; + t.rieulsioskorean = 0x313d; + t.rieulthieuthkorean = 0x313e; + t.rieultikeutkorean = 0x316a; + t.rieulyeorinhieuhkorean = 0x316d; + t.rightangle = 0x221f; + t.righttackbelowcmb = 0x0319; + t.righttriangle = 0x22bf; + t.rihiragana = 0x308a; + t.rikatakana = 0x30ea; + t.rikatakanahalfwidth = 0xff98; + t.ring = 0x02da; + t.ringbelowcmb = 0x0325; + t.ringcmb = 0x030a; + t.ringhalfleft = 0x02bf; + t.ringhalfleftarmenian = 0x0559; + t.ringhalfleftbelowcmb = 0x031c; + t.ringhalfleftcentered = 0x02d3; + t.ringhalfright = 0x02be; + t.ringhalfrightbelowcmb = 0x0339; + t.ringhalfrightcentered = 0x02d2; + t.rinvertedbreve = 0x0213; + t.rittorusquare = 0x3351; + t.rlinebelow = 0x1e5f; + t.rlongleg = 0x027c; + t.rlonglegturned = 0x027a; + t.rmonospace = 0xff52; + t.rohiragana = 0x308d; + t.rokatakana = 0x30ed; + t.rokatakanahalfwidth = 0xff9b; + t.roruathai = 0x0e23; + t.rparen = 0x24ad; + t.rrabengali = 0x09dc; + t.rradeva = 0x0931; + t.rragurmukhi = 0x0a5c; + t.rreharabic = 0x0691; + t.rrehfinalarabic = 0xfb8d; + t.rrvocalicbengali = 0x09e0; + t.rrvocalicdeva = 0x0960; + t.rrvocalicgujarati = 0x0ae0; + t.rrvocalicvowelsignbengali = 0x09c4; + t.rrvocalicvowelsigndeva = 0x0944; + t.rrvocalicvowelsigngujarati = 0x0ac4; + t.rsuperior = 0xf6f1; + t.rtblock = 0x2590; + t.rturned = 0x0279; + t.rturnedsuperior = 0x02b4; + t.ruhiragana = 0x308b; + t.rukatakana = 0x30eb; + t.rukatakanahalfwidth = 0xff99; + t.rupeemarkbengali = 0x09f2; + t.rupeesignbengali = 0x09f3; + t.rupiah = 0xf6dd; + t.ruthai = 0x0e24; + t.rvocalicbengali = 0x098b; + t.rvocalicdeva = 0x090b; + t.rvocalicgujarati = 0x0a8b; + t.rvocalicvowelsignbengali = 0x09c3; + t.rvocalicvowelsigndeva = 0x0943; + t.rvocalicvowelsigngujarati = 0x0ac3; + t.s = 0x0073; + t.sabengali = 0x09b8; + t.sacute = 0x015b; + t.sacutedotaccent = 0x1e65; + t.sadarabic = 0x0635; + t.sadeva = 0x0938; + t.sadfinalarabic = 0xfeba; + t.sadinitialarabic = 0xfebb; + t.sadmedialarabic = 0xfebc; + t.sagujarati = 0x0ab8; + t.sagurmukhi = 0x0a38; + t.sahiragana = 0x3055; + t.sakatakana = 0x30b5; + t.sakatakanahalfwidth = 0xff7b; + t.sallallahoualayhewasallamarabic = 0xfdfa; + t.samekh = 0x05e1; + t.samekhdagesh = 0xfb41; + t.samekhdageshhebrew = 0xfb41; + t.samekhhebrew = 0x05e1; + t.saraaathai = 0x0e32; + t.saraaethai = 0x0e41; + t.saraaimaimalaithai = 0x0e44; + t.saraaimaimuanthai = 0x0e43; + t.saraamthai = 0x0e33; + t.saraathai = 0x0e30; + t.saraethai = 0x0e40; + t.saraiileftthai = 0xf886; + t.saraiithai = 0x0e35; + t.saraileftthai = 0xf885; + t.saraithai = 0x0e34; + t.saraothai = 0x0e42; + t.saraueeleftthai = 0xf888; + t.saraueethai = 0x0e37; + t.saraueleftthai = 0xf887; + t.sarauethai = 0x0e36; + t.sarauthai = 0x0e38; + t.sarauuthai = 0x0e39; + t.sbopomofo = 0x3119; + t.scaron = 0x0161; + t.scarondotaccent = 0x1e67; + t.scedilla = 0x015f; + t.schwa = 0x0259; + t.schwacyrillic = 0x04d9; + t.schwadieresiscyrillic = 0x04db; + t.schwahook = 0x025a; + t.scircle = 0x24e2; + t.scircumflex = 0x015d; + t.scommaaccent = 0x0219; + t.sdotaccent = 0x1e61; + t.sdotbelow = 0x1e63; + t.sdotbelowdotaccent = 0x1e69; + t.seagullbelowcmb = 0x033c; + t.second = 0x2033; + t.secondtonechinese = 0x02ca; + t.section = 0x00a7; + t.seenarabic = 0x0633; + t.seenfinalarabic = 0xfeb2; + t.seeninitialarabic = 0xfeb3; + t.seenmedialarabic = 0xfeb4; + t.segol = 0x05b6; + t.segol13 = 0x05b6; + t.segol1f = 0x05b6; + t.segol2c = 0x05b6; + t.segolhebrew = 0x05b6; + t.segolnarrowhebrew = 0x05b6; + t.segolquarterhebrew = 0x05b6; + t.segoltahebrew = 0x0592; + t.segolwidehebrew = 0x05b6; + t.seharmenian = 0x057d; + t.sehiragana = 0x305b; + t.sekatakana = 0x30bb; + t.sekatakanahalfwidth = 0xff7e; + t.semicolon = 0x003b; + t.semicolonarabic = 0x061b; + t.semicolonmonospace = 0xff1b; + t.semicolonsmall = 0xfe54; + t.semivoicedmarkkana = 0x309c; + t.semivoicedmarkkanahalfwidth = 0xff9f; + t.sentisquare = 0x3322; + t.sentosquare = 0x3323; + t.seven = 0x0037; + t.sevenarabic = 0x0667; + t.sevenbengali = 0x09ed; + t.sevencircle = 0x2466; + t.sevencircleinversesansserif = 0x2790; + t.sevendeva = 0x096d; + t.seveneighths = 0x215e; + t.sevengujarati = 0x0aed; + t.sevengurmukhi = 0x0a6d; + t.sevenhackarabic = 0x0667; + t.sevenhangzhou = 0x3027; + t.sevenideographicparen = 0x3226; + t.seveninferior = 0x2087; + t.sevenmonospace = 0xff17; + t.sevenoldstyle = 0xf737; + t.sevenparen = 0x247a; + t.sevenperiod = 0x248e; + t.sevenpersian = 0x06f7; + t.sevenroman = 0x2176; + t.sevensuperior = 0x2077; + t.seventeencircle = 0x2470; + t.seventeenparen = 0x2484; + t.seventeenperiod = 0x2498; + t.seventhai = 0x0e57; + t.sfthyphen = 0x00ad; + t.shaarmenian = 0x0577; + t.shabengali = 0x09b6; + t.shacyrillic = 0x0448; + t.shaddaarabic = 0x0651; + t.shaddadammaarabic = 0xfc61; + t.shaddadammatanarabic = 0xfc5e; + t.shaddafathaarabic = 0xfc60; + t.shaddakasraarabic = 0xfc62; + t.shaddakasratanarabic = 0xfc5f; + t.shade = 0x2592; + t.shadedark = 0x2593; + t.shadelight = 0x2591; + t.shademedium = 0x2592; + t.shadeva = 0x0936; + t.shagujarati = 0x0ab6; + t.shagurmukhi = 0x0a36; + t.shalshelethebrew = 0x0593; + t.shbopomofo = 0x3115; + t.shchacyrillic = 0x0449; + t.sheenarabic = 0x0634; + t.sheenfinalarabic = 0xfeb6; + t.sheeninitialarabic = 0xfeb7; + t.sheenmedialarabic = 0xfeb8; + t.sheicoptic = 0x03e3; + t.sheqel = 0x20aa; + t.sheqelhebrew = 0x20aa; + t.sheva = 0x05b0; + t.sheva115 = 0x05b0; + t.sheva15 = 0x05b0; + t.sheva22 = 0x05b0; + t.sheva2e = 0x05b0; + t.shevahebrew = 0x05b0; + t.shevanarrowhebrew = 0x05b0; + t.shevaquarterhebrew = 0x05b0; + t.shevawidehebrew = 0x05b0; + t.shhacyrillic = 0x04bb; + t.shimacoptic = 0x03ed; + t.shin = 0x05e9; + t.shindagesh = 0xfb49; + t.shindageshhebrew = 0xfb49; + t.shindageshshindot = 0xfb2c; + t.shindageshshindothebrew = 0xfb2c; + t.shindageshsindot = 0xfb2d; + t.shindageshsindothebrew = 0xfb2d; + t.shindothebrew = 0x05c1; + t.shinhebrew = 0x05e9; + t.shinshindot = 0xfb2a; + t.shinshindothebrew = 0xfb2a; + t.shinsindot = 0xfb2b; + t.shinsindothebrew = 0xfb2b; + t.shook = 0x0282; + t.sigma = 0x03c3; + t.sigma1 = 0x03c2; + t.sigmafinal = 0x03c2; + t.sigmalunatesymbolgreek = 0x03f2; + t.sihiragana = 0x3057; + t.sikatakana = 0x30b7; + t.sikatakanahalfwidth = 0xff7c; + t.siluqhebrew = 0x05bd; + t.siluqlefthebrew = 0x05bd; + t.similar = 0x223c; + t.sindothebrew = 0x05c2; + t.siosacirclekorean = 0x3274; + t.siosaparenkorean = 0x3214; + t.sioscieuckorean = 0x317e; + t.sioscirclekorean = 0x3266; + t.sioskiyeokkorean = 0x317a; + t.sioskorean = 0x3145; + t.siosnieunkorean = 0x317b; + t.siosparenkorean = 0x3206; + t.siospieupkorean = 0x317d; + t.siostikeutkorean = 0x317c; + t.six = 0x0036; + t.sixarabic = 0x0666; + t.sixbengali = 0x09ec; + t.sixcircle = 0x2465; + t.sixcircleinversesansserif = 0x278f; + t.sixdeva = 0x096c; + t.sixgujarati = 0x0aec; + t.sixgurmukhi = 0x0a6c; + t.sixhackarabic = 0x0666; + t.sixhangzhou = 0x3026; + t.sixideographicparen = 0x3225; + t.sixinferior = 0x2086; + t.sixmonospace = 0xff16; + t.sixoldstyle = 0xf736; + t.sixparen = 0x2479; + t.sixperiod = 0x248d; + t.sixpersian = 0x06f6; + t.sixroman = 0x2175; + t.sixsuperior = 0x2076; + t.sixteencircle = 0x246f; + t.sixteencurrencydenominatorbengali = 0x09f9; + t.sixteenparen = 0x2483; + t.sixteenperiod = 0x2497; + t.sixthai = 0x0e56; + t.slash = 0x002f; + t.slashmonospace = 0xff0f; + t.slong = 0x017f; + t.slongdotaccent = 0x1e9b; + t.smileface = 0x263a; + t.smonospace = 0xff53; + t.sofpasuqhebrew = 0x05c3; + t.softhyphen = 0x00ad; + t.softsigncyrillic = 0x044c; + t.sohiragana = 0x305d; + t.sokatakana = 0x30bd; + t.sokatakanahalfwidth = 0xff7f; + t.soliduslongoverlaycmb = 0x0338; + t.solidusshortoverlaycmb = 0x0337; + t.sorusithai = 0x0e29; + t.sosalathai = 0x0e28; + t.sosothai = 0x0e0b; + t.sosuathai = 0x0e2a; + t.space = 0x0020; + t.spacehackarabic = 0x0020; + t.spade = 0x2660; + t.spadesuitblack = 0x2660; + t.spadesuitwhite = 0x2664; + t.sparen = 0x24ae; + t.squarebelowcmb = 0x033b; + t.squarecc = 0x33c4; + t.squarecm = 0x339d; + t.squarediagonalcrosshatchfill = 0x25a9; + t.squarehorizontalfill = 0x25a4; + t.squarekg = 0x338f; + t.squarekm = 0x339e; + t.squarekmcapital = 0x33ce; + t.squareln = 0x33d1; + t.squarelog = 0x33d2; + t.squaremg = 0x338e; + t.squaremil = 0x33d5; + t.squaremm = 0x339c; + t.squaremsquared = 0x33a1; + t.squareorthogonalcrosshatchfill = 0x25a6; + t.squareupperlefttolowerrightfill = 0x25a7; + t.squareupperrighttolowerleftfill = 0x25a8; + t.squareverticalfill = 0x25a5; + t.squarewhitewithsmallblack = 0x25a3; + t.srsquare = 0x33db; + t.ssabengali = 0x09b7; + t.ssadeva = 0x0937; + t.ssagujarati = 0x0ab7; + t.ssangcieuckorean = 0x3149; + t.ssanghieuhkorean = 0x3185; + t.ssangieungkorean = 0x3180; + t.ssangkiyeokkorean = 0x3132; + t.ssangnieunkorean = 0x3165; + t.ssangpieupkorean = 0x3143; + t.ssangsioskorean = 0x3146; + t.ssangtikeutkorean = 0x3138; + t.ssuperior = 0xf6f2; + t.sterling = 0x00a3; + t.sterlingmonospace = 0xffe1; + t.strokelongoverlaycmb = 0x0336; + t.strokeshortoverlaycmb = 0x0335; + t.subset = 0x2282; + t.subsetnotequal = 0x228a; + t.subsetorequal = 0x2286; + t.succeeds = 0x227b; + t.suchthat = 0x220b; + t.suhiragana = 0x3059; + t.sukatakana = 0x30b9; + t.sukatakanahalfwidth = 0xff7d; + t.sukunarabic = 0x0652; + t.summation = 0x2211; + t.sun = 0x263c; + t.superset = 0x2283; + t.supersetnotequal = 0x228b; + t.supersetorequal = 0x2287; + t.svsquare = 0x33dc; + t.syouwaerasquare = 0x337c; + t.t = 0x0074; + t.tabengali = 0x09a4; + t.tackdown = 0x22a4; + t.tackleft = 0x22a3; + t.tadeva = 0x0924; + t.tagujarati = 0x0aa4; + t.tagurmukhi = 0x0a24; + t.taharabic = 0x0637; + t.tahfinalarabic = 0xfec2; + t.tahinitialarabic = 0xfec3; + t.tahiragana = 0x305f; + t.tahmedialarabic = 0xfec4; + t.taisyouerasquare = 0x337d; + t.takatakana = 0x30bf; + t.takatakanahalfwidth = 0xff80; + t.tatweelarabic = 0x0640; + t.tau = 0x03c4; + t.tav = 0x05ea; + t.tavdages = 0xfb4a; + t.tavdagesh = 0xfb4a; + t.tavdageshhebrew = 0xfb4a; + t.tavhebrew = 0x05ea; + t.tbar = 0x0167; + t.tbopomofo = 0x310a; + t.tcaron = 0x0165; + t.tccurl = 0x02a8; + t.tcedilla = 0x0163; + t.tcheharabic = 0x0686; + t.tchehfinalarabic = 0xfb7b; + t.tchehinitialarabic = 0xfb7c; + t.tchehmedialarabic = 0xfb7d; + t.tcircle = 0x24e3; + t.tcircumflexbelow = 0x1e71; + t.tcommaaccent = 0x0163; + t.tdieresis = 0x1e97; + t.tdotaccent = 0x1e6b; + t.tdotbelow = 0x1e6d; + t.tecyrillic = 0x0442; + t.tedescendercyrillic = 0x04ad; + t.teharabic = 0x062a; + t.tehfinalarabic = 0xfe96; + t.tehhahinitialarabic = 0xfca2; + t.tehhahisolatedarabic = 0xfc0c; + t.tehinitialarabic = 0xfe97; + t.tehiragana = 0x3066; + t.tehjeeminitialarabic = 0xfca1; + t.tehjeemisolatedarabic = 0xfc0b; + t.tehmarbutaarabic = 0x0629; + t.tehmarbutafinalarabic = 0xfe94; + t.tehmedialarabic = 0xfe98; + t.tehmeeminitialarabic = 0xfca4; + t.tehmeemisolatedarabic = 0xfc0e; + t.tehnoonfinalarabic = 0xfc73; + t.tekatakana = 0x30c6; + t.tekatakanahalfwidth = 0xff83; + t.telephone = 0x2121; + t.telephoneblack = 0x260e; + t.telishagedolahebrew = 0x05a0; + t.telishaqetanahebrew = 0x05a9; + t.tencircle = 0x2469; + t.tenideographicparen = 0x3229; + t.tenparen = 0x247d; + t.tenperiod = 0x2491; + t.tenroman = 0x2179; + t.tesh = 0x02a7; + t.tet = 0x05d8; + t.tetdagesh = 0xfb38; + t.tetdageshhebrew = 0xfb38; + t.tethebrew = 0x05d8; + t.tetsecyrillic = 0x04b5; + t.tevirhebrew = 0x059b; + t.tevirlefthebrew = 0x059b; + t.thabengali = 0x09a5; + t.thadeva = 0x0925; + t.thagujarati = 0x0aa5; + t.thagurmukhi = 0x0a25; + t.thalarabic = 0x0630; + t.thalfinalarabic = 0xfeac; + t.thanthakhatlowleftthai = 0xf898; + t.thanthakhatlowrightthai = 0xf897; + t.thanthakhatthai = 0x0e4c; + t.thanthakhatupperleftthai = 0xf896; + t.theharabic = 0x062b; + t.thehfinalarabic = 0xfe9a; + t.thehinitialarabic = 0xfe9b; + t.thehmedialarabic = 0xfe9c; + t.thereexists = 0x2203; + t.therefore = 0x2234; + t.theta = 0x03b8; + t.theta1 = 0x03d1; + t.thetasymbolgreek = 0x03d1; + t.thieuthacirclekorean = 0x3279; + t.thieuthaparenkorean = 0x3219; + t.thieuthcirclekorean = 0x326b; + t.thieuthkorean = 0x314c; + t.thieuthparenkorean = 0x320b; + t.thirteencircle = 0x246c; + t.thirteenparen = 0x2480; + t.thirteenperiod = 0x2494; + t.thonangmonthothai = 0x0e11; + t.thook = 0x01ad; + t.thophuthaothai = 0x0e12; + t.thorn = 0x00fe; + t.thothahanthai = 0x0e17; + t.thothanthai = 0x0e10; + t.thothongthai = 0x0e18; + t.thothungthai = 0x0e16; + t.thousandcyrillic = 0x0482; + t.thousandsseparatorarabic = 0x066c; + t.thousandsseparatorpersian = 0x066c; + t.three = 0x0033; + t.threearabic = 0x0663; + t.threebengali = 0x09e9; + t.threecircle = 0x2462; + t.threecircleinversesansserif = 0x278c; + t.threedeva = 0x0969; + t.threeeighths = 0x215c; + t.threegujarati = 0x0ae9; + t.threegurmukhi = 0x0a69; + t.threehackarabic = 0x0663; + t.threehangzhou = 0x3023; + t.threeideographicparen = 0x3222; + t.threeinferior = 0x2083; + t.threemonospace = 0xff13; + t.threenumeratorbengali = 0x09f6; + t.threeoldstyle = 0xf733; + t.threeparen = 0x2476; + t.threeperiod = 0x248a; + t.threepersian = 0x06f3; + t.threequarters = 0x00be; + t.threequartersemdash = 0xf6de; + t.threeroman = 0x2172; + t.threesuperior = 0x00b3; + t.threethai = 0x0e53; + t.thzsquare = 0x3394; + t.tihiragana = 0x3061; + t.tikatakana = 0x30c1; + t.tikatakanahalfwidth = 0xff81; + t.tikeutacirclekorean = 0x3270; + t.tikeutaparenkorean = 0x3210; + t.tikeutcirclekorean = 0x3262; + t.tikeutkorean = 0x3137; + t.tikeutparenkorean = 0x3202; + t.tilde = 0x02dc; + t.tildebelowcmb = 0x0330; + t.tildecmb = 0x0303; + t.tildecomb = 0x0303; + t.tildedoublecmb = 0x0360; + t.tildeoperator = 0x223c; + t.tildeoverlaycmb = 0x0334; + t.tildeverticalcmb = 0x033e; + t.timescircle = 0x2297; + t.tipehahebrew = 0x0596; + t.tipehalefthebrew = 0x0596; + t.tippigurmukhi = 0x0a70; + t.titlocyrilliccmb = 0x0483; + t.tiwnarmenian = 0x057f; + t.tlinebelow = 0x1e6f; + t.tmonospace = 0xff54; + t.toarmenian = 0x0569; + t.tohiragana = 0x3068; + t.tokatakana = 0x30c8; + t.tokatakanahalfwidth = 0xff84; + t.tonebarextrahighmod = 0x02e5; + t.tonebarextralowmod = 0x02e9; + t.tonebarhighmod = 0x02e6; + t.tonebarlowmod = 0x02e8; + t.tonebarmidmod = 0x02e7; + t.tonefive = 0x01bd; + t.tonesix = 0x0185; + t.tonetwo = 0x01a8; + t.tonos = 0x0384; + t.tonsquare = 0x3327; + t.topatakthai = 0x0e0f; + t.tortoiseshellbracketleft = 0x3014; + t.tortoiseshellbracketleftsmall = 0xfe5d; + t.tortoiseshellbracketleftvertical = 0xfe39; + t.tortoiseshellbracketright = 0x3015; + t.tortoiseshellbracketrightsmall = 0xfe5e; + t.tortoiseshellbracketrightvertical = 0xfe3a; + t.totaothai = 0x0e15; + t.tpalatalhook = 0x01ab; + t.tparen = 0x24af; + t.trademark = 0x2122; + t.trademarksans = 0xf8ea; + t.trademarkserif = 0xf6db; + t.tretroflexhook = 0x0288; + t.triagdn = 0x25bc; + t.triaglf = 0x25c4; + t.triagrt = 0x25ba; + t.triagup = 0x25b2; + t.ts = 0x02a6; + t.tsadi = 0x05e6; + t.tsadidagesh = 0xfb46; + t.tsadidageshhebrew = 0xfb46; + t.tsadihebrew = 0x05e6; + t.tsecyrillic = 0x0446; + t.tsere = 0x05b5; + t.tsere12 = 0x05b5; + t.tsere1e = 0x05b5; + t.tsere2b = 0x05b5; + t.tserehebrew = 0x05b5; + t.tserenarrowhebrew = 0x05b5; + t.tserequarterhebrew = 0x05b5; + t.tserewidehebrew = 0x05b5; + t.tshecyrillic = 0x045b; + t.tsuperior = 0xf6f3; + t.ttabengali = 0x099f; + t.ttadeva = 0x091f; + t.ttagujarati = 0x0a9f; + t.ttagurmukhi = 0x0a1f; + t.tteharabic = 0x0679; + t.ttehfinalarabic = 0xfb67; + t.ttehinitialarabic = 0xfb68; + t.ttehmedialarabic = 0xfb69; + t.tthabengali = 0x09a0; + t.tthadeva = 0x0920; + t.tthagujarati = 0x0aa0; + t.tthagurmukhi = 0x0a20; + t.tturned = 0x0287; + t.tuhiragana = 0x3064; + t.tukatakana = 0x30c4; + t.tukatakanahalfwidth = 0xff82; + t.tusmallhiragana = 0x3063; + t.tusmallkatakana = 0x30c3; + t.tusmallkatakanahalfwidth = 0xff6f; + t.twelvecircle = 0x246b; + t.twelveparen = 0x247f; + t.twelveperiod = 0x2493; + t.twelveroman = 0x217b; + t.twentycircle = 0x2473; + t.twentyhangzhou = 0x5344; + t.twentyparen = 0x2487; + t.twentyperiod = 0x249b; + t.two = 0x0032; + t.twoarabic = 0x0662; + t.twobengali = 0x09e8; + t.twocircle = 0x2461; + t.twocircleinversesansserif = 0x278b; + t.twodeva = 0x0968; + t.twodotenleader = 0x2025; + t.twodotleader = 0x2025; + t.twodotleadervertical = 0xfe30; + t.twogujarati = 0x0ae8; + t.twogurmukhi = 0x0a68; + t.twohackarabic = 0x0662; + t.twohangzhou = 0x3022; + t.twoideographicparen = 0x3221; + t.twoinferior = 0x2082; + t.twomonospace = 0xff12; + t.twonumeratorbengali = 0x09f5; + t.twooldstyle = 0xf732; + t.twoparen = 0x2475; + t.twoperiod = 0x2489; + t.twopersian = 0x06f2; + t.tworoman = 0x2171; + t.twostroke = 0x01bb; + t.twosuperior = 0x00b2; + t.twothai = 0x0e52; + t.twothirds = 0x2154; + t.u = 0x0075; + t.uacute = 0x00fa; + t.ubar = 0x0289; + t.ubengali = 0x0989; + t.ubopomofo = 0x3128; + t.ubreve = 0x016d; + t.ucaron = 0x01d4; + t.ucircle = 0x24e4; + t.ucircumflex = 0x00fb; + t.ucircumflexbelow = 0x1e77; + t.ucyrillic = 0x0443; + t.udattadeva = 0x0951; + t.udblacute = 0x0171; + t.udblgrave = 0x0215; + t.udeva = 0x0909; + t.udieresis = 0x00fc; + t.udieresisacute = 0x01d8; + t.udieresisbelow = 0x1e73; + t.udieresiscaron = 0x01da; + t.udieresiscyrillic = 0x04f1; + t.udieresisgrave = 0x01dc; + t.udieresismacron = 0x01d6; + t.udotbelow = 0x1ee5; + t.ugrave = 0x00f9; + t.ugujarati = 0x0a89; + t.ugurmukhi = 0x0a09; + t.uhiragana = 0x3046; + t.uhookabove = 0x1ee7; + t.uhorn = 0x01b0; + t.uhornacute = 0x1ee9; + t.uhorndotbelow = 0x1ef1; + t.uhorngrave = 0x1eeb; + t.uhornhookabove = 0x1eed; + t.uhorntilde = 0x1eef; + t.uhungarumlaut = 0x0171; + t.uhungarumlautcyrillic = 0x04f3; + t.uinvertedbreve = 0x0217; + t.ukatakana = 0x30a6; + t.ukatakanahalfwidth = 0xff73; + t.ukcyrillic = 0x0479; + t.ukorean = 0x315c; + t.umacron = 0x016b; + t.umacroncyrillic = 0x04ef; + t.umacrondieresis = 0x1e7b; + t.umatragurmukhi = 0x0a41; + t.umonospace = 0xff55; + t.underscore = 0x005f; + t.underscoredbl = 0x2017; + t.underscoremonospace = 0xff3f; + t.underscorevertical = 0xfe33; + t.underscorewavy = 0xfe4f; + t.union = 0x222a; + t.universal = 0x2200; + t.uogonek = 0x0173; + t.uparen = 0x24b0; + t.upblock = 0x2580; + t.upperdothebrew = 0x05c4; + t.upsilon = 0x03c5; + t.upsilondieresis = 0x03cb; + t.upsilondieresistonos = 0x03b0; + t.upsilonlatin = 0x028a; + t.upsilontonos = 0x03cd; + t.uptackbelowcmb = 0x031d; + t.uptackmod = 0x02d4; + t.uragurmukhi = 0x0a73; + t.uring = 0x016f; + t.ushortcyrillic = 0x045e; + t.usmallhiragana = 0x3045; + t.usmallkatakana = 0x30a5; + t.usmallkatakanahalfwidth = 0xff69; + t.ustraightcyrillic = 0x04af; + t.ustraightstrokecyrillic = 0x04b1; + t.utilde = 0x0169; + t.utildeacute = 0x1e79; + t.utildebelow = 0x1e75; + t.uubengali = 0x098a; + t.uudeva = 0x090a; + t.uugujarati = 0x0a8a; + t.uugurmukhi = 0x0a0a; + t.uumatragurmukhi = 0x0a42; + t.uuvowelsignbengali = 0x09c2; + t.uuvowelsigndeva = 0x0942; + t.uuvowelsigngujarati = 0x0ac2; + t.uvowelsignbengali = 0x09c1; + t.uvowelsigndeva = 0x0941; + t.uvowelsigngujarati = 0x0ac1; + t.v = 0x0076; + t.vadeva = 0x0935; + t.vagujarati = 0x0ab5; + t.vagurmukhi = 0x0a35; + t.vakatakana = 0x30f7; + t.vav = 0x05d5; + t.vavdagesh = 0xfb35; + t.vavdagesh65 = 0xfb35; + t.vavdageshhebrew = 0xfb35; + t.vavhebrew = 0x05d5; + t.vavholam = 0xfb4b; + t.vavholamhebrew = 0xfb4b; + t.vavvavhebrew = 0x05f0; + t.vavyodhebrew = 0x05f1; + t.vcircle = 0x24e5; + t.vdotbelow = 0x1e7f; + t.vecyrillic = 0x0432; + t.veharabic = 0x06a4; + t.vehfinalarabic = 0xfb6b; + t.vehinitialarabic = 0xfb6c; + t.vehmedialarabic = 0xfb6d; + t.vekatakana = 0x30f9; + t.venus = 0x2640; + t.verticalbar = 0x007c; + t.verticallineabovecmb = 0x030d; + t.verticallinebelowcmb = 0x0329; + t.verticallinelowmod = 0x02cc; + t.verticallinemod = 0x02c8; + t.vewarmenian = 0x057e; + t.vhook = 0x028b; + t.vikatakana = 0x30f8; + t.viramabengali = 0x09cd; + t.viramadeva = 0x094d; + t.viramagujarati = 0x0acd; + t.visargabengali = 0x0983; + t.visargadeva = 0x0903; + t.visargagujarati = 0x0a83; + t.vmonospace = 0xff56; + t.voarmenian = 0x0578; + t.voicediterationhiragana = 0x309e; + t.voicediterationkatakana = 0x30fe; + t.voicedmarkkana = 0x309b; + t.voicedmarkkanahalfwidth = 0xff9e; + t.vokatakana = 0x30fa; + t.vparen = 0x24b1; + t.vtilde = 0x1e7d; + t.vturned = 0x028c; + t.vuhiragana = 0x3094; + t.vukatakana = 0x30f4; + t.w = 0x0077; + t.wacute = 0x1e83; + t.waekorean = 0x3159; + t.wahiragana = 0x308f; + t.wakatakana = 0x30ef; + t.wakatakanahalfwidth = 0xff9c; + t.wakorean = 0x3158; + t.wasmallhiragana = 0x308e; + t.wasmallkatakana = 0x30ee; + t.wattosquare = 0x3357; + t.wavedash = 0x301c; + t.wavyunderscorevertical = 0xfe34; + t.wawarabic = 0x0648; + t.wawfinalarabic = 0xfeee; + t.wawhamzaabovearabic = 0x0624; + t.wawhamzaabovefinalarabic = 0xfe86; + t.wbsquare = 0x33dd; + t.wcircle = 0x24e6; + t.wcircumflex = 0x0175; + t.wdieresis = 0x1e85; + t.wdotaccent = 0x1e87; + t.wdotbelow = 0x1e89; + t.wehiragana = 0x3091; + t.weierstrass = 0x2118; + t.wekatakana = 0x30f1; + t.wekorean = 0x315e; + t.weokorean = 0x315d; + t.wgrave = 0x1e81; + t.whitebullet = 0x25e6; + t.whitecircle = 0x25cb; + t.whitecircleinverse = 0x25d9; + t.whitecornerbracketleft = 0x300e; + t.whitecornerbracketleftvertical = 0xfe43; + t.whitecornerbracketright = 0x300f; + t.whitecornerbracketrightvertical = 0xfe44; + t.whitediamond = 0x25c7; + t.whitediamondcontainingblacksmalldiamond = 0x25c8; + t.whitedownpointingsmalltriangle = 0x25bf; + t.whitedownpointingtriangle = 0x25bd; + t.whiteleftpointingsmalltriangle = 0x25c3; + t.whiteleftpointingtriangle = 0x25c1; + t.whitelenticularbracketleft = 0x3016; + t.whitelenticularbracketright = 0x3017; + t.whiterightpointingsmalltriangle = 0x25b9; + t.whiterightpointingtriangle = 0x25b7; + t.whitesmallsquare = 0x25ab; + t.whitesmilingface = 0x263a; + t.whitesquare = 0x25a1; + t.whitestar = 0x2606; + t.whitetelephone = 0x260f; + t.whitetortoiseshellbracketleft = 0x3018; + t.whitetortoiseshellbracketright = 0x3019; + t.whiteuppointingsmalltriangle = 0x25b5; + t.whiteuppointingtriangle = 0x25b3; + t.wihiragana = 0x3090; + t.wikatakana = 0x30f0; + t.wikorean = 0x315f; + t.wmonospace = 0xff57; + t.wohiragana = 0x3092; + t.wokatakana = 0x30f2; + t.wokatakanahalfwidth = 0xff66; + t.won = 0x20a9; + t.wonmonospace = 0xffe6; + t.wowaenthai = 0x0e27; + t.wparen = 0x24b2; + t.wring = 0x1e98; + t.wsuperior = 0x02b7; + t.wturned = 0x028d; + t.wynn = 0x01bf; + t.x = 0x0078; + t.xabovecmb = 0x033d; + t.xbopomofo = 0x3112; + t.xcircle = 0x24e7; + t.xdieresis = 0x1e8d; + t.xdotaccent = 0x1e8b; + t.xeharmenian = 0x056d; + t.xi = 0x03be; + t.xmonospace = 0xff58; + t.xparen = 0x24b3; + t.xsuperior = 0x02e3; + t.y = 0x0079; + t.yaadosquare = 0x334e; + t.yabengali = 0x09af; + t.yacute = 0x00fd; + t.yadeva = 0x092f; + t.yaekorean = 0x3152; + t.yagujarati = 0x0aaf; + t.yagurmukhi = 0x0a2f; + t.yahiragana = 0x3084; + t.yakatakana = 0x30e4; + t.yakatakanahalfwidth = 0xff94; + t.yakorean = 0x3151; + t.yamakkanthai = 0x0e4e; + t.yasmallhiragana = 0x3083; + t.yasmallkatakana = 0x30e3; + t.yasmallkatakanahalfwidth = 0xff6c; + t.yatcyrillic = 0x0463; + t.ycircle = 0x24e8; + t.ycircumflex = 0x0177; + t.ydieresis = 0x00ff; + t.ydotaccent = 0x1e8f; + t.ydotbelow = 0x1ef5; + t.yeharabic = 0x064a; + t.yehbarreearabic = 0x06d2; + t.yehbarreefinalarabic = 0xfbaf; + t.yehfinalarabic = 0xfef2; + t.yehhamzaabovearabic = 0x0626; + t.yehhamzaabovefinalarabic = 0xfe8a; + t.yehhamzaaboveinitialarabic = 0xfe8b; + t.yehhamzaabovemedialarabic = 0xfe8c; + t.yehinitialarabic = 0xfef3; + t.yehmedialarabic = 0xfef4; + t.yehmeeminitialarabic = 0xfcdd; + t.yehmeemisolatedarabic = 0xfc58; + t.yehnoonfinalarabic = 0xfc94; + t.yehthreedotsbelowarabic = 0x06d1; + t.yekorean = 0x3156; + t.yen = 0x00a5; + t.yenmonospace = 0xffe5; + t.yeokorean = 0x3155; + t.yeorinhieuhkorean = 0x3186; + t.yerahbenyomohebrew = 0x05aa; + t.yerahbenyomolefthebrew = 0x05aa; + t.yericyrillic = 0x044b; + t.yerudieresiscyrillic = 0x04f9; + t.yesieungkorean = 0x3181; + t.yesieungpansioskorean = 0x3183; + t.yesieungsioskorean = 0x3182; + t.yetivhebrew = 0x059a; + t.ygrave = 0x1ef3; + t.yhook = 0x01b4; + t.yhookabove = 0x1ef7; + t.yiarmenian = 0x0575; + t.yicyrillic = 0x0457; + t.yikorean = 0x3162; + t.yinyang = 0x262f; + t.yiwnarmenian = 0x0582; + t.ymonospace = 0xff59; + t.yod = 0x05d9; + t.yoddagesh = 0xfb39; + t.yoddageshhebrew = 0xfb39; + t.yodhebrew = 0x05d9; + t.yodyodhebrew = 0x05f2; + t.yodyodpatahhebrew = 0xfb1f; + t.yohiragana = 0x3088; + t.yoikorean = 0x3189; + t.yokatakana = 0x30e8; + t.yokatakanahalfwidth = 0xff96; + t.yokorean = 0x315b; + t.yosmallhiragana = 0x3087; + t.yosmallkatakana = 0x30e7; + t.yosmallkatakanahalfwidth = 0xff6e; + t.yotgreek = 0x03f3; + t.yoyaekorean = 0x3188; + t.yoyakorean = 0x3187; + t.yoyakthai = 0x0e22; + t.yoyingthai = 0x0e0d; + t.yparen = 0x24b4; + t.ypogegrammeni = 0x037a; + t.ypogegrammenigreekcmb = 0x0345; + t.yr = 0x01a6; + t.yring = 0x1e99; + t.ysuperior = 0x02b8; + t.ytilde = 0x1ef9; + t.yturned = 0x028e; + t.yuhiragana = 0x3086; + t.yuikorean = 0x318c; + t.yukatakana = 0x30e6; + t.yukatakanahalfwidth = 0xff95; + t.yukorean = 0x3160; + t.yusbigcyrillic = 0x046b; + t.yusbigiotifiedcyrillic = 0x046d; + t.yuslittlecyrillic = 0x0467; + t.yuslittleiotifiedcyrillic = 0x0469; + t.yusmallhiragana = 0x3085; + t.yusmallkatakana = 0x30e5; + t.yusmallkatakanahalfwidth = 0xff6d; + t.yuyekorean = 0x318b; + t.yuyeokorean = 0x318a; + t.yyabengali = 0x09df; + t.yyadeva = 0x095f; + t.z = 0x007a; + t.zaarmenian = 0x0566; + t.zacute = 0x017a; + t.zadeva = 0x095b; + t.zagurmukhi = 0x0a5b; + t.zaharabic = 0x0638; + t.zahfinalarabic = 0xfec6; + t.zahinitialarabic = 0xfec7; + t.zahiragana = 0x3056; + t.zahmedialarabic = 0xfec8; + t.zainarabic = 0x0632; + t.zainfinalarabic = 0xfeb0; + t.zakatakana = 0x30b6; + t.zaqefgadolhebrew = 0x0595; + t.zaqefqatanhebrew = 0x0594; + t.zarqahebrew = 0x0598; + t.zayin = 0x05d6; + t.zayindagesh = 0xfb36; + t.zayindageshhebrew = 0xfb36; + t.zayinhebrew = 0x05d6; + t.zbopomofo = 0x3117; + t.zcaron = 0x017e; + t.zcircle = 0x24e9; + t.zcircumflex = 0x1e91; + t.zcurl = 0x0291; + t.zdot = 0x017c; + t.zdotaccent = 0x017c; + t.zdotbelow = 0x1e93; + t.zecyrillic = 0x0437; + t.zedescendercyrillic = 0x0499; + t.zedieresiscyrillic = 0x04df; + t.zehiragana = 0x305c; + t.zekatakana = 0x30bc; + t.zero = 0x0030; + t.zeroarabic = 0x0660; + t.zerobengali = 0x09e6; + t.zerodeva = 0x0966; + t.zerogujarati = 0x0ae6; + t.zerogurmukhi = 0x0a66; + t.zerohackarabic = 0x0660; + t.zeroinferior = 0x2080; + t.zeromonospace = 0xff10; + t.zerooldstyle = 0xf730; + t.zeropersian = 0x06f0; + t.zerosuperior = 0x2070; + t.zerothai = 0x0e50; + t.zerowidthjoiner = 0xfeff; + t.zerowidthnonjoiner = 0x200c; + t.zerowidthspace = 0x200b; + t.zeta = 0x03b6; + t.zhbopomofo = 0x3113; + t.zhearmenian = 0x056a; + t.zhebrevecyrillic = 0x04c2; + t.zhecyrillic = 0x0436; + t.zhedescendercyrillic = 0x0497; + t.zhedieresiscyrillic = 0x04dd; + t.zihiragana = 0x3058; + t.zikatakana = 0x30b8; + t.zinorhebrew = 0x05ae; + t.zlinebelow = 0x1e95; + t.zmonospace = 0xff5a; + t.zohiragana = 0x305e; + t.zokatakana = 0x30be; + t.zparen = 0x24b5; + t.zretroflexhook = 0x0290; + t.zstroke = 0x01b6; + t.zuhiragana = 0x305a; + t.zukatakana = 0x30ba; + t[".notdef"] = 0x0000; + t.angbracketleftbig = 0x2329; + t.angbracketleftBig = 0x2329; + t.angbracketleftbigg = 0x2329; + t.angbracketleftBigg = 0x2329; + t.angbracketrightBig = 0x232a; + t.angbracketrightbig = 0x232a; + t.angbracketrightBigg = 0x232a; + t.angbracketrightbigg = 0x232a; + t.arrowhookleft = 0x21aa; + t.arrowhookright = 0x21a9; + t.arrowlefttophalf = 0x21bc; + t.arrowleftbothalf = 0x21bd; + t.arrownortheast = 0x2197; + t.arrownorthwest = 0x2196; + t.arrowrighttophalf = 0x21c0; + t.arrowrightbothalf = 0x21c1; + t.arrowsoutheast = 0x2198; + t.arrowsouthwest = 0x2199; + t.backslashbig = 0x2216; + t.backslashBig = 0x2216; + t.backslashBigg = 0x2216; + t.backslashbigg = 0x2216; + t.bardbl = 0x2016; + t.bracehtipdownleft = 0xfe37; + t.bracehtipdownright = 0xfe37; + t.bracehtipupleft = 0xfe38; + t.bracehtipupright = 0xfe38; + t.braceleftBig = 0x007b; + t.braceleftbig = 0x007b; + t.braceleftbigg = 0x007b; + t.braceleftBigg = 0x007b; + t.bracerightBig = 0x007d; + t.bracerightbig = 0x007d; + t.bracerightbigg = 0x007d; + t.bracerightBigg = 0x007d; + t.bracketleftbig = 0x005b; + t.bracketleftBig = 0x005b; + t.bracketleftbigg = 0x005b; + t.bracketleftBigg = 0x005b; + t.bracketrightBig = 0x005d; + t.bracketrightbig = 0x005d; + t.bracketrightbigg = 0x005d; + t.bracketrightBigg = 0x005d; + t.ceilingleftbig = 0x2308; + t.ceilingleftBig = 0x2308; + t.ceilingleftBigg = 0x2308; + t.ceilingleftbigg = 0x2308; + t.ceilingrightbig = 0x2309; + t.ceilingrightBig = 0x2309; + t.ceilingrightbigg = 0x2309; + t.ceilingrightBigg = 0x2309; + t.circledotdisplay = 0x2299; + t.circledottext = 0x2299; + t.circlemultiplydisplay = 0x2297; + t.circlemultiplytext = 0x2297; + t.circleplusdisplay = 0x2295; + t.circleplustext = 0x2295; + t.contintegraldisplay = 0x222e; + t.contintegraltext = 0x222e; + t.coproductdisplay = 0x2210; + t.coproducttext = 0x2210; + t.floorleftBig = 0x230a; + t.floorleftbig = 0x230a; + t.floorleftbigg = 0x230a; + t.floorleftBigg = 0x230a; + t.floorrightbig = 0x230b; + t.floorrightBig = 0x230b; + t.floorrightBigg = 0x230b; + t.floorrightbigg = 0x230b; + t.hatwide = 0x0302; + t.hatwider = 0x0302; + t.hatwidest = 0x0302; + t.intercal = 0x1d40; + t.integraldisplay = 0x222b; + t.integraltext = 0x222b; + t.intersectiondisplay = 0x22c2; + t.intersectiontext = 0x22c2; + t.logicalanddisplay = 0x2227; + t.logicalandtext = 0x2227; + t.logicalordisplay = 0x2228; + t.logicalortext = 0x2228; + t.parenleftBig = 0x0028; + t.parenleftbig = 0x0028; + t.parenleftBigg = 0x0028; + t.parenleftbigg = 0x0028; + t.parenrightBig = 0x0029; + t.parenrightbig = 0x0029; + t.parenrightBigg = 0x0029; + t.parenrightbigg = 0x0029; + t.prime = 0x2032; + t.productdisplay = 0x220f; + t.producttext = 0x220f; + t.radicalbig = 0x221a; + t.radicalBig = 0x221a; + t.radicalBigg = 0x221a; + t.radicalbigg = 0x221a; + t.radicalbt = 0x221a; + t.radicaltp = 0x221a; + t.radicalvertex = 0x221a; + t.slashbig = 0x002f; + t.slashBig = 0x002f; + t.slashBigg = 0x002f; + t.slashbigg = 0x002f; + t.summationdisplay = 0x2211; + t.summationtext = 0x2211; + t.tildewide = 0x02dc; + t.tildewider = 0x02dc; + t.tildewidest = 0x02dc; + t.uniondisplay = 0x22c3; + t.unionmultidisplay = 0x228e; + t.unionmultitext = 0x228e; + t.unionsqdisplay = 0x2294; + t.unionsqtext = 0x2294; + t.uniontext = 0x22c3; + t.vextenddouble = 0x2225; + t.vextendsingle = 0x2223; +}); +const getDingbatsGlyphsUnicode = (0,_core_utils_js__WEBPACK_IMPORTED_MODULE_0__.getLookupTableFactory)(function (t) { + t.space = 0x0020; + t.a1 = 0x2701; + t.a2 = 0x2702; + t.a202 = 0x2703; + t.a3 = 0x2704; + t.a4 = 0x260e; + t.a5 = 0x2706; + t.a119 = 0x2707; + t.a118 = 0x2708; + t.a117 = 0x2709; + t.a11 = 0x261b; + t.a12 = 0x261e; + t.a13 = 0x270c; + t.a14 = 0x270d; + t.a15 = 0x270e; + t.a16 = 0x270f; + t.a105 = 0x2710; + t.a17 = 0x2711; + t.a18 = 0x2712; + t.a19 = 0x2713; + t.a20 = 0x2714; + t.a21 = 0x2715; + t.a22 = 0x2716; + t.a23 = 0x2717; + t.a24 = 0x2718; + t.a25 = 0x2719; + t.a26 = 0x271a; + t.a27 = 0x271b; + t.a28 = 0x271c; + t.a6 = 0x271d; + t.a7 = 0x271e; + t.a8 = 0x271f; + t.a9 = 0x2720; + t.a10 = 0x2721; + t.a29 = 0x2722; + t.a30 = 0x2723; + t.a31 = 0x2724; + t.a32 = 0x2725; + t.a33 = 0x2726; + t.a34 = 0x2727; + t.a35 = 0x2605; + t.a36 = 0x2729; + t.a37 = 0x272a; + t.a38 = 0x272b; + t.a39 = 0x272c; + t.a40 = 0x272d; + t.a41 = 0x272e; + t.a42 = 0x272f; + t.a43 = 0x2730; + t.a44 = 0x2731; + t.a45 = 0x2732; + t.a46 = 0x2733; + t.a47 = 0x2734; + t.a48 = 0x2735; + t.a49 = 0x2736; + t.a50 = 0x2737; + t.a51 = 0x2738; + t.a52 = 0x2739; + t.a53 = 0x273a; + t.a54 = 0x273b; + t.a55 = 0x273c; + t.a56 = 0x273d; + t.a57 = 0x273e; + t.a58 = 0x273f; + t.a59 = 0x2740; + t.a60 = 0x2741; + t.a61 = 0x2742; + t.a62 = 0x2743; + t.a63 = 0x2744; + t.a64 = 0x2745; + t.a65 = 0x2746; + t.a66 = 0x2747; + t.a67 = 0x2748; + t.a68 = 0x2749; + t.a69 = 0x274a; + t.a70 = 0x274b; + t.a71 = 0x25cf; + t.a72 = 0x274d; + t.a73 = 0x25a0; + t.a74 = 0x274f; + t.a203 = 0x2750; + t.a75 = 0x2751; + t.a204 = 0x2752; + t.a76 = 0x25b2; + t.a77 = 0x25bc; + t.a78 = 0x25c6; + t.a79 = 0x2756; + t.a81 = 0x25d7; + t.a82 = 0x2758; + t.a83 = 0x2759; + t.a84 = 0x275a; + t.a97 = 0x275b; + t.a98 = 0x275c; + t.a99 = 0x275d; + t.a100 = 0x275e; + t.a101 = 0x2761; + t.a102 = 0x2762; + t.a103 = 0x2763; + t.a104 = 0x2764; + t.a106 = 0x2765; + t.a107 = 0x2766; + t.a108 = 0x2767; + t.a112 = 0x2663; + t.a111 = 0x2666; + t.a110 = 0x2665; + t.a109 = 0x2660; + t.a120 = 0x2460; + t.a121 = 0x2461; + t.a122 = 0x2462; + t.a123 = 0x2463; + t.a124 = 0x2464; + t.a125 = 0x2465; + t.a126 = 0x2466; + t.a127 = 0x2467; + t.a128 = 0x2468; + t.a129 = 0x2469; + t.a130 = 0x2776; + t.a131 = 0x2777; + t.a132 = 0x2778; + t.a133 = 0x2779; + t.a134 = 0x277a; + t.a135 = 0x277b; + t.a136 = 0x277c; + t.a137 = 0x277d; + t.a138 = 0x277e; + t.a139 = 0x277f; + t.a140 = 0x2780; + t.a141 = 0x2781; + t.a142 = 0x2782; + t.a143 = 0x2783; + t.a144 = 0x2784; + t.a145 = 0x2785; + t.a146 = 0x2786; + t.a147 = 0x2787; + t.a148 = 0x2788; + t.a149 = 0x2789; + t.a150 = 0x278a; + t.a151 = 0x278b; + t.a152 = 0x278c; + t.a153 = 0x278d; + t.a154 = 0x278e; + t.a155 = 0x278f; + t.a156 = 0x2790; + t.a157 = 0x2791; + t.a158 = 0x2792; + t.a159 = 0x2793; + t.a160 = 0x2794; + t.a161 = 0x2192; + t.a163 = 0x2194; + t.a164 = 0x2195; + t.a196 = 0x2798; + t.a165 = 0x2799; + t.a192 = 0x279a; + t.a166 = 0x279b; + t.a167 = 0x279c; + t.a168 = 0x279d; + t.a169 = 0x279e; + t.a170 = 0x279f; + t.a171 = 0x27a0; + t.a172 = 0x27a1; + t.a173 = 0x27a2; + t.a162 = 0x27a3; + t.a174 = 0x27a4; + t.a175 = 0x27a5; + t.a176 = 0x27a6; + t.a177 = 0x27a7; + t.a178 = 0x27a8; + t.a179 = 0x27a9; + t.a193 = 0x27aa; + t.a180 = 0x27ab; + t.a199 = 0x27ac; + t.a181 = 0x27ad; + t.a200 = 0x27ae; + t.a182 = 0x27af; + t.a201 = 0x27b1; + t.a183 = 0x27b2; + t.a184 = 0x27b3; + t.a197 = 0x27b4; + t.a185 = 0x27b5; + t.a194 = 0x27b6; + t.a198 = 0x27b7; + t.a186 = 0x27b8; + t.a195 = 0x27b9; + t.a187 = 0x27ba; + t.a188 = 0x27bb; + t.a189 = 0x27bc; + t.a190 = 0x27bd; + t.a191 = 0x27be; + t.a89 = 0x2768; + t.a90 = 0x2769; + t.a93 = 0x276a; + t.a94 = 0x276b; + t.a91 = 0x276c; + t.a92 = 0x276d; + t.a205 = 0x276e; + t.a85 = 0x276f; + t.a206 = 0x2770; + t.a86 = 0x2771; + t.a87 = 0x2772; + t.a88 = 0x2773; + t.a95 = 0x2774; + t.a96 = 0x2775; + t[".notdef"] = 0x0000; +}); -const getStdFontMap = getLookupTableFactory(function (t) { +/***/ }), +/* 40 */ +/***/ ((__unused_webpack_module, __webpack_exports__, __w_pdfjs_require__) => { + +__w_pdfjs_require__.r(__webpack_exports__); +/* harmony export */ __w_pdfjs_require__.d(__webpack_exports__, { +/* harmony export */ clearUnicodeCaches: () => (/* binding */ clearUnicodeCaches), +/* harmony export */ getCharUnicodeCategory: () => (/* binding */ getCharUnicodeCategory), +/* harmony export */ getUnicodeForGlyph: () => (/* binding */ getUnicodeForGlyph), +/* harmony export */ getUnicodeRangeFor: () => (/* binding */ getUnicodeRangeFor), +/* harmony export */ mapSpecialUnicodeValues: () => (/* binding */ mapSpecialUnicodeValues) +/* harmony export */ }); +/* harmony import */ var _core_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __w_pdfjs_require__(3); + +const getSpecialPUASymbols = (0,_core_utils_js__WEBPACK_IMPORTED_MODULE_0__.getLookupTableFactory)(function (t) { + t[63721] = 0x00a9; + t[63193] = 0x00a9; + t[63720] = 0x00ae; + t[63194] = 0x00ae; + t[63722] = 0x2122; + t[63195] = 0x2122; + t[63729] = 0x23a7; + t[63730] = 0x23a8; + t[63731] = 0x23a9; + t[63740] = 0x23ab; + t[63741] = 0x23ac; + t[63742] = 0x23ad; + t[63726] = 0x23a1; + t[63727] = 0x23a2; + t[63728] = 0x23a3; + t[63737] = 0x23a4; + t[63738] = 0x23a5; + t[63739] = 0x23a6; + t[63723] = 0x239b; + t[63724] = 0x239c; + t[63725] = 0x239d; + t[63734] = 0x239e; + t[63735] = 0x239f; + t[63736] = 0x23a0; +}); +function mapSpecialUnicodeValues(code) { + if (code >= 0xfff0 && code <= 0xffff) { + return 0; + } else if (code >= 0xf600 && code <= 0xf8ff) { + return getSpecialPUASymbols()[code] || code; + } else if (code === 0x00ad) { + return 0x002d; + } + return code; +} +function getUnicodeForGlyph(name, glyphsUnicodeMap) { + let unicode = glyphsUnicodeMap[name]; + if (unicode !== undefined) { + return unicode; + } + if (!name) { + return -1; + } + if (name[0] === "u") { + const nameLen = name.length; + let hexStr; + if (nameLen === 7 && name[1] === "n" && name[2] === "i") { + hexStr = name.substring(3); + } else if (nameLen >= 5 && nameLen <= 7) { + hexStr = name.substring(1); + } else { + return -1; + } + if (hexStr === hexStr.toUpperCase()) { + unicode = parseInt(hexStr, 16); + if (unicode >= 0) { + return unicode; + } + } + } + return -1; +} +const UnicodeRanges = [ + [ + 0x0000, + 0x007f + ], + [ + 0x0080, + 0x00ff + ], + [ + 0x0100, + 0x017f + ], + [ + 0x0180, + 0x024f + ], + [ + 0x0250, + 0x02af, + 0x1d00, + 0x1d7f, + 0x1d80, + 0x1dbf + ], + [ + 0x02b0, + 0x02ff, + 0xa700, + 0xa71f + ], + [ + 0x0300, + 0x036f, + 0x1dc0, + 0x1dff + ], + [ + 0x0370, + 0x03ff + ], + [ + 0x2c80, + 0x2cff + ], + [ + 0x0400, + 0x04ff, + 0x0500, + 0x052f, + 0x2de0, + 0x2dff, + 0xa640, + 0xa69f + ], + [ + 0x0530, + 0x058f + ], + [ + 0x0590, + 0x05ff + ], + [ + 0xa500, + 0xa63f + ], + [ + 0x0600, + 0x06ff, + 0x0750, + 0x077f + ], + [ + 0x07c0, + 0x07ff + ], + [ + 0x0900, + 0x097f + ], + [ + 0x0980, + 0x09ff + ], + [ + 0x0a00, + 0x0a7f + ], + [ + 0x0a80, + 0x0aff + ], + [ + 0x0b00, + 0x0b7f + ], + [ + 0x0b80, + 0x0bff + ], + [ + 0x0c00, + 0x0c7f + ], + [ + 0x0c80, + 0x0cff + ], + [ + 0x0d00, + 0x0d7f + ], + [ + 0x0e00, + 0x0e7f + ], + [ + 0x0e80, + 0x0eff + ], + [ + 0x10a0, + 0x10ff, + 0x2d00, + 0x2d2f + ], + [ + 0x1b00, + 0x1b7f + ], + [ + 0x1100, + 0x11ff + ], + [ + 0x1e00, + 0x1eff, + 0x2c60, + 0x2c7f, + 0xa720, + 0xa7ff + ], + [ + 0x1f00, + 0x1fff + ], + [ + 0x2000, + 0x206f, + 0x2e00, + 0x2e7f + ], + [ + 0x2070, + 0x209f + ], + [ + 0x20a0, + 0x20cf + ], + [ + 0x20d0, + 0x20ff + ], + [ + 0x2100, + 0x214f + ], + [ + 0x2150, + 0x218f + ], + [ + 0x2190, + 0x21ff, + 0x27f0, + 0x27ff, + 0x2900, + 0x297f, + 0x2b00, + 0x2bff + ], + [ + 0x2200, + 0x22ff, + 0x2a00, + 0x2aff, + 0x27c0, + 0x27ef, + 0x2980, + 0x29ff + ], + [ + 0x2300, + 0x23ff + ], + [ + 0x2400, + 0x243f + ], + [ + 0x2440, + 0x245f + ], + [ + 0x2460, + 0x24ff + ], + [ + 0x2500, + 0x257f + ], + [ + 0x2580, + 0x259f + ], + [ + 0x25a0, + 0x25ff + ], + [ + 0x2600, + 0x26ff + ], + [ + 0x2700, + 0x27bf + ], + [ + 0x3000, + 0x303f + ], + [ + 0x3040, + 0x309f + ], + [ + 0x30a0, + 0x30ff, + 0x31f0, + 0x31ff + ], + [ + 0x3100, + 0x312f, + 0x31a0, + 0x31bf + ], + [ + 0x3130, + 0x318f + ], + [ + 0xa840, + 0xa87f + ], + [ + 0x3200, + 0x32ff + ], + [ + 0x3300, + 0x33ff + ], + [ + 0xac00, + 0xd7af + ], + [ + 0xd800, + 0xdfff + ], + [ + 0x10900, + 0x1091f + ], + [ + 0x4e00, + 0x9fff, + 0x2e80, + 0x2eff, + 0x2f00, + 0x2fdf, + 0x2ff0, + 0x2fff, + 0x3400, + 0x4dbf, + 0x20000, + 0x2a6df, + 0x3190, + 0x319f + ], + [ + 0xe000, + 0xf8ff + ], + [ + 0x31c0, + 0x31ef, + 0xf900, + 0xfaff, + 0x2f800, + 0x2fa1f + ], + [ + 0xfb00, + 0xfb4f + ], + [ + 0xfb50, + 0xfdff + ], + [ + 0xfe20, + 0xfe2f + ], + [ + 0xfe10, + 0xfe1f + ], + [ + 0xfe50, + 0xfe6f + ], + [ + 0xfe70, + 0xfeff + ], + [ + 0xff00, + 0xffef + ], + [ + 0xfff0, + 0xffff + ], + [ + 0x0f00, + 0x0fff + ], + [ + 0x0700, + 0x074f + ], + [ + 0x0780, + 0x07bf + ], + [ + 0x0d80, + 0x0dff + ], + [ + 0x1000, + 0x109f + ], + [ + 0x1200, + 0x137f, + 0x1380, + 0x139f, + 0x2d80, + 0x2ddf + ], + [ + 0x13a0, + 0x13ff + ], + [ + 0x1400, + 0x167f + ], + [ + 0x1680, + 0x169f + ], + [ + 0x16a0, + 0x16ff + ], + [ + 0x1780, + 0x17ff + ], + [ + 0x1800, + 0x18af + ], + [ + 0x2800, + 0x28ff + ], + [ + 0xa000, + 0xa48f + ], + [ + 0x1700, + 0x171f, + 0x1720, + 0x173f, + 0x1740, + 0x175f, + 0x1760, + 0x177f + ], + [ + 0x10300, + 0x1032f + ], + [ + 0x10330, + 0x1034f + ], + [ + 0x10400, + 0x1044f + ], + [ + 0x1d000, + 0x1d0ff, + 0x1d100, + 0x1d1ff, + 0x1d200, + 0x1d24f + ], + [ + 0x1d400, + 0x1d7ff + ], + [ + 0xff000, + 0xffffd + ], + [ + 0xfe00, + 0xfe0f, + 0xe0100, + 0xe01ef + ], + [ + 0xe0000, + 0xe007f + ], + [ + 0x1900, + 0x194f + ], + [ + 0x1950, + 0x197f + ], + [ + 0x1980, + 0x19df + ], + [ + 0x1a00, + 0x1a1f + ], + [ + 0x2c00, + 0x2c5f + ], + [ + 0x2d30, + 0x2d7f + ], + [ + 0x4dc0, + 0x4dff + ], + [ + 0xa800, + 0xa82f + ], + [ + 0x10000, + 0x1007f, + 0x10080, + 0x100ff, + 0x10100, + 0x1013f + ], + [ + 0x10140, + 0x1018f + ], + [ + 0x10380, + 0x1039f + ], + [ + 0x103a0, + 0x103df + ], + [ + 0x10450, + 0x1047f + ], + [ + 0x10480, + 0x104af + ], + [ + 0x10800, + 0x1083f + ], + [ + 0x10a00, + 0x10a5f + ], + [ + 0x1d300, + 0x1d35f + ], + [ + 0x12000, + 0x123ff, + 0x12400, + 0x1247f + ], + [ + 0x1d360, + 0x1d37f + ], + [ + 0x1b80, + 0x1bbf + ], + [ + 0x1c00, + 0x1c4f + ], + [ + 0x1c50, + 0x1c7f + ], + [ + 0xa880, + 0xa8df + ], + [ + 0xa900, + 0xa92f + ], + [ + 0xa930, + 0xa95f + ], + [ + 0xaa00, + 0xaa5f + ], + [ + 0x10190, + 0x101cf + ], + [ + 0x101d0, + 0x101ff + ], + [ + 0x102a0, + 0x102df, + 0x10280, + 0x1029f, + 0x10920, + 0x1093f + ], + [ + 0x1f030, + 0x1f09f, + 0x1f000, + 0x1f02f + ] +]; +function getUnicodeRangeFor(value, lastPosition = -1) { + if (lastPosition !== -1) { + const range = UnicodeRanges[lastPosition]; + for (let i = 0, ii = range.length; i < ii; i += 2) { + if (value >= range[i] && value <= range[i + 1]) { + return lastPosition; + } + } + } + for (let i = 0, ii = UnicodeRanges.length; i < ii; i++) { + const range = UnicodeRanges[i]; + for (let j = 0, jj = range.length; j < jj; j += 2) { + if (value >= range[j] && value <= range[j + 1]) { + return i; + } + } + } + return -1; +} +const SpecialCharRegExp = new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$", "u"); +const CategoryCache = new Map(); +function getCharUnicodeCategory(char) { + const cachedCategory = CategoryCache.get(char); + if (cachedCategory) { + return cachedCategory; + } + const groups = char.match(SpecialCharRegExp); + const category = { + isWhitespace: !!groups?.[1], + isZeroWidthDiacritic: !!groups?.[2], + isInvisibleFormatMark: !!groups?.[3] + }; + CategoryCache.set(char, category); + return category; +} +function clearUnicodeCaches() { + CategoryCache.clear(); +} + + +/***/ }), +/* 41 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getSerifFonts = exports.getNonStdFontMap = exports.getGlyphMapForStandardFonts = exports.getFontNameToFileMap = void 0; +exports.getStandardFontName = getStandardFontName; +exports.getSymbolsFonts = exports.getSupplementalGlyphMapForCalibri = exports.getSupplementalGlyphMapForArialBlack = exports.getStdFontMap = void 0; +exports.isKnownFontName = isKnownFontName; +var _core_utils = __w_pdfjs_require__(3); +var _fonts_utils = __w_pdfjs_require__(38); +const getStdFontMap = (0, _core_utils.getLookupTableFactory)(function (t) { t["Times-Roman"] = "Times-Roman"; t.Helvetica = "Helvetica"; t.Courier = "Courier"; @@ -20931,7 +30628,8 @@ const getStdFontMap = getLookupTableFactory(function (t) { t["TimesNewRomanPSMT-BoldItalic"] = "Times-BoldItalic"; t["TimesNewRomanPSMT-Italic"] = "Times-Italic"; }); -const getFontNameToFileMap = getLookupTableFactory(function (t) { +exports.getStdFontMap = getStdFontMap; +const getFontNameToFileMap = (0, _core_utils.getLookupTableFactory)(function (t) { t.Courier = "FoxitFixed.pfb"; t["Courier-Bold"] = "FoxitFixedBold.pfb"; t["Courier-BoldOblique"] = "FoxitFixedBoldItalic.pfb"; @@ -20951,7 +30649,8 @@ const getFontNameToFileMap = getLookupTableFactory(function (t) { t["LiberationSans-Italic"] = "LiberationSans-Italic.ttf"; t["LiberationSans-BoldItalic"] = "LiberationSans-BoldItalic.ttf"; }); -const getNonStdFontMap = getLookupTableFactory(function (t) { +exports.getFontNameToFileMap = getFontNameToFileMap; +const getNonStdFontMap = (0, _core_utils.getLookupTableFactory)(function (t) { t.Calibri = "Helvetica"; t["Calibri-Bold"] = "Helvetica-Bold"; t["Calibri-BoldItalic"] = "Helvetica-BoldOblique"; @@ -20995,7 +30694,8 @@ const getNonStdFontMap = getLookupTableFactory(function (t) { t.NuptialScript = "Times-Italic"; t.SegoeUISymbol = "Helvetica"; }); -const getSerifFonts = getLookupTableFactory(function (t) { +exports.getNonStdFontMap = getNonStdFontMap; +const getSerifFonts = (0, _core_utils.getLookupTableFactory)(function (t) { t["Adobe Jenson"] = true; t["Adobe Text"] = true; t.Albertus = true; @@ -21131,7 +30831,8 @@ const getSerifFonts = getLookupTableFactory(function (t) { t.Windsor = true; t.XITS = true; }); -const getSymbolsFonts = getLookupTableFactory(function (t) { +exports.getSerifFonts = getSerifFonts; +const getSymbolsFonts = (0, _core_utils.getLookupTableFactory)(function (t) { t.Dingbats = true; t.Symbol = true; t.ZapfDingbats = true; @@ -21139,7 +30840,8 @@ const getSymbolsFonts = getLookupTableFactory(function (t) { t["Wingdings-Bold"] = true; t["Wingdings-Regular"] = true; }); -const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) { +exports.getSymbolsFonts = getSymbolsFonts; +const getGlyphMapForStandardFonts = (0, _core_utils.getLookupTableFactory)(function (t) { t[2] = 10; t[3] = 32; t[4] = 33; @@ -21573,12 +31275,14 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) { t[3393] = 1159; t[3416] = 8377; }); -const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(function (t) { +exports.getGlyphMapForStandardFonts = getGlyphMapForStandardFonts; +const getSupplementalGlyphMapForArialBlack = (0, _core_utils.getLookupTableFactory)(function (t) { t[227] = 322; t[264] = 261; t[291] = 346; }); -const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) { +exports.getSupplementalGlyphMapForArialBlack = getSupplementalGlyphMapForArialBlack; +const getSupplementalGlyphMapForCalibri = (0, _core_utils.getLookupTableFactory)(function (t) { t[1] = 32; t[4] = 65; t[5] = 192; @@ -21696,18 +31400,28 @@ const getSupplementalGlyphMapForCalibri = getLookupTableFactory(function (t) { t[1085] = 43; t[1086] = 45; }); +exports.getSupplementalGlyphMapForCalibri = getSupplementalGlyphMapForCalibri; function getStandardFontName(name) { - const fontName = normalizeFontName(name); + const fontName = (0, _fonts_utils.normalizeFontName)(name); const stdFontMap = getStdFontMap(); return stdFontMap[fontName]; } function isKnownFontName(name) { - const fontName = normalizeFontName(name); + const fontName = (0, _fonts_utils.normalizeFontName)(name); return !!(getStdFontMap()[fontName] || getNonStdFontMap()[fontName] || getSerifFonts()[fontName] || getSymbolsFonts()[fontName]); } -;// CONCATENATED MODULE: ./src/core/to_unicode_map.js +/***/ }), +/* 42 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ToUnicodeMap = exports.IdentityToUnicodeMap = void 0; +var _util = __w_pdfjs_require__(2); class ToUnicodeMap { constructor(cmap = []) { this._map = cmap; @@ -21744,6 +31458,7 @@ class ToUnicodeMap { } } } +exports.ToUnicodeMap = ToUnicodeMap; class IdentityToUnicodeMap { constructor(firstChar, lastChar) { this.firstChar = firstChar; @@ -21770,26 +31485,36 @@ class IdentityToUnicodeMap { return Number.isInteger(v) && v >= this.firstChar && v <= this.lastChar ? v : -1; } amend(map) { - unreachable("Should not call amend()"); + (0, _util.unreachable)("Should not call amend()"); } } +exports.IdentityToUnicodeMap = IdentityToUnicodeMap; -;// CONCATENATED MODULE: ./src/core/cff_font.js +/***/ }), +/* 43 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CFFFont = void 0; +var _cff_parser = __w_pdfjs_require__(35); +var _fonts_utils = __w_pdfjs_require__(38); +var _util = __w_pdfjs_require__(2); class CFFFont { constructor(file, properties) { this.properties = properties; - const parser = new CFFParser(file, properties, SEAC_ANALYSIS_ENABLED); + const parser = new _cff_parser.CFFParser(file, properties, _fonts_utils.SEAC_ANALYSIS_ENABLED); this.cff = parser.parse(); this.cff.duplicateFirstGlyph(); - const compiler = new CFFCompiler(this.cff); + const compiler = new _cff_parser.CFFCompiler(this.cff); this.seacs = this.cff.seacs; try { this.data = compiler.compile(); } catch { - warn("Failed to compile font " + properties.loadedName); + (0, _util.warn)("Failed to compile font " + properties.loadedName); this.data = file; } this._createBuiltInEncoding(); @@ -21844,7 +31569,7 @@ class CFFFont { if (properties.isInternalFont) { encoding = properties.defaultEncoding; } - charCodeToGlyphId = type1FontGlyphMapping(properties, encoding, charsets); + charCodeToGlyphId = (0, _fonts_utils.type1FontGlyphMapping)(properties, encoding, charsets); return charCodeToGlyphId; } hasGlyphId(id) { @@ -21875,23 +31600,23 @@ class CFFFont { } } } +exports.CFFFont = CFFFont; -;// CONCATENATED MODULE: ./src/core/font_renderer.js - - - - - - - - - - - - +/***/ }), +/* 44 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FontRendererFactory = void 0; +var _util = __w_pdfjs_require__(2); +var _cff_parser = __w_pdfjs_require__(35); +var _glyphlist = __w_pdfjs_require__(39); +var _encodings = __w_pdfjs_require__(37); +var _stream = __w_pdfjs_require__(8); function getUint32(data, offset) { return (data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]) >>> 0; } @@ -21965,11 +31690,11 @@ function parseCmap(data, start, end) { } return ranges; } - throw new FormatError(`unsupported cmap: ${format}`); + throw new _util.FormatError(`unsupported cmap: ${format}`); } function parseCff(data, start, end, seacAnalysisEnabled) { const properties = {}; - const parser = new CFFParser(new Stream(data, start, end - start), properties, seacAnalysisEnabled); + const parser = new _cff_parser.CFFParser(new _stream.Stream(data, start, end - start), properties, seacAnalysisEnabled); const cff = parser.parse(); return { glyphs: cff.charStrings.objects, @@ -22021,13 +31746,22 @@ function lookupCmap(ranges, unicode) { } function compileGlyf(code, cmds, font) { function moveTo(x, y) { - cmds.add(FontRenderOps.MOVE_TO, [x, y]); + cmds.push({ + cmd: "moveTo", + args: [x, y] + }); } function lineTo(x, y) { - cmds.add(FontRenderOps.LINE_TO, [x, y]); + cmds.push({ + cmd: "lineTo", + args: [x, y] + }); } function quadraticCurveTo(xa, ya, x, y) { - cmds.add(FontRenderOps.QUADRATIC_CURVE_TO, [xa, ya, x, y]); + cmds.push({ + cmd: "quadraticCurveTo", + args: [xa, ya, x, y] + }); } let i = 0; const numberOfContours = getInt16(code, i); @@ -22050,12 +31784,14 @@ function compileGlyf(code, cmds, font) { arg2 = getUint16(code, i + 2); } i += 4; - } else if (flags & 0x02) { - arg1 = getInt8(code, i++); - arg2 = getInt8(code, i++); } else { - arg1 = code[i++]; - arg2 = code[i++]; + if (flags & 0x02) { + arg1 = getInt8(code, i++); + arg2 = getInt8(code, i++); + } else { + arg1 = code[i++]; + arg2 = code[i++]; + } } if (flags & 0x02) { x = arg1; @@ -22084,11 +31820,17 @@ function compileGlyf(code, cmds, font) { } const subglyph = font.glyphs[glyphIndex]; if (subglyph) { - cmds.add(FontRenderOps.SAVE); - cmds.add(FontRenderOps.TRANSFORM, [scaleX, scale01, scale10, scaleY, x, y]); + cmds.push({ + cmd: "save" + }, { + cmd: "transform", + args: [scaleX, scale01, scale10, scaleY, x, y] + }); if (!(flags & 0x02)) {} compileGlyf(subglyph, cmds, font); - cmds.add(FontRenderOps.RESTORE); + cmds.push({ + cmd: "restore" + }); } } while (flags & 0x20); } else { @@ -22178,13 +31920,22 @@ function compileGlyf(code, cmds, font) { } function compileCharString(charStringCode, cmds, font, glyphId) { function moveTo(x, y) { - cmds.add(FontRenderOps.MOVE_TO, [x, y]); + cmds.push({ + cmd: "moveTo", + args: [x, y] + }); } function lineTo(x, y) { - cmds.add(FontRenderOps.LINE_TO, [x, y]); + cmds.push({ + cmd: "lineTo", + args: [x, y] + }); } function bezierCurveTo(x1, y1, x2, y2, x, y) { - cmds.add(FontRenderOps.BEZIER_CURVE_TO, [x1, y1, x2, y2, x, y]); + cmds.push({ + cmd: "bezierCurveTo", + args: [x1, y1, x2, y2, x, y] + }); } const stack = []; let x = 0, @@ -22266,7 +32017,7 @@ function compileCharString(charStringCode, cmds, font, glyphId) { subrCode = subrs[n]; } } else { - warn("Invalid fd index for glyph index."); + (0, _util.warn)("Invalid fd index for glyph index."); } } else { subrCode = font.subrs[n + font.subrsBias]; @@ -22345,7 +32096,7 @@ function compileCharString(charStringCode, cmds, font, glyphId) { bezierCurveTo(xa, ya, xb, yb, x, y); break; default: - throw new FormatError(`unknown operator: 12 ${v}`); + throw new _util.FormatError(`unknown operator: 12 ${v}`); } break; case 14: @@ -22354,12 +32105,18 @@ function compileCharString(charStringCode, cmds, font, glyphId) { const bchar = stack.pop(); y = stack.pop(); x = stack.pop(); - cmds.add(FontRenderOps.SAVE); - cmds.add(FontRenderOps.TRANSLATE, [x, y]); - let cmap = lookupCmap(font.cmap, String.fromCharCode(font.glyphNameMap[StandardEncoding[achar]])); + cmds.push({ + cmd: "save" + }, { + cmd: "translate", + args: [x, y] + }); + let cmap = lookupCmap(font.cmap, String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[achar]])); compileCharString(font.glyphs[cmap.glyphId], cmds, font, cmap.glyphId); - cmds.add(FontRenderOps.RESTORE); - cmap = lookupCmap(font.cmap, String.fromCharCode(font.glyphNameMap[StandardEncoding[bchar]])); + cmds.push({ + cmd: "restore" + }); + cmap = lookupCmap(font.cmap, String.fromCharCode(font.glyphNameMap[_encodings.StandardEncoding[bchar]])); compileCharString(font.glyphs[cmap.glyphId], cmds, font, cmap.glyphId); } return; @@ -22503,7 +32260,7 @@ function compileCharString(charStringCode, cmds, font, glyphId) { break; default: if (v < 32) { - throw new FormatError(`unknown operator: ${v}`); + throw new _util.FormatError(`unknown operator: ${v}`); } if (v < 247) { stack.push(v - 139); @@ -22525,26 +32282,10 @@ function compileCharString(charStringCode, cmds, font, glyphId) { parse(charStringCode); } const NOOP = []; -class Commands { - cmds = []; - add(cmd, args) { - if (args) { - if (!isNumberArray(args, null)) { - warn(`Commands.add - "${cmd}" has at least one non-number arg: "${args}".`); - const newArgs = args.map(arg => typeof arg === "number" ? arg : 0); - this.cmds.push(cmd, ...newArgs); - } else { - this.cmds.push(cmd, ...args); - } - } else { - this.cmds.push(cmd); - } - } -} class CompiledFont { constructor(fontMatrix) { if (this.constructor === CompiledFont) { - unreachable("Cannot initialize CompiledFont."); + (0, _util.unreachable)("Cannot initialize CompiledFont."); } this.fontMatrix = fontMatrix; this.compiledGlyphs = Object.create(null); @@ -22555,20 +32296,21 @@ class CompiledFont { charCode, glyphId } = lookupCmap(this.cmap, unicode); - let fn = this.compiledGlyphs[glyphId], - compileEx; + let fn = this.compiledGlyphs[glyphId]; if (!fn) { try { fn = this.compileGlyph(this.glyphs[glyphId], glyphId); + this.compiledGlyphs[glyphId] = fn; } catch (ex) { - fn = NOOP; - compileEx = ex; + this.compiledGlyphs[glyphId] = NOOP; + if (this.compiledCharCodeToGlyphId[charCode] === undefined) { + this.compiledCharCodeToGlyphId[charCode] = glyphId; + } + throw ex; } - this.compiledGlyphs[glyphId] = fn; } - this.compiledCharCodeToGlyphId[charCode] ??= glyphId; - if (compileEx) { - throw compileEx; + if (this.compiledCharCodeToGlyphId[charCode] === undefined) { + this.compiledCharCodeToGlyphId[charCode] = glyphId; } return fn; } @@ -22581,21 +32323,28 @@ class CompiledFont { const fdIndex = this.fdSelect.getFDIndex(glyphId); if (fdIndex >= 0 && fdIndex < this.fdArray.length) { const fontDict = this.fdArray[fdIndex]; - fontMatrix = fontDict.getByName("FontMatrix") || FONT_IDENTITY_MATRIX; + fontMatrix = fontDict.getByName("FontMatrix") || _util.FONT_IDENTITY_MATRIX; } else { - warn("Invalid fd index for glyph index."); + (0, _util.warn)("Invalid fd index for glyph index."); } } - const cmds = new Commands(); - cmds.add(FontRenderOps.SAVE); - cmds.add(FontRenderOps.TRANSFORM, fontMatrix.slice()); - cmds.add(FontRenderOps.SCALE); + const cmds = [{ + cmd: "save" + }, { + cmd: "transform", + args: fontMatrix.slice() + }, { + cmd: "scale", + args: ["size", "-size"] + }]; this.compileGlyphImpl(code, cmds, glyphId); - cmds.add(FontRenderOps.RESTORE); - return cmds.cmds; + cmds.push({ + cmd: "restore" + }); + return cmds; } compileGlyphImpl() { - unreachable("Children classes should implement this."); + (0, _util.unreachable)("Children classes should implement this."); } hasBuiltPath(unicode) { const { @@ -22622,7 +32371,7 @@ class Type2Compiled extends CompiledFont { this.gsubrs = cffInfo.gsubrs || []; this.subrs = cffInfo.subrs || []; this.cmap = cmap; - this.glyphNameMap = glyphNameMap || getGlyphsUnicode(); + this.glyphNameMap = glyphNameMap || (0, _glyphlist.getGlyphsUnicode)(); this.gsubrsBias = getSubroutineBias(this.gsubrs); this.subrsBias = getSubroutineBias(this.subrs); this.isCFFCIDFont = cffInfo.isCFFCIDFont; @@ -22639,7 +32388,7 @@ class FontRendererFactory { let cmap, glyf, loca, cff, indexToLocFormat, unitsPerEm; const numTables = getUint16(data, 4); for (let i = 0, p = 12; i < numTables; i++, p += 16) { - const tag = bytesToString(data.subarray(p, p + 4)); + const tag = (0, _util.bytesToString)(data.subarray(p, p + 4)); const offset = getUint32(data, p + 8); const length = getUint32(data, p + 12); switch (tag) { @@ -22668,15 +32417,25 @@ class FontRendererFactory { return new Type2Compiled(cff, cmap, font.fontMatrix, font.glyphNameMap); } } +exports.FontRendererFactory = FontRendererFactory; -;// CONCATENATED MODULE: ./src/core/metrics.js +/***/ }), +/* 45 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const getMetrics = getLookupTableFactory(function (t) { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getMetrics = exports.getFontBasicMetrics = void 0; +var _core_utils = __w_pdfjs_require__(3); +const getMetrics = (0, _core_utils.getLookupTableFactory)(function (t) { t.Courier = 600; t["Courier-Bold"] = 600; t["Courier-BoldOblique"] = 600; t["Courier-Oblique"] = 600; - t.Helvetica = getLookupTableFactory(function (t) { + t.Helvetica = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 278; t.exclam = 278; t.quotedbl = 355; @@ -22993,7 +32752,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 556; }); - t["Helvetica-Bold"] = getLookupTableFactory(function (t) { + t["Helvetica-Bold"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 278; t.exclam = 333; t.quotedbl = 474; @@ -23310,7 +33069,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 556; }); - t["Helvetica-BoldOblique"] = getLookupTableFactory(function (t) { + t["Helvetica-BoldOblique"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 278; t.exclam = 333; t.quotedbl = 474; @@ -23627,7 +33386,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 556; }); - t["Helvetica-Oblique"] = getLookupTableFactory(function (t) { + t["Helvetica-Oblique"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 278; t.exclam = 278; t.quotedbl = 355; @@ -23944,7 +33703,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 556; }); - t.Symbol = getLookupTableFactory(function (t) { + t.Symbol = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 250; t.exclam = 333; t.universal = 713; @@ -24136,7 +33895,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.bracerightbt = 494; t.apple = 790; }); - t["Times-Roman"] = getLookupTableFactory(function (t) { + t["Times-Roman"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 250; t.exclam = 333; t.quotedbl = 408; @@ -24453,7 +34212,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 500; }); - t["Times-Bold"] = getLookupTableFactory(function (t) { + t["Times-Bold"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 250; t.exclam = 333; t.quotedbl = 555; @@ -24770,7 +34529,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 500; }); - t["Times-BoldItalic"] = getLookupTableFactory(function (t) { + t["Times-BoldItalic"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 250; t.exclam = 389; t.quotedbl = 555; @@ -25087,7 +34846,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 500; }); - t["Times-Italic"] = getLookupTableFactory(function (t) { + t["Times-Italic"] = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 250; t.exclam = 333; t.quotedbl = 420; @@ -25404,7 +35163,7 @@ const getMetrics = getLookupTableFactory(function (t) { t.imacron = 278; t.Euro = 500; }); - t.ZapfDingbats = getLookupTableFactory(function (t) { + t.ZapfDingbats = (0, _core_utils.getLookupTableFactory)(function (t) { t.space = 278; t.a1 = 974; t.a2 = 961; @@ -25609,7 +35368,8 @@ const getMetrics = getLookupTableFactory(function (t) { t.a191 = 918; }); }); -const getFontBasicMetrics = getLookupTableFactory(function (t) { +exports.getMetrics = getMetrics; +const getFontBasicMetrics = (0, _core_utils.getLookupTableFactory)(function (t) { t.Courier = { ascent: 629, descent: -157, @@ -25695,18 +35455,18 @@ const getFontBasicMetrics = getLookupTableFactory(function (t) { xHeight: Math.NaN }; }); +exports.getFontBasicMetrics = getFontBasicMetrics; -;// CONCATENATED MODULE: ./src/core/glyf.js - - - - - - - +/***/ }), +/* 46 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GlyfTable = void 0; const ON_CURVE_POINT = 1 << 0; const X_SHORT_VECTOR = 1 << 1; const Y_SHORT_VECTOR = 1 << 2; @@ -25787,6 +35547,7 @@ class GlyfTable { } } } +exports.GlyfTable = GlyfTable; class Glyph { constructor({ header = null, @@ -26193,8 +35954,10 @@ class CompositeGlyph { if (!(this.argument1 >= -128 && this.argument1 <= 127 && this.argument2 >= -128 && this.argument2 <= 127)) { size += 2; } - } else if (!(this.argument1 >= 0 && this.argument1 <= 255 && this.argument2 >= 0 && this.argument2 <= 255)) { - size += 2; + } else { + if (!(this.argument1 >= 0 && this.argument1 <= 255 && this.argument2 >= 0 && this.argument2 <= 255)) { + size += 2; + } } return size; } @@ -26204,8 +35967,10 @@ class CompositeGlyph { if (!(this.argument1 >= -128 && this.argument1 <= 127 && this.argument2 >= -128 && this.argument2 <= 127)) { this.flags |= ARG_1_AND_2_ARE_WORDS; } - } else if (!(this.argument1 >= 0 && this.argument1 <= 255 && this.argument2 >= 0 && this.argument2 <= 255)) { - this.flags |= ARG_1_AND_2_ARE_WORDS; + } else { + if (!(this.argument1 >= 0 && this.argument1 <= 255 && this.argument2 >= 0 && this.argument2 <= 255)) { + this.flags |= ARG_1_AND_2_ARE_WORDS; + } } buf.setUint16(pos, this.flags); buf.setUint16(pos + 2, this.glyphIndex); @@ -26237,16 +36002,18 @@ class CompositeGlyph { scale(x, factor) {} } -;// CONCATENATED MODULE: ./src/core/opentype_file_builder.js - - - - - - +/***/ }), +/* 47 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.OpenTypeFileBuilder = void 0; +var _core_utils = __w_pdfjs_require__(3); +var _util = __w_pdfjs_require__(2); function writeInt16(dest, offset, num) { dest[offset] = num >> 8 & 0xff; dest[offset + 1] = num & 0xff; @@ -26312,7 +36079,7 @@ class OpenTypeFileBuilder { writeData(file, tableOffsets[i], table); } if (sfnt === "true") { - sfnt = string32(0x00010000); + sfnt = (0, _util.string32)(0x00010000); } file[0] = sfnt.charCodeAt(0) & 0xff; file[1] = sfnt.charCodeAt(1) & 0xff; @@ -26332,7 +36099,7 @@ class OpenTypeFileBuilder { file[offset + 3] = tableName.charCodeAt(3) & 0xff; let checksum = 0; for (j = tableOffsets[i], jj = tableOffsets[i + 1]; j < jj; j += 4) { - const quad = readUint32(file, j); + const quad = (0, _core_utils.readUint32)(file, j); checksum = checksum + quad >>> 0; } writeInt32(file, offset + 4, checksum); @@ -26349,19 +36116,308 @@ class OpenTypeFileBuilder { this.tables[tag] = data; } } +exports.OpenTypeFileBuilder = OpenTypeFileBuilder; -;// CONCATENATED MODULE: ./src/core/type1_parser.js - - - - - +/***/ }), +/* 48 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Type1Font = void 0; +var _cff_parser = __w_pdfjs_require__(35); +var _util = __w_pdfjs_require__(2); +var _fonts_utils = __w_pdfjs_require__(38); +var _core_utils = __w_pdfjs_require__(3); +var _stream = __w_pdfjs_require__(8); +var _type1_parser = __w_pdfjs_require__(49); +function findBlock(streamBytes, signature, startIndex) { + const streamBytesLength = streamBytes.length; + const signatureLength = signature.length; + const scanLength = streamBytesLength - signatureLength; + let i = startIndex, + found = false; + while (i < scanLength) { + let j = 0; + while (j < signatureLength && streamBytes[i + j] === signature[j]) { + j++; + } + if (j >= signatureLength) { + i += j; + while (i < streamBytesLength && (0, _core_utils.isWhiteSpace)(streamBytes[i])) { + i++; + } + found = true; + break; + } + i++; + } + return { + found, + length: i + }; +} +function getHeaderBlock(stream, suggestedLength) { + const EEXEC_SIGNATURE = [0x65, 0x65, 0x78, 0x65, 0x63]; + const streamStartPos = stream.pos; + let headerBytes, headerBytesLength, block; + try { + headerBytes = stream.getBytes(suggestedLength); + headerBytesLength = headerBytes.length; + } catch {} + if (headerBytesLength === suggestedLength) { + block = findBlock(headerBytes, EEXEC_SIGNATURE, suggestedLength - 2 * EEXEC_SIGNATURE.length); + if (block.found && block.length === suggestedLength) { + return { + stream: new _stream.Stream(headerBytes), + length: suggestedLength + }; + } + } + (0, _util.warn)('Invalid "Length1" property in Type1 font -- trying to recover.'); + stream.pos = streamStartPos; + const SCAN_BLOCK_LENGTH = 2048; + let actualLength; + while (true) { + const scanBytes = stream.peekBytes(SCAN_BLOCK_LENGTH); + block = findBlock(scanBytes, EEXEC_SIGNATURE, 0); + if (block.length === 0) { + break; + } + stream.pos += block.length; + if (block.found) { + actualLength = stream.pos - streamStartPos; + break; + } + } + stream.pos = streamStartPos; + if (actualLength) { + return { + stream: new _stream.Stream(stream.getBytes(actualLength)), + length: actualLength + }; + } + (0, _util.warn)('Unable to recover "Length1" property in Type1 font -- using as is.'); + return { + stream: new _stream.Stream(stream.getBytes(suggestedLength)), + length: suggestedLength + }; +} +function getEexecBlock(stream, suggestedLength) { + const eexecBytes = stream.getBytes(); + if (eexecBytes.length === 0) { + throw new _util.FormatError("getEexecBlock - no font program found."); + } + return { + stream: new _stream.Stream(eexecBytes), + length: eexecBytes.length + }; +} +class Type1Font { + constructor(name, file, properties) { + const PFB_HEADER_SIZE = 6; + let headerBlockLength = properties.length1; + let eexecBlockLength = properties.length2; + let pfbHeader = file.peekBytes(PFB_HEADER_SIZE); + const pfbHeaderPresent = pfbHeader[0] === 0x80 && pfbHeader[1] === 0x01; + if (pfbHeaderPresent) { + file.skip(PFB_HEADER_SIZE); + headerBlockLength = pfbHeader[5] << 24 | pfbHeader[4] << 16 | pfbHeader[3] << 8 | pfbHeader[2]; + } + const headerBlock = getHeaderBlock(file, headerBlockLength); + const headerBlockParser = new _type1_parser.Type1Parser(headerBlock.stream, false, _fonts_utils.SEAC_ANALYSIS_ENABLED); + headerBlockParser.extractFontHeader(properties); + if (pfbHeaderPresent) { + pfbHeader = file.getBytes(PFB_HEADER_SIZE); + eexecBlockLength = pfbHeader[5] << 24 | pfbHeader[4] << 16 | pfbHeader[3] << 8 | pfbHeader[2]; + } + const eexecBlock = getEexecBlock(file, eexecBlockLength); + const eexecBlockParser = new _type1_parser.Type1Parser(eexecBlock.stream, true, _fonts_utils.SEAC_ANALYSIS_ENABLED); + const data = eexecBlockParser.extractFontProgram(properties); + for (const key in data.properties) { + properties[key] = data.properties[key]; + } + const charstrings = data.charstrings; + const type2Charstrings = this.getType2Charstrings(charstrings); + const subrs = this.getType2Subrs(data.subrs); + this.charstrings = charstrings; + this.data = this.wrap(name, type2Charstrings, this.charstrings, subrs, properties); + this.seacs = this.getSeacs(data.charstrings); + } + get numGlyphs() { + return this.charstrings.length + 1; + } + getCharset() { + const charset = [".notdef"]; + for (const { + glyphName + } of this.charstrings) { + charset.push(glyphName); + } + return charset; + } + getGlyphMapping(properties) { + const charstrings = this.charstrings; + if (properties.composite) { + const charCodeToGlyphId = Object.create(null); + for (let glyphId = 0, charstringsLen = charstrings.length; glyphId < charstringsLen; glyphId++) { + const charCode = properties.cMap.charCodeOf(glyphId); + charCodeToGlyphId[charCode] = glyphId + 1; + } + return charCodeToGlyphId; + } + const glyphNames = [".notdef"]; + let builtInEncoding, glyphId; + for (glyphId = 0; glyphId < charstrings.length; glyphId++) { + glyphNames.push(charstrings[glyphId].glyphName); + } + const encoding = properties.builtInEncoding; + if (encoding) { + builtInEncoding = Object.create(null); + for (const charCode in encoding) { + glyphId = glyphNames.indexOf(encoding[charCode]); + if (glyphId >= 0) { + builtInEncoding[charCode] = glyphId; + } + } + } + return (0, _fonts_utils.type1FontGlyphMapping)(properties, builtInEncoding, glyphNames); + } + hasGlyphId(id) { + if (id < 0 || id >= this.numGlyphs) { + return false; + } + if (id === 0) { + return true; + } + const glyph = this.charstrings[id - 1]; + return glyph.charstring.length > 0; + } + getSeacs(charstrings) { + const seacMap = []; + for (let i = 0, ii = charstrings.length; i < ii; i++) { + const charstring = charstrings[i]; + if (charstring.seac) { + seacMap[i + 1] = charstring.seac; + } + } + return seacMap; + } + getType2Charstrings(type1Charstrings) { + const type2Charstrings = []; + for (const type1Charstring of type1Charstrings) { + type2Charstrings.push(type1Charstring.charstring); + } + return type2Charstrings; + } + getType2Subrs(type1Subrs) { + let bias = 0; + const count = type1Subrs.length; + if (count < 1133) { + bias = 107; + } else if (count < 33769) { + bias = 1131; + } else { + bias = 32768; + } + const type2Subrs = []; + let i; + for (i = 0; i < bias; i++) { + type2Subrs.push([0x0b]); + } + for (i = 0; i < count; i++) { + type2Subrs.push(type1Subrs[i]); + } + return type2Subrs; + } + wrap(name, glyphs, charstrings, subrs, properties) { + const cff = new _cff_parser.CFF(); + cff.header = new _cff_parser.CFFHeader(1, 0, 4, 4); + cff.names = [name]; + const topDict = new _cff_parser.CFFTopDict(); + topDict.setByName("version", 391); + topDict.setByName("Notice", 392); + topDict.setByName("FullName", 393); + topDict.setByName("FamilyName", 394); + topDict.setByName("Weight", 395); + topDict.setByName("Encoding", null); + topDict.setByName("FontMatrix", properties.fontMatrix); + topDict.setByName("FontBBox", properties.bbox); + topDict.setByName("charset", null); + topDict.setByName("CharStrings", null); + topDict.setByName("Private", null); + cff.topDict = topDict; + const strings = new _cff_parser.CFFStrings(); + strings.add("Version 0.11"); + strings.add("See original notice"); + strings.add(name); + strings.add(name); + strings.add("Medium"); + cff.strings = strings; + cff.globalSubrIndex = new _cff_parser.CFFIndex(); + const count = glyphs.length; + const charsetArray = [".notdef"]; + let i, ii; + for (i = 0; i < count; i++) { + const glyphName = charstrings[i].glyphName; + const index = _cff_parser.CFFStandardStrings.indexOf(glyphName); + if (index === -1) { + strings.add(glyphName); + } + charsetArray.push(glyphName); + } + cff.charset = new _cff_parser.CFFCharset(false, 0, charsetArray); + const charStringsIndex = new _cff_parser.CFFIndex(); + charStringsIndex.add([0x8b, 0x0e]); + for (i = 0; i < count; i++) { + charStringsIndex.add(glyphs[i]); + } + cff.charStrings = charStringsIndex; + const privateDict = new _cff_parser.CFFPrivateDict(); + privateDict.setByName("Subrs", null); + const fields = ["BlueValues", "OtherBlues", "FamilyBlues", "FamilyOtherBlues", "StemSnapH", "StemSnapV", "BlueShift", "BlueFuzz", "BlueScale", "LanguageGroup", "ExpansionFactor", "ForceBold", "StdHW", "StdVW"]; + for (i = 0, ii = fields.length; i < ii; i++) { + const field = fields[i]; + if (!(field in properties.privateData)) { + continue; + } + const value = properties.privateData[field]; + if (Array.isArray(value)) { + for (let j = value.length - 1; j > 0; j--) { + value[j] -= value[j - 1]; + } + } + privateDict.setByName(field, value); + } + cff.topDict.privateDict = privateDict; + const subrIndex = new _cff_parser.CFFIndex(); + for (i = 0, ii = subrs.length; i < ii; i++) { + subrIndex.add(subrs[i]); + } + privateDict.subrsIndex = subrIndex; + const compiler = new _cff_parser.CFFCompiler(cff); + return compiler.compile(); + } +} +exports.Type1Font = Type1Font; + +/***/ }), +/* 49 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Type1Parser = void 0; +var _encodings = __w_pdfjs_require__(37); +var _core_utils = __w_pdfjs_require__(3); +var _stream = __w_pdfjs_require__(8); +var _util = __w_pdfjs_require__(2); const HINTING_ENABLED = false; const COMMAND_MAP = { hstem: [1], @@ -26561,7 +36617,7 @@ class Type1CharString { this.stack = []; break; default: - warn('Unknown type 1 charstring command of "' + value + '"'); + (0, _util.warn)('Unknown type 1 charstring command of "' + value + '"'); break; } if (error) { @@ -26664,8 +36720,8 @@ class Type1Parser { constructor(stream, encrypted, seacAnalysisEnabled) { if (encrypted) { const data = stream.getBytes(); - const isBinary = !((isHexDigit(data[0]) || isWhiteSpace(data[0])) && isHexDigit(data[1]) && isHexDigit(data[2]) && isHexDigit(data[3]) && isHexDigit(data[4]) && isHexDigit(data[5]) && isHexDigit(data[6]) && isHexDigit(data[7])); - stream = new Stream(isBinary ? decrypt(data, EEXEC_ENCRYPT_KEY, 4) : decryptAscii(data, EEXEC_ENCRYPT_KEY, 4)); + const isBinary = !((isHexDigit(data[0]) || (0, _core_utils.isWhiteSpace)(data[0])) && isHexDigit(data[1]) && isHexDigit(data[2]) && isHexDigit(data[3]) && isHexDigit(data[4]) && isHexDigit(data[5]) && isHexDigit(data[6]) && isHexDigit(data[7])); + stream = new _stream.Stream(isBinary ? decrypt(data, EEXEC_ENCRYPT_KEY, 4) : decryptAscii(data, EEXEC_ENCRYPT_KEY, 4)); } this.seacAnalysisEnabled = !!seacAnalysisEnabled; this.stream = stream; @@ -26715,7 +36771,7 @@ class Type1Parser { } } else if (ch === 0x25) { comment = true; - } else if (!isWhiteSpace(ch)) { + } else if (!(0, _core_utils.isWhiteSpace)(ch)) { break; } ch = this.nextChar(); @@ -26728,7 +36784,7 @@ class Type1Parser { do { token += String.fromCharCode(ch); ch = this.nextChar(); - } while (ch >= 0 && !isWhiteSpace(ch) && !isSpecial(ch)); + } while (ch >= 0 && !(0, _core_utils.isWhiteSpace)(ch) && !isSpecial(ch)); return token; } readCharStrings(bytes, lenIV) { @@ -26886,7 +36942,7 @@ class Type1Parser { const encodingArg = this.getToken(); let encoding; if (!/^\d+$/.test(encodingArg)) { - encoding = getEncoding(encodingArg); + encoding = (0, _encodings.getEncoding)(encodingArg); } else { encoding = []; const size = parseInt(encodingArg, 10) | 0; @@ -26921,2749 +36977,23 @@ class Type1Parser { } } } +exports.Type1Parser = Type1Parser; -;// CONCATENATED MODULE: ./src/core/type1_font.js - - - - - - - -function findBlock(streamBytes, signature, startIndex) { - const streamBytesLength = streamBytes.length; - const signatureLength = signature.length; - const scanLength = streamBytesLength - signatureLength; - let i = startIndex, - found = false; - while (i < scanLength) { - let j = 0; - while (j < signatureLength && streamBytes[i + j] === signature[j]) { - j++; - } - if (j >= signatureLength) { - i += j; - while (i < streamBytesLength && isWhiteSpace(streamBytes[i])) { - i++; - } - found = true; - break; - } - i++; - } - return { - found, - length: i - }; -} -function getHeaderBlock(stream, suggestedLength) { - const EEXEC_SIGNATURE = [0x65, 0x65, 0x78, 0x65, 0x63]; - const streamStartPos = stream.pos; - let headerBytes, headerBytesLength, block; - try { - headerBytes = stream.getBytes(suggestedLength); - headerBytesLength = headerBytes.length; - } catch {} - if (headerBytesLength === suggestedLength) { - block = findBlock(headerBytes, EEXEC_SIGNATURE, suggestedLength - 2 * EEXEC_SIGNATURE.length); - if (block.found && block.length === suggestedLength) { - return { - stream: new Stream(headerBytes), - length: suggestedLength - }; - } - } - warn('Invalid "Length1" property in Type1 font -- trying to recover.'); - stream.pos = streamStartPos; - const SCAN_BLOCK_LENGTH = 2048; - let actualLength; - while (true) { - const scanBytes = stream.peekBytes(SCAN_BLOCK_LENGTH); - block = findBlock(scanBytes, EEXEC_SIGNATURE, 0); - if (block.length === 0) { - break; - } - stream.pos += block.length; - if (block.found) { - actualLength = stream.pos - streamStartPos; - break; - } - } - stream.pos = streamStartPos; - if (actualLength) { - return { - stream: new Stream(stream.getBytes(actualLength)), - length: actualLength - }; - } - warn('Unable to recover "Length1" property in Type1 font -- using as is.'); - return { - stream: new Stream(stream.getBytes(suggestedLength)), - length: suggestedLength - }; -} -function getEexecBlock(stream, suggestedLength) { - const eexecBytes = stream.getBytes(); - if (eexecBytes.length === 0) { - throw new FormatError("getEexecBlock - no font program found."); - } - return { - stream: new Stream(eexecBytes), - length: eexecBytes.length - }; -} -class Type1Font { - constructor(name, file, properties) { - const PFB_HEADER_SIZE = 6; - let headerBlockLength = properties.length1; - let eexecBlockLength = properties.length2; - let pfbHeader = file.peekBytes(PFB_HEADER_SIZE); - const pfbHeaderPresent = pfbHeader[0] === 0x80 && pfbHeader[1] === 0x01; - if (pfbHeaderPresent) { - file.skip(PFB_HEADER_SIZE); - headerBlockLength = pfbHeader[5] << 24 | pfbHeader[4] << 16 | pfbHeader[3] << 8 | pfbHeader[2]; - } - const headerBlock = getHeaderBlock(file, headerBlockLength); - const headerBlockParser = new Type1Parser(headerBlock.stream, false, SEAC_ANALYSIS_ENABLED); - headerBlockParser.extractFontHeader(properties); - if (pfbHeaderPresent) { - pfbHeader = file.getBytes(PFB_HEADER_SIZE); - eexecBlockLength = pfbHeader[5] << 24 | pfbHeader[4] << 16 | pfbHeader[3] << 8 | pfbHeader[2]; - } - const eexecBlock = getEexecBlock(file, eexecBlockLength); - const eexecBlockParser = new Type1Parser(eexecBlock.stream, true, SEAC_ANALYSIS_ENABLED); - const data = eexecBlockParser.extractFontProgram(properties); - for (const key in data.properties) { - properties[key] = data.properties[key]; - } - const charstrings = data.charstrings; - const type2Charstrings = this.getType2Charstrings(charstrings); - const subrs = this.getType2Subrs(data.subrs); - this.charstrings = charstrings; - this.data = this.wrap(name, type2Charstrings, this.charstrings, subrs, properties); - this.seacs = this.getSeacs(data.charstrings); - } - get numGlyphs() { - return this.charstrings.length + 1; - } - getCharset() { - const charset = [".notdef"]; - for (const { - glyphName - } of this.charstrings) { - charset.push(glyphName); - } - return charset; - } - getGlyphMapping(properties) { - const charstrings = this.charstrings; - if (properties.composite) { - const charCodeToGlyphId = Object.create(null); - for (let glyphId = 0, charstringsLen = charstrings.length; glyphId < charstringsLen; glyphId++) { - const charCode = properties.cMap.charCodeOf(glyphId); - charCodeToGlyphId[charCode] = glyphId + 1; - } - return charCodeToGlyphId; - } - const glyphNames = [".notdef"]; - let builtInEncoding, glyphId; - for (glyphId = 0; glyphId < charstrings.length; glyphId++) { - glyphNames.push(charstrings[glyphId].glyphName); - } - const encoding = properties.builtInEncoding; - if (encoding) { - builtInEncoding = Object.create(null); - for (const charCode in encoding) { - glyphId = glyphNames.indexOf(encoding[charCode]); - if (glyphId >= 0) { - builtInEncoding[charCode] = glyphId; - } - } - } - return type1FontGlyphMapping(properties, builtInEncoding, glyphNames); - } - hasGlyphId(id) { - if (id < 0 || id >= this.numGlyphs) { - return false; - } - if (id === 0) { - return true; - } - const glyph = this.charstrings[id - 1]; - return glyph.charstring.length > 0; - } - getSeacs(charstrings) { - const seacMap = []; - for (let i = 0, ii = charstrings.length; i < ii; i++) { - const charstring = charstrings[i]; - if (charstring.seac) { - seacMap[i + 1] = charstring.seac; - } - } - return seacMap; - } - getType2Charstrings(type1Charstrings) { - const type2Charstrings = []; - for (const type1Charstring of type1Charstrings) { - type2Charstrings.push(type1Charstring.charstring); - } - return type2Charstrings; - } - getType2Subrs(type1Subrs) { - let bias = 0; - const count = type1Subrs.length; - if (count < 1133) { - bias = 107; - } else if (count < 33769) { - bias = 1131; - } else { - bias = 32768; - } - const type2Subrs = []; - let i; - for (i = 0; i < bias; i++) { - type2Subrs.push([0x0b]); - } - for (i = 0; i < count; i++) { - type2Subrs.push(type1Subrs[i]); - } - return type2Subrs; - } - wrap(name, glyphs, charstrings, subrs, properties) { - const cff = new CFF(); - cff.header = new CFFHeader(1, 0, 4, 4); - cff.names = [name]; - const topDict = new CFFTopDict(); - topDict.setByName("version", 391); - topDict.setByName("Notice", 392); - topDict.setByName("FullName", 393); - topDict.setByName("FamilyName", 394); - topDict.setByName("Weight", 395); - topDict.setByName("Encoding", null); - topDict.setByName("FontMatrix", properties.fontMatrix); - topDict.setByName("FontBBox", properties.bbox); - topDict.setByName("charset", null); - topDict.setByName("CharStrings", null); - topDict.setByName("Private", null); - cff.topDict = topDict; - const strings = new CFFStrings(); - strings.add("Version 0.11"); - strings.add("See original notice"); - strings.add(name); - strings.add(name); - strings.add("Medium"); - cff.strings = strings; - cff.globalSubrIndex = new CFFIndex(); - const count = glyphs.length; - const charsetArray = [".notdef"]; - let i, ii; - for (i = 0; i < count; i++) { - const glyphName = charstrings[i].glyphName; - const index = CFFStandardStrings.indexOf(glyphName); - if (index === -1) { - strings.add(glyphName); - } - charsetArray.push(glyphName); - } - cff.charset = new CFFCharset(false, 0, charsetArray); - const charStringsIndex = new CFFIndex(); - charStringsIndex.add([0x8b, 0x0e]); - for (i = 0; i < count; i++) { - charStringsIndex.add(glyphs[i]); - } - cff.charStrings = charStringsIndex; - const privateDict = new CFFPrivateDict(); - privateDict.setByName("Subrs", null); - const fields = ["BlueValues", "OtherBlues", "FamilyBlues", "FamilyOtherBlues", "StemSnapH", "StemSnapV", "BlueShift", "BlueFuzz", "BlueScale", "LanguageGroup", "ExpansionFactor", "ForceBold", "StdHW", "StdVW"]; - for (i = 0, ii = fields.length; i < ii; i++) { - const field = fields[i]; - if (!(field in properties.privateData)) { - continue; - } - const value = properties.privateData[field]; - if (Array.isArray(value)) { - for (let j = value.length - 1; j > 0; j--) { - value[j] -= value[j - 1]; - } - } - privateDict.setByName(field, value); - } - cff.topDict.privateDict = privateDict; - const subrIndex = new CFFIndex(); - for (i = 0, ii = subrs.length; i < ii; i++) { - subrIndex.add(subrs[i]); - } - privateDict.subrsIndex = subrIndex; - const compiler = new CFFCompiler(cff); - return compiler.compile(); - } -} - -;// CONCATENATED MODULE: ./src/core/fonts.js - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const PRIVATE_USE_AREAS = [[0xe000, 0xf8ff], [0x100000, 0x10fffd]]; -const PDF_GLYPH_SPACE_UNITS = 1000; -const EXPORT_DATA_PROPERTIES = ["ascent", "bbox", "black", "bold", "charProcOperatorList", "composite", "cssFontInfo", "data", "defaultVMetrics", "defaultWidth", "descent", "fallbackName", "fontMatrix", "isInvalidPDFjsFont", "isType3Font", "italic", "loadedName", "mimetype", "missingFile", "name", "remeasure", "subtype", "systemFontInfo", "type", "vertical"]; -const EXPORT_DATA_EXTRA_PROPERTIES = ["cMap", "defaultEncoding", "differences", "isMonospace", "isSerifFont", "isSymbolicFont", "seacMap", "toFontChar", "toUnicode", "vmetrics", "widths"]; -function adjustWidths(properties) { - if (!properties.fontMatrix) { - return; - } - if (properties.fontMatrix[0] === FONT_IDENTITY_MATRIX[0]) { - return; - } - const scale = 0.001 / properties.fontMatrix[0]; - const glyphsWidths = properties.widths; - for (const glyph in glyphsWidths) { - glyphsWidths[glyph] *= scale; - } - properties.defaultWidth *= scale; -} -function adjustTrueTypeToUnicode(properties, isSymbolicFont, nameRecords) { - if (properties.isInternalFont) { - return; - } - if (properties.hasIncludedToUnicodeMap) { - return; - } - if (properties.hasEncoding) { - return; - } - if (properties.toUnicode instanceof IdentityToUnicodeMap) { - return; - } - if (!isSymbolicFont) { - return; - } - if (nameRecords.length === 0) { - return; - } - if (properties.defaultEncoding === WinAnsiEncoding) { - return; - } - for (const r of nameRecords) { - if (!isWinNameRecord(r)) { - return; - } - } - const encoding = WinAnsiEncoding; - const toUnicode = [], - glyphsUnicodeMap = getGlyphsUnicode(); - for (const charCode in encoding) { - const glyphName = encoding[charCode]; - if (glyphName === "") { - continue; - } - const unicode = glyphsUnicodeMap[glyphName]; - if (unicode === undefined) { - continue; - } - toUnicode[charCode] = String.fromCharCode(unicode); - } - if (toUnicode.length > 0) { - properties.toUnicode.amend(toUnicode); - } -} -function adjustType1ToUnicode(properties, builtInEncoding) { - if (properties.isInternalFont) { - return; - } - if (properties.hasIncludedToUnicodeMap) { - return; - } - if (builtInEncoding === properties.defaultEncoding) { - return; - } - if (properties.toUnicode instanceof IdentityToUnicodeMap) { - return; - } - const toUnicode = [], - glyphsUnicodeMap = getGlyphsUnicode(); - for (const charCode in builtInEncoding) { - if (properties.hasEncoding) { - if (properties.baseEncodingName || properties.differences[charCode] !== undefined) { - continue; - } - } - const glyphName = builtInEncoding[charCode]; - const unicode = getUnicodeForGlyph(glyphName, glyphsUnicodeMap); - if (unicode !== -1) { - toUnicode[charCode] = String.fromCharCode(unicode); - } - } - if (toUnicode.length > 0) { - properties.toUnicode.amend(toUnicode); - } -} -function amendFallbackToUnicode(properties) { - if (!properties.fallbackToUnicode) { - return; - } - if (properties.toUnicode instanceof IdentityToUnicodeMap) { - return; - } - const toUnicode = []; - for (const charCode in properties.fallbackToUnicode) { - if (properties.toUnicode.has(charCode)) { - continue; - } - toUnicode[charCode] = properties.fallbackToUnicode[charCode]; - } - if (toUnicode.length > 0) { - properties.toUnicode.amend(toUnicode); - } -} -class fonts_Glyph { - constructor(originalCharCode, fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont) { - this.originalCharCode = originalCharCode; - this.fontChar = fontChar; - this.unicode = unicode; - this.accent = accent; - this.width = width; - this.vmetric = vmetric; - this.operatorListId = operatorListId; - this.isSpace = isSpace; - this.isInFont = isInFont; - } - get category() { - return shadow(this, "category", getCharUnicodeCategory(this.unicode), true); - } -} -function int16(b0, b1) { - return (b0 << 8) + b1; -} -function writeSignedInt16(bytes, index, value) { - bytes[index + 1] = value; - bytes[index] = value >>> 8; -} -function signedInt16(b0, b1) { - const value = (b0 << 8) + b1; - return value & 1 << 15 ? value - 0x10000 : value; -} -function writeUint32(bytes, index, value) { - bytes[index + 3] = value & 0xff; - bytes[index + 2] = value >>> 8; - bytes[index + 1] = value >>> 16; - bytes[index] = value >>> 24; -} -function int32(b0, b1, b2, b3) { - return (b0 << 24) + (b1 << 16) + (b2 << 8) + b3; -} -function string16(value) { - return String.fromCharCode(value >> 8 & 0xff, value & 0xff); -} -function safeString16(value) { - if (value > 0x7fff) { - value = 0x7fff; - } else if (value < -0x8000) { - value = -0x8000; - } - return String.fromCharCode(value >> 8 & 0xff, value & 0xff); -} -function isTrueTypeFile(file) { - const header = file.peekBytes(4); - return readUint32(header, 0) === 0x00010000 || bytesToString(header) === "true"; -} -function isTrueTypeCollectionFile(file) { - const header = file.peekBytes(4); - return bytesToString(header) === "ttcf"; -} -function isOpenTypeFile(file) { - const header = file.peekBytes(4); - return bytesToString(header) === "OTTO"; -} -function isType1File(file) { - const header = file.peekBytes(2); - if (header[0] === 0x25 && header[1] === 0x21) { - return true; - } - if (header[0] === 0x80 && header[1] === 0x01) { - return true; - } - return false; -} -function isCFFFile(file) { - const header = file.peekBytes(4); - if (header[0] >= 1 && header[3] >= 1 && header[3] <= 4) { - return true; - } - return false; -} -function getFontFileType(file, { - type, - subtype, - composite -}) { - let fileType, fileSubtype; - if (isTrueTypeFile(file) || isTrueTypeCollectionFile(file)) { - fileType = composite ? "CIDFontType2" : "TrueType"; - } else if (isOpenTypeFile(file)) { - fileType = composite ? "CIDFontType2" : "OpenType"; - } else if (isType1File(file)) { - if (composite) { - fileType = "CIDFontType0"; - } else { - fileType = type === "MMType1" ? "MMType1" : "Type1"; - } - } else if (isCFFFile(file)) { - if (composite) { - fileType = "CIDFontType0"; - fileSubtype = "CIDFontType0C"; - } else { - fileType = type === "MMType1" ? "MMType1" : "Type1"; - fileSubtype = "Type1C"; - } - } else { - warn("getFontFileType: Unable to detect correct font file Type/Subtype."); - fileType = type; - fileSubtype = subtype; - } - return [fileType, fileSubtype]; -} -function applyStandardFontGlyphMap(map, glyphMap) { - for (const charCode in glyphMap) { - map[+charCode] = glyphMap[charCode]; - } -} -function buildToFontChar(encoding, glyphsUnicodeMap, differences) { - const toFontChar = []; - let unicode; - for (let i = 0, ii = encoding.length; i < ii; i++) { - unicode = getUnicodeForGlyph(encoding[i], glyphsUnicodeMap); - if (unicode !== -1) { - toFontChar[i] = unicode; - } - } - for (const charCode in differences) { - unicode = getUnicodeForGlyph(differences[charCode], glyphsUnicodeMap); - if (unicode !== -1) { - toFontChar[+charCode] = unicode; - } - } - return toFontChar; -} -function isMacNameRecord(r) { - return r.platform === 1 && r.encoding === 0 && r.language === 0; -} -function isWinNameRecord(r) { - return r.platform === 3 && r.encoding === 1 && r.language === 0x409; -} -function convertCidString(charCode, cid, shouldThrow = false) { - switch (cid.length) { - case 1: - return cid.charCodeAt(0); - case 2: - return cid.charCodeAt(0) << 8 | cid.charCodeAt(1); - } - const msg = `Unsupported CID string (charCode ${charCode}): "${cid}".`; - if (shouldThrow) { - throw new FormatError(msg); - } - warn(msg); - return cid; -} -function adjustMapping(charCodeToGlyphId, hasGlyph, newGlyphZeroId, toUnicode) { - const newMap = Object.create(null); - const toUnicodeExtraMap = new Map(); - const toFontChar = []; - const usedGlyphIds = new Set(); - let privateUseAreaIndex = 0; - const privateUseOffetStart = PRIVATE_USE_AREAS[privateUseAreaIndex][0]; - let nextAvailableFontCharCode = privateUseOffetStart; - let privateUseOffetEnd = PRIVATE_USE_AREAS[privateUseAreaIndex][1]; - const isInPrivateArea = code => PRIVATE_USE_AREAS[0][0] <= code && code <= PRIVATE_USE_AREAS[0][1] || PRIVATE_USE_AREAS[1][0] <= code && code <= PRIVATE_USE_AREAS[1][1]; - for (let originalCharCode in charCodeToGlyphId) { - originalCharCode |= 0; - let glyphId = charCodeToGlyphId[originalCharCode]; - if (!hasGlyph(glyphId)) { - continue; - } - if (nextAvailableFontCharCode > privateUseOffetEnd) { - privateUseAreaIndex++; - if (privateUseAreaIndex >= PRIVATE_USE_AREAS.length) { - warn("Ran out of space in font private use area."); - break; - } - nextAvailableFontCharCode = PRIVATE_USE_AREAS[privateUseAreaIndex][0]; - privateUseOffetEnd = PRIVATE_USE_AREAS[privateUseAreaIndex][1]; - } - const fontCharCode = nextAvailableFontCharCode++; - if (glyphId === 0) { - glyphId = newGlyphZeroId; - } - let unicode = toUnicode.get(originalCharCode); - if (typeof unicode === "string") { - unicode = unicode.codePointAt(0); - } - if (unicode && !isInPrivateArea(unicode) && !usedGlyphIds.has(glyphId)) { - toUnicodeExtraMap.set(unicode, glyphId); - usedGlyphIds.add(glyphId); - } - newMap[fontCharCode] = glyphId; - toFontChar[originalCharCode] = fontCharCode; - } - return { - toFontChar, - charCodeToGlyphId: newMap, - toUnicodeExtraMap, - nextAvailableFontCharCode - }; -} -function getRanges(glyphs, toUnicodeExtraMap, numGlyphs) { - const codes = []; - for (const charCode in glyphs) { - if (glyphs[charCode] >= numGlyphs) { - continue; - } - codes.push({ - fontCharCode: charCode | 0, - glyphId: glyphs[charCode] - }); - } - if (toUnicodeExtraMap) { - for (const [unicode, glyphId] of toUnicodeExtraMap) { - if (glyphId >= numGlyphs) { - continue; - } - codes.push({ - fontCharCode: unicode, - glyphId - }); - } - } - if (codes.length === 0) { - codes.push({ - fontCharCode: 0, - glyphId: 0 - }); - } - codes.sort(function fontGetRangesSort(a, b) { - return a.fontCharCode - b.fontCharCode; - }); - const ranges = []; - const length = codes.length; - for (let n = 0; n < length;) { - const start = codes[n].fontCharCode; - const codeIndices = [codes[n].glyphId]; - ++n; - let end = start; - while (n < length && end + 1 === codes[n].fontCharCode) { - codeIndices.push(codes[n].glyphId); - ++end; - ++n; - if (end === 0xffff) { - break; - } - } - ranges.push([start, end, codeIndices]); - } - return ranges; -} -function createCmapTable(glyphs, toUnicodeExtraMap, numGlyphs) { - const ranges = getRanges(glyphs, toUnicodeExtraMap, numGlyphs); - const numTables = ranges.at(-1)[1] > 0xffff ? 2 : 1; - let cmap = "\x00\x00" + string16(numTables) + "\x00\x03" + "\x00\x01" + string32(4 + numTables * 8); - let i, ii, j, jj; - for (i = ranges.length - 1; i >= 0; --i) { - if (ranges[i][0] <= 0xffff) { - break; - } - } - const bmpLength = i + 1; - if (ranges[i][0] < 0xffff && ranges[i][1] === 0xffff) { - ranges[i][1] = 0xfffe; - } - const trailingRangesCount = ranges[i][1] < 0xffff ? 1 : 0; - const segCount = bmpLength + trailingRangesCount; - const searchParams = OpenTypeFileBuilder.getSearchParams(segCount, 2); - let startCount = ""; - let endCount = ""; - let idDeltas = ""; - let idRangeOffsets = ""; - let glyphsIds = ""; - let bias = 0; - let range, start, end, codes; - for (i = 0, ii = bmpLength; i < ii; i++) { - range = ranges[i]; - start = range[0]; - end = range[1]; - startCount += string16(start); - endCount += string16(end); - codes = range[2]; - let contiguous = true; - for (j = 1, jj = codes.length; j < jj; ++j) { - if (codes[j] !== codes[j - 1] + 1) { - contiguous = false; - break; - } - } - if (!contiguous) { - const offset = (segCount - i) * 2 + bias * 2; - bias += end - start + 1; - idDeltas += string16(0); - idRangeOffsets += string16(offset); - for (j = 0, jj = codes.length; j < jj; ++j) { - glyphsIds += string16(codes[j]); - } - } else { - const startCode = codes[0]; - idDeltas += string16(startCode - start & 0xffff); - idRangeOffsets += string16(0); - } - } - if (trailingRangesCount > 0) { - endCount += "\xFF\xFF"; - startCount += "\xFF\xFF"; - idDeltas += "\x00\x01"; - idRangeOffsets += "\x00\x00"; - } - const format314 = "\x00\x00" + string16(2 * segCount) + string16(searchParams.range) + string16(searchParams.entry) + string16(searchParams.rangeShift) + endCount + "\x00\x00" + startCount + idDeltas + idRangeOffsets + glyphsIds; - let format31012 = ""; - let header31012 = ""; - if (numTables > 1) { - cmap += "\x00\x03" + "\x00\x0A" + string32(4 + numTables * 8 + 4 + format314.length); - format31012 = ""; - for (i = 0, ii = ranges.length; i < ii; i++) { - range = ranges[i]; - start = range[0]; - codes = range[2]; - let code = codes[0]; - for (j = 1, jj = codes.length; j < jj; ++j) { - if (codes[j] !== codes[j - 1] + 1) { - end = range[0] + j - 1; - format31012 += string32(start) + string32(end) + string32(code); - start = end + 1; - code = codes[j]; - } - } - format31012 += string32(start) + string32(range[1]) + string32(code); - } - header31012 = "\x00\x0C" + "\x00\x00" + string32(format31012.length + 16) + "\x00\x00\x00\x00" + string32(format31012.length / 12); - } - return cmap + "\x00\x04" + string16(format314.length + 4) + format314 + header31012 + format31012; -} -function validateOS2Table(os2, file) { - file.pos = (file.start || 0) + os2.offset; - const version = file.getUint16(); - file.skip(60); - const selection = file.getUint16(); - if (version < 4 && selection & 0x0300) { - return false; - } - const firstChar = file.getUint16(); - const lastChar = file.getUint16(); - if (firstChar > lastChar) { - return false; - } - file.skip(6); - const usWinAscent = file.getUint16(); - if (usWinAscent === 0) { - return false; - } - os2.data[8] = os2.data[9] = 0; - return true; -} -function createOS2Table(properties, charstrings, override) { - override ||= { - unitsPerEm: 0, - yMax: 0, - yMin: 0, - ascent: 0, - descent: 0 - }; - let ulUnicodeRange1 = 0; - let ulUnicodeRange2 = 0; - let ulUnicodeRange3 = 0; - let ulUnicodeRange4 = 0; - let firstCharIndex = null; - let lastCharIndex = 0; - let position = -1; - if (charstrings) { - for (let code in charstrings) { - code |= 0; - if (firstCharIndex > code || !firstCharIndex) { - firstCharIndex = code; - } - if (lastCharIndex < code) { - lastCharIndex = code; - } - position = getUnicodeRangeFor(code, position); - if (position < 32) { - ulUnicodeRange1 |= 1 << position; - } else if (position < 64) { - ulUnicodeRange2 |= 1 << position - 32; - } else if (position < 96) { - ulUnicodeRange3 |= 1 << position - 64; - } else if (position < 123) { - ulUnicodeRange4 |= 1 << position - 96; - } else { - throw new FormatError("Unicode ranges Bits > 123 are reserved for internal usage"); - } - } - if (lastCharIndex > 0xffff) { - lastCharIndex = 0xffff; - } - } else { - firstCharIndex = 0; - lastCharIndex = 255; - } - const bbox = properties.bbox || [0, 0, 0, 0]; - const unitsPerEm = override.unitsPerEm || 1 / (properties.fontMatrix || FONT_IDENTITY_MATRIX)[0]; - const scale = properties.ascentScaled ? 1.0 : unitsPerEm / PDF_GLYPH_SPACE_UNITS; - const typoAscent = override.ascent || Math.round(scale * (properties.ascent || bbox[3])); - let typoDescent = override.descent || Math.round(scale * (properties.descent || bbox[1])); - if (typoDescent > 0 && properties.descent > 0 && bbox[1] < 0) { - typoDescent = -typoDescent; - } - const winAscent = override.yMax || typoAscent; - const winDescent = -override.yMin || -typoDescent; - return "\x00\x03" + "\x02\x24" + "\x01\xF4" + "\x00\x05" + "\x00\x00" + "\x02\x8A" + "\x02\xBB" + "\x00\x00" + "\x00\x8C" + "\x02\x8A" + "\x02\xBB" + "\x00\x00" + "\x01\xDF" + "\x00\x31" + "\x01\x02" + "\x00\x00" + "\x00\x00\x06" + String.fromCharCode(properties.fixedPitch ? 0x09 : 0x00) + "\x00\x00\x00\x00\x00\x00" + string32(ulUnicodeRange1) + string32(ulUnicodeRange2) + string32(ulUnicodeRange3) + string32(ulUnicodeRange4) + "\x2A\x32\x31\x2A" + string16(properties.italicAngle ? 1 : 0) + string16(firstCharIndex || properties.firstChar) + string16(lastCharIndex || properties.lastChar) + string16(typoAscent) + string16(typoDescent) + "\x00\x64" + string16(winAscent) + string16(winDescent) + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + string16(properties.xHeight) + string16(properties.capHeight) + string16(0) + string16(firstCharIndex || properties.firstChar) + "\x00\x03"; -} -function createPostTable(properties) { - const angle = Math.floor(properties.italicAngle * 2 ** 16); - return "\x00\x03\x00\x00" + string32(angle) + "\x00\x00" + "\x00\x00" + string32(properties.fixedPitch ? 1 : 0) + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + "\x00\x00\x00\x00" + "\x00\x00\x00\x00"; -} -function createPostscriptName(name) { - return name.replaceAll(/[^\x21-\x7E]|[[\](){}<>/%]/g, "").slice(0, 63); -} -function createNameTable(name, proto) { - if (!proto) { - proto = [[], []]; - } - const strings = [proto[0][0] || "Original licence", proto[0][1] || name, proto[0][2] || "Unknown", proto[0][3] || "uniqueID", proto[0][4] || name, proto[0][5] || "Version 0.11", proto[0][6] || createPostscriptName(name), proto[0][7] || "Unknown", proto[0][8] || "Unknown", proto[0][9] || "Unknown"]; - const stringsUnicode = []; - let i, ii, j, jj, str; - for (i = 0, ii = strings.length; i < ii; i++) { - str = proto[1][i] || strings[i]; - const strBufUnicode = []; - for (j = 0, jj = str.length; j < jj; j++) { - strBufUnicode.push(string16(str.charCodeAt(j))); - } - stringsUnicode.push(strBufUnicode.join("")); - } - const names = [strings, stringsUnicode]; - const platforms = ["\x00\x01", "\x00\x03"]; - const encodings = ["\x00\x00", "\x00\x01"]; - const languages = ["\x00\x00", "\x04\x09"]; - const namesRecordCount = strings.length * platforms.length; - let nameTable = "\x00\x00" + string16(namesRecordCount) + string16(namesRecordCount * 12 + 6); - let strOffset = 0; - for (i = 0, ii = platforms.length; i < ii; i++) { - const strs = names[i]; - for (j = 0, jj = strs.length; j < jj; j++) { - str = strs[j]; - const nameRecord = platforms[i] + encodings[i] + languages[i] + string16(j) + string16(str.length) + string16(strOffset); - nameTable += nameRecord; - strOffset += str.length; - } - } - nameTable += strings.join("") + stringsUnicode.join(""); - return nameTable; -} -class Font { - constructor(name, file, properties) { - this.name = name; - this.psName = null; - this.mimetype = null; - this.disableFontFace = false; - this.loadedName = properties.loadedName; - this.isType3Font = properties.isType3Font; - this.missingFile = false; - this.cssFontInfo = properties.cssFontInfo; - this._charsCache = Object.create(null); - this._glyphCache = Object.create(null); - let isSerifFont = !!(properties.flags & FontFlags.Serif); - if (!isSerifFont && !properties.isSimulatedFlags) { - const baseName = name.replaceAll(/[,_]/g, "-").split("-", 1)[0], - serifFonts = getSerifFonts(); - for (const namePart of baseName.split("+")) { - if (serifFonts[namePart]) { - isSerifFont = true; - break; - } - } - } - this.isSerifFont = isSerifFont; - this.isSymbolicFont = !!(properties.flags & FontFlags.Symbolic); - this.isMonospace = !!(properties.flags & FontFlags.FixedPitch); - let { - type, - subtype - } = properties; - this.type = type; - this.subtype = subtype; - this.systemFontInfo = properties.systemFontInfo; - const matches = name.match(/^InvalidPDFjsFont_(.*)_\d+$/); - this.isInvalidPDFjsFont = !!matches; - if (this.isInvalidPDFjsFont) { - this.fallbackName = matches[1]; - } else if (this.isMonospace) { - this.fallbackName = "monospace"; - } else if (this.isSerifFont) { - this.fallbackName = "serif"; - } else { - this.fallbackName = "sans-serif"; - } - if (this.systemFontInfo?.guessFallback) { - this.systemFontInfo.guessFallback = false; - this.systemFontInfo.css += `,${this.fallbackName}`; - } - this.differences = properties.differences; - this.widths = properties.widths; - this.defaultWidth = properties.defaultWidth; - this.composite = properties.composite; - this.cMap = properties.cMap; - this.capHeight = properties.capHeight / PDF_GLYPH_SPACE_UNITS; - this.ascent = properties.ascent / PDF_GLYPH_SPACE_UNITS; - this.descent = properties.descent / PDF_GLYPH_SPACE_UNITS; - this.lineHeight = this.ascent - this.descent; - this.fontMatrix = properties.fontMatrix; - this.bbox = properties.bbox; - this.defaultEncoding = properties.defaultEncoding; - this.toUnicode = properties.toUnicode; - this.toFontChar = []; - if (properties.type === "Type3") { - for (let charCode = 0; charCode < 256; charCode++) { - this.toFontChar[charCode] = this.differences[charCode] || properties.defaultEncoding[charCode]; - } - return; - } - this.cidEncoding = properties.cidEncoding || ""; - this.vertical = !!properties.vertical; - if (this.vertical) { - this.vmetrics = properties.vmetrics; - this.defaultVMetrics = properties.defaultVMetrics; - } - if (!file || file.isEmpty) { - if (file) { - warn('Font file is empty in "' + name + '" (' + this.loadedName + ")"); - } - this.fallbackToSystemFont(properties); - return; - } - [type, subtype] = getFontFileType(file, properties); - if (type !== this.type || subtype !== this.subtype) { - info("Inconsistent font file Type/SubType, expected: " + `${this.type}/${this.subtype} but found: ${type}/${subtype}.`); - } - let data; - try { - switch (type) { - case "MMType1": - info("MMType1 font (" + name + "), falling back to Type1."); - case "Type1": - case "CIDFontType0": - this.mimetype = "font/opentype"; - const cff = subtype === "Type1C" || subtype === "CIDFontType0C" ? new CFFFont(file, properties) : new Type1Font(name, file, properties); - adjustWidths(properties); - data = this.convert(name, cff, properties); - break; - case "OpenType": - case "TrueType": - case "CIDFontType2": - this.mimetype = "font/opentype"; - data = this.checkAndRepair(name, file, properties); - if (this.isOpenType) { - adjustWidths(properties); - type = "OpenType"; - } - break; - default: - throw new FormatError(`Font ${type} is not supported`); - } - } catch (e) { - warn(e); - this.fallbackToSystemFont(properties); - return; - } - amendFallbackToUnicode(properties); - this.data = data; - this.type = type; - this.subtype = subtype; - this.fontMatrix = properties.fontMatrix; - this.widths = properties.widths; - this.defaultWidth = properties.defaultWidth; - this.toUnicode = properties.toUnicode; - this.seacMap = properties.seacMap; - } - get renderer() { - const renderer = FontRendererFactory.create(this, SEAC_ANALYSIS_ENABLED); - return shadow(this, "renderer", renderer); - } - exportData(extraProperties = false) { - const exportDataProperties = extraProperties ? [...EXPORT_DATA_PROPERTIES, ...EXPORT_DATA_EXTRA_PROPERTIES] : EXPORT_DATA_PROPERTIES; - const data = Object.create(null); - let property, value; - for (property of exportDataProperties) { - value = this[property]; - if (value !== undefined) { - data[property] = value; - } - } - return data; - } - fallbackToSystemFont(properties) { - this.missingFile = true; - const { - name, - type - } = this; - let fontName = normalizeFontName(name); - const stdFontMap = getStdFontMap(), - nonStdFontMap = getNonStdFontMap(); - const isStandardFont = !!stdFontMap[fontName]; - const isMappedToStandardFont = !!(nonStdFontMap[fontName] && stdFontMap[nonStdFontMap[fontName]]); - fontName = stdFontMap[fontName] || nonStdFontMap[fontName] || fontName; - const fontBasicMetricsMap = getFontBasicMetrics(); - const metrics = fontBasicMetricsMap[fontName]; - if (metrics) { - if (isNaN(this.ascent)) { - this.ascent = metrics.ascent / PDF_GLYPH_SPACE_UNITS; - } - if (isNaN(this.descent)) { - this.descent = metrics.descent / PDF_GLYPH_SPACE_UNITS; - } - if (isNaN(this.capHeight)) { - this.capHeight = metrics.capHeight / PDF_GLYPH_SPACE_UNITS; - } - } - this.bold = /bold/gi.test(fontName); - this.italic = /oblique|italic/gi.test(fontName); - this.black = /Black/g.test(name); - const isNarrow = /Narrow/g.test(name); - this.remeasure = (!isStandardFont || isNarrow) && Object.keys(this.widths).length > 0; - if ((isStandardFont || isMappedToStandardFont) && type === "CIDFontType2" && this.cidEncoding.startsWith("Identity-")) { - const cidToGidMap = properties.cidToGidMap; - const map = []; - applyStandardFontGlyphMap(map, getGlyphMapForStandardFonts()); - if (/Arial-?Black/i.test(name)) { - applyStandardFontGlyphMap(map, getSupplementalGlyphMapForArialBlack()); - } else if (/Calibri/i.test(name)) { - applyStandardFontGlyphMap(map, getSupplementalGlyphMapForCalibri()); - } - if (cidToGidMap) { - for (const charCode in map) { - const cid = map[charCode]; - if (cidToGidMap[cid] !== undefined) { - map[+charCode] = cidToGidMap[cid]; - } - } - if (cidToGidMap.length !== this.toUnicode.length && properties.hasIncludedToUnicodeMap && this.toUnicode instanceof IdentityToUnicodeMap) { - this.toUnicode.forEach(function (charCode, unicodeCharCode) { - const cid = map[charCode]; - if (cidToGidMap[cid] === undefined) { - map[+charCode] = unicodeCharCode; - } - }); - } - } - if (!(this.toUnicode instanceof IdentityToUnicodeMap)) { - this.toUnicode.forEach(function (charCode, unicodeCharCode) { - map[+charCode] = unicodeCharCode; - }); - } - this.toFontChar = map; - this.toUnicode = new ToUnicodeMap(map); - } else if (/Symbol/i.test(fontName)) { - this.toFontChar = buildToFontChar(SymbolSetEncoding, getGlyphsUnicode(), this.differences); - } else if (/Dingbats/i.test(fontName)) { - this.toFontChar = buildToFontChar(ZapfDingbatsEncoding, getDingbatsGlyphsUnicode(), this.differences); - } else if (isStandardFont) { - const map = buildToFontChar(this.defaultEncoding, getGlyphsUnicode(), this.differences); - if (type === "CIDFontType2" && !this.cidEncoding.startsWith("Identity-") && !(this.toUnicode instanceof IdentityToUnicodeMap)) { - this.toUnicode.forEach(function (charCode, unicodeCharCode) { - map[+charCode] = unicodeCharCode; - }); - } - this.toFontChar = map; - } else { - const glyphsUnicodeMap = getGlyphsUnicode(); - const map = []; - this.toUnicode.forEach((charCode, unicodeCharCode) => { - if (!this.composite) { - const glyphName = this.differences[charCode] || this.defaultEncoding[charCode]; - const unicode = getUnicodeForGlyph(glyphName, glyphsUnicodeMap); - if (unicode !== -1) { - unicodeCharCode = unicode; - } - } - map[+charCode] = unicodeCharCode; - }); - if (this.composite && this.toUnicode instanceof IdentityToUnicodeMap) { - if (/Tahoma|Verdana/i.test(name)) { - applyStandardFontGlyphMap(map, getGlyphMapForStandardFonts()); - } - } - this.toFontChar = map; - } - amendFallbackToUnicode(properties); - this.loadedName = fontName.split("-", 1)[0]; - } - checkAndRepair(name, font, properties) { - const VALID_TABLES = ["OS/2", "cmap", "head", "hhea", "hmtx", "maxp", "name", "post", "loca", "glyf", "fpgm", "prep", "cvt ", "CFF "]; - function readTables(file, numTables) { - const tables = Object.create(null); - tables["OS/2"] = null; - tables.cmap = null; - tables.head = null; - tables.hhea = null; - tables.hmtx = null; - tables.maxp = null; - tables.name = null; - tables.post = null; - for (let i = 0; i < numTables; i++) { - const table = readTableEntry(file); - if (!VALID_TABLES.includes(table.tag)) { - continue; - } - if (table.length === 0) { - continue; - } - tables[table.tag] = table; - } - return tables; - } - function readTableEntry(file) { - const tag = file.getString(4); - const checksum = file.getInt32() >>> 0; - const offset = file.getInt32() >>> 0; - const length = file.getInt32() >>> 0; - const previousPosition = file.pos; - file.pos = file.start || 0; - file.skip(offset); - const data = file.getBytes(length); - file.pos = previousPosition; - if (tag === "head") { - data[8] = data[9] = data[10] = data[11] = 0; - data[17] |= 0x20; - } - return { - tag, - checksum, - length, - offset, - data - }; - } - function readOpenTypeHeader(ttf) { - return { - version: ttf.getString(4), - numTables: ttf.getUint16(), - searchRange: ttf.getUint16(), - entrySelector: ttf.getUint16(), - rangeShift: ttf.getUint16() - }; - } - function readTrueTypeCollectionHeader(ttc) { - const ttcTag = ttc.getString(4); - assert(ttcTag === "ttcf", "Must be a TrueType Collection font."); - const majorVersion = ttc.getUint16(); - const minorVersion = ttc.getUint16(); - const numFonts = ttc.getInt32() >>> 0; - const offsetTable = []; - for (let i = 0; i < numFonts; i++) { - offsetTable.push(ttc.getInt32() >>> 0); - } - const header = { - ttcTag, - majorVersion, - minorVersion, - numFonts, - offsetTable - }; - switch (majorVersion) { - case 1: - return header; - case 2: - header.dsigTag = ttc.getInt32() >>> 0; - header.dsigLength = ttc.getInt32() >>> 0; - header.dsigOffset = ttc.getInt32() >>> 0; - return header; - } - throw new FormatError(`Invalid TrueType Collection majorVersion: ${majorVersion}.`); - } - function readTrueTypeCollectionData(ttc, fontName) { - const { - numFonts, - offsetTable - } = readTrueTypeCollectionHeader(ttc); - const fontNameParts = fontName.split("+"); - let fallbackData; - for (let i = 0; i < numFonts; i++) { - ttc.pos = (ttc.start || 0) + offsetTable[i]; - const potentialHeader = readOpenTypeHeader(ttc); - const potentialTables = readTables(ttc, potentialHeader.numTables); - if (!potentialTables.name) { - throw new FormatError('TrueType Collection font must contain a "name" table.'); - } - const [nameTable] = readNameTable(potentialTables.name); - for (let j = 0, jj = nameTable.length; j < jj; j++) { - for (let k = 0, kk = nameTable[j].length; k < kk; k++) { - const nameEntry = nameTable[j][k]?.replaceAll(/\s/g, ""); - if (!nameEntry) { - continue; - } - if (nameEntry === fontName) { - return { - header: potentialHeader, - tables: potentialTables - }; - } - if (fontNameParts.length < 2) { - continue; - } - for (const part of fontNameParts) { - if (nameEntry === part) { - fallbackData = { - name: part, - header: potentialHeader, - tables: potentialTables - }; - } - } - } - } - } - if (fallbackData) { - warn(`TrueType Collection does not contain "${fontName}" font, ` + `falling back to "${fallbackData.name}" font instead.`); - return { - header: fallbackData.header, - tables: fallbackData.tables - }; - } - throw new FormatError(`TrueType Collection does not contain "${fontName}" font.`); - } - function readCmapTable(cmap, file, isSymbolicFont, hasEncoding) { - if (!cmap) { - warn("No cmap table available."); - return { - platformId: -1, - encodingId: -1, - mappings: [], - hasShortCmap: false - }; - } - let segment; - let start = (file.start || 0) + cmap.offset; - file.pos = start; - file.skip(2); - const numTables = file.getUint16(); - let potentialTable; - let canBreak = false; - for (let i = 0; i < numTables; i++) { - const platformId = file.getUint16(); - const encodingId = file.getUint16(); - const offset = file.getInt32() >>> 0; - let useTable = false; - if (potentialTable?.platformId === platformId && potentialTable?.encodingId === encodingId) { - continue; - } - if (platformId === 0 && (encodingId === 0 || encodingId === 1 || encodingId === 3)) { - useTable = true; - } else if (platformId === 1 && encodingId === 0) { - useTable = true; - } else if (platformId === 3 && encodingId === 1 && (hasEncoding || !potentialTable)) { - useTable = true; - if (!isSymbolicFont) { - canBreak = true; - } - } else if (isSymbolicFont && platformId === 3 && encodingId === 0) { - useTable = true; - let correctlySorted = true; - if (i < numTables - 1) { - const nextBytes = file.peekBytes(2), - nextPlatformId = int16(nextBytes[0], nextBytes[1]); - if (nextPlatformId < platformId) { - correctlySorted = false; - } - } - if (correctlySorted) { - canBreak = true; - } - } - if (useTable) { - potentialTable = { - platformId, - encodingId, - offset - }; - } - if (canBreak) { - break; - } - } - if (potentialTable) { - file.pos = start + potentialTable.offset; - } - if (!potentialTable || file.peekByte() === -1) { - warn("Could not find a preferred cmap table."); - return { - platformId: -1, - encodingId: -1, - mappings: [], - hasShortCmap: false - }; - } - const format = file.getUint16(); - let hasShortCmap = false; - const mappings = []; - let j, glyphId; - if (format === 0) { - file.skip(2 + 2); - for (j = 0; j < 256; j++) { - const index = file.getByte(); - if (!index) { - continue; - } - mappings.push({ - charCode: j, - glyphId: index - }); - } - hasShortCmap = true; - } else if (format === 2) { - file.skip(2 + 2); - const subHeaderKeys = []; - let maxSubHeaderKey = 0; - for (let i = 0; i < 256; i++) { - const subHeaderKey = file.getUint16() >> 3; - subHeaderKeys.push(subHeaderKey); - maxSubHeaderKey = Math.max(subHeaderKey, maxSubHeaderKey); - } - const subHeaders = []; - for (let i = 0; i <= maxSubHeaderKey; i++) { - subHeaders.push({ - firstCode: file.getUint16(), - entryCount: file.getUint16(), - idDelta: signedInt16(file.getByte(), file.getByte()), - idRangePos: file.pos + file.getUint16() - }); - } - for (let i = 0; i < 256; i++) { - if (subHeaderKeys[i] === 0) { - file.pos = subHeaders[0].idRangePos + 2 * i; - glyphId = file.getUint16(); - mappings.push({ - charCode: i, - glyphId - }); - } else { - const s = subHeaders[subHeaderKeys[i]]; - for (j = 0; j < s.entryCount; j++) { - const charCode = (i << 8) + j + s.firstCode; - file.pos = s.idRangePos + 2 * j; - glyphId = file.getUint16(); - if (glyphId !== 0) { - glyphId = (glyphId + s.idDelta) % 65536; - } - mappings.push({ - charCode, - glyphId - }); - } - } - } - } else if (format === 4) { - file.skip(2 + 2); - const segCount = file.getUint16() >> 1; - file.skip(6); - const segments = []; - let segIndex; - for (segIndex = 0; segIndex < segCount; segIndex++) { - segments.push({ - end: file.getUint16() - }); - } - file.skip(2); - for (segIndex = 0; segIndex < segCount; segIndex++) { - segments[segIndex].start = file.getUint16(); - } - for (segIndex = 0; segIndex < segCount; segIndex++) { - segments[segIndex].delta = file.getUint16(); - } - let offsetsCount = 0, - offsetIndex; - for (segIndex = 0; segIndex < segCount; segIndex++) { - segment = segments[segIndex]; - const rangeOffset = file.getUint16(); - if (!rangeOffset) { - segment.offsetIndex = -1; - continue; - } - offsetIndex = (rangeOffset >> 1) - (segCount - segIndex); - segment.offsetIndex = offsetIndex; - offsetsCount = Math.max(offsetsCount, offsetIndex + segment.end - segment.start + 1); - } - const offsets = []; - for (j = 0; j < offsetsCount; j++) { - offsets.push(file.getUint16()); - } - for (segIndex = 0; segIndex < segCount; segIndex++) { - segment = segments[segIndex]; - start = segment.start; - const end = segment.end; - const delta = segment.delta; - offsetIndex = segment.offsetIndex; - for (j = start; j <= end; j++) { - if (j === 0xffff) { - continue; - } - glyphId = offsetIndex < 0 ? j : offsets[offsetIndex + j - start]; - glyphId = glyphId + delta & 0xffff; - mappings.push({ - charCode: j, - glyphId - }); - } - } - } else if (format === 6) { - file.skip(2 + 2); - const firstCode = file.getUint16(); - const entryCount = file.getUint16(); - for (j = 0; j < entryCount; j++) { - glyphId = file.getUint16(); - const charCode = firstCode + j; - mappings.push({ - charCode, - glyphId - }); - } - } else if (format === 12) { - file.skip(2 + 4 + 4); - const nGroups = file.getInt32() >>> 0; - for (j = 0; j < nGroups; j++) { - const startCharCode = file.getInt32() >>> 0; - const endCharCode = file.getInt32() >>> 0; - let glyphCode = file.getInt32() >>> 0; - for (let charCode = startCharCode; charCode <= endCharCode; charCode++) { - mappings.push({ - charCode, - glyphId: glyphCode++ - }); - } - } - } else { - warn("cmap table has unsupported format: " + format); - return { - platformId: -1, - encodingId: -1, - mappings: [], - hasShortCmap: false - }; - } - mappings.sort(function (a, b) { - return a.charCode - b.charCode; - }); - for (let i = 1; i < mappings.length; i++) { - if (mappings[i - 1].charCode === mappings[i].charCode) { - mappings.splice(i, 1); - i--; - } - } - return { - platformId: potentialTable.platformId, - encodingId: potentialTable.encodingId, - mappings, - hasShortCmap - }; - } - function sanitizeMetrics(file, header, metrics, headTable, numGlyphs, dupFirstEntry) { - if (!header) { - if (metrics) { - metrics.data = null; - } - return; - } - file.pos = (file.start || 0) + header.offset; - file.pos += 4; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - file.pos += 2; - const caretOffset = file.getUint16(); - file.pos += 8; - file.pos += 2; - let numOfMetrics = file.getUint16(); - if (caretOffset !== 0) { - const macStyle = int16(headTable.data[44], headTable.data[45]); - if (!(macStyle & 2)) { - header.data[22] = 0; - header.data[23] = 0; - } - } - if (numOfMetrics > numGlyphs) { - info(`The numOfMetrics (${numOfMetrics}) should not be ` + `greater than the numGlyphs (${numGlyphs}).`); - numOfMetrics = numGlyphs; - header.data[34] = (numOfMetrics & 0xff00) >> 8; - header.data[35] = numOfMetrics & 0x00ff; - } - const numOfSidebearings = numGlyphs - numOfMetrics; - const numMissing = numOfSidebearings - (metrics.length - numOfMetrics * 4 >> 1); - if (numMissing > 0) { - const entries = new Uint8Array(metrics.length + numMissing * 2); - entries.set(metrics.data); - if (dupFirstEntry) { - entries[metrics.length] = metrics.data[2]; - entries[metrics.length + 1] = metrics.data[3]; - } - metrics.data = entries; - } - } - function sanitizeGlyph(source, sourceStart, sourceEnd, dest, destStart, hintsValid) { - const glyphProfile = { - length: 0, - sizeOfInstructions: 0 - }; - if (sourceStart < 0 || sourceStart >= source.length || sourceEnd > source.length || sourceEnd - sourceStart <= 12) { - return glyphProfile; - } - const glyf = source.subarray(sourceStart, sourceEnd); - const xMin = signedInt16(glyf[2], glyf[3]); - const yMin = signedInt16(glyf[4], glyf[5]); - const xMax = signedInt16(glyf[6], glyf[7]); - const yMax = signedInt16(glyf[8], glyf[9]); - if (xMin > xMax) { - writeSignedInt16(glyf, 2, xMax); - writeSignedInt16(glyf, 6, xMin); - } - if (yMin > yMax) { - writeSignedInt16(glyf, 4, yMax); - writeSignedInt16(glyf, 8, yMin); - } - const contoursCount = signedInt16(glyf[0], glyf[1]); - if (contoursCount < 0) { - if (contoursCount < -1) { - return glyphProfile; - } - dest.set(glyf, destStart); - glyphProfile.length = glyf.length; - return glyphProfile; - } - let i, - j = 10, - flagsCount = 0; - for (i = 0; i < contoursCount; i++) { - const endPoint = glyf[j] << 8 | glyf[j + 1]; - flagsCount = endPoint + 1; - j += 2; - } - const instructionsStart = j; - const instructionsLength = glyf[j] << 8 | glyf[j + 1]; - glyphProfile.sizeOfInstructions = instructionsLength; - j += 2 + instructionsLength; - const instructionsEnd = j; - let coordinatesLength = 0; - for (i = 0; i < flagsCount; i++) { - const flag = glyf[j++]; - if (flag & 0xc0) { - glyf[j - 1] = flag & 0x3f; - } - let xLength = 2; - if (flag & 2) { - xLength = 1; - } else if (flag & 16) { - xLength = 0; - } - let yLength = 2; - if (flag & 4) { - yLength = 1; - } else if (flag & 32) { - yLength = 0; - } - const xyLength = xLength + yLength; - coordinatesLength += xyLength; - if (flag & 8) { - const repeat = glyf[j++]; - if (repeat === 0) { - glyf[j - 1] ^= 8; - } - i += repeat; - coordinatesLength += repeat * xyLength; - } - } - if (coordinatesLength === 0) { - return glyphProfile; - } - let glyphDataLength = j + coordinatesLength; - if (glyphDataLength > glyf.length) { - return glyphProfile; - } - if (!hintsValid && instructionsLength > 0) { - dest.set(glyf.subarray(0, instructionsStart), destStart); - dest.set([0, 0], destStart + instructionsStart); - dest.set(glyf.subarray(instructionsEnd, glyphDataLength), destStart + instructionsStart + 2); - glyphDataLength -= instructionsLength; - if (glyf.length - glyphDataLength > 3) { - glyphDataLength = glyphDataLength + 3 & ~3; - } - glyphProfile.length = glyphDataLength; - return glyphProfile; - } - if (glyf.length - glyphDataLength > 3) { - glyphDataLength = glyphDataLength + 3 & ~3; - dest.set(glyf.subarray(0, glyphDataLength), destStart); - glyphProfile.length = glyphDataLength; - return glyphProfile; - } - dest.set(glyf, destStart); - glyphProfile.length = glyf.length; - return glyphProfile; - } - function sanitizeHead(head, numGlyphs, locaLength) { - const data = head.data; - const version = int32(data[0], data[1], data[2], data[3]); - if (version >> 16 !== 1) { - info("Attempting to fix invalid version in head table: " + version); - data[0] = 0; - data[1] = 1; - data[2] = 0; - data[3] = 0; - } - const indexToLocFormat = int16(data[50], data[51]); - if (indexToLocFormat < 0 || indexToLocFormat > 1) { - info("Attempting to fix invalid indexToLocFormat in head table: " + indexToLocFormat); - const numGlyphsPlusOne = numGlyphs + 1; - if (locaLength === numGlyphsPlusOne << 1) { - data[50] = 0; - data[51] = 0; - } else if (locaLength === numGlyphsPlusOne << 2) { - data[50] = 0; - data[51] = 1; - } else { - throw new FormatError("Could not fix indexToLocFormat: " + indexToLocFormat); - } - } - } - function sanitizeGlyphLocations(loca, glyf, numGlyphs, isGlyphLocationsLong, hintsValid, dupFirstEntry, maxSizeOfInstructions) { - let itemSize, itemDecode, itemEncode; - if (isGlyphLocationsLong) { - itemSize = 4; - itemDecode = function fontItemDecodeLong(data, offset) { - return data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]; - }; - itemEncode = function fontItemEncodeLong(data, offset, value) { - data[offset] = value >>> 24 & 0xff; - data[offset + 1] = value >> 16 & 0xff; - data[offset + 2] = value >> 8 & 0xff; - data[offset + 3] = value & 0xff; - }; - } else { - itemSize = 2; - itemDecode = function fontItemDecode(data, offset) { - return data[offset] << 9 | data[offset + 1] << 1; - }; - itemEncode = function fontItemEncode(data, offset, value) { - data[offset] = value >> 9 & 0xff; - data[offset + 1] = value >> 1 & 0xff; - }; - } - const numGlyphsOut = dupFirstEntry ? numGlyphs + 1 : numGlyphs; - const locaDataSize = itemSize * (1 + numGlyphsOut); - const locaData = new Uint8Array(locaDataSize); - locaData.set(loca.data.subarray(0, locaDataSize)); - loca.data = locaData; - const oldGlyfData = glyf.data; - const oldGlyfDataLength = oldGlyfData.length; - const newGlyfData = new Uint8Array(oldGlyfDataLength); - let i, j; - const locaEntries = []; - for (i = 0, j = 0; i < numGlyphs + 1; i++, j += itemSize) { - let offset = itemDecode(locaData, j); - if (offset > oldGlyfDataLength) { - offset = oldGlyfDataLength; - } - locaEntries.push({ - index: i, - offset, - endOffset: 0 - }); - } - locaEntries.sort((a, b) => a.offset - b.offset); - for (i = 0; i < numGlyphs; i++) { - locaEntries[i].endOffset = locaEntries[i + 1].offset; - } - locaEntries.sort((a, b) => a.index - b.index); - for (i = 0; i < numGlyphs; i++) { - const { - offset, - endOffset - } = locaEntries[i]; - if (offset !== 0 || endOffset !== 0) { - break; - } - const nextOffset = locaEntries[i + 1].offset; - if (nextOffset === 0) { - continue; - } - locaEntries[i].endOffset = nextOffset; - break; - } - const last = locaEntries.at(-2); - if (last.offset !== 0 && last.endOffset === 0) { - last.endOffset = oldGlyfDataLength; - } - const missingGlyphs = Object.create(null); - let writeOffset = 0; - itemEncode(locaData, 0, writeOffset); - for (i = 0, j = itemSize; i < numGlyphs; i++, j += itemSize) { - const glyphProfile = sanitizeGlyph(oldGlyfData, locaEntries[i].offset, locaEntries[i].endOffset, newGlyfData, writeOffset, hintsValid); - const newLength = glyphProfile.length; - if (newLength === 0) { - missingGlyphs[i] = true; - } - if (glyphProfile.sizeOfInstructions > maxSizeOfInstructions) { - maxSizeOfInstructions = glyphProfile.sizeOfInstructions; - } - writeOffset += newLength; - itemEncode(locaData, j, writeOffset); - } - if (writeOffset === 0) { - const simpleGlyph = new Uint8Array([0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49, 0]); - for (i = 0, j = itemSize; i < numGlyphsOut; i++, j += itemSize) { - itemEncode(locaData, j, simpleGlyph.length); - } - glyf.data = simpleGlyph; - } else if (dupFirstEntry) { - const firstEntryLength = itemDecode(locaData, itemSize); - if (newGlyfData.length > firstEntryLength + writeOffset) { - glyf.data = newGlyfData.subarray(0, firstEntryLength + writeOffset); - } else { - glyf.data = new Uint8Array(firstEntryLength + writeOffset); - glyf.data.set(newGlyfData.subarray(0, writeOffset)); - } - glyf.data.set(newGlyfData.subarray(0, firstEntryLength), writeOffset); - itemEncode(loca.data, locaData.length - itemSize, writeOffset + firstEntryLength); - } else { - glyf.data = newGlyfData.subarray(0, writeOffset); - } - return { - missingGlyphs, - maxSizeOfInstructions - }; - } - function readPostScriptTable(post, propertiesObj, maxpNumGlyphs) { - const start = (font.start || 0) + post.offset; - font.pos = start; - const length = post.length, - end = start + length; - const version = font.getInt32(); - font.skip(28); - let glyphNames; - let valid = true; - let i; - switch (version) { - case 0x00010000: - glyphNames = MacStandardGlyphOrdering; - break; - case 0x00020000: - const numGlyphs = font.getUint16(); - if (numGlyphs !== maxpNumGlyphs) { - valid = false; - break; - } - const glyphNameIndexes = []; - for (i = 0; i < numGlyphs; ++i) { - const index = font.getUint16(); - if (index >= 32768) { - valid = false; - break; - } - glyphNameIndexes.push(index); - } - if (!valid) { - break; - } - const customNames = [], - strBuf = []; - while (font.pos < end) { - const stringLength = font.getByte(); - strBuf.length = stringLength; - for (i = 0; i < stringLength; ++i) { - strBuf[i] = String.fromCharCode(font.getByte()); - } - customNames.push(strBuf.join("")); - } - glyphNames = []; - for (i = 0; i < numGlyphs; ++i) { - const j = glyphNameIndexes[i]; - if (j < 258) { - glyphNames.push(MacStandardGlyphOrdering[j]); - continue; - } - glyphNames.push(customNames[j - 258]); - } - break; - case 0x00030000: - break; - default: - warn("Unknown/unsupported post table version " + version); - valid = false; - if (propertiesObj.defaultEncoding) { - glyphNames = propertiesObj.defaultEncoding; - } - break; - } - propertiesObj.glyphNames = glyphNames; - return valid; - } - function readNameTable(nameTable) { - const start = (font.start || 0) + nameTable.offset; - font.pos = start; - const names = [[], []], - records = []; - const length = nameTable.length, - end = start + length; - const format = font.getUint16(); - const FORMAT_0_HEADER_LENGTH = 6; - if (format !== 0 || length < FORMAT_0_HEADER_LENGTH) { - return [names, records]; - } - const numRecords = font.getUint16(); - const stringsStart = font.getUint16(); - const NAME_RECORD_LENGTH = 12; - let i, ii; - for (i = 0; i < numRecords && font.pos + NAME_RECORD_LENGTH <= end; i++) { - const r = { - platform: font.getUint16(), - encoding: font.getUint16(), - language: font.getUint16(), - name: font.getUint16(), - length: font.getUint16(), - offset: font.getUint16() - }; - if (isMacNameRecord(r) || isWinNameRecord(r)) { - records.push(r); - } - } - for (i = 0, ii = records.length; i < ii; i++) { - const record = records[i]; - if (record.length <= 0) { - continue; - } - const pos = start + stringsStart + record.offset; - if (pos + record.length > end) { - continue; - } - font.pos = pos; - const nameIndex = record.name; - if (record.encoding) { - let str = ""; - for (let j = 0, jj = record.length; j < jj; j += 2) { - str += String.fromCharCode(font.getUint16()); - } - names[1][nameIndex] = str; - } else { - names[0][nameIndex] = font.getString(record.length); - } - } - return [names, records]; - } - const TTOpsStackDeltas = [0, 0, 0, 0, 0, 0, 0, 0, -2, -2, -2, -2, 0, 0, -2, -5, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, -1, -1, 1, -1, -999, 0, 1, 0, -1, -2, 0, -1, -2, -1, -1, 0, -1, -1, 0, 0, -999, -999, -1, -1, -1, -1, -2, -999, -2, -2, -999, 0, -2, -2, 0, 0, -2, 0, -2, 0, 0, 0, -2, -1, -1, 1, 1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 0, -1, 0, -1, -1, 0, -999, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, -999, -999, -999, -999, -999, -1, -1, -2, -2, 0, 0, 0, 0, -1, -1, -999, -2, -2, 0, 0, -1, -2, -2, 0, 0, 0, -1, -1, -1, -2]; - function sanitizeTTProgram(table, ttContext) { - let data = table.data; - let i = 0, - j, - n, - b, - funcId, - pc, - lastEndf = 0, - lastDeff = 0; - const stack = []; - const callstack = []; - const functionsCalled = []; - let tooComplexToFollowFunctions = ttContext.tooComplexToFollowFunctions; - let inFDEF = false, - ifLevel = 0, - inELSE = 0; - for (let ii = data.length; i < ii;) { - const op = data[i++]; - if (op === 0x40) { - n = data[i++]; - if (inFDEF || inELSE) { - i += n; - } else { - for (j = 0; j < n; j++) { - stack.push(data[i++]); - } - } - } else if (op === 0x41) { - n = data[i++]; - if (inFDEF || inELSE) { - i += n * 2; - } else { - for (j = 0; j < n; j++) { - b = data[i++]; - stack.push(b << 8 | data[i++]); - } - } - } else if ((op & 0xf8) === 0xb0) { - n = op - 0xb0 + 1; - if (inFDEF || inELSE) { - i += n; - } else { - for (j = 0; j < n; j++) { - stack.push(data[i++]); - } - } - } else if ((op & 0xf8) === 0xb8) { - n = op - 0xb8 + 1; - if (inFDEF || inELSE) { - i += n * 2; - } else { - for (j = 0; j < n; j++) { - b = data[i++]; - stack.push(b << 8 | data[i++]); - } - } - } else if (op === 0x2b && !tooComplexToFollowFunctions) { - if (!inFDEF && !inELSE) { - funcId = stack.at(-1); - if (isNaN(funcId)) { - info("TT: CALL empty stack (or invalid entry)."); - } else { - ttContext.functionsUsed[funcId] = true; - if (funcId in ttContext.functionsStackDeltas) { - const newStackLength = stack.length + ttContext.functionsStackDeltas[funcId]; - if (newStackLength < 0) { - warn("TT: CALL invalid functions stack delta."); - ttContext.hintsValid = false; - return; - } - stack.length = newStackLength; - } else if (funcId in ttContext.functionsDefined && !functionsCalled.includes(funcId)) { - callstack.push({ - data, - i, - stackTop: stack.length - 1 - }); - functionsCalled.push(funcId); - pc = ttContext.functionsDefined[funcId]; - if (!pc) { - warn("TT: CALL non-existent function"); - ttContext.hintsValid = false; - return; - } - data = pc.data; - i = pc.i; - } - } - } - } else if (op === 0x2c && !tooComplexToFollowFunctions) { - if (inFDEF || inELSE) { - warn("TT: nested FDEFs not allowed"); - tooComplexToFollowFunctions = true; - } - inFDEF = true; - lastDeff = i; - funcId = stack.pop(); - ttContext.functionsDefined[funcId] = { - data, - i - }; - } else if (op === 0x2d) { - if (inFDEF) { - inFDEF = false; - lastEndf = i; - } else { - pc = callstack.pop(); - if (!pc) { - warn("TT: ENDF bad stack"); - ttContext.hintsValid = false; - return; - } - funcId = functionsCalled.pop(); - data = pc.data; - i = pc.i; - ttContext.functionsStackDeltas[funcId] = stack.length - pc.stackTop; - } - } else if (op === 0x89) { - if (inFDEF || inELSE) { - warn("TT: nested IDEFs not allowed"); - tooComplexToFollowFunctions = true; - } - inFDEF = true; - lastDeff = i; - } else if (op === 0x58) { - ++ifLevel; - } else if (op === 0x1b) { - inELSE = ifLevel; - } else if (op === 0x59) { - if (inELSE === ifLevel) { - inELSE = 0; - } - --ifLevel; - } else if (op === 0x1c) { - if (!inFDEF && !inELSE) { - const offset = stack.at(-1); - if (offset > 0) { - i += offset - 1; - } - } - } - if (!inFDEF && !inELSE) { - let stackDelta = 0; - if (op <= 0x8e) { - stackDelta = TTOpsStackDeltas[op]; - } else if (op >= 0xc0 && op <= 0xdf) { - stackDelta = -1; - } else if (op >= 0xe0) { - stackDelta = -2; - } - if (op >= 0x71 && op <= 0x75) { - n = stack.pop(); - if (!isNaN(n)) { - stackDelta = -n * 2; - } - } - while (stackDelta < 0 && stack.length > 0) { - stack.pop(); - stackDelta++; - } - while (stackDelta > 0) { - stack.push(NaN); - stackDelta--; - } - } - } - ttContext.tooComplexToFollowFunctions = tooComplexToFollowFunctions; - const content = [data]; - if (i > data.length) { - content.push(new Uint8Array(i - data.length)); - } - if (lastDeff > lastEndf) { - warn("TT: complementing a missing function tail"); - content.push(new Uint8Array([0x22, 0x2d])); - } - foldTTTable(table, content); - } - function checkInvalidFunctions(ttContext, maxFunctionDefs) { - if (ttContext.tooComplexToFollowFunctions) { - return; - } - if (ttContext.functionsDefined.length > maxFunctionDefs) { - warn("TT: more functions defined than expected"); - ttContext.hintsValid = false; - return; - } - for (let j = 0, jj = ttContext.functionsUsed.length; j < jj; j++) { - if (j > maxFunctionDefs) { - warn("TT: invalid function id: " + j); - ttContext.hintsValid = false; - return; - } - if (ttContext.functionsUsed[j] && !ttContext.functionsDefined[j]) { - warn("TT: undefined function: " + j); - ttContext.hintsValid = false; - return; - } - } - } - function foldTTTable(table, content) { - if (content.length > 1) { - let newLength = 0; - let j, jj; - for (j = 0, jj = content.length; j < jj; j++) { - newLength += content[j].length; - } - newLength = newLength + 3 & ~3; - const result = new Uint8Array(newLength); - let pos = 0; - for (j = 0, jj = content.length; j < jj; j++) { - result.set(content[j], pos); - pos += content[j].length; - } - table.data = result; - table.length = newLength; - } - } - function sanitizeTTPrograms(fpgm, prep, cvt, maxFunctionDefs) { - const ttContext = { - functionsDefined: [], - functionsUsed: [], - functionsStackDeltas: [], - tooComplexToFollowFunctions: false, - hintsValid: true - }; - if (fpgm) { - sanitizeTTProgram(fpgm, ttContext); - } - if (prep) { - sanitizeTTProgram(prep, ttContext); - } - if (fpgm) { - checkInvalidFunctions(ttContext, maxFunctionDefs); - } - if (cvt && cvt.length & 1) { - const cvtData = new Uint8Array(cvt.length + 1); - cvtData.set(cvt.data); - cvt.data = cvtData; - } - return ttContext.hintsValid; - } - font = new Stream(new Uint8Array(font.getBytes())); - let header, tables; - if (isTrueTypeCollectionFile(font)) { - const ttcData = readTrueTypeCollectionData(font, this.name); - header = ttcData.header; - tables = ttcData.tables; - } else { - header = readOpenTypeHeader(font); - tables = readTables(font, header.numTables); - } - let cff, cffFile; - const isTrueType = !tables["CFF "]; - if (!isTrueType) { - const isComposite = properties.composite && (properties.cidToGidMap?.length > 0 || !(properties.cMap instanceof IdentityCMap)); - if (header.version === "OTTO" && !isComposite || !tables.head || !tables.hhea || !tables.maxp || !tables.post) { - cffFile = new Stream(tables["CFF "].data); - cff = new CFFFont(cffFile, properties); - adjustWidths(properties); - return this.convert(name, cff, properties); - } - delete tables.glyf; - delete tables.loca; - delete tables.fpgm; - delete tables.prep; - delete tables["cvt "]; - this.isOpenType = true; - } else { - if (!tables.loca) { - throw new FormatError('Required "loca" table is not found'); - } - if (!tables.glyf) { - warn('Required "glyf" table is not found -- trying to recover.'); - tables.glyf = { - tag: "glyf", - data: new Uint8Array(0) - }; - } - this.isOpenType = false; - } - if (!tables.maxp) { - throw new FormatError('Required "maxp" table is not found'); - } - font.pos = (font.start || 0) + tables.maxp.offset; - let version = font.getInt32(); - const numGlyphs = font.getUint16(); - if (version !== 0x00010000 && version !== 0x00005000) { - if (tables.maxp.length === 6) { - version = 0x0005000; - } else if (tables.maxp.length >= 32) { - version = 0x00010000; - } else { - throw new FormatError(`"maxp" table has a wrong version number`); - } - writeUint32(tables.maxp.data, 0, version); - } - if (properties.scaleFactors?.length === numGlyphs && isTrueType) { - const { - scaleFactors - } = properties; - const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]); - const glyphs = new GlyfTable({ - glyfTable: tables.glyf.data, - isGlyphLocationsLong, - locaTable: tables.loca.data, - numGlyphs - }); - glyphs.scale(scaleFactors); - const { - glyf, - loca, - isLocationLong - } = glyphs.write(); - tables.glyf.data = glyf; - tables.loca.data = loca; - if (isLocationLong !== !!isGlyphLocationsLong) { - tables.head.data[50] = 0; - tables.head.data[51] = isLocationLong ? 1 : 0; - } - const metrics = tables.hmtx.data; - for (let i = 0; i < numGlyphs; i++) { - const j = 4 * i; - const advanceWidth = Math.round(scaleFactors[i] * int16(metrics[j], metrics[j + 1])); - metrics[j] = advanceWidth >> 8 & 0xff; - metrics[j + 1] = advanceWidth & 0xff; - const lsb = Math.round(scaleFactors[i] * signedInt16(metrics[j + 2], metrics[j + 3])); - writeSignedInt16(metrics, j + 2, lsb); - } - } - let numGlyphsOut = numGlyphs + 1; - let dupFirstEntry = true; - if (numGlyphsOut > 0xffff) { - dupFirstEntry = false; - numGlyphsOut = numGlyphs; - warn("Not enough space in glyfs to duplicate first glyph."); - } - let maxFunctionDefs = 0; - let maxSizeOfInstructions = 0; - if (version >= 0x00010000 && tables.maxp.length >= 32) { - font.pos += 8; - const maxZones = font.getUint16(); - if (maxZones > 2) { - tables.maxp.data[14] = 0; - tables.maxp.data[15] = 2; - } - font.pos += 4; - maxFunctionDefs = font.getUint16(); - font.pos += 4; - maxSizeOfInstructions = font.getUint16(); - } - tables.maxp.data[4] = numGlyphsOut >> 8; - tables.maxp.data[5] = numGlyphsOut & 255; - const hintsValid = sanitizeTTPrograms(tables.fpgm, tables.prep, tables["cvt "], maxFunctionDefs); - if (!hintsValid) { - delete tables.fpgm; - delete tables.prep; - delete tables["cvt "]; - } - sanitizeMetrics(font, tables.hhea, tables.hmtx, tables.head, numGlyphsOut, dupFirstEntry); - if (!tables.head) { - throw new FormatError('Required "head" table is not found'); - } - sanitizeHead(tables.head, numGlyphs, isTrueType ? tables.loca.length : 0); - let missingGlyphs = Object.create(null); - if (isTrueType) { - const isGlyphLocationsLong = int16(tables.head.data[50], tables.head.data[51]); - const glyphsInfo = sanitizeGlyphLocations(tables.loca, tables.glyf, numGlyphs, isGlyphLocationsLong, hintsValid, dupFirstEntry, maxSizeOfInstructions); - missingGlyphs = glyphsInfo.missingGlyphs; - if (version >= 0x00010000 && tables.maxp.length >= 32) { - tables.maxp.data[26] = glyphsInfo.maxSizeOfInstructions >> 8; - tables.maxp.data[27] = glyphsInfo.maxSizeOfInstructions & 255; - } - } - if (!tables.hhea) { - throw new FormatError('Required "hhea" table is not found'); - } - if (tables.hhea.data[10] === 0 && tables.hhea.data[11] === 0) { - tables.hhea.data[10] = 0xff; - tables.hhea.data[11] = 0xff; - } - const metricsOverride = { - unitsPerEm: int16(tables.head.data[18], tables.head.data[19]), - yMax: signedInt16(tables.head.data[42], tables.head.data[43]), - yMin: signedInt16(tables.head.data[38], tables.head.data[39]), - ascent: signedInt16(tables.hhea.data[4], tables.hhea.data[5]), - descent: signedInt16(tables.hhea.data[6], tables.hhea.data[7]), - lineGap: signedInt16(tables.hhea.data[8], tables.hhea.data[9]) - }; - this.ascent = metricsOverride.ascent / metricsOverride.unitsPerEm; - this.descent = metricsOverride.descent / metricsOverride.unitsPerEm; - this.lineGap = metricsOverride.lineGap / metricsOverride.unitsPerEm; - if (this.cssFontInfo?.lineHeight) { - this.lineHeight = this.cssFontInfo.metrics.lineHeight; - this.lineGap = this.cssFontInfo.metrics.lineGap; - } else { - this.lineHeight = this.ascent - this.descent + this.lineGap; - } - if (tables.post) { - readPostScriptTable(tables.post, properties, numGlyphs); - } - tables.post = { - tag: "post", - data: createPostTable(properties) - }; - const charCodeToGlyphId = []; - function hasGlyph(glyphId) { - return !missingGlyphs[glyphId]; - } - if (properties.composite) { - const cidToGidMap = properties.cidToGidMap || []; - const isCidToGidMapEmpty = cidToGidMap.length === 0; - properties.cMap.forEach(function (charCode, cid) { - if (typeof cid === "string") { - cid = convertCidString(charCode, cid, true); - } - if (cid > 0xffff) { - throw new FormatError("Max size of CID is 65,535"); - } - let glyphId = -1; - if (isCidToGidMapEmpty) { - glyphId = cid; - } else if (cidToGidMap[cid] !== undefined) { - glyphId = cidToGidMap[cid]; - } - if (glyphId >= 0 && glyphId < numGlyphs && hasGlyph(glyphId)) { - charCodeToGlyphId[charCode] = glyphId; - } - }); - } else { - const cmapTable = readCmapTable(tables.cmap, font, this.isSymbolicFont, properties.hasEncoding); - const cmapPlatformId = cmapTable.platformId; - const cmapEncodingId = cmapTable.encodingId; - const cmapMappings = cmapTable.mappings; - let baseEncoding = [], - forcePostTable = false; - if (properties.hasEncoding && (properties.baseEncodingName === "MacRomanEncoding" || properties.baseEncodingName === "WinAnsiEncoding")) { - baseEncoding = getEncoding(properties.baseEncodingName); - } - if (properties.hasEncoding && !this.isSymbolicFont && (cmapPlatformId === 3 && cmapEncodingId === 1 || cmapPlatformId === 1 && cmapEncodingId === 0)) { - const glyphsUnicodeMap = getGlyphsUnicode(); - for (let charCode = 0; charCode < 256; charCode++) { - let glyphName; - if (this.differences[charCode] !== undefined) { - glyphName = this.differences[charCode]; - } else if (baseEncoding.length && baseEncoding[charCode] !== "") { - glyphName = baseEncoding[charCode]; - } else { - glyphName = StandardEncoding[charCode]; - } - if (!glyphName) { - continue; - } - const standardGlyphName = recoverGlyphName(glyphName, glyphsUnicodeMap); - let unicodeOrCharCode; - if (cmapPlatformId === 3 && cmapEncodingId === 1) { - unicodeOrCharCode = glyphsUnicodeMap[standardGlyphName]; - } else if (cmapPlatformId === 1 && cmapEncodingId === 0) { - unicodeOrCharCode = MacRomanEncoding.indexOf(standardGlyphName); - } - if (unicodeOrCharCode === undefined) { - if (!properties.glyphNames && properties.hasIncludedToUnicodeMap && !(this.toUnicode instanceof IdentityToUnicodeMap)) { - const unicode = this.toUnicode.get(charCode); - if (unicode) { - unicodeOrCharCode = unicode.codePointAt(0); - } - } - if (unicodeOrCharCode === undefined) { - continue; - } - } - for (const mapping of cmapMappings) { - if (mapping.charCode !== unicodeOrCharCode) { - continue; - } - charCodeToGlyphId[charCode] = mapping.glyphId; - break; - } - } - } else if (cmapPlatformId === 0) { - for (const mapping of cmapMappings) { - charCodeToGlyphId[mapping.charCode] = mapping.glyphId; - } - forcePostTable = true; - } else if (cmapPlatformId === 3 && cmapEncodingId === 0) { - for (const mapping of cmapMappings) { - let charCode = mapping.charCode; - if (charCode >= 0xf000 && charCode <= 0xf0ff) { - charCode &= 0xff; - } - charCodeToGlyphId[charCode] = mapping.glyphId; - } - } else { - for (const mapping of cmapMappings) { - charCodeToGlyphId[mapping.charCode] = mapping.glyphId; - } - } - if (properties.glyphNames && (baseEncoding.length || this.differences.length)) { - for (let i = 0; i < 256; ++i) { - if (!forcePostTable && charCodeToGlyphId[i] !== undefined) { - continue; - } - const glyphName = this.differences[i] || baseEncoding[i]; - if (!glyphName) { - continue; - } - const glyphId = properties.glyphNames.indexOf(glyphName); - if (glyphId > 0 && hasGlyph(glyphId)) { - charCodeToGlyphId[i] = glyphId; - } - } - } - } - if (charCodeToGlyphId.length === 0) { - charCodeToGlyphId[0] = 0; - } - let glyphZeroId = numGlyphsOut - 1; - if (!dupFirstEntry) { - glyphZeroId = 0; - } - if (!properties.cssFontInfo) { - const newMapping = adjustMapping(charCodeToGlyphId, hasGlyph, glyphZeroId, this.toUnicode); - this.toFontChar = newMapping.toFontChar; - tables.cmap = { - tag: "cmap", - data: createCmapTable(newMapping.charCodeToGlyphId, newMapping.toUnicodeExtraMap, numGlyphsOut) - }; - if (!tables["OS/2"] || !validateOS2Table(tables["OS/2"], font)) { - tables["OS/2"] = { - tag: "OS/2", - data: createOS2Table(properties, newMapping.charCodeToGlyphId, metricsOverride) - }; - } - } - if (!isTrueType) { - try { - cffFile = new Stream(tables["CFF "].data); - const parser = new CFFParser(cffFile, properties, SEAC_ANALYSIS_ENABLED); - cff = parser.parse(); - cff.duplicateFirstGlyph(); - const compiler = new CFFCompiler(cff); - tables["CFF "].data = compiler.compile(); - } catch { - warn("Failed to compile font " + properties.loadedName); - } - } - if (!tables.name) { - tables.name = { - tag: "name", - data: createNameTable(this.name) - }; - } else { - const [namePrototype, nameRecords] = readNameTable(tables.name); - tables.name.data = createNameTable(name, namePrototype); - this.psName = namePrototype[0][6] || null; - if (!properties.composite) { - adjustTrueTypeToUnicode(properties, this.isSymbolicFont, nameRecords); - } - } - const builder = new OpenTypeFileBuilder(header.version); - for (const tableTag in tables) { - builder.addTable(tableTag, tables[tableTag].data); - } - return builder.toArray(); - } - convert(fontName, font, properties) { - properties.fixedPitch = false; - if (properties.builtInEncoding) { - adjustType1ToUnicode(properties, properties.builtInEncoding); - } - let glyphZeroId = 1; - if (font instanceof CFFFont) { - glyphZeroId = font.numGlyphs - 1; - } - const mapping = font.getGlyphMapping(properties); - let newMapping = null; - let newCharCodeToGlyphId = mapping; - let toUnicodeExtraMap = null; - if (!properties.cssFontInfo) { - newMapping = adjustMapping(mapping, font.hasGlyphId.bind(font), glyphZeroId, this.toUnicode); - this.toFontChar = newMapping.toFontChar; - newCharCodeToGlyphId = newMapping.charCodeToGlyphId; - toUnicodeExtraMap = newMapping.toUnicodeExtraMap; - } - const numGlyphs = font.numGlyphs; - function getCharCodes(charCodeToGlyphId, glyphId) { - let charCodes = null; - for (const charCode in charCodeToGlyphId) { - if (glyphId === charCodeToGlyphId[charCode]) { - (charCodes ||= []).push(charCode | 0); - } - } - return charCodes; - } - function createCharCode(charCodeToGlyphId, glyphId) { - for (const charCode in charCodeToGlyphId) { - if (glyphId === charCodeToGlyphId[charCode]) { - return charCode | 0; - } - } - newMapping.charCodeToGlyphId[newMapping.nextAvailableFontCharCode] = glyphId; - return newMapping.nextAvailableFontCharCode++; - } - const seacs = font.seacs; - if (newMapping && SEAC_ANALYSIS_ENABLED && seacs?.length) { - const matrix = properties.fontMatrix || FONT_IDENTITY_MATRIX; - const charset = font.getCharset(); - const seacMap = Object.create(null); - for (let glyphId in seacs) { - glyphId |= 0; - const seac = seacs[glyphId]; - const baseGlyphName = StandardEncoding[seac[2]]; - const accentGlyphName = StandardEncoding[seac[3]]; - const baseGlyphId = charset.indexOf(baseGlyphName); - const accentGlyphId = charset.indexOf(accentGlyphName); - if (baseGlyphId < 0 || accentGlyphId < 0) { - continue; - } - const accentOffset = { - x: seac[0] * matrix[0] + seac[1] * matrix[2] + matrix[4], - y: seac[0] * matrix[1] + seac[1] * matrix[3] + matrix[5] - }; - const charCodes = getCharCodes(mapping, glyphId); - if (!charCodes) { - continue; - } - for (const charCode of charCodes) { - const charCodeToGlyphId = newMapping.charCodeToGlyphId; - const baseFontCharCode = createCharCode(charCodeToGlyphId, baseGlyphId); - const accentFontCharCode = createCharCode(charCodeToGlyphId, accentGlyphId); - seacMap[charCode] = { - baseFontCharCode, - accentFontCharCode, - accentOffset - }; - } - } - properties.seacMap = seacMap; - } - const unitsPerEm = 1 / (properties.fontMatrix || FONT_IDENTITY_MATRIX)[0]; - const builder = new OpenTypeFileBuilder("\x4F\x54\x54\x4F"); - builder.addTable("CFF ", font.data); - builder.addTable("OS/2", createOS2Table(properties, newCharCodeToGlyphId)); - builder.addTable("cmap", createCmapTable(newCharCodeToGlyphId, toUnicodeExtraMap, numGlyphs)); - builder.addTable("head", "\x00\x01\x00\x00" + "\x00\x00\x10\x00" + "\x00\x00\x00\x00" + "\x5F\x0F\x3C\xF5" + "\x00\x00" + safeString16(unitsPerEm) + "\x00\x00\x00\x00\x9e\x0b\x7e\x27" + "\x00\x00\x00\x00\x9e\x0b\x7e\x27" + "\x00\x00" + safeString16(properties.descent) + "\x0F\xFF" + safeString16(properties.ascent) + string16(properties.italicAngle ? 2 : 0) + "\x00\x11" + "\x00\x00" + "\x00\x00" + "\x00\x00"); - builder.addTable("hhea", "\x00\x01\x00\x00" + safeString16(properties.ascent) + safeString16(properties.descent) + "\x00\x00" + "\xFF\xFF" + "\x00\x00" + "\x00\x00" + "\x00\x00" + safeString16(properties.capHeight) + safeString16(Math.tan(properties.italicAngle) * properties.xHeight) + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + "\x00\x00" + string16(numGlyphs)); - builder.addTable("hmtx", function fontFieldsHmtx() { - const charstrings = font.charstrings; - const cffWidths = font.cff ? font.cff.widths : null; - let hmtx = "\x00\x00\x00\x00"; - for (let i = 1, ii = numGlyphs; i < ii; i++) { - let width = 0; - if (charstrings) { - const charstring = charstrings[i - 1]; - width = "width" in charstring ? charstring.width : 0; - } else if (cffWidths) { - width = Math.ceil(cffWidths[i] || 0); - } - hmtx += string16(width) + string16(0); - } - return hmtx; - }()); - builder.addTable("maxp", "\x00\x00\x50\x00" + string16(numGlyphs)); - builder.addTable("name", createNameTable(fontName)); - builder.addTable("post", createPostTable(properties)); - return builder.toArray(); - } - get spaceWidth() { - const possibleSpaceReplacements = ["space", "minus", "one", "i", "I"]; - let width; - for (const glyphName of possibleSpaceReplacements) { - if (glyphName in this.widths) { - width = this.widths[glyphName]; - break; - } - const glyphsUnicodeMap = getGlyphsUnicode(); - const glyphUnicode = glyphsUnicodeMap[glyphName]; - let charcode = 0; - if (this.composite && this.cMap.contains(glyphUnicode)) { - charcode = this.cMap.lookup(glyphUnicode); - if (typeof charcode === "string") { - charcode = convertCidString(glyphUnicode, charcode); - } - } - if (!charcode && this.toUnicode) { - charcode = this.toUnicode.charCodeOf(glyphUnicode); - } - if (charcode <= 0) { - charcode = glyphUnicode; - } - width = this.widths[charcode]; - if (width) { - break; - } - } - return shadow(this, "spaceWidth", width || this.defaultWidth); - } - _charToGlyph(charcode, isSpace = false) { - let glyph = this._glyphCache[charcode]; - if (glyph?.isSpace === isSpace) { - return glyph; - } - let fontCharCode, width, operatorListId; - let widthCode = charcode; - if (this.cMap?.contains(charcode)) { - widthCode = this.cMap.lookup(charcode); - if (typeof widthCode === "string") { - widthCode = convertCidString(charcode, widthCode); - } - } - width = this.widths[widthCode]; - if (typeof width !== "number") { - width = this.defaultWidth; - } - const vmetric = this.vmetrics?.[widthCode]; - let unicode = this.toUnicode.get(charcode) || charcode; - if (typeof unicode === "number") { - unicode = String.fromCharCode(unicode); - } - let isInFont = this.toFontChar[charcode] !== undefined; - fontCharCode = this.toFontChar[charcode] || charcode; - if (this.missingFile) { - const glyphName = this.differences[charcode] || this.defaultEncoding[charcode]; - if ((glyphName === ".notdef" || glyphName === "") && this.type === "Type1") { - fontCharCode = 0x20; - } - fontCharCode = mapSpecialUnicodeValues(fontCharCode); - } - if (this.isType3Font) { - operatorListId = fontCharCode; - } - let accent = null; - if (this.seacMap?.[charcode]) { - isInFont = true; - const seac = this.seacMap[charcode]; - fontCharCode = seac.baseFontCharCode; - accent = { - fontChar: String.fromCodePoint(seac.accentFontCharCode), - offset: seac.accentOffset - }; - } - let fontChar = ""; - if (typeof fontCharCode === "number") { - if (fontCharCode <= 0x10ffff) { - fontChar = String.fromCodePoint(fontCharCode); - } else { - warn(`charToGlyph - invalid fontCharCode: ${fontCharCode}`); - } - } - glyph = new fonts_Glyph(charcode, fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont); - return this._glyphCache[charcode] = glyph; - } - charsToGlyphs(chars) { - let glyphs = this._charsCache[chars]; - if (glyphs) { - return glyphs; - } - glyphs = []; - if (this.cMap) { - const c = Object.create(null), - ii = chars.length; - let i = 0; - while (i < ii) { - this.cMap.readCharCode(chars, i, c); - const { - charcode, - length - } = c; - i += length; - const glyph = this._charToGlyph(charcode, length === 1 && chars.charCodeAt(i - 1) === 0x20); - glyphs.push(glyph); - } - } else { - for (let i = 0, ii = chars.length; i < ii; ++i) { - const charcode = chars.charCodeAt(i); - const glyph = this._charToGlyph(charcode, charcode === 0x20); - glyphs.push(glyph); - } - } - return this._charsCache[chars] = glyphs; - } - getCharPositions(chars) { - const positions = []; - if (this.cMap) { - const c = Object.create(null); - let i = 0; - while (i < chars.length) { - this.cMap.readCharCode(chars, i, c); - const length = c.length; - positions.push([i, i + length]); - i += length; - } - } else { - for (let i = 0, ii = chars.length; i < ii; ++i) { - positions.push([i, i + 1]); - } - } - return positions; - } - get glyphCacheValues() { - return Object.values(this._glyphCache); - } - encodeString(str) { - const buffers = []; - const currentBuf = []; - const hasCurrentBufErrors = () => buffers.length % 2 === 1; - const getCharCode = this.toUnicode instanceof IdentityToUnicodeMap ? unicode => this.toUnicode.charCodeOf(unicode) : unicode => this.toUnicode.charCodeOf(String.fromCodePoint(unicode)); - for (let i = 0, ii = str.length; i < ii; i++) { - const unicode = str.codePointAt(i); - if (unicode > 0xd7ff && (unicode < 0xe000 || unicode > 0xfffd)) { - i++; - } - if (this.toUnicode) { - const charCode = getCharCode(unicode); - if (charCode !== -1) { - if (hasCurrentBufErrors()) { - buffers.push(currentBuf.join("")); - currentBuf.length = 0; - } - const charCodeLength = this.cMap ? this.cMap.getCharCodeLength(charCode) : 1; - for (let j = charCodeLength - 1; j >= 0; j--) { - currentBuf.push(String.fromCharCode(charCode >> 8 * j & 0xff)); - } - continue; - } - } - if (!hasCurrentBufErrors()) { - buffers.push(currentBuf.join("")); - currentBuf.length = 0; - } - currentBuf.push(String.fromCodePoint(unicode)); - } - buffers.push(currentBuf.join("")); - return buffers; - } -} -class ErrorFont { - constructor(error) { - this.error = error; - this.loadedName = "g_font_error"; - this.missingFile = true; - } - charsToGlyphs() { - return []; - } - encodeString(chars) { - return [chars]; - } - exportData(extraProperties = false) { - return { - error: this.error - }; - } -} - -;// CONCATENATED MODULE: ./src/core/pattern.js - - - - - - - - +/***/ }), +/* 50 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Pattern = void 0; +exports.getTilingPatternIR = getTilingPatternIR; +var _util = __w_pdfjs_require__(2); +var _base_stream = __w_pdfjs_require__(5); +var _colorspace = __w_pdfjs_require__(12); +var _core_utils = __w_pdfjs_require__(3); const ShadingType = { FUNCTION_BASED: 1, AXIAL: 2, @@ -29675,10 +37005,10 @@ const ShadingType = { }; class Pattern { constructor() { - unreachable("Cannot initialize Pattern."); + (0, _util.unreachable)("Cannot initialize Pattern."); } static parseShading(shading, xref, res, pdfFunctionFactory, localColorSpaceCache) { - const dict = shading instanceof BaseStream ? shading.dict : shading; + const dict = shading instanceof _base_stream.BaseStream ? shading.dict : shading; const type = dict.get("ShadingType"); try { switch (type) { @@ -29691,26 +37021,27 @@ class Pattern { case ShadingType.TENSOR_PATCH_MESH: return new MeshShading(shading, xref, res, pdfFunctionFactory, localColorSpaceCache); default: - throw new FormatError("Unsupported ShadingType: " + type); + throw new _util.FormatError("Unsupported ShadingType: " + type); } } catch (ex) { - if (ex instanceof MissingDataException) { + if (ex instanceof _core_utils.MissingDataException) { throw ex; } - warn(ex); + (0, _util.warn)(ex); return new DummyShading(); } } } +exports.Pattern = Pattern; class BaseShading { static SMALL_NUMBER = 1e-6; constructor() { if (this.constructor === BaseShading) { - unreachable("Cannot initialize BaseShading."); + (0, _util.unreachable)("Cannot initialize BaseShading."); } } getIR() { - unreachable("Abstract method `getIR` called."); + (0, _util.unreachable)("Abstract method `getIR` called."); } } class RadialAxialShading extends BaseShading { @@ -29718,7 +37049,7 @@ class RadialAxialShading extends BaseShading { super(); this.coordsArr = dict.getArray("Coords"); this.shadingType = dict.get("ShadingType"); - const cs = ColorSpace.parse({ + const cs = _colorspace.ColorSpace.parse({ cs: dict.getRaw("CS") || dict.getRaw("ColorSpace"), xref, resources, @@ -29726,7 +37057,11 @@ class RadialAxialShading extends BaseShading { localColorSpaceCache }); const bbox = dict.getArray("BBox"); - this.bbox = Array.isArray(bbox) && bbox.length === 4 ? Util.normalizeRect(bbox) : null; + if (Array.isArray(bbox) && bbox.length === 4) { + this.bbox = _util.Util.normalizeRect(bbox); + } else { + this.bbox = null; + } let t0 = 0.0, t1 = 1.0; if (dict.has("Domain")) { @@ -29745,7 +37080,7 @@ class RadialAxialShading extends BaseShading { const [x1, y1, r1, x2, y2, r2] = this.coordsArr; const distance = Math.hypot(x1 - x2, y1 - y2); if (r1 <= r2 + distance && r2 <= r1 + distance) { - warn("Unsupported radial gradient."); + (0, _util.warn)("Unsupported radial gradient."); } } this.extendStart = extendStart; @@ -29756,7 +37091,7 @@ class RadialAxialShading extends BaseShading { const step = (t1 - t0) / NUMBER_OF_SAMPLES; const colorStops = this.colorStops = []; if (t0 >= t1 || step <= 0) { - info("Bad shading domain."); + (0, _util.info)("Bad shading domain."); return; } const color = new Float32Array(cs.numComps), @@ -29766,7 +37101,7 @@ class RadialAxialShading extends BaseShading { ratio[0] = t0; fn(ratio, 0, color, 0); let rgbBase = cs.getRgb(color, 0); - const cssColorBase = Util.makeHexColor(rgbBase[0], rgbBase[1], rgbBase[2]); + const cssColorBase = _util.Util.makeHexColor(rgbBase[0], rgbBase[1], rgbBase[2]); colorStops.push([0, cssColorBase]); let iPrev = 1; ratio[0] = t0 + step; @@ -29791,7 +37126,7 @@ class RadialAxialShading extends BaseShading { minSlopeB = Math.max(minSlopeB, (rgbColor[2] - rgbBase[2] - 1) / run); const slopesExist = minSlopeR <= maxSlopeR && minSlopeG <= maxSlopeG && minSlopeB <= maxSlopeB; if (!slopesExist) { - const cssColor = Util.makeHexColor(rgbPrev[0], rgbPrev[1], rgbPrev[2]); + const cssColor = _util.Util.makeHexColor(rgbPrev[0], rgbPrev[1], rgbPrev[2]); colorStops.push([iPrev / NUMBER_OF_SAMPLES, cssColor]); maxSlopeR = rgbColor[0] - rgbPrev[0] + 1; maxSlopeG = rgbColor[1] - rgbPrev[1] + 1; @@ -29805,12 +37140,12 @@ class RadialAxialShading extends BaseShading { iPrev = i; rgbPrev = rgbColor; } - const cssColor = Util.makeHexColor(rgbPrev[0], rgbPrev[1], rgbPrev[2]); + const cssColor = _util.Util.makeHexColor(rgbPrev[0], rgbPrev[1], rgbPrev[2]); colorStops.push([1, cssColor]); let background = "transparent"; if (dict.has("Background")) { rgbColor = cs.getRgb(dict.get("Background"), 0); - background = Util.makeHexColor(rgbColor[0], rgbColor[1], rgbColor[2]); + background = _util.Util.makeHexColor(rgbColor[0], rgbColor[1], rgbColor[2]); } if (!extendStart) { colorStops.unshift([0, background]); @@ -29839,7 +37174,7 @@ class RadialAxialShading extends BaseShading { r1 = coordsArr[5]; type = "radial"; } else { - unreachable(`getPattern type unknown: ${shadingType}`); + (0, _util.unreachable)(`getPattern type unknown: ${shadingType}`); } return ["RadialAxial", type, this.bbox, this.colorStops, p0, p1, r0, r1]; } @@ -29926,36 +37261,39 @@ class MeshStreamReader { return this.context.colorSpace.getRgb(color, 0); } } -let bCache = Object.create(null); -function buildB(count) { - const lut = []; - for (let i = 0; i <= count; i++) { - const t = i / count, - t_ = 1 - t; - lut.push(new Float32Array([t_ ** 3, 3 * t * t_ ** 2, 3 * t ** 2 * t_, t ** 3])); +const getB = function getBClosure() { + function buildB(count) { + const lut = []; + for (let i = 0; i <= count; i++) { + const t = i / count, + t_ = 1 - t; + lut.push(new Float32Array([t_ * t_ * t_, 3 * t * t_ * t_, 3 * t * t * t_, t * t * t])); + } + return lut; } - return lut; -} -function getB(count) { - return bCache[count] ||= buildB(count); -} -function clearPatternCaches() { - bCache = Object.create(null); -} + const cache = Object.create(null); + return function (count) { + return cache[count] ||= buildB(count); + }; +}(); class MeshShading extends BaseShading { static MIN_SPLIT_PATCH_CHUNKS_AMOUNT = 3; static MAX_SPLIT_PATCH_CHUNKS_AMOUNT = 20; static TRIANGLE_DENSITY = 20; constructor(stream, xref, resources, pdfFunctionFactory, localColorSpaceCache) { super(); - if (!(stream instanceof BaseStream)) { - throw new FormatError("Mesh data is not a stream"); + if (!(stream instanceof _base_stream.BaseStream)) { + throw new _util.FormatError("Mesh data is not a stream"); } const dict = stream.dict; this.shadingType = dict.get("ShadingType"); const bbox = dict.getArray("BBox"); - this.bbox = Array.isArray(bbox) && bbox.length === 4 ? Util.normalizeRect(bbox) : null; - const cs = ColorSpace.parse({ + if (Array.isArray(bbox) && bbox.length === 4) { + this.bbox = _util.Util.normalizeRect(bbox); + } else { + this.bbox = null; + } + const cs = _colorspace.ColorSpace.parse({ cs: dict.getRaw("CS") || dict.getRaw("ColorSpace"), xref, resources, @@ -29986,7 +37324,7 @@ class MeshShading extends BaseShading { case ShadingType.LATTICE_FORM_MESH: const verticesPerRow = dict.get("VerticesPerRow") | 0; if (verticesPerRow < 2) { - throw new FormatError("Invalid VerticesPerRow"); + throw new _util.FormatError("Invalid VerticesPerRow"); } this._decodeType5Shading(reader, verticesPerRow); break; @@ -29999,7 +37337,7 @@ class MeshShading extends BaseShading { patchMesh = true; break; default: - unreachable("Unsupported mesh type."); + (0, _util.unreachable)("Unsupported mesh type."); break; } if (patchMesh) { @@ -30023,7 +37361,7 @@ class MeshShading extends BaseShading { const color = reader.readComponents(); if (verticesLeft === 0) { if (!(0 <= f && f <= 2)) { - throw new FormatError("Unknown type4 flag"); + throw new _util.FormatError("Unknown type4 flag"); } switch (f) { case 0: @@ -30078,7 +37416,7 @@ class MeshShading extends BaseShading { while (reader.hasData) { const f = reader.readFlag(); if (!(0 <= f && f <= 3)) { - throw new FormatError("Unknown type6 flag"); + throw new _util.FormatError("Unknown type6 flag"); } const pi = coords.length; for (let i = 0, ii = f !== 0 ? 8 : 12; i < ii; i++) { @@ -30195,7 +37533,7 @@ class MeshShading extends BaseShading { while (reader.hasData) { const f = reader.readFlag(); if (!(0 <= f && f <= 3)) { - throw new FormatError("Unknown type7 flag"); + throw new _util.FormatError("Unknown type7 flag"); } const pi = coords.length; for (let i = 0, ii = f !== 0 ? 12 : 16; i < ii; i++) { @@ -30314,7 +37652,7 @@ class MeshShading extends BaseShading { } _buildFigureFromPatch(index) { const figure = this.figures[index]; - assert(figure.type === "patch", "Unexpected patch mesh figure"); + (0, _util.assert)(figure.type === "patch", "Unexpected patch mesh figure"); const coords = this.coords, colors = this.colors; const pi = figure.coords; @@ -30431,13 +37769,7 @@ class MeshShading extends BaseShading { } } getIR() { - const { - bounds - } = this; - if (bounds[2] - bounds[0] === 0 || bounds[3] - bounds[1] === 0) { - throw new FormatError(`Invalid MeshShading bounds: [${bounds}].`); - } - return ["Mesh", this.shadingType, this.coords, this.colors, this.figures, bounds, this.bbox, this.background]; + return ["Mesh", this.shadingType, this.coords, this.colors, this.figures, this.bounds, this.bbox, this.background]; } } class DummyShading extends BaseShading { @@ -30447,262 +37779,172 @@ class DummyShading extends BaseShading { } function getTilingPatternIR(operatorList, dict, color) { const matrix = dict.getArray("Matrix"); - const bbox = Util.normalizeRect(dict.getArray("BBox")); + const bbox = _util.Util.normalizeRect(dict.getArray("BBox")); const xstep = dict.get("XStep"); const ystep = dict.get("YStep"); const paintType = dict.get("PaintType"); const tilingType = dict.get("TilingType"); if (bbox[2] - bbox[0] === 0 || bbox[3] - bbox[1] === 0) { - throw new FormatError(`Invalid getTilingPatternIR /BBox array: [${bbox}].`); + throw new _util.FormatError(`Invalid getTilingPatternIR /BBox array: [${bbox}].`); } return ["TilingPattern", color, operatorList, matrix, bbox, xstep, ystep, paintType, tilingType]; } -;// CONCATENATED MODULE: ./src/core/calibri_factors.js -const CalibriBoldFactors = [1.3877, 1, 1, 1, 0.97801, 0.92482, 0.89552, 0.91133, 0.81988, 0.97566, 0.98152, 0.93548, 0.93548, 1.2798, 0.85284, 0.92794, 1, 0.96134, 1.54657, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.82845, 0.82845, 0.85284, 0.85284, 0.85284, 0.75859, 0.92138, 0.83908, 0.7762, 0.73293, 0.87289, 0.73133, 0.7514, 0.81921, 0.87356, 0.95958, 0.59526, 0.75727, 0.69225, 1.04924, 0.9121, 0.86943, 0.79795, 0.88198, 0.77958, 0.70864, 0.81055, 0.90399, 0.88653, 0.96017, 0.82577, 0.77892, 0.78257, 0.97507, 1.54657, 0.97507, 0.85284, 0.89552, 0.90176, 0.88762, 0.8785, 0.75241, 0.8785, 0.90518, 0.95015, 0.77618, 0.8785, 0.88401, 0.91916, 0.86304, 0.88401, 0.91488, 0.8785, 0.8801, 0.8785, 0.8785, 0.91343, 0.7173, 1.04106, 0.8785, 0.85075, 0.95794, 0.82616, 0.85162, 0.79492, 0.88331, 1.69808, 0.88331, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.7801, 0.89552, 1.24487, 1.13254, 1.12401, 0.96839, 0.85284, 0.68787, 0.70645, 0.85592, 0.90747, 1.01466, 1.0088, 0.90323, 1, 1.07463, 1, 0.91056, 0.75806, 1.19118, 0.96839, 0.78864, 0.82845, 0.84133, 0.75859, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.77539, 0.73293, 0.73133, 0.73133, 0.73133, 0.73133, 0.95958, 0.95958, 0.95958, 0.95958, 0.88506, 0.9121, 0.86943, 0.86943, 0.86943, 0.86943, 0.86943, 0.85284, 0.87508, 0.90399, 0.90399, 0.90399, 0.90399, 0.77892, 0.79795, 0.90807, 0.88762, 0.88762, 0.88762, 0.88762, 0.88762, 0.88762, 0.8715, 0.75241, 0.90518, 0.90518, 0.90518, 0.90518, 0.88401, 0.88401, 0.88401, 0.88401, 0.8785, 0.8785, 0.8801, 0.8801, 0.8801, 0.8801, 0.8801, 0.90747, 0.89049, 0.8785, 0.8785, 0.8785, 0.8785, 0.85162, 0.8785, 0.85162, 0.83908, 0.88762, 0.83908, 0.88762, 0.83908, 0.88762, 0.73293, 0.75241, 0.73293, 0.75241, 0.73293, 0.75241, 0.73293, 0.75241, 0.87289, 0.83016, 0.88506, 0.93125, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.81921, 0.77618, 0.81921, 0.77618, 0.81921, 0.77618, 1, 1, 0.87356, 0.8785, 0.91075, 0.89608, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.76229, 0.90167, 0.59526, 0.91916, 1, 1, 0.86304, 0.69225, 0.88401, 1, 1, 0.70424, 0.79468, 0.91926, 0.88175, 0.70823, 0.94903, 0.9121, 0.8785, 1, 1, 0.9121, 0.8785, 0.87802, 0.88656, 0.8785, 0.86943, 0.8801, 0.86943, 0.8801, 0.86943, 0.8801, 0.87402, 0.89291, 0.77958, 0.91343, 1, 1, 0.77958, 0.91343, 0.70864, 0.7173, 0.70864, 0.7173, 0.70864, 0.7173, 0.70864, 0.7173, 1, 1, 0.81055, 0.75841, 0.81055, 1.06452, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.96017, 0.95794, 0.77892, 0.85162, 0.77892, 0.78257, 0.79492, 0.78257, 0.79492, 0.78257, 0.79492, 0.9297, 0.56892, 0.83908, 0.88762, 0.77539, 0.8715, 0.87508, 0.89049, 1, 1, 0.81055, 1.04106, 1.20528, 1.20528, 1, 1.15543, 0.70674, 0.98387, 0.94721, 1.33431, 1.45894, 0.95161, 1.06303, 0.83908, 0.80352, 0.57184, 0.6965, 0.56289, 0.82001, 0.56029, 0.81235, 1.02988, 0.83908, 0.7762, 0.68156, 0.80367, 0.73133, 0.78257, 0.87356, 0.86943, 0.95958, 0.75727, 0.89019, 1.04924, 0.9121, 0.7648, 0.86943, 0.87356, 0.79795, 0.78275, 0.81055, 0.77892, 0.9762, 0.82577, 0.99819, 0.84896, 0.95958, 0.77892, 0.96108, 1.01407, 0.89049, 1.02988, 0.94211, 0.96108, 0.8936, 0.84021, 0.87842, 0.96399, 0.79109, 0.89049, 1.00813, 1.02988, 0.86077, 0.87445, 0.92099, 0.84723, 0.86513, 0.8801, 0.75638, 0.85714, 0.78216, 0.79586, 0.87965, 0.94211, 0.97747, 0.78287, 0.97926, 0.84971, 1.02988, 0.94211, 0.8801, 0.94211, 0.84971, 0.73133, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90264, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90518, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90548, 1, 1, 1, 1, 1, 1, 0.96017, 0.95794, 0.96017, 0.95794, 0.96017, 0.95794, 0.77892, 0.85162, 1, 1, 0.89552, 0.90527, 1, 0.90363, 0.92794, 0.92794, 0.92794, 0.92794, 0.87012, 0.87012, 0.87012, 0.89552, 0.89552, 1.42259, 0.71143, 1.06152, 1, 1, 1.03372, 1.03372, 0.97171, 1.4956, 2.2807, 0.93835, 0.83406, 0.91133, 0.84107, 0.91133, 1, 1, 1, 0.72021, 1, 1.23108, 0.83489, 0.88525, 0.88525, 0.81499, 0.90527, 1.81055, 0.90527, 1.81055, 1.31006, 1.53711, 0.94434, 1.08696, 1, 0.95018, 0.77192, 0.85284, 0.90747, 1.17534, 0.69825, 0.9716, 1.37077, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.08004, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90727, 0.90727, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const CalibriBoldMetrics = { - lineHeight: 1.2207, - lineGap: 0.2207 -}; -const CalibriBoldItalicFactors = [1.3877, 1, 1, 1, 0.97801, 0.92482, 0.89552, 0.91133, 0.81988, 0.97566, 0.98152, 0.93548, 0.93548, 1.2798, 0.85284, 0.92794, 1, 0.96134, 1.56239, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.82845, 0.82845, 0.85284, 0.85284, 0.85284, 0.75859, 0.92138, 0.83908, 0.7762, 0.71805, 0.87289, 0.73133, 0.7514, 0.81921, 0.87356, 0.95958, 0.59526, 0.75727, 0.69225, 1.04924, 0.90872, 0.85938, 0.79795, 0.87068, 0.77958, 0.69766, 0.81055, 0.90399, 0.88653, 0.96068, 0.82577, 0.77892, 0.78257, 0.97507, 1.529, 0.97507, 0.85284, 0.89552, 0.90176, 0.94908, 0.86411, 0.74012, 0.86411, 0.88323, 0.95015, 0.86411, 0.86331, 0.88401, 0.91916, 0.86304, 0.88401, 0.9039, 0.86331, 0.86331, 0.86411, 0.86411, 0.90464, 0.70852, 1.04106, 0.86331, 0.84372, 0.95794, 0.82616, 0.84548, 0.79492, 0.88331, 1.69808, 0.88331, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.7801, 0.89552, 1.24487, 1.13254, 1.19129, 0.96839, 0.85284, 0.68787, 0.70645, 0.85592, 0.90747, 1.01466, 1.0088, 0.90323, 1, 1.07463, 1, 0.91056, 0.75806, 1.19118, 0.96839, 0.78864, 0.82845, 0.84133, 0.75859, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.77539, 0.71805, 0.73133, 0.73133, 0.73133, 0.73133, 0.95958, 0.95958, 0.95958, 0.95958, 0.88506, 0.90872, 0.85938, 0.85938, 0.85938, 0.85938, 0.85938, 0.85284, 0.87068, 0.90399, 0.90399, 0.90399, 0.90399, 0.77892, 0.79795, 0.90807, 0.94908, 0.94908, 0.94908, 0.94908, 0.94908, 0.94908, 0.85887, 0.74012, 0.88323, 0.88323, 0.88323, 0.88323, 0.88401, 0.88401, 0.88401, 0.88401, 0.8785, 0.86331, 0.86331, 0.86331, 0.86331, 0.86331, 0.86331, 0.90747, 0.89049, 0.86331, 0.86331, 0.86331, 0.86331, 0.84548, 0.86411, 0.84548, 0.83908, 0.94908, 0.83908, 0.94908, 0.83908, 0.94908, 0.71805, 0.74012, 0.71805, 0.74012, 0.71805, 0.74012, 0.71805, 0.74012, 0.87289, 0.79538, 0.88506, 0.92726, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.81921, 0.86411, 0.81921, 0.86411, 0.81921, 0.86411, 1, 1, 0.87356, 0.86331, 0.91075, 0.8777, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.76467, 0.90167, 0.59526, 0.91916, 1, 1, 0.86304, 0.69225, 0.88401, 1, 1, 0.70424, 0.77312, 0.91926, 0.88175, 0.70823, 0.94903, 0.90872, 0.86331, 1, 1, 0.90872, 0.86331, 0.86906, 0.88116, 0.86331, 0.85938, 0.86331, 0.85938, 0.86331, 0.85938, 0.86331, 0.87402, 0.86549, 0.77958, 0.90464, 1, 1, 0.77958, 0.90464, 0.69766, 0.70852, 0.69766, 0.70852, 0.69766, 0.70852, 0.69766, 0.70852, 1, 1, 0.81055, 0.75841, 0.81055, 1.06452, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.96068, 0.95794, 0.77892, 0.84548, 0.77892, 0.78257, 0.79492, 0.78257, 0.79492, 0.78257, 0.79492, 0.9297, 0.56892, 0.83908, 0.94908, 0.77539, 0.85887, 0.87068, 0.89049, 1, 1, 0.81055, 1.04106, 1.20528, 1.20528, 1, 1.15543, 0.70088, 0.98387, 0.94721, 1.33431, 1.45894, 0.95161, 1.48387, 0.83908, 0.80352, 0.57118, 0.6965, 0.56347, 0.79179, 0.55853, 0.80346, 1.02988, 0.83908, 0.7762, 0.67174, 0.86036, 0.73133, 0.78257, 0.87356, 0.86441, 0.95958, 0.75727, 0.89019, 1.04924, 0.90872, 0.74889, 0.85938, 0.87891, 0.79795, 0.7957, 0.81055, 0.77892, 0.97447, 0.82577, 0.97466, 0.87179, 0.95958, 0.77892, 0.94252, 0.95612, 0.8753, 1.02988, 0.92733, 0.94252, 0.87411, 0.84021, 0.8728, 0.95612, 0.74081, 0.8753, 1.02189, 1.02988, 0.84814, 0.87445, 0.91822, 0.84723, 0.85668, 0.86331, 0.81344, 0.87581, 0.76422, 0.82046, 0.96057, 0.92733, 0.99375, 0.78022, 0.95452, 0.86015, 1.02988, 0.92733, 0.86331, 0.92733, 0.86015, 0.73133, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90631, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.88323, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.85174, 1, 1, 1, 1, 1, 1, 0.96068, 0.95794, 0.96068, 0.95794, 0.96068, 0.95794, 0.77892, 0.84548, 1, 1, 0.89552, 0.90527, 1, 0.90363, 0.92794, 0.92794, 0.92794, 0.89807, 0.87012, 0.87012, 0.87012, 0.89552, 0.89552, 1.42259, 0.71094, 1.06152, 1, 1, 1.03372, 1.03372, 0.97171, 1.4956, 2.2807, 0.92972, 0.83406, 0.91133, 0.83326, 0.91133, 1, 1, 1, 0.72021, 1, 1.23108, 0.83489, 0.88525, 0.88525, 0.81499, 0.90616, 1.81055, 0.90527, 1.81055, 1.3107, 1.53711, 0.94434, 1.08696, 1, 0.95018, 0.77192, 0.85284, 0.90747, 1.17534, 0.69825, 0.9716, 1.37077, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.08004, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90727, 0.90727, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const CalibriBoldItalicMetrics = { - lineHeight: 1.2207, - lineGap: 0.2207 -}; -const CalibriItalicFactors = [1.3877, 1, 1, 1, 1.17223, 1.1293, 0.89552, 0.91133, 0.80395, 1.02269, 1.15601, 0.91056, 0.91056, 1.2798, 0.85284, 0.89807, 1, 0.90861, 1.39543, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.96309, 0.96309, 0.85284, 0.85284, 0.85284, 0.83319, 0.88071, 0.8675, 0.81552, 0.72346, 0.85193, 0.73206, 0.7522, 0.81105, 0.86275, 0.90685, 0.6377, 0.77892, 0.75593, 1.02638, 0.89249, 0.84118, 0.77452, 0.85374, 0.75186, 0.67789, 0.79776, 0.88844, 0.85066, 0.94309, 0.77818, 0.7306, 0.76659, 1.10369, 1.38313, 1.10369, 1.06139, 0.89552, 0.8739, 0.9245, 0.9245, 0.83203, 0.9245, 0.85865, 1.09842, 0.9245, 0.9245, 1.03297, 1.07692, 0.90918, 1.03297, 0.94959, 0.9245, 0.92274, 0.9245, 0.9245, 1.02933, 0.77832, 1.20562, 0.9245, 0.8916, 0.98986, 0.86621, 0.89453, 0.79004, 0.94152, 1.77256, 0.94152, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.91729, 0.89552, 1.17889, 1.13254, 1.16359, 0.92098, 0.85284, 0.68787, 0.71353, 0.84737, 0.90747, 1.0088, 1.0044, 0.87683, 1, 1.09091, 1, 0.92229, 0.739, 1.15642, 0.92098, 0.76288, 0.80504, 0.80972, 0.75859, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.76318, 0.72346, 0.73206, 0.73206, 0.73206, 0.73206, 0.90685, 0.90685, 0.90685, 0.90685, 0.86477, 0.89249, 0.84118, 0.84118, 0.84118, 0.84118, 0.84118, 0.85284, 0.84557, 0.88844, 0.88844, 0.88844, 0.88844, 0.7306, 0.77452, 0.86331, 0.9245, 0.9245, 0.9245, 0.9245, 0.9245, 0.9245, 0.84843, 0.83203, 0.85865, 0.85865, 0.85865, 0.85865, 0.82601, 0.82601, 0.82601, 0.82601, 0.94469, 0.9245, 0.92274, 0.92274, 0.92274, 0.92274, 0.92274, 0.90747, 0.86651, 0.9245, 0.9245, 0.9245, 0.9245, 0.89453, 0.9245, 0.89453, 0.8675, 0.9245, 0.8675, 0.9245, 0.8675, 0.9245, 0.72346, 0.83203, 0.72346, 0.83203, 0.72346, 0.83203, 0.72346, 0.83203, 0.85193, 0.8875, 0.86477, 0.99034, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.81105, 0.9245, 0.81105, 0.9245, 0.81105, 0.9245, 1, 1, 0.86275, 0.9245, 0.90872, 0.93591, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 1.03297, 0.90685, 0.82601, 0.77896, 1.05611, 0.6377, 1.07692, 1, 1, 0.90918, 0.75593, 1.03297, 1, 1, 0.76032, 0.9375, 0.98156, 0.93407, 0.77261, 1.11429, 0.89249, 0.9245, 1, 1, 0.89249, 0.9245, 0.92534, 0.86698, 0.9245, 0.84118, 0.92274, 0.84118, 0.92274, 0.84118, 0.92274, 0.8667, 0.86291, 0.75186, 1.02933, 1, 1, 0.75186, 1.02933, 0.67789, 0.77832, 0.67789, 0.77832, 0.67789, 0.77832, 0.67789, 0.77832, 1, 1, 0.79776, 0.97655, 0.79776, 1.23023, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.94309, 0.98986, 0.7306, 0.89453, 0.7306, 0.76659, 0.79004, 0.76659, 0.79004, 0.76659, 0.79004, 1.09231, 0.54873, 0.8675, 0.9245, 0.76318, 0.84843, 0.84557, 0.86651, 1, 1, 0.79776, 1.20562, 1.18622, 1.18622, 1, 1.1437, 0.67009, 0.96334, 0.93695, 1.35191, 1.40909, 0.95161, 1.48387, 0.8675, 0.90861, 0.6192, 0.7363, 0.64824, 0.82411, 0.56321, 0.85696, 1.23516, 0.8675, 0.81552, 0.7286, 0.84134, 0.73206, 0.76659, 0.86275, 0.84369, 0.90685, 0.77892, 0.85871, 1.02638, 0.89249, 0.75828, 0.84118, 0.85984, 0.77452, 0.76466, 0.79776, 0.7306, 0.90782, 0.77818, 0.903, 0.87291, 0.90685, 0.7306, 0.99058, 1.03667, 0.94635, 1.23516, 0.9849, 0.99058, 0.92393, 0.8916, 0.942, 1.03667, 0.75026, 0.94635, 1.0297, 1.23516, 0.90918, 0.94048, 0.98217, 0.89746, 0.84153, 0.92274, 0.82507, 0.88832, 0.84438, 0.88178, 1.03525, 0.9849, 1.00225, 0.78086, 0.97248, 0.89404, 1.23516, 0.9849, 0.92274, 0.9849, 0.89404, 0.73206, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89693, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.85865, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90933, 1, 1, 1, 1, 1, 1, 0.94309, 0.98986, 0.94309, 0.98986, 0.94309, 0.98986, 0.7306, 0.89453, 1, 1, 0.89552, 0.90527, 1, 0.90186, 1.12308, 1.12308, 1.12308, 1.12308, 1.2566, 1.2566, 1.2566, 0.89552, 0.89552, 1.42259, 0.68994, 1.03809, 1, 1, 1.0176, 1.0176, 1.11523, 1.4956, 2.01462, 0.97858, 0.82616, 0.91133, 0.83437, 0.91133, 1, 1, 1, 0.70508, 1, 1.23108, 0.79801, 0.84426, 0.84426, 0.774, 0.90572, 1.81055, 0.90749, 1.81055, 1.28809, 1.55469, 0.94434, 1.07806, 1, 0.97094, 0.7589, 0.85284, 0.90747, 1.19658, 0.69825, 0.97622, 1.33512, 0.90747, 0.90747, 0.85284, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.0336, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05859, 1.05859, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const CalibriItalicMetrics = { - lineHeight: 1.2207, - lineGap: 0.2207 -}; -const CalibriRegularFactors = [1.3877, 1, 1, 1, 1.17223, 1.1293, 0.89552, 0.91133, 0.80395, 1.02269, 1.15601, 0.91056, 0.91056, 1.2798, 0.85284, 0.89807, 1, 0.90861, 1.39016, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.96309, 0.96309, 0.85284, 0.85284, 0.85284, 0.83319, 0.88071, 0.8675, 0.81552, 0.73834, 0.85193, 0.73206, 0.7522, 0.81105, 0.86275, 0.90685, 0.6377, 0.77892, 0.75593, 1.02638, 0.89385, 0.85122, 0.77452, 0.86503, 0.75186, 0.68887, 0.79776, 0.88844, 0.85066, 0.94258, 0.77818, 0.7306, 0.76659, 1.10369, 1.39016, 1.10369, 1.06139, 0.89552, 0.8739, 0.86128, 0.94469, 0.8457, 0.94469, 0.89464, 1.09842, 0.84636, 0.94469, 1.03297, 1.07692, 0.90918, 1.03297, 0.95897, 0.94469, 0.9482, 0.94469, 0.94469, 1.04692, 0.78223, 1.20562, 0.94469, 0.90332, 0.98986, 0.86621, 0.90527, 0.79004, 0.94152, 1.77256, 0.94152, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.91729, 0.89552, 1.17889, 1.13254, 1.08707, 0.92098, 0.85284, 0.68787, 0.71353, 0.84737, 0.90747, 1.0088, 1.0044, 0.87683, 1, 1.09091, 1, 0.92229, 0.739, 1.15642, 0.92098, 0.76288, 0.80504, 0.80972, 0.75859, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.76318, 0.73834, 0.73206, 0.73206, 0.73206, 0.73206, 0.90685, 0.90685, 0.90685, 0.90685, 0.86477, 0.89385, 0.85122, 0.85122, 0.85122, 0.85122, 0.85122, 0.85284, 0.85311, 0.88844, 0.88844, 0.88844, 0.88844, 0.7306, 0.77452, 0.86331, 0.86128, 0.86128, 0.86128, 0.86128, 0.86128, 0.86128, 0.8693, 0.8457, 0.89464, 0.89464, 0.89464, 0.89464, 0.82601, 0.82601, 0.82601, 0.82601, 0.94469, 0.94469, 0.9482, 0.9482, 0.9482, 0.9482, 0.9482, 0.90747, 0.86651, 0.94469, 0.94469, 0.94469, 0.94469, 0.90527, 0.94469, 0.90527, 0.8675, 0.86128, 0.8675, 0.86128, 0.8675, 0.86128, 0.73834, 0.8457, 0.73834, 0.8457, 0.73834, 0.8457, 0.73834, 0.8457, 0.85193, 0.92454, 0.86477, 0.9921, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.81105, 0.84636, 0.81105, 0.84636, 0.81105, 0.84636, 1, 1, 0.86275, 0.94469, 0.90872, 0.95786, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 1.03297, 0.90685, 0.82601, 0.77741, 1.05611, 0.6377, 1.07692, 1, 1, 0.90918, 0.75593, 1.03297, 1, 1, 0.76032, 0.90452, 0.98156, 1.11842, 0.77261, 1.11429, 0.89385, 0.94469, 1, 1, 0.89385, 0.94469, 0.95877, 0.86901, 0.94469, 0.85122, 0.9482, 0.85122, 0.9482, 0.85122, 0.9482, 0.8667, 0.90016, 0.75186, 1.04692, 1, 1, 0.75186, 1.04692, 0.68887, 0.78223, 0.68887, 0.78223, 0.68887, 0.78223, 0.68887, 0.78223, 1, 1, 0.79776, 0.92188, 0.79776, 1.23023, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.94258, 0.98986, 0.7306, 0.90527, 0.7306, 0.76659, 0.79004, 0.76659, 0.79004, 0.76659, 0.79004, 1.09231, 0.54873, 0.8675, 0.86128, 0.76318, 0.8693, 0.85311, 0.86651, 1, 1, 0.79776, 1.20562, 1.18622, 1.18622, 1, 1.1437, 0.67742, 0.96334, 0.93695, 1.35191, 1.40909, 0.95161, 1.48387, 0.86686, 0.90861, 0.62267, 0.74359, 0.65649, 0.85498, 0.56963, 0.88254, 1.23516, 0.8675, 0.81552, 0.75443, 0.84503, 0.73206, 0.76659, 0.86275, 0.85122, 0.90685, 0.77892, 0.85746, 1.02638, 0.89385, 0.75657, 0.85122, 0.86275, 0.77452, 0.74171, 0.79776, 0.7306, 0.95165, 0.77818, 0.89772, 0.88831, 0.90685, 0.7306, 0.98142, 1.02191, 0.96576, 1.23516, 0.99018, 0.98142, 0.9236, 0.89258, 0.94035, 1.02191, 0.78848, 0.96576, 0.9561, 1.23516, 0.90918, 0.92578, 0.95424, 0.89746, 0.83969, 0.9482, 0.80113, 0.89442, 0.85208, 0.86155, 0.98022, 0.99018, 1.00452, 0.81209, 0.99247, 0.89181, 1.23516, 0.99018, 0.9482, 0.99018, 0.89181, 0.73206, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.88844, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89464, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.96766, 1, 1, 1, 1, 1, 1, 0.94258, 0.98986, 0.94258, 0.98986, 0.94258, 0.98986, 0.7306, 0.90527, 1, 1, 0.89552, 0.90527, 1, 0.90186, 1.12308, 1.12308, 1.12308, 1.12308, 1.2566, 1.2566, 1.2566, 0.89552, 0.89552, 1.42259, 0.69043, 1.03809, 1, 1, 1.0176, 1.0176, 1.11523, 1.4956, 2.01462, 0.99331, 0.82616, 0.91133, 0.84286, 0.91133, 1, 1, 1, 0.70508, 1, 1.23108, 0.79801, 0.84426, 0.84426, 0.774, 0.90527, 1.81055, 0.90527, 1.81055, 1.28809, 1.55469, 0.94434, 1.07806, 1, 0.97094, 0.7589, 0.85284, 0.90747, 1.19658, 0.69825, 0.97622, 1.33512, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.0336, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05859, 1.05859, 1, 1, 1, 1.07185, 0.99413, 0.96334, 1.08065, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const CalibriRegularMetrics = { - lineHeight: 1.2207, - lineGap: 0.2207 -}; - -;// CONCATENATED MODULE: ./src/core/helvetica_factors.js -const HelveticaBoldFactors = [0.76116, 1, 1, 1.0006, 0.99998, 0.99974, 0.99973, 0.99973, 0.99982, 0.99977, 1.00087, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.00003, 1.00003, 1.00003, 1.00026, 0.9999, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 0.99973, 0.99977, 1.00026, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 0.99998, 1.0006, 0.99998, 1.00003, 0.99973, 0.99998, 0.99973, 1.00026, 0.99973, 1.00026, 0.99973, 0.99998, 1.00026, 1.00026, 1.0006, 1.0006, 0.99973, 1.0006, 0.99982, 1.00026, 1.00026, 1.00026, 1.00026, 0.99959, 0.99973, 0.99998, 1.00026, 0.99973, 1.00022, 0.99973, 0.99973, 1, 0.99959, 1.00077, 0.99959, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.00077, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.99973, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.06409, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 0.99973, 1.00026, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 1.03374, 0.99977, 1.00026, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.00042, 0.99973, 0.99973, 1.0006, 0.99977, 0.99973, 0.99973, 1.00026, 1.0006, 1.00026, 1.0006, 1.00026, 1.03828, 1.00026, 0.99999, 1.00026, 1.0006, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.9993, 0.9998, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1, 1.00016, 0.99977, 0.99959, 0.99977, 0.99959, 0.99977, 0.99959, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00026, 0.99998, 1.00026, 0.8121, 1.00026, 0.99998, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.00016, 1.00022, 1.00001, 0.99973, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 1.0006, 0.99973, 0.99977, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 0.99973, 1.00026, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 1.00034, 0.99977, 1, 0.99997, 1.00026, 1.00078, 1.00036, 0.99973, 1.00013, 1.0006, 0.99977, 0.99977, 0.99988, 0.85148, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 0.99977, 1.00001, 0.99999, 0.99977, 1.00069, 1.00022, 0.99977, 1.00001, 0.99984, 1.00026, 1.00001, 1.00024, 1.00001, 0.9999, 1, 1.0006, 1.00001, 1.00041, 0.99962, 1.00026, 1.0006, 0.99995, 1.00041, 0.99942, 0.99973, 0.99927, 1.00082, 0.99902, 1.00026, 1.00087, 1.0006, 1.00069, 0.99973, 0.99867, 0.99973, 0.9993, 1.00026, 1.00049, 1.00056, 1, 0.99988, 0.99935, 0.99995, 0.99954, 1.00055, 0.99945, 1.00032, 1.0006, 0.99995, 1.00026, 0.99995, 1.00032, 1.00001, 1.00008, 0.99971, 1.00019, 0.9994, 1.00001, 1.0006, 1.00044, 0.99973, 1.00023, 1.00047, 1, 0.99942, 0.99561, 0.99989, 1.00035, 0.99977, 1.00035, 0.99977, 1.00019, 0.99944, 1.00001, 1.00021, 0.99926, 1.00035, 1.00035, 0.99942, 1.00048, 0.99999, 0.99977, 1.00022, 1.00035, 1.00001, 0.99977, 1.00026, 0.99989, 1.00057, 1.00001, 0.99936, 1.00052, 1.00012, 0.99996, 1.00043, 1, 1.00035, 0.9994, 0.99976, 1.00035, 0.99973, 1.00052, 1.00041, 1.00119, 1.00037, 0.99973, 1.00002, 0.99986, 1.00041, 1.00041, 0.99902, 0.9996, 1.00034, 0.99999, 1.00026, 0.99999, 1.00026, 0.99973, 1.00052, 0.99973, 1, 0.99973, 1.00041, 1.00075, 0.9994, 1.0003, 0.99999, 1, 1.00041, 0.99955, 1, 0.99915, 0.99973, 0.99973, 1.00026, 1.00119, 0.99955, 0.99973, 1.0006, 0.99911, 1.0006, 1.00026, 0.99972, 1.00026, 0.99902, 1.00041, 0.99973, 0.99999, 1, 1, 1.00038, 1.0005, 1.00016, 1.00022, 1.00016, 1.00022, 1.00016, 1.00022, 1.00001, 0.99973, 1, 1, 0.99973, 1, 1, 0.99955, 1.0006, 1.0006, 1.0006, 1.0006, 1, 1, 1, 0.99973, 0.99973, 0.99972, 1, 1, 1.00106, 0.99999, 0.99998, 0.99998, 0.99999, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 0.99971, 1.00047, 1.00023, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1, 1, 1, 1, 1, 1, 1, 0.99972, 1, 1.20985, 1.39713, 1.00003, 1.00031, 1.00015, 1, 0.99561, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.99972, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const HelveticaBoldMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; -const HelveticaBoldItalicFactors = [0.76116, 1, 1, 1.0006, 0.99998, 0.99974, 0.99973, 0.99973, 0.99982, 0.99977, 1.00087, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.00003, 1.00003, 1.00003, 1.00026, 0.9999, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 0.99973, 0.99977, 1.00026, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 0.99998, 1.0006, 0.99998, 1.00003, 0.99973, 0.99998, 0.99973, 1.00026, 0.99973, 1.00026, 0.99973, 0.99998, 1.00026, 1.00026, 1.0006, 1.0006, 0.99973, 1.0006, 0.99982, 1.00026, 1.00026, 1.00026, 1.00026, 0.99959, 0.99973, 0.99998, 1.00026, 0.99973, 1.00022, 0.99973, 0.99973, 1, 0.99959, 1.00077, 0.99959, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.00077, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.99973, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.06409, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 0.99973, 1.00026, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 1.0044, 0.99977, 1.00026, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99971, 0.99973, 0.99973, 1.0006, 0.99977, 0.99973, 0.99973, 1.00026, 1.0006, 1.00026, 1.0006, 1.00026, 1.01011, 1.00026, 0.99999, 1.00026, 1.0006, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.9993, 0.9998, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1, 1.00016, 0.99977, 0.99959, 0.99977, 0.99959, 0.99977, 0.99959, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00026, 0.99998, 1.00026, 0.8121, 1.00026, 0.99998, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.00016, 1.00022, 1.00001, 0.99973, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 1.0006, 0.99973, 0.99977, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 0.99973, 1.00026, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99977, 1, 1, 1.00026, 0.99969, 0.99972, 0.99981, 0.9998, 1.0006, 0.99977, 0.99977, 1.00022, 0.91155, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 0.99977, 1.00001, 0.99999, 0.99977, 0.99966, 1.00022, 1.00032, 1.00001, 0.99944, 1.00026, 1.00001, 0.99968, 1.00001, 1.00047, 1, 1.0006, 1.00001, 0.99981, 1.00101, 1.00026, 1.0006, 0.99948, 0.99981, 1.00064, 0.99973, 0.99942, 1.00101, 1.00061, 1.00026, 1.00069, 1.0006, 1.00014, 0.99973, 1.01322, 0.99973, 1.00065, 1.00026, 1.00012, 0.99923, 1, 1.00064, 1.00076, 0.99948, 1.00055, 1.00063, 1.00007, 0.99943, 1.0006, 0.99948, 1.00026, 0.99948, 0.99943, 1.00001, 1.00001, 1.00029, 1.00038, 1.00035, 1.00001, 1.0006, 1.0006, 0.99973, 0.99978, 1.00001, 1.00057, 0.99989, 0.99967, 0.99964, 0.99967, 0.99977, 0.99999, 0.99977, 1.00038, 0.99977, 1.00001, 0.99973, 1.00066, 0.99967, 0.99967, 1.00041, 0.99998, 0.99999, 0.99977, 1.00022, 0.99967, 1.00001, 0.99977, 1.00026, 0.99964, 1.00031, 1.00001, 0.99999, 0.99999, 1, 1.00023, 1, 1, 0.99999, 1.00035, 1.00001, 0.99999, 0.99973, 0.99977, 0.99999, 1.00058, 0.99973, 0.99973, 0.99955, 0.9995, 1.00026, 1.00026, 1.00032, 0.99989, 1.00034, 0.99999, 1.00026, 1.00026, 1.00026, 0.99973, 0.45998, 0.99973, 1.00026, 0.99973, 1.00001, 0.99999, 0.99982, 0.99994, 0.99996, 1, 1.00042, 1.00044, 1.00029, 1.00023, 0.99973, 0.99973, 1.00026, 0.99949, 1.00002, 0.99973, 1.0006, 1.0006, 1.0006, 0.99975, 1.00026, 1.00026, 1.00032, 0.98685, 0.99973, 1.00026, 1, 1, 0.99966, 1.00044, 1.00016, 1.00022, 1.00016, 1.00022, 1.00016, 1.00022, 1.00001, 0.99973, 1, 1, 0.99973, 1, 1, 0.99955, 1.0006, 1.0006, 1.0006, 1.0006, 1, 1, 1, 0.99973, 0.99973, 0.99972, 1, 1, 1.00106, 0.99999, 0.99998, 0.99998, 0.99999, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1, 0.99973, 0.99971, 0.99978, 1, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1.00098, 1, 1, 1, 1.00049, 1, 1, 0.99972, 1, 1.20985, 1.39713, 1.00003, 1.00031, 1.00015, 1, 0.99561, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.99972, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const HelveticaBoldItalicMetrics = { - lineHeight: 1.35, - lineGap: 0.2 -}; -const HelveticaItalicFactors = [0.76116, 1, 1, 1.0006, 1.0006, 1.00006, 0.99973, 0.99973, 0.99982, 1.00001, 1.00043, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1, 1.00003, 1.00003, 1.00003, 0.99973, 0.99987, 1.00001, 1.00001, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 1, 1.00001, 0.99973, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 1.0006, 1.0006, 1.0006, 0.99949, 0.99973, 0.99998, 0.99973, 0.99973, 1, 0.99973, 0.99973, 1.0006, 0.99973, 0.99973, 0.99924, 0.99924, 1, 0.99924, 0.99999, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.0006, 0.99973, 1, 0.99977, 1, 1, 1, 1.00005, 1.0009, 1.00005, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.0009, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.9998, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 1, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.06409, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 1, 0.99973, 1, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1.0288, 0.99977, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99924, 1.0006, 1.0006, 0.99946, 1.00034, 1, 0.99924, 1.00001, 1, 1, 0.99973, 0.99924, 0.99973, 0.99924, 0.99973, 1.06311, 0.99973, 1.00024, 0.99973, 0.99924, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00041, 0.9998, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1, 1.00016, 0.99977, 0.99998, 0.99977, 0.99998, 0.99977, 0.99998, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00026, 1.0006, 1.00026, 0.89547, 1.00026, 1.0006, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00016, 0.99977, 1.00001, 1, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 0.99924, 0.99973, 1.00001, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 1, 1.00026, 1.0006, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 1.00001, 1, 1.00054, 0.99977, 1.00084, 1.00007, 0.99973, 1.00013, 0.99924, 1.00001, 1.00001, 0.99945, 0.91221, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 1.00001, 1.00001, 0.99999, 0.99977, 0.99933, 1.00022, 1.00054, 1.00001, 1.00065, 1.00026, 1.00001, 1.0001, 1.00001, 1.00052, 1, 1.0006, 1.00001, 0.99945, 0.99897, 0.99968, 0.99924, 1.00036, 0.99945, 0.99949, 1, 1.0006, 0.99897, 0.99918, 0.99968, 0.99911, 0.99924, 1, 0.99962, 1.01487, 1, 1.0005, 0.99973, 1.00012, 1.00043, 1, 0.99995, 0.99994, 1.00036, 0.99947, 1.00019, 1.00063, 1.00025, 0.99924, 1.00036, 0.99973, 1.00036, 1.00025, 1.00001, 1.00001, 1.00027, 1.0001, 1.00068, 1.00001, 1.0006, 1.0006, 1, 1.00008, 0.99957, 0.99972, 0.9994, 0.99954, 0.99975, 1.00051, 1.00001, 1.00019, 1.00001, 1.0001, 0.99986, 1.00001, 1.00001, 1.00038, 0.99954, 0.99954, 0.9994, 1.00066, 0.99999, 0.99977, 1.00022, 1.00054, 1.00001, 0.99977, 1.00026, 0.99975, 1.0001, 1.00001, 0.99993, 0.9995, 0.99955, 1.00016, 0.99978, 0.99974, 1.00019, 1.00022, 0.99955, 1.00053, 0.99973, 1.00089, 1.00005, 0.99967, 1.00048, 0.99973, 1.00002, 1.00034, 0.99973, 0.99973, 0.99964, 1.00006, 1.00066, 0.99947, 0.99973, 0.98894, 0.99973, 1, 0.44898, 1, 0.99946, 1, 1.00039, 1.00082, 0.99991, 0.99991, 0.99985, 1.00022, 1.00023, 1.00061, 1.00006, 0.99966, 0.99973, 0.99973, 0.99973, 1.00019, 1.0008, 1, 0.99924, 0.99924, 0.99924, 0.99983, 1.00044, 0.99973, 0.99964, 0.98332, 1, 0.99973, 1, 1, 0.99962, 0.99895, 1.00016, 0.99977, 1.00016, 0.99977, 1.00016, 0.99977, 1.00001, 1, 1, 1, 0.99973, 1, 1, 0.99955, 0.99924, 0.99924, 0.99924, 0.99924, 0.99998, 0.99998, 0.99998, 0.99973, 0.99973, 0.99972, 1, 1, 1.00267, 0.99999, 0.99998, 0.99998, 1, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 1.00423, 0.99925, 0.99999, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1.00049, 1, 1.00245, 1, 1, 1, 1, 0.96329, 1, 1.20985, 1.39713, 1.00003, 0.8254, 1.00015, 1, 1.00035, 1.00027, 1.00031, 1.00031, 1.00003, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.95317, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const HelveticaItalicMetrics = { - lineHeight: 1.35, - lineGap: 0.2 -}; -const HelveticaRegularFactors = [0.76116, 1, 1, 1.0006, 1.0006, 1.00006, 0.99973, 0.99973, 0.99982, 1.00001, 1.00043, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1, 1.00003, 1.00003, 1.00003, 0.99973, 0.99987, 1.00001, 1.00001, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 1, 1.00001, 0.99973, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 1.0006, 1.0006, 1.0006, 0.99949, 0.99973, 0.99998, 0.99973, 0.99973, 1, 0.99973, 0.99973, 1.0006, 0.99973, 0.99973, 0.99924, 0.99924, 1, 0.99924, 0.99999, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.0006, 0.99973, 1, 0.99977, 1, 1, 1, 1.00005, 1.0009, 1.00005, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.0009, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.9998, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 1, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.06409, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 1, 0.99973, 1, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1.04596, 0.99977, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99924, 1.0006, 1.0006, 1.00019, 1.00034, 1, 0.99924, 1.00001, 1, 1, 0.99973, 0.99924, 0.99973, 0.99924, 0.99973, 1.02572, 0.99973, 1.00005, 0.99973, 0.99924, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99999, 0.9998, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1, 1.00016, 0.99977, 0.99998, 0.99977, 0.99998, 0.99977, 0.99998, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00026, 1.0006, 1.00026, 0.84533, 1.00026, 1.0006, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00016, 0.99977, 1.00001, 1, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 0.99924, 0.99973, 1.00001, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 1, 1.00026, 1.0006, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99928, 1, 0.99977, 1.00013, 1.00055, 0.99947, 0.99945, 0.99941, 0.99924, 1.00001, 1.00001, 1.0004, 0.91621, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 1.00001, 1.00005, 0.99999, 0.99977, 1.00015, 1.00022, 0.99977, 1.00001, 0.99973, 1.00026, 1.00001, 1.00019, 1.00001, 0.99946, 1, 1.0006, 1.00001, 0.99978, 1.00045, 0.99973, 0.99924, 1.00023, 0.99978, 0.99966, 1, 1.00065, 1.00045, 1.00019, 0.99973, 0.99973, 0.99924, 1, 1, 0.96499, 1, 1.00055, 0.99973, 1.00008, 1.00027, 1, 0.9997, 0.99995, 1.00023, 0.99933, 1.00019, 1.00015, 1.00031, 0.99924, 1.00023, 0.99973, 1.00023, 1.00031, 1.00001, 0.99928, 1.00029, 1.00092, 1.00035, 1.00001, 1.0006, 1.0006, 1, 0.99988, 0.99975, 1, 1.00082, 0.99561, 0.9996, 1.00035, 1.00001, 0.99962, 1.00001, 1.00092, 0.99964, 1.00001, 0.99963, 0.99999, 1.00035, 1.00035, 1.00082, 0.99962, 0.99999, 0.99977, 1.00022, 1.00035, 1.00001, 0.99977, 1.00026, 0.9996, 0.99967, 1.00001, 1.00034, 1.00074, 1.00054, 1.00053, 1.00063, 0.99971, 0.99962, 1.00035, 0.99975, 0.99977, 0.99973, 1.00043, 0.99953, 1.0007, 0.99915, 0.99973, 1.00008, 0.99892, 1.00073, 1.00073, 1.00114, 0.99915, 1.00073, 0.99955, 0.99973, 1.00092, 0.99973, 1, 0.99998, 1, 1.0003, 1, 1.00043, 1.00001, 0.99969, 1.0003, 1, 1.00035, 1.00001, 0.9995, 1, 1.00092, 0.99973, 0.99973, 0.99973, 1.0007, 0.9995, 1, 0.99924, 1.0006, 0.99924, 0.99972, 1.00062, 0.99973, 1.00114, 1.00073, 1, 0.99955, 1, 1, 1.00047, 0.99968, 1.00016, 0.99977, 1.00016, 0.99977, 1.00016, 0.99977, 1.00001, 1, 1, 1, 0.99973, 1, 1, 0.99955, 0.99924, 0.99924, 0.99924, 0.99924, 0.99998, 0.99998, 0.99998, 0.99973, 0.99973, 0.99972, 1, 1, 1.00267, 0.99999, 0.99998, 0.99998, 1, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 0.99971, 0.99925, 1.00023, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1, 1, 1, 1, 1, 1, 1, 0.96329, 1, 1.20985, 1.39713, 1.00003, 0.8254, 1.00015, 1, 1.00035, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.95317, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const HelveticaRegularMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; - -;// CONCATENATED MODULE: ./src/core/liberationsans_widths.js -const LiberationSansBoldWidths = [365, 0, 333, 278, 333, 474, 556, 556, 889, 722, 238, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 333, 333, 584, 584, 584, 611, 975, 722, 722, 722, 722, 667, 611, 778, 722, 278, 556, 722, 611, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 333, 278, 333, 584, 556, 333, 556, 611, 556, 611, 556, 333, 611, 611, 278, 278, 556, 278, 889, 611, 611, 611, 611, 389, 556, 333, 611, 556, 778, 556, 556, 500, 389, 280, 389, 584, 333, 556, 556, 556, 556, 280, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 556, 278, 333, 333, 365, 556, 834, 834, 834, 611, 722, 722, 722, 722, 722, 722, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 556, 556, 556, 556, 556, 278, 278, 278, 278, 611, 611, 611, 611, 611, 611, 611, 549, 611, 611, 611, 611, 611, 556, 611, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 719, 722, 611, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 611, 778, 611, 778, 611, 778, 611, 722, 611, 722, 611, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 785, 556, 556, 278, 722, 556, 556, 611, 278, 611, 278, 611, 385, 611, 479, 611, 278, 722, 611, 722, 611, 722, 611, 708, 723, 611, 778, 611, 778, 611, 778, 611, 1000, 944, 722, 389, 722, 389, 722, 389, 667, 556, 667, 556, 667, 556, 667, 556, 611, 333, 611, 479, 611, 333, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 944, 778, 667, 556, 667, 611, 500, 611, 500, 611, 500, 278, 556, 722, 556, 1000, 889, 778, 611, 667, 556, 611, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 465, 722, 333, 853, 906, 474, 825, 927, 838, 278, 722, 722, 601, 719, 667, 611, 722, 778, 278, 722, 667, 833, 722, 644, 778, 722, 667, 600, 611, 667, 821, 667, 809, 802, 278, 667, 615, 451, 611, 278, 582, 615, 610, 556, 606, 475, 460, 611, 541, 278, 558, 556, 612, 556, 445, 611, 766, 619, 520, 684, 446, 582, 715, 576, 753, 845, 278, 582, 611, 582, 845, 667, 669, 885, 567, 711, 667, 278, 276, 556, 1094, 1062, 875, 610, 722, 622, 719, 722, 719, 722, 567, 712, 667, 904, 626, 719, 719, 610, 702, 833, 722, 778, 719, 667, 722, 611, 622, 854, 667, 730, 703, 1005, 1019, 870, 979, 719, 711, 1031, 719, 556, 618, 615, 417, 635, 556, 709, 497, 615, 615, 500, 635, 740, 604, 611, 604, 611, 556, 490, 556, 875, 556, 615, 581, 833, 844, 729, 854, 615, 552, 854, 583, 556, 556, 611, 417, 552, 556, 278, 281, 278, 969, 906, 611, 500, 615, 556, 604, 778, 611, 487, 447, 944, 778, 944, 778, 944, 778, 667, 556, 333, 333, 556, 1000, 1000, 552, 278, 278, 278, 278, 500, 500, 500, 556, 556, 350, 1000, 1000, 240, 479, 333, 333, 604, 333, 167, 396, 556, 556, 1094, 556, 885, 489, 1115, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 722, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 611, 611, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 333, 333, 333, 333, 333, 333, 333, 333]; -const LiberationSansBoldMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; -const LiberationSansBoldItalicWidths = [365, 0, 333, 278, 333, 474, 556, 556, 889, 722, 238, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 333, 333, 584, 584, 584, 611, 975, 722, 722, 722, 722, 667, 611, 778, 722, 278, 556, 722, 611, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 333, 278, 333, 584, 556, 333, 556, 611, 556, 611, 556, 333, 611, 611, 278, 278, 556, 278, 889, 611, 611, 611, 611, 389, 556, 333, 611, 556, 778, 556, 556, 500, 389, 280, 389, 584, 333, 556, 556, 556, 556, 280, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 556, 278, 333, 333, 365, 556, 834, 834, 834, 611, 722, 722, 722, 722, 722, 722, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 556, 556, 556, 556, 556, 278, 278, 278, 278, 611, 611, 611, 611, 611, 611, 611, 549, 611, 611, 611, 611, 611, 556, 611, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 740, 722, 611, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 611, 778, 611, 778, 611, 778, 611, 722, 611, 722, 611, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 782, 556, 556, 278, 722, 556, 556, 611, 278, 611, 278, 611, 396, 611, 479, 611, 278, 722, 611, 722, 611, 722, 611, 708, 723, 611, 778, 611, 778, 611, 778, 611, 1000, 944, 722, 389, 722, 389, 722, 389, 667, 556, 667, 556, 667, 556, 667, 556, 611, 333, 611, 479, 611, 333, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 944, 778, 667, 556, 667, 611, 500, 611, 500, 611, 500, 278, 556, 722, 556, 1000, 889, 778, 611, 667, 556, 611, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 722, 333, 854, 906, 473, 844, 930, 847, 278, 722, 722, 610, 671, 667, 611, 722, 778, 278, 722, 667, 833, 722, 657, 778, 718, 667, 590, 611, 667, 822, 667, 829, 781, 278, 667, 620, 479, 611, 278, 591, 620, 621, 556, 610, 479, 492, 611, 558, 278, 566, 556, 603, 556, 450, 611, 712, 605, 532, 664, 409, 591, 704, 578, 773, 834, 278, 591, 611, 591, 834, 667, 667, 886, 614, 719, 667, 278, 278, 556, 1094, 1042, 854, 622, 719, 677, 719, 722, 708, 722, 614, 722, 667, 927, 643, 719, 719, 615, 687, 833, 722, 778, 719, 667, 722, 611, 677, 781, 667, 729, 708, 979, 989, 854, 1000, 708, 719, 1042, 729, 556, 619, 604, 534, 618, 556, 736, 510, 611, 611, 507, 622, 740, 604, 611, 611, 611, 556, 889, 556, 885, 556, 646, 583, 889, 935, 707, 854, 594, 552, 865, 589, 556, 556, 611, 469, 563, 556, 278, 278, 278, 969, 906, 611, 507, 619, 556, 611, 778, 611, 575, 467, 944, 778, 944, 778, 944, 778, 667, 556, 333, 333, 556, 1000, 1000, 552, 278, 278, 278, 278, 500, 500, 500, 556, 556, 350, 1000, 1000, 240, 479, 333, 333, 604, 333, 167, 396, 556, 556, 1104, 556, 885, 516, 1146, 1000, 768, 600, 834, 834, 834, 834, 999, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 722, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 611, 611, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 333, 333, 333, 333, 333, 333, 333, 333]; -const LiberationSansBoldItalicMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; -const LiberationSansItalicWidths = [365, 0, 333, 278, 278, 355, 556, 556, 889, 667, 191, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 278, 278, 584, 584, 584, 556, 1015, 667, 667, 722, 722, 667, 611, 778, 722, 278, 500, 667, 556, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 278, 278, 278, 469, 556, 333, 556, 556, 500, 556, 556, 278, 556, 556, 222, 222, 500, 222, 833, 556, 556, 556, 556, 333, 500, 278, 556, 500, 722, 500, 500, 500, 334, 260, 334, 584, 333, 556, 556, 556, 556, 260, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 537, 278, 333, 333, 365, 556, 834, 834, 834, 611, 667, 667, 667, 667, 667, 667, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 500, 556, 556, 556, 556, 278, 278, 278, 278, 556, 556, 556, 556, 556, 556, 556, 549, 611, 556, 556, 556, 556, 500, 556, 500, 667, 556, 667, 556, 667, 556, 722, 500, 722, 500, 722, 500, 722, 500, 722, 625, 722, 556, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 556, 778, 556, 778, 556, 778, 556, 722, 556, 722, 556, 278, 278, 278, 278, 278, 278, 278, 222, 278, 278, 733, 444, 500, 222, 667, 500, 500, 556, 222, 556, 222, 556, 281, 556, 400, 556, 222, 722, 556, 722, 556, 722, 556, 615, 723, 556, 778, 556, 778, 556, 778, 556, 1000, 944, 722, 333, 722, 333, 722, 333, 667, 500, 667, 500, 667, 500, 667, 500, 611, 278, 611, 354, 611, 278, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 944, 722, 667, 500, 667, 611, 500, 611, 500, 611, 500, 222, 556, 667, 556, 1000, 889, 778, 611, 667, 500, 611, 278, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 667, 278, 789, 846, 389, 794, 865, 775, 222, 667, 667, 570, 671, 667, 611, 722, 778, 278, 667, 667, 833, 722, 648, 778, 725, 667, 600, 611, 667, 837, 667, 831, 761, 278, 667, 570, 439, 555, 222, 550, 570, 571, 500, 556, 439, 463, 555, 542, 222, 500, 492, 548, 500, 447, 556, 670, 573, 486, 603, 374, 550, 652, 546, 728, 779, 222, 550, 556, 550, 779, 667, 667, 843, 544, 708, 667, 278, 278, 500, 1066, 982, 844, 589, 715, 639, 724, 667, 651, 667, 544, 704, 667, 917, 614, 715, 715, 589, 686, 833, 722, 778, 725, 667, 722, 611, 639, 795, 667, 727, 673, 920, 923, 805, 886, 651, 694, 1022, 682, 556, 562, 522, 493, 553, 556, 688, 465, 556, 556, 472, 564, 686, 550, 556, 556, 556, 500, 833, 500, 835, 500, 572, 518, 830, 851, 621, 736, 526, 492, 752, 534, 556, 556, 556, 378, 496, 500, 222, 222, 222, 910, 828, 556, 472, 565, 500, 556, 778, 556, 492, 339, 944, 722, 944, 722, 944, 722, 667, 500, 333, 333, 556, 1000, 1000, 552, 222, 222, 222, 222, 333, 333, 333, 556, 556, 350, 1000, 1000, 188, 354, 333, 333, 500, 333, 167, 365, 556, 556, 1094, 556, 885, 323, 1083, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 998, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 719, 274, 549, 549, 584, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 500, 500, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 294, 294, 324, 324, 316, 328, 398, 285]; -const LiberationSansItalicMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; -const LiberationSansRegularWidths = [365, 0, 333, 278, 278, 355, 556, 556, 889, 667, 191, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 278, 278, 584, 584, 584, 556, 1015, 667, 667, 722, 722, 667, 611, 778, 722, 278, 500, 667, 556, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 278, 278, 278, 469, 556, 333, 556, 556, 500, 556, 556, 278, 556, 556, 222, 222, 500, 222, 833, 556, 556, 556, 556, 333, 500, 278, 556, 500, 722, 500, 500, 500, 334, 260, 334, 584, 333, 556, 556, 556, 556, 260, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 537, 278, 333, 333, 365, 556, 834, 834, 834, 611, 667, 667, 667, 667, 667, 667, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 500, 556, 556, 556, 556, 278, 278, 278, 278, 556, 556, 556, 556, 556, 556, 556, 549, 611, 556, 556, 556, 556, 500, 556, 500, 667, 556, 667, 556, 667, 556, 722, 500, 722, 500, 722, 500, 722, 500, 722, 615, 722, 556, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 556, 778, 556, 778, 556, 778, 556, 722, 556, 722, 556, 278, 278, 278, 278, 278, 278, 278, 222, 278, 278, 735, 444, 500, 222, 667, 500, 500, 556, 222, 556, 222, 556, 292, 556, 334, 556, 222, 722, 556, 722, 556, 722, 556, 604, 723, 556, 778, 556, 778, 556, 778, 556, 1000, 944, 722, 333, 722, 333, 722, 333, 667, 500, 667, 500, 667, 500, 667, 500, 611, 278, 611, 375, 611, 278, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 944, 722, 667, 500, 667, 611, 500, 611, 500, 611, 500, 222, 556, 667, 556, 1000, 889, 778, 611, 667, 500, 611, 278, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 667, 278, 784, 838, 384, 774, 855, 752, 222, 667, 667, 551, 668, 667, 611, 722, 778, 278, 667, 668, 833, 722, 650, 778, 722, 667, 618, 611, 667, 798, 667, 835, 748, 278, 667, 578, 446, 556, 222, 547, 578, 575, 500, 557, 446, 441, 556, 556, 222, 500, 500, 576, 500, 448, 556, 690, 569, 482, 617, 395, 547, 648, 525, 713, 781, 222, 547, 556, 547, 781, 667, 667, 865, 542, 719, 667, 278, 278, 500, 1057, 1010, 854, 583, 722, 635, 719, 667, 656, 667, 542, 677, 667, 923, 604, 719, 719, 583, 656, 833, 722, 778, 719, 667, 722, 611, 635, 760, 667, 740, 667, 917, 938, 792, 885, 656, 719, 1010, 722, 556, 573, 531, 365, 583, 556, 669, 458, 559, 559, 438, 583, 688, 552, 556, 542, 556, 500, 458, 500, 823, 500, 573, 521, 802, 823, 625, 719, 521, 510, 750, 542, 556, 556, 556, 365, 510, 500, 222, 278, 222, 906, 812, 556, 438, 559, 500, 552, 778, 556, 489, 411, 944, 722, 944, 722, 944, 722, 667, 500, 333, 333, 556, 1000, 1000, 552, 222, 222, 222, 222, 333, 333, 333, 556, 556, 350, 1000, 1000, 188, 354, 333, 333, 500, 333, 167, 365, 556, 556, 1094, 556, 885, 323, 1073, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 719, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 500, 500, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 294, 294, 324, 324, 316, 328, 398, 285]; -const LiberationSansRegularMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; - -;// CONCATENATED MODULE: ./src/core/myriadpro_factors.js -const MyriadProBoldFactors = [1.36898, 1, 1, 0.72706, 0.80479, 0.83734, 0.98894, 0.99793, 0.9897, 0.93884, 0.86209, 0.94292, 0.94292, 1.16661, 1.02058, 0.93582, 0.96694, 0.93582, 1.19137, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.78076, 0.78076, 1.02058, 1.02058, 1.02058, 0.72851, 0.78966, 0.90838, 0.83637, 0.82391, 0.96376, 0.80061, 0.86275, 0.8768, 0.95407, 1.0258, 0.73901, 0.85022, 0.83655, 1.0156, 0.95546, 0.92179, 0.87107, 0.92179, 0.82114, 0.8096, 0.89713, 0.94438, 0.95353, 0.94083, 0.91905, 0.90406, 0.9446, 0.94292, 1.18777, 0.94292, 1.02058, 0.89903, 0.90088, 0.94938, 0.97898, 0.81093, 0.97571, 0.94938, 1.024, 0.9577, 0.95933, 0.98621, 1.0474, 0.97455, 0.98981, 0.9672, 0.95933, 0.9446, 0.97898, 0.97407, 0.97646, 0.78036, 1.10208, 0.95442, 0.95298, 0.97579, 0.9332, 0.94039, 0.938, 0.80687, 1.01149, 0.80687, 1.02058, 0.80479, 0.99793, 0.99793, 0.99793, 0.99793, 1.01149, 1.00872, 0.90088, 0.91882, 1.0213, 0.8361, 1.02058, 0.62295, 0.54324, 0.89022, 1.08595, 1, 1, 0.90088, 1, 0.97455, 0.93582, 0.90088, 1, 1.05686, 0.8361, 0.99642, 0.99642, 0.99642, 0.72851, 0.90838, 0.90838, 0.90838, 0.90838, 0.90838, 0.90838, 0.868, 0.82391, 0.80061, 0.80061, 0.80061, 0.80061, 1.0258, 1.0258, 1.0258, 1.0258, 0.97484, 0.95546, 0.92179, 0.92179, 0.92179, 0.92179, 0.92179, 1.02058, 0.92179, 0.94438, 0.94438, 0.94438, 0.94438, 0.90406, 0.86958, 0.98225, 0.94938, 0.94938, 0.94938, 0.94938, 0.94938, 0.94938, 0.9031, 0.81093, 0.94938, 0.94938, 0.94938, 0.94938, 0.98621, 0.98621, 0.98621, 0.98621, 0.93969, 0.95933, 0.9446, 0.9446, 0.9446, 0.9446, 0.9446, 1.08595, 0.9446, 0.95442, 0.95442, 0.95442, 0.95442, 0.94039, 0.97898, 0.94039, 0.90838, 0.94938, 0.90838, 0.94938, 0.90838, 0.94938, 0.82391, 0.81093, 0.82391, 0.81093, 0.82391, 0.81093, 0.82391, 0.81093, 0.96376, 0.84313, 0.97484, 0.97571, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.8768, 0.9577, 0.8768, 0.9577, 0.8768, 0.9577, 1, 1, 0.95407, 0.95933, 0.97069, 0.95933, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 0.887, 1.01591, 0.73901, 1.0474, 1, 1, 0.97455, 0.83655, 0.98981, 1, 1, 0.83655, 0.73977, 0.83655, 0.73903, 0.84638, 1.033, 0.95546, 0.95933, 1, 1, 0.95546, 0.95933, 0.8271, 0.95417, 0.95933, 0.92179, 0.9446, 0.92179, 0.9446, 0.92179, 0.9446, 0.936, 0.91964, 0.82114, 0.97646, 1, 1, 0.82114, 0.97646, 0.8096, 0.78036, 0.8096, 0.78036, 1, 1, 0.8096, 0.78036, 1, 1, 0.89713, 0.77452, 0.89713, 1.10208, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94083, 0.97579, 0.90406, 0.94039, 0.90406, 0.9446, 0.938, 0.9446, 0.938, 0.9446, 0.938, 1, 0.99793, 0.90838, 0.94938, 0.868, 0.9031, 0.92179, 0.9446, 1, 1, 0.89713, 1.10208, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90989, 0.9358, 0.91945, 0.83181, 0.75261, 0.87992, 0.82976, 0.96034, 0.83689, 0.97268, 1.0078, 0.90838, 0.83637, 0.8019, 0.90157, 0.80061, 0.9446, 0.95407, 0.92436, 1.0258, 0.85022, 0.97153, 1.0156, 0.95546, 0.89192, 0.92179, 0.92361, 0.87107, 0.96318, 0.89713, 0.93704, 0.95638, 0.91905, 0.91709, 0.92796, 1.0258, 0.93704, 0.94836, 1.0373, 0.95933, 1.0078, 0.95871, 0.94836, 0.96174, 0.92601, 0.9498, 0.98607, 0.95776, 0.95933, 1.05453, 1.0078, 0.98275, 0.9314, 0.95617, 0.91701, 1.05993, 0.9446, 0.78367, 0.9553, 1, 0.86832, 1.0128, 0.95871, 0.99394, 0.87548, 0.96361, 0.86774, 1.0078, 0.95871, 0.9446, 0.95871, 0.86774, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.94083, 0.97579, 0.94083, 0.97579, 0.94083, 0.97579, 0.90406, 0.94039, 0.96694, 1, 0.89903, 1, 1, 1, 0.93582, 0.93582, 0.93582, 1, 0.908, 0.908, 0.918, 0.94219, 0.94219, 0.96544, 1, 1.285, 1, 1, 0.81079, 0.81079, 1, 1, 0.74854, 1, 1, 1, 1, 0.99793, 1, 1, 1, 0.65, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.17173, 1, 0.80535, 0.76169, 1.02058, 1.0732, 1.05486, 1, 1, 1.30692, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.16161, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const MyriadProBoldMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; -const MyriadProBoldItalicFactors = [1.36898, 1, 1, 0.66227, 0.80779, 0.81625, 0.97276, 0.97276, 0.97733, 0.92222, 0.83266, 0.94292, 0.94292, 1.16148, 1.02058, 0.93582, 0.96694, 0.93582, 1.17337, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.78076, 0.78076, 1.02058, 1.02058, 1.02058, 0.71541, 0.76813, 0.85576, 0.80591, 0.80729, 0.94299, 0.77512, 0.83655, 0.86523, 0.92222, 0.98621, 0.71743, 0.81698, 0.79726, 0.98558, 0.92222, 0.90637, 0.83809, 0.90637, 0.80729, 0.76463, 0.86275, 0.90699, 0.91605, 0.9154, 0.85308, 0.85458, 0.90531, 0.94292, 1.21296, 0.94292, 1.02058, 0.89903, 1.18616, 0.99613, 0.91677, 0.78216, 0.91677, 0.90083, 0.98796, 0.9135, 0.92168, 0.95381, 0.98981, 0.95298, 0.95381, 0.93459, 0.92168, 0.91513, 0.92004, 0.91677, 0.95077, 0.748, 1.04502, 0.91677, 0.92061, 0.94236, 0.89544, 0.89364, 0.9, 0.80687, 0.8578, 0.80687, 1.02058, 0.80779, 0.97276, 0.97276, 0.97276, 0.97276, 0.8578, 0.99973, 1.18616, 0.91339, 1.08074, 0.82891, 1.02058, 0.55509, 0.71526, 0.89022, 1.08595, 1, 1, 1.18616, 1, 0.96736, 0.93582, 1.18616, 1, 1.04864, 0.82711, 0.99043, 0.99043, 0.99043, 0.71541, 0.85576, 0.85576, 0.85576, 0.85576, 0.85576, 0.85576, 0.845, 0.80729, 0.77512, 0.77512, 0.77512, 0.77512, 0.98621, 0.98621, 0.98621, 0.98621, 0.95961, 0.92222, 0.90637, 0.90637, 0.90637, 0.90637, 0.90637, 1.02058, 0.90251, 0.90699, 0.90699, 0.90699, 0.90699, 0.85458, 0.83659, 0.94951, 0.99613, 0.99613, 0.99613, 0.99613, 0.99613, 0.99613, 0.85811, 0.78216, 0.90083, 0.90083, 0.90083, 0.90083, 0.95381, 0.95381, 0.95381, 0.95381, 0.9135, 0.92168, 0.91513, 0.91513, 0.91513, 0.91513, 0.91513, 1.08595, 0.91677, 0.91677, 0.91677, 0.91677, 0.91677, 0.89364, 0.92332, 0.89364, 0.85576, 0.99613, 0.85576, 0.99613, 0.85576, 0.99613, 0.80729, 0.78216, 0.80729, 0.78216, 0.80729, 0.78216, 0.80729, 0.78216, 0.94299, 0.76783, 0.95961, 0.91677, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.86523, 0.9135, 0.86523, 0.9135, 0.86523, 0.9135, 1, 1, 0.92222, 0.92168, 0.92222, 0.92168, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.86036, 0.97096, 0.71743, 0.98981, 1, 1, 0.95298, 0.79726, 0.95381, 1, 1, 0.79726, 0.6894, 0.79726, 0.74321, 0.81691, 1.0006, 0.92222, 0.92168, 1, 1, 0.92222, 0.92168, 0.79464, 0.92098, 0.92168, 0.90637, 0.91513, 0.90637, 0.91513, 0.90637, 0.91513, 0.909, 0.87514, 0.80729, 0.95077, 1, 1, 0.80729, 0.95077, 0.76463, 0.748, 0.76463, 0.748, 1, 1, 0.76463, 0.748, 1, 1, 0.86275, 0.72651, 0.86275, 1.04502, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.9154, 0.94236, 0.85458, 0.89364, 0.85458, 0.90531, 0.9, 0.90531, 0.9, 0.90531, 0.9, 1, 0.97276, 0.85576, 0.99613, 0.845, 0.85811, 0.90251, 0.91677, 1, 1, 0.86275, 1.04502, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.00899, 1.30628, 0.85576, 0.80178, 0.66862, 0.7927, 0.69323, 0.88127, 0.72459, 0.89711, 0.95381, 0.85576, 0.80591, 0.7805, 0.94729, 0.77512, 0.90531, 0.92222, 0.90637, 0.98621, 0.81698, 0.92655, 0.98558, 0.92222, 0.85359, 0.90637, 0.90976, 0.83809, 0.94523, 0.86275, 0.83509, 0.93157, 0.85308, 0.83392, 0.92346, 0.98621, 0.83509, 0.92886, 0.91324, 0.92168, 0.95381, 0.90646, 0.92886, 0.90557, 0.86847, 0.90276, 0.91324, 0.86842, 0.92168, 0.99531, 0.95381, 0.9224, 0.85408, 0.92699, 0.86847, 1.0051, 0.91513, 0.80487, 0.93481, 1, 0.88159, 1.05214, 0.90646, 0.97355, 0.81539, 0.89398, 0.85923, 0.95381, 0.90646, 0.91513, 0.90646, 0.85923, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9154, 0.94236, 0.9154, 0.94236, 0.9154, 0.94236, 0.85458, 0.89364, 0.96694, 1, 0.89903, 1, 1, 1, 0.91782, 0.91782, 0.91782, 1, 0.896, 0.896, 0.896, 0.9332, 0.9332, 0.95973, 1, 1.26, 1, 1, 0.80479, 0.80178, 1, 1, 0.85633, 1, 1, 1, 1, 0.97276, 1, 1, 1, 0.698, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.14542, 1, 0.79199, 0.78694, 1.02058, 1.03493, 1.05486, 1, 1, 1.23026, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.20006, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const MyriadProBoldItalicMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; -const MyriadProItalicFactors = [1.36898, 1, 1, 0.65507, 0.84943, 0.85639, 0.88465, 0.88465, 0.86936, 0.88307, 0.86948, 0.85283, 0.85283, 1.06383, 1.02058, 0.75945, 0.9219, 0.75945, 1.17337, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.75945, 0.75945, 1.02058, 1.02058, 1.02058, 0.69046, 0.70926, 0.85158, 0.77812, 0.76852, 0.89591, 0.70466, 0.76125, 0.80094, 0.86822, 0.83864, 0.728, 0.77212, 0.79475, 0.93637, 0.87514, 0.8588, 0.76013, 0.8588, 0.72421, 0.69866, 0.77598, 0.85991, 0.80811, 0.87832, 0.78112, 0.77512, 0.8562, 1.0222, 1.18417, 1.0222, 1.27014, 0.89903, 1.15012, 0.93859, 0.94399, 0.846, 0.94399, 0.81453, 1.0186, 0.94219, 0.96017, 1.03075, 1.02175, 0.912, 1.03075, 0.96998, 0.96017, 0.93859, 0.94399, 0.94399, 0.95493, 0.746, 1.12658, 0.94578, 0.91, 0.979, 0.882, 0.882, 0.83, 0.85034, 0.83537, 0.85034, 1.02058, 0.70869, 0.88465, 0.88465, 0.88465, 0.88465, 0.83537, 0.90083, 1.15012, 0.9161, 0.94565, 0.73541, 1.02058, 0.53609, 0.69353, 0.79519, 1.08595, 1, 1, 1.15012, 1, 0.91974, 0.75945, 1.15012, 1, 0.9446, 0.73361, 0.9005, 0.9005, 0.9005, 0.62864, 0.85158, 0.85158, 0.85158, 0.85158, 0.85158, 0.85158, 0.773, 0.76852, 0.70466, 0.70466, 0.70466, 0.70466, 0.83864, 0.83864, 0.83864, 0.83864, 0.90561, 0.87514, 0.8588, 0.8588, 0.8588, 0.8588, 0.8588, 1.02058, 0.85751, 0.85991, 0.85991, 0.85991, 0.85991, 0.77512, 0.76013, 0.88075, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 0.8075, 0.846, 0.81453, 0.81453, 0.81453, 0.81453, 0.82424, 0.82424, 0.82424, 0.82424, 0.9278, 0.96017, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 1.08595, 0.8562, 0.94578, 0.94578, 0.94578, 0.94578, 0.882, 0.94578, 0.882, 0.85158, 0.93859, 0.85158, 0.93859, 0.85158, 0.93859, 0.76852, 0.846, 0.76852, 0.846, 0.76852, 0.846, 0.76852, 0.846, 0.89591, 0.8544, 0.90561, 0.94399, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.80094, 0.94219, 0.80094, 0.94219, 0.80094, 0.94219, 1, 1, 0.86822, 0.96017, 0.86822, 0.96017, 0.83864, 0.82424, 0.83864, 0.82424, 0.83864, 0.82424, 0.83864, 1.03075, 0.83864, 0.82424, 0.81402, 1.02738, 0.728, 1.02175, 1, 1, 0.912, 0.79475, 1.03075, 1, 1, 0.79475, 0.83911, 0.79475, 0.66266, 0.80553, 1.06676, 0.87514, 0.96017, 1, 1, 0.87514, 0.96017, 0.86865, 0.87396, 0.96017, 0.8588, 0.93859, 0.8588, 0.93859, 0.8588, 0.93859, 0.867, 0.84759, 0.72421, 0.95493, 1, 1, 0.72421, 0.95493, 0.69866, 0.746, 0.69866, 0.746, 1, 1, 0.69866, 0.746, 1, 1, 0.77598, 0.88417, 0.77598, 1.12658, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.87832, 0.979, 0.77512, 0.882, 0.77512, 0.8562, 0.83, 0.8562, 0.83, 0.8562, 0.83, 1, 0.88465, 0.85158, 0.93859, 0.773, 0.8075, 0.85751, 0.8562, 1, 1, 0.77598, 1.12658, 1.15012, 1.15012, 1.15012, 1.15012, 1.15012, 1.15313, 1.15012, 1.15012, 1.15012, 1.08106, 1.03901, 0.85158, 0.77025, 0.62264, 0.7646, 0.65351, 0.86026, 0.69461, 0.89947, 1.03075, 0.85158, 0.77812, 0.76449, 0.88836, 0.70466, 0.8562, 0.86822, 0.8588, 0.83864, 0.77212, 0.85308, 0.93637, 0.87514, 0.82352, 0.8588, 0.85701, 0.76013, 0.89058, 0.77598, 0.8156, 0.82565, 0.78112, 0.77899, 0.89386, 0.83864, 0.8156, 0.9486, 0.92388, 0.96186, 1.03075, 0.91123, 0.9486, 0.93298, 0.878, 0.93942, 0.92388, 0.84596, 0.96186, 0.95119, 1.03075, 0.922, 0.88787, 0.95829, 0.88, 0.93559, 0.93859, 0.78815, 0.93758, 1, 0.89217, 1.03737, 0.91123, 0.93969, 0.77487, 0.85769, 0.86799, 1.03075, 0.91123, 0.93859, 0.91123, 0.86799, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.87832, 0.979, 0.87832, 0.979, 0.87832, 0.979, 0.77512, 0.882, 0.9219, 1, 0.89903, 1, 1, 1, 0.87321, 0.87321, 0.87321, 1, 1.027, 1.027, 1.027, 0.86847, 0.86847, 0.79121, 1, 1.124, 1, 1, 0.73572, 0.73572, 1, 1, 0.85034, 1, 1, 1, 1, 0.88465, 1, 1, 1, 0.669, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.04828, 1, 0.74948, 0.75187, 1.02058, 0.98391, 1.02119, 1, 1, 1.06233, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05233, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const MyriadProItalicMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; -const MyriadProRegularFactors = [1.36898, 1, 1, 0.76305, 0.82784, 0.94935, 0.89364, 0.92241, 0.89073, 0.90706, 0.98472, 0.85283, 0.85283, 1.0664, 1.02058, 0.74505, 0.9219, 0.74505, 1.23456, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.74505, 0.74505, 1.02058, 1.02058, 1.02058, 0.73002, 0.72601, 0.91755, 0.8126, 0.80314, 0.92222, 0.73764, 0.79726, 0.83051, 0.90284, 0.86023, 0.74, 0.8126, 0.84869, 0.96518, 0.91115, 0.8858, 0.79761, 0.8858, 0.74498, 0.73914, 0.81363, 0.89591, 0.83659, 0.89633, 0.85608, 0.8111, 0.90531, 1.0222, 1.22736, 1.0222, 1.27014, 0.89903, 0.90088, 0.86667, 1.0231, 0.896, 1.01411, 0.90083, 1.05099, 1.00512, 0.99793, 1.05326, 1.09377, 0.938, 1.06226, 1.00119, 0.99793, 0.98714, 1.0231, 1.01231, 0.98196, 0.792, 1.19137, 0.99074, 0.962, 1.01915, 0.926, 0.942, 0.856, 0.85034, 0.92006, 0.85034, 1.02058, 0.69067, 0.92241, 0.92241, 0.92241, 0.92241, 0.92006, 0.9332, 0.90088, 0.91882, 0.93484, 0.75339, 1.02058, 0.56866, 0.54324, 0.79519, 1.08595, 1, 1, 0.90088, 1, 0.95325, 0.74505, 0.90088, 1, 0.97198, 0.75339, 0.91009, 0.91009, 0.91009, 0.66466, 0.91755, 0.91755, 0.91755, 0.91755, 0.91755, 0.91755, 0.788, 0.80314, 0.73764, 0.73764, 0.73764, 0.73764, 0.86023, 0.86023, 0.86023, 0.86023, 0.92915, 0.91115, 0.8858, 0.8858, 0.8858, 0.8858, 0.8858, 1.02058, 0.8858, 0.89591, 0.89591, 0.89591, 0.89591, 0.8111, 0.79611, 0.89713, 0.86667, 0.86667, 0.86667, 0.86667, 0.86667, 0.86667, 0.86936, 0.896, 0.90083, 0.90083, 0.90083, 0.90083, 0.84224, 0.84224, 0.84224, 0.84224, 0.97276, 0.99793, 0.98714, 0.98714, 0.98714, 0.98714, 0.98714, 1.08595, 0.89876, 0.99074, 0.99074, 0.99074, 0.99074, 0.942, 1.0231, 0.942, 0.91755, 0.86667, 0.91755, 0.86667, 0.91755, 0.86667, 0.80314, 0.896, 0.80314, 0.896, 0.80314, 0.896, 0.80314, 0.896, 0.92222, 0.93372, 0.92915, 1.01411, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.83051, 1.00512, 0.83051, 1.00512, 0.83051, 1.00512, 1, 1, 0.90284, 0.99793, 0.90976, 0.99793, 0.86023, 0.84224, 0.86023, 0.84224, 0.86023, 0.84224, 0.86023, 1.05326, 0.86023, 0.84224, 0.82873, 1.07469, 0.74, 1.09377, 1, 1, 0.938, 0.84869, 1.06226, 1, 1, 0.84869, 0.83704, 0.84869, 0.81441, 0.85588, 1.08927, 0.91115, 0.99793, 1, 1, 0.91115, 0.99793, 0.91887, 0.90991, 0.99793, 0.8858, 0.98714, 0.8858, 0.98714, 0.8858, 0.98714, 0.894, 0.91434, 0.74498, 0.98196, 1, 1, 0.74498, 0.98196, 0.73914, 0.792, 0.73914, 0.792, 1, 1, 0.73914, 0.792, 1, 1, 0.81363, 0.904, 0.81363, 1.19137, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89633, 1.01915, 0.8111, 0.942, 0.8111, 0.90531, 0.856, 0.90531, 0.856, 0.90531, 0.856, 1, 0.92241, 0.91755, 0.86667, 0.788, 0.86936, 0.8858, 0.89876, 1, 1, 0.81363, 1.19137, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90388, 1.03901, 0.92138, 0.78105, 0.7154, 0.86169, 0.80513, 0.94007, 0.82528, 0.98612, 1.06226, 0.91755, 0.8126, 0.81884, 0.92819, 0.73764, 0.90531, 0.90284, 0.8858, 0.86023, 0.8126, 0.91172, 0.96518, 0.91115, 0.83089, 0.8858, 0.87791, 0.79761, 0.89297, 0.81363, 0.88157, 0.89992, 0.85608, 0.81992, 0.94307, 0.86023, 0.88157, 0.95308, 0.98699, 0.99793, 1.06226, 0.95817, 0.95308, 0.97358, 0.928, 0.98088, 0.98699, 0.92761, 0.99793, 0.96017, 1.06226, 0.986, 0.944, 0.95978, 0.938, 0.96705, 0.98714, 0.80442, 0.98972, 1, 0.89762, 1.04552, 0.95817, 0.99007, 0.87064, 0.91879, 0.88888, 1.06226, 0.95817, 0.98714, 0.95817, 0.88888, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89633, 1.01915, 0.89633, 1.01915, 0.89633, 1.01915, 0.8111, 0.942, 0.9219, 1, 0.89903, 1, 1, 1, 0.93173, 0.93173, 0.93173, 1, 1.06304, 1.06304, 1.06904, 0.89903, 0.89903, 0.80549, 1, 1.156, 1, 1, 0.76575, 0.76575, 1, 1, 0.72458, 1, 1, 1, 1, 0.92241, 1, 1, 1, 0.619, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.07257, 1, 0.74705, 0.71119, 1.02058, 1.024, 1.02119, 1, 1, 1.1536, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05638, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const MyriadProRegularMetrics = { - lineHeight: 1.2, - lineGap: 0.2 -}; - -;// CONCATENATED MODULE: ./src/core/segoeui_factors.js -const SegoeuiBoldFactors = [1.76738, 1, 1, 0.99297, 0.9824, 1.04016, 1.06497, 1.03424, 0.97529, 1.17647, 1.23203, 1.1085, 1.1085, 1.16939, 1.2107, 0.9754, 1.21408, 0.9754, 1.59578, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 0.81378, 0.81378, 1.2107, 1.2107, 1.2107, 0.71703, 0.97847, 0.97363, 0.88776, 0.8641, 1.02096, 0.79795, 0.85132, 0.914, 1.06085, 1.1406, 0.8007, 0.89858, 0.83693, 1.14889, 1.09398, 0.97489, 0.92094, 0.97489, 0.90399, 0.84041, 0.95923, 1.00135, 1, 1.06467, 0.98243, 0.90996, 0.99361, 1.1085, 1.56942, 1.1085, 1.2107, 0.74627, 0.94282, 0.96752, 1.01519, 0.86304, 1.01359, 0.97278, 1.15103, 1.01359, 0.98561, 1.02285, 1.02285, 1.00527, 1.02285, 1.0302, 0.99041, 1.0008, 1.01519, 1.01359, 1.02258, 0.79104, 1.16862, 0.99041, 0.97454, 1.02511, 0.99298, 0.96752, 0.95801, 0.94856, 1.16579, 0.94856, 1.2107, 0.9824, 1.03424, 1.03424, 1, 1.03424, 1.16579, 0.8727, 1.3871, 1.18622, 1.10818, 1.04478, 1.2107, 1.18622, 0.75155, 0.94994, 1.28826, 1.21408, 1.21408, 0.91056, 1, 0.91572, 0.9754, 0.64663, 1.18328, 1.24866, 1.04478, 1.14169, 1.15749, 1.17389, 0.71703, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.93506, 0.8641, 0.79795, 0.79795, 0.79795, 0.79795, 1.1406, 1.1406, 1.1406, 1.1406, 1.02096, 1.09398, 0.97426, 0.97426, 0.97426, 0.97426, 0.97426, 1.2107, 0.97489, 1.00135, 1.00135, 1.00135, 1.00135, 0.90996, 0.92094, 1.02798, 0.96752, 0.96752, 0.96752, 0.96752, 0.96752, 0.96752, 0.93136, 0.86304, 0.97278, 0.97278, 0.97278, 0.97278, 1.02285, 1.02285, 1.02285, 1.02285, 0.97122, 0.99041, 1, 1, 1, 1, 1, 1.28826, 1.0008, 0.99041, 0.99041, 0.99041, 0.99041, 0.96752, 1.01519, 0.96752, 0.97363, 0.96752, 0.97363, 0.96752, 0.97363, 0.96752, 0.8641, 0.86304, 0.8641, 0.86304, 0.8641, 0.86304, 0.8641, 0.86304, 1.02096, 1.03057, 1.02096, 1.03517, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.914, 1.01359, 0.914, 1.01359, 0.914, 1.01359, 1, 1, 1.06085, 0.98561, 1.06085, 1.00879, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 0.97138, 1.08692, 0.8007, 1.02285, 1, 1, 1.00527, 0.83693, 1.02285, 1, 1, 0.83693, 0.9455, 0.83693, 0.90418, 0.83693, 1.13005, 1.09398, 0.99041, 1, 1, 1.09398, 0.99041, 0.96692, 1.09251, 0.99041, 0.97489, 1.0008, 0.97489, 1.0008, 0.97489, 1.0008, 0.93994, 0.97931, 0.90399, 1.02258, 1, 1, 0.90399, 1.02258, 0.84041, 0.79104, 0.84041, 0.79104, 0.84041, 0.79104, 0.84041, 0.79104, 1, 1, 0.95923, 1.07034, 0.95923, 1.16862, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.06467, 1.02511, 0.90996, 0.96752, 0.90996, 0.99361, 0.95801, 0.99361, 0.95801, 0.99361, 0.95801, 1.07733, 1.03424, 0.97363, 0.96752, 0.93506, 0.93136, 0.97489, 1.0008, 1, 1, 0.95923, 1.16862, 1.15103, 1.15103, 1.01173, 1.03959, 0.75953, 0.81378, 0.79912, 1.15103, 1.21994, 0.95161, 0.87815, 1.01149, 0.81525, 0.7676, 0.98167, 1.01134, 1.02546, 0.84097, 1.03089, 1.18102, 0.97363, 0.88776, 0.85134, 0.97826, 0.79795, 0.99361, 1.06085, 0.97489, 1.1406, 0.89858, 1.0388, 1.14889, 1.09398, 0.86039, 0.97489, 1.0595, 0.92094, 0.94793, 0.95923, 0.90996, 0.99346, 0.98243, 1.02112, 0.95493, 1.1406, 0.90996, 1.03574, 1.02597, 1.0008, 1.18102, 1.06628, 1.03574, 1.0192, 1.01932, 1.00886, 0.97531, 1.0106, 1.0008, 1.13189, 1.18102, 1.02277, 0.98683, 1.0016, 0.99561, 1.07237, 1.0008, 0.90434, 0.99921, 0.93803, 0.8965, 1.23085, 1.06628, 1.04983, 0.96268, 1.0499, 0.98439, 1.18102, 1.06628, 1.0008, 1.06628, 0.98439, 0.79795, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.09466, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.97278, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.02065, 1, 1, 1, 1, 1, 1, 1.06467, 1.02511, 1.06467, 1.02511, 1.06467, 1.02511, 0.90996, 0.96752, 1, 1.21408, 0.89903, 1, 1, 0.75155, 1.04394, 1.04394, 1.04394, 1.04394, 0.98633, 0.98633, 0.98633, 0.73047, 0.73047, 1.20642, 0.91211, 1.25635, 1.222, 1.02956, 1.03372, 1.03372, 0.96039, 1.24633, 1, 1.12454, 0.93503, 1.03424, 1.19687, 1.03424, 1, 1, 1, 0.771, 1, 1, 1.15749, 1.15749, 1.15749, 1.10948, 0.86279, 0.94434, 0.86279, 0.94434, 0.86182, 1, 1, 1.16897, 1, 0.96085, 0.90137, 1.2107, 1.18416, 1.13973, 0.69825, 0.9716, 2.10339, 1.29004, 1.29004, 1.21172, 1.29004, 1.29004, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18874, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.09193, 1.09193, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const SegoeuiBoldMetrics = { - lineHeight: 1.33008, - lineGap: 0 -}; -const SegoeuiBoldItalicFactors = [1.76738, 1, 1, 0.98946, 1.03959, 1.04016, 1.02809, 1.036, 0.97639, 1.10953, 1.23203, 1.11144, 1.11144, 1.16939, 1.21237, 0.9754, 1.21261, 0.9754, 1.59754, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 0.81378, 0.81378, 1.21237, 1.21237, 1.21237, 0.73541, 0.97847, 0.97363, 0.89723, 0.87897, 1.0426, 0.79429, 0.85292, 0.91149, 1.05815, 1.1406, 0.79631, 0.90128, 0.83853, 1.04396, 1.10615, 0.97552, 0.94436, 0.97552, 0.88641, 0.80527, 0.96083, 1.00135, 1, 1.06777, 0.9817, 0.91142, 0.99361, 1.11144, 1.57293, 1.11144, 1.21237, 0.74627, 1.31818, 1.06585, 0.97042, 0.83055, 0.97042, 0.93503, 1.1261, 0.97042, 0.97922, 1.14236, 0.94552, 1.01054, 1.14236, 1.02471, 0.97922, 0.94165, 0.97042, 0.97042, 1.0276, 0.78929, 1.1261, 0.97922, 0.95874, 1.02197, 0.98507, 0.96752, 0.97168, 0.95107, 1.16579, 0.95107, 1.21237, 1.03959, 1.036, 1.036, 1, 1.036, 1.16579, 0.87357, 1.31818, 1.18754, 1.26781, 1.05356, 1.21237, 1.18622, 0.79487, 0.94994, 1.29004, 1.24047, 1.24047, 1.31818, 1, 0.91484, 0.9754, 1.31818, 1.1349, 1.24866, 1.05356, 1.13934, 1.15574, 1.17389, 0.73541, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.94385, 0.87897, 0.79429, 0.79429, 0.79429, 0.79429, 1.1406, 1.1406, 1.1406, 1.1406, 1.0426, 1.10615, 0.97552, 0.97552, 0.97552, 0.97552, 0.97552, 1.21237, 0.97552, 1.00135, 1.00135, 1.00135, 1.00135, 0.91142, 0.94436, 0.98721, 1.06585, 1.06585, 1.06585, 1.06585, 1.06585, 1.06585, 0.96705, 0.83055, 0.93503, 0.93503, 0.93503, 0.93503, 1.14236, 1.14236, 1.14236, 1.14236, 0.93125, 0.97922, 0.94165, 0.94165, 0.94165, 0.94165, 0.94165, 1.29004, 0.94165, 0.97922, 0.97922, 0.97922, 0.97922, 0.96752, 0.97042, 0.96752, 0.97363, 1.06585, 0.97363, 1.06585, 0.97363, 1.06585, 0.87897, 0.83055, 0.87897, 0.83055, 0.87897, 0.83055, 0.87897, 0.83055, 1.0426, 1.0033, 1.0426, 0.97042, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.91149, 0.97042, 0.91149, 0.97042, 0.91149, 0.97042, 1, 1, 1.05815, 0.97922, 1.05815, 0.97922, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 0.97441, 1.04302, 0.79631, 1.01582, 1, 1, 1.01054, 0.83853, 1.14236, 1, 1, 0.83853, 1.09125, 0.83853, 0.90418, 0.83853, 1.19508, 1.10615, 0.97922, 1, 1, 1.10615, 0.97922, 1.01034, 1.10466, 0.97922, 0.97552, 0.94165, 0.97552, 0.94165, 0.97552, 0.94165, 0.91602, 0.91981, 0.88641, 1.0276, 1, 1, 0.88641, 1.0276, 0.80527, 0.78929, 0.80527, 0.78929, 0.80527, 0.78929, 0.80527, 0.78929, 1, 1, 0.96083, 1.05403, 0.95923, 1.16862, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.06777, 1.02197, 0.91142, 0.96752, 0.91142, 0.99361, 0.97168, 0.99361, 0.97168, 0.99361, 0.97168, 1.23199, 1.036, 0.97363, 1.06585, 0.94385, 0.96705, 0.97552, 0.94165, 1, 1, 0.96083, 1.1261, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 0.95161, 1.27126, 1.00811, 0.83284, 0.77702, 0.99137, 0.95253, 1.0347, 0.86142, 1.07205, 1.14236, 0.97363, 0.89723, 0.86869, 1.09818, 0.79429, 0.99361, 1.05815, 0.97552, 1.1406, 0.90128, 1.06662, 1.04396, 1.10615, 0.84918, 0.97552, 1.04694, 0.94436, 0.98015, 0.96083, 0.91142, 1.00356, 0.9817, 1.01945, 0.98999, 1.1406, 0.91142, 1.04961, 0.9898, 1.00639, 1.14236, 1.07514, 1.04961, 0.99607, 1.02897, 1.008, 0.9898, 0.95134, 1.00639, 1.11121, 1.14236, 1.00518, 0.97981, 1.02186, 1, 1.08578, 0.94165, 0.99314, 0.98387, 0.93028, 0.93377, 1.35125, 1.07514, 1.10687, 0.93491, 1.04232, 1.00351, 1.14236, 1.07514, 0.94165, 1.07514, 1.00351, 0.79429, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.09097, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.93503, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.96609, 1, 1, 1, 1, 1, 1, 1.06777, 1.02197, 1.06777, 1.02197, 1.06777, 1.02197, 0.91142, 0.96752, 1, 1.21261, 0.89903, 1, 1, 0.75155, 1.04745, 1.04745, 1.04745, 1.04394, 0.98633, 0.98633, 0.98633, 0.72959, 0.72959, 1.20502, 0.91406, 1.26514, 1.222, 1.02956, 1.03372, 1.03372, 0.96039, 1.24633, 1, 1.09125, 0.93327, 1.03336, 1.16541, 1.036, 1, 1, 1, 0.771, 1, 1, 1.15574, 1.15574, 1.15574, 1.15574, 0.86364, 0.94434, 0.86279, 0.94434, 0.86224, 1, 1, 1.16798, 1, 0.96085, 0.90068, 1.21237, 1.18416, 1.13904, 0.69825, 0.9716, 2.10339, 1.29004, 1.29004, 1.21339, 1.29004, 1.29004, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18775, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.13269, 1.13269, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const SegoeuiBoldItalicMetrics = { - lineHeight: 1.33008, - lineGap: 0 -}; -const SegoeuiItalicFactors = [1.76738, 1, 1, 0.98946, 1.14763, 1.05365, 1.06234, 0.96927, 0.92586, 1.15373, 1.18414, 0.91349, 0.91349, 1.07403, 1.17308, 0.78383, 1.20088, 0.78383, 1.42531, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.78383, 0.78383, 1.17308, 1.17308, 1.17308, 0.77349, 0.94565, 0.94729, 0.85944, 0.88506, 0.9858, 0.74817, 0.80016, 0.88449, 0.98039, 0.95782, 0.69238, 0.89898, 0.83231, 0.98183, 1.03989, 0.96924, 0.86237, 0.96924, 0.80595, 0.74524, 0.86091, 0.95402, 0.94143, 0.98448, 0.8858, 0.83089, 0.93285, 1.0949, 1.39016, 1.0949, 1.45994, 0.74627, 1.04839, 0.97454, 0.97454, 0.87207, 0.97454, 0.87533, 1.06151, 0.97454, 1.00176, 1.16484, 1.08132, 0.98047, 1.16484, 1.02989, 1.01054, 0.96225, 0.97454, 0.97454, 1.06598, 0.79004, 1.16344, 1.00351, 0.94629, 0.9973, 0.91016, 0.96777, 0.9043, 0.91082, 0.92481, 0.91082, 1.17308, 0.95748, 0.96927, 0.96927, 1, 0.96927, 0.92481, 0.80597, 1.04839, 1.23393, 1.1781, 0.9245, 1.17308, 1.20808, 0.63218, 0.94261, 1.24822, 1.09971, 1.09971, 1.04839, 1, 0.85273, 0.78032, 1.04839, 1.09971, 1.22326, 0.9245, 1.09836, 1.13525, 1.15222, 0.70424, 0.94729, 0.94729, 0.94729, 0.94729, 0.94729, 0.94729, 0.85498, 0.88506, 0.74817, 0.74817, 0.74817, 0.74817, 0.95782, 0.95782, 0.95782, 0.95782, 0.9858, 1.03989, 0.96924, 0.96924, 0.96924, 0.96924, 0.96924, 1.17308, 0.96924, 0.95402, 0.95402, 0.95402, 0.95402, 0.83089, 0.86237, 0.88409, 0.97454, 0.97454, 0.97454, 0.97454, 0.97454, 0.97454, 0.92916, 0.87207, 0.87533, 0.87533, 0.87533, 0.87533, 0.93146, 0.93146, 0.93146, 0.93146, 0.93854, 1.01054, 0.96225, 0.96225, 0.96225, 0.96225, 0.96225, 1.24822, 0.8761, 1.00351, 1.00351, 1.00351, 1.00351, 0.96777, 0.97454, 0.96777, 0.94729, 0.97454, 0.94729, 0.97454, 0.94729, 0.97454, 0.88506, 0.87207, 0.88506, 0.87207, 0.88506, 0.87207, 0.88506, 0.87207, 0.9858, 0.95391, 0.9858, 0.97454, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.88449, 0.97454, 0.88449, 0.97454, 0.88449, 0.97454, 1, 1, 0.98039, 1.00176, 0.98039, 1.00176, 0.95782, 0.93146, 0.95782, 0.93146, 0.95782, 0.93146, 0.95782, 1.16484, 0.95782, 0.93146, 0.84421, 1.12761, 0.69238, 1.08132, 1, 1, 0.98047, 0.83231, 1.16484, 1, 1, 0.84723, 1.04861, 0.84723, 0.78755, 0.83231, 1.23736, 1.03989, 1.01054, 1, 1, 1.03989, 1.01054, 0.9857, 1.03849, 1.01054, 0.96924, 0.96225, 0.96924, 0.96225, 0.96924, 0.96225, 0.92383, 0.90171, 0.80595, 1.06598, 1, 1, 0.80595, 1.06598, 0.74524, 0.79004, 0.74524, 0.79004, 0.74524, 0.79004, 0.74524, 0.79004, 1, 1, 0.86091, 1.02759, 0.85771, 1.16344, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.98448, 0.9973, 0.83089, 0.96777, 0.83089, 0.93285, 0.9043, 0.93285, 0.9043, 0.93285, 0.9043, 1.31868, 0.96927, 0.94729, 0.97454, 0.85498, 0.92916, 0.96924, 0.8761, 1, 1, 0.86091, 1.16344, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 0.81965, 0.81965, 0.94729, 0.78032, 0.71022, 0.90883, 0.84171, 0.99877, 0.77596, 1.05734, 1.2, 0.94729, 0.85944, 0.82791, 0.9607, 0.74817, 0.93285, 0.98039, 0.96924, 0.95782, 0.89898, 0.98316, 0.98183, 1.03989, 0.78614, 0.96924, 0.97642, 0.86237, 0.86075, 0.86091, 0.83089, 0.90082, 0.8858, 0.97296, 1.01284, 0.95782, 0.83089, 1.0976, 1.04, 1.03342, 1.2, 1.0675, 1.0976, 0.98205, 1.03809, 1.05097, 1.04, 0.95364, 1.03342, 1.05401, 1.2, 1.02148, 1.0119, 1.04724, 1.0127, 1.02732, 0.96225, 0.8965, 0.97783, 0.93574, 0.94818, 1.30679, 1.0675, 1.11826, 0.99821, 1.0557, 1.0326, 1.2, 1.0675, 0.96225, 1.0675, 1.0326, 0.74817, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.03754, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.87533, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.98705, 1, 1, 1, 1, 1, 1, 0.98448, 0.9973, 0.98448, 0.9973, 0.98448, 0.9973, 0.83089, 0.96777, 1, 1.20088, 0.89903, 1, 1, 0.75155, 0.94945, 0.94945, 0.94945, 0.94945, 1.12317, 1.12317, 1.12317, 0.67603, 0.67603, 1.15621, 0.73584, 1.21191, 1.22135, 1.06483, 0.94868, 0.94868, 0.95996, 1.24633, 1, 1.07497, 0.87709, 0.96927, 1.01473, 0.96927, 1, 1, 1, 0.77295, 1, 1, 1.09836, 1.09836, 1.09836, 1.01522, 0.86321, 0.94434, 0.8649, 0.94434, 0.86182, 1, 1, 1.083, 1, 0.91578, 0.86438, 1.17308, 1.18416, 1.14589, 0.69825, 0.97622, 1.96791, 1.24822, 1.24822, 1.17308, 1.24822, 1.24822, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.17984, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.10742, 1.10742, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const SegoeuiItalicMetrics = { - lineHeight: 1.33008, - lineGap: 0 -}; -const SegoeuiRegularFactors = [1.76738, 1, 1, 0.98594, 1.02285, 1.10454, 1.06234, 0.96927, 0.92037, 1.19985, 1.2046, 0.90616, 0.90616, 1.07152, 1.1714, 0.78032, 1.20088, 0.78032, 1.40246, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.78032, 0.78032, 1.1714, 1.1714, 1.1714, 0.80597, 0.94084, 0.96706, 0.85944, 0.85734, 0.97093, 0.75842, 0.79936, 0.88198, 0.9831, 0.95782, 0.71387, 0.86969, 0.84636, 1.07796, 1.03584, 0.96924, 0.83968, 0.96924, 0.82826, 0.79649, 0.85771, 0.95132, 0.93119, 0.98965, 0.88433, 0.8287, 0.93365, 1.08612, 1.3638, 1.08612, 1.45786, 0.74627, 0.80499, 0.91484, 1.05707, 0.92383, 1.05882, 0.9403, 1.12654, 1.05882, 1.01756, 1.09011, 1.09011, 0.99414, 1.09011, 1.034, 1.01756, 1.05356, 1.05707, 1.05882, 1.04399, 0.84863, 1.21968, 1.01756, 0.95801, 1.00068, 0.91797, 0.96777, 0.9043, 0.90351, 0.92105, 0.90351, 1.1714, 0.85337, 0.96927, 0.96927, 0.99912, 0.96927, 0.92105, 0.80597, 1.2434, 1.20808, 1.05937, 0.90957, 1.1714, 1.20808, 0.75155, 0.94261, 1.24644, 1.09971, 1.09971, 0.84751, 1, 0.85273, 0.78032, 0.61584, 1.05425, 1.17914, 0.90957, 1.08665, 1.11593, 1.14169, 0.73381, 0.96706, 0.96706, 0.96706, 0.96706, 0.96706, 0.96706, 0.86035, 0.85734, 0.75842, 0.75842, 0.75842, 0.75842, 0.95782, 0.95782, 0.95782, 0.95782, 0.97093, 1.03584, 0.96924, 0.96924, 0.96924, 0.96924, 0.96924, 1.1714, 0.96924, 0.95132, 0.95132, 0.95132, 0.95132, 0.8287, 0.83968, 0.89049, 0.91484, 0.91484, 0.91484, 0.91484, 0.91484, 0.91484, 0.93575, 0.92383, 0.9403, 0.9403, 0.9403, 0.9403, 0.8717, 0.8717, 0.8717, 0.8717, 1.00527, 1.01756, 1.05356, 1.05356, 1.05356, 1.05356, 1.05356, 1.24644, 0.95923, 1.01756, 1.01756, 1.01756, 1.01756, 0.96777, 1.05707, 0.96777, 0.96706, 0.91484, 0.96706, 0.91484, 0.96706, 0.91484, 0.85734, 0.92383, 0.85734, 0.92383, 0.85734, 0.92383, 0.85734, 0.92383, 0.97093, 1.0969, 0.97093, 1.05882, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.88198, 1.05882, 0.88198, 1.05882, 0.88198, 1.05882, 1, 1, 0.9831, 1.01756, 0.9831, 1.01756, 0.95782, 0.8717, 0.95782, 0.8717, 0.95782, 0.8717, 0.95782, 1.09011, 0.95782, 0.8717, 0.84784, 1.11551, 0.71387, 1.09011, 1, 1, 0.99414, 0.84636, 1.09011, 1, 1, 0.84636, 1.0536, 0.84636, 0.94298, 0.84636, 1.23297, 1.03584, 1.01756, 1, 1, 1.03584, 1.01756, 1.00323, 1.03444, 1.01756, 0.96924, 1.05356, 0.96924, 1.05356, 0.96924, 1.05356, 0.93066, 0.98293, 0.82826, 1.04399, 1, 1, 0.82826, 1.04399, 0.79649, 0.84863, 0.79649, 0.84863, 0.79649, 0.84863, 0.79649, 0.84863, 1, 1, 0.85771, 1.17318, 0.85771, 1.21968, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.98965, 1.00068, 0.8287, 0.96777, 0.8287, 0.93365, 0.9043, 0.93365, 0.9043, 0.93365, 0.9043, 1.08571, 0.96927, 0.96706, 0.91484, 0.86035, 0.93575, 0.96924, 0.95923, 1, 1, 0.85771, 1.21968, 1.11437, 1.11437, 0.93109, 0.91202, 0.60411, 0.84164, 0.55572, 1.01173, 0.97361, 0.81818, 0.81818, 0.96635, 0.78032, 0.72727, 0.92366, 0.98601, 1.03405, 0.77968, 1.09799, 1.2, 0.96706, 0.85944, 0.85638, 0.96491, 0.75842, 0.93365, 0.9831, 0.96924, 0.95782, 0.86969, 0.94152, 1.07796, 1.03584, 0.78437, 0.96924, 0.98715, 0.83968, 0.83491, 0.85771, 0.8287, 0.94492, 0.88433, 0.9287, 1.0098, 0.95782, 0.8287, 1.0625, 0.98248, 1.03424, 1.2, 1.01071, 1.0625, 0.95246, 1.03809, 1.04912, 0.98248, 1.00221, 1.03424, 1.05443, 1.2, 1.04785, 0.99609, 1.00169, 1.05176, 0.99346, 1.05356, 0.9087, 1.03004, 0.95542, 0.93117, 1.23362, 1.01071, 1.07831, 1.02512, 1.05205, 1.03502, 1.2, 1.01071, 1.05356, 1.01071, 1.03502, 0.75842, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.03719, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9403, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.04021, 1, 1, 1, 1, 1, 1, 0.98965, 1.00068, 0.98965, 1.00068, 0.98965, 1.00068, 0.8287, 0.96777, 1, 1.20088, 0.89903, 1, 1, 0.75155, 1.03077, 1.03077, 1.03077, 1.03077, 1.13196, 1.13196, 1.13196, 0.67428, 0.67428, 1.16039, 0.73291, 1.20996, 1.22135, 1.06483, 0.94868, 0.94868, 0.95996, 1.24633, 1, 1.07497, 0.87796, 0.96927, 1.01518, 0.96927, 1, 1, 1, 0.77295, 1, 1, 1.10539, 1.10539, 1.11358, 1.06967, 0.86279, 0.94434, 0.86279, 0.94434, 0.86182, 1, 1, 1.083, 1, 0.91578, 0.86507, 1.1714, 1.18416, 1.14589, 0.69825, 0.97622, 1.9697, 1.24822, 1.24822, 1.17238, 1.24822, 1.24822, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18083, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.10938, 1.10938, 1, 1, 1, 1.05425, 1.09971, 1.09971, 1.09971, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; -const SegoeuiRegularMetrics = { - lineHeight: 1.33008, - lineGap: 0 -}; - -;// CONCATENATED MODULE: ./src/core/xfa_fonts.js +/***/ }), +/* 51 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - -const getXFAFontMap = getLookupTableFactory(function (t) { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getXfaFontDict = getXfaFontDict; +exports.getXfaFontName = getXfaFontName; +var _calibri_factors = __w_pdfjs_require__(52); +var _primitives = __w_pdfjs_require__(4); +var _helvetica_factors = __w_pdfjs_require__(53); +var _liberationsans_widths = __w_pdfjs_require__(54); +var _myriadpro_factors = __w_pdfjs_require__(55); +var _segoeui_factors = __w_pdfjs_require__(56); +var _core_utils = __w_pdfjs_require__(3); +var _fonts_utils = __w_pdfjs_require__(38); +const getXFAFontMap = (0, _core_utils.getLookupTableFactory)(function (t) { t["MyriadPro-Regular"] = t["PdfJS-Fallback-Regular"] = { name: "LiberationSans-Regular", - factors: MyriadProRegularFactors, - baseWidths: LiberationSansRegularWidths, - baseMapping: LiberationSansRegularMapping, - metrics: MyriadProRegularMetrics + factors: _myriadpro_factors.MyriadProRegularFactors, + baseWidths: _liberationsans_widths.LiberationSansRegularWidths, + baseMapping: _liberationsans_widths.LiberationSansRegularMapping, + metrics: _myriadpro_factors.MyriadProRegularMetrics }; t["MyriadPro-Bold"] = t["PdfJS-Fallback-Bold"] = { name: "LiberationSans-Bold", - factors: MyriadProBoldFactors, - baseWidths: LiberationSansBoldWidths, - baseMapping: LiberationSansBoldMapping, - metrics: MyriadProBoldMetrics + factors: _myriadpro_factors.MyriadProBoldFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldMapping, + metrics: _myriadpro_factors.MyriadProBoldMetrics }; t["MyriadPro-It"] = t["MyriadPro-Italic"] = t["PdfJS-Fallback-Italic"] = { name: "LiberationSans-Italic", - factors: MyriadProItalicFactors, - baseWidths: LiberationSansItalicWidths, - baseMapping: LiberationSansItalicMapping, - metrics: MyriadProItalicMetrics + factors: _myriadpro_factors.MyriadProItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansItalicMapping, + metrics: _myriadpro_factors.MyriadProItalicMetrics }; t["MyriadPro-BoldIt"] = t["MyriadPro-BoldItalic"] = t["PdfJS-Fallback-BoldItalic"] = { name: "LiberationSans-BoldItalic", - factors: MyriadProBoldItalicFactors, - baseWidths: LiberationSansBoldItalicWidths, - baseMapping: LiberationSansBoldItalicMapping, - metrics: MyriadProBoldItalicMetrics + factors: _myriadpro_factors.MyriadProBoldItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldItalicMapping, + metrics: _myriadpro_factors.MyriadProBoldItalicMetrics }; t.ArialMT = t.Arial = t["Arial-Regular"] = { name: "LiberationSans-Regular", - baseWidths: LiberationSansRegularWidths, - baseMapping: LiberationSansRegularMapping + baseWidths: _liberationsans_widths.LiberationSansRegularWidths, + baseMapping: _liberationsans_widths.LiberationSansRegularMapping }; t["Arial-BoldMT"] = t["Arial-Bold"] = { name: "LiberationSans-Bold", - baseWidths: LiberationSansBoldWidths, - baseMapping: LiberationSansBoldMapping + baseWidths: _liberationsans_widths.LiberationSansBoldWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldMapping }; t["Arial-ItalicMT"] = t["Arial-Italic"] = { name: "LiberationSans-Italic", - baseWidths: LiberationSansItalicWidths, - baseMapping: LiberationSansItalicMapping + baseWidths: _liberationsans_widths.LiberationSansItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansItalicMapping }; t["Arial-BoldItalicMT"] = t["Arial-BoldItalic"] = { name: "LiberationSans-BoldItalic", - baseWidths: LiberationSansBoldItalicWidths, - baseMapping: LiberationSansBoldItalicMapping + baseWidths: _liberationsans_widths.LiberationSansBoldItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldItalicMapping }; t["Calibri-Regular"] = { name: "LiberationSans-Regular", - factors: CalibriRegularFactors, - baseWidths: LiberationSansRegularWidths, - baseMapping: LiberationSansRegularMapping, - metrics: CalibriRegularMetrics + factors: _calibri_factors.CalibriRegularFactors, + baseWidths: _liberationsans_widths.LiberationSansRegularWidths, + baseMapping: _liberationsans_widths.LiberationSansRegularMapping, + metrics: _calibri_factors.CalibriRegularMetrics }; t["Calibri-Bold"] = { name: "LiberationSans-Bold", - factors: CalibriBoldFactors, - baseWidths: LiberationSansBoldWidths, - baseMapping: LiberationSansBoldMapping, - metrics: CalibriBoldMetrics + factors: _calibri_factors.CalibriBoldFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldMapping, + metrics: _calibri_factors.CalibriBoldMetrics }; t["Calibri-Italic"] = { name: "LiberationSans-Italic", - factors: CalibriItalicFactors, - baseWidths: LiberationSansItalicWidths, - baseMapping: LiberationSansItalicMapping, - metrics: CalibriItalicMetrics + factors: _calibri_factors.CalibriItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansItalicMapping, + metrics: _calibri_factors.CalibriItalicMetrics }; t["Calibri-BoldItalic"] = { name: "LiberationSans-BoldItalic", - factors: CalibriBoldItalicFactors, - baseWidths: LiberationSansBoldItalicWidths, - baseMapping: LiberationSansBoldItalicMapping, - metrics: CalibriBoldItalicMetrics + factors: _calibri_factors.CalibriBoldItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldItalicMapping, + metrics: _calibri_factors.CalibriBoldItalicMetrics }; t["Segoeui-Regular"] = { name: "LiberationSans-Regular", - factors: SegoeuiRegularFactors, - baseWidths: LiberationSansRegularWidths, - baseMapping: LiberationSansRegularMapping, - metrics: SegoeuiRegularMetrics + factors: _segoeui_factors.SegoeuiRegularFactors, + baseWidths: _liberationsans_widths.LiberationSansRegularWidths, + baseMapping: _liberationsans_widths.LiberationSansRegularMapping, + metrics: _segoeui_factors.SegoeuiRegularMetrics }; t["Segoeui-Bold"] = { name: "LiberationSans-Bold", - factors: SegoeuiBoldFactors, - baseWidths: LiberationSansBoldWidths, - baseMapping: LiberationSansBoldMapping, - metrics: SegoeuiBoldMetrics + factors: _segoeui_factors.SegoeuiBoldFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldMapping, + metrics: _segoeui_factors.SegoeuiBoldMetrics }; t["Segoeui-Italic"] = { name: "LiberationSans-Italic", - factors: SegoeuiItalicFactors, - baseWidths: LiberationSansItalicWidths, - baseMapping: LiberationSansItalicMapping, - metrics: SegoeuiItalicMetrics + factors: _segoeui_factors.SegoeuiItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansItalicMapping, + metrics: _segoeui_factors.SegoeuiItalicMetrics }; t["Segoeui-BoldItalic"] = { name: "LiberationSans-BoldItalic", - factors: SegoeuiBoldItalicFactors, - baseWidths: LiberationSansBoldItalicWidths, - baseMapping: LiberationSansBoldItalicMapping, - metrics: SegoeuiBoldItalicMetrics + factors: _segoeui_factors.SegoeuiBoldItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldItalicMapping, + metrics: _segoeui_factors.SegoeuiBoldItalicMetrics }; t["Helvetica-Regular"] = t.Helvetica = { name: "LiberationSans-Regular", - factors: HelveticaRegularFactors, - baseWidths: LiberationSansRegularWidths, - baseMapping: LiberationSansRegularMapping, - metrics: HelveticaRegularMetrics + factors: _helvetica_factors.HelveticaRegularFactors, + baseWidths: _liberationsans_widths.LiberationSansRegularWidths, + baseMapping: _liberationsans_widths.LiberationSansRegularMapping, + metrics: _helvetica_factors.HelveticaRegularMetrics }; t["Helvetica-Bold"] = { name: "LiberationSans-Bold", - factors: HelveticaBoldFactors, - baseWidths: LiberationSansBoldWidths, - baseMapping: LiberationSansBoldMapping, - metrics: HelveticaBoldMetrics + factors: _helvetica_factors.HelveticaBoldFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldMapping, + metrics: _helvetica_factors.HelveticaBoldMetrics }; t["Helvetica-Italic"] = { name: "LiberationSans-Italic", - factors: HelveticaItalicFactors, - baseWidths: LiberationSansItalicWidths, - baseMapping: LiberationSansItalicMapping, - metrics: HelveticaItalicMetrics + factors: _helvetica_factors.HelveticaItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansItalicMapping, + metrics: _helvetica_factors.HelveticaItalicMetrics }; t["Helvetica-BoldItalic"] = { name: "LiberationSans-BoldItalic", - factors: HelveticaBoldItalicFactors, - baseWidths: LiberationSansBoldItalicWidths, - baseMapping: LiberationSansBoldItalicMapping, - metrics: HelveticaBoldItalicMetrics + factors: _helvetica_factors.HelveticaBoldItalicFactors, + baseWidths: _liberationsans_widths.LiberationSansBoldItalicWidths, + baseMapping: _liberationsans_widths.LiberationSansBoldItalicMapping, + metrics: _helvetica_factors.HelveticaBoldItalicMetrics }; }); function getXfaFontName(name) { - const fontName = normalizeFontName(name); + const fontName = (0, _fonts_utils.normalizeFontName)(name); const fontMap = getXFAFontMap(); return fontMap[fontName]; } @@ -30716,7 +37958,12 @@ function getXfaFontWidths(name) { baseMapping, factors } = info; - const rescaledBaseWidths = !factors ? baseWidths : baseWidths.map((w, i) => w * factors[i]); + let rescaledBaseWidths; + if (!factors) { + rescaledBaseWidths = baseWidths; + } else { + rescaledBaseWidths = baseWidths.map((w, i) => w * factors[i]); + } let currentCode = -2; let currentArray; const newWidths = []; @@ -30737,18 +37984,18 @@ function getXfaFontWidths(name) { } function getXfaFontDict(name) { const widths = getXfaFontWidths(name); - const dict = new Dict(null); - dict.set("BaseFont", Name.get(name)); - dict.set("Type", Name.get("Font")); - dict.set("Subtype", Name.get("CIDFontType2")); - dict.set("Encoding", Name.get("Identity-H")); - dict.set("CIDToGIDMap", Name.get("Identity")); + const dict = new _primitives.Dict(null); + dict.set("BaseFont", _primitives.Name.get(name)); + dict.set("Type", _primitives.Name.get("Font")); + dict.set("Subtype", _primitives.Name.get("CIDFontType2")); + dict.set("Encoding", _primitives.Name.get("Identity-H")); + dict.set("CIDToGIDMap", _primitives.Name.get("Identity")); dict.set("W", widths); dict.set("FirstChar", widths[0]); dict.set("LastChar", widths.at(-2) + widths.at(-1).length - 1); - const descriptor = new Dict(null); + const descriptor = new _primitives.Dict(null); dict.set("FontDescriptor", descriptor); - const systemInfo = new Dict(null); + const systemInfo = new _primitives.Dict(null); systemInfo.set("Ordering", "Identity"); systemInfo.set("Registry", "Adobe"); systemInfo.set("Supplement", 0); @@ -30756,442 +38003,205 @@ function getXfaFontDict(name) { return dict; } -;// CONCATENATED MODULE: ./src/core/ps_parser.js +/***/ }), +/* 52 */ +/***/ ((__unused_webpack_module, exports) => { - -class PostScriptParser { - constructor(lexer) { - this.lexer = lexer; - this.operators = []; - this.token = null; - this.prev = null; - } - nextToken() { - this.prev = this.token; - this.token = this.lexer.getToken(); - } - accept(type) { - if (this.token.type === type) { - this.nextToken(); - return true; - } - return false; - } - expect(type) { - if (this.accept(type)) { - return true; - } - throw new FormatError(`Unexpected symbol: found ${this.token.type} expected ${type}.`); - } - parse() { - this.nextToken(); - this.expect(PostScriptTokenTypes.LBRACE); - this.parseBlock(); - this.expect(PostScriptTokenTypes.RBRACE); - return this.operators; - } - parseBlock() { - while (true) { - if (this.accept(PostScriptTokenTypes.NUMBER)) { - this.operators.push(this.prev.value); - } else if (this.accept(PostScriptTokenTypes.OPERATOR)) { - this.operators.push(this.prev.value); - } else if (this.accept(PostScriptTokenTypes.LBRACE)) { - this.parseCondition(); - } else { - return; - } - } - } - parseCondition() { - const conditionLocation = this.operators.length; - this.operators.push(null, null); - this.parseBlock(); - this.expect(PostScriptTokenTypes.RBRACE); - if (this.accept(PostScriptTokenTypes.IF)) { - this.operators[conditionLocation] = this.operators.length; - this.operators[conditionLocation + 1] = "jz"; - } else if (this.accept(PostScriptTokenTypes.LBRACE)) { - const jumpLocation = this.operators.length; - this.operators.push(null, null); - const endOfTrue = this.operators.length; - this.parseBlock(); - this.expect(PostScriptTokenTypes.RBRACE); - this.expect(PostScriptTokenTypes.IFELSE); - this.operators[jumpLocation] = this.operators.length; - this.operators[jumpLocation + 1] = "j"; - this.operators[conditionLocation] = endOfTrue; - this.operators[conditionLocation + 1] = "jz"; - } else { - throw new FormatError("PS Function: error parsing conditional."); - } - } -} -const PostScriptTokenTypes = { - LBRACE: 0, - RBRACE: 1, - NUMBER: 2, - OPERATOR: 3, - IF: 4, - IFELSE: 5 +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CalibriRegularMetrics = exports.CalibriRegularFactors = exports.CalibriItalicMetrics = exports.CalibriItalicFactors = exports.CalibriBoldMetrics = exports.CalibriBoldItalicMetrics = exports.CalibriBoldItalicFactors = exports.CalibriBoldFactors = void 0; +const CalibriBoldFactors = [1.3877, 1, 1, 1, 0.97801, 0.92482, 0.89552, 0.91133, 0.81988, 0.97566, 0.98152, 0.93548, 0.93548, 1.2798, 0.85284, 0.92794, 1, 0.96134, 1.54657, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.82845, 0.82845, 0.85284, 0.85284, 0.85284, 0.75859, 0.92138, 0.83908, 0.7762, 0.73293, 0.87289, 0.73133, 0.7514, 0.81921, 0.87356, 0.95958, 0.59526, 0.75727, 0.69225, 1.04924, 0.9121, 0.86943, 0.79795, 0.88198, 0.77958, 0.70864, 0.81055, 0.90399, 0.88653, 0.96017, 0.82577, 0.77892, 0.78257, 0.97507, 1.54657, 0.97507, 0.85284, 0.89552, 0.90176, 0.88762, 0.8785, 0.75241, 0.8785, 0.90518, 0.95015, 0.77618, 0.8785, 0.88401, 0.91916, 0.86304, 0.88401, 0.91488, 0.8785, 0.8801, 0.8785, 0.8785, 0.91343, 0.7173, 1.04106, 0.8785, 0.85075, 0.95794, 0.82616, 0.85162, 0.79492, 0.88331, 1.69808, 0.88331, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.7801, 0.89552, 1.24487, 1.13254, 1.12401, 0.96839, 0.85284, 0.68787, 0.70645, 0.85592, 0.90747, 1.01466, 1.0088, 0.90323, 1, 1.07463, 1, 0.91056, 0.75806, 1.19118, 0.96839, 0.78864, 0.82845, 0.84133, 0.75859, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.77539, 0.73293, 0.73133, 0.73133, 0.73133, 0.73133, 0.95958, 0.95958, 0.95958, 0.95958, 0.88506, 0.9121, 0.86943, 0.86943, 0.86943, 0.86943, 0.86943, 0.85284, 0.87508, 0.90399, 0.90399, 0.90399, 0.90399, 0.77892, 0.79795, 0.90807, 0.88762, 0.88762, 0.88762, 0.88762, 0.88762, 0.88762, 0.8715, 0.75241, 0.90518, 0.90518, 0.90518, 0.90518, 0.88401, 0.88401, 0.88401, 0.88401, 0.8785, 0.8785, 0.8801, 0.8801, 0.8801, 0.8801, 0.8801, 0.90747, 0.89049, 0.8785, 0.8785, 0.8785, 0.8785, 0.85162, 0.8785, 0.85162, 0.83908, 0.88762, 0.83908, 0.88762, 0.83908, 0.88762, 0.73293, 0.75241, 0.73293, 0.75241, 0.73293, 0.75241, 0.73293, 0.75241, 0.87289, 0.83016, 0.88506, 0.93125, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.73133, 0.90518, 0.81921, 0.77618, 0.81921, 0.77618, 0.81921, 0.77618, 1, 1, 0.87356, 0.8785, 0.91075, 0.89608, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.76229, 0.90167, 0.59526, 0.91916, 1, 1, 0.86304, 0.69225, 0.88401, 1, 1, 0.70424, 0.79468, 0.91926, 0.88175, 0.70823, 0.94903, 0.9121, 0.8785, 1, 1, 0.9121, 0.8785, 0.87802, 0.88656, 0.8785, 0.86943, 0.8801, 0.86943, 0.8801, 0.86943, 0.8801, 0.87402, 0.89291, 0.77958, 0.91343, 1, 1, 0.77958, 0.91343, 0.70864, 0.7173, 0.70864, 0.7173, 0.70864, 0.7173, 0.70864, 0.7173, 1, 1, 0.81055, 0.75841, 0.81055, 1.06452, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.90399, 0.8785, 0.96017, 0.95794, 0.77892, 0.85162, 0.77892, 0.78257, 0.79492, 0.78257, 0.79492, 0.78257, 0.79492, 0.9297, 0.56892, 0.83908, 0.88762, 0.77539, 0.8715, 0.87508, 0.89049, 1, 1, 0.81055, 1.04106, 1.20528, 1.20528, 1, 1.15543, 0.70674, 0.98387, 0.94721, 1.33431, 1.45894, 0.95161, 1.06303, 0.83908, 0.80352, 0.57184, 0.6965, 0.56289, 0.82001, 0.56029, 0.81235, 1.02988, 0.83908, 0.7762, 0.68156, 0.80367, 0.73133, 0.78257, 0.87356, 0.86943, 0.95958, 0.75727, 0.89019, 1.04924, 0.9121, 0.7648, 0.86943, 0.87356, 0.79795, 0.78275, 0.81055, 0.77892, 0.9762, 0.82577, 0.99819, 0.84896, 0.95958, 0.77892, 0.96108, 1.01407, 0.89049, 1.02988, 0.94211, 0.96108, 0.8936, 0.84021, 0.87842, 0.96399, 0.79109, 0.89049, 1.00813, 1.02988, 0.86077, 0.87445, 0.92099, 0.84723, 0.86513, 0.8801, 0.75638, 0.85714, 0.78216, 0.79586, 0.87965, 0.94211, 0.97747, 0.78287, 0.97926, 0.84971, 1.02988, 0.94211, 0.8801, 0.94211, 0.84971, 0.73133, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90264, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90518, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90548, 1, 1, 1, 1, 1, 1, 0.96017, 0.95794, 0.96017, 0.95794, 0.96017, 0.95794, 0.77892, 0.85162, 1, 1, 0.89552, 0.90527, 1, 0.90363, 0.92794, 0.92794, 0.92794, 0.92794, 0.87012, 0.87012, 0.87012, 0.89552, 0.89552, 1.42259, 0.71143, 1.06152, 1, 1, 1.03372, 1.03372, 0.97171, 1.4956, 2.2807, 0.93835, 0.83406, 0.91133, 0.84107, 0.91133, 1, 1, 1, 0.72021, 1, 1.23108, 0.83489, 0.88525, 0.88525, 0.81499, 0.90527, 1.81055, 0.90527, 1.81055, 1.31006, 1.53711, 0.94434, 1.08696, 1, 0.95018, 0.77192, 0.85284, 0.90747, 1.17534, 0.69825, 0.9716, 1.37077, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.08004, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90727, 0.90727, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.CalibriBoldFactors = CalibriBoldFactors; +const CalibriBoldMetrics = { + lineHeight: 1.2207, + lineGap: 0.2207 }; -class PostScriptToken { - static get opCache() { - return shadow(this, "opCache", Object.create(null)); - } - constructor(type, value) { - this.type = type; - this.value = value; - } - static getOperator(op) { - return PostScriptToken.opCache[op] ||= new PostScriptToken(PostScriptTokenTypes.OPERATOR, op); - } - static get LBRACE() { - return shadow(this, "LBRACE", new PostScriptToken(PostScriptTokenTypes.LBRACE, "{")); - } - static get RBRACE() { - return shadow(this, "RBRACE", new PostScriptToken(PostScriptTokenTypes.RBRACE, "}")); - } - static get IF() { - return shadow(this, "IF", new PostScriptToken(PostScriptTokenTypes.IF, "IF")); - } - static get IFELSE() { - return shadow(this, "IFELSE", new PostScriptToken(PostScriptTokenTypes.IFELSE, "IFELSE")); - } -} -class PostScriptLexer { - constructor(stream) { - this.stream = stream; - this.nextChar(); - this.strBuf = []; - } - nextChar() { - return this.currentChar = this.stream.getByte(); - } - getToken() { - let comment = false; - let ch = this.currentChar; - while (true) { - if (ch < 0) { - return EOF; - } - if (comment) { - if (ch === 0x0a || ch === 0x0d) { - comment = false; - } - } else if (ch === 0x25) { - comment = true; - } else if (!isWhiteSpace(ch)) { - break; - } - ch = this.nextChar(); - } - switch (ch | 0) { - case 0x30: - case 0x31: - case 0x32: - case 0x33: - case 0x34: - case 0x35: - case 0x36: - case 0x37: - case 0x38: - case 0x39: - case 0x2b: - case 0x2d: - case 0x2e: - return new PostScriptToken(PostScriptTokenTypes.NUMBER, this.getNumber()); - case 0x7b: - this.nextChar(); - return PostScriptToken.LBRACE; - case 0x7d: - this.nextChar(); - return PostScriptToken.RBRACE; - } - const strBuf = this.strBuf; - strBuf.length = 0; - strBuf[0] = String.fromCharCode(ch); - while ((ch = this.nextChar()) >= 0 && (ch >= 0x41 && ch <= 0x5a || ch >= 0x61 && ch <= 0x7a)) { - strBuf.push(String.fromCharCode(ch)); - } - const str = strBuf.join(""); - switch (str.toLowerCase()) { - case "if": - return PostScriptToken.IF; - case "ifelse": - return PostScriptToken.IFELSE; - default: - return PostScriptToken.getOperator(str); - } - } - getNumber() { - let ch = this.currentChar; - const strBuf = this.strBuf; - strBuf.length = 0; - strBuf[0] = String.fromCharCode(ch); - while ((ch = this.nextChar()) >= 0) { - if (ch >= 0x30 && ch <= 0x39 || ch === 0x2d || ch === 0x2e) { - strBuf.push(String.fromCharCode(ch)); - } else { - break; - } - } - const value = parseFloat(strBuf.join("")); - if (isNaN(value)) { - throw new FormatError(`Invalid floating point number: ${value}`); - } - return value; - } -} +exports.CalibriBoldMetrics = CalibriBoldMetrics; +const CalibriBoldItalicFactors = [1.3877, 1, 1, 1, 0.97801, 0.92482, 0.89552, 0.91133, 0.81988, 0.97566, 0.98152, 0.93548, 0.93548, 1.2798, 0.85284, 0.92794, 1, 0.96134, 1.56239, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.82845, 0.82845, 0.85284, 0.85284, 0.85284, 0.75859, 0.92138, 0.83908, 0.7762, 0.71805, 0.87289, 0.73133, 0.7514, 0.81921, 0.87356, 0.95958, 0.59526, 0.75727, 0.69225, 1.04924, 0.90872, 0.85938, 0.79795, 0.87068, 0.77958, 0.69766, 0.81055, 0.90399, 0.88653, 0.96068, 0.82577, 0.77892, 0.78257, 0.97507, 1.529, 0.97507, 0.85284, 0.89552, 0.90176, 0.94908, 0.86411, 0.74012, 0.86411, 0.88323, 0.95015, 0.86411, 0.86331, 0.88401, 0.91916, 0.86304, 0.88401, 0.9039, 0.86331, 0.86331, 0.86411, 0.86411, 0.90464, 0.70852, 1.04106, 0.86331, 0.84372, 0.95794, 0.82616, 0.84548, 0.79492, 0.88331, 1.69808, 0.88331, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.7801, 0.89552, 1.24487, 1.13254, 1.19129, 0.96839, 0.85284, 0.68787, 0.70645, 0.85592, 0.90747, 1.01466, 1.0088, 0.90323, 1, 1.07463, 1, 0.91056, 0.75806, 1.19118, 0.96839, 0.78864, 0.82845, 0.84133, 0.75859, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.83908, 0.77539, 0.71805, 0.73133, 0.73133, 0.73133, 0.73133, 0.95958, 0.95958, 0.95958, 0.95958, 0.88506, 0.90872, 0.85938, 0.85938, 0.85938, 0.85938, 0.85938, 0.85284, 0.87068, 0.90399, 0.90399, 0.90399, 0.90399, 0.77892, 0.79795, 0.90807, 0.94908, 0.94908, 0.94908, 0.94908, 0.94908, 0.94908, 0.85887, 0.74012, 0.88323, 0.88323, 0.88323, 0.88323, 0.88401, 0.88401, 0.88401, 0.88401, 0.8785, 0.86331, 0.86331, 0.86331, 0.86331, 0.86331, 0.86331, 0.90747, 0.89049, 0.86331, 0.86331, 0.86331, 0.86331, 0.84548, 0.86411, 0.84548, 0.83908, 0.94908, 0.83908, 0.94908, 0.83908, 0.94908, 0.71805, 0.74012, 0.71805, 0.74012, 0.71805, 0.74012, 0.71805, 0.74012, 0.87289, 0.79538, 0.88506, 0.92726, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.73133, 0.88323, 0.81921, 0.86411, 0.81921, 0.86411, 0.81921, 0.86411, 1, 1, 0.87356, 0.86331, 0.91075, 0.8777, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.95958, 0.88401, 0.76467, 0.90167, 0.59526, 0.91916, 1, 1, 0.86304, 0.69225, 0.88401, 1, 1, 0.70424, 0.77312, 0.91926, 0.88175, 0.70823, 0.94903, 0.90872, 0.86331, 1, 1, 0.90872, 0.86331, 0.86906, 0.88116, 0.86331, 0.85938, 0.86331, 0.85938, 0.86331, 0.85938, 0.86331, 0.87402, 0.86549, 0.77958, 0.90464, 1, 1, 0.77958, 0.90464, 0.69766, 0.70852, 0.69766, 0.70852, 0.69766, 0.70852, 0.69766, 0.70852, 1, 1, 0.81055, 0.75841, 0.81055, 1.06452, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.90399, 0.86331, 0.96068, 0.95794, 0.77892, 0.84548, 0.77892, 0.78257, 0.79492, 0.78257, 0.79492, 0.78257, 0.79492, 0.9297, 0.56892, 0.83908, 0.94908, 0.77539, 0.85887, 0.87068, 0.89049, 1, 1, 0.81055, 1.04106, 1.20528, 1.20528, 1, 1.15543, 0.70088, 0.98387, 0.94721, 1.33431, 1.45894, 0.95161, 1.48387, 0.83908, 0.80352, 0.57118, 0.6965, 0.56347, 0.79179, 0.55853, 0.80346, 1.02988, 0.83908, 0.7762, 0.67174, 0.86036, 0.73133, 0.78257, 0.87356, 0.86441, 0.95958, 0.75727, 0.89019, 1.04924, 0.90872, 0.74889, 0.85938, 0.87891, 0.79795, 0.7957, 0.81055, 0.77892, 0.97447, 0.82577, 0.97466, 0.87179, 0.95958, 0.77892, 0.94252, 0.95612, 0.8753, 1.02988, 0.92733, 0.94252, 0.87411, 0.84021, 0.8728, 0.95612, 0.74081, 0.8753, 1.02189, 1.02988, 0.84814, 0.87445, 0.91822, 0.84723, 0.85668, 0.86331, 0.81344, 0.87581, 0.76422, 0.82046, 0.96057, 0.92733, 0.99375, 0.78022, 0.95452, 0.86015, 1.02988, 0.92733, 0.86331, 0.92733, 0.86015, 0.73133, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90631, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.88323, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.85174, 1, 1, 1, 1, 1, 1, 0.96068, 0.95794, 0.96068, 0.95794, 0.96068, 0.95794, 0.77892, 0.84548, 1, 1, 0.89552, 0.90527, 1, 0.90363, 0.92794, 0.92794, 0.92794, 0.89807, 0.87012, 0.87012, 0.87012, 0.89552, 0.89552, 1.42259, 0.71094, 1.06152, 1, 1, 1.03372, 1.03372, 0.97171, 1.4956, 2.2807, 0.92972, 0.83406, 0.91133, 0.83326, 0.91133, 1, 1, 1, 0.72021, 1, 1.23108, 0.83489, 0.88525, 0.88525, 0.81499, 0.90616, 1.81055, 0.90527, 1.81055, 1.3107, 1.53711, 0.94434, 1.08696, 1, 0.95018, 0.77192, 0.85284, 0.90747, 1.17534, 0.69825, 0.9716, 1.37077, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.08004, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90727, 0.90727, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.CalibriBoldItalicFactors = CalibriBoldItalicFactors; +const CalibriBoldItalicMetrics = { + lineHeight: 1.2207, + lineGap: 0.2207 +}; +exports.CalibriBoldItalicMetrics = CalibriBoldItalicMetrics; +const CalibriItalicFactors = [1.3877, 1, 1, 1, 1.17223, 1.1293, 0.89552, 0.91133, 0.80395, 1.02269, 1.15601, 0.91056, 0.91056, 1.2798, 0.85284, 0.89807, 1, 0.90861, 1.39543, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.96309, 0.96309, 0.85284, 0.85284, 0.85284, 0.83319, 0.88071, 0.8675, 0.81552, 0.72346, 0.85193, 0.73206, 0.7522, 0.81105, 0.86275, 0.90685, 0.6377, 0.77892, 0.75593, 1.02638, 0.89249, 0.84118, 0.77452, 0.85374, 0.75186, 0.67789, 0.79776, 0.88844, 0.85066, 0.94309, 0.77818, 0.7306, 0.76659, 1.10369, 1.38313, 1.10369, 1.06139, 0.89552, 0.8739, 0.9245, 0.9245, 0.83203, 0.9245, 0.85865, 1.09842, 0.9245, 0.9245, 1.03297, 1.07692, 0.90918, 1.03297, 0.94959, 0.9245, 0.92274, 0.9245, 0.9245, 1.02933, 0.77832, 1.20562, 0.9245, 0.8916, 0.98986, 0.86621, 0.89453, 0.79004, 0.94152, 1.77256, 0.94152, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.91729, 0.89552, 1.17889, 1.13254, 1.16359, 0.92098, 0.85284, 0.68787, 0.71353, 0.84737, 0.90747, 1.0088, 1.0044, 0.87683, 1, 1.09091, 1, 0.92229, 0.739, 1.15642, 0.92098, 0.76288, 0.80504, 0.80972, 0.75859, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.76318, 0.72346, 0.73206, 0.73206, 0.73206, 0.73206, 0.90685, 0.90685, 0.90685, 0.90685, 0.86477, 0.89249, 0.84118, 0.84118, 0.84118, 0.84118, 0.84118, 0.85284, 0.84557, 0.88844, 0.88844, 0.88844, 0.88844, 0.7306, 0.77452, 0.86331, 0.9245, 0.9245, 0.9245, 0.9245, 0.9245, 0.9245, 0.84843, 0.83203, 0.85865, 0.85865, 0.85865, 0.85865, 0.82601, 0.82601, 0.82601, 0.82601, 0.94469, 0.9245, 0.92274, 0.92274, 0.92274, 0.92274, 0.92274, 0.90747, 0.86651, 0.9245, 0.9245, 0.9245, 0.9245, 0.89453, 0.9245, 0.89453, 0.8675, 0.9245, 0.8675, 0.9245, 0.8675, 0.9245, 0.72346, 0.83203, 0.72346, 0.83203, 0.72346, 0.83203, 0.72346, 0.83203, 0.85193, 0.8875, 0.86477, 0.99034, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.73206, 0.85865, 0.81105, 0.9245, 0.81105, 0.9245, 0.81105, 0.9245, 1, 1, 0.86275, 0.9245, 0.90872, 0.93591, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 1.03297, 0.90685, 0.82601, 0.77896, 1.05611, 0.6377, 1.07692, 1, 1, 0.90918, 0.75593, 1.03297, 1, 1, 0.76032, 0.9375, 0.98156, 0.93407, 0.77261, 1.11429, 0.89249, 0.9245, 1, 1, 0.89249, 0.9245, 0.92534, 0.86698, 0.9245, 0.84118, 0.92274, 0.84118, 0.92274, 0.84118, 0.92274, 0.8667, 0.86291, 0.75186, 1.02933, 1, 1, 0.75186, 1.02933, 0.67789, 0.77832, 0.67789, 0.77832, 0.67789, 0.77832, 0.67789, 0.77832, 1, 1, 0.79776, 0.97655, 0.79776, 1.23023, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.88844, 0.9245, 0.94309, 0.98986, 0.7306, 0.89453, 0.7306, 0.76659, 0.79004, 0.76659, 0.79004, 0.76659, 0.79004, 1.09231, 0.54873, 0.8675, 0.9245, 0.76318, 0.84843, 0.84557, 0.86651, 1, 1, 0.79776, 1.20562, 1.18622, 1.18622, 1, 1.1437, 0.67009, 0.96334, 0.93695, 1.35191, 1.40909, 0.95161, 1.48387, 0.8675, 0.90861, 0.6192, 0.7363, 0.64824, 0.82411, 0.56321, 0.85696, 1.23516, 0.8675, 0.81552, 0.7286, 0.84134, 0.73206, 0.76659, 0.86275, 0.84369, 0.90685, 0.77892, 0.85871, 1.02638, 0.89249, 0.75828, 0.84118, 0.85984, 0.77452, 0.76466, 0.79776, 0.7306, 0.90782, 0.77818, 0.903, 0.87291, 0.90685, 0.7306, 0.99058, 1.03667, 0.94635, 1.23516, 0.9849, 0.99058, 0.92393, 0.8916, 0.942, 1.03667, 0.75026, 0.94635, 1.0297, 1.23516, 0.90918, 0.94048, 0.98217, 0.89746, 0.84153, 0.92274, 0.82507, 0.88832, 0.84438, 0.88178, 1.03525, 0.9849, 1.00225, 0.78086, 0.97248, 0.89404, 1.23516, 0.9849, 0.92274, 0.9849, 0.89404, 0.73206, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89693, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.85865, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.90933, 1, 1, 1, 1, 1, 1, 0.94309, 0.98986, 0.94309, 0.98986, 0.94309, 0.98986, 0.7306, 0.89453, 1, 1, 0.89552, 0.90527, 1, 0.90186, 1.12308, 1.12308, 1.12308, 1.12308, 1.2566, 1.2566, 1.2566, 0.89552, 0.89552, 1.42259, 0.68994, 1.03809, 1, 1, 1.0176, 1.0176, 1.11523, 1.4956, 2.01462, 0.97858, 0.82616, 0.91133, 0.83437, 0.91133, 1, 1, 1, 0.70508, 1, 1.23108, 0.79801, 0.84426, 0.84426, 0.774, 0.90572, 1.81055, 0.90749, 1.81055, 1.28809, 1.55469, 0.94434, 1.07806, 1, 0.97094, 0.7589, 0.85284, 0.90747, 1.19658, 0.69825, 0.97622, 1.33512, 0.90747, 0.90747, 0.85284, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.0336, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05859, 1.05859, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.CalibriItalicFactors = CalibriItalicFactors; +const CalibriItalicMetrics = { + lineHeight: 1.2207, + lineGap: 0.2207 +}; +exports.CalibriItalicMetrics = CalibriItalicMetrics; +const CalibriRegularFactors = [1.3877, 1, 1, 1, 1.17223, 1.1293, 0.89552, 0.91133, 0.80395, 1.02269, 1.15601, 0.91056, 0.91056, 1.2798, 0.85284, 0.89807, 1, 0.90861, 1.39016, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.91133, 0.96309, 0.96309, 0.85284, 0.85284, 0.85284, 0.83319, 0.88071, 0.8675, 0.81552, 0.73834, 0.85193, 0.73206, 0.7522, 0.81105, 0.86275, 0.90685, 0.6377, 0.77892, 0.75593, 1.02638, 0.89385, 0.85122, 0.77452, 0.86503, 0.75186, 0.68887, 0.79776, 0.88844, 0.85066, 0.94258, 0.77818, 0.7306, 0.76659, 1.10369, 1.39016, 1.10369, 1.06139, 0.89552, 0.8739, 0.86128, 0.94469, 0.8457, 0.94469, 0.89464, 1.09842, 0.84636, 0.94469, 1.03297, 1.07692, 0.90918, 1.03297, 0.95897, 0.94469, 0.9482, 0.94469, 0.94469, 1.04692, 0.78223, 1.20562, 0.94469, 0.90332, 0.98986, 0.86621, 0.90527, 0.79004, 0.94152, 1.77256, 0.94152, 0.85284, 0.97801, 0.89552, 0.91133, 0.89552, 0.91133, 1.91729, 0.89552, 1.17889, 1.13254, 1.08707, 0.92098, 0.85284, 0.68787, 0.71353, 0.84737, 0.90747, 1.0088, 1.0044, 0.87683, 1, 1.09091, 1, 0.92229, 0.739, 1.15642, 0.92098, 0.76288, 0.80504, 0.80972, 0.75859, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.8675, 0.76318, 0.73834, 0.73206, 0.73206, 0.73206, 0.73206, 0.90685, 0.90685, 0.90685, 0.90685, 0.86477, 0.89385, 0.85122, 0.85122, 0.85122, 0.85122, 0.85122, 0.85284, 0.85311, 0.88844, 0.88844, 0.88844, 0.88844, 0.7306, 0.77452, 0.86331, 0.86128, 0.86128, 0.86128, 0.86128, 0.86128, 0.86128, 0.8693, 0.8457, 0.89464, 0.89464, 0.89464, 0.89464, 0.82601, 0.82601, 0.82601, 0.82601, 0.94469, 0.94469, 0.9482, 0.9482, 0.9482, 0.9482, 0.9482, 0.90747, 0.86651, 0.94469, 0.94469, 0.94469, 0.94469, 0.90527, 0.94469, 0.90527, 0.8675, 0.86128, 0.8675, 0.86128, 0.8675, 0.86128, 0.73834, 0.8457, 0.73834, 0.8457, 0.73834, 0.8457, 0.73834, 0.8457, 0.85193, 0.92454, 0.86477, 0.9921, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.73206, 0.89464, 0.81105, 0.84636, 0.81105, 0.84636, 0.81105, 0.84636, 1, 1, 0.86275, 0.94469, 0.90872, 0.95786, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 0.82601, 0.90685, 1.03297, 0.90685, 0.82601, 0.77741, 1.05611, 0.6377, 1.07692, 1, 1, 0.90918, 0.75593, 1.03297, 1, 1, 0.76032, 0.90452, 0.98156, 1.11842, 0.77261, 1.11429, 0.89385, 0.94469, 1, 1, 0.89385, 0.94469, 0.95877, 0.86901, 0.94469, 0.85122, 0.9482, 0.85122, 0.9482, 0.85122, 0.9482, 0.8667, 0.90016, 0.75186, 1.04692, 1, 1, 0.75186, 1.04692, 0.68887, 0.78223, 0.68887, 0.78223, 0.68887, 0.78223, 0.68887, 0.78223, 1, 1, 0.79776, 0.92188, 0.79776, 1.23023, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.88844, 0.94469, 0.94258, 0.98986, 0.7306, 0.90527, 0.7306, 0.76659, 0.79004, 0.76659, 0.79004, 0.76659, 0.79004, 1.09231, 0.54873, 0.8675, 0.86128, 0.76318, 0.8693, 0.85311, 0.86651, 1, 1, 0.79776, 1.20562, 1.18622, 1.18622, 1, 1.1437, 0.67742, 0.96334, 0.93695, 1.35191, 1.40909, 0.95161, 1.48387, 0.86686, 0.90861, 0.62267, 0.74359, 0.65649, 0.85498, 0.56963, 0.88254, 1.23516, 0.8675, 0.81552, 0.75443, 0.84503, 0.73206, 0.76659, 0.86275, 0.85122, 0.90685, 0.77892, 0.85746, 1.02638, 0.89385, 0.75657, 0.85122, 0.86275, 0.77452, 0.74171, 0.79776, 0.7306, 0.95165, 0.77818, 0.89772, 0.88831, 0.90685, 0.7306, 0.98142, 1.02191, 0.96576, 1.23516, 0.99018, 0.98142, 0.9236, 0.89258, 0.94035, 1.02191, 0.78848, 0.96576, 0.9561, 1.23516, 0.90918, 0.92578, 0.95424, 0.89746, 0.83969, 0.9482, 0.80113, 0.89442, 0.85208, 0.86155, 0.98022, 0.99018, 1.00452, 0.81209, 0.99247, 0.89181, 1.23516, 0.99018, 0.9482, 0.99018, 0.89181, 0.73206, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.88844, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89464, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.96766, 1, 1, 1, 1, 1, 1, 0.94258, 0.98986, 0.94258, 0.98986, 0.94258, 0.98986, 0.7306, 0.90527, 1, 1, 0.89552, 0.90527, 1, 0.90186, 1.12308, 1.12308, 1.12308, 1.12308, 1.2566, 1.2566, 1.2566, 0.89552, 0.89552, 1.42259, 0.69043, 1.03809, 1, 1, 1.0176, 1.0176, 1.11523, 1.4956, 2.01462, 0.99331, 0.82616, 0.91133, 0.84286, 0.91133, 1, 1, 1, 0.70508, 1, 1.23108, 0.79801, 0.84426, 0.84426, 0.774, 0.90527, 1.81055, 0.90527, 1.81055, 1.28809, 1.55469, 0.94434, 1.07806, 1, 0.97094, 0.7589, 0.85284, 0.90747, 1.19658, 0.69825, 0.97622, 1.33512, 0.90747, 0.90747, 0.85356, 0.90747, 0.90747, 1.44947, 0.85284, 0.8941, 0.8941, 0.70572, 0.8, 0.70572, 0.70572, 0.70572, 0.70572, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.99862, 0.99862, 1, 1, 1, 1, 1, 1.0336, 0.91027, 1, 1, 1, 0.99862, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05859, 1.05859, 1, 1, 1, 1.07185, 0.99413, 0.96334, 1.08065, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.CalibriRegularFactors = CalibriRegularFactors; +const CalibriRegularMetrics = { + lineHeight: 1.2207, + lineGap: 0.2207 +}; +exports.CalibriRegularMetrics = CalibriRegularMetrics; -;// CONCATENATED MODULE: ./src/core/image_utils.js +/***/ }), +/* 53 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.HelveticaRegularMetrics = exports.HelveticaRegularFactors = exports.HelveticaItalicMetrics = exports.HelveticaItalicFactors = exports.HelveticaBoldMetrics = exports.HelveticaBoldItalicMetrics = exports.HelveticaBoldItalicFactors = exports.HelveticaBoldFactors = void 0; +const HelveticaBoldFactors = [0.76116, 1, 1, 1.0006, 0.99998, 0.99974, 0.99973, 0.99973, 0.99982, 0.99977, 1.00087, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.00003, 1.00003, 1.00003, 1.00026, 0.9999, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 0.99973, 0.99977, 1.00026, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 0.99998, 1.0006, 0.99998, 1.00003, 0.99973, 0.99998, 0.99973, 1.00026, 0.99973, 1.00026, 0.99973, 0.99998, 1.00026, 1.00026, 1.0006, 1.0006, 0.99973, 1.0006, 0.99982, 1.00026, 1.00026, 1.00026, 1.00026, 0.99959, 0.99973, 0.99998, 1.00026, 0.99973, 1.00022, 0.99973, 0.99973, 1, 0.99959, 1.00077, 0.99959, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.00077, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.99973, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.06409, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 0.99973, 1.00026, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 1.03374, 0.99977, 1.00026, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.00042, 0.99973, 0.99973, 1.0006, 0.99977, 0.99973, 0.99973, 1.00026, 1.0006, 1.00026, 1.0006, 1.00026, 1.03828, 1.00026, 0.99999, 1.00026, 1.0006, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.9993, 0.9998, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1, 1.00016, 0.99977, 0.99959, 0.99977, 0.99959, 0.99977, 0.99959, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00026, 0.99998, 1.00026, 0.8121, 1.00026, 0.99998, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.00016, 1.00022, 1.00001, 0.99973, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 1.0006, 0.99973, 0.99977, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 0.99973, 1.00026, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 1.00034, 0.99977, 1, 0.99997, 1.00026, 1.00078, 1.00036, 0.99973, 1.00013, 1.0006, 0.99977, 0.99977, 0.99988, 0.85148, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 0.99977, 1.00001, 0.99999, 0.99977, 1.00069, 1.00022, 0.99977, 1.00001, 0.99984, 1.00026, 1.00001, 1.00024, 1.00001, 0.9999, 1, 1.0006, 1.00001, 1.00041, 0.99962, 1.00026, 1.0006, 0.99995, 1.00041, 0.99942, 0.99973, 0.99927, 1.00082, 0.99902, 1.00026, 1.00087, 1.0006, 1.00069, 0.99973, 0.99867, 0.99973, 0.9993, 1.00026, 1.00049, 1.00056, 1, 0.99988, 0.99935, 0.99995, 0.99954, 1.00055, 0.99945, 1.00032, 1.0006, 0.99995, 1.00026, 0.99995, 1.00032, 1.00001, 1.00008, 0.99971, 1.00019, 0.9994, 1.00001, 1.0006, 1.00044, 0.99973, 1.00023, 1.00047, 1, 0.99942, 0.99561, 0.99989, 1.00035, 0.99977, 1.00035, 0.99977, 1.00019, 0.99944, 1.00001, 1.00021, 0.99926, 1.00035, 1.00035, 0.99942, 1.00048, 0.99999, 0.99977, 1.00022, 1.00035, 1.00001, 0.99977, 1.00026, 0.99989, 1.00057, 1.00001, 0.99936, 1.00052, 1.00012, 0.99996, 1.00043, 1, 1.00035, 0.9994, 0.99976, 1.00035, 0.99973, 1.00052, 1.00041, 1.00119, 1.00037, 0.99973, 1.00002, 0.99986, 1.00041, 1.00041, 0.99902, 0.9996, 1.00034, 0.99999, 1.00026, 0.99999, 1.00026, 0.99973, 1.00052, 0.99973, 1, 0.99973, 1.00041, 1.00075, 0.9994, 1.0003, 0.99999, 1, 1.00041, 0.99955, 1, 0.99915, 0.99973, 0.99973, 1.00026, 1.00119, 0.99955, 0.99973, 1.0006, 0.99911, 1.0006, 1.00026, 0.99972, 1.00026, 0.99902, 1.00041, 0.99973, 0.99999, 1, 1, 1.00038, 1.0005, 1.00016, 1.00022, 1.00016, 1.00022, 1.00016, 1.00022, 1.00001, 0.99973, 1, 1, 0.99973, 1, 1, 0.99955, 1.0006, 1.0006, 1.0006, 1.0006, 1, 1, 1, 0.99973, 0.99973, 0.99972, 1, 1, 1.00106, 0.99999, 0.99998, 0.99998, 0.99999, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 0.99971, 1.00047, 1.00023, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1, 1, 1, 1, 1, 1, 1, 0.99972, 1, 1.20985, 1.39713, 1.00003, 1.00031, 1.00015, 1, 0.99561, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.99972, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.HelveticaBoldFactors = HelveticaBoldFactors; +const HelveticaBoldMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.HelveticaBoldMetrics = HelveticaBoldMetrics; +const HelveticaBoldItalicFactors = [0.76116, 1, 1, 1.0006, 0.99998, 0.99974, 0.99973, 0.99973, 0.99982, 0.99977, 1.00087, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.00003, 1.00003, 1.00003, 1.00026, 0.9999, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 0.99973, 0.99977, 1.00026, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 0.99998, 1.0006, 0.99998, 1.00003, 0.99973, 0.99998, 0.99973, 1.00026, 0.99973, 1.00026, 0.99973, 0.99998, 1.00026, 1.00026, 1.0006, 1.0006, 0.99973, 1.0006, 0.99982, 1.00026, 1.00026, 1.00026, 1.00026, 0.99959, 0.99973, 0.99998, 1.00026, 0.99973, 1.00022, 0.99973, 0.99973, 1, 0.99959, 1.00077, 0.99959, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.00077, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.99973, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 0.99977, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 1.06409, 1.00026, 1.00026, 1.00026, 1.00026, 1.00026, 0.99973, 1.00026, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 1.0044, 0.99977, 1.00026, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99971, 0.99973, 0.99973, 1.0006, 0.99977, 0.99973, 0.99973, 1.00026, 1.0006, 1.00026, 1.0006, 1.00026, 1.01011, 1.00026, 0.99999, 1.00026, 1.0006, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.9993, 0.9998, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1.00022, 1.00026, 1, 1.00016, 0.99977, 0.99959, 0.99977, 0.99959, 0.99977, 0.99959, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00026, 0.99998, 1.00026, 0.8121, 1.00026, 0.99998, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 0.99977, 1.00026, 1.00016, 1.00022, 1.00001, 0.99973, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 1.0006, 0.99973, 0.99977, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 0.99973, 1.00026, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99977, 1, 1, 1.00026, 0.99969, 0.99972, 0.99981, 0.9998, 1.0006, 0.99977, 0.99977, 1.00022, 0.91155, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 0.99977, 1.00001, 0.99999, 0.99977, 0.99966, 1.00022, 1.00032, 1.00001, 0.99944, 1.00026, 1.00001, 0.99968, 1.00001, 1.00047, 1, 1.0006, 1.00001, 0.99981, 1.00101, 1.00026, 1.0006, 0.99948, 0.99981, 1.00064, 0.99973, 0.99942, 1.00101, 1.00061, 1.00026, 1.00069, 1.0006, 1.00014, 0.99973, 1.01322, 0.99973, 1.00065, 1.00026, 1.00012, 0.99923, 1, 1.00064, 1.00076, 0.99948, 1.00055, 1.00063, 1.00007, 0.99943, 1.0006, 0.99948, 1.00026, 0.99948, 0.99943, 1.00001, 1.00001, 1.00029, 1.00038, 1.00035, 1.00001, 1.0006, 1.0006, 0.99973, 0.99978, 1.00001, 1.00057, 0.99989, 0.99967, 0.99964, 0.99967, 0.99977, 0.99999, 0.99977, 1.00038, 0.99977, 1.00001, 0.99973, 1.00066, 0.99967, 0.99967, 1.00041, 0.99998, 0.99999, 0.99977, 1.00022, 0.99967, 1.00001, 0.99977, 1.00026, 0.99964, 1.00031, 1.00001, 0.99999, 0.99999, 1, 1.00023, 1, 1, 0.99999, 1.00035, 1.00001, 0.99999, 0.99973, 0.99977, 0.99999, 1.00058, 0.99973, 0.99973, 0.99955, 0.9995, 1.00026, 1.00026, 1.00032, 0.99989, 1.00034, 0.99999, 1.00026, 1.00026, 1.00026, 0.99973, 0.45998, 0.99973, 1.00026, 0.99973, 1.00001, 0.99999, 0.99982, 0.99994, 0.99996, 1, 1.00042, 1.00044, 1.00029, 1.00023, 0.99973, 0.99973, 1.00026, 0.99949, 1.00002, 0.99973, 1.0006, 1.0006, 1.0006, 0.99975, 1.00026, 1.00026, 1.00032, 0.98685, 0.99973, 1.00026, 1, 1, 0.99966, 1.00044, 1.00016, 1.00022, 1.00016, 1.00022, 1.00016, 1.00022, 1.00001, 0.99973, 1, 1, 0.99973, 1, 1, 0.99955, 1.0006, 1.0006, 1.0006, 1.0006, 1, 1, 1, 0.99973, 0.99973, 0.99972, 1, 1, 1.00106, 0.99999, 0.99998, 0.99998, 0.99999, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1, 0.99973, 0.99971, 0.99978, 1, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1.00098, 1, 1, 1, 1.00049, 1, 1, 0.99972, 1, 1.20985, 1.39713, 1.00003, 1.00031, 1.00015, 1, 0.99561, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.99972, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.HelveticaBoldItalicFactors = HelveticaBoldItalicFactors; +const HelveticaBoldItalicMetrics = { + lineHeight: 1.35, + lineGap: 0.2 +}; +exports.HelveticaBoldItalicMetrics = HelveticaBoldItalicMetrics; +const HelveticaItalicFactors = [0.76116, 1, 1, 1.0006, 1.0006, 1.00006, 0.99973, 0.99973, 0.99982, 1.00001, 1.00043, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1, 1.00003, 1.00003, 1.00003, 0.99973, 0.99987, 1.00001, 1.00001, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 1, 1.00001, 0.99973, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 1.0006, 1.0006, 1.0006, 0.99949, 0.99973, 0.99998, 0.99973, 0.99973, 1, 0.99973, 0.99973, 1.0006, 0.99973, 0.99973, 0.99924, 0.99924, 1, 0.99924, 0.99999, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.0006, 0.99973, 1, 0.99977, 1, 1, 1, 1.00005, 1.0009, 1.00005, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.0009, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.9998, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 1, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.06409, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 1, 0.99973, 1, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1.0288, 0.99977, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99924, 1.0006, 1.0006, 0.99946, 1.00034, 1, 0.99924, 1.00001, 1, 1, 0.99973, 0.99924, 0.99973, 0.99924, 0.99973, 1.06311, 0.99973, 1.00024, 0.99973, 0.99924, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00041, 0.9998, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1, 1.00016, 0.99977, 0.99998, 0.99977, 0.99998, 0.99977, 0.99998, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00026, 1.0006, 1.00026, 0.89547, 1.00026, 1.0006, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00016, 0.99977, 1.00001, 1, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 0.99924, 0.99973, 1.00001, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 1, 1.00026, 1.0006, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 1.00001, 1, 1.00054, 0.99977, 1.00084, 1.00007, 0.99973, 1.00013, 0.99924, 1.00001, 1.00001, 0.99945, 0.91221, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 1.00001, 1.00001, 0.99999, 0.99977, 0.99933, 1.00022, 1.00054, 1.00001, 1.00065, 1.00026, 1.00001, 1.0001, 1.00001, 1.00052, 1, 1.0006, 1.00001, 0.99945, 0.99897, 0.99968, 0.99924, 1.00036, 0.99945, 0.99949, 1, 1.0006, 0.99897, 0.99918, 0.99968, 0.99911, 0.99924, 1, 0.99962, 1.01487, 1, 1.0005, 0.99973, 1.00012, 1.00043, 1, 0.99995, 0.99994, 1.00036, 0.99947, 1.00019, 1.00063, 1.00025, 0.99924, 1.00036, 0.99973, 1.00036, 1.00025, 1.00001, 1.00001, 1.00027, 1.0001, 1.00068, 1.00001, 1.0006, 1.0006, 1, 1.00008, 0.99957, 0.99972, 0.9994, 0.99954, 0.99975, 1.00051, 1.00001, 1.00019, 1.00001, 1.0001, 0.99986, 1.00001, 1.00001, 1.00038, 0.99954, 0.99954, 0.9994, 1.00066, 0.99999, 0.99977, 1.00022, 1.00054, 1.00001, 0.99977, 1.00026, 0.99975, 1.0001, 1.00001, 0.99993, 0.9995, 0.99955, 1.00016, 0.99978, 0.99974, 1.00019, 1.00022, 0.99955, 1.00053, 0.99973, 1.00089, 1.00005, 0.99967, 1.00048, 0.99973, 1.00002, 1.00034, 0.99973, 0.99973, 0.99964, 1.00006, 1.00066, 0.99947, 0.99973, 0.98894, 0.99973, 1, 0.44898, 1, 0.99946, 1, 1.00039, 1.00082, 0.99991, 0.99991, 0.99985, 1.00022, 1.00023, 1.00061, 1.00006, 0.99966, 0.99973, 0.99973, 0.99973, 1.00019, 1.0008, 1, 0.99924, 0.99924, 0.99924, 0.99983, 1.00044, 0.99973, 0.99964, 0.98332, 1, 0.99973, 1, 1, 0.99962, 0.99895, 1.00016, 0.99977, 1.00016, 0.99977, 1.00016, 0.99977, 1.00001, 1, 1, 1, 0.99973, 1, 1, 0.99955, 0.99924, 0.99924, 0.99924, 0.99924, 0.99998, 0.99998, 0.99998, 0.99973, 0.99973, 0.99972, 1, 1, 1.00267, 0.99999, 0.99998, 0.99998, 1, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 1.00423, 0.99925, 0.99999, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1.00049, 1, 1.00245, 1, 1, 1, 1, 0.96329, 1, 1.20985, 1.39713, 1.00003, 0.8254, 1.00015, 1, 1.00035, 1.00027, 1.00031, 1.00031, 1.00003, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.95317, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 0.99998, 0.99998, 0.99998, 0.99998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.HelveticaItalicFactors = HelveticaItalicFactors; +const HelveticaItalicMetrics = { + lineHeight: 1.35, + lineGap: 0.2 +}; +exports.HelveticaItalicMetrics = HelveticaItalicMetrics; +const HelveticaRegularFactors = [0.76116, 1, 1, 1.0006, 1.0006, 1.00006, 0.99973, 0.99973, 0.99982, 1.00001, 1.00043, 0.99998, 0.99998, 0.99959, 1.00003, 1.0006, 0.99998, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1, 1.00003, 1.00003, 1.00003, 0.99973, 0.99987, 1.00001, 1.00001, 0.99977, 0.99977, 1.00001, 1.00026, 1.00022, 0.99977, 1.0006, 1, 1.00001, 0.99973, 0.99999, 0.99977, 1.00022, 1.00001, 1.00022, 0.99977, 1.00001, 1.00026, 0.99977, 1.00001, 1.00016, 1.00001, 1.00001, 1.00026, 1.0006, 1.0006, 1.0006, 0.99949, 0.99973, 0.99998, 0.99973, 0.99973, 1, 0.99973, 0.99973, 1.0006, 0.99973, 0.99973, 0.99924, 0.99924, 1, 0.99924, 0.99999, 0.99973, 0.99973, 0.99973, 0.99973, 0.99998, 1, 1.0006, 0.99973, 1, 0.99977, 1, 1, 1, 1.00005, 1.0009, 1.00005, 1.00003, 0.99998, 0.99973, 0.99973, 0.99973, 0.99973, 1.0009, 0.99973, 0.99998, 1.00025, 0.99968, 0.99973, 1.00003, 1.00025, 0.60299, 1.00024, 1.06409, 1, 1, 0.99998, 1, 0.9998, 1.0006, 0.99998, 1, 0.99936, 0.99973, 1.00002, 1.00002, 1.00002, 1.00026, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1.00001, 1, 0.99977, 1.00001, 1.00001, 1.00001, 1.00001, 1.0006, 1.0006, 1.0006, 1.0006, 0.99977, 0.99977, 1.00022, 1.00022, 1.00022, 1.00022, 1.00022, 1.00003, 1.00022, 0.99977, 0.99977, 0.99977, 0.99977, 1.00001, 1.00001, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99982, 1, 0.99973, 0.99973, 0.99973, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 0.99973, 1.06409, 1.00026, 0.99973, 0.99973, 0.99973, 0.99973, 1, 0.99973, 1, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1, 0.99977, 1.04596, 0.99977, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00001, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 1.0006, 0.99924, 1.0006, 1.0006, 1.00019, 1.00034, 1, 0.99924, 1.00001, 1, 1, 0.99973, 0.99924, 0.99973, 0.99924, 0.99973, 1.02572, 0.99973, 1.00005, 0.99973, 0.99924, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99999, 0.9998, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1.00022, 0.99973, 1, 1.00016, 0.99977, 0.99998, 0.99977, 0.99998, 0.99977, 0.99998, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00001, 1, 1.00026, 1.0006, 1.00026, 0.84533, 1.00026, 1.0006, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 0.99977, 0.99973, 1.00016, 0.99977, 1.00001, 1, 1.00001, 1.00026, 1, 1.00026, 1, 1.00026, 1, 0.99924, 0.99973, 1.00001, 0.99973, 1, 0.99982, 1.00022, 1.00026, 1.00001, 1, 1.00026, 1.0006, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99998, 0.99928, 1, 0.99977, 1.00013, 1.00055, 0.99947, 0.99945, 0.99941, 0.99924, 1.00001, 1.00001, 1.0004, 0.91621, 1.00001, 1.00026, 0.99977, 1.00022, 1.0006, 1.00001, 1.00005, 0.99999, 0.99977, 1.00015, 1.00022, 0.99977, 1.00001, 0.99973, 1.00026, 1.00001, 1.00019, 1.00001, 0.99946, 1, 1.0006, 1.00001, 0.99978, 1.00045, 0.99973, 0.99924, 1.00023, 0.99978, 0.99966, 1, 1.00065, 1.00045, 1.00019, 0.99973, 0.99973, 0.99924, 1, 1, 0.96499, 1, 1.00055, 0.99973, 1.00008, 1.00027, 1, 0.9997, 0.99995, 1.00023, 0.99933, 1.00019, 1.00015, 1.00031, 0.99924, 1.00023, 0.99973, 1.00023, 1.00031, 1.00001, 0.99928, 1.00029, 1.00092, 1.00035, 1.00001, 1.0006, 1.0006, 1, 0.99988, 0.99975, 1, 1.00082, 0.99561, 0.9996, 1.00035, 1.00001, 0.99962, 1.00001, 1.00092, 0.99964, 1.00001, 0.99963, 0.99999, 1.00035, 1.00035, 1.00082, 0.99962, 0.99999, 0.99977, 1.00022, 1.00035, 1.00001, 0.99977, 1.00026, 0.9996, 0.99967, 1.00001, 1.00034, 1.00074, 1.00054, 1.00053, 1.00063, 0.99971, 0.99962, 1.00035, 0.99975, 0.99977, 0.99973, 1.00043, 0.99953, 1.0007, 0.99915, 0.99973, 1.00008, 0.99892, 1.00073, 1.00073, 1.00114, 0.99915, 1.00073, 0.99955, 0.99973, 1.00092, 0.99973, 1, 0.99998, 1, 1.0003, 1, 1.00043, 1.00001, 0.99969, 1.0003, 1, 1.00035, 1.00001, 0.9995, 1, 1.00092, 0.99973, 0.99973, 0.99973, 1.0007, 0.9995, 1, 0.99924, 1.0006, 0.99924, 0.99972, 1.00062, 0.99973, 1.00114, 1.00073, 1, 0.99955, 1, 1, 1.00047, 0.99968, 1.00016, 0.99977, 1.00016, 0.99977, 1.00016, 0.99977, 1.00001, 1, 1, 1, 0.99973, 1, 1, 0.99955, 0.99924, 0.99924, 0.99924, 0.99924, 0.99998, 0.99998, 0.99998, 0.99973, 0.99973, 0.99972, 1, 1, 1.00267, 0.99999, 0.99998, 0.99998, 1, 0.99998, 1.66475, 1, 0.99973, 0.99973, 1.00023, 0.99973, 0.99971, 0.99925, 1.00023, 1, 0.99991, 0.99984, 1.00002, 1.00002, 1.00002, 1.00002, 1, 1, 1, 1, 1, 1, 1, 0.96329, 1, 1.20985, 1.39713, 1.00003, 0.8254, 1.00015, 1, 1.00035, 1.00027, 1.00031, 1.00031, 0.99915, 1.00031, 1.00031, 0.99999, 1.00003, 0.99999, 0.99999, 1.41144, 1.6, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.41144, 1.40579, 1.40579, 1.36625, 0.99999, 1, 0.99861, 0.99861, 1, 1.00026, 1.00026, 1.00026, 1.00026, 0.95317, 0.99999, 0.99999, 0.99999, 0.99999, 1.40483, 1, 0.99977, 1.00054, 1, 1, 0.99953, 0.99962, 1.00042, 0.9995, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.HelveticaRegularFactors = HelveticaRegularFactors; +const HelveticaRegularMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.HelveticaRegularMetrics = HelveticaRegularMetrics; + +/***/ }), +/* 54 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.LiberationSansRegularWidths = exports.LiberationSansRegularMapping = exports.LiberationSansItalicWidths = exports.LiberationSansItalicMapping = exports.LiberationSansBoldWidths = exports.LiberationSansBoldMapping = exports.LiberationSansBoldItalicWidths = exports.LiberationSansBoldItalicMapping = void 0; +const LiberationSansBoldWidths = [365, 0, 333, 278, 333, 474, 556, 556, 889, 722, 238, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 333, 333, 584, 584, 584, 611, 975, 722, 722, 722, 722, 667, 611, 778, 722, 278, 556, 722, 611, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 333, 278, 333, 584, 556, 333, 556, 611, 556, 611, 556, 333, 611, 611, 278, 278, 556, 278, 889, 611, 611, 611, 611, 389, 556, 333, 611, 556, 778, 556, 556, 500, 389, 280, 389, 584, 333, 556, 556, 556, 556, 280, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 556, 278, 333, 333, 365, 556, 834, 834, 834, 611, 722, 722, 722, 722, 722, 722, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 556, 556, 556, 556, 556, 278, 278, 278, 278, 611, 611, 611, 611, 611, 611, 611, 549, 611, 611, 611, 611, 611, 556, 611, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 719, 722, 611, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 611, 778, 611, 778, 611, 778, 611, 722, 611, 722, 611, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 785, 556, 556, 278, 722, 556, 556, 611, 278, 611, 278, 611, 385, 611, 479, 611, 278, 722, 611, 722, 611, 722, 611, 708, 723, 611, 778, 611, 778, 611, 778, 611, 1000, 944, 722, 389, 722, 389, 722, 389, 667, 556, 667, 556, 667, 556, 667, 556, 611, 333, 611, 479, 611, 333, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 944, 778, 667, 556, 667, 611, 500, 611, 500, 611, 500, 278, 556, 722, 556, 1000, 889, 778, 611, 667, 556, 611, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 465, 722, 333, 853, 906, 474, 825, 927, 838, 278, 722, 722, 601, 719, 667, 611, 722, 778, 278, 722, 667, 833, 722, 644, 778, 722, 667, 600, 611, 667, 821, 667, 809, 802, 278, 667, 615, 451, 611, 278, 582, 615, 610, 556, 606, 475, 460, 611, 541, 278, 558, 556, 612, 556, 445, 611, 766, 619, 520, 684, 446, 582, 715, 576, 753, 845, 278, 582, 611, 582, 845, 667, 669, 885, 567, 711, 667, 278, 276, 556, 1094, 1062, 875, 610, 722, 622, 719, 722, 719, 722, 567, 712, 667, 904, 626, 719, 719, 610, 702, 833, 722, 778, 719, 667, 722, 611, 622, 854, 667, 730, 703, 1005, 1019, 870, 979, 719, 711, 1031, 719, 556, 618, 615, 417, 635, 556, 709, 497, 615, 615, 500, 635, 740, 604, 611, 604, 611, 556, 490, 556, 875, 556, 615, 581, 833, 844, 729, 854, 615, 552, 854, 583, 556, 556, 611, 417, 552, 556, 278, 281, 278, 969, 906, 611, 500, 615, 556, 604, 778, 611, 487, 447, 944, 778, 944, 778, 944, 778, 667, 556, 333, 333, 556, 1000, 1000, 552, 278, 278, 278, 278, 500, 500, 500, 556, 556, 350, 1000, 1000, 240, 479, 333, 333, 604, 333, 167, 396, 556, 556, 1094, 556, 885, 489, 1115, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 722, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 611, 611, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 333, 333, 333, 333, 333, 333, 333, 333]; +exports.LiberationSansBoldWidths = LiberationSansBoldWidths; +const LiberationSansBoldMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; +exports.LiberationSansBoldMapping = LiberationSansBoldMapping; +const LiberationSansBoldItalicWidths = [365, 0, 333, 278, 333, 474, 556, 556, 889, 722, 238, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 333, 333, 584, 584, 584, 611, 975, 722, 722, 722, 722, 667, 611, 778, 722, 278, 556, 722, 611, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 333, 278, 333, 584, 556, 333, 556, 611, 556, 611, 556, 333, 611, 611, 278, 278, 556, 278, 889, 611, 611, 611, 611, 389, 556, 333, 611, 556, 778, 556, 556, 500, 389, 280, 389, 584, 333, 556, 556, 556, 556, 280, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 556, 278, 333, 333, 365, 556, 834, 834, 834, 611, 722, 722, 722, 722, 722, 722, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 556, 556, 556, 556, 556, 278, 278, 278, 278, 611, 611, 611, 611, 611, 611, 611, 549, 611, 611, 611, 611, 611, 556, 611, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 740, 722, 611, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 611, 778, 611, 778, 611, 778, 611, 722, 611, 722, 611, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 782, 556, 556, 278, 722, 556, 556, 611, 278, 611, 278, 611, 396, 611, 479, 611, 278, 722, 611, 722, 611, 722, 611, 708, 723, 611, 778, 611, 778, 611, 778, 611, 1000, 944, 722, 389, 722, 389, 722, 389, 667, 556, 667, 556, 667, 556, 667, 556, 611, 333, 611, 479, 611, 333, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 722, 611, 944, 778, 667, 556, 667, 611, 500, 611, 500, 611, 500, 278, 556, 722, 556, 1000, 889, 778, 611, 667, 556, 611, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 722, 333, 854, 906, 473, 844, 930, 847, 278, 722, 722, 610, 671, 667, 611, 722, 778, 278, 722, 667, 833, 722, 657, 778, 718, 667, 590, 611, 667, 822, 667, 829, 781, 278, 667, 620, 479, 611, 278, 591, 620, 621, 556, 610, 479, 492, 611, 558, 278, 566, 556, 603, 556, 450, 611, 712, 605, 532, 664, 409, 591, 704, 578, 773, 834, 278, 591, 611, 591, 834, 667, 667, 886, 614, 719, 667, 278, 278, 556, 1094, 1042, 854, 622, 719, 677, 719, 722, 708, 722, 614, 722, 667, 927, 643, 719, 719, 615, 687, 833, 722, 778, 719, 667, 722, 611, 677, 781, 667, 729, 708, 979, 989, 854, 1000, 708, 719, 1042, 729, 556, 619, 604, 534, 618, 556, 736, 510, 611, 611, 507, 622, 740, 604, 611, 611, 611, 556, 889, 556, 885, 556, 646, 583, 889, 935, 707, 854, 594, 552, 865, 589, 556, 556, 611, 469, 563, 556, 278, 278, 278, 969, 906, 611, 507, 619, 556, 611, 778, 611, 575, 467, 944, 778, 944, 778, 944, 778, 667, 556, 333, 333, 556, 1000, 1000, 552, 278, 278, 278, 278, 500, 500, 500, 556, 556, 350, 1000, 1000, 240, 479, 333, 333, 604, 333, 167, 396, 556, 556, 1104, 556, 885, 516, 1146, 1000, 768, 600, 834, 834, 834, 834, 999, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 722, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 611, 611, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 333, 333, 333, 333, 333, 333, 333, 333]; +exports.LiberationSansBoldItalicWidths = LiberationSansBoldItalicWidths; +const LiberationSansBoldItalicMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; +exports.LiberationSansBoldItalicMapping = LiberationSansBoldItalicMapping; +const LiberationSansItalicWidths = [365, 0, 333, 278, 278, 355, 556, 556, 889, 667, 191, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 278, 278, 584, 584, 584, 556, 1015, 667, 667, 722, 722, 667, 611, 778, 722, 278, 500, 667, 556, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 278, 278, 278, 469, 556, 333, 556, 556, 500, 556, 556, 278, 556, 556, 222, 222, 500, 222, 833, 556, 556, 556, 556, 333, 500, 278, 556, 500, 722, 500, 500, 500, 334, 260, 334, 584, 333, 556, 556, 556, 556, 260, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 537, 278, 333, 333, 365, 556, 834, 834, 834, 611, 667, 667, 667, 667, 667, 667, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 500, 556, 556, 556, 556, 278, 278, 278, 278, 556, 556, 556, 556, 556, 556, 556, 549, 611, 556, 556, 556, 556, 500, 556, 500, 667, 556, 667, 556, 667, 556, 722, 500, 722, 500, 722, 500, 722, 500, 722, 625, 722, 556, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 556, 778, 556, 778, 556, 778, 556, 722, 556, 722, 556, 278, 278, 278, 278, 278, 278, 278, 222, 278, 278, 733, 444, 500, 222, 667, 500, 500, 556, 222, 556, 222, 556, 281, 556, 400, 556, 222, 722, 556, 722, 556, 722, 556, 615, 723, 556, 778, 556, 778, 556, 778, 556, 1000, 944, 722, 333, 722, 333, 722, 333, 667, 500, 667, 500, 667, 500, 667, 500, 611, 278, 611, 354, 611, 278, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 944, 722, 667, 500, 667, 611, 500, 611, 500, 611, 500, 222, 556, 667, 556, 1000, 889, 778, 611, 667, 500, 611, 278, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 667, 278, 789, 846, 389, 794, 865, 775, 222, 667, 667, 570, 671, 667, 611, 722, 778, 278, 667, 667, 833, 722, 648, 778, 725, 667, 600, 611, 667, 837, 667, 831, 761, 278, 667, 570, 439, 555, 222, 550, 570, 571, 500, 556, 439, 463, 555, 542, 222, 500, 492, 548, 500, 447, 556, 670, 573, 486, 603, 374, 550, 652, 546, 728, 779, 222, 550, 556, 550, 779, 667, 667, 843, 544, 708, 667, 278, 278, 500, 1066, 982, 844, 589, 715, 639, 724, 667, 651, 667, 544, 704, 667, 917, 614, 715, 715, 589, 686, 833, 722, 778, 725, 667, 722, 611, 639, 795, 667, 727, 673, 920, 923, 805, 886, 651, 694, 1022, 682, 556, 562, 522, 493, 553, 556, 688, 465, 556, 556, 472, 564, 686, 550, 556, 556, 556, 500, 833, 500, 835, 500, 572, 518, 830, 851, 621, 736, 526, 492, 752, 534, 556, 556, 556, 378, 496, 500, 222, 222, 222, 910, 828, 556, 472, 565, 500, 556, 778, 556, 492, 339, 944, 722, 944, 722, 944, 722, 667, 500, 333, 333, 556, 1000, 1000, 552, 222, 222, 222, 222, 333, 333, 333, 556, 556, 350, 1000, 1000, 188, 354, 333, 333, 500, 333, 167, 365, 556, 556, 1094, 556, 885, 323, 1083, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 998, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 719, 274, 549, 549, 584, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 500, 500, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 294, 294, 324, 324, 316, 328, 398, 285]; +exports.LiberationSansItalicWidths = LiberationSansItalicWidths; +const LiberationSansItalicMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; +exports.LiberationSansItalicMapping = LiberationSansItalicMapping; +const LiberationSansRegularWidths = [365, 0, 333, 278, 278, 355, 556, 556, 889, 667, 191, 333, 333, 389, 584, 278, 333, 278, 278, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 278, 278, 584, 584, 584, 556, 1015, 667, 667, 722, 722, 667, 611, 778, 722, 278, 500, 667, 556, 833, 722, 778, 667, 778, 722, 667, 611, 722, 667, 944, 667, 667, 611, 278, 278, 278, 469, 556, 333, 556, 556, 500, 556, 556, 278, 556, 556, 222, 222, 500, 222, 833, 556, 556, 556, 556, 333, 500, 278, 556, 500, 722, 500, 500, 500, 334, 260, 334, 584, 333, 556, 556, 556, 556, 260, 556, 333, 737, 370, 556, 584, 737, 552, 400, 549, 333, 333, 333, 576, 537, 278, 333, 333, 365, 556, 834, 834, 834, 611, 667, 667, 667, 667, 667, 667, 1000, 722, 667, 667, 667, 667, 278, 278, 278, 278, 722, 722, 778, 778, 778, 778, 778, 584, 778, 722, 722, 722, 722, 667, 667, 611, 556, 556, 556, 556, 556, 556, 889, 500, 556, 556, 556, 556, 278, 278, 278, 278, 556, 556, 556, 556, 556, 556, 556, 549, 611, 556, 556, 556, 556, 500, 556, 500, 667, 556, 667, 556, 667, 556, 722, 500, 722, 500, 722, 500, 722, 500, 722, 615, 722, 556, 667, 556, 667, 556, 667, 556, 667, 556, 667, 556, 778, 556, 778, 556, 778, 556, 778, 556, 722, 556, 722, 556, 278, 278, 278, 278, 278, 278, 278, 222, 278, 278, 735, 444, 500, 222, 667, 500, 500, 556, 222, 556, 222, 556, 292, 556, 334, 556, 222, 722, 556, 722, 556, 722, 556, 604, 723, 556, 778, 556, 778, 556, 778, 556, 1000, 944, 722, 333, 722, 333, 722, 333, 667, 500, 667, 500, 667, 500, 667, 500, 611, 278, 611, 375, 611, 278, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 722, 556, 944, 722, 667, 500, 667, 611, 500, 611, 500, 611, 500, 222, 556, 667, 556, 1000, 889, 778, 611, 667, 500, 611, 278, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 333, 667, 278, 784, 838, 384, 774, 855, 752, 222, 667, 667, 551, 668, 667, 611, 722, 778, 278, 667, 668, 833, 722, 650, 778, 722, 667, 618, 611, 667, 798, 667, 835, 748, 278, 667, 578, 446, 556, 222, 547, 578, 575, 500, 557, 446, 441, 556, 556, 222, 500, 500, 576, 500, 448, 556, 690, 569, 482, 617, 395, 547, 648, 525, 713, 781, 222, 547, 556, 547, 781, 667, 667, 865, 542, 719, 667, 278, 278, 500, 1057, 1010, 854, 583, 722, 635, 719, 667, 656, 667, 542, 677, 667, 923, 604, 719, 719, 583, 656, 833, 722, 778, 719, 667, 722, 611, 635, 760, 667, 740, 667, 917, 938, 792, 885, 656, 719, 1010, 722, 556, 573, 531, 365, 583, 556, 669, 458, 559, 559, 438, 583, 688, 552, 556, 542, 556, 500, 458, 500, 823, 500, 573, 521, 802, 823, 625, 719, 521, 510, 750, 542, 556, 556, 556, 365, 510, 500, 222, 278, 222, 906, 812, 556, 438, 559, 500, 552, 778, 556, 489, 411, 944, 722, 944, 722, 944, 722, 667, 500, 333, 333, 556, 1000, 1000, 552, 222, 222, 222, 222, 333, 333, 333, 556, 556, 350, 1000, 1000, 188, 354, 333, 333, 500, 333, 167, 365, 556, 556, 1094, 556, 885, 323, 1073, 1000, 768, 600, 834, 834, 834, 834, 1000, 500, 1000, 500, 1000, 500, 500, 494, 612, 823, 713, 584, 549, 713, 979, 719, 274, 549, 549, 583, 549, 549, 604, 584, 604, 604, 708, 625, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 708, 729, 604, 604, 354, 354, 1000, 990, 990, 990, 990, 494, 604, 604, 604, 604, 354, 1021, 1052, 917, 750, 750, 531, 656, 594, 510, 500, 750, 750, 500, 500, 333, 333, 333, 333, 333, 333, 333, 333, 222, 222, 294, 294, 324, 324, 316, 328, 398, 285]; +exports.LiberationSansRegularWidths = LiberationSansRegularWidths; +const LiberationSansRegularMapping = [-1, -1, -1, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 402, 506, 507, 508, 509, 510, 511, 536, 537, 538, 539, 710, 711, 713, 728, 729, 730, 731, 732, 733, 900, 901, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, 929, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 973, 974, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1049, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1062, 1063, 1064, 1065, 1066, 1067, 1068, 1069, 1070, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1078, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1138, 1139, 1168, 1169, 7808, 7809, 7810, 7811, 7812, 7813, 7922, 7923, 8208, 8209, 8211, 8212, 8213, 8215, 8216, 8217, 8218, 8219, 8220, 8221, 8222, 8224, 8225, 8226, 8230, 8240, 8242, 8243, 8249, 8250, 8252, 8254, 8260, 8319, 8355, 8356, 8359, 8364, 8453, 8467, 8470, 8482, 8486, 8494, 8539, 8540, 8541, 8542, 8592, 8593, 8594, 8595, 8596, 8597, 8616, 8706, 8710, 8719, 8721, 8722, 8730, 8734, 8735, 8745, 8747, 8776, 8800, 8801, 8804, 8805, 8962, 8976, 8992, 8993, 9472, 9474, 9484, 9488, 9492, 9496, 9500, 9508, 9516, 9524, 9532, 9552, 9553, 9554, 9555, 9556, 9557, 9558, 9559, 9560, 9561, 9562, 9563, 9564, 9565, 9566, 9567, 9568, 9569, 9570, 9571, 9572, 9573, 9574, 9575, 9576, 9577, 9578, 9579, 9580, 9600, 9604, 9608, 9612, 9616, 9617, 9618, 9619, 9632, 9633, 9642, 9643, 9644, 9650, 9658, 9660, 9668, 9674, 9675, 9679, 9688, 9689, 9702, 9786, 9787, 9788, 9792, 9794, 9824, 9827, 9829, 9830, 9834, 9835, 9836, 61441, 61442, 61445, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; +exports.LiberationSansRegularMapping = LiberationSansRegularMapping; + +/***/ }), +/* 55 */ +/***/ ((__unused_webpack_module, exports) => { -class BaseLocalCache { - constructor(options) { - if (this.constructor === BaseLocalCache) { - unreachable("Cannot initialize BaseLocalCache."); - } - this._onlyRefs = options?.onlyRefs === true; - if (!this._onlyRefs) { - this._nameRefMap = new Map(); - this._imageMap = new Map(); - } - this._imageCache = new RefSetCache(); - } - getByName(name) { - if (this._onlyRefs) { - unreachable("Should not call `getByName` method."); - } - const ref = this._nameRefMap.get(name); - if (ref) { - return this.getByRef(ref); - } - return this._imageMap.get(name) || null; - } - getByRef(ref) { - return this._imageCache.get(ref) || null; - } - set(name, ref, data) { - unreachable("Abstract method `set` called."); - } -} -class LocalImageCache extends BaseLocalCache { - set(name, ref = null, data) { - if (typeof name !== "string") { - throw new Error('LocalImageCache.set - expected "name" argument.'); - } - if (ref) { - if (this._imageCache.has(ref)) { - return; - } - this._nameRefMap.set(name, ref); - this._imageCache.put(ref, data); - return; - } - if (this._imageMap.has(name)) { - return; - } - this._imageMap.set(name, data); - } -} -class LocalColorSpaceCache extends BaseLocalCache { - set(name = null, ref = null, data) { - if (typeof name !== "string" && !ref) { - throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.'); - } - if (ref) { - if (this._imageCache.has(ref)) { - return; - } - if (name !== null) { - this._nameRefMap.set(name, ref); - } - this._imageCache.put(ref, data); - return; - } - if (this._imageMap.has(name)) { - return; - } - this._imageMap.set(name, data); - } -} -class LocalFunctionCache extends BaseLocalCache { - constructor(options) { - super({ - onlyRefs: true - }); - } - set(name = null, ref, data) { - if (!ref) { - throw new Error('LocalFunctionCache.set - expected "ref" argument.'); - } - if (this._imageCache.has(ref)) { - return; - } - this._imageCache.put(ref, data); - } -} -class LocalGStateCache extends BaseLocalCache { - set(name, ref = null, data) { - if (typeof name !== "string") { - throw new Error('LocalGStateCache.set - expected "name" argument.'); - } - if (ref) { - if (this._imageCache.has(ref)) { - return; - } - this._nameRefMap.set(name, ref); - this._imageCache.put(ref, data); - return; - } - if (this._imageMap.has(name)) { - return; - } - this._imageMap.set(name, data); - } -} -class LocalTilingPatternCache extends BaseLocalCache { - constructor(options) { - super({ - onlyRefs: true - }); - } - set(name = null, ref, data) { - if (!ref) { - throw new Error('LocalTilingPatternCache.set - expected "ref" argument.'); - } - if (this._imageCache.has(ref)) { - return; - } - this._imageCache.put(ref, data); - } -} -class RegionalImageCache extends BaseLocalCache { - constructor(options) { - super({ - onlyRefs: true - }); - } - set(name = null, ref, data) { - if (!ref) { - throw new Error('RegionalImageCache.set - expected "ref" argument.'); - } - if (this._imageCache.has(ref)) { - return; - } - this._imageCache.put(ref, data); - } -} -class GlobalImageCache { - static NUM_PAGES_THRESHOLD = 2; - static MIN_IMAGES_TO_CACHE = 10; - static MAX_BYTE_SIZE = 5 * MAX_IMAGE_SIZE_TO_CACHE; - constructor() { - this._refCache = new RefSetCache(); - this._imageCache = new RefSetCache(); - } - get _byteSize() { - let byteSize = 0; - for (const imageData of this._imageCache) { - byteSize += imageData.byteSize; - } - return byteSize; - } - get _cacheLimitReached() { - if (this._imageCache.size < GlobalImageCache.MIN_IMAGES_TO_CACHE) { - return false; - } - if (this._byteSize < GlobalImageCache.MAX_BYTE_SIZE) { - return false; - } - return true; - } - shouldCache(ref, pageIndex) { - let pageIndexSet = this._refCache.get(ref); - if (!pageIndexSet) { - pageIndexSet = new Set(); - this._refCache.put(ref, pageIndexSet); - } - pageIndexSet.add(pageIndex); - if (pageIndexSet.size < GlobalImageCache.NUM_PAGES_THRESHOLD) { - return false; - } - if (!this._imageCache.has(ref) && this._cacheLimitReached) { - return false; - } - return true; - } - addByteSize(ref, byteSize) { - const imageData = this._imageCache.get(ref); - if (!imageData) { - return; - } - if (imageData.byteSize) { - return; - } - imageData.byteSize = byteSize; - } - getData(ref, pageIndex) { - const pageIndexSet = this._refCache.get(ref); - if (!pageIndexSet) { - return null; - } - if (pageIndexSet.size < GlobalImageCache.NUM_PAGES_THRESHOLD) { - return null; - } - const imageData = this._imageCache.get(ref); - if (!imageData) { - return null; - } - pageIndexSet.add(pageIndex); - return imageData; - } - setData(ref, data) { - if (!this._refCache.has(ref)) { - throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.'); - } - if (this._imageCache.has(ref)) { - return; - } - if (this._cacheLimitReached) { - warn("GlobalImageCache.setData - cache limit reached."); - return; - } - this._imageCache.put(ref, data); - } - clear(onlyData = false) { - if (!onlyData) { - this._refCache.clear(); - } - this._imageCache.clear(); - } -} - -;// CONCATENATED MODULE: ./src/core/function.js - - - - - - - +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MyriadProRegularMetrics = exports.MyriadProRegularFactors = exports.MyriadProItalicMetrics = exports.MyriadProItalicFactors = exports.MyriadProBoldMetrics = exports.MyriadProBoldItalicMetrics = exports.MyriadProBoldItalicFactors = exports.MyriadProBoldFactors = void 0; +const MyriadProBoldFactors = [1.36898, 1, 1, 0.72706, 0.80479, 0.83734, 0.98894, 0.99793, 0.9897, 0.93884, 0.86209, 0.94292, 0.94292, 1.16661, 1.02058, 0.93582, 0.96694, 0.93582, 1.19137, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.99793, 0.78076, 0.78076, 1.02058, 1.02058, 1.02058, 0.72851, 0.78966, 0.90838, 0.83637, 0.82391, 0.96376, 0.80061, 0.86275, 0.8768, 0.95407, 1.0258, 0.73901, 0.85022, 0.83655, 1.0156, 0.95546, 0.92179, 0.87107, 0.92179, 0.82114, 0.8096, 0.89713, 0.94438, 0.95353, 0.94083, 0.91905, 0.90406, 0.9446, 0.94292, 1.18777, 0.94292, 1.02058, 0.89903, 0.90088, 0.94938, 0.97898, 0.81093, 0.97571, 0.94938, 1.024, 0.9577, 0.95933, 0.98621, 1.0474, 0.97455, 0.98981, 0.9672, 0.95933, 0.9446, 0.97898, 0.97407, 0.97646, 0.78036, 1.10208, 0.95442, 0.95298, 0.97579, 0.9332, 0.94039, 0.938, 0.80687, 1.01149, 0.80687, 1.02058, 0.80479, 0.99793, 0.99793, 0.99793, 0.99793, 1.01149, 1.00872, 0.90088, 0.91882, 1.0213, 0.8361, 1.02058, 0.62295, 0.54324, 0.89022, 1.08595, 1, 1, 0.90088, 1, 0.97455, 0.93582, 0.90088, 1, 1.05686, 0.8361, 0.99642, 0.99642, 0.99642, 0.72851, 0.90838, 0.90838, 0.90838, 0.90838, 0.90838, 0.90838, 0.868, 0.82391, 0.80061, 0.80061, 0.80061, 0.80061, 1.0258, 1.0258, 1.0258, 1.0258, 0.97484, 0.95546, 0.92179, 0.92179, 0.92179, 0.92179, 0.92179, 1.02058, 0.92179, 0.94438, 0.94438, 0.94438, 0.94438, 0.90406, 0.86958, 0.98225, 0.94938, 0.94938, 0.94938, 0.94938, 0.94938, 0.94938, 0.9031, 0.81093, 0.94938, 0.94938, 0.94938, 0.94938, 0.98621, 0.98621, 0.98621, 0.98621, 0.93969, 0.95933, 0.9446, 0.9446, 0.9446, 0.9446, 0.9446, 1.08595, 0.9446, 0.95442, 0.95442, 0.95442, 0.95442, 0.94039, 0.97898, 0.94039, 0.90838, 0.94938, 0.90838, 0.94938, 0.90838, 0.94938, 0.82391, 0.81093, 0.82391, 0.81093, 0.82391, 0.81093, 0.82391, 0.81093, 0.96376, 0.84313, 0.97484, 0.97571, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.80061, 0.94938, 0.8768, 0.9577, 0.8768, 0.9577, 0.8768, 0.9577, 1, 1, 0.95407, 0.95933, 0.97069, 0.95933, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 1.0258, 0.98621, 0.887, 1.01591, 0.73901, 1.0474, 1, 1, 0.97455, 0.83655, 0.98981, 1, 1, 0.83655, 0.73977, 0.83655, 0.73903, 0.84638, 1.033, 0.95546, 0.95933, 1, 1, 0.95546, 0.95933, 0.8271, 0.95417, 0.95933, 0.92179, 0.9446, 0.92179, 0.9446, 0.92179, 0.9446, 0.936, 0.91964, 0.82114, 0.97646, 1, 1, 0.82114, 0.97646, 0.8096, 0.78036, 0.8096, 0.78036, 1, 1, 0.8096, 0.78036, 1, 1, 0.89713, 0.77452, 0.89713, 1.10208, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94438, 0.95442, 0.94083, 0.97579, 0.90406, 0.94039, 0.90406, 0.9446, 0.938, 0.9446, 0.938, 0.9446, 0.938, 1, 0.99793, 0.90838, 0.94938, 0.868, 0.9031, 0.92179, 0.9446, 1, 1, 0.89713, 1.10208, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90989, 0.9358, 0.91945, 0.83181, 0.75261, 0.87992, 0.82976, 0.96034, 0.83689, 0.97268, 1.0078, 0.90838, 0.83637, 0.8019, 0.90157, 0.80061, 0.9446, 0.95407, 0.92436, 1.0258, 0.85022, 0.97153, 1.0156, 0.95546, 0.89192, 0.92179, 0.92361, 0.87107, 0.96318, 0.89713, 0.93704, 0.95638, 0.91905, 0.91709, 0.92796, 1.0258, 0.93704, 0.94836, 1.0373, 0.95933, 1.0078, 0.95871, 0.94836, 0.96174, 0.92601, 0.9498, 0.98607, 0.95776, 0.95933, 1.05453, 1.0078, 0.98275, 0.9314, 0.95617, 0.91701, 1.05993, 0.9446, 0.78367, 0.9553, 1, 0.86832, 1.0128, 0.95871, 0.99394, 0.87548, 0.96361, 0.86774, 1.0078, 0.95871, 0.9446, 0.95871, 0.86774, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.94083, 0.97579, 0.94083, 0.97579, 0.94083, 0.97579, 0.90406, 0.94039, 0.96694, 1, 0.89903, 1, 1, 1, 0.93582, 0.93582, 0.93582, 1, 0.908, 0.908, 0.918, 0.94219, 0.94219, 0.96544, 1, 1.285, 1, 1, 0.81079, 0.81079, 1, 1, 0.74854, 1, 1, 1, 1, 0.99793, 1, 1, 1, 0.65, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.17173, 1, 0.80535, 0.76169, 1.02058, 1.0732, 1.05486, 1, 1, 1.30692, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.16161, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.MyriadProBoldFactors = MyriadProBoldFactors; +const MyriadProBoldMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.MyriadProBoldMetrics = MyriadProBoldMetrics; +const MyriadProBoldItalicFactors = [1.36898, 1, 1, 0.66227, 0.80779, 0.81625, 0.97276, 0.97276, 0.97733, 0.92222, 0.83266, 0.94292, 0.94292, 1.16148, 1.02058, 0.93582, 0.96694, 0.93582, 1.17337, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.97276, 0.78076, 0.78076, 1.02058, 1.02058, 1.02058, 0.71541, 0.76813, 0.85576, 0.80591, 0.80729, 0.94299, 0.77512, 0.83655, 0.86523, 0.92222, 0.98621, 0.71743, 0.81698, 0.79726, 0.98558, 0.92222, 0.90637, 0.83809, 0.90637, 0.80729, 0.76463, 0.86275, 0.90699, 0.91605, 0.9154, 0.85308, 0.85458, 0.90531, 0.94292, 1.21296, 0.94292, 1.02058, 0.89903, 1.18616, 0.99613, 0.91677, 0.78216, 0.91677, 0.90083, 0.98796, 0.9135, 0.92168, 0.95381, 0.98981, 0.95298, 0.95381, 0.93459, 0.92168, 0.91513, 0.92004, 0.91677, 0.95077, 0.748, 1.04502, 0.91677, 0.92061, 0.94236, 0.89544, 0.89364, 0.9, 0.80687, 0.8578, 0.80687, 1.02058, 0.80779, 0.97276, 0.97276, 0.97276, 0.97276, 0.8578, 0.99973, 1.18616, 0.91339, 1.08074, 0.82891, 1.02058, 0.55509, 0.71526, 0.89022, 1.08595, 1, 1, 1.18616, 1, 0.96736, 0.93582, 1.18616, 1, 1.04864, 0.82711, 0.99043, 0.99043, 0.99043, 0.71541, 0.85576, 0.85576, 0.85576, 0.85576, 0.85576, 0.85576, 0.845, 0.80729, 0.77512, 0.77512, 0.77512, 0.77512, 0.98621, 0.98621, 0.98621, 0.98621, 0.95961, 0.92222, 0.90637, 0.90637, 0.90637, 0.90637, 0.90637, 1.02058, 0.90251, 0.90699, 0.90699, 0.90699, 0.90699, 0.85458, 0.83659, 0.94951, 0.99613, 0.99613, 0.99613, 0.99613, 0.99613, 0.99613, 0.85811, 0.78216, 0.90083, 0.90083, 0.90083, 0.90083, 0.95381, 0.95381, 0.95381, 0.95381, 0.9135, 0.92168, 0.91513, 0.91513, 0.91513, 0.91513, 0.91513, 1.08595, 0.91677, 0.91677, 0.91677, 0.91677, 0.91677, 0.89364, 0.92332, 0.89364, 0.85576, 0.99613, 0.85576, 0.99613, 0.85576, 0.99613, 0.80729, 0.78216, 0.80729, 0.78216, 0.80729, 0.78216, 0.80729, 0.78216, 0.94299, 0.76783, 0.95961, 0.91677, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.77512, 0.90083, 0.86523, 0.9135, 0.86523, 0.9135, 0.86523, 0.9135, 1, 1, 0.92222, 0.92168, 0.92222, 0.92168, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.98621, 0.95381, 0.86036, 0.97096, 0.71743, 0.98981, 1, 1, 0.95298, 0.79726, 0.95381, 1, 1, 0.79726, 0.6894, 0.79726, 0.74321, 0.81691, 1.0006, 0.92222, 0.92168, 1, 1, 0.92222, 0.92168, 0.79464, 0.92098, 0.92168, 0.90637, 0.91513, 0.90637, 0.91513, 0.90637, 0.91513, 0.909, 0.87514, 0.80729, 0.95077, 1, 1, 0.80729, 0.95077, 0.76463, 0.748, 0.76463, 0.748, 1, 1, 0.76463, 0.748, 1, 1, 0.86275, 0.72651, 0.86275, 1.04502, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.90699, 0.91677, 0.9154, 0.94236, 0.85458, 0.89364, 0.85458, 0.90531, 0.9, 0.90531, 0.9, 0.90531, 0.9, 1, 0.97276, 0.85576, 0.99613, 0.845, 0.85811, 0.90251, 0.91677, 1, 1, 0.86275, 1.04502, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.18616, 1.00899, 1.30628, 0.85576, 0.80178, 0.66862, 0.7927, 0.69323, 0.88127, 0.72459, 0.89711, 0.95381, 0.85576, 0.80591, 0.7805, 0.94729, 0.77512, 0.90531, 0.92222, 0.90637, 0.98621, 0.81698, 0.92655, 0.98558, 0.92222, 0.85359, 0.90637, 0.90976, 0.83809, 0.94523, 0.86275, 0.83509, 0.93157, 0.85308, 0.83392, 0.92346, 0.98621, 0.83509, 0.92886, 0.91324, 0.92168, 0.95381, 0.90646, 0.92886, 0.90557, 0.86847, 0.90276, 0.91324, 0.86842, 0.92168, 0.99531, 0.95381, 0.9224, 0.85408, 0.92699, 0.86847, 1.0051, 0.91513, 0.80487, 0.93481, 1, 0.88159, 1.05214, 0.90646, 0.97355, 0.81539, 0.89398, 0.85923, 0.95381, 0.90646, 0.91513, 0.90646, 0.85923, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9154, 0.94236, 0.9154, 0.94236, 0.9154, 0.94236, 0.85458, 0.89364, 0.96694, 1, 0.89903, 1, 1, 1, 0.91782, 0.91782, 0.91782, 1, 0.896, 0.896, 0.896, 0.9332, 0.9332, 0.95973, 1, 1.26, 1, 1, 0.80479, 0.80178, 1, 1, 0.85633, 1, 1, 1, 1, 0.97276, 1, 1, 1, 0.698, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.14542, 1, 0.79199, 0.78694, 1.02058, 1.03493, 1.05486, 1, 1, 1.23026, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.20006, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.MyriadProBoldItalicFactors = MyriadProBoldItalicFactors; +const MyriadProBoldItalicMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.MyriadProBoldItalicMetrics = MyriadProBoldItalicMetrics; +const MyriadProItalicFactors = [1.36898, 1, 1, 0.65507, 0.84943, 0.85639, 0.88465, 0.88465, 0.86936, 0.88307, 0.86948, 0.85283, 0.85283, 1.06383, 1.02058, 0.75945, 0.9219, 0.75945, 1.17337, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.88465, 0.75945, 0.75945, 1.02058, 1.02058, 1.02058, 0.69046, 0.70926, 0.85158, 0.77812, 0.76852, 0.89591, 0.70466, 0.76125, 0.80094, 0.86822, 0.83864, 0.728, 0.77212, 0.79475, 0.93637, 0.87514, 0.8588, 0.76013, 0.8588, 0.72421, 0.69866, 0.77598, 0.85991, 0.80811, 0.87832, 0.78112, 0.77512, 0.8562, 1.0222, 1.18417, 1.0222, 1.27014, 0.89903, 1.15012, 0.93859, 0.94399, 0.846, 0.94399, 0.81453, 1.0186, 0.94219, 0.96017, 1.03075, 1.02175, 0.912, 1.03075, 0.96998, 0.96017, 0.93859, 0.94399, 0.94399, 0.95493, 0.746, 1.12658, 0.94578, 0.91, 0.979, 0.882, 0.882, 0.83, 0.85034, 0.83537, 0.85034, 1.02058, 0.70869, 0.88465, 0.88465, 0.88465, 0.88465, 0.83537, 0.90083, 1.15012, 0.9161, 0.94565, 0.73541, 1.02058, 0.53609, 0.69353, 0.79519, 1.08595, 1, 1, 1.15012, 1, 0.91974, 0.75945, 1.15012, 1, 0.9446, 0.73361, 0.9005, 0.9005, 0.9005, 0.62864, 0.85158, 0.85158, 0.85158, 0.85158, 0.85158, 0.85158, 0.773, 0.76852, 0.70466, 0.70466, 0.70466, 0.70466, 0.83864, 0.83864, 0.83864, 0.83864, 0.90561, 0.87514, 0.8588, 0.8588, 0.8588, 0.8588, 0.8588, 1.02058, 0.85751, 0.85991, 0.85991, 0.85991, 0.85991, 0.77512, 0.76013, 0.88075, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 0.8075, 0.846, 0.81453, 0.81453, 0.81453, 0.81453, 0.82424, 0.82424, 0.82424, 0.82424, 0.9278, 0.96017, 0.93859, 0.93859, 0.93859, 0.93859, 0.93859, 1.08595, 0.8562, 0.94578, 0.94578, 0.94578, 0.94578, 0.882, 0.94578, 0.882, 0.85158, 0.93859, 0.85158, 0.93859, 0.85158, 0.93859, 0.76852, 0.846, 0.76852, 0.846, 0.76852, 0.846, 0.76852, 0.846, 0.89591, 0.8544, 0.90561, 0.94399, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.70466, 0.81453, 0.80094, 0.94219, 0.80094, 0.94219, 0.80094, 0.94219, 1, 1, 0.86822, 0.96017, 0.86822, 0.96017, 0.83864, 0.82424, 0.83864, 0.82424, 0.83864, 0.82424, 0.83864, 1.03075, 0.83864, 0.82424, 0.81402, 1.02738, 0.728, 1.02175, 1, 1, 0.912, 0.79475, 1.03075, 1, 1, 0.79475, 0.83911, 0.79475, 0.66266, 0.80553, 1.06676, 0.87514, 0.96017, 1, 1, 0.87514, 0.96017, 0.86865, 0.87396, 0.96017, 0.8588, 0.93859, 0.8588, 0.93859, 0.8588, 0.93859, 0.867, 0.84759, 0.72421, 0.95493, 1, 1, 0.72421, 0.95493, 0.69866, 0.746, 0.69866, 0.746, 1, 1, 0.69866, 0.746, 1, 1, 0.77598, 0.88417, 0.77598, 1.12658, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.85991, 0.94578, 0.87832, 0.979, 0.77512, 0.882, 0.77512, 0.8562, 0.83, 0.8562, 0.83, 0.8562, 0.83, 1, 0.88465, 0.85158, 0.93859, 0.773, 0.8075, 0.85751, 0.8562, 1, 1, 0.77598, 1.12658, 1.15012, 1.15012, 1.15012, 1.15012, 1.15012, 1.15313, 1.15012, 1.15012, 1.15012, 1.08106, 1.03901, 0.85158, 0.77025, 0.62264, 0.7646, 0.65351, 0.86026, 0.69461, 0.89947, 1.03075, 0.85158, 0.77812, 0.76449, 0.88836, 0.70466, 0.8562, 0.86822, 0.8588, 0.83864, 0.77212, 0.85308, 0.93637, 0.87514, 0.82352, 0.8588, 0.85701, 0.76013, 0.89058, 0.77598, 0.8156, 0.82565, 0.78112, 0.77899, 0.89386, 0.83864, 0.8156, 0.9486, 0.92388, 0.96186, 1.03075, 0.91123, 0.9486, 0.93298, 0.878, 0.93942, 0.92388, 0.84596, 0.96186, 0.95119, 1.03075, 0.922, 0.88787, 0.95829, 0.88, 0.93559, 0.93859, 0.78815, 0.93758, 1, 0.89217, 1.03737, 0.91123, 0.93969, 0.77487, 0.85769, 0.86799, 1.03075, 0.91123, 0.93859, 0.91123, 0.86799, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.87832, 0.979, 0.87832, 0.979, 0.87832, 0.979, 0.77512, 0.882, 0.9219, 1, 0.89903, 1, 1, 1, 0.87321, 0.87321, 0.87321, 1, 1.027, 1.027, 1.027, 0.86847, 0.86847, 0.79121, 1, 1.124, 1, 1, 0.73572, 0.73572, 1, 1, 0.85034, 1, 1, 1, 1, 0.88465, 1, 1, 1, 0.669, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.04828, 1, 0.74948, 0.75187, 1.02058, 0.98391, 1.02119, 1, 1, 1.06233, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05233, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.MyriadProItalicFactors = MyriadProItalicFactors; +const MyriadProItalicMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.MyriadProItalicMetrics = MyriadProItalicMetrics; +const MyriadProRegularFactors = [1.36898, 1, 1, 0.76305, 0.82784, 0.94935, 0.89364, 0.92241, 0.89073, 0.90706, 0.98472, 0.85283, 0.85283, 1.0664, 1.02058, 0.74505, 0.9219, 0.74505, 1.23456, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.92241, 0.74505, 0.74505, 1.02058, 1.02058, 1.02058, 0.73002, 0.72601, 0.91755, 0.8126, 0.80314, 0.92222, 0.73764, 0.79726, 0.83051, 0.90284, 0.86023, 0.74, 0.8126, 0.84869, 0.96518, 0.91115, 0.8858, 0.79761, 0.8858, 0.74498, 0.73914, 0.81363, 0.89591, 0.83659, 0.89633, 0.85608, 0.8111, 0.90531, 1.0222, 1.22736, 1.0222, 1.27014, 0.89903, 0.90088, 0.86667, 1.0231, 0.896, 1.01411, 0.90083, 1.05099, 1.00512, 0.99793, 1.05326, 1.09377, 0.938, 1.06226, 1.00119, 0.99793, 0.98714, 1.0231, 1.01231, 0.98196, 0.792, 1.19137, 0.99074, 0.962, 1.01915, 0.926, 0.942, 0.856, 0.85034, 0.92006, 0.85034, 1.02058, 0.69067, 0.92241, 0.92241, 0.92241, 0.92241, 0.92006, 0.9332, 0.90088, 0.91882, 0.93484, 0.75339, 1.02058, 0.56866, 0.54324, 0.79519, 1.08595, 1, 1, 0.90088, 1, 0.95325, 0.74505, 0.90088, 1, 0.97198, 0.75339, 0.91009, 0.91009, 0.91009, 0.66466, 0.91755, 0.91755, 0.91755, 0.91755, 0.91755, 0.91755, 0.788, 0.80314, 0.73764, 0.73764, 0.73764, 0.73764, 0.86023, 0.86023, 0.86023, 0.86023, 0.92915, 0.91115, 0.8858, 0.8858, 0.8858, 0.8858, 0.8858, 1.02058, 0.8858, 0.89591, 0.89591, 0.89591, 0.89591, 0.8111, 0.79611, 0.89713, 0.86667, 0.86667, 0.86667, 0.86667, 0.86667, 0.86667, 0.86936, 0.896, 0.90083, 0.90083, 0.90083, 0.90083, 0.84224, 0.84224, 0.84224, 0.84224, 0.97276, 0.99793, 0.98714, 0.98714, 0.98714, 0.98714, 0.98714, 1.08595, 0.89876, 0.99074, 0.99074, 0.99074, 0.99074, 0.942, 1.0231, 0.942, 0.91755, 0.86667, 0.91755, 0.86667, 0.91755, 0.86667, 0.80314, 0.896, 0.80314, 0.896, 0.80314, 0.896, 0.80314, 0.896, 0.92222, 0.93372, 0.92915, 1.01411, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.73764, 0.90083, 0.83051, 1.00512, 0.83051, 1.00512, 0.83051, 1.00512, 1, 1, 0.90284, 0.99793, 0.90976, 0.99793, 0.86023, 0.84224, 0.86023, 0.84224, 0.86023, 0.84224, 0.86023, 1.05326, 0.86023, 0.84224, 0.82873, 1.07469, 0.74, 1.09377, 1, 1, 0.938, 0.84869, 1.06226, 1, 1, 0.84869, 0.83704, 0.84869, 0.81441, 0.85588, 1.08927, 0.91115, 0.99793, 1, 1, 0.91115, 0.99793, 0.91887, 0.90991, 0.99793, 0.8858, 0.98714, 0.8858, 0.98714, 0.8858, 0.98714, 0.894, 0.91434, 0.74498, 0.98196, 1, 1, 0.74498, 0.98196, 0.73914, 0.792, 0.73914, 0.792, 1, 1, 0.73914, 0.792, 1, 1, 0.81363, 0.904, 0.81363, 1.19137, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89591, 0.99074, 0.89633, 1.01915, 0.8111, 0.942, 0.8111, 0.90531, 0.856, 0.90531, 0.856, 0.90531, 0.856, 1, 0.92241, 0.91755, 0.86667, 0.788, 0.86936, 0.8858, 0.89876, 1, 1, 0.81363, 1.19137, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90088, 0.90388, 1.03901, 0.92138, 0.78105, 0.7154, 0.86169, 0.80513, 0.94007, 0.82528, 0.98612, 1.06226, 0.91755, 0.8126, 0.81884, 0.92819, 0.73764, 0.90531, 0.90284, 0.8858, 0.86023, 0.8126, 0.91172, 0.96518, 0.91115, 0.83089, 0.8858, 0.87791, 0.79761, 0.89297, 0.81363, 0.88157, 0.89992, 0.85608, 0.81992, 0.94307, 0.86023, 0.88157, 0.95308, 0.98699, 0.99793, 1.06226, 0.95817, 0.95308, 0.97358, 0.928, 0.98088, 0.98699, 0.92761, 0.99793, 0.96017, 1.06226, 0.986, 0.944, 0.95978, 0.938, 0.96705, 0.98714, 0.80442, 0.98972, 1, 0.89762, 1.04552, 0.95817, 0.99007, 0.87064, 0.91879, 0.88888, 1.06226, 0.95817, 0.98714, 0.95817, 0.88888, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.89633, 1.01915, 0.89633, 1.01915, 0.89633, 1.01915, 0.8111, 0.942, 0.9219, 1, 0.89903, 1, 1, 1, 0.93173, 0.93173, 0.93173, 1, 1.06304, 1.06304, 1.06904, 0.89903, 0.89903, 0.80549, 1, 1.156, 1, 1, 0.76575, 0.76575, 1, 1, 0.72458, 1, 1, 1, 1, 0.92241, 1, 1, 1, 0.619, 1, 1.36145, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.07257, 1, 0.74705, 0.71119, 1.02058, 1.024, 1.02119, 1, 1, 1.1536, 1.08595, 1.08595, 1, 1.08595, 1.08595, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.05638, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.MyriadProRegularFactors = MyriadProRegularFactors; +const MyriadProRegularMetrics = { + lineHeight: 1.2, + lineGap: 0.2 +}; +exports.MyriadProRegularMetrics = MyriadProRegularMetrics; +/***/ }), +/* 56 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SegoeuiRegularMetrics = exports.SegoeuiRegularFactors = exports.SegoeuiItalicMetrics = exports.SegoeuiItalicFactors = exports.SegoeuiBoldMetrics = exports.SegoeuiBoldItalicMetrics = exports.SegoeuiBoldItalicFactors = exports.SegoeuiBoldFactors = void 0; +const SegoeuiBoldFactors = [1.76738, 1, 1, 0.99297, 0.9824, 1.04016, 1.06497, 1.03424, 0.97529, 1.17647, 1.23203, 1.1085, 1.1085, 1.16939, 1.2107, 0.9754, 1.21408, 0.9754, 1.59578, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 1.03424, 0.81378, 0.81378, 1.2107, 1.2107, 1.2107, 0.71703, 0.97847, 0.97363, 0.88776, 0.8641, 1.02096, 0.79795, 0.85132, 0.914, 1.06085, 1.1406, 0.8007, 0.89858, 0.83693, 1.14889, 1.09398, 0.97489, 0.92094, 0.97489, 0.90399, 0.84041, 0.95923, 1.00135, 1, 1.06467, 0.98243, 0.90996, 0.99361, 1.1085, 1.56942, 1.1085, 1.2107, 0.74627, 0.94282, 0.96752, 1.01519, 0.86304, 1.01359, 0.97278, 1.15103, 1.01359, 0.98561, 1.02285, 1.02285, 1.00527, 1.02285, 1.0302, 0.99041, 1.0008, 1.01519, 1.01359, 1.02258, 0.79104, 1.16862, 0.99041, 0.97454, 1.02511, 0.99298, 0.96752, 0.95801, 0.94856, 1.16579, 0.94856, 1.2107, 0.9824, 1.03424, 1.03424, 1, 1.03424, 1.16579, 0.8727, 1.3871, 1.18622, 1.10818, 1.04478, 1.2107, 1.18622, 0.75155, 0.94994, 1.28826, 1.21408, 1.21408, 0.91056, 1, 0.91572, 0.9754, 0.64663, 1.18328, 1.24866, 1.04478, 1.14169, 1.15749, 1.17389, 0.71703, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.93506, 0.8641, 0.79795, 0.79795, 0.79795, 0.79795, 1.1406, 1.1406, 1.1406, 1.1406, 1.02096, 1.09398, 0.97426, 0.97426, 0.97426, 0.97426, 0.97426, 1.2107, 0.97489, 1.00135, 1.00135, 1.00135, 1.00135, 0.90996, 0.92094, 1.02798, 0.96752, 0.96752, 0.96752, 0.96752, 0.96752, 0.96752, 0.93136, 0.86304, 0.97278, 0.97278, 0.97278, 0.97278, 1.02285, 1.02285, 1.02285, 1.02285, 0.97122, 0.99041, 1, 1, 1, 1, 1, 1.28826, 1.0008, 0.99041, 0.99041, 0.99041, 0.99041, 0.96752, 1.01519, 0.96752, 0.97363, 0.96752, 0.97363, 0.96752, 0.97363, 0.96752, 0.8641, 0.86304, 0.8641, 0.86304, 0.8641, 0.86304, 0.8641, 0.86304, 1.02096, 1.03057, 1.02096, 1.03517, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.79795, 0.97278, 0.914, 1.01359, 0.914, 1.01359, 0.914, 1.01359, 1, 1, 1.06085, 0.98561, 1.06085, 1.00879, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 1.1406, 1.02285, 0.97138, 1.08692, 0.8007, 1.02285, 1, 1, 1.00527, 0.83693, 1.02285, 1, 1, 0.83693, 0.9455, 0.83693, 0.90418, 0.83693, 1.13005, 1.09398, 0.99041, 1, 1, 1.09398, 0.99041, 0.96692, 1.09251, 0.99041, 0.97489, 1.0008, 0.97489, 1.0008, 0.97489, 1.0008, 0.93994, 0.97931, 0.90399, 1.02258, 1, 1, 0.90399, 1.02258, 0.84041, 0.79104, 0.84041, 0.79104, 0.84041, 0.79104, 0.84041, 0.79104, 1, 1, 0.95923, 1.07034, 0.95923, 1.16862, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.00135, 0.99041, 1.06467, 1.02511, 0.90996, 0.96752, 0.90996, 0.99361, 0.95801, 0.99361, 0.95801, 0.99361, 0.95801, 1.07733, 1.03424, 0.97363, 0.96752, 0.93506, 0.93136, 0.97489, 1.0008, 1, 1, 0.95923, 1.16862, 1.15103, 1.15103, 1.01173, 1.03959, 0.75953, 0.81378, 0.79912, 1.15103, 1.21994, 0.95161, 0.87815, 1.01149, 0.81525, 0.7676, 0.98167, 1.01134, 1.02546, 0.84097, 1.03089, 1.18102, 0.97363, 0.88776, 0.85134, 0.97826, 0.79795, 0.99361, 1.06085, 0.97489, 1.1406, 0.89858, 1.0388, 1.14889, 1.09398, 0.86039, 0.97489, 1.0595, 0.92094, 0.94793, 0.95923, 0.90996, 0.99346, 0.98243, 1.02112, 0.95493, 1.1406, 0.90996, 1.03574, 1.02597, 1.0008, 1.18102, 1.06628, 1.03574, 1.0192, 1.01932, 1.00886, 0.97531, 1.0106, 1.0008, 1.13189, 1.18102, 1.02277, 0.98683, 1.0016, 0.99561, 1.07237, 1.0008, 0.90434, 0.99921, 0.93803, 0.8965, 1.23085, 1.06628, 1.04983, 0.96268, 1.0499, 0.98439, 1.18102, 1.06628, 1.0008, 1.06628, 0.98439, 0.79795, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.09466, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.97278, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.02065, 1, 1, 1, 1, 1, 1, 1.06467, 1.02511, 1.06467, 1.02511, 1.06467, 1.02511, 0.90996, 0.96752, 1, 1.21408, 0.89903, 1, 1, 0.75155, 1.04394, 1.04394, 1.04394, 1.04394, 0.98633, 0.98633, 0.98633, 0.73047, 0.73047, 1.20642, 0.91211, 1.25635, 1.222, 1.02956, 1.03372, 1.03372, 0.96039, 1.24633, 1, 1.12454, 0.93503, 1.03424, 1.19687, 1.03424, 1, 1, 1, 0.771, 1, 1, 1.15749, 1.15749, 1.15749, 1.10948, 0.86279, 0.94434, 0.86279, 0.94434, 0.86182, 1, 1, 1.16897, 1, 0.96085, 0.90137, 1.2107, 1.18416, 1.13973, 0.69825, 0.9716, 2.10339, 1.29004, 1.29004, 1.21172, 1.29004, 1.29004, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18874, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.09193, 1.09193, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.SegoeuiBoldFactors = SegoeuiBoldFactors; +const SegoeuiBoldMetrics = { + lineHeight: 1.33008, + lineGap: 0 +}; +exports.SegoeuiBoldMetrics = SegoeuiBoldMetrics; +const SegoeuiBoldItalicFactors = [1.76738, 1, 1, 0.98946, 1.03959, 1.04016, 1.02809, 1.036, 0.97639, 1.10953, 1.23203, 1.11144, 1.11144, 1.16939, 1.21237, 0.9754, 1.21261, 0.9754, 1.59754, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 1.036, 0.81378, 0.81378, 1.21237, 1.21237, 1.21237, 0.73541, 0.97847, 0.97363, 0.89723, 0.87897, 1.0426, 0.79429, 0.85292, 0.91149, 1.05815, 1.1406, 0.79631, 0.90128, 0.83853, 1.04396, 1.10615, 0.97552, 0.94436, 0.97552, 0.88641, 0.80527, 0.96083, 1.00135, 1, 1.06777, 0.9817, 0.91142, 0.99361, 1.11144, 1.57293, 1.11144, 1.21237, 0.74627, 1.31818, 1.06585, 0.97042, 0.83055, 0.97042, 0.93503, 1.1261, 0.97042, 0.97922, 1.14236, 0.94552, 1.01054, 1.14236, 1.02471, 0.97922, 0.94165, 0.97042, 0.97042, 1.0276, 0.78929, 1.1261, 0.97922, 0.95874, 1.02197, 0.98507, 0.96752, 0.97168, 0.95107, 1.16579, 0.95107, 1.21237, 1.03959, 1.036, 1.036, 1, 1.036, 1.16579, 0.87357, 1.31818, 1.18754, 1.26781, 1.05356, 1.21237, 1.18622, 0.79487, 0.94994, 1.29004, 1.24047, 1.24047, 1.31818, 1, 0.91484, 0.9754, 1.31818, 1.1349, 1.24866, 1.05356, 1.13934, 1.15574, 1.17389, 0.73541, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.97363, 0.94385, 0.87897, 0.79429, 0.79429, 0.79429, 0.79429, 1.1406, 1.1406, 1.1406, 1.1406, 1.0426, 1.10615, 0.97552, 0.97552, 0.97552, 0.97552, 0.97552, 1.21237, 0.97552, 1.00135, 1.00135, 1.00135, 1.00135, 0.91142, 0.94436, 0.98721, 1.06585, 1.06585, 1.06585, 1.06585, 1.06585, 1.06585, 0.96705, 0.83055, 0.93503, 0.93503, 0.93503, 0.93503, 1.14236, 1.14236, 1.14236, 1.14236, 0.93125, 0.97922, 0.94165, 0.94165, 0.94165, 0.94165, 0.94165, 1.29004, 0.94165, 0.97922, 0.97922, 0.97922, 0.97922, 0.96752, 0.97042, 0.96752, 0.97363, 1.06585, 0.97363, 1.06585, 0.97363, 1.06585, 0.87897, 0.83055, 0.87897, 0.83055, 0.87897, 0.83055, 0.87897, 0.83055, 1.0426, 1.0033, 1.0426, 0.97042, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.79429, 0.93503, 0.91149, 0.97042, 0.91149, 0.97042, 0.91149, 0.97042, 1, 1, 1.05815, 0.97922, 1.05815, 0.97922, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 1.1406, 1.14236, 0.97441, 1.04302, 0.79631, 1.01582, 1, 1, 1.01054, 0.83853, 1.14236, 1, 1, 0.83853, 1.09125, 0.83853, 0.90418, 0.83853, 1.19508, 1.10615, 0.97922, 1, 1, 1.10615, 0.97922, 1.01034, 1.10466, 0.97922, 0.97552, 0.94165, 0.97552, 0.94165, 0.97552, 0.94165, 0.91602, 0.91981, 0.88641, 1.0276, 1, 1, 0.88641, 1.0276, 0.80527, 0.78929, 0.80527, 0.78929, 0.80527, 0.78929, 0.80527, 0.78929, 1, 1, 0.96083, 1.05403, 0.95923, 1.16862, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.00135, 0.97922, 1.06777, 1.02197, 0.91142, 0.96752, 0.91142, 0.99361, 0.97168, 0.99361, 0.97168, 0.99361, 0.97168, 1.23199, 1.036, 0.97363, 1.06585, 0.94385, 0.96705, 0.97552, 0.94165, 1, 1, 0.96083, 1.1261, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 1.31818, 0.95161, 1.27126, 1.00811, 0.83284, 0.77702, 0.99137, 0.95253, 1.0347, 0.86142, 1.07205, 1.14236, 0.97363, 0.89723, 0.86869, 1.09818, 0.79429, 0.99361, 1.05815, 0.97552, 1.1406, 0.90128, 1.06662, 1.04396, 1.10615, 0.84918, 0.97552, 1.04694, 0.94436, 0.98015, 0.96083, 0.91142, 1.00356, 0.9817, 1.01945, 0.98999, 1.1406, 0.91142, 1.04961, 0.9898, 1.00639, 1.14236, 1.07514, 1.04961, 0.99607, 1.02897, 1.008, 0.9898, 0.95134, 1.00639, 1.11121, 1.14236, 1.00518, 0.97981, 1.02186, 1, 1.08578, 0.94165, 0.99314, 0.98387, 0.93028, 0.93377, 1.35125, 1.07514, 1.10687, 0.93491, 1.04232, 1.00351, 1.14236, 1.07514, 0.94165, 1.07514, 1.00351, 0.79429, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.09097, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.93503, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.96609, 1, 1, 1, 1, 1, 1, 1.06777, 1.02197, 1.06777, 1.02197, 1.06777, 1.02197, 0.91142, 0.96752, 1, 1.21261, 0.89903, 1, 1, 0.75155, 1.04745, 1.04745, 1.04745, 1.04394, 0.98633, 0.98633, 0.98633, 0.72959, 0.72959, 1.20502, 0.91406, 1.26514, 1.222, 1.02956, 1.03372, 1.03372, 0.96039, 1.24633, 1, 1.09125, 0.93327, 1.03336, 1.16541, 1.036, 1, 1, 1, 0.771, 1, 1, 1.15574, 1.15574, 1.15574, 1.15574, 0.86364, 0.94434, 0.86279, 0.94434, 0.86224, 1, 1, 1.16798, 1, 0.96085, 0.90068, 1.21237, 1.18416, 1.13904, 0.69825, 0.9716, 2.10339, 1.29004, 1.29004, 1.21339, 1.29004, 1.29004, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18775, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.13269, 1.13269, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.SegoeuiBoldItalicFactors = SegoeuiBoldItalicFactors; +const SegoeuiBoldItalicMetrics = { + lineHeight: 1.33008, + lineGap: 0 +}; +exports.SegoeuiBoldItalicMetrics = SegoeuiBoldItalicMetrics; +const SegoeuiItalicFactors = [1.76738, 1, 1, 0.98946, 1.14763, 1.05365, 1.06234, 0.96927, 0.92586, 1.15373, 1.18414, 0.91349, 0.91349, 1.07403, 1.17308, 0.78383, 1.20088, 0.78383, 1.42531, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.78383, 0.78383, 1.17308, 1.17308, 1.17308, 0.77349, 0.94565, 0.94729, 0.85944, 0.88506, 0.9858, 0.74817, 0.80016, 0.88449, 0.98039, 0.95782, 0.69238, 0.89898, 0.83231, 0.98183, 1.03989, 0.96924, 0.86237, 0.96924, 0.80595, 0.74524, 0.86091, 0.95402, 0.94143, 0.98448, 0.8858, 0.83089, 0.93285, 1.0949, 1.39016, 1.0949, 1.45994, 0.74627, 1.04839, 0.97454, 0.97454, 0.87207, 0.97454, 0.87533, 1.06151, 0.97454, 1.00176, 1.16484, 1.08132, 0.98047, 1.16484, 1.02989, 1.01054, 0.96225, 0.97454, 0.97454, 1.06598, 0.79004, 1.16344, 1.00351, 0.94629, 0.9973, 0.91016, 0.96777, 0.9043, 0.91082, 0.92481, 0.91082, 1.17308, 0.95748, 0.96927, 0.96927, 1, 0.96927, 0.92481, 0.80597, 1.04839, 1.23393, 1.1781, 0.9245, 1.17308, 1.20808, 0.63218, 0.94261, 1.24822, 1.09971, 1.09971, 1.04839, 1, 0.85273, 0.78032, 1.04839, 1.09971, 1.22326, 0.9245, 1.09836, 1.13525, 1.15222, 0.70424, 0.94729, 0.94729, 0.94729, 0.94729, 0.94729, 0.94729, 0.85498, 0.88506, 0.74817, 0.74817, 0.74817, 0.74817, 0.95782, 0.95782, 0.95782, 0.95782, 0.9858, 1.03989, 0.96924, 0.96924, 0.96924, 0.96924, 0.96924, 1.17308, 0.96924, 0.95402, 0.95402, 0.95402, 0.95402, 0.83089, 0.86237, 0.88409, 0.97454, 0.97454, 0.97454, 0.97454, 0.97454, 0.97454, 0.92916, 0.87207, 0.87533, 0.87533, 0.87533, 0.87533, 0.93146, 0.93146, 0.93146, 0.93146, 0.93854, 1.01054, 0.96225, 0.96225, 0.96225, 0.96225, 0.96225, 1.24822, 0.8761, 1.00351, 1.00351, 1.00351, 1.00351, 0.96777, 0.97454, 0.96777, 0.94729, 0.97454, 0.94729, 0.97454, 0.94729, 0.97454, 0.88506, 0.87207, 0.88506, 0.87207, 0.88506, 0.87207, 0.88506, 0.87207, 0.9858, 0.95391, 0.9858, 0.97454, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.74817, 0.87533, 0.88449, 0.97454, 0.88449, 0.97454, 0.88449, 0.97454, 1, 1, 0.98039, 1.00176, 0.98039, 1.00176, 0.95782, 0.93146, 0.95782, 0.93146, 0.95782, 0.93146, 0.95782, 1.16484, 0.95782, 0.93146, 0.84421, 1.12761, 0.69238, 1.08132, 1, 1, 0.98047, 0.83231, 1.16484, 1, 1, 0.84723, 1.04861, 0.84723, 0.78755, 0.83231, 1.23736, 1.03989, 1.01054, 1, 1, 1.03989, 1.01054, 0.9857, 1.03849, 1.01054, 0.96924, 0.96225, 0.96924, 0.96225, 0.96924, 0.96225, 0.92383, 0.90171, 0.80595, 1.06598, 1, 1, 0.80595, 1.06598, 0.74524, 0.79004, 0.74524, 0.79004, 0.74524, 0.79004, 0.74524, 0.79004, 1, 1, 0.86091, 1.02759, 0.85771, 1.16344, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.95402, 1.00351, 0.98448, 0.9973, 0.83089, 0.96777, 0.83089, 0.93285, 0.9043, 0.93285, 0.9043, 0.93285, 0.9043, 1.31868, 0.96927, 0.94729, 0.97454, 0.85498, 0.92916, 0.96924, 0.8761, 1, 1, 0.86091, 1.16344, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 1.04839, 0.81965, 0.81965, 0.94729, 0.78032, 0.71022, 0.90883, 0.84171, 0.99877, 0.77596, 1.05734, 1.2, 0.94729, 0.85944, 0.82791, 0.9607, 0.74817, 0.93285, 0.98039, 0.96924, 0.95782, 0.89898, 0.98316, 0.98183, 1.03989, 0.78614, 0.96924, 0.97642, 0.86237, 0.86075, 0.86091, 0.83089, 0.90082, 0.8858, 0.97296, 1.01284, 0.95782, 0.83089, 1.0976, 1.04, 1.03342, 1.2, 1.0675, 1.0976, 0.98205, 1.03809, 1.05097, 1.04, 0.95364, 1.03342, 1.05401, 1.2, 1.02148, 1.0119, 1.04724, 1.0127, 1.02732, 0.96225, 0.8965, 0.97783, 0.93574, 0.94818, 1.30679, 1.0675, 1.11826, 0.99821, 1.0557, 1.0326, 1.2, 1.0675, 0.96225, 1.0675, 1.0326, 0.74817, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.03754, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.87533, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.98705, 1, 1, 1, 1, 1, 1, 0.98448, 0.9973, 0.98448, 0.9973, 0.98448, 0.9973, 0.83089, 0.96777, 1, 1.20088, 0.89903, 1, 1, 0.75155, 0.94945, 0.94945, 0.94945, 0.94945, 1.12317, 1.12317, 1.12317, 0.67603, 0.67603, 1.15621, 0.73584, 1.21191, 1.22135, 1.06483, 0.94868, 0.94868, 0.95996, 1.24633, 1, 1.07497, 0.87709, 0.96927, 1.01473, 0.96927, 1, 1, 1, 0.77295, 1, 1, 1.09836, 1.09836, 1.09836, 1.01522, 0.86321, 0.94434, 0.8649, 0.94434, 0.86182, 1, 1, 1.083, 1, 0.91578, 0.86438, 1.17308, 1.18416, 1.14589, 0.69825, 0.97622, 1.96791, 1.24822, 1.24822, 1.17308, 1.24822, 1.24822, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.17984, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.10742, 1.10742, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.SegoeuiItalicFactors = SegoeuiItalicFactors; +const SegoeuiItalicMetrics = { + lineHeight: 1.33008, + lineGap: 0 +}; +exports.SegoeuiItalicMetrics = SegoeuiItalicMetrics; +const SegoeuiRegularFactors = [1.76738, 1, 1, 0.98594, 1.02285, 1.10454, 1.06234, 0.96927, 0.92037, 1.19985, 1.2046, 0.90616, 0.90616, 1.07152, 1.1714, 0.78032, 1.20088, 0.78032, 1.40246, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.96927, 0.78032, 0.78032, 1.1714, 1.1714, 1.1714, 0.80597, 0.94084, 0.96706, 0.85944, 0.85734, 0.97093, 0.75842, 0.79936, 0.88198, 0.9831, 0.95782, 0.71387, 0.86969, 0.84636, 1.07796, 1.03584, 0.96924, 0.83968, 0.96924, 0.82826, 0.79649, 0.85771, 0.95132, 0.93119, 0.98965, 0.88433, 0.8287, 0.93365, 1.08612, 1.3638, 1.08612, 1.45786, 0.74627, 0.80499, 0.91484, 1.05707, 0.92383, 1.05882, 0.9403, 1.12654, 1.05882, 1.01756, 1.09011, 1.09011, 0.99414, 1.09011, 1.034, 1.01756, 1.05356, 1.05707, 1.05882, 1.04399, 0.84863, 1.21968, 1.01756, 0.95801, 1.00068, 0.91797, 0.96777, 0.9043, 0.90351, 0.92105, 0.90351, 1.1714, 0.85337, 0.96927, 0.96927, 0.99912, 0.96927, 0.92105, 0.80597, 1.2434, 1.20808, 1.05937, 0.90957, 1.1714, 1.20808, 0.75155, 0.94261, 1.24644, 1.09971, 1.09971, 0.84751, 1, 0.85273, 0.78032, 0.61584, 1.05425, 1.17914, 0.90957, 1.08665, 1.11593, 1.14169, 0.73381, 0.96706, 0.96706, 0.96706, 0.96706, 0.96706, 0.96706, 0.86035, 0.85734, 0.75842, 0.75842, 0.75842, 0.75842, 0.95782, 0.95782, 0.95782, 0.95782, 0.97093, 1.03584, 0.96924, 0.96924, 0.96924, 0.96924, 0.96924, 1.1714, 0.96924, 0.95132, 0.95132, 0.95132, 0.95132, 0.8287, 0.83968, 0.89049, 0.91484, 0.91484, 0.91484, 0.91484, 0.91484, 0.91484, 0.93575, 0.92383, 0.9403, 0.9403, 0.9403, 0.9403, 0.8717, 0.8717, 0.8717, 0.8717, 1.00527, 1.01756, 1.05356, 1.05356, 1.05356, 1.05356, 1.05356, 1.24644, 0.95923, 1.01756, 1.01756, 1.01756, 1.01756, 0.96777, 1.05707, 0.96777, 0.96706, 0.91484, 0.96706, 0.91484, 0.96706, 0.91484, 0.85734, 0.92383, 0.85734, 0.92383, 0.85734, 0.92383, 0.85734, 0.92383, 0.97093, 1.0969, 0.97093, 1.05882, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.75842, 0.9403, 0.88198, 1.05882, 0.88198, 1.05882, 0.88198, 1.05882, 1, 1, 0.9831, 1.01756, 0.9831, 1.01756, 0.95782, 0.8717, 0.95782, 0.8717, 0.95782, 0.8717, 0.95782, 1.09011, 0.95782, 0.8717, 0.84784, 1.11551, 0.71387, 1.09011, 1, 1, 0.99414, 0.84636, 1.09011, 1, 1, 0.84636, 1.0536, 0.84636, 0.94298, 0.84636, 1.23297, 1.03584, 1.01756, 1, 1, 1.03584, 1.01756, 1.00323, 1.03444, 1.01756, 0.96924, 1.05356, 0.96924, 1.05356, 0.96924, 1.05356, 0.93066, 0.98293, 0.82826, 1.04399, 1, 1, 0.82826, 1.04399, 0.79649, 0.84863, 0.79649, 0.84863, 0.79649, 0.84863, 0.79649, 0.84863, 1, 1, 0.85771, 1.17318, 0.85771, 1.21968, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.95132, 1.01756, 0.98965, 1.00068, 0.8287, 0.96777, 0.8287, 0.93365, 0.9043, 0.93365, 0.9043, 0.93365, 0.9043, 1.08571, 0.96927, 0.96706, 0.91484, 0.86035, 0.93575, 0.96924, 0.95923, 1, 1, 0.85771, 1.21968, 1.11437, 1.11437, 0.93109, 0.91202, 0.60411, 0.84164, 0.55572, 1.01173, 0.97361, 0.81818, 0.81818, 0.96635, 0.78032, 0.72727, 0.92366, 0.98601, 1.03405, 0.77968, 1.09799, 1.2, 0.96706, 0.85944, 0.85638, 0.96491, 0.75842, 0.93365, 0.9831, 0.96924, 0.95782, 0.86969, 0.94152, 1.07796, 1.03584, 0.78437, 0.96924, 0.98715, 0.83968, 0.83491, 0.85771, 0.8287, 0.94492, 0.88433, 0.9287, 1.0098, 0.95782, 0.8287, 1.0625, 0.98248, 1.03424, 1.2, 1.01071, 1.0625, 0.95246, 1.03809, 1.04912, 0.98248, 1.00221, 1.03424, 1.05443, 1.2, 1.04785, 0.99609, 1.00169, 1.05176, 0.99346, 1.05356, 0.9087, 1.03004, 0.95542, 0.93117, 1.23362, 1.01071, 1.07831, 1.02512, 1.05205, 1.03502, 1.2, 1.01071, 1.05356, 1.01071, 1.03502, 0.75842, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.03719, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.9403, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.04021, 1, 1, 1, 1, 1, 1, 0.98965, 1.00068, 0.98965, 1.00068, 0.98965, 1.00068, 0.8287, 0.96777, 1, 1.20088, 0.89903, 1, 1, 0.75155, 1.03077, 1.03077, 1.03077, 1.03077, 1.13196, 1.13196, 1.13196, 0.67428, 0.67428, 1.16039, 0.73291, 1.20996, 1.22135, 1.06483, 0.94868, 0.94868, 0.95996, 1.24633, 1, 1.07497, 0.87796, 0.96927, 1.01518, 0.96927, 1, 1, 1, 0.77295, 1, 1, 1.10539, 1.10539, 1.11358, 1.06967, 0.86279, 0.94434, 0.86279, 0.94434, 0.86182, 1, 1, 1.083, 1, 0.91578, 0.86507, 1.1714, 1.18416, 1.14589, 0.69825, 0.97622, 1.9697, 1.24822, 1.24822, 1.17238, 1.24822, 1.24822, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.42603, 1, 0.99862, 0.99862, 1, 0.87025, 0.87025, 0.87025, 0.87025, 1.18083, 1.42603, 1, 1.42603, 1.42603, 0.99862, 1, 1, 1, 1, 1, 1.2886, 1.04315, 1.15296, 1.34163, 1, 1, 1, 1.10938, 1.10938, 1, 1, 1, 1.05425, 1.09971, 1.09971, 1.09971, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; +exports.SegoeuiRegularFactors = SegoeuiRegularFactors; +const SegoeuiRegularMetrics = { + lineHeight: 1.33008, + lineGap: 0 +}; +exports.SegoeuiRegularMetrics = SegoeuiRegularMetrics; + +/***/ }), +/* 57 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PostScriptEvaluator = exports.PostScriptCompiler = exports.PDFFunctionFactory = void 0; +exports.isPDFFunction = isPDFFunction; +var _primitives = __w_pdfjs_require__(4); +var _util = __w_pdfjs_require__(2); +var _ps_parser = __w_pdfjs_require__(58); +var _base_stream = __w_pdfjs_require__(5); +var _image_utils = __w_pdfjs_require__(59); class PDFFunctionFactory { constructor({ xref, @@ -31208,7 +38218,7 @@ class PDFFunctionFactory { const parsedFunction = PDFFunction.parse({ xref: this.xref, isEvalSupported: this.isEvalSupported, - fn: fn instanceof Ref ? this.xref.fetch(fn) : fn + fn: fn instanceof _primitives.Ref ? this.xref.fetch(fn) : fn }); this._cache(fn, parsedFunction); return parsedFunction; @@ -31221,18 +38231,18 @@ class PDFFunctionFactory { const parsedFunction = PDFFunction.parseArray({ xref: this.xref, isEvalSupported: this.isEvalSupported, - fnObj: fnObj instanceof Ref ? this.xref.fetch(fnObj) : fnObj + fnObj: fnObj instanceof _primitives.Ref ? this.xref.fetch(fnObj) : fnObj }); this._cache(fnObj, parsedFunction); return parsedFunction; } getCached(cacheKey) { let fnRef; - if (cacheKey instanceof Ref) { + if (cacheKey instanceof _primitives.Ref) { fnRef = cacheKey; - } else if (cacheKey instanceof Dict) { + } else if (cacheKey instanceof _primitives.Dict) { fnRef = cacheKey.objId; - } else if (cacheKey instanceof BaseStream) { + } else if (cacheKey instanceof _base_stream.BaseStream) { fnRef = cacheKey.dict?.objId; } if (fnRef) { @@ -31248,11 +38258,11 @@ class PDFFunctionFactory { throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.'); } let fnRef; - if (cacheKey instanceof Ref) { + if (cacheKey instanceof _primitives.Ref) { fnRef = cacheKey; - } else if (cacheKey instanceof Dict) { + } else if (cacheKey instanceof _primitives.Dict) { fnRef = cacheKey.objId; - } else if (cacheKey instanceof BaseStream) { + } else if (cacheKey instanceof _base_stream.BaseStream) { fnRef = cacheKey.dict?.objId; } if (fnRef) { @@ -31260,15 +38270,23 @@ class PDFFunctionFactory { } } get _localFunctionCache() { - return shadow(this, "_localFunctionCache", new LocalFunctionCache()); + return (0, _util.shadow)(this, "_localFunctionCache", new _image_utils.LocalFunctionCache()); } } +exports.PDFFunctionFactory = PDFFunctionFactory; function toNumberArray(arr) { if (!Array.isArray(arr)) { return null; } - if (!isNumberArray(arr, null)) { - return arr.map(x => +x); + const length = arr.length; + for (let i = 0; i < length; i++) { + if (typeof arr[i] !== "number") { + const result = new Array(length); + for (let j = 0; j < length; j++) { + result[j] = +arr[j]; + } + return result; + } } return arr; } @@ -31335,7 +38353,7 @@ class PDFFunction { dict }); } - throw new FormatError("Unknown type of function"); + throw new _util.FormatError("Unknown type of function"); } static parseArray({ xref, @@ -31384,7 +38402,7 @@ class PDFFunction { let domain = toNumberArray(dict.getArray("Domain")); let range = toNumberArray(dict.getArray("Range")); if (!domain || !range) { - throw new FormatError("No domain or range"); + throw new _util.FormatError("No domain or range"); } const inputSize = domain.length / 2; const outputSize = range.length / 2; @@ -31394,7 +38412,7 @@ class PDFFunction { const bps = dict.get("BitsPerSample"); const order = dict.get("Order") || 1; if (order !== 1) { - info("No support for cubic spline interpolation: " + order); + (0, _util.info)("No support for cubic spline interpolation: " + order); } let encode = toNumberArray(dict.getArray("Encode")); if (!encode) { @@ -31406,7 +38424,11 @@ class PDFFunction { encode = toMultiArray(encode); } let decode = toNumberArray(dict.getArray("Decode")); - decode = !decode ? range : toMultiArray(decode); + if (!decode) { + decode = range; + } else { + decode = toMultiArray(decode); + } const samples = this.getSampleArray(size, outputSize, bps, fn); return function constructSampledFn(src, srcOffset, dest, destOffset) { const cubeVertices = 1 << inputSize; @@ -31479,11 +38501,11 @@ class PDFFunction { }) { const domain = toNumberArray(dict.getArray("Domain")); if (!domain) { - throw new FormatError("No domain"); + throw new _util.FormatError("No domain"); } const inputSize = domain.length / 2; if (inputSize !== 1) { - throw new FormatError("Bad domain for stiched function"); + throw new _util.FormatError("Bad domain for stiched function"); } const fns = []; for (const fn of dict.get("Functions")) { @@ -31536,21 +38558,21 @@ class PDFFunction { const domain = toNumberArray(dict.getArray("Domain")); const range = toNumberArray(dict.getArray("Range")); if (!domain) { - throw new FormatError("No domain."); + throw new _util.FormatError("No domain."); } if (!range) { - throw new FormatError("No range."); + throw new _util.FormatError("No range."); } - const lexer = new PostScriptLexer(fn); - const parser = new PostScriptParser(lexer); + const lexer = new _ps_parser.PostScriptLexer(fn); + const parser = new _ps_parser.PostScriptParser(lexer); const code = parser.parse(); - if (isEvalSupported && FeatureTest.isEvalSupported) { + if (isEvalSupported && _util.FeatureTest.isEvalSupported) { const compiled = new PostScriptCompiler().compile(code, domain, range); if (compiled) { return new Function("src", "srcOffset", "dest", "destOffset", compiled); } } - info("Unable to compile PS function"); + (0, _util.info)("Unable to compile PS function"); const numOutputs = range.length >> 1; const numInputs = domain.length >> 1; const evaluator = new PostScriptEvaluator(code); @@ -31598,9 +38620,9 @@ class PDFFunction { } function isPDFFunction(v) { let fnDict; - if (v instanceof Dict) { + if (v instanceof _primitives.Dict) { fnDict = v; - } else if (v instanceof BaseStream) { + } else if (v instanceof _base_stream.BaseStream) { fnDict = v.dict; } else { return false; @@ -31798,7 +38820,7 @@ class PostScriptEvaluator { break; case "log": a = stack.pop(); - stack.push(Math.log10(a)); + stack.push(Math.log(a) / Math.LN10); break; case "lt": b = stack.pop(); @@ -31884,18 +38906,19 @@ class PostScriptEvaluator { } break; default: - throw new FormatError(`Unknown operator ${operator}`); + throw new _util.FormatError(`Unknown operator ${operator}`); } } return stack.stack; } } +exports.PostScriptEvaluator = PostScriptEvaluator; class AstNode { constructor(type) { this.type = type; } visit(visitor) { - unreachable("abstract method"); + (0, _util.unreachable)("abstract method"); } } class AstArgument extends AstNode { @@ -32214,9 +39237,459 @@ class PostScriptCompiler { return result.join("\n"); } } +exports.PostScriptCompiler = PostScriptCompiler; -;// CONCATENATED MODULE: ./src/core/bidi.js +/***/ }), +/* 58 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PostScriptParser = exports.PostScriptLexer = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _core_utils = __w_pdfjs_require__(3); +class PostScriptParser { + constructor(lexer) { + this.lexer = lexer; + this.operators = []; + this.token = null; + this.prev = null; + } + nextToken() { + this.prev = this.token; + this.token = this.lexer.getToken(); + } + accept(type) { + if (this.token.type === type) { + this.nextToken(); + return true; + } + return false; + } + expect(type) { + if (this.accept(type)) { + return true; + } + throw new _util.FormatError(`Unexpected symbol: found ${this.token.type} expected ${type}.`); + } + parse() { + this.nextToken(); + this.expect(PostScriptTokenTypes.LBRACE); + this.parseBlock(); + this.expect(PostScriptTokenTypes.RBRACE); + return this.operators; + } + parseBlock() { + while (true) { + if (this.accept(PostScriptTokenTypes.NUMBER)) { + this.operators.push(this.prev.value); + } else if (this.accept(PostScriptTokenTypes.OPERATOR)) { + this.operators.push(this.prev.value); + } else if (this.accept(PostScriptTokenTypes.LBRACE)) { + this.parseCondition(); + } else { + return; + } + } + } + parseCondition() { + const conditionLocation = this.operators.length; + this.operators.push(null, null); + this.parseBlock(); + this.expect(PostScriptTokenTypes.RBRACE); + if (this.accept(PostScriptTokenTypes.IF)) { + this.operators[conditionLocation] = this.operators.length; + this.operators[conditionLocation + 1] = "jz"; + } else if (this.accept(PostScriptTokenTypes.LBRACE)) { + const jumpLocation = this.operators.length; + this.operators.push(null, null); + const endOfTrue = this.operators.length; + this.parseBlock(); + this.expect(PostScriptTokenTypes.RBRACE); + this.expect(PostScriptTokenTypes.IFELSE); + this.operators[jumpLocation] = this.operators.length; + this.operators[jumpLocation + 1] = "j"; + this.operators[conditionLocation] = endOfTrue; + this.operators[conditionLocation + 1] = "jz"; + } else { + throw new _util.FormatError("PS Function: error parsing conditional."); + } + } +} +exports.PostScriptParser = PostScriptParser; +const PostScriptTokenTypes = { + LBRACE: 0, + RBRACE: 1, + NUMBER: 2, + OPERATOR: 3, + IF: 4, + IFELSE: 5 +}; +class PostScriptToken { + static get opCache() { + return (0, _util.shadow)(this, "opCache", Object.create(null)); + } + constructor(type, value) { + this.type = type; + this.value = value; + } + static getOperator(op) { + return PostScriptToken.opCache[op] ||= new PostScriptToken(PostScriptTokenTypes.OPERATOR, op); + } + static get LBRACE() { + return (0, _util.shadow)(this, "LBRACE", new PostScriptToken(PostScriptTokenTypes.LBRACE, "{")); + } + static get RBRACE() { + return (0, _util.shadow)(this, "RBRACE", new PostScriptToken(PostScriptTokenTypes.RBRACE, "}")); + } + static get IF() { + return (0, _util.shadow)(this, "IF", new PostScriptToken(PostScriptTokenTypes.IF, "IF")); + } + static get IFELSE() { + return (0, _util.shadow)(this, "IFELSE", new PostScriptToken(PostScriptTokenTypes.IFELSE, "IFELSE")); + } +} +class PostScriptLexer { + constructor(stream) { + this.stream = stream; + this.nextChar(); + this.strBuf = []; + } + nextChar() { + return this.currentChar = this.stream.getByte(); + } + getToken() { + let comment = false; + let ch = this.currentChar; + while (true) { + if (ch < 0) { + return _primitives.EOF; + } + if (comment) { + if (ch === 0x0a || ch === 0x0d) { + comment = false; + } + } else if (ch === 0x25) { + comment = true; + } else if (!(0, _core_utils.isWhiteSpace)(ch)) { + break; + } + ch = this.nextChar(); + } + switch (ch | 0) { + case 0x30: + case 0x31: + case 0x32: + case 0x33: + case 0x34: + case 0x35: + case 0x36: + case 0x37: + case 0x38: + case 0x39: + case 0x2b: + case 0x2d: + case 0x2e: + return new PostScriptToken(PostScriptTokenTypes.NUMBER, this.getNumber()); + case 0x7b: + this.nextChar(); + return PostScriptToken.LBRACE; + case 0x7d: + this.nextChar(); + return PostScriptToken.RBRACE; + } + const strBuf = this.strBuf; + strBuf.length = 0; + strBuf[0] = String.fromCharCode(ch); + while ((ch = this.nextChar()) >= 0 && (ch >= 0x41 && ch <= 0x5a || ch >= 0x61 && ch <= 0x7a)) { + strBuf.push(String.fromCharCode(ch)); + } + const str = strBuf.join(""); + switch (str.toLowerCase()) { + case "if": + return PostScriptToken.IF; + case "ifelse": + return PostScriptToken.IFELSE; + default: + return PostScriptToken.getOperator(str); + } + } + getNumber() { + let ch = this.currentChar; + const strBuf = this.strBuf; + strBuf.length = 0; + strBuf[0] = String.fromCharCode(ch); + while ((ch = this.nextChar()) >= 0) { + if (ch >= 0x30 && ch <= 0x39 || ch === 0x2d || ch === 0x2e) { + strBuf.push(String.fromCharCode(ch)); + } else { + break; + } + } + const value = parseFloat(strBuf.join("")); + if (isNaN(value)) { + throw new _util.FormatError(`Invalid floating point number: ${value}`); + } + return value; + } +} +exports.PostScriptLexer = PostScriptLexer; + +/***/ }), +/* 59 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.RegionalImageCache = exports.LocalTilingPatternCache = exports.LocalImageCache = exports.LocalGStateCache = exports.LocalFunctionCache = exports.LocalColorSpaceCache = exports.GlobalImageCache = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +class BaseLocalCache { + constructor(options) { + if (this.constructor === BaseLocalCache) { + (0, _util.unreachable)("Cannot initialize BaseLocalCache."); + } + this._onlyRefs = options?.onlyRefs === true; + if (!this._onlyRefs) { + this._nameRefMap = new Map(); + this._imageMap = new Map(); + } + this._imageCache = new _primitives.RefSetCache(); + } + getByName(name) { + if (this._onlyRefs) { + (0, _util.unreachable)("Should not call `getByName` method."); + } + const ref = this._nameRefMap.get(name); + if (ref) { + return this.getByRef(ref); + } + return this._imageMap.get(name) || null; + } + getByRef(ref) { + return this._imageCache.get(ref) || null; + } + set(name, ref, data) { + (0, _util.unreachable)("Abstract method `set` called."); + } +} +class LocalImageCache extends BaseLocalCache { + set(name, ref = null, data) { + if (typeof name !== "string") { + throw new Error('LocalImageCache.set - expected "name" argument.'); + } + if (ref) { + if (this._imageCache.has(ref)) { + return; + } + this._nameRefMap.set(name, ref); + this._imageCache.put(ref, data); + return; + } + if (this._imageMap.has(name)) { + return; + } + this._imageMap.set(name, data); + } +} +exports.LocalImageCache = LocalImageCache; +class LocalColorSpaceCache extends BaseLocalCache { + set(name = null, ref = null, data) { + if (typeof name !== "string" && !ref) { + throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.'); + } + if (ref) { + if (this._imageCache.has(ref)) { + return; + } + if (name !== null) { + this._nameRefMap.set(name, ref); + } + this._imageCache.put(ref, data); + return; + } + if (this._imageMap.has(name)) { + return; + } + this._imageMap.set(name, data); + } +} +exports.LocalColorSpaceCache = LocalColorSpaceCache; +class LocalFunctionCache extends BaseLocalCache { + constructor(options) { + super({ + onlyRefs: true + }); + } + set(name = null, ref, data) { + if (!ref) { + throw new Error('LocalFunctionCache.set - expected "ref" argument.'); + } + if (this._imageCache.has(ref)) { + return; + } + this._imageCache.put(ref, data); + } +} +exports.LocalFunctionCache = LocalFunctionCache; +class LocalGStateCache extends BaseLocalCache { + set(name, ref = null, data) { + if (typeof name !== "string") { + throw new Error('LocalGStateCache.set - expected "name" argument.'); + } + if (ref) { + if (this._imageCache.has(ref)) { + return; + } + this._nameRefMap.set(name, ref); + this._imageCache.put(ref, data); + return; + } + if (this._imageMap.has(name)) { + return; + } + this._imageMap.set(name, data); + } +} +exports.LocalGStateCache = LocalGStateCache; +class LocalTilingPatternCache extends BaseLocalCache { + constructor(options) { + super({ + onlyRefs: true + }); + } + set(name = null, ref, data) { + if (!ref) { + throw new Error('LocalTilingPatternCache.set - expected "ref" argument.'); + } + if (this._imageCache.has(ref)) { + return; + } + this._imageCache.put(ref, data); + } +} +exports.LocalTilingPatternCache = LocalTilingPatternCache; +class RegionalImageCache extends BaseLocalCache { + constructor(options) { + super({ + onlyRefs: true + }); + } + set(name = null, ref, data) { + if (!ref) { + throw new Error('RegionalImageCache.set - expected "ref" argument.'); + } + if (this._imageCache.has(ref)) { + return; + } + this._imageCache.put(ref, data); + } +} +exports.RegionalImageCache = RegionalImageCache; +class GlobalImageCache { + static NUM_PAGES_THRESHOLD = 2; + static MIN_IMAGES_TO_CACHE = 10; + static MAX_BYTE_SIZE = 5 * _util.MAX_IMAGE_SIZE_TO_CACHE; + constructor() { + this._refCache = new _primitives.RefSetCache(); + this._imageCache = new _primitives.RefSetCache(); + } + get _byteSize() { + let byteSize = 0; + for (const imageData of this._imageCache) { + byteSize += imageData.byteSize; + } + return byteSize; + } + get _cacheLimitReached() { + if (this._imageCache.size < GlobalImageCache.MIN_IMAGES_TO_CACHE) { + return false; + } + if (this._byteSize < GlobalImageCache.MAX_BYTE_SIZE) { + return false; + } + return true; + } + shouldCache(ref, pageIndex) { + let pageIndexSet = this._refCache.get(ref); + if (!pageIndexSet) { + pageIndexSet = new Set(); + this._refCache.put(ref, pageIndexSet); + } + pageIndexSet.add(pageIndex); + if (pageIndexSet.size < GlobalImageCache.NUM_PAGES_THRESHOLD) { + return false; + } + if (!this._imageCache.has(ref) && this._cacheLimitReached) { + return false; + } + return true; + } + addByteSize(ref, byteSize) { + const imageData = this._imageCache.get(ref); + if (!imageData) { + return; + } + if (imageData.byteSize) { + return; + } + imageData.byteSize = byteSize; + } + getData(ref, pageIndex) { + const pageIndexSet = this._refCache.get(ref); + if (!pageIndexSet) { + return null; + } + if (pageIndexSet.size < GlobalImageCache.NUM_PAGES_THRESHOLD) { + return null; + } + const imageData = this._imageCache.get(ref); + if (!imageData) { + return null; + } + pageIndexSet.add(pageIndex); + return imageData; + } + setData(ref, data) { + if (!this._refCache.has(ref)) { + throw new Error('GlobalImageCache.setData - expected "shouldCache" to have been called.'); + } + if (this._imageCache.has(ref)) { + return; + } + if (this._cacheLimitReached) { + (0, _util.warn)("GlobalImageCache.setData - cache limit reached."); + return; + } + this._imageCache.put(ref, data); + } + clear(onlyData = false) { + if (!onlyData) { + this._refCache.clear(); + } + this._imageCache.clear(); + } +} +exports.GlobalImageCache = GlobalImageCache; + +/***/ }), +/* 60 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.bidi = bidi; +var _util = __w_pdfjs_require__(2); const baseTypes = ["BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "S", "B", "S", "WS", "B", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "B", "B", "B", "S", "WS", "ON", "ON", "ET", "ET", "ET", "ON", "ON", "ON", "ON", "ON", "ES", "CS", "ES", "CS", "CS", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "CS", "ON", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "ON", "ON", "ON", "BN", "BN", "BN", "BN", "BN", "BN", "B", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "BN", "CS", "ON", "ET", "ET", "ET", "ET", "ON", "ON", "ON", "ON", "L", "ON", "ON", "BN", "ON", "ON", "ET", "ET", "EN", "EN", "ON", "L", "ON", "ON", "ON", "EN", "L", "ON", "ON", "ON", "ON", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "L", "ON", "L", "L", "L", "L", "L", "L", "L", "L"]; const arabicTypes = ["AN", "AN", "AN", "AN", "AN", "AN", "ON", "ON", "AL", "ET", "ET", "AL", "CS", "AL", "ON", "ON", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "AN", "ET", "AN", "AN", "AL", "AL", "AL", "NSM", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "AL", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AN", "ON", "NSM", "NSM", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "NSM", "NSM", "ON", "NSM", "NSM", "NSM", "NSM", "AL", "AL", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "EN", "AL", "AL", "AL", "AL", "AL", "AL"]; function isOdd(i) { @@ -32281,7 +39754,7 @@ function bidi(str, startLevel = -1, vertical = false) { } else if (0x0600 <= charCode && charCode <= 0x06ff) { charType = arabicTypes[charCode & 0xff]; if (!charType) { - warn("Bidi: invalid Unicode character " + charCode.toString(16)); + (0, _util.warn)("Bidi: invalid Unicode character " + charCode.toString(16)); } } else if (0x0700 <= charCode && charCode <= 0x08ac || 0xfb50 <= charCode && charCode <= 0xfdff || 0xfe70 <= charCode && charCode <= 0xfeff) { charType = "AL"; @@ -32410,8 +39883,10 @@ function bidi(str, startLevel = -1, vertical = false) { } else if (t === "AN" || t === "EN") { levels[i] += 2; } - } else if (t === "L" || t === "AN" || t === "EN") { - levels[i] += 1; + } else { + if (t === "L" || t === "AN" || t === "EN") { + levels[i] += 1; + } } } let highestLevel = -1; @@ -32451,20 +39926,18 @@ function bidi(str, startLevel = -1, vertical = false) { return createBidiText(chars.join(""), isLTR); } -;// CONCATENATED MODULE: ./src/core/font_substitutions.js - - - - - - - - - - +/***/ }), +/* 61 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getFontSubstitution = getFontSubstitution; +var _fonts_utils = __w_pdfjs_require__(38); +var _core_utils = __w_pdfjs_require__(3); const NORMAL = { style: "normal", weight: "normal" @@ -32482,7 +39955,7 @@ const BOLDITALIC = { weight: "bold" }; const substitutionMap = new Map([["Times-Roman", { - local: ["Times New Roman", "Times-Roman", "Times", "Liberation Serif", "Nimbus Roman", "Nimbus Roman L", "Tinos", "Thorndale", "TeX Gyre Termes", "FreeSerif", "Linux Libertine O", "Libertinus Serif", "DejaVu Serif", "Bitstream Vera Serif", "Ubuntu"], + local: ["Times New Roman", "Times-Roman", "Times", "Liberation Serif", "Nimbus Roman", "Nimbus Roman L", "Tinos", "Thorndale", "TeX Gyre Termes", "FreeSerif", "DejaVu Serif", "Bitstream Vera Serif", "Ubuntu"], style: NORMAL, ultimate: "serif" }], ["Times-Bold", { @@ -32518,7 +39991,7 @@ const substitutionMap = new Map([["Times-Roman", { style: BOLDITALIC, ultimate: "sans-serif" }], ["Courier", { - local: ["Courier", "Courier New", "Liberation Mono", "Nimbus Mono", "Nimbus Mono L", "Cousine", "Cumberland", "TeX Gyre Cursor", "FreeMono", "Linux Libertine Mono O", "Libertinus Mono"], + local: ["Courier", "Courier New", "Liberation Mono", "Nimbus Mono", "Nimbus Mono L", "Cousine", "Cumberland", "TeX Gyre Cursor", "FreeMono"], style: NORMAL, ultimate: "monospace" }], ["Courier-Bold", { @@ -32610,10 +40083,6 @@ function getStyleToAppend(style) { } return ""; } -function getFamilyName(str) { - const keywords = new Set(["thin", "extralight", "ultralight", "demilight", "semilight", "light", "book", "regular", "normal", "medium", "demibold", "semibold", "bold", "extrabold", "ultrabold", "black", "heavy", "extrablack", "ultrablack", "roman", "italic", "oblique", "ultracondensed", "extracondensed", "condensed", "semicondensed", "normal", "semiexpanded", "expanded", "extraexpanded", "ultraexpanded", "bolditalic"]); - return str.split(/[- ,+]+/g).filter(tok => !keywords.has(tok.toLowerCase())).join(" "); -} function generateFont({ alias, local, @@ -32655,14 +40124,8 @@ function generateFont({ } return result; } -function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFontName, standardFontName, type) { - if (baseFontName.startsWith("InvalidPDFjsFont_")) { - return null; - } - if ((type === "TrueType" || type === "Type1") && /^[A-Z]{6}\+/.test(baseFontName)) { - baseFontName = baseFontName.slice(7); - } - baseFontName = normalizeFontName(baseFontName); +function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFontName, standardFontName) { + baseFontName = (0, _fonts_utils.normalizeFontName)(baseFontName); const key = baseFontName; let substitutionInfo = systemFontCache.get(key); if (substitutionInfo) { @@ -32685,8 +40148,7 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont } const loadedName = `${idFactory.getDocId()}_s${idFactory.createFontId()}`; if (!substitution) { - if (!validateFontName(baseFontName)) { - warn(`Cannot substitute the font because of its name: ${baseFontName}`); + if (!(0, _core_utils.validateFontName)(baseFontName)) { systemFontCache.set(key, null); return null; } @@ -32694,7 +40156,7 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont const italic = /oblique|italic/gi.test(baseFontName); const style = bold && italic && BOLDITALIC || bold && BOLD || italic && ITALIC || NORMAL; substitutionInfo = { - css: `"${getFamilyName(baseFontName)}",${loadedName}`, + css: loadedName, guessFallback: true, loadedName, baseFontName, @@ -32705,7 +40167,7 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont return substitutionInfo; } const src = []; - if (mustAddBaseFont && validateFontName(baseFontName)) { + if (mustAddBaseFont && (0, _core_utils.validateFontName)(baseFontName)) { src.push(`local(${baseFontName})`); } const { @@ -32715,7 +40177,7 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont const guessFallback = ultimate === null; const fallback = guessFallback ? "" : `,${ultimate}`; substitutionInfo = { - css: `"${getFamilyName(baseFontName)}",${loadedName}${fallback}`, + css: `${loadedName}${fallback}`, guessFallback, loadedName, baseFontName, @@ -32726,14 +40188,17 @@ function getFontSubstitution(systemFontCache, idFactory, localFontPath, baseFont return substitutionInfo; } -;// CONCATENATED MODULE: ./src/core/image_resizer.js - - - - +/***/ }), +/* 62 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ImageResizer = void 0; +var _util = __w_pdfjs_require__(2); const MIN_IMAGE_DIM = 2048; const MAX_IMAGE_DIM = 65537; const MAX_ERROR = 128; @@ -32768,16 +40233,16 @@ class ImageResizer { return area > maxArea; } static get MAX_DIM() { - return shadow(this, "MAX_DIM", this._guessMax(MIN_IMAGE_DIM, MAX_IMAGE_DIM, 0, 1)); + return (0, _util.shadow)(this, "MAX_DIM", this._guessMax(MIN_IMAGE_DIM, MAX_IMAGE_DIM, 0, 1)); } static get MAX_AREA() { this._hasMaxArea = true; - return shadow(this, "MAX_AREA", this._guessMax(ImageResizer._goodSquareLength, this.MAX_DIM, MAX_ERROR, 0) ** 2); + return (0, _util.shadow)(this, "MAX_AREA", this._guessMax(ImageResizer._goodSquareLength, this.MAX_DIM, MAX_ERROR, 0) ** 2); } static set MAX_AREA(area) { if (area >= 0) { this._hasMaxArea = true; - shadow(this, "MAX_AREA", area); + (0, _util.shadow)(this, "MAX_AREA", area); } } static setMaxArea(area) { @@ -32867,7 +40332,7 @@ class ImageResizer { let maskTable = colorTable; let compression = 0; switch (kind) { - case ImageKind.GRAYSCALE_1BPP: + case _util.ImageKind.GRAYSCALE_1BPP: { bitPerPixel = 1; colorTable = new Uint8Array(this._isMask ? [255, 255, 255, 255, 0, 0, 0, 0] : [0, 0, 0, 0, 255, 255, 255, 255]); @@ -32883,7 +40348,7 @@ class ImageResizer { } break; } - case ImageKind.RGB_24BPP: + case _util.ImageKind.RGB_24BPP: { bitPerPixel = 24; if (width & 3) { @@ -32911,12 +40376,12 @@ class ImageResizer { } break; } - case ImageKind.RGBA_32BPP: + case _util.ImageKind.RGBA_32BPP: bitPerPixel = 32; compression = 3; maskTable = new Uint8Array(4 + 4 + 4 + 4 + 52); const view = new DataView(maskTable.buffer); - if (FeatureTest.isLittleEndian) { + if (_util.FeatureTest.isLittleEndian) { view.setUint32(0, 0x000000ff, true); view.setUint32(4, 0x0000ff00, true); view.setUint32(8, 0x00ff0000, true); @@ -32974,15 +40439,20 @@ class ImageResizer { return bmpData; } } +exports.ImageResizer = ImageResizer; ImageResizer._goodSquareLength = MIN_IMAGE_DIM; -;// CONCATENATED MODULE: ./src/shared/murmurhash3.js - - - +/***/ }), +/* 63 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MurmurHash3_64 = void 0; +var _util = __w_pdfjs_require__(2); const SEED = 0xc3d2e1f0; const MASK_HIGH = 0xffff0000; const MASK_LOW = 0xffff; @@ -33005,11 +40475,11 @@ class MurmurHash3_64 { data[length++] = code & 0xff; } } - } else if (ArrayBuffer.isView(input)) { + } else if ((0, _util.isArrayBuffer)(input)) { data = input.slice(); length = data.byteLength; } else { - throw new Error("Invalid data format, must be a string or TypedArray."); + throw new Error("Wrong data format in MurmurHash3_64_update. " + "Input must be a string or array."); } const blockCounts = length >> 2; const tailLength = length - blockCounts * 4; @@ -33074,23 +40544,19 @@ class MurmurHash3_64 { return (h1 >>> 0).toString(16).padStart(8, "0") + (h2 >>> 0).toString(16).padStart(8, "0"); } } +exports.MurmurHash3_64 = MurmurHash3_64; -;// CONCATENATED MODULE: ./src/core/operator_list.js - - - - - - - - - - - - +/***/ }), +/* 64 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.OperatorList = void 0; +var _util = __w_pdfjs_require__(2); function addState(parentState, pattern, checkFn, iterateFn, processFn) { let state = parentState; for (let i = 0, ii = pattern.length - 1; i < ii; i++) { @@ -33104,19 +40570,19 @@ function addState(parentState, pattern, checkFn, iterateFn, processFn) { }; } const InitialState = []; -addState(InitialState, [OPS.save, OPS.transform, OPS.paintInlineImageXObject, OPS.restore], null, function iterateInlineImageGroup(context, i) { +addState(InitialState, [_util.OPS.save, _util.OPS.transform, _util.OPS.paintInlineImageXObject, _util.OPS.restore], null, function iterateInlineImageGroup(context, i) { const fnArray = context.fnArray; const iFirstSave = context.iCurr - 3; const pos = (i - iFirstSave) % 4; switch (pos) { case 0: - return fnArray[i] === OPS.save; + return fnArray[i] === _util.OPS.save; case 1: - return fnArray[i] === OPS.transform; + return fnArray[i] === _util.OPS.transform; case 2: - return fnArray[i] === OPS.paintInlineImageXObject; + return fnArray[i] === _util.OPS.paintInlineImageXObject; case 3: - return fnArray[i] === OPS.restore; + return fnArray[i] === _util.OPS.restore; } throw new Error(`iterateInlineImageGroup - invalid pos: ${pos}`); }, function foundInlineImageGroup(context, i) { @@ -33197,26 +40663,26 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintInlineImageXObject, OP img.bitmap = canvas.transferToImageBitmap(); img.data = null; } else { - img.kind = ImageKind.RGBA_32BPP; + img.kind = _util.ImageKind.RGBA_32BPP; img.data = imgData; } - fnArray.splice(iFirstSave, count * 4, OPS.paintInlineImageXObjectGroup); + fnArray.splice(iFirstSave, count * 4, _util.OPS.paintInlineImageXObjectGroup); argsArray.splice(iFirstSave, count * 4, [img, map]); return iFirstSave + 1; }); -addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageMaskXObject, OPS.restore], null, function iterateImageMaskGroup(context, i) { +addState(InitialState, [_util.OPS.save, _util.OPS.transform, _util.OPS.paintImageMaskXObject, _util.OPS.restore], null, function iterateImageMaskGroup(context, i) { const fnArray = context.fnArray; const iFirstSave = context.iCurr - 3; const pos = (i - iFirstSave) % 4; switch (pos) { case 0: - return fnArray[i] === OPS.save; + return fnArray[i] === _util.OPS.save; case 1: - return fnArray[i] === OPS.transform; + return fnArray[i] === _util.OPS.transform; case 2: - return fnArray[i] === OPS.paintImageMaskXObject; + return fnArray[i] === _util.OPS.paintImageMaskXObject; case 3: - return fnArray[i] === OPS.restore; + return fnArray[i] === _util.OPS.restore; } throw new Error(`iterateImageMaskGroup - invalid pos: ${pos}`); }, function foundImageMaskGroup(context, i) { @@ -33265,7 +40731,7 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageMaskXObject, OPS. positions[q << 1] = transformArgs[4]; positions[(q << 1) + 1] = transformArgs[5]; } - fnArray.splice(iFirstSave, count * 4, OPS.paintImageMaskXObjectRepeat); + fnArray.splice(iFirstSave, count * 4, _util.OPS.paintImageMaskXObjectRepeat); argsArray.splice(iFirstSave, count * 4, [firstPIMXOArg0, firstTransformArg0, firstTransformArg1, firstTransformArg2, firstTransformArg3, positions]); } else { count = Math.min(count, MAX_IMAGES_IN_MASKS_BLOCK); @@ -33282,12 +40748,12 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageMaskXObject, OPS. transform: transformArgs }); } - fnArray.splice(iFirstSave, count * 4, OPS.paintImageMaskXObjectGroup); + fnArray.splice(iFirstSave, count * 4, _util.OPS.paintImageMaskXObjectGroup); argsArray.splice(iFirstSave, count * 4, [images]); } return iFirstSave + 1; }); -addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageXObject, OPS.restore], function (context) { +addState(InitialState, [_util.OPS.save, _util.OPS.transform, _util.OPS.paintImageXObject, _util.OPS.restore], function (context) { const argsArray = context.argsArray; const iFirstTransform = context.iCurr - 2; return argsArray[iFirstTransform][1] === 0 && argsArray[iFirstTransform][2] === 0; @@ -33298,9 +40764,9 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageXObject, OPS.rest const pos = (i - iFirstSave) % 4; switch (pos) { case 0: - return fnArray[i] === OPS.save; + return fnArray[i] === _util.OPS.save; case 1: - if (fnArray[i] !== OPS.transform) { + if (fnArray[i] !== _util.OPS.transform) { return false; } const iFirstTransform = context.iCurr - 2; @@ -33311,7 +40777,7 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageXObject, OPS.rest } return true; case 2: - if (fnArray[i] !== OPS.paintImageXObject) { + if (fnArray[i] !== _util.OPS.paintImageXObject) { return false; } const iFirstPIXO = context.iCurr - 1; @@ -33321,7 +40787,7 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageXObject, OPS.rest } return true; case 3: - return fnArray[i] === OPS.restore; + return fnArray[i] === _util.OPS.restore; } throw new Error(`iterateImageGroup - invalid pos: ${pos}`); }, function (context, i) { @@ -33348,24 +40814,24 @@ addState(InitialState, [OPS.save, OPS.transform, OPS.paintImageXObject, OPS.rest positions[(q << 1) + 1] = transformArgs[5]; } const args = [firstPIXOArg0, firstTransformArg0, firstTransformArg3, positions]; - fnArray.splice(iFirstSave, count * 4, OPS.paintImageXObjectRepeat); + fnArray.splice(iFirstSave, count * 4, _util.OPS.paintImageXObjectRepeat); argsArray.splice(iFirstSave, count * 4, args); return iFirstSave + 1; }); -addState(InitialState, [OPS.beginText, OPS.setFont, OPS.setTextMatrix, OPS.showText, OPS.endText], null, function iterateShowTextGroup(context, i) { +addState(InitialState, [_util.OPS.beginText, _util.OPS.setFont, _util.OPS.setTextMatrix, _util.OPS.showText, _util.OPS.endText], null, function iterateShowTextGroup(context, i) { const fnArray = context.fnArray, argsArray = context.argsArray; const iFirstSave = context.iCurr - 4; const pos = (i - iFirstSave) % 5; switch (pos) { case 0: - return fnArray[i] === OPS.beginText; + return fnArray[i] === _util.OPS.beginText; case 1: - return fnArray[i] === OPS.setFont; + return fnArray[i] === _util.OPS.setFont; case 2: - return fnArray[i] === OPS.setTextMatrix; + return fnArray[i] === _util.OPS.setTextMatrix; case 3: - if (fnArray[i] !== OPS.showText) { + if (fnArray[i] !== _util.OPS.showText) { return false; } const iFirstSetFont = context.iCurr - 3; @@ -33376,7 +40842,7 @@ addState(InitialState, [OPS.beginText, OPS.setFont, OPS.setTextMatrix, OPS.showT } return true; case 4: - return fnArray[i] === OPS.endText; + return fnArray[i] === _util.OPS.endText; } throw new Error(`iterateShowTextGroup - invalid pos: ${pos}`); }, function (context, i) { @@ -33504,7 +40970,11 @@ class OperatorList { this._streamSink = streamSink; this.fnArray = []; this.argsArray = []; - this.optimizer = streamSink && !(intent & RenderingIntentFlag.OPLIST) ? new QueueOptimizer(this) : new NullOptimizer(this); + if (streamSink && !(intent & _util.RenderingIntentFlag.OPLIST)) { + this.optimizer = new QueueOptimizer(this); + } else { + this.optimizer = new NullOptimizer(this); + } this.dependencies = new Set(); this._totalLength = 0; this.weight = 0; @@ -33528,18 +40998,18 @@ class OperatorList { if (this._streamSink) { if (this.weight >= OperatorList.CHUNK_SIZE) { this.flush(); - } else if (this.weight >= OperatorList.CHUNK_SIZE_ABOUT && (fn === OPS.restore || fn === OPS.endText)) { + } else if (this.weight >= OperatorList.CHUNK_SIZE_ABOUT && (fn === _util.OPS.restore || fn === _util.OPS.endText)) { this.flush(); } } } addImageOps(fn, args, optionalContent) { if (optionalContent !== undefined) { - this.addOp(OPS.beginMarkedContentProps, ["OC", optionalContent]); + this.addOp(_util.OPS.beginMarkedContentProps, ["OC", optionalContent]); } this.addOp(fn, args); if (optionalContent !== undefined) { - this.addOp(OPS.endMarkedContent, []); + this.addOp(_util.OPS.endMarkedContent, []); } } addDependency(dependency) { @@ -33547,7 +41017,7 @@ class OperatorList { return; } this.dependencies.add(dependency); - this.addOp(OPS.dependency, [dependency]); + this.addOp(_util.OPS.dependency, [dependency]); } addDependencies(dependencies) { for (const dependency of dependencies) { @@ -33556,7 +41026,7 @@ class OperatorList { } addOpList(opList) { if (!(opList instanceof OperatorList)) { - warn('addOpList - ignoring invalid "opList" parameter.'); + (0, _util.warn)('addOpList - ignoring invalid "opList" parameter.'); return; } for (const dependency of opList.dependencies) { @@ -33582,9 +41052,9 @@ class OperatorList { } = this; for (let i = 0; i < length; i++) { switch (fnArray[i]) { - case OPS.paintInlineImageXObject: - case OPS.paintInlineImageXObjectGroup: - case OPS.paintImageMaskXObject: + case _util.OPS.paintInlineImageXObject: + case _util.OPS.paintInlineImageXObjectGroup: + case _util.OPS.paintImageMaskXObject: const arg = argsArray[i][0]; if (!arg.cached && arg.data?.buffer instanceof ArrayBuffer) { transfers.push(arg.data.buffer); @@ -33612,23 +41082,27 @@ class OperatorList { this.optimizer.reset(); } } +exports.OperatorList = OperatorList; -;// CONCATENATED MODULE: ./src/core/image.js - - - - - - - - - - - - +/***/ }), +/* 65 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFImage = void 0; +var _util = __w_pdfjs_require__(2); +var _image_utils = __w_pdfjs_require__(28); +var _base_stream = __w_pdfjs_require__(5); +var _colorspace = __w_pdfjs_require__(12); +var _decode_stream = __w_pdfjs_require__(18); +var _image_resizer = __w_pdfjs_require__(62); +var _jpeg_stream = __w_pdfjs_require__(26); +var _jpx = __w_pdfjs_require__(30); +var _primitives = __w_pdfjs_require__(4); function decodeAndClamp(value, addend, coefficient, max) { value = addend + value * coefficient; if (value < 0) { @@ -33682,28 +41156,26 @@ class PDFImage { localColorSpaceCache }) { this.image = image; - let jpxDecode = false; const dict = image.dict; const filter = dict.get("F", "Filter"); let filterName; - if (filter instanceof Name) { + if (filter instanceof _primitives.Name) { filterName = filter.name; } else if (Array.isArray(filter)) { const filterZero = xref.fetchIfRef(filter[0]); - if (filterZero instanceof Name) { + if (filterZero instanceof _primitives.Name) { filterName = filterZero.name; } } switch (filterName) { case "JPXDecode": - ({ - width: image.width, - height: image.height, - componentsCount: image.numComps, - bitsPerComponent: image.bitsPerComponent - } = JpxImage.parseImageProperties(image.stream)); + const jpxImage = new _jpx.JpxImage(); + jpxImage.parseImageProperties(image.stream); image.stream.reset(); - jpxDecode = true; + image.width = jpxImage.width; + image.height = jpxImage.height; + image.bitsPerComponent = jpxImage.bitsPerComponent; + image.numComps = jpxImage.componentsCount; break; case "JBIG2Decode": image.bitsPerComponent = 1; @@ -33713,12 +41185,12 @@ class PDFImage { let width = dict.get("W", "Width"); let height = dict.get("H", "Height"); if (Number.isInteger(image.width) && image.width > 0 && Number.isInteger(image.height) && image.height > 0 && (image.width !== width || image.height !== height)) { - warn("PDFImage - using the Width/Height of the image data, " + "rather than the image dictionary."); + (0, _util.warn)("PDFImage - using the Width/Height of the image data, " + "rather than the image dictionary."); width = image.width; height = image.height; } if (width < 1 || height < 1) { - throw new FormatError(`Invalid image width: ${width} or height: ${height}`); + throw new _util.FormatError(`Invalid image width: ${width} or height: ${height}`); } this.width = width; this.height = height; @@ -33732,7 +41204,7 @@ class PDFImage { if (this.imageMask) { bitsPerComponent = 1; } else { - throw new FormatError(`Bits per component missing in image: ${this.imageMask}`); + throw new _util.FormatError(`Bits per component missing in image: ${this.imageMask}`); } } } @@ -33740,22 +41212,22 @@ class PDFImage { if (!this.imageMask) { let colorSpace = dict.getRaw("CS") || dict.getRaw("ColorSpace"); if (!colorSpace) { - info("JPX images (which do not require color spaces)"); + (0, _util.info)("JPX images (which do not require color spaces)"); switch (image.numComps) { case 1: - colorSpace = Name.get("DeviceGray"); + colorSpace = _primitives.Name.get("DeviceGray"); break; case 3: - colorSpace = Name.get("DeviceRGB"); + colorSpace = _primitives.Name.get("DeviceRGB"); break; case 4: - colorSpace = Name.get("DeviceCMYK"); + colorSpace = _primitives.Name.get("DeviceCMYK"); break; default: throw new Error(`JPX images with ${image.numComps} color components not supported.`); } } - this.colorSpace = ColorSpace.parse({ + this.colorSpace = _colorspace.ColorSpace.parse({ cs: colorSpace, xref, resources: isInline ? res : null, @@ -33763,11 +41235,10 @@ class PDFImage { localColorSpaceCache }); this.numComps = this.colorSpace.numComps; - this.ignoreColorSpace = jpxDecode && this.colorSpace.name === "Indexed"; } this.decode = dict.getArray("D", "Decode"); this.needsDecode = false; - if (this.decode && (this.colorSpace && !this.colorSpace.isDefaultDecode(this.decode, bitsPerComponent) || isMask && !ColorSpace.isDefaultDecode(this.decode, 1))) { + if (this.decode && (this.colorSpace && !this.colorSpace.isDefaultDecode(this.decode, bitsPerComponent) || isMask && !_colorspace.ColorSpace.isDefaultDecode(this.decode, 1))) { this.needsDecode = true; const max = (1 << bitsPerComponent) - 1; this.decodeCoefficients = []; @@ -33790,11 +41261,11 @@ class PDFImage { localColorSpaceCache }); } else if (mask) { - if (mask instanceof BaseStream) { + if (mask instanceof _base_stream.BaseStream) { const maskDict = mask.dict, imageMask = maskDict.get("IM", "ImageMask"); if (!imageMask) { - warn("Ignoring /Mask in image without /ImageMask."); + (0, _util.warn)("Ignoring /Mask in image without /ImageMask."); } else { this.mask = new PDFImage({ xref, @@ -33825,16 +41296,16 @@ class PDFImage { const smask = image.dict.get("SMask"); const mask = image.dict.get("Mask"); if (smask) { - if (smask instanceof BaseStream) { + if (smask instanceof _base_stream.BaseStream) { smaskData = smask; } else { - warn("Unsupported /SMask format."); + (0, _util.warn)("Unsupported /SMask format."); } } else if (mask) { - if (mask instanceof BaseStream || Array.isArray(mask)) { + if (mask instanceof _base_stream.BaseStream || Array.isArray(mask)) { maskData = mask; } else { - warn("Unsupported /Mask format."); + (0, _util.warn)("Unsupported /Mask format."); } } return new PDFImage({ @@ -33897,9 +41368,9 @@ class PDFImage { }; } if (isOffscreenCanvasSupported) { - if (ImageResizer.needsToBeResized(width, height)) { + if (_image_resizer.ImageResizer.needsToBeResized(width, height)) { const data = new Uint8ClampedArray(width * height * 4); - convertBlackAndWhiteToRGBA({ + (0, _image_utils.convertBlackAndWhiteToRGBA)({ src: imgArray, dest: data, width, @@ -33907,8 +41378,8 @@ class PDFImage { nonBlackColor: 0, inverseDecode }); - return ImageResizer.createImage({ - kind: ImageKind.RGBA_32BPP, + return _image_resizer.ImageResizer.createImage({ + kind: _util.ImageKind.RGBA_32BPP, data, width, height, @@ -33918,7 +41389,7 @@ class PDFImage { const canvas = new OffscreenCanvas(width, height); const ctx = canvas.getContext("2d"); const imgData = ctx.createImageData(width, height); - convertBlackAndWhiteToRGBA({ + (0, _image_utils.convertBlackAndWhiteToRGBA)({ src: imgArray, dest: imgData.data, width, @@ -34089,7 +41560,7 @@ class PDFImage { alphaBuf[i] = opacity; } } else { - throw new FormatError("Unknown mask format."); + throw new _util.FormatError("Unknown mask format."); } } if (alphaBuf) { @@ -34141,19 +41612,19 @@ class PDFImage { const originalHeight = this.height; const bpc = this.bpc; const rowBytes = originalWidth * numComps * bpc + 7 >> 3; - const mustBeResized = isOffscreenCanvasSupported && ImageResizer.needsToBeResized(drawWidth, drawHeight); + const mustBeResized = isOffscreenCanvasSupported && _image_resizer.ImageResizer.needsToBeResized(drawWidth, drawHeight); if (!forceRGBA) { let kind; if (this.colorSpace.name === "DeviceGray" && bpc === 1) { - kind = ImageKind.GRAYSCALE_1BPP; + kind = _util.ImageKind.GRAYSCALE_1BPP; } else if (this.colorSpace.name === "DeviceRGB" && bpc === 8 && !this.needsDecode) { - kind = ImageKind.RGB_24BPP; + kind = _util.ImageKind.RGB_24BPP; } if (kind && !this.smask && !this.mask && drawWidth === originalWidth && drawHeight === originalHeight) { const data = this.getImageBytes(originalHeight * rowBytes, {}); if (isOffscreenCanvasSupported) { if (mustBeResized) { - return ImageResizer.createImage({ + return _image_resizer.ImageResizer.createImage({ data, kind, width: drawWidth, @@ -34166,7 +41637,7 @@ class PDFImage { imgData.kind = kind; imgData.data = data; if (this.needsDecode) { - assert(kind === ImageKind.GRAYSCALE_1BPP, "PDFImage.createImageData: The image must be grayscale."); + (0, _util.assert)(kind === _util.ImageKind.GRAYSCALE_1BPP, "PDFImage.createImageData: The image must be grayscale."); const buffer = imgData.data; for (let i = 0, ii = buffer.length; i < ii; i++) { buffer[i] ^= 0xff; @@ -34174,7 +41645,7 @@ class PDFImage { } return imgData; } - if (this.image instanceof JpegStream && !this.smask && !this.mask && !this.needsDecode) { + if (this.image instanceof _jpeg_stream.JpegStream && !this.smask && !this.mask && !this.needsDecode) { let imageLength = originalHeight * rowBytes; if (isOffscreenCanvasSupported && !mustBeResized) { let isHandled = false; @@ -34197,7 +41668,7 @@ class PDFImage { drawHeight, forceRGBA: true }); - return this.createBitmap(ImageKind.RGBA_32BPP, drawWidth, drawHeight, rgba); + return this.createBitmap(_util.ImageKind.RGBA_32BPP, drawWidth, drawHeight, rgba); } } else { switch (this.colorSpace.name) { @@ -34205,14 +41676,14 @@ class PDFImage { imageLength *= 3; case "DeviceRGB": case "DeviceCMYK": - imgData.kind = ImageKind.RGB_24BPP; + imgData.kind = _util.ImageKind.RGB_24BPP; imgData.data = this.getImageBytes(imageLength, { drawWidth, drawHeight, forceRGB: true }); if (mustBeResized) { - return ImageResizer.createImage(imgData); + return _image_resizer.ImageResizer.createImage(imgData); } return imgData; } @@ -34232,15 +41703,15 @@ class PDFImage { canvasImgData = ctx.createImageData(drawWidth, drawHeight); data = canvasImgData.data; } - imgData.kind = ImageKind.RGBA_32BPP; + imgData.kind = _util.ImageKind.RGBA_32BPP; if (!forceRGBA && !this.smask && !this.mask) { if (!isOffscreenCanvasSupported || mustBeResized) { - imgData.kind = ImageKind.RGB_24BPP; + imgData.kind = _util.ImageKind.RGB_24BPP; data = new Uint8ClampedArray(drawWidth * drawHeight * 3); alpha01 = 0; } else { const arr = new Uint32Array(data.buffer); - arr.fill(FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff); + arr.fill(_util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff); alpha01 = 1; } maybeUndoPreblend = false; @@ -34272,14 +41743,14 @@ class PDFImage { } imgData.data = data; if (mustBeResized) { - return ImageResizer.createImage(imgData); + return _image_resizer.ImageResizer.createImage(imgData); } return imgData; } fillGrayBuffer(buffer) { const numComps = this.numComps; if (numComps !== 1) { - throw new FormatError(`Reading gray scale from a color image: ${numComps}`); + throw new _util.FormatError(`Reading gray scale from a color image: ${numComps}`); } const width = this.width; const height = this.height; @@ -34316,11 +41787,11 @@ class PDFImage { const canvas = new OffscreenCanvas(width, height); const ctx = canvas.getContext("2d"); let imgData; - if (kind === ImageKind.RGBA_32BPP) { + if (kind === _util.ImageKind.RGBA_32BPP) { imgData = new ImageData(src, width, height); } else { imgData = ctx.createImageData(width, height); - convertToRGBA({ + (0, _image_utils.convertToRGBA)({ kind, src, dest: new Uint32Array(imgData.data.buffer), @@ -34351,4584 +41822,385 @@ class PDFImage { this.image.drawHeight = drawHeight || this.height; this.image.forceRGBA = !!forceRGBA; this.image.forceRGB = !!forceRGB; - const imageBytes = this.image.getBytes(length, this.ignoreColorSpace); - if (internal || this.image instanceof DecodeStream) { + const imageBytes = this.image.getBytes(length); + if (internal || this.image instanceof _decode_stream.DecodeStream) { return imageBytes; } - assert(imageBytes instanceof Uint8Array, 'PDFImage.getImageBytes: Unsupported "imageBytes" type.'); + (0, _util.assert)(imageBytes instanceof Uint8Array, 'PDFImage.getImageBytes: Unsupported "imageBytes" type.'); return new Uint8Array(imageBytes); } } +exports.PDFImage = PDFImage; -;// CONCATENATED MODULE: ./src/core/evaluator.js +/***/ }), +/* 66 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const DefaultPartialEvaluatorOptions = Object.freeze({ - maxImageSize: -1, - disableFontFace: false, - ignoreErrors: false, - isEvalSupported: true, - isOffscreenCanvasSupported: false, - canvasMaxAreaInBytes: -1, - fontExtraProperties: false, - useSystemFonts: true, - cMapUrl: null, - standardFontDataUrl: null -}); -const PatternType = { - TILING: 1, - SHADING: 2 -}; -const TEXT_CHUNK_BATCH_SIZE = 10; -const deferred = Promise.resolve(); -function normalizeBlendMode(value, parsingArray = false) { - if (Array.isArray(value)) { - for (const val of value) { - const maybeBM = normalizeBlendMode(val, true); - if (maybeBM) { - return maybeBM; - } - } - warn(`Unsupported blend mode Array: ${value}`); - return "source-over"; +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.incrementalUpdate = incrementalUpdate; +exports.writeDict = writeDict; +exports.writeObject = writeObject; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _core_utils = __w_pdfjs_require__(3); +var _xml_parser = __w_pdfjs_require__(67); +var _base_stream = __w_pdfjs_require__(5); +var _crypto = __w_pdfjs_require__(68); +async function writeObject(ref, obj, buffer, transform) { + buffer.push(`${ref.num} ${ref.gen} obj\n`); + if (obj instanceof _primitives.Dict) { + await writeDict(obj, buffer, transform); + } else if (obj instanceof _base_stream.BaseStream) { + await writeStream(obj, buffer, transform); } - if (!(value instanceof Name)) { - if (parsingArray) { - return null; - } - return "source-over"; - } - switch (value.name) { - case "Normal": - case "Compatible": - return "source-over"; - case "Multiply": - return "multiply"; - case "Screen": - return "screen"; - case "Overlay": - return "overlay"; - case "Darken": - return "darken"; - case "Lighten": - return "lighten"; - case "ColorDodge": - return "color-dodge"; - case "ColorBurn": - return "color-burn"; - case "HardLight": - return "hard-light"; - case "SoftLight": - return "soft-light"; - case "Difference": - return "difference"; - case "Exclusion": - return "exclusion"; - case "Hue": - return "hue"; - case "Saturation": - return "saturation"; - case "Color": - return "color"; - case "Luminosity": - return "luminosity"; - } - if (parsingArray) { - return null; - } - warn(`Unsupported blend mode: ${value.name}`); - return "source-over"; + buffer.push("\nendobj\n"); } -function incrementCachedImageMaskCount(data) { - if (data.fn === OPS.paintImageMaskXObject && data.args[0]?.count > 0) { - data.args[0].count++; +async function writeDict(dict, buffer, transform) { + buffer.push("<<"); + for (const key of dict.getKeys()) { + buffer.push(` /${(0, _core_utils.escapePDFName)(key)} `); + await writeValue(dict.getRaw(key), buffer, transform); } + buffer.push(">>"); } -class TimeSlotManager { - static TIME_SLOT_DURATION_MS = 20; - static CHECK_TIME_EVERY = 100; - constructor() { - this.reset(); +async function writeStream(stream, buffer, transform) { + let string = stream.getString(); + if (transform !== null) { + string = transform.encryptString(string); } - check() { - if (++this.checked < TimeSlotManager.CHECK_TIME_EVERY) { - return false; - } - this.checked = 0; - return this.endTime <= Date.now(); + const { + dict + } = stream; + if (typeof CompressionStream === "undefined") { + dict.set("Length", string.length); + await writeDict(dict, buffer, transform); + buffer.push(" stream\n", string, "\nendstream"); + return; } - reset() { - this.endTime = Date.now() + TimeSlotManager.TIME_SLOT_DURATION_MS; - this.checked = 0; - } -} -class PartialEvaluator { - constructor({ - xref, - handler, - pageIndex, - idFactory, - fontCache, - builtInCMapCache, - standardFontDataCache, - globalImageCache, - systemFontCache, - options = null - }) { - this.xref = xref; - this.handler = handler; - this.pageIndex = pageIndex; - this.idFactory = idFactory; - this.fontCache = fontCache; - this.builtInCMapCache = builtInCMapCache; - this.standardFontDataCache = standardFontDataCache; - this.globalImageCache = globalImageCache; - this.systemFontCache = systemFontCache; - this.options = options || DefaultPartialEvaluatorOptions; - this.parsingType3Font = false; - this._regionalImageCache = new RegionalImageCache(); - this._fetchBuiltInCMapBound = this.fetchBuiltInCMap.bind(this); - ImageResizer.setMaxArea(this.options.canvasMaxAreaInBytes); - } - get _pdfFunctionFactory() { - const pdfFunctionFactory = new PDFFunctionFactory({ - xref: this.xref, - isEvalSupported: this.options.isEvalSupported - }); - return shadow(this, "_pdfFunctionFactory", pdfFunctionFactory); - } - clone(newOptions = null) { - const newEvaluator = Object.create(this); - newEvaluator.options = Object.assign(Object.create(null), this.options, newOptions); - return newEvaluator; - } - hasBlendModes(resources, nonBlendModesSet) { - if (!(resources instanceof Dict)) { - return false; - } - if (resources.objId && nonBlendModesSet.has(resources.objId)) { - return false; - } - const processed = new RefSet(nonBlendModesSet); - if (resources.objId) { - processed.put(resources.objId); - } - const nodes = [resources], - xref = this.xref; - while (nodes.length) { - const node = nodes.shift(); - const graphicStates = node.get("ExtGState"); - if (graphicStates instanceof Dict) { - for (let graphicState of graphicStates.getRawValues()) { - if (graphicState instanceof Ref) { - if (processed.has(graphicState)) { - continue; - } - try { - graphicState = xref.fetch(graphicState); - } catch (ex) { - processed.put(graphicState); - info(`hasBlendModes - ignoring ExtGState: "${ex}".`); - continue; - } - } - if (!(graphicState instanceof Dict)) { - continue; - } - if (graphicState.objId) { - processed.put(graphicState.objId); - } - const bm = graphicState.get("BM"); - if (bm instanceof Name) { - if (bm.name !== "Normal") { - return true; - } - continue; - } - if (bm !== undefined && Array.isArray(bm)) { - for (const element of bm) { - if (element instanceof Name && element.name !== "Normal") { - return true; - } - } - } - } - } - const xObjects = node.get("XObject"); - if (!(xObjects instanceof Dict)) { - continue; - } - for (let xObject of xObjects.getRawValues()) { - if (xObject instanceof Ref) { - if (processed.has(xObject)) { - continue; - } - try { - xObject = xref.fetch(xObject); - } catch (ex) { - processed.put(xObject); - info(`hasBlendModes - ignoring XObject: "${ex}".`); - continue; - } - } - if (!(xObject instanceof BaseStream)) { - continue; - } - if (xObject.dict.objId) { - processed.put(xObject.dict.objId); - } - const xResources = xObject.dict.get("Resources"); - if (!(xResources instanceof Dict)) { - continue; - } - if (xResources.objId && processed.has(xResources.objId)) { - continue; - } - nodes.push(xResources); - if (xResources.objId) { - processed.put(xResources.objId); - } - } - } - for (const ref of processed) { - nonBlendModesSet.put(ref); - } - return false; - } - async fetchBuiltInCMap(name) { - const cachedData = this.builtInCMapCache.get(name); - if (cachedData) { - return cachedData; - } - let data; - if (this.options.cMapUrl !== null) { - const url = `${this.options.cMapUrl}${name}.bcmap`; - const response = await fetch(url); - if (!response.ok) { - throw new Error(`fetchBuiltInCMap: failed to fetch file "${url}" with "${response.statusText}".`); - } - data = { - cMapData: new Uint8Array(await response.arrayBuffer()), - compressionType: CMapCompressionType.BINARY - }; - } else { - data = await this.handler.sendWithPromise("FetchBuiltInCMap", { - name - }); - } - if (data.compressionType !== CMapCompressionType.NONE) { - this.builtInCMapCache.set(name, data); - } - return data; - } - async fetchStandardFontData(name) { - const cachedData = this.standardFontDataCache.get(name); - if (cachedData) { - return new Stream(cachedData); - } - if (this.options.useSystemFonts && name !== "Symbol" && name !== "ZapfDingbats") { - return null; - } - const standardFontNameToFileName = getFontNameToFileMap(), - filename = standardFontNameToFileName[name]; - let data; - if (this.options.standardFontDataUrl !== null) { - const url = `${this.options.standardFontDataUrl}${filename}`; - const response = await fetch(url); - if (!response.ok) { - warn(`fetchStandardFontData: failed to fetch file "${url}" with "${response.statusText}".`); - } else { - data = new Uint8Array(await response.arrayBuffer()); - } - } else { - try { - data = await this.handler.sendWithPromise("FetchStandardFontData", { - filename - }); - } catch (e) { - warn(`fetchStandardFontData: failed to fetch file "${filename}" with "${e}".`); - } - } - if (!data) { - return null; - } - this.standardFontDataCache.set(name, data); - return new Stream(data); - } - async buildFormXObject(resources, xobj, smask, operatorList, task, initialState, localColorSpaceCache) { - const dict = xobj.dict; - const matrix = dict.getArray("Matrix"); - let bbox = dict.getArray("BBox"); - bbox = Array.isArray(bbox) && bbox.length === 4 ? Util.normalizeRect(bbox) : null; - let optionalContent, groupOptions; - if (dict.has("OC")) { - optionalContent = await this.parseMarkedContentProps(dict.get("OC"), resources); - } - if (optionalContent !== undefined) { - operatorList.addOp(OPS.beginMarkedContentProps, ["OC", optionalContent]); - } - const group = dict.get("Group"); - if (group) { - groupOptions = { - matrix, - bbox, - smask, - isolated: false, - knockout: false - }; - const groupSubtype = group.get("S"); - let colorSpace = null; - if (isName(groupSubtype, "Transparency")) { - groupOptions.isolated = group.get("I") || false; - groupOptions.knockout = group.get("K") || false; - if (group.has("CS")) { - const cs = group.getRaw("CS"); - const cachedColorSpace = ColorSpace.getCached(cs, this.xref, localColorSpaceCache); - if (cachedColorSpace) { - colorSpace = cachedColorSpace; - } else { - colorSpace = await this.parseColorSpace({ - cs, - resources, - localColorSpaceCache - }); - } - } - } - if (smask?.backdrop) { - colorSpace ||= ColorSpace.singletons.rgb; - smask.backdrop = colorSpace.getRgb(smask.backdrop, 0); - } - operatorList.addOp(OPS.beginGroup, [groupOptions]); - } - const args = group ? [matrix, null] : [matrix, bbox]; - operatorList.addOp(OPS.paintFormXObjectBegin, args); - await this.getOperatorList({ - stream: xobj, - task, - resources: dict.get("Resources") || resources, - operatorList, - initialState - }); - operatorList.addOp(OPS.paintFormXObjectEnd, []); - if (group) { - operatorList.addOp(OPS.endGroup, [groupOptions]); - } - if (optionalContent !== undefined) { - operatorList.addOp(OPS.endMarkedContent, []); - } - } - _sendImgData(objId, imgData, cacheGlobally = false) { - const transfers = imgData ? [imgData.bitmap || imgData.data.buffer] : null; - if (this.parsingType3Font || cacheGlobally) { - return this.handler.send("commonobj", [objId, "Image", imgData], transfers); - } - return this.handler.send("obj", [objId, this.pageIndex, "Image", imgData], transfers); - } - async buildPaintImageXObject({ - resources, - image, - isInline = false, - operatorList, - cacheKey, - localImageCache, - localColorSpaceCache - }) { - const dict = image.dict; - const imageRef = dict.objId; - const w = dict.get("W", "Width"); - const h = dict.get("H", "Height"); - if (!(w && typeof w === "number") || !(h && typeof h === "number")) { - warn("Image dimensions are missing, or not numbers."); - return; - } - const maxImageSize = this.options.maxImageSize; - if (maxImageSize !== -1 && w * h > maxImageSize) { - const msg = "Image exceeded maximum allowed size and was removed."; - if (this.options.ignoreErrors) { - warn(msg); - return; - } - throw new Error(msg); - } - let optionalContent; - if (dict.has("OC")) { - optionalContent = await this.parseMarkedContentProps(dict.get("OC"), resources); - } - const imageMask = dict.get("IM", "ImageMask") || false; - let imgData, args; - if (imageMask) { - const interpolate = dict.get("I", "Interpolate"); - const bitStrideLength = w + 7 >> 3; - const imgArray = image.getBytes(bitStrideLength * h); - const decode = dict.getArray("D", "Decode"); - if (this.parsingType3Font) { - imgData = PDFImage.createRawMask({ - imgArray, - width: w, - height: h, - imageIsFromDecodeStream: image instanceof DecodeStream, - inverseDecode: decode?.[0] > 0, - interpolate - }); - imgData.cached = !!cacheKey; - args = [imgData]; - operatorList.addImageOps(OPS.paintImageMaskXObject, args, optionalContent); - if (cacheKey) { - const cacheData = { - fn: OPS.paintImageMaskXObject, - args, - optionalContent - }; - localImageCache.set(cacheKey, imageRef, cacheData); - if (imageRef) { - this._regionalImageCache.set(null, imageRef, cacheData); - } - } - return; - } - imgData = await PDFImage.createMask({ - imgArray, - width: w, - height: h, - imageIsFromDecodeStream: image instanceof DecodeStream, - inverseDecode: decode?.[0] > 0, - interpolate, - isOffscreenCanvasSupported: this.options.isOffscreenCanvasSupported - }); - if (imgData.isSingleOpaquePixel) { - operatorList.addImageOps(OPS.paintSolidColorImageMask, [], optionalContent); - if (cacheKey) { - const cacheData = { - fn: OPS.paintSolidColorImageMask, - args: [], - optionalContent - }; - localImageCache.set(cacheKey, imageRef, cacheData); - if (imageRef) { - this._regionalImageCache.set(null, imageRef, cacheData); - } - } - return; - } - const objId = `mask_${this.idFactory.createObjId()}`; - operatorList.addDependency(objId); - imgData.dataLen = imgData.bitmap ? imgData.width * imgData.height * 4 : imgData.data.length; - this._sendImgData(objId, imgData); - args = [{ - data: objId, - width: imgData.width, - height: imgData.height, - interpolate: imgData.interpolate, - count: 1 - }]; - operatorList.addImageOps(OPS.paintImageMaskXObject, args, optionalContent); - if (cacheKey) { - const cacheData = { - fn: OPS.paintImageMaskXObject, - args, - optionalContent - }; - localImageCache.set(cacheKey, imageRef, cacheData); - if (imageRef) { - this._regionalImageCache.set(null, imageRef, cacheData); - } - } - return; - } - const SMALL_IMAGE_DIMENSIONS = 200; - if (isInline && w + h < SMALL_IMAGE_DIMENSIONS && !dict.has("SMask") && !dict.has("Mask")) { - try { - const imageObj = new PDFImage({ - xref: this.xref, - res: resources, - image, - isInline, - pdfFunctionFactory: this._pdfFunctionFactory, - localColorSpaceCache - }); - imgData = await imageObj.createImageData(true, false); - operatorList.isOffscreenCanvasSupported = this.options.isOffscreenCanvasSupported; - operatorList.addImageOps(OPS.paintInlineImageXObject, [imgData], optionalContent); - } catch (reason) { - const msg = `Unable to decode inline image: "${reason}".`; - if (!this.options.ignoreErrors) { - throw new Error(msg); - } - warn(msg); - } - return; - } - let objId = `img_${this.idFactory.createObjId()}`, - cacheGlobally = false; - if (this.parsingType3Font) { - objId = `${this.idFactory.getDocId()}_type3_${objId}`; - } else if (cacheKey && imageRef) { - cacheGlobally = this.globalImageCache.shouldCache(imageRef, this.pageIndex); - if (cacheGlobally) { - assert(!isInline, "Cannot cache an inline image globally."); - objId = `${this.idFactory.getDocId()}_${objId}`; - } - } - operatorList.addDependency(objId); - args = [objId, w, h]; - operatorList.addImageOps(OPS.paintImageXObject, args, optionalContent); - if (cacheGlobally && (w * h > 250000 || dict.has("SMask") || dict.has("Mask"))) { - const localLength = await this.handler.sendWithPromise("commonobj", [objId, "CopyLocalImage", { - imageRef - }]); - if (localLength) { - this.globalImageCache.setData(imageRef, { - objId, - fn: OPS.paintImageXObject, - args, - optionalContent, - byteSize: 0 - }); - this.globalImageCache.addByteSize(imageRef, localLength); - return; - } - } - PDFImage.buildImage({ - xref: this.xref, - res: resources, - image, - isInline, - pdfFunctionFactory: this._pdfFunctionFactory, - localColorSpaceCache - }).then(async imageObj => { - imgData = await imageObj.createImageData(false, this.options.isOffscreenCanvasSupported); - imgData.dataLen = imgData.bitmap ? imgData.width * imgData.height * 4 : imgData.data.length; - imgData.ref = imageRef; - if (cacheGlobally) { - this.globalImageCache.addByteSize(imageRef, imgData.dataLen); - } - return this._sendImgData(objId, imgData, cacheGlobally); - }).catch(reason => { - warn(`Unable to decode image "${objId}": "${reason}".`); - return this._sendImgData(objId, null, cacheGlobally); - }); - if (cacheKey) { - const cacheData = { - fn: OPS.paintImageXObject, - args, - optionalContent - }; - localImageCache.set(cacheKey, imageRef, cacheData); - if (imageRef) { - this._regionalImageCache.set(null, imageRef, cacheData); - if (cacheGlobally) { - this.globalImageCache.setData(imageRef, { - objId, - fn: OPS.paintImageXObject, - args, - optionalContent, - byteSize: 0 - }); - } - } - } - } - handleSMask(smask, resources, operatorList, task, stateManager, localColorSpaceCache) { - const smaskContent = smask.get("G"); - const smaskOptions = { - subtype: smask.get("S").name, - backdrop: smask.get("BC") - }; - const transferObj = smask.get("TR"); - if (isPDFFunction(transferObj)) { - const transferFn = this._pdfFunctionFactory.create(transferObj); - const transferMap = new Uint8Array(256); - const tmp = new Float32Array(1); - for (let i = 0; i < 256; i++) { - tmp[0] = i / 255; - transferFn(tmp, 0, tmp, 0); - transferMap[i] = tmp[0] * 255 | 0; - } - smaskOptions.transferMap = transferMap; - } - return this.buildFormXObject(resources, smaskContent, smaskOptions, operatorList, task, stateManager.state.clone(), localColorSpaceCache); - } - handleTransferFunction(tr) { - let transferArray; - if (Array.isArray(tr)) { - transferArray = tr; - } else if (isPDFFunction(tr)) { - transferArray = [tr]; - } else { - return null; - } - const transferMaps = []; - let numFns = 0, - numEffectfulFns = 0; - for (const entry of transferArray) { - const transferObj = this.xref.fetchIfRef(entry); - numFns++; - if (isName(transferObj, "Identity")) { - transferMaps.push(null); - continue; - } else if (!isPDFFunction(transferObj)) { - return null; - } - const transferFn = this._pdfFunctionFactory.create(transferObj); - const transferMap = new Uint8Array(256), - tmp = new Float32Array(1); - for (let j = 0; j < 256; j++) { - tmp[0] = j / 255; - transferFn(tmp, 0, tmp, 0); - transferMap[j] = tmp[0] * 255 | 0; - } - transferMaps.push(transferMap); - numEffectfulFns++; - } - if (!(numFns === 1 || numFns === 4)) { - return null; - } - if (numEffectfulFns === 0) { - return null; - } - return transferMaps; - } - handleTilingType(fn, color, resources, pattern, patternDict, operatorList, task, localTilingPatternCache) { - const tilingOpList = new OperatorList(); - const patternResources = Dict.merge({ - xref: this.xref, - dictArray: [patternDict.get("Resources"), resources] - }); - return this.getOperatorList({ - stream: pattern, - task, - resources: patternResources, - operatorList: tilingOpList - }).then(function () { - const operatorListIR = tilingOpList.getIR(); - const tilingPatternIR = getTilingPatternIR(operatorListIR, patternDict, color); - operatorList.addDependencies(tilingOpList.dependencies); - operatorList.addOp(fn, tilingPatternIR); - if (patternDict.objId) { - localTilingPatternCache.set(null, patternDict.objId, { - operatorListIR, - dict: patternDict - }); - } - }).catch(reason => { - if (reason instanceof AbortException) { - return; - } - if (this.options.ignoreErrors) { - warn(`handleTilingType - ignoring pattern: "${reason}".`); - return; - } - throw reason; - }); - } - async handleSetFont(resources, fontArgs, fontRef, operatorList, task, state, fallbackFontDict = null, cssFontInfo = null) { - const fontName = fontArgs?.[0] instanceof Name ? fontArgs[0].name : null; - let translated = await this.loadFont(fontName, fontRef, resources, fallbackFontDict, cssFontInfo); - if (translated.font.isType3Font) { - try { - await translated.loadType3Data(this, resources, task); - operatorList.addDependencies(translated.type3Dependencies); - } catch (reason) { - translated = new TranslatedFont({ - loadedName: "g_font_error", - font: new ErrorFont(`Type3 font load error: ${reason}`), - dict: translated.font, - evaluatorOptions: this.options - }); - } - } - state.font = translated.font; - translated.send(this.handler); - return translated.loadedName; - } - handleText(chars, state) { - const font = state.font; - const glyphs = font.charsToGlyphs(chars); - if (font.data) { - const isAddToPathSet = !!(state.textRenderingMode & TextRenderingMode.ADD_TO_PATH_FLAG); - if (isAddToPathSet || state.fillColorSpace.name === "Pattern" || font.disableFontFace || this.options.disableFontFace) { - PartialEvaluator.buildFontPaths(font, glyphs, this.handler, this.options); - } - } - return glyphs; - } - ensureStateFont(state) { - if (state.font) { - return; - } - const reason = new FormatError("Missing setFont (Tf) operator before text rendering operator."); - if (this.options.ignoreErrors) { - warn(`ensureStateFont: "${reason}".`); - return; - } - throw reason; - } - async setGState({ - resources, - gState, - operatorList, - cacheKey, - task, - stateManager, - localGStateCache, - localColorSpaceCache - }) { - const gStateRef = gState.objId; - let isSimpleGState = true; - const gStateObj = []; - let promise = Promise.resolve(); - for (const key of gState.getKeys()) { - const value = gState.get(key); - switch (key) { - case "Type": - break; - case "LW": - case "LC": - case "LJ": - case "ML": - case "D": - case "RI": - case "FL": - case "CA": - case "ca": - gStateObj.push([key, value]); - break; - case "Font": - isSimpleGState = false; - promise = promise.then(() => this.handleSetFont(resources, null, value[0], operatorList, task, stateManager.state).then(function (loadedName) { - operatorList.addDependency(loadedName); - gStateObj.push([key, [loadedName, value[1]]]); - })); - break; - case "BM": - gStateObj.push([key, normalizeBlendMode(value)]); - break; - case "SMask": - if (isName(value, "None")) { - gStateObj.push([key, false]); - break; - } - if (value instanceof Dict) { - isSimpleGState = false; - promise = promise.then(() => this.handleSMask(value, resources, operatorList, task, stateManager, localColorSpaceCache)); - gStateObj.push([key, true]); - } else { - warn("Unsupported SMask type"); - } - break; - case "TR": - const transferMaps = this.handleTransferFunction(value); - gStateObj.push([key, transferMaps]); - break; - case "OP": - case "op": - case "OPM": - case "BG": - case "BG2": - case "UCR": - case "UCR2": - case "TR2": - case "HT": - case "SM": - case "SA": - case "AIS": - case "TK": - info("graphic state operator " + key); - break; - default: - info("Unknown graphic state operator " + key); - break; - } - } - await promise; - if (gStateObj.length > 0) { - operatorList.addOp(OPS.setGState, [gStateObj]); - } - if (isSimpleGState) { - localGStateCache.set(cacheKey, gStateRef, gStateObj); - } - } - loadFont(fontName, font, resources, fallbackFontDict = null, cssFontInfo = null) { - const errorFont = async () => { - return new TranslatedFont({ - loadedName: "g_font_error", - font: new ErrorFont(`Font "${fontName}" is not available.`), - dict: font, - evaluatorOptions: this.options - }); - }; - let fontRef; - if (font) { - if (font instanceof Ref) { - fontRef = font; - } - } else { - const fontRes = resources.get("Font"); - if (fontRes) { - fontRef = fontRes.getRaw(fontName); - } - } - if (fontRef) { - if (this.parsingType3Font && this.type3FontRefs.has(fontRef)) { - return errorFont(); - } - if (this.fontCache.has(fontRef)) { - return this.fontCache.get(fontRef); - } - font = this.xref.fetchIfRef(fontRef); - } - if (!(font instanceof Dict)) { - if (!this.options.ignoreErrors && !this.parsingType3Font) { - warn(`Font "${fontName}" is not available.`); - return errorFont(); - } - warn(`Font "${fontName}" is not available -- attempting to fallback to a default font.`); - font = fallbackFontDict || PartialEvaluator.fallbackFontDict; - } - if (font.cacheKey && this.fontCache.has(font.cacheKey)) { - return this.fontCache.get(font.cacheKey); - } - const { - promise, - resolve - } = Promise.withResolvers(); - let preEvaluatedFont; + const filter = await dict.getAsync("Filter"); + const params = await dict.getAsync("DecodeParms"); + const filterZero = Array.isArray(filter) ? await dict.xref.fetchIfRefAsync(filter[0]) : filter; + const isFilterZeroFlateDecode = (0, _primitives.isName)(filterZero, "FlateDecode"); + const MIN_LENGTH_FOR_COMPRESSING = 256; + if (string.length >= MIN_LENGTH_FOR_COMPRESSING || isFilterZeroFlateDecode) { try { - preEvaluatedFont = this.preEvaluateFont(font); - preEvaluatedFont.cssFontInfo = cssFontInfo; - } catch (reason) { - warn(`loadFont - preEvaluateFont failed: "${reason}".`); - return errorFont(); - } - const { - descriptor, - hash - } = preEvaluatedFont; - const fontRefIsRef = fontRef instanceof Ref; - let fontID; - if (hash && descriptor instanceof Dict) { - const fontAliases = descriptor.fontAliases ||= Object.create(null); - if (fontAliases[hash]) { - const aliasFontRef = fontAliases[hash].aliasRef; - if (fontRefIsRef && aliasFontRef && this.fontCache.has(aliasFontRef)) { - this.fontCache.putAlias(fontRef, aliasFontRef); - return this.fontCache.get(fontRef); - } - } else { - fontAliases[hash] = { - fontID: this.idFactory.createFontId() - }; - } - if (fontRefIsRef) { - fontAliases[hash].aliasRef = fontRef; - } - fontID = fontAliases[hash].fontID; - } else { - fontID = this.idFactory.createFontId(); - } - assert(fontID?.startsWith("f"), 'The "fontID" must be (correctly) defined.'); - if (fontRefIsRef) { - this.fontCache.put(fontRef, promise); - } else { - font.cacheKey = `cacheKey_${fontID}`; - this.fontCache.put(font.cacheKey, promise); - } - font.loadedName = `${this.idFactory.getDocId()}_${fontID}`; - this.translateFont(preEvaluatedFont).then(translatedFont => { - resolve(new TranslatedFont({ - loadedName: font.loadedName, - font: translatedFont, - dict: font, - evaluatorOptions: this.options - })); - }).catch(reason => { - warn(`loadFont - translateFont failed: "${reason}".`); - resolve(new TranslatedFont({ - loadedName: font.loadedName, - font: new ErrorFont(reason instanceof Error ? reason.message : reason), - dict: font, - evaluatorOptions: this.options - })); - }); - return promise; - } - buildPath(operatorList, fn, args, parsingText = false) { - const lastIndex = operatorList.length - 1; - if (!args) { - args = []; - } - if (lastIndex < 0 || operatorList.fnArray[lastIndex] !== OPS.constructPath) { - if (parsingText) { - warn(`Encountered path operator "${fn}" inside of a text object.`); - operatorList.addOp(OPS.save, null); - } - let minMax; - switch (fn) { - case OPS.rectangle: - const x = args[0] + args[2]; - const y = args[1] + args[3]; - minMax = [Math.min(args[0], x), Math.min(args[1], y), Math.max(args[0], x), Math.max(args[1], y)]; - break; - case OPS.moveTo: - case OPS.lineTo: - minMax = [args[0], args[1], args[0], args[1]]; - break; - default: - minMax = [Infinity, Infinity, -Infinity, -Infinity]; - break; - } - operatorList.addOp(OPS.constructPath, [[fn], args, minMax]); - if (parsingText) { - operatorList.addOp(OPS.restore, null); - } - } else { - const opArgs = operatorList.argsArray[lastIndex]; - opArgs[0].push(fn); - opArgs[1].push(...args); - const minMax = opArgs[2]; - switch (fn) { - case OPS.rectangle: - const x = args[0] + args[2]; - const y = args[1] + args[3]; - minMax[0] = Math.min(minMax[0], args[0], x); - minMax[1] = Math.min(minMax[1], args[1], y); - minMax[2] = Math.max(minMax[2], args[0], x); - minMax[3] = Math.max(minMax[3], args[1], y); - break; - case OPS.moveTo: - case OPS.lineTo: - minMax[0] = Math.min(minMax[0], args[0]); - minMax[1] = Math.min(minMax[1], args[1]); - minMax[2] = Math.max(minMax[2], args[0]); - minMax[3] = Math.max(minMax[3], args[1]); - break; - } - } - } - parseColorSpace({ - cs, - resources, - localColorSpaceCache - }) { - return ColorSpace.parseAsync({ - cs, - xref: this.xref, - resources, - pdfFunctionFactory: this._pdfFunctionFactory, - localColorSpaceCache - }).catch(reason => { - if (reason instanceof AbortException) { - return null; - } - if (this.options.ignoreErrors) { - warn(`parseColorSpace - ignoring ColorSpace: "${reason}".`); - return null; - } - throw reason; - }); - } - parseShading({ - shading, - resources, - localColorSpaceCache, - localShadingPatternCache - }) { - let id = localShadingPatternCache.get(shading); - if (id) { - return id; - } - let patternIR; - try { - const shadingFill = Pattern.parseShading(shading, this.xref, resources, this._pdfFunctionFactory, localColorSpaceCache); - patternIR = shadingFill.getIR(); - } catch (reason) { - if (reason instanceof AbortException) { - return null; - } - if (this.options.ignoreErrors) { - warn(`parseShading - ignoring shading: "${reason}".`); - localShadingPatternCache.set(shading, null); - return null; - } - throw reason; - } - id = `pattern_${this.idFactory.createObjId()}`; - if (this.parsingType3Font) { - id = `${this.idFactory.getDocId()}_type3_${id}`; - } - localShadingPatternCache.set(shading, id); - if (this.parsingType3Font) { - this.handler.send("commonobj", [id, "Pattern", patternIR]); - } else { - this.handler.send("obj", [id, this.pageIndex, "Pattern", patternIR]); - } - return id; - } - handleColorN(operatorList, fn, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache) { - const patternName = args.pop(); - if (patternName instanceof Name) { - const rawPattern = patterns.getRaw(patternName.name); - const localTilingPattern = rawPattern instanceof Ref && localTilingPatternCache.getByRef(rawPattern); - if (localTilingPattern) { - try { - const color = cs.base ? cs.base.getRgb(args, 0) : null; - const tilingPatternIR = getTilingPatternIR(localTilingPattern.operatorListIR, localTilingPattern.dict, color); - operatorList.addOp(fn, tilingPatternIR); - return undefined; - } catch {} - } - const pattern = this.xref.fetchIfRef(rawPattern); - if (pattern) { - const dict = pattern instanceof BaseStream ? pattern.dict : pattern; - const typeNum = dict.get("PatternType"); - if (typeNum === PatternType.TILING) { - const color = cs.base ? cs.base.getRgb(args, 0) : null; - return this.handleTilingType(fn, color, resources, pattern, dict, operatorList, task, localTilingPatternCache); - } else if (typeNum === PatternType.SHADING) { - const shading = dict.get("Shading"); - const objId = this.parseShading({ - shading, - resources, - localColorSpaceCache, - localShadingPatternCache - }); - if (objId) { - const matrix = dict.getArray("Matrix"); - operatorList.addOp(fn, ["Shading", objId, matrix]); - } - return undefined; - } - throw new FormatError(`Unknown PatternType: ${typeNum}`); - } - } - throw new FormatError(`Unknown PatternName: ${patternName}`); - } - _parseVisibilityExpression(array, nestingCounter, currentResult) { - const MAX_NESTING = 10; - if (++nestingCounter > MAX_NESTING) { - warn("Visibility expression is too deeply nested"); - return; - } - const length = array.length; - const operator = this.xref.fetchIfRef(array[0]); - if (length < 2 || !(operator instanceof Name)) { - warn("Invalid visibility expression"); - return; - } - switch (operator.name) { - case "And": - case "Or": - case "Not": - currentResult.push(operator.name); - break; - default: - warn(`Invalid operator ${operator.name} in visibility expression`); - return; - } - for (let i = 1; i < length; i++) { - const raw = array[i]; - const object = this.xref.fetchIfRef(raw); - if (Array.isArray(object)) { - const nestedResult = []; - currentResult.push(nestedResult); - this._parseVisibilityExpression(object, nestingCounter, nestedResult); - } else if (raw instanceof Ref) { - currentResult.push(raw.toString()); - } - } - } - async parseMarkedContentProps(contentProperties, resources) { - let optionalContent; - if (contentProperties instanceof Name) { - const properties = resources.get("Properties"); - optionalContent = properties.get(contentProperties.name); - } else if (contentProperties instanceof Dict) { - optionalContent = contentProperties; - } else { - throw new FormatError("Optional content properties malformed."); - } - const optionalContentType = optionalContent.get("Type")?.name; - if (optionalContentType === "OCG") { - return { - type: optionalContentType, - id: optionalContent.objId - }; - } else if (optionalContentType === "OCMD") { - const expression = optionalContent.get("VE"); - if (Array.isArray(expression)) { - const result = []; - this._parseVisibilityExpression(expression, 0, result); - if (result.length > 0) { - return { - type: "OCMD", - expression: result - }; + const byteArray = (0, _util.stringToBytes)(string); + const cs = new CompressionStream("deflate"); + const writer = cs.writable.getWriter(); + writer.write(byteArray); + writer.close(); + const buf = await new Response(cs.readable).arrayBuffer(); + string = (0, _util.bytesToString)(new Uint8Array(buf)); + let newFilter, newParams; + if (!filter) { + newFilter = _primitives.Name.get("FlateDecode"); + } else if (!isFilterZeroFlateDecode) { + newFilter = Array.isArray(filter) ? [_primitives.Name.get("FlateDecode"), ...filter] : [_primitives.Name.get("FlateDecode"), filter]; + if (params) { + newParams = Array.isArray(params) ? [null, ...params] : [null, params]; } } - const optionalContentGroups = optionalContent.get("OCGs"); - if (Array.isArray(optionalContentGroups) || optionalContentGroups instanceof Dict) { - const groupIds = []; - if (Array.isArray(optionalContentGroups)) { - for (const ocg of optionalContentGroups) { - groupIds.push(ocg.toString()); - } - } else { - groupIds.push(optionalContentGroups.objId); - } - return { - type: optionalContentType, - ids: groupIds, - policy: optionalContent.get("P") instanceof Name ? optionalContent.get("P").name : null, - expression: null - }; - } else if (optionalContentGroups instanceof Ref) { - return { - type: optionalContentType, - id: optionalContentGroups.toString() - }; + if (newFilter) { + dict.set("Filter", newFilter); } - } - return null; - } - getOperatorList({ - stream, - task, - resources, - operatorList, - initialState = null, - fallbackFontDict = null - }) { - resources ||= Dict.empty; - initialState ||= new EvalState(); - if (!operatorList) { - throw new Error('getOperatorList: missing "operatorList" parameter'); - } - const self = this; - const xref = this.xref; - let parsingText = false; - const localImageCache = new LocalImageCache(); - const localColorSpaceCache = new LocalColorSpaceCache(); - const localGStateCache = new LocalGStateCache(); - const localTilingPatternCache = new LocalTilingPatternCache(); - const localShadingPatternCache = new Map(); - const xobjs = resources.get("XObject") || Dict.empty; - const patterns = resources.get("Pattern") || Dict.empty; - const stateManager = new StateManager(initialState); - const preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); - const timeSlotManager = new TimeSlotManager(); - function closePendingRestoreOPS(argument) { - for (let i = 0, ii = preprocessor.savedStatesDepth; i < ii; i++) { - operatorList.addOp(OPS.restore, []); + if (newParams) { + dict.set("DecodeParms", newParams); } - } - return new Promise(function promiseBody(resolve, reject) { - const next = function (promise) { - Promise.all([promise, operatorList.ready]).then(function () { - try { - promiseBody(resolve, reject); - } catch (ex) { - reject(ex); - } - }, reject); - }; - task.ensureNotTerminated(); - timeSlotManager.reset(); - const operation = {}; - let stop, i, ii, cs, name, isValidName; - while (!(stop = timeSlotManager.check())) { - operation.args = null; - if (!preprocessor.read(operation)) { - break; - } - let args = operation.args; - let fn = operation.fn; - switch (fn | 0) { - case OPS.paintXObject: - isValidName = args[0] instanceof Name; - name = args[0].name; - if (isValidName) { - const localImage = localImageCache.getByName(name); - if (localImage) { - operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); - incrementCachedImageMaskCount(localImage); - args = null; - continue; - } - } - next(new Promise(function (resolveXObject, rejectXObject) { - if (!isValidName) { - throw new FormatError("XObject must be referred to by name."); - } - let xobj = xobjs.getRaw(name); - if (xobj instanceof Ref) { - const localImage = localImageCache.getByRef(xobj) || self._regionalImageCache.getByRef(xobj); - if (localImage) { - operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); - incrementCachedImageMaskCount(localImage); - resolveXObject(); - return; - } - const globalImage = self.globalImageCache.getData(xobj, self.pageIndex); - if (globalImage) { - operatorList.addDependency(globalImage.objId); - operatorList.addImageOps(globalImage.fn, globalImage.args, globalImage.optionalContent); - resolveXObject(); - return; - } - xobj = xref.fetch(xobj); - } - if (!(xobj instanceof BaseStream)) { - throw new FormatError("XObject should be a stream"); - } - const type = xobj.dict.get("Subtype"); - if (!(type instanceof Name)) { - throw new FormatError("XObject should have a Name subtype"); - } - if (type.name === "Form") { - stateManager.save(); - self.buildFormXObject(resources, xobj, null, operatorList, task, stateManager.state.clone(), localColorSpaceCache).then(function () { - stateManager.restore(); - resolveXObject(); - }, rejectXObject); - return; - } else if (type.name === "Image") { - self.buildPaintImageXObject({ - resources, - image: xobj, - operatorList, - cacheKey: name, - localImageCache, - localColorSpaceCache - }).then(resolveXObject, rejectXObject); - return; - } else if (type.name === "PS") { - info("Ignored XObject subtype PS"); - } else { - throw new FormatError(`Unhandled XObject subtype ${type.name}`); - } - resolveXObject(); - }).catch(function (reason) { - if (reason instanceof AbortException) { - return; - } - if (self.options.ignoreErrors) { - warn(`getOperatorList - ignoring XObject: "${reason}".`); - return; - } - throw reason; - })); - return; - case OPS.setFont: - var fontSize = args[1]; - next(self.handleSetFont(resources, args, null, operatorList, task, stateManager.state, fallbackFontDict).then(function (loadedName) { - operatorList.addDependency(loadedName); - operatorList.addOp(OPS.setFont, [loadedName, fontSize]); - })); - return; - case OPS.beginText: - parsingText = true; - break; - case OPS.endText: - parsingText = false; - break; - case OPS.endInlineImage: - var cacheKey = args[0].cacheKey; - if (cacheKey) { - const localImage = localImageCache.getByName(cacheKey); - if (localImage) { - operatorList.addImageOps(localImage.fn, localImage.args, localImage.optionalContent); - incrementCachedImageMaskCount(localImage); - args = null; - continue; - } - } - next(self.buildPaintImageXObject({ - resources, - image: args[0], - isInline: true, - operatorList, - cacheKey, - localImageCache, - localColorSpaceCache - })); - return; - case OPS.showText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - args[0] = self.handleText(args[0], stateManager.state); - break; - case OPS.showSpacedText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - var combinedGlyphs = []; - var state = stateManager.state; - for (const arrItem of args[0]) { - if (typeof arrItem === "string") { - combinedGlyphs.push(...self.handleText(arrItem, state)); - } else if (typeof arrItem === "number") { - combinedGlyphs.push(arrItem); - } - } - args[0] = combinedGlyphs; - fn = OPS.showText; - break; - case OPS.nextLineShowText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - operatorList.addOp(OPS.nextLine); - args[0] = self.handleText(args[0], stateManager.state); - fn = OPS.showText; - break; - case OPS.nextLineSetSpacingShowText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - operatorList.addOp(OPS.nextLine); - operatorList.addOp(OPS.setWordSpacing, [args.shift()]); - operatorList.addOp(OPS.setCharSpacing, [args.shift()]); - args[0] = self.handleText(args[0], stateManager.state); - fn = OPS.showText; - break; - case OPS.setTextRenderingMode: - stateManager.state.textRenderingMode = args[0]; - break; - case OPS.setFillColorSpace: - { - const cachedColorSpace = ColorSpace.getCached(args[0], xref, localColorSpaceCache); - if (cachedColorSpace) { - stateManager.state.fillColorSpace = cachedColorSpace; - continue; - } - next(self.parseColorSpace({ - cs: args[0], - resources, - localColorSpaceCache - }).then(function (colorSpace) { - if (colorSpace) { - stateManager.state.fillColorSpace = colorSpace; - } - })); - return; - } - case OPS.setStrokeColorSpace: - { - const cachedColorSpace = ColorSpace.getCached(args[0], xref, localColorSpaceCache); - if (cachedColorSpace) { - stateManager.state.strokeColorSpace = cachedColorSpace; - continue; - } - next(self.parseColorSpace({ - cs: args[0], - resources, - localColorSpaceCache - }).then(function (colorSpace) { - if (colorSpace) { - stateManager.state.strokeColorSpace = colorSpace; - } - })); - return; - } - case OPS.setFillColor: - cs = stateManager.state.fillColorSpace; - args = cs.getRgb(args, 0); - fn = OPS.setFillRGBColor; - break; - case OPS.setStrokeColor: - cs = stateManager.state.strokeColorSpace; - args = cs.getRgb(args, 0); - fn = OPS.setStrokeRGBColor; - break; - case OPS.setFillGray: - stateManager.state.fillColorSpace = ColorSpace.singletons.gray; - args = ColorSpace.singletons.gray.getRgb(args, 0); - fn = OPS.setFillRGBColor; - break; - case OPS.setStrokeGray: - stateManager.state.strokeColorSpace = ColorSpace.singletons.gray; - args = ColorSpace.singletons.gray.getRgb(args, 0); - fn = OPS.setStrokeRGBColor; - break; - case OPS.setFillCMYKColor: - stateManager.state.fillColorSpace = ColorSpace.singletons.cmyk; - args = ColorSpace.singletons.cmyk.getRgb(args, 0); - fn = OPS.setFillRGBColor; - break; - case OPS.setStrokeCMYKColor: - stateManager.state.strokeColorSpace = ColorSpace.singletons.cmyk; - args = ColorSpace.singletons.cmyk.getRgb(args, 0); - fn = OPS.setStrokeRGBColor; - break; - case OPS.setFillRGBColor: - stateManager.state.fillColorSpace = ColorSpace.singletons.rgb; - args = ColorSpace.singletons.rgb.getRgb(args, 0); - break; - case OPS.setStrokeRGBColor: - stateManager.state.strokeColorSpace = ColorSpace.singletons.rgb; - args = ColorSpace.singletons.rgb.getRgb(args, 0); - break; - case OPS.setFillColorN: - cs = stateManager.state.fillColorSpace; - if (cs.name === "Pattern") { - next(self.handleColorN(operatorList, OPS.setFillColorN, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache)); - return; - } - args = cs.getRgb(args, 0); - fn = OPS.setFillRGBColor; - break; - case OPS.setStrokeColorN: - cs = stateManager.state.strokeColorSpace; - if (cs.name === "Pattern") { - next(self.handleColorN(operatorList, OPS.setStrokeColorN, args, cs, patterns, resources, task, localColorSpaceCache, localTilingPatternCache, localShadingPatternCache)); - return; - } - args = cs.getRgb(args, 0); - fn = OPS.setStrokeRGBColor; - break; - case OPS.shadingFill: - var shadingRes = resources.get("Shading"); - if (!shadingRes) { - throw new FormatError("No shading resource found"); - } - var shading = shadingRes.get(args[0].name); - if (!shading) { - throw new FormatError("No shading object found"); - } - const patternId = self.parseShading({ - shading, - resources, - localColorSpaceCache, - localShadingPatternCache - }); - if (!patternId) { - continue; - } - args = [patternId]; - fn = OPS.shadingFill; - break; - case OPS.setGState: - isValidName = args[0] instanceof Name; - name = args[0].name; - if (isValidName) { - const localGStateObj = localGStateCache.getByName(name); - if (localGStateObj) { - if (localGStateObj.length > 0) { - operatorList.addOp(OPS.setGState, [localGStateObj]); - } - args = null; - continue; - } - } - next(new Promise(function (resolveGState, rejectGState) { - if (!isValidName) { - throw new FormatError("GState must be referred to by name."); - } - const extGState = resources.get("ExtGState"); - if (!(extGState instanceof Dict)) { - throw new FormatError("ExtGState should be a dictionary."); - } - const gState = extGState.get(name); - if (!(gState instanceof Dict)) { - throw new FormatError("GState should be a dictionary."); - } - self.setGState({ - resources, - gState, - operatorList, - cacheKey: name, - task, - stateManager, - localGStateCache, - localColorSpaceCache - }).then(resolveGState, rejectGState); - }).catch(function (reason) { - if (reason instanceof AbortException) { - return; - } - if (self.options.ignoreErrors) { - warn(`getOperatorList - ignoring ExtGState: "${reason}".`); - return; - } - throw reason; - })); - return; - case OPS.moveTo: - case OPS.lineTo: - case OPS.curveTo: - case OPS.curveTo2: - case OPS.curveTo3: - case OPS.closePath: - case OPS.rectangle: - self.buildPath(operatorList, fn, args, parsingText); - continue; - case OPS.markPoint: - case OPS.markPointProps: - case OPS.beginCompat: - case OPS.endCompat: - continue; - case OPS.beginMarkedContentProps: - if (!(args[0] instanceof Name)) { - warn(`Expected name for beginMarkedContentProps arg0=${args[0]}`); - operatorList.addOp(OPS.beginMarkedContentProps, ["OC", null]); - continue; - } - if (args[0].name === "OC") { - next(self.parseMarkedContentProps(args[1], resources).then(data => { - operatorList.addOp(OPS.beginMarkedContentProps, ["OC", data]); - }).catch(reason => { - if (reason instanceof AbortException) { - return; - } - if (self.options.ignoreErrors) { - warn(`getOperatorList - ignoring beginMarkedContentProps: "${reason}".`); - operatorList.addOp(OPS.beginMarkedContentProps, ["OC", null]); - return; - } - throw reason; - })); - return; - } - args = [args[0].name, args[1] instanceof Dict ? args[1].get("MCID") : null]; - break; - case OPS.beginMarkedContent: - case OPS.endMarkedContent: - default: - if (args !== null) { - for (i = 0, ii = args.length; i < ii; i++) { - if (args[i] instanceof Dict) { - break; - } - } - if (i < ii) { - warn("getOperatorList - ignoring operator: " + fn); - continue; - } - } - } - operatorList.addOp(fn, args); - } - if (stop) { - next(deferred); - return; - } - closePendingRestoreOPS(); - resolve(); - }).catch(reason => { - if (reason instanceof AbortException) { - return; - } - if (this.options.ignoreErrors) { - warn(`getOperatorList - ignoring errors during "${task.name}" ` + `task: "${reason}".`); - closePendingRestoreOPS(); - return; - } - throw reason; - }); - } - getTextContent({ - stream, - task, - resources, - stateManager = null, - includeMarkedContent = false, - sink, - seenStyles = new Set(), - viewBox, - markedContentData = null, - disableNormalization = false, - keepWhiteSpace = false - }) { - resources ||= Dict.empty; - stateManager ||= new StateManager(new TextState()); - if (includeMarkedContent) { - markedContentData ||= { - level: 0 - }; - } - const textContent = { - items: [], - styles: Object.create(null) - }; - const textContentItem = { - initialized: false, - str: [], - totalWidth: 0, - totalHeight: 0, - width: 0, - height: 0, - vertical: false, - prevTransform: null, - textAdvanceScale: 0, - spaceInFlowMin: 0, - spaceInFlowMax: 0, - trackingSpaceMin: Infinity, - negativeSpaceMax: -Infinity, - notASpace: -Infinity, - transform: null, - fontName: null, - hasEOL: false - }; - const twoLastChars = [" ", " "]; - let twoLastCharsPos = 0; - function saveLastChar(char) { - const nextPos = (twoLastCharsPos + 1) % 2; - const ret = twoLastChars[twoLastCharsPos] !== " " && twoLastChars[nextPos] === " "; - twoLastChars[twoLastCharsPos] = char; - twoLastCharsPos = nextPos; - return !keepWhiteSpace && ret; - } - function shouldAddWhitepsace() { - return !keepWhiteSpace && twoLastChars[twoLastCharsPos] !== " " && twoLastChars[(twoLastCharsPos + 1) % 2] === " "; - } - function resetLastChars() { - twoLastChars[0] = twoLastChars[1] = " "; - twoLastCharsPos = 0; - } - const TRACKING_SPACE_FACTOR = 0.102; - const NOT_A_SPACE_FACTOR = 0.03; - const NEGATIVE_SPACE_FACTOR = -0.2; - const SPACE_IN_FLOW_MIN_FACTOR = 0.102; - const SPACE_IN_FLOW_MAX_FACTOR = 0.6; - const VERTICAL_SHIFT_RATIO = 0.25; - const self = this; - const xref = this.xref; - const showSpacedTextBuffer = []; - let xobjs = null; - const emptyXObjectCache = new LocalImageCache(); - const emptyGStateCache = new LocalGStateCache(); - const preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); - let textState; - function pushWhitespace({ - width = 0, - height = 0, - transform = textContentItem.prevTransform, - fontName = textContentItem.fontName - }) { - textContent.items.push({ - str: " ", - dir: "ltr", - width, - height, - transform, - fontName, - hasEOL: false - }); - } - function getCurrentTextTransform() { - const font = textState.font; - const tsm = [textState.fontSize * textState.textHScale, 0, 0, textState.fontSize, 0, textState.textRise]; - if (font.isType3Font && (textState.fontSize <= 1 || font.isCharBBox) && !isArrayEqual(textState.fontMatrix, FONT_IDENTITY_MATRIX)) { - const glyphHeight = font.bbox[3] - font.bbox[1]; - if (glyphHeight > 0) { - tsm[3] *= glyphHeight * textState.fontMatrix[3]; - } - } - return Util.transform(textState.ctm, Util.transform(textState.textMatrix, tsm)); - } - function ensureTextContentItem() { - if (textContentItem.initialized) { - return textContentItem; - } - const { - font, - loadedName - } = textState; - if (!seenStyles.has(loadedName)) { - seenStyles.add(loadedName); - textContent.styles[loadedName] = { - fontFamily: font.fallbackName, - ascent: font.ascent, - descent: font.descent, - vertical: font.vertical - }; - if (self.options.fontExtraProperties && font.systemFontInfo) { - const style = textContent.styles[loadedName]; - style.fontSubstitution = font.systemFontInfo.css; - style.fontSubstitutionLoadedName = font.systemFontInfo.loadedName; - } - } - textContentItem.fontName = loadedName; - const trm = textContentItem.transform = getCurrentTextTransform(); - if (!font.vertical) { - textContentItem.width = textContentItem.totalWidth = 0; - textContentItem.height = textContentItem.totalHeight = Math.hypot(trm[2], trm[3]); - textContentItem.vertical = false; - } else { - textContentItem.width = textContentItem.totalWidth = Math.hypot(trm[0], trm[1]); - textContentItem.height = textContentItem.totalHeight = 0; - textContentItem.vertical = true; - } - const scaleLineX = Math.hypot(textState.textLineMatrix[0], textState.textLineMatrix[1]); - const scaleCtmX = Math.hypot(textState.ctm[0], textState.ctm[1]); - textContentItem.textAdvanceScale = scaleCtmX * scaleLineX; - const { - fontSize - } = textState; - textContentItem.trackingSpaceMin = fontSize * TRACKING_SPACE_FACTOR; - textContentItem.notASpace = fontSize * NOT_A_SPACE_FACTOR; - textContentItem.negativeSpaceMax = fontSize * NEGATIVE_SPACE_FACTOR; - textContentItem.spaceInFlowMin = fontSize * SPACE_IN_FLOW_MIN_FACTOR; - textContentItem.spaceInFlowMax = fontSize * SPACE_IN_FLOW_MAX_FACTOR; - textContentItem.hasEOL = false; - textContentItem.initialized = true; - return textContentItem; - } - function updateAdvanceScale() { - if (!textContentItem.initialized) { - return; - } - const scaleLineX = Math.hypot(textState.textLineMatrix[0], textState.textLineMatrix[1]); - const scaleCtmX = Math.hypot(textState.ctm[0], textState.ctm[1]); - const scaleFactor = scaleCtmX * scaleLineX; - if (scaleFactor === textContentItem.textAdvanceScale) { - return; - } - if (!textContentItem.vertical) { - textContentItem.totalWidth += textContentItem.width * textContentItem.textAdvanceScale; - textContentItem.width = 0; - } else { - textContentItem.totalHeight += textContentItem.height * textContentItem.textAdvanceScale; - textContentItem.height = 0; - } - textContentItem.textAdvanceScale = scaleFactor; - } - function runBidiTransform(textChunk) { - let text = textChunk.str.join(""); - if (!disableNormalization) { - text = normalizeUnicode(text); - } - const bidiResult = bidi(text, -1, textChunk.vertical); - return { - str: bidiResult.str, - dir: bidiResult.dir, - width: Math.abs(textChunk.totalWidth), - height: Math.abs(textChunk.totalHeight), - transform: textChunk.transform, - fontName: textChunk.fontName, - hasEOL: textChunk.hasEOL - }; - } - async function handleSetFont(fontName, fontRef) { - const translated = await self.loadFont(fontName, fontRef, resources); - if (translated.font.isType3Font) { - try { - await translated.loadType3Data(self, resources, task); - } catch {} - } - textState.loadedName = translated.loadedName; - textState.font = translated.font; - textState.fontMatrix = translated.font.fontMatrix || FONT_IDENTITY_MATRIX; - } - function applyInverseRotation(x, y, matrix) { - const scale = Math.hypot(matrix[0], matrix[1]); - return [(matrix[0] * x + matrix[1] * y) / scale, (matrix[2] * x + matrix[3] * y) / scale]; - } - function compareWithLastPosition(glyphWidth) { - const currentTransform = getCurrentTextTransform(); - let posX = currentTransform[4]; - let posY = currentTransform[5]; - if (textState.font?.vertical) { - if (posX < viewBox[0] || posX > viewBox[2] || posY + glyphWidth < viewBox[1] || posY > viewBox[3]) { - return false; - } - } else if (posX + glyphWidth < viewBox[0] || posX > viewBox[2] || posY < viewBox[1] || posY > viewBox[3]) { - return false; - } - if (!textState.font || !textContentItem.prevTransform) { - return true; - } - let lastPosX = textContentItem.prevTransform[4]; - let lastPosY = textContentItem.prevTransform[5]; - if (lastPosX === posX && lastPosY === posY) { - return true; - } - let rotate = -1; - if (currentTransform[0] && currentTransform[1] === 0 && currentTransform[2] === 0) { - rotate = currentTransform[0] > 0 ? 0 : 180; - } else if (currentTransform[1] && currentTransform[0] === 0 && currentTransform[3] === 0) { - rotate = currentTransform[1] > 0 ? 90 : 270; - } - switch (rotate) { - case 0: - break; - case 90: - [posX, posY] = [posY, posX]; - [lastPosX, lastPosY] = [lastPosY, lastPosX]; - break; - case 180: - [posX, posY, lastPosX, lastPosY] = [-posX, -posY, -lastPosX, -lastPosY]; - break; - case 270: - [posX, posY] = [-posY, -posX]; - [lastPosX, lastPosY] = [-lastPosY, -lastPosX]; - break; - default: - [posX, posY] = applyInverseRotation(posX, posY, currentTransform); - [lastPosX, lastPosY] = applyInverseRotation(lastPosX, lastPosY, textContentItem.prevTransform); - } - if (textState.font.vertical) { - const advanceY = (lastPosY - posY) / textContentItem.textAdvanceScale; - const advanceX = posX - lastPosX; - const textOrientation = Math.sign(textContentItem.height); - if (advanceY < textOrientation * textContentItem.negativeSpaceMax) { - if (Math.abs(advanceX) > 0.5 * textContentItem.width) { - appendEOL(); - return true; - } - resetLastChars(); - flushTextContentItem(); - return true; - } - if (Math.abs(advanceX) > textContentItem.width) { - appendEOL(); - return true; - } - if (advanceY <= textOrientation * textContentItem.notASpace) { - resetLastChars(); - } - if (advanceY <= textOrientation * textContentItem.trackingSpaceMin) { - if (shouldAddWhitepsace()) { - resetLastChars(); - flushTextContentItem(); - pushWhitespace({ - height: Math.abs(advanceY) - }); - } else { - textContentItem.height += advanceY; - } - } else if (!addFakeSpaces(advanceY, textContentItem.prevTransform, textOrientation)) { - if (textContentItem.str.length === 0) { - resetLastChars(); - pushWhitespace({ - height: Math.abs(advanceY) - }); - } else { - textContentItem.height += advanceY; - } - } - if (Math.abs(advanceX) > textContentItem.width * VERTICAL_SHIFT_RATIO) { - flushTextContentItem(); - } - return true; - } - const advanceX = (posX - lastPosX) / textContentItem.textAdvanceScale; - const advanceY = posY - lastPosY; - const textOrientation = Math.sign(textContentItem.width); - if (advanceX < textOrientation * textContentItem.negativeSpaceMax) { - if (Math.abs(advanceY) > 0.5 * textContentItem.height) { - appendEOL(); - return true; - } - resetLastChars(); - flushTextContentItem(); - return true; - } - if (Math.abs(advanceY) > textContentItem.height) { - appendEOL(); - return true; - } - if (advanceX <= textOrientation * textContentItem.notASpace) { - resetLastChars(); - } - if (advanceX <= textOrientation * textContentItem.trackingSpaceMin) { - if (shouldAddWhitepsace()) { - resetLastChars(); - flushTextContentItem(); - pushWhitespace({ - width: Math.abs(advanceX) - }); - } else { - textContentItem.width += advanceX; - } - } else if (!addFakeSpaces(advanceX, textContentItem.prevTransform, textOrientation)) { - if (textContentItem.str.length === 0) { - resetLastChars(); - pushWhitespace({ - width: Math.abs(advanceX) - }); - } else { - textContentItem.width += advanceX; - } - } - if (Math.abs(advanceY) > textContentItem.height * VERTICAL_SHIFT_RATIO) { - flushTextContentItem(); - } - return true; - } - function buildTextContentItem({ - chars, - extraSpacing - }) { - const font = textState.font; - if (!chars) { - const charSpacing = textState.charSpacing + extraSpacing; - if (charSpacing) { - if (!font.vertical) { - textState.translateTextMatrix(charSpacing * textState.textHScale, 0); - } else { - textState.translateTextMatrix(0, -charSpacing); - } - } - if (keepWhiteSpace) { - compareWithLastPosition(0); - } - return; - } - const glyphs = font.charsToGlyphs(chars); - const scale = textState.fontMatrix[0] * textState.fontSize; - for (let i = 0, ii = glyphs.length; i < ii; i++) { - const glyph = glyphs[i]; - const { - category - } = glyph; - if (category.isInvisibleFormatMark) { - continue; - } - let charSpacing = textState.charSpacing + (i + 1 === ii ? extraSpacing : 0); - let glyphWidth = glyph.width; - if (font.vertical) { - glyphWidth = glyph.vmetric ? glyph.vmetric[0] : -glyphWidth; - } - let scaledDim = glyphWidth * scale; - if (!keepWhiteSpace && category.isWhitespace) { - if (!font.vertical) { - charSpacing += scaledDim + textState.wordSpacing; - textState.translateTextMatrix(charSpacing * textState.textHScale, 0); - } else { - charSpacing += -scaledDim + textState.wordSpacing; - textState.translateTextMatrix(0, -charSpacing); - } - saveLastChar(" "); - continue; - } - if (!category.isZeroWidthDiacritic && !compareWithLastPosition(scaledDim)) { - if (!font.vertical) { - textState.translateTextMatrix(scaledDim * textState.textHScale, 0); - } else { - textState.translateTextMatrix(0, scaledDim); - } - continue; - } - const textChunk = ensureTextContentItem(); - if (category.isZeroWidthDiacritic) { - scaledDim = 0; - } - if (!font.vertical) { - scaledDim *= textState.textHScale; - textState.translateTextMatrix(scaledDim, 0); - textChunk.width += scaledDim; - } else { - textState.translateTextMatrix(0, scaledDim); - scaledDim = Math.abs(scaledDim); - textChunk.height += scaledDim; - } - if (scaledDim) { - textChunk.prevTransform = getCurrentTextTransform(); - } - const glyphUnicode = glyph.unicode; - if (saveLastChar(glyphUnicode)) { - textChunk.str.push(" "); - } - textChunk.str.push(glyphUnicode); - if (charSpacing) { - if (!font.vertical) { - textState.translateTextMatrix(charSpacing * textState.textHScale, 0); - } else { - textState.translateTextMatrix(0, -charSpacing); - } - } - } - } - function appendEOL() { - resetLastChars(); - if (textContentItem.initialized) { - textContentItem.hasEOL = true; - flushTextContentItem(); - } else { - textContent.items.push({ - str: "", - dir: "ltr", - width: 0, - height: 0, - transform: getCurrentTextTransform(), - fontName: textState.loadedName, - hasEOL: true - }); - } - } - function addFakeSpaces(width, transf, textOrientation) { - if (textOrientation * textContentItem.spaceInFlowMin <= width && width <= textOrientation * textContentItem.spaceInFlowMax) { - if (textContentItem.initialized) { - resetLastChars(); - textContentItem.str.push(" "); - } - return false; - } - const fontName = textContentItem.fontName; - let height = 0; - if (textContentItem.vertical) { - height = width; - width = 0; - } - flushTextContentItem(); - resetLastChars(); - pushWhitespace({ - width: Math.abs(width), - height: Math.abs(height), - transform: transf || getCurrentTextTransform(), - fontName - }); - return true; - } - function flushTextContentItem() { - if (!textContentItem.initialized || !textContentItem.str) { - return; - } - if (!textContentItem.vertical) { - textContentItem.totalWidth += textContentItem.width * textContentItem.textAdvanceScale; - } else { - textContentItem.totalHeight += textContentItem.height * textContentItem.textAdvanceScale; - } - textContent.items.push(runBidiTransform(textContentItem)); - textContentItem.initialized = false; - textContentItem.str.length = 0; - } - function enqueueChunk(batch = false) { - const length = textContent.items.length; - if (length === 0) { - return; - } - if (batch && length < TEXT_CHUNK_BATCH_SIZE) { - return; - } - sink.enqueue(textContent, length); - textContent.items = []; - textContent.styles = Object.create(null); - } - const timeSlotManager = new TimeSlotManager(); - return new Promise(function promiseBody(resolve, reject) { - const next = function (promise) { - enqueueChunk(true); - Promise.all([promise, sink.ready]).then(function () { - try { - promiseBody(resolve, reject); - } catch (ex) { - reject(ex); - } - }, reject); - }; - task.ensureNotTerminated(); - timeSlotManager.reset(); - const operation = {}; - let stop, - args = []; - while (!(stop = timeSlotManager.check())) { - args.length = 0; - operation.args = args; - if (!preprocessor.read(operation)) { - break; - } - const previousState = textState; - textState = stateManager.state; - const fn = operation.fn; - args = operation.args; - switch (fn | 0) { - case OPS.setFont: - var fontNameArg = args[0].name, - fontSizeArg = args[1]; - if (textState.font && fontNameArg === textState.fontName && fontSizeArg === textState.fontSize) { - break; - } - flushTextContentItem(); - textState.fontName = fontNameArg; - textState.fontSize = fontSizeArg; - next(handleSetFont(fontNameArg, null)); - return; - case OPS.setTextRise: - textState.textRise = args[0]; - break; - case OPS.setHScale: - textState.textHScale = args[0] / 100; - break; - case OPS.setLeading: - textState.leading = args[0]; - break; - case OPS.moveText: - textState.translateTextLineMatrix(args[0], args[1]); - textState.textMatrix = textState.textLineMatrix.slice(); - break; - case OPS.setLeadingMoveText: - textState.leading = -args[1]; - textState.translateTextLineMatrix(args[0], args[1]); - textState.textMatrix = textState.textLineMatrix.slice(); - break; - case OPS.nextLine: - textState.carriageReturn(); - break; - case OPS.setTextMatrix: - textState.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); - textState.setTextLineMatrix(args[0], args[1], args[2], args[3], args[4], args[5]); - updateAdvanceScale(); - break; - case OPS.setCharSpacing: - textState.charSpacing = args[0]; - break; - case OPS.setWordSpacing: - textState.wordSpacing = args[0]; - break; - case OPS.beginText: - textState.textMatrix = IDENTITY_MATRIX.slice(); - textState.textLineMatrix = IDENTITY_MATRIX.slice(); - break; - case OPS.showSpacedText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - const spaceFactor = (textState.font.vertical ? 1 : -1) * textState.fontSize / 1000; - const elements = args[0]; - for (let i = 0, ii = elements.length; i < ii; i++) { - const item = elements[i]; - if (typeof item === "string") { - showSpacedTextBuffer.push(item); - } else if (typeof item === "number" && item !== 0) { - const str = showSpacedTextBuffer.join(""); - showSpacedTextBuffer.length = 0; - buildTextContentItem({ - chars: str, - extraSpacing: item * spaceFactor - }); - } - } - if (showSpacedTextBuffer.length > 0) { - const str = showSpacedTextBuffer.join(""); - showSpacedTextBuffer.length = 0; - buildTextContentItem({ - chars: str, - extraSpacing: 0 - }); - } - break; - case OPS.showText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - buildTextContentItem({ - chars: args[0], - extraSpacing: 0 - }); - break; - case OPS.nextLineShowText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - textState.carriageReturn(); - buildTextContentItem({ - chars: args[0], - extraSpacing: 0 - }); - break; - case OPS.nextLineSetSpacingShowText: - if (!stateManager.state.font) { - self.ensureStateFont(stateManager.state); - continue; - } - textState.wordSpacing = args[0]; - textState.charSpacing = args[1]; - textState.carriageReturn(); - buildTextContentItem({ - chars: args[2], - extraSpacing: 0 - }); - break; - case OPS.paintXObject: - flushTextContentItem(); - if (!xobjs) { - xobjs = resources.get("XObject") || Dict.empty; - } - var isValidName = args[0] instanceof Name; - var name = args[0].name; - if (isValidName && emptyXObjectCache.getByName(name)) { - break; - } - next(new Promise(function (resolveXObject, rejectXObject) { - if (!isValidName) { - throw new FormatError("XObject must be referred to by name."); - } - let xobj = xobjs.getRaw(name); - if (xobj instanceof Ref) { - if (emptyXObjectCache.getByRef(xobj)) { - resolveXObject(); - return; - } - const globalImage = self.globalImageCache.getData(xobj, self.pageIndex); - if (globalImage) { - resolveXObject(); - return; - } - xobj = xref.fetch(xobj); - } - if (!(xobj instanceof BaseStream)) { - throw new FormatError("XObject should be a stream"); - } - const type = xobj.dict.get("Subtype"); - if (!(type instanceof Name)) { - throw new FormatError("XObject should have a Name subtype"); - } - if (type.name !== "Form") { - emptyXObjectCache.set(name, xobj.dict.objId, true); - resolveXObject(); - return; - } - const currentState = stateManager.state.clone(); - const xObjStateManager = new StateManager(currentState); - const matrix = xobj.dict.getArray("Matrix"); - if (Array.isArray(matrix) && matrix.length === 6) { - xObjStateManager.transform(matrix); - } - enqueueChunk(); - const sinkWrapper = { - enqueueInvoked: false, - enqueue(chunk, size) { - this.enqueueInvoked = true; - sink.enqueue(chunk, size); - }, - get desiredSize() { - return sink.desiredSize; - }, - get ready() { - return sink.ready; - } - }; - self.getTextContent({ - stream: xobj, - task, - resources: xobj.dict.get("Resources") || resources, - stateManager: xObjStateManager, - includeMarkedContent, - sink: sinkWrapper, - seenStyles, - viewBox, - markedContentData, - disableNormalization, - keepWhiteSpace - }).then(function () { - if (!sinkWrapper.enqueueInvoked) { - emptyXObjectCache.set(name, xobj.dict.objId, true); - } - resolveXObject(); - }, rejectXObject); - }).catch(function (reason) { - if (reason instanceof AbortException) { - return; - } - if (self.options.ignoreErrors) { - warn(`getTextContent - ignoring XObject: "${reason}".`); - return; - } - throw reason; - })); - return; - case OPS.setGState: - isValidName = args[0] instanceof Name; - name = args[0].name; - if (isValidName && emptyGStateCache.getByName(name)) { - break; - } - next(new Promise(function (resolveGState, rejectGState) { - if (!isValidName) { - throw new FormatError("GState must be referred to by name."); - } - const extGState = resources.get("ExtGState"); - if (!(extGState instanceof Dict)) { - throw new FormatError("ExtGState should be a dictionary."); - } - const gState = extGState.get(name); - if (!(gState instanceof Dict)) { - throw new FormatError("GState should be a dictionary."); - } - const gStateFont = gState.get("Font"); - if (!gStateFont) { - emptyGStateCache.set(name, gState.objId, true); - resolveGState(); - return; - } - flushTextContentItem(); - textState.fontName = null; - textState.fontSize = gStateFont[1]; - handleSetFont(null, gStateFont[0]).then(resolveGState, rejectGState); - }).catch(function (reason) { - if (reason instanceof AbortException) { - return; - } - if (self.options.ignoreErrors) { - warn(`getTextContent - ignoring ExtGState: "${reason}".`); - return; - } - throw reason; - })); - return; - case OPS.beginMarkedContent: - flushTextContentItem(); - if (includeMarkedContent) { - markedContentData.level++; - textContent.items.push({ - type: "beginMarkedContent", - tag: args[0] instanceof Name ? args[0].name : null - }); - } - break; - case OPS.beginMarkedContentProps: - flushTextContentItem(); - if (includeMarkedContent) { - markedContentData.level++; - let mcid = null; - if (args[1] instanceof Dict) { - mcid = args[1].get("MCID"); - } - textContent.items.push({ - type: "beginMarkedContentProps", - id: Number.isInteger(mcid) ? `${self.idFactory.getPageObjId()}_mc${mcid}` : null, - tag: args[0] instanceof Name ? args[0].name : null - }); - } - break; - case OPS.endMarkedContent: - flushTextContentItem(); - if (includeMarkedContent) { - if (markedContentData.level === 0) { - break; - } - markedContentData.level--; - textContent.items.push({ - type: "endMarkedContent" - }); - } - break; - case OPS.restore: - if (previousState && (previousState.font !== textState.font || previousState.fontSize !== textState.fontSize || previousState.fontName !== textState.fontName)) { - flushTextContentItem(); - } - break; - } - if (textContent.items.length >= sink.desiredSize) { - stop = true; - break; - } - } - if (stop) { - next(deferred); - return; - } - flushTextContentItem(); - enqueueChunk(); - resolve(); - }).catch(reason => { - if (reason instanceof AbortException) { - return; - } - if (this.options.ignoreErrors) { - warn(`getTextContent - ignoring errors during "${task.name}" ` + `task: "${reason}".`); - flushTextContentItem(); - enqueueChunk(); - return; - } - throw reason; - }); - } - async extractDataStructures(dict, properties) { - const xref = this.xref; - let cidToGidBytes; - const toUnicodePromise = this.readToUnicode(properties.toUnicode); - if (properties.composite) { - const cidSystemInfo = dict.get("CIDSystemInfo"); - if (cidSystemInfo instanceof Dict) { - properties.cidSystemInfo = { - registry: stringToPDFString(cidSystemInfo.get("Registry")), - ordering: stringToPDFString(cidSystemInfo.get("Ordering")), - supplement: cidSystemInfo.get("Supplement") - }; - } - try { - const cidToGidMap = dict.get("CIDToGIDMap"); - if (cidToGidMap instanceof BaseStream) { - cidToGidBytes = cidToGidMap.getBytes(); - } - } catch (ex) { - if (!this.options.ignoreErrors) { - throw ex; - } - warn(`extractDataStructures - ignoring CIDToGIDMap data: "${ex}".`); - } - } - const differences = []; - let baseEncodingName = null; - let encoding; - if (dict.has("Encoding")) { - encoding = dict.get("Encoding"); - if (encoding instanceof Dict) { - baseEncodingName = encoding.get("BaseEncoding"); - baseEncodingName = baseEncodingName instanceof Name ? baseEncodingName.name : null; - if (encoding.has("Differences")) { - const diffEncoding = encoding.get("Differences"); - let index = 0; - for (const entry of diffEncoding) { - const data = xref.fetchIfRef(entry); - if (typeof data === "number") { - index = data; - } else if (data instanceof Name) { - differences[index++] = data.name; - } else { - throw new FormatError(`Invalid entry in 'Differences' array: ${data}`); - } - } - } - } else if (encoding instanceof Name) { - baseEncodingName = encoding.name; - } else { - const msg = "Encoding is not a Name nor a Dict"; - if (!this.options.ignoreErrors) { - throw new FormatError(msg); - } - warn(msg); - } - if (baseEncodingName !== "MacRomanEncoding" && baseEncodingName !== "MacExpertEncoding" && baseEncodingName !== "WinAnsiEncoding") { - baseEncodingName = null; - } - } - const nonEmbeddedFont = !properties.file || properties.isInternalFont, - isSymbolsFontName = getSymbolsFonts()[properties.name]; - if (baseEncodingName && nonEmbeddedFont && isSymbolsFontName) { - baseEncodingName = null; - } - if (baseEncodingName) { - properties.defaultEncoding = getEncoding(baseEncodingName); - } else { - const isSymbolicFont = !!(properties.flags & FontFlags.Symbolic); - const isNonsymbolicFont = !!(properties.flags & FontFlags.Nonsymbolic); - encoding = StandardEncoding; - if (properties.type === "TrueType" && !isNonsymbolicFont) { - encoding = WinAnsiEncoding; - } - if (isSymbolicFont || isSymbolsFontName) { - encoding = MacRomanEncoding; - if (nonEmbeddedFont) { - if (/Symbol/i.test(properties.name)) { - encoding = SymbolSetEncoding; - } else if (/Dingbats/i.test(properties.name)) { - encoding = ZapfDingbatsEncoding; - } else if (/Wingdings/i.test(properties.name)) { - encoding = WinAnsiEncoding; - } - } - } - properties.defaultEncoding = encoding; - } - properties.differences = differences; - properties.baseEncodingName = baseEncodingName; - properties.hasEncoding = !!baseEncodingName || differences.length > 0; - properties.dict = dict; - properties.toUnicode = await toUnicodePromise; - const builtToUnicode = await this.buildToUnicode(properties); - properties.toUnicode = builtToUnicode; - if (cidToGidBytes) { - properties.cidToGidMap = this.readCidToGidMap(cidToGidBytes, builtToUnicode); - } - return properties; - } - _simpleFontToUnicode(properties, forceGlyphs = false) { - assert(!properties.composite, "Must be a simple font."); - const toUnicode = []; - const encoding = properties.defaultEncoding.slice(); - const baseEncodingName = properties.baseEncodingName; - const differences = properties.differences; - for (const charcode in differences) { - const glyphName = differences[charcode]; - if (glyphName === ".notdef") { - continue; - } - encoding[charcode] = glyphName; - } - const glyphsUnicodeMap = getGlyphsUnicode(); - for (const charcode in encoding) { - let glyphName = encoding[charcode]; - if (glyphName === "") { - continue; - } - let unicode = glyphsUnicodeMap[glyphName]; - if (unicode !== undefined) { - toUnicode[charcode] = String.fromCharCode(unicode); - continue; - } - let code = 0; - switch (glyphName[0]) { - case "G": - if (glyphName.length === 3) { - code = parseInt(glyphName.substring(1), 16); - } - break; - case "g": - if (glyphName.length === 5) { - code = parseInt(glyphName.substring(1), 16); - } - break; - case "C": - case "c": - if (glyphName.length >= 3 && glyphName.length <= 4) { - const codeStr = glyphName.substring(1); - if (forceGlyphs) { - code = parseInt(codeStr, 16); - break; - } - code = +codeStr; - if (Number.isNaN(code) && Number.isInteger(parseInt(codeStr, 16))) { - return this._simpleFontToUnicode(properties, true); - } - } - break; - case "u": - unicode = getUnicodeForGlyph(glyphName, glyphsUnicodeMap); - if (unicode !== -1) { - code = unicode; - } - break; - default: - switch (glyphName) { - case "f_h": - case "f_t": - case "T_h": - toUnicode[charcode] = glyphName.replaceAll("_", ""); - continue; - } - break; - } - if (code > 0 && code <= 0x10ffff && Number.isInteger(code)) { - if (baseEncodingName && code === +charcode) { - const baseEncoding = getEncoding(baseEncodingName); - if (baseEncoding && (glyphName = baseEncoding[charcode])) { - toUnicode[charcode] = String.fromCharCode(glyphsUnicodeMap[glyphName]); - continue; - } - } - toUnicode[charcode] = String.fromCodePoint(code); - } - } - return toUnicode; - } - async buildToUnicode(properties) { - properties.hasIncludedToUnicodeMap = properties.toUnicode?.length > 0; - if (properties.hasIncludedToUnicodeMap) { - if (!properties.composite && properties.hasEncoding) { - properties.fallbackToUnicode = this._simpleFontToUnicode(properties); - } - return properties.toUnicode; - } - if (!properties.composite) { - return new ToUnicodeMap(this._simpleFontToUnicode(properties)); - } - if (properties.composite && (properties.cMap.builtInCMap && !(properties.cMap instanceof IdentityCMap) || properties.cidSystemInfo?.registry === "Adobe" && (properties.cidSystemInfo.ordering === "GB1" || properties.cidSystemInfo.ordering === "CNS1" || properties.cidSystemInfo.ordering === "Japan1" || properties.cidSystemInfo.ordering === "Korea1"))) { - const { - registry, - ordering - } = properties.cidSystemInfo; - const ucs2CMapName = Name.get(`${registry}-${ordering}-UCS2`); - const ucs2CMap = await CMapFactory.create({ - encoding: ucs2CMapName, - fetchBuiltInCMap: this._fetchBuiltInCMapBound, - useCMap: null - }); - const toUnicode = [], - buf = []; - properties.cMap.forEach(function (charcode, cid) { - if (cid > 0xffff) { - throw new FormatError("Max size of CID is 65,535"); - } - const ucs2 = ucs2CMap.lookup(cid); - if (ucs2) { - buf.length = 0; - for (let i = 0, ii = ucs2.length; i < ii; i += 2) { - buf.push((ucs2.charCodeAt(i) << 8) + ucs2.charCodeAt(i + 1)); - } - toUnicode[charcode] = String.fromCharCode(...buf); - } - }); - return new ToUnicodeMap(toUnicode); - } - return new IdentityToUnicodeMap(properties.firstChar, properties.lastChar); - } - async readToUnicode(cmapObj) { - if (!cmapObj) { - return null; - } - if (cmapObj instanceof Name) { - const cmap = await CMapFactory.create({ - encoding: cmapObj, - fetchBuiltInCMap: this._fetchBuiltInCMapBound, - useCMap: null - }); - if (cmap instanceof IdentityCMap) { - return new IdentityToUnicodeMap(0, 0xffff); - } - return new ToUnicodeMap(cmap.getMap()); - } - if (cmapObj instanceof BaseStream) { - try { - const cmap = await CMapFactory.create({ - encoding: cmapObj, - fetchBuiltInCMap: this._fetchBuiltInCMapBound, - useCMap: null - }); - if (cmap instanceof IdentityCMap) { - return new IdentityToUnicodeMap(0, 0xffff); - } - const map = new Array(cmap.length); - cmap.forEach(function (charCode, token) { - if (typeof token === "number") { - map[charCode] = String.fromCodePoint(token); - return; - } - const str = []; - for (let k = 0; k < token.length; k += 2) { - const w1 = token.charCodeAt(k) << 8 | token.charCodeAt(k + 1); - if ((w1 & 0xf800) !== 0xd800) { - str.push(w1); - continue; - } - k += 2; - const w2 = token.charCodeAt(k) << 8 | token.charCodeAt(k + 1); - str.push(((w1 & 0x3ff) << 10) + (w2 & 0x3ff) + 0x10000); - } - map[charCode] = String.fromCodePoint(...str); - }); - return new ToUnicodeMap(map); - } catch (reason) { - if (reason instanceof AbortException) { - return null; - } - if (this.options.ignoreErrors) { - warn(`readToUnicode - ignoring ToUnicode data: "${reason}".`); - return null; - } - throw reason; - } - } - return null; - } - readCidToGidMap(glyphsData, toUnicode) { - const result = []; - for (let j = 0, jj = glyphsData.length; j < jj; j++) { - const glyphID = glyphsData[j++] << 8 | glyphsData[j]; - const code = j >> 1; - if (glyphID === 0 && !toUnicode.has(code)) { - continue; - } - result[code] = glyphID; - } - return result; - } - extractWidths(dict, descriptor, properties) { - const xref = this.xref; - let glyphsWidths = []; - let defaultWidth = 0; - const glyphsVMetrics = []; - let defaultVMetrics; - if (properties.composite) { - const dw = dict.get("DW"); - defaultWidth = Number.isInteger(dw) ? dw : 1000; - const widths = dict.get("W"); - if (Array.isArray(widths)) { - for (let i = 0, ii = widths.length; i < ii; i++) { - let start = xref.fetchIfRef(widths[i++]); - if (!Number.isInteger(start)) { - break; - } - const code = xref.fetchIfRef(widths[i]); - if (Array.isArray(code)) { - for (const c of code) { - const width = xref.fetchIfRef(c); - if (typeof width === "number") { - glyphsWidths[start] = width; - } - start++; - } - } else if (Number.isInteger(code)) { - const width = xref.fetchIfRef(widths[++i]); - if (typeof width !== "number") { - continue; - } - for (let j = start; j <= code; j++) { - glyphsWidths[j] = width; - } - } else { - break; - } - } - } - if (properties.vertical) { - const dw2 = dict.getArray("DW2"); - let vmetrics = isNumberArray(dw2, 2) ? dw2 : [880, -1000]; - defaultVMetrics = [vmetrics[1], defaultWidth * 0.5, vmetrics[0]]; - vmetrics = dict.get("W2"); - if (Array.isArray(vmetrics)) { - for (let i = 0, ii = vmetrics.length; i < ii; i++) { - let start = xref.fetchIfRef(vmetrics[i++]); - if (!Number.isInteger(start)) { - break; - } - const code = xref.fetchIfRef(vmetrics[i]); - if (Array.isArray(code)) { - for (let j = 0, jj = code.length; j < jj; j++) { - const vmetric = [xref.fetchIfRef(code[j++]), xref.fetchIfRef(code[j++]), xref.fetchIfRef(code[j])]; - if (isNumberArray(vmetric, null)) { - glyphsVMetrics[start] = vmetric; - } - start++; - } - } else if (Number.isInteger(code)) { - const vmetric = [xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vmetrics[++i]), xref.fetchIfRef(vmetrics[++i])]; - if (!isNumberArray(vmetric, null)) { - continue; - } - for (let j = start; j <= code; j++) { - glyphsVMetrics[j] = vmetric; - } - } else { - break; - } - } - } - } - } else { - const widths = dict.get("Widths"); - if (Array.isArray(widths)) { - let j = properties.firstChar; - for (const w of widths) { - const width = xref.fetchIfRef(w); - if (typeof width === "number") { - glyphsWidths[j] = width; - } - j++; - } - const missingWidth = descriptor.get("MissingWidth"); - defaultWidth = typeof missingWidth === "number" ? missingWidth : 0; - } else { - const baseFontName = dict.get("BaseFont"); - if (baseFontName instanceof Name) { - const metrics = this.getBaseFontMetrics(baseFontName.name); - glyphsWidths = this.buildCharCodeToWidth(metrics.widths, properties); - defaultWidth = metrics.defaultWidth; - } - } - } - let isMonospace = true; - let firstWidth = defaultWidth; - for (const glyph in glyphsWidths) { - const glyphWidth = glyphsWidths[glyph]; - if (!glyphWidth) { - continue; - } - if (!firstWidth) { - firstWidth = glyphWidth; - continue; - } - if (firstWidth !== glyphWidth) { - isMonospace = false; - break; - } - } - if (isMonospace) { - properties.flags |= FontFlags.FixedPitch; - } else { - properties.flags &= ~FontFlags.FixedPitch; - } - properties.defaultWidth = defaultWidth; - properties.widths = glyphsWidths; - properties.defaultVMetrics = defaultVMetrics; - properties.vmetrics = glyphsVMetrics; - } - isSerifFont(baseFontName) { - const fontNameWoStyle = baseFontName.split("-", 1)[0]; - return fontNameWoStyle in getSerifFonts() || /serif/gi.test(fontNameWoStyle); - } - getBaseFontMetrics(name) { - let defaultWidth = 0; - let widths = Object.create(null); - let monospace = false; - const stdFontMap = getStdFontMap(); - let lookupName = stdFontMap[name] || name; - const Metrics = getMetrics(); - if (!(lookupName in Metrics)) { - lookupName = this.isSerifFont(name) ? "Times-Roman" : "Helvetica"; - } - const glyphWidths = Metrics[lookupName]; - if (typeof glyphWidths === "number") { - defaultWidth = glyphWidths; - monospace = true; - } else { - widths = glyphWidths(); - } - return { - defaultWidth, - monospace, - widths - }; - } - buildCharCodeToWidth(widthsByGlyphName, properties) { - const widths = Object.create(null); - const differences = properties.differences; - const encoding = properties.defaultEncoding; - for (let charCode = 0; charCode < 256; charCode++) { - if (charCode in differences && widthsByGlyphName[differences[charCode]]) { - widths[charCode] = widthsByGlyphName[differences[charCode]]; - continue; - } - if (charCode in encoding && widthsByGlyphName[encoding[charCode]]) { - widths[charCode] = widthsByGlyphName[encoding[charCode]]; - continue; - } - } - return widths; - } - preEvaluateFont(dict) { - const baseDict = dict; - let type = dict.get("Subtype"); - if (!(type instanceof Name)) { - throw new FormatError("invalid font Subtype"); - } - let composite = false; - let hash; - if (type.name === "Type0") { - const df = dict.get("DescendantFonts"); - if (!df) { - throw new FormatError("Descendant fonts are not specified"); - } - dict = Array.isArray(df) ? this.xref.fetchIfRef(df[0]) : df; - if (!(dict instanceof Dict)) { - throw new FormatError("Descendant font is not a dictionary."); - } - type = dict.get("Subtype"); - if (!(type instanceof Name)) { - throw new FormatError("invalid font Subtype"); - } - composite = true; - } - let firstChar = dict.get("FirstChar"); - if (!Number.isInteger(firstChar)) { - firstChar = 0; - } - let lastChar = dict.get("LastChar"); - if (!Number.isInteger(lastChar)) { - lastChar = composite ? 0xffff : 0xff; - } - const descriptor = dict.get("FontDescriptor"); - const toUnicode = dict.get("ToUnicode") || baseDict.get("ToUnicode"); - if (descriptor) { - hash = new MurmurHash3_64(); - const encoding = baseDict.getRaw("Encoding"); - if (encoding instanceof Name) { - hash.update(encoding.name); - } else if (encoding instanceof Ref) { - hash.update(encoding.toString()); - } else if (encoding instanceof Dict) { - for (const entry of encoding.getRawValues()) { - if (entry instanceof Name) { - hash.update(entry.name); - } else if (entry instanceof Ref) { - hash.update(entry.toString()); - } else if (Array.isArray(entry)) { - const diffLength = entry.length, - diffBuf = new Array(diffLength); - for (let j = 0; j < diffLength; j++) { - const diffEntry = entry[j]; - if (diffEntry instanceof Name) { - diffBuf[j] = diffEntry.name; - } else if (typeof diffEntry === "number" || diffEntry instanceof Ref) { - diffBuf[j] = diffEntry.toString(); - } - } - hash.update(diffBuf.join()); - } - } - } - hash.update(`${firstChar}-${lastChar}`); - if (toUnicode instanceof BaseStream) { - const stream = toUnicode.str || toUnicode; - const uint8array = stream.buffer ? new Uint8Array(stream.buffer.buffer, 0, stream.bufferLength) : new Uint8Array(stream.bytes.buffer, stream.start, stream.end - stream.start); - hash.update(uint8array); - } else if (toUnicode instanceof Name) { - hash.update(toUnicode.name); - } - const widths = dict.get("Widths") || baseDict.get("Widths"); - if (Array.isArray(widths)) { - const widthsBuf = []; - for (const entry of widths) { - if (typeof entry === "number" || entry instanceof Ref) { - widthsBuf.push(entry.toString()); - } - } - hash.update(widthsBuf.join()); - } - if (composite) { - hash.update("compositeFont"); - const compositeWidths = dict.get("W") || baseDict.get("W"); - if (Array.isArray(compositeWidths)) { - const widthsBuf = []; - for (const entry of compositeWidths) { - if (typeof entry === "number" || entry instanceof Ref) { - widthsBuf.push(entry.toString()); - } else if (Array.isArray(entry)) { - const subWidthsBuf = []; - for (const element of entry) { - if (typeof element === "number" || element instanceof Ref) { - subWidthsBuf.push(element.toString()); - } - } - widthsBuf.push(`[${subWidthsBuf.join()}]`); - } - } - hash.update(widthsBuf.join()); - } - const cidToGidMap = dict.getRaw("CIDToGIDMap") || baseDict.getRaw("CIDToGIDMap"); - if (cidToGidMap instanceof Name) { - hash.update(cidToGidMap.name); - } else if (cidToGidMap instanceof Ref) { - hash.update(cidToGidMap.toString()); - } else if (cidToGidMap instanceof BaseStream) { - hash.update(cidToGidMap.peekBytes()); - } - } - } - return { - descriptor, - dict, - baseDict, - composite, - type: type.name, - firstChar, - lastChar, - toUnicode, - hash: hash ? hash.hexdigest() : "" - }; - } - async translateFont({ - descriptor, - dict, - baseDict, - composite, - type, - firstChar, - lastChar, - toUnicode, - cssFontInfo - }) { - const isType3Font = type === "Type3"; - if (!descriptor) { - if (isType3Font) { - let bbox = dict.getArray("FontBBox"); - if (!isNumberArray(bbox, 4)) { - bbox = [0, 0, 0, 0]; - } - descriptor = new Dict(null); - descriptor.set("FontName", Name.get(type)); - descriptor.set("FontBBox", bbox); - } else { - let baseFontName = dict.get("BaseFont"); - if (!(baseFontName instanceof Name)) { - throw new FormatError("Base font is not specified"); - } - baseFontName = baseFontName.name.replaceAll(/[,_]/g, "-"); - const metrics = this.getBaseFontMetrics(baseFontName); - const fontNameWoStyle = baseFontName.split("-", 1)[0]; - const flags = (this.isSerifFont(fontNameWoStyle) ? FontFlags.Serif : 0) | (metrics.monospace ? FontFlags.FixedPitch : 0) | (getSymbolsFonts()[fontNameWoStyle] ? FontFlags.Symbolic : FontFlags.Nonsymbolic); - const properties = { - type, - name: baseFontName, - loadedName: baseDict.loadedName, - systemFontInfo: null, - widths: metrics.widths, - defaultWidth: metrics.defaultWidth, - isSimulatedFlags: true, - flags, - firstChar, - lastChar, - toUnicode, - xHeight: 0, - capHeight: 0, - italicAngle: 0, - isType3Font - }; - const widths = dict.get("Widths"); - const standardFontName = getStandardFontName(baseFontName); - let file = null; - if (standardFontName) { - file = await this.fetchStandardFontData(standardFontName); - properties.isInternalFont = !!file; - } - if (!properties.isInternalFont && this.options.useSystemFonts) { - properties.systemFontInfo = getFontSubstitution(this.systemFontCache, this.idFactory, this.options.standardFontDataUrl, baseFontName, standardFontName, type); - } - const newProperties = await this.extractDataStructures(dict, properties); - if (widths) { - const glyphWidths = []; - let j = firstChar; - for (const width of widths) { - glyphWidths[j++] = this.xref.fetchIfRef(width); - } - newProperties.widths = glyphWidths; - } else { - newProperties.widths = this.buildCharCodeToWidth(metrics.widths, newProperties); - } - return new Font(baseFontName, file, newProperties); - } - } - let fontName = descriptor.get("FontName"); - let baseFont = dict.get("BaseFont"); - if (typeof fontName === "string") { - fontName = Name.get(fontName); - } - if (typeof baseFont === "string") { - baseFont = Name.get(baseFont); - } - const fontNameStr = fontName?.name; - const baseFontStr = baseFont?.name; - if (!isType3Font && fontNameStr !== baseFontStr) { - info(`The FontDescriptor's FontName is "${fontNameStr}" but ` + `should be the same as the Font's BaseFont "${baseFontStr}".`); - if (fontNameStr && baseFontStr && (baseFontStr.startsWith(fontNameStr) || !isKnownFontName(fontNameStr) && isKnownFontName(baseFontStr))) { - fontName = null; - } - } - fontName ||= baseFont; - if (!(fontName instanceof Name)) { - throw new FormatError("invalid font name"); - } - let fontFile, subtype, length1, length2, length3; - try { - fontFile = descriptor.get("FontFile", "FontFile2", "FontFile3"); } catch (ex) { - if (!this.options.ignoreErrors) { - throw ex; - } - warn(`translateFont - fetching "${fontName.name}" font file: "${ex}".`); - fontFile = new NullStream(); - } - let isInternalFont = false; - let glyphScaleFactors = null; - let systemFontInfo = null; - if (fontFile) { - if (fontFile.dict) { - const subtypeEntry = fontFile.dict.get("Subtype"); - if (subtypeEntry instanceof Name) { - subtype = subtypeEntry.name; - } - length1 = fontFile.dict.get("Length1"); - length2 = fontFile.dict.get("Length2"); - length3 = fontFile.dict.get("Length3"); - } - } else if (cssFontInfo) { - const standardFontName = getXfaFontName(fontName.name); - if (standardFontName) { - cssFontInfo.fontFamily = `${cssFontInfo.fontFamily}-PdfJS-XFA`; - cssFontInfo.metrics = standardFontName.metrics || null; - glyphScaleFactors = standardFontName.factors || null; - fontFile = await this.fetchStandardFontData(standardFontName.name); - isInternalFont = !!fontFile; - baseDict = dict = getXfaFontDict(fontName.name); - composite = true; - } - } else if (!isType3Font) { - const standardFontName = getStandardFontName(fontName.name); - if (standardFontName) { - fontFile = await this.fetchStandardFontData(standardFontName); - isInternalFont = !!fontFile; - } - if (!isInternalFont && this.options.useSystemFonts) { - systemFontInfo = getFontSubstitution(this.systemFontCache, this.idFactory, this.options.standardFontDataUrl, fontName.name, standardFontName, type); - } - } - let fontMatrix = dict.getArray("FontMatrix"); - if (!isNumberArray(fontMatrix, 6)) { - fontMatrix = FONT_IDENTITY_MATRIX; - } - let bbox = descriptor.getArray("FontBBox") || dict.getArray("FontBBox"); - if (!isNumberArray(bbox, 4)) { - bbox = undefined; - } - let ascent = descriptor.get("Ascent"); - if (typeof ascent !== "number") { - ascent = undefined; - } - let descent = descriptor.get("Descent"); - if (typeof descent !== "number") { - descent = undefined; - } - let xHeight = descriptor.get("XHeight"); - if (typeof xHeight !== "number") { - xHeight = 0; - } - let capHeight = descriptor.get("CapHeight"); - if (typeof capHeight !== "number") { - capHeight = 0; - } - let flags = descriptor.get("Flags"); - if (!Number.isInteger(flags)) { - flags = 0; - } - let italicAngle = descriptor.get("ItalicAngle"); - if (typeof italicAngle !== "number") { - italicAngle = 0; - } - const properties = { - type, - name: fontName.name, - subtype, - file: fontFile, - length1, - length2, - length3, - isInternalFont, - loadedName: baseDict.loadedName, - composite, - fixedPitch: false, - fontMatrix, - firstChar, - lastChar, - toUnicode, - bbox, - ascent, - descent, - xHeight, - capHeight, - flags, - italicAngle, - isType3Font, - cssFontInfo, - scaleFactors: glyphScaleFactors, - systemFontInfo - }; - if (composite) { - const cidEncoding = baseDict.get("Encoding"); - if (cidEncoding instanceof Name) { - properties.cidEncoding = cidEncoding.name; - } - const cMap = await CMapFactory.create({ - encoding: cidEncoding, - fetchBuiltInCMap: this._fetchBuiltInCMapBound, - useCMap: null - }); - properties.cMap = cMap; - properties.vertical = properties.cMap.vertical; - } - const newProperties = await this.extractDataStructures(dict, properties); - this.extractWidths(dict, descriptor, newProperties); - return new Font(fontName.name, fontFile, newProperties); - } - static buildFontPaths(font, glyphs, handler, evaluatorOptions) { - function buildPath(fontChar) { - const glyphName = `${font.loadedName}_path_${fontChar}`; - try { - if (font.renderer.hasBuiltPath(fontChar)) { - return; - } - handler.send("commonobj", [glyphName, "FontPath", font.renderer.getPathJs(fontChar)]); - } catch (reason) { - if (evaluatorOptions.ignoreErrors) { - warn(`buildFontPaths - ignoring ${glyphName} glyph: "${reason}".`); - return; - } - throw reason; - } - } - for (const glyph of glyphs) { - buildPath(glyph.fontChar); - const accent = glyph.accent; - if (accent?.fontChar) { - buildPath(accent.fontChar); - } + (0, _util.info)(`writeStream - cannot compress data: "${ex}".`); } } - static get fallbackFontDict() { - const dict = new Dict(); - dict.set("BaseFont", Name.get("Helvetica")); - dict.set("Type", Name.get("FallbackType")); - dict.set("Subtype", Name.get("FallbackType")); - dict.set("Encoding", Name.get("WinAnsiEncoding")); - return shadow(this, "fallbackFontDict", dict); + dict.set("Length", string.length); + await writeDict(dict, buffer, transform); + buffer.push(" stream\n", string, "\nendstream"); +} +async function writeArray(array, buffer, transform) { + buffer.push("["); + let first = true; + for (const val of array) { + if (!first) { + buffer.push(" "); + } else { + first = false; + } + await writeValue(val, buffer, transform); + } + buffer.push("]"); +} +async function writeValue(value, buffer, transform) { + if (value instanceof _primitives.Name) { + buffer.push(`/${(0, _core_utils.escapePDFName)(value.name)}`); + } else if (value instanceof _primitives.Ref) { + buffer.push(`${value.num} ${value.gen} R`); + } else if (Array.isArray(value)) { + await writeArray(value, buffer, transform); + } else if (typeof value === "string") { + if (transform !== null) { + value = transform.encryptString(value); + } + buffer.push(`(${(0, _core_utils.escapeString)(value)})`); + } else if (typeof value === "number") { + buffer.push((0, _core_utils.numberToString)(value)); + } else if (typeof value === "boolean") { + buffer.push(value.toString()); + } else if (value instanceof _primitives.Dict) { + await writeDict(value, buffer, transform); + } else if (value instanceof _base_stream.BaseStream) { + await writeStream(value, buffer, transform); + } else if (value === null) { + buffer.push("null"); + } else { + (0, _util.warn)(`Unhandled value in writer: ${typeof value}, please file a bug.`); } } -class TranslatedFont { - constructor({ - loadedName, - font, - dict, - evaluatorOptions - }) { - this.loadedName = loadedName; - this.font = font; - this.dict = dict; - this._evaluatorOptions = evaluatorOptions || DefaultPartialEvaluatorOptions; - this.type3Loaded = null; - this.type3Dependencies = font.isType3Font ? new Set() : null; - this.sent = false; +function writeInt(number, size, offset, buffer) { + for (let i = size + offset - 1; i > offset - 1; i--) { + buffer[i] = number & 0xff; + number >>= 8; } - send(handler) { - if (this.sent) { - return; - } - this.sent = true; - handler.send("commonobj", [this.loadedName, "Font", this.font.exportData(this._evaluatorOptions.fontExtraProperties)]); + return offset + size; +} +function writeString(string, offset, buffer) { + for (let i = 0, len = string.length; i < len; i++) { + buffer[offset + i] = string.charCodeAt(i) & 0xff; } - fallback(handler) { - if (!this.font.data) { - return; - } - this.font.disableFontFace = true; - PartialEvaluator.buildFontPaths(this.font, this.font.glyphCacheValues, handler, this._evaluatorOptions); +} +function computeMD5(filesize, xrefInfo) { + const time = Math.floor(Date.now() / 1000); + const filename = xrefInfo.filename || ""; + const md5Buffer = [time.toString(), filename, filesize.toString()]; + let md5BufferLen = md5Buffer.reduce((a, str) => a + str.length, 0); + for (const value of Object.values(xrefInfo.info)) { + md5Buffer.push(value); + md5BufferLen += value.length; } - loadType3Data(evaluator, resources, task) { - if (this.type3Loaded) { - return this.type3Loaded; + const array = new Uint8Array(md5BufferLen); + let offset = 0; + for (const str of md5Buffer) { + writeString(str, offset, array); + offset += str.length; + } + return (0, _util.bytesToString)((0, _crypto.calculateMD5)(array)); +} +function writeXFADataForAcroform(str, newRefs) { + const xml = new _xml_parser.SimpleXMLParser({ + hasAttributes: true + }).parseFromString(str); + for (const { + xfa + } of newRefs) { + if (!xfa) { + continue; } - if (!this.font.isType3Font) { - throw new Error("Must be a Type3 font."); + const { + path, + value + } = xfa; + if (!path) { + continue; } - const type3Evaluator = evaluator.clone({ - ignoreErrors: false - }); - type3Evaluator.parsingType3Font = true; - const type3FontRefs = new RefSet(evaluator.type3FontRefs); - if (this.dict.objId && !type3FontRefs.has(this.dict.objId)) { - type3FontRefs.put(this.dict.objId); + const nodePath = (0, _core_utils.parseXFAPath)(path); + let node = xml.documentElement.searchNode(nodePath, 0); + if (!node && nodePath.length > 1) { + node = xml.documentElement.searchNode([nodePath.at(-1)], 0); } - type3Evaluator.type3FontRefs = type3FontRefs; - const translatedFont = this.font, - type3Dependencies = this.type3Dependencies; - let loadCharProcsPromise = Promise.resolve(); - const charProcs = this.dict.get("CharProcs"); - const fontResources = this.dict.get("Resources") || resources; - const charProcOperatorList = Object.create(null); - const fontBBox = Util.normalizeRect(translatedFont.bbox || [0, 0, 0, 0]), - width = fontBBox[2] - fontBBox[0], - height = fontBBox[3] - fontBBox[1]; - const fontBBoxSize = Math.hypot(width, height); - for (const key of charProcs.getKeys()) { - loadCharProcsPromise = loadCharProcsPromise.then(() => { - const glyphStream = charProcs.get(key); - const operatorList = new OperatorList(); - return type3Evaluator.getOperatorList({ - stream: glyphStream, - task, - resources: fontResources, - operatorList - }).then(() => { - if (operatorList.fnArray[0] === OPS.setCharWidthAndBounds) { - this._removeType3ColorOperators(operatorList, fontBBoxSize); - } - charProcOperatorList[key] = operatorList.getIR(); - for (const dependency of operatorList.dependencies) { - type3Dependencies.add(dependency); - } - }).catch(function (reason) { - warn(`Type3 font resource "${key}" is not available.`); - const dummyOperatorList = new OperatorList(); - charProcOperatorList[key] = dummyOperatorList.getIR(); - }); - }); - } - this.type3Loaded = loadCharProcsPromise.then(() => { - translatedFont.charProcOperatorList = charProcOperatorList; - if (this._bbox) { - translatedFont.isCharBBox = true; - translatedFont.bbox = this._bbox; + if (node) { + if (Array.isArray(value)) { + node.childNodes = value.map(val => new _xml_parser.SimpleDOMNode("value", val)); + } else { + node.childNodes = [new _xml_parser.SimpleDOMNode("#text", value)]; } - }); - return this.type3Loaded; - } - _removeType3ColorOperators(operatorList, fontBBoxSize = NaN) { - const charBBox = Util.normalizeRect(operatorList.argsArray[0].slice(2)), - width = charBBox[2] - charBBox[0], - height = charBBox[3] - charBBox[1]; - const charBBoxSize = Math.hypot(width, height); - if (width === 0 || height === 0) { - operatorList.fnArray.splice(0, 1); - operatorList.argsArray.splice(0, 1); - } else if (fontBBoxSize === 0 || Math.round(charBBoxSize / fontBBoxSize) >= 10) { - if (!this._bbox) { - this._bbox = [Infinity, Infinity, -Infinity, -Infinity]; - } - this._bbox[0] = Math.min(this._bbox[0], charBBox[0]); - this._bbox[1] = Math.min(this._bbox[1], charBBox[1]); - this._bbox[2] = Math.max(this._bbox[2], charBBox[2]); - this._bbox[3] = Math.max(this._bbox[3], charBBox[3]); - } - let i = 0, - ii = operatorList.length; - while (i < ii) { - switch (operatorList.fnArray[i]) { - case OPS.setCharWidthAndBounds: - break; - case OPS.setStrokeColorSpace: - case OPS.setFillColorSpace: - case OPS.setStrokeColor: - case OPS.setStrokeColorN: - case OPS.setFillColor: - case OPS.setFillColorN: - case OPS.setStrokeGray: - case OPS.setFillGray: - case OPS.setStrokeRGBColor: - case OPS.setFillRGBColor: - case OPS.setStrokeCMYKColor: - case OPS.setFillCMYKColor: - case OPS.shadingFill: - case OPS.setRenderingIntent: - operatorList.fnArray.splice(i, 1); - operatorList.argsArray.splice(i, 1); - ii--; - continue; - case OPS.setGState: - const [gStateObj] = operatorList.argsArray[i]; - let j = 0, - jj = gStateObj.length; - while (j < jj) { - const [gStateKey] = gStateObj[j]; - switch (gStateKey) { - case "TR": - case "TR2": - case "HT": - case "BG": - case "BG2": - case "UCR": - case "UCR2": - gStateObj.splice(j, 1); - jj--; - continue; - } - j++; - } - break; - } - i++; + } else { + (0, _util.warn)(`Node not found for path: ${path}`); } } + const buffer = []; + xml.documentElement.dump(buffer); + return buffer.join(""); } -class StateManager { - constructor(initialState = new EvalState()) { - this.state = initialState; - this.stateStack = []; +async function updateAcroform({ + xref, + acroForm, + acroFormRef, + hasXfa, + hasXfaDatasetsEntry, + xfaDatasetsRef, + needAppearances, + newRefs +}) { + if (hasXfa && !hasXfaDatasetsEntry && !xfaDatasetsRef) { + (0, _util.warn)("XFA - Cannot save it"); } - save() { - const old = this.state; - this.stateStack.push(this.state); - this.state = old.clone(); + if (!needAppearances && (!hasXfa || !xfaDatasetsRef)) { + return; } - restore() { - const prev = this.stateStack.pop(); - if (prev) { - this.state = prev; - } + const dict = new _primitives.Dict(xref); + for (const key of acroForm.getKeys()) { + dict.set(key, acroForm.getRaw(key)); } - transform(args) { - this.state.ctm = Util.transform(this.state.ctm, args); + if (hasXfa && !hasXfaDatasetsEntry) { + const newXfa = acroForm.get("XFA").slice(); + newXfa.splice(2, 0, "datasets"); + newXfa.splice(3, 0, xfaDatasetsRef); + dict.set("XFA", newXfa); } + if (needAppearances) { + dict.set("NeedAppearances", true); + } + const encrypt = xref.encrypt; + let transform = null; + if (encrypt) { + transform = encrypt.createCipherTransform(acroFormRef.num, acroFormRef.gen); + } + const buffer = []; + await writeObject(acroFormRef, dict, buffer, transform); + newRefs.push({ + ref: acroFormRef, + data: buffer.join("") + }); } -class TextState { - constructor() { - this.ctm = new Float32Array(IDENTITY_MATRIX); - this.fontName = null; - this.fontSize = 0; - this.loadedName = null; - this.font = null; - this.fontMatrix = FONT_IDENTITY_MATRIX; - this.textMatrix = IDENTITY_MATRIX.slice(); - this.textLineMatrix = IDENTITY_MATRIX.slice(); - this.charSpacing = 0; - this.wordSpacing = 0; - this.leading = 0; - this.textHScale = 1; - this.textRise = 0; +function updateXFA({ + xfaData, + xfaDatasetsRef, + newRefs, + xref +}) { + if (xfaData === null) { + const datasets = xref.fetchIfRef(xfaDatasetsRef); + xfaData = writeXFADataForAcroform(datasets.getString(), newRefs); } - setTextMatrix(a, b, c, d, e, f) { - const m = this.textMatrix; - m[0] = a; - m[1] = b; - m[2] = c; - m[3] = d; - m[4] = e; - m[5] = f; - } - setTextLineMatrix(a, b, c, d, e, f) { - const m = this.textLineMatrix; - m[0] = a; - m[1] = b; - m[2] = c; - m[3] = d; - m[4] = e; - m[5] = f; - } - translateTextMatrix(x, y) { - const m = this.textMatrix; - m[4] = m[0] * x + m[2] * y + m[4]; - m[5] = m[1] * x + m[3] * y + m[5]; - } - translateTextLineMatrix(x, y) { - const m = this.textLineMatrix; - m[4] = m[0] * x + m[2] * y + m[4]; - m[5] = m[1] * x + m[3] * y + m[5]; - } - carriageReturn() { - this.translateTextLineMatrix(0, -this.leading); - this.textMatrix = this.textLineMatrix.slice(); - } - clone() { - const clone = Object.create(this); - clone.textMatrix = this.textMatrix.slice(); - clone.textLineMatrix = this.textLineMatrix.slice(); - clone.fontMatrix = this.fontMatrix.slice(); - return clone; + const encrypt = xref.encrypt; + if (encrypt) { + const transform = encrypt.createCipherTransform(xfaDatasetsRef.num, xfaDatasetsRef.gen); + xfaData = transform.encryptString(xfaData); } + const data = `${xfaDatasetsRef.num} ${xfaDatasetsRef.gen} obj\n` + `<< /Type /EmbeddedFile /Length ${xfaData.length}>>\nstream\n` + xfaData + "\nendstream\nendobj\n"; + newRefs.push({ + ref: xfaDatasetsRef, + data + }); } -class EvalState { - constructor() { - this.ctm = new Float32Array(IDENTITY_MATRIX); - this.font = null; - this.textRenderingMode = TextRenderingMode.FILL; - this.fillColorSpace = ColorSpace.singletons.gray; - this.strokeColorSpace = ColorSpace.singletons.gray; - } - clone() { - return Object.create(this); - } -} -class EvaluatorPreprocessor { - static get opMap() { - return shadow(this, "opMap", Object.assign(Object.create(null), { - w: { - id: OPS.setLineWidth, - numArgs: 1, - variableArgs: false - }, - J: { - id: OPS.setLineCap, - numArgs: 1, - variableArgs: false - }, - j: { - id: OPS.setLineJoin, - numArgs: 1, - variableArgs: false - }, - M: { - id: OPS.setMiterLimit, - numArgs: 1, - variableArgs: false - }, - d: { - id: OPS.setDash, - numArgs: 2, - variableArgs: false - }, - ri: { - id: OPS.setRenderingIntent, - numArgs: 1, - variableArgs: false - }, - i: { - id: OPS.setFlatness, - numArgs: 1, - variableArgs: false - }, - gs: { - id: OPS.setGState, - numArgs: 1, - variableArgs: false - }, - q: { - id: OPS.save, - numArgs: 0, - variableArgs: false - }, - Q: { - id: OPS.restore, - numArgs: 0, - variableArgs: false - }, - cm: { - id: OPS.transform, - numArgs: 6, - variableArgs: false - }, - m: { - id: OPS.moveTo, - numArgs: 2, - variableArgs: false - }, - l: { - id: OPS.lineTo, - numArgs: 2, - variableArgs: false - }, - c: { - id: OPS.curveTo, - numArgs: 6, - variableArgs: false - }, - v: { - id: OPS.curveTo2, - numArgs: 4, - variableArgs: false - }, - y: { - id: OPS.curveTo3, - numArgs: 4, - variableArgs: false - }, - h: { - id: OPS.closePath, - numArgs: 0, - variableArgs: false - }, - re: { - id: OPS.rectangle, - numArgs: 4, - variableArgs: false - }, - S: { - id: OPS.stroke, - numArgs: 0, - variableArgs: false - }, - s: { - id: OPS.closeStroke, - numArgs: 0, - variableArgs: false - }, - f: { - id: OPS.fill, - numArgs: 0, - variableArgs: false - }, - F: { - id: OPS.fill, - numArgs: 0, - variableArgs: false - }, - "f*": { - id: OPS.eoFill, - numArgs: 0, - variableArgs: false - }, - B: { - id: OPS.fillStroke, - numArgs: 0, - variableArgs: false - }, - "B*": { - id: OPS.eoFillStroke, - numArgs: 0, - variableArgs: false - }, - b: { - id: OPS.closeFillStroke, - numArgs: 0, - variableArgs: false - }, - "b*": { - id: OPS.closeEOFillStroke, - numArgs: 0, - variableArgs: false - }, - n: { - id: OPS.endPath, - numArgs: 0, - variableArgs: false - }, - W: { - id: OPS.clip, - numArgs: 0, - variableArgs: false - }, - "W*": { - id: OPS.eoClip, - numArgs: 0, - variableArgs: false - }, - BT: { - id: OPS.beginText, - numArgs: 0, - variableArgs: false - }, - ET: { - id: OPS.endText, - numArgs: 0, - variableArgs: false - }, - Tc: { - id: OPS.setCharSpacing, - numArgs: 1, - variableArgs: false - }, - Tw: { - id: OPS.setWordSpacing, - numArgs: 1, - variableArgs: false - }, - Tz: { - id: OPS.setHScale, - numArgs: 1, - variableArgs: false - }, - TL: { - id: OPS.setLeading, - numArgs: 1, - variableArgs: false - }, - Tf: { - id: OPS.setFont, - numArgs: 2, - variableArgs: false - }, - Tr: { - id: OPS.setTextRenderingMode, - numArgs: 1, - variableArgs: false - }, - Ts: { - id: OPS.setTextRise, - numArgs: 1, - variableArgs: false - }, - Td: { - id: OPS.moveText, - numArgs: 2, - variableArgs: false - }, - TD: { - id: OPS.setLeadingMoveText, - numArgs: 2, - variableArgs: false - }, - Tm: { - id: OPS.setTextMatrix, - numArgs: 6, - variableArgs: false - }, - "T*": { - id: OPS.nextLine, - numArgs: 0, - variableArgs: false - }, - Tj: { - id: OPS.showText, - numArgs: 1, - variableArgs: false - }, - TJ: { - id: OPS.showSpacedText, - numArgs: 1, - variableArgs: false - }, - "'": { - id: OPS.nextLineShowText, - numArgs: 1, - variableArgs: false - }, - '"': { - id: OPS.nextLineSetSpacingShowText, - numArgs: 3, - variableArgs: false - }, - d0: { - id: OPS.setCharWidth, - numArgs: 2, - variableArgs: false - }, - d1: { - id: OPS.setCharWidthAndBounds, - numArgs: 6, - variableArgs: false - }, - CS: { - id: OPS.setStrokeColorSpace, - numArgs: 1, - variableArgs: false - }, - cs: { - id: OPS.setFillColorSpace, - numArgs: 1, - variableArgs: false - }, - SC: { - id: OPS.setStrokeColor, - numArgs: 4, - variableArgs: true - }, - SCN: { - id: OPS.setStrokeColorN, - numArgs: 33, - variableArgs: true - }, - sc: { - id: OPS.setFillColor, - numArgs: 4, - variableArgs: true - }, - scn: { - id: OPS.setFillColorN, - numArgs: 33, - variableArgs: true - }, - G: { - id: OPS.setStrokeGray, - numArgs: 1, - variableArgs: false - }, - g: { - id: OPS.setFillGray, - numArgs: 1, - variableArgs: false - }, - RG: { - id: OPS.setStrokeRGBColor, - numArgs: 3, - variableArgs: false - }, - rg: { - id: OPS.setFillRGBColor, - numArgs: 3, - variableArgs: false - }, - K: { - id: OPS.setStrokeCMYKColor, - numArgs: 4, - variableArgs: false - }, - k: { - id: OPS.setFillCMYKColor, - numArgs: 4, - variableArgs: false - }, - sh: { - id: OPS.shadingFill, - numArgs: 1, - variableArgs: false - }, - BI: { - id: OPS.beginInlineImage, - numArgs: 0, - variableArgs: false - }, - ID: { - id: OPS.beginImageData, - numArgs: 0, - variableArgs: false - }, - EI: { - id: OPS.endInlineImage, - numArgs: 1, - variableArgs: false - }, - Do: { - id: OPS.paintXObject, - numArgs: 1, - variableArgs: false - }, - MP: { - id: OPS.markPoint, - numArgs: 1, - variableArgs: false - }, - DP: { - id: OPS.markPointProps, - numArgs: 2, - variableArgs: false - }, - BMC: { - id: OPS.beginMarkedContent, - numArgs: 1, - variableArgs: false - }, - BDC: { - id: OPS.beginMarkedContentProps, - numArgs: 2, - variableArgs: false - }, - EMC: { - id: OPS.endMarkedContent, - numArgs: 0, - variableArgs: false - }, - BX: { - id: OPS.beginCompat, - numArgs: 0, - variableArgs: false - }, - EX: { - id: OPS.endCompat, - numArgs: 0, - variableArgs: false - }, - BM: null, - BD: null, - true: null, - fa: null, - fal: null, - fals: null, - false: null, - nu: null, - nul: null, - null: null - })); - } - static MAX_INVALID_PATH_OPS = 10; - constructor(stream, xref, stateManager = new StateManager()) { - this.parser = new Parser({ - lexer: new Lexer(stream, EvaluatorPreprocessor.opMap), +async function incrementalUpdate({ + originalData, + xrefInfo, + newRefs, + xref = null, + hasXfa = false, + xfaDatasetsRef = null, + hasXfaDatasetsEntry = false, + needAppearances, + acroFormRef = null, + acroForm = null, + xfaData = null +}) { + await updateAcroform({ + xref, + acroForm, + acroFormRef, + hasXfa, + hasXfaDatasetsEntry, + xfaDatasetsRef, + needAppearances, + newRefs + }); + if (hasXfa) { + updateXFA({ + xfaData, + xfaDatasetsRef, + newRefs, xref }); - this.stateManager = stateManager; - this.nonProcessedArgs = []; - this._isPathOp = false; - this._numInvalidPathOPS = 0; } - get savedStatesDepth() { - return this.stateManager.stateStack.length; + const newXref = new _primitives.Dict(null); + const refForXrefTable = xrefInfo.newRef; + let buffer, baseOffset; + const lastByte = originalData.at(-1); + if (lastByte === 0x0a || lastByte === 0x0d) { + buffer = []; + baseOffset = originalData.length; + } else { + buffer = ["\n"]; + baseOffset = originalData.length + 1; } - read(operation) { - let args = operation.args; - while (true) { - const obj = this.parser.getObj(); - if (obj instanceof Cmd) { - const cmd = obj.cmd; - const opSpec = EvaluatorPreprocessor.opMap[cmd]; - if (!opSpec) { - warn(`Unknown command "${cmd}".`); - continue; - } - const fn = opSpec.id; - const numArgs = opSpec.numArgs; - let argsLength = args !== null ? args.length : 0; - if (!this._isPathOp) { - this._numInvalidPathOPS = 0; - } - this._isPathOp = fn >= OPS.moveTo && fn <= OPS.endPath; - if (!opSpec.variableArgs) { - if (argsLength !== numArgs) { - const nonProcessedArgs = this.nonProcessedArgs; - while (argsLength > numArgs) { - nonProcessedArgs.push(args.shift()); - argsLength--; - } - while (argsLength < numArgs && nonProcessedArgs.length !== 0) { - if (args === null) { - args = []; - } - args.unshift(nonProcessedArgs.pop()); - argsLength++; - } - } - if (argsLength < numArgs) { - const partialMsg = `command ${cmd}: expected ${numArgs} args, ` + `but received ${argsLength} args.`; - if (this._isPathOp && ++this._numInvalidPathOPS > EvaluatorPreprocessor.MAX_INVALID_PATH_OPS) { - throw new FormatError(`Invalid ${partialMsg}`); - } - warn(`Skipping ${partialMsg}`); - if (args !== null) { - args.length = 0; - } - continue; - } - } else if (argsLength > numArgs) { - info(`Command ${cmd}: expected [0, ${numArgs}] args, ` + `but received ${argsLength} args.`); - } - this.preprocessCommand(fn, args); - operation.fn = fn; - operation.args = args; - return true; - } - if (obj === EOF) { - return false; - } - if (obj !== null) { - if (args === null) { - args = []; - } - args.push(obj); - if (args.length > 33) { - throw new FormatError("Too many arguments"); - } - } - } + newXref.set("Size", refForXrefTable.num + 1); + newXref.set("Prev", xrefInfo.startXRef); + newXref.set("Type", _primitives.Name.get("XRef")); + if (xrefInfo.rootRef !== null) { + newXref.set("Root", xrefInfo.rootRef); } - preprocessCommand(fn, args) { - switch (fn | 0) { - case OPS.save: - this.stateManager.save(); - break; - case OPS.restore: - this.stateManager.restore(); - break; - case OPS.transform: - this.stateManager.transform(args); - break; - } + if (xrefInfo.infoRef !== null) { + newXref.set("Info", xrefInfo.infoRef); } + if (xrefInfo.encryptRef !== null) { + newXref.set("Encrypt", xrefInfo.encryptRef); + } + newRefs.push({ + ref: refForXrefTable, + data: "" + }); + newRefs = newRefs.sort((a, b) => { + return a.ref.num - b.ref.num; + }); + const xrefTableData = [[0, 1, 0xffff]]; + const indexes = [0, 1]; + let maxOffset = 0; + for (const { + ref, + data + } of newRefs) { + maxOffset = Math.max(maxOffset, baseOffset); + xrefTableData.push([1, baseOffset, Math.min(ref.gen, 0xffff)]); + baseOffset += data.length; + indexes.push(ref.num, 1); + buffer.push(data); + } + newXref.set("Index", indexes); + if (Array.isArray(xrefInfo.fileIds) && xrefInfo.fileIds.length > 0) { + const md5 = computeMD5(baseOffset, xrefInfo); + newXref.set("ID", [xrefInfo.fileIds[0], md5]); + } + const offsetSize = Math.ceil(Math.log2(maxOffset) / 8); + const sizes = [1, offsetSize, 2]; + const structSize = sizes[0] + sizes[1] + sizes[2]; + const tableLength = structSize * xrefTableData.length; + newXref.set("W", sizes); + newXref.set("Length", tableLength); + buffer.push(`${refForXrefTable.num} ${refForXrefTable.gen} obj\n`); + await writeDict(newXref, buffer, null); + buffer.push(" stream\n"); + const bufferLen = buffer.reduce((a, str) => a + str.length, 0); + const footer = `\nendstream\nendobj\nstartxref\n${baseOffset}\n%%EOF\n`; + const array = new Uint8Array(originalData.length + bufferLen + tableLength + footer.length); + array.set(originalData); + let offset = originalData.length; + for (const str of buffer) { + writeString(str, offset, array); + offset += str.length; + } + for (const [type, objOffset, gen] of xrefTableData) { + offset = writeInt(type, sizes[0], offset, array); + offset = writeInt(objOffset, sizes[1], offset, array); + offset = writeInt(gen, sizes[2], offset, array); + } + writeString(footer, offset, array); + return array; } -;// CONCATENATED MODULE: ./src/core/default_appearance.js - - - - - - - - - - - - - - - -class DefaultAppearanceEvaluator extends EvaluatorPreprocessor { - constructor(str) { - super(new StringStream(str)); - } - parse() { - const operation = { - fn: 0, - args: [] - }; - const result = { - fontSize: 0, - fontName: "", - fontColor: new Uint8ClampedArray(3) - }; - try { - while (true) { - operation.args.length = 0; - if (!this.read(operation)) { - break; - } - if (this.savedStatesDepth !== 0) { - continue; - } - const { - fn, - args - } = operation; - switch (fn | 0) { - case OPS.setFont: - const [fontName, fontSize] = args; - if (fontName instanceof Name) { - result.fontName = fontName.name; - } - if (typeof fontSize === "number" && fontSize > 0) { - result.fontSize = fontSize; - } - break; - case OPS.setFillRGBColor: - ColorSpace.singletons.rgb.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.setFillGray: - ColorSpace.singletons.gray.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.setFillCMYKColor: - ColorSpace.singletons.cmyk.getRgbItem(args, 0, result.fontColor, 0); - break; - } - } - } catch (reason) { - warn(`parseDefaultAppearance - ignoring errors: "${reason}".`); - } - return result; - } -} -function parseDefaultAppearance(str) { - return new DefaultAppearanceEvaluator(str).parse(); -} -class AppearanceStreamEvaluator extends EvaluatorPreprocessor { - constructor(stream, evaluatorOptions, xref) { - super(stream); - this.stream = stream; - this.evaluatorOptions = evaluatorOptions; - this.xref = xref; - this.resources = stream.dict?.get("Resources"); - } - parse() { - const operation = { - fn: 0, - args: [] - }; - let result = { - scaleFactor: 1, - fontSize: 0, - fontName: "", - fontColor: new Uint8ClampedArray(3), - fillColorSpace: ColorSpace.singletons.gray - }; - let breakLoop = false; - const stack = []; - try { - while (true) { - operation.args.length = 0; - if (breakLoop || !this.read(operation)) { - break; - } - const { - fn, - args - } = operation; - switch (fn | 0) { - case OPS.save: - stack.push({ - scaleFactor: result.scaleFactor, - fontSize: result.fontSize, - fontName: result.fontName, - fontColor: result.fontColor.slice(), - fillColorSpace: result.fillColorSpace - }); - break; - case OPS.restore: - result = stack.pop() || result; - break; - case OPS.setTextMatrix: - result.scaleFactor *= Math.hypot(args[0], args[1]); - break; - case OPS.setFont: - const [fontName, fontSize] = args; - if (fontName instanceof Name) { - result.fontName = fontName.name; - } - if (typeof fontSize === "number" && fontSize > 0) { - result.fontSize = fontSize * result.scaleFactor; - } - break; - case OPS.setFillColorSpace: - result.fillColorSpace = ColorSpace.parse({ - cs: args[0], - xref: this.xref, - resources: this.resources, - pdfFunctionFactory: this._pdfFunctionFactory, - localColorSpaceCache: this._localColorSpaceCache - }); - break; - case OPS.setFillColor: - const cs = result.fillColorSpace; - cs.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.setFillRGBColor: - ColorSpace.singletons.rgb.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.setFillGray: - ColorSpace.singletons.gray.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.setFillCMYKColor: - ColorSpace.singletons.cmyk.getRgbItem(args, 0, result.fontColor, 0); - break; - case OPS.showText: - case OPS.showSpacedText: - case OPS.nextLineShowText: - case OPS.nextLineSetSpacingShowText: - breakLoop = true; - break; - } - } - } catch (reason) { - warn(`parseAppearanceStream - ignoring errors: "${reason}".`); - } - this.stream.reset(); - delete result.scaleFactor; - delete result.fillColorSpace; - return result; - } - get _localColorSpaceCache() { - return shadow(this, "_localColorSpaceCache", new LocalColorSpaceCache()); - } - get _pdfFunctionFactory() { - const pdfFunctionFactory = new PDFFunctionFactory({ - xref: this.xref, - isEvalSupported: this.evaluatorOptions.isEvalSupported - }); - return shadow(this, "_pdfFunctionFactory", pdfFunctionFactory); - } -} -function parseAppearanceStream(stream, evaluatorOptions, xref) { - return new AppearanceStreamEvaluator(stream, evaluatorOptions, xref).parse(); -} -function getPdfColor(color, isFill) { - if (color[0] === color[1] && color[1] === color[2]) { - const gray = color[0] / 255; - return `${numberToString(gray)} ${isFill ? "g" : "G"}`; - } - return Array.from(color, c => numberToString(c / 255)).join(" ") + ` ${isFill ? "rg" : "RG"}`; -} -function createDefaultAppearance({ - fontSize, - fontName, - fontColor -}) { - return `/${escapePDFName(fontName)} ${fontSize} Tf ${getPdfColor(fontColor, true)}`; -} -class FakeUnicodeFont { - constructor(xref, fontFamily) { - this.xref = xref; - this.widths = null; - this.firstChar = Infinity; - this.lastChar = -Infinity; - this.fontFamily = fontFamily; - const canvas = new OffscreenCanvas(1, 1); - this.ctxMeasure = canvas.getContext("2d"); - if (!FakeUnicodeFont._fontNameId) { - FakeUnicodeFont._fontNameId = 1; - } - this.fontName = Name.get(`InvalidPDFjsFont_${fontFamily}_${FakeUnicodeFont._fontNameId++}`); - } - get fontDescriptorRef() { - if (!FakeUnicodeFont._fontDescriptorRef) { - const fontDescriptor = new Dict(this.xref); - fontDescriptor.set("Type", Name.get("FontDescriptor")); - fontDescriptor.set("FontName", this.fontName); - fontDescriptor.set("FontFamily", "MyriadPro Regular"); - fontDescriptor.set("FontBBox", [0, 0, 0, 0]); - fontDescriptor.set("FontStretch", Name.get("Normal")); - fontDescriptor.set("FontWeight", 400); - fontDescriptor.set("ItalicAngle", 0); - FakeUnicodeFont._fontDescriptorRef = this.xref.getNewPersistentRef(fontDescriptor); - } - return FakeUnicodeFont._fontDescriptorRef; - } - get descendantFontRef() { - const descendantFont = new Dict(this.xref); - descendantFont.set("BaseFont", this.fontName); - descendantFont.set("Type", Name.get("Font")); - descendantFont.set("Subtype", Name.get("CIDFontType0")); - descendantFont.set("CIDToGIDMap", Name.get("Identity")); - descendantFont.set("FirstChar", this.firstChar); - descendantFont.set("LastChar", this.lastChar); - descendantFont.set("FontDescriptor", this.fontDescriptorRef); - descendantFont.set("DW", 1000); - const widths = []; - const chars = [...this.widths.entries()].sort(); - let currentChar = null; - let currentWidths = null; - for (const [char, width] of chars) { - if (!currentChar) { - currentChar = char; - currentWidths = [width]; - continue; - } - if (char === currentChar + currentWidths.length) { - currentWidths.push(width); - } else { - widths.push(currentChar, currentWidths); - currentChar = char; - currentWidths = [width]; - } - } - if (currentChar) { - widths.push(currentChar, currentWidths); - } - descendantFont.set("W", widths); - const cidSystemInfo = new Dict(this.xref); - cidSystemInfo.set("Ordering", "Identity"); - cidSystemInfo.set("Registry", "Adobe"); - cidSystemInfo.set("Supplement", 0); - descendantFont.set("CIDSystemInfo", cidSystemInfo); - return this.xref.getNewPersistentRef(descendantFont); - } - get baseFontRef() { - const baseFont = new Dict(this.xref); - baseFont.set("BaseFont", this.fontName); - baseFont.set("Type", Name.get("Font")); - baseFont.set("Subtype", Name.get("Type0")); - baseFont.set("Encoding", Name.get("Identity-H")); - baseFont.set("DescendantFonts", [this.descendantFontRef]); - baseFont.set("ToUnicode", Name.get("Identity-H")); - return this.xref.getNewPersistentRef(baseFont); - } - get resources() { - const resources = new Dict(this.xref); - const font = new Dict(this.xref); - font.set(this.fontName.name, this.baseFontRef); - resources.set("Font", font); - return resources; - } - _createContext() { - this.widths = new Map(); - this.ctxMeasure.font = `1000px ${this.fontFamily}`; - return this.ctxMeasure; - } - createFontResources(text) { - const ctx = this._createContext(); - for (const line of text.split(/\r\n?|\n/)) { - for (const char of line.split("")) { - const code = char.charCodeAt(0); - if (this.widths.has(code)) { - continue; - } - const metrics = ctx.measureText(char); - const width = Math.ceil(metrics.width); - this.widths.set(code, width); - this.firstChar = Math.min(code, this.firstChar); - this.lastChar = Math.max(code, this.lastChar); - } - } - return this.resources; - } - static getFirstPositionInfo(rect, rotation, fontSize) { - const [x1, y1, x2, y2] = rect; - let w = x2 - x1; - let h = y2 - y1; - if (rotation % 180 !== 0) { - [w, h] = [h, w]; - } - const lineHeight = LINE_FACTOR * fontSize; - const lineDescent = LINE_DESCENT_FACTOR * fontSize; - return { - coords: [0, h + lineDescent - lineHeight], - bbox: [0, 0, w, h], - matrix: rotation !== 0 ? getRotationMatrix(rotation, h, lineHeight) : undefined - }; - } - createAppearance(text, rect, rotation, fontSize, bgColor, strokeAlpha) { - const ctx = this._createContext(); - const lines = []; - let maxWidth = -Infinity; - for (const line of text.split(/\r\n?|\n/)) { - lines.push(line); - const lineWidth = ctx.measureText(line).width; - maxWidth = Math.max(maxWidth, lineWidth); - for (const code of codePointIter(line)) { - const char = String.fromCodePoint(code); - let width = this.widths.get(code); - if (width === undefined) { - const metrics = ctx.measureText(char); - width = Math.ceil(metrics.width); - this.widths.set(code, width); - this.firstChar = Math.min(code, this.firstChar); - this.lastChar = Math.max(code, this.lastChar); - } - } - } - maxWidth *= fontSize / 1000; - const [x1, y1, x2, y2] = rect; - let w = x2 - x1; - let h = y2 - y1; - if (rotation % 180 !== 0) { - [w, h] = [h, w]; - } - let hscale = 1; - if (maxWidth > w) { - hscale = w / maxWidth; - } - let vscale = 1; - const lineHeight = LINE_FACTOR * fontSize; - const lineDescent = LINE_DESCENT_FACTOR * fontSize; - const maxHeight = lineHeight * lines.length; - if (maxHeight > h) { - vscale = h / maxHeight; - } - const fscale = Math.min(hscale, vscale); - const newFontSize = fontSize * fscale; - const buffer = ["q", `0 0 ${numberToString(w)} ${numberToString(h)} re W n`, `BT`, `1 0 0 1 0 ${numberToString(h + lineDescent)} Tm 0 Tc ${getPdfColor(bgColor, true)}`, `/${this.fontName.name} ${numberToString(newFontSize)} Tf`]; - const { - resources - } = this; - strokeAlpha = typeof strokeAlpha === "number" && strokeAlpha >= 0 && strokeAlpha <= 1 ? strokeAlpha : 1; - if (strokeAlpha !== 1) { - buffer.push("/R0 gs"); - const extGState = new Dict(this.xref); - const r0 = new Dict(this.xref); - r0.set("ca", strokeAlpha); - r0.set("CA", strokeAlpha); - r0.set("Type", Name.get("ExtGState")); - extGState.set("R0", r0); - resources.set("ExtGState", extGState); - } - const vShift = numberToString(lineHeight); - for (const line of lines) { - buffer.push(`0 -${vShift} Td <${stringToUTF16HexString(line)}> Tj`); - } - buffer.push("ET", "Q"); - const appearance = buffer.join("\n"); - const appearanceStreamDict = new Dict(this.xref); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", [0, 0, w, h]); - appearanceStreamDict.set("Length", appearance.length); - appearanceStreamDict.set("Resources", resources); - if (rotation) { - const matrix = getRotationMatrix(rotation, w, h); - appearanceStreamDict.set("Matrix", matrix); - } - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } -} - -;// CONCATENATED MODULE: ./src/core/name_number_tree.js - - - -class NameOrNumberTree { - constructor(root, xref, type) { - if (this.constructor === NameOrNumberTree) { - unreachable("Cannot initialize NameOrNumberTree."); - } - this.root = root; - this.xref = xref; - this._type = type; - } - getAll() { - const map = new Map(); - if (!this.root) { - return map; - } - const xref = this.xref; - const processed = new RefSet(); - processed.put(this.root); - const queue = [this.root]; - while (queue.length > 0) { - const obj = xref.fetchIfRef(queue.shift()); - if (!(obj instanceof Dict)) { - continue; - } - if (obj.has("Kids")) { - const kids = obj.get("Kids"); - if (!Array.isArray(kids)) { - continue; - } - for (const kid of kids) { - if (processed.has(kid)) { - throw new FormatError(`Duplicate entry in "${this._type}" tree.`); - } - queue.push(kid); - processed.put(kid); - } - continue; - } - const entries = obj.get(this._type); - if (!Array.isArray(entries)) { - continue; - } - for (let i = 0, ii = entries.length; i < ii; i += 2) { - map.set(xref.fetchIfRef(entries[i]), xref.fetchIfRef(entries[i + 1])); - } - } - return map; - } - get(key) { - if (!this.root) { - return null; - } - const xref = this.xref; - let kidsOrEntries = xref.fetchIfRef(this.root); - let loopCount = 0; - const MAX_LEVELS = 10; - while (kidsOrEntries.has("Kids")) { - if (++loopCount > MAX_LEVELS) { - warn(`Search depth limit reached for "${this._type}" tree.`); - return null; - } - const kids = kidsOrEntries.get("Kids"); - if (!Array.isArray(kids)) { - return null; - } - let l = 0, - r = kids.length - 1; - while (l <= r) { - const m = l + r >> 1; - const kid = xref.fetchIfRef(kids[m]); - const limits = kid.get("Limits"); - if (key < xref.fetchIfRef(limits[0])) { - r = m - 1; - } else if (key > xref.fetchIfRef(limits[1])) { - l = m + 1; - } else { - kidsOrEntries = kid; - break; - } - } - if (l > r) { - return null; - } - } - const entries = kidsOrEntries.get(this._type); - if (Array.isArray(entries)) { - let l = 0, - r = entries.length - 2; - while (l <= r) { - const tmp = l + r >> 1, - m = tmp + (tmp & 1); - const currentKey = xref.fetchIfRef(entries[m]); - if (key < currentKey) { - r = m - 2; - } else if (key > currentKey) { - l = m + 2; - } else { - return xref.fetchIfRef(entries[m + 1]); - } - } - } - return null; - } -} -class NameTree extends NameOrNumberTree { - constructor(root, xref) { - super(root, xref, "Names"); - } -} -class NumberTree extends NameOrNumberTree { - constructor(root, xref) { - super(root, xref, "Nums"); - } -} - -;// CONCATENATED MODULE: ./src/core/cleanup_helper.js - - - - -function clearGlobalCaches() { - clearPatternCaches(); - clearPrimitiveCaches(); - clearUnicodeCaches(); - JpxImage.cleanup(); -} - -;// CONCATENATED MODULE: ./src/core/file_spec.js - - - -function pickPlatformItem(dict) { - if (dict.has("UF")) { - return dict.get("UF"); - } else if (dict.has("F")) { - return dict.get("F"); - } else if (dict.has("Unix")) { - return dict.get("Unix"); - } else if (dict.has("Mac")) { - return dict.get("Mac"); - } else if (dict.has("DOS")) { - return dict.get("DOS"); - } - return null; -} -class FileSpec { - #contentAvailable = false; - constructor(root, xref, skipContent = false) { - if (!(root instanceof Dict)) { - return; - } - this.xref = xref; - this.root = root; - if (root.has("FS")) { - this.fs = root.get("FS"); - } - this.description = root.has("Desc") ? stringToPDFString(root.get("Desc")) : ""; - if (root.has("RF")) { - warn("Related file specifications are not supported"); - } - if (!skipContent) { - if (root.has("EF")) { - this.#contentAvailable = true; - } else { - warn("Non-embedded file specifications are not supported"); - } - } - } - get filename() { - if (!this._filename && this.root) { - const filename = pickPlatformItem(this.root) || "unnamed"; - this._filename = stringToPDFString(filename).replaceAll("\\\\", "\\").replaceAll("\\/", "/").replaceAll("\\", "/"); - } - return this._filename; - } - get content() { - if (!this.#contentAvailable) { - return null; - } - if (!this.contentRef && this.root) { - this.contentRef = pickPlatformItem(this.root.get("EF")); - } - let content = null; - if (this.contentRef) { - const fileObj = this.xref.fetchIfRef(this.contentRef); - if (fileObj instanceof BaseStream) { - content = fileObj.getBytes(); - } else { - warn("Embedded file specification points to non-existing/invalid content"); - } - } else { - warn("Embedded file specification does not have a content"); - } - return content; - } - get serializable() { - return { - filename: this.filename, - content: this.content - }; - } -} - -;// CONCATENATED MODULE: ./src/core/xml_parser.js +/***/ }), +/* 67 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XMLParserErrorCode = exports.XMLParserBase = exports.SimpleXMLParser = exports.SimpleDOMNode = void 0; +var _core_utils = __w_pdfjs_require__(3); const XMLParserErrorCode = { NoError: 0, EndOfDocument: -1, @@ -38942,6 +42214,7 @@ const XMLParserErrorCode = { UnterminatedElement: -9, ElementNeverBegun: -10 }; +exports.XMLParserErrorCode = XMLParserErrorCode; function isWhitespace(s, index) { const ch = s[index]; return ch === " " || ch === "\n" || ch === "\r" || ch === "\t"; @@ -39159,6 +42432,7 @@ class XMLParserBase { onEndElement(name) {} onError(code) {} } +exports.XMLParserBase = XMLParserBase; class SimpleDOMNode { constructor(nodeName, nodeValue) { this.nodeName = nodeName; @@ -39201,9 +42475,6 @@ class SimpleDOMNode { return this; } const component = paths[pos]; - if (component.name.startsWith("#") && pos < paths.length - 1) { - return this.searchNode(paths, pos + 1); - } const stack = []; let node = this; while (true) { @@ -39252,13 +42523,13 @@ class SimpleDOMNode { } dump(buffer) { if (this.nodeName === "#text") { - buffer.push(encodeToXmlString(this.nodeValue)); + buffer.push((0, _core_utils.encodeToXmlString)(this.nodeValue)); return; } buffer.push(`<${this.nodeName}`); if (this.attributes) { for (const attribute of this.attributes) { - buffer.push(` ${attribute.name}="${encodeToXmlString(attribute.value)}"`); + buffer.push(` ${attribute.name}="${(0, _core_utils.encodeToXmlString)(attribute.value)}"`); } } if (this.hasChildNodes()) { @@ -39268,12 +42539,13 @@ class SimpleDOMNode { } buffer.push(`${this.nodeName}>`); } else if (this.nodeValue) { - buffer.push(`>${encodeToXmlString(this.nodeValue)}${this.nodeName}>`); + buffer.push(`>${(0, _core_utils.encodeToXmlString)(this.nodeValue)}${this.nodeName}>`); } else { buffer.push("/>"); } } } +exports.SimpleDOMNode = SimpleDOMNode; class SimpleXMLParser extends XMLParserBase { constructor({ hasAttributes = false, @@ -39344,158 +42616,23 @@ class SimpleXMLParser extends XMLParserBase { this._errorCode = code; } } +exports.SimpleXMLParser = SimpleXMLParser; -;// CONCATENATED MODULE: ./src/core/metadata_parser.js - - - - - -class MetadataParser { - constructor(data) { - data = this._repair(data); - const parser = new SimpleXMLParser({ - lowerCaseName: true - }); - const xmlDocument = parser.parseFromString(data); - this._metadataMap = new Map(); - this._data = data; - if (xmlDocument) { - this._parse(xmlDocument); - } - } - _repair(data) { - return data.replace(/^[^<]+/, "").replaceAll(/>\\376\\377([^<]+)/g, function (all, codes) { - const bytes = codes.replaceAll(/\\([0-3])([0-7])([0-7])/g, function (code, d1, d2, d3) { - return String.fromCharCode(d1 * 64 + d2 * 8 + d3 * 1); - }).replaceAll(/&(amp|apos|gt|lt|quot);/g, function (str, name) { - switch (name) { - case "amp": - return "&"; - case "apos": - return "'"; - case "gt": - return ">"; - case "lt": - return "<"; - case "quot": - return '"'; - } - throw new Error(`_repair: ${name} isn't defined.`); - }); - const charBuf = [">"]; - for (let i = 0, ii = bytes.length; i < ii; i += 2) { - const code = bytes.charCodeAt(i) * 256 + bytes.charCodeAt(i + 1); - if (code >= 32 && code < 127 && code !== 60 && code !== 62 && code !== 38) { - charBuf.push(String.fromCharCode(code)); - } else { - charBuf.push("" + (0x10000 + code).toString(16).substring(1) + ";"); - } - } - return charBuf.join(""); - }); - } - _getSequence(entry) { - const name = entry.nodeName; - if (name !== "rdf:bag" && name !== "rdf:seq" && name !== "rdf:alt") { - return null; - } - return entry.childNodes.filter(node => node.nodeName === "rdf:li"); - } - _parseArray(entry) { - if (!entry.hasChildNodes()) { - return; - } - const [seqNode] = entry.childNodes; - const sequence = this._getSequence(seqNode) || []; - this._metadataMap.set(entry.nodeName, sequence.map(node => node.textContent.trim())); - } - _parse(xmlDocument) { - let rdf = xmlDocument.documentElement; - if (rdf.nodeName !== "rdf:rdf") { - rdf = rdf.firstChild; - while (rdf && rdf.nodeName !== "rdf:rdf") { - rdf = rdf.nextSibling; - } - } - if (!rdf || rdf.nodeName !== "rdf:rdf" || !rdf.hasChildNodes()) { - return; - } - for (const desc of rdf.childNodes) { - if (desc.nodeName !== "rdf:description") { - continue; - } - for (const entry of desc.childNodes) { - const name = entry.nodeName; - switch (name) { - case "#text": - continue; - case "dc:creator": - case "dc:subject": - this._parseArray(entry); - continue; - } - this._metadataMap.set(name, entry.textContent.trim()); - } - } - } - get serializable() { - return { - parsedData: this._metadataMap, - rawData: this._data - }; - } -} - -;// CONCATENATED MODULE: ./src/core/decrypt_stream.js - -const chunkSize = 512; -class DecryptStream extends DecodeStream { - constructor(str, maybeLength, decrypt) { - super(maybeLength); - this.str = str; - this.dict = str.dict; - this.decrypt = decrypt; - this.nextChunk = null; - this.initialized = false; - } - readBlock() { - let chunk; - if (this.initialized) { - chunk = this.nextChunk; - } else { - chunk = this.str.getBytes(chunkSize); - this.initialized = true; - } - if (!chunk || chunk.length === 0) { - this.eof = true; - return; - } - this.nextChunk = this.str.getBytes(chunkSize); - const hasMoreData = this.nextChunk?.length > 0; - const decrypt = this.decrypt; - chunk = decrypt(chunk, !hasMoreData); - const bufferLength = this.bufferLength, - newLength = bufferLength + chunk.length, - buffer = this.ensureBuffer(newLength); - buffer.set(chunk, bufferLength); - this.bufferLength = newLength; - } -} - -;// CONCATENATED MODULE: ./src/core/crypto.js - - - - - - - - - +/***/ }), +/* 68 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.calculateSHA256 = exports.calculateMD5 = exports.PDF20 = exports.PDF17 = exports.CipherTransformFactory = exports.ARCFourCipher = exports.AES256Cipher = exports.AES128Cipher = void 0; +exports.calculateSHA384 = calculateSHA384; +exports.calculateSHA512 = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _decrypt_stream = __w_pdfjs_require__(69); class ARCFourCipher { constructor(key) { this.a = 0; @@ -39539,6 +42676,7 @@ class ARCFourCipher { return this.encryptBlock(data); } } +exports.ARCFourCipher = ARCFourCipher; const calculateMD5 = function calculateMD5Closure() { const r = new Uint8Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]); const k = new Int32Array([-680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426, -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162, 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632, 643717713, -373897302, -701558691, 38016083, -660478335, -405537848, 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784, 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556, -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222, -722521979, 76029189, -640364487, -421815835, 530742520, -995338651, -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606, -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649, -145523070, -1120210379, 718787259, -343485551]); @@ -39608,6 +42746,7 @@ const calculateMD5 = function calculateMD5Closure() { } return hash; }(); +exports.calculateMD5 = calculateMD5; class Word64 { constructor(highInteger, lowInteger) { this.high = highInteger | 0; @@ -39779,6 +42918,7 @@ const calculateSHA256 = function calculateSHA256Closure() { } return hash; }(); +exports.calculateSHA256 = calculateSHA256; const calculateSHA512 = function calculateSHA512Closure() { function ch(result, x, y, z, tmp) { result.assign(x); @@ -39983,6 +43123,7 @@ const calculateSHA512 = function calculateSHA512Closure() { } return hash; }(); +exports.calculateSHA512 = calculateSHA512; function calculateSHA384(data, offset, length) { return calculateSHA512(data, offset, length, true); } @@ -39997,20 +43138,24 @@ class NullCipher { class AESBaseCipher { constructor() { if (this.constructor === AESBaseCipher) { - unreachable("Cannot initialize AESBaseCipher."); + (0, _util.unreachable)("Cannot initialize AESBaseCipher."); } this._s = new Uint8Array([0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, 0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15, 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, 0xeb, 0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e6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16]); this._inv_s = new Uint8Array([0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb, 0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87, 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb, 0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e, 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2, 0x76, 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25, 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92, 0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda, 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84, 0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a, 0xf7, 0xe4, 0x58, 0x05, 0xb8, 0xb3, 0x45, 0x06, 0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02, 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b, 0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea, 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73, 0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85, 0xe2, 0xf9, 0x37, 0xe8, 0x1c, 0x75, 0xdf, 0x6e, 0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89, 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b, 0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20, 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4, 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31, 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f, 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d, 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef, 0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0, 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61, 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26, 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d]); this._mix = new Uint32Array([0x00000000, 0x0e090d0b, 0x1c121a16, 0x121b171d, 0x3824342c, 0x362d3927, 0x24362e3a, 0x2a3f2331, 0x70486858, 0x7e416553, 0x6c5a724e, 0x62537f45, 0x486c5c74, 0x4665517f, 0x547e4662, 0x5a774b69, 0xe090d0b0, 0xee99ddbb, 0xfc82caa6, 0xf28bc7ad, 0xd8b4e49c, 0xd6bde997, 0xc4a6fe8a, 0xcaaff381, 0x90d8b8e8, 0x9ed1b5e3, 0x8ccaa2fe, 0x82c3aff5, 0xa8fc8cc4, 0xa6f581cf, 0xb4ee96d2, 0xbae79bd9, 0xdb3bbb7b, 0xd532b670, 0xc729a16d, 0xc920ac66, 0xe31f8f57, 0xed16825c, 0xff0d9541, 0xf104984a, 0xab73d323, 0xa57ade28, 0xb761c935, 0xb968c43e, 0x9357e70f, 0x9d5eea04, 0x8f45fd19, 0x814cf012, 0x3bab6bcb, 0x35a266c0, 0x27b971dd, 0x29b07cd6, 0x038f5fe7, 0x0d8652ec, 0x1f9d45f1, 0x119448fa, 0x4be30393, 0x45ea0e98, 0x57f11985, 0x59f8148e, 0x73c737bf, 0x7dce3ab4, 0x6fd52da9, 0x61dc20a2, 0xad766df6, 0xa37f60fd, 0xb16477e0, 0xbf6d7aeb, 0x955259da, 0x9b5b54d1, 0x894043cc, 0x87494ec7, 0xdd3e05ae, 0xd33708a5, 0xc12c1fb8, 0xcf2512b3, 0xe51a3182, 0xeb133c89, 0xf9082b94, 0xf701269f, 0x4de6bd46, 0x43efb04d, 0x51f4a750, 0x5ffdaa5b, 0x75c2896a, 0x7bcb8461, 0x69d0937c, 0x67d99e77, 0x3daed51e, 0x33a7d815, 0x21bccf08, 0x2fb5c203, 0x058ae132, 0x0b83ec39, 0x1998fb24, 0x1791f62f, 0x764dd68d, 0x7844db86, 0x6a5fcc9b, 0x6456c190, 0x4e69e2a1, 0x4060efaa, 0x527bf8b7, 0x5c72f5bc, 0x0605bed5, 0x080cb3de, 0x1a17a4c3, 0x141ea9c8, 0x3e218af9, 0x302887f2, 0x223390ef, 0x2c3a9de4, 0x96dd063d, 0x98d40b36, 0x8acf1c2b, 0x84c61120, 0xaef93211, 0xa0f03f1a, 0xb2eb2807, 0xbce2250c, 0xe6956e65, 0xe89c636e, 0xfa877473, 0xf48e7978, 0xdeb15a49, 0xd0b85742, 0xc2a3405f, 0xccaa4d54, 0x41ecdaf7, 0x4fe5d7fc, 0x5dfec0e1, 0x53f7cdea, 0x79c8eedb, 0x77c1e3d0, 0x65daf4cd, 0x6bd3f9c6, 0x31a4b2af, 0x3fadbfa4, 0x2db6a8b9, 0x23bfa5b2, 0x09808683, 0x07898b88, 0x15929c95, 0x1b9b919e, 0xa17c0a47, 0xaf75074c, 0xbd6e1051, 0xb3671d5a, 0x99583e6b, 0x97513360, 0x854a247d, 0x8b432976, 0xd134621f, 0xdf3d6f14, 0xcd267809, 0xc32f7502, 0xe9105633, 0xe7195b38, 0xf5024c25, 0xfb0b412e, 0x9ad7618c, 0x94de6c87, 0x86c57b9a, 0x88cc7691, 0xa2f355a0, 0xacfa58ab, 0xbee14fb6, 0xb0e842bd, 0xea9f09d4, 0xe49604df, 0xf68d13c2, 0xf8841ec9, 0xd2bb3df8, 0xdcb230f3, 0xcea927ee, 0xc0a02ae5, 0x7a47b13c, 0x744ebc37, 0x6655ab2a, 0x685ca621, 0x42638510, 0x4c6a881b, 0x5e719f06, 0x5078920d, 0x0a0fd964, 0x0406d46f, 0x161dc372, 0x1814ce79, 0x322bed48, 0x3c22e043, 0x2e39f75e, 0x2030fa55, 0xec9ab701, 0xe293ba0a, 0xf088ad17, 0xfe81a01c, 0xd4be832d, 0xdab78e26, 0xc8ac993b, 0xc6a59430, 0x9cd2df59, 0x92dbd252, 0x80c0c54f, 0x8ec9c844, 0xa4f6eb75, 0xaaffe67e, 0xb8e4f163, 0xb6edfc68, 0x0c0a67b1, 0x02036aba, 0x10187da7, 0x1e1170ac, 0x342e539d, 0x3a275e96, 0x283c498b, 0x26354480, 0x7c420fe9, 0x724b02e2, 0x605015ff, 0x6e5918f4, 0x44663bc5, 0x4a6f36ce, 0x587421d3, 0x567d2cd8, 0x37a10c7a, 0x39a80171, 0x2bb3166c, 0x25ba1b67, 0x0f853856, 0x018c355d, 0x13972240, 0x1d9e2f4b, 0x47e96422, 0x49e06929, 0x5bfb7e34, 0x55f2733f, 0x7fcd500e, 0x71c45d05, 0x63df4a18, 0x6dd64713, 0xd731dcca, 0xd938d1c1, 0xcb23c6dc, 0xc52acbd7, 0xef15e8e6, 0xe11ce5ed, 0xf307f2f0, 0xfd0efffb, 0xa779b492, 0xa970b999, 0xbb6bae84, 0xb562a38f, 0x9f5d80be, 0x91548db5, 0x834f9aa8, 0x8d4697a3]); this._mixCol = new Uint8Array(256); for (let i = 0; i < 256; i++) { - this._mixCol[i] = i < 128 ? i << 1 : i << 1 ^ 0x1b; + if (i < 128) { + this._mixCol[i] = i << 1; + } else { + this._mixCol[i] = i << 1 ^ 0x1b; + } } this.buffer = new Uint8Array(16); this.bufferPosition = 0; } _expandKey(cipherKey) { - unreachable("Cannot call `_expandKey` on the base class"); + (0, _util.unreachable)("Cannot call `_expandKey` on the base class"); } _decrypt(input, key) { let t, u, v; @@ -40296,6 +43441,7 @@ class AES128Cipher extends AESBaseCipher { return result; } } +exports.AES128Cipher = AES128Cipher; class AES256Cipher extends AESBaseCipher { constructor(key) { super(); @@ -40344,6 +43490,7 @@ class AES256Cipher extends AESBaseCipher { return result; } } +exports.AES256Cipher = AES256Cipher; class PDF17 { checkOwnerPassword(password, ownerValidationSalt, userBytes, ownerPassword) { const hashData = new Uint8Array(password.length + 56); @@ -40351,14 +43498,14 @@ class PDF17 { hashData.set(ownerValidationSalt, password.length); hashData.set(userBytes, password.length + ownerValidationSalt.length); const result = calculateSHA256(hashData, 0, hashData.length); - return isArrayEqual(result, ownerPassword); + return (0, _util.isArrayEqual)(result, ownerPassword); } checkUserPassword(password, userValidationSalt, userPassword) { const hashData = new Uint8Array(password.length + 8); hashData.set(password, 0); hashData.set(userValidationSalt, password.length); const result = calculateSHA256(hashData, 0, hashData.length); - return isArrayEqual(result, userPassword); + return (0, _util.isArrayEqual)(result, userPassword); } getOwnerKey(password, ownerKeySalt, userBytes, ownerEncryption) { const hashData = new Uint8Array(password.length + 56); @@ -40378,6 +43525,7 @@ class PDF17 { return cipher.decryptBlock(userEncryption, false, new Uint8Array(16)); } } +exports.PDF17 = PDF17; class PDF20 { _hash(password, input, userBytes) { let k = calculateSHA256(input, 0, input.length).subarray(0, 32); @@ -40416,14 +43564,14 @@ class PDF20 { hashData.set(ownerValidationSalt, password.length); hashData.set(userBytes, password.length + ownerValidationSalt.length); const result = this._hash(password, hashData, userBytes); - return isArrayEqual(result, ownerPassword); + return (0, _util.isArrayEqual)(result, ownerPassword); } checkUserPassword(password, userValidationSalt, userPassword) { const hashData = new Uint8Array(password.length + 8); hashData.set(password, 0); hashData.set(userValidationSalt, password.length); const result = this._hash(password, hashData, []); - return isArrayEqual(result, userPassword); + return (0, _util.isArrayEqual)(result, userPassword); } getOwnerKey(password, ownerKeySalt, userBytes, ownerEncryption) { const hashData = new Uint8Array(password.length + 56); @@ -40443,6 +43591,7 @@ class PDF20 { return cipher.decryptBlock(userEncryption, false, new Uint8Array(16)); } } +exports.PDF20 = PDF20; class CipherTransform { constructor(stringCipherConstructor, streamCipherConstructor) { this.StringCipherConstructor = stringCipherConstructor; @@ -40450,15 +43599,15 @@ class CipherTransform { } createStream(stream, length) { const cipher = new this.StreamCipherConstructor(); - return new DecryptStream(stream, length, function cipherTransformDecryptStream(data, finalize) { + return new _decrypt_stream.DecryptStream(stream, length, function cipherTransformDecryptStream(data, finalize) { return cipher.decryptBlock(data, finalize); }); } decryptString(s) { const cipher = new this.StringCipherConstructor(); - let data = stringToBytes(s); + let data = (0, _util.stringToBytes)(s); data = cipher.decryptBlock(data, true); - return bytesToString(data); + return (0, _util.bytesToString)(data); } encryptString(s) { const cipher = new this.StringCipherConstructor(); @@ -40474,28 +43623,33 @@ class CipherTransform { iv[i] = Math.floor(256 * Math.random()); } } - let data = stringToBytes(s); + let data = (0, _util.stringToBytes)(s); data = cipher.encrypt(data, iv); const buf = new Uint8Array(16 + data.length); buf.set(iv); buf.set(data, 16); - return bytesToString(buf); + return (0, _util.bytesToString)(buf); } - let data = stringToBytes(s); + let data = (0, _util.stringToBytes)(s); data = cipher.encrypt(data); - return bytesToString(data); + return (0, _util.bytesToString)(data); } } -class CipherTransformFactory { - static #defaultPasswordBytes = new Uint8Array([0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41, 0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08, 0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80, 0x2f, 0x0c, 0xa9, 0xfe, 0x64, 0x53, 0x69, 0x7a]); - #createEncryptionKey20(revision, password, ownerPassword, ownerValidationSalt, ownerKeySalt, uBytes, userPassword, userValidationSalt, userKeySalt, ownerEncryption, userEncryption, perms) { +const CipherTransformFactory = function CipherTransformFactoryClosure() { + const defaultPasswordBytes = new Uint8Array([0x28, 0xbf, 0x4e, 0x5e, 0x4e, 0x75, 0x8a, 0x41, 0x64, 0x00, 0x4e, 0x56, 0xff, 0xfa, 0x01, 0x08, 0x2e, 0x2e, 0x00, 0xb6, 0xd0, 0x68, 0x3e, 0x80, 0x2f, 0x0c, 0xa9, 0xfe, 0x64, 0x53, 0x69, 0x7a]); + function createEncryptionKey20(revision, password, ownerPassword, ownerValidationSalt, ownerKeySalt, uBytes, userPassword, userValidationSalt, userKeySalt, ownerEncryption, userEncryption, perms) { if (password) { const passwordLength = Math.min(127, password.length); password = password.subarray(0, passwordLength); } else { password = []; } - const pdfAlgorithm = revision === 6 ? new PDF20() : new PDF17(); + let pdfAlgorithm; + if (revision === 6) { + pdfAlgorithm = new PDF20(); + } else { + pdfAlgorithm = new PDF17(); + } if (pdfAlgorithm.checkUserPassword(password, userValidationSalt, userPassword)) { return pdfAlgorithm.getUserKey(password, userKeySalt, userEncryption); } else if (password.length && pdfAlgorithm.checkOwnerPassword(password, ownerValidationSalt, uBytes, ownerPassword)) { @@ -40503,7 +43657,7 @@ class CipherTransformFactory { } return null; } - #prepareKeyData(fileId, password, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata) { + function prepareKeyData(fileId, password, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata) { const hashDataSize = 40 + ownerPassword.length + fileId.length; const hashData = new Uint8Array(hashDataSize); let i = 0, @@ -40517,7 +43671,7 @@ class CipherTransformFactory { } j = 0; while (i < 32) { - hashData[i++] = CipherTransformFactory.#defaultPasswordBytes[j++]; + hashData[i++] = defaultPasswordBytes[j++]; } for (j = 0, n = ownerPassword.length; j < n; ++j) { hashData[i++] = ownerPassword[j]; @@ -40546,7 +43700,7 @@ class CipherTransformFactory { let cipher, checkData; if (revision >= 3) { for (i = 0; i < 32; ++i) { - hashData[i] = CipherTransformFactory.#defaultPasswordBytes[i]; + hashData[i] = defaultPasswordBytes[i]; } for (j = 0, n = fileId.length; j < n; ++j) { hashData[i++] = fileId[j]; @@ -40569,7 +43723,7 @@ class CipherTransformFactory { } } else { cipher = new ARCFourCipher(encryptionKey); - checkData = cipher.encryptBlock(CipherTransformFactory.#defaultPasswordBytes); + checkData = cipher.encryptBlock(defaultPasswordBytes); for (j = 0, n = checkData.length; j < n; ++j) { if (userPassword[j] !== checkData[j]) { return null; @@ -40578,7 +43732,7 @@ class CipherTransformFactory { } return encryptionKey; } - #decodeUserPassword(password, ownerPassword, revision, keyLength) { + function decodeUserPassword(password, ownerPassword, revision, keyLength) { const hashData = new Uint8Array(32); let i = 0; const n = Math.min(32, password.length); @@ -40587,7 +43741,7 @@ class CipherTransformFactory { } let j = 0; while (i < 32) { - hashData[i++] = CipherTransformFactory.#defaultPasswordBytes[j++]; + hashData[i++] = defaultPasswordBytes[j++]; } let hash = calculateMD5(hashData, 0, i); const keyLengthInBytes = keyLength >> 3; @@ -40613,7 +43767,8 @@ class CipherTransformFactory { } return userPassword; } - #buildObjectKey(num, gen, encryptionKey, isAes = false) { + const identityName = _primitives.Name.get("Identity"); + function buildObjectKey(num, gen, encryptionKey, isAes = false) { const key = new Uint8Array(encryptionKey.length + 9); const n = encryptionKey.length; let i; @@ -40634,982 +43789,1900 @@ class CipherTransformFactory { const hash = calculateMD5(key, 0, i); return hash.subarray(0, Math.min(encryptionKey.length + 5, 16)); } - #buildCipherConstructor(cf, name, num, gen, key) { - if (!(name instanceof Name)) { - throw new FormatError("Invalid crypt filter name."); + function buildCipherConstructor(cf, name, num, gen, key) { + if (!(name instanceof _primitives.Name)) { + throw new _util.FormatError("Invalid crypt filter name."); } - const self = this; const cryptFilter = cf.get(name.name); - const cfm = cryptFilter?.get("CFM"); + let cfm; + if (cryptFilter !== null && cryptFilter !== undefined) { + cfm = cryptFilter.get("CFM"); + } if (!cfm || cfm.name === "None") { - return function () { + return function cipherTransformFactoryBuildCipherConstructorNone() { return new NullCipher(); }; } if (cfm.name === "V2") { - return function () { - return new ARCFourCipher(self.#buildObjectKey(num, gen, key, false)); + return function cipherTransformFactoryBuildCipherConstructorV2() { + return new ARCFourCipher(buildObjectKey(num, gen, key, false)); }; } if (cfm.name === "AESV2") { - return function () { - return new AES128Cipher(self.#buildObjectKey(num, gen, key, true)); + return function cipherTransformFactoryBuildCipherConstructorAESV2() { + return new AES128Cipher(buildObjectKey(num, gen, key, true)); }; } if (cfm.name === "AESV3") { - return function () { + return function cipherTransformFactoryBuildCipherConstructorAESV3() { return new AES256Cipher(key); }; } - throw new FormatError("Unknown crypto method"); + throw new _util.FormatError("Unknown crypto method"); } - constructor(dict, fileId, password) { - const filter = dict.get("Filter"); - if (!isName(filter, "Standard")) { - throw new FormatError("unknown encryption method"); - } - this.filterName = filter.name; - this.dict = dict; - const algorithm = dict.get("V"); - if (!Number.isInteger(algorithm) || algorithm !== 1 && algorithm !== 2 && algorithm !== 4 && algorithm !== 5) { - throw new FormatError("unsupported encryption algorithm"); - } - this.algorithm = algorithm; - let keyLength = dict.get("Length"); - if (!keyLength) { - if (algorithm <= 3) { - keyLength = 40; + class CipherTransformFactory { + constructor(dict, fileId, password) { + const filter = dict.get("Filter"); + if (!(0, _primitives.isName)(filter, "Standard")) { + throw new _util.FormatError("unknown encryption method"); + } + this.filterName = filter.name; + this.dict = dict; + const algorithm = dict.get("V"); + if (!Number.isInteger(algorithm) || algorithm !== 1 && algorithm !== 2 && algorithm !== 4 && algorithm !== 5) { + throw new _util.FormatError("unsupported encryption algorithm"); + } + this.algorithm = algorithm; + let keyLength = dict.get("Length"); + if (!keyLength) { + if (algorithm <= 3) { + keyLength = 40; + } else { + const cfDict = dict.get("CF"); + const streamCryptoName = dict.get("StmF"); + if (cfDict instanceof _primitives.Dict && streamCryptoName instanceof _primitives.Name) { + cfDict.suppressEncryption = true; + const handlerDict = cfDict.get(streamCryptoName.name); + keyLength = handlerDict?.get("Length") || 128; + if (keyLength < 40) { + keyLength <<= 3; + } + } + } + } + if (!Number.isInteger(keyLength) || keyLength < 40 || keyLength % 8 !== 0) { + throw new _util.FormatError("invalid key length"); + } + const ownerBytes = (0, _util.stringToBytes)(dict.get("O")), + userBytes = (0, _util.stringToBytes)(dict.get("U")); + const ownerPassword = ownerBytes.subarray(0, 32); + const userPassword = userBytes.subarray(0, 32); + const flags = dict.get("P"); + const revision = dict.get("R"); + const encryptMetadata = (algorithm === 4 || algorithm === 5) && dict.get("EncryptMetadata") !== false; + this.encryptMetadata = encryptMetadata; + const fileIdBytes = (0, _util.stringToBytes)(fileId); + let passwordBytes; + if (password) { + if (revision === 6) { + try { + password = (0, _util.utf8StringToString)(password); + } catch { + (0, _util.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password."); + } + } + passwordBytes = (0, _util.stringToBytes)(password); + } + let encryptionKey; + if (algorithm !== 5) { + encryptionKey = prepareKeyData(fileIdBytes, passwordBytes, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata); } else { - const cfDict = dict.get("CF"); - const streamCryptoName = dict.get("StmF"); - if (cfDict instanceof Dict && streamCryptoName instanceof Name) { - cfDict.suppressEncryption = true; - const handlerDict = cfDict.get(streamCryptoName.name); - keyLength = handlerDict?.get("Length") || 128; - if (keyLength < 40) { - keyLength <<= 3; + const ownerValidationSalt = ownerBytes.subarray(32, 40); + const ownerKeySalt = ownerBytes.subarray(40, 48); + const uBytes = userBytes.subarray(0, 48); + const userValidationSalt = userBytes.subarray(32, 40); + const userKeySalt = userBytes.subarray(40, 48); + const ownerEncryption = (0, _util.stringToBytes)(dict.get("OE")); + const userEncryption = (0, _util.stringToBytes)(dict.get("UE")); + const perms = (0, _util.stringToBytes)(dict.get("Perms")); + encryptionKey = createEncryptionKey20(revision, passwordBytes, ownerPassword, ownerValidationSalt, ownerKeySalt, uBytes, userPassword, userValidationSalt, userKeySalt, ownerEncryption, userEncryption, perms); + } + if (!encryptionKey && !password) { + throw new _util.PasswordException("No password given", _util.PasswordResponses.NEED_PASSWORD); + } else if (!encryptionKey && password) { + const decodedPassword = decodeUserPassword(passwordBytes, ownerPassword, revision, keyLength); + encryptionKey = prepareKeyData(fileIdBytes, decodedPassword, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata); + } + if (!encryptionKey) { + throw new _util.PasswordException("Incorrect Password", _util.PasswordResponses.INCORRECT_PASSWORD); + } + this.encryptionKey = encryptionKey; + if (algorithm >= 4) { + const cf = dict.get("CF"); + if (cf instanceof _primitives.Dict) { + cf.suppressEncryption = true; + } + this.cf = cf; + this.stmf = dict.get("StmF") || identityName; + this.strf = dict.get("StrF") || identityName; + this.eff = dict.get("EFF") || this.stmf; + } + } + createCipherTransform(num, gen) { + if (this.algorithm === 4 || this.algorithm === 5) { + return new CipherTransform(buildCipherConstructor(this.cf, this.strf, num, gen, this.encryptionKey), buildCipherConstructor(this.cf, this.stmf, num, gen, this.encryptionKey)); + } + const key = buildObjectKey(num, gen, this.encryptionKey, false); + const cipherConstructor = function buildCipherCipherConstructor() { + return new ARCFourCipher(key); + }; + return new CipherTransform(cipherConstructor, cipherConstructor); + } + } + return CipherTransformFactory; +}(); +exports.CipherTransformFactory = CipherTransformFactory; + +/***/ }), +/* 69 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.DecryptStream = void 0; +var _decode_stream = __w_pdfjs_require__(18); +const chunkSize = 512; +class DecryptStream extends _decode_stream.DecodeStream { + constructor(str, maybeLength, decrypt) { + super(maybeLength); + this.str = str; + this.dict = str.dict; + this.decrypt = decrypt; + this.nextChunk = null; + this.initialized = false; + } + readBlock() { + let chunk; + if (this.initialized) { + chunk = this.nextChunk; + } else { + chunk = this.str.getBytes(chunkSize); + this.initialized = true; + } + if (!chunk || chunk.length === 0) { + this.eof = true; + return; + } + this.nextChunk = this.str.getBytes(chunkSize); + const hasMoreData = this.nextChunk?.length > 0; + const decrypt = this.decrypt; + chunk = decrypt(chunk, !hasMoreData); + const bufferLength = this.bufferLength, + newLength = bufferLength + chunk.length, + buffer = this.ensureBuffer(newLength); + buffer.set(chunk, bufferLength); + this.bufferLength = newLength; + } +} +exports.DecryptStream = DecryptStream; + +/***/ }), +/* 70 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Catalog = void 0; +var _core_utils = __w_pdfjs_require__(3); +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _name_number_tree = __w_pdfjs_require__(71); +var _base_stream = __w_pdfjs_require__(5); +var _cleanup_helper = __w_pdfjs_require__(72); +var _colorspace = __w_pdfjs_require__(12); +var _file_spec = __w_pdfjs_require__(73); +var _image_utils = __w_pdfjs_require__(59); +var _metadata_parser = __w_pdfjs_require__(74); +var _struct_tree = __w_pdfjs_require__(75); +function fetchDestination(dest) { + if (dest instanceof _primitives.Dict) { + dest = dest.get("D"); + } + return Array.isArray(dest) ? dest : null; +} +class Catalog { + constructor(pdfManager, xref) { + this.pdfManager = pdfManager; + this.xref = xref; + this._catDict = xref.getCatalogObj(); + if (!(this._catDict instanceof _primitives.Dict)) { + throw new _util.FormatError("Catalog object is not a dictionary."); + } + this.toplevelPagesDict; + this._actualNumPages = null; + this.fontCache = new _primitives.RefSetCache(); + this.builtInCMapCache = new Map(); + this.standardFontDataCache = new Map(); + this.globalImageCache = new _image_utils.GlobalImageCache(); + this.pageKidsCountCache = new _primitives.RefSetCache(); + this.pageIndexCache = new _primitives.RefSetCache(); + this.nonBlendModesSet = new _primitives.RefSet(); + this.systemFontCache = new Map(); + } + get version() { + const version = this._catDict.get("Version"); + if (version instanceof _primitives.Name) { + if (_core_utils.PDF_VERSION_REGEXP.test(version.name)) { + return (0, _util.shadow)(this, "version", version.name); + } + (0, _util.warn)(`Invalid PDF catalog version: ${version.name}`); + } + return (0, _util.shadow)(this, "version", null); + } + get lang() { + const lang = this._catDict.get("Lang"); + return (0, _util.shadow)(this, "lang", typeof lang === "string" ? (0, _util.stringToPDFString)(lang) : null); + } + get needsRendering() { + const needsRendering = this._catDict.get("NeedsRendering"); + return (0, _util.shadow)(this, "needsRendering", typeof needsRendering === "boolean" ? needsRendering : false); + } + get collection() { + let collection = null; + try { + const obj = this._catDict.get("Collection"); + if (obj instanceof _primitives.Dict && obj.size > 0) { + collection = obj; + } + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.info)("Cannot fetch Collection entry; assuming no collection is present."); + } + return (0, _util.shadow)(this, "collection", collection); + } + get acroForm() { + let acroForm = null; + try { + const obj = this._catDict.get("AcroForm"); + if (obj instanceof _primitives.Dict && obj.size > 0) { + acroForm = obj; + } + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.info)("Cannot fetch AcroForm entry; assuming no forms are present."); + } + return (0, _util.shadow)(this, "acroForm", acroForm); + } + get acroFormRef() { + const value = this._catDict.getRaw("AcroForm"); + return (0, _util.shadow)(this, "acroFormRef", value instanceof _primitives.Ref ? value : null); + } + get metadata() { + const streamRef = this._catDict.getRaw("Metadata"); + if (!(streamRef instanceof _primitives.Ref)) { + return (0, _util.shadow)(this, "metadata", null); + } + let metadata = null; + try { + const stream = this.xref.fetch(streamRef, !this.xref.encrypt?.encryptMetadata); + if (stream instanceof _base_stream.BaseStream && stream.dict instanceof _primitives.Dict) { + const type = stream.dict.get("Type"); + const subtype = stream.dict.get("Subtype"); + if ((0, _primitives.isName)(type, "Metadata") && (0, _primitives.isName)(subtype, "XML")) { + const data = (0, _util.stringToUTF8String)(stream.getString()); + if (data) { + metadata = new _metadata_parser.MetadataParser(data).serializable; + } + } + } + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.info)(`Skipping invalid Metadata: "${ex}".`); + } + return (0, _util.shadow)(this, "metadata", metadata); + } + get markInfo() { + let markInfo = null; + try { + markInfo = this._readMarkInfo(); + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Unable to read mark info."); + } + return (0, _util.shadow)(this, "markInfo", markInfo); + } + _readMarkInfo() { + const obj = this._catDict.get("MarkInfo"); + if (!(obj instanceof _primitives.Dict)) { + return null; + } + const markInfo = { + Marked: false, + UserProperties: false, + Suspects: false + }; + for (const key in markInfo) { + const value = obj.get(key); + if (typeof value === "boolean") { + markInfo[key] = value; + } + } + return markInfo; + } + get structTreeRoot() { + let structTree = null; + try { + structTree = this._readStructTreeRoot(); + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Unable read to structTreeRoot info."); + } + return (0, _util.shadow)(this, "structTreeRoot", structTree); + } + _readStructTreeRoot() { + const obj = this._catDict.get("StructTreeRoot"); + if (!(obj instanceof _primitives.Dict)) { + return null; + } + const root = new _struct_tree.StructTreeRoot(obj); + root.init(); + return root; + } + get toplevelPagesDict() { + const pagesObj = this._catDict.get("Pages"); + if (!(pagesObj instanceof _primitives.Dict)) { + throw new _util.FormatError("Invalid top-level pages dictionary."); + } + return (0, _util.shadow)(this, "toplevelPagesDict", pagesObj); + } + get documentOutline() { + let obj = null; + try { + obj = this._readDocumentOutline(); + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Unable to read document outline."); + } + return (0, _util.shadow)(this, "documentOutline", obj); + } + _readDocumentOutline() { + let obj = this._catDict.get("Outlines"); + if (!(obj instanceof _primitives.Dict)) { + return null; + } + obj = obj.getRaw("First"); + if (!(obj instanceof _primitives.Ref)) { + return null; + } + const root = { + items: [] + }; + const queue = [{ + obj, + parent: root + }]; + const processed = new _primitives.RefSet(); + processed.put(obj); + const xref = this.xref, + blackColor = new Uint8ClampedArray(3); + while (queue.length > 0) { + const i = queue.shift(); + const outlineDict = xref.fetchIfRef(i.obj); + if (outlineDict === null) { + continue; + } + if (!outlineDict.has("Title")) { + throw new _util.FormatError("Invalid outline item encountered."); + } + const data = { + url: null, + dest: null, + action: null + }; + Catalog.parseDestDictionary({ + destDict: outlineDict, + resultObj: data, + docBaseUrl: this.pdfManager.docBaseUrl, + docAttachments: this.attachments + }); + const title = outlineDict.get("Title"); + const flags = outlineDict.get("F") || 0; + const color = outlineDict.getArray("C"); + const count = outlineDict.get("Count"); + let rgbColor = blackColor; + if (Array.isArray(color) && color.length === 3 && (color[0] !== 0 || color[1] !== 0 || color[2] !== 0)) { + rgbColor = _colorspace.ColorSpace.singletons.rgb.getRgb(color, 0); + } + const outlineItem = { + action: data.action, + attachment: data.attachment, + dest: data.dest, + url: data.url, + unsafeUrl: data.unsafeUrl, + newWindow: data.newWindow, + setOCGState: data.setOCGState, + title: (0, _util.stringToPDFString)(title), + color: rgbColor, + count: Number.isInteger(count) ? count : undefined, + bold: !!(flags & 2), + italic: !!(flags & 1), + items: [] + }; + i.parent.items.push(outlineItem); + obj = outlineDict.getRaw("First"); + if (obj instanceof _primitives.Ref && !processed.has(obj)) { + queue.push({ + obj, + parent: outlineItem + }); + processed.put(obj); + } + obj = outlineDict.getRaw("Next"); + if (obj instanceof _primitives.Ref && !processed.has(obj)) { + queue.push({ + obj, + parent: i.parent + }); + processed.put(obj); + } + } + return root.items.length > 0 ? root.items : null; + } + get permissions() { + let permissions = null; + try { + permissions = this._readPermissions(); + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Unable to read permissions."); + } + return (0, _util.shadow)(this, "permissions", permissions); + } + _readPermissions() { + const encrypt = this.xref.trailer.get("Encrypt"); + if (!(encrypt instanceof _primitives.Dict)) { + return null; + } + let flags = encrypt.get("P"); + if (typeof flags !== "number") { + return null; + } + flags += 2 ** 32; + const permissions = []; + for (const key in _util.PermissionFlag) { + const value = _util.PermissionFlag[key]; + if (flags & value) { + permissions.push(value); + } + } + return permissions; + } + get optionalContentConfig() { + let config = null; + try { + const properties = this._catDict.get("OCProperties"); + if (!properties) { + return (0, _util.shadow)(this, "optionalContentConfig", null); + } + const defaultConfig = properties.get("D"); + if (!defaultConfig) { + return (0, _util.shadow)(this, "optionalContentConfig", null); + } + const groupsData = properties.get("OCGs"); + if (!Array.isArray(groupsData)) { + return (0, _util.shadow)(this, "optionalContentConfig", null); + } + const groups = []; + const groupRefs = []; + for (const groupRef of groupsData) { + if (!(groupRef instanceof _primitives.Ref)) { + continue; + } + groupRefs.push(groupRef); + const group = this.xref.fetchIfRef(groupRef); + groups.push({ + id: groupRef.toString(), + name: typeof group.get("Name") === "string" ? (0, _util.stringToPDFString)(group.get("Name")) : null, + intent: typeof group.get("Intent") === "string" ? (0, _util.stringToPDFString)(group.get("Intent")) : null + }); + } + config = this._readOptionalContentConfig(defaultConfig, groupRefs); + config.groups = groups; + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)(`Unable to read optional content config: ${ex}`); + } + return (0, _util.shadow)(this, "optionalContentConfig", config); + } + _readOptionalContentConfig(config, contentGroupRefs) { + function parseOnOff(refs) { + const onParsed = []; + if (Array.isArray(refs)) { + for (const value of refs) { + if (!(value instanceof _primitives.Ref)) { + continue; + } + if (contentGroupRefs.includes(value)) { + onParsed.push(value.toString()); + } + } + } + return onParsed; + } + function parseOrder(refs, nestedLevels = 0) { + if (!Array.isArray(refs)) { + return null; + } + const order = []; + for (const value of refs) { + if (value instanceof _primitives.Ref && contentGroupRefs.includes(value)) { + parsedOrderRefs.put(value); + order.push(value.toString()); + continue; + } + const nestedOrder = parseNestedOrder(value, nestedLevels); + if (nestedOrder) { + order.push(nestedOrder); + } + } + if (nestedLevels > 0) { + return order; + } + const hiddenGroups = []; + for (const groupRef of contentGroupRefs) { + if (parsedOrderRefs.has(groupRef)) { + continue; + } + hiddenGroups.push(groupRef.toString()); + } + if (hiddenGroups.length) { + order.push({ + name: null, + order: hiddenGroups + }); + } + return order; + } + function parseNestedOrder(ref, nestedLevels) { + if (++nestedLevels > MAX_NESTED_LEVELS) { + (0, _util.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."); + return null; + } + const value = xref.fetchIfRef(ref); + if (!Array.isArray(value)) { + return null; + } + const nestedName = xref.fetchIfRef(value[0]); + if (typeof nestedName !== "string") { + return null; + } + const nestedOrder = parseOrder(value.slice(1), nestedLevels); + if (!nestedOrder || !nestedOrder.length) { + return null; + } + return { + name: (0, _util.stringToPDFString)(nestedName), + order: nestedOrder + }; + } + const xref = this.xref, + parsedOrderRefs = new _primitives.RefSet(), + MAX_NESTED_LEVELS = 10; + return { + name: typeof config.get("Name") === "string" ? (0, _util.stringToPDFString)(config.get("Name")) : null, + creator: typeof config.get("Creator") === "string" ? (0, _util.stringToPDFString)(config.get("Creator")) : null, + baseState: config.get("BaseState") instanceof _primitives.Name ? config.get("BaseState").name : null, + on: parseOnOff(config.get("ON")), + off: parseOnOff(config.get("OFF")), + order: parseOrder(config.get("Order")), + groups: null + }; + } + setActualNumPages(num = null) { + this._actualNumPages = num; + } + get hasActualNumPages() { + return this._actualNumPages !== null; + } + get _pagesCount() { + const obj = this.toplevelPagesDict.get("Count"); + if (!Number.isInteger(obj)) { + throw new _util.FormatError("Page count in top-level pages dictionary is not an integer."); + } + return (0, _util.shadow)(this, "_pagesCount", obj); + } + get numPages() { + return this.hasActualNumPages ? this._actualNumPages : this._pagesCount; + } + get destinations() { + const obj = this._readDests(), + dests = Object.create(null); + if (obj instanceof _name_number_tree.NameTree) { + for (const [key, value] of obj.getAll()) { + const dest = fetchDestination(value); + if (dest) { + dests[(0, _util.stringToPDFString)(key)] = dest; + } + } + } else if (obj instanceof _primitives.Dict) { + obj.forEach(function (key, value) { + const dest = fetchDestination(value); + if (dest) { + dests[key] = dest; + } + }); + } + return (0, _util.shadow)(this, "destinations", dests); + } + getDestination(id) { + const obj = this._readDests(); + if (obj instanceof _name_number_tree.NameTree) { + const dest = fetchDestination(obj.get(id)); + if (dest) { + return dest; + } + const allDest = this.destinations[id]; + if (allDest) { + (0, _util.warn)(`Found "${id}" at an incorrect position in the NameTree.`); + return allDest; + } + } else if (obj instanceof _primitives.Dict) { + const dest = fetchDestination(obj.get(id)); + if (dest) { + return dest; + } + } + return null; + } + _readDests() { + const obj = this._catDict.get("Names"); + if (obj?.has("Dests")) { + return new _name_number_tree.NameTree(obj.getRaw("Dests"), this.xref); + } else if (this._catDict.has("Dests")) { + return this._catDict.get("Dests"); + } + return undefined; + } + get pageLabels() { + let obj = null; + try { + obj = this._readPageLabels(); + } catch (ex) { + if (ex instanceof _core_utils.MissingDataException) { + throw ex; + } + (0, _util.warn)("Unable to read page labels."); + } + return (0, _util.shadow)(this, "pageLabels", obj); + } + _readPageLabels() { + const obj = this._catDict.getRaw("PageLabels"); + if (!obj) { + return null; + } + const pageLabels = new Array(this.numPages); + let style = null, + prefix = ""; + const numberTree = new _name_number_tree.NumberTree(obj, this.xref); + const nums = numberTree.getAll(); + let currentLabel = "", + currentIndex = 1; + for (let i = 0, ii = this.numPages; i < ii; i++) { + const labelDict = nums.get(i); + if (labelDict !== undefined) { + if (!(labelDict instanceof _primitives.Dict)) { + throw new _util.FormatError("PageLabel is not a dictionary."); + } + if (labelDict.has("Type") && !(0, _primitives.isName)(labelDict.get("Type"), "PageLabel")) { + throw new _util.FormatError("Invalid type in PageLabel dictionary."); + } + if (labelDict.has("S")) { + const s = labelDict.get("S"); + if (!(s instanceof _primitives.Name)) { + throw new _util.FormatError("Invalid style in PageLabel dictionary."); + } + style = s.name; + } else { + style = null; + } + if (labelDict.has("P")) { + const p = labelDict.get("P"); + if (typeof p !== "string") { + throw new _util.FormatError("Invalid prefix in PageLabel dictionary."); + } + prefix = (0, _util.stringToPDFString)(p); + } else { + prefix = ""; + } + if (labelDict.has("St")) { + const st = labelDict.get("St"); + if (!(Number.isInteger(st) && st >= 1)) { + throw new _util.FormatError("Invalid start in PageLabel dictionary."); + } + currentIndex = st; + } else { + currentIndex = 1; + } + } + switch (style) { + case "D": + currentLabel = currentIndex; + break; + case "R": + case "r": + currentLabel = (0, _core_utils.toRomanNumerals)(currentIndex, style === "r"); + break; + case "A": + case "a": + const LIMIT = 26; + const A_UPPER_CASE = 0x41, + A_LOWER_CASE = 0x61; + const baseCharCode = style === "a" ? A_LOWER_CASE : A_UPPER_CASE; + const letterIndex = currentIndex - 1; + const character = String.fromCharCode(baseCharCode + letterIndex % LIMIT); + currentLabel = character.repeat(Math.floor(letterIndex / LIMIT) + 1); + break; + default: + if (style) { + throw new _util.FormatError(`Invalid style "${style}" in PageLabel dictionary.`); + } + currentLabel = ""; + } + pageLabels[i] = prefix + currentLabel; + currentIndex++; + } + return pageLabels; + } + get pageLayout() { + const obj = this._catDict.get("PageLayout"); + let pageLayout = ""; + if (obj instanceof _primitives.Name) { + switch (obj.name) { + case "SinglePage": + case "OneColumn": + case "TwoColumnLeft": + case "TwoColumnRight": + case "TwoPageLeft": + case "TwoPageRight": + pageLayout = obj.name; + } + } + return (0, _util.shadow)(this, "pageLayout", pageLayout); + } + get pageMode() { + const obj = this._catDict.get("PageMode"); + let pageMode = "UseNone"; + if (obj instanceof _primitives.Name) { + switch (obj.name) { + case "UseNone": + case "UseOutlines": + case "UseThumbs": + case "FullScreen": + case "UseOC": + case "UseAttachments": + pageMode = obj.name; + } + } + return (0, _util.shadow)(this, "pageMode", pageMode); + } + get viewerPreferences() { + const obj = this._catDict.get("ViewerPreferences"); + if (!(obj instanceof _primitives.Dict)) { + return (0, _util.shadow)(this, "viewerPreferences", null); + } + let prefs = null; + for (const key of obj.getKeys()) { + const value = obj.get(key); + let prefValue; + switch (key) { + case "HideToolbar": + case "HideMenubar": + case "HideWindowUI": + case "FitWindow": + case "CenterWindow": + case "DisplayDocTitle": + case "PickTrayByPDFSize": + if (typeof value === "boolean") { + prefValue = value; + } + break; + case "NonFullScreenPageMode": + if (value instanceof _primitives.Name) { + switch (value.name) { + case "UseNone": + case "UseOutlines": + case "UseThumbs": + case "UseOC": + prefValue = value.name; + break; + default: + prefValue = "UseNone"; + } + } + break; + case "Direction": + if (value instanceof _primitives.Name) { + switch (value.name) { + case "L2R": + case "R2L": + prefValue = value.name; + break; + default: + prefValue = "L2R"; + } + } + break; + case "ViewArea": + case "ViewClip": + case "PrintArea": + case "PrintClip": + if (value instanceof _primitives.Name) { + switch (value.name) { + case "MediaBox": + case "CropBox": + case "BleedBox": + case "TrimBox": + case "ArtBox": + prefValue = value.name; + break; + default: + prefValue = "CropBox"; + } + } + break; + case "PrintScaling": + if (value instanceof _primitives.Name) { + switch (value.name) { + case "None": + case "AppDefault": + prefValue = value.name; + break; + default: + prefValue = "AppDefault"; + } + } + break; + case "Duplex": + if (value instanceof _primitives.Name) { + switch (value.name) { + case "Simplex": + case "DuplexFlipShortEdge": + case "DuplexFlipLongEdge": + prefValue = value.name; + break; + default: + prefValue = "None"; + } + } + break; + case "PrintPageRange": + if (Array.isArray(value) && value.length % 2 === 0) { + const isValid = value.every((page, i, arr) => { + return Number.isInteger(page) && page > 0 && (i === 0 || page >= arr[i - 1]) && page <= this.numPages; + }); + if (isValid) { + prefValue = value; + } + } + break; + case "NumCopies": + if (Number.isInteger(value) && value > 0) { + prefValue = value; + } + break; + default: + (0, _util.warn)(`Ignoring non-standard key in ViewerPreferences: ${key}.`); + continue; + } + if (prefValue === undefined) { + (0, _util.warn)(`Bad value, for key "${key}", in ViewerPreferences: ${value}.`); + continue; + } + if (!prefs) { + prefs = Object.create(null); + } + prefs[key] = prefValue; + } + return (0, _util.shadow)(this, "viewerPreferences", prefs); + } + get openAction() { + const obj = this._catDict.get("OpenAction"); + const openAction = Object.create(null); + if (obj instanceof _primitives.Dict) { + const destDict = new _primitives.Dict(this.xref); + destDict.set("A", obj); + const resultObj = { + url: null, + dest: null, + action: null + }; + Catalog.parseDestDictionary({ + destDict, + resultObj + }); + if (Array.isArray(resultObj.dest)) { + openAction.dest = resultObj.dest; + } else if (resultObj.action) { + openAction.action = resultObj.action; + } + } else if (Array.isArray(obj)) { + openAction.dest = obj; + } + return (0, _util.shadow)(this, "openAction", (0, _util.objectSize)(openAction) > 0 ? openAction : null); + } + get attachments() { + const obj = this._catDict.get("Names"); + let attachments = null; + if (obj instanceof _primitives.Dict && obj.has("EmbeddedFiles")) { + const nameTree = new _name_number_tree.NameTree(obj.getRaw("EmbeddedFiles"), this.xref); + for (const [key, value] of nameTree.getAll()) { + const fs = new _file_spec.FileSpec(value, this.xref); + if (!attachments) { + attachments = Object.create(null); + } + attachments[(0, _util.stringToPDFString)(key)] = fs.serializable; + } + } + return (0, _util.shadow)(this, "attachments", attachments); + } + get xfaImages() { + const obj = this._catDict.get("Names"); + let xfaImages = null; + if (obj instanceof _primitives.Dict && obj.has("XFAImages")) { + const nameTree = new _name_number_tree.NameTree(obj.getRaw("XFAImages"), this.xref); + for (const [key, value] of nameTree.getAll()) { + if (!xfaImages) { + xfaImages = new _primitives.Dict(this.xref); + } + xfaImages.set((0, _util.stringToPDFString)(key), value); + } + } + return (0, _util.shadow)(this, "xfaImages", xfaImages); + } + _collectJavaScript() { + const obj = this._catDict.get("Names"); + let javaScript = null; + function appendIfJavaScriptDict(name, jsDict) { + if (!(jsDict instanceof _primitives.Dict)) { + return; + } + if (!(0, _primitives.isName)(jsDict.get("S"), "JavaScript")) { + return; + } + let js = jsDict.get("JS"); + if (js instanceof _base_stream.BaseStream) { + js = js.getString(); + } else if (typeof js !== "string") { + return; + } + js = (0, _util.stringToPDFString)(js).replaceAll("\x00", ""); + (javaScript ||= new Map()).set(name, js); + } + if (obj instanceof _primitives.Dict && obj.has("JavaScript")) { + const nameTree = new _name_number_tree.NameTree(obj.getRaw("JavaScript"), this.xref); + for (const [key, value] of nameTree.getAll()) { + appendIfJavaScriptDict((0, _util.stringToPDFString)(key), value); + } + } + const openAction = this._catDict.get("OpenAction"); + if (openAction) { + appendIfJavaScriptDict("OpenAction", openAction); + } + return javaScript; + } + get javaScript() { + const javaScript = this._collectJavaScript(); + return (0, _util.shadow)(this, "javaScript", javaScript ? [...javaScript.values()] : null); + } + get jsActions() { + const javaScript = this._collectJavaScript(); + let actions = (0, _core_utils.collectActions)(this.xref, this._catDict, _util.DocumentActionEventType); + if (javaScript) { + if (!actions) { + actions = Object.create(null); + } + for (const [key, val] of javaScript) { + if (key in actions) { + actions[key].push(val); + } else { + actions[key] = [val]; + } + } + } + return (0, _util.shadow)(this, "jsActions", actions); + } + async fontFallback(id, handler) { + const translatedFonts = await Promise.all(this.fontCache); + for (const translatedFont of translatedFonts) { + if (translatedFont.loadedName === id) { + translatedFont.fallback(handler); + return; + } + } + } + async cleanup(manuallyTriggered = false) { + (0, _cleanup_helper.clearGlobalCaches)(); + this.globalImageCache.clear(manuallyTriggered); + this.pageKidsCountCache.clear(); + this.pageIndexCache.clear(); + this.nonBlendModesSet.clear(); + const translatedFonts = await Promise.all(this.fontCache); + for (const { + dict + } of translatedFonts) { + delete dict.cacheKey; + } + this.fontCache.clear(); + this.builtInCMapCache.clear(); + this.standardFontDataCache.clear(); + this.systemFontCache.clear(); + } + async getPageDict(pageIndex) { + const nodesToVisit = [this.toplevelPagesDict]; + const visitedNodes = new _primitives.RefSet(); + const pagesRef = this._catDict.getRaw("Pages"); + if (pagesRef instanceof _primitives.Ref) { + visitedNodes.put(pagesRef); + } + const xref = this.xref, + pageKidsCountCache = this.pageKidsCountCache, + pageIndexCache = this.pageIndexCache; + let currentPageIndex = 0; + while (nodesToVisit.length) { + const currentNode = nodesToVisit.pop(); + if (currentNode instanceof _primitives.Ref) { + const count = pageKidsCountCache.get(currentNode); + if (count >= 0 && currentPageIndex + count <= pageIndex) { + currentPageIndex += count; + continue; + } + if (visitedNodes.has(currentNode)) { + throw new _util.FormatError("Pages tree contains circular reference."); + } + visitedNodes.put(currentNode); + const obj = await xref.fetchAsync(currentNode); + if (obj instanceof _primitives.Dict) { + let type = obj.getRaw("Type"); + if (type instanceof _primitives.Ref) { + type = await xref.fetchAsync(type); + } + if ((0, _primitives.isName)(type, "Page") || !obj.has("Kids")) { + if (!pageKidsCountCache.has(currentNode)) { + pageKidsCountCache.put(currentNode, 1); + } + if (!pageIndexCache.has(currentNode)) { + pageIndexCache.put(currentNode, currentPageIndex); + } + if (currentPageIndex === pageIndex) { + return [obj, currentNode]; + } + currentPageIndex++; + continue; + } + } + nodesToVisit.push(obj); + continue; + } + if (!(currentNode instanceof _primitives.Dict)) { + throw new _util.FormatError("Page dictionary kid reference points to wrong type of object."); + } + const { + objId + } = currentNode; + let count = currentNode.getRaw("Count"); + if (count instanceof _primitives.Ref) { + count = await xref.fetchAsync(count); + } + if (Number.isInteger(count) && count >= 0) { + if (objId && !pageKidsCountCache.has(objId)) { + pageKidsCountCache.put(objId, count); + } + if (currentPageIndex + count <= pageIndex) { + currentPageIndex += count; + continue; + } + } + let kids = currentNode.getRaw("Kids"); + if (kids instanceof _primitives.Ref) { + kids = await xref.fetchAsync(kids); + } + if (!Array.isArray(kids)) { + let type = currentNode.getRaw("Type"); + if (type instanceof _primitives.Ref) { + type = await xref.fetchAsync(type); + } + if ((0, _primitives.isName)(type, "Page") || !currentNode.has("Kids")) { + if (currentPageIndex === pageIndex) { + return [currentNode, null]; + } + currentPageIndex++; + continue; + } + throw new _util.FormatError("Page dictionary kids object is not an array."); + } + for (let last = kids.length - 1; last >= 0; last--) { + nodesToVisit.push(kids[last]); + } + } + throw new Error(`Page index ${pageIndex} not found.`); + } + async getAllPageDicts(recoveryMode = false) { + const { + ignoreErrors + } = this.pdfManager.evaluatorOptions; + const queue = [{ + currentNode: this.toplevelPagesDict, + posInKids: 0 + }]; + const visitedNodes = new _primitives.RefSet(); + const pagesRef = this._catDict.getRaw("Pages"); + if (pagesRef instanceof _primitives.Ref) { + visitedNodes.put(pagesRef); + } + const map = new Map(), + xref = this.xref, + pageIndexCache = this.pageIndexCache; + let pageIndex = 0; + function addPageDict(pageDict, pageRef) { + if (pageRef && !pageIndexCache.has(pageRef)) { + pageIndexCache.put(pageRef, pageIndex); + } + map.set(pageIndex++, [pageDict, pageRef]); + } + function addPageError(error) { + if (error instanceof _core_utils.XRefEntryException && !recoveryMode) { + throw error; + } + if (recoveryMode && ignoreErrors && pageIndex === 0) { + (0, _util.warn)(`getAllPageDicts - Skipping invalid first page: "${error}".`); + error = _primitives.Dict.empty; + } + map.set(pageIndex++, [error, null]); + } + while (queue.length > 0) { + const queueItem = queue.at(-1); + const { + currentNode, + posInKids + } = queueItem; + let kids = currentNode.getRaw("Kids"); + if (kids instanceof _primitives.Ref) { + try { + kids = await xref.fetchAsync(kids); + } catch (ex) { + addPageError(ex); + break; + } + } + if (!Array.isArray(kids)) { + addPageError(new _util.FormatError("Page dictionary kids object is not an array.")); + break; + } + if (posInKids >= kids.length) { + queue.pop(); + continue; + } + const kidObj = kids[posInKids]; + let obj; + if (kidObj instanceof _primitives.Ref) { + if (visitedNodes.has(kidObj)) { + addPageError(new _util.FormatError("Pages tree contains circular reference.")); + break; + } + visitedNodes.put(kidObj); + try { + obj = await xref.fetchAsync(kidObj); + } catch (ex) { + addPageError(ex); + break; + } + } else { + obj = kidObj; + } + if (!(obj instanceof _primitives.Dict)) { + addPageError(new _util.FormatError("Page dictionary kid reference points to wrong type of object.")); + break; + } + let type = obj.getRaw("Type"); + if (type instanceof _primitives.Ref) { + try { + type = await xref.fetchAsync(type); + } catch (ex) { + addPageError(ex); + break; + } + } + if ((0, _primitives.isName)(type, "Page") || !obj.has("Kids")) { + addPageDict(obj, kidObj instanceof _primitives.Ref ? kidObj : null); + } else { + queue.push({ + currentNode: obj, + posInKids: 0 + }); + } + queueItem.posInKids++; + } + return map; + } + getPageIndex(pageRef) { + const cachedPageIndex = this.pageIndexCache.get(pageRef); + if (cachedPageIndex !== undefined) { + return Promise.resolve(cachedPageIndex); + } + const xref = this.xref; + function pagesBeforeRef(kidRef) { + let total = 0, + parentRef; + return xref.fetchAsync(kidRef).then(function (node) { + if ((0, _primitives.isRefsEqual)(kidRef, pageRef) && !(0, _primitives.isDict)(node, "Page") && !(node instanceof _primitives.Dict && !node.has("Type") && node.has("Contents"))) { + throw new _util.FormatError("The reference does not point to a /Page dictionary."); + } + if (!node) { + return null; + } + if (!(node instanceof _primitives.Dict)) { + throw new _util.FormatError("Node must be a dictionary."); + } + parentRef = node.getRaw("Parent"); + return node.getAsync("Parent"); + }).then(function (parent) { + if (!parent) { + return null; + } + if (!(parent instanceof _primitives.Dict)) { + throw new _util.FormatError("Parent must be a dictionary."); + } + return parent.getAsync("Kids"); + }).then(function (kids) { + if (!kids) { + return null; + } + const kidPromises = []; + let found = false; + for (const kid of kids) { + if (!(kid instanceof _primitives.Ref)) { + throw new _util.FormatError("Kid must be a reference."); + } + if ((0, _primitives.isRefsEqual)(kid, kidRef)) { + found = true; + break; + } + kidPromises.push(xref.fetchAsync(kid).then(function (obj) { + if (!(obj instanceof _primitives.Dict)) { + throw new _util.FormatError("Kid node must be a dictionary."); + } + if (obj.has("Count")) { + total += obj.get("Count"); + } else { + total++; + } + })); + } + if (!found) { + throw new _util.FormatError("Kid reference not found in parent's kids."); + } + return Promise.all(kidPromises).then(function () { + return [total, parentRef]; + }); + }); + } + let total = 0; + const next = ref => pagesBeforeRef(ref).then(args => { + if (!args) { + this.pageIndexCache.put(pageRef, total); + return total; + } + const [count, parentRef] = args; + total += count; + return next(parentRef); + }); + return next(pageRef); + } + get baseUrl() { + const uri = this._catDict.get("URI"); + if (uri instanceof _primitives.Dict) { + const base = uri.get("Base"); + if (typeof base === "string") { + const absoluteUrl = (0, _util.createValidAbsoluteUrl)(base, null, { + tryConvertEncoding: true + }); + if (absoluteUrl) { + return (0, _util.shadow)(this, "baseUrl", absoluteUrl.href); + } + } + } + return (0, _util.shadow)(this, "baseUrl", null); + } + static parseDestDictionary(params) { + const destDict = params.destDict; + if (!(destDict instanceof _primitives.Dict)) { + (0, _util.warn)("parseDestDictionary: `destDict` must be a dictionary."); + return; + } + const resultObj = params.resultObj; + if (typeof resultObj !== "object") { + (0, _util.warn)("parseDestDictionary: `resultObj` must be an object."); + return; + } + const docBaseUrl = params.docBaseUrl || null; + const docAttachments = params.docAttachments || null; + let action = destDict.get("A"), + url, + dest; + if (!(action instanceof _primitives.Dict)) { + if (destDict.has("Dest")) { + action = destDict.get("Dest"); + } else { + action = destDict.get("AA"); + if (action instanceof _primitives.Dict) { + if (action.has("D")) { + action = action.get("D"); + } else if (action.has("U")) { + action = action.get("U"); } } } } - if (!Number.isInteger(keyLength) || keyLength < 40 || keyLength % 8 !== 0) { - throw new FormatError("invalid key length"); - } - const ownerBytes = stringToBytes(dict.get("O")), - userBytes = stringToBytes(dict.get("U")); - const ownerPassword = ownerBytes.subarray(0, 32); - const userPassword = userBytes.subarray(0, 32); - const flags = dict.get("P"); - const revision = dict.get("R"); - const encryptMetadata = (algorithm === 4 || algorithm === 5) && dict.get("EncryptMetadata") !== false; - this.encryptMetadata = encryptMetadata; - const fileIdBytes = stringToBytes(fileId); - let passwordBytes; - if (password) { - if (revision === 6) { - try { - password = utf8StringToString(password); - } catch { - warn("CipherTransformFactory: Unable to convert UTF8 encoded password."); - } + if (action instanceof _primitives.Dict) { + const actionType = action.get("S"); + if (!(actionType instanceof _primitives.Name)) { + (0, _util.warn)("parseDestDictionary: Invalid type in Action dictionary."); + return; } - passwordBytes = stringToBytes(password); - } - let encryptionKey; - if (algorithm !== 5) { - encryptionKey = this.#prepareKeyData(fileIdBytes, passwordBytes, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata); - } else { - const ownerValidationSalt = ownerBytes.subarray(32, 40); - const ownerKeySalt = ownerBytes.subarray(40, 48); - const uBytes = userBytes.subarray(0, 48); - const userValidationSalt = userBytes.subarray(32, 40); - const userKeySalt = userBytes.subarray(40, 48); - const ownerEncryption = stringToBytes(dict.get("OE")); - const userEncryption = stringToBytes(dict.get("UE")); - const perms = stringToBytes(dict.get("Perms")); - encryptionKey = this.#createEncryptionKey20(revision, passwordBytes, ownerPassword, ownerValidationSalt, ownerKeySalt, uBytes, userPassword, userValidationSalt, userKeySalt, ownerEncryption, userEncryption, perms); - } - if (!encryptionKey && !password) { - throw new PasswordException("No password given", PasswordResponses.NEED_PASSWORD); - } else if (!encryptionKey && password) { - const decodedPassword = this.#decodeUserPassword(passwordBytes, ownerPassword, revision, keyLength); - encryptionKey = this.#prepareKeyData(fileIdBytes, decodedPassword, ownerPassword, userPassword, flags, revision, keyLength, encryptMetadata); - } - if (!encryptionKey) { - throw new PasswordException("Incorrect Password", PasswordResponses.INCORRECT_PASSWORD); - } - this.encryptionKey = encryptionKey; - if (algorithm >= 4) { - const cf = dict.get("CF"); - if (cf instanceof Dict) { - cf.suppressEncryption = true; + const actionName = actionType.name; + switch (actionName) { + case "ResetForm": + const flags = action.get("Flags"); + const include = ((typeof flags === "number" ? flags : 0) & 1) === 0; + const fields = []; + const refs = []; + for (const obj of action.get("Fields") || []) { + if (obj instanceof _primitives.Ref) { + refs.push(obj.toString()); + } else if (typeof obj === "string") { + fields.push((0, _util.stringToPDFString)(obj)); + } + } + resultObj.resetForm = { + fields, + refs, + include + }; + break; + case "URI": + url = action.get("URI"); + if (url instanceof _primitives.Name) { + url = "/" + url.name; + } + break; + case "GoTo": + dest = action.get("D"); + break; + case "Launch": + case "GoToR": + const urlDict = action.get("F"); + if (urlDict instanceof _primitives.Dict) { + url = urlDict.get("F") || null; + } else if (typeof urlDict === "string") { + url = urlDict; + } + let remoteDest = action.get("D"); + if (remoteDest) { + if (remoteDest instanceof _primitives.Name) { + remoteDest = remoteDest.name; + } + if (typeof url === "string") { + const baseUrl = url.split("#")[0]; + if (typeof remoteDest === "string") { + url = baseUrl + "#" + remoteDest; + } else if (Array.isArray(remoteDest)) { + url = baseUrl + "#" + JSON.stringify(remoteDest); + } + } + } + const newWindow = action.get("NewWindow"); + if (typeof newWindow === "boolean") { + resultObj.newWindow = newWindow; + } + break; + case "GoToE": + const target = action.get("T"); + let attachment; + if (docAttachments && target instanceof _primitives.Dict) { + const relationship = target.get("R"); + const name = target.get("N"); + if ((0, _primitives.isName)(relationship, "C") && typeof name === "string") { + attachment = docAttachments[(0, _util.stringToPDFString)(name)]; + } + } + if (attachment) { + resultObj.attachment = attachment; + } else { + (0, _util.warn)(`parseDestDictionary - unimplemented "GoToE" action.`); + } + break; + case "Named": + const namedAction = action.get("N"); + if (namedAction instanceof _primitives.Name) { + resultObj.action = namedAction.name; + } + break; + case "SetOCGState": + const state = action.get("State"); + const preserveRB = action.get("PreserveRB"); + if (!Array.isArray(state) || state.length === 0) { + break; + } + const stateArr = []; + for (const elem of state) { + if (elem instanceof _primitives.Name) { + switch (elem.name) { + case "ON": + case "OFF": + case "Toggle": + stateArr.push(elem.name); + break; + } + } else if (elem instanceof _primitives.Ref) { + stateArr.push(elem.toString()); + } + } + if (stateArr.length !== state.length) { + break; + } + resultObj.setOCGState = { + state: stateArr, + preserveRB: typeof preserveRB === "boolean" ? preserveRB : true + }; + break; + case "JavaScript": + const jsAction = action.get("JS"); + let js; + if (jsAction instanceof _base_stream.BaseStream) { + js = jsAction.getString(); + } else if (typeof jsAction === "string") { + js = jsAction; + } + const jsURL = js && (0, _core_utils.recoverJsURL)((0, _util.stringToPDFString)(js)); + if (jsURL) { + url = jsURL.url; + resultObj.newWindow = jsURL.newWindow; + break; + } + default: + if (actionName === "JavaScript" || actionName === "SubmitForm") { + break; + } + (0, _util.warn)(`parseDestDictionary - unsupported action: "${actionName}".`); + break; + } + } else if (destDict.has("Dest")) { + dest = destDict.get("Dest"); + } + if (typeof url === "string") { + const absoluteUrl = (0, _util.createValidAbsoluteUrl)(url, docBaseUrl, { + addDefaultProtocol: true, + tryConvertEncoding: true + }); + if (absoluteUrl) { + resultObj.url = absoluteUrl.href; + } + resultObj.unsafeUrl = url; + } + if (dest) { + if (dest instanceof _primitives.Name) { + dest = dest.name; + } + if (typeof dest === "string") { + resultObj.dest = (0, _util.stringToPDFString)(dest); + } else if (Array.isArray(dest)) { + resultObj.dest = dest; } - this.cf = cf; - this.stmf = dict.get("StmF") || Name.get("Identity"); - this.strf = dict.get("StrF") || Name.get("Identity"); - this.eff = dict.get("EFF") || this.stmf; } } - createCipherTransform(num, gen) { - if (this.algorithm === 4 || this.algorithm === 5) { - return new CipherTransform(this.#buildCipherConstructor(this.cf, this.strf, num, gen, this.encryptionKey), this.#buildCipherConstructor(this.cf, this.stmf, num, gen, this.encryptionKey)); +} +exports.Catalog = Catalog; + +/***/ }), +/* 71 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NumberTree = exports.NameTree = void 0; +var _primitives = __w_pdfjs_require__(4); +var _util = __w_pdfjs_require__(2); +class NameOrNumberTree { + constructor(root, xref, type) { + if (this.constructor === NameOrNumberTree) { + (0, _util.unreachable)("Cannot initialize NameOrNumberTree."); } - const key = this.#buildObjectKey(num, gen, this.encryptionKey, false); - const cipherConstructor = function () { - return new ARCFourCipher(key); + this.root = root; + this.xref = xref; + this._type = type; + } + getAll() { + const map = new Map(); + if (!this.root) { + return map; + } + const xref = this.xref; + const processed = new _primitives.RefSet(); + processed.put(this.root); + const queue = [this.root]; + while (queue.length > 0) { + const obj = xref.fetchIfRef(queue.shift()); + if (!(obj instanceof _primitives.Dict)) { + continue; + } + if (obj.has("Kids")) { + const kids = obj.get("Kids"); + if (!Array.isArray(kids)) { + continue; + } + for (const kid of kids) { + if (processed.has(kid)) { + throw new _util.FormatError(`Duplicate entry in "${this._type}" tree.`); + } + queue.push(kid); + processed.put(kid); + } + continue; + } + const entries = obj.get(this._type); + if (!Array.isArray(entries)) { + continue; + } + for (let i = 0, ii = entries.length; i < ii; i += 2) { + map.set(xref.fetchIfRef(entries[i]), xref.fetchIfRef(entries[i + 1])); + } + } + return map; + } + get(key) { + if (!this.root) { + return null; + } + const xref = this.xref; + let kidsOrEntries = xref.fetchIfRef(this.root); + let loopCount = 0; + const MAX_LEVELS = 10; + while (kidsOrEntries.has("Kids")) { + if (++loopCount > MAX_LEVELS) { + (0, _util.warn)(`Search depth limit reached for "${this._type}" tree.`); + return null; + } + const kids = kidsOrEntries.get("Kids"); + if (!Array.isArray(kids)) { + return null; + } + let l = 0, + r = kids.length - 1; + while (l <= r) { + const m = l + r >> 1; + const kid = xref.fetchIfRef(kids[m]); + const limits = kid.get("Limits"); + if (key < xref.fetchIfRef(limits[0])) { + r = m - 1; + } else if (key > xref.fetchIfRef(limits[1])) { + l = m + 1; + } else { + kidsOrEntries = kid; + break; + } + } + if (l > r) { + return null; + } + } + const entries = kidsOrEntries.get(this._type); + if (Array.isArray(entries)) { + let l = 0, + r = entries.length - 2; + while (l <= r) { + const tmp = l + r >> 1, + m = tmp + (tmp & 1); + const currentKey = xref.fetchIfRef(entries[m]); + if (key < currentKey) { + r = m - 2; + } else if (key > currentKey) { + l = m + 2; + } else { + return xref.fetchIfRef(entries[m + 1]); + } + } + } + return null; + } +} +class NameTree extends NameOrNumberTree { + constructor(root, xref) { + super(root, xref, "Names"); + } +} +exports.NameTree = NameTree; +class NumberTree extends NameOrNumberTree { + constructor(root, xref) { + super(root, xref, "Nums"); + } +} +exports.NumberTree = NumberTree; + +/***/ }), +/* 72 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.clearGlobalCaches = clearGlobalCaches; +var _primitives = __w_pdfjs_require__(4); +var _unicode = __w_pdfjs_require__(40); +function clearGlobalCaches() { + (0, _primitives.clearPrimitiveCaches)(); + (0, _unicode.clearUnicodeCaches)(); +} + +/***/ }), +/* 73 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FileSpec = void 0; +var _util = __w_pdfjs_require__(2); +var _base_stream = __w_pdfjs_require__(5); +var _primitives = __w_pdfjs_require__(4); +function pickPlatformItem(dict) { + if (dict.has("UF")) { + return dict.get("UF"); + } else if (dict.has("F")) { + return dict.get("F"); + } else if (dict.has("Unix")) { + return dict.get("Unix"); + } else if (dict.has("Mac")) { + return dict.get("Mac"); + } else if (dict.has("DOS")) { + return dict.get("DOS"); + } + return null; +} +class FileSpec { + constructor(root, xref) { + if (!(root instanceof _primitives.Dict)) { + return; + } + this.xref = xref; + this.root = root; + if (root.has("FS")) { + this.fs = root.get("FS"); + } + this.description = root.has("Desc") ? (0, _util.stringToPDFString)(root.get("Desc")) : ""; + if (root.has("RF")) { + (0, _util.warn)("Related file specifications are not supported"); + } + this.contentAvailable = true; + if (!root.has("EF")) { + this.contentAvailable = false; + (0, _util.warn)("Non-embedded file specifications are not supported"); + } + } + get filename() { + if (!this._filename && this.root) { + const filename = pickPlatformItem(this.root) || "unnamed"; + this._filename = (0, _util.stringToPDFString)(filename).replaceAll("\\\\", "\\").replaceAll("\\/", "/").replaceAll("\\", "/"); + } + return this._filename; + } + get content() { + if (!this.contentAvailable) { + return null; + } + if (!this.contentRef && this.root) { + this.contentRef = pickPlatformItem(this.root.get("EF")); + } + let content = null; + if (this.contentRef) { + const fileObj = this.xref.fetchIfRef(this.contentRef); + if (fileObj instanceof _base_stream.BaseStream) { + content = fileObj.getBytes(); + } else { + (0, _util.warn)("Embedded file specification points to non-existing/invalid content"); + } + } else { + (0, _util.warn)("Embedded file specification does not have a content"); + } + return content; + } + get serializable() { + return { + filename: this.filename, + content: this.content }; - return new CipherTransform(cipherConstructor, cipherConstructor); } } +exports.FileSpec = FileSpec; -;// CONCATENATED MODULE: ./src/core/writer.js +/***/ }), +/* 74 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - -async function writeObject(ref, obj, buffer, { - encrypt = null -}) { - const transform = encrypt?.createCipherTransform(ref.num, ref.gen); - buffer.push(`${ref.num} ${ref.gen} obj\n`); - if (obj instanceof Dict) { - await writeDict(obj, buffer, transform); - } else if (obj instanceof BaseStream) { - await writeStream(obj, buffer, transform); - } else if (Array.isArray(obj) || ArrayBuffer.isView(obj)) { - await writeArray(obj, buffer, transform); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MetadataParser = void 0; +var _xml_parser = __w_pdfjs_require__(67); +class MetadataParser { + constructor(data) { + data = this._repair(data); + const parser = new _xml_parser.SimpleXMLParser({ + lowerCaseName: true + }); + const xmlDocument = parser.parseFromString(data); + this._metadataMap = new Map(); + this._data = data; + if (xmlDocument) { + this._parse(xmlDocument); + } } - buffer.push("\nendobj\n"); -} -async function writeDict(dict, buffer, transform) { - buffer.push("<<"); - for (const key of dict.getKeys()) { - buffer.push(` /${escapePDFName(key)} `); - await writeValue(dict.getRaw(key), buffer, transform); - } - buffer.push(">>"); -} -async function writeStream(stream, buffer, transform) { - let bytes = stream.getBytes(); - const { - dict - } = stream; - const [filter, params] = await Promise.all([dict.getAsync("Filter"), dict.getAsync("DecodeParms")]); - const filterZero = Array.isArray(filter) ? await dict.xref.fetchIfRefAsync(filter[0]) : filter; - const isFilterZeroFlateDecode = isName(filterZero, "FlateDecode"); - const MIN_LENGTH_FOR_COMPRESSING = 256; - if (bytes.length >= MIN_LENGTH_FOR_COMPRESSING || isFilterZeroFlateDecode) { - try { - const cs = new CompressionStream("deflate"); - const writer = cs.writable.getWriter(); - writer.write(bytes); - writer.close(); - const buf = await new Response(cs.readable).arrayBuffer(); - bytes = new Uint8Array(buf); - let newFilter, newParams; - if (!filter) { - newFilter = Name.get("FlateDecode"); - } else if (!isFilterZeroFlateDecode) { - newFilter = Array.isArray(filter) ? [Name.get("FlateDecode"), ...filter] : [Name.get("FlateDecode"), filter]; - if (params) { - newParams = Array.isArray(params) ? [null, ...params] : [null, params]; + _repair(data) { + return data.replace(/^[^<]+/, "").replaceAll(/>\\376\\377([^<]+)/g, function (all, codes) { + const bytes = codes.replaceAll(/\\([0-3])([0-7])([0-7])/g, function (code, d1, d2, d3) { + return String.fromCharCode(d1 * 64 + d2 * 8 + d3 * 1); + }).replaceAll(/&(amp|apos|gt|lt|quot);/g, function (str, name) { + switch (name) { + case "amp": + return "&"; + case "apos": + return "'"; + case "gt": + return ">"; + case "lt": + return "<"; + case "quot": + return '"'; + } + throw new Error(`_repair: ${name} isn't defined.`); + }); + const charBuf = [">"]; + for (let i = 0, ii = bytes.length; i < ii; i += 2) { + const code = bytes.charCodeAt(i) * 256 + bytes.charCodeAt(i + 1); + if (code >= 32 && code < 127 && code !== 60 && code !== 62 && code !== 38) { + charBuf.push(String.fromCharCode(code)); + } else { + charBuf.push("" + (0x10000 + code).toString(16).substring(1) + ";"); } } - if (newFilter) { - dict.set("Filter", newFilter); - } - if (newParams) { - dict.set("DecodeParms", newParams); - } - } catch (ex) { - info(`writeStream - cannot compress data: "${ex}".`); - } - } - let string = bytesToString(bytes); - if (transform) { - string = transform.encryptString(string); - } - dict.set("Length", string.length); - await writeDict(dict, buffer, transform); - buffer.push(" stream\n", string, "\nendstream"); -} -async function writeArray(array, buffer, transform) { - buffer.push("["); - let first = true; - for (const val of array) { - if (!first) { - buffer.push(" "); - } else { - first = false; - } - await writeValue(val, buffer, transform); - } - buffer.push("]"); -} -async function writeValue(value, buffer, transform) { - if (value instanceof Name) { - buffer.push(`/${escapePDFName(value.name)}`); - } else if (value instanceof Ref) { - buffer.push(`${value.num} ${value.gen} R`); - } else if (Array.isArray(value) || ArrayBuffer.isView(value)) { - await writeArray(value, buffer, transform); - } else if (typeof value === "string") { - if (transform) { - value = transform.encryptString(value); - } - buffer.push(`(${escapeString(value)})`); - } else if (typeof value === "number") { - buffer.push(numberToString(value)); - } else if (typeof value === "boolean") { - buffer.push(value.toString()); - } else if (value instanceof Dict) { - await writeDict(value, buffer, transform); - } else if (value instanceof BaseStream) { - await writeStream(value, buffer, transform); - } else if (value === null) { - buffer.push("null"); - } else { - warn(`Unhandled value in writer: ${typeof value}, please file a bug.`); - } -} -function writeInt(number, size, offset, buffer) { - for (let i = size + offset - 1; i > offset - 1; i--) { - buffer[i] = number & 0xff; - number >>= 8; - } - return offset + size; -} -function writeString(string, offset, buffer) { - for (let i = 0, len = string.length; i < len; i++) { - buffer[offset + i] = string.charCodeAt(i) & 0xff; - } -} -function computeMD5(filesize, xrefInfo) { - const time = Math.floor(Date.now() / 1000); - const filename = xrefInfo.filename || ""; - const md5Buffer = [time.toString(), filename, filesize.toString()]; - let md5BufferLen = md5Buffer.reduce((a, str) => a + str.length, 0); - for (const value of Object.values(xrefInfo.info)) { - md5Buffer.push(value); - md5BufferLen += value.length; - } - const array = new Uint8Array(md5BufferLen); - let offset = 0; - for (const str of md5Buffer) { - writeString(str, offset, array); - offset += str.length; - } - return bytesToString(calculateMD5(array)); -} -function writeXFADataForAcroform(str, newRefs) { - const xml = new SimpleXMLParser({ - hasAttributes: true - }).parseFromString(str); - for (const { - xfa - } of newRefs) { - if (!xfa) { - continue; - } - const { - path, - value - } = xfa; - if (!path) { - continue; - } - const nodePath = parseXFAPath(path); - let node = xml.documentElement.searchNode(nodePath, 0); - if (!node && nodePath.length > 1) { - node = xml.documentElement.searchNode([nodePath.at(-1)], 0); - } - if (node) { - node.childNodes = Array.isArray(value) ? value.map(val => new SimpleDOMNode("value", val)) : [new SimpleDOMNode("#text", value)]; - } else { - warn(`Node not found for path: ${path}`); - } - } - const buffer = []; - xml.documentElement.dump(buffer); - return buffer.join(""); -} -async function updateAcroform({ - xref, - acroForm, - acroFormRef, - hasXfa, - hasXfaDatasetsEntry, - xfaDatasetsRef, - needAppearances, - newRefs -}) { - if (hasXfa && !hasXfaDatasetsEntry && !xfaDatasetsRef) { - warn("XFA - Cannot save it"); - } - if (!needAppearances && (!hasXfa || !xfaDatasetsRef || hasXfaDatasetsEntry)) { - return; - } - const dict = acroForm.clone(); - if (hasXfa && !hasXfaDatasetsEntry) { - const newXfa = acroForm.get("XFA").slice(); - newXfa.splice(2, 0, "datasets"); - newXfa.splice(3, 0, xfaDatasetsRef); - dict.set("XFA", newXfa); - } - if (needAppearances) { - dict.set("NeedAppearances", true); - } - const buffer = []; - await writeObject(acroFormRef, dict, buffer, xref); - newRefs.push({ - ref: acroFormRef, - data: buffer.join("") - }); -} -function updateXFA({ - xfaData, - xfaDatasetsRef, - newRefs, - xref -}) { - if (xfaData === null) { - const datasets = xref.fetchIfRef(xfaDatasetsRef); - xfaData = writeXFADataForAcroform(datasets.getString(), newRefs); - } - const encrypt = xref.encrypt; - if (encrypt) { - const transform = encrypt.createCipherTransform(xfaDatasetsRef.num, xfaDatasetsRef.gen); - xfaData = transform.encryptString(xfaData); - } - const data = `${xfaDatasetsRef.num} ${xfaDatasetsRef.gen} obj\n` + `<< /Type /EmbeddedFile /Length ${xfaData.length}>>\nstream\n` + xfaData + "\nendstream\nendobj\n"; - newRefs.push({ - ref: xfaDatasetsRef, - data - }); -} -async function getXRefTable(xrefInfo, baseOffset, newRefs, newXref, buffer) { - buffer.push("xref\n"); - const indexes = getIndexes(newRefs); - let indexesPosition = 0; - for (const { - ref, - data - } of newRefs) { - if (ref.num === indexes[indexesPosition]) { - buffer.push(`${indexes[indexesPosition]} ${indexes[indexesPosition + 1]}\n`); - indexesPosition += 2; - } - if (data !== null) { - buffer.push(`${baseOffset.toString().padStart(10, "0")} ${Math.min(ref.gen, 0xffff).toString().padStart(5, "0")} n\r\n`); - baseOffset += data.length; - } else { - buffer.push(`0000000000 ${Math.min(ref.gen + 1, 0xffff).toString().padStart(5, "0")} f\r\n`); - } - } - computeIDs(baseOffset, xrefInfo, newXref); - buffer.push("trailer\n"); - await writeDict(newXref, buffer); - buffer.push("\nstartxref\n", baseOffset.toString(), "\n%%EOF\n"); -} -function getIndexes(newRefs) { - const indexes = []; - for (const { - ref - } of newRefs) { - if (ref.num === indexes.at(-2) + indexes.at(-1)) { - indexes[indexes.length - 1] += 1; - } else { - indexes.push(ref.num, 1); - } - } - return indexes; -} -async function getXRefStreamTable(xrefInfo, baseOffset, newRefs, newXref, buffer) { - const xrefTableData = []; - let maxOffset = 0; - let maxGen = 0; - for (const { - ref, - data - } of newRefs) { - let gen; - maxOffset = Math.max(maxOffset, baseOffset); - if (data !== null) { - gen = Math.min(ref.gen, 0xffff); - xrefTableData.push([1, baseOffset, gen]); - baseOffset += data.length; - } else { - gen = Math.min(ref.gen + 1, 0xffff); - xrefTableData.push([0, 0, gen]); - } - maxGen = Math.max(maxGen, gen); - } - newXref.set("Index", getIndexes(newRefs)); - const offsetSize = getSizeInBytes(maxOffset); - const maxGenSize = getSizeInBytes(maxGen); - const sizes = [1, offsetSize, maxGenSize]; - newXref.set("W", sizes); - computeIDs(baseOffset, xrefInfo, newXref); - const structSize = sizes.reduce((a, x) => a + x, 0); - const data = new Uint8Array(structSize * xrefTableData.length); - const stream = new Stream(data); - stream.dict = newXref; - let offset = 0; - for (const [type, objOffset, gen] of xrefTableData) { - offset = writeInt(type, sizes[0], offset, data); - offset = writeInt(objOffset, sizes[1], offset, data); - offset = writeInt(gen, sizes[2], offset, data); - } - await writeObject(xrefInfo.newRef, stream, buffer, {}); - buffer.push("startxref\n", baseOffset.toString(), "\n%%EOF\n"); -} -function computeIDs(baseOffset, xrefInfo, newXref) { - if (Array.isArray(xrefInfo.fileIds) && xrefInfo.fileIds.length > 0) { - const md5 = computeMD5(baseOffset, xrefInfo); - newXref.set("ID", [xrefInfo.fileIds[0], md5]); - } -} -function getTrailerDict(xrefInfo, newRefs, useXrefStream) { - const newXref = new Dict(null); - newXref.set("Prev", xrefInfo.startXRef); - const refForXrefTable = xrefInfo.newRef; - if (useXrefStream) { - newRefs.push({ - ref: refForXrefTable, - data: "" - }); - newXref.set("Size", refForXrefTable.num + 1); - newXref.set("Type", Name.get("XRef")); - } else { - newXref.set("Size", refForXrefTable.num); - } - if (xrefInfo.rootRef !== null) { - newXref.set("Root", xrefInfo.rootRef); - } - if (xrefInfo.infoRef !== null) { - newXref.set("Info", xrefInfo.infoRef); - } - if (xrefInfo.encryptRef !== null) { - newXref.set("Encrypt", xrefInfo.encryptRef); - } - return newXref; -} -async function incrementalUpdate({ - originalData, - xrefInfo, - newRefs, - xref = null, - hasXfa = false, - xfaDatasetsRef = null, - hasXfaDatasetsEntry = false, - needAppearances, - acroFormRef = null, - acroForm = null, - xfaData = null, - useXrefStream = false -}) { - await updateAcroform({ - xref, - acroForm, - acroFormRef, - hasXfa, - hasXfaDatasetsEntry, - xfaDatasetsRef, - needAppearances, - newRefs - }); - if (hasXfa) { - updateXFA({ - xfaData, - xfaDatasetsRef, - newRefs, - xref + return charBuf.join(""); }); } - const buffer = []; - let baseOffset = originalData.length; - const lastByte = originalData.at(-1); - if (lastByte !== 0x0a && lastByte !== 0x0d) { - buffer.push("\n"); - baseOffset += 1; + _getSequence(entry) { + const name = entry.nodeName; + if (name !== "rdf:bag" && name !== "rdf:seq" && name !== "rdf:alt") { + return null; + } + return entry.childNodes.filter(node => node.nodeName === "rdf:li"); } - const newXref = getTrailerDict(xrefInfo, newRefs, useXrefStream); - newRefs = newRefs.sort((a, b) => a.ref.num - b.ref.num); - for (const { - data - } of newRefs) { - if (data !== null) { - buffer.push(data); + _parseArray(entry) { + if (!entry.hasChildNodes()) { + return; + } + const [seqNode] = entry.childNodes; + const sequence = this._getSequence(seqNode) || []; + this._metadataMap.set(entry.nodeName, sequence.map(node => node.textContent.trim())); + } + _parse(xmlDocument) { + let rdf = xmlDocument.documentElement; + if (rdf.nodeName !== "rdf:rdf") { + rdf = rdf.firstChild; + while (rdf && rdf.nodeName !== "rdf:rdf") { + rdf = rdf.nextSibling; + } + } + if (!rdf || rdf.nodeName !== "rdf:rdf" || !rdf.hasChildNodes()) { + return; + } + for (const desc of rdf.childNodes) { + if (desc.nodeName !== "rdf:description") { + continue; + } + for (const entry of desc.childNodes) { + const name = entry.nodeName; + switch (name) { + case "#text": + continue; + case "dc:creator": + case "dc:subject": + this._parseArray(entry); + continue; + } + this._metadataMap.set(name, entry.textContent.trim()); + } } } - await (useXrefStream ? getXRefStreamTable(xrefInfo, baseOffset, newRefs, newXref, buffer) : getXRefTable(xrefInfo, baseOffset, newRefs, newXref, buffer)); - const totalLength = buffer.reduce((a, str) => a + str.length, originalData.length); - const array = new Uint8Array(totalLength); - array.set(originalData); - let offset = originalData.length; - for (const str of buffer) { - writeString(str, offset, array); - offset += str.length; + get serializable() { + return { + parsedData: this._metadataMap, + rawData: this._data + }; } - return array; } +exports.MetadataParser = MetadataParser; -;// CONCATENATED MODULE: ./src/core/struct_tree.js - - - - +/***/ }), +/* 75 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StructTreeRoot = exports.StructTreePage = void 0; +var _primitives = __w_pdfjs_require__(4); +var _util = __w_pdfjs_require__(2); +var _name_number_tree = __w_pdfjs_require__(71); const MAX_DEPTH = 40; const StructElementType = { - PAGE_CONTENT: 1, - STREAM_CONTENT: 2, - OBJECT: 3, - ANNOTATION: 4, - ELEMENT: 5 + PAGE_CONTENT: "PAGE_CONTENT", + STREAM_CONTENT: "STREAM_CONTENT", + OBJECT: "OBJECT", + ELEMENT: "ELEMENT" }; class StructTreeRoot { - constructor(rootDict, rootRef) { + constructor(rootDict) { this.dict = rootDict; - this.ref = rootRef instanceof Ref ? rootRef : null; this.roleMap = new Map(); - this.structParentIds = null; } init() { this.readRoleMap(); } - #addIdToPage(pageRef, id, type) { - if (!(pageRef instanceof Ref) || id < 0) { - return; - } - this.structParentIds ||= new RefSetCache(); - let ids = this.structParentIds.get(pageRef); - if (!ids) { - ids = []; - this.structParentIds.put(pageRef, ids); - } - ids.push([id, type]); - } - addAnnotationIdToPage(pageRef, id) { - this.#addIdToPage(pageRef, id, StructElementType.ANNOTATION); - } readRoleMap() { const roleMapDict = this.dict.get("RoleMap"); - if (!(roleMapDict instanceof Dict)) { + if (!(roleMapDict instanceof _primitives.Dict)) { return; } roleMapDict.forEach((key, value) => { - if (!(value instanceof Name)) { + if (!(value instanceof _primitives.Name)) { return; } this.roleMap.set(key, value.name); }); } - static async canCreateStructureTree({ - catalogRef, - pdfManager, - newAnnotationsByPage - }) { - if (!(catalogRef instanceof Ref)) { - warn("Cannot save the struct tree: no catalog reference."); - return false; - } - let nextKey = 0; - let hasNothingToUpdate = true; - for (const [pageIndex, elements] of newAnnotationsByPage) { - const { - ref: pageRef - } = await pdfManager.getPage(pageIndex); - if (!(pageRef instanceof Ref)) { - warn(`Cannot save the struct tree: page ${pageIndex} has no ref.`); - hasNothingToUpdate = true; - break; - } - for (const element of elements) { - if (element.accessibilityData?.type) { - element.parentTreeId = nextKey++; - hasNothingToUpdate = false; - } - } - } - if (hasNothingToUpdate) { - for (const elements of newAnnotationsByPage.values()) { - for (const element of elements) { - delete element.parentTreeId; - } - } - return false; - } - return true; - } - static async createStructureTree({ - newAnnotationsByPage, - xref, - catalogRef, - pdfManager, - newRefs - }) { - const root = pdfManager.catalog.cloneDict(); - const cache = new RefSetCache(); - cache.put(catalogRef, root); - const structTreeRootRef = xref.getNewTemporaryRef(); - root.set("StructTreeRoot", structTreeRootRef); - const structTreeRoot = new Dict(xref); - structTreeRoot.set("Type", Name.get("StructTreeRoot")); - const parentTreeRef = xref.getNewTemporaryRef(); - structTreeRoot.set("ParentTree", parentTreeRef); - const kids = []; - structTreeRoot.set("K", kids); - cache.put(structTreeRootRef, structTreeRoot); - const parentTree = new Dict(xref); - const nums = []; - parentTree.set("Nums", nums); - const nextKey = await this.#writeKids({ - newAnnotationsByPage, - structTreeRootRef, - kids, - nums, - xref, - pdfManager, - cache - }); - structTreeRoot.set("ParentTreeNextKey", nextKey); - cache.put(parentTreeRef, parentTree); - const buffer = []; - for (const [ref, obj] of cache.items()) { - buffer.length = 0; - await writeObject(ref, obj, buffer, xref); - newRefs.push({ - ref, - data: buffer.join("") - }); - } - } - async canUpdateStructTree({ - pdfManager, - xref, - newAnnotationsByPage - }) { - if (!this.ref) { - warn("Cannot update the struct tree: no root reference."); - return false; - } - let nextKey = this.dict.get("ParentTreeNextKey"); - if (!Number.isInteger(nextKey) || nextKey < 0) { - warn("Cannot update the struct tree: invalid next key."); - return false; - } - const parentTree = this.dict.get("ParentTree"); - if (!(parentTree instanceof Dict)) { - warn("Cannot update the struct tree: ParentTree isn't a dict."); - return false; - } - const nums = parentTree.get("Nums"); - if (!Array.isArray(nums)) { - warn("Cannot update the struct tree: nums isn't an array."); - return false; - } - const numberTree = new NumberTree(parentTree, xref); - for (const pageIndex of newAnnotationsByPage.keys()) { - const { - pageDict - } = await pdfManager.getPage(pageIndex); - if (!pageDict.has("StructParents")) { - continue; - } - const id = pageDict.get("StructParents"); - if (!Number.isInteger(id) || !Array.isArray(numberTree.get(id))) { - warn(`Cannot save the struct tree: page ${pageIndex} has a wrong id.`); - return false; - } - } - let hasNothingToUpdate = true; - for (const [pageIndex, elements] of newAnnotationsByPage) { - const { - pageDict - } = await pdfManager.getPage(pageIndex); - StructTreeRoot.#collectParents({ - elements, - xref: this.dict.xref, - pageDict, - numberTree - }); - for (const element of elements) { - if (element.accessibilityData?.type) { - element.parentTreeId = nextKey++; - hasNothingToUpdate = false; - } - } - } - if (hasNothingToUpdate) { - for (const elements of newAnnotationsByPage.values()) { - for (const element of elements) { - delete element.parentTreeId; - delete element.structTreeParent; - } - } - return false; - } - return true; - } - async updateStructureTree({ - newAnnotationsByPage, - pdfManager, - newRefs - }) { - const xref = this.dict.xref; - const structTreeRoot = this.dict.clone(); - const structTreeRootRef = this.ref; - const cache = new RefSetCache(); - cache.put(structTreeRootRef, structTreeRoot); - let parentTreeRef = structTreeRoot.getRaw("ParentTree"); - let parentTree; - if (parentTreeRef instanceof Ref) { - parentTree = xref.fetch(parentTreeRef); - } else { - parentTree = parentTreeRef; - parentTreeRef = xref.getNewTemporaryRef(); - structTreeRoot.set("ParentTree", parentTreeRef); - } - parentTree = parentTree.clone(); - cache.put(parentTreeRef, parentTree); - let nums = parentTree.getRaw("Nums"); - let numsRef = null; - if (nums instanceof Ref) { - numsRef = nums; - nums = xref.fetch(numsRef); - } - nums = nums.slice(); - if (!numsRef) { - parentTree.set("Nums", nums); - } - const newNextkey = await StructTreeRoot.#writeKids({ - newAnnotationsByPage, - structTreeRootRef, - kids: null, - nums, - xref, - pdfManager, - cache - }); - structTreeRoot.set("ParentTreeNextKey", newNextkey); - if (numsRef) { - cache.put(numsRef, nums); - } - const buffer = []; - for (const [ref, obj] of cache.items()) { - buffer.length = 0; - await writeObject(ref, obj, buffer, xref); - newRefs.push({ - ref, - data: buffer.join("") - }); - } - } - static async #writeKids({ - newAnnotationsByPage, - structTreeRootRef, - kids, - nums, - xref, - pdfManager, - cache - }) { - const objr = Name.get("OBJR"); - let nextKey = -Infinity; - for (const [pageIndex, elements] of newAnnotationsByPage) { - const { - ref: pageRef - } = await pdfManager.getPage(pageIndex); - const isPageRef = pageRef instanceof Ref; - for (const { - accessibilityData, - ref, - parentTreeId, - structTreeParent - } of elements) { - if (!accessibilityData?.type) { - continue; - } - const { - type, - title, - lang, - alt, - expanded, - actualText - } = accessibilityData; - nextKey = Math.max(nextKey, parentTreeId); - const tagRef = xref.getNewTemporaryRef(); - const tagDict = new Dict(xref); - tagDict.set("S", Name.get(type)); - if (title) { - tagDict.set("T", title); - } - if (lang) { - tagDict.set("Lang", lang); - } - if (alt) { - tagDict.set("Alt", alt); - } - if (expanded) { - tagDict.set("E", expanded); - } - if (actualText) { - tagDict.set("ActualText", actualText); - } - await this.#updateParentTag({ - structTreeParent, - tagDict, - newTagRef: tagRef, - structTreeRootRef, - fallbackKids: kids, - xref, - cache - }); - const objDict = new Dict(xref); - tagDict.set("K", objDict); - objDict.set("Type", objr); - if (isPageRef) { - objDict.set("Pg", pageRef); - } - objDict.set("Obj", ref); - cache.put(tagRef, tagDict); - nums.push(parentTreeId, tagRef); - } - } - return nextKey + 1; - } - static #collectParents({ - elements, - xref, - pageDict, - numberTree - }) { - const idToElements = new Map(); - for (const element of elements) { - if (element.structTreeParentId) { - const id = parseInt(element.structTreeParentId.split("_mc")[1], 10); - let elems = idToElements.get(id); - if (!elems) { - elems = []; - idToElements.set(id, elems); - } - elems.push(element); - } - } - const id = pageDict.get("StructParents"); - if (!Number.isInteger(id)) { - return; - } - const parentArray = numberTree.get(id); - const updateElement = (kid, pageKid, kidRef) => { - const elems = idToElements.get(kid); - if (elems) { - const parentRef = pageKid.getRaw("P"); - const parentDict = xref.fetchIfRef(parentRef); - if (parentRef instanceof Ref && parentDict instanceof Dict) { - const params = { - ref: kidRef, - dict: pageKid - }; - for (const element of elems) { - element.structTreeParent = params; - } - } - return true; - } - return false; - }; - for (const kidRef of parentArray) { - if (!(kidRef instanceof Ref)) { - continue; - } - const pageKid = xref.fetch(kidRef); - const k = pageKid.get("K"); - if (Number.isInteger(k)) { - updateElement(k, pageKid, kidRef); - continue; - } - if (!Array.isArray(k)) { - continue; - } - for (let kid of k) { - kid = xref.fetchIfRef(kid); - if (Number.isInteger(kid) && updateElement(kid, pageKid, kidRef)) { - break; - } - if (!(kid instanceof Dict)) { - continue; - } - if (!isName(kid.get("Type"), "MCR")) { - break; - } - const mcid = kid.get("MCID"); - if (Number.isInteger(mcid) && updateElement(mcid, pageKid, kidRef)) { - break; - } - } - } - } - static async #updateParentTag({ - structTreeParent, - tagDict, - newTagRef, - structTreeRootRef, - fallbackKids, - xref, - cache - }) { - let ref = null; - let parentRef; - if (structTreeParent) { - ({ - ref - } = structTreeParent); - parentRef = structTreeParent.dict.getRaw("P") || structTreeRootRef; - } else { - parentRef = structTreeRootRef; - } - tagDict.set("P", parentRef); - const parentDict = xref.fetchIfRef(parentRef); - if (!parentDict) { - fallbackKids.push(newTagRef); - return; - } - let cachedParentDict = cache.get(parentRef); - if (!cachedParentDict) { - cachedParentDict = parentDict.clone(); - cache.put(parentRef, cachedParentDict); - } - const parentKidsRaw = cachedParentDict.getRaw("K"); - let cachedParentKids = parentKidsRaw instanceof Ref ? cache.get(parentKidsRaw) : null; - if (!cachedParentKids) { - cachedParentKids = xref.fetchIfRef(parentKidsRaw); - cachedParentKids = Array.isArray(cachedParentKids) ? cachedParentKids.slice() : [parentKidsRaw]; - const parentKidsRef = xref.getNewTemporaryRef(); - cachedParentDict.set("K", parentKidsRef); - cache.put(parentKidsRef, cachedParentKids); - } - const index = cachedParentKids.indexOf(ref); - cachedParentKids.splice(index >= 0 ? index + 1 : cachedParentKids.length, 0, newTagRef); - } } +exports.StructTreeRoot = StructTreeRoot; class StructElementNode { constructor(tree, dict) { this.tree = tree; @@ -41619,7 +45692,7 @@ class StructElementNode { } get role() { const nameObj = this.dict.get("S"); - const name = nameObj instanceof Name ? nameObj.name : ""; + const name = nameObj instanceof _primitives.Name ? nameObj.name : ""; const { root } = this.tree; @@ -41631,7 +45704,7 @@ class StructElementNode { parseKids() { let pageObjId = null; const objRef = this.dict.getRaw("Pg"); - if (objRef instanceof Ref) { + if (objRef instanceof _primitives.Ref) { pageObjId = objRef.toString(); } const kids = this.dict.get("K"); @@ -41661,27 +45734,26 @@ class StructElementNode { }); } let kidDict = null; - if (kid instanceof Ref) { + if (kid instanceof _primitives.Ref) { kidDict = this.dict.xref.fetch(kid); - } else if (kid instanceof Dict) { + } else if (kid instanceof _primitives.Dict) { kidDict = kid; } if (!kidDict) { return null; } const pageRef = kidDict.getRaw("Pg"); - if (pageRef instanceof Ref) { + if (pageRef instanceof _primitives.Ref) { pageObjId = pageRef.toString(); } - const type = kidDict.get("Type") instanceof Name ? kidDict.get("Type").name : null; + const type = kidDict.get("Type") instanceof _primitives.Name ? kidDict.get("Type").name : null; if (type === "MCR") { if (this.tree.pageDict.objId !== pageObjId) { return null; } - const kidRef = kidDict.getRaw("Stm"); return new StructElement({ type: StructElementType.STREAM_CONTENT, - refObjId: kidRef instanceof Ref ? kidRef.toString() : null, + refObjId: kidDict.getRaw("Stm") instanceof _primitives.Ref ? kidDict.getRaw("Stm").toString() : null, pageObjId, mcid: kidDict.get("MCID") }); @@ -41690,10 +45762,9 @@ class StructElementNode { if (this.tree.pageDict.objId !== pageObjId) { return null; } - const kidRef = kidDict.getRaw("Obj"); return new StructElement({ type: StructElementType.OBJECT, - refObjId: kidRef instanceof Ref ? kidRef.toString() : null, + refObjId: kidDict.getRaw("Obj") instanceof _primitives.Ref ? kidDict.getRaw("Obj").toString() : null, pageObjId }); } @@ -41726,7 +45797,7 @@ class StructTreePage { this.pageDict = pageDict; this.nodes = []; } - parse(pageRef) { + parse() { if (!this.root || !this.rootDict) { return; } @@ -41735,38 +45806,24 @@ class StructTreePage { return; } const id = this.pageDict.get("StructParents"); - const ids = pageRef instanceof Ref && this.root.structParentIds?.get(pageRef); - if (!Number.isInteger(id) && !ids) { + if (!Number.isInteger(id)) { + return; + } + const numberTree = new _name_number_tree.NumberTree(parentTree, this.rootDict.xref); + const parentArray = numberTree.get(id); + if (!Array.isArray(parentArray)) { return; } const map = new Map(); - const numberTree = new NumberTree(parentTree, this.rootDict.xref); - if (Number.isInteger(id)) { - const parentArray = numberTree.get(id); - if (Array.isArray(parentArray)) { - for (const ref of parentArray) { - if (ref instanceof Ref) { - this.addNode(this.rootDict.xref.fetch(ref), map); - } - } - } - } - if (!ids) { - return; - } - for (const [elemId, type] of ids) { - const obj = numberTree.get(elemId); - if (obj) { - const elem = this.addNode(this.rootDict.xref.fetchIfRef(obj), map); - if (elem?.kids?.length === 1 && elem.kids[0].type === StructElementType.OBJECT) { - elem.kids[0].type = type; - } + for (const ref of parentArray) { + if (ref instanceof _primitives.Ref) { + this.addNode(this.rootDict.xref.fetch(ref), map); } } } addNode(dict, map, level = 0) { if (level > MAX_DEPTH) { - warn("StructTree MAX_DEPTH reached."); + (0, _util.warn)("StructTree MAX_DEPTH reached."); return null; } if (map.has(dict)) { @@ -41775,7 +45832,7 @@ class StructTreePage { const element = new StructElementNode(this, dict); map.set(dict, element); const parent = dict.get("P"); - if (!parent || isName(parent.get("Type"), "StructTreeRoot")) { + if (!parent || (0, _primitives.isName)(parent.get("Type"), "StructTreeRoot")) { if (!this.addTopLevelNode(dict, element)) { map.delete(dict); } @@ -41802,7 +45859,7 @@ class StructTreePage { if (!obj) { return false; } - if (obj instanceof Dict) { + if (obj instanceof _primitives.Dict) { if (obj.objId !== dict.objId) { return false; } @@ -41825,7 +45882,7 @@ class StructTreePage { get serializable() { function nodeToSerializable(node, parent, level = 0) { if (level > MAX_DEPTH) { - warn("StructTree too deep to be fully serialized."); + (0, _util.warn)("StructTree too deep to be fully serialized."); return; } const obj = Object.create(null); @@ -41834,11 +45891,11 @@ class StructTreePage { parent.children.push(obj); const alt = node.dict.get("Alt"); if (typeof alt === "string") { - obj.alt = stringToPDFString(alt); + obj.alt = (0, _util.stringToPDFString)(alt); } const lang = node.dict.get("Lang"); if (typeof lang === "string") { - obj.lang = stringToPDFString(lang); + obj.lang = (0, _util.stringToPDFString)(lang); } for (const kid of node.kids) { const kidElement = kid.type === StructElementType.ELEMENT ? kid.parentNode : null; @@ -41855,11 +45912,6 @@ class StructTreePage { type: "object", id: kid.refObjId }); - } else if (kid.type === StructElementType.ANNOTATION) { - obj.children.push({ - type: "annotation", - id: `${AnnotationPrefix}${kid.refObjId}` - }); } } } @@ -41875,1459 +45927,29 @@ class StructTreePage { return root; } } +exports.StructTreePage = StructTreePage; -;// CONCATENATED MODULE: ./src/core/catalog.js - - - - - - - - - - - - - - - - - - - - - - -function isValidExplicitDest(dest) { - if (!Array.isArray(dest) || dest.length < 2) { - return false; - } - const [page, zoom, ...args] = dest; - if (!(page instanceof Ref) && !Number.isInteger(page)) { - return false; - } - if (!(zoom instanceof Name)) { - return false; - } - let allowNull = true; - switch (zoom.name) { - case "XYZ": - if (args.length !== 3) { - return false; - } - break; - case "Fit": - case "FitB": - return args.length === 0; - case "FitH": - case "FitBH": - case "FitV": - case "FitBV": - if (args.length !== 1) { - return false; - } - break; - case "FitR": - if (args.length !== 4) { - return false; - } - allowNull = false; - break; - default: - return false; - } - for (const arg of args) { - if (!(typeof arg === "number" || allowNull && arg === null)) { - return false; - } - } - return true; -} -function fetchDest(dest) { - if (dest instanceof Dict) { - dest = dest.get("D"); - } - return isValidExplicitDest(dest) ? dest : null; -} -function fetchRemoteDest(action) { - let dest = action.get("D"); - if (dest) { - if (dest instanceof Name) { - dest = dest.name; - } - if (typeof dest === "string") { - return stringToPDFString(dest); - } else if (isValidExplicitDest(dest)) { - return JSON.stringify(dest); - } - } - return null; -} -class Catalog { - constructor(pdfManager, xref) { - this.pdfManager = pdfManager; - this.xref = xref; - this._catDict = xref.getCatalogObj(); - if (!(this._catDict instanceof Dict)) { - throw new FormatError("Catalog object is not a dictionary."); - } - this.toplevelPagesDict; - this._actualNumPages = null; - this.fontCache = new RefSetCache(); - this.builtInCMapCache = new Map(); - this.standardFontDataCache = new Map(); - this.globalImageCache = new GlobalImageCache(); - this.pageKidsCountCache = new RefSetCache(); - this.pageIndexCache = new RefSetCache(); - this.nonBlendModesSet = new RefSet(); - this.systemFontCache = new Map(); - } - cloneDict() { - return this._catDict.clone(); - } - get version() { - const version = this._catDict.get("Version"); - if (version instanceof Name) { - if (PDF_VERSION_REGEXP.test(version.name)) { - return shadow(this, "version", version.name); - } - warn(`Invalid PDF catalog version: ${version.name}`); - } - return shadow(this, "version", null); - } - get lang() { - const lang = this._catDict.get("Lang"); - return shadow(this, "lang", typeof lang === "string" ? stringToPDFString(lang) : null); - } - get needsRendering() { - const needsRendering = this._catDict.get("NeedsRendering"); - return shadow(this, "needsRendering", typeof needsRendering === "boolean" ? needsRendering : false); - } - get collection() { - let collection = null; - try { - const obj = this._catDict.get("Collection"); - if (obj instanceof Dict && obj.size > 0) { - collection = obj; - } - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - info("Cannot fetch Collection entry; assuming no collection is present."); - } - return shadow(this, "collection", collection); - } - get acroForm() { - let acroForm = null; - try { - const obj = this._catDict.get("AcroForm"); - if (obj instanceof Dict && obj.size > 0) { - acroForm = obj; - } - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - info("Cannot fetch AcroForm entry; assuming no forms are present."); - } - return shadow(this, "acroForm", acroForm); - } - get acroFormRef() { - const value = this._catDict.getRaw("AcroForm"); - return shadow(this, "acroFormRef", value instanceof Ref ? value : null); - } - get metadata() { - const streamRef = this._catDict.getRaw("Metadata"); - if (!(streamRef instanceof Ref)) { - return shadow(this, "metadata", null); - } - let metadata = null; - try { - const stream = this.xref.fetch(streamRef, !this.xref.encrypt?.encryptMetadata); - if (stream instanceof BaseStream && stream.dict instanceof Dict) { - const type = stream.dict.get("Type"); - const subtype = stream.dict.get("Subtype"); - if (isName(type, "Metadata") && isName(subtype, "XML")) { - const data = stringToUTF8String(stream.getString()); - if (data) { - metadata = new MetadataParser(data).serializable; - } - } - } - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - info(`Skipping invalid Metadata: "${ex}".`); - } - return shadow(this, "metadata", metadata); - } - get markInfo() { - let markInfo = null; - try { - markInfo = this._readMarkInfo(); - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn("Unable to read mark info."); - } - return shadow(this, "markInfo", markInfo); - } - _readMarkInfo() { - const obj = this._catDict.get("MarkInfo"); - if (!(obj instanceof Dict)) { - return null; - } - const markInfo = { - Marked: false, - UserProperties: false, - Suspects: false - }; - for (const key in markInfo) { - const value = obj.get(key); - if (typeof value === "boolean") { - markInfo[key] = value; - } - } - return markInfo; - } - get structTreeRoot() { - let structTree = null; - try { - structTree = this._readStructTreeRoot(); - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn("Unable read to structTreeRoot info."); - } - return shadow(this, "structTreeRoot", structTree); - } - _readStructTreeRoot() { - const rawObj = this._catDict.getRaw("StructTreeRoot"); - const obj = this.xref.fetchIfRef(rawObj); - if (!(obj instanceof Dict)) { - return null; - } - const root = new StructTreeRoot(obj, rawObj); - root.init(); - return root; - } - get toplevelPagesDict() { - const pagesObj = this._catDict.get("Pages"); - if (!(pagesObj instanceof Dict)) { - throw new FormatError("Invalid top-level pages dictionary."); - } - return shadow(this, "toplevelPagesDict", pagesObj); - } - get documentOutline() { - let obj = null; - try { - obj = this._readDocumentOutline(); - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn("Unable to read document outline."); - } - return shadow(this, "documentOutline", obj); - } - _readDocumentOutline() { - let obj = this._catDict.get("Outlines"); - if (!(obj instanceof Dict)) { - return null; - } - obj = obj.getRaw("First"); - if (!(obj instanceof Ref)) { - return null; - } - const root = { - items: [] - }; - const queue = [{ - obj, - parent: root - }]; - const processed = new RefSet(); - processed.put(obj); - const xref = this.xref, - blackColor = new Uint8ClampedArray(3); - while (queue.length > 0) { - const i = queue.shift(); - const outlineDict = xref.fetchIfRef(i.obj); - if (outlineDict === null) { - continue; - } - if (!outlineDict.has("Title")) { - warn("Invalid outline item encountered."); - } - const data = { - url: null, - dest: null, - action: null - }; - Catalog.parseDestDictionary({ - destDict: outlineDict, - resultObj: data, - docBaseUrl: this.baseUrl, - docAttachments: this.attachments - }); - const title = outlineDict.get("Title"); - const flags = outlineDict.get("F") || 0; - const color = outlineDict.getArray("C"); - const count = outlineDict.get("Count"); - let rgbColor = blackColor; - if (Array.isArray(color) && color.length === 3 && (color[0] !== 0 || color[1] !== 0 || color[2] !== 0)) { - rgbColor = ColorSpace.singletons.rgb.getRgb(color, 0); - } - const outlineItem = { - action: data.action, - attachment: data.attachment, - dest: data.dest, - url: data.url, - unsafeUrl: data.unsafeUrl, - newWindow: data.newWindow, - setOCGState: data.setOCGState, - title: typeof title === "string" ? stringToPDFString(title) : "", - color: rgbColor, - count: Number.isInteger(count) ? count : undefined, - bold: !!(flags & 2), - italic: !!(flags & 1), - items: [] - }; - i.parent.items.push(outlineItem); - obj = outlineDict.getRaw("First"); - if (obj instanceof Ref && !processed.has(obj)) { - queue.push({ - obj, - parent: outlineItem - }); - processed.put(obj); - } - obj = outlineDict.getRaw("Next"); - if (obj instanceof Ref && !processed.has(obj)) { - queue.push({ - obj, - parent: i.parent - }); - processed.put(obj); - } - } - return root.items.length > 0 ? root.items : null; - } - get permissions() { - let permissions = null; - try { - permissions = this._readPermissions(); - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn("Unable to read permissions."); - } - return shadow(this, "permissions", permissions); - } - _readPermissions() { - const encrypt = this.xref.trailer.get("Encrypt"); - if (!(encrypt instanceof Dict)) { - return null; - } - let flags = encrypt.get("P"); - if (typeof flags !== "number") { - return null; - } - flags += 2 ** 32; - const permissions = []; - for (const key in PermissionFlag) { - const value = PermissionFlag[key]; - if (flags & value) { - permissions.push(value); - } - } - return permissions; - } - get optionalContentConfig() { - let config = null; - try { - const properties = this._catDict.get("OCProperties"); - if (!properties) { - return shadow(this, "optionalContentConfig", null); - } - const defaultConfig = properties.get("D"); - if (!defaultConfig) { - return shadow(this, "optionalContentConfig", null); - } - const groupsData = properties.get("OCGs"); - if (!Array.isArray(groupsData)) { - return shadow(this, "optionalContentConfig", null); - } - const groups = []; - const groupRefs = new RefSet(); - for (const groupRef of groupsData) { - if (!(groupRef instanceof Ref) || groupRefs.has(groupRef)) { - continue; - } - groupRefs.put(groupRef); - groups.push(this.#readOptionalContentGroup(groupRef)); - } - config = this.#readOptionalContentConfig(defaultConfig, groupRefs); - config.groups = groups; - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn(`Unable to read optional content config: ${ex}`); - } - return shadow(this, "optionalContentConfig", config); - } - #readOptionalContentGroup(groupRef) { - const group = this.xref.fetch(groupRef); - const obj = { - id: groupRef.toString(), - name: null, - intent: null, - usage: { - print: null, - view: null - } - }; - const name = group.get("Name"); - if (typeof name === "string") { - obj.name = stringToPDFString(name); - } - let intent = group.getArray("Intent"); - if (!Array.isArray(intent)) { - intent = [intent]; - } - if (intent.every(i => i instanceof Name)) { - obj.intent = intent.map(i => i.name); - } - const usage = group.get("Usage"); - if (!(usage instanceof Dict)) { - return obj; - } - const usageObj = obj.usage; - const print = usage.get("Print"); - if (print instanceof Dict) { - const printState = print.get("PrintState"); - if (printState instanceof Name) { - switch (printState.name) { - case "ON": - case "OFF": - usageObj.print = { - printState: printState.name - }; - } - } - } - const view = usage.get("View"); - if (view instanceof Dict) { - const viewState = view.get("ViewState"); - if (viewState instanceof Name) { - switch (viewState.name) { - case "ON": - case "OFF": - usageObj.view = { - viewState: viewState.name - }; - } - } - } - return obj; - } - #readOptionalContentConfig(config, contentGroupRefs) { - function parseOnOff(refs) { - const onParsed = []; - if (Array.isArray(refs)) { - for (const value of refs) { - if (!(value instanceof Ref)) { - continue; - } - if (contentGroupRefs.has(value)) { - onParsed.push(value.toString()); - } - } - } - return onParsed; - } - function parseOrder(refs, nestedLevels = 0) { - if (!Array.isArray(refs)) { - return null; - } - const order = []; - for (const value of refs) { - if (value instanceof Ref && contentGroupRefs.has(value)) { - parsedOrderRefs.put(value); - order.push(value.toString()); - continue; - } - const nestedOrder = parseNestedOrder(value, nestedLevels); - if (nestedOrder) { - order.push(nestedOrder); - } - } - if (nestedLevels > 0) { - return order; - } - const hiddenGroups = []; - for (const groupRef of contentGroupRefs) { - if (parsedOrderRefs.has(groupRef)) { - continue; - } - hiddenGroups.push(groupRef.toString()); - } - if (hiddenGroups.length) { - order.push({ - name: null, - order: hiddenGroups - }); - } - return order; - } - function parseNestedOrder(ref, nestedLevels) { - if (++nestedLevels > MAX_NESTED_LEVELS) { - warn("parseNestedOrder - reached MAX_NESTED_LEVELS."); - return null; - } - const value = xref.fetchIfRef(ref); - if (!Array.isArray(value)) { - return null; - } - const nestedName = xref.fetchIfRef(value[0]); - if (typeof nestedName !== "string") { - return null; - } - const nestedOrder = parseOrder(value.slice(1), nestedLevels); - if (!nestedOrder || !nestedOrder.length) { - return null; - } - return { - name: stringToPDFString(nestedName), - order: nestedOrder - }; - } - const xref = this.xref, - parsedOrderRefs = new RefSet(), - MAX_NESTED_LEVELS = 10; - return { - name: typeof config.get("Name") === "string" ? stringToPDFString(config.get("Name")) : null, - creator: typeof config.get("Creator") === "string" ? stringToPDFString(config.get("Creator")) : null, - baseState: config.get("BaseState") instanceof Name ? config.get("BaseState").name : null, - on: parseOnOff(config.get("ON")), - off: parseOnOff(config.get("OFF")), - order: parseOrder(config.get("Order")), - groups: null - }; - } - setActualNumPages(num = null) { - this._actualNumPages = num; - } - get hasActualNumPages() { - return this._actualNumPages !== null; - } - get _pagesCount() { - const obj = this.toplevelPagesDict.get("Count"); - if (!Number.isInteger(obj)) { - throw new FormatError("Page count in top-level pages dictionary is not an integer."); - } - return shadow(this, "_pagesCount", obj); - } - get numPages() { - return this.hasActualNumPages ? this._actualNumPages : this._pagesCount; - } - get destinations() { - const obj = this._readDests(), - dests = Object.create(null); - if (obj instanceof NameTree) { - for (const [key, value] of obj.getAll()) { - const dest = fetchDest(value); - if (dest) { - dests[stringToPDFString(key)] = dest; - } - } - } else if (obj instanceof Dict) { - obj.forEach(function (key, value) { - const dest = fetchDest(value); - if (dest) { - dests[key] = dest; - } - }); - } - return shadow(this, "destinations", dests); - } - getDestination(id) { - const obj = this._readDests(); - if (obj instanceof NameTree) { - const dest = fetchDest(obj.get(id)); - if (dest) { - return dest; - } - const allDest = this.destinations[id]; - if (allDest) { - warn(`Found "${id}" at an incorrect position in the NameTree.`); - return allDest; - } - } else if (obj instanceof Dict) { - const dest = fetchDest(obj.get(id)); - if (dest) { - return dest; - } - } - return null; - } - _readDests() { - const obj = this._catDict.get("Names"); - if (obj?.has("Dests")) { - return new NameTree(obj.getRaw("Dests"), this.xref); - } else if (this._catDict.has("Dests")) { - return this._catDict.get("Dests"); - } - return undefined; - } - get pageLabels() { - let obj = null; - try { - obj = this._readPageLabels(); - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn("Unable to read page labels."); - } - return shadow(this, "pageLabels", obj); - } - _readPageLabels() { - const obj = this._catDict.getRaw("PageLabels"); - if (!obj) { - return null; - } - const pageLabels = new Array(this.numPages); - let style = null, - prefix = ""; - const numberTree = new NumberTree(obj, this.xref); - const nums = numberTree.getAll(); - let currentLabel = "", - currentIndex = 1; - for (let i = 0, ii = this.numPages; i < ii; i++) { - const labelDict = nums.get(i); - if (labelDict !== undefined) { - if (!(labelDict instanceof Dict)) { - throw new FormatError("PageLabel is not a dictionary."); - } - if (labelDict.has("Type") && !isName(labelDict.get("Type"), "PageLabel")) { - throw new FormatError("Invalid type in PageLabel dictionary."); - } - if (labelDict.has("S")) { - const s = labelDict.get("S"); - if (!(s instanceof Name)) { - throw new FormatError("Invalid style in PageLabel dictionary."); - } - style = s.name; - } else { - style = null; - } - if (labelDict.has("P")) { - const p = labelDict.get("P"); - if (typeof p !== "string") { - throw new FormatError("Invalid prefix in PageLabel dictionary."); - } - prefix = stringToPDFString(p); - } else { - prefix = ""; - } - if (labelDict.has("St")) { - const st = labelDict.get("St"); - if (!(Number.isInteger(st) && st >= 1)) { - throw new FormatError("Invalid start in PageLabel dictionary."); - } - currentIndex = st; - } else { - currentIndex = 1; - } - } - switch (style) { - case "D": - currentLabel = currentIndex; - break; - case "R": - case "r": - currentLabel = toRomanNumerals(currentIndex, style === "r"); - break; - case "A": - case "a": - const LIMIT = 26; - const A_UPPER_CASE = 0x41, - A_LOWER_CASE = 0x61; - const baseCharCode = style === "a" ? A_LOWER_CASE : A_UPPER_CASE; - const letterIndex = currentIndex - 1; - const character = String.fromCharCode(baseCharCode + letterIndex % LIMIT); - currentLabel = character.repeat(Math.floor(letterIndex / LIMIT) + 1); - break; - default: - if (style) { - throw new FormatError(`Invalid style "${style}" in PageLabel dictionary.`); - } - currentLabel = ""; - } - pageLabels[i] = prefix + currentLabel; - currentIndex++; - } - return pageLabels; - } - get pageLayout() { - const obj = this._catDict.get("PageLayout"); - let pageLayout = ""; - if (obj instanceof Name) { - switch (obj.name) { - case "SinglePage": - case "OneColumn": - case "TwoColumnLeft": - case "TwoColumnRight": - case "TwoPageLeft": - case "TwoPageRight": - pageLayout = obj.name; - } - } - return shadow(this, "pageLayout", pageLayout); - } - get pageMode() { - const obj = this._catDict.get("PageMode"); - let pageMode = "UseNone"; - if (obj instanceof Name) { - switch (obj.name) { - case "UseNone": - case "UseOutlines": - case "UseThumbs": - case "FullScreen": - case "UseOC": - case "UseAttachments": - pageMode = obj.name; - } - } - return shadow(this, "pageMode", pageMode); - } - get viewerPreferences() { - const obj = this._catDict.get("ViewerPreferences"); - if (!(obj instanceof Dict)) { - return shadow(this, "viewerPreferences", null); - } - let prefs = null; - for (const key of obj.getKeys()) { - const value = obj.get(key); - let prefValue; - switch (key) { - case "HideToolbar": - case "HideMenubar": - case "HideWindowUI": - case "FitWindow": - case "CenterWindow": - case "DisplayDocTitle": - case "PickTrayByPDFSize": - if (typeof value === "boolean") { - prefValue = value; - } - break; - case "NonFullScreenPageMode": - if (value instanceof Name) { - switch (value.name) { - case "UseNone": - case "UseOutlines": - case "UseThumbs": - case "UseOC": - prefValue = value.name; - break; - default: - prefValue = "UseNone"; - } - } - break; - case "Direction": - if (value instanceof Name) { - switch (value.name) { - case "L2R": - case "R2L": - prefValue = value.name; - break; - default: - prefValue = "L2R"; - } - } - break; - case "ViewArea": - case "ViewClip": - case "PrintArea": - case "PrintClip": - if (value instanceof Name) { - switch (value.name) { - case "MediaBox": - case "CropBox": - case "BleedBox": - case "TrimBox": - case "ArtBox": - prefValue = value.name; - break; - default: - prefValue = "CropBox"; - } - } - break; - case "PrintScaling": - if (value instanceof Name) { - switch (value.name) { - case "None": - case "AppDefault": - prefValue = value.name; - break; - default: - prefValue = "AppDefault"; - } - } - break; - case "Duplex": - if (value instanceof Name) { - switch (value.name) { - case "Simplex": - case "DuplexFlipShortEdge": - case "DuplexFlipLongEdge": - prefValue = value.name; - break; - default: - prefValue = "None"; - } - } - break; - case "PrintPageRange": - if (Array.isArray(value) && value.length % 2 === 0) { - const isValid = value.every((page, i, arr) => Number.isInteger(page) && page > 0 && (i === 0 || page >= arr[i - 1]) && page <= this.numPages); - if (isValid) { - prefValue = value; - } - } - break; - case "NumCopies": - if (Number.isInteger(value) && value > 0) { - prefValue = value; - } - break; - default: - warn(`Ignoring non-standard key in ViewerPreferences: ${key}.`); - continue; - } - if (prefValue === undefined) { - warn(`Bad value, for key "${key}", in ViewerPreferences: ${value}.`); - continue; - } - if (!prefs) { - prefs = Object.create(null); - } - prefs[key] = prefValue; - } - return shadow(this, "viewerPreferences", prefs); - } - get openAction() { - const obj = this._catDict.get("OpenAction"); - const openAction = Object.create(null); - if (obj instanceof Dict) { - const destDict = new Dict(this.xref); - destDict.set("A", obj); - const resultObj = { - url: null, - dest: null, - action: null - }; - Catalog.parseDestDictionary({ - destDict, - resultObj - }); - if (Array.isArray(resultObj.dest)) { - openAction.dest = resultObj.dest; - } else if (resultObj.action) { - openAction.action = resultObj.action; - } - } else if (Array.isArray(obj)) { - openAction.dest = obj; - } - return shadow(this, "openAction", objectSize(openAction) > 0 ? openAction : null); - } - get attachments() { - const obj = this._catDict.get("Names"); - let attachments = null; - if (obj instanceof Dict && obj.has("EmbeddedFiles")) { - const nameTree = new NameTree(obj.getRaw("EmbeddedFiles"), this.xref); - for (const [key, value] of nameTree.getAll()) { - const fs = new FileSpec(value, this.xref); - if (!attachments) { - attachments = Object.create(null); - } - attachments[stringToPDFString(key)] = fs.serializable; - } - } - return shadow(this, "attachments", attachments); - } - get xfaImages() { - const obj = this._catDict.get("Names"); - let xfaImages = null; - if (obj instanceof Dict && obj.has("XFAImages")) { - const nameTree = new NameTree(obj.getRaw("XFAImages"), this.xref); - for (const [key, value] of nameTree.getAll()) { - if (!xfaImages) { - xfaImages = new Dict(this.xref); - } - xfaImages.set(stringToPDFString(key), value); - } - } - return shadow(this, "xfaImages", xfaImages); - } - _collectJavaScript() { - const obj = this._catDict.get("Names"); - let javaScript = null; - function appendIfJavaScriptDict(name, jsDict) { - if (!(jsDict instanceof Dict)) { - return; - } - if (!isName(jsDict.get("S"), "JavaScript")) { - return; - } - let js = jsDict.get("JS"); - if (js instanceof BaseStream) { - js = js.getString(); - } else if (typeof js !== "string") { - return; - } - js = stringToPDFString(js).replaceAll("\x00", ""); - if (js) { - (javaScript ||= new Map()).set(name, js); - } - } - if (obj instanceof Dict && obj.has("JavaScript")) { - const nameTree = new NameTree(obj.getRaw("JavaScript"), this.xref); - for (const [key, value] of nameTree.getAll()) { - appendIfJavaScriptDict(stringToPDFString(key), value); - } - } - const openAction = this._catDict.get("OpenAction"); - if (openAction) { - appendIfJavaScriptDict("OpenAction", openAction); - } - return javaScript; - } - get jsActions() { - const javaScript = this._collectJavaScript(); - let actions = collectActions(this.xref, this._catDict, DocumentActionEventType); - if (javaScript) { - actions ||= Object.create(null); - for (const [key, val] of javaScript) { - if (key in actions) { - actions[key].push(val); - } else { - actions[key] = [val]; - } - } - } - return shadow(this, "jsActions", actions); - } - async fontFallback(id, handler) { - const translatedFonts = await Promise.all(this.fontCache); - for (const translatedFont of translatedFonts) { - if (translatedFont.loadedName === id) { - translatedFont.fallback(handler); - return; - } - } - } - async cleanup(manuallyTriggered = false) { - clearGlobalCaches(); - this.globalImageCache.clear(manuallyTriggered); - this.pageKidsCountCache.clear(); - this.pageIndexCache.clear(); - this.nonBlendModesSet.clear(); - const translatedFonts = await Promise.all(this.fontCache); - for (const { - dict - } of translatedFonts) { - delete dict.cacheKey; - } - this.fontCache.clear(); - this.builtInCMapCache.clear(); - this.standardFontDataCache.clear(); - this.systemFontCache.clear(); - } - async getPageDict(pageIndex) { - const nodesToVisit = [this.toplevelPagesDict]; - const visitedNodes = new RefSet(); - const pagesRef = this._catDict.getRaw("Pages"); - if (pagesRef instanceof Ref) { - visitedNodes.put(pagesRef); - } - const xref = this.xref, - pageKidsCountCache = this.pageKidsCountCache, - pageIndexCache = this.pageIndexCache; - let currentPageIndex = 0; - while (nodesToVisit.length) { - const currentNode = nodesToVisit.pop(); - if (currentNode instanceof Ref) { - const count = pageKidsCountCache.get(currentNode); - if (count >= 0 && currentPageIndex + count <= pageIndex) { - currentPageIndex += count; - continue; - } - if (visitedNodes.has(currentNode)) { - throw new FormatError("Pages tree contains circular reference."); - } - visitedNodes.put(currentNode); - const obj = await xref.fetchAsync(currentNode); - if (obj instanceof Dict) { - let type = obj.getRaw("Type"); - if (type instanceof Ref) { - type = await xref.fetchAsync(type); - } - if (isName(type, "Page") || !obj.has("Kids")) { - if (!pageKidsCountCache.has(currentNode)) { - pageKidsCountCache.put(currentNode, 1); - } - if (!pageIndexCache.has(currentNode)) { - pageIndexCache.put(currentNode, currentPageIndex); - } - if (currentPageIndex === pageIndex) { - return [obj, currentNode]; - } - currentPageIndex++; - continue; - } - } - nodesToVisit.push(obj); - continue; - } - if (!(currentNode instanceof Dict)) { - throw new FormatError("Page dictionary kid reference points to wrong type of object."); - } - const { - objId - } = currentNode; - let count = currentNode.getRaw("Count"); - if (count instanceof Ref) { - count = await xref.fetchAsync(count); - } - if (Number.isInteger(count) && count >= 0) { - if (objId && !pageKidsCountCache.has(objId)) { - pageKidsCountCache.put(objId, count); - } - if (currentPageIndex + count <= pageIndex) { - currentPageIndex += count; - continue; - } - } - let kids = currentNode.getRaw("Kids"); - if (kids instanceof Ref) { - kids = await xref.fetchAsync(kids); - } - if (!Array.isArray(kids)) { - let type = currentNode.getRaw("Type"); - if (type instanceof Ref) { - type = await xref.fetchAsync(type); - } - if (isName(type, "Page") || !currentNode.has("Kids")) { - if (currentPageIndex === pageIndex) { - return [currentNode, null]; - } - currentPageIndex++; - continue; - } - throw new FormatError("Page dictionary kids object is not an array."); - } - for (let last = kids.length - 1; last >= 0; last--) { - nodesToVisit.push(kids[last]); - } - } - throw new Error(`Page index ${pageIndex} not found.`); - } - async getAllPageDicts(recoveryMode = false) { - const { - ignoreErrors - } = this.pdfManager.evaluatorOptions; - const queue = [{ - currentNode: this.toplevelPagesDict, - posInKids: 0 - }]; - const visitedNodes = new RefSet(); - const pagesRef = this._catDict.getRaw("Pages"); - if (pagesRef instanceof Ref) { - visitedNodes.put(pagesRef); - } - const map = new Map(), - xref = this.xref, - pageIndexCache = this.pageIndexCache; - let pageIndex = 0; - function addPageDict(pageDict, pageRef) { - if (pageRef && !pageIndexCache.has(pageRef)) { - pageIndexCache.put(pageRef, pageIndex); - } - map.set(pageIndex++, [pageDict, pageRef]); - } - function addPageError(error) { - if (error instanceof XRefEntryException && !recoveryMode) { - throw error; - } - if (recoveryMode && ignoreErrors && pageIndex === 0) { - warn(`getAllPageDicts - Skipping invalid first page: "${error}".`); - error = Dict.empty; - } - map.set(pageIndex++, [error, null]); - } - while (queue.length > 0) { - const queueItem = queue.at(-1); - const { - currentNode, - posInKids - } = queueItem; - let kids = currentNode.getRaw("Kids"); - if (kids instanceof Ref) { - try { - kids = await xref.fetchAsync(kids); - } catch (ex) { - addPageError(ex); - break; - } - } - if (!Array.isArray(kids)) { - addPageError(new FormatError("Page dictionary kids object is not an array.")); - break; - } - if (posInKids >= kids.length) { - queue.pop(); - continue; - } - const kidObj = kids[posInKids]; - let obj; - if (kidObj instanceof Ref) { - if (visitedNodes.has(kidObj)) { - addPageError(new FormatError("Pages tree contains circular reference.")); - break; - } - visitedNodes.put(kidObj); - try { - obj = await xref.fetchAsync(kidObj); - } catch (ex) { - addPageError(ex); - break; - } - } else { - obj = kidObj; - } - if (!(obj instanceof Dict)) { - addPageError(new FormatError("Page dictionary kid reference points to wrong type of object.")); - break; - } - let type = obj.getRaw("Type"); - if (type instanceof Ref) { - try { - type = await xref.fetchAsync(type); - } catch (ex) { - addPageError(ex); - break; - } - } - if (isName(type, "Page") || !obj.has("Kids")) { - addPageDict(obj, kidObj instanceof Ref ? kidObj : null); - } else { - queue.push({ - currentNode: obj, - posInKids: 0 - }); - } - queueItem.posInKids++; - } - return map; - } - getPageIndex(pageRef) { - const cachedPageIndex = this.pageIndexCache.get(pageRef); - if (cachedPageIndex !== undefined) { - return Promise.resolve(cachedPageIndex); - } - const xref = this.xref; - function pagesBeforeRef(kidRef) { - let total = 0, - parentRef; - return xref.fetchAsync(kidRef).then(function (node) { - if (isRefsEqual(kidRef, pageRef) && !isDict(node, "Page") && !(node instanceof Dict && !node.has("Type") && node.has("Contents"))) { - throw new FormatError("The reference does not point to a /Page dictionary."); - } - if (!node) { - return null; - } - if (!(node instanceof Dict)) { - throw new FormatError("Node must be a dictionary."); - } - parentRef = node.getRaw("Parent"); - return node.getAsync("Parent"); - }).then(function (parent) { - if (!parent) { - return null; - } - if (!(parent instanceof Dict)) { - throw new FormatError("Parent must be a dictionary."); - } - return parent.getAsync("Kids"); - }).then(function (kids) { - if (!kids) { - return null; - } - const kidPromises = []; - let found = false; - for (const kid of kids) { - if (!(kid instanceof Ref)) { - throw new FormatError("Kid must be a reference."); - } - if (isRefsEqual(kid, kidRef)) { - found = true; - break; - } - kidPromises.push(xref.fetchAsync(kid).then(function (obj) { - if (!(obj instanceof Dict)) { - throw new FormatError("Kid node must be a dictionary."); - } - if (obj.has("Count")) { - total += obj.get("Count"); - } else { - total++; - } - })); - } - if (!found) { - throw new FormatError("Kid reference not found in parent's kids."); - } - return Promise.all(kidPromises).then(function () { - return [total, parentRef]; - }); - }); - } - let total = 0; - const next = ref => pagesBeforeRef(ref).then(args => { - if (!args) { - this.pageIndexCache.put(pageRef, total); - return total; - } - const [count, parentRef] = args; - total += count; - return next(parentRef); - }); - return next(pageRef); - } - get baseUrl() { - const uri = this._catDict.get("URI"); - if (uri instanceof Dict) { - const base = uri.get("Base"); - if (typeof base === "string") { - const absoluteUrl = createValidAbsoluteUrl(base, null, { - tryConvertEncoding: true - }); - if (absoluteUrl) { - return shadow(this, "baseUrl", absoluteUrl.href); - } - } - } - return shadow(this, "baseUrl", this.pdfManager.docBaseUrl); - } - static parseDestDictionary({ - destDict, - resultObj, - docBaseUrl = null, - docAttachments = null - }) { - if (!(destDict instanceof Dict)) { - warn("parseDestDictionary: `destDict` must be a dictionary."); - return; - } - let action = destDict.get("A"), - url, - dest; - if (!(action instanceof Dict)) { - if (destDict.has("Dest")) { - action = destDict.get("Dest"); - } else { - action = destDict.get("AA"); - if (action instanceof Dict) { - if (action.has("D")) { - action = action.get("D"); - } else if (action.has("U")) { - action = action.get("U"); - } - } - } - } - if (action instanceof Dict) { - const actionType = action.get("S"); - if (!(actionType instanceof Name)) { - warn("parseDestDictionary: Invalid type in Action dictionary."); - return; - } - const actionName = actionType.name; - switch (actionName) { - case "ResetForm": - const flags = action.get("Flags"); - const include = ((typeof flags === "number" ? flags : 0) & 1) === 0; - const fields = []; - const refs = []; - for (const obj of action.get("Fields") || []) { - if (obj instanceof Ref) { - refs.push(obj.toString()); - } else if (typeof obj === "string") { - fields.push(stringToPDFString(obj)); - } - } - resultObj.resetForm = { - fields, - refs, - include - }; - break; - case "URI": - url = action.get("URI"); - if (url instanceof Name) { - url = "/" + url.name; - } - break; - case "GoTo": - dest = action.get("D"); - break; - case "Launch": - case "GoToR": - const urlDict = action.get("F"); - if (urlDict instanceof Dict) { - const fs = new FileSpec(urlDict, null, true); - const { - filename - } = fs.serializable; - url = filename; - } else if (typeof urlDict === "string") { - url = urlDict; - } - const remoteDest = fetchRemoteDest(action); - if (remoteDest && typeof url === "string") { - url = url.split("#", 1)[0] + "#" + remoteDest; - } - const newWindow = action.get("NewWindow"); - if (typeof newWindow === "boolean") { - resultObj.newWindow = newWindow; - } - break; - case "GoToE": - const target = action.get("T"); - let attachment; - if (docAttachments && target instanceof Dict) { - const relationship = target.get("R"); - const name = target.get("N"); - if (isName(relationship, "C") && typeof name === "string") { - attachment = docAttachments[stringToPDFString(name)]; - } - } - if (attachment) { - resultObj.attachment = attachment; - const attachmentDest = fetchRemoteDest(action); - if (attachmentDest) { - resultObj.attachmentDest = attachmentDest; - } - } else { - warn(`parseDestDictionary - unimplemented "GoToE" action.`); - } - break; - case "Named": - const namedAction = action.get("N"); - if (namedAction instanceof Name) { - resultObj.action = namedAction.name; - } - break; - case "SetOCGState": - const state = action.get("State"); - const preserveRB = action.get("PreserveRB"); - if (!Array.isArray(state) || state.length === 0) { - break; - } - const stateArr = []; - for (const elem of state) { - if (elem instanceof Name) { - switch (elem.name) { - case "ON": - case "OFF": - case "Toggle": - stateArr.push(elem.name); - break; - } - } else if (elem instanceof Ref) { - stateArr.push(elem.toString()); - } - } - if (stateArr.length !== state.length) { - break; - } - resultObj.setOCGState = { - state: stateArr, - preserveRB: typeof preserveRB === "boolean" ? preserveRB : true - }; - break; - case "JavaScript": - const jsAction = action.get("JS"); - let js; - if (jsAction instanceof BaseStream) { - js = jsAction.getString(); - } else if (typeof jsAction === "string") { - js = jsAction; - } - const jsURL = js && recoverJsURL(stringToPDFString(js)); - if (jsURL) { - url = jsURL.url; - resultObj.newWindow = jsURL.newWindow; - break; - } - default: - if (actionName === "JavaScript" || actionName === "SubmitForm") { - break; - } - warn(`parseDestDictionary - unsupported action: "${actionName}".`); - break; - } - } else if (destDict.has("Dest")) { - dest = destDict.get("Dest"); - } - if (typeof url === "string") { - const absoluteUrl = createValidAbsoluteUrl(url, docBaseUrl, { - addDefaultProtocol: true, - tryConvertEncoding: true - }); - if (absoluteUrl) { - resultObj.url = absoluteUrl.href; - } - resultObj.unsafeUrl = url; - } - if (dest) { - if (dest instanceof Name) { - dest = dest.name; - } - if (typeof dest === "string") { - resultObj.dest = stringToPDFString(dest); - } else if (isValidExplicitDest(dest)) { - resultObj.dest = dest; - } - } - } -} - -;// CONCATENATED MODULE: ./src/core/object_loader.js - - +/***/ }), +/* 76 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ObjectLoader = void 0; +var _primitives = __w_pdfjs_require__(4); +var _base_stream = __w_pdfjs_require__(5); +var _core_utils = __w_pdfjs_require__(3); +var _util = __w_pdfjs_require__(2); function mayHaveChildren(value) { - return value instanceof Ref || value instanceof Dict || value instanceof BaseStream || Array.isArray(value); + return value instanceof _primitives.Ref || value instanceof _primitives.Dict || value instanceof _base_stream.BaseStream || Array.isArray(value); } function addChildren(node, nodesToVisit) { - if (node instanceof Dict) { + if (node instanceof _primitives.Dict) { node = node.getRawValues(); - } else if (node instanceof BaseStream) { + } else if (node instanceof _base_stream.BaseStream) { node = node.dict.getRawValues(); } else if (!Array.isArray(node)) { return; @@ -43353,7 +45975,7 @@ class ObjectLoader { keys, dict } = this; - this.refSet = new RefSet(); + this.refSet = new _primitives.RefSet(); const nodesToVisit = []; for (const key of keys) { const rawValue = dict.getRaw(key); @@ -43368,7 +45990,7 @@ class ObjectLoader { const pendingRequests = []; while (nodesToVisit.length) { let currentNode = nodesToVisit.pop(); - if (currentNode instanceof Ref) { + if (currentNode instanceof _primitives.Ref) { if (this.refSet.has(currentNode)) { continue; } @@ -43376,8 +45998,8 @@ class ObjectLoader { this.refSet.put(currentNode); currentNode = this.xref.fetch(currentNode); } catch (ex) { - if (!(ex instanceof MissingDataException)) { - warn(`ObjectLoader._walk - requesting all data: "${ex}".`); + if (!(ex instanceof _core_utils.MissingDataException)) { + (0, _util.warn)(`ObjectLoader._walk - requesting all data: "${ex}".`); this.refSet = null; const { manager @@ -43391,7 +46013,7 @@ class ObjectLoader { }); } } - if (currentNode instanceof BaseStream) { + if (currentNode instanceof _base_stream.BaseStream) { const baseStreams = currentNode.getBaseStreams(); if (baseStreams) { let foundMissingData = false; @@ -43415,7 +46037,7 @@ class ObjectLoader { if (pendingRequests.length) { await this.xref.stream.manager.requestRanges(pendingRequests); for (const node of nodesToRevisit) { - if (node instanceof Ref) { + if (node instanceof _primitives.Ref) { this.refSet.remove(node); } } @@ -43425,79 +46047,5653 @@ class ObjectLoader { return undefined; } } +exports.ObjectLoader = ObjectLoader; -;// CONCATENATED MODULE: ./src/core/xfa/symbol_utils.js +/***/ }), +/* 77 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XFAFactory = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _bind = __w_pdfjs_require__(79); +var _data = __w_pdfjs_require__(89); +var _fonts = __w_pdfjs_require__(85); +var _utils = __w_pdfjs_require__(84); +var _util = __w_pdfjs_require__(2); +var _parser = __w_pdfjs_require__(90); +var _xhtml = __w_pdfjs_require__(100); +class XFAFactory { + constructor(data) { + try { + this.root = new _parser.XFAParser().parse(XFAFactory._createDocument(data)); + const binder = new _bind.Binder(this.root); + this.form = binder.bind(); + this.dataHandler = new _data.DataHandler(this.root, binder.getData()); + this.form[_symbol_utils.$globalData].template = this.form; + } catch (e) { + (0, _util.warn)(`XFA - an error occurred during parsing and binding: ${e}`); + } + } + isValid() { + return this.root && this.form; + } + _createPagesHelper() { + const iterator = this.form[_symbol_utils.$toPages](); + return new Promise((resolve, reject) => { + const nextIteration = () => { + try { + const value = iterator.next(); + if (value.done) { + resolve(value.value); + } else { + setTimeout(nextIteration, 0); + } + } catch (e) { + reject(e); + } + }; + setTimeout(nextIteration, 0); + }); + } + async _createPages() { + try { + this.pages = await this._createPagesHelper(); + this.dims = this.pages.children.map(c => { + const { + width, + height + } = c.attributes.style; + return [0, 0, parseInt(width), parseInt(height)]; + }); + } catch (e) { + (0, _util.warn)(`XFA - an error occurred during layout: ${e}`); + } + } + getBoundingBox(pageIndex) { + return this.dims[pageIndex]; + } + async getNumPages() { + if (!this.pages) { + await this._createPages(); + } + return this.dims.length; + } + setImages(images) { + this.form[_symbol_utils.$globalData].images = images; + } + setFonts(fonts) { + this.form[_symbol_utils.$globalData].fontFinder = new _fonts.FontFinder(fonts); + const missingFonts = []; + for (let typeface of this.form[_symbol_utils.$globalData].usedTypefaces) { + typeface = (0, _utils.stripQuotes)(typeface); + const font = this.form[_symbol_utils.$globalData].fontFinder.find(typeface); + if (!font) { + missingFonts.push(typeface); + } + } + if (missingFonts.length > 0) { + return missingFonts; + } + return null; + } + appendFonts(fonts, reallyMissingFonts) { + this.form[_symbol_utils.$globalData].fontFinder.add(fonts, reallyMissingFonts); + } + async getPages() { + if (!this.pages) { + await this._createPages(); + } + const pages = this.pages; + this.pages = null; + return pages; + } + serializeData(storage) { + return this.dataHandler.serialize(storage); + } + static _createDocument(data) { + if (!data["/xdp:xdp"]) { + return data["xdp:xdp"]; + } + return Object.values(data).join(""); + } + static getRichTextAsHtml(rc) { + if (!rc || typeof rc !== "string") { + return null; + } + try { + let root = new _parser.XFAParser(_xhtml.XhtmlNamespace, true).parse(rc); + if (!["body", "xhtml"].includes(root[_symbol_utils.$nodeName])) { + const newRoot = _xhtml.XhtmlNamespace.body({}); + newRoot[_symbol_utils.$appendChild](root); + root = newRoot; + } + const result = root[_symbol_utils.$toHTML](); + if (!result.success) { + return null; + } + const { + html + } = result; + const { + attributes + } = html; + if (attributes) { + if (attributes.class) { + attributes.class = attributes.class.filter(attr => !attr.startsWith("xfa")); + } + attributes.dir = "auto"; + } + return { + html, + str: root[_symbol_utils.$text]() + }; + } catch (e) { + (0, _util.warn)(`XFA - an error occurred during parsing of rich text: ${e}`); + } + return null; + } +} +exports.XFAFactory = XFAFactory; + +/***/ }), +/* 78 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.$uid = exports.$toStyle = exports.$toString = exports.$toPages = exports.$toHTML = exports.$text = exports.$tabIndex = exports.$setValue = exports.$setSetAttributes = exports.$setId = exports.$searchNode = exports.$root = exports.$resolvePrototypes = exports.$removeChild = exports.$pushPara = exports.$pushGlyphs = exports.$popPara = exports.$onText = exports.$onChildCheck = exports.$onChild = exports.$nsAttributes = exports.$nodeName = exports.$namespaceId = exports.$lastAttribute = exports.$isUsable = exports.$isTransparent = exports.$isThereMoreWidth = exports.$isSplittable = exports.$isNsAgnostic = exports.$isDescendent = exports.$isDataValue = exports.$isCDATAXml = exports.$isBindable = exports.$insertAt = exports.$indexOf = exports.$ids = exports.$hasSettableValue = exports.$globalData = exports.$getTemplateRoot = exports.$getSubformParent = exports.$getRealChildrenByNameIt = exports.$getParent = exports.$getNextPage = exports.$getExtra = exports.$getDataValue = exports.$getContainedChildren = exports.$getChildrenByNameIt = exports.$getChildrenByName = exports.$getChildrenByClass = exports.$getChildren = exports.$getAvailableSpace = exports.$getAttributes = exports.$getAttributeIt = exports.$flushHTML = exports.$finalize = exports.$extra = exports.$dump = exports.$data = exports.$content = exports.$consumed = exports.$clone = exports.$cleanup = exports.$cleanPage = exports.$clean = exports.$childrenToHTML = exports.$appendChild = exports.$addHTML = exports.$acceptWhitespace = void 0; const $acceptWhitespace = Symbol(); +exports.$acceptWhitespace = $acceptWhitespace; const $addHTML = Symbol(); +exports.$addHTML = $addHTML; const $appendChild = Symbol(); +exports.$appendChild = $appendChild; const $childrenToHTML = Symbol(); +exports.$childrenToHTML = $childrenToHTML; const $clean = Symbol(); +exports.$clean = $clean; const $cleanPage = Symbol(); +exports.$cleanPage = $cleanPage; const $cleanup = Symbol(); +exports.$cleanup = $cleanup; const $clone = Symbol(); +exports.$clone = $clone; const $consumed = Symbol(); +exports.$consumed = $consumed; const $content = Symbol("content"); +exports.$content = $content; const $data = Symbol("data"); +exports.$data = $data; const $dump = Symbol(); +exports.$dump = $dump; const $extra = Symbol("extra"); +exports.$extra = $extra; const $finalize = Symbol(); +exports.$finalize = $finalize; const $flushHTML = Symbol(); +exports.$flushHTML = $flushHTML; const $getAttributeIt = Symbol(); +exports.$getAttributeIt = $getAttributeIt; const $getAttributes = Symbol(); +exports.$getAttributes = $getAttributes; const $getAvailableSpace = Symbol(); +exports.$getAvailableSpace = $getAvailableSpace; const $getChildrenByClass = Symbol(); +exports.$getChildrenByClass = $getChildrenByClass; const $getChildrenByName = Symbol(); +exports.$getChildrenByName = $getChildrenByName; const $getChildrenByNameIt = Symbol(); +exports.$getChildrenByNameIt = $getChildrenByNameIt; const $getDataValue = Symbol(); +exports.$getDataValue = $getDataValue; const $getExtra = Symbol(); +exports.$getExtra = $getExtra; const $getRealChildrenByNameIt = Symbol(); +exports.$getRealChildrenByNameIt = $getRealChildrenByNameIt; const $getChildren = Symbol(); +exports.$getChildren = $getChildren; const $getContainedChildren = Symbol(); +exports.$getContainedChildren = $getContainedChildren; const $getNextPage = Symbol(); +exports.$getNextPage = $getNextPage; const $getSubformParent = Symbol(); +exports.$getSubformParent = $getSubformParent; const $getParent = Symbol(); +exports.$getParent = $getParent; const $getTemplateRoot = Symbol(); +exports.$getTemplateRoot = $getTemplateRoot; const $globalData = Symbol(); +exports.$globalData = $globalData; const $hasSettableValue = Symbol(); +exports.$hasSettableValue = $hasSettableValue; const $ids = Symbol(); +exports.$ids = $ids; const $indexOf = Symbol(); +exports.$indexOf = $indexOf; const $insertAt = Symbol(); +exports.$insertAt = $insertAt; const $isCDATAXml = Symbol(); +exports.$isCDATAXml = $isCDATAXml; const $isBindable = Symbol(); +exports.$isBindable = $isBindable; const $isDataValue = Symbol(); +exports.$isDataValue = $isDataValue; const $isDescendent = Symbol(); +exports.$isDescendent = $isDescendent; const $isNsAgnostic = Symbol(); +exports.$isNsAgnostic = $isNsAgnostic; const $isSplittable = Symbol(); +exports.$isSplittable = $isSplittable; const $isThereMoreWidth = Symbol(); +exports.$isThereMoreWidth = $isThereMoreWidth; const $isTransparent = Symbol(); +exports.$isTransparent = $isTransparent; const $isUsable = Symbol(); +exports.$isUsable = $isUsable; const $lastAttribute = Symbol(); +exports.$lastAttribute = $lastAttribute; const $namespaceId = Symbol("namespaceId"); +exports.$namespaceId = $namespaceId; const $nodeName = Symbol("nodeName"); +exports.$nodeName = $nodeName; const $nsAttributes = Symbol(); +exports.$nsAttributes = $nsAttributes; const $onChild = Symbol(); +exports.$onChild = $onChild; const $onChildCheck = Symbol(); +exports.$onChildCheck = $onChildCheck; const $onText = Symbol(); +exports.$onText = $onText; const $pushGlyphs = Symbol(); +exports.$pushGlyphs = $pushGlyphs; const $popPara = Symbol(); +exports.$popPara = $popPara; const $pushPara = Symbol(); +exports.$pushPara = $pushPara; const $removeChild = Symbol(); +exports.$removeChild = $removeChild; const $root = Symbol("root"); +exports.$root = $root; const $resolvePrototypes = Symbol(); +exports.$resolvePrototypes = $resolvePrototypes; const $searchNode = Symbol(); +exports.$searchNode = $searchNode; const $setId = Symbol(); +exports.$setId = $setId; const $setSetAttributes = Symbol(); +exports.$setSetAttributes = $setSetAttributes; const $setValue = Symbol(); +exports.$setValue = $setValue; const $tabIndex = Symbol(); +exports.$tabIndex = $tabIndex; const $text = Symbol(); +exports.$text = $text; const $toPages = Symbol(); +exports.$toPages = $toPages; const $toHTML = Symbol(); +exports.$toHTML = $toHTML; const $toString = Symbol(); +exports.$toString = $toString; const $toStyle = Symbol(); +exports.$toStyle = $toStyle; const $uid = Symbol("uid"); +exports.$uid = $uid; -;// CONCATENATED MODULE: ./src/core/xfa/namespaces.js +/***/ }), +/* 79 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Binder = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _template = __w_pdfjs_require__(80); +var _som = __w_pdfjs_require__(88); +var _xfa_object = __w_pdfjs_require__(87); +var _namespaces = __w_pdfjs_require__(81); +var _util = __w_pdfjs_require__(2); +const NS_DATASETS = _namespaces.NamespaceIds.datasets.id; +function createText(content) { + const node = new _template.Text({}); + node[_symbol_utils.$content] = content; + return node; +} +class Binder { + constructor(root) { + this.root = root; + this.datasets = root.datasets; + if (root.datasets?.data) { + this.data = root.datasets.data; + } else { + this.data = new _xfa_object.XmlObject(_namespaces.NamespaceIds.datasets.id, "data"); + } + this.emptyMerge = this.data[_symbol_utils.$getChildren]().length === 0; + this.root.form = this.form = root.template[_symbol_utils.$clone](); + } + _isConsumeData() { + return !this.emptyMerge && this._mergeMode; + } + _isMatchTemplate() { + return !this._isConsumeData(); + } + bind() { + this._bindElement(this.form, this.data); + return this.form; + } + getData() { + return this.data; + } + _bindValue(formNode, data, picture) { + formNode[_symbol_utils.$data] = data; + if (formNode[_symbol_utils.$hasSettableValue]()) { + if (data[_symbol_utils.$isDataValue]()) { + const value = data[_symbol_utils.$getDataValue](); + formNode[_symbol_utils.$setValue](createText(value)); + } else if (formNode instanceof _template.Field && formNode.ui?.choiceList?.open === "multiSelect") { + const value = data[_symbol_utils.$getChildren]().map(child => child[_symbol_utils.$content].trim()).join("\n"); + formNode[_symbol_utils.$setValue](createText(value)); + } else if (this._isConsumeData()) { + (0, _util.warn)(`XFA - Nodes haven't the same type.`); + } + } else if (!data[_symbol_utils.$isDataValue]() || this._isMatchTemplate()) { + this._bindElement(formNode, data); + } else { + (0, _util.warn)(`XFA - Nodes haven't the same type.`); + } + } + _findDataByNameToConsume(name, isValue, dataNode, global) { + if (!name) { + return null; + } + let generator, match; + for (let i = 0; i < 3; i++) { + generator = dataNode[_symbol_utils.$getRealChildrenByNameIt](name, false, true); + while (true) { + match = generator.next().value; + if (!match) { + break; + } + if (isValue === match[_symbol_utils.$isDataValue]()) { + return match; + } + } + if (dataNode[_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.datasets.id && dataNode[_symbol_utils.$nodeName] === "data") { + break; + } + dataNode = dataNode[_symbol_utils.$getParent](); + } + if (!global) { + return null; + } + generator = this.data[_symbol_utils.$getRealChildrenByNameIt](name, true, false); + match = generator.next().value; + if (match) { + return match; + } + generator = this.data[_symbol_utils.$getAttributeIt](name, true); + match = generator.next().value; + if (match?.[_symbol_utils.$isDataValue]()) { + return match; + } + return null; + } + _setProperties(formNode, dataNode) { + if (!formNode.hasOwnProperty("setProperty")) { + return; + } + for (const { + ref, + target, + connection + } of formNode.setProperty.children) { + if (connection) { + continue; + } + if (!ref) { + continue; + } + const nodes = (0, _som.searchNode)(this.root, dataNode, ref, false, false); + if (!nodes) { + (0, _util.warn)(`XFA - Invalid reference: ${ref}.`); + continue; + } + const [node] = nodes; + if (!node[_symbol_utils.$isDescendent](this.data)) { + (0, _util.warn)(`XFA - Invalid node: must be a data node.`); + continue; + } + const targetNodes = (0, _som.searchNode)(this.root, formNode, target, false, false); + if (!targetNodes) { + (0, _util.warn)(`XFA - Invalid target: ${target}.`); + continue; + } + const [targetNode] = targetNodes; + if (!targetNode[_symbol_utils.$isDescendent](formNode)) { + (0, _util.warn)(`XFA - Invalid target: must be a property or subproperty.`); + continue; + } + const targetParent = targetNode[_symbol_utils.$getParent](); + if (targetNode instanceof _template.SetProperty || targetParent instanceof _template.SetProperty) { + (0, _util.warn)(`XFA - Invalid target: cannot be a setProperty or one of its properties.`); + continue; + } + if (targetNode instanceof _template.BindItems || targetParent instanceof _template.BindItems) { + (0, _util.warn)(`XFA - Invalid target: cannot be a bindItems or one of its properties.`); + continue; + } + const content = node[_symbol_utils.$text](); + const name = targetNode[_symbol_utils.$nodeName]; + if (targetNode instanceof _xfa_object.XFAAttribute) { + const attrs = Object.create(null); + attrs[name] = content; + const obj = Reflect.construct(Object.getPrototypeOf(targetParent).constructor, [attrs]); + targetParent[name] = obj[name]; + continue; + } + if (!targetNode.hasOwnProperty(_symbol_utils.$content)) { + (0, _util.warn)(`XFA - Invalid node to use in setProperty`); + continue; + } + targetNode[_symbol_utils.$data] = node; + targetNode[_symbol_utils.$content] = content; + targetNode[_symbol_utils.$finalize](); + } + } + _bindItems(formNode, dataNode) { + if (!formNode.hasOwnProperty("items") || !formNode.hasOwnProperty("bindItems") || formNode.bindItems.isEmpty()) { + return; + } + for (const item of formNode.items.children) { + formNode[_symbol_utils.$removeChild](item); + } + formNode.items.clear(); + const labels = new _template.Items({}); + const values = new _template.Items({}); + formNode[_symbol_utils.$appendChild](labels); + formNode.items.push(labels); + formNode[_symbol_utils.$appendChild](values); + formNode.items.push(values); + for (const { + ref, + labelRef, + valueRef, + connection + } of formNode.bindItems.children) { + if (connection) { + continue; + } + if (!ref) { + continue; + } + const nodes = (0, _som.searchNode)(this.root, dataNode, ref, false, false); + if (!nodes) { + (0, _util.warn)(`XFA - Invalid reference: ${ref}.`); + continue; + } + for (const node of nodes) { + if (!node[_symbol_utils.$isDescendent](this.datasets)) { + (0, _util.warn)(`XFA - Invalid ref (${ref}): must be a datasets child.`); + continue; + } + const labelNodes = (0, _som.searchNode)(this.root, node, labelRef, true, false); + if (!labelNodes) { + (0, _util.warn)(`XFA - Invalid label: ${labelRef}.`); + continue; + } + const [labelNode] = labelNodes; + if (!labelNode[_symbol_utils.$isDescendent](this.datasets)) { + (0, _util.warn)(`XFA - Invalid label: must be a datasets child.`); + continue; + } + const valueNodes = (0, _som.searchNode)(this.root, node, valueRef, true, false); + if (!valueNodes) { + (0, _util.warn)(`XFA - Invalid value: ${valueRef}.`); + continue; + } + const [valueNode] = valueNodes; + if (!valueNode[_symbol_utils.$isDescendent](this.datasets)) { + (0, _util.warn)(`XFA - Invalid value: must be a datasets child.`); + continue; + } + const label = createText(labelNode[_symbol_utils.$text]()); + const value = createText(valueNode[_symbol_utils.$text]()); + labels[_symbol_utils.$appendChild](label); + labels.text.push(label); + values[_symbol_utils.$appendChild](value); + values.text.push(value); + } + } + } + _bindOccurrences(formNode, matches, picture) { + let baseClone; + if (matches.length > 1) { + baseClone = formNode[_symbol_utils.$clone](); + baseClone[_symbol_utils.$removeChild](baseClone.occur); + baseClone.occur = null; + } + this._bindValue(formNode, matches[0], picture); + this._setProperties(formNode, matches[0]); + this._bindItems(formNode, matches[0]); + if (matches.length === 1) { + return; + } + const parent = formNode[_symbol_utils.$getParent](); + const name = formNode[_symbol_utils.$nodeName]; + const pos = parent[_symbol_utils.$indexOf](formNode); + for (let i = 1, ii = matches.length; i < ii; i++) { + const match = matches[i]; + const clone = baseClone[_symbol_utils.$clone](); + parent[name].push(clone); + parent[_symbol_utils.$insertAt](pos + i, clone); + this._bindValue(clone, match, picture); + this._setProperties(clone, match); + this._bindItems(clone, match); + } + } + _createOccurrences(formNode) { + if (!this.emptyMerge) { + return; + } + const { + occur + } = formNode; + if (!occur || occur.initial <= 1) { + return; + } + const parent = formNode[_symbol_utils.$getParent](); + const name = formNode[_symbol_utils.$nodeName]; + if (!(parent[name] instanceof _xfa_object.XFAObjectArray)) { + return; + } + let currentNumber; + if (formNode.name) { + currentNumber = parent[name].children.filter(e => e.name === formNode.name).length; + } else { + currentNumber = parent[name].children.length; + } + const pos = parent[_symbol_utils.$indexOf](formNode) + 1; + const ii = occur.initial - currentNumber; + if (ii) { + const nodeClone = formNode[_symbol_utils.$clone](); + nodeClone[_symbol_utils.$removeChild](nodeClone.occur); + nodeClone.occur = null; + parent[name].push(nodeClone); + parent[_symbol_utils.$insertAt](pos, nodeClone); + for (let i = 1; i < ii; i++) { + const clone = nodeClone[_symbol_utils.$clone](); + parent[name].push(clone); + parent[_symbol_utils.$insertAt](pos + i, clone); + } + } + } + _getOccurInfo(formNode) { + const { + name, + occur + } = formNode; + if (!occur || !name) { + return [1, 1]; + } + const max = occur.max === -1 ? Infinity : occur.max; + return [occur.min, max]; + } + _setAndBind(formNode, dataNode) { + this._setProperties(formNode, dataNode); + this._bindItems(formNode, dataNode); + this._bindElement(formNode, dataNode); + } + _bindElement(formNode, dataNode) { + const uselessNodes = []; + this._createOccurrences(formNode); + for (const child of formNode[_symbol_utils.$getChildren]()) { + if (child[_symbol_utils.$data]) { + continue; + } + if (this._mergeMode === undefined && child[_symbol_utils.$nodeName] === "subform") { + this._mergeMode = child.mergeMode === "consumeData"; + const dataChildren = dataNode[_symbol_utils.$getChildren](); + if (dataChildren.length > 0) { + this._bindOccurrences(child, [dataChildren[0]], null); + } else if (this.emptyMerge) { + const nsId = dataNode[_symbol_utils.$namespaceId] === NS_DATASETS ? -1 : dataNode[_symbol_utils.$namespaceId]; + const dataChild = child[_symbol_utils.$data] = new _xfa_object.XmlObject(nsId, child.name || "root"); + dataNode[_symbol_utils.$appendChild](dataChild); + this._bindElement(child, dataChild); + } + continue; + } + if (!child[_symbol_utils.$isBindable]()) { + continue; + } + let global = false; + let picture = null; + let ref = null; + let match = null; + if (child.bind) { + switch (child.bind.match) { + case "none": + this._setAndBind(child, dataNode); + continue; + case "global": + global = true; + break; + case "dataRef": + if (!child.bind.ref) { + (0, _util.warn)(`XFA - ref is empty in node ${child[_symbol_utils.$nodeName]}.`); + this._setAndBind(child, dataNode); + continue; + } + ref = child.bind.ref; + break; + default: + break; + } + if (child.bind.picture) { + picture = child.bind.picture[_symbol_utils.$content]; + } + } + const [min, max] = this._getOccurInfo(child); + if (ref) { + match = (0, _som.searchNode)(this.root, dataNode, ref, true, false); + if (match === null) { + match = (0, _som.createDataNode)(this.data, dataNode, ref); + if (!match) { + continue; + } + if (this._isConsumeData()) { + match[_symbol_utils.$consumed] = true; + } + this._setAndBind(child, match); + continue; + } else { + if (this._isConsumeData()) { + match = match.filter(node => !node[_symbol_utils.$consumed]); + } + if (match.length > max) { + match = match.slice(0, max); + } else if (match.length === 0) { + match = null; + } + if (match && this._isConsumeData()) { + match.forEach(node => { + node[_symbol_utils.$consumed] = true; + }); + } + } + } else { + if (!child.name) { + this._setAndBind(child, dataNode); + continue; + } + if (this._isConsumeData()) { + const matches = []; + while (matches.length < max) { + const found = this._findDataByNameToConsume(child.name, child[_symbol_utils.$hasSettableValue](), dataNode, global); + if (!found) { + break; + } + found[_symbol_utils.$consumed] = true; + matches.push(found); + } + match = matches.length > 0 ? matches : null; + } else { + match = dataNode[_symbol_utils.$getRealChildrenByNameIt](child.name, false, this.emptyMerge).next().value; + if (!match) { + if (min === 0) { + uselessNodes.push(child); + continue; + } + const nsId = dataNode[_symbol_utils.$namespaceId] === NS_DATASETS ? -1 : dataNode[_symbol_utils.$namespaceId]; + match = child[_symbol_utils.$data] = new _xfa_object.XmlObject(nsId, child.name); + if (this.emptyMerge) { + match[_symbol_utils.$consumed] = true; + } + dataNode[_symbol_utils.$appendChild](match); + this._setAndBind(child, match); + continue; + } + if (this.emptyMerge) { + match[_symbol_utils.$consumed] = true; + } + match = [match]; + } + } + if (match) { + this._bindOccurrences(child, match, picture); + } else if (min > 0) { + this._setAndBind(child, dataNode); + } else { + uselessNodes.push(child); + } + } + uselessNodes.forEach(node => node[_symbol_utils.$getParent]()[_symbol_utils.$removeChild](node)); + } +} +exports.Binder = Binder; + +/***/ }), +/* 80 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Value = exports.Text = exports.TemplateNamespace = exports.Template = exports.SetProperty = exports.Items = exports.Field = exports.BindItems = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _namespaces = __w_pdfjs_require__(81); +var _layout = __w_pdfjs_require__(82); +var _html_utils = __w_pdfjs_require__(83); +var _xfa_object = __w_pdfjs_require__(87); +var _utils = __w_pdfjs_require__(84); +var _util = __w_pdfjs_require__(2); +var _fonts = __w_pdfjs_require__(85); +var _core_utils = __w_pdfjs_require__(3); +var _som = __w_pdfjs_require__(88); +const TEMPLATE_NS_ID = _namespaces.NamespaceIds.template.id; +const SVG_NS = "http://www.w3.org/2000/svg"; +const MAX_ATTEMPTS_FOR_LRTB_LAYOUT = 2; +const MAX_EMPTY_PAGES = 3; +const DEFAULT_TAB_INDEX = 5000; +const HEADING_PATTERN = /^H(\d+)$/; +const MIMES = new Set(["image/gif", "image/jpeg", "image/jpg", "image/pjpeg", "image/png", "image/apng", "image/x-png", "image/bmp", "image/x-ms-bmp", "image/tiff", "image/tif", "application/octet-stream"]); +const IMAGES_HEADERS = [[[0x42, 0x4d], "image/bmp"], [[0xff, 0xd8, 0xff], "image/jpeg"], [[0x49, 0x49, 0x2a, 0x00], "image/tiff"], [[0x4d, 0x4d, 0x00, 0x2a], "image/tiff"], [[0x47, 0x49, 0x46, 0x38, 0x39, 0x61], "image/gif"], [[0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a], "image/png"]]; +function getBorderDims(node) { + if (!node || !node.border) { + return { + w: 0, + h: 0 + }; + } + const borderExtra = node.border[_symbol_utils.$getExtra](); + if (!borderExtra) { + return { + w: 0, + h: 0 + }; + } + return { + w: borderExtra.widths[0] + borderExtra.widths[2] + borderExtra.insets[0] + borderExtra.insets[2], + h: borderExtra.widths[1] + borderExtra.widths[3] + borderExtra.insets[1] + borderExtra.insets[3] + }; +} +function hasMargin(node) { + return node.margin && (node.margin.topInset || node.margin.rightInset || node.margin.bottomInset || node.margin.leftInset); +} +function _setValue(templateNode, value) { + if (!templateNode.value) { + const nodeValue = new Value({}); + templateNode[_symbol_utils.$appendChild](nodeValue); + templateNode.value = nodeValue; + } + templateNode.value[_symbol_utils.$setValue](value); +} +function* getContainedChildren(node) { + for (const child of node[_symbol_utils.$getChildren]()) { + if (child instanceof SubformSet) { + yield* child[_symbol_utils.$getContainedChildren](); + continue; + } + yield child; + } +} +function isRequired(node) { + return node.validate?.nullTest === "error"; +} +function setTabIndex(node) { + while (node) { + if (!node.traversal) { + node[_symbol_utils.$tabIndex] = node[_symbol_utils.$getParent]()[_symbol_utils.$tabIndex]; + return; + } + if (node[_symbol_utils.$tabIndex]) { + return; + } + let next = null; + for (const child of node.traversal[_symbol_utils.$getChildren]()) { + if (child.operation === "next") { + next = child; + break; + } + } + if (!next || !next.ref) { + node[_symbol_utils.$tabIndex] = node[_symbol_utils.$getParent]()[_symbol_utils.$tabIndex]; + return; + } + const root = node[_symbol_utils.$getTemplateRoot](); + node[_symbol_utils.$tabIndex] = ++root[_symbol_utils.$tabIndex]; + const ref = root[_symbol_utils.$searchNode](next.ref, node); + if (!ref) { + return; + } + node = ref[0]; + } +} +function applyAssist(obj, attributes) { + const assist = obj.assist; + if (assist) { + const assistTitle = assist[_symbol_utils.$toHTML](); + if (assistTitle) { + attributes.title = assistTitle; + } + const role = assist.role; + const match = role.match(HEADING_PATTERN); + if (match) { + const ariaRole = "heading"; + const ariaLevel = match[1]; + attributes.role = ariaRole; + attributes["aria-level"] = ariaLevel; + } + } + if (obj.layout === "table") { + attributes.role = "table"; + } else if (obj.layout === "row") { + attributes.role = "row"; + } else { + const parent = obj[_symbol_utils.$getParent](); + if (parent.layout === "row") { + if (parent.assist?.role === "TH") { + attributes.role = "columnheader"; + } else { + attributes.role = "cell"; + } + } + } +} +function ariaLabel(obj) { + if (!obj.assist) { + return null; + } + const assist = obj.assist; + if (assist.speak && assist.speak[_symbol_utils.$content] !== "") { + return assist.speak[_symbol_utils.$content]; + } + if (assist.toolTip) { + return assist.toolTip[_symbol_utils.$content]; + } + return null; +} +function valueToHtml(value) { + return _utils.HTMLResult.success({ + name: "div", + attributes: { + class: ["xfaRich"], + style: Object.create(null) + }, + children: [{ + name: "span", + attributes: { + style: Object.create(null) + }, + value + }] + }); +} +function setFirstUnsplittable(node) { + const root = node[_symbol_utils.$getTemplateRoot](); + if (root[_symbol_utils.$extra].firstUnsplittable === null) { + root[_symbol_utils.$extra].firstUnsplittable = node; + root[_symbol_utils.$extra].noLayoutFailure = true; + } +} +function unsetFirstUnsplittable(node) { + const root = node[_symbol_utils.$getTemplateRoot](); + if (root[_symbol_utils.$extra].firstUnsplittable === node) { + root[_symbol_utils.$extra].noLayoutFailure = false; + } +} +function handleBreak(node) { + if (node[_symbol_utils.$extra]) { + return false; + } + node[_symbol_utils.$extra] = Object.create(null); + if (node.targetType === "auto") { + return false; + } + const root = node[_symbol_utils.$getTemplateRoot](); + let target = null; + if (node.target) { + target = root[_symbol_utils.$searchNode](node.target, node[_symbol_utils.$getParent]()); + if (!target) { + return false; + } + target = target[0]; + } + const { + currentPageArea, + currentContentArea + } = root[_symbol_utils.$extra]; + if (node.targetType === "pageArea") { + if (!(target instanceof PageArea)) { + target = null; + } + if (node.startNew) { + node[_symbol_utils.$extra].target = target || currentPageArea; + return true; + } else if (target && target !== currentPageArea) { + node[_symbol_utils.$extra].target = target; + return true; + } + return false; + } + if (!(target instanceof ContentArea)) { + target = null; + } + const pageArea = target && target[_symbol_utils.$getParent](); + let index; + let nextPageArea = pageArea; + if (node.startNew) { + if (target) { + const contentAreas = pageArea.contentArea.children; + const indexForCurrent = contentAreas.indexOf(currentContentArea); + const indexForTarget = contentAreas.indexOf(target); + if (indexForCurrent !== -1 && indexForCurrent < indexForTarget) { + nextPageArea = null; + } + index = indexForTarget - 1; + } else { + index = currentPageArea.contentArea.children.indexOf(currentContentArea); + } + } else if (target && target !== currentContentArea) { + const contentAreas = pageArea.contentArea.children; + index = contentAreas.indexOf(target) - 1; + nextPageArea = pageArea === currentPageArea ? null : pageArea; + } else { + return false; + } + node[_symbol_utils.$extra].target = nextPageArea; + node[_symbol_utils.$extra].index = index; + return true; +} +function handleOverflow(node, extraNode, space) { + const root = node[_symbol_utils.$getTemplateRoot](); + const saved = root[_symbol_utils.$extra].noLayoutFailure; + const savedMethod = extraNode[_symbol_utils.$getSubformParent]; + extraNode[_symbol_utils.$getSubformParent] = () => node; + root[_symbol_utils.$extra].noLayoutFailure = true; + const res = extraNode[_symbol_utils.$toHTML](space); + node[_symbol_utils.$addHTML](res.html, res.bbox); + root[_symbol_utils.$extra].noLayoutFailure = saved; + extraNode[_symbol_utils.$getSubformParent] = savedMethod; +} +class AppearanceFilter extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "appearanceFilter"); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Arc extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "arc", true); + this.circular = (0, _utils.getInteger)({ + data: attributes.circular, + defaultValue: 0, + validate: x => x === 1 + }); + this.hand = (0, _utils.getStringOption)(attributes.hand, ["even", "left", "right"]); + this.id = attributes.id || ""; + this.startAngle = (0, _utils.getFloat)({ + data: attributes.startAngle, + defaultValue: 0, + validate: x => true + }); + this.sweepAngle = (0, _utils.getFloat)({ + data: attributes.sweepAngle, + defaultValue: 360, + validate: x => true + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.edge = null; + this.fill = null; + } + [_symbol_utils.$toHTML]() { + const edge = this.edge || new Edge({}); + const edgeStyle = edge[_symbol_utils.$toStyle](); + const style = Object.create(null); + if (this.fill?.presence === "visible") { + Object.assign(style, this.fill[_symbol_utils.$toStyle]()); + } else { + style.fill = "transparent"; + } + style.strokeWidth = (0, _html_utils.measureToString)(edge.presence === "visible" ? edge.thickness : 0); + style.stroke = edgeStyle.color; + let arc; + const attributes = { + xmlns: SVG_NS, + style: { + width: "100%", + height: "100%", + overflow: "visible" + } + }; + if (this.sweepAngle === 360) { + arc = { + name: "ellipse", + attributes: { + xmlns: SVG_NS, + cx: "50%", + cy: "50%", + rx: "50%", + ry: "50%", + style + } + }; + } else { + const startAngle = this.startAngle * Math.PI / 180; + const sweepAngle = this.sweepAngle * Math.PI / 180; + const largeArc = this.sweepAngle > 180 ? 1 : 0; + const [x1, y1, x2, y2] = [50 * (1 + Math.cos(startAngle)), 50 * (1 - Math.sin(startAngle)), 50 * (1 + Math.cos(startAngle + sweepAngle)), 50 * (1 - Math.sin(startAngle + sweepAngle))]; + arc = { + name: "path", + attributes: { + xmlns: SVG_NS, + d: `M ${x1} ${y1} A 50 50 0 ${largeArc} 0 ${x2} ${y2}`, + vectorEffect: "non-scaling-stroke", + style + } + }; + Object.assign(attributes, { + viewBox: "0 0 100 100", + preserveAspectRatio: "none" + }); + } + const svg = { + name: "svg", + children: [arc], + attributes + }; + const parent = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + if (hasMargin(parent)) { + return _utils.HTMLResult.success({ + name: "div", + attributes: { + style: { + display: "inline", + width: "100%", + height: "100%" + } + }, + children: [svg] + }); + } + svg.attributes.style.position = "absolute"; + return _utils.HTMLResult.success(svg); + } +} +class Area extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "area", true); + this.colSpan = (0, _utils.getInteger)({ + data: attributes.colSpan, + defaultValue: 1, + validate: n => n >= 1 || n === -1 + }); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.desc = null; + this.extras = null; + this.area = new _xfa_object.XFAObjectArray(); + this.draw = new _xfa_object.XFAObjectArray(); + this.exObject = new _xfa_object.XFAObjectArray(); + this.exclGroup = new _xfa_object.XFAObjectArray(); + this.field = new _xfa_object.XFAObjectArray(); + this.subform = new _xfa_object.XFAObjectArray(); + this.subformSet = new _xfa_object.XFAObjectArray(); + } + *[_symbol_utils.$getContainedChildren]() { + yield* getContainedChildren(this); + } + [_symbol_utils.$isTransparent]() { + return true; + } + [_symbol_utils.$isBindable]() { + return true; + } + [_symbol_utils.$addHTML](html, bbox) { + const [x, y, w, h] = bbox; + this[_symbol_utils.$extra].width = Math.max(this[_symbol_utils.$extra].width, x + w); + this[_symbol_utils.$extra].height = Math.max(this[_symbol_utils.$extra].height, y + h); + this[_symbol_utils.$extra].children.push(html); + } + [_symbol_utils.$getAvailableSpace]() { + return this[_symbol_utils.$extra].availableSpace; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)(this, "position"); + const attributes = { + style, + id: this[_symbol_utils.$uid], + class: ["xfaArea"] + }; + if ((0, _html_utils.isPrintOnly)(this)) { + attributes.class.push("xfaPrintOnly"); + } + if (this.name) { + attributes.xfaName = this.name; + } + const children = []; + this[_symbol_utils.$extra] = { + children, + width: 0, + height: 0, + availableSpace + }; + const result = this[_symbol_utils.$childrenToHTML]({ + filter: new Set(["area", "draw", "field", "exclGroup", "subform", "subformSet"]), + include: true + }); + if (!result.success) { + if (result.isBreak()) { + return result; + } + delete this[_symbol_utils.$extra]; + return _utils.HTMLResult.FAILURE; + } + style.width = (0, _html_utils.measureToString)(this[_symbol_utils.$extra].width); + style.height = (0, _html_utils.measureToString)(this[_symbol_utils.$extra].height); + const html = { + name: "div", + attributes, + children + }; + const bbox = [this.x, this.y, this[_symbol_utils.$extra].width, this[_symbol_utils.$extra].height]; + delete this[_symbol_utils.$extra]; + return _utils.HTMLResult.success(html, bbox); + } +} +class Assist extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "assist", true); + this.id = attributes.id || ""; + this.role = attributes.role || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.speak = null; + this.toolTip = null; + } + [_symbol_utils.$toHTML]() { + return this.toolTip?.[_symbol_utils.$content] || null; + } +} +class Barcode extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "barcode", true); + this.charEncoding = (0, _utils.getKeyword)({ + data: attributes.charEncoding ? attributes.charEncoding.toLowerCase() : "", + defaultValue: "", + validate: k => ["utf-8", "big-five", "fontspecific", "gbk", "gb-18030", "gb-2312", "ksc-5601", "none", "shift-jis", "ucs-2", "utf-16"].includes(k) || k.match(/iso-8859-\d{2}/) + }); + this.checksum = (0, _utils.getStringOption)(attributes.checksum, ["none", "1mod10", "1mod10_1mod11", "2mod10", "auto"]); + this.dataColumnCount = (0, _utils.getInteger)({ + data: attributes.dataColumnCount, + defaultValue: -1, + validate: x => x >= 0 + }); + this.dataLength = (0, _utils.getInteger)({ + data: attributes.dataLength, + defaultValue: -1, + validate: x => x >= 0 + }); + this.dataPrep = (0, _utils.getStringOption)(attributes.dataPrep, ["none", "flateCompress"]); + this.dataRowCount = (0, _utils.getInteger)({ + data: attributes.dataRowCount, + defaultValue: -1, + validate: x => x >= 0 + }); + this.endChar = attributes.endChar || ""; + this.errorCorrectionLevel = (0, _utils.getInteger)({ + data: attributes.errorCorrectionLevel, + defaultValue: -1, + validate: x => x >= 0 && x <= 8 + }); + this.id = attributes.id || ""; + this.moduleHeight = (0, _utils.getMeasurement)(attributes.moduleHeight, "5mm"); + this.moduleWidth = (0, _utils.getMeasurement)(attributes.moduleWidth, "0.25mm"); + this.printCheckDigit = (0, _utils.getInteger)({ + data: attributes.printCheckDigit, + defaultValue: 0, + validate: x => x === 1 + }); + this.rowColumnRatio = (0, _utils.getRatio)(attributes.rowColumnRatio); + this.startChar = attributes.startChar || ""; + this.textLocation = (0, _utils.getStringOption)(attributes.textLocation, ["below", "above", "aboveEmbedded", "belowEmbedded", "none"]); + this.truncate = (0, _utils.getInteger)({ + data: attributes.truncate, + defaultValue: 0, + validate: x => x === 1 + }); + this.type = (0, _utils.getStringOption)(attributes.type ? attributes.type.toLowerCase() : "", ["aztec", "codabar", "code2of5industrial", "code2of5interleaved", "code2of5matrix", "code2of5standard", "code3of9", "code3of9extended", "code11", "code49", "code93", "code128", "code128a", "code128b", "code128c", "code128sscc", "datamatrix", "ean8", "ean8add2", "ean8add5", "ean13", "ean13add2", "ean13add5", "ean13pwcd", "fim", "logmars", "maxicode", "msi", "pdf417", "pdf417macro", "plessey", "postauscust2", "postauscust3", "postausreplypaid", "postausstandard", "postukrm4scc", "postusdpbc", "postusimb", "postusstandard", "postus5zip", "qrcode", "rfid", "rss14", "rss14expanded", "rss14limited", "rss14stacked", "rss14stackedomni", "rss14truncated", "telepen", "ucc128", "ucc128random", "ucc128sscc", "upca", "upcaadd2", "upcaadd5", "upcapwcd", "upce", "upceadd2", "upceadd5", "upcean2", "upcean5", "upsmaxicode"]); + this.upsMode = (0, _utils.getStringOption)(attributes.upsMode, ["usCarrier", "internationalCarrier", "secureSymbol", "standardSymbol"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.wideNarrowRatio = (0, _utils.getRatio)(attributes.wideNarrowRatio); + this.encrypt = null; + this.extras = null; + } +} +class Bind extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "bind", true); + this.match = (0, _utils.getStringOption)(attributes.match, ["once", "dataRef", "global", "none"]); + this.ref = attributes.ref || ""; + this.picture = null; + } +} +class BindItems extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "bindItems"); + this.connection = attributes.connection || ""; + this.labelRef = attributes.labelRef || ""; + this.ref = attributes.ref || ""; + this.valueRef = attributes.valueRef || ""; + } +} +exports.BindItems = BindItems; +class Bookend extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "bookend"); + this.id = attributes.id || ""; + this.leader = attributes.leader || ""; + this.trailer = attributes.trailer || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class BooleanElement extends _xfa_object.Option01 { + constructor(attributes) { + super(TEMPLATE_NS_ID, "boolean"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] === 1 ? "1" : "0"); + } +} +class Border extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "border", true); + this.break = (0, _utils.getStringOption)(attributes.break, ["close", "open"]); + this.hand = (0, _utils.getStringOption)(attributes.hand, ["even", "left", "right"]); + this.id = attributes.id || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.corner = new _xfa_object.XFAObjectArray(4); + this.edge = new _xfa_object.XFAObjectArray(4); + this.extras = null; + this.fill = null; + this.margin = null; + } + [_symbol_utils.$getExtra]() { + if (!this[_symbol_utils.$extra]) { + const edges = this.edge.children.slice(); + if (edges.length < 4) { + const defaultEdge = edges.at(-1) || new Edge({}); + for (let i = edges.length; i < 4; i++) { + edges.push(defaultEdge); + } + } + const widths = edges.map(edge => edge.thickness); + const insets = [0, 0, 0, 0]; + if (this.margin) { + insets[0] = this.margin.topInset; + insets[1] = this.margin.rightInset; + insets[2] = this.margin.bottomInset; + insets[3] = this.margin.leftInset; + } + this[_symbol_utils.$extra] = { + widths, + insets, + edges + }; + } + return this[_symbol_utils.$extra]; + } + [_symbol_utils.$toStyle]() { + const { + edges + } = this[_symbol_utils.$getExtra](); + const edgeStyles = edges.map(node => { + const style = node[_symbol_utils.$toStyle](); + style.color ||= "#000000"; + return style; + }); + const style = Object.create(null); + if (this.margin) { + Object.assign(style, this.margin[_symbol_utils.$toStyle]()); + } + if (this.fill?.presence === "visible") { + Object.assign(style, this.fill[_symbol_utils.$toStyle]()); + } + if (this.corner.children.some(node => node.radius !== 0)) { + const cornerStyles = this.corner.children.map(node => node[_symbol_utils.$toStyle]()); + if (cornerStyles.length === 2 || cornerStyles.length === 3) { + const last = cornerStyles.at(-1); + for (let i = cornerStyles.length; i < 4; i++) { + cornerStyles.push(last); + } + } + style.borderRadius = cornerStyles.map(s => s.radius).join(" "); + } + switch (this.presence) { + case "invisible": + case "hidden": + style.borderStyle = ""; + break; + case "inactive": + style.borderStyle = "none"; + break; + default: + style.borderStyle = edgeStyles.map(s => s.style).join(" "); + break; + } + style.borderWidth = edgeStyles.map(s => s.width).join(" "); + style.borderColor = edgeStyles.map(s => s.color).join(" "); + return style; + } +} +class Break extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "break", true); + this.after = (0, _utils.getStringOption)(attributes.after, ["auto", "contentArea", "pageArea", "pageEven", "pageOdd"]); + this.afterTarget = attributes.afterTarget || ""; + this.before = (0, _utils.getStringOption)(attributes.before, ["auto", "contentArea", "pageArea", "pageEven", "pageOdd"]); + this.beforeTarget = attributes.beforeTarget || ""; + this.bookendLeader = attributes.bookendLeader || ""; + this.bookendTrailer = attributes.bookendTrailer || ""; + this.id = attributes.id || ""; + this.overflowLeader = attributes.overflowLeader || ""; + this.overflowTarget = attributes.overflowTarget || ""; + this.overflowTrailer = attributes.overflowTrailer || ""; + this.startNew = (0, _utils.getInteger)({ + data: attributes.startNew, + defaultValue: 0, + validate: x => x === 1 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } +} +class BreakAfter extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "breakAfter", true); + this.id = attributes.id || ""; + this.leader = attributes.leader || ""; + this.startNew = (0, _utils.getInteger)({ + data: attributes.startNew, + defaultValue: 0, + validate: x => x === 1 + }); + this.target = attributes.target || ""; + this.targetType = (0, _utils.getStringOption)(attributes.targetType, ["auto", "contentArea", "pageArea"]); + this.trailer = attributes.trailer || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.script = null; + } +} +class BreakBefore extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "breakBefore", true); + this.id = attributes.id || ""; + this.leader = attributes.leader || ""; + this.startNew = (0, _utils.getInteger)({ + data: attributes.startNew, + defaultValue: 0, + validate: x => x === 1 + }); + this.target = attributes.target || ""; + this.targetType = (0, _utils.getStringOption)(attributes.targetType, ["auto", "contentArea", "pageArea"]); + this.trailer = attributes.trailer || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.script = null; + } + [_symbol_utils.$toHTML](availableSpace) { + this[_symbol_utils.$extra] = {}; + return _utils.HTMLResult.FAILURE; + } +} +class Button extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "button", true); + this.highlight = (0, _utils.getStringOption)(attributes.highlight, ["inverted", "none", "outline", "push"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const parent = this[_symbol_utils.$getParent](); + const grandpa = parent[_symbol_utils.$getParent](); + const htmlButton = { + name: "button", + attributes: { + id: this[_symbol_utils.$uid], + class: ["xfaButton"], + style: {} + }, + children: [] + }; + for (const event of grandpa.event.children) { + if (event.activity !== "click" || !event.script) { + continue; + } + const jsURL = (0, _core_utils.recoverJsURL)(event.script[_symbol_utils.$content]); + if (!jsURL) { + continue; + } + const href = (0, _html_utils.fixURL)(jsURL.url); + if (!href) { + continue; + } + htmlButton.children.push({ + name: "a", + attributes: { + id: "link" + this[_symbol_utils.$uid], + href, + newWindow: jsURL.newWindow, + class: ["xfaLink"], + style: {} + }, + children: [] + }); + } + return _utils.HTMLResult.success(htmlButton); + } +} +class Calculate extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "calculate", true); + this.id = attributes.id || ""; + this.override = (0, _utils.getStringOption)(attributes.override, ["disabled", "error", "ignore", "warning"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.message = null; + this.script = null; + } +} +class Caption extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "caption", true); + this.id = attributes.id || ""; + this.placement = (0, _utils.getStringOption)(attributes.placement, ["left", "bottom", "inline", "right", "top"]); + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.reserve = Math.ceil((0, _utils.getMeasurement)(attributes.reserve)); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.font = null; + this.margin = null; + this.para = null; + this.value = null; + } + [_symbol_utils.$setValue](value) { + _setValue(this, value); + } + [_symbol_utils.$getExtra](availableSpace) { + if (!this[_symbol_utils.$extra]) { + let { + width, + height + } = availableSpace; + switch (this.placement) { + case "left": + case "right": + case "inline": + width = this.reserve <= 0 ? width : this.reserve; + break; + case "top": + case "bottom": + height = this.reserve <= 0 ? height : this.reserve; + break; + } + this[_symbol_utils.$extra] = (0, _html_utils.layoutNode)(this, { + width, + height + }); + } + return this[_symbol_utils.$extra]; + } + [_symbol_utils.$toHTML](availableSpace) { + if (!this.value) { + return _utils.HTMLResult.EMPTY; + } + this[_symbol_utils.$pushPara](); + const value = this.value[_symbol_utils.$toHTML](availableSpace).html; + if (!value) { + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.EMPTY; + } + const savedReserve = this.reserve; + if (this.reserve <= 0) { + const { + w, + h + } = this[_symbol_utils.$getExtra](availableSpace); + switch (this.placement) { + case "left": + case "right": + case "inline": + this.reserve = w; + break; + case "top": + case "bottom": + this.reserve = h; + break; + } + } + const children = []; + if (typeof value === "string") { + children.push({ + name: "#text", + value + }); + } else { + children.push(value); + } + const style = (0, _html_utils.toStyle)(this, "font", "margin", "visibility"); + switch (this.placement) { + case "left": + case "right": + if (this.reserve > 0) { + style.width = (0, _html_utils.measureToString)(this.reserve); + } + break; + case "top": + case "bottom": + if (this.reserve > 0) { + style.height = (0, _html_utils.measureToString)(this.reserve); + } + break; + } + (0, _html_utils.setPara)(this, null, value); + this[_symbol_utils.$popPara](); + this.reserve = savedReserve; + return _utils.HTMLResult.success({ + name: "div", + attributes: { + style, + class: ["xfaCaption"] + }, + children + }); + } +} +class Certificate extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "certificate"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Certificates extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "certificates", true); + this.credentialServerPolicy = (0, _utils.getStringOption)(attributes.credentialServerPolicy, ["optional", "required"]); + this.id = attributes.id || ""; + this.url = attributes.url || ""; + this.urlPolicy = attributes.urlPolicy || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.encryption = null; + this.issuers = null; + this.keyUsage = null; + this.oids = null; + this.signing = null; + this.subjectDNs = null; + } +} +class CheckButton extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "checkButton", true); + this.id = attributes.id || ""; + this.mark = (0, _utils.getStringOption)(attributes.mark, ["default", "check", "circle", "cross", "diamond", "square", "star"]); + this.shape = (0, _utils.getStringOption)(attributes.shape, ["square", "round"]); + this.size = (0, _utils.getMeasurement)(attributes.size, "10pt"); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)("margin"); + const size = (0, _html_utils.measureToString)(this.size); + style.width = style.height = size; + let type; + let className; + let groupId; + const field = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + const items = field.items.children.length && field.items.children[0][_symbol_utils.$toHTML]().html || []; + const exportedValue = { + on: (items[0] !== undefined ? items[0] : "on").toString(), + off: (items[1] !== undefined ? items[1] : "off").toString() + }; + const value = field.value?.[_symbol_utils.$text]() || "off"; + const checked = value === exportedValue.on || undefined; + const container = field[_symbol_utils.$getSubformParent](); + const fieldId = field[_symbol_utils.$uid]; + let dataId; + if (container instanceof ExclGroup) { + groupId = container[_symbol_utils.$uid]; + type = "radio"; + className = "xfaRadio"; + dataId = container[_symbol_utils.$data]?.[_symbol_utils.$uid] || container[_symbol_utils.$uid]; + } else { + type = "checkbox"; + className = "xfaCheckbox"; + dataId = field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid]; + } + const input = { + name: "input", + attributes: { + class: [className], + style, + fieldId, + dataId, + type, + checked, + xfaOn: exportedValue.on, + xfaOff: exportedValue.off, + "aria-label": ariaLabel(field), + "aria-required": false + } + }; + if (groupId) { + input.attributes.name = groupId; + } + if (isRequired(field)) { + input.attributes["aria-required"] = true; + input.attributes.required = true; + } + return _utils.HTMLResult.success({ + name: "label", + attributes: { + class: ["xfaLabel"] + }, + children: [input] + }); + } +} +class ChoiceList extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "choiceList", true); + this.commitOn = (0, _utils.getStringOption)(attributes.commitOn, ["select", "exit"]); + this.id = attributes.id || ""; + this.open = (0, _utils.getStringOption)(attributes.open, ["userControl", "always", "multiSelect", "onEntry"]); + this.textEntry = (0, _utils.getInteger)({ + data: attributes.textEntry, + defaultValue: 0, + validate: x => x === 1 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)(this, "border", "margin"); + const ui = this[_symbol_utils.$getParent](); + const field = ui[_symbol_utils.$getParent](); + const fontSize = field.font?.size || 10; + const optionStyle = { + fontSize: `calc(${fontSize}px * var(--scale-factor))` + }; + const children = []; + if (field.items.children.length > 0) { + const items = field.items; + let displayedIndex = 0; + let saveIndex = 0; + if (items.children.length === 2) { + displayedIndex = items.children[0].save; + saveIndex = 1 - displayedIndex; + } + const displayed = items.children[displayedIndex][_symbol_utils.$toHTML]().html; + const values = items.children[saveIndex][_symbol_utils.$toHTML]().html; + let selected = false; + const value = field.value?.[_symbol_utils.$text]() || ""; + for (let i = 0, ii = displayed.length; i < ii; i++) { + const option = { + name: "option", + attributes: { + value: values[i] || displayed[i], + style: optionStyle + }, + value: displayed[i] + }; + if (values[i] === value) { + option.attributes.selected = selected = true; + } + children.push(option); + } + if (!selected) { + children.splice(0, 0, { + name: "option", + attributes: { + hidden: true, + selected: true + }, + value: " " + }); + } + } + const selectAttributes = { + class: ["xfaSelect"], + fieldId: field[_symbol_utils.$uid], + dataId: field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid], + style, + "aria-label": ariaLabel(field), + "aria-required": false + }; + if (isRequired(field)) { + selectAttributes["aria-required"] = true; + selectAttributes.required = true; + } + if (this.open === "multiSelect") { + selectAttributes.multiple = true; + } + return _utils.HTMLResult.success({ + name: "label", + attributes: { + class: ["xfaLabel"] + }, + children: [{ + name: "select", + children, + attributes: selectAttributes + }] + }); + } +} +class Color extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "color", true); + this.cSpace = (0, _utils.getStringOption)(attributes.cSpace, ["SRGB"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.value = attributes.value ? (0, _utils.getColor)(attributes.value) : ""; + this.extras = null; + } + [_symbol_utils.$hasSettableValue]() { + return false; + } + [_symbol_utils.$toStyle]() { + return this.value ? _util.Util.makeHexColor(this.value.r, this.value.g, this.value.b) : null; + } +} +class Comb extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "comb"); + this.id = attributes.id || ""; + this.numberOfCells = (0, _utils.getInteger)({ + data: attributes.numberOfCells, + defaultValue: 0, + validate: x => x >= 0 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Connect extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "connect", true); + this.connection = attributes.connection || ""; + this.id = attributes.id || ""; + this.ref = attributes.ref || ""; + this.usage = (0, _utils.getStringOption)(attributes.usage, ["exportAndImport", "exportOnly", "importOnly"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.picture = null; + } +} +class ContentArea extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "contentArea", true); + this.h = (0, _utils.getMeasurement)(attributes.h); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.w = (0, _utils.getMeasurement)(attributes.w); + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.desc = null; + this.extras = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const left = (0, _html_utils.measureToString)(this.x); + const top = (0, _html_utils.measureToString)(this.y); + const style = { + left, + top, + width: (0, _html_utils.measureToString)(this.w), + height: (0, _html_utils.measureToString)(this.h) + }; + const classNames = ["xfaContentarea"]; + if ((0, _html_utils.isPrintOnly)(this)) { + classNames.push("xfaPrintOnly"); + } + return _utils.HTMLResult.success({ + name: "div", + children: [], + attributes: { + style, + class: classNames, + id: this[_symbol_utils.$uid] + } + }); + } +} +class Corner extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "corner", true); + this.id = attributes.id || ""; + this.inverted = (0, _utils.getInteger)({ + data: attributes.inverted, + defaultValue: 0, + validate: x => x === 1 + }); + this.join = (0, _utils.getStringOption)(attributes.join, ["square", "round"]); + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.radius = (0, _utils.getMeasurement)(attributes.radius); + this.stroke = (0, _utils.getStringOption)(attributes.stroke, ["solid", "dashDot", "dashDotDot", "dashed", "dotted", "embossed", "etched", "lowered", "raised"]); + this.thickness = (0, _utils.getMeasurement)(attributes.thickness, "0.5pt"); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle]() { + const style = (0, _html_utils.toStyle)(this, "visibility"); + style.radius = (0, _html_utils.measureToString)(this.join === "square" ? 0 : this.radius); + return style; + } +} +class DateElement extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "date"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const date = this[_symbol_utils.$content].trim(); + this[_symbol_utils.$content] = date ? new Date(date) : null; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] ? this[_symbol_utils.$content].toString() : ""); + } +} +class DateTime extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "dateTime"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const date = this[_symbol_utils.$content].trim(); + this[_symbol_utils.$content] = date ? new Date(date) : null; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] ? this[_symbol_utils.$content].toString() : ""); + } +} +class DateTimeEdit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "dateTimeEdit", true); + this.hScrollPolicy = (0, _utils.getStringOption)(attributes.hScrollPolicy, ["auto", "off", "on"]); + this.id = attributes.id || ""; + this.picker = (0, _utils.getStringOption)(attributes.picker, ["host", "none"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.comb = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)(this, "border", "font", "margin"); + const field = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + const html = { + name: "input", + attributes: { + type: "text", + fieldId: field[_symbol_utils.$uid], + dataId: field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid], + class: ["xfaTextfield"], + style, + "aria-label": ariaLabel(field), + "aria-required": false + } + }; + if (isRequired(field)) { + html.attributes["aria-required"] = true; + html.attributes.required = true; + } + return _utils.HTMLResult.success({ + name: "label", + attributes: { + class: ["xfaLabel"] + }, + children: [html] + }); + } +} +class Decimal extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "decimal"); + this.fracDigits = (0, _utils.getInteger)({ + data: attributes.fracDigits, + defaultValue: 2, + validate: x => true + }); + this.id = attributes.id || ""; + this.leadDigits = (0, _utils.getInteger)({ + data: attributes.leadDigits, + defaultValue: -1, + validate: x => true + }); + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const number = parseFloat(this[_symbol_utils.$content].trim()); + this[_symbol_utils.$content] = isNaN(number) ? null : number; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] !== null ? this[_symbol_utils.$content].toString() : ""); + } +} +class DefaultUi extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "defaultUi", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } +} +class Desc extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "desc", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.boolean = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + } +} +class DigestMethod extends _xfa_object.OptionObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "digestMethod", ["", "SHA1", "SHA256", "SHA512", "RIPEMD160"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class DigestMethods extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "digestMethods", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.digestMethod = new _xfa_object.XFAObjectArray(); + } +} +class Draw extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "draw", true); + this.anchorType = (0, _utils.getStringOption)(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); + this.colSpan = (0, _utils.getInteger)({ + data: attributes.colSpan, + defaultValue: 1, + validate: n => n >= 1 || n === -1 + }); + this.h = attributes.h ? (0, _utils.getMeasurement)(attributes.h) : ""; + this.hAlign = (0, _utils.getStringOption)(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); + this.id = attributes.id || ""; + this.locale = attributes.locale || ""; + this.maxH = (0, _utils.getMeasurement)(attributes.maxH, "0pt"); + this.maxW = (0, _utils.getMeasurement)(attributes.maxW, "0pt"); + this.minH = (0, _utils.getMeasurement)(attributes.minH, "0pt"); + this.minW = (0, _utils.getMeasurement)(attributes.minW, "0pt"); + this.name = attributes.name || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.rotate = (0, _utils.getInteger)({ + data: attributes.rotate, + defaultValue: 0, + validate: x => x % 90 === 0 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.w = attributes.w ? (0, _utils.getMeasurement)(attributes.w) : ""; + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.assist = null; + this.border = null; + this.caption = null; + this.desc = null; + this.extras = null; + this.font = null; + this.keep = null; + this.margin = null; + this.para = null; + this.traversal = null; + this.ui = null; + this.value = null; + this.setProperty = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$setValue](value) { + _setValue(this, value); + } + [_symbol_utils.$toHTML](availableSpace) { + setTabIndex(this); + if (this.presence === "hidden" || this.presence === "inactive") { + return _utils.HTMLResult.EMPTY; + } + (0, _html_utils.fixDimensions)(this); + this[_symbol_utils.$pushPara](); + const savedW = this.w; + const savedH = this.h; + const { + w, + h, + isBroken + } = (0, _html_utils.layoutNode)(this, availableSpace); + if (w && this.w === "") { + if (isBroken && this[_symbol_utils.$getSubformParent]()[_symbol_utils.$isThereMoreWidth]()) { + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.FAILURE; + } + this.w = w; + } + if (h && this.h === "") { + this.h = h; + } + setFirstUnsplittable(this); + if (!(0, _layout.checkDimensions)(this, availableSpace)) { + this.w = savedW; + this.h = savedH; + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.FAILURE; + } + unsetFirstUnsplittable(this); + const style = (0, _html_utils.toStyle)(this, "font", "hAlign", "dimensions", "position", "presence", "rotate", "anchorType", "border", "margin"); + (0, _html_utils.setMinMaxDimensions)(this, style); + if (style.margin) { + style.padding = style.margin; + delete style.margin; + } + const classNames = ["xfaDraw"]; + if (this.font) { + classNames.push("xfaFont"); + } + if ((0, _html_utils.isPrintOnly)(this)) { + classNames.push("xfaPrintOnly"); + } + const attributes = { + style, + id: this[_symbol_utils.$uid], + class: classNames + }; + if (this.name) { + attributes.xfaName = this.name; + } + const html = { + name: "div", + attributes, + children: [] + }; + applyAssist(this, attributes); + const bbox = (0, _html_utils.computeBbox)(this, html, availableSpace); + const value = this.value ? this.value[_symbol_utils.$toHTML](availableSpace).html : null; + if (value === null) { + this.w = savedW; + this.h = savedH; + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } + html.children.push(value); + (0, _html_utils.setPara)(this, style, value); + this.w = savedW; + this.h = savedH; + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } +} +class Edge extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "edge", true); + this.cap = (0, _utils.getStringOption)(attributes.cap, ["square", "butt", "round"]); + this.id = attributes.id || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.stroke = (0, _utils.getStringOption)(attributes.stroke, ["solid", "dashDot", "dashDotDot", "dashed", "dotted", "embossed", "etched", "lowered", "raised"]); + this.thickness = (0, _utils.getMeasurement)(attributes.thickness, "0.5pt"); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle]() { + const style = (0, _html_utils.toStyle)(this, "visibility"); + Object.assign(style, { + linecap: this.cap, + width: (0, _html_utils.measureToString)(this.thickness), + color: this.color ? this.color[_symbol_utils.$toStyle]() : "#000000", + style: "" + }); + if (this.presence !== "visible") { + style.style = "none"; + } else { + switch (this.stroke) { + case "solid": + style.style = "solid"; + break; + case "dashDot": + style.style = "dashed"; + break; + case "dashDotDot": + style.style = "dashed"; + break; + case "dashed": + style.style = "dashed"; + break; + case "dotted": + style.style = "dotted"; + break; + case "embossed": + style.style = "ridge"; + break; + case "etched": + style.style = "groove"; + break; + case "lowered": + style.style = "inset"; + break; + case "raised": + style.style = "outset"; + break; + } + } + return style; + } +} +class Encoding extends _xfa_object.OptionObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encoding", ["adbe.x509.rsa_sha1", "adbe.pkcs7.detached", "adbe.pkcs7.sha1"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Encodings extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encodings", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.encoding = new _xfa_object.XFAObjectArray(); + } +} +class Encrypt extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encrypt", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.certificate = null; + } +} +class EncryptData extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encryptData", true); + this.id = attributes.id || ""; + this.operation = (0, _utils.getStringOption)(attributes.operation, ["encrypt", "decrypt"]); + this.target = attributes.target || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.filter = null; + this.manifest = null; + } +} +class Encryption extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encryption", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.certificate = new _xfa_object.XFAObjectArray(); + } +} +class EncryptionMethod extends _xfa_object.OptionObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encryptionMethod", ["", "AES256-CBC", "TRIPLEDES-CBC", "AES128-CBC", "AES192-CBC"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class EncryptionMethods extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "encryptionMethods", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.encryptionMethod = new _xfa_object.XFAObjectArray(); + } +} +class Event extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "event", true); + this.activity = (0, _utils.getStringOption)(attributes.activity, ["click", "change", "docClose", "docReady", "enter", "exit", "full", "indexChange", "initialize", "mouseDown", "mouseEnter", "mouseExit", "mouseUp", "postExecute", "postOpen", "postPrint", "postSave", "postSign", "postSubmit", "preExecute", "preOpen", "prePrint", "preSave", "preSign", "preSubmit", "ready", "validationState"]); + this.id = attributes.id || ""; + this.listen = (0, _utils.getStringOption)(attributes.listen, ["refOnly", "refAndDescendents"]); + this.name = attributes.name || ""; + this.ref = attributes.ref || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.encryptData = null; + this.execute = null; + this.script = null; + this.signData = null; + this.submit = null; + } +} +class ExData extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "exData"); + this.contentType = attributes.contentType || ""; + this.href = attributes.href || ""; + this.id = attributes.id || ""; + this.maxLength = (0, _utils.getInteger)({ + data: attributes.maxLength, + defaultValue: -1, + validate: x => x >= -1 + }); + this.name = attributes.name || ""; + this.rid = attributes.rid || ""; + this.transferEncoding = (0, _utils.getStringOption)(attributes.transferEncoding, ["none", "base64", "package"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$isCDATAXml]() { + return this.contentType === "text/html"; + } + [_symbol_utils.$onChild](child) { + if (this.contentType === "text/html" && child[_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.xhtml.id) { + this[_symbol_utils.$content] = child; + return true; + } + if (this.contentType === "text/xml") { + this[_symbol_utils.$content] = child; + return true; + } + return false; + } + [_symbol_utils.$toHTML](availableSpace) { + if (this.contentType !== "text/html" || !this[_symbol_utils.$content]) { + return _utils.HTMLResult.EMPTY; + } + return this[_symbol_utils.$content][_symbol_utils.$toHTML](availableSpace); + } +} +class ExObject extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "exObject", true); + this.archive = attributes.archive || ""; + this.classId = attributes.classId || ""; + this.codeBase = attributes.codeBase || ""; + this.codeType = attributes.codeType || ""; + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.boolean = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.exObject = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + } +} +class ExclGroup extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "exclGroup", true); + this.access = (0, _utils.getStringOption)(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); + this.accessKey = attributes.accessKey || ""; + this.anchorType = (0, _utils.getStringOption)(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); + this.colSpan = (0, _utils.getInteger)({ + data: attributes.colSpan, + defaultValue: 1, + validate: n => n >= 1 || n === -1 + }); + this.h = attributes.h ? (0, _utils.getMeasurement)(attributes.h) : ""; + this.hAlign = (0, _utils.getStringOption)(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); + this.id = attributes.id || ""; + this.layout = (0, _utils.getStringOption)(attributes.layout, ["position", "lr-tb", "rl-row", "rl-tb", "row", "table", "tb"]); + this.maxH = (0, _utils.getMeasurement)(attributes.maxH, "0pt"); + this.maxW = (0, _utils.getMeasurement)(attributes.maxW, "0pt"); + this.minH = (0, _utils.getMeasurement)(attributes.minH, "0pt"); + this.minW = (0, _utils.getMeasurement)(attributes.minW, "0pt"); + this.name = attributes.name || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.w = attributes.w ? (0, _utils.getMeasurement)(attributes.w) : ""; + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.assist = null; + this.bind = null; + this.border = null; + this.calculate = null; + this.caption = null; + this.desc = null; + this.extras = null; + this.margin = null; + this.para = null; + this.traversal = null; + this.validate = null; + this.connect = new _xfa_object.XFAObjectArray(); + this.event = new _xfa_object.XFAObjectArray(); + this.field = new _xfa_object.XFAObjectArray(); + this.setProperty = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$isBindable]() { + return true; + } + [_symbol_utils.$hasSettableValue]() { + return true; + } + [_symbol_utils.$setValue](value) { + for (const field of this.field.children) { + if (!field.value) { + const nodeValue = new Value({}); + field[_symbol_utils.$appendChild](nodeValue); + field.value = nodeValue; + } + field.value[_symbol_utils.$setValue](value); + } + } + [_symbol_utils.$isThereMoreWidth]() { + return this.layout.endsWith("-tb") && this[_symbol_utils.$extra].attempt === 0 && this[_symbol_utils.$extra].numberInLine > 0 || this[_symbol_utils.$getParent]()[_symbol_utils.$isThereMoreWidth](); + } + [_symbol_utils.$isSplittable]() { + const parent = this[_symbol_utils.$getSubformParent](); + if (!parent[_symbol_utils.$isSplittable]()) { + return false; + } + if (this[_symbol_utils.$extra]._isSplittable !== undefined) { + return this[_symbol_utils.$extra]._isSplittable; + } + if (this.layout === "position" || this.layout.includes("row")) { + this[_symbol_utils.$extra]._isSplittable = false; + return false; + } + if (parent.layout?.endsWith("-tb") && parent[_symbol_utils.$extra].numberInLine !== 0) { + return false; + } + this[_symbol_utils.$extra]._isSplittable = true; + return true; + } + [_symbol_utils.$flushHTML]() { + return (0, _layout.flushHTML)(this); + } + [_symbol_utils.$addHTML](html, bbox) { + (0, _layout.addHTML)(this, html, bbox); + } + [_symbol_utils.$getAvailableSpace]() { + return (0, _layout.getAvailableSpace)(this); + } + [_symbol_utils.$toHTML](availableSpace) { + setTabIndex(this); + if (this.presence === "hidden" || this.presence === "inactive" || this.h === 0 || this.w === 0) { + return _utils.HTMLResult.EMPTY; + } + (0, _html_utils.fixDimensions)(this); + const children = []; + const attributes = { + id: this[_symbol_utils.$uid], + class: [] + }; + (0, _html_utils.setAccess)(this, attributes.class); + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = Object.create(null); + } + Object.assign(this[_symbol_utils.$extra], { + children, + attributes, + attempt: 0, + line: null, + numberInLine: 0, + availableSpace: { + width: Math.min(this.w || Infinity, availableSpace.width), + height: Math.min(this.h || Infinity, availableSpace.height) + }, + width: 0, + height: 0, + prevHeight: 0, + currentWidth: 0 + }); + const isSplittable = this[_symbol_utils.$isSplittable](); + if (!isSplittable) { + setFirstUnsplittable(this); + } + if (!(0, _layout.checkDimensions)(this, availableSpace)) { + return _utils.HTMLResult.FAILURE; + } + const filter = new Set(["field"]); + if (this.layout.includes("row")) { + const columnWidths = this[_symbol_utils.$getSubformParent]().columnWidths; + if (Array.isArray(columnWidths) && columnWidths.length > 0) { + this[_symbol_utils.$extra].columnWidths = columnWidths; + this[_symbol_utils.$extra].currentColumn = 0; + } + } + const style = (0, _html_utils.toStyle)(this, "anchorType", "dimensions", "position", "presence", "border", "margin", "hAlign"); + const classNames = ["xfaExclgroup"]; + const cl = (0, _html_utils.layoutClass)(this); + if (cl) { + classNames.push(cl); + } + if ((0, _html_utils.isPrintOnly)(this)) { + classNames.push("xfaPrintOnly"); + } + attributes.style = style; + attributes.class = classNames; + if (this.name) { + attributes.xfaName = this.name; + } + this[_symbol_utils.$pushPara](); + const isLrTb = this.layout === "lr-tb" || this.layout === "rl-tb"; + const maxRun = isLrTb ? MAX_ATTEMPTS_FOR_LRTB_LAYOUT : 1; + for (; this[_symbol_utils.$extra].attempt < maxRun; this[_symbol_utils.$extra].attempt++) { + if (isLrTb && this[_symbol_utils.$extra].attempt === MAX_ATTEMPTS_FOR_LRTB_LAYOUT - 1) { + this[_symbol_utils.$extra].numberInLine = 0; + } + const result = this[_symbol_utils.$childrenToHTML]({ + filter, + include: true + }); + if (result.success) { + break; + } + if (result.isBreak()) { + this[_symbol_utils.$popPara](); + return result; + } + if (isLrTb && this[_symbol_utils.$extra].attempt === 0 && this[_symbol_utils.$extra].numberInLine === 0 && !this[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + this[_symbol_utils.$extra].attempt = maxRun; + break; + } + } + this[_symbol_utils.$popPara](); + if (!isSplittable) { + unsetFirstUnsplittable(this); + } + if (this[_symbol_utils.$extra].attempt === maxRun) { + if (!isSplittable) { + delete this[_symbol_utils.$extra]; + } + return _utils.HTMLResult.FAILURE; + } + let marginH = 0; + let marginV = 0; + if (this.margin) { + marginH = this.margin.leftInset + this.margin.rightInset; + marginV = this.margin.topInset + this.margin.bottomInset; + } + const width = Math.max(this[_symbol_utils.$extra].width + marginH, this.w || 0); + const height = Math.max(this[_symbol_utils.$extra].height + marginV, this.h || 0); + const bbox = [this.x, this.y, width, height]; + if (this.w === "") { + style.width = (0, _html_utils.measureToString)(width); + } + if (this.h === "") { + style.height = (0, _html_utils.measureToString)(height); + } + const html = { + name: "div", + attributes, + children + }; + applyAssist(this, attributes); + delete this[_symbol_utils.$extra]; + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } +} +class Execute extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "execute"); + this.connection = attributes.connection || ""; + this.executeType = (0, _utils.getStringOption)(attributes.executeType, ["import", "remerge"]); + this.id = attributes.id || ""; + this.runAt = (0, _utils.getStringOption)(attributes.runAt, ["client", "both", "server"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Extras extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "extras", true); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.boolean = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.extras = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + } +} +class Field extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "field", true); + this.access = (0, _utils.getStringOption)(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); + this.accessKey = attributes.accessKey || ""; + this.anchorType = (0, _utils.getStringOption)(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); + this.colSpan = (0, _utils.getInteger)({ + data: attributes.colSpan, + defaultValue: 1, + validate: n => n >= 1 || n === -1 + }); + this.h = attributes.h ? (0, _utils.getMeasurement)(attributes.h) : ""; + this.hAlign = (0, _utils.getStringOption)(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); + this.id = attributes.id || ""; + this.locale = attributes.locale || ""; + this.maxH = (0, _utils.getMeasurement)(attributes.maxH, "0pt"); + this.maxW = (0, _utils.getMeasurement)(attributes.maxW, "0pt"); + this.minH = (0, _utils.getMeasurement)(attributes.minH, "0pt"); + this.minW = (0, _utils.getMeasurement)(attributes.minW, "0pt"); + this.name = attributes.name || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.rotate = (0, _utils.getInteger)({ + data: attributes.rotate, + defaultValue: 0, + validate: x => x % 90 === 0 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.w = attributes.w ? (0, _utils.getMeasurement)(attributes.w) : ""; + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.assist = null; + this.bind = null; + this.border = null; + this.calculate = null; + this.caption = null; + this.desc = null; + this.extras = null; + this.font = null; + this.format = null; + this.items = new _xfa_object.XFAObjectArray(2); + this.keep = null; + this.margin = null; + this.para = null; + this.traversal = null; + this.ui = null; + this.validate = null; + this.value = null; + this.bindItems = new _xfa_object.XFAObjectArray(); + this.connect = new _xfa_object.XFAObjectArray(); + this.event = new _xfa_object.XFAObjectArray(); + this.setProperty = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$isBindable]() { + return true; + } + [_symbol_utils.$setValue](value) { + _setValue(this, value); + } + [_symbol_utils.$toHTML](availableSpace) { + setTabIndex(this); + if (!this.ui) { + this.ui = new Ui({}); + this.ui[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + this[_symbol_utils.$appendChild](this.ui); + let node; + switch (this.items.children.length) { + case 0: + node = new TextEdit({}); + this.ui.textEdit = node; + break; + case 1: + node = new CheckButton({}); + this.ui.checkButton = node; + break; + case 2: + node = new ChoiceList({}); + this.ui.choiceList = node; + break; + } + this.ui[_symbol_utils.$appendChild](node); + } + if (!this.ui || this.presence === "hidden" || this.presence === "inactive" || this.h === 0 || this.w === 0) { + return _utils.HTMLResult.EMPTY; + } + if (this.caption) { + delete this.caption[_symbol_utils.$extra]; + } + this[_symbol_utils.$pushPara](); + const caption = this.caption ? this.caption[_symbol_utils.$toHTML](availableSpace).html : null; + const savedW = this.w; + const savedH = this.h; + let marginH = 0; + let marginV = 0; + if (this.margin) { + marginH = this.margin.leftInset + this.margin.rightInset; + marginV = this.margin.topInset + this.margin.bottomInset; + } + let borderDims = null; + if (this.w === "" || this.h === "") { + let width = null; + let height = null; + let uiW = 0; + let uiH = 0; + if (this.ui.checkButton) { + uiW = uiH = this.ui.checkButton.size; + } else { + const { + w, + h + } = (0, _html_utils.layoutNode)(this, availableSpace); + if (w !== null) { + uiW = w; + uiH = h; + } else { + uiH = (0, _fonts.getMetrics)(this.font, true).lineNoGap; + } + } + borderDims = getBorderDims(this.ui[_symbol_utils.$getExtra]()); + uiW += borderDims.w; + uiH += borderDims.h; + if (this.caption) { + const { + w, + h, + isBroken + } = this.caption[_symbol_utils.$getExtra](availableSpace); + if (isBroken && this[_symbol_utils.$getSubformParent]()[_symbol_utils.$isThereMoreWidth]()) { + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.FAILURE; + } + width = w; + height = h; + switch (this.caption.placement) { + case "left": + case "right": + case "inline": + width += uiW; + break; + case "top": + case "bottom": + height += uiH; + break; + } + } else { + width = uiW; + height = uiH; + } + if (width && this.w === "") { + width += marginH; + this.w = Math.min(this.maxW <= 0 ? Infinity : this.maxW, this.minW + 1 < width ? width : this.minW); + } + if (height && this.h === "") { + height += marginV; + this.h = Math.min(this.maxH <= 0 ? Infinity : this.maxH, this.minH + 1 < height ? height : this.minH); + } + } + this[_symbol_utils.$popPara](); + (0, _html_utils.fixDimensions)(this); + setFirstUnsplittable(this); + if (!(0, _layout.checkDimensions)(this, availableSpace)) { + this.w = savedW; + this.h = savedH; + this[_symbol_utils.$popPara](); + return _utils.HTMLResult.FAILURE; + } + unsetFirstUnsplittable(this); + const style = (0, _html_utils.toStyle)(this, "font", "dimensions", "position", "rotate", "anchorType", "presence", "margin", "hAlign"); + (0, _html_utils.setMinMaxDimensions)(this, style); + const classNames = ["xfaField"]; + if (this.font) { + classNames.push("xfaFont"); + } + if ((0, _html_utils.isPrintOnly)(this)) { + classNames.push("xfaPrintOnly"); + } + const attributes = { + style, + id: this[_symbol_utils.$uid], + class: classNames + }; + if (style.margin) { + style.padding = style.margin; + delete style.margin; + } + (0, _html_utils.setAccess)(this, classNames); + if (this.name) { + attributes.xfaName = this.name; + } + const children = []; + const html = { + name: "div", + attributes, + children + }; + applyAssist(this, attributes); + const borderStyle = this.border ? this.border[_symbol_utils.$toStyle]() : null; + const bbox = (0, _html_utils.computeBbox)(this, html, availableSpace); + const ui = this.ui[_symbol_utils.$toHTML]().html; + if (!ui) { + Object.assign(style, borderStyle); + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } + if (this[_symbol_utils.$tabIndex]) { + if (ui.children?.[0]) { + ui.children[0].attributes.tabindex = this[_symbol_utils.$tabIndex]; + } else { + ui.attributes.tabindex = this[_symbol_utils.$tabIndex]; + } + } + if (!ui.attributes.style) { + ui.attributes.style = Object.create(null); + } + let aElement = null; + if (this.ui.button) { + if (ui.children.length === 1) { + [aElement] = ui.children.splice(0, 1); + } + Object.assign(ui.attributes.style, borderStyle); + } else { + Object.assign(style, borderStyle); + } + children.push(ui); + if (this.value) { + if (this.ui.imageEdit) { + ui.children.push(this.value[_symbol_utils.$toHTML]().html); + } else if (!this.ui.button) { + let value = ""; + if (this.value.exData) { + value = this.value.exData[_symbol_utils.$text](); + } else if (this.value.text) { + value = this.value.text[_symbol_utils.$getExtra](); + } else { + const htmlValue = this.value[_symbol_utils.$toHTML]().html; + if (htmlValue !== null) { + value = htmlValue.children[0].value; + } + } + if (this.ui.textEdit && this.value.text?.maxChars) { + ui.children[0].attributes.maxLength = this.value.text.maxChars; + } + if (value) { + if (this.ui.numericEdit) { + value = parseFloat(value); + value = isNaN(value) ? "" : value.toString(); + } + if (ui.children[0].name === "textarea") { + ui.children[0].attributes.textContent = value; + } else { + ui.children[0].attributes.value = value; + } + } + } + } + if (!this.ui.imageEdit && ui.children?.[0] && this.h) { + borderDims = borderDims || getBorderDims(this.ui[_symbol_utils.$getExtra]()); + let captionHeight = 0; + if (this.caption && ["top", "bottom"].includes(this.caption.placement)) { + captionHeight = this.caption.reserve; + if (captionHeight <= 0) { + captionHeight = this.caption[_symbol_utils.$getExtra](availableSpace).h; + } + const inputHeight = this.h - captionHeight - marginV - borderDims.h; + ui.children[0].attributes.style.height = (0, _html_utils.measureToString)(inputHeight); + } else { + ui.children[0].attributes.style.height = "100%"; + } + } + if (aElement) { + ui.children.push(aElement); + } + if (!caption) { + if (ui.attributes.class) { + ui.attributes.class.push("xfaLeft"); + } + this.w = savedW; + this.h = savedH; + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } + if (this.ui.button) { + if (style.padding) { + delete style.padding; + } + if (caption.name === "div") { + caption.name = "span"; + } + ui.children.push(caption); + return _utils.HTMLResult.success(html, bbox); + } else if (this.ui.checkButton) { + caption.attributes.class[0] = "xfaCaptionForCheckButton"; + } + if (!ui.attributes.class) { + ui.attributes.class = []; + } + ui.children.splice(0, 0, caption); + switch (this.caption.placement) { + case "left": + ui.attributes.class.push("xfaLeft"); + break; + case "right": + ui.attributes.class.push("xfaRight"); + break; + case "top": + ui.attributes.class.push("xfaTop"); + break; + case "bottom": + ui.attributes.class.push("xfaBottom"); + break; + case "inline": + ui.attributes.class.push("xfaLeft"); + break; + } + this.w = savedW; + this.h = savedH; + return _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + } +} +exports.Field = Field; +class Fill extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "fill", true); + this.id = attributes.id || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + this.linear = null; + this.pattern = null; + this.radial = null; + this.solid = null; + this.stipple = null; + } + [_symbol_utils.$toStyle]() { + const parent = this[_symbol_utils.$getParent](); + const grandpa = parent[_symbol_utils.$getParent](); + const ggrandpa = grandpa[_symbol_utils.$getParent](); + const style = Object.create(null); + let propName = "color"; + let altPropName = propName; + if (parent instanceof Border) { + propName = "background-color"; + altPropName = "background"; + if (ggrandpa instanceof Ui) { + style.backgroundColor = "white"; + } + } + if (parent instanceof Rectangle || parent instanceof Arc) { + propName = altPropName = "fill"; + style.fill = "white"; + } + for (const name of Object.getOwnPropertyNames(this)) { + if (name === "extras" || name === "color") { + continue; + } + const obj = this[name]; + if (!(obj instanceof _xfa_object.XFAObject)) { + continue; + } + const color = obj[_symbol_utils.$toStyle](this.color); + if (color) { + style[color.startsWith("#") ? propName : altPropName] = color; + } + return style; + } + if (this.color?.value) { + const color = this.color[_symbol_utils.$toStyle](); + style[color.startsWith("#") ? propName : altPropName] = color; + } + return style; + } +} +class Filter extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "filter", true); + this.addRevocationInfo = (0, _utils.getStringOption)(attributes.addRevocationInfo, ["", "required", "optional", "none"]); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.version = (0, _utils.getInteger)({ + data: this.version, + defaultValue: 5, + validate: x => x >= 1 && x <= 5 + }); + this.appearanceFilter = null; + this.certificates = null; + this.digestMethods = null; + this.encodings = null; + this.encryptionMethods = null; + this.handler = null; + this.lockDocument = null; + this.mdp = null; + this.reasons = null; + this.timeStamp = null; + } +} +class Float extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "float"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const number = parseFloat(this[_symbol_utils.$content].trim()); + this[_symbol_utils.$content] = isNaN(number) ? null : number; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] !== null ? this[_symbol_utils.$content].toString() : ""); + } +} +class Font extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "font", true); + this.baselineShift = (0, _utils.getMeasurement)(attributes.baselineShift); + this.fontHorizontalScale = (0, _utils.getFloat)({ + data: attributes.fontHorizontalScale, + defaultValue: 100, + validate: x => x >= 0 + }); + this.fontVerticalScale = (0, _utils.getFloat)({ + data: attributes.fontVerticalScale, + defaultValue: 100, + validate: x => x >= 0 + }); + this.id = attributes.id || ""; + this.kerningMode = (0, _utils.getStringOption)(attributes.kerningMode, ["none", "pair"]); + this.letterSpacing = (0, _utils.getMeasurement)(attributes.letterSpacing, "0"); + this.lineThrough = (0, _utils.getInteger)({ + data: attributes.lineThrough, + defaultValue: 0, + validate: x => x === 1 || x === 2 + }); + this.lineThroughPeriod = (0, _utils.getStringOption)(attributes.lineThroughPeriod, ["all", "word"]); + this.overline = (0, _utils.getInteger)({ + data: attributes.overline, + defaultValue: 0, + validate: x => x === 1 || x === 2 + }); + this.overlinePeriod = (0, _utils.getStringOption)(attributes.overlinePeriod, ["all", "word"]); + this.posture = (0, _utils.getStringOption)(attributes.posture, ["normal", "italic"]); + this.size = (0, _utils.getMeasurement)(attributes.size, "10pt"); + this.typeface = attributes.typeface || "Courier"; + this.underline = (0, _utils.getInteger)({ + data: attributes.underline, + defaultValue: 0, + validate: x => x === 1 || x === 2 + }); + this.underlinePeriod = (0, _utils.getStringOption)(attributes.underlinePeriod, ["all", "word"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.weight = (0, _utils.getStringOption)(attributes.weight, ["normal", "bold"]); + this.extras = null; + this.fill = null; + } + [_symbol_utils.$clean](builder) { + super[_symbol_utils.$clean](builder); + this[_symbol_utils.$globalData].usedTypefaces.add(this.typeface); + } + [_symbol_utils.$toStyle]() { + const style = (0, _html_utils.toStyle)(this, "fill"); + const color = style.color; + if (color) { + if (color === "#000000") { + delete style.color; + } else if (!color.startsWith("#")) { + style.background = color; + style.backgroundClip = "text"; + style.color = "transparent"; + } + } + if (this.baselineShift) { + style.verticalAlign = (0, _html_utils.measureToString)(this.baselineShift); + } + style.fontKerning = this.kerningMode === "none" ? "none" : "normal"; + style.letterSpacing = (0, _html_utils.measureToString)(this.letterSpacing); + if (this.lineThrough !== 0) { + style.textDecoration = "line-through"; + if (this.lineThrough === 2) { + style.textDecorationStyle = "double"; + } + } + if (this.overline !== 0) { + style.textDecoration = "overline"; + if (this.overline === 2) { + style.textDecorationStyle = "double"; + } + } + style.fontStyle = this.posture; + style.fontSize = (0, _html_utils.measureToString)(0.99 * this.size); + (0, _html_utils.setFontFamily)(this, this, this[_symbol_utils.$globalData].fontFinder, style); + if (this.underline !== 0) { + style.textDecoration = "underline"; + if (this.underline === 2) { + style.textDecorationStyle = "double"; + } + } + style.fontWeight = this.weight; + return style; + } +} +class Format extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "format", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.picture = null; + } +} +class Handler extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "handler"); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Hyphenation extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "hyphenation"); + this.excludeAllCaps = (0, _utils.getInteger)({ + data: attributes.excludeAllCaps, + defaultValue: 0, + validate: x => x === 1 + }); + this.excludeInitialCap = (0, _utils.getInteger)({ + data: attributes.excludeInitialCap, + defaultValue: 0, + validate: x => x === 1 + }); + this.hyphenate = (0, _utils.getInteger)({ + data: attributes.hyphenate, + defaultValue: 0, + validate: x => x === 1 + }); + this.id = attributes.id || ""; + this.pushCharacterCount = (0, _utils.getInteger)({ + data: attributes.pushCharacterCount, + defaultValue: 3, + validate: x => x >= 0 + }); + this.remainCharacterCount = (0, _utils.getInteger)({ + data: attributes.remainCharacterCount, + defaultValue: 3, + validate: x => x >= 0 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.wordCharacterCount = (0, _utils.getInteger)({ + data: attributes.wordCharacterCount, + defaultValue: 7, + validate: x => x >= 0 + }); + } +} +class Image extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "image"); + this.aspect = (0, _utils.getStringOption)(attributes.aspect, ["fit", "actual", "height", "none", "width"]); + this.contentType = attributes.contentType || ""; + this.href = attributes.href || ""; + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.transferEncoding = (0, _utils.getStringOption)(attributes.transferEncoding, ["base64", "none", "package"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$toHTML]() { + if (this.contentType && !MIMES.has(this.contentType.toLowerCase())) { + return _utils.HTMLResult.EMPTY; + } + let buffer = this[_symbol_utils.$globalData].images && this[_symbol_utils.$globalData].images.get(this.href); + if (!buffer && (this.href || !this[_symbol_utils.$content])) { + return _utils.HTMLResult.EMPTY; + } + if (!buffer && this.transferEncoding === "base64") { + buffer = (0, _util.stringToBytes)(atob(this[_symbol_utils.$content])); + } + if (!buffer) { + return _utils.HTMLResult.EMPTY; + } + if (!this.contentType) { + for (const [header, type] of IMAGES_HEADERS) { + if (buffer.length > header.length && header.every((x, i) => x === buffer[i])) { + this.contentType = type; + break; + } + } + if (!this.contentType) { + return _utils.HTMLResult.EMPTY; + } + } + const blob = new Blob([buffer], { + type: this.contentType + }); + let style; + switch (this.aspect) { + case "fit": + case "actual": + break; + case "height": + style = { + height: "100%", + objectFit: "fill" + }; + break; + case "none": + style = { + width: "100%", + height: "100%", + objectFit: "fill" + }; + break; + case "width": + style = { + width: "100%", + objectFit: "fill" + }; + break; + } + const parent = this[_symbol_utils.$getParent](); + return _utils.HTMLResult.success({ + name: "img", + attributes: { + class: ["xfaImage"], + style, + src: URL.createObjectURL(blob), + alt: parent ? ariaLabel(parent[_symbol_utils.$getParent]()) : null + } + }); + } +} +class ImageEdit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "imageEdit", true); + this.data = (0, _utils.getStringOption)(attributes.data, ["link", "embed"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + if (this.data === "embed") { + return _utils.HTMLResult.success({ + name: "div", + children: [], + attributes: {} + }); + } + return _utils.HTMLResult.EMPTY; + } +} +class Integer extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "integer"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const number = parseInt(this[_symbol_utils.$content].trim(), 10); + this[_symbol_utils.$content] = isNaN(number) ? null : number; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] !== null ? this[_symbol_utils.$content].toString() : ""); + } +} +class Issuers extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "issuers", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.certificate = new _xfa_object.XFAObjectArray(); + } +} +class Items extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "items", true); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.ref = attributes.ref || ""; + this.save = (0, _utils.getInteger)({ + data: attributes.save, + defaultValue: 0, + validate: x => x === 1 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.boolean = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$toHTML]() { + const output = []; + for (const child of this[_symbol_utils.$getChildren]()) { + output.push(child[_symbol_utils.$text]()); + } + return _utils.HTMLResult.success(output); + } +} +exports.Items = Items; +class Keep extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "keep", true); + this.id = attributes.id || ""; + const options = ["none", "contentArea", "pageArea"]; + this.intact = (0, _utils.getStringOption)(attributes.intact, options); + this.next = (0, _utils.getStringOption)(attributes.next, options); + this.previous = (0, _utils.getStringOption)(attributes.previous, options); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } +} +class KeyUsage extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "keyUsage"); + const options = ["", "yes", "no"]; + this.crlSign = (0, _utils.getStringOption)(attributes.crlSign, options); + this.dataEncipherment = (0, _utils.getStringOption)(attributes.dataEncipherment, options); + this.decipherOnly = (0, _utils.getStringOption)(attributes.decipherOnly, options); + this.digitalSignature = (0, _utils.getStringOption)(attributes.digitalSignature, options); + this.encipherOnly = (0, _utils.getStringOption)(attributes.encipherOnly, options); + this.id = attributes.id || ""; + this.keyAgreement = (0, _utils.getStringOption)(attributes.keyAgreement, options); + this.keyCertSign = (0, _utils.getStringOption)(attributes.keyCertSign, options); + this.keyEncipherment = (0, _utils.getStringOption)(attributes.keyEncipherment, options); + this.nonRepudiation = (0, _utils.getStringOption)(attributes.nonRepudiation, options); + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Line extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "line", true); + this.hand = (0, _utils.getStringOption)(attributes.hand, ["even", "left", "right"]); + this.id = attributes.id || ""; + this.slope = (0, _utils.getStringOption)(attributes.slope, ["\\", "/"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.edge = null; + } + [_symbol_utils.$toHTML]() { + const parent = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + const edge = this.edge || new Edge({}); + const edgeStyle = edge[_symbol_utils.$toStyle](); + const style = Object.create(null); + const thickness = edge.presence === "visible" ? edge.thickness : 0; + style.strokeWidth = (0, _html_utils.measureToString)(thickness); + style.stroke = edgeStyle.color; + let x1, y1, x2, y2; + let width = "100%"; + let height = "100%"; + if (parent.w <= thickness) { + [x1, y1, x2, y2] = ["50%", 0, "50%", "100%"]; + width = style.strokeWidth; + } else if (parent.h <= thickness) { + [x1, y1, x2, y2] = [0, "50%", "100%", "50%"]; + height = style.strokeWidth; + } else { + if (this.slope === "\\") { + [x1, y1, x2, y2] = [0, 0, "100%", "100%"]; + } else { + [x1, y1, x2, y2] = [0, "100%", "100%", 0]; + } + } + const line = { + name: "line", + attributes: { + xmlns: SVG_NS, + x1, + y1, + x2, + y2, + style + } + }; + const svg = { + name: "svg", + children: [line], + attributes: { + xmlns: SVG_NS, + width, + height, + style: { + overflow: "visible" + } + } + }; + if (hasMargin(parent)) { + return _utils.HTMLResult.success({ + name: "div", + attributes: { + style: { + display: "inline", + width: "100%", + height: "100%" + } + }, + children: [svg] + }); + } + svg.attributes.style.position = "absolute"; + return _utils.HTMLResult.success(svg); + } +} +class Linear extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "linear", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["toRight", "toBottom", "toLeft", "toTop"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle](startColor) { + startColor = startColor ? startColor[_symbol_utils.$toStyle]() : "#FFFFFF"; + const transf = this.type.replace(/([RBLT])/, " $1").toLowerCase(); + const endColor = this.color ? this.color[_symbol_utils.$toStyle]() : "#000000"; + return `linear-gradient(${transf}, ${startColor}, ${endColor})`; + } +} +class LockDocument extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "lockDocument"); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = (0, _utils.getStringOption)(this[_symbol_utils.$content], ["auto", "0", "1"]); + } +} +class Manifest extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "manifest", true); + this.action = (0, _utils.getStringOption)(attributes.action, ["include", "all", "exclude"]); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.ref = new _xfa_object.XFAObjectArray(); + } +} +class Margin extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "margin", true); + this.bottomInset = (0, _utils.getMeasurement)(attributes.bottomInset, "0"); + this.id = attributes.id || ""; + this.leftInset = (0, _utils.getMeasurement)(attributes.leftInset, "0"); + this.rightInset = (0, _utils.getMeasurement)(attributes.rightInset, "0"); + this.topInset = (0, _utils.getMeasurement)(attributes.topInset, "0"); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } + [_symbol_utils.$toStyle]() { + return { + margin: (0, _html_utils.measureToString)(this.topInset) + " " + (0, _html_utils.measureToString)(this.rightInset) + " " + (0, _html_utils.measureToString)(this.bottomInset) + " " + (0, _html_utils.measureToString)(this.leftInset) + }; + } +} +class Mdp extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "mdp"); + this.id = attributes.id || ""; + this.permissions = (0, _utils.getInteger)({ + data: attributes.permissions, + defaultValue: 2, + validate: x => x === 1 || x === 3 + }); + this.signatureType = (0, _utils.getStringOption)(attributes.signatureType, ["filler", "author"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Medium extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "medium"); + this.id = attributes.id || ""; + this.imagingBBox = (0, _utils.getBBox)(attributes.imagingBBox); + this.long = (0, _utils.getMeasurement)(attributes.long); + this.orientation = (0, _utils.getStringOption)(attributes.orientation, ["portrait", "landscape"]); + this.short = (0, _utils.getMeasurement)(attributes.short); + this.stock = attributes.stock || ""; + this.trayIn = (0, _utils.getStringOption)(attributes.trayIn, ["auto", "delegate", "pageFront"]); + this.trayOut = (0, _utils.getStringOption)(attributes.trayOut, ["auto", "delegate"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Message extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "message", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.text = new _xfa_object.XFAObjectArray(); + } +} +class NumericEdit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "numericEdit", true); + this.hScrollPolicy = (0, _utils.getStringOption)(attributes.hScrollPolicy, ["auto", "off", "on"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.comb = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)(this, "border", "font", "margin"); + const field = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + const html = { + name: "input", + attributes: { + type: "text", + fieldId: field[_symbol_utils.$uid], + dataId: field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid], + class: ["xfaTextfield"], + style, + "aria-label": ariaLabel(field), + "aria-required": false + } + }; + if (isRequired(field)) { + html.attributes["aria-required"] = true; + html.attributes.required = true; + } + return _utils.HTMLResult.success({ + name: "label", + attributes: { + class: ["xfaLabel"] + }, + children: [html] + }); + } +} +class Occur extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "occur", true); + this.id = attributes.id || ""; + this.initial = attributes.initial !== "" ? (0, _utils.getInteger)({ + data: attributes.initial, + defaultValue: "", + validate: x => true + }) : ""; + this.max = attributes.max !== "" ? (0, _utils.getInteger)({ + data: attributes.max, + defaultValue: 1, + validate: x => true + }) : ""; + this.min = attributes.min !== "" ? (0, _utils.getInteger)({ + data: attributes.min, + defaultValue: 1, + validate: x => true + }) : ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } + [_symbol_utils.$clean]() { + const parent = this[_symbol_utils.$getParent](); + const originalMin = this.min; + if (this.min === "") { + this.min = parent instanceof PageArea || parent instanceof PageSet ? 0 : 1; + } + if (this.max === "") { + if (originalMin === "") { + this.max = parent instanceof PageArea || parent instanceof PageSet ? -1 : 1; + } else { + this.max = this.min; + } + } + if (this.max !== -1 && this.max < this.min) { + this.max = this.min; + } + if (this.initial === "") { + this.initial = parent instanceof Template ? 1 : this.min; + } + } +} +class Oid extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "oid"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Oids extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "oids", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.oid = new _xfa_object.XFAObjectArray(); + } +} +class Overflow extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "overflow"); + this.id = attributes.id || ""; + this.leader = attributes.leader || ""; + this.target = attributes.target || ""; + this.trailer = attributes.trailer || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$getExtra]() { + if (!this[_symbol_utils.$extra]) { + const parent = this[_symbol_utils.$getParent](); + const root = this[_symbol_utils.$getTemplateRoot](); + const target = root[_symbol_utils.$searchNode](this.target, parent); + const leader = root[_symbol_utils.$searchNode](this.leader, parent); + const trailer = root[_symbol_utils.$searchNode](this.trailer, parent); + this[_symbol_utils.$extra] = { + target: target?.[0] || null, + leader: leader?.[0] || null, + trailer: trailer?.[0] || null, + addLeader: false, + addTrailer: false + }; + } + return this[_symbol_utils.$extra]; + } +} +class PageArea extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "pageArea", true); + this.blankOrNotBlank = (0, _utils.getStringOption)(attributes.blankOrNotBlank, ["any", "blank", "notBlank"]); + this.id = attributes.id || ""; + this.initialNumber = (0, _utils.getInteger)({ + data: attributes.initialNumber, + defaultValue: 1, + validate: x => true + }); + this.name = attributes.name || ""; + this.numbered = (0, _utils.getInteger)({ + data: attributes.numbered, + defaultValue: 1, + validate: x => true + }); + this.oddOrEven = (0, _utils.getStringOption)(attributes.oddOrEven, ["any", "even", "odd"]); + this.pagePosition = (0, _utils.getStringOption)(attributes.pagePosition, ["any", "first", "last", "only", "rest"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.desc = null; + this.extras = null; + this.medium = null; + this.occur = null; + this.area = new _xfa_object.XFAObjectArray(); + this.contentArea = new _xfa_object.XFAObjectArray(); + this.draw = new _xfa_object.XFAObjectArray(); + this.exclGroup = new _xfa_object.XFAObjectArray(); + this.field = new _xfa_object.XFAObjectArray(); + this.subform = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$isUsable]() { + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = { + numberOfUse: 0 + }; + return true; + } + return !this.occur || this.occur.max === -1 || this[_symbol_utils.$extra].numberOfUse < this.occur.max; + } + [_symbol_utils.$cleanPage]() { + delete this[_symbol_utils.$extra]; + } + [_symbol_utils.$getNextPage]() { + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = { + numberOfUse: 0 + }; + } + const parent = this[_symbol_utils.$getParent](); + if (parent.relation === "orderedOccurrence") { + if (this[_symbol_utils.$isUsable]()) { + this[_symbol_utils.$extra].numberOfUse += 1; + return this; + } + } + return parent[_symbol_utils.$getNextPage](); + } + [_symbol_utils.$getAvailableSpace]() { + return this[_symbol_utils.$extra].space || { + width: 0, + height: 0 + }; + } + [_symbol_utils.$toHTML]() { + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = { + numberOfUse: 1 + }; + } + const children = []; + this[_symbol_utils.$extra].children = children; + const style = Object.create(null); + if (this.medium && this.medium.short && this.medium.long) { + style.width = (0, _html_utils.measureToString)(this.medium.short); + style.height = (0, _html_utils.measureToString)(this.medium.long); + this[_symbol_utils.$extra].space = { + width: this.medium.short, + height: this.medium.long + }; + if (this.medium.orientation === "landscape") { + const x = style.width; + style.width = style.height; + style.height = x; + this[_symbol_utils.$extra].space = { + width: this.medium.long, + height: this.medium.short + }; + } + } else { + (0, _util.warn)("XFA - No medium specified in pageArea: please file a bug."); + } + this[_symbol_utils.$childrenToHTML]({ + filter: new Set(["area", "draw", "field", "subform"]), + include: true + }); + this[_symbol_utils.$childrenToHTML]({ + filter: new Set(["contentArea"]), + include: true + }); + return _utils.HTMLResult.success({ + name: "div", + children, + attributes: { + class: ["xfaPage"], + id: this[_symbol_utils.$uid], + style, + xfaName: this.name + } + }); + } +} +class PageSet extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "pageSet", true); + this.duplexImposition = (0, _utils.getStringOption)(attributes.duplexImposition, ["longEdge", "shortEdge"]); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.relation = (0, _utils.getStringOption)(attributes.relation, ["orderedOccurrence", "duplexPaginated", "simplexPaginated"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.occur = null; + this.pageArea = new _xfa_object.XFAObjectArray(); + this.pageSet = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$cleanPage]() { + for (const page of this.pageArea.children) { + page[_symbol_utils.$cleanPage](); + } + for (const page of this.pageSet.children) { + page[_symbol_utils.$cleanPage](); + } + } + [_symbol_utils.$isUsable]() { + return !this.occur || this.occur.max === -1 || this[_symbol_utils.$extra].numberOfUse < this.occur.max; + } + [_symbol_utils.$getNextPage]() { + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = { + numberOfUse: 1, + pageIndex: -1, + pageSetIndex: -1 + }; + } + if (this.relation === "orderedOccurrence") { + if (this[_symbol_utils.$extra].pageIndex + 1 < this.pageArea.children.length) { + this[_symbol_utils.$extra].pageIndex += 1; + const pageArea = this.pageArea.children[this[_symbol_utils.$extra].pageIndex]; + return pageArea[_symbol_utils.$getNextPage](); + } + if (this[_symbol_utils.$extra].pageSetIndex + 1 < this.pageSet.children.length) { + this[_symbol_utils.$extra].pageSetIndex += 1; + return this.pageSet.children[this[_symbol_utils.$extra].pageSetIndex][_symbol_utils.$getNextPage](); + } + if (this[_symbol_utils.$isUsable]()) { + this[_symbol_utils.$extra].numberOfUse += 1; + this[_symbol_utils.$extra].pageIndex = -1; + this[_symbol_utils.$extra].pageSetIndex = -1; + return this[_symbol_utils.$getNextPage](); + } + const parent = this[_symbol_utils.$getParent](); + if (parent instanceof PageSet) { + return parent[_symbol_utils.$getNextPage](); + } + this[_symbol_utils.$cleanPage](); + return this[_symbol_utils.$getNextPage](); + } + const pageNumber = this[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].pageNumber; + const parity = pageNumber % 2 === 0 ? "even" : "odd"; + const position = pageNumber === 0 ? "first" : "rest"; + let page = this.pageArea.children.find(p => p.oddOrEven === parity && p.pagePosition === position); + if (page) { + return page; + } + page = this.pageArea.children.find(p => p.oddOrEven === "any" && p.pagePosition === position); + if (page) { + return page; + } + page = this.pageArea.children.find(p => p.oddOrEven === "any" && p.pagePosition === "any"); + if (page) { + return page; + } + return this.pageArea.children[0]; + } +} +class Para extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "para", true); + this.hAlign = (0, _utils.getStringOption)(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); + this.id = attributes.id || ""; + this.lineHeight = attributes.lineHeight ? (0, _utils.getMeasurement)(attributes.lineHeight, "0pt") : ""; + this.marginLeft = attributes.marginLeft ? (0, _utils.getMeasurement)(attributes.marginLeft, "0pt") : ""; + this.marginRight = attributes.marginRight ? (0, _utils.getMeasurement)(attributes.marginRight, "0pt") : ""; + this.orphans = (0, _utils.getInteger)({ + data: attributes.orphans, + defaultValue: 0, + validate: x => x >= 0 + }); + this.preserve = attributes.preserve || ""; + this.radixOffset = attributes.radixOffset ? (0, _utils.getMeasurement)(attributes.radixOffset, "0pt") : ""; + this.spaceAbove = attributes.spaceAbove ? (0, _utils.getMeasurement)(attributes.spaceAbove, "0pt") : ""; + this.spaceBelow = attributes.spaceBelow ? (0, _utils.getMeasurement)(attributes.spaceBelow, "0pt") : ""; + this.tabDefault = attributes.tabDefault ? (0, _utils.getMeasurement)(this.tabDefault) : ""; + this.tabStops = (attributes.tabStops || "").trim().split(/\s+/).map((x, i) => i % 2 === 1 ? (0, _utils.getMeasurement)(x) : x); + this.textIndent = attributes.textIndent ? (0, _utils.getMeasurement)(attributes.textIndent, "0pt") : ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.vAlign = (0, _utils.getStringOption)(attributes.vAlign, ["top", "bottom", "middle"]); + this.widows = (0, _utils.getInteger)({ + data: attributes.widows, + defaultValue: 0, + validate: x => x >= 0 + }); + this.hyphenation = null; + } + [_symbol_utils.$toStyle]() { + const style = (0, _html_utils.toStyle)(this, "hAlign"); + if (this.marginLeft !== "") { + style.paddingLeft = (0, _html_utils.measureToString)(this.marginLeft); + } + if (this.marginRight !== "") { + style.paddingight = (0, _html_utils.measureToString)(this.marginRight); + } + if (this.spaceAbove !== "") { + style.paddingTop = (0, _html_utils.measureToString)(this.spaceAbove); + } + if (this.spaceBelow !== "") { + style.paddingBottom = (0, _html_utils.measureToString)(this.spaceBelow); + } + if (this.textIndent !== "") { + style.textIndent = (0, _html_utils.measureToString)(this.textIndent); + (0, _html_utils.fixTextIndent)(style); + } + if (this.lineHeight > 0) { + style.lineHeight = (0, _html_utils.measureToString)(this.lineHeight); + } + if (this.tabDefault !== "") { + style.tabSize = (0, _html_utils.measureToString)(this.tabDefault); + } + if (this.tabStops.length > 0) {} + if (this.hyphenatation) { + Object.assign(style, this.hyphenatation[_symbol_utils.$toStyle]()); + } + return style; + } +} +class PasswordEdit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "passwordEdit", true); + this.hScrollPolicy = (0, _utils.getStringOption)(attributes.hScrollPolicy, ["auto", "off", "on"]); + this.id = attributes.id || ""; + this.passwordChar = attributes.passwordChar || "*"; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.extras = null; + this.margin = null; + } +} +class Pattern extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "pattern", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["crossHatch", "crossDiagonal", "diagonalLeft", "diagonalRight", "horizontal", "vertical"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle](startColor) { + startColor = startColor ? startColor[_symbol_utils.$toStyle]() : "#FFFFFF"; + const endColor = this.color ? this.color[_symbol_utils.$toStyle]() : "#000000"; + const width = 5; + const cmd = "repeating-linear-gradient"; + const colors = `${startColor},${startColor} ${width}px,${endColor} ${width}px,${endColor} ${2 * width}px`; + switch (this.type) { + case "crossHatch": + return `${cmd}(to top,${colors}) ${cmd}(to right,${colors})`; + case "crossDiagonal": + return `${cmd}(45deg,${colors}) ${cmd}(-45deg,${colors})`; + case "diagonalLeft": + return `${cmd}(45deg,${colors})`; + case "diagonalRight": + return `${cmd}(-45deg,${colors})`; + case "horizontal": + return `${cmd}(to top,${colors})`; + case "vertical": + return `${cmd}(to right,${colors})`; + } + return ""; + } +} +class Picture extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "picture"); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Proto extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "proto", true); + this.appearanceFilter = new _xfa_object.XFAObjectArray(); + this.arc = new _xfa_object.XFAObjectArray(); + this.area = new _xfa_object.XFAObjectArray(); + this.assist = new _xfa_object.XFAObjectArray(); + this.barcode = new _xfa_object.XFAObjectArray(); + this.bindItems = new _xfa_object.XFAObjectArray(); + this.bookend = new _xfa_object.XFAObjectArray(); + this.boolean = new _xfa_object.XFAObjectArray(); + this.border = new _xfa_object.XFAObjectArray(); + this.break = new _xfa_object.XFAObjectArray(); + this.breakAfter = new _xfa_object.XFAObjectArray(); + this.breakBefore = new _xfa_object.XFAObjectArray(); + this.button = new _xfa_object.XFAObjectArray(); + this.calculate = new _xfa_object.XFAObjectArray(); + this.caption = new _xfa_object.XFAObjectArray(); + this.certificate = new _xfa_object.XFAObjectArray(); + this.certificates = new _xfa_object.XFAObjectArray(); + this.checkButton = new _xfa_object.XFAObjectArray(); + this.choiceList = new _xfa_object.XFAObjectArray(); + this.color = new _xfa_object.XFAObjectArray(); + this.comb = new _xfa_object.XFAObjectArray(); + this.connect = new _xfa_object.XFAObjectArray(); + this.contentArea = new _xfa_object.XFAObjectArray(); + this.corner = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.dateTimeEdit = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.defaultUi = new _xfa_object.XFAObjectArray(); + this.desc = new _xfa_object.XFAObjectArray(); + this.digestMethod = new _xfa_object.XFAObjectArray(); + this.digestMethods = new _xfa_object.XFAObjectArray(); + this.draw = new _xfa_object.XFAObjectArray(); + this.edge = new _xfa_object.XFAObjectArray(); + this.encoding = new _xfa_object.XFAObjectArray(); + this.encodings = new _xfa_object.XFAObjectArray(); + this.encrypt = new _xfa_object.XFAObjectArray(); + this.encryptData = new _xfa_object.XFAObjectArray(); + this.encryption = new _xfa_object.XFAObjectArray(); + this.encryptionMethod = new _xfa_object.XFAObjectArray(); + this.encryptionMethods = new _xfa_object.XFAObjectArray(); + this.event = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.exObject = new _xfa_object.XFAObjectArray(); + this.exclGroup = new _xfa_object.XFAObjectArray(); + this.execute = new _xfa_object.XFAObjectArray(); + this.extras = new _xfa_object.XFAObjectArray(); + this.field = new _xfa_object.XFAObjectArray(); + this.fill = new _xfa_object.XFAObjectArray(); + this.filter = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.font = new _xfa_object.XFAObjectArray(); + this.format = new _xfa_object.XFAObjectArray(); + this.handler = new _xfa_object.XFAObjectArray(); + this.hyphenation = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.imageEdit = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.issuers = new _xfa_object.XFAObjectArray(); + this.items = new _xfa_object.XFAObjectArray(); + this.keep = new _xfa_object.XFAObjectArray(); + this.keyUsage = new _xfa_object.XFAObjectArray(); + this.line = new _xfa_object.XFAObjectArray(); + this.linear = new _xfa_object.XFAObjectArray(); + this.lockDocument = new _xfa_object.XFAObjectArray(); + this.manifest = new _xfa_object.XFAObjectArray(); + this.margin = new _xfa_object.XFAObjectArray(); + this.mdp = new _xfa_object.XFAObjectArray(); + this.medium = new _xfa_object.XFAObjectArray(); + this.message = new _xfa_object.XFAObjectArray(); + this.numericEdit = new _xfa_object.XFAObjectArray(); + this.occur = new _xfa_object.XFAObjectArray(); + this.oid = new _xfa_object.XFAObjectArray(); + this.oids = new _xfa_object.XFAObjectArray(); + this.overflow = new _xfa_object.XFAObjectArray(); + this.pageArea = new _xfa_object.XFAObjectArray(); + this.pageSet = new _xfa_object.XFAObjectArray(); + this.para = new _xfa_object.XFAObjectArray(); + this.passwordEdit = new _xfa_object.XFAObjectArray(); + this.pattern = new _xfa_object.XFAObjectArray(); + this.picture = new _xfa_object.XFAObjectArray(); + this.radial = new _xfa_object.XFAObjectArray(); + this.reason = new _xfa_object.XFAObjectArray(); + this.reasons = new _xfa_object.XFAObjectArray(); + this.rectangle = new _xfa_object.XFAObjectArray(); + this.ref = new _xfa_object.XFAObjectArray(); + this.script = new _xfa_object.XFAObjectArray(); + this.setProperty = new _xfa_object.XFAObjectArray(); + this.signData = new _xfa_object.XFAObjectArray(); + this.signature = new _xfa_object.XFAObjectArray(); + this.signing = new _xfa_object.XFAObjectArray(); + this.solid = new _xfa_object.XFAObjectArray(); + this.speak = new _xfa_object.XFAObjectArray(); + this.stipple = new _xfa_object.XFAObjectArray(); + this.subform = new _xfa_object.XFAObjectArray(); + this.subformSet = new _xfa_object.XFAObjectArray(); + this.subjectDN = new _xfa_object.XFAObjectArray(); + this.subjectDNs = new _xfa_object.XFAObjectArray(); + this.submit = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.textEdit = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + this.timeStamp = new _xfa_object.XFAObjectArray(); + this.toolTip = new _xfa_object.XFAObjectArray(); + this.traversal = new _xfa_object.XFAObjectArray(); + this.traverse = new _xfa_object.XFAObjectArray(); + this.ui = new _xfa_object.XFAObjectArray(); + this.validate = new _xfa_object.XFAObjectArray(); + this.value = new _xfa_object.XFAObjectArray(); + this.variables = new _xfa_object.XFAObjectArray(); + } +} +class Radial extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "radial", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["toEdge", "toCenter"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle](startColor) { + startColor = startColor ? startColor[_symbol_utils.$toStyle]() : "#FFFFFF"; + const endColor = this.color ? this.color[_symbol_utils.$toStyle]() : "#000000"; + const colors = this.type === "toEdge" ? `${startColor},${endColor}` : `${endColor},${startColor}`; + return `radial-gradient(circle at center, ${colors})`; + } +} +class Reason extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "reason"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Reasons extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "reasons", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.reason = new _xfa_object.XFAObjectArray(); + } +} +class Rectangle extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "rectangle", true); + this.hand = (0, _utils.getStringOption)(attributes.hand, ["even", "left", "right"]); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.corner = new _xfa_object.XFAObjectArray(4); + this.edge = new _xfa_object.XFAObjectArray(4); + this.fill = null; + } + [_symbol_utils.$toHTML]() { + const edge = this.edge.children.length ? this.edge.children[0] : new Edge({}); + const edgeStyle = edge[_symbol_utils.$toStyle](); + const style = Object.create(null); + if (this.fill?.presence === "visible") { + Object.assign(style, this.fill[_symbol_utils.$toStyle]()); + } else { + style.fill = "transparent"; + } + style.strokeWidth = (0, _html_utils.measureToString)(edge.presence === "visible" ? edge.thickness : 0); + style.stroke = edgeStyle.color; + const corner = this.corner.children.length ? this.corner.children[0] : new Corner({}); + const cornerStyle = corner[_symbol_utils.$toStyle](); + const rect = { + name: "rect", + attributes: { + xmlns: SVG_NS, + width: "100%", + height: "100%", + x: 0, + y: 0, + rx: cornerStyle.radius, + ry: cornerStyle.radius, + style + } + }; + const svg = { + name: "svg", + children: [rect], + attributes: { + xmlns: SVG_NS, + style: { + overflow: "visible" + }, + width: "100%", + height: "100%" + } + }; + const parent = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + if (hasMargin(parent)) { + return _utils.HTMLResult.success({ + name: "div", + attributes: { + style: { + display: "inline", + width: "100%", + height: "100%" + } + }, + children: [svg] + }); + } + svg.attributes.style.position = "absolute"; + return _utils.HTMLResult.success(svg); + } +} +class RefElement extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "ref"); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Script extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "script"); + this.binding = attributes.binding || ""; + this.contentType = attributes.contentType || ""; + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.runAt = (0, _utils.getStringOption)(attributes.runAt, ["client", "both", "server"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class SetProperty extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "setProperty"); + this.connection = attributes.connection || ""; + this.ref = attributes.ref || ""; + this.target = attributes.target || ""; + } +} +exports.SetProperty = SetProperty; +class SignData extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "signData", true); + this.id = attributes.id || ""; + this.operation = (0, _utils.getStringOption)(attributes.operation, ["sign", "clear", "verify"]); + this.ref = attributes.ref || ""; + this.target = attributes.target || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.filter = null; + this.manifest = null; + } +} +class Signature extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "signature", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["PDF1.3", "PDF1.6"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.border = null; + this.extras = null; + this.filter = null; + this.manifest = null; + this.margin = null; + } +} +class Signing extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "signing", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.certificate = new _xfa_object.XFAObjectArray(); + } +} +class Solid extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "solid", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + } + [_symbol_utils.$toStyle](startColor) { + return startColor ? startColor[_symbol_utils.$toStyle]() : "#FFFFFF"; + } +} +class Speak extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "speak"); + this.disable = (0, _utils.getInteger)({ + data: attributes.disable, + defaultValue: 0, + validate: x => x === 1 + }); + this.id = attributes.id || ""; + this.priority = (0, _utils.getStringOption)(attributes.priority, ["custom", "caption", "name", "toolTip"]); + this.rid = attributes.rid || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Stipple extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "stipple", true); + this.id = attributes.id || ""; + this.rate = (0, _utils.getInteger)({ + data: attributes.rate, + defaultValue: 50, + validate: x => x >= 0 && x <= 100 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.color = null; + this.extras = null; + } + [_symbol_utils.$toStyle](bgColor) { + const alpha = this.rate / 100; + return _util.Util.makeHexColor(Math.round(bgColor.value.r * (1 - alpha) + this.value.r * alpha), Math.round(bgColor.value.g * (1 - alpha) + this.value.g * alpha), Math.round(bgColor.value.b * (1 - alpha) + this.value.b * alpha)); + } +} +class Subform extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "subform", true); + this.access = (0, _utils.getStringOption)(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); + this.allowMacro = (0, _utils.getInteger)({ + data: attributes.allowMacro, + defaultValue: 0, + validate: x => x === 1 + }); + this.anchorType = (0, _utils.getStringOption)(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); + this.colSpan = (0, _utils.getInteger)({ + data: attributes.colSpan, + defaultValue: 1, + validate: n => n >= 1 || n === -1 + }); + this.columnWidths = (attributes.columnWidths || "").trim().split(/\s+/).map(x => x === "-1" ? -1 : (0, _utils.getMeasurement)(x)); + this.h = attributes.h ? (0, _utils.getMeasurement)(attributes.h) : ""; + this.hAlign = (0, _utils.getStringOption)(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); + this.id = attributes.id || ""; + this.layout = (0, _utils.getStringOption)(attributes.layout, ["position", "lr-tb", "rl-row", "rl-tb", "row", "table", "tb"]); + this.locale = attributes.locale || ""; + this.maxH = (0, _utils.getMeasurement)(attributes.maxH, "0pt"); + this.maxW = (0, _utils.getMeasurement)(attributes.maxW, "0pt"); + this.mergeMode = (0, _utils.getStringOption)(attributes.mergeMode, ["consumeData", "matchTemplate"]); + this.minH = (0, _utils.getMeasurement)(attributes.minH, "0pt"); + this.minW = (0, _utils.getMeasurement)(attributes.minW, "0pt"); + this.name = attributes.name || ""; + this.presence = (0, _utils.getStringOption)(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.restoreState = (0, _utils.getStringOption)(attributes.restoreState, ["manual", "auto"]); + this.scope = (0, _utils.getStringOption)(attributes.scope, ["name", "none"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.w = attributes.w ? (0, _utils.getMeasurement)(attributes.w) : ""; + this.x = (0, _utils.getMeasurement)(attributes.x, "0pt"); + this.y = (0, _utils.getMeasurement)(attributes.y, "0pt"); + this.assist = null; + this.bind = null; + this.bookend = null; + this.border = null; + this.break = null; + this.calculate = null; + this.desc = null; + this.extras = null; + this.keep = null; + this.margin = null; + this.occur = null; + this.overflow = null; + this.pageSet = null; + this.para = null; + this.traversal = null; + this.validate = null; + this.variables = null; + this.area = new _xfa_object.XFAObjectArray(); + this.breakAfter = new _xfa_object.XFAObjectArray(); + this.breakBefore = new _xfa_object.XFAObjectArray(); + this.connect = new _xfa_object.XFAObjectArray(); + this.draw = new _xfa_object.XFAObjectArray(); + this.event = new _xfa_object.XFAObjectArray(); + this.exObject = new _xfa_object.XFAObjectArray(); + this.exclGroup = new _xfa_object.XFAObjectArray(); + this.field = new _xfa_object.XFAObjectArray(); + this.proto = new _xfa_object.XFAObjectArray(); + this.setProperty = new _xfa_object.XFAObjectArray(); + this.subform = new _xfa_object.XFAObjectArray(); + this.subformSet = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$getSubformParent]() { + const parent = this[_symbol_utils.$getParent](); + if (parent instanceof SubformSet) { + return parent[_symbol_utils.$getSubformParent](); + } + return parent; + } + [_symbol_utils.$isBindable]() { + return true; + } + [_symbol_utils.$isThereMoreWidth]() { + return this.layout.endsWith("-tb") && this[_symbol_utils.$extra].attempt === 0 && this[_symbol_utils.$extra].numberInLine > 0 || this[_symbol_utils.$getParent]()[_symbol_utils.$isThereMoreWidth](); + } + *[_symbol_utils.$getContainedChildren]() { + yield* getContainedChildren(this); + } + [_symbol_utils.$flushHTML]() { + return (0, _layout.flushHTML)(this); + } + [_symbol_utils.$addHTML](html, bbox) { + (0, _layout.addHTML)(this, html, bbox); + } + [_symbol_utils.$getAvailableSpace]() { + return (0, _layout.getAvailableSpace)(this); + } + [_symbol_utils.$isSplittable]() { + const parent = this[_symbol_utils.$getSubformParent](); + if (!parent[_symbol_utils.$isSplittable]()) { + return false; + } + if (this[_symbol_utils.$extra]._isSplittable !== undefined) { + return this[_symbol_utils.$extra]._isSplittable; + } + if (this.layout === "position" || this.layout.includes("row")) { + this[_symbol_utils.$extra]._isSplittable = false; + return false; + } + if (this.keep && this.keep.intact !== "none") { + this[_symbol_utils.$extra]._isSplittable = false; + return false; + } + if (parent.layout?.endsWith("-tb") && parent[_symbol_utils.$extra].numberInLine !== 0) { + return false; + } + this[_symbol_utils.$extra]._isSplittable = true; + return true; + } + [_symbol_utils.$toHTML](availableSpace) { + setTabIndex(this); + if (this.break) { + if (this.break.after !== "auto" || this.break.afterTarget !== "") { + const node = new BreakAfter({ + targetType: this.break.after, + target: this.break.afterTarget, + startNew: this.break.startNew.toString() + }); + node[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + this[_symbol_utils.$appendChild](node); + this.breakAfter.push(node); + } + if (this.break.before !== "auto" || this.break.beforeTarget !== "") { + const node = new BreakBefore({ + targetType: this.break.before, + target: this.break.beforeTarget, + startNew: this.break.startNew.toString() + }); + node[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + this[_symbol_utils.$appendChild](node); + this.breakBefore.push(node); + } + if (this.break.overflowTarget !== "") { + const node = new Overflow({ + target: this.break.overflowTarget, + leader: this.break.overflowLeader, + trailer: this.break.overflowTrailer + }); + node[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + this[_symbol_utils.$appendChild](node); + this.overflow.push(node); + } + this[_symbol_utils.$removeChild](this.break); + this.break = null; + } + if (this.presence === "hidden" || this.presence === "inactive") { + return _utils.HTMLResult.EMPTY; + } + if (this.breakBefore.children.length > 1 || this.breakAfter.children.length > 1) { + (0, _util.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."); + } + if (this.breakBefore.children.length >= 1) { + const breakBefore = this.breakBefore.children[0]; + if (handleBreak(breakBefore)) { + return _utils.HTMLResult.breakNode(breakBefore); + } + } + if (this[_symbol_utils.$extra]?.afterBreakAfter) { + return _utils.HTMLResult.EMPTY; + } + (0, _html_utils.fixDimensions)(this); + const children = []; + const attributes = { + id: this[_symbol_utils.$uid], + class: [] + }; + (0, _html_utils.setAccess)(this, attributes.class); + if (!this[_symbol_utils.$extra]) { + this[_symbol_utils.$extra] = Object.create(null); + } + Object.assign(this[_symbol_utils.$extra], { + children, + line: null, + attributes, + attempt: 0, + numberInLine: 0, + availableSpace: { + width: Math.min(this.w || Infinity, availableSpace.width), + height: Math.min(this.h || Infinity, availableSpace.height) + }, + width: 0, + height: 0, + prevHeight: 0, + currentWidth: 0 + }); + const root = this[_symbol_utils.$getTemplateRoot](); + const savedNoLayoutFailure = root[_symbol_utils.$extra].noLayoutFailure; + const isSplittable = this[_symbol_utils.$isSplittable](); + if (!isSplittable) { + setFirstUnsplittable(this); + } + if (!(0, _layout.checkDimensions)(this, availableSpace)) { + return _utils.HTMLResult.FAILURE; + } + const filter = new Set(["area", "draw", "exclGroup", "field", "subform", "subformSet"]); + if (this.layout.includes("row")) { + const columnWidths = this[_symbol_utils.$getSubformParent]().columnWidths; + if (Array.isArray(columnWidths) && columnWidths.length > 0) { + this[_symbol_utils.$extra].columnWidths = columnWidths; + this[_symbol_utils.$extra].currentColumn = 0; + } + } + const style = (0, _html_utils.toStyle)(this, "anchorType", "dimensions", "position", "presence", "border", "margin", "hAlign"); + const classNames = ["xfaSubform"]; + const cl = (0, _html_utils.layoutClass)(this); + if (cl) { + classNames.push(cl); + } + attributes.style = style; + attributes.class = classNames; + if (this.name) { + attributes.xfaName = this.name; + } + if (this.overflow) { + const overflowExtra = this.overflow[_symbol_utils.$getExtra](); + if (overflowExtra.addLeader) { + overflowExtra.addLeader = false; + handleOverflow(this, overflowExtra.leader, availableSpace); + } + } + this[_symbol_utils.$pushPara](); + const isLrTb = this.layout === "lr-tb" || this.layout === "rl-tb"; + const maxRun = isLrTb ? MAX_ATTEMPTS_FOR_LRTB_LAYOUT : 1; + for (; this[_symbol_utils.$extra].attempt < maxRun; this[_symbol_utils.$extra].attempt++) { + if (isLrTb && this[_symbol_utils.$extra].attempt === MAX_ATTEMPTS_FOR_LRTB_LAYOUT - 1) { + this[_symbol_utils.$extra].numberInLine = 0; + } + const result = this[_symbol_utils.$childrenToHTML]({ + filter, + include: true + }); + if (result.success) { + break; + } + if (result.isBreak()) { + this[_symbol_utils.$popPara](); + return result; + } + if (isLrTb && this[_symbol_utils.$extra].attempt === 0 && this[_symbol_utils.$extra].numberInLine === 0 && !root[_symbol_utils.$extra].noLayoutFailure) { + this[_symbol_utils.$extra].attempt = maxRun; + break; + } + } + this[_symbol_utils.$popPara](); + if (!isSplittable) { + unsetFirstUnsplittable(this); + } + root[_symbol_utils.$extra].noLayoutFailure = savedNoLayoutFailure; + if (this[_symbol_utils.$extra].attempt === maxRun) { + if (this.overflow) { + this[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].overflowNode = this.overflow; + } + if (!isSplittable) { + delete this[_symbol_utils.$extra]; + } + return _utils.HTMLResult.FAILURE; + } + if (this.overflow) { + const overflowExtra = this.overflow[_symbol_utils.$getExtra](); + if (overflowExtra.addTrailer) { + overflowExtra.addTrailer = false; + handleOverflow(this, overflowExtra.trailer, availableSpace); + } + } + let marginH = 0; + let marginV = 0; + if (this.margin) { + marginH = this.margin.leftInset + this.margin.rightInset; + marginV = this.margin.topInset + this.margin.bottomInset; + } + const width = Math.max(this[_symbol_utils.$extra].width + marginH, this.w || 0); + const height = Math.max(this[_symbol_utils.$extra].height + marginV, this.h || 0); + const bbox = [this.x, this.y, width, height]; + if (this.w === "") { + style.width = (0, _html_utils.measureToString)(width); + } + if (this.h === "") { + style.height = (0, _html_utils.measureToString)(height); + } + if ((style.width === "0px" || style.height === "0px") && children.length === 0) { + return _utils.HTMLResult.EMPTY; + } + const html = { + name: "div", + attributes, + children + }; + applyAssist(this, attributes); + const result = _utils.HTMLResult.success((0, _html_utils.createWrapper)(this, html), bbox); + if (this.breakAfter.children.length >= 1) { + const breakAfter = this.breakAfter.children[0]; + if (handleBreak(breakAfter)) { + this[_symbol_utils.$extra].afterBreakAfter = result; + return _utils.HTMLResult.breakNode(breakAfter); + } + } + delete this[_symbol_utils.$extra]; + return result; + } +} +class SubformSet extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "subformSet", true); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.relation = (0, _utils.getStringOption)(attributes.relation, ["ordered", "choice", "unordered"]); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.bookend = null; + this.break = null; + this.desc = null; + this.extras = null; + this.occur = null; + this.overflow = null; + this.breakAfter = new _xfa_object.XFAObjectArray(); + this.breakBefore = new _xfa_object.XFAObjectArray(); + this.subform = new _xfa_object.XFAObjectArray(); + this.subformSet = new _xfa_object.XFAObjectArray(); + } + *[_symbol_utils.$getContainedChildren]() { + yield* getContainedChildren(this); + } + [_symbol_utils.$getSubformParent]() { + let parent = this[_symbol_utils.$getParent](); + while (!(parent instanceof Subform)) { + parent = parent[_symbol_utils.$getParent](); + } + return parent; + } + [_symbol_utils.$isBindable]() { + return true; + } +} +class SubjectDN extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "subjectDN"); + this.delimiter = attributes.delimiter || ","; + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = new Map(this[_symbol_utils.$content].split(this.delimiter).map(kv => { + kv = kv.split("=", 2); + kv[0] = kv[0].trim(); + return kv; + })); + } +} +class SubjectDNs extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "subjectDNs", true); + this.id = attributes.id || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.subjectDN = new _xfa_object.XFAObjectArray(); + } +} +class Submit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "submit", true); + this.embedPDF = (0, _utils.getInteger)({ + data: attributes.embedPDF, + defaultValue: 0, + validate: x => x === 1 + }); + this.format = (0, _utils.getStringOption)(attributes.format, ["xdp", "formdata", "pdf", "urlencoded", "xfd", "xml"]); + this.id = attributes.id || ""; + this.target = attributes.target || ""; + this.textEncoding = (0, _utils.getKeyword)({ + data: attributes.textEncoding ? attributes.textEncoding.toLowerCase() : "", + defaultValue: "", + validate: k => ["utf-8", "big-five", "fontspecific", "gbk", "gb-18030", "gb-2312", "ksc-5601", "none", "shift-jis", "ucs-2", "utf-16"].includes(k) || k.match(/iso-8859-\d{2}/) + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.xdpContent = attributes.xdpContent || ""; + this.encrypt = null; + this.encryptData = new _xfa_object.XFAObjectArray(); + this.signData = new _xfa_object.XFAObjectArray(); + } +} +class Template extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "template", true); + this.baseProfile = (0, _utils.getStringOption)(attributes.baseProfile, ["full", "interactiveForms"]); + this.extras = null; + this.subform = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$finalize]() { + if (this.subform.children.length === 0) { + (0, _util.warn)("XFA - No subforms in template node."); + } + if (this.subform.children.length >= 2) { + (0, _util.warn)("XFA - Several subforms in template node: please file a bug."); + } + this[_symbol_utils.$tabIndex] = DEFAULT_TAB_INDEX; + } + [_symbol_utils.$isSplittable]() { + return true; + } + [_symbol_utils.$searchNode](expr, container) { + if (expr.startsWith("#")) { + return [this[_symbol_utils.$ids].get(expr.slice(1))]; + } + return (0, _som.searchNode)(this, container, expr, true, true); + } + *[_symbol_utils.$toPages]() { + if (!this.subform.children.length) { + return _utils.HTMLResult.success({ + name: "div", + children: [] + }); + } + this[_symbol_utils.$extra] = { + overflowNode: null, + firstUnsplittable: null, + currentContentArea: null, + currentPageArea: null, + noLayoutFailure: false, + pageNumber: 1, + pagePosition: "first", + oddOrEven: "odd", + blankOrNotBlank: "nonBlank", + paraStack: [] + }; + const root = this.subform.children[0]; + root.pageSet[_symbol_utils.$cleanPage](); + const pageAreas = root.pageSet.pageArea.children; + const mainHtml = { + name: "div", + children: [] + }; + let pageArea = null; + let breakBefore = null; + let breakBeforeTarget = null; + if (root.breakBefore.children.length >= 1) { + breakBefore = root.breakBefore.children[0]; + breakBeforeTarget = breakBefore.target; + } else if (root.subform.children.length >= 1 && root.subform.children[0].breakBefore.children.length >= 1) { + breakBefore = root.subform.children[0].breakBefore.children[0]; + breakBeforeTarget = breakBefore.target; + } else if (root.break?.beforeTarget) { + breakBefore = root.break; + breakBeforeTarget = breakBefore.beforeTarget; + } else if (root.subform.children.length >= 1 && root.subform.children[0].break?.beforeTarget) { + breakBefore = root.subform.children[0].break; + breakBeforeTarget = breakBefore.beforeTarget; + } + if (breakBefore) { + const target = this[_symbol_utils.$searchNode](breakBeforeTarget, breakBefore[_symbol_utils.$getParent]()); + if (target instanceof PageArea) { + pageArea = target; + breakBefore[_symbol_utils.$extra] = {}; + } + } + if (!pageArea) { + pageArea = pageAreas[0]; + } + pageArea[_symbol_utils.$extra] = { + numberOfUse: 1 + }; + const pageAreaParent = pageArea[_symbol_utils.$getParent](); + pageAreaParent[_symbol_utils.$extra] = { + numberOfUse: 1, + pageIndex: pageAreaParent.pageArea.children.indexOf(pageArea), + pageSetIndex: 0 + }; + let targetPageArea; + let leader = null; + let trailer = null; + let hasSomething = true; + let hasSomethingCounter = 0; + let startIndex = 0; + while (true) { + if (!hasSomething) { + mainHtml.children.pop(); + if (++hasSomethingCounter === MAX_EMPTY_PAGES) { + (0, _util.warn)("XFA - Something goes wrong: please file a bug."); + return mainHtml; + } + } else { + hasSomethingCounter = 0; + } + targetPageArea = null; + this[_symbol_utils.$extra].currentPageArea = pageArea; + const page = pageArea[_symbol_utils.$toHTML]().html; + mainHtml.children.push(page); + if (leader) { + this[_symbol_utils.$extra].noLayoutFailure = true; + page.children.push(leader[_symbol_utils.$toHTML](pageArea[_symbol_utils.$extra].space).html); + leader = null; + } + if (trailer) { + this[_symbol_utils.$extra].noLayoutFailure = true; + page.children.push(trailer[_symbol_utils.$toHTML](pageArea[_symbol_utils.$extra].space).html); + trailer = null; + } + const contentAreas = pageArea.contentArea.children; + const htmlContentAreas = page.children.filter(node => node.attributes.class.includes("xfaContentarea")); + hasSomething = false; + this[_symbol_utils.$extra].firstUnsplittable = null; + this[_symbol_utils.$extra].noLayoutFailure = false; + const flush = index => { + const html = root[_symbol_utils.$flushHTML](); + if (html) { + hasSomething ||= html.children?.length > 0; + htmlContentAreas[index].children.push(html); + } + }; + for (let i = startIndex, ii = contentAreas.length; i < ii; i++) { + const contentArea = this[_symbol_utils.$extra].currentContentArea = contentAreas[i]; + const space = { + width: contentArea.w, + height: contentArea.h + }; + startIndex = 0; + if (leader) { + htmlContentAreas[i].children.push(leader[_symbol_utils.$toHTML](space).html); + leader = null; + } + if (trailer) { + htmlContentAreas[i].children.push(trailer[_symbol_utils.$toHTML](space).html); + trailer = null; + } + const html = root[_symbol_utils.$toHTML](space); + if (html.success) { + if (html.html) { + hasSomething ||= html.html.children?.length > 0; + htmlContentAreas[i].children.push(html.html); + } else if (!hasSomething && mainHtml.children.length > 1) { + mainHtml.children.pop(); + } + return mainHtml; + } + if (html.isBreak()) { + const node = html.breakNode; + flush(i); + if (node.targetType === "auto") { + continue; + } + if (node.leader) { + leader = this[_symbol_utils.$searchNode](node.leader, node[_symbol_utils.$getParent]()); + leader = leader ? leader[0] : null; + } + if (node.trailer) { + trailer = this[_symbol_utils.$searchNode](node.trailer, node[_symbol_utils.$getParent]()); + trailer = trailer ? trailer[0] : null; + } + if (node.targetType === "pageArea") { + targetPageArea = node[_symbol_utils.$extra].target; + i = Infinity; + } else if (!node[_symbol_utils.$extra].target) { + i = node[_symbol_utils.$extra].index; + } else { + targetPageArea = node[_symbol_utils.$extra].target; + startIndex = node[_symbol_utils.$extra].index + 1; + i = Infinity; + } + continue; + } + if (this[_symbol_utils.$extra].overflowNode) { + const node = this[_symbol_utils.$extra].overflowNode; + this[_symbol_utils.$extra].overflowNode = null; + const overflowExtra = node[_symbol_utils.$getExtra](); + const target = overflowExtra.target; + overflowExtra.addLeader = overflowExtra.leader !== null; + overflowExtra.addTrailer = overflowExtra.trailer !== null; + flush(i); + const currentIndex = i; + i = Infinity; + if (target instanceof PageArea) { + targetPageArea = target; + } else if (target instanceof ContentArea) { + const index = contentAreas.indexOf(target); + if (index !== -1) { + if (index > currentIndex) { + i = index - 1; + } else { + startIndex = index; + } + } else { + targetPageArea = target[_symbol_utils.$getParent](); + startIndex = targetPageArea.contentArea.children.indexOf(target); + } + } + continue; + } + flush(i); + } + this[_symbol_utils.$extra].pageNumber += 1; + if (targetPageArea) { + if (targetPageArea[_symbol_utils.$isUsable]()) { + targetPageArea[_symbol_utils.$extra].numberOfUse += 1; + } else { + targetPageArea = null; + } + } + pageArea = targetPageArea || pageArea[_symbol_utils.$getNextPage](); + yield null; + } + } +} +exports.Template = Template; +class Text extends _xfa_object.ContentObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "text"); + this.id = attributes.id || ""; + this.maxChars = (0, _utils.getInteger)({ + data: attributes.maxChars, + defaultValue: 0, + validate: x => x >= 0 + }); + this.name = attributes.name || ""; + this.rid = attributes.rid || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$acceptWhitespace]() { + return true; + } + [_symbol_utils.$onChild](child) { + if (child[_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.xhtml.id) { + this[_symbol_utils.$content] = child; + return true; + } + (0, _util.warn)(`XFA - Invalid content in Text: ${child[_symbol_utils.$nodeName]}.`); + return false; + } + [_symbol_utils.$onText](str) { + if (this[_symbol_utils.$content] instanceof _xfa_object.XFAObject) { + return; + } + super[_symbol_utils.$onText](str); + } + [_symbol_utils.$finalize]() { + if (typeof this[_symbol_utils.$content] === "string") { + this[_symbol_utils.$content] = this[_symbol_utils.$content].replaceAll("\r\n", "\n"); + } + } + [_symbol_utils.$getExtra]() { + if (typeof this[_symbol_utils.$content] === "string") { + return this[_symbol_utils.$content].split(/[\u2029\u2028\n]/).reduce((acc, line) => { + if (line) { + acc.push(line); + } + return acc; + }, []).join("\n"); + } + return this[_symbol_utils.$content][_symbol_utils.$text](); + } + [_symbol_utils.$toHTML](availableSpace) { + if (typeof this[_symbol_utils.$content] === "string") { + const html = valueToHtml(this[_symbol_utils.$content]).html; + if (this[_symbol_utils.$content].includes("\u2029")) { + html.name = "div"; + html.children = []; + this[_symbol_utils.$content].split("\u2029").map(para => para.split(/[\u2028\n]/).reduce((acc, line) => { + acc.push({ + name: "span", + value: line + }, { + name: "br" + }); + return acc; + }, [])).forEach(lines => { + html.children.push({ + name: "p", + children: lines + }); + }); + } else if (/[\u2028\n]/.test(this[_symbol_utils.$content])) { + html.name = "div"; + html.children = []; + this[_symbol_utils.$content].split(/[\u2028\n]/).forEach(line => { + html.children.push({ + name: "span", + value: line + }, { + name: "br" + }); + }); + } + return _utils.HTMLResult.success(html); + } + return this[_symbol_utils.$content][_symbol_utils.$toHTML](availableSpace); + } +} +exports.Text = Text; +class TextEdit extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "textEdit", true); + this.allowRichText = (0, _utils.getInteger)({ + data: attributes.allowRichText, + defaultValue: 0, + validate: x => x === 1 + }); + this.hScrollPolicy = (0, _utils.getStringOption)(attributes.hScrollPolicy, ["auto", "off", "on"]); + this.id = attributes.id || ""; + this.multiLine = (0, _utils.getInteger)({ + data: attributes.multiLine, + defaultValue: "", + validate: x => x === 0 || x === 1 + }); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.vScrollPolicy = (0, _utils.getStringOption)(attributes.vScrollPolicy, ["auto", "off", "on"]); + this.border = null; + this.comb = null; + this.extras = null; + this.margin = null; + } + [_symbol_utils.$toHTML](availableSpace) { + const style = (0, _html_utils.toStyle)(this, "border", "font", "margin"); + let html; + const field = this[_symbol_utils.$getParent]()[_symbol_utils.$getParent](); + if (this.multiLine === "") { + this.multiLine = field instanceof Draw ? 1 : 0; + } + if (this.multiLine === 1) { + html = { + name: "textarea", + attributes: { + dataId: field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid], + fieldId: field[_symbol_utils.$uid], + class: ["xfaTextfield"], + style, + "aria-label": ariaLabel(field), + "aria-required": false + } + }; + } else { + html = { + name: "input", + attributes: { + type: "text", + dataId: field[_symbol_utils.$data]?.[_symbol_utils.$uid] || field[_symbol_utils.$uid], + fieldId: field[_symbol_utils.$uid], + class: ["xfaTextfield"], + style, + "aria-label": ariaLabel(field), + "aria-required": false + } + }; + } + if (isRequired(field)) { + html.attributes["aria-required"] = true; + html.attributes.required = true; + } + return _utils.HTMLResult.success({ + name: "label", + attributes: { + class: ["xfaLabel"] + }, + children: [html] + }); + } +} +class Time extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "time"); + this.id = attributes.id || ""; + this.name = attributes.name || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } + [_symbol_utils.$finalize]() { + const date = this[_symbol_utils.$content].trim(); + this[_symbol_utils.$content] = date ? new Date(date) : null; + } + [_symbol_utils.$toHTML](availableSpace) { + return valueToHtml(this[_symbol_utils.$content] ? this[_symbol_utils.$content].toString() : ""); + } +} +class TimeStamp extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "timeStamp"); + this.id = attributes.id || ""; + this.server = attributes.server || ""; + this.type = (0, _utils.getStringOption)(attributes.type, ["optional", "required"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class ToolTip extends _xfa_object.StringObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "toolTip"); + this.id = attributes.id || ""; + this.rid = attributes.rid || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + } +} +class Traversal extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "traversal", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.traverse = new _xfa_object.XFAObjectArray(); + } +} +class Traverse extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "traverse", true); + this.id = attributes.id || ""; + this.operation = (0, _utils.getStringOption)(attributes.operation, ["next", "back", "down", "first", "left", "right", "up"]); + this.ref = attributes.ref || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.script = null; + } + get name() { + return this.operation; + } + [_symbol_utils.$isTransparent]() { + return false; + } +} +class Ui extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "ui", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.picture = null; + this.barcode = null; + this.button = null; + this.checkButton = null; + this.choiceList = null; + this.dateTimeEdit = null; + this.defaultUi = null; + this.imageEdit = null; + this.numericEdit = null; + this.passwordEdit = null; + this.signature = null; + this.textEdit = null; + } + [_symbol_utils.$getExtra]() { + if (this[_symbol_utils.$extra] === undefined) { + for (const name of Object.getOwnPropertyNames(this)) { + if (name === "extras" || name === "picture") { + continue; + } + const obj = this[name]; + if (!(obj instanceof _xfa_object.XFAObject)) { + continue; + } + this[_symbol_utils.$extra] = obj; + return obj; + } + this[_symbol_utils.$extra] = null; + } + return this[_symbol_utils.$extra]; + } + [_symbol_utils.$toHTML](availableSpace) { + const obj = this[_symbol_utils.$getExtra](); + if (obj) { + return obj[_symbol_utils.$toHTML](availableSpace); + } + return _utils.HTMLResult.EMPTY; + } +} +class Validate extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "validate", true); + this.formatTest = (0, _utils.getStringOption)(attributes.formatTest, ["warning", "disabled", "error"]); + this.id = attributes.id || ""; + this.nullTest = (0, _utils.getStringOption)(attributes.nullTest, ["disabled", "error", "warning"]); + this.scriptTest = (0, _utils.getStringOption)(attributes.scriptTest, ["error", "disabled", "warning"]); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.extras = null; + this.message = null; + this.picture = null; + this.script = null; + } +} +class Value extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "value", true); + this.id = attributes.id || ""; + this.override = (0, _utils.getInteger)({ + data: attributes.override, + defaultValue: 0, + validate: x => x === 1 + }); + this.relevant = (0, _utils.getRelevant)(attributes.relevant); + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.arc = null; + this.boolean = null; + this.date = null; + this.dateTime = null; + this.decimal = null; + this.exData = null; + this.float = null; + this.image = null; + this.integer = null; + this.line = null; + this.rectangle = null; + this.text = null; + this.time = null; + } + [_symbol_utils.$setValue](value) { + const parent = this[_symbol_utils.$getParent](); + if (parent instanceof Field) { + if (parent.ui?.imageEdit) { + if (!this.image) { + this.image = new Image({}); + this[_symbol_utils.$appendChild](this.image); + } + this.image[_symbol_utils.$content] = value[_symbol_utils.$content]; + return; + } + } + const valueName = value[_symbol_utils.$nodeName]; + if (this[valueName] !== null) { + this[valueName][_symbol_utils.$content] = value[_symbol_utils.$content]; + return; + } + for (const name of Object.getOwnPropertyNames(this)) { + const obj = this[name]; + if (obj instanceof _xfa_object.XFAObject) { + this[name] = null; + this[_symbol_utils.$removeChild](obj); + } + } + this[value[_symbol_utils.$nodeName]] = value; + this[_symbol_utils.$appendChild](value); + } + [_symbol_utils.$text]() { + if (this.exData) { + if (typeof this.exData[_symbol_utils.$content] === "string") { + return this.exData[_symbol_utils.$content].trim(); + } + return this.exData[_symbol_utils.$content][_symbol_utils.$text]().trim(); + } + for (const name of Object.getOwnPropertyNames(this)) { + if (name === "image") { + continue; + } + const obj = this[name]; + if (obj instanceof _xfa_object.XFAObject) { + return (obj[_symbol_utils.$content] || "").toString().trim(); + } + } + return null; + } + [_symbol_utils.$toHTML](availableSpace) { + for (const name of Object.getOwnPropertyNames(this)) { + const obj = this[name]; + if (!(obj instanceof _xfa_object.XFAObject)) { + continue; + } + return obj[_symbol_utils.$toHTML](availableSpace); + } + return _utils.HTMLResult.EMPTY; + } +} +exports.Value = Value; +class Variables extends _xfa_object.XFAObject { + constructor(attributes) { + super(TEMPLATE_NS_ID, "variables", true); + this.id = attributes.id || ""; + this.use = attributes.use || ""; + this.usehref = attributes.usehref || ""; + this.boolean = new _xfa_object.XFAObjectArray(); + this.date = new _xfa_object.XFAObjectArray(); + this.dateTime = new _xfa_object.XFAObjectArray(); + this.decimal = new _xfa_object.XFAObjectArray(); + this.exData = new _xfa_object.XFAObjectArray(); + this.float = new _xfa_object.XFAObjectArray(); + this.image = new _xfa_object.XFAObjectArray(); + this.integer = new _xfa_object.XFAObjectArray(); + this.manifest = new _xfa_object.XFAObjectArray(); + this.script = new _xfa_object.XFAObjectArray(); + this.text = new _xfa_object.XFAObjectArray(); + this.time = new _xfa_object.XFAObjectArray(); + } + [_symbol_utils.$isTransparent]() { + return true; + } +} +class TemplateNamespace { + static [_namespaces.$buildXFAObject](name, attributes) { + if (TemplateNamespace.hasOwnProperty(name)) { + const node = TemplateNamespace[name](attributes); + node[_symbol_utils.$setSetAttributes](attributes); + return node; + } + return undefined; + } + static appearanceFilter(attrs) { + return new AppearanceFilter(attrs); + } + static arc(attrs) { + return new Arc(attrs); + } + static area(attrs) { + return new Area(attrs); + } + static assist(attrs) { + return new Assist(attrs); + } + static barcode(attrs) { + return new Barcode(attrs); + } + static bind(attrs) { + return new Bind(attrs); + } + static bindItems(attrs) { + return new BindItems(attrs); + } + static bookend(attrs) { + return new Bookend(attrs); + } + static boolean(attrs) { + return new BooleanElement(attrs); + } + static border(attrs) { + return new Border(attrs); + } + static break(attrs) { + return new Break(attrs); + } + static breakAfter(attrs) { + return new BreakAfter(attrs); + } + static breakBefore(attrs) { + return new BreakBefore(attrs); + } + static button(attrs) { + return new Button(attrs); + } + static calculate(attrs) { + return new Calculate(attrs); + } + static caption(attrs) { + return new Caption(attrs); + } + static certificate(attrs) { + return new Certificate(attrs); + } + static certificates(attrs) { + return new Certificates(attrs); + } + static checkButton(attrs) { + return new CheckButton(attrs); + } + static choiceList(attrs) { + return new ChoiceList(attrs); + } + static color(attrs) { + return new Color(attrs); + } + static comb(attrs) { + return new Comb(attrs); + } + static connect(attrs) { + return new Connect(attrs); + } + static contentArea(attrs) { + return new ContentArea(attrs); + } + static corner(attrs) { + return new Corner(attrs); + } + static date(attrs) { + return new DateElement(attrs); + } + static dateTime(attrs) { + return new DateTime(attrs); + } + static dateTimeEdit(attrs) { + return new DateTimeEdit(attrs); + } + static decimal(attrs) { + return new Decimal(attrs); + } + static defaultUi(attrs) { + return new DefaultUi(attrs); + } + static desc(attrs) { + return new Desc(attrs); + } + static digestMethod(attrs) { + return new DigestMethod(attrs); + } + static digestMethods(attrs) { + return new DigestMethods(attrs); + } + static draw(attrs) { + return new Draw(attrs); + } + static edge(attrs) { + return new Edge(attrs); + } + static encoding(attrs) { + return new Encoding(attrs); + } + static encodings(attrs) { + return new Encodings(attrs); + } + static encrypt(attrs) { + return new Encrypt(attrs); + } + static encryptData(attrs) { + return new EncryptData(attrs); + } + static encryption(attrs) { + return new Encryption(attrs); + } + static encryptionMethod(attrs) { + return new EncryptionMethod(attrs); + } + static encryptionMethods(attrs) { + return new EncryptionMethods(attrs); + } + static event(attrs) { + return new Event(attrs); + } + static exData(attrs) { + return new ExData(attrs); + } + static exObject(attrs) { + return new ExObject(attrs); + } + static exclGroup(attrs) { + return new ExclGroup(attrs); + } + static execute(attrs) { + return new Execute(attrs); + } + static extras(attrs) { + return new Extras(attrs); + } + static field(attrs) { + return new Field(attrs); + } + static fill(attrs) { + return new Fill(attrs); + } + static filter(attrs) { + return new Filter(attrs); + } + static float(attrs) { + return new Float(attrs); + } + static font(attrs) { + return new Font(attrs); + } + static format(attrs) { + return new Format(attrs); + } + static handler(attrs) { + return new Handler(attrs); + } + static hyphenation(attrs) { + return new Hyphenation(attrs); + } + static image(attrs) { + return new Image(attrs); + } + static imageEdit(attrs) { + return new ImageEdit(attrs); + } + static integer(attrs) { + return new Integer(attrs); + } + static issuers(attrs) { + return new Issuers(attrs); + } + static items(attrs) { + return new Items(attrs); + } + static keep(attrs) { + return new Keep(attrs); + } + static keyUsage(attrs) { + return new KeyUsage(attrs); + } + static line(attrs) { + return new Line(attrs); + } + static linear(attrs) { + return new Linear(attrs); + } + static lockDocument(attrs) { + return new LockDocument(attrs); + } + static manifest(attrs) { + return new Manifest(attrs); + } + static margin(attrs) { + return new Margin(attrs); + } + static mdp(attrs) { + return new Mdp(attrs); + } + static medium(attrs) { + return new Medium(attrs); + } + static message(attrs) { + return new Message(attrs); + } + static numericEdit(attrs) { + return new NumericEdit(attrs); + } + static occur(attrs) { + return new Occur(attrs); + } + static oid(attrs) { + return new Oid(attrs); + } + static oids(attrs) { + return new Oids(attrs); + } + static overflow(attrs) { + return new Overflow(attrs); + } + static pageArea(attrs) { + return new PageArea(attrs); + } + static pageSet(attrs) { + return new PageSet(attrs); + } + static para(attrs) { + return new Para(attrs); + } + static passwordEdit(attrs) { + return new PasswordEdit(attrs); + } + static pattern(attrs) { + return new Pattern(attrs); + } + static picture(attrs) { + return new Picture(attrs); + } + static proto(attrs) { + return new Proto(attrs); + } + static radial(attrs) { + return new Radial(attrs); + } + static reason(attrs) { + return new Reason(attrs); + } + static reasons(attrs) { + return new Reasons(attrs); + } + static rectangle(attrs) { + return new Rectangle(attrs); + } + static ref(attrs) { + return new RefElement(attrs); + } + static script(attrs) { + return new Script(attrs); + } + static setProperty(attrs) { + return new SetProperty(attrs); + } + static signData(attrs) { + return new SignData(attrs); + } + static signature(attrs) { + return new Signature(attrs); + } + static signing(attrs) { + return new Signing(attrs); + } + static solid(attrs) { + return new Solid(attrs); + } + static speak(attrs) { + return new Speak(attrs); + } + static stipple(attrs) { + return new Stipple(attrs); + } + static subform(attrs) { + return new Subform(attrs); + } + static subformSet(attrs) { + return new SubformSet(attrs); + } + static subjectDN(attrs) { + return new SubjectDN(attrs); + } + static subjectDNs(attrs) { + return new SubjectDNs(attrs); + } + static submit(attrs) { + return new Submit(attrs); + } + static template(attrs) { + return new Template(attrs); + } + static text(attrs) { + return new Text(attrs); + } + static textEdit(attrs) { + return new TextEdit(attrs); + } + static time(attrs) { + return new Time(attrs); + } + static timeStamp(attrs) { + return new TimeStamp(attrs); + } + static toolTip(attrs) { + return new ToolTip(attrs); + } + static traversal(attrs) { + return new Traversal(attrs); + } + static traverse(attrs) { + return new Traverse(attrs); + } + static ui(attrs) { + return new Ui(attrs); + } + static validate(attrs) { + return new Validate(attrs); + } + static value(attrs) { + return new Value(attrs); + } + static variables(attrs) { + return new Variables(attrs); + } +} +exports.TemplateNamespace = TemplateNamespace; + +/***/ }), +/* 81 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NamespaceIds = exports.$buildXFAObject = void 0; const $buildXFAObject = Symbol(); +exports.$buildXFAObject = $buildXFAObject; const NamespaceIds = { config: { id: 0, @@ -43560,13 +51756,855 @@ const NamespaceIds = { check: ns => ns === "http://ns.adobe.com/xmpmeta/" } }; +exports.NamespaceIds = NamespaceIds; -;// CONCATENATED MODULE: ./src/core/xfa/utils.js +/***/ }), +/* 82 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.addHTML = addHTML; +exports.checkDimensions = checkDimensions; +exports.flushHTML = flushHTML; +exports.getAvailableSpace = getAvailableSpace; +var _symbol_utils = __w_pdfjs_require__(78); +var _html_utils = __w_pdfjs_require__(83); +function createLine(node, children) { + return { + name: "div", + attributes: { + class: [node.layout === "lr-tb" ? "xfaLr" : "xfaRl"] + }, + children + }; +} +function flushHTML(node) { + if (!node[_symbol_utils.$extra]) { + return null; + } + const attributes = node[_symbol_utils.$extra].attributes; + const html = { + name: "div", + attributes, + children: node[_symbol_utils.$extra].children + }; + if (node[_symbol_utils.$extra].failingNode) { + const htmlFromFailing = node[_symbol_utils.$extra].failingNode[_symbol_utils.$flushHTML](); + if (htmlFromFailing) { + if (node.layout.endsWith("-tb")) { + html.children.push(createLine(node, [htmlFromFailing])); + } else { + html.children.push(htmlFromFailing); + } + } + } + if (html.children.length === 0) { + return null; + } + return html; +} +function addHTML(node, html, bbox) { + const extra = node[_symbol_utils.$extra]; + const availableSpace = extra.availableSpace; + const [x, y, w, h] = bbox; + switch (node.layout) { + case "position": + { + extra.width = Math.max(extra.width, x + w); + extra.height = Math.max(extra.height, y + h); + extra.children.push(html); + break; + } + case "lr-tb": + case "rl-tb": + if (!extra.line || extra.attempt === 1) { + extra.line = createLine(node, []); + extra.children.push(extra.line); + extra.numberInLine = 0; + } + extra.numberInLine += 1; + extra.line.children.push(html); + if (extra.attempt === 0) { + extra.currentWidth += w; + extra.height = Math.max(extra.height, extra.prevHeight + h); + } else { + extra.currentWidth = w; + extra.prevHeight = extra.height; + extra.height += h; + extra.attempt = 0; + } + extra.width = Math.max(extra.width, extra.currentWidth); + break; + case "rl-row": + case "row": + { + extra.children.push(html); + extra.width += w; + extra.height = Math.max(extra.height, h); + const height = (0, _html_utils.measureToString)(extra.height); + for (const child of extra.children) { + child.attributes.style.height = height; + } + break; + } + case "table": + { + extra.width = Math.min(availableSpace.width, Math.max(extra.width, w)); + extra.height += h; + extra.children.push(html); + break; + } + case "tb": + { + extra.width = Math.min(availableSpace.width, Math.max(extra.width, w)); + extra.height += h; + extra.children.push(html); + break; + } + } +} +function getAvailableSpace(node) { + const availableSpace = node[_symbol_utils.$extra].availableSpace; + const marginV = node.margin ? node.margin.topInset + node.margin.bottomInset : 0; + const marginH = node.margin ? node.margin.leftInset + node.margin.rightInset : 0; + switch (node.layout) { + case "lr-tb": + case "rl-tb": + if (node[_symbol_utils.$extra].attempt === 0) { + return { + width: availableSpace.width - marginH - node[_symbol_utils.$extra].currentWidth, + height: availableSpace.height - marginV - node[_symbol_utils.$extra].prevHeight + }; + } + return { + width: availableSpace.width - marginH, + height: availableSpace.height - marginV - node[_symbol_utils.$extra].height + }; + case "rl-row": + case "row": + const width = node[_symbol_utils.$extra].columnWidths.slice(node[_symbol_utils.$extra].currentColumn).reduce((a, x) => a + x); + return { + width, + height: availableSpace.height - marginH + }; + case "table": + case "tb": + return { + width: availableSpace.width - marginH, + height: availableSpace.height - marginV - node[_symbol_utils.$extra].height + }; + case "position": + default: + return availableSpace; + } +} +function getTransformedBBox(node) { + let w = node.w === "" ? NaN : node.w; + let h = node.h === "" ? NaN : node.h; + let [centerX, centerY] = [0, 0]; + switch (node.anchorType || "") { + case "bottomCenter": + [centerX, centerY] = [w / 2, h]; + break; + case "bottomLeft": + [centerX, centerY] = [0, h]; + break; + case "bottomRight": + [centerX, centerY] = [w, h]; + break; + case "middleCenter": + [centerX, centerY] = [w / 2, h / 2]; + break; + case "middleLeft": + [centerX, centerY] = [0, h / 2]; + break; + case "middleRight": + [centerX, centerY] = [w, h / 2]; + break; + case "topCenter": + [centerX, centerY] = [w / 2, 0]; + break; + case "topRight": + [centerX, centerY] = [w, 0]; + break; + } + let x, y; + switch (node.rotate || 0) { + case 0: + [x, y] = [-centerX, -centerY]; + break; + case 90: + [x, y] = [-centerY, centerX]; + [w, h] = [h, -w]; + break; + case 180: + [x, y] = [centerX, centerY]; + [w, h] = [-w, -h]; + break; + case 270: + [x, y] = [centerY, -centerX]; + [w, h] = [-h, w]; + break; + } + return [node.x + x + Math.min(0, w), node.y + y + Math.min(0, h), Math.abs(w), Math.abs(h)]; +} +function checkDimensions(node, space) { + if (node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].firstUnsplittable === null) { + return true; + } + if (node.w === 0 || node.h === 0) { + return true; + } + const ERROR = 2; + const parent = node[_symbol_utils.$getSubformParent](); + const attempt = parent[_symbol_utils.$extra]?.attempt || 0; + const [, y, w, h] = getTransformedBBox(node); + switch (parent.layout) { + case "lr-tb": + case "rl-tb": + if (attempt === 0) { + if (!node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + if (node.h !== "" && Math.round(h - space.height) > ERROR) { + return false; + } + if (node.w !== "") { + if (Math.round(w - space.width) <= ERROR) { + return true; + } + if (parent[_symbol_utils.$extra].numberInLine === 0) { + return space.height > ERROR; + } + return false; + } + return space.width > ERROR; + } + if (node.w !== "") { + return Math.round(w - space.width) <= ERROR; + } + return space.width > ERROR; + } + if (node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + return true; + } + if (node.h !== "" && Math.round(h - space.height) > ERROR) { + return false; + } + if (node.w === "" || Math.round(w - space.width) <= ERROR) { + return space.height > ERROR; + } + if (parent[_symbol_utils.$isThereMoreWidth]()) { + return false; + } + return space.height > ERROR; + case "table": + case "tb": + if (node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + return true; + } + if (node.h !== "" && !node[_symbol_utils.$isSplittable]()) { + return Math.round(h - space.height) <= ERROR; + } + if (node.w === "" || Math.round(w - space.width) <= ERROR) { + return space.height > ERROR; + } + if (parent[_symbol_utils.$isThereMoreWidth]()) { + return false; + } + return space.height > ERROR; + case "position": + if (node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + return true; + } + if (node.h === "" || Math.round(h + y - space.height) <= ERROR) { + return true; + } + const area = node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].currentContentArea; + return h + y > area.h; + case "rl-row": + case "row": + if (node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].noLayoutFailure) { + return true; + } + if (node.h !== "") { + return Math.round(h - space.height) <= ERROR; + } + return true; + default: + return true; + } +} + +/***/ }), +/* 83 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.computeBbox = computeBbox; +exports.createWrapper = createWrapper; +exports.fixDimensions = fixDimensions; +exports.fixTextIndent = fixTextIndent; +exports.fixURL = fixURL; +exports.isPrintOnly = isPrintOnly; +exports.layoutClass = layoutClass; +exports.layoutNode = layoutNode; +exports.measureToString = measureToString; +exports.setAccess = setAccess; +exports.setFontFamily = setFontFamily; +exports.setMinMaxDimensions = setMinMaxDimensions; +exports.setPara = setPara; +exports.toStyle = toStyle; +var _symbol_utils = __w_pdfjs_require__(78); +var _util = __w_pdfjs_require__(2); +var _utils = __w_pdfjs_require__(84); +var _fonts = __w_pdfjs_require__(85); +var _text = __w_pdfjs_require__(86); +var _xfa_object = __w_pdfjs_require__(87); +function measureToString(m) { + if (typeof m === "string") { + return "0px"; + } + return Number.isInteger(m) ? `${m}px` : `${m.toFixed(2)}px`; +} +const converters = { + anchorType(node, style) { + const parent = node[_symbol_utils.$getSubformParent](); + if (!parent || parent.layout && parent.layout !== "position") { + return; + } + if (!("transform" in style)) { + style.transform = ""; + } + switch (node.anchorType) { + case "bottomCenter": + style.transform += "translate(-50%, -100%)"; + break; + case "bottomLeft": + style.transform += "translate(0,-100%)"; + break; + case "bottomRight": + style.transform += "translate(-100%,-100%)"; + break; + case "middleCenter": + style.transform += "translate(-50%,-50%)"; + break; + case "middleLeft": + style.transform += "translate(0,-50%)"; + break; + case "middleRight": + style.transform += "translate(-100%,-50%)"; + break; + case "topCenter": + style.transform += "translate(-50%,0)"; + break; + case "topRight": + style.transform += "translate(-100%,0)"; + break; + } + }, + dimensions(node, style) { + const parent = node[_symbol_utils.$getSubformParent](); + let width = node.w; + const height = node.h; + if (parent.layout?.includes("row")) { + const extra = parent[_symbol_utils.$extra]; + const colSpan = node.colSpan; + let w; + if (colSpan === -1) { + w = extra.columnWidths.slice(extra.currentColumn).reduce((a, x) => a + x, 0); + extra.currentColumn = 0; + } else { + w = extra.columnWidths.slice(extra.currentColumn, extra.currentColumn + colSpan).reduce((a, x) => a + x, 0); + extra.currentColumn = (extra.currentColumn + node.colSpan) % extra.columnWidths.length; + } + if (!isNaN(w)) { + width = node.w = w; + } + } + if (width !== "") { + style.width = measureToString(width); + } else { + style.width = "auto"; + } + if (height !== "") { + style.height = measureToString(height); + } else { + style.height = "auto"; + } + }, + position(node, style) { + const parent = node[_symbol_utils.$getSubformParent](); + if (parent?.layout && parent.layout !== "position") { + return; + } + style.position = "absolute"; + style.left = measureToString(node.x); + style.top = measureToString(node.y); + }, + rotate(node, style) { + if (node.rotate) { + if (!("transform" in style)) { + style.transform = ""; + } + style.transform += `rotate(-${node.rotate}deg)`; + style.transformOrigin = "top left"; + } + }, + presence(node, style) { + switch (node.presence) { + case "invisible": + style.visibility = "hidden"; + break; + case "hidden": + case "inactive": + style.display = "none"; + break; + } + }, + hAlign(node, style) { + if (node[_symbol_utils.$nodeName] === "para") { + switch (node.hAlign) { + case "justifyAll": + style.textAlign = "justify-all"; + break; + case "radix": + style.textAlign = "left"; + break; + default: + style.textAlign = node.hAlign; + } + } else { + switch (node.hAlign) { + case "left": + style.alignSelf = "start"; + break; + case "center": + style.alignSelf = "center"; + break; + case "right": + style.alignSelf = "end"; + break; + } + } + }, + margin(node, style) { + if (node.margin) { + style.margin = node.margin[_symbol_utils.$toStyle]().margin; + } + } +}; +function setMinMaxDimensions(node, style) { + const parent = node[_symbol_utils.$getSubformParent](); + if (parent.layout === "position") { + if (node.minW > 0) { + style.minWidth = measureToString(node.minW); + } + if (node.maxW > 0) { + style.maxWidth = measureToString(node.maxW); + } + if (node.minH > 0) { + style.minHeight = measureToString(node.minH); + } + if (node.maxH > 0) { + style.maxHeight = measureToString(node.maxH); + } + } +} +function layoutText(text, xfaFont, margin, lineHeight, fontFinder, width) { + const measure = new _text.TextMeasure(xfaFont, margin, lineHeight, fontFinder); + if (typeof text === "string") { + measure.addString(text); + } else { + text[_symbol_utils.$pushGlyphs](measure); + } + return measure.compute(width); +} +function layoutNode(node, availableSpace) { + let height = null; + let width = null; + let isBroken = false; + if ((!node.w || !node.h) && node.value) { + let marginH = 0; + let marginV = 0; + if (node.margin) { + marginH = node.margin.leftInset + node.margin.rightInset; + marginV = node.margin.topInset + node.margin.bottomInset; + } + let lineHeight = null; + let margin = null; + if (node.para) { + margin = Object.create(null); + lineHeight = node.para.lineHeight === "" ? null : node.para.lineHeight; + margin.top = node.para.spaceAbove === "" ? 0 : node.para.spaceAbove; + margin.bottom = node.para.spaceBelow === "" ? 0 : node.para.spaceBelow; + margin.left = node.para.marginLeft === "" ? 0 : node.para.marginLeft; + margin.right = node.para.marginRight === "" ? 0 : node.para.marginRight; + } + let font = node.font; + if (!font) { + const root = node[_symbol_utils.$getTemplateRoot](); + let parent = node[_symbol_utils.$getParent](); + while (parent && parent !== root) { + if (parent.font) { + font = parent.font; + break; + } + parent = parent[_symbol_utils.$getParent](); + } + } + const maxWidth = (node.w || availableSpace.width) - marginH; + const fontFinder = node[_symbol_utils.$globalData].fontFinder; + if (node.value.exData && node.value.exData[_symbol_utils.$content] && node.value.exData.contentType === "text/html") { + const res = layoutText(node.value.exData[_symbol_utils.$content], font, margin, lineHeight, fontFinder, maxWidth); + width = res.width; + height = res.height; + isBroken = res.isBroken; + } else { + const text = node.value[_symbol_utils.$text](); + if (text) { + const res = layoutText(text, font, margin, lineHeight, fontFinder, maxWidth); + width = res.width; + height = res.height; + isBroken = res.isBroken; + } + } + if (width !== null && !node.w) { + width += marginH; + } + if (height !== null && !node.h) { + height += marginV; + } + } + return { + w: width, + h: height, + isBroken + }; +} +function computeBbox(node, html, availableSpace) { + let bbox; + if (node.w !== "" && node.h !== "") { + bbox = [node.x, node.y, node.w, node.h]; + } else { + if (!availableSpace) { + return null; + } + let width = node.w; + if (width === "") { + if (node.maxW === 0) { + const parent = node[_symbol_utils.$getSubformParent](); + if (parent.layout === "position" && parent.w !== "") { + width = 0; + } else { + width = node.minW; + } + } else { + width = Math.min(node.maxW, availableSpace.width); + } + html.attributes.style.width = measureToString(width); + } + let height = node.h; + if (height === "") { + if (node.maxH === 0) { + const parent = node[_symbol_utils.$getSubformParent](); + if (parent.layout === "position" && parent.h !== "") { + height = 0; + } else { + height = node.minH; + } + } else { + height = Math.min(node.maxH, availableSpace.height); + } + html.attributes.style.height = measureToString(height); + } + bbox = [node.x, node.y, width, height]; + } + return bbox; +} +function fixDimensions(node) { + const parent = node[_symbol_utils.$getSubformParent](); + if (parent.layout?.includes("row")) { + const extra = parent[_symbol_utils.$extra]; + const colSpan = node.colSpan; + let width; + if (colSpan === -1) { + width = extra.columnWidths.slice(extra.currentColumn).reduce((a, w) => a + w, 0); + } else { + width = extra.columnWidths.slice(extra.currentColumn, extra.currentColumn + colSpan).reduce((a, w) => a + w, 0); + } + if (!isNaN(width)) { + node.w = width; + } + } + if (parent.layout && parent.layout !== "position") { + node.x = node.y = 0; + } + if (node.layout === "table") { + if (node.w === "" && Array.isArray(node.columnWidths)) { + node.w = node.columnWidths.reduce((a, x) => a + x, 0); + } + } +} +function layoutClass(node) { + switch (node.layout) { + case "position": + return "xfaPosition"; + case "lr-tb": + return "xfaLrTb"; + case "rl-row": + return "xfaRlRow"; + case "rl-tb": + return "xfaRlTb"; + case "row": + return "xfaRow"; + case "table": + return "xfaTable"; + case "tb": + return "xfaTb"; + default: + return "xfaPosition"; + } +} +function toStyle(node, ...names) { + const style = Object.create(null); + for (const name of names) { + const value = node[name]; + if (value === null) { + continue; + } + if (converters.hasOwnProperty(name)) { + converters[name](node, style); + continue; + } + if (value instanceof _xfa_object.XFAObject) { + const newStyle = value[_symbol_utils.$toStyle](); + if (newStyle) { + Object.assign(style, newStyle); + } else { + (0, _util.warn)(`(DEBUG) - XFA - style for ${name} not implemented yet`); + } + } + } + return style; +} +function createWrapper(node, html) { + const { + attributes + } = html; + const { + style + } = attributes; + const wrapper = { + name: "div", + attributes: { + class: ["xfaWrapper"], + style: Object.create(null) + }, + children: [] + }; + attributes.class.push("xfaWrapped"); + if (node.border) { + const { + widths, + insets + } = node.border[_symbol_utils.$extra]; + let width, height; + let top = insets[0]; + let left = insets[3]; + const insetsH = insets[0] + insets[2]; + const insetsW = insets[1] + insets[3]; + switch (node.border.hand) { + case "even": + top -= widths[0] / 2; + left -= widths[3] / 2; + width = `calc(100% + ${(widths[1] + widths[3]) / 2 - insetsW}px)`; + height = `calc(100% + ${(widths[0] + widths[2]) / 2 - insetsH}px)`; + break; + case "left": + top -= widths[0]; + left -= widths[3]; + width = `calc(100% + ${widths[1] + widths[3] - insetsW}px)`; + height = `calc(100% + ${widths[0] + widths[2] - insetsH}px)`; + break; + case "right": + width = insetsW ? `calc(100% - ${insetsW}px)` : "100%"; + height = insetsH ? `calc(100% - ${insetsH}px)` : "100%"; + break; + } + const classNames = ["xfaBorder"]; + if (isPrintOnly(node.border)) { + classNames.push("xfaPrintOnly"); + } + const border = { + name: "div", + attributes: { + class: classNames, + style: { + top: `${top}px`, + left: `${left}px`, + width, + height + } + }, + children: [] + }; + for (const key of ["border", "borderWidth", "borderColor", "borderRadius", "borderStyle"]) { + if (style[key] !== undefined) { + border.attributes.style[key] = style[key]; + delete style[key]; + } + } + wrapper.children.push(border, html); + } else { + wrapper.children.push(html); + } + for (const key of ["background", "backgroundClip", "top", "left", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "transform", "transformOrigin", "visibility"]) { + if (style[key] !== undefined) { + wrapper.attributes.style[key] = style[key]; + delete style[key]; + } + } + if (style.position === "absolute") { + wrapper.attributes.style.position = "absolute"; + } else { + wrapper.attributes.style.position = "relative"; + } + delete style.position; + if (style.alignSelf) { + wrapper.attributes.style.alignSelf = style.alignSelf; + delete style.alignSelf; + } + return wrapper; +} +function fixTextIndent(styles) { + const indent = (0, _utils.getMeasurement)(styles.textIndent, "0px"); + if (indent >= 0) { + return; + } + const align = styles.textAlign === "right" ? "right" : "left"; + const name = "padding" + (align === "left" ? "Left" : "Right"); + const padding = (0, _utils.getMeasurement)(styles[name], "0px"); + styles[name] = `${padding - indent}px`; +} +function setAccess(node, classNames) { + switch (node.access) { + case "nonInteractive": + classNames.push("xfaNonInteractive"); + break; + case "readOnly": + classNames.push("xfaReadOnly"); + break; + case "protected": + classNames.push("xfaDisabled"); + break; + } +} +function isPrintOnly(node) { + return node.relevant.length > 0 && !node.relevant[0].excluded && node.relevant[0].viewname === "print"; +} +function getCurrentPara(node) { + const stack = node[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].paraStack; + return stack.length ? stack.at(-1) : null; +} +function setPara(node, nodeStyle, value) { + if (value.attributes.class?.includes("xfaRich")) { + if (nodeStyle) { + if (node.h === "") { + nodeStyle.height = "auto"; + } + if (node.w === "") { + nodeStyle.width = "auto"; + } + } + const para = getCurrentPara(node); + if (para) { + const valueStyle = value.attributes.style; + valueStyle.display = "flex"; + valueStyle.flexDirection = "column"; + switch (para.vAlign) { + case "top": + valueStyle.justifyContent = "start"; + break; + case "bottom": + valueStyle.justifyContent = "end"; + break; + case "middle": + valueStyle.justifyContent = "center"; + break; + } + const paraStyle = para[_symbol_utils.$toStyle](); + for (const [key, val] of Object.entries(paraStyle)) { + if (!(key in valueStyle)) { + valueStyle[key] = val; + } + } + } + } +} +function setFontFamily(xfaFont, node, fontFinder, style) { + if (!fontFinder) { + delete style.fontFamily; + return; + } + const name = (0, _utils.stripQuotes)(xfaFont.typeface); + style.fontFamily = `"${name}"`; + const typeface = fontFinder.find(name); + if (typeface) { + const { + fontFamily + } = typeface.regular.cssFontInfo; + if (fontFamily !== name) { + style.fontFamily = `"${fontFamily}"`; + } + const para = getCurrentPara(node); + if (para && para.lineHeight !== "") { + return; + } + if (style.lineHeight) { + return; + } + const pdfFont = (0, _fonts.selectFont)(xfaFont, typeface); + if (pdfFont) { + style.lineHeight = Math.max(1.2, pdfFont.lineHeight); + } + } +} +function fixURL(str) { + const absoluteUrl = (0, _util.createValidAbsoluteUrl)(str, null, { + addDefaultProtocol: true, + tryConvertEncoding: true + }); + return absoluteUrl ? absoluteUrl.href : null; +} + +/***/ }), +/* 84 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.HTMLResult = void 0; +exports.getBBox = getBBox; +exports.getColor = getColor; +exports.getFloat = getFloat; +exports.getInteger = getInteger; +exports.getKeyword = getKeyword; +exports.getMeasurement = getMeasurement; +exports.getRatio = getRatio; +exports.getRelevant = getRelevant; +exports.getStringOption = getStringOption; +exports.stripQuotes = stripQuotes; +var _util = __w_pdfjs_require__(2); const dimConverters = { pt: x => x, cm: x => x / 2.54 * 72, @@ -43682,10 +52720,12 @@ function getRelevant(data) { if (!data) { return []; } - return data.trim().split(/\s+/).map(e => ({ - excluded: e[0] === "-", - viewname: e.substring(1) - })); + return data.trim().split(/\s+/).map(e => { + return { + excluded: e[0] === "-", + viewname: e.substring(1) + }; + }); } function getColor(data, def = [0, 0, 0]) { let [r, g, b] = def; @@ -43740,10 +52780,10 @@ function getBBox(data) { } class HTMLResult { static get FAILURE() { - return shadow(this, "FAILURE", new HTMLResult(false, null, null, null)); + return (0, _util.shadow)(this, "FAILURE", new HTMLResult(false, null, null, null)); } static get EMPTY() { - return shadow(this, "EMPTY", new HTMLResult(true, null, null, null)); + return (0, _util.shadow)(this, "EMPTY", new HTMLResult(true, null, null, null)); } constructor(success, html, bbox, breakNode) { this.success = success; @@ -43761,21 +52801,23 @@ class HTMLResult { return new HTMLResult(true, html, bbox, null); } } +exports.HTMLResult = HTMLResult; -;// CONCATENATED MODULE: ./src/core/xfa/fonts.js - - - - - - - - - - +/***/ }), +/* 85 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.FontFinder = void 0; +exports.getMetrics = getMetrics; +exports.selectFont = selectFont; +var _symbol_utils = __w_pdfjs_require__(78); +var _utils = __w_pdfjs_require__(84); +var _util = __w_pdfjs_require__(2); class FontFinder { constructor(pdfFonts) { this.fonts = new Map(); @@ -43878,18 +52920,19 @@ class FontFinder { } if (maybe.length >= 1) { if (maybe.length !== 1 && mustWarn) { - warn(`XFA - Too many choices to guess the correct font: ${fontName}`); + (0, _util.warn)(`XFA - Too many choices to guess the correct font: ${fontName}`); } this.cache.set(fontName, maybe[0]); return maybe[0]; } if (mustWarn && !this.warned.has(fontName)) { this.warned.add(fontName); - warn(`XFA - Cannot find the font: ${fontName}`); + (0, _util.warn)(`XFA - Cannot find the font: ${fontName}`); } return null; } } +exports.FontFinder = FontFinder; function selectFont(xfaFont, typeface) { if (xfaFont.posture === "italic") { if (xfaFont.weight === "bold") { @@ -43901,11 +52944,11 @@ function selectFont(xfaFont, typeface) { } return typeface.regular; } -function fonts_getMetrics(xfaFont, real = false) { +function getMetrics(xfaFont, real = false) { let pdfFont = null; if (xfaFont) { - const name = stripQuotes(xfaFont.typeface); - const typeface = xfaFont[$globalData].fontFinder.find(name); + const name = (0, _utils.stripQuotes)(xfaFont.typeface); + const typeface = xfaFont[_symbol_utils.$globalData].fontFinder.find(name); pdfFont = selectFont(xfaFont, typeface); } if (!pdfFont) { @@ -43925,11 +52968,17 @@ function fonts_getMetrics(xfaFont, real = false) { }; } -;// CONCATENATED MODULE: ./src/core/xfa/text.js - +/***/ }), +/* 86 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TextMeasure = void 0; +var _fonts = __w_pdfjs_require__(85); const WIDTH_FACTOR = 1.02; class FontInfo { constructor(xfaFont, margin, lineHeight, fontFinder) { @@ -43956,7 +53005,7 @@ class FontInfo { [this.pdfFont, this.xfaFont] = this.defaultFont(fontFinder); return; } - this.pdfFont = selectFont(xfaFont, typeface); + this.pdfFont = (0, _fonts.selectFont)(xfaFont, typeface); if (!this.pdfFont) { [this.pdfFont, this.xfaFont] = this.defaultFont(fontFinder); } @@ -44137,14 +53186,851 @@ class TextMeasure { }; } } +exports.TextMeasure = TextMeasure; -;// CONCATENATED MODULE: ./src/core/xfa/som.js +/***/ }), +/* 87 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XmlObject = exports.XFAObjectArray = exports.XFAObject = exports.XFAAttribute = exports.StringObject = exports.OptionObject = exports.Option10 = exports.Option01 = exports.IntegerObject = exports.ContentObject = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _utils = __w_pdfjs_require__(84); +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _namespaces = __w_pdfjs_require__(81); +var _som = __w_pdfjs_require__(88); +const _applyPrototype = Symbol(); +const _attributes = Symbol(); +const _attributeNames = Symbol(); +const _children = Symbol("_children"); +const _cloneAttribute = Symbol(); +const _dataValue = Symbol(); +const _defaultValue = Symbol(); +const _filteredChildrenGenerator = Symbol(); +const _getPrototype = Symbol(); +const _getUnsetAttributes = Symbol(); +const _hasChildren = Symbol(); +const _max = Symbol(); +const _options = Symbol(); +const _parent = Symbol("parent"); +const _resolvePrototypesHelper = Symbol(); +const _setAttributes = Symbol(); +const _validator = Symbol(); +let uid = 0; +const NS_DATASETS = _namespaces.NamespaceIds.datasets.id; +class XFAObject { + constructor(nsId, name, hasChildren = false) { + this[_symbol_utils.$namespaceId] = nsId; + this[_symbol_utils.$nodeName] = name; + this[_hasChildren] = hasChildren; + this[_parent] = null; + this[_children] = []; + this[_symbol_utils.$uid] = `${name}${uid++}`; + this[_symbol_utils.$globalData] = null; + } + get isXFAObject() { + return true; + } + get isXFAObjectArray() { + return false; + } + createNodes(path) { + let root = this, + node = null; + for (const { + name, + index + } of path) { + for (let i = 0, ii = isFinite(index) ? index : 0; i <= ii; i++) { + const nsId = root[_symbol_utils.$namespaceId] === NS_DATASETS ? -1 : root[_symbol_utils.$namespaceId]; + node = new XmlObject(nsId, name); + root[_symbol_utils.$appendChild](node); + } + root = node; + } + return node; + } + [_symbol_utils.$onChild](child) { + if (!this[_hasChildren] || !this[_symbol_utils.$onChildCheck](child)) { + return false; + } + const name = child[_symbol_utils.$nodeName]; + const node = this[name]; + if (node instanceof XFAObjectArray) { + if (node.push(child)) { + this[_symbol_utils.$appendChild](child); + return true; + } + } else { + if (node !== null) { + this[_symbol_utils.$removeChild](node); + } + this[name] = child; + this[_symbol_utils.$appendChild](child); + return true; + } + let id = ""; + if (this.id) { + id = ` (id: ${this.id})`; + } else if (this.name) { + id = ` (name: ${this.name} ${this.h.value})`; + } + (0, _util.warn)(`XFA - node "${this[_symbol_utils.$nodeName]}"${id} has already enough "${name}"!`); + return false; + } + [_symbol_utils.$onChildCheck](child) { + return this.hasOwnProperty(child[_symbol_utils.$nodeName]) && child[_symbol_utils.$namespaceId] === this[_symbol_utils.$namespaceId]; + } + [_symbol_utils.$isNsAgnostic]() { + return false; + } + [_symbol_utils.$acceptWhitespace]() { + return false; + } + [_symbol_utils.$isCDATAXml]() { + return false; + } + [_symbol_utils.$isBindable]() { + return false; + } + [_symbol_utils.$popPara]() { + if (this.para) { + this[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].paraStack.pop(); + } + } + [_symbol_utils.$pushPara]() { + this[_symbol_utils.$getTemplateRoot]()[_symbol_utils.$extra].paraStack.push(this.para); + } + [_symbol_utils.$setId](ids) { + if (this.id && this[_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.template.id) { + ids.set(this.id, this); + } + } + [_symbol_utils.$getTemplateRoot]() { + return this[_symbol_utils.$globalData].template; + } + [_symbol_utils.$isSplittable]() { + return false; + } + [_symbol_utils.$isThereMoreWidth]() { + return false; + } + [_symbol_utils.$appendChild](child) { + child[_parent] = this; + this[_children].push(child); + if (!child[_symbol_utils.$globalData] && this[_symbol_utils.$globalData]) { + child[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + } + } + [_symbol_utils.$removeChild](child) { + const i = this[_children].indexOf(child); + this[_children].splice(i, 1); + } + [_symbol_utils.$hasSettableValue]() { + return this.hasOwnProperty("value"); + } + [_symbol_utils.$setValue](_) {} + [_symbol_utils.$onText](_) {} + [_symbol_utils.$finalize]() {} + [_symbol_utils.$clean](builder) { + delete this[_hasChildren]; + if (this[_symbol_utils.$cleanup]) { + builder.clean(this[_symbol_utils.$cleanup]); + delete this[_symbol_utils.$cleanup]; + } + } + [_symbol_utils.$indexOf](child) { + return this[_children].indexOf(child); + } + [_symbol_utils.$insertAt](i, child) { + child[_parent] = this; + this[_children].splice(i, 0, child); + if (!child[_symbol_utils.$globalData] && this[_symbol_utils.$globalData]) { + child[_symbol_utils.$globalData] = this[_symbol_utils.$globalData]; + } + } + [_symbol_utils.$isTransparent]() { + return !this.name; + } + [_symbol_utils.$lastAttribute]() { + return ""; + } + [_symbol_utils.$text]() { + if (this[_children].length === 0) { + return this[_symbol_utils.$content]; + } + return this[_children].map(c => c[_symbol_utils.$text]()).join(""); + } + get [_attributeNames]() { + const proto = Object.getPrototypeOf(this); + if (!proto._attributes) { + const attributes = proto._attributes = new Set(); + for (const name of Object.getOwnPropertyNames(this)) { + if (this[name] === null || this[name] instanceof XFAObject || this[name] instanceof XFAObjectArray) { + break; + } + attributes.add(name); + } + } + return (0, _util.shadow)(this, _attributeNames, proto._attributes); + } + [_symbol_utils.$isDescendent](parent) { + let node = this; + while (node) { + if (node === parent) { + return true; + } + node = node[_symbol_utils.$getParent](); + } + return false; + } + [_symbol_utils.$getParent]() { + return this[_parent]; + } + [_symbol_utils.$getSubformParent]() { + return this[_symbol_utils.$getParent](); + } + [_symbol_utils.$getChildren](name = null) { + if (!name) { + return this[_children]; + } + return this[name]; + } + [_symbol_utils.$dump]() { + const dumped = Object.create(null); + if (this[_symbol_utils.$content]) { + dumped.$content = this[_symbol_utils.$content]; + } + for (const name of Object.getOwnPropertyNames(this)) { + const value = this[name]; + if (value === null) { + continue; + } + if (value instanceof XFAObject) { + dumped[name] = value[_symbol_utils.$dump](); + } else if (value instanceof XFAObjectArray) { + if (!value.isEmpty()) { + dumped[name] = value.dump(); + } + } else { + dumped[name] = value; + } + } + return dumped; + } + [_symbol_utils.$toStyle]() { + return null; + } + [_symbol_utils.$toHTML]() { + return _utils.HTMLResult.EMPTY; + } + *[_symbol_utils.$getContainedChildren]() { + for (const node of this[_symbol_utils.$getChildren]()) { + yield node; + } + } + *[_filteredChildrenGenerator](filter, include) { + for (const node of this[_symbol_utils.$getContainedChildren]()) { + if (!filter || include === filter.has(node[_symbol_utils.$nodeName])) { + const availableSpace = this[_symbol_utils.$getAvailableSpace](); + const res = node[_symbol_utils.$toHTML](availableSpace); + if (!res.success) { + this[_symbol_utils.$extra].failingNode = node; + } + yield res; + } + } + } + [_symbol_utils.$flushHTML]() { + return null; + } + [_symbol_utils.$addHTML](html, bbox) { + this[_symbol_utils.$extra].children.push(html); + } + [_symbol_utils.$getAvailableSpace]() {} + [_symbol_utils.$childrenToHTML]({ + filter = null, + include = true + }) { + if (!this[_symbol_utils.$extra].generator) { + this[_symbol_utils.$extra].generator = this[_filteredChildrenGenerator](filter, include); + } else { + const availableSpace = this[_symbol_utils.$getAvailableSpace](); + const res = this[_symbol_utils.$extra].failingNode[_symbol_utils.$toHTML](availableSpace); + if (!res.success) { + return res; + } + if (res.html) { + this[_symbol_utils.$addHTML](res.html, res.bbox); + } + delete this[_symbol_utils.$extra].failingNode; + } + while (true) { + const gen = this[_symbol_utils.$extra].generator.next(); + if (gen.done) { + break; + } + const res = gen.value; + if (!res.success) { + return res; + } + if (res.html) { + this[_symbol_utils.$addHTML](res.html, res.bbox); + } + } + this[_symbol_utils.$extra].generator = null; + return _utils.HTMLResult.EMPTY; + } + [_symbol_utils.$setSetAttributes](attributes) { + this[_setAttributes] = new Set(Object.keys(attributes)); + } + [_getUnsetAttributes](protoAttributes) { + const allAttr = this[_attributeNames]; + const setAttr = this[_setAttributes]; + return [...protoAttributes].filter(x => allAttr.has(x) && !setAttr.has(x)); + } + [_symbol_utils.$resolvePrototypes](ids, ancestors = new Set()) { + for (const child of this[_children]) { + child[_resolvePrototypesHelper](ids, ancestors); + } + } + [_resolvePrototypesHelper](ids, ancestors) { + const proto = this[_getPrototype](ids, ancestors); + if (proto) { + this[_applyPrototype](proto, ids, ancestors); + } else { + this[_symbol_utils.$resolvePrototypes](ids, ancestors); + } + } + [_getPrototype](ids, ancestors) { + const { + use, + usehref + } = this; + if (!use && !usehref) { + return null; + } + let proto = null; + let somExpression = null; + let id = null; + let ref = use; + if (usehref) { + ref = usehref; + if (usehref.startsWith("#som(") && usehref.endsWith(")")) { + somExpression = usehref.slice("#som(".length, -1); + } else if (usehref.startsWith(".#som(") && usehref.endsWith(")")) { + somExpression = usehref.slice(".#som(".length, -1); + } else if (usehref.startsWith("#")) { + id = usehref.slice(1); + } else if (usehref.startsWith(".#")) { + id = usehref.slice(2); + } + } else if (use.startsWith("#")) { + id = use.slice(1); + } else { + somExpression = use; + } + this.use = this.usehref = ""; + if (id) { + proto = ids.get(id); + } else { + proto = (0, _som.searchNode)(ids.get(_symbol_utils.$root), this, somExpression, true, false); + if (proto) { + proto = proto[0]; + } + } + if (!proto) { + (0, _util.warn)(`XFA - Invalid prototype reference: ${ref}.`); + return null; + } + if (proto[_symbol_utils.$nodeName] !== this[_symbol_utils.$nodeName]) { + (0, _util.warn)(`XFA - Incompatible prototype: ${proto[_symbol_utils.$nodeName]} !== ${this[_symbol_utils.$nodeName]}.`); + return null; + } + if (ancestors.has(proto)) { + (0, _util.warn)(`XFA - Cycle detected in prototypes use.`); + return null; + } + ancestors.add(proto); + const protoProto = proto[_getPrototype](ids, ancestors); + if (protoProto) { + proto[_applyPrototype](protoProto, ids, ancestors); + } + proto[_symbol_utils.$resolvePrototypes](ids, ancestors); + ancestors.delete(proto); + return proto; + } + [_applyPrototype](proto, ids, ancestors) { + if (ancestors.has(proto)) { + (0, _util.warn)(`XFA - Cycle detected in prototypes use.`); + return; + } + if (!this[_symbol_utils.$content] && proto[_symbol_utils.$content]) { + this[_symbol_utils.$content] = proto[_symbol_utils.$content]; + } + const newAncestors = new Set(ancestors); + newAncestors.add(proto); + for (const unsetAttrName of this[_getUnsetAttributes](proto[_setAttributes])) { + this[unsetAttrName] = proto[unsetAttrName]; + if (this[_setAttributes]) { + this[_setAttributes].add(unsetAttrName); + } + } + for (const name of Object.getOwnPropertyNames(this)) { + if (this[_attributeNames].has(name)) { + continue; + } + const value = this[name]; + const protoValue = proto[name]; + if (value instanceof XFAObjectArray) { + for (const child of value[_children]) { + child[_resolvePrototypesHelper](ids, ancestors); + } + for (let i = value[_children].length, ii = protoValue[_children].length; i < ii; i++) { + const child = proto[_children][i][_symbol_utils.$clone](); + if (value.push(child)) { + child[_parent] = this; + this[_children].push(child); + child[_resolvePrototypesHelper](ids, ancestors); + } else { + break; + } + } + continue; + } + if (value !== null) { + value[_symbol_utils.$resolvePrototypes](ids, ancestors); + if (protoValue) { + value[_applyPrototype](protoValue, ids, ancestors); + } + continue; + } + if (protoValue !== null) { + const child = protoValue[_symbol_utils.$clone](); + child[_parent] = this; + this[name] = child; + this[_children].push(child); + child[_resolvePrototypesHelper](ids, ancestors); + } + } + } + static [_cloneAttribute](obj) { + if (Array.isArray(obj)) { + return obj.map(x => XFAObject[_cloneAttribute](x)); + } + if (typeof obj === "object" && obj !== null) { + return Object.assign({}, obj); + } + return obj; + } + [_symbol_utils.$clone]() { + const clone = Object.create(Object.getPrototypeOf(this)); + for (const $symbol of Object.getOwnPropertySymbols(this)) { + try { + clone[$symbol] = this[$symbol]; + } catch { + (0, _util.shadow)(clone, $symbol, this[$symbol]); + } + } + clone[_symbol_utils.$uid] = `${clone[_symbol_utils.$nodeName]}${uid++}`; + clone[_children] = []; + for (const name of Object.getOwnPropertyNames(this)) { + if (this[_attributeNames].has(name)) { + clone[name] = XFAObject[_cloneAttribute](this[name]); + continue; + } + const value = this[name]; + if (value instanceof XFAObjectArray) { + clone[name] = new XFAObjectArray(value[_max]); + } else { + clone[name] = null; + } + } + for (const child of this[_children]) { + const name = child[_symbol_utils.$nodeName]; + const clonedChild = child[_symbol_utils.$clone](); + clone[_children].push(clonedChild); + clonedChild[_parent] = clone; + if (clone[name] === null) { + clone[name] = clonedChild; + } else { + clone[name][_children].push(clonedChild); + } + } + return clone; + } + [_symbol_utils.$getChildren](name = null) { + if (!name) { + return this[_children]; + } + return this[_children].filter(c => c[_symbol_utils.$nodeName] === name); + } + [_symbol_utils.$getChildrenByClass](name) { + return this[name]; + } + [_symbol_utils.$getChildrenByName](name, allTransparent, first = true) { + return Array.from(this[_symbol_utils.$getChildrenByNameIt](name, allTransparent, first)); + } + *[_symbol_utils.$getChildrenByNameIt](name, allTransparent, first = true) { + if (name === "parent") { + yield this[_parent]; + return; + } + for (const child of this[_children]) { + if (child[_symbol_utils.$nodeName] === name) { + yield child; + } + if (child.name === name) { + yield child; + } + if (allTransparent || child[_symbol_utils.$isTransparent]()) { + yield* child[_symbol_utils.$getChildrenByNameIt](name, allTransparent, false); + } + } + if (first && this[_attributeNames].has(name)) { + yield new XFAAttribute(this, name, this[name]); + } + } +} +exports.XFAObject = XFAObject; +class XFAObjectArray { + constructor(max = Infinity) { + this[_max] = max; + this[_children] = []; + } + get isXFAObject() { + return false; + } + get isXFAObjectArray() { + return true; + } + push(child) { + const len = this[_children].length; + if (len <= this[_max]) { + this[_children].push(child); + return true; + } + (0, _util.warn)(`XFA - node "${child[_symbol_utils.$nodeName]}" accepts no more than ${this[_max]} children`); + return false; + } + isEmpty() { + return this[_children].length === 0; + } + dump() { + return this[_children].length === 1 ? this[_children][0][_symbol_utils.$dump]() : this[_children].map(x => x[_symbol_utils.$dump]()); + } + [_symbol_utils.$clone]() { + const clone = new XFAObjectArray(this[_max]); + clone[_children] = this[_children].map(c => c[_symbol_utils.$clone]()); + return clone; + } + get children() { + return this[_children]; + } + clear() { + this[_children].length = 0; + } +} +exports.XFAObjectArray = XFAObjectArray; +class XFAAttribute { + constructor(node, name, value) { + this[_parent] = node; + this[_symbol_utils.$nodeName] = name; + this[_symbol_utils.$content] = value; + this[_symbol_utils.$consumed] = false; + this[_symbol_utils.$uid] = `attribute${uid++}`; + } + [_symbol_utils.$getParent]() { + return this[_parent]; + } + [_symbol_utils.$isDataValue]() { + return true; + } + [_symbol_utils.$getDataValue]() { + return this[_symbol_utils.$content].trim(); + } + [_symbol_utils.$setValue](value) { + value = value.value || ""; + this[_symbol_utils.$content] = value.toString(); + } + [_symbol_utils.$text]() { + return this[_symbol_utils.$content]; + } + [_symbol_utils.$isDescendent](parent) { + return this[_parent] === parent || this[_parent][_symbol_utils.$isDescendent](parent); + } +} +exports.XFAAttribute = XFAAttribute; +class XmlObject extends XFAObject { + constructor(nsId, name, attributes = {}) { + super(nsId, name); + this[_symbol_utils.$content] = ""; + this[_dataValue] = null; + if (name !== "#text") { + const map = new Map(); + this[_attributes] = map; + for (const [attrName, value] of Object.entries(attributes)) { + map.set(attrName, new XFAAttribute(this, attrName, value)); + } + if (attributes.hasOwnProperty(_symbol_utils.$nsAttributes)) { + const dataNode = attributes[_symbol_utils.$nsAttributes].xfa.dataNode; + if (dataNode !== undefined) { + if (dataNode === "dataGroup") { + this[_dataValue] = false; + } else if (dataNode === "dataValue") { + this[_dataValue] = true; + } + } + } + } + this[_symbol_utils.$consumed] = false; + } + [_symbol_utils.$toString](buf) { + const tagName = this[_symbol_utils.$nodeName]; + if (tagName === "#text") { + buf.push((0, _core_utils.encodeToXmlString)(this[_symbol_utils.$content])); + return; + } + const utf8TagName = (0, _util.utf8StringToString)(tagName); + const prefix = this[_symbol_utils.$namespaceId] === NS_DATASETS ? "xfa:" : ""; + buf.push(`<${prefix}${utf8TagName}`); + for (const [name, value] of this[_attributes].entries()) { + const utf8Name = (0, _util.utf8StringToString)(name); + buf.push(` ${utf8Name}="${(0, _core_utils.encodeToXmlString)(value[_symbol_utils.$content])}"`); + } + if (this[_dataValue] !== null) { + if (this[_dataValue]) { + buf.push(` xfa:dataNode="dataValue"`); + } else { + buf.push(` xfa:dataNode="dataGroup"`); + } + } + if (!this[_symbol_utils.$content] && this[_children].length === 0) { + buf.push("/>"); + return; + } + buf.push(">"); + if (this[_symbol_utils.$content]) { + if (typeof this[_symbol_utils.$content] === "string") { + buf.push((0, _core_utils.encodeToXmlString)(this[_symbol_utils.$content])); + } else { + this[_symbol_utils.$content][_symbol_utils.$toString](buf); + } + } else { + for (const child of this[_children]) { + child[_symbol_utils.$toString](buf); + } + } + buf.push(`${prefix}${utf8TagName}>`); + } + [_symbol_utils.$onChild](child) { + if (this[_symbol_utils.$content]) { + const node = new XmlObject(this[_symbol_utils.$namespaceId], "#text"); + this[_symbol_utils.$appendChild](node); + node[_symbol_utils.$content] = this[_symbol_utils.$content]; + this[_symbol_utils.$content] = ""; + } + this[_symbol_utils.$appendChild](child); + return true; + } + [_symbol_utils.$onText](str) { + this[_symbol_utils.$content] += str; + } + [_symbol_utils.$finalize]() { + if (this[_symbol_utils.$content] && this[_children].length > 0) { + const node = new XmlObject(this[_symbol_utils.$namespaceId], "#text"); + this[_symbol_utils.$appendChild](node); + node[_symbol_utils.$content] = this[_symbol_utils.$content]; + delete this[_symbol_utils.$content]; + } + } + [_symbol_utils.$toHTML]() { + if (this[_symbol_utils.$nodeName] === "#text") { + return _utils.HTMLResult.success({ + name: "#text", + value: this[_symbol_utils.$content] + }); + } + return _utils.HTMLResult.EMPTY; + } + [_symbol_utils.$getChildren](name = null) { + if (!name) { + return this[_children]; + } + return this[_children].filter(c => c[_symbol_utils.$nodeName] === name); + } + [_symbol_utils.$getAttributes]() { + return this[_attributes]; + } + [_symbol_utils.$getChildrenByClass](name) { + const value = this[_attributes].get(name); + if (value !== undefined) { + return value; + } + return this[_symbol_utils.$getChildren](name); + } + *[_symbol_utils.$getChildrenByNameIt](name, allTransparent) { + const value = this[_attributes].get(name); + if (value) { + yield value; + } + for (const child of this[_children]) { + if (child[_symbol_utils.$nodeName] === name) { + yield child; + } + if (allTransparent) { + yield* child[_symbol_utils.$getChildrenByNameIt](name, allTransparent); + } + } + } + *[_symbol_utils.$getAttributeIt](name, skipConsumed) { + const value = this[_attributes].get(name); + if (value && (!skipConsumed || !value[_symbol_utils.$consumed])) { + yield value; + } + for (const child of this[_children]) { + yield* child[_symbol_utils.$getAttributeIt](name, skipConsumed); + } + } + *[_symbol_utils.$getRealChildrenByNameIt](name, allTransparent, skipConsumed) { + for (const child of this[_children]) { + if (child[_symbol_utils.$nodeName] === name && (!skipConsumed || !child[_symbol_utils.$consumed])) { + yield child; + } + if (allTransparent) { + yield* child[_symbol_utils.$getRealChildrenByNameIt](name, allTransparent, skipConsumed); + } + } + } + [_symbol_utils.$isDataValue]() { + if (this[_dataValue] === null) { + return this[_children].length === 0 || this[_children][0][_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.xhtml.id; + } + return this[_dataValue]; + } + [_symbol_utils.$getDataValue]() { + if (this[_dataValue] === null) { + if (this[_children].length === 0) { + return this[_symbol_utils.$content].trim(); + } + if (this[_children][0][_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.xhtml.id) { + return this[_children][0][_symbol_utils.$text]().trim(); + } + return null; + } + return this[_symbol_utils.$content].trim(); + } + [_symbol_utils.$setValue](value) { + value = value.value || ""; + this[_symbol_utils.$content] = value.toString(); + } + [_symbol_utils.$dump](hasNS = false) { + const dumped = Object.create(null); + if (hasNS) { + dumped.$ns = this[_symbol_utils.$namespaceId]; + } + if (this[_symbol_utils.$content]) { + dumped.$content = this[_symbol_utils.$content]; + } + dumped.$name = this[_symbol_utils.$nodeName]; + dumped.children = []; + for (const child of this[_children]) { + dumped.children.push(child[_symbol_utils.$dump](hasNS)); + } + dumped.attributes = Object.create(null); + for (const [name, value] of this[_attributes]) { + dumped.attributes[name] = value[_symbol_utils.$content]; + } + return dumped; + } +} +exports.XmlObject = XmlObject; +class ContentObject extends XFAObject { + constructor(nsId, name) { + super(nsId, name); + this[_symbol_utils.$content] = ""; + } + [_symbol_utils.$onText](text) { + this[_symbol_utils.$content] += text; + } + [_symbol_utils.$finalize]() {} +} +exports.ContentObject = ContentObject; +class OptionObject extends ContentObject { + constructor(nsId, name, options) { + super(nsId, name); + this[_options] = options; + } + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = (0, _utils.getKeyword)({ + data: this[_symbol_utils.$content], + defaultValue: this[_options][0], + validate: k => this[_options].includes(k) + }); + } + [_symbol_utils.$clean](builder) { + super[_symbol_utils.$clean](builder); + delete this[_options]; + } +} +exports.OptionObject = OptionObject; +class StringObject extends ContentObject { + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim(); + } +} +exports.StringObject = StringObject; +class IntegerObject extends ContentObject { + constructor(nsId, name, defaultValue, validator) { + super(nsId, name); + this[_defaultValue] = defaultValue; + this[_validator] = validator; + } + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = (0, _utils.getInteger)({ + data: this[_symbol_utils.$content], + defaultValue: this[_defaultValue], + validate: this[_validator] + }); + } + [_symbol_utils.$clean](builder) { + super[_symbol_utils.$clean](builder); + delete this[_defaultValue]; + delete this[_validator]; + } +} +exports.IntegerObject = IntegerObject; +class Option01 extends IntegerObject { + constructor(nsId, name) { + super(nsId, name, 0, n => n === 1); + } +} +exports.Option01 = Option01; +class Option10 extends IntegerObject { + constructor(nsId, name) { + super(nsId, name, 1, n => n === 0); + } +} +exports.Option10 = Option10; + +/***/ }), +/* 88 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.createDataNode = createDataNode; +exports.searchNode = searchNode; +var _symbol_utils = __w_pdfjs_require__(78); +var _util = __w_pdfjs_require__(2); const namePattern = /^[^.[]+/; const indexPattern = /^[^\]]+/; const operators = { @@ -44154,7 +54040,7 @@ const operators = { dotBracket: 3, dotParen: 4 }; -const shortcuts = new Map([["$data", (root, current) => root.datasets ? root.datasets.data : root], ["$record", (root, current) => (root.datasets ? root.datasets.data : root)[$getChildren]()[0]], ["$template", (root, current) => root.template], ["$connectionSet", (root, current) => root.connectionSet], ["$form", (root, current) => root.form], ["$layout", (root, current) => root.layout], ["$host", (root, current) => root.host], ["$dataWindow", (root, current) => root.dataWindow], ["$event", (root, current) => root.event], ["!", (root, current) => root.datasets], ["$xfa", (root, current) => root], ["xfa", (root, current) => root], ["$", (root, current) => current]]); +const shortcuts = new Map([["$data", (root, current) => root.datasets ? root.datasets.data : root], ["$record", (root, current) => (root.datasets ? root.datasets.data : root)[_symbol_utils.$getChildren]()[0]], ["$template", (root, current) => root.template], ["$connectionSet", (root, current) => root.connectionSet], ["$form", (root, current) => root.form], ["$layout", (root, current) => root.layout], ["$host", (root, current) => root.host], ["$dataWindow", (root, current) => root.dataWindow], ["$event", (root, current) => root.event], ["!", (root, current) => root.datasets], ["$xfa", (root, current) => root], ["xfa", (root, current) => root], ["$", (root, current) => current]]); const somCache = new WeakMap(); function parseIndex(index) { index = index.trim(); @@ -44184,7 +54070,7 @@ function parseExpression(expr, dotDotAllowed, noExpr = true) { if (char === "[") { match = expr.slice(pos).match(indexPattern); if (!match) { - warn("XFA - Invalid index in SOM expression"); + (0, _util.warn)("XFA - Invalid index in SOM expression"); return null; } parsed.at(-1).index = parseIndex(match[0]); @@ -44206,14 +54092,14 @@ function parseExpression(expr, dotDotAllowed, noExpr = true) { break; case "[": if (noExpr) { - warn("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."); + (0, _util.warn)("XFA - SOM expression contains a FormCalc subexpression which is not supported for now."); return null; } operator = operators.dotBracket; break; case "(": if (noExpr) { - warn("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."); + (0, _util.warn)("XFA - SOM expression contains a JavaScript subexpression which is not supported for now."); return null; } operator = operators.dotParen; @@ -44279,14 +54165,18 @@ function searchNode(root, container, expr, dotDotAllowed = true, useCache = true if (!children) { switch (operator) { case operators.dot: - children = node[$getChildrenByName](name, false); + children = node[_symbol_utils.$getChildrenByName](name, false); break; case operators.dotDot: - children = node[$getChildrenByName](name, true); + children = node[_symbol_utils.$getChildrenByName](name, true); break; case operators.dotHash: - children = node[$getChildrenByClass](name); - children = children.isXFAObjectArray ? children.children : [children]; + children = node[_symbol_utils.$getChildrenByClass](name); + if (children.isXFAObjectArray) { + children = children.children; + } else { + children = [children]; + } break; default: break; @@ -44300,7 +54190,7 @@ function searchNode(root, container, expr, dotDotAllowed = true, useCache = true } } if (nodes.length === 0 && !isQualified && i === 0) { - const parent = container[$getParent](); + const parent = container[_symbol_utils.$getParent](); container = parent; if (!container) { return null; @@ -44309,7 +54199,11 @@ function searchNode(root, container, expr, dotDotAllowed = true, useCache = true root = [container]; continue; } - root = isFinite(index) ? nodes.filter(node => index < node.length).map(node => node[index]) : nodes.flat(); + if (isFinite(index)) { + root = nodes.filter(node => index < node.length).map(node => node[index]); + } else { + root = nodes.flat(); + } } if (root.length === 0) { return null; @@ -44345,14 +54239,18 @@ function createDataNode(root, container, expr) { let children; switch (operator) { case operators.dot: - children = root[$getChildrenByName](name, false); + children = root[_symbol_utils.$getChildrenByName](name, false); break; case operators.dotDot: - children = root[$getChildrenByName](name, true); + children = root[_symbol_utils.$getChildrenByName](name, true); break; case operators.dotHash: - children = root[$getChildrenByClass](name); - children = children.isXFAObjectArray ? children.children : [children]; + children = root[_symbol_utils.$getChildrenByClass](name); + if (children.isXFAObjectArray) { + children = children.children; + } else { + children = [children]; + } break; default: break; @@ -44363,7 +54261,7 @@ function createDataNode(root, container, expr) { if (index < children.length) { const child = children[index]; if (!child.isXFAObject) { - warn(`XFA - Cannot create a node.`); + (0, _util.warn)(`XFA - Cannot create a node.`); return null; } root = child; @@ -44375,6936 +54273,24 @@ function createDataNode(root, container, expr) { return null; } -;// CONCATENATED MODULE: ./src/core/xfa/xfa_object.js +/***/ }), +/* 89 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - -const _applyPrototype = Symbol(); -const _attributes = Symbol(); -const _attributeNames = Symbol(); -const _children = Symbol("_children"); -const _cloneAttribute = Symbol(); -const _dataValue = Symbol(); -const _defaultValue = Symbol(); -const _filteredChildrenGenerator = Symbol(); -const _getPrototype = Symbol(); -const _getUnsetAttributes = Symbol(); -const _hasChildren = Symbol(); -const _max = Symbol(); -const _options = Symbol(); -const _parent = Symbol("parent"); -const _resolvePrototypesHelper = Symbol(); -const _setAttributes = Symbol(); -const _validator = Symbol(); -let uid = 0; -const NS_DATASETS = NamespaceIds.datasets.id; -class XFAObject { - constructor(nsId, name, hasChildren = false) { - this[$namespaceId] = nsId; - this[$nodeName] = name; - this[_hasChildren] = hasChildren; - this[_parent] = null; - this[_children] = []; - this[$uid] = `${name}${uid++}`; - this[$globalData] = null; - } - get isXFAObject() { - return true; - } - get isXFAObjectArray() { - return false; - } - createNodes(path) { - let root = this, - node = null; - for (const { - name, - index - } of path) { - for (let i = 0, ii = isFinite(index) ? index : 0; i <= ii; i++) { - const nsId = root[$namespaceId] === NS_DATASETS ? -1 : root[$namespaceId]; - node = new XmlObject(nsId, name); - root[$appendChild](node); - } - root = node; - } - return node; - } - [$onChild](child) { - if (!this[_hasChildren] || !this[$onChildCheck](child)) { - return false; - } - const name = child[$nodeName]; - const node = this[name]; - if (node instanceof XFAObjectArray) { - if (node.push(child)) { - this[$appendChild](child); - return true; - } - } else { - if (node !== null) { - this[$removeChild](node); - } - this[name] = child; - this[$appendChild](child); - return true; - } - let id = ""; - if (this.id) { - id = ` (id: ${this.id})`; - } else if (this.name) { - id = ` (name: ${this.name} ${this.h.value})`; - } - warn(`XFA - node "${this[$nodeName]}"${id} has already enough "${name}"!`); - return false; - } - [$onChildCheck](child) { - return this.hasOwnProperty(child[$nodeName]) && child[$namespaceId] === this[$namespaceId]; - } - [$isNsAgnostic]() { - return false; - } - [$acceptWhitespace]() { - return false; - } - [$isCDATAXml]() { - return false; - } - [$isBindable]() { - return false; - } - [$popPara]() { - if (this.para) { - this[$getTemplateRoot]()[$extra].paraStack.pop(); - } - } - [$pushPara]() { - this[$getTemplateRoot]()[$extra].paraStack.push(this.para); - } - [$setId](ids) { - if (this.id && this[$namespaceId] === NamespaceIds.template.id) { - ids.set(this.id, this); - } - } - [$getTemplateRoot]() { - return this[$globalData].template; - } - [$isSplittable]() { - return false; - } - [$isThereMoreWidth]() { - return false; - } - [$appendChild](child) { - child[_parent] = this; - this[_children].push(child); - if (!child[$globalData] && this[$globalData]) { - child[$globalData] = this[$globalData]; - } - } - [$removeChild](child) { - const i = this[_children].indexOf(child); - this[_children].splice(i, 1); - } - [$hasSettableValue]() { - return this.hasOwnProperty("value"); - } - [$setValue](_) {} - [$onText](_) {} - [$finalize]() {} - [$clean](builder) { - delete this[_hasChildren]; - if (this[$cleanup]) { - builder.clean(this[$cleanup]); - delete this[$cleanup]; - } - } - [$indexOf](child) { - return this[_children].indexOf(child); - } - [$insertAt](i, child) { - child[_parent] = this; - this[_children].splice(i, 0, child); - if (!child[$globalData] && this[$globalData]) { - child[$globalData] = this[$globalData]; - } - } - [$isTransparent]() { - return !this.name; - } - [$lastAttribute]() { - return ""; - } - [$text]() { - if (this[_children].length === 0) { - return this[$content]; - } - return this[_children].map(c => c[$text]()).join(""); - } - get [_attributeNames]() { - const proto = Object.getPrototypeOf(this); - if (!proto._attributes) { - const attributes = proto._attributes = new Set(); - for (const name of Object.getOwnPropertyNames(this)) { - if (this[name] === null || this[name] instanceof XFAObject || this[name] instanceof XFAObjectArray) { - break; - } - attributes.add(name); - } - } - return shadow(this, _attributeNames, proto._attributes); - } - [$isDescendent](parent) { - let node = this; - while (node) { - if (node === parent) { - return true; - } - node = node[$getParent](); - } - return false; - } - [$getParent]() { - return this[_parent]; - } - [$getSubformParent]() { - return this[$getParent](); - } - [$getChildren](name = null) { - if (!name) { - return this[_children]; - } - return this[name]; - } - [$dump]() { - const dumped = Object.create(null); - if (this[$content]) { - dumped.$content = this[$content]; - } - for (const name of Object.getOwnPropertyNames(this)) { - const value = this[name]; - if (value === null) { - continue; - } - if (value instanceof XFAObject) { - dumped[name] = value[$dump](); - } else if (value instanceof XFAObjectArray) { - if (!value.isEmpty()) { - dumped[name] = value.dump(); - } - } else { - dumped[name] = value; - } - } - return dumped; - } - [$toStyle]() { - return null; - } - [$toHTML]() { - return HTMLResult.EMPTY; - } - *[$getContainedChildren]() { - for (const node of this[$getChildren]()) { - yield node; - } - } - *[_filteredChildrenGenerator](filter, include) { - for (const node of this[$getContainedChildren]()) { - if (!filter || include === filter.has(node[$nodeName])) { - const availableSpace = this[$getAvailableSpace](); - const res = node[$toHTML](availableSpace); - if (!res.success) { - this[$extra].failingNode = node; - } - yield res; - } - } - } - [$flushHTML]() { - return null; - } - [$addHTML](html, bbox) { - this[$extra].children.push(html); - } - [$getAvailableSpace]() {} - [$childrenToHTML]({ - filter = null, - include = true - }) { - if (!this[$extra].generator) { - this[$extra].generator = this[_filteredChildrenGenerator](filter, include); - } else { - const availableSpace = this[$getAvailableSpace](); - const res = this[$extra].failingNode[$toHTML](availableSpace); - if (!res.success) { - return res; - } - if (res.html) { - this[$addHTML](res.html, res.bbox); - } - delete this[$extra].failingNode; - } - while (true) { - const gen = this[$extra].generator.next(); - if (gen.done) { - break; - } - const res = gen.value; - if (!res.success) { - return res; - } - if (res.html) { - this[$addHTML](res.html, res.bbox); - } - } - this[$extra].generator = null; - return HTMLResult.EMPTY; - } - [$setSetAttributes](attributes) { - this[_setAttributes] = new Set(Object.keys(attributes)); - } - [_getUnsetAttributes](protoAttributes) { - const allAttr = this[_attributeNames]; - const setAttr = this[_setAttributes]; - return [...protoAttributes].filter(x => allAttr.has(x) && !setAttr.has(x)); - } - [$resolvePrototypes](ids, ancestors = new Set()) { - for (const child of this[_children]) { - child[_resolvePrototypesHelper](ids, ancestors); - } - } - [_resolvePrototypesHelper](ids, ancestors) { - const proto = this[_getPrototype](ids, ancestors); - if (proto) { - this[_applyPrototype](proto, ids, ancestors); - } else { - this[$resolvePrototypes](ids, ancestors); - } - } - [_getPrototype](ids, ancestors) { - const { - use, - usehref - } = this; - if (!use && !usehref) { - return null; - } - let proto = null; - let somExpression = null; - let id = null; - let ref = use; - if (usehref) { - ref = usehref; - if (usehref.startsWith("#som(") && usehref.endsWith(")")) { - somExpression = usehref.slice("#som(".length, -1); - } else if (usehref.startsWith(".#som(") && usehref.endsWith(")")) { - somExpression = usehref.slice(".#som(".length, -1); - } else if (usehref.startsWith("#")) { - id = usehref.slice(1); - } else if (usehref.startsWith(".#")) { - id = usehref.slice(2); - } - } else if (use.startsWith("#")) { - id = use.slice(1); - } else { - somExpression = use; - } - this.use = this.usehref = ""; - if (id) { - proto = ids.get(id); - } else { - proto = searchNode(ids.get($root), this, somExpression, true, false); - if (proto) { - proto = proto[0]; - } - } - if (!proto) { - warn(`XFA - Invalid prototype reference: ${ref}.`); - return null; - } - if (proto[$nodeName] !== this[$nodeName]) { - warn(`XFA - Incompatible prototype: ${proto[$nodeName]} !== ${this[$nodeName]}.`); - return null; - } - if (ancestors.has(proto)) { - warn(`XFA - Cycle detected in prototypes use.`); - return null; - } - ancestors.add(proto); - const protoProto = proto[_getPrototype](ids, ancestors); - if (protoProto) { - proto[_applyPrototype](protoProto, ids, ancestors); - } - proto[$resolvePrototypes](ids, ancestors); - ancestors.delete(proto); - return proto; - } - [_applyPrototype](proto, ids, ancestors) { - if (ancestors.has(proto)) { - warn(`XFA - Cycle detected in prototypes use.`); - return; - } - if (!this[$content] && proto[$content]) { - this[$content] = proto[$content]; - } - const newAncestors = new Set(ancestors); - newAncestors.add(proto); - for (const unsetAttrName of this[_getUnsetAttributes](proto[_setAttributes])) { - this[unsetAttrName] = proto[unsetAttrName]; - if (this[_setAttributes]) { - this[_setAttributes].add(unsetAttrName); - } - } - for (const name of Object.getOwnPropertyNames(this)) { - if (this[_attributeNames].has(name)) { - continue; - } - const value = this[name]; - const protoValue = proto[name]; - if (value instanceof XFAObjectArray) { - for (const child of value[_children]) { - child[_resolvePrototypesHelper](ids, ancestors); - } - for (let i = value[_children].length, ii = protoValue[_children].length; i < ii; i++) { - const child = proto[_children][i][$clone](); - if (value.push(child)) { - child[_parent] = this; - this[_children].push(child); - child[_resolvePrototypesHelper](ids, ancestors); - } else { - break; - } - } - continue; - } - if (value !== null) { - value[$resolvePrototypes](ids, ancestors); - if (protoValue) { - value[_applyPrototype](protoValue, ids, ancestors); - } - continue; - } - if (protoValue !== null) { - const child = protoValue[$clone](); - child[_parent] = this; - this[name] = child; - this[_children].push(child); - child[_resolvePrototypesHelper](ids, ancestors); - } - } - } - static [_cloneAttribute](obj) { - if (Array.isArray(obj)) { - return obj.map(x => XFAObject[_cloneAttribute](x)); - } - if (typeof obj === "object" && obj !== null) { - return Object.assign({}, obj); - } - return obj; - } - [$clone]() { - const clone = Object.create(Object.getPrototypeOf(this)); - for (const $symbol of Object.getOwnPropertySymbols(this)) { - try { - clone[$symbol] = this[$symbol]; - } catch { - shadow(clone, $symbol, this[$symbol]); - } - } - clone[$uid] = `${clone[$nodeName]}${uid++}`; - clone[_children] = []; - for (const name of Object.getOwnPropertyNames(this)) { - if (this[_attributeNames].has(name)) { - clone[name] = XFAObject[_cloneAttribute](this[name]); - continue; - } - const value = this[name]; - clone[name] = value instanceof XFAObjectArray ? new XFAObjectArray(value[_max]) : null; - } - for (const child of this[_children]) { - const name = child[$nodeName]; - const clonedChild = child[$clone](); - clone[_children].push(clonedChild); - clonedChild[_parent] = clone; - if (clone[name] === null) { - clone[name] = clonedChild; - } else { - clone[name][_children].push(clonedChild); - } - } - return clone; - } - [$getChildren](name = null) { - if (!name) { - return this[_children]; - } - return this[_children].filter(c => c[$nodeName] === name); - } - [$getChildrenByClass](name) { - return this[name]; - } - [$getChildrenByName](name, allTransparent, first = true) { - return Array.from(this[$getChildrenByNameIt](name, allTransparent, first)); - } - *[$getChildrenByNameIt](name, allTransparent, first = true) { - if (name === "parent") { - yield this[_parent]; - return; - } - for (const child of this[_children]) { - if (child[$nodeName] === name) { - yield child; - } - if (child.name === name) { - yield child; - } - if (allTransparent || child[$isTransparent]()) { - yield* child[$getChildrenByNameIt](name, allTransparent, false); - } - } - if (first && this[_attributeNames].has(name)) { - yield new XFAAttribute(this, name, this[name]); - } - } -} -class XFAObjectArray { - constructor(max = Infinity) { - this[_max] = max; - this[_children] = []; - } - get isXFAObject() { - return false; - } - get isXFAObjectArray() { - return true; - } - push(child) { - const len = this[_children].length; - if (len <= this[_max]) { - this[_children].push(child); - return true; - } - warn(`XFA - node "${child[$nodeName]}" accepts no more than ${this[_max]} children`); - return false; - } - isEmpty() { - return this[_children].length === 0; - } - dump() { - return this[_children].length === 1 ? this[_children][0][$dump]() : this[_children].map(x => x[$dump]()); - } - [$clone]() { - const clone = new XFAObjectArray(this[_max]); - clone[_children] = this[_children].map(c => c[$clone]()); - return clone; - } - get children() { - return this[_children]; - } - clear() { - this[_children].length = 0; - } -} -class XFAAttribute { - constructor(node, name, value) { - this[_parent] = node; - this[$nodeName] = name; - this[$content] = value; - this[$consumed] = false; - this[$uid] = `attribute${uid++}`; - } - [$getParent]() { - return this[_parent]; - } - [$isDataValue]() { - return true; - } - [$getDataValue]() { - return this[$content].trim(); - } - [$setValue](value) { - value = value.value || ""; - this[$content] = value.toString(); - } - [$text]() { - return this[$content]; - } - [$isDescendent](parent) { - return this[_parent] === parent || this[_parent][$isDescendent](parent); - } -} -class XmlObject extends XFAObject { - constructor(nsId, name, attributes = {}) { - super(nsId, name); - this[$content] = ""; - this[_dataValue] = null; - if (name !== "#text") { - const map = new Map(); - this[_attributes] = map; - for (const [attrName, value] of Object.entries(attributes)) { - map.set(attrName, new XFAAttribute(this, attrName, value)); - } - if (attributes.hasOwnProperty($nsAttributes)) { - const dataNode = attributes[$nsAttributes].xfa.dataNode; - if (dataNode !== undefined) { - if (dataNode === "dataGroup") { - this[_dataValue] = false; - } else if (dataNode === "dataValue") { - this[_dataValue] = true; - } - } - } - } - this[$consumed] = false; - } - [$toString](buf) { - const tagName = this[$nodeName]; - if (tagName === "#text") { - buf.push(encodeToXmlString(this[$content])); - return; - } - const utf8TagName = utf8StringToString(tagName); - const prefix = this[$namespaceId] === NS_DATASETS ? "xfa:" : ""; - buf.push(`<${prefix}${utf8TagName}`); - for (const [name, value] of this[_attributes].entries()) { - const utf8Name = utf8StringToString(name); - buf.push(` ${utf8Name}="${encodeToXmlString(value[$content])}"`); - } - if (this[_dataValue] !== null) { - if (this[_dataValue]) { - buf.push(` xfa:dataNode="dataValue"`); - } else { - buf.push(` xfa:dataNode="dataGroup"`); - } - } - if (!this[$content] && this[_children].length === 0) { - buf.push("/>"); - return; - } - buf.push(">"); - if (this[$content]) { - if (typeof this[$content] === "string") { - buf.push(encodeToXmlString(this[$content])); - } else { - this[$content][$toString](buf); - } - } else { - for (const child of this[_children]) { - child[$toString](buf); - } - } - buf.push(`${prefix}${utf8TagName}>`); - } - [$onChild](child) { - if (this[$content]) { - const node = new XmlObject(this[$namespaceId], "#text"); - this[$appendChild](node); - node[$content] = this[$content]; - this[$content] = ""; - } - this[$appendChild](child); - return true; - } - [$onText](str) { - this[$content] += str; - } - [$finalize]() { - if (this[$content] && this[_children].length > 0) { - const node = new XmlObject(this[$namespaceId], "#text"); - this[$appendChild](node); - node[$content] = this[$content]; - delete this[$content]; - } - } - [$toHTML]() { - if (this[$nodeName] === "#text") { - return HTMLResult.success({ - name: "#text", - value: this[$content] - }); - } - return HTMLResult.EMPTY; - } - [$getChildren](name = null) { - if (!name) { - return this[_children]; - } - return this[_children].filter(c => c[$nodeName] === name); - } - [$getAttributes]() { - return this[_attributes]; - } - [$getChildrenByClass](name) { - const value = this[_attributes].get(name); - if (value !== undefined) { - return value; - } - return this[$getChildren](name); - } - *[$getChildrenByNameIt](name, allTransparent) { - const value = this[_attributes].get(name); - if (value) { - yield value; - } - for (const child of this[_children]) { - if (child[$nodeName] === name) { - yield child; - } - if (allTransparent) { - yield* child[$getChildrenByNameIt](name, allTransparent); - } - } - } - *[$getAttributeIt](name, skipConsumed) { - const value = this[_attributes].get(name); - if (value && (!skipConsumed || !value[$consumed])) { - yield value; - } - for (const child of this[_children]) { - yield* child[$getAttributeIt](name, skipConsumed); - } - } - *[$getRealChildrenByNameIt](name, allTransparent, skipConsumed) { - for (const child of this[_children]) { - if (child[$nodeName] === name && (!skipConsumed || !child[$consumed])) { - yield child; - } - if (allTransparent) { - yield* child[$getRealChildrenByNameIt](name, allTransparent, skipConsumed); - } - } - } - [$isDataValue]() { - if (this[_dataValue] === null) { - return this[_children].length === 0 || this[_children][0][$namespaceId] === NamespaceIds.xhtml.id; - } - return this[_dataValue]; - } - [$getDataValue]() { - if (this[_dataValue] === null) { - if (this[_children].length === 0) { - return this[$content].trim(); - } - if (this[_children][0][$namespaceId] === NamespaceIds.xhtml.id) { - return this[_children][0][$text]().trim(); - } - return null; - } - return this[$content].trim(); - } - [$setValue](value) { - value = value.value || ""; - this[$content] = value.toString(); - } - [$dump](hasNS = false) { - const dumped = Object.create(null); - if (hasNS) { - dumped.$ns = this[$namespaceId]; - } - if (this[$content]) { - dumped.$content = this[$content]; - } - dumped.$name = this[$nodeName]; - dumped.children = []; - for (const child of this[_children]) { - dumped.children.push(child[$dump](hasNS)); - } - dumped.attributes = Object.create(null); - for (const [name, value] of this[_attributes]) { - dumped.attributes[name] = value[$content]; - } - return dumped; - } -} -class ContentObject extends XFAObject { - constructor(nsId, name) { - super(nsId, name); - this[$content] = ""; - } - [$onText](text) { - this[$content] += text; - } - [$finalize]() {} -} -class OptionObject extends ContentObject { - constructor(nsId, name, options) { - super(nsId, name); - this[_options] = options; - } - [$finalize]() { - this[$content] = getKeyword({ - data: this[$content], - defaultValue: this[_options][0], - validate: k => this[_options].includes(k) - }); - } - [$clean](builder) { - super[$clean](builder); - delete this[_options]; - } -} -class StringObject extends ContentObject { - [$finalize]() { - this[$content] = this[$content].trim(); - } -} -class IntegerObject extends ContentObject { - constructor(nsId, name, defaultValue, validator) { - super(nsId, name); - this[_defaultValue] = defaultValue; - this[_validator] = validator; - } - [$finalize]() { - this[$content] = getInteger({ - data: this[$content], - defaultValue: this[_defaultValue], - validate: this[_validator] - }); - } - [$clean](builder) { - super[$clean](builder); - delete this[_defaultValue]; - delete this[_validator]; - } -} -class Option01 extends IntegerObject { - constructor(nsId, name) { - super(nsId, name, 0, n => n === 1); - } -} -class Option10 extends IntegerObject { - constructor(nsId, name) { - super(nsId, name, 1, n => n === 0); - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/html_utils.js - - - - - - - - - - -function measureToString(m) { - if (typeof m === "string") { - return "0px"; - } - return Number.isInteger(m) ? `${m}px` : `${m.toFixed(2)}px`; -} -const converters = { - anchorType(node, style) { - const parent = node[$getSubformParent](); - if (!parent || parent.layout && parent.layout !== "position") { - return; - } - if (!("transform" in style)) { - style.transform = ""; - } - switch (node.anchorType) { - case "bottomCenter": - style.transform += "translate(-50%, -100%)"; - break; - case "bottomLeft": - style.transform += "translate(0,-100%)"; - break; - case "bottomRight": - style.transform += "translate(-100%,-100%)"; - break; - case "middleCenter": - style.transform += "translate(-50%,-50%)"; - break; - case "middleLeft": - style.transform += "translate(0,-50%)"; - break; - case "middleRight": - style.transform += "translate(-100%,-50%)"; - break; - case "topCenter": - style.transform += "translate(-50%,0)"; - break; - case "topRight": - style.transform += "translate(-100%,0)"; - break; - } - }, - dimensions(node, style) { - const parent = node[$getSubformParent](); - let width = node.w; - const height = node.h; - if (parent.layout?.includes("row")) { - const extra = parent[$extra]; - const colSpan = node.colSpan; - let w; - if (colSpan === -1) { - w = extra.columnWidths.slice(extra.currentColumn).reduce((a, x) => a + x, 0); - extra.currentColumn = 0; - } else { - w = extra.columnWidths.slice(extra.currentColumn, extra.currentColumn + colSpan).reduce((a, x) => a + x, 0); - extra.currentColumn = (extra.currentColumn + node.colSpan) % extra.columnWidths.length; - } - if (!isNaN(w)) { - width = node.w = w; - } - } - style.width = width !== "" ? measureToString(width) : "auto"; - style.height = height !== "" ? measureToString(height) : "auto"; - }, - position(node, style) { - const parent = node[$getSubformParent](); - if (parent?.layout && parent.layout !== "position") { - return; - } - style.position = "absolute"; - style.left = measureToString(node.x); - style.top = measureToString(node.y); - }, - rotate(node, style) { - if (node.rotate) { - if (!("transform" in style)) { - style.transform = ""; - } - style.transform += `rotate(-${node.rotate}deg)`; - style.transformOrigin = "top left"; - } - }, - presence(node, style) { - switch (node.presence) { - case "invisible": - style.visibility = "hidden"; - break; - case "hidden": - case "inactive": - style.display = "none"; - break; - } - }, - hAlign(node, style) { - if (node[$nodeName] === "para") { - switch (node.hAlign) { - case "justifyAll": - style.textAlign = "justify-all"; - break; - case "radix": - style.textAlign = "left"; - break; - default: - style.textAlign = node.hAlign; - } - } else { - switch (node.hAlign) { - case "left": - style.alignSelf = "start"; - break; - case "center": - style.alignSelf = "center"; - break; - case "right": - style.alignSelf = "end"; - break; - } - } - }, - margin(node, style) { - if (node.margin) { - style.margin = node.margin[$toStyle]().margin; - } - } -}; -function setMinMaxDimensions(node, style) { - const parent = node[$getSubformParent](); - if (parent.layout === "position") { - if (node.minW > 0) { - style.minWidth = measureToString(node.minW); - } - if (node.maxW > 0) { - style.maxWidth = measureToString(node.maxW); - } - if (node.minH > 0) { - style.minHeight = measureToString(node.minH); - } - if (node.maxH > 0) { - style.maxHeight = measureToString(node.maxH); - } - } -} -function layoutText(text, xfaFont, margin, lineHeight, fontFinder, width) { - const measure = new TextMeasure(xfaFont, margin, lineHeight, fontFinder); - if (typeof text === "string") { - measure.addString(text); - } else { - text[$pushGlyphs](measure); - } - return measure.compute(width); -} -function layoutNode(node, availableSpace) { - let height = null; - let width = null; - let isBroken = false; - if ((!node.w || !node.h) && node.value) { - let marginH = 0; - let marginV = 0; - if (node.margin) { - marginH = node.margin.leftInset + node.margin.rightInset; - marginV = node.margin.topInset + node.margin.bottomInset; - } - let lineHeight = null; - let margin = null; - if (node.para) { - margin = Object.create(null); - lineHeight = node.para.lineHeight === "" ? null : node.para.lineHeight; - margin.top = node.para.spaceAbove === "" ? 0 : node.para.spaceAbove; - margin.bottom = node.para.spaceBelow === "" ? 0 : node.para.spaceBelow; - margin.left = node.para.marginLeft === "" ? 0 : node.para.marginLeft; - margin.right = node.para.marginRight === "" ? 0 : node.para.marginRight; - } - let font = node.font; - if (!font) { - const root = node[$getTemplateRoot](); - let parent = node[$getParent](); - while (parent && parent !== root) { - if (parent.font) { - font = parent.font; - break; - } - parent = parent[$getParent](); - } - } - const maxWidth = (node.w || availableSpace.width) - marginH; - const fontFinder = node[$globalData].fontFinder; - if (node.value.exData && node.value.exData[$content] && node.value.exData.contentType === "text/html") { - const res = layoutText(node.value.exData[$content], font, margin, lineHeight, fontFinder, maxWidth); - width = res.width; - height = res.height; - isBroken = res.isBroken; - } else { - const text = node.value[$text](); - if (text) { - const res = layoutText(text, font, margin, lineHeight, fontFinder, maxWidth); - width = res.width; - height = res.height; - isBroken = res.isBroken; - } - } - if (width !== null && !node.w) { - width += marginH; - } - if (height !== null && !node.h) { - height += marginV; - } - } - return { - w: width, - h: height, - isBroken - }; -} -function computeBbox(node, html, availableSpace) { - let bbox; - if (node.w !== "" && node.h !== "") { - bbox = [node.x, node.y, node.w, node.h]; - } else { - if (!availableSpace) { - return null; - } - let width = node.w; - if (width === "") { - if (node.maxW === 0) { - const parent = node[$getSubformParent](); - width = parent.layout === "position" && parent.w !== "" ? 0 : node.minW; - } else { - width = Math.min(node.maxW, availableSpace.width); - } - html.attributes.style.width = measureToString(width); - } - let height = node.h; - if (height === "") { - if (node.maxH === 0) { - const parent = node[$getSubformParent](); - height = parent.layout === "position" && parent.h !== "" ? 0 : node.minH; - } else { - height = Math.min(node.maxH, availableSpace.height); - } - html.attributes.style.height = measureToString(height); - } - bbox = [node.x, node.y, width, height]; - } - return bbox; -} -function fixDimensions(node) { - const parent = node[$getSubformParent](); - if (parent.layout?.includes("row")) { - const extra = parent[$extra]; - const colSpan = node.colSpan; - let width; - if (colSpan === -1) { - width = extra.columnWidths.slice(extra.currentColumn).reduce((a, w) => a + w, 0); - } else { - width = extra.columnWidths.slice(extra.currentColumn, extra.currentColumn + colSpan).reduce((a, w) => a + w, 0); - } - if (!isNaN(width)) { - node.w = width; - } - } - if (parent.layout && parent.layout !== "position") { - node.x = node.y = 0; - } - if (node.layout === "table") { - if (node.w === "" && Array.isArray(node.columnWidths)) { - node.w = node.columnWidths.reduce((a, x) => a + x, 0); - } - } -} -function layoutClass(node) { - switch (node.layout) { - case "position": - return "xfaPosition"; - case "lr-tb": - return "xfaLrTb"; - case "rl-row": - return "xfaRlRow"; - case "rl-tb": - return "xfaRlTb"; - case "row": - return "xfaRow"; - case "table": - return "xfaTable"; - case "tb": - return "xfaTb"; - default: - return "xfaPosition"; - } -} -function toStyle(node, ...names) { - const style = Object.create(null); - for (const name of names) { - const value = node[name]; - if (value === null) { - continue; - } - if (converters.hasOwnProperty(name)) { - converters[name](node, style); - continue; - } - if (value instanceof XFAObject) { - const newStyle = value[$toStyle](); - if (newStyle) { - Object.assign(style, newStyle); - } else { - warn(`(DEBUG) - XFA - style for ${name} not implemented yet`); - } - } - } - return style; -} -function createWrapper(node, html) { - const { - attributes - } = html; - const { - style - } = attributes; - const wrapper = { - name: "div", - attributes: { - class: ["xfaWrapper"], - style: Object.create(null) - }, - children: [] - }; - attributes.class.push("xfaWrapped"); - if (node.border) { - const { - widths, - insets - } = node.border[$extra]; - let width, height; - let top = insets[0]; - let left = insets[3]; - const insetsH = insets[0] + insets[2]; - const insetsW = insets[1] + insets[3]; - switch (node.border.hand) { - case "even": - top -= widths[0] / 2; - left -= widths[3] / 2; - width = `calc(100% + ${(widths[1] + widths[3]) / 2 - insetsW}px)`; - height = `calc(100% + ${(widths[0] + widths[2]) / 2 - insetsH}px)`; - break; - case "left": - top -= widths[0]; - left -= widths[3]; - width = `calc(100% + ${widths[1] + widths[3] - insetsW}px)`; - height = `calc(100% + ${widths[0] + widths[2] - insetsH}px)`; - break; - case "right": - width = insetsW ? `calc(100% - ${insetsW}px)` : "100%"; - height = insetsH ? `calc(100% - ${insetsH}px)` : "100%"; - break; - } - const classNames = ["xfaBorder"]; - if (isPrintOnly(node.border)) { - classNames.push("xfaPrintOnly"); - } - const border = { - name: "div", - attributes: { - class: classNames, - style: { - top: `${top}px`, - left: `${left}px`, - width, - height - } - }, - children: [] - }; - for (const key of ["border", "borderWidth", "borderColor", "borderRadius", "borderStyle"]) { - if (style[key] !== undefined) { - border.attributes.style[key] = style[key]; - delete style[key]; - } - } - wrapper.children.push(border, html); - } else { - wrapper.children.push(html); - } - for (const key of ["background", "backgroundClip", "top", "left", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "transform", "transformOrigin", "visibility"]) { - if (style[key] !== undefined) { - wrapper.attributes.style[key] = style[key]; - delete style[key]; - } - } - wrapper.attributes.style.position = style.position === "absolute" ? "absolute" : "relative"; - delete style.position; - if (style.alignSelf) { - wrapper.attributes.style.alignSelf = style.alignSelf; - delete style.alignSelf; - } - return wrapper; -} -function fixTextIndent(styles) { - const indent = getMeasurement(styles.textIndent, "0px"); - if (indent >= 0) { - return; - } - const align = styles.textAlign === "right" ? "right" : "left"; - const name = "padding" + (align === "left" ? "Left" : "Right"); - const padding = getMeasurement(styles[name], "0px"); - styles[name] = `${padding - indent}px`; -} -function setAccess(node, classNames) { - switch (node.access) { - case "nonInteractive": - classNames.push("xfaNonInteractive"); - break; - case "readOnly": - classNames.push("xfaReadOnly"); - break; - case "protected": - classNames.push("xfaDisabled"); - break; - } -} -function isPrintOnly(node) { - return node.relevant.length > 0 && !node.relevant[0].excluded && node.relevant[0].viewname === "print"; -} -function getCurrentPara(node) { - const stack = node[$getTemplateRoot]()[$extra].paraStack; - return stack.length ? stack.at(-1) : null; -} -function setPara(node, nodeStyle, value) { - if (value.attributes.class?.includes("xfaRich")) { - if (nodeStyle) { - if (node.h === "") { - nodeStyle.height = "auto"; - } - if (node.w === "") { - nodeStyle.width = "auto"; - } - } - const para = getCurrentPara(node); - if (para) { - const valueStyle = value.attributes.style; - valueStyle.display = "flex"; - valueStyle.flexDirection = "column"; - switch (para.vAlign) { - case "top": - valueStyle.justifyContent = "start"; - break; - case "bottom": - valueStyle.justifyContent = "end"; - break; - case "middle": - valueStyle.justifyContent = "center"; - break; - } - const paraStyle = para[$toStyle](); - for (const [key, val] of Object.entries(paraStyle)) { - if (!(key in valueStyle)) { - valueStyle[key] = val; - } - } - } - } -} -function setFontFamily(xfaFont, node, fontFinder, style) { - if (!fontFinder) { - delete style.fontFamily; - return; - } - const name = stripQuotes(xfaFont.typeface); - style.fontFamily = `"${name}"`; - const typeface = fontFinder.find(name); - if (typeface) { - const { - fontFamily - } = typeface.regular.cssFontInfo; - if (fontFamily !== name) { - style.fontFamily = `"${fontFamily}"`; - } - const para = getCurrentPara(node); - if (para && para.lineHeight !== "") { - return; - } - if (style.lineHeight) { - return; - } - const pdfFont = selectFont(xfaFont, typeface); - if (pdfFont) { - style.lineHeight = Math.max(1.2, pdfFont.lineHeight); - } - } -} -function fixURL(str) { - const absoluteUrl = createValidAbsoluteUrl(str, null, { - addDefaultProtocol: true, - tryConvertEncoding: true - }); - return absoluteUrl ? absoluteUrl.href : null; -} - -;// CONCATENATED MODULE: ./src/core/xfa/layout.js - - - - - -function createLine(node, children) { - return { - name: "div", - attributes: { - class: [node.layout === "lr-tb" ? "xfaLr" : "xfaRl"] - }, - children - }; -} -function flushHTML(node) { - if (!node[$extra]) { - return null; - } - const attributes = node[$extra].attributes; - const html = { - name: "div", - attributes, - children: node[$extra].children - }; - if (node[$extra].failingNode) { - const htmlFromFailing = node[$extra].failingNode[$flushHTML](); - if (htmlFromFailing) { - if (node.layout.endsWith("-tb")) { - html.children.push(createLine(node, [htmlFromFailing])); - } else { - html.children.push(htmlFromFailing); - } - } - } - if (html.children.length === 0) { - return null; - } - return html; -} -function addHTML(node, html, bbox) { - const extra = node[$extra]; - const availableSpace = extra.availableSpace; - const [x, y, w, h] = bbox; - switch (node.layout) { - case "position": - { - extra.width = Math.max(extra.width, x + w); - extra.height = Math.max(extra.height, y + h); - extra.children.push(html); - break; - } - case "lr-tb": - case "rl-tb": - if (!extra.line || extra.attempt === 1) { - extra.line = createLine(node, []); - extra.children.push(extra.line); - extra.numberInLine = 0; - } - extra.numberInLine += 1; - extra.line.children.push(html); - if (extra.attempt === 0) { - extra.currentWidth += w; - extra.height = Math.max(extra.height, extra.prevHeight + h); - } else { - extra.currentWidth = w; - extra.prevHeight = extra.height; - extra.height += h; - extra.attempt = 0; - } - extra.width = Math.max(extra.width, extra.currentWidth); - break; - case "rl-row": - case "row": - { - extra.children.push(html); - extra.width += w; - extra.height = Math.max(extra.height, h); - const height = measureToString(extra.height); - for (const child of extra.children) { - child.attributes.style.height = height; - } - break; - } - case "table": - { - extra.width = Math.min(availableSpace.width, Math.max(extra.width, w)); - extra.height += h; - extra.children.push(html); - break; - } - case "tb": - { - extra.width = Math.min(availableSpace.width, Math.max(extra.width, w)); - extra.height += h; - extra.children.push(html); - break; - } - } -} -function getAvailableSpace(node) { - const availableSpace = node[$extra].availableSpace; - const marginV = node.margin ? node.margin.topInset + node.margin.bottomInset : 0; - const marginH = node.margin ? node.margin.leftInset + node.margin.rightInset : 0; - switch (node.layout) { - case "lr-tb": - case "rl-tb": - if (node[$extra].attempt === 0) { - return { - width: availableSpace.width - marginH - node[$extra].currentWidth, - height: availableSpace.height - marginV - node[$extra].prevHeight - }; - } - return { - width: availableSpace.width - marginH, - height: availableSpace.height - marginV - node[$extra].height - }; - case "rl-row": - case "row": - const width = node[$extra].columnWidths.slice(node[$extra].currentColumn).reduce((a, x) => a + x); - return { - width, - height: availableSpace.height - marginH - }; - case "table": - case "tb": - return { - width: availableSpace.width - marginH, - height: availableSpace.height - marginV - node[$extra].height - }; - case "position": - default: - return availableSpace; - } -} -function getTransformedBBox(node) { - let w = node.w === "" ? NaN : node.w; - let h = node.h === "" ? NaN : node.h; - let [centerX, centerY] = [0, 0]; - switch (node.anchorType || "") { - case "bottomCenter": - [centerX, centerY] = [w / 2, h]; - break; - case "bottomLeft": - [centerX, centerY] = [0, h]; - break; - case "bottomRight": - [centerX, centerY] = [w, h]; - break; - case "middleCenter": - [centerX, centerY] = [w / 2, h / 2]; - break; - case "middleLeft": - [centerX, centerY] = [0, h / 2]; - break; - case "middleRight": - [centerX, centerY] = [w, h / 2]; - break; - case "topCenter": - [centerX, centerY] = [w / 2, 0]; - break; - case "topRight": - [centerX, centerY] = [w, 0]; - break; - } - let x, y; - switch (node.rotate || 0) { - case 0: - [x, y] = [-centerX, -centerY]; - break; - case 90: - [x, y] = [-centerY, centerX]; - [w, h] = [h, -w]; - break; - case 180: - [x, y] = [centerX, centerY]; - [w, h] = [-w, -h]; - break; - case 270: - [x, y] = [centerY, -centerX]; - [w, h] = [-h, w]; - break; - } - return [node.x + x + Math.min(0, w), node.y + y + Math.min(0, h), Math.abs(w), Math.abs(h)]; -} -function checkDimensions(node, space) { - if (node[$getTemplateRoot]()[$extra].firstUnsplittable === null) { - return true; - } - if (node.w === 0 || node.h === 0) { - return true; - } - const ERROR = 2; - const parent = node[$getSubformParent](); - const attempt = parent[$extra]?.attempt || 0; - const [, y, w, h] = getTransformedBBox(node); - switch (parent.layout) { - case "lr-tb": - case "rl-tb": - if (attempt === 0) { - if (!node[$getTemplateRoot]()[$extra].noLayoutFailure) { - if (node.h !== "" && Math.round(h - space.height) > ERROR) { - return false; - } - if (node.w !== "") { - if (Math.round(w - space.width) <= ERROR) { - return true; - } - if (parent[$extra].numberInLine === 0) { - return space.height > ERROR; - } - return false; - } - return space.width > ERROR; - } - if (node.w !== "") { - return Math.round(w - space.width) <= ERROR; - } - return space.width > ERROR; - } - if (node[$getTemplateRoot]()[$extra].noLayoutFailure) { - return true; - } - if (node.h !== "" && Math.round(h - space.height) > ERROR) { - return false; - } - if (node.w === "" || Math.round(w - space.width) <= ERROR) { - return space.height > ERROR; - } - if (parent[$isThereMoreWidth]()) { - return false; - } - return space.height > ERROR; - case "table": - case "tb": - if (node[$getTemplateRoot]()[$extra].noLayoutFailure) { - return true; - } - if (node.h !== "" && !node[$isSplittable]()) { - return Math.round(h - space.height) <= ERROR; - } - if (node.w === "" || Math.round(w - space.width) <= ERROR) { - return space.height > ERROR; - } - if (parent[$isThereMoreWidth]()) { - return false; - } - return space.height > ERROR; - case "position": - if (node[$getTemplateRoot]()[$extra].noLayoutFailure) { - return true; - } - if (node.h === "" || Math.round(h + y - space.height) <= ERROR) { - return true; - } - const area = node[$getTemplateRoot]()[$extra].currentContentArea; - return h + y > area.h; - case "rl-row": - case "row": - if (node[$getTemplateRoot]()[$extra].noLayoutFailure) { - return true; - } - if (node.h !== "") { - return Math.round(h - space.height) <= ERROR; - } - return true; - default: - return true; - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/template.js - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const TEMPLATE_NS_ID = NamespaceIds.template.id; -const SVG_NS = "http://www.w3.org/2000/svg"; -const MAX_ATTEMPTS_FOR_LRTB_LAYOUT = 2; -const MAX_EMPTY_PAGES = 3; -const DEFAULT_TAB_INDEX = 5000; -const HEADING_PATTERN = /^H(\d+)$/; -const MIMES = new Set(["image/gif", "image/jpeg", "image/jpg", "image/pjpeg", "image/png", "image/apng", "image/x-png", "image/bmp", "image/x-ms-bmp", "image/tiff", "image/tif", "application/octet-stream"]); -const IMAGES_HEADERS = [[[0x42, 0x4d], "image/bmp"], [[0xff, 0xd8, 0xff], "image/jpeg"], [[0x49, 0x49, 0x2a, 0x00], "image/tiff"], [[0x4d, 0x4d, 0x00, 0x2a], "image/tiff"], [[0x47, 0x49, 0x46, 0x38, 0x39, 0x61], "image/gif"], [[0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a], "image/png"]]; -function getBorderDims(node) { - if (!node || !node.border) { - return { - w: 0, - h: 0 - }; - } - const borderExtra = node.border[$getExtra](); - if (!borderExtra) { - return { - w: 0, - h: 0 - }; - } - return { - w: borderExtra.widths[0] + borderExtra.widths[2] + borderExtra.insets[0] + borderExtra.insets[2], - h: borderExtra.widths[1] + borderExtra.widths[3] + borderExtra.insets[1] + borderExtra.insets[3] - }; -} -function hasMargin(node) { - return node.margin && (node.margin.topInset || node.margin.rightInset || node.margin.bottomInset || node.margin.leftInset); -} -function _setValue(templateNode, value) { - if (!templateNode.value) { - const nodeValue = new Value({}); - templateNode[$appendChild](nodeValue); - templateNode.value = nodeValue; - } - templateNode.value[$setValue](value); -} -function* getContainedChildren(node) { - for (const child of node[$getChildren]()) { - if (child instanceof SubformSet) { - yield* child[$getContainedChildren](); - continue; - } - yield child; - } -} -function isRequired(node) { - return node.validate?.nullTest === "error"; -} -function setTabIndex(node) { - while (node) { - if (!node.traversal) { - node[$tabIndex] = node[$getParent]()[$tabIndex]; - return; - } - if (node[$tabIndex]) { - return; - } - let next = null; - for (const child of node.traversal[$getChildren]()) { - if (child.operation === "next") { - next = child; - break; - } - } - if (!next || !next.ref) { - node[$tabIndex] = node[$getParent]()[$tabIndex]; - return; - } - const root = node[$getTemplateRoot](); - node[$tabIndex] = ++root[$tabIndex]; - const ref = root[$searchNode](next.ref, node); - if (!ref) { - return; - } - node = ref[0]; - } -} -function applyAssist(obj, attributes) { - const assist = obj.assist; - if (assist) { - const assistTitle = assist[$toHTML](); - if (assistTitle) { - attributes.title = assistTitle; - } - const role = assist.role; - const match = role.match(HEADING_PATTERN); - if (match) { - const ariaRole = "heading"; - const ariaLevel = match[1]; - attributes.role = ariaRole; - attributes["aria-level"] = ariaLevel; - } - } - if (obj.layout === "table") { - attributes.role = "table"; - } else if (obj.layout === "row") { - attributes.role = "row"; - } else { - const parent = obj[$getParent](); - if (parent.layout === "row") { - attributes.role = parent.assist?.role === "TH" ? "columnheader" : "cell"; - } - } -} -function ariaLabel(obj) { - if (!obj.assist) { - return null; - } - const assist = obj.assist; - if (assist.speak && assist.speak[$content] !== "") { - return assist.speak[$content]; - } - if (assist.toolTip) { - return assist.toolTip[$content]; - } - return null; -} -function valueToHtml(value) { - return HTMLResult.success({ - name: "div", - attributes: { - class: ["xfaRich"], - style: Object.create(null) - }, - children: [{ - name: "span", - attributes: { - style: Object.create(null) - }, - value - }] - }); -} -function setFirstUnsplittable(node) { - const root = node[$getTemplateRoot](); - if (root[$extra].firstUnsplittable === null) { - root[$extra].firstUnsplittable = node; - root[$extra].noLayoutFailure = true; - } -} -function unsetFirstUnsplittable(node) { - const root = node[$getTemplateRoot](); - if (root[$extra].firstUnsplittable === node) { - root[$extra].noLayoutFailure = false; - } -} -function handleBreak(node) { - if (node[$extra]) { - return false; - } - node[$extra] = Object.create(null); - if (node.targetType === "auto") { - return false; - } - const root = node[$getTemplateRoot](); - let target = null; - if (node.target) { - target = root[$searchNode](node.target, node[$getParent]()); - if (!target) { - return false; - } - target = target[0]; - } - const { - currentPageArea, - currentContentArea - } = root[$extra]; - if (node.targetType === "pageArea") { - if (!(target instanceof PageArea)) { - target = null; - } - if (node.startNew) { - node[$extra].target = target || currentPageArea; - return true; - } else if (target && target !== currentPageArea) { - node[$extra].target = target; - return true; - } - return false; - } - if (!(target instanceof ContentArea)) { - target = null; - } - const pageArea = target && target[$getParent](); - let index; - let nextPageArea = pageArea; - if (node.startNew) { - if (target) { - const contentAreas = pageArea.contentArea.children; - const indexForCurrent = contentAreas.indexOf(currentContentArea); - const indexForTarget = contentAreas.indexOf(target); - if (indexForCurrent !== -1 && indexForCurrent < indexForTarget) { - nextPageArea = null; - } - index = indexForTarget - 1; - } else { - index = currentPageArea.contentArea.children.indexOf(currentContentArea); - } - } else if (target && target !== currentContentArea) { - const contentAreas = pageArea.contentArea.children; - index = contentAreas.indexOf(target) - 1; - nextPageArea = pageArea === currentPageArea ? null : pageArea; - } else { - return false; - } - node[$extra].target = nextPageArea; - node[$extra].index = index; - return true; -} -function handleOverflow(node, extraNode, space) { - const root = node[$getTemplateRoot](); - const saved = root[$extra].noLayoutFailure; - const savedMethod = extraNode[$getSubformParent]; - extraNode[$getSubformParent] = () => node; - root[$extra].noLayoutFailure = true; - const res = extraNode[$toHTML](space); - node[$addHTML](res.html, res.bbox); - root[$extra].noLayoutFailure = saved; - extraNode[$getSubformParent] = savedMethod; -} -class AppearanceFilter extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "appearanceFilter"); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Arc extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "arc", true); - this.circular = getInteger({ - data: attributes.circular, - defaultValue: 0, - validate: x => x === 1 - }); - this.hand = getStringOption(attributes.hand, ["even", "left", "right"]); - this.id = attributes.id || ""; - this.startAngle = getFloat({ - data: attributes.startAngle, - defaultValue: 0, - validate: x => true - }); - this.sweepAngle = getFloat({ - data: attributes.sweepAngle, - defaultValue: 360, - validate: x => true - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.edge = null; - this.fill = null; - } - [$toHTML]() { - const edge = this.edge || new Edge({}); - const edgeStyle = edge[$toStyle](); - const style = Object.create(null); - if (this.fill?.presence === "visible") { - Object.assign(style, this.fill[$toStyle]()); - } else { - style.fill = "transparent"; - } - style.strokeWidth = measureToString(edge.presence === "visible" ? edge.thickness : 0); - style.stroke = edgeStyle.color; - let arc; - const attributes = { - xmlns: SVG_NS, - style: { - width: "100%", - height: "100%", - overflow: "visible" - } - }; - if (this.sweepAngle === 360) { - arc = { - name: "ellipse", - attributes: { - xmlns: SVG_NS, - cx: "50%", - cy: "50%", - rx: "50%", - ry: "50%", - style - } - }; - } else { - const startAngle = this.startAngle * Math.PI / 180; - const sweepAngle = this.sweepAngle * Math.PI / 180; - const largeArc = this.sweepAngle > 180 ? 1 : 0; - const [x1, y1, x2, y2] = [50 * (1 + Math.cos(startAngle)), 50 * (1 - Math.sin(startAngle)), 50 * (1 + Math.cos(startAngle + sweepAngle)), 50 * (1 - Math.sin(startAngle + sweepAngle))]; - arc = { - name: "path", - attributes: { - xmlns: SVG_NS, - d: `M ${x1} ${y1} A 50 50 0 ${largeArc} 0 ${x2} ${y2}`, - vectorEffect: "non-scaling-stroke", - style - } - }; - Object.assign(attributes, { - viewBox: "0 0 100 100", - preserveAspectRatio: "none" - }); - } - const svg = { - name: "svg", - children: [arc], - attributes - }; - const parent = this[$getParent]()[$getParent](); - if (hasMargin(parent)) { - return HTMLResult.success({ - name: "div", - attributes: { - style: { - display: "inline", - width: "100%", - height: "100%" - } - }, - children: [svg] - }); - } - svg.attributes.style.position = "absolute"; - return HTMLResult.success(svg); - } -} -class Area extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "area", true); - this.colSpan = getInteger({ - data: attributes.colSpan, - defaultValue: 1, - validate: n => n >= 1 || n === -1 - }); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.desc = null; - this.extras = null; - this.area = new XFAObjectArray(); - this.draw = new XFAObjectArray(); - this.exObject = new XFAObjectArray(); - this.exclGroup = new XFAObjectArray(); - this.field = new XFAObjectArray(); - this.subform = new XFAObjectArray(); - this.subformSet = new XFAObjectArray(); - } - *[$getContainedChildren]() { - yield* getContainedChildren(this); - } - [$isTransparent]() { - return true; - } - [$isBindable]() { - return true; - } - [$addHTML](html, bbox) { - const [x, y, w, h] = bbox; - this[$extra].width = Math.max(this[$extra].width, x + w); - this[$extra].height = Math.max(this[$extra].height, y + h); - this[$extra].children.push(html); - } - [$getAvailableSpace]() { - return this[$extra].availableSpace; - } - [$toHTML](availableSpace) { - const style = toStyle(this, "position"); - const attributes = { - style, - id: this[$uid], - class: ["xfaArea"] - }; - if (isPrintOnly(this)) { - attributes.class.push("xfaPrintOnly"); - } - if (this.name) { - attributes.xfaName = this.name; - } - const children = []; - this[$extra] = { - children, - width: 0, - height: 0, - availableSpace - }; - const result = this[$childrenToHTML]({ - filter: new Set(["area", "draw", "field", "exclGroup", "subform", "subformSet"]), - include: true - }); - if (!result.success) { - if (result.isBreak()) { - return result; - } - delete this[$extra]; - return HTMLResult.FAILURE; - } - style.width = measureToString(this[$extra].width); - style.height = measureToString(this[$extra].height); - const html = { - name: "div", - attributes, - children - }; - const bbox = [this.x, this.y, this[$extra].width, this[$extra].height]; - delete this[$extra]; - return HTMLResult.success(html, bbox); - } -} -class Assist extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "assist", true); - this.id = attributes.id || ""; - this.role = attributes.role || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.speak = null; - this.toolTip = null; - } - [$toHTML]() { - return this.toolTip?.[$content] || null; - } -} -class Barcode extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "barcode", true); - this.charEncoding = getKeyword({ - data: attributes.charEncoding ? attributes.charEncoding.toLowerCase() : "", - defaultValue: "", - validate: k => ["utf-8", "big-five", "fontspecific", "gbk", "gb-18030", "gb-2312", "ksc-5601", "none", "shift-jis", "ucs-2", "utf-16"].includes(k) || k.match(/iso-8859-\d{2}/) - }); - this.checksum = getStringOption(attributes.checksum, ["none", "1mod10", "1mod10_1mod11", "2mod10", "auto"]); - this.dataColumnCount = getInteger({ - data: attributes.dataColumnCount, - defaultValue: -1, - validate: x => x >= 0 - }); - this.dataLength = getInteger({ - data: attributes.dataLength, - defaultValue: -1, - validate: x => x >= 0 - }); - this.dataPrep = getStringOption(attributes.dataPrep, ["none", "flateCompress"]); - this.dataRowCount = getInteger({ - data: attributes.dataRowCount, - defaultValue: -1, - validate: x => x >= 0 - }); - this.endChar = attributes.endChar || ""; - this.errorCorrectionLevel = getInteger({ - data: attributes.errorCorrectionLevel, - defaultValue: -1, - validate: x => x >= 0 && x <= 8 - }); - this.id = attributes.id || ""; - this.moduleHeight = getMeasurement(attributes.moduleHeight, "5mm"); - this.moduleWidth = getMeasurement(attributes.moduleWidth, "0.25mm"); - this.printCheckDigit = getInteger({ - data: attributes.printCheckDigit, - defaultValue: 0, - validate: x => x === 1 - }); - this.rowColumnRatio = getRatio(attributes.rowColumnRatio); - this.startChar = attributes.startChar || ""; - this.textLocation = getStringOption(attributes.textLocation, ["below", "above", "aboveEmbedded", "belowEmbedded", "none"]); - this.truncate = getInteger({ - data: attributes.truncate, - defaultValue: 0, - validate: x => x === 1 - }); - this.type = getStringOption(attributes.type ? attributes.type.toLowerCase() : "", ["aztec", "codabar", "code2of5industrial", "code2of5interleaved", "code2of5matrix", "code2of5standard", "code3of9", "code3of9extended", "code11", "code49", "code93", "code128", "code128a", "code128b", "code128c", "code128sscc", "datamatrix", "ean8", "ean8add2", "ean8add5", "ean13", "ean13add2", "ean13add5", "ean13pwcd", "fim", "logmars", "maxicode", "msi", "pdf417", "pdf417macro", "plessey", "postauscust2", "postauscust3", "postausreplypaid", "postausstandard", "postukrm4scc", "postusdpbc", "postusimb", "postusstandard", "postus5zip", "qrcode", "rfid", "rss14", "rss14expanded", "rss14limited", "rss14stacked", "rss14stackedomni", "rss14truncated", "telepen", "ucc128", "ucc128random", "ucc128sscc", "upca", "upcaadd2", "upcaadd5", "upcapwcd", "upce", "upceadd2", "upceadd5", "upcean2", "upcean5", "upsmaxicode"]); - this.upsMode = getStringOption(attributes.upsMode, ["usCarrier", "internationalCarrier", "secureSymbol", "standardSymbol"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.wideNarrowRatio = getRatio(attributes.wideNarrowRatio); - this.encrypt = null; - this.extras = null; - } -} -class Bind extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "bind", true); - this.match = getStringOption(attributes.match, ["once", "dataRef", "global", "none"]); - this.ref = attributes.ref || ""; - this.picture = null; - } -} -class BindItems extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "bindItems"); - this.connection = attributes.connection || ""; - this.labelRef = attributes.labelRef || ""; - this.ref = attributes.ref || ""; - this.valueRef = attributes.valueRef || ""; - } -} -class Bookend extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "bookend"); - this.id = attributes.id || ""; - this.leader = attributes.leader || ""; - this.trailer = attributes.trailer || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class BooleanElement extends Option01 { - constructor(attributes) { - super(TEMPLATE_NS_ID, "boolean"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] === 1 ? "1" : "0"); - } -} -class Border extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "border", true); - this.break = getStringOption(attributes.break, ["close", "open"]); - this.hand = getStringOption(attributes.hand, ["even", "left", "right"]); - this.id = attributes.id || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.corner = new XFAObjectArray(4); - this.edge = new XFAObjectArray(4); - this.extras = null; - this.fill = null; - this.margin = null; - } - [$getExtra]() { - if (!this[$extra]) { - const edges = this.edge.children.slice(); - if (edges.length < 4) { - const defaultEdge = edges.at(-1) || new Edge({}); - for (let i = edges.length; i < 4; i++) { - edges.push(defaultEdge); - } - } - const widths = edges.map(edge => edge.thickness); - const insets = [0, 0, 0, 0]; - if (this.margin) { - insets[0] = this.margin.topInset; - insets[1] = this.margin.rightInset; - insets[2] = this.margin.bottomInset; - insets[3] = this.margin.leftInset; - } - this[$extra] = { - widths, - insets, - edges - }; - } - return this[$extra]; - } - [$toStyle]() { - const { - edges - } = this[$getExtra](); - const edgeStyles = edges.map(node => { - const style = node[$toStyle](); - style.color ||= "#000000"; - return style; - }); - const style = Object.create(null); - if (this.margin) { - Object.assign(style, this.margin[$toStyle]()); - } - if (this.fill?.presence === "visible") { - Object.assign(style, this.fill[$toStyle]()); - } - if (this.corner.children.some(node => node.radius !== 0)) { - const cornerStyles = this.corner.children.map(node => node[$toStyle]()); - if (cornerStyles.length === 2 || cornerStyles.length === 3) { - const last = cornerStyles.at(-1); - for (let i = cornerStyles.length; i < 4; i++) { - cornerStyles.push(last); - } - } - style.borderRadius = cornerStyles.map(s => s.radius).join(" "); - } - switch (this.presence) { - case "invisible": - case "hidden": - style.borderStyle = ""; - break; - case "inactive": - style.borderStyle = "none"; - break; - default: - style.borderStyle = edgeStyles.map(s => s.style).join(" "); - break; - } - style.borderWidth = edgeStyles.map(s => s.width).join(" "); - style.borderColor = edgeStyles.map(s => s.color).join(" "); - return style; - } -} -class Break extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "break", true); - this.after = getStringOption(attributes.after, ["auto", "contentArea", "pageArea", "pageEven", "pageOdd"]); - this.afterTarget = attributes.afterTarget || ""; - this.before = getStringOption(attributes.before, ["auto", "contentArea", "pageArea", "pageEven", "pageOdd"]); - this.beforeTarget = attributes.beforeTarget || ""; - this.bookendLeader = attributes.bookendLeader || ""; - this.bookendTrailer = attributes.bookendTrailer || ""; - this.id = attributes.id || ""; - this.overflowLeader = attributes.overflowLeader || ""; - this.overflowTarget = attributes.overflowTarget || ""; - this.overflowTrailer = attributes.overflowTrailer || ""; - this.startNew = getInteger({ - data: attributes.startNew, - defaultValue: 0, - validate: x => x === 1 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } -} -class BreakAfter extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "breakAfter", true); - this.id = attributes.id || ""; - this.leader = attributes.leader || ""; - this.startNew = getInteger({ - data: attributes.startNew, - defaultValue: 0, - validate: x => x === 1 - }); - this.target = attributes.target || ""; - this.targetType = getStringOption(attributes.targetType, ["auto", "contentArea", "pageArea"]); - this.trailer = attributes.trailer || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.script = null; - } -} -class BreakBefore extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "breakBefore", true); - this.id = attributes.id || ""; - this.leader = attributes.leader || ""; - this.startNew = getInteger({ - data: attributes.startNew, - defaultValue: 0, - validate: x => x === 1 - }); - this.target = attributes.target || ""; - this.targetType = getStringOption(attributes.targetType, ["auto", "contentArea", "pageArea"]); - this.trailer = attributes.trailer || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.script = null; - } - [$toHTML](availableSpace) { - this[$extra] = {}; - return HTMLResult.FAILURE; - } -} -class Button extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "button", true); - this.highlight = getStringOption(attributes.highlight, ["inverted", "none", "outline", "push"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } - [$toHTML](availableSpace) { - const parent = this[$getParent](); - const grandpa = parent[$getParent](); - const htmlButton = { - name: "button", - attributes: { - id: this[$uid], - class: ["xfaButton"], - style: {} - }, - children: [] - }; - for (const event of grandpa.event.children) { - if (event.activity !== "click" || !event.script) { - continue; - } - const jsURL = recoverJsURL(event.script[$content]); - if (!jsURL) { - continue; - } - const href = fixURL(jsURL.url); - if (!href) { - continue; - } - htmlButton.children.push({ - name: "a", - attributes: { - id: "link" + this[$uid], - href, - newWindow: jsURL.newWindow, - class: ["xfaLink"], - style: {} - }, - children: [] - }); - } - return HTMLResult.success(htmlButton); - } -} -class Calculate extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "calculate", true); - this.id = attributes.id || ""; - this.override = getStringOption(attributes.override, ["disabled", "error", "ignore", "warning"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.message = null; - this.script = null; - } -} -class Caption extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "caption", true); - this.id = attributes.id || ""; - this.placement = getStringOption(attributes.placement, ["left", "bottom", "inline", "right", "top"]); - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.reserve = Math.ceil(getMeasurement(attributes.reserve)); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.font = null; - this.margin = null; - this.para = null; - this.value = null; - } - [$setValue](value) { - _setValue(this, value); - } - [$getExtra](availableSpace) { - if (!this[$extra]) { - let { - width, - height - } = availableSpace; - switch (this.placement) { - case "left": - case "right": - case "inline": - width = this.reserve <= 0 ? width : this.reserve; - break; - case "top": - case "bottom": - height = this.reserve <= 0 ? height : this.reserve; - break; - } - this[$extra] = layoutNode(this, { - width, - height - }); - } - return this[$extra]; - } - [$toHTML](availableSpace) { - if (!this.value) { - return HTMLResult.EMPTY; - } - this[$pushPara](); - const value = this.value[$toHTML](availableSpace).html; - if (!value) { - this[$popPara](); - return HTMLResult.EMPTY; - } - const savedReserve = this.reserve; - if (this.reserve <= 0) { - const { - w, - h - } = this[$getExtra](availableSpace); - switch (this.placement) { - case "left": - case "right": - case "inline": - this.reserve = w; - break; - case "top": - case "bottom": - this.reserve = h; - break; - } - } - const children = []; - if (typeof value === "string") { - children.push({ - name: "#text", - value - }); - } else { - children.push(value); - } - const style = toStyle(this, "font", "margin", "visibility"); - switch (this.placement) { - case "left": - case "right": - if (this.reserve > 0) { - style.width = measureToString(this.reserve); - } - break; - case "top": - case "bottom": - if (this.reserve > 0) { - style.height = measureToString(this.reserve); - } - break; - } - setPara(this, null, value); - this[$popPara](); - this.reserve = savedReserve; - return HTMLResult.success({ - name: "div", - attributes: { - style, - class: ["xfaCaption"] - }, - children - }); - } -} -class Certificate extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "certificate"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Certificates extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "certificates", true); - this.credentialServerPolicy = getStringOption(attributes.credentialServerPolicy, ["optional", "required"]); - this.id = attributes.id || ""; - this.url = attributes.url || ""; - this.urlPolicy = attributes.urlPolicy || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.encryption = null; - this.issuers = null; - this.keyUsage = null; - this.oids = null; - this.signing = null; - this.subjectDNs = null; - } -} -class CheckButton extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "checkButton", true); - this.id = attributes.id || ""; - this.mark = getStringOption(attributes.mark, ["default", "check", "circle", "cross", "diamond", "square", "star"]); - this.shape = getStringOption(attributes.shape, ["square", "round"]); - this.size = getMeasurement(attributes.size, "10pt"); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - const style = toStyle("margin"); - const size = measureToString(this.size); - style.width = style.height = size; - let type; - let className; - let groupId; - const field = this[$getParent]()[$getParent](); - const items = field.items.children.length && field.items.children[0][$toHTML]().html || []; - const exportedValue = { - on: (items[0] !== undefined ? items[0] : "on").toString(), - off: (items[1] !== undefined ? items[1] : "off").toString() - }; - const value = field.value?.[$text]() || "off"; - const checked = value === exportedValue.on || undefined; - const container = field[$getSubformParent](); - const fieldId = field[$uid]; - let dataId; - if (container instanceof ExclGroup) { - groupId = container[$uid]; - type = "radio"; - className = "xfaRadio"; - dataId = container[$data]?.[$uid] || container[$uid]; - } else { - type = "checkbox"; - className = "xfaCheckbox"; - dataId = field[$data]?.[$uid] || field[$uid]; - } - const input = { - name: "input", - attributes: { - class: [className], - style, - fieldId, - dataId, - type, - checked, - xfaOn: exportedValue.on, - xfaOff: exportedValue.off, - "aria-label": ariaLabel(field), - "aria-required": false - } - }; - if (groupId) { - input.attributes.name = groupId; - } - if (isRequired(field)) { - input.attributes["aria-required"] = true; - input.attributes.required = true; - } - return HTMLResult.success({ - name: "label", - attributes: { - class: ["xfaLabel"] - }, - children: [input] - }); - } -} -class ChoiceList extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "choiceList", true); - this.commitOn = getStringOption(attributes.commitOn, ["select", "exit"]); - this.id = attributes.id || ""; - this.open = getStringOption(attributes.open, ["userControl", "always", "multiSelect", "onEntry"]); - this.textEntry = getInteger({ - data: attributes.textEntry, - defaultValue: 0, - validate: x => x === 1 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - const style = toStyle(this, "border", "margin"); - const ui = this[$getParent](); - const field = ui[$getParent](); - const fontSize = field.font?.size || 10; - const optionStyle = { - fontSize: `calc(${fontSize}px * var(--scale-factor))` - }; - const children = []; - if (field.items.children.length > 0) { - const items = field.items; - let displayedIndex = 0; - let saveIndex = 0; - if (items.children.length === 2) { - displayedIndex = items.children[0].save; - saveIndex = 1 - displayedIndex; - } - const displayed = items.children[displayedIndex][$toHTML]().html; - const values = items.children[saveIndex][$toHTML]().html; - let selected = false; - const value = field.value?.[$text]() || ""; - for (let i = 0, ii = displayed.length; i < ii; i++) { - const option = { - name: "option", - attributes: { - value: values[i] || displayed[i], - style: optionStyle - }, - value: displayed[i] - }; - if (values[i] === value) { - option.attributes.selected = selected = true; - } - children.push(option); - } - if (!selected) { - children.splice(0, 0, { - name: "option", - attributes: { - hidden: true, - selected: true - }, - value: " " - }); - } - } - const selectAttributes = { - class: ["xfaSelect"], - fieldId: field[$uid], - dataId: field[$data]?.[$uid] || field[$uid], - style, - "aria-label": ariaLabel(field), - "aria-required": false - }; - if (isRequired(field)) { - selectAttributes["aria-required"] = true; - selectAttributes.required = true; - } - if (this.open === "multiSelect") { - selectAttributes.multiple = true; - } - return HTMLResult.success({ - name: "label", - attributes: { - class: ["xfaLabel"] - }, - children: [{ - name: "select", - children, - attributes: selectAttributes - }] - }); - } -} -class Color extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "color", true); - this.cSpace = getStringOption(attributes.cSpace, ["SRGB"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.value = attributes.value ? getColor(attributes.value) : ""; - this.extras = null; - } - [$hasSettableValue]() { - return false; - } - [$toStyle]() { - return this.value ? Util.makeHexColor(this.value.r, this.value.g, this.value.b) : null; - } -} -class Comb extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "comb"); - this.id = attributes.id || ""; - this.numberOfCells = getInteger({ - data: attributes.numberOfCells, - defaultValue: 0, - validate: x => x >= 0 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Connect extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "connect", true); - this.connection = attributes.connection || ""; - this.id = attributes.id || ""; - this.ref = attributes.ref || ""; - this.usage = getStringOption(attributes.usage, ["exportAndImport", "exportOnly", "importOnly"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.picture = null; - } -} -class ContentArea extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "contentArea", true); - this.h = getMeasurement(attributes.h); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.w = getMeasurement(attributes.w); - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.desc = null; - this.extras = null; - } - [$toHTML](availableSpace) { - const left = measureToString(this.x); - const top = measureToString(this.y); - const style = { - left, - top, - width: measureToString(this.w), - height: measureToString(this.h) - }; - const classNames = ["xfaContentarea"]; - if (isPrintOnly(this)) { - classNames.push("xfaPrintOnly"); - } - return HTMLResult.success({ - name: "div", - children: [], - attributes: { - style, - class: classNames, - id: this[$uid] - } - }); - } -} -class Corner extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "corner", true); - this.id = attributes.id || ""; - this.inverted = getInteger({ - data: attributes.inverted, - defaultValue: 0, - validate: x => x === 1 - }); - this.join = getStringOption(attributes.join, ["square", "round"]); - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.radius = getMeasurement(attributes.radius); - this.stroke = getStringOption(attributes.stroke, ["solid", "dashDot", "dashDotDot", "dashed", "dotted", "embossed", "etched", "lowered", "raised"]); - this.thickness = getMeasurement(attributes.thickness, "0.5pt"); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle]() { - const style = toStyle(this, "visibility"); - style.radius = measureToString(this.join === "square" ? 0 : this.radius); - return style; - } -} -class DateElement extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "date"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const date = this[$content].trim(); - this[$content] = date ? new Date(date) : null; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] ? this[$content].toString() : ""); - } -} -class DateTime extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "dateTime"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const date = this[$content].trim(); - this[$content] = date ? new Date(date) : null; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] ? this[$content].toString() : ""); - } -} -class DateTimeEdit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "dateTimeEdit", true); - this.hScrollPolicy = getStringOption(attributes.hScrollPolicy, ["auto", "off", "on"]); - this.id = attributes.id || ""; - this.picker = getStringOption(attributes.picker, ["host", "none"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.comb = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - const style = toStyle(this, "border", "font", "margin"); - const field = this[$getParent]()[$getParent](); - const html = { - name: "input", - attributes: { - type: "text", - fieldId: field[$uid], - dataId: field[$data]?.[$uid] || field[$uid], - class: ["xfaTextfield"], - style, - "aria-label": ariaLabel(field), - "aria-required": false - } - }; - if (isRequired(field)) { - html.attributes["aria-required"] = true; - html.attributes.required = true; - } - return HTMLResult.success({ - name: "label", - attributes: { - class: ["xfaLabel"] - }, - children: [html] - }); - } -} -class Decimal extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "decimal"); - this.fracDigits = getInteger({ - data: attributes.fracDigits, - defaultValue: 2, - validate: x => true - }); - this.id = attributes.id || ""; - this.leadDigits = getInteger({ - data: attributes.leadDigits, - defaultValue: -1, - validate: x => true - }); - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const number = parseFloat(this[$content].trim()); - this[$content] = isNaN(number) ? null : number; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] !== null ? this[$content].toString() : ""); - } -} -class DefaultUi extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "defaultUi", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } -} -class Desc extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "desc", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.boolean = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.time = new XFAObjectArray(); - } -} -class DigestMethod extends OptionObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "digestMethod", ["", "SHA1", "SHA256", "SHA512", "RIPEMD160"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class DigestMethods extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "digestMethods", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.digestMethod = new XFAObjectArray(); - } -} -class Draw extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "draw", true); - this.anchorType = getStringOption(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); - this.colSpan = getInteger({ - data: attributes.colSpan, - defaultValue: 1, - validate: n => n >= 1 || n === -1 - }); - this.h = attributes.h ? getMeasurement(attributes.h) : ""; - this.hAlign = getStringOption(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); - this.id = attributes.id || ""; - this.locale = attributes.locale || ""; - this.maxH = getMeasurement(attributes.maxH, "0pt"); - this.maxW = getMeasurement(attributes.maxW, "0pt"); - this.minH = getMeasurement(attributes.minH, "0pt"); - this.minW = getMeasurement(attributes.minW, "0pt"); - this.name = attributes.name || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.relevant = getRelevant(attributes.relevant); - this.rotate = getInteger({ - data: attributes.rotate, - defaultValue: 0, - validate: x => x % 90 === 0 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.w = attributes.w ? getMeasurement(attributes.w) : ""; - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.assist = null; - this.border = null; - this.caption = null; - this.desc = null; - this.extras = null; - this.font = null; - this.keep = null; - this.margin = null; - this.para = null; - this.traversal = null; - this.ui = null; - this.value = null; - this.setProperty = new XFAObjectArray(); - } - [$setValue](value) { - _setValue(this, value); - } - [$toHTML](availableSpace) { - setTabIndex(this); - if (this.presence === "hidden" || this.presence === "inactive") { - return HTMLResult.EMPTY; - } - fixDimensions(this); - this[$pushPara](); - const savedW = this.w; - const savedH = this.h; - const { - w, - h, - isBroken - } = layoutNode(this, availableSpace); - if (w && this.w === "") { - if (isBroken && this[$getSubformParent]()[$isThereMoreWidth]()) { - this[$popPara](); - return HTMLResult.FAILURE; - } - this.w = w; - } - if (h && this.h === "") { - this.h = h; - } - setFirstUnsplittable(this); - if (!checkDimensions(this, availableSpace)) { - this.w = savedW; - this.h = savedH; - this[$popPara](); - return HTMLResult.FAILURE; - } - unsetFirstUnsplittable(this); - const style = toStyle(this, "font", "hAlign", "dimensions", "position", "presence", "rotate", "anchorType", "border", "margin"); - setMinMaxDimensions(this, style); - if (style.margin) { - style.padding = style.margin; - delete style.margin; - } - const classNames = ["xfaDraw"]; - if (this.font) { - classNames.push("xfaFont"); - } - if (isPrintOnly(this)) { - classNames.push("xfaPrintOnly"); - } - const attributes = { - style, - id: this[$uid], - class: classNames - }; - if (this.name) { - attributes.xfaName = this.name; - } - const html = { - name: "div", - attributes, - children: [] - }; - applyAssist(this, attributes); - const bbox = computeBbox(this, html, availableSpace); - const value = this.value ? this.value[$toHTML](availableSpace).html : null; - if (value === null) { - this.w = savedW; - this.h = savedH; - this[$popPara](); - return HTMLResult.success(createWrapper(this, html), bbox); - } - html.children.push(value); - setPara(this, style, value); - this.w = savedW; - this.h = savedH; - this[$popPara](); - return HTMLResult.success(createWrapper(this, html), bbox); - } -} -class Edge extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "edge", true); - this.cap = getStringOption(attributes.cap, ["square", "butt", "round"]); - this.id = attributes.id || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.stroke = getStringOption(attributes.stroke, ["solid", "dashDot", "dashDotDot", "dashed", "dotted", "embossed", "etched", "lowered", "raised"]); - this.thickness = getMeasurement(attributes.thickness, "0.5pt"); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle]() { - const style = toStyle(this, "visibility"); - Object.assign(style, { - linecap: this.cap, - width: measureToString(this.thickness), - color: this.color ? this.color[$toStyle]() : "#000000", - style: "" - }); - if (this.presence !== "visible") { - style.style = "none"; - } else { - switch (this.stroke) { - case "solid": - style.style = "solid"; - break; - case "dashDot": - style.style = "dashed"; - break; - case "dashDotDot": - style.style = "dashed"; - break; - case "dashed": - style.style = "dashed"; - break; - case "dotted": - style.style = "dotted"; - break; - case "embossed": - style.style = "ridge"; - break; - case "etched": - style.style = "groove"; - break; - case "lowered": - style.style = "inset"; - break; - case "raised": - style.style = "outset"; - break; - } - } - return style; - } -} -class Encoding extends OptionObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encoding", ["adbe.x509.rsa_sha1", "adbe.pkcs7.detached", "adbe.pkcs7.sha1"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Encodings extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encodings", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.encoding = new XFAObjectArray(); - } -} -class Encrypt extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encrypt", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.certificate = null; - } -} -class EncryptData extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encryptData", true); - this.id = attributes.id || ""; - this.operation = getStringOption(attributes.operation, ["encrypt", "decrypt"]); - this.target = attributes.target || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.filter = null; - this.manifest = null; - } -} -class Encryption extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encryption", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.certificate = new XFAObjectArray(); - } -} -class EncryptionMethod extends OptionObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encryptionMethod", ["", "AES256-CBC", "TRIPLEDES-CBC", "AES128-CBC", "AES192-CBC"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class EncryptionMethods extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "encryptionMethods", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.encryptionMethod = new XFAObjectArray(); - } -} -class Event extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "event", true); - this.activity = getStringOption(attributes.activity, ["click", "change", "docClose", "docReady", "enter", "exit", "full", "indexChange", "initialize", "mouseDown", "mouseEnter", "mouseExit", "mouseUp", "postExecute", "postOpen", "postPrint", "postSave", "postSign", "postSubmit", "preExecute", "preOpen", "prePrint", "preSave", "preSign", "preSubmit", "ready", "validationState"]); - this.id = attributes.id || ""; - this.listen = getStringOption(attributes.listen, ["refOnly", "refAndDescendents"]); - this.name = attributes.name || ""; - this.ref = attributes.ref || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.encryptData = null; - this.execute = null; - this.script = null; - this.signData = null; - this.submit = null; - } -} -class ExData extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "exData"); - this.contentType = attributes.contentType || ""; - this.href = attributes.href || ""; - this.id = attributes.id || ""; - this.maxLength = getInteger({ - data: attributes.maxLength, - defaultValue: -1, - validate: x => x >= -1 - }); - this.name = attributes.name || ""; - this.rid = attributes.rid || ""; - this.transferEncoding = getStringOption(attributes.transferEncoding, ["none", "base64", "package"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$isCDATAXml]() { - return this.contentType === "text/html"; - } - [$onChild](child) { - if (this.contentType === "text/html" && child[$namespaceId] === NamespaceIds.xhtml.id) { - this[$content] = child; - return true; - } - if (this.contentType === "text/xml") { - this[$content] = child; - return true; - } - return false; - } - [$toHTML](availableSpace) { - if (this.contentType !== "text/html" || !this[$content]) { - return HTMLResult.EMPTY; - } - return this[$content][$toHTML](availableSpace); - } -} -class ExObject extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "exObject", true); - this.archive = attributes.archive || ""; - this.classId = attributes.classId || ""; - this.codeBase = attributes.codeBase || ""; - this.codeType = attributes.codeType || ""; - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.boolean = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.exObject = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.time = new XFAObjectArray(); - } -} -class ExclGroup extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "exclGroup", true); - this.access = getStringOption(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); - this.accessKey = attributes.accessKey || ""; - this.anchorType = getStringOption(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); - this.colSpan = getInteger({ - data: attributes.colSpan, - defaultValue: 1, - validate: n => n >= 1 || n === -1 - }); - this.h = attributes.h ? getMeasurement(attributes.h) : ""; - this.hAlign = getStringOption(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); - this.id = attributes.id || ""; - this.layout = getStringOption(attributes.layout, ["position", "lr-tb", "rl-row", "rl-tb", "row", "table", "tb"]); - this.maxH = getMeasurement(attributes.maxH, "0pt"); - this.maxW = getMeasurement(attributes.maxW, "0pt"); - this.minH = getMeasurement(attributes.minH, "0pt"); - this.minW = getMeasurement(attributes.minW, "0pt"); - this.name = attributes.name || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.w = attributes.w ? getMeasurement(attributes.w) : ""; - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.assist = null; - this.bind = null; - this.border = null; - this.calculate = null; - this.caption = null; - this.desc = null; - this.extras = null; - this.margin = null; - this.para = null; - this.traversal = null; - this.validate = null; - this.connect = new XFAObjectArray(); - this.event = new XFAObjectArray(); - this.field = new XFAObjectArray(); - this.setProperty = new XFAObjectArray(); - } - [$isBindable]() { - return true; - } - [$hasSettableValue]() { - return true; - } - [$setValue](value) { - for (const field of this.field.children) { - if (!field.value) { - const nodeValue = new Value({}); - field[$appendChild](nodeValue); - field.value = nodeValue; - } - field.value[$setValue](value); - } - } - [$isThereMoreWidth]() { - return this.layout.endsWith("-tb") && this[$extra].attempt === 0 && this[$extra].numberInLine > 0 || this[$getParent]()[$isThereMoreWidth](); - } - [$isSplittable]() { - const parent = this[$getSubformParent](); - if (!parent[$isSplittable]()) { - return false; - } - if (this[$extra]._isSplittable !== undefined) { - return this[$extra]._isSplittable; - } - if (this.layout === "position" || this.layout.includes("row")) { - this[$extra]._isSplittable = false; - return false; - } - if (parent.layout?.endsWith("-tb") && parent[$extra].numberInLine !== 0) { - return false; - } - this[$extra]._isSplittable = true; - return true; - } - [$flushHTML]() { - return flushHTML(this); - } - [$addHTML](html, bbox) { - addHTML(this, html, bbox); - } - [$getAvailableSpace]() { - return getAvailableSpace(this); - } - [$toHTML](availableSpace) { - setTabIndex(this); - if (this.presence === "hidden" || this.presence === "inactive" || this.h === 0 || this.w === 0) { - return HTMLResult.EMPTY; - } - fixDimensions(this); - const children = []; - const attributes = { - id: this[$uid], - class: [] - }; - setAccess(this, attributes.class); - if (!this[$extra]) { - this[$extra] = Object.create(null); - } - Object.assign(this[$extra], { - children, - attributes, - attempt: 0, - line: null, - numberInLine: 0, - availableSpace: { - width: Math.min(this.w || Infinity, availableSpace.width), - height: Math.min(this.h || Infinity, availableSpace.height) - }, - width: 0, - height: 0, - prevHeight: 0, - currentWidth: 0 - }); - const isSplittable = this[$isSplittable](); - if (!isSplittable) { - setFirstUnsplittable(this); - } - if (!checkDimensions(this, availableSpace)) { - return HTMLResult.FAILURE; - } - const filter = new Set(["field"]); - if (this.layout.includes("row")) { - const columnWidths = this[$getSubformParent]().columnWidths; - if (Array.isArray(columnWidths) && columnWidths.length > 0) { - this[$extra].columnWidths = columnWidths; - this[$extra].currentColumn = 0; - } - } - const style = toStyle(this, "anchorType", "dimensions", "position", "presence", "border", "margin", "hAlign"); - const classNames = ["xfaExclgroup"]; - const cl = layoutClass(this); - if (cl) { - classNames.push(cl); - } - if (isPrintOnly(this)) { - classNames.push("xfaPrintOnly"); - } - attributes.style = style; - attributes.class = classNames; - if (this.name) { - attributes.xfaName = this.name; - } - this[$pushPara](); - const isLrTb = this.layout === "lr-tb" || this.layout === "rl-tb"; - const maxRun = isLrTb ? MAX_ATTEMPTS_FOR_LRTB_LAYOUT : 1; - for (; this[$extra].attempt < maxRun; this[$extra].attempt++) { - if (isLrTb && this[$extra].attempt === MAX_ATTEMPTS_FOR_LRTB_LAYOUT - 1) { - this[$extra].numberInLine = 0; - } - const result = this[$childrenToHTML]({ - filter, - include: true - }); - if (result.success) { - break; - } - if (result.isBreak()) { - this[$popPara](); - return result; - } - if (isLrTb && this[$extra].attempt === 0 && this[$extra].numberInLine === 0 && !this[$getTemplateRoot]()[$extra].noLayoutFailure) { - this[$extra].attempt = maxRun; - break; - } - } - this[$popPara](); - if (!isSplittable) { - unsetFirstUnsplittable(this); - } - if (this[$extra].attempt === maxRun) { - if (!isSplittable) { - delete this[$extra]; - } - return HTMLResult.FAILURE; - } - let marginH = 0; - let marginV = 0; - if (this.margin) { - marginH = this.margin.leftInset + this.margin.rightInset; - marginV = this.margin.topInset + this.margin.bottomInset; - } - const width = Math.max(this[$extra].width + marginH, this.w || 0); - const height = Math.max(this[$extra].height + marginV, this.h || 0); - const bbox = [this.x, this.y, width, height]; - if (this.w === "") { - style.width = measureToString(width); - } - if (this.h === "") { - style.height = measureToString(height); - } - const html = { - name: "div", - attributes, - children - }; - applyAssist(this, attributes); - delete this[$extra]; - return HTMLResult.success(createWrapper(this, html), bbox); - } -} -class Execute extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "execute"); - this.connection = attributes.connection || ""; - this.executeType = getStringOption(attributes.executeType, ["import", "remerge"]); - this.id = attributes.id || ""; - this.runAt = getStringOption(attributes.runAt, ["client", "both", "server"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Extras extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "extras", true); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.boolean = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.extras = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.time = new XFAObjectArray(); - } -} -class Field extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "field", true); - this.access = getStringOption(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); - this.accessKey = attributes.accessKey || ""; - this.anchorType = getStringOption(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); - this.colSpan = getInteger({ - data: attributes.colSpan, - defaultValue: 1, - validate: n => n >= 1 || n === -1 - }); - this.h = attributes.h ? getMeasurement(attributes.h) : ""; - this.hAlign = getStringOption(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); - this.id = attributes.id || ""; - this.locale = attributes.locale || ""; - this.maxH = getMeasurement(attributes.maxH, "0pt"); - this.maxW = getMeasurement(attributes.maxW, "0pt"); - this.minH = getMeasurement(attributes.minH, "0pt"); - this.minW = getMeasurement(attributes.minW, "0pt"); - this.name = attributes.name || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.relevant = getRelevant(attributes.relevant); - this.rotate = getInteger({ - data: attributes.rotate, - defaultValue: 0, - validate: x => x % 90 === 0 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.w = attributes.w ? getMeasurement(attributes.w) : ""; - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.assist = null; - this.bind = null; - this.border = null; - this.calculate = null; - this.caption = null; - this.desc = null; - this.extras = null; - this.font = null; - this.format = null; - this.items = new XFAObjectArray(2); - this.keep = null; - this.margin = null; - this.para = null; - this.traversal = null; - this.ui = null; - this.validate = null; - this.value = null; - this.bindItems = new XFAObjectArray(); - this.connect = new XFAObjectArray(); - this.event = new XFAObjectArray(); - this.setProperty = new XFAObjectArray(); - } - [$isBindable]() { - return true; - } - [$setValue](value) { - _setValue(this, value); - } - [$toHTML](availableSpace) { - setTabIndex(this); - if (!this.ui) { - this.ui = new Ui({}); - this.ui[$globalData] = this[$globalData]; - this[$appendChild](this.ui); - let node; - switch (this.items.children.length) { - case 0: - node = new TextEdit({}); - this.ui.textEdit = node; - break; - case 1: - node = new CheckButton({}); - this.ui.checkButton = node; - break; - case 2: - node = new ChoiceList({}); - this.ui.choiceList = node; - break; - } - this.ui[$appendChild](node); - } - if (!this.ui || this.presence === "hidden" || this.presence === "inactive" || this.h === 0 || this.w === 0) { - return HTMLResult.EMPTY; - } - if (this.caption) { - delete this.caption[$extra]; - } - this[$pushPara](); - const caption = this.caption ? this.caption[$toHTML](availableSpace).html : null; - const savedW = this.w; - const savedH = this.h; - let marginH = 0; - let marginV = 0; - if (this.margin) { - marginH = this.margin.leftInset + this.margin.rightInset; - marginV = this.margin.topInset + this.margin.bottomInset; - } - let borderDims = null; - if (this.w === "" || this.h === "") { - let width = null; - let height = null; - let uiW = 0; - let uiH = 0; - if (this.ui.checkButton) { - uiW = uiH = this.ui.checkButton.size; - } else { - const { - w, - h - } = layoutNode(this, availableSpace); - if (w !== null) { - uiW = w; - uiH = h; - } else { - uiH = fonts_getMetrics(this.font, true).lineNoGap; - } - } - borderDims = getBorderDims(this.ui[$getExtra]()); - uiW += borderDims.w; - uiH += borderDims.h; - if (this.caption) { - const { - w, - h, - isBroken - } = this.caption[$getExtra](availableSpace); - if (isBroken && this[$getSubformParent]()[$isThereMoreWidth]()) { - this[$popPara](); - return HTMLResult.FAILURE; - } - width = w; - height = h; - switch (this.caption.placement) { - case "left": - case "right": - case "inline": - width += uiW; - break; - case "top": - case "bottom": - height += uiH; - break; - } - } else { - width = uiW; - height = uiH; - } - if (width && this.w === "") { - width += marginH; - this.w = Math.min(this.maxW <= 0 ? Infinity : this.maxW, this.minW + 1 < width ? width : this.minW); - } - if (height && this.h === "") { - height += marginV; - this.h = Math.min(this.maxH <= 0 ? Infinity : this.maxH, this.minH + 1 < height ? height : this.minH); - } - } - this[$popPara](); - fixDimensions(this); - setFirstUnsplittable(this); - if (!checkDimensions(this, availableSpace)) { - this.w = savedW; - this.h = savedH; - this[$popPara](); - return HTMLResult.FAILURE; - } - unsetFirstUnsplittable(this); - const style = toStyle(this, "font", "dimensions", "position", "rotate", "anchorType", "presence", "margin", "hAlign"); - setMinMaxDimensions(this, style); - const classNames = ["xfaField"]; - if (this.font) { - classNames.push("xfaFont"); - } - if (isPrintOnly(this)) { - classNames.push("xfaPrintOnly"); - } - const attributes = { - style, - id: this[$uid], - class: classNames - }; - if (style.margin) { - style.padding = style.margin; - delete style.margin; - } - setAccess(this, classNames); - if (this.name) { - attributes.xfaName = this.name; - } - const children = []; - const html = { - name: "div", - attributes, - children - }; - applyAssist(this, attributes); - const borderStyle = this.border ? this.border[$toStyle]() : null; - const bbox = computeBbox(this, html, availableSpace); - const ui = this.ui[$toHTML]().html; - if (!ui) { - Object.assign(style, borderStyle); - return HTMLResult.success(createWrapper(this, html), bbox); - } - if (this[$tabIndex]) { - if (ui.children?.[0]) { - ui.children[0].attributes.tabindex = this[$tabIndex]; - } else { - ui.attributes.tabindex = this[$tabIndex]; - } - } - if (!ui.attributes.style) { - ui.attributes.style = Object.create(null); - } - let aElement = null; - if (this.ui.button) { - if (ui.children.length === 1) { - [aElement] = ui.children.splice(0, 1); - } - Object.assign(ui.attributes.style, borderStyle); - } else { - Object.assign(style, borderStyle); - } - children.push(ui); - if (this.value) { - if (this.ui.imageEdit) { - ui.children.push(this.value[$toHTML]().html); - } else if (!this.ui.button) { - let value = ""; - if (this.value.exData) { - value = this.value.exData[$text](); - } else if (this.value.text) { - value = this.value.text[$getExtra](); - } else { - const htmlValue = this.value[$toHTML]().html; - if (htmlValue !== null) { - value = htmlValue.children[0].value; - } - } - if (this.ui.textEdit && this.value.text?.maxChars) { - ui.children[0].attributes.maxLength = this.value.text.maxChars; - } - if (value) { - if (this.ui.numericEdit) { - value = parseFloat(value); - value = isNaN(value) ? "" : value.toString(); - } - if (ui.children[0].name === "textarea") { - ui.children[0].attributes.textContent = value; - } else { - ui.children[0].attributes.value = value; - } - } - } - } - if (!this.ui.imageEdit && ui.children?.[0] && this.h) { - borderDims = borderDims || getBorderDims(this.ui[$getExtra]()); - let captionHeight = 0; - if (this.caption && ["top", "bottom"].includes(this.caption.placement)) { - captionHeight = this.caption.reserve; - if (captionHeight <= 0) { - captionHeight = this.caption[$getExtra](availableSpace).h; - } - const inputHeight = this.h - captionHeight - marginV - borderDims.h; - ui.children[0].attributes.style.height = measureToString(inputHeight); - } else { - ui.children[0].attributes.style.height = "100%"; - } - } - if (aElement) { - ui.children.push(aElement); - } - if (!caption) { - if (ui.attributes.class) { - ui.attributes.class.push("xfaLeft"); - } - this.w = savedW; - this.h = savedH; - return HTMLResult.success(createWrapper(this, html), bbox); - } - if (this.ui.button) { - if (style.padding) { - delete style.padding; - } - if (caption.name === "div") { - caption.name = "span"; - } - ui.children.push(caption); - return HTMLResult.success(html, bbox); - } else if (this.ui.checkButton) { - caption.attributes.class[0] = "xfaCaptionForCheckButton"; - } - if (!ui.attributes.class) { - ui.attributes.class = []; - } - ui.children.splice(0, 0, caption); - switch (this.caption.placement) { - case "left": - ui.attributes.class.push("xfaLeft"); - break; - case "right": - ui.attributes.class.push("xfaRight"); - break; - case "top": - ui.attributes.class.push("xfaTop"); - break; - case "bottom": - ui.attributes.class.push("xfaBottom"); - break; - case "inline": - ui.attributes.class.push("xfaLeft"); - break; - } - this.w = savedW; - this.h = savedH; - return HTMLResult.success(createWrapper(this, html), bbox); - } -} -class Fill extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "fill", true); - this.id = attributes.id || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - this.linear = null; - this.pattern = null; - this.radial = null; - this.solid = null; - this.stipple = null; - } - [$toStyle]() { - const parent = this[$getParent](); - const grandpa = parent[$getParent](); - const ggrandpa = grandpa[$getParent](); - const style = Object.create(null); - let propName = "color"; - let altPropName = propName; - if (parent instanceof Border) { - propName = "background-color"; - altPropName = "background"; - if (ggrandpa instanceof Ui) { - style.backgroundColor = "white"; - } - } - if (parent instanceof Rectangle || parent instanceof Arc) { - propName = altPropName = "fill"; - style.fill = "white"; - } - for (const name of Object.getOwnPropertyNames(this)) { - if (name === "extras" || name === "color") { - continue; - } - const obj = this[name]; - if (!(obj instanceof XFAObject)) { - continue; - } - const color = obj[$toStyle](this.color); - if (color) { - style[color.startsWith("#") ? propName : altPropName] = color; - } - return style; - } - if (this.color?.value) { - const color = this.color[$toStyle](); - style[color.startsWith("#") ? propName : altPropName] = color; - } - return style; - } -} -class Filter extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "filter", true); - this.addRevocationInfo = getStringOption(attributes.addRevocationInfo, ["", "required", "optional", "none"]); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.version = getInteger({ - data: this.version, - defaultValue: 5, - validate: x => x >= 1 && x <= 5 - }); - this.appearanceFilter = null; - this.certificates = null; - this.digestMethods = null; - this.encodings = null; - this.encryptionMethods = null; - this.handler = null; - this.lockDocument = null; - this.mdp = null; - this.reasons = null; - this.timeStamp = null; - } -} -class Float extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "float"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const number = parseFloat(this[$content].trim()); - this[$content] = isNaN(number) ? null : number; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] !== null ? this[$content].toString() : ""); - } -} -class template_Font extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "font", true); - this.baselineShift = getMeasurement(attributes.baselineShift); - this.fontHorizontalScale = getFloat({ - data: attributes.fontHorizontalScale, - defaultValue: 100, - validate: x => x >= 0 - }); - this.fontVerticalScale = getFloat({ - data: attributes.fontVerticalScale, - defaultValue: 100, - validate: x => x >= 0 - }); - this.id = attributes.id || ""; - this.kerningMode = getStringOption(attributes.kerningMode, ["none", "pair"]); - this.letterSpacing = getMeasurement(attributes.letterSpacing, "0"); - this.lineThrough = getInteger({ - data: attributes.lineThrough, - defaultValue: 0, - validate: x => x === 1 || x === 2 - }); - this.lineThroughPeriod = getStringOption(attributes.lineThroughPeriod, ["all", "word"]); - this.overline = getInteger({ - data: attributes.overline, - defaultValue: 0, - validate: x => x === 1 || x === 2 - }); - this.overlinePeriod = getStringOption(attributes.overlinePeriod, ["all", "word"]); - this.posture = getStringOption(attributes.posture, ["normal", "italic"]); - this.size = getMeasurement(attributes.size, "10pt"); - this.typeface = attributes.typeface || "Courier"; - this.underline = getInteger({ - data: attributes.underline, - defaultValue: 0, - validate: x => x === 1 || x === 2 - }); - this.underlinePeriod = getStringOption(attributes.underlinePeriod, ["all", "word"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.weight = getStringOption(attributes.weight, ["normal", "bold"]); - this.extras = null; - this.fill = null; - } - [$clean](builder) { - super[$clean](builder); - this[$globalData].usedTypefaces.add(this.typeface); - } - [$toStyle]() { - const style = toStyle(this, "fill"); - const color = style.color; - if (color) { - if (color === "#000000") { - delete style.color; - } else if (!color.startsWith("#")) { - style.background = color; - style.backgroundClip = "text"; - style.color = "transparent"; - } - } - if (this.baselineShift) { - style.verticalAlign = measureToString(this.baselineShift); - } - style.fontKerning = this.kerningMode === "none" ? "none" : "normal"; - style.letterSpacing = measureToString(this.letterSpacing); - if (this.lineThrough !== 0) { - style.textDecoration = "line-through"; - if (this.lineThrough === 2) { - style.textDecorationStyle = "double"; - } - } - if (this.overline !== 0) { - style.textDecoration = "overline"; - if (this.overline === 2) { - style.textDecorationStyle = "double"; - } - } - style.fontStyle = this.posture; - style.fontSize = measureToString(0.99 * this.size); - setFontFamily(this, this, this[$globalData].fontFinder, style); - if (this.underline !== 0) { - style.textDecoration = "underline"; - if (this.underline === 2) { - style.textDecorationStyle = "double"; - } - } - style.fontWeight = this.weight; - return style; - } -} -class Format extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "format", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.picture = null; - } -} -class Handler extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "handler"); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Hyphenation extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "hyphenation"); - this.excludeAllCaps = getInteger({ - data: attributes.excludeAllCaps, - defaultValue: 0, - validate: x => x === 1 - }); - this.excludeInitialCap = getInteger({ - data: attributes.excludeInitialCap, - defaultValue: 0, - validate: x => x === 1 - }); - this.hyphenate = getInteger({ - data: attributes.hyphenate, - defaultValue: 0, - validate: x => x === 1 - }); - this.id = attributes.id || ""; - this.pushCharacterCount = getInteger({ - data: attributes.pushCharacterCount, - defaultValue: 3, - validate: x => x >= 0 - }); - this.remainCharacterCount = getInteger({ - data: attributes.remainCharacterCount, - defaultValue: 3, - validate: x => x >= 0 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.wordCharacterCount = getInteger({ - data: attributes.wordCharacterCount, - defaultValue: 7, - validate: x => x >= 0 - }); - } -} -class Image extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "image"); - this.aspect = getStringOption(attributes.aspect, ["fit", "actual", "height", "none", "width"]); - this.contentType = attributes.contentType || ""; - this.href = attributes.href || ""; - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.transferEncoding = getStringOption(attributes.transferEncoding, ["base64", "none", "package"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$toHTML]() { - if (this.contentType && !MIMES.has(this.contentType.toLowerCase())) { - return HTMLResult.EMPTY; - } - let buffer = this[$globalData].images && this[$globalData].images.get(this.href); - if (!buffer && (this.href || !this[$content])) { - return HTMLResult.EMPTY; - } - if (!buffer && this.transferEncoding === "base64") { - buffer = stringToBytes(atob(this[$content])); - } - if (!buffer) { - return HTMLResult.EMPTY; - } - if (!this.contentType) { - for (const [header, type] of IMAGES_HEADERS) { - if (buffer.length > header.length && header.every((x, i) => x === buffer[i])) { - this.contentType = type; - break; - } - } - if (!this.contentType) { - return HTMLResult.EMPTY; - } - } - const blob = new Blob([buffer], { - type: this.contentType - }); - let style; - switch (this.aspect) { - case "fit": - case "actual": - break; - case "height": - style = { - height: "100%", - objectFit: "fill" - }; - break; - case "none": - style = { - width: "100%", - height: "100%", - objectFit: "fill" - }; - break; - case "width": - style = { - width: "100%", - objectFit: "fill" - }; - break; - } - const parent = this[$getParent](); - return HTMLResult.success({ - name: "img", - attributes: { - class: ["xfaImage"], - style, - src: URL.createObjectURL(blob), - alt: parent ? ariaLabel(parent[$getParent]()) : null - } - }); - } -} -class ImageEdit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "imageEdit", true); - this.data = getStringOption(attributes.data, ["link", "embed"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - if (this.data === "embed") { - return HTMLResult.success({ - name: "div", - children: [], - attributes: {} - }); - } - return HTMLResult.EMPTY; - } -} -class Integer extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "integer"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const number = parseInt(this[$content].trim(), 10); - this[$content] = isNaN(number) ? null : number; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] !== null ? this[$content].toString() : ""); - } -} -class Issuers extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "issuers", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.certificate = new XFAObjectArray(); - } -} -class Items extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "items", true); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.ref = attributes.ref || ""; - this.save = getInteger({ - data: attributes.save, - defaultValue: 0, - validate: x => x === 1 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.boolean = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.time = new XFAObjectArray(); - } - [$toHTML]() { - const output = []; - for (const child of this[$getChildren]()) { - output.push(child[$text]()); - } - return HTMLResult.success(output); - } -} -class Keep extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "keep", true); - this.id = attributes.id || ""; - const options = ["none", "contentArea", "pageArea"]; - this.intact = getStringOption(attributes.intact, options); - this.next = getStringOption(attributes.next, options); - this.previous = getStringOption(attributes.previous, options); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } -} -class KeyUsage extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "keyUsage"); - const options = ["", "yes", "no"]; - this.crlSign = getStringOption(attributes.crlSign, options); - this.dataEncipherment = getStringOption(attributes.dataEncipherment, options); - this.decipherOnly = getStringOption(attributes.decipherOnly, options); - this.digitalSignature = getStringOption(attributes.digitalSignature, options); - this.encipherOnly = getStringOption(attributes.encipherOnly, options); - this.id = attributes.id || ""; - this.keyAgreement = getStringOption(attributes.keyAgreement, options); - this.keyCertSign = getStringOption(attributes.keyCertSign, options); - this.keyEncipherment = getStringOption(attributes.keyEncipherment, options); - this.nonRepudiation = getStringOption(attributes.nonRepudiation, options); - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Line extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "line", true); - this.hand = getStringOption(attributes.hand, ["even", "left", "right"]); - this.id = attributes.id || ""; - this.slope = getStringOption(attributes.slope, ["\\", "/"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.edge = null; - } - [$toHTML]() { - const parent = this[$getParent]()[$getParent](); - const edge = this.edge || new Edge({}); - const edgeStyle = edge[$toStyle](); - const style = Object.create(null); - const thickness = edge.presence === "visible" ? edge.thickness : 0; - style.strokeWidth = measureToString(thickness); - style.stroke = edgeStyle.color; - let x1, y1, x2, y2; - let width = "100%"; - let height = "100%"; - if (parent.w <= thickness) { - [x1, y1, x2, y2] = ["50%", 0, "50%", "100%"]; - width = style.strokeWidth; - } else if (parent.h <= thickness) { - [x1, y1, x2, y2] = [0, "50%", "100%", "50%"]; - height = style.strokeWidth; - } else if (this.slope === "\\") { - [x1, y1, x2, y2] = [0, 0, "100%", "100%"]; - } else { - [x1, y1, x2, y2] = [0, "100%", "100%", 0]; - } - const line = { - name: "line", - attributes: { - xmlns: SVG_NS, - x1, - y1, - x2, - y2, - style - } - }; - const svg = { - name: "svg", - children: [line], - attributes: { - xmlns: SVG_NS, - width, - height, - style: { - overflow: "visible" - } - } - }; - if (hasMargin(parent)) { - return HTMLResult.success({ - name: "div", - attributes: { - style: { - display: "inline", - width: "100%", - height: "100%" - } - }, - children: [svg] - }); - } - svg.attributes.style.position = "absolute"; - return HTMLResult.success(svg); - } -} -class Linear extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "linear", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["toRight", "toBottom", "toLeft", "toTop"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle](startColor) { - startColor = startColor ? startColor[$toStyle]() : "#FFFFFF"; - const transf = this.type.replace(/([RBLT])/, " $1").toLowerCase(); - const endColor = this.color ? this.color[$toStyle]() : "#000000"; - return `linear-gradient(${transf}, ${startColor}, ${endColor})`; - } -} -class LockDocument extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "lockDocument"); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - this[$content] = getStringOption(this[$content], ["auto", "0", "1"]); - } -} -class Manifest extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "manifest", true); - this.action = getStringOption(attributes.action, ["include", "all", "exclude"]); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.ref = new XFAObjectArray(); - } -} -class Margin extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "margin", true); - this.bottomInset = getMeasurement(attributes.bottomInset, "0"); - this.id = attributes.id || ""; - this.leftInset = getMeasurement(attributes.leftInset, "0"); - this.rightInset = getMeasurement(attributes.rightInset, "0"); - this.topInset = getMeasurement(attributes.topInset, "0"); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } - [$toStyle]() { - return { - margin: measureToString(this.topInset) + " " + measureToString(this.rightInset) + " " + measureToString(this.bottomInset) + " " + measureToString(this.leftInset) - }; - } -} -class Mdp extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "mdp"); - this.id = attributes.id || ""; - this.permissions = getInteger({ - data: attributes.permissions, - defaultValue: 2, - validate: x => x === 1 || x === 3 - }); - this.signatureType = getStringOption(attributes.signatureType, ["filler", "author"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Medium extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "medium"); - this.id = attributes.id || ""; - this.imagingBBox = getBBox(attributes.imagingBBox); - this.long = getMeasurement(attributes.long); - this.orientation = getStringOption(attributes.orientation, ["portrait", "landscape"]); - this.short = getMeasurement(attributes.short); - this.stock = attributes.stock || ""; - this.trayIn = getStringOption(attributes.trayIn, ["auto", "delegate", "pageFront"]); - this.trayOut = getStringOption(attributes.trayOut, ["auto", "delegate"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Message extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "message", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.text = new XFAObjectArray(); - } -} -class NumericEdit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "numericEdit", true); - this.hScrollPolicy = getStringOption(attributes.hScrollPolicy, ["auto", "off", "on"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.comb = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - const style = toStyle(this, "border", "font", "margin"); - const field = this[$getParent]()[$getParent](); - const html = { - name: "input", - attributes: { - type: "text", - fieldId: field[$uid], - dataId: field[$data]?.[$uid] || field[$uid], - class: ["xfaTextfield"], - style, - "aria-label": ariaLabel(field), - "aria-required": false - } - }; - if (isRequired(field)) { - html.attributes["aria-required"] = true; - html.attributes.required = true; - } - return HTMLResult.success({ - name: "label", - attributes: { - class: ["xfaLabel"] - }, - children: [html] - }); - } -} -class Occur extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "occur", true); - this.id = attributes.id || ""; - this.initial = attributes.initial !== "" ? getInteger({ - data: attributes.initial, - defaultValue: "", - validate: x => true - }) : ""; - this.max = attributes.max !== "" ? getInteger({ - data: attributes.max, - defaultValue: 1, - validate: x => true - }) : ""; - this.min = attributes.min !== "" ? getInteger({ - data: attributes.min, - defaultValue: 1, - validate: x => true - }) : ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } - [$clean]() { - const parent = this[$getParent](); - const originalMin = this.min; - if (this.min === "") { - this.min = parent instanceof PageArea || parent instanceof PageSet ? 0 : 1; - } - if (this.max === "") { - if (originalMin === "") { - this.max = parent instanceof PageArea || parent instanceof PageSet ? -1 : 1; - } else { - this.max = this.min; - } - } - if (this.max !== -1 && this.max < this.min) { - this.max = this.min; - } - if (this.initial === "") { - this.initial = parent instanceof Template ? 1 : this.min; - } - } -} -class Oid extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "oid"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Oids extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "oids", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.oid = new XFAObjectArray(); - } -} -class Overflow extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "overflow"); - this.id = attributes.id || ""; - this.leader = attributes.leader || ""; - this.target = attributes.target || ""; - this.trailer = attributes.trailer || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$getExtra]() { - if (!this[$extra]) { - const parent = this[$getParent](); - const root = this[$getTemplateRoot](); - const target = root[$searchNode](this.target, parent); - const leader = root[$searchNode](this.leader, parent); - const trailer = root[$searchNode](this.trailer, parent); - this[$extra] = { - target: target?.[0] || null, - leader: leader?.[0] || null, - trailer: trailer?.[0] || null, - addLeader: false, - addTrailer: false - }; - } - return this[$extra]; - } -} -class PageArea extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "pageArea", true); - this.blankOrNotBlank = getStringOption(attributes.blankOrNotBlank, ["any", "blank", "notBlank"]); - this.id = attributes.id || ""; - this.initialNumber = getInteger({ - data: attributes.initialNumber, - defaultValue: 1, - validate: x => true - }); - this.name = attributes.name || ""; - this.numbered = getInteger({ - data: attributes.numbered, - defaultValue: 1, - validate: x => true - }); - this.oddOrEven = getStringOption(attributes.oddOrEven, ["any", "even", "odd"]); - this.pagePosition = getStringOption(attributes.pagePosition, ["any", "first", "last", "only", "rest"]); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.desc = null; - this.extras = null; - this.medium = null; - this.occur = null; - this.area = new XFAObjectArray(); - this.contentArea = new XFAObjectArray(); - this.draw = new XFAObjectArray(); - this.exclGroup = new XFAObjectArray(); - this.field = new XFAObjectArray(); - this.subform = new XFAObjectArray(); - } - [$isUsable]() { - if (!this[$extra]) { - this[$extra] = { - numberOfUse: 0 - }; - return true; - } - return !this.occur || this.occur.max === -1 || this[$extra].numberOfUse < this.occur.max; - } - [$cleanPage]() { - delete this[$extra]; - } - [$getNextPage]() { - if (!this[$extra]) { - this[$extra] = { - numberOfUse: 0 - }; - } - const parent = this[$getParent](); - if (parent.relation === "orderedOccurrence") { - if (this[$isUsable]()) { - this[$extra].numberOfUse += 1; - return this; - } - } - return parent[$getNextPage](); - } - [$getAvailableSpace]() { - return this[$extra].space || { - width: 0, - height: 0 - }; - } - [$toHTML]() { - if (!this[$extra]) { - this[$extra] = { - numberOfUse: 1 - }; - } - const children = []; - this[$extra].children = children; - const style = Object.create(null); - if (this.medium && this.medium.short && this.medium.long) { - style.width = measureToString(this.medium.short); - style.height = measureToString(this.medium.long); - this[$extra].space = { - width: this.medium.short, - height: this.medium.long - }; - if (this.medium.orientation === "landscape") { - const x = style.width; - style.width = style.height; - style.height = x; - this[$extra].space = { - width: this.medium.long, - height: this.medium.short - }; - } - } else { - warn("XFA - No medium specified in pageArea: please file a bug."); - } - this[$childrenToHTML]({ - filter: new Set(["area", "draw", "field", "subform"]), - include: true - }); - this[$childrenToHTML]({ - filter: new Set(["contentArea"]), - include: true - }); - return HTMLResult.success({ - name: "div", - children, - attributes: { - class: ["xfaPage"], - id: this[$uid], - style, - xfaName: this.name - } - }); - } -} -class PageSet extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "pageSet", true); - this.duplexImposition = getStringOption(attributes.duplexImposition, ["longEdge", "shortEdge"]); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.relation = getStringOption(attributes.relation, ["orderedOccurrence", "duplexPaginated", "simplexPaginated"]); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.occur = null; - this.pageArea = new XFAObjectArray(); - this.pageSet = new XFAObjectArray(); - } - [$cleanPage]() { - for (const page of this.pageArea.children) { - page[$cleanPage](); - } - for (const page of this.pageSet.children) { - page[$cleanPage](); - } - } - [$isUsable]() { - return !this.occur || this.occur.max === -1 || this[$extra].numberOfUse < this.occur.max; - } - [$getNextPage]() { - if (!this[$extra]) { - this[$extra] = { - numberOfUse: 1, - pageIndex: -1, - pageSetIndex: -1 - }; - } - if (this.relation === "orderedOccurrence") { - if (this[$extra].pageIndex + 1 < this.pageArea.children.length) { - this[$extra].pageIndex += 1; - const pageArea = this.pageArea.children[this[$extra].pageIndex]; - return pageArea[$getNextPage](); - } - if (this[$extra].pageSetIndex + 1 < this.pageSet.children.length) { - this[$extra].pageSetIndex += 1; - return this.pageSet.children[this[$extra].pageSetIndex][$getNextPage](); - } - if (this[$isUsable]()) { - this[$extra].numberOfUse += 1; - this[$extra].pageIndex = -1; - this[$extra].pageSetIndex = -1; - return this[$getNextPage](); - } - const parent = this[$getParent](); - if (parent instanceof PageSet) { - return parent[$getNextPage](); - } - this[$cleanPage](); - return this[$getNextPage](); - } - const pageNumber = this[$getTemplateRoot]()[$extra].pageNumber; - const parity = pageNumber % 2 === 0 ? "even" : "odd"; - const position = pageNumber === 0 ? "first" : "rest"; - let page = this.pageArea.children.find(p => p.oddOrEven === parity && p.pagePosition === position); - if (page) { - return page; - } - page = this.pageArea.children.find(p => p.oddOrEven === "any" && p.pagePosition === position); - if (page) { - return page; - } - page = this.pageArea.children.find(p => p.oddOrEven === "any" && p.pagePosition === "any"); - if (page) { - return page; - } - return this.pageArea.children[0]; - } -} -class Para extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "para", true); - this.hAlign = getStringOption(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); - this.id = attributes.id || ""; - this.lineHeight = attributes.lineHeight ? getMeasurement(attributes.lineHeight, "0pt") : ""; - this.marginLeft = attributes.marginLeft ? getMeasurement(attributes.marginLeft, "0pt") : ""; - this.marginRight = attributes.marginRight ? getMeasurement(attributes.marginRight, "0pt") : ""; - this.orphans = getInteger({ - data: attributes.orphans, - defaultValue: 0, - validate: x => x >= 0 - }); - this.preserve = attributes.preserve || ""; - this.radixOffset = attributes.radixOffset ? getMeasurement(attributes.radixOffset, "0pt") : ""; - this.spaceAbove = attributes.spaceAbove ? getMeasurement(attributes.spaceAbove, "0pt") : ""; - this.spaceBelow = attributes.spaceBelow ? getMeasurement(attributes.spaceBelow, "0pt") : ""; - this.tabDefault = attributes.tabDefault ? getMeasurement(this.tabDefault) : ""; - this.tabStops = (attributes.tabStops || "").trim().split(/\s+/).map((x, i) => i % 2 === 1 ? getMeasurement(x) : x); - this.textIndent = attributes.textIndent ? getMeasurement(attributes.textIndent, "0pt") : ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.vAlign = getStringOption(attributes.vAlign, ["top", "bottom", "middle"]); - this.widows = getInteger({ - data: attributes.widows, - defaultValue: 0, - validate: x => x >= 0 - }); - this.hyphenation = null; - } - [$toStyle]() { - const style = toStyle(this, "hAlign"); - if (this.marginLeft !== "") { - style.paddingLeft = measureToString(this.marginLeft); - } - if (this.marginRight !== "") { - style.paddingight = measureToString(this.marginRight); - } - if (this.spaceAbove !== "") { - style.paddingTop = measureToString(this.spaceAbove); - } - if (this.spaceBelow !== "") { - style.paddingBottom = measureToString(this.spaceBelow); - } - if (this.textIndent !== "") { - style.textIndent = measureToString(this.textIndent); - fixTextIndent(style); - } - if (this.lineHeight > 0) { - style.lineHeight = measureToString(this.lineHeight); - } - if (this.tabDefault !== "") { - style.tabSize = measureToString(this.tabDefault); - } - if (this.tabStops.length > 0) {} - if (this.hyphenatation) { - Object.assign(style, this.hyphenatation[$toStyle]()); - } - return style; - } -} -class PasswordEdit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "passwordEdit", true); - this.hScrollPolicy = getStringOption(attributes.hScrollPolicy, ["auto", "off", "on"]); - this.id = attributes.id || ""; - this.passwordChar = attributes.passwordChar || "*"; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.extras = null; - this.margin = null; - } -} -class template_Pattern extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "pattern", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["crossHatch", "crossDiagonal", "diagonalLeft", "diagonalRight", "horizontal", "vertical"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle](startColor) { - startColor = startColor ? startColor[$toStyle]() : "#FFFFFF"; - const endColor = this.color ? this.color[$toStyle]() : "#000000"; - const width = 5; - const cmd = "repeating-linear-gradient"; - const colors = `${startColor},${startColor} ${width}px,${endColor} ${width}px,${endColor} ${2 * width}px`; - switch (this.type) { - case "crossHatch": - return `${cmd}(to top,${colors}) ${cmd}(to right,${colors})`; - case "crossDiagonal": - return `${cmd}(45deg,${colors}) ${cmd}(-45deg,${colors})`; - case "diagonalLeft": - return `${cmd}(45deg,${colors})`; - case "diagonalRight": - return `${cmd}(-45deg,${colors})`; - case "horizontal": - return `${cmd}(to top,${colors})`; - case "vertical": - return `${cmd}(to right,${colors})`; - } - return ""; - } -} -class Picture extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "picture"); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Proto extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "proto", true); - this.appearanceFilter = new XFAObjectArray(); - this.arc = new XFAObjectArray(); - this.area = new XFAObjectArray(); - this.assist = new XFAObjectArray(); - this.barcode = new XFAObjectArray(); - this.bindItems = new XFAObjectArray(); - this.bookend = new XFAObjectArray(); - this.boolean = new XFAObjectArray(); - this.border = new XFAObjectArray(); - this.break = new XFAObjectArray(); - this.breakAfter = new XFAObjectArray(); - this.breakBefore = new XFAObjectArray(); - this.button = new XFAObjectArray(); - this.calculate = new XFAObjectArray(); - this.caption = new XFAObjectArray(); - this.certificate = new XFAObjectArray(); - this.certificates = new XFAObjectArray(); - this.checkButton = new XFAObjectArray(); - this.choiceList = new XFAObjectArray(); - this.color = new XFAObjectArray(); - this.comb = new XFAObjectArray(); - this.connect = new XFAObjectArray(); - this.contentArea = new XFAObjectArray(); - this.corner = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.dateTimeEdit = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.defaultUi = new XFAObjectArray(); - this.desc = new XFAObjectArray(); - this.digestMethod = new XFAObjectArray(); - this.digestMethods = new XFAObjectArray(); - this.draw = new XFAObjectArray(); - this.edge = new XFAObjectArray(); - this.encoding = new XFAObjectArray(); - this.encodings = new XFAObjectArray(); - this.encrypt = new XFAObjectArray(); - this.encryptData = new XFAObjectArray(); - this.encryption = new XFAObjectArray(); - this.encryptionMethod = new XFAObjectArray(); - this.encryptionMethods = new XFAObjectArray(); - this.event = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.exObject = new XFAObjectArray(); - this.exclGroup = new XFAObjectArray(); - this.execute = new XFAObjectArray(); - this.extras = new XFAObjectArray(); - this.field = new XFAObjectArray(); - this.fill = new XFAObjectArray(); - this.filter = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.font = new XFAObjectArray(); - this.format = new XFAObjectArray(); - this.handler = new XFAObjectArray(); - this.hyphenation = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.imageEdit = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.issuers = new XFAObjectArray(); - this.items = new XFAObjectArray(); - this.keep = new XFAObjectArray(); - this.keyUsage = new XFAObjectArray(); - this.line = new XFAObjectArray(); - this.linear = new XFAObjectArray(); - this.lockDocument = new XFAObjectArray(); - this.manifest = new XFAObjectArray(); - this.margin = new XFAObjectArray(); - this.mdp = new XFAObjectArray(); - this.medium = new XFAObjectArray(); - this.message = new XFAObjectArray(); - this.numericEdit = new XFAObjectArray(); - this.occur = new XFAObjectArray(); - this.oid = new XFAObjectArray(); - this.oids = new XFAObjectArray(); - this.overflow = new XFAObjectArray(); - this.pageArea = new XFAObjectArray(); - this.pageSet = new XFAObjectArray(); - this.para = new XFAObjectArray(); - this.passwordEdit = new XFAObjectArray(); - this.pattern = new XFAObjectArray(); - this.picture = new XFAObjectArray(); - this.radial = new XFAObjectArray(); - this.reason = new XFAObjectArray(); - this.reasons = new XFAObjectArray(); - this.rectangle = new XFAObjectArray(); - this.ref = new XFAObjectArray(); - this.script = new XFAObjectArray(); - this.setProperty = new XFAObjectArray(); - this.signData = new XFAObjectArray(); - this.signature = new XFAObjectArray(); - this.signing = new XFAObjectArray(); - this.solid = new XFAObjectArray(); - this.speak = new XFAObjectArray(); - this.stipple = new XFAObjectArray(); - this.subform = new XFAObjectArray(); - this.subformSet = new XFAObjectArray(); - this.subjectDN = new XFAObjectArray(); - this.subjectDNs = new XFAObjectArray(); - this.submit = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.textEdit = new XFAObjectArray(); - this.time = new XFAObjectArray(); - this.timeStamp = new XFAObjectArray(); - this.toolTip = new XFAObjectArray(); - this.traversal = new XFAObjectArray(); - this.traverse = new XFAObjectArray(); - this.ui = new XFAObjectArray(); - this.validate = new XFAObjectArray(); - this.value = new XFAObjectArray(); - this.variables = new XFAObjectArray(); - } -} -class Radial extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "radial", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["toEdge", "toCenter"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle](startColor) { - startColor = startColor ? startColor[$toStyle]() : "#FFFFFF"; - const endColor = this.color ? this.color[$toStyle]() : "#000000"; - const colors = this.type === "toEdge" ? `${startColor},${endColor}` : `${endColor},${startColor}`; - return `radial-gradient(circle at center, ${colors})`; - } -} -class Reason extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "reason"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Reasons extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "reasons", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.reason = new XFAObjectArray(); - } -} -class Rectangle extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "rectangle", true); - this.hand = getStringOption(attributes.hand, ["even", "left", "right"]); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.corner = new XFAObjectArray(4); - this.edge = new XFAObjectArray(4); - this.fill = null; - } - [$toHTML]() { - const edge = this.edge.children.length ? this.edge.children[0] : new Edge({}); - const edgeStyle = edge[$toStyle](); - const style = Object.create(null); - if (this.fill?.presence === "visible") { - Object.assign(style, this.fill[$toStyle]()); - } else { - style.fill = "transparent"; - } - style.strokeWidth = measureToString(edge.presence === "visible" ? edge.thickness : 0); - style.stroke = edgeStyle.color; - const corner = this.corner.children.length ? this.corner.children[0] : new Corner({}); - const cornerStyle = corner[$toStyle](); - const rect = { - name: "rect", - attributes: { - xmlns: SVG_NS, - width: "100%", - height: "100%", - x: 0, - y: 0, - rx: cornerStyle.radius, - ry: cornerStyle.radius, - style - } - }; - const svg = { - name: "svg", - children: [rect], - attributes: { - xmlns: SVG_NS, - style: { - overflow: "visible" - }, - width: "100%", - height: "100%" - } - }; - const parent = this[$getParent]()[$getParent](); - if (hasMargin(parent)) { - return HTMLResult.success({ - name: "div", - attributes: { - style: { - display: "inline", - width: "100%", - height: "100%" - } - }, - children: [svg] - }); - } - svg.attributes.style.position = "absolute"; - return HTMLResult.success(svg); - } -} -class RefElement extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "ref"); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Script extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "script"); - this.binding = attributes.binding || ""; - this.contentType = attributes.contentType || ""; - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.runAt = getStringOption(attributes.runAt, ["client", "both", "server"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class SetProperty extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "setProperty"); - this.connection = attributes.connection || ""; - this.ref = attributes.ref || ""; - this.target = attributes.target || ""; - } -} -class SignData extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "signData", true); - this.id = attributes.id || ""; - this.operation = getStringOption(attributes.operation, ["sign", "clear", "verify"]); - this.ref = attributes.ref || ""; - this.target = attributes.target || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.filter = null; - this.manifest = null; - } -} -class Signature extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "signature", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["PDF1.3", "PDF1.6"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.border = null; - this.extras = null; - this.filter = null; - this.manifest = null; - this.margin = null; - } -} -class Signing extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "signing", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.certificate = new XFAObjectArray(); - } -} -class Solid extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "solid", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - } - [$toStyle](startColor) { - return startColor ? startColor[$toStyle]() : "#FFFFFF"; - } -} -class Speak extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "speak"); - this.disable = getInteger({ - data: attributes.disable, - defaultValue: 0, - validate: x => x === 1 - }); - this.id = attributes.id || ""; - this.priority = getStringOption(attributes.priority, ["custom", "caption", "name", "toolTip"]); - this.rid = attributes.rid || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Stipple extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "stipple", true); - this.id = attributes.id || ""; - this.rate = getInteger({ - data: attributes.rate, - defaultValue: 50, - validate: x => x >= 0 && x <= 100 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.color = null; - this.extras = null; - } - [$toStyle](bgColor) { - const alpha = this.rate / 100; - return Util.makeHexColor(Math.round(bgColor.value.r * (1 - alpha) + this.value.r * alpha), Math.round(bgColor.value.g * (1 - alpha) + this.value.g * alpha), Math.round(bgColor.value.b * (1 - alpha) + this.value.b * alpha)); - } -} -class Subform extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "subform", true); - this.access = getStringOption(attributes.access, ["open", "nonInteractive", "protected", "readOnly"]); - this.allowMacro = getInteger({ - data: attributes.allowMacro, - defaultValue: 0, - validate: x => x === 1 - }); - this.anchorType = getStringOption(attributes.anchorType, ["topLeft", "bottomCenter", "bottomLeft", "bottomRight", "middleCenter", "middleLeft", "middleRight", "topCenter", "topRight"]); - this.colSpan = getInteger({ - data: attributes.colSpan, - defaultValue: 1, - validate: n => n >= 1 || n === -1 - }); - this.columnWidths = (attributes.columnWidths || "").trim().split(/\s+/).map(x => x === "-1" ? -1 : getMeasurement(x)); - this.h = attributes.h ? getMeasurement(attributes.h) : ""; - this.hAlign = getStringOption(attributes.hAlign, ["left", "center", "justify", "justifyAll", "radix", "right"]); - this.id = attributes.id || ""; - this.layout = getStringOption(attributes.layout, ["position", "lr-tb", "rl-row", "rl-tb", "row", "table", "tb"]); - this.locale = attributes.locale || ""; - this.maxH = getMeasurement(attributes.maxH, "0pt"); - this.maxW = getMeasurement(attributes.maxW, "0pt"); - this.mergeMode = getStringOption(attributes.mergeMode, ["consumeData", "matchTemplate"]); - this.minH = getMeasurement(attributes.minH, "0pt"); - this.minW = getMeasurement(attributes.minW, "0pt"); - this.name = attributes.name || ""; - this.presence = getStringOption(attributes.presence, ["visible", "hidden", "inactive", "invisible"]); - this.relevant = getRelevant(attributes.relevant); - this.restoreState = getStringOption(attributes.restoreState, ["manual", "auto"]); - this.scope = getStringOption(attributes.scope, ["name", "none"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.w = attributes.w ? getMeasurement(attributes.w) : ""; - this.x = getMeasurement(attributes.x, "0pt"); - this.y = getMeasurement(attributes.y, "0pt"); - this.assist = null; - this.bind = null; - this.bookend = null; - this.border = null; - this.break = null; - this.calculate = null; - this.desc = null; - this.extras = null; - this.keep = null; - this.margin = null; - this.occur = null; - this.overflow = null; - this.pageSet = null; - this.para = null; - this.traversal = null; - this.validate = null; - this.variables = null; - this.area = new XFAObjectArray(); - this.breakAfter = new XFAObjectArray(); - this.breakBefore = new XFAObjectArray(); - this.connect = new XFAObjectArray(); - this.draw = new XFAObjectArray(); - this.event = new XFAObjectArray(); - this.exObject = new XFAObjectArray(); - this.exclGroup = new XFAObjectArray(); - this.field = new XFAObjectArray(); - this.proto = new XFAObjectArray(); - this.setProperty = new XFAObjectArray(); - this.subform = new XFAObjectArray(); - this.subformSet = new XFAObjectArray(); - } - [$getSubformParent]() { - const parent = this[$getParent](); - if (parent instanceof SubformSet) { - return parent[$getSubformParent](); - } - return parent; - } - [$isBindable]() { - return true; - } - [$isThereMoreWidth]() { - return this.layout.endsWith("-tb") && this[$extra].attempt === 0 && this[$extra].numberInLine > 0 || this[$getParent]()[$isThereMoreWidth](); - } - *[$getContainedChildren]() { - yield* getContainedChildren(this); - } - [$flushHTML]() { - return flushHTML(this); - } - [$addHTML](html, bbox) { - addHTML(this, html, bbox); - } - [$getAvailableSpace]() { - return getAvailableSpace(this); - } - [$isSplittable]() { - const parent = this[$getSubformParent](); - if (!parent[$isSplittable]()) { - return false; - } - if (this[$extra]._isSplittable !== undefined) { - return this[$extra]._isSplittable; - } - if (this.layout === "position" || this.layout.includes("row")) { - this[$extra]._isSplittable = false; - return false; - } - if (this.keep && this.keep.intact !== "none") { - this[$extra]._isSplittable = false; - return false; - } - if (parent.layout?.endsWith("-tb") && parent[$extra].numberInLine !== 0) { - return false; - } - this[$extra]._isSplittable = true; - return true; - } - [$toHTML](availableSpace) { - setTabIndex(this); - if (this.break) { - if (this.break.after !== "auto" || this.break.afterTarget !== "") { - const node = new BreakAfter({ - targetType: this.break.after, - target: this.break.afterTarget, - startNew: this.break.startNew.toString() - }); - node[$globalData] = this[$globalData]; - this[$appendChild](node); - this.breakAfter.push(node); - } - if (this.break.before !== "auto" || this.break.beforeTarget !== "") { - const node = new BreakBefore({ - targetType: this.break.before, - target: this.break.beforeTarget, - startNew: this.break.startNew.toString() - }); - node[$globalData] = this[$globalData]; - this[$appendChild](node); - this.breakBefore.push(node); - } - if (this.break.overflowTarget !== "") { - const node = new Overflow({ - target: this.break.overflowTarget, - leader: this.break.overflowLeader, - trailer: this.break.overflowTrailer - }); - node[$globalData] = this[$globalData]; - this[$appendChild](node); - this.overflow.push(node); - } - this[$removeChild](this.break); - this.break = null; - } - if (this.presence === "hidden" || this.presence === "inactive") { - return HTMLResult.EMPTY; - } - if (this.breakBefore.children.length > 1 || this.breakAfter.children.length > 1) { - warn("XFA - Several breakBefore or breakAfter in subforms: please file a bug."); - } - if (this.breakBefore.children.length >= 1) { - const breakBefore = this.breakBefore.children[0]; - if (handleBreak(breakBefore)) { - return HTMLResult.breakNode(breakBefore); - } - } - if (this[$extra]?.afterBreakAfter) { - return HTMLResult.EMPTY; - } - fixDimensions(this); - const children = []; - const attributes = { - id: this[$uid], - class: [] - }; - setAccess(this, attributes.class); - if (!this[$extra]) { - this[$extra] = Object.create(null); - } - Object.assign(this[$extra], { - children, - line: null, - attributes, - attempt: 0, - numberInLine: 0, - availableSpace: { - width: Math.min(this.w || Infinity, availableSpace.width), - height: Math.min(this.h || Infinity, availableSpace.height) - }, - width: 0, - height: 0, - prevHeight: 0, - currentWidth: 0 - }); - const root = this[$getTemplateRoot](); - const savedNoLayoutFailure = root[$extra].noLayoutFailure; - const isSplittable = this[$isSplittable](); - if (!isSplittable) { - setFirstUnsplittable(this); - } - if (!checkDimensions(this, availableSpace)) { - return HTMLResult.FAILURE; - } - const filter = new Set(["area", "draw", "exclGroup", "field", "subform", "subformSet"]); - if (this.layout.includes("row")) { - const columnWidths = this[$getSubformParent]().columnWidths; - if (Array.isArray(columnWidths) && columnWidths.length > 0) { - this[$extra].columnWidths = columnWidths; - this[$extra].currentColumn = 0; - } - } - const style = toStyle(this, "anchorType", "dimensions", "position", "presence", "border", "margin", "hAlign"); - const classNames = ["xfaSubform"]; - const cl = layoutClass(this); - if (cl) { - classNames.push(cl); - } - attributes.style = style; - attributes.class = classNames; - if (this.name) { - attributes.xfaName = this.name; - } - if (this.overflow) { - const overflowExtra = this.overflow[$getExtra](); - if (overflowExtra.addLeader) { - overflowExtra.addLeader = false; - handleOverflow(this, overflowExtra.leader, availableSpace); - } - } - this[$pushPara](); - const isLrTb = this.layout === "lr-tb" || this.layout === "rl-tb"; - const maxRun = isLrTb ? MAX_ATTEMPTS_FOR_LRTB_LAYOUT : 1; - for (; this[$extra].attempt < maxRun; this[$extra].attempt++) { - if (isLrTb && this[$extra].attempt === MAX_ATTEMPTS_FOR_LRTB_LAYOUT - 1) { - this[$extra].numberInLine = 0; - } - const result = this[$childrenToHTML]({ - filter, - include: true - }); - if (result.success) { - break; - } - if (result.isBreak()) { - this[$popPara](); - return result; - } - if (isLrTb && this[$extra].attempt === 0 && this[$extra].numberInLine === 0 && !root[$extra].noLayoutFailure) { - this[$extra].attempt = maxRun; - break; - } - } - this[$popPara](); - if (!isSplittable) { - unsetFirstUnsplittable(this); - } - root[$extra].noLayoutFailure = savedNoLayoutFailure; - if (this[$extra].attempt === maxRun) { - if (this.overflow) { - this[$getTemplateRoot]()[$extra].overflowNode = this.overflow; - } - if (!isSplittable) { - delete this[$extra]; - } - return HTMLResult.FAILURE; - } - if (this.overflow) { - const overflowExtra = this.overflow[$getExtra](); - if (overflowExtra.addTrailer) { - overflowExtra.addTrailer = false; - handleOverflow(this, overflowExtra.trailer, availableSpace); - } - } - let marginH = 0; - let marginV = 0; - if (this.margin) { - marginH = this.margin.leftInset + this.margin.rightInset; - marginV = this.margin.topInset + this.margin.bottomInset; - } - const width = Math.max(this[$extra].width + marginH, this.w || 0); - const height = Math.max(this[$extra].height + marginV, this.h || 0); - const bbox = [this.x, this.y, width, height]; - if (this.w === "") { - style.width = measureToString(width); - } - if (this.h === "") { - style.height = measureToString(height); - } - if ((style.width === "0px" || style.height === "0px") && children.length === 0) { - return HTMLResult.EMPTY; - } - const html = { - name: "div", - attributes, - children - }; - applyAssist(this, attributes); - const result = HTMLResult.success(createWrapper(this, html), bbox); - if (this.breakAfter.children.length >= 1) { - const breakAfter = this.breakAfter.children[0]; - if (handleBreak(breakAfter)) { - this[$extra].afterBreakAfter = result; - return HTMLResult.breakNode(breakAfter); - } - } - delete this[$extra]; - return result; - } -} -class SubformSet extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "subformSet", true); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.relation = getStringOption(attributes.relation, ["ordered", "choice", "unordered"]); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.bookend = null; - this.break = null; - this.desc = null; - this.extras = null; - this.occur = null; - this.overflow = null; - this.breakAfter = new XFAObjectArray(); - this.breakBefore = new XFAObjectArray(); - this.subform = new XFAObjectArray(); - this.subformSet = new XFAObjectArray(); - } - *[$getContainedChildren]() { - yield* getContainedChildren(this); - } - [$getSubformParent]() { - let parent = this[$getParent](); - while (!(parent instanceof Subform)) { - parent = parent[$getParent](); - } - return parent; - } - [$isBindable]() { - return true; - } -} -class SubjectDN extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "subjectDN"); - this.delimiter = attributes.delimiter || ","; - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - this[$content] = new Map(this[$content].split(this.delimiter).map(kv => { - kv = kv.split("=", 2); - kv[0] = kv[0].trim(); - return kv; - })); - } -} -class SubjectDNs extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "subjectDNs", true); - this.id = attributes.id || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.subjectDN = new XFAObjectArray(); - } -} -class Submit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "submit", true); - this.embedPDF = getInteger({ - data: attributes.embedPDF, - defaultValue: 0, - validate: x => x === 1 - }); - this.format = getStringOption(attributes.format, ["xdp", "formdata", "pdf", "urlencoded", "xfd", "xml"]); - this.id = attributes.id || ""; - this.target = attributes.target || ""; - this.textEncoding = getKeyword({ - data: attributes.textEncoding ? attributes.textEncoding.toLowerCase() : "", - defaultValue: "", - validate: k => ["utf-8", "big-five", "fontspecific", "gbk", "gb-18030", "gb-2312", "ksc-5601", "none", "shift-jis", "ucs-2", "utf-16"].includes(k) || k.match(/iso-8859-\d{2}/) - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.xdpContent = attributes.xdpContent || ""; - this.encrypt = null; - this.encryptData = new XFAObjectArray(); - this.signData = new XFAObjectArray(); - } -} -class Template extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "template", true); - this.baseProfile = getStringOption(attributes.baseProfile, ["full", "interactiveForms"]); - this.extras = null; - this.subform = new XFAObjectArray(); - } - [$finalize]() { - if (this.subform.children.length === 0) { - warn("XFA - No subforms in template node."); - } - if (this.subform.children.length >= 2) { - warn("XFA - Several subforms in template node: please file a bug."); - } - this[$tabIndex] = DEFAULT_TAB_INDEX; - } - [$isSplittable]() { - return true; - } - [$searchNode](expr, container) { - if (expr.startsWith("#")) { - return [this[$ids].get(expr.slice(1))]; - } - return searchNode(this, container, expr, true, true); - } - *[$toPages]() { - if (!this.subform.children.length) { - return HTMLResult.success({ - name: "div", - children: [] - }); - } - this[$extra] = { - overflowNode: null, - firstUnsplittable: null, - currentContentArea: null, - currentPageArea: null, - noLayoutFailure: false, - pageNumber: 1, - pagePosition: "first", - oddOrEven: "odd", - blankOrNotBlank: "nonBlank", - paraStack: [] - }; - const root = this.subform.children[0]; - root.pageSet[$cleanPage](); - const pageAreas = root.pageSet.pageArea.children; - const mainHtml = { - name: "div", - children: [] - }; - let pageArea = null; - let breakBefore = null; - let breakBeforeTarget = null; - if (root.breakBefore.children.length >= 1) { - breakBefore = root.breakBefore.children[0]; - breakBeforeTarget = breakBefore.target; - } else if (root.subform.children.length >= 1 && root.subform.children[0].breakBefore.children.length >= 1) { - breakBefore = root.subform.children[0].breakBefore.children[0]; - breakBeforeTarget = breakBefore.target; - } else if (root.break?.beforeTarget) { - breakBefore = root.break; - breakBeforeTarget = breakBefore.beforeTarget; - } else if (root.subform.children.length >= 1 && root.subform.children[0].break?.beforeTarget) { - breakBefore = root.subform.children[0].break; - breakBeforeTarget = breakBefore.beforeTarget; - } - if (breakBefore) { - const target = this[$searchNode](breakBeforeTarget, breakBefore[$getParent]()); - if (target instanceof PageArea) { - pageArea = target; - breakBefore[$extra] = {}; - } - } - if (!pageArea) { - pageArea = pageAreas[0]; - } - pageArea[$extra] = { - numberOfUse: 1 - }; - const pageAreaParent = pageArea[$getParent](); - pageAreaParent[$extra] = { - numberOfUse: 1, - pageIndex: pageAreaParent.pageArea.children.indexOf(pageArea), - pageSetIndex: 0 - }; - let targetPageArea; - let leader = null; - let trailer = null; - let hasSomething = true; - let hasSomethingCounter = 0; - let startIndex = 0; - while (true) { - if (!hasSomething) { - mainHtml.children.pop(); - if (++hasSomethingCounter === MAX_EMPTY_PAGES) { - warn("XFA - Something goes wrong: please file a bug."); - return mainHtml; - } - } else { - hasSomethingCounter = 0; - } - targetPageArea = null; - this[$extra].currentPageArea = pageArea; - const page = pageArea[$toHTML]().html; - mainHtml.children.push(page); - if (leader) { - this[$extra].noLayoutFailure = true; - page.children.push(leader[$toHTML](pageArea[$extra].space).html); - leader = null; - } - if (trailer) { - this[$extra].noLayoutFailure = true; - page.children.push(trailer[$toHTML](pageArea[$extra].space).html); - trailer = null; - } - const contentAreas = pageArea.contentArea.children; - const htmlContentAreas = page.children.filter(node => node.attributes.class.includes("xfaContentarea")); - hasSomething = false; - this[$extra].firstUnsplittable = null; - this[$extra].noLayoutFailure = false; - const flush = index => { - const html = root[$flushHTML](); - if (html) { - hasSomething ||= html.children?.length > 0; - htmlContentAreas[index].children.push(html); - } - }; - for (let i = startIndex, ii = contentAreas.length; i < ii; i++) { - const contentArea = this[$extra].currentContentArea = contentAreas[i]; - const space = { - width: contentArea.w, - height: contentArea.h - }; - startIndex = 0; - if (leader) { - htmlContentAreas[i].children.push(leader[$toHTML](space).html); - leader = null; - } - if (trailer) { - htmlContentAreas[i].children.push(trailer[$toHTML](space).html); - trailer = null; - } - const html = root[$toHTML](space); - if (html.success) { - if (html.html) { - hasSomething ||= html.html.children?.length > 0; - htmlContentAreas[i].children.push(html.html); - } else if (!hasSomething && mainHtml.children.length > 1) { - mainHtml.children.pop(); - } - return mainHtml; - } - if (html.isBreak()) { - const node = html.breakNode; - flush(i); - if (node.targetType === "auto") { - continue; - } - if (node.leader) { - leader = this[$searchNode](node.leader, node[$getParent]()); - leader = leader ? leader[0] : null; - } - if (node.trailer) { - trailer = this[$searchNode](node.trailer, node[$getParent]()); - trailer = trailer ? trailer[0] : null; - } - if (node.targetType === "pageArea") { - targetPageArea = node[$extra].target; - i = Infinity; - } else if (!node[$extra].target) { - i = node[$extra].index; - } else { - targetPageArea = node[$extra].target; - startIndex = node[$extra].index + 1; - i = Infinity; - } - continue; - } - if (this[$extra].overflowNode) { - const node = this[$extra].overflowNode; - this[$extra].overflowNode = null; - const overflowExtra = node[$getExtra](); - const target = overflowExtra.target; - overflowExtra.addLeader = overflowExtra.leader !== null; - overflowExtra.addTrailer = overflowExtra.trailer !== null; - flush(i); - const currentIndex = i; - i = Infinity; - if (target instanceof PageArea) { - targetPageArea = target; - } else if (target instanceof ContentArea) { - const index = contentAreas.indexOf(target); - if (index !== -1) { - if (index > currentIndex) { - i = index - 1; - } else { - startIndex = index; - } - } else { - targetPageArea = target[$getParent](); - startIndex = targetPageArea.contentArea.children.indexOf(target); - } - } - continue; - } - flush(i); - } - this[$extra].pageNumber += 1; - if (targetPageArea) { - if (targetPageArea[$isUsable]()) { - targetPageArea[$extra].numberOfUse += 1; - } else { - targetPageArea = null; - } - } - pageArea = targetPageArea || pageArea[$getNextPage](); - yield null; - } - } -} -class Text extends ContentObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "text"); - this.id = attributes.id || ""; - this.maxChars = getInteger({ - data: attributes.maxChars, - defaultValue: 0, - validate: x => x >= 0 - }); - this.name = attributes.name || ""; - this.rid = attributes.rid || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$acceptWhitespace]() { - return true; - } - [$onChild](child) { - if (child[$namespaceId] === NamespaceIds.xhtml.id) { - this[$content] = child; - return true; - } - warn(`XFA - Invalid content in Text: ${child[$nodeName]}.`); - return false; - } - [$onText](str) { - if (this[$content] instanceof XFAObject) { - return; - } - super[$onText](str); - } - [$finalize]() { - if (typeof this[$content] === "string") { - this[$content] = this[$content].replaceAll("\r\n", "\n"); - } - } - [$getExtra]() { - if (typeof this[$content] === "string") { - return this[$content].split(/[\u2029\u2028\n]/).reduce((acc, line) => { - if (line) { - acc.push(line); - } - return acc; - }, []).join("\n"); - } - return this[$content][$text](); - } - [$toHTML](availableSpace) { - if (typeof this[$content] === "string") { - const html = valueToHtml(this[$content]).html; - if (this[$content].includes("\u2029")) { - html.name = "div"; - html.children = []; - this[$content].split("\u2029").map(para => para.split(/[\u2028\n]/).reduce((acc, line) => { - acc.push({ - name: "span", - value: line - }, { - name: "br" - }); - return acc; - }, [])).forEach(lines => { - html.children.push({ - name: "p", - children: lines - }); - }); - } else if (/[\u2028\n]/.test(this[$content])) { - html.name = "div"; - html.children = []; - this[$content].split(/[\u2028\n]/).forEach(line => { - html.children.push({ - name: "span", - value: line - }, { - name: "br" - }); - }); - } - return HTMLResult.success(html); - } - return this[$content][$toHTML](availableSpace); - } -} -class TextEdit extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "textEdit", true); - this.allowRichText = getInteger({ - data: attributes.allowRichText, - defaultValue: 0, - validate: x => x === 1 - }); - this.hScrollPolicy = getStringOption(attributes.hScrollPolicy, ["auto", "off", "on"]); - this.id = attributes.id || ""; - this.multiLine = getInteger({ - data: attributes.multiLine, - defaultValue: "", - validate: x => x === 0 || x === 1 - }); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.vScrollPolicy = getStringOption(attributes.vScrollPolicy, ["auto", "off", "on"]); - this.border = null; - this.comb = null; - this.extras = null; - this.margin = null; - } - [$toHTML](availableSpace) { - const style = toStyle(this, "border", "font", "margin"); - let html; - const field = this[$getParent]()[$getParent](); - if (this.multiLine === "") { - this.multiLine = field instanceof Draw ? 1 : 0; - } - if (this.multiLine === 1) { - html = { - name: "textarea", - attributes: { - dataId: field[$data]?.[$uid] || field[$uid], - fieldId: field[$uid], - class: ["xfaTextfield"], - style, - "aria-label": ariaLabel(field), - "aria-required": false - } - }; - } else { - html = { - name: "input", - attributes: { - type: "text", - dataId: field[$data]?.[$uid] || field[$uid], - fieldId: field[$uid], - class: ["xfaTextfield"], - style, - "aria-label": ariaLabel(field), - "aria-required": false - } - }; - } - if (isRequired(field)) { - html.attributes["aria-required"] = true; - html.attributes.required = true; - } - return HTMLResult.success({ - name: "label", - attributes: { - class: ["xfaLabel"] - }, - children: [html] - }); - } -} -class Time extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "time"); - this.id = attributes.id || ""; - this.name = attributes.name || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } - [$finalize]() { - const date = this[$content].trim(); - this[$content] = date ? new Date(date) : null; - } - [$toHTML](availableSpace) { - return valueToHtml(this[$content] ? this[$content].toString() : ""); - } -} -class TimeStamp extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "timeStamp"); - this.id = attributes.id || ""; - this.server = attributes.server || ""; - this.type = getStringOption(attributes.type, ["optional", "required"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class ToolTip extends StringObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "toolTip"); - this.id = attributes.id || ""; - this.rid = attributes.rid || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - } -} -class Traversal extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "traversal", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.traverse = new XFAObjectArray(); - } -} -class Traverse extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "traverse", true); - this.id = attributes.id || ""; - this.operation = getStringOption(attributes.operation, ["next", "back", "down", "first", "left", "right", "up"]); - this.ref = attributes.ref || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.script = null; - } - get name() { - return this.operation; - } - [$isTransparent]() { - return false; - } -} -class Ui extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "ui", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.picture = null; - this.barcode = null; - this.button = null; - this.checkButton = null; - this.choiceList = null; - this.dateTimeEdit = null; - this.defaultUi = null; - this.imageEdit = null; - this.numericEdit = null; - this.passwordEdit = null; - this.signature = null; - this.textEdit = null; - } - [$getExtra]() { - if (this[$extra] === undefined) { - for (const name of Object.getOwnPropertyNames(this)) { - if (name === "extras" || name === "picture") { - continue; - } - const obj = this[name]; - if (!(obj instanceof XFAObject)) { - continue; - } - this[$extra] = obj; - return obj; - } - this[$extra] = null; - } - return this[$extra]; - } - [$toHTML](availableSpace) { - const obj = this[$getExtra](); - if (obj) { - return obj[$toHTML](availableSpace); - } - return HTMLResult.EMPTY; - } -} -class Validate extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "validate", true); - this.formatTest = getStringOption(attributes.formatTest, ["warning", "disabled", "error"]); - this.id = attributes.id || ""; - this.nullTest = getStringOption(attributes.nullTest, ["disabled", "error", "warning"]); - this.scriptTest = getStringOption(attributes.scriptTest, ["error", "disabled", "warning"]); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.extras = null; - this.message = null; - this.picture = null; - this.script = null; - } -} -class Value extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "value", true); - this.id = attributes.id || ""; - this.override = getInteger({ - data: attributes.override, - defaultValue: 0, - validate: x => x === 1 - }); - this.relevant = getRelevant(attributes.relevant); - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.arc = null; - this.boolean = null; - this.date = null; - this.dateTime = null; - this.decimal = null; - this.exData = null; - this.float = null; - this.image = null; - this.integer = null; - this.line = null; - this.rectangle = null; - this.text = null; - this.time = null; - } - [$setValue](value) { - const parent = this[$getParent](); - if (parent instanceof Field) { - if (parent.ui?.imageEdit) { - if (!this.image) { - this.image = new Image({}); - this[$appendChild](this.image); - } - this.image[$content] = value[$content]; - return; - } - } - const valueName = value[$nodeName]; - if (this[valueName] !== null) { - this[valueName][$content] = value[$content]; - return; - } - for (const name of Object.getOwnPropertyNames(this)) { - const obj = this[name]; - if (obj instanceof XFAObject) { - this[name] = null; - this[$removeChild](obj); - } - } - this[value[$nodeName]] = value; - this[$appendChild](value); - } - [$text]() { - if (this.exData) { - if (typeof this.exData[$content] === "string") { - return this.exData[$content].trim(); - } - return this.exData[$content][$text]().trim(); - } - for (const name of Object.getOwnPropertyNames(this)) { - if (name === "image") { - continue; - } - const obj = this[name]; - if (obj instanceof XFAObject) { - return (obj[$content] || "").toString().trim(); - } - } - return null; - } - [$toHTML](availableSpace) { - for (const name of Object.getOwnPropertyNames(this)) { - const obj = this[name]; - if (!(obj instanceof XFAObject)) { - continue; - } - return obj[$toHTML](availableSpace); - } - return HTMLResult.EMPTY; - } -} -class Variables extends XFAObject { - constructor(attributes) { - super(TEMPLATE_NS_ID, "variables", true); - this.id = attributes.id || ""; - this.use = attributes.use || ""; - this.usehref = attributes.usehref || ""; - this.boolean = new XFAObjectArray(); - this.date = new XFAObjectArray(); - this.dateTime = new XFAObjectArray(); - this.decimal = new XFAObjectArray(); - this.exData = new XFAObjectArray(); - this.float = new XFAObjectArray(); - this.image = new XFAObjectArray(); - this.integer = new XFAObjectArray(); - this.manifest = new XFAObjectArray(); - this.script = new XFAObjectArray(); - this.text = new XFAObjectArray(); - this.time = new XFAObjectArray(); - } - [$isTransparent]() { - return true; - } -} -class TemplateNamespace { - static [$buildXFAObject](name, attributes) { - if (TemplateNamespace.hasOwnProperty(name)) { - const node = TemplateNamespace[name](attributes); - node[$setSetAttributes](attributes); - return node; - } - return undefined; - } - static appearanceFilter(attrs) { - return new AppearanceFilter(attrs); - } - static arc(attrs) { - return new Arc(attrs); - } - static area(attrs) { - return new Area(attrs); - } - static assist(attrs) { - return new Assist(attrs); - } - static barcode(attrs) { - return new Barcode(attrs); - } - static bind(attrs) { - return new Bind(attrs); - } - static bindItems(attrs) { - return new BindItems(attrs); - } - static bookend(attrs) { - return new Bookend(attrs); - } - static boolean(attrs) { - return new BooleanElement(attrs); - } - static border(attrs) { - return new Border(attrs); - } - static break(attrs) { - return new Break(attrs); - } - static breakAfter(attrs) { - return new BreakAfter(attrs); - } - static breakBefore(attrs) { - return new BreakBefore(attrs); - } - static button(attrs) { - return new Button(attrs); - } - static calculate(attrs) { - return new Calculate(attrs); - } - static caption(attrs) { - return new Caption(attrs); - } - static certificate(attrs) { - return new Certificate(attrs); - } - static certificates(attrs) { - return new Certificates(attrs); - } - static checkButton(attrs) { - return new CheckButton(attrs); - } - static choiceList(attrs) { - return new ChoiceList(attrs); - } - static color(attrs) { - return new Color(attrs); - } - static comb(attrs) { - return new Comb(attrs); - } - static connect(attrs) { - return new Connect(attrs); - } - static contentArea(attrs) { - return new ContentArea(attrs); - } - static corner(attrs) { - return new Corner(attrs); - } - static date(attrs) { - return new DateElement(attrs); - } - static dateTime(attrs) { - return new DateTime(attrs); - } - static dateTimeEdit(attrs) { - return new DateTimeEdit(attrs); - } - static decimal(attrs) { - return new Decimal(attrs); - } - static defaultUi(attrs) { - return new DefaultUi(attrs); - } - static desc(attrs) { - return new Desc(attrs); - } - static digestMethod(attrs) { - return new DigestMethod(attrs); - } - static digestMethods(attrs) { - return new DigestMethods(attrs); - } - static draw(attrs) { - return new Draw(attrs); - } - static edge(attrs) { - return new Edge(attrs); - } - static encoding(attrs) { - return new Encoding(attrs); - } - static encodings(attrs) { - return new Encodings(attrs); - } - static encrypt(attrs) { - return new Encrypt(attrs); - } - static encryptData(attrs) { - return new EncryptData(attrs); - } - static encryption(attrs) { - return new Encryption(attrs); - } - static encryptionMethod(attrs) { - return new EncryptionMethod(attrs); - } - static encryptionMethods(attrs) { - return new EncryptionMethods(attrs); - } - static event(attrs) { - return new Event(attrs); - } - static exData(attrs) { - return new ExData(attrs); - } - static exObject(attrs) { - return new ExObject(attrs); - } - static exclGroup(attrs) { - return new ExclGroup(attrs); - } - static execute(attrs) { - return new Execute(attrs); - } - static extras(attrs) { - return new Extras(attrs); - } - static field(attrs) { - return new Field(attrs); - } - static fill(attrs) { - return new Fill(attrs); - } - static filter(attrs) { - return new Filter(attrs); - } - static float(attrs) { - return new Float(attrs); - } - static font(attrs) { - return new template_Font(attrs); - } - static format(attrs) { - return new Format(attrs); - } - static handler(attrs) { - return new Handler(attrs); - } - static hyphenation(attrs) { - return new Hyphenation(attrs); - } - static image(attrs) { - return new Image(attrs); - } - static imageEdit(attrs) { - return new ImageEdit(attrs); - } - static integer(attrs) { - return new Integer(attrs); - } - static issuers(attrs) { - return new Issuers(attrs); - } - static items(attrs) { - return new Items(attrs); - } - static keep(attrs) { - return new Keep(attrs); - } - static keyUsage(attrs) { - return new KeyUsage(attrs); - } - static line(attrs) { - return new Line(attrs); - } - static linear(attrs) { - return new Linear(attrs); - } - static lockDocument(attrs) { - return new LockDocument(attrs); - } - static manifest(attrs) { - return new Manifest(attrs); - } - static margin(attrs) { - return new Margin(attrs); - } - static mdp(attrs) { - return new Mdp(attrs); - } - static medium(attrs) { - return new Medium(attrs); - } - static message(attrs) { - return new Message(attrs); - } - static numericEdit(attrs) { - return new NumericEdit(attrs); - } - static occur(attrs) { - return new Occur(attrs); - } - static oid(attrs) { - return new Oid(attrs); - } - static oids(attrs) { - return new Oids(attrs); - } - static overflow(attrs) { - return new Overflow(attrs); - } - static pageArea(attrs) { - return new PageArea(attrs); - } - static pageSet(attrs) { - return new PageSet(attrs); - } - static para(attrs) { - return new Para(attrs); - } - static passwordEdit(attrs) { - return new PasswordEdit(attrs); - } - static pattern(attrs) { - return new template_Pattern(attrs); - } - static picture(attrs) { - return new Picture(attrs); - } - static proto(attrs) { - return new Proto(attrs); - } - static radial(attrs) { - return new Radial(attrs); - } - static reason(attrs) { - return new Reason(attrs); - } - static reasons(attrs) { - return new Reasons(attrs); - } - static rectangle(attrs) { - return new Rectangle(attrs); - } - static ref(attrs) { - return new RefElement(attrs); - } - static script(attrs) { - return new Script(attrs); - } - static setProperty(attrs) { - return new SetProperty(attrs); - } - static signData(attrs) { - return new SignData(attrs); - } - static signature(attrs) { - return new Signature(attrs); - } - static signing(attrs) { - return new Signing(attrs); - } - static solid(attrs) { - return new Solid(attrs); - } - static speak(attrs) { - return new Speak(attrs); - } - static stipple(attrs) { - return new Stipple(attrs); - } - static subform(attrs) { - return new Subform(attrs); - } - static subformSet(attrs) { - return new SubformSet(attrs); - } - static subjectDN(attrs) { - return new SubjectDN(attrs); - } - static subjectDNs(attrs) { - return new SubjectDNs(attrs); - } - static submit(attrs) { - return new Submit(attrs); - } - static template(attrs) { - return new Template(attrs); - } - static text(attrs) { - return new Text(attrs); - } - static textEdit(attrs) { - return new TextEdit(attrs); - } - static time(attrs) { - return new Time(attrs); - } - static timeStamp(attrs) { - return new TimeStamp(attrs); - } - static toolTip(attrs) { - return new ToolTip(attrs); - } - static traversal(attrs) { - return new Traversal(attrs); - } - static traverse(attrs) { - return new Traverse(attrs); - } - static ui(attrs) { - return new Ui(attrs); - } - static validate(attrs) { - return new Validate(attrs); - } - static value(attrs) { - return new Value(attrs); - } - static variables(attrs) { - return new Variables(attrs); - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/bind.js - - - - - - - - - - - -const bind_NS_DATASETS = NamespaceIds.datasets.id; -function createText(content) { - const node = new Text({}); - node[$content] = content; - return node; -} -class Binder { - constructor(root) { - this.root = root; - this.datasets = root.datasets; - this.data = root.datasets?.data || new XmlObject(NamespaceIds.datasets.id, "data"); - this.emptyMerge = this.data[$getChildren]().length === 0; - this.root.form = this.form = root.template[$clone](); - } - _isConsumeData() { - return !this.emptyMerge && this._mergeMode; - } - _isMatchTemplate() { - return !this._isConsumeData(); - } - bind() { - this._bindElement(this.form, this.data); - return this.form; - } - getData() { - return this.data; - } - _bindValue(formNode, data, picture) { - formNode[$data] = data; - if (formNode[$hasSettableValue]()) { - if (data[$isDataValue]()) { - const value = data[$getDataValue](); - formNode[$setValue](createText(value)); - } else if (formNode instanceof Field && formNode.ui?.choiceList?.open === "multiSelect") { - const value = data[$getChildren]().map(child => child[$content].trim()).join("\n"); - formNode[$setValue](createText(value)); - } else if (this._isConsumeData()) { - warn(`XFA - Nodes haven't the same type.`); - } - } else if (!data[$isDataValue]() || this._isMatchTemplate()) { - this._bindElement(formNode, data); - } else { - warn(`XFA - Nodes haven't the same type.`); - } - } - _findDataByNameToConsume(name, isValue, dataNode, global) { - if (!name) { - return null; - } - let generator, match; - for (let i = 0; i < 3; i++) { - generator = dataNode[$getRealChildrenByNameIt](name, false, true); - while (true) { - match = generator.next().value; - if (!match) { - break; - } - if (isValue === match[$isDataValue]()) { - return match; - } - } - if (dataNode[$namespaceId] === NamespaceIds.datasets.id && dataNode[$nodeName] === "data") { - break; - } - dataNode = dataNode[$getParent](); - } - if (!global) { - return null; - } - generator = this.data[$getRealChildrenByNameIt](name, true, false); - match = generator.next().value; - if (match) { - return match; - } - generator = this.data[$getAttributeIt](name, true); - match = generator.next().value; - if (match?.[$isDataValue]()) { - return match; - } - return null; - } - _setProperties(formNode, dataNode) { - if (!formNode.hasOwnProperty("setProperty")) { - return; - } - for (const { - ref, - target, - connection - } of formNode.setProperty.children) { - if (connection) { - continue; - } - if (!ref) { - continue; - } - const nodes = searchNode(this.root, dataNode, ref, false, false); - if (!nodes) { - warn(`XFA - Invalid reference: ${ref}.`); - continue; - } - const [node] = nodes; - if (!node[$isDescendent](this.data)) { - warn(`XFA - Invalid node: must be a data node.`); - continue; - } - const targetNodes = searchNode(this.root, formNode, target, false, false); - if (!targetNodes) { - warn(`XFA - Invalid target: ${target}.`); - continue; - } - const [targetNode] = targetNodes; - if (!targetNode[$isDescendent](formNode)) { - warn(`XFA - Invalid target: must be a property or subproperty.`); - continue; - } - const targetParent = targetNode[$getParent](); - if (targetNode instanceof SetProperty || targetParent instanceof SetProperty) { - warn(`XFA - Invalid target: cannot be a setProperty or one of its properties.`); - continue; - } - if (targetNode instanceof BindItems || targetParent instanceof BindItems) { - warn(`XFA - Invalid target: cannot be a bindItems or one of its properties.`); - continue; - } - const content = node[$text](); - const name = targetNode[$nodeName]; - if (targetNode instanceof XFAAttribute) { - const attrs = Object.create(null); - attrs[name] = content; - const obj = Reflect.construct(Object.getPrototypeOf(targetParent).constructor, [attrs]); - targetParent[name] = obj[name]; - continue; - } - if (!targetNode.hasOwnProperty($content)) { - warn(`XFA - Invalid node to use in setProperty`); - continue; - } - targetNode[$data] = node; - targetNode[$content] = content; - targetNode[$finalize](); - } - } - _bindItems(formNode, dataNode) { - if (!formNode.hasOwnProperty("items") || !formNode.hasOwnProperty("bindItems") || formNode.bindItems.isEmpty()) { - return; - } - for (const item of formNode.items.children) { - formNode[$removeChild](item); - } - formNode.items.clear(); - const labels = new Items({}); - const values = new Items({}); - formNode[$appendChild](labels); - formNode.items.push(labels); - formNode[$appendChild](values); - formNode.items.push(values); - for (const { - ref, - labelRef, - valueRef, - connection - } of formNode.bindItems.children) { - if (connection) { - continue; - } - if (!ref) { - continue; - } - const nodes = searchNode(this.root, dataNode, ref, false, false); - if (!nodes) { - warn(`XFA - Invalid reference: ${ref}.`); - continue; - } - for (const node of nodes) { - if (!node[$isDescendent](this.datasets)) { - warn(`XFA - Invalid ref (${ref}): must be a datasets child.`); - continue; - } - const labelNodes = searchNode(this.root, node, labelRef, true, false); - if (!labelNodes) { - warn(`XFA - Invalid label: ${labelRef}.`); - continue; - } - const [labelNode] = labelNodes; - if (!labelNode[$isDescendent](this.datasets)) { - warn(`XFA - Invalid label: must be a datasets child.`); - continue; - } - const valueNodes = searchNode(this.root, node, valueRef, true, false); - if (!valueNodes) { - warn(`XFA - Invalid value: ${valueRef}.`); - continue; - } - const [valueNode] = valueNodes; - if (!valueNode[$isDescendent](this.datasets)) { - warn(`XFA - Invalid value: must be a datasets child.`); - continue; - } - const label = createText(labelNode[$text]()); - const value = createText(valueNode[$text]()); - labels[$appendChild](label); - labels.text.push(label); - values[$appendChild](value); - values.text.push(value); - } - } - } - _bindOccurrences(formNode, matches, picture) { - let baseClone; - if (matches.length > 1) { - baseClone = formNode[$clone](); - baseClone[$removeChild](baseClone.occur); - baseClone.occur = null; - } - this._bindValue(formNode, matches[0], picture); - this._setProperties(formNode, matches[0]); - this._bindItems(formNode, matches[0]); - if (matches.length === 1) { - return; - } - const parent = formNode[$getParent](); - const name = formNode[$nodeName]; - const pos = parent[$indexOf](formNode); - for (let i = 1, ii = matches.length; i < ii; i++) { - const match = matches[i]; - const clone = baseClone[$clone](); - parent[name].push(clone); - parent[$insertAt](pos + i, clone); - this._bindValue(clone, match, picture); - this._setProperties(clone, match); - this._bindItems(clone, match); - } - } - _createOccurrences(formNode) { - if (!this.emptyMerge) { - return; - } - const { - occur - } = formNode; - if (!occur || occur.initial <= 1) { - return; - } - const parent = formNode[$getParent](); - const name = formNode[$nodeName]; - if (!(parent[name] instanceof XFAObjectArray)) { - return; - } - let currentNumber; - if (formNode.name) { - currentNumber = parent[name].children.filter(e => e.name === formNode.name).length; - } else { - currentNumber = parent[name].children.length; - } - const pos = parent[$indexOf](formNode) + 1; - const ii = occur.initial - currentNumber; - if (ii) { - const nodeClone = formNode[$clone](); - nodeClone[$removeChild](nodeClone.occur); - nodeClone.occur = null; - parent[name].push(nodeClone); - parent[$insertAt](pos, nodeClone); - for (let i = 1; i < ii; i++) { - const clone = nodeClone[$clone](); - parent[name].push(clone); - parent[$insertAt](pos + i, clone); - } - } - } - _getOccurInfo(formNode) { - const { - name, - occur - } = formNode; - if (!occur || !name) { - return [1, 1]; - } - const max = occur.max === -1 ? Infinity : occur.max; - return [occur.min, max]; - } - _setAndBind(formNode, dataNode) { - this._setProperties(formNode, dataNode); - this._bindItems(formNode, dataNode); - this._bindElement(formNode, dataNode); - } - _bindElement(formNode, dataNode) { - const uselessNodes = []; - this._createOccurrences(formNode); - for (const child of formNode[$getChildren]()) { - if (child[$data]) { - continue; - } - if (this._mergeMode === undefined && child[$nodeName] === "subform") { - this._mergeMode = child.mergeMode === "consumeData"; - const dataChildren = dataNode[$getChildren](); - if (dataChildren.length > 0) { - this._bindOccurrences(child, [dataChildren[0]], null); - } else if (this.emptyMerge) { - const nsId = dataNode[$namespaceId] === bind_NS_DATASETS ? -1 : dataNode[$namespaceId]; - const dataChild = child[$data] = new XmlObject(nsId, child.name || "root"); - dataNode[$appendChild](dataChild); - this._bindElement(child, dataChild); - } - continue; - } - if (!child[$isBindable]()) { - continue; - } - let global = false; - let picture = null; - let ref = null; - let match = null; - if (child.bind) { - switch (child.bind.match) { - case "none": - this._setAndBind(child, dataNode); - continue; - case "global": - global = true; - break; - case "dataRef": - if (!child.bind.ref) { - warn(`XFA - ref is empty in node ${child[$nodeName]}.`); - this._setAndBind(child, dataNode); - continue; - } - ref = child.bind.ref; - break; - default: - break; - } - if (child.bind.picture) { - picture = child.bind.picture[$content]; - } - } - const [min, max] = this._getOccurInfo(child); - if (ref) { - match = searchNode(this.root, dataNode, ref, true, false); - if (match === null) { - match = createDataNode(this.data, dataNode, ref); - if (!match) { - continue; - } - if (this._isConsumeData()) { - match[$consumed] = true; - } - this._setAndBind(child, match); - continue; - } else { - if (this._isConsumeData()) { - match = match.filter(node => !node[$consumed]); - } - if (match.length > max) { - match = match.slice(0, max); - } else if (match.length === 0) { - match = null; - } - if (match && this._isConsumeData()) { - match.forEach(node => { - node[$consumed] = true; - }); - } - } - } else { - if (!child.name) { - this._setAndBind(child, dataNode); - continue; - } - if (this._isConsumeData()) { - const matches = []; - while (matches.length < max) { - const found = this._findDataByNameToConsume(child.name, child[$hasSettableValue](), dataNode, global); - if (!found) { - break; - } - found[$consumed] = true; - matches.push(found); - } - match = matches.length > 0 ? matches : null; - } else { - match = dataNode[$getRealChildrenByNameIt](child.name, false, this.emptyMerge).next().value; - if (!match) { - if (min === 0) { - uselessNodes.push(child); - continue; - } - const nsId = dataNode[$namespaceId] === bind_NS_DATASETS ? -1 : dataNode[$namespaceId]; - match = child[$data] = new XmlObject(nsId, child.name); - if (this.emptyMerge) { - match[$consumed] = true; - } - dataNode[$appendChild](match); - this._setAndBind(child, match); - continue; - } - if (this.emptyMerge) { - match[$consumed] = true; - } - match = [match]; - } - } - if (match) { - this._bindOccurrences(child, match, picture); - } else if (min > 0) { - this._setAndBind(child, dataNode); - } else { - uselessNodes.push(child); - } - } - uselessNodes.forEach(node => node[$getParent]()[$removeChild](node)); - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/data.js - - +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.DataHandler = void 0; +var _symbol_utils = __w_pdfjs_require__(78); class DataHandler { constructor(root, data) { this.data = data; this.dataset = root.datasets || null; } serialize(storage) { - const stack = [[-1, this.data[$getChildren]()]]; + const stack = [[-1, this.data[_symbol_utils.$getChildren]()]]; while (stack.length > 0) { const last = stack.at(-1); const [i, children] = last; @@ -51313,52 +54299,408 @@ class DataHandler { continue; } const child = children[++last[0]]; - const storageEntry = storage.get(child[$uid]); + const storageEntry = storage.get(child[_symbol_utils.$uid]); if (storageEntry) { - child[$setValue](storageEntry); + child[_symbol_utils.$setValue](storageEntry); } else { - const attributes = child[$getAttributes](); + const attributes = child[_symbol_utils.$getAttributes](); for (const value of attributes.values()) { - const entry = storage.get(value[$uid]); + const entry = storage.get(value[_symbol_utils.$uid]); if (entry) { - value[$setValue](entry); + value[_symbol_utils.$setValue](entry); break; } } } - const nodes = child[$getChildren](); + const nodes = child[_symbol_utils.$getChildren](); if (nodes.length > 0) { stack.push([-1, nodes]); } } const buf = [``]; if (this.dataset) { - for (const child of this.dataset[$getChildren]()) { - if (child[$nodeName] !== "data") { - child[$toString](buf); + for (const child of this.dataset[_symbol_utils.$getChildren]()) { + if (child[_symbol_utils.$nodeName] !== "data") { + child[_symbol_utils.$toString](buf); } } } - this.data[$toString](buf); + this.data[_symbol_utils.$toString](buf); buf.push(""); return buf.join(""); } } +exports.DataHandler = DataHandler; -;// CONCATENATED MODULE: ./src/core/xfa/config.js +/***/ }), +/* 90 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XFAParser = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _xml_parser = __w_pdfjs_require__(67); +var _builder = __w_pdfjs_require__(91); +var _util = __w_pdfjs_require__(2); +class XFAParser extends _xml_parser.XMLParserBase { + constructor(rootNameSpace = null, richText = false) { + super(); + this._builder = new _builder.Builder(rootNameSpace); + this._stack = []; + this._globalData = { + usedTypefaces: new Set() + }; + this._ids = new Map(); + this._current = this._builder.buildRoot(this._ids); + this._errorCode = _xml_parser.XMLParserErrorCode.NoError; + this._whiteRegex = /^\s+$/; + this._nbsps = /\xa0+/g; + this._richText = richText; + } + parse(data) { + this.parseXml(data); + if (this._errorCode !== _xml_parser.XMLParserErrorCode.NoError) { + return undefined; + } + this._current[_symbol_utils.$finalize](); + return this._current.element; + } + onText(text) { + text = text.replace(this._nbsps, match => match.slice(1) + " "); + if (this._richText || this._current[_symbol_utils.$acceptWhitespace]()) { + this._current[_symbol_utils.$onText](text, this._richText); + return; + } + if (this._whiteRegex.test(text)) { + return; + } + this._current[_symbol_utils.$onText](text.trim()); + } + onCdata(text) { + this._current[_symbol_utils.$onText](text); + } + _mkAttributes(attributes, tagName) { + let namespace = null; + let prefixes = null; + const attributeObj = Object.create({}); + for (const { + name, + value + } of attributes) { + if (name === "xmlns") { + if (!namespace) { + namespace = value; + } else { + (0, _util.warn)(`XFA - multiple namespace definition in <${tagName}>`); + } + } else if (name.startsWith("xmlns:")) { + const prefix = name.substring("xmlns:".length); + if (!prefixes) { + prefixes = []; + } + prefixes.push({ + prefix, + value + }); + } else { + const i = name.indexOf(":"); + if (i === -1) { + attributeObj[name] = value; + } else { + let nsAttrs = attributeObj[_symbol_utils.$nsAttributes]; + if (!nsAttrs) { + nsAttrs = attributeObj[_symbol_utils.$nsAttributes] = Object.create(null); + } + const [ns, attrName] = [name.slice(0, i), name.slice(i + 1)]; + const attrs = nsAttrs[ns] ||= Object.create(null); + attrs[attrName] = value; + } + } + } + return [namespace, prefixes, attributeObj]; + } + _getNameAndPrefix(name, nsAgnostic) { + const i = name.indexOf(":"); + if (i === -1) { + return [name, null]; + } + return [name.substring(i + 1), nsAgnostic ? "" : name.substring(0, i)]; + } + onBeginElement(tagName, attributes, isEmpty) { + const [namespace, prefixes, attributesObj] = this._mkAttributes(attributes, tagName); + const [name, nsPrefix] = this._getNameAndPrefix(tagName, this._builder.isNsAgnostic()); + const node = this._builder.build({ + nsPrefix, + name, + attributes: attributesObj, + namespace, + prefixes + }); + node[_symbol_utils.$globalData] = this._globalData; + if (isEmpty) { + node[_symbol_utils.$finalize](); + if (this._current[_symbol_utils.$onChild](node)) { + node[_symbol_utils.$setId](this._ids); + } + node[_symbol_utils.$clean](this._builder); + return; + } + this._stack.push(this._current); + this._current = node; + } + onEndElement(name) { + const node = this._current; + if (node[_symbol_utils.$isCDATAXml]() && typeof node[_symbol_utils.$content] === "string") { + const parser = new XFAParser(); + parser._globalData = this._globalData; + const root = parser.parse(node[_symbol_utils.$content]); + node[_symbol_utils.$content] = null; + node[_symbol_utils.$onChild](root); + } + node[_symbol_utils.$finalize](); + this._current = this._stack.pop(); + if (this._current[_symbol_utils.$onChild](node)) { + node[_symbol_utils.$setId](this._ids); + } + node[_symbol_utils.$clean](this._builder); + } + onError(code) { + this._errorCode = code; + } +} +exports.XFAParser = XFAParser; + +/***/ }), +/* 91 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Builder = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _symbol_utils = __w_pdfjs_require__(78); +var _setup = __w_pdfjs_require__(92); +var _template = __w_pdfjs_require__(80); +var _unknown = __w_pdfjs_require__(101); +var _util = __w_pdfjs_require__(2); +var _xfa_object = __w_pdfjs_require__(87); +class Root extends _xfa_object.XFAObject { + constructor(ids) { + super(-1, "root", Object.create(null)); + this.element = null; + this[_symbol_utils.$ids] = ids; + } + [_symbol_utils.$onChild](child) { + this.element = child; + return true; + } + [_symbol_utils.$finalize]() { + super[_symbol_utils.$finalize](); + if (this.element.template instanceof _template.Template) { + this[_symbol_utils.$ids].set(_symbol_utils.$root, this.element); + this.element.template[_symbol_utils.$resolvePrototypes](this[_symbol_utils.$ids]); + this.element.template[_symbol_utils.$ids] = this[_symbol_utils.$ids]; + } + } +} +class Empty extends _xfa_object.XFAObject { + constructor() { + super(-1, "", Object.create(null)); + } + [_symbol_utils.$onChild](_) { + return false; + } +} +class Builder { + constructor(rootNameSpace = null) { + this._namespaceStack = []; + this._nsAgnosticLevel = 0; + this._namespacePrefixes = new Map(); + this._namespaces = new Map(); + this._nextNsId = Math.max(...Object.values(_namespaces.NamespaceIds).map(({ + id + }) => id)); + this._currentNamespace = rootNameSpace || new _unknown.UnknownNamespace(++this._nextNsId); + } + buildRoot(ids) { + return new Root(ids); + } + build({ + nsPrefix, + name, + attributes, + namespace, + prefixes + }) { + const hasNamespaceDef = namespace !== null; + if (hasNamespaceDef) { + this._namespaceStack.push(this._currentNamespace); + this._currentNamespace = this._searchNamespace(namespace); + } + if (prefixes) { + this._addNamespacePrefix(prefixes); + } + if (attributes.hasOwnProperty(_symbol_utils.$nsAttributes)) { + const dataTemplate = _setup.NamespaceSetUp.datasets; + const nsAttrs = attributes[_symbol_utils.$nsAttributes]; + let xfaAttrs = null; + for (const [ns, attrs] of Object.entries(nsAttrs)) { + const nsToUse = this._getNamespaceToUse(ns); + if (nsToUse === dataTemplate) { + xfaAttrs = { + xfa: attrs + }; + break; + } + } + if (xfaAttrs) { + attributes[_symbol_utils.$nsAttributes] = xfaAttrs; + } else { + delete attributes[_symbol_utils.$nsAttributes]; + } + } + const namespaceToUse = this._getNamespaceToUse(nsPrefix); + const node = namespaceToUse?.[_namespaces.$buildXFAObject](name, attributes) || new Empty(); + if (node[_symbol_utils.$isNsAgnostic]()) { + this._nsAgnosticLevel++; + } + if (hasNamespaceDef || prefixes || node[_symbol_utils.$isNsAgnostic]()) { + node[_symbol_utils.$cleanup] = { + hasNamespace: hasNamespaceDef, + prefixes, + nsAgnostic: node[_symbol_utils.$isNsAgnostic]() + }; + } + return node; + } + isNsAgnostic() { + return this._nsAgnosticLevel > 0; + } + _searchNamespace(nsName) { + let ns = this._namespaces.get(nsName); + if (ns) { + return ns; + } + for (const [name, { + check + }] of Object.entries(_namespaces.NamespaceIds)) { + if (check(nsName)) { + ns = _setup.NamespaceSetUp[name]; + if (ns) { + this._namespaces.set(nsName, ns); + return ns; + } + break; + } + } + ns = new _unknown.UnknownNamespace(++this._nextNsId); + this._namespaces.set(nsName, ns); + return ns; + } + _addNamespacePrefix(prefixes) { + for (const { + prefix, + value + } of prefixes) { + const namespace = this._searchNamespace(value); + let prefixStack = this._namespacePrefixes.get(prefix); + if (!prefixStack) { + prefixStack = []; + this._namespacePrefixes.set(prefix, prefixStack); + } + prefixStack.push(namespace); + } + } + _getNamespaceToUse(prefix) { + if (!prefix) { + return this._currentNamespace; + } + const prefixStack = this._namespacePrefixes.get(prefix); + if (prefixStack?.length > 0) { + return prefixStack.at(-1); + } + (0, _util.warn)(`Unknown namespace prefix: ${prefix}.`); + return null; + } + clean(data) { + const { + hasNamespace, + prefixes, + nsAgnostic + } = data; + if (hasNamespace) { + this._currentNamespace = this._namespaceStack.pop(); + } + if (prefixes) { + prefixes.forEach(({ + prefix + }) => { + this._namespacePrefixes.get(prefix).pop(); + }); + } + if (nsAgnostic) { + this._nsAgnosticLevel--; + } + } +} +exports.Builder = Builder; + +/***/ }), +/* 92 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NamespaceSetUp = void 0; +var _config = __w_pdfjs_require__(93); +var _connection_set = __w_pdfjs_require__(94); +var _datasets = __w_pdfjs_require__(95); +var _locale_set = __w_pdfjs_require__(96); +var _signature = __w_pdfjs_require__(97); +var _stylesheet = __w_pdfjs_require__(98); +var _template = __w_pdfjs_require__(80); +var _xdp = __w_pdfjs_require__(99); +var _xhtml = __w_pdfjs_require__(100); +const NamespaceSetUp = { + config: _config.ConfigNamespace, + connection: _connection_set.ConnectionSetNamespace, + datasets: _datasets.DatasetsNamespace, + localeSet: _locale_set.LocaleSetNamespace, + signature: _signature.SignatureNamespace, + stylesheet: _stylesheet.StylesheetNamespace, + template: _template.TemplateNamespace, + xdp: _xdp.XdpNamespace, + xhtml: _xhtml.XhtmlNamespace +}; +exports.NamespaceSetUp = NamespaceSetUp; + +/***/ }), +/* 93 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const CONFIG_NS_ID = NamespaceIds.config.id; -class Acrobat extends XFAObject { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ConfigNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _symbol_utils = __w_pdfjs_require__(78); +var _xfa_object = __w_pdfjs_require__(87); +var _utils = __w_pdfjs_require__(84); +var _util = __w_pdfjs_require__(2); +const CONFIG_NS_ID = _namespaces.NamespaceIds.config.id; +class Acrobat extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "acrobat", true); this.acrobat7 = null; @@ -51366,114 +54708,114 @@ class Acrobat extends XFAObject { this.common = null; this.validate = null; this.validateApprovalSignatures = null; - this.submitUrl = new XFAObjectArray(); + this.submitUrl = new _xfa_object.XFAObjectArray(); } } -class Acrobat7 extends XFAObject { +class Acrobat7 extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "acrobat7", true); this.dynamicRender = null; } } -class ADBE_JSConsole extends OptionObject { +class ADBE_JSConsole extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "ADBE_JSConsole", ["delegate", "Enable", "Disable"]); } } -class ADBE_JSDebugger extends OptionObject { +class ADBE_JSDebugger extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "ADBE_JSDebugger", ["delegate", "Enable", "Disable"]); } } -class AddSilentPrint extends Option01 { +class AddSilentPrint extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "addSilentPrint"); } } -class AddViewerPreferences extends Option01 { +class AddViewerPreferences extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "addViewerPreferences"); } } -class AdjustData extends Option10 { +class AdjustData extends _xfa_object.Option10 { constructor(attributes) { super(CONFIG_NS_ID, "adjustData"); } } -class AdobeExtensionLevel extends IntegerObject { +class AdobeExtensionLevel extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "adobeExtensionLevel", 0, n => n >= 1 && n <= 8); } } -class Agent extends XFAObject { +class Agent extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "agent", true); this.name = attributes.name ? attributes.name.trim() : ""; - this.common = new XFAObjectArray(); + this.common = new _xfa_object.XFAObjectArray(); } } -class AlwaysEmbed extends ContentObject { +class AlwaysEmbed extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "alwaysEmbed"); } } -class Amd extends StringObject { +class Amd extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "amd"); } } -class config_Area extends XFAObject { +class Area extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "area"); - this.level = getInteger({ + this.level = (0, _utils.getInteger)({ data: attributes.level, defaultValue: 0, validate: n => n >= 1 && n <= 3 }); - this.name = getStringOption(attributes.name, ["", "barcode", "coreinit", "deviceDriver", "font", "general", "layout", "merge", "script", "signature", "sourceSet", "templateCache"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["", "barcode", "coreinit", "deviceDriver", "font", "general", "layout", "merge", "script", "signature", "sourceSet", "templateCache"]); } } -class Attributes extends OptionObject { +class Attributes extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "attributes", ["preserve", "delegate", "ignore"]); } } -class AutoSave extends OptionObject { +class AutoSave extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "autoSave", ["disabled", "enabled"]); } } -class Base extends StringObject { +class Base extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "base"); } } -class BatchOutput extends XFAObject { +class BatchOutput extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "batchOutput"); - this.format = getStringOption(attributes.format, ["none", "concat", "zip", "zipCompress"]); + this.format = (0, _utils.getStringOption)(attributes.format, ["none", "concat", "zip", "zipCompress"]); } } -class BehaviorOverride extends ContentObject { +class BehaviorOverride extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "behaviorOverride"); } - [$finalize]() { - this[$content] = new Map(this[$content].trim().split(/\s+/).filter(x => x.includes(":")).map(x => x.split(":", 2))); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = new Map(this[_symbol_utils.$content].trim().split(/\s+/).filter(x => x.includes(":")).map(x => x.split(":", 2))); } } -class Cache extends XFAObject { +class Cache extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "cache", true); this.templateCache = null; } } -class Change extends Option01 { +class Change extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "change"); } } -class Common extends XFAObject { +class Common extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "common", true); this.data = null; @@ -51484,26 +54826,26 @@ class Common extends XFAObject { this.template = null; this.validationMessaging = null; this.versionControl = null; - this.log = new XFAObjectArray(); + this.log = new _xfa_object.XFAObjectArray(); } } -class Compress extends XFAObject { +class Compress extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "compress"); - this.scope = getStringOption(attributes.scope, ["imageOnly", "document"]); + this.scope = (0, _utils.getStringOption)(attributes.scope, ["imageOnly", "document"]); } } -class CompressLogicalStructure extends Option01 { +class CompressLogicalStructure extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "compressLogicalStructure"); } } -class CompressObjectStream extends Option10 { +class CompressObjectStream extends _xfa_object.Option10 { constructor(attributes) { super(CONFIG_NS_ID, "compressObjectStream"); } } -class Compression extends XFAObject { +class Compression extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "compression", true); this.compressLogicalStructure = null; @@ -51512,41 +54854,41 @@ class Compression extends XFAObject { this.type = null; } } -class Config extends XFAObject { +class Config extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "config", true); this.acrobat = null; this.present = null; this.trace = null; - this.agent = new XFAObjectArray(); + this.agent = new _xfa_object.XFAObjectArray(); } } -class Conformance extends OptionObject { +class Conformance extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "conformance", ["A", "B"]); } } -class ContentCopy extends Option01 { +class ContentCopy extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "contentCopy"); } } -class Copies extends IntegerObject { +class Copies extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "copies", 1, n => n >= 1); } } -class Creator extends StringObject { +class Creator extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "creator"); } } -class CurrentPage extends IntegerObject { +class CurrentPage extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "currentPage", 0, n => n >= 0); } } -class Data extends XFAObject { +class Data extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "data", true); this.adjustData = null; @@ -51559,33 +54901,33 @@ class Data extends XFAObject { this.uri = null; this.window = null; this.xsl = null; - this.excludeNS = new XFAObjectArray(); - this.transform = new XFAObjectArray(); + this.excludeNS = new _xfa_object.XFAObjectArray(); + this.transform = new _xfa_object.XFAObjectArray(); } } -class Debug extends XFAObject { +class Debug extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "debug", true); this.uri = null; } } -class DefaultTypeface extends ContentObject { +class DefaultTypeface extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "defaultTypeface"); - this.writingScript = getStringOption(attributes.writingScript, ["*", "Arabic", "Cyrillic", "EastEuropeanRoman", "Greek", "Hebrew", "Japanese", "Korean", "Roman", "SimplifiedChinese", "Thai", "TraditionalChinese", "Vietnamese"]); + this.writingScript = (0, _utils.getStringOption)(attributes.writingScript, ["*", "Arabic", "Cyrillic", "EastEuropeanRoman", "Greek", "Hebrew", "Japanese", "Korean", "Roman", "SimplifiedChinese", "Thai", "TraditionalChinese", "Vietnamese"]); } } -class Destination extends OptionObject { +class Destination extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "destination", ["pdf", "pcl", "ps", "webClient", "zpl"]); } } -class DocumentAssembly extends Option01 { +class DocumentAssembly extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "documentAssembly"); } } -class Driver extends XFAObject { +class Driver extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "driver", true); this.name = attributes.name ? attributes.name.trim() : ""; @@ -51593,27 +54935,27 @@ class Driver extends XFAObject { this.xdc = null; } } -class DuplexOption extends OptionObject { +class DuplexOption extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "duplexOption", ["simplex", "duplexFlipLongEdge", "duplexFlipShortEdge"]); } } -class DynamicRender extends OptionObject { +class DynamicRender extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "dynamicRender", ["forbidden", "required"]); } } -class Embed extends Option01 { +class Embed extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "embed"); } } -class config_Encrypt extends Option01 { +class Encrypt extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "encrypt"); } } -class config_Encryption extends XFAObject { +class Encryption extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "encryption", true); this.encrypt = null; @@ -51621,20 +54963,20 @@ class config_Encryption extends XFAObject { this.permissions = null; } } -class EncryptionLevel extends OptionObject { +class EncryptionLevel extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "encryptionLevel", ["40bit", "128bit"]); } } -class Enforce extends StringObject { +class Enforce extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "enforce"); } } -class Equate extends XFAObject { +class Equate extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "equate"); - this.force = getInteger({ + this.force = (0, _utils.getInteger)({ data: attributes.force, defaultValue: 1, validate: n => n === 0 @@ -51643,7 +54985,7 @@ class Equate extends XFAObject { this.to = attributes.to || ""; } } -class EquateRange extends XFAObject { +class EquateRange extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "equateRange"); this.from = attributes.from || ""; @@ -51667,114 +55009,114 @@ class EquateRange extends XFAObject { } ranges.push(range); } - return shadow(this, "unicodeRange", ranges); + return (0, _util.shadow)(this, "unicodeRange", ranges); } } -class Exclude extends ContentObject { +class Exclude extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "exclude"); } - [$finalize]() { - this[$content] = this[$content].trim().split(/\s+/).filter(x => x && ["calculate", "close", "enter", "exit", "initialize", "ready", "validate"].includes(x)); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim().split(/\s+/).filter(x => x && ["calculate", "close", "enter", "exit", "initialize", "ready", "validate"].includes(x)); } } -class ExcludeNS extends StringObject { +class ExcludeNS extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "excludeNS"); } } -class FlipLabel extends OptionObject { +class FlipLabel extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "flipLabel", ["usePrinterSetting", "on", "off"]); } } -class config_FontInfo extends XFAObject { +class FontInfo extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "fontInfo", true); this.embed = null; this.map = null; this.subsetBelow = null; - this.alwaysEmbed = new XFAObjectArray(); - this.defaultTypeface = new XFAObjectArray(); - this.neverEmbed = new XFAObjectArray(); + this.alwaysEmbed = new _xfa_object.XFAObjectArray(); + this.defaultTypeface = new _xfa_object.XFAObjectArray(); + this.neverEmbed = new _xfa_object.XFAObjectArray(); } } -class FormFieldFilling extends Option01 { +class FormFieldFilling extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "formFieldFilling"); } } -class GroupParent extends StringObject { +class GroupParent extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "groupParent"); } } -class IfEmpty extends OptionObject { +class IfEmpty extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "ifEmpty", ["dataValue", "dataGroup", "ignore", "remove"]); } } -class IncludeXDPContent extends StringObject { +class IncludeXDPContent extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "includeXDPContent"); } } -class IncrementalLoad extends OptionObject { +class IncrementalLoad extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "incrementalLoad", ["none", "forwardOnly"]); } } -class IncrementalMerge extends Option01 { +class IncrementalMerge extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "incrementalMerge"); } } -class Interactive extends Option01 { +class Interactive extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "interactive"); } } -class Jog extends OptionObject { +class Jog extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "jog", ["usePrinterSetting", "none", "pageSet"]); } } -class LabelPrinter extends XFAObject { +class LabelPrinter extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "labelPrinter", true); - this.name = getStringOption(attributes.name, ["zpl", "dpl", "ipl", "tcpl"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["zpl", "dpl", "ipl", "tcpl"]); this.batchOutput = null; this.flipLabel = null; this.fontInfo = null; this.xdc = null; } } -class Layout extends OptionObject { +class Layout extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "layout", ["paginate", "panel"]); } } -class Level extends IntegerObject { +class Level extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "level", 0, n => n > 0); } } -class Linearized extends Option01 { +class Linearized extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "linearized"); } } -class Locale extends StringObject { +class Locale extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "locale"); } } -class LocaleSet extends StringObject { +class LocaleSet extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "localeSet"); } } -class Log extends XFAObject { +class Log extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "log", true); this.mode = null; @@ -51783,69 +55125,69 @@ class Log extends XFAObject { this.uri = null; } } -class MapElement extends XFAObject { +class MapElement extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "map", true); - this.equate = new XFAObjectArray(); - this.equateRange = new XFAObjectArray(); + this.equate = new _xfa_object.XFAObjectArray(); + this.equateRange = new _xfa_object.XFAObjectArray(); } } -class MediumInfo extends XFAObject { +class MediumInfo extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "mediumInfo", true); this.map = null; } } -class config_Message extends XFAObject { +class Message extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "message", true); this.msgId = null; this.severity = null; } } -class Messaging extends XFAObject { +class Messaging extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "messaging", true); - this.message = new XFAObjectArray(); + this.message = new _xfa_object.XFAObjectArray(); } } -class Mode extends OptionObject { +class Mode extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "mode", ["append", "overwrite"]); } } -class ModifyAnnots extends Option01 { +class ModifyAnnots extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "modifyAnnots"); } } -class MsgId extends IntegerObject { +class MsgId extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "msgId", 1, n => n >= 1); } } -class NameAttr extends StringObject { +class NameAttr extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "nameAttr"); } } -class NeverEmbed extends ContentObject { +class NeverEmbed extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "neverEmbed"); } } -class NumberOfCopies extends IntegerObject { +class NumberOfCopies extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "numberOfCopies", null, n => n >= 2 && n <= 5); } } -class OpenAction extends XFAObject { +class OpenAction extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "openAction", true); this.destination = null; } } -class Output extends XFAObject { +class Output extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "output", true); this.to = null; @@ -51853,77 +55195,77 @@ class Output extends XFAObject { this.uri = null; } } -class OutputBin extends StringObject { +class OutputBin extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "outputBin"); } } -class OutputXSL extends XFAObject { +class OutputXSL extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "outputXSL", true); this.uri = null; } } -class Overprint extends OptionObject { +class Overprint extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "overprint", ["none", "both", "draw", "field"]); } } -class Packets extends StringObject { +class Packets extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "packets"); } - [$finalize]() { - if (this[$content] === "*") { + [_symbol_utils.$finalize]() { + if (this[_symbol_utils.$content] === "*") { return; } - this[$content] = this[$content].trim().split(/\s+/).filter(x => ["config", "datasets", "template", "xfdf", "xslt"].includes(x)); + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim().split(/\s+/).filter(x => ["config", "datasets", "template", "xfdf", "xslt"].includes(x)); } } -class PageOffset extends XFAObject { +class PageOffset extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "pageOffset"); - this.x = getInteger({ + this.x = (0, _utils.getInteger)({ data: attributes.x, defaultValue: "useXDCSetting", validate: n => true }); - this.y = getInteger({ + this.y = (0, _utils.getInteger)({ data: attributes.y, defaultValue: "useXDCSetting", validate: n => true }); } } -class PageRange extends StringObject { +class PageRange extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "pageRange"); } - [$finalize]() { - const numbers = this[$content].trim().split(/\s+/).map(x => parseInt(x, 10)); + [_symbol_utils.$finalize]() { + const numbers = this[_symbol_utils.$content].trim().split(/\s+/).map(x => parseInt(x, 10)); const ranges = []; for (let i = 0, ii = numbers.length; i < ii; i += 2) { ranges.push(numbers.slice(i, i + 2)); } - this[$content] = ranges; + this[_symbol_utils.$content] = ranges; } } -class Pagination extends OptionObject { +class Pagination extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "pagination", ["simplex", "duplexShortEdge", "duplexLongEdge"]); } } -class PaginationOverride extends OptionObject { +class PaginationOverride extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "paginationOverride", ["none", "forceDuplex", "forceDuplexLongEdge", "forceDuplexShortEdge", "forceSimplex"]); } } -class Part extends IntegerObject { +class Part extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "part", 1, n => false); } } -class Pcl extends XFAObject { +class Pcl extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "pcl", true); this.name = attributes.name || ""; @@ -51937,7 +55279,7 @@ class Pcl extends XFAObject { this.xdc = null; } } -class Pdf extends XFAObject { +class Pdf extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "pdf", true); this.name = attributes.name || ""; @@ -51962,7 +55304,7 @@ class Pdf extends XFAObject { this.xdc = null; } } -class Pdfa extends XFAObject { +class Pdfa extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "pdfa", true); this.amd = null; @@ -51971,7 +55313,7 @@ class Pdfa extends XFAObject { this.part = null; } } -class Permissions extends XFAObject { +class Permissions extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "permissions", true); this.accessibleContent = null; @@ -51985,27 +55327,27 @@ class Permissions extends XFAObject { this.printHighQuality = null; } } -class PickTrayByPDFSize extends Option01 { +class PickTrayByPDFSize extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "pickTrayByPDFSize"); } } -class config_Picture extends StringObject { +class Picture extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "picture"); } } -class PlaintextMetadata extends Option01 { +class PlaintextMetadata extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "plaintextMetadata"); } } -class Presence extends OptionObject { +class Presence extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "presence", ["preserve", "dissolve", "dissolveStructure", "ignore", "remove"]); } } -class Present extends XFAObject { +class Present extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "present", true); this.behaviorOverride = null; @@ -52022,42 +55364,42 @@ class Present extends XFAObject { this.script = null; this.validate = null; this.xdp = null; - this.driver = new XFAObjectArray(); - this.labelPrinter = new XFAObjectArray(); - this.pcl = new XFAObjectArray(); - this.pdf = new XFAObjectArray(); - this.ps = new XFAObjectArray(); - this.submitUrl = new XFAObjectArray(); - this.webClient = new XFAObjectArray(); - this.zpl = new XFAObjectArray(); + this.driver = new _xfa_object.XFAObjectArray(); + this.labelPrinter = new _xfa_object.XFAObjectArray(); + this.pcl = new _xfa_object.XFAObjectArray(); + this.pdf = new _xfa_object.XFAObjectArray(); + this.ps = new _xfa_object.XFAObjectArray(); + this.submitUrl = new _xfa_object.XFAObjectArray(); + this.webClient = new _xfa_object.XFAObjectArray(); + this.zpl = new _xfa_object.XFAObjectArray(); } } -class Print extends Option01 { +class Print extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "print"); } } -class PrintHighQuality extends Option01 { +class PrintHighQuality extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "printHighQuality"); } } -class PrintScaling extends OptionObject { +class PrintScaling extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "printScaling", ["appdefault", "noScaling"]); } } -class PrinterName extends StringObject { +class PrinterName extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "printerName"); } } -class Producer extends StringObject { +class Producer extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "producer"); } } -class Ps extends XFAObject { +class Ps extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "ps", true); this.name = attributes.name || ""; @@ -52070,12 +55412,12 @@ class Ps extends XFAObject { this.xdc = null; } } -class Range extends ContentObject { +class Range extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "range"); } - [$finalize]() { - this[$content] = this[$content].trim().split(/\s*,\s*/, 2).map(range => range.split("-").map(x => parseInt(x.trim(), 10))).filter(range => range.every(x => !isNaN(x))).map(range => { + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim().split(/\s*,\s*/, 2).map(range => range.split("-").map(x => parseInt(x.trim(), 10))).filter(range => range.every(x => !isNaN(x))).map(range => { if (range.length === 1) { range.push(range[0]); } @@ -52083,48 +55425,48 @@ class Range extends ContentObject { }); } } -class Record extends ContentObject { +class Record extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "record"); } - [$finalize]() { - this[$content] = this[$content].trim(); - const n = parseInt(this[$content], 10); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim(); + const n = parseInt(this[_symbol_utils.$content], 10); if (!isNaN(n) && n >= 0) { - this[$content] = n; + this[_symbol_utils.$content] = n; } } } -class Relevant extends ContentObject { +class Relevant extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "relevant"); } - [$finalize]() { - this[$content] = this[$content].trim().split(/\s+/); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim().split(/\s+/); } } -class Rename extends ContentObject { +class Rename extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "rename"); } - [$finalize]() { - this[$content] = this[$content].trim(); - if (this[$content].toLowerCase().startsWith("xml") || new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*", "u").test(this[$content])) { - warn("XFA - Rename: invalid XFA name"); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim(); + if (this[_symbol_utils.$content].toLowerCase().startsWith("xml") || new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*", "u").test(this[_symbol_utils.$content])) { + (0, _util.warn)("XFA - Rename: invalid XFA name"); } } } -class RenderPolicy extends OptionObject { +class RenderPolicy extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "renderPolicy", ["server", "client"]); } } -class RunScripts extends OptionObject { +class RunScripts extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "runScripts", ["both", "client", "none", "server"]); } } -class config_Script extends XFAObject { +class Script extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "script", true); this.currentPage = null; @@ -52132,65 +55474,65 @@ class config_Script extends XFAObject { this.runScripts = null; } } -class ScriptModel extends OptionObject { +class ScriptModel extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "scriptModel", ["XFA", "none"]); } } -class Severity extends OptionObject { +class Severity extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "severity", ["ignore", "error", "information", "trace", "warning"]); } } -class SilentPrint extends XFAObject { +class SilentPrint extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "silentPrint", true); this.addSilentPrint = null; this.printerName = null; } } -class Staple extends XFAObject { +class Staple extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "staple"); - this.mode = getStringOption(attributes.mode, ["usePrinterSetting", "on", "off"]); + this.mode = (0, _utils.getStringOption)(attributes.mode, ["usePrinterSetting", "on", "off"]); } } -class StartNode extends StringObject { +class StartNode extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "startNode"); } } -class StartPage extends IntegerObject { +class StartPage extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "startPage", 0, n => true); } } -class SubmitFormat extends OptionObject { +class SubmitFormat extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "submitFormat", ["html", "delegate", "fdf", "xml", "pdf"]); } } -class SubmitUrl extends StringObject { +class SubmitUrl extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "submitUrl"); } } -class SubsetBelow extends IntegerObject { +class SubsetBelow extends _xfa_object.IntegerObject { constructor(attributes) { super(CONFIG_NS_ID, "subsetBelow", 100, n => n >= 0 && n <= 100); } } -class SuppressBanner extends Option01 { +class SuppressBanner extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "suppressBanner"); } } -class Tagged extends Option01 { +class Tagged extends _xfa_object.Option01 { constructor(attributes) { super(CONFIG_NS_ID, "tagged"); } } -class config_Template extends XFAObject { +class Template extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "template", true); this.base = null; @@ -52200,33 +55542,33 @@ class config_Template extends XFAObject { this.xsl = null; } } -class Threshold extends OptionObject { +class Threshold extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "threshold", ["trace", "error", "information", "warning"]); } } -class To extends OptionObject { +class To extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "to", ["null", "memory", "stderr", "stdout", "system", "uri"]); } } -class TemplateCache extends XFAObject { +class TemplateCache extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "templateCache"); - this.maxEntries = getInteger({ + this.maxEntries = (0, _utils.getInteger)({ data: attributes.maxEntries, defaultValue: 5, validate: n => n >= 0 }); } } -class Trace extends XFAObject { +class Trace extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "trace", true); - this.area = new XFAObjectArray(); + this.area = new _xfa_object.XFAObjectArray(); } } -class Transform extends XFAObject { +class Transform extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "transform", true); this.groupParent = null; @@ -52238,48 +55580,48 @@ class Transform extends XFAObject { this.whitespace = null; } } -class Type extends OptionObject { +class Type extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "type", ["none", "ascii85", "asciiHex", "ccittfax", "flate", "lzw", "runLength", "native", "xdp", "mergedXDP"]); } } -class Uri extends StringObject { +class Uri extends _xfa_object.StringObject { constructor(attributes) { super(CONFIG_NS_ID, "uri"); } } -class config_Validate extends OptionObject { +class Validate extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "validate", ["preSubmit", "prePrint", "preExecute", "preSave"]); } } -class ValidateApprovalSignatures extends ContentObject { +class ValidateApprovalSignatures extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "validateApprovalSignatures"); } - [$finalize]() { - this[$content] = this[$content].trim().split(/\s+/).filter(x => ["docReady", "postSign"].includes(x)); + [_symbol_utils.$finalize]() { + this[_symbol_utils.$content] = this[_symbol_utils.$content].trim().split(/\s+/).filter(x => ["docReady", "postSign"].includes(x)); } } -class ValidationMessaging extends OptionObject { +class ValidationMessaging extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "validationMessaging", ["allMessagesIndividually", "allMessagesTogether", "firstMessageOnly", "noMessages"]); } } -class Version extends OptionObject { +class Version extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "version", ["1.7", "1.6", "1.5", "1.4", "1.3", "1.2"]); } } -class VersionControl extends XFAObject { +class VersionControl extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "VersionControl"); - this.outputBelow = getStringOption(attributes.outputBelow, ["warn", "error", "update"]); - this.sourceAbove = getStringOption(attributes.sourceAbove, ["warn", "error"]); - this.sourceBelow = getStringOption(attributes.sourceBelow, ["update", "maintain"]); + this.outputBelow = (0, _utils.getStringOption)(attributes.outputBelow, ["warn", "error", "update"]); + this.sourceAbove = (0, _utils.getStringOption)(attributes.sourceAbove, ["warn", "error"]); + this.sourceBelow = (0, _utils.getStringOption)(attributes.sourceBelow, ["update", "maintain"]); } } -class ViewerPreferences extends XFAObject { +class ViewerPreferences extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "viewerPreferences", true); this.ADBE_JSConsole = null; @@ -52293,7 +55635,7 @@ class ViewerPreferences extends XFAObject { this.printScaling = null; } } -class WebClient extends XFAObject { +class WebClient extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "webClient", true); this.name = attributes.name ? attributes.name.trim() : ""; @@ -52301,48 +55643,48 @@ class WebClient extends XFAObject { this.xdc = null; } } -class Whitespace extends OptionObject { +class Whitespace extends _xfa_object.OptionObject { constructor(attributes) { super(CONFIG_NS_ID, "whitespace", ["preserve", "ltrim", "normalize", "rtrim", "trim"]); } } -class Window extends ContentObject { +class Window extends _xfa_object.ContentObject { constructor(attributes) { super(CONFIG_NS_ID, "window"); } - [$finalize]() { - const pair = this[$content].trim().split(/\s*,\s*/, 2).map(x => parseInt(x, 10)); + [_symbol_utils.$finalize]() { + const pair = this[_symbol_utils.$content].trim().split(/\s*,\s*/, 2).map(x => parseInt(x, 10)); if (pair.some(x => isNaN(x))) { - this[$content] = [0, 0]; + this[_symbol_utils.$content] = [0, 0]; return; } if (pair.length === 1) { pair.push(pair[0]); } - this[$content] = pair; + this[_symbol_utils.$content] = pair; } } -class Xdc extends XFAObject { +class Xdc extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "xdc", true); - this.uri = new XFAObjectArray(); - this.xsl = new XFAObjectArray(); + this.uri = new _xfa_object.XFAObjectArray(); + this.xsl = new _xfa_object.XFAObjectArray(); } } -class Xdp extends XFAObject { +class Xdp extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "xdp", true); this.packets = null; } } -class Xsl extends XFAObject { +class Xsl extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "xsl", true); this.debug = null; this.uri = null; } } -class Zpl extends XFAObject { +class Zpl extends _xfa_object.XFAObject { constructor(attributes) { super(CONFIG_NS_ID, "zpl", true); this.name = attributes.name ? attributes.name.trim() : ""; @@ -52353,7 +55695,7 @@ class Zpl extends XFAObject { } } class ConfigNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (ConfigNamespace.hasOwnProperty(name)) { return ConfigNamespace[name](attributes); } @@ -52393,7 +55735,7 @@ class ConfigNamespace { return new Amd(attrs); } static area(attrs) { - return new config_Area(attrs); + return new Area(attrs); } static attributes(attrs) { return new Attributes(attrs); @@ -52477,10 +55819,10 @@ class ConfigNamespace { return new Embed(attrs); } static encrypt(attrs) { - return new config_Encrypt(attrs); + return new Encrypt(attrs); } static encryption(attrs) { - return new config_Encryption(attrs); + return new Encryption(attrs); } static encryptionLevel(attrs) { return new EncryptionLevel(attrs); @@ -52504,7 +55846,7 @@ class ConfigNamespace { return new FlipLabel(attrs); } static fontInfo(attrs) { - return new config_FontInfo(attrs); + return new FontInfo(attrs); } static formFieldFilling(attrs) { return new FormFieldFilling(attrs); @@ -52558,7 +55900,7 @@ class ConfigNamespace { return new MediumInfo(attrs); } static message(attrs) { - return new config_Message(attrs); + return new Message(attrs); } static messaging(attrs) { return new Messaging(attrs); @@ -52630,7 +55972,7 @@ class ConfigNamespace { return new PickTrayByPDFSize(attrs); } static picture(attrs) { - return new config_Picture(attrs); + return new Picture(attrs); } static plaintextMetadata(attrs) { return new PlaintextMetadata(attrs); @@ -52678,7 +56020,7 @@ class ConfigNamespace { return new RunScripts(attrs); } static script(attrs) { - return new config_Script(attrs); + return new Script(attrs); } static scriptModel(attrs) { return new ScriptModel(attrs); @@ -52714,7 +56056,7 @@ class ConfigNamespace { return new Tagged(attrs); } static template(attrs) { - return new config_Template(attrs); + return new Template(attrs); } static templateCache(attrs) { return new TemplateCache(attrs); @@ -52738,7 +56080,7 @@ class ConfigNamespace { return new Uri(attrs); } static validate(attrs) { - return new config_Validate(attrs); + return new Validate(attrs); } static validateApprovalSignatures(attrs) { return new ValidateApprovalSignatures(attrs); @@ -52777,20 +56119,30 @@ class ConfigNamespace { return new Zpl(attrs); } } +exports.ConfigNamespace = ConfigNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/connection_set.js +/***/ }), +/* 94 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const CONNECTION_SET_NS_ID = NamespaceIds.connectionSet.id; -class ConnectionSet extends XFAObject { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ConnectionSetNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); +const CONNECTION_SET_NS_ID = _namespaces.NamespaceIds.connectionSet.id; +class ConnectionSet extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "connectionSet", true); - this.wsdlConnection = new XFAObjectArray(); - this.xmlConnection = new XFAObjectArray(); - this.xsdConnection = new XFAObjectArray(); + this.wsdlConnection = new _xfa_object.XFAObjectArray(); + this.xmlConnection = new _xfa_object.XFAObjectArray(); + this.xsdConnection = new _xfa_object.XFAObjectArray(); } } -class EffectiveInputPolicy extends XFAObject { +class EffectiveInputPolicy extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "effectiveInputPolicy"); this.id = attributes.id || ""; @@ -52799,7 +56151,7 @@ class EffectiveInputPolicy extends XFAObject { this.usehref = attributes.usehref || ""; } } -class EffectiveOutputPolicy extends XFAObject { +class EffectiveOutputPolicy extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "effectiveOutputPolicy"); this.id = attributes.id || ""; @@ -52808,7 +56160,7 @@ class EffectiveOutputPolicy extends XFAObject { this.usehref = attributes.usehref || ""; } } -class Operation extends StringObject { +class Operation extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "operation"); this.id = attributes.id || ""; @@ -52819,7 +56171,7 @@ class Operation extends StringObject { this.usehref = attributes.usehref || ""; } } -class RootElement extends StringObject { +class RootElement extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "rootElement"); this.id = attributes.id || ""; @@ -52828,7 +56180,7 @@ class RootElement extends StringObject { this.usehref = attributes.usehref || ""; } } -class SoapAction extends StringObject { +class SoapAction extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "soapAction"); this.id = attributes.id || ""; @@ -52837,7 +56189,7 @@ class SoapAction extends StringObject { this.usehref = attributes.usehref || ""; } } -class SoapAddress extends StringObject { +class SoapAddress extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "soapAddress"); this.id = attributes.id || ""; @@ -52846,7 +56198,7 @@ class SoapAddress extends StringObject { this.usehref = attributes.usehref || ""; } } -class connection_set_Uri extends StringObject { +class Uri extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "uri"); this.id = attributes.id || ""; @@ -52855,7 +56207,7 @@ class connection_set_Uri extends StringObject { this.usehref = attributes.usehref || ""; } } -class WsdlAddress extends StringObject { +class WsdlAddress extends _xfa_object.StringObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "wsdlAddress"); this.id = attributes.id || ""; @@ -52864,7 +56216,7 @@ class WsdlAddress extends StringObject { this.usehref = attributes.usehref || ""; } } -class WsdlConnection extends XFAObject { +class WsdlConnection extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "wsdlConnection", true); this.dataDescription = attributes.dataDescription || ""; @@ -52877,7 +56229,7 @@ class WsdlConnection extends XFAObject { this.wsdlAddress = null; } } -class XmlConnection extends XFAObject { +class XmlConnection extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "xmlConnection", true); this.dataDescription = attributes.dataDescription || ""; @@ -52885,7 +56237,7 @@ class XmlConnection extends XFAObject { this.uri = null; } } -class XsdConnection extends XFAObject { +class XsdConnection extends _xfa_object.XFAObject { constructor(attributes) { super(CONNECTION_SET_NS_ID, "xsdConnection", true); this.dataDescription = attributes.dataDescription || ""; @@ -52895,7 +56247,7 @@ class XsdConnection extends XFAObject { } } class ConnectionSetNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (ConnectionSetNamespace.hasOwnProperty(name)) { return ConnectionSetNamespace[name](attributes); } @@ -52923,7 +56275,7 @@ class ConnectionSetNamespace { return new SoapAddress(attrs); } static uri(attrs) { - return new connection_set_Uri(attrs); + return new Uri(attrs); } static wsdlAddress(attrs) { return new WsdlAddress(attrs); @@ -52938,36 +56290,46 @@ class ConnectionSetNamespace { return new XsdConnection(attrs); } } +exports.ConnectionSetNamespace = ConnectionSetNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/datasets.js +/***/ }), +/* 95 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const DATASETS_NS_ID = NamespaceIds.datasets.id; -class datasets_Data extends XmlObject { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.DatasetsNamespace = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); +const DATASETS_NS_ID = _namespaces.NamespaceIds.datasets.id; +class Data extends _xfa_object.XmlObject { constructor(attributes) { super(DATASETS_NS_ID, "data", attributes); } - [$isNsAgnostic]() { + [_symbol_utils.$isNsAgnostic]() { return true; } } -class Datasets extends XFAObject { +class Datasets extends _xfa_object.XFAObject { constructor(attributes) { super(DATASETS_NS_ID, "datasets", true); this.data = null; this.Signature = null; } - [$onChild](child) { - const name = child[$nodeName]; - if (name === "data" && child[$namespaceId] === DATASETS_NS_ID || name === "Signature" && child[$namespaceId] === NamespaceIds.signature.id) { + [_symbol_utils.$onChild](child) { + const name = child[_symbol_utils.$nodeName]; + if (name === "data" && child[_symbol_utils.$namespaceId] === DATASETS_NS_ID || name === "Signature" && child[_symbol_utils.$namespaceId] === _namespaces.NamespaceIds.signature.id) { this[name] = child; } - this[$appendChild](child); + this[_symbol_utils.$appendChild](child); } } class DatasetsNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (DatasetsNamespace.hasOwnProperty(name)) { return DatasetsNamespace[name](attributes); } @@ -52977,82 +56339,92 @@ class DatasetsNamespace { return new Datasets(attributes); } static data(attributes) { - return new datasets_Data(attributes); + return new Data(attributes); } } +exports.DatasetsNamespace = DatasetsNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/locale_set.js +/***/ }), +/* 96 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const LOCALE_SET_NS_ID = NamespaceIds.localeSet.id; -class CalendarSymbols extends XFAObject { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.LocaleSetNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); +var _utils = __w_pdfjs_require__(84); +const LOCALE_SET_NS_ID = _namespaces.NamespaceIds.localeSet.id; +class CalendarSymbols extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "calendarSymbols", true); this.name = "gregorian"; - this.dayNames = new XFAObjectArray(2); + this.dayNames = new _xfa_object.XFAObjectArray(2); this.eraNames = null; this.meridiemNames = null; - this.monthNames = new XFAObjectArray(2); + this.monthNames = new _xfa_object.XFAObjectArray(2); } } -class CurrencySymbol extends StringObject { +class CurrencySymbol extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "currencySymbol"); - this.name = getStringOption(attributes.name, ["symbol", "isoname", "decimal"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["symbol", "isoname", "decimal"]); } } -class CurrencySymbols extends XFAObject { +class CurrencySymbols extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "currencySymbols", true); - this.currencySymbol = new XFAObjectArray(3); + this.currencySymbol = new _xfa_object.XFAObjectArray(3); } } -class DatePattern extends StringObject { +class DatePattern extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "datePattern"); - this.name = getStringOption(attributes.name, ["full", "long", "med", "short"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["full", "long", "med", "short"]); } } -class DatePatterns extends XFAObject { +class DatePatterns extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "datePatterns", true); - this.datePattern = new XFAObjectArray(4); + this.datePattern = new _xfa_object.XFAObjectArray(4); } } -class DateTimeSymbols extends ContentObject { +class DateTimeSymbols extends _xfa_object.ContentObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "dateTimeSymbols"); } } -class Day extends StringObject { +class Day extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "day"); } } -class DayNames extends XFAObject { +class DayNames extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "dayNames", true); - this.abbr = getInteger({ + this.abbr = (0, _utils.getInteger)({ data: attributes.abbr, defaultValue: 0, validate: x => x === 1 }); - this.day = new XFAObjectArray(7); + this.day = new _xfa_object.XFAObjectArray(7); } } -class Era extends StringObject { +class Era extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "era"); } } -class EraNames extends XFAObject { +class EraNames extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "eraNames", true); - this.era = new XFAObjectArray(2); + this.era = new _xfa_object.XFAObjectArray(2); } } -class locale_set_Locale extends XFAObject { +class Locale extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "locale", true); this.desc = attributes.desc || ""; @@ -53067,89 +56439,89 @@ class locale_set_Locale extends XFAObject { this.typeFaces = null; } } -class locale_set_LocaleSet extends XFAObject { +class LocaleSet extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "localeSet", true); - this.locale = new XFAObjectArray(); + this.locale = new _xfa_object.XFAObjectArray(); } } -class Meridiem extends StringObject { +class Meridiem extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "meridiem"); } } -class MeridiemNames extends XFAObject { +class MeridiemNames extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "meridiemNames", true); - this.meridiem = new XFAObjectArray(2); + this.meridiem = new _xfa_object.XFAObjectArray(2); } } -class Month extends StringObject { +class Month extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "month"); } } -class MonthNames extends XFAObject { +class MonthNames extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "monthNames", true); - this.abbr = getInteger({ + this.abbr = (0, _utils.getInteger)({ data: attributes.abbr, defaultValue: 0, validate: x => x === 1 }); - this.month = new XFAObjectArray(12); + this.month = new _xfa_object.XFAObjectArray(12); } } -class NumberPattern extends StringObject { +class NumberPattern extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "numberPattern"); - this.name = getStringOption(attributes.name, ["full", "long", "med", "short"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["full", "long", "med", "short"]); } } -class NumberPatterns extends XFAObject { +class NumberPatterns extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "numberPatterns", true); - this.numberPattern = new XFAObjectArray(4); + this.numberPattern = new _xfa_object.XFAObjectArray(4); } } -class NumberSymbol extends StringObject { +class NumberSymbol extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "numberSymbol"); - this.name = getStringOption(attributes.name, ["decimal", "grouping", "percent", "minus", "zero"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["decimal", "grouping", "percent", "minus", "zero"]); } } -class NumberSymbols extends XFAObject { +class NumberSymbols extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "numberSymbols", true); - this.numberSymbol = new XFAObjectArray(5); + this.numberSymbol = new _xfa_object.XFAObjectArray(5); } } -class TimePattern extends StringObject { +class TimePattern extends _xfa_object.StringObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "timePattern"); - this.name = getStringOption(attributes.name, ["full", "long", "med", "short"]); + this.name = (0, _utils.getStringOption)(attributes.name, ["full", "long", "med", "short"]); } } -class TimePatterns extends XFAObject { +class TimePatterns extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "timePatterns", true); - this.timePattern = new XFAObjectArray(4); + this.timePattern = new _xfa_object.XFAObjectArray(4); } } -class TypeFace extends XFAObject { +class TypeFace extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "typeFace", true); this.name = attributes.name | ""; } } -class TypeFaces extends XFAObject { +class TypeFaces extends _xfa_object.XFAObject { constructor(attributes) { super(LOCALE_SET_NS_ID, "typeFaces", true); - this.typeFace = new XFAObjectArray(); + this.typeFace = new _xfa_object.XFAObjectArray(); } } class LocaleSetNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (LocaleSetNamespace.hasOwnProperty(name)) { return LocaleSetNamespace[name](attributes); } @@ -53186,10 +56558,10 @@ class LocaleSetNamespace { return new EraNames(attrs); } static locale(attrs) { - return new locale_set_Locale(attrs); + return new Locale(attrs); } static localeSet(attrs) { - return new locale_set_LocaleSet(attrs); + return new LocaleSet(attrs); } static meridiem(attrs) { return new Meridiem(attrs); @@ -53228,39 +56600,59 @@ class LocaleSetNamespace { return new TypeFaces(attrs); } } +exports.LocaleSetNamespace = LocaleSetNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/signature.js +/***/ }), +/* 97 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const SIGNATURE_NS_ID = NamespaceIds.signature.id; -class signature_Signature extends XFAObject { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SignatureNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); +const SIGNATURE_NS_ID = _namespaces.NamespaceIds.signature.id; +class Signature extends _xfa_object.XFAObject { constructor(attributes) { super(SIGNATURE_NS_ID, "signature", true); } } class SignatureNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (SignatureNamespace.hasOwnProperty(name)) { return SignatureNamespace[name](attributes); } return undefined; } static signature(attributes) { - return new signature_Signature(attributes); + return new Signature(attributes); } } +exports.SignatureNamespace = SignatureNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/stylesheet.js +/***/ }), +/* 98 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const STYLESHEET_NS_ID = NamespaceIds.stylesheet.id; -class Stylesheet extends XFAObject { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StylesheetNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); +const STYLESHEET_NS_ID = _namespaces.NamespaceIds.stylesheet.id; +class Stylesheet extends _xfa_object.XFAObject { constructor(attributes) { super(STYLESHEET_NS_ID, "stylesheet", true); } } class StylesheetNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (StylesheetNamespace.hasOwnProperty(name)) { return StylesheetNamespace[name](attributes); } @@ -53270,13 +56662,23 @@ class StylesheetNamespace { return new Stylesheet(attributes); } } +exports.StylesheetNamespace = StylesheetNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/xdp.js +/***/ }), +/* 99 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { -const XDP_NS_ID = NamespaceIds.xdp.id; -class xdp_Xdp extends XFAObject { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XdpNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _symbol_utils = __w_pdfjs_require__(78); +var _xfa_object = __w_pdfjs_require__(87); +const XDP_NS_ID = _namespaces.NamespaceIds.xdp.id; +class Xdp extends _xfa_object.XFAObject { constructor(attributes) { super(XDP_NS_ID, "xdp", true); this.uuid = attributes.uuid || ""; @@ -53285,49 +56687,49 @@ class xdp_Xdp extends XFAObject { this.connectionSet = null; this.datasets = null; this.localeSet = null; - this.stylesheet = new XFAObjectArray(); + this.stylesheet = new _xfa_object.XFAObjectArray(); this.template = null; } - [$onChildCheck](child) { - const ns = NamespaceIds[child[$nodeName]]; - return ns && child[$namespaceId] === ns.id; + [_symbol_utils.$onChildCheck](child) { + const ns = _namespaces.NamespaceIds[child[_symbol_utils.$nodeName]]; + return ns && child[_symbol_utils.$namespaceId] === ns.id; } } class XdpNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (XdpNamespace.hasOwnProperty(name)) { return XdpNamespace[name](attributes); } return undefined; } static xdp(attributes) { - return new xdp_Xdp(attributes); + return new Xdp(attributes); } } +exports.XdpNamespace = XdpNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/xhtml.js +/***/ }), +/* 100 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - -const XHTML_NS_ID = NamespaceIds.xhtml.id; +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XhtmlNamespace = void 0; +var _symbol_utils = __w_pdfjs_require__(78); +var _namespaces = __w_pdfjs_require__(81); +var _html_utils = __w_pdfjs_require__(83); +var _utils = __w_pdfjs_require__(84); +var _xfa_object = __w_pdfjs_require__(87); +const XHTML_NS_ID = _namespaces.NamespaceIds.xhtml.id; const $richText = Symbol(); const VALID_STYLES = new Set(["color", "font", "font-family", "font-size", "font-stretch", "font-style", "font-weight", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "letter-spacing", "line-height", "orphans", "page-break-after", "page-break-before", "page-break-inside", "tab-interval", "tab-stop", "text-align", "text-decoration", "text-indent", "vertical-align", "widows", "kerning-mode", "xfa-font-horizontal-scale", "xfa-font-vertical-scale", "xfa-spacerun", "xfa-tab-stops"]); const StyleMapping = new Map([["page-break-after", "breakAfter"], ["page-break-before", "breakBefore"], ["page-break-inside", "breakInside"], ["kerning-mode", value => value === "none" ? "none" : "normal"], ["xfa-font-horizontal-scale", value => `scaleX(${Math.max(0, Math.min(parseInt(value) / 100)).toFixed(2)})`], ["xfa-font-vertical-scale", value => `scaleY(${Math.max(0, Math.min(parseInt(value) / 100)).toFixed(2)})`], ["xfa-spacerun", ""], ["xfa-tab-stops", ""], ["font-size", (value, original) => { - value = original.fontSize = getMeasurement(value); - return measureToString(0.99 * value); -}], ["letter-spacing", value => measureToString(getMeasurement(value))], ["line-height", value => measureToString(getMeasurement(value))], ["margin", value => measureToString(getMeasurement(value))], ["margin-bottom", value => measureToString(getMeasurement(value))], ["margin-left", value => measureToString(getMeasurement(value))], ["margin-right", value => measureToString(getMeasurement(value))], ["margin-top", value => measureToString(getMeasurement(value))], ["text-indent", value => measureToString(getMeasurement(value))], ["font-family", value => value], ["vertical-align", value => measureToString(getMeasurement(value))]]); + value = original.fontSize = (0, _utils.getMeasurement)(value); + return (0, _html_utils.measureToString)(0.99 * value); +}], ["letter-spacing", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["line-height", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin-bottom", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin-left", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin-right", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["margin-top", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["text-indent", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))], ["font-family", value => value], ["vertical-align", value => (0, _html_utils.measureToString)((0, _utils.getMeasurement)(value))]]); const spacesRegExp = /\s+/g; const crlfRegExp = /[\r\n]+/g; const crlfForRichTextRegExp = /\r\n?/g; @@ -53344,33 +56746,41 @@ function mapStyle(styleStr, node, richText) { } let newValue = value; if (mapping) { - newValue = typeof mapping === "string" ? mapping : mapping(value, original); + if (typeof mapping === "string") { + newValue = mapping; + } else { + newValue = mapping(value, original); + } } if (key.endsWith("scale")) { - style.transform = style.transform ? `${style[key]} ${newValue}` : newValue; + if (style.transform) { + style.transform = `${style[key]} ${newValue}`; + } else { + style.transform = newValue; + } } else { style[key.replaceAll(/-([a-zA-Z])/g, (_, x) => x.toUpperCase())] = newValue; } } if (style.fontFamily) { - setFontFamily({ + (0, _html_utils.setFontFamily)({ typeface: style.fontFamily, weight: style.fontWeight || "normal", posture: style.fontStyle || "normal", size: original.fontSize || 0 - }, node, node[$globalData].fontFinder, style); + }, node, node[_symbol_utils.$globalData].fontFinder, style); } if (richText && style.verticalAlign && style.verticalAlign !== "0px" && style.fontSize) { const SUB_SUPER_SCRIPT_FACTOR = 0.583; const VERTICAL_FACTOR = 0.333; - const fontSize = getMeasurement(style.fontSize); - style.fontSize = measureToString(fontSize * SUB_SUPER_SCRIPT_FACTOR); - style.verticalAlign = measureToString(Math.sign(getMeasurement(style.verticalAlign)) * fontSize * VERTICAL_FACTOR); + const fontSize = (0, _utils.getMeasurement)(style.fontSize); + style.fontSize = (0, _html_utils.measureToString)(fontSize * SUB_SUPER_SCRIPT_FACTOR); + style.verticalAlign = (0, _html_utils.measureToString)(Math.sign((0, _utils.getMeasurement)(style.verticalAlign)) * fontSize * VERTICAL_FACTOR); } if (richText && style.fontSize) { style.fontSize = `calc(${style.fontSize} * var(--scale-factor))`; } - fixTextIndent(style); + (0, _html_utils.fixTextIndent)(style); return style; } function checkStyle(node) { @@ -53379,26 +56789,26 @@ function checkStyle(node) { } return node.style.trim().split(/\s*;\s*/).filter(s => !!s).map(s => s.split(/\s*:\s*/, 2)).filter(([key, value]) => { if (key === "font-family") { - node[$globalData].usedTypefaces.add(value); + node[_symbol_utils.$globalData].usedTypefaces.add(value); } return VALID_STYLES.has(key); }).map(kv => kv.join(":")).join(";"); } const NoWhites = new Set(["body", "html"]); -class XhtmlObject extends XmlObject { +class XhtmlObject extends _xfa_object.XmlObject { constructor(attributes, name) { super(XHTML_NS_ID, name); this[$richText] = false; this.style = attributes.style || ""; } - [$clean](builder) { - super[$clean](builder); + [_symbol_utils.$clean](builder) { + super[_symbol_utils.$clean](builder); this.style = checkStyle(this); } - [$acceptWhitespace]() { - return !NoWhites.has(this[$nodeName]); + [_symbol_utils.$acceptWhitespace]() { + return !NoWhites.has(this[_symbol_utils.$nodeName]); } - [$onText](str, richText = false) { + [_symbol_utils.$onText](str, richText = false) { if (!richText) { str = str.replaceAll(crlfRegExp, ""); if (!this.style.includes("xfa-spacerun:yes")) { @@ -53408,10 +56818,10 @@ class XhtmlObject extends XmlObject { this[$richText] = true; } if (str) { - this[$content] += str; + this[_symbol_utils.$content] += str; } } - [$pushGlyphs](measure, mustPop = true) { + [_symbol_utils.$pushGlyphs](measure, mustPop = true) { const xfaFont = Object.create(null); const margin = { top: NaN, @@ -53423,10 +56833,10 @@ class XhtmlObject extends XmlObject { for (const [key, value] of this.style.split(";").map(s => s.split(":", 2))) { switch (key) { case "font-family": - xfaFont.typeface = stripQuotes(value); + xfaFont.typeface = (0, _utils.stripQuotes)(value); break; case "font-size": - xfaFont.size = getMeasurement(value); + xfaFont.size = (0, _utils.getMeasurement)(value); break; case "font-weight": xfaFont.weight = value; @@ -53435,10 +56845,10 @@ class XhtmlObject extends XmlObject { xfaFont.posture = value; break; case "letter-spacing": - xfaFont.letterSpacing = getMeasurement(value); + xfaFont.letterSpacing = (0, _utils.getMeasurement)(value); break; case "margin": - const values = value.split(/ \t/).map(x => getMeasurement(x)); + const values = value.split(/ \t/).map(x => (0, _utils.getMeasurement)(x)); switch (values.length) { case 1: margin.top = margin.bottom = margin.left = margin.right = values[0]; @@ -53461,55 +56871,55 @@ class XhtmlObject extends XmlObject { } break; case "margin-top": - margin.top = getMeasurement(value); + margin.top = (0, _utils.getMeasurement)(value); break; case "margin-bottom": - margin.bottom = getMeasurement(value); + margin.bottom = (0, _utils.getMeasurement)(value); break; case "margin-left": - margin.left = getMeasurement(value); + margin.left = (0, _utils.getMeasurement)(value); break; case "margin-right": - margin.right = getMeasurement(value); + margin.right = (0, _utils.getMeasurement)(value); break; case "line-height": - lineHeight = getMeasurement(value); + lineHeight = (0, _utils.getMeasurement)(value); break; } } measure.pushData(xfaFont, margin, lineHeight); - if (this[$content]) { - measure.addString(this[$content]); + if (this[_symbol_utils.$content]) { + measure.addString(this[_symbol_utils.$content]); } else { - for (const child of this[$getChildren]()) { - if (child[$nodeName] === "#text") { - measure.addString(child[$content]); + for (const child of this[_symbol_utils.$getChildren]()) { + if (child[_symbol_utils.$nodeName] === "#text") { + measure.addString(child[_symbol_utils.$content]); continue; } - child[$pushGlyphs](measure); + child[_symbol_utils.$pushGlyphs](measure); } } if (mustPop) { measure.popFont(); } } - [$toHTML](availableSpace) { + [_symbol_utils.$toHTML](availableSpace) { const children = []; - this[$extra] = { + this[_symbol_utils.$extra] = { children }; - this[$childrenToHTML]({}); - if (children.length === 0 && !this[$content]) { - return HTMLResult.EMPTY; + this[_symbol_utils.$childrenToHTML]({}); + if (children.length === 0 && !this[_symbol_utils.$content]) { + return _utils.HTMLResult.EMPTY; } let value; if (this[$richText]) { - value = this[$content] ? this[$content].replaceAll(crlfForRichTextRegExp, "\n") : undefined; + value = this[_symbol_utils.$content] ? this[_symbol_utils.$content].replaceAll(crlfForRichTextRegExp, "\n") : undefined; } else { - value = this[$content] || undefined; + value = this[_symbol_utils.$content] || undefined; } - return HTMLResult.success({ - name: this[$nodeName], + return _utils.HTMLResult.success({ + name: this[_symbol_utils.$nodeName], attributes: { href: this.href, style: mapStyle(this.style, this, this[$richText]) @@ -53522,18 +56932,18 @@ class XhtmlObject extends XmlObject { class A extends XhtmlObject { constructor(attributes) { super(attributes, "a"); - this.href = fixURL(attributes.href) || ""; + this.href = (0, _html_utils.fixURL)(attributes.href) || ""; } } class B extends XhtmlObject { constructor(attributes) { super(attributes, "b"); } - [$pushGlyphs](measure) { + [_symbol_utils.$pushGlyphs](measure) { measure.pushFont({ weight: "bold" }); - super[$pushGlyphs](measure); + super[_symbol_utils.$pushGlyphs](measure); measure.popFont(); } } @@ -53541,13 +56951,13 @@ class Body extends XhtmlObject { constructor(attributes) { super(attributes, "body"); } - [$toHTML](availableSpace) { - const res = super[$toHTML](availableSpace); + [_symbol_utils.$toHTML](availableSpace) { + const res = super[_symbol_utils.$toHTML](availableSpace); const { html } = res; if (!html) { - return HTMLResult.EMPTY; + return _utils.HTMLResult.EMPTY; } html.name = "div"; html.attributes.class = ["xfaRich"]; @@ -53558,14 +56968,14 @@ class Br extends XhtmlObject { constructor(attributes) { super(attributes, "br"); } - [$text]() { + [_symbol_utils.$text]() { return "\n"; } - [$pushGlyphs](measure) { + [_symbol_utils.$pushGlyphs](measure) { measure.addString("\n"); } - [$toHTML](availableSpace) { - return HTMLResult.success({ + [_symbol_utils.$toHTML](availableSpace) { + return _utils.HTMLResult.success({ name: "br" }); } @@ -53574,29 +56984,29 @@ class Html extends XhtmlObject { constructor(attributes) { super(attributes, "html"); } - [$toHTML](availableSpace) { + [_symbol_utils.$toHTML](availableSpace) { const children = []; - this[$extra] = { + this[_symbol_utils.$extra] = { children }; - this[$childrenToHTML]({}); + this[_symbol_utils.$childrenToHTML]({}); if (children.length === 0) { - return HTMLResult.success({ + return _utils.HTMLResult.success({ name: "div", attributes: { class: ["xfaRich"], style: {} }, - value: this[$content] || "" + value: this[_symbol_utils.$content] || "" }); } if (children.length === 1) { const child = children[0]; if (child.attributes?.class.includes("xfaRich")) { - return HTMLResult.success(child); + return _utils.HTMLResult.success(child); } } - return HTMLResult.success({ + return _utils.HTMLResult.success({ name: "div", attributes: { class: ["xfaRich"], @@ -53610,11 +57020,11 @@ class I extends XhtmlObject { constructor(attributes) { super(attributes, "i"); } - [$pushGlyphs](measure) { + [_symbol_utils.$pushGlyphs](measure) { measure.pushFont({ posture: "italic" }); - super[$pushGlyphs](measure); + super[_symbol_utils.$pushGlyphs](measure); measure.popFont(); } } @@ -53632,18 +57042,18 @@ class P extends XhtmlObject { constructor(attributes) { super(attributes, "p"); } - [$pushGlyphs](measure) { - super[$pushGlyphs](measure, false); + [_symbol_utils.$pushGlyphs](measure) { + super[_symbol_utils.$pushGlyphs](measure, false); measure.addString("\n"); measure.addPara(); measure.popFont(); } - [$text]() { - const siblings = this[$getParent]()[$getChildren](); + [_symbol_utils.$text]() { + const siblings = this[_symbol_utils.$getParent]()[_symbol_utils.$getChildren](); if (siblings.at(-1) === this) { - return super[$text](); + return super[_symbol_utils.$text](); } - return super[$text]() + "\n"; + return super[_symbol_utils.$text]() + "\n"; } } class Span extends XhtmlObject { @@ -53667,7 +57077,7 @@ class Ul extends XhtmlObject { } } class XhtmlNamespace { - static [$buildXFAObject](name, attributes) { + static [_namespaces.$buildXFAObject](name, attributes) { if (XhtmlNamespace.hasOwnProperty(name)) { return XhtmlNamespace[name](attributes); } @@ -53713,3911 +57123,52 @@ class XhtmlNamespace { return new Ul(attributes); } } +exports.XhtmlNamespace = XhtmlNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/setup.js +/***/ }), +/* 101 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - -const NamespaceSetUp = { - config: ConfigNamespace, - connection: ConnectionSetNamespace, - datasets: DatasetsNamespace, - localeSet: LocaleSetNamespace, - signature: SignatureNamespace, - stylesheet: StylesheetNamespace, - template: TemplateNamespace, - xdp: XdpNamespace, - xhtml: XhtmlNamespace -}; - -;// CONCATENATED MODULE: ./src/core/xfa/unknown.js - - +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.UnknownNamespace = void 0; +var _namespaces = __w_pdfjs_require__(81); +var _xfa_object = __w_pdfjs_require__(87); class UnknownNamespace { constructor(nsId) { this.namespaceId = nsId; } - [$buildXFAObject](name, attributes) { - return new XmlObject(this.namespaceId, name, attributes); + [_namespaces.$buildXFAObject](name, attributes) { + return new _xfa_object.XmlObject(this.namespaceId, name, attributes); } } +exports.UnknownNamespace = UnknownNamespace; -;// CONCATENATED MODULE: ./src/core/xfa/builder.js - - - - - - - - - - - -class Root extends XFAObject { - constructor(ids) { - super(-1, "root", Object.create(null)); - this.element = null; - this[$ids] = ids; - } - [$onChild](child) { - this.element = child; - return true; - } - [$finalize]() { - super[$finalize](); - if (this.element.template instanceof Template) { - this[$ids].set($root, this.element); - this.element.template[$resolvePrototypes](this[$ids]); - this.element.template[$ids] = this[$ids]; - } - } -} -class Empty extends XFAObject { - constructor() { - super(-1, "", Object.create(null)); - } - [$onChild](_) { - return false; - } -} -class Builder { - constructor(rootNameSpace = null) { - this._namespaceStack = []; - this._nsAgnosticLevel = 0; - this._namespacePrefixes = new Map(); - this._namespaces = new Map(); - this._nextNsId = Math.max(...Object.values(NamespaceIds).map(({ - id - }) => id)); - this._currentNamespace = rootNameSpace || new UnknownNamespace(++this._nextNsId); - } - buildRoot(ids) { - return new Root(ids); - } - build({ - nsPrefix, - name, - attributes, - namespace, - prefixes - }) { - const hasNamespaceDef = namespace !== null; - if (hasNamespaceDef) { - this._namespaceStack.push(this._currentNamespace); - this._currentNamespace = this._searchNamespace(namespace); - } - if (prefixes) { - this._addNamespacePrefix(prefixes); - } - if (attributes.hasOwnProperty($nsAttributes)) { - const dataTemplate = NamespaceSetUp.datasets; - const nsAttrs = attributes[$nsAttributes]; - let xfaAttrs = null; - for (const [ns, attrs] of Object.entries(nsAttrs)) { - const nsToUse = this._getNamespaceToUse(ns); - if (nsToUse === dataTemplate) { - xfaAttrs = { - xfa: attrs - }; - break; - } - } - if (xfaAttrs) { - attributes[$nsAttributes] = xfaAttrs; - } else { - delete attributes[$nsAttributes]; - } - } - const namespaceToUse = this._getNamespaceToUse(nsPrefix); - const node = namespaceToUse?.[$buildXFAObject](name, attributes) || new Empty(); - if (node[$isNsAgnostic]()) { - this._nsAgnosticLevel++; - } - if (hasNamespaceDef || prefixes || node[$isNsAgnostic]()) { - node[$cleanup] = { - hasNamespace: hasNamespaceDef, - prefixes, - nsAgnostic: node[$isNsAgnostic]() - }; - } - return node; - } - isNsAgnostic() { - return this._nsAgnosticLevel > 0; - } - _searchNamespace(nsName) { - let ns = this._namespaces.get(nsName); - if (ns) { - return ns; - } - for (const [name, { - check - }] of Object.entries(NamespaceIds)) { - if (check(nsName)) { - ns = NamespaceSetUp[name]; - if (ns) { - this._namespaces.set(nsName, ns); - return ns; - } - break; - } - } - ns = new UnknownNamespace(++this._nextNsId); - this._namespaces.set(nsName, ns); - return ns; - } - _addNamespacePrefix(prefixes) { - for (const { - prefix, - value - } of prefixes) { - const namespace = this._searchNamespace(value); - let prefixStack = this._namespacePrefixes.get(prefix); - if (!prefixStack) { - prefixStack = []; - this._namespacePrefixes.set(prefix, prefixStack); - } - prefixStack.push(namespace); - } - } - _getNamespaceToUse(prefix) { - if (!prefix) { - return this._currentNamespace; - } - const prefixStack = this._namespacePrefixes.get(prefix); - if (prefixStack?.length > 0) { - return prefixStack.at(-1); - } - warn(`Unknown namespace prefix: ${prefix}.`); - return null; - } - clean(data) { - const { - hasNamespace, - prefixes, - nsAgnostic - } = data; - if (hasNamespace) { - this._currentNamespace = this._namespaceStack.pop(); - } - if (prefixes) { - prefixes.forEach(({ - prefix - }) => { - this._namespacePrefixes.get(prefix).pop(); - }); - } - if (nsAgnostic) { - this._nsAgnosticLevel--; - } - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/parser.js - - - - - - - - - - - - -class XFAParser extends XMLParserBase { - constructor(rootNameSpace = null, richText = false) { - super(); - this._builder = new Builder(rootNameSpace); - this._stack = []; - this._globalData = { - usedTypefaces: new Set() - }; - this._ids = new Map(); - this._current = this._builder.buildRoot(this._ids); - this._errorCode = XMLParserErrorCode.NoError; - this._whiteRegex = /^\s+$/; - this._nbsps = /\xa0+/g; - this._richText = richText; - } - parse(data) { - this.parseXml(data); - if (this._errorCode !== XMLParserErrorCode.NoError) { - return undefined; - } - this._current[$finalize](); - return this._current.element; - } - onText(text) { - text = text.replace(this._nbsps, match => match.slice(1) + " "); - if (this._richText || this._current[$acceptWhitespace]()) { - this._current[$onText](text, this._richText); - return; - } - if (this._whiteRegex.test(text)) { - return; - } - this._current[$onText](text.trim()); - } - onCdata(text) { - this._current[$onText](text); - } - _mkAttributes(attributes, tagName) { - let namespace = null; - let prefixes = null; - const attributeObj = Object.create({}); - for (const { - name, - value - } of attributes) { - if (name === "xmlns") { - if (!namespace) { - namespace = value; - } else { - warn(`XFA - multiple namespace definition in <${tagName}>`); - } - } else if (name.startsWith("xmlns:")) { - const prefix = name.substring("xmlns:".length); - if (!prefixes) { - prefixes = []; - } - prefixes.push({ - prefix, - value - }); - } else { - const i = name.indexOf(":"); - if (i === -1) { - attributeObj[name] = value; - } else { - let nsAttrs = attributeObj[$nsAttributes]; - if (!nsAttrs) { - nsAttrs = attributeObj[$nsAttributes] = Object.create(null); - } - const [ns, attrName] = [name.slice(0, i), name.slice(i + 1)]; - const attrs = nsAttrs[ns] ||= Object.create(null); - attrs[attrName] = value; - } - } - } - return [namespace, prefixes, attributeObj]; - } - _getNameAndPrefix(name, nsAgnostic) { - const i = name.indexOf(":"); - if (i === -1) { - return [name, null]; - } - return [name.substring(i + 1), nsAgnostic ? "" : name.substring(0, i)]; - } - onBeginElement(tagName, attributes, isEmpty) { - const [namespace, prefixes, attributesObj] = this._mkAttributes(attributes, tagName); - const [name, nsPrefix] = this._getNameAndPrefix(tagName, this._builder.isNsAgnostic()); - const node = this._builder.build({ - nsPrefix, - name, - attributes: attributesObj, - namespace, - prefixes - }); - node[$globalData] = this._globalData; - if (isEmpty) { - node[$finalize](); - if (this._current[$onChild](node)) { - node[$setId](this._ids); - } - node[$clean](this._builder); - return; - } - this._stack.push(this._current); - this._current = node; - } - onEndElement(name) { - const node = this._current; - if (node[$isCDATAXml]() && typeof node[$content] === "string") { - const parser = new XFAParser(); - parser._globalData = this._globalData; - const root = parser.parse(node[$content]); - node[$content] = null; - node[$onChild](root); - } - node[$finalize](); - this._current = this._stack.pop(); - if (this._current[$onChild](node)) { - node[$setId](this._ids); - } - node[$clean](this._builder); - } - onError(code) { - this._errorCode = code; - } -} - -;// CONCATENATED MODULE: ./src/core/xfa/factory.js - - - - - - - - - - - - - -class XFAFactory { - constructor(data) { - try { - this.root = new XFAParser().parse(XFAFactory._createDocument(data)); - const binder = new Binder(this.root); - this.form = binder.bind(); - this.dataHandler = new DataHandler(this.root, binder.getData()); - this.form[$globalData].template = this.form; - } catch (e) { - warn(`XFA - an error occurred during parsing and binding: ${e}`); - } - } - isValid() { - return this.root && this.form; - } - _createPagesHelper() { - const iterator = this.form[$toPages](); - return new Promise((resolve, reject) => { - const nextIteration = () => { - try { - const value = iterator.next(); - if (value.done) { - resolve(value.value); - } else { - setTimeout(nextIteration, 0); - } - } catch (e) { - reject(e); - } - }; - setTimeout(nextIteration, 0); - }); - } - async _createPages() { - try { - this.pages = await this._createPagesHelper(); - this.dims = this.pages.children.map(c => { - const { - width, - height - } = c.attributes.style; - return [0, 0, parseInt(width), parseInt(height)]; - }); - } catch (e) { - warn(`XFA - an error occurred during layout: ${e}`); - } - } - getBoundingBox(pageIndex) { - return this.dims[pageIndex]; - } - async getNumPages() { - if (!this.pages) { - await this._createPages(); - } - return this.dims.length; - } - setImages(images) { - this.form[$globalData].images = images; - } - setFonts(fonts) { - this.form[$globalData].fontFinder = new FontFinder(fonts); - const missingFonts = []; - for (let typeface of this.form[$globalData].usedTypefaces) { - typeface = stripQuotes(typeface); - const font = this.form[$globalData].fontFinder.find(typeface); - if (!font) { - missingFonts.push(typeface); - } - } - if (missingFonts.length > 0) { - return missingFonts; - } - return null; - } - appendFonts(fonts, reallyMissingFonts) { - this.form[$globalData].fontFinder.add(fonts, reallyMissingFonts); - } - async getPages() { - if (!this.pages) { - await this._createPages(); - } - const pages = this.pages; - this.pages = null; - return pages; - } - serializeData(storage) { - return this.dataHandler.serialize(storage); - } - static _createDocument(data) { - if (!data["/xdp:xdp"]) { - return data["xdp:xdp"]; - } - return Object.values(data).join(""); - } - static getRichTextAsHtml(rc) { - if (!rc || typeof rc !== "string") { - return null; - } - try { - let root = new XFAParser(XhtmlNamespace, true).parse(rc); - if (!["body", "xhtml"].includes(root[$nodeName])) { - const newRoot = XhtmlNamespace.body({}); - newRoot[$appendChild](root); - root = newRoot; - } - const result = root[$toHTML](); - if (!result.success) { - return null; - } - const { - html - } = result; - const { - attributes - } = html; - if (attributes) { - if (attributes.class) { - attributes.class = attributes.class.filter(attr => !attr.startsWith("xfa")); - } - attributes.dir = "auto"; - } - return { - html, - str: root[$text]() - }; - } catch (e) { - warn(`XFA - an error occurred during parsing of rich text: ${e}`); - } - return null; - } -} - -;// CONCATENATED MODULE: ./src/core/annotation.js - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -class AnnotationFactory { - static createGlobals(pdfManager) { - return Promise.all([pdfManager.ensureCatalog("acroForm"), pdfManager.ensureDoc("xfaDatasets"), pdfManager.ensureCatalog("structTreeRoot"), pdfManager.ensureCatalog("baseUrl"), pdfManager.ensureCatalog("attachments")]).then(([acroForm, xfaDatasets, structTreeRoot, baseUrl, attachments]) => { - return { - pdfManager, - acroForm: acroForm instanceof Dict ? acroForm : Dict.empty, - xfaDatasets, - structTreeRoot, - baseUrl, - attachments - }; - }, reason => { - warn(`createGlobals: "${reason}".`); - return null; - }); - } - static async create(xref, ref, annotationGlobals, idFactory, collectFields, pageRef) { - const pageIndex = collectFields ? await this._getPageIndex(xref, ref, annotationGlobals.pdfManager) : null; - return annotationGlobals.pdfManager.ensure(this, "_create", [xref, ref, annotationGlobals, idFactory, collectFields, pageIndex, pageRef]); - } - static _create(xref, ref, annotationGlobals, idFactory, collectFields = false, pageIndex = null, pageRef = null) { - const dict = xref.fetchIfRef(ref); - if (!(dict instanceof Dict)) { - return undefined; - } - const { - acroForm, - pdfManager - } = annotationGlobals; - const id = ref instanceof Ref ? ref.toString() : `annot_${idFactory.createObjId()}`; - let subtype = dict.get("Subtype"); - subtype = subtype instanceof Name ? subtype.name : null; - const parameters = { - xref, - ref, - dict, - subtype, - id, - annotationGlobals, - collectFields, - needAppearances: !collectFields && acroForm.get("NeedAppearances") === true, - pageIndex, - evaluatorOptions: pdfManager.evaluatorOptions, - pageRef - }; - switch (subtype) { - case "Link": - return new LinkAnnotation(parameters); - case "Text": - return new TextAnnotation(parameters); - case "Widget": - let fieldType = getInheritableProperty({ - dict, - key: "FT" - }); - fieldType = fieldType instanceof Name ? fieldType.name : null; - switch (fieldType) { - case "Tx": - return new TextWidgetAnnotation(parameters); - case "Btn": - return new ButtonWidgetAnnotation(parameters); - case "Ch": - return new ChoiceWidgetAnnotation(parameters); - case "Sig": - return new SignatureWidgetAnnotation(parameters); - } - warn(`Unimplemented widget field type "${fieldType}", ` + "falling back to base field type."); - return new WidgetAnnotation(parameters); - case "Popup": - return new PopupAnnotation(parameters); - case "FreeText": - return new FreeTextAnnotation(parameters); - case "Line": - return new LineAnnotation(parameters); - case "Square": - return new SquareAnnotation(parameters); - case "Circle": - return new CircleAnnotation(parameters); - case "PolyLine": - return new PolylineAnnotation(parameters); - case "Polygon": - return new PolygonAnnotation(parameters); - case "Caret": - return new CaretAnnotation(parameters); - case "Ink": - return new InkAnnotation(parameters); - case "Highlight": - return new HighlightAnnotation(parameters); - case "Underline": - return new UnderlineAnnotation(parameters); - case "Squiggly": - return new SquigglyAnnotation(parameters); - case "StrikeOut": - return new StrikeOutAnnotation(parameters); - case "Stamp": - return new StampAnnotation(parameters); - case "FileAttachment": - return new FileAttachmentAnnotation(parameters); - default: - if (!collectFields) { - if (!subtype) { - warn("Annotation is missing the required /Subtype."); - } else { - warn(`Unimplemented annotation type "${subtype}", ` + "falling back to base annotation."); - } - } - return new Annotation(parameters); - } - } - static async _getPageIndex(xref, ref, pdfManager) { - try { - const annotDict = await xref.fetchIfRefAsync(ref); - if (!(annotDict instanceof Dict)) { - return -1; - } - const pageRef = annotDict.getRaw("P"); - if (pageRef instanceof Ref) { - try { - const pageIndex = await pdfManager.ensureCatalog("getPageIndex", [pageRef]); - return pageIndex; - } catch (ex) { - info(`_getPageIndex -- not a valid page reference: "${ex}".`); - } - } - if (annotDict.has("Kids")) { - return -1; - } - const numPages = await pdfManager.ensureDoc("numPages"); - for (let pageIndex = 0; pageIndex < numPages; pageIndex++) { - const page = await pdfManager.getPage(pageIndex); - const annotations = await pdfManager.ensure(page, "annotations"); - for (const annotRef of annotations) { - if (annotRef instanceof Ref && isRefsEqual(annotRef, ref)) { - return pageIndex; - } - } - } - } catch (ex) { - warn(`_getPageIndex: "${ex}".`); - } - return -1; - } - static generateImages(annotations, xref, isOffscreenCanvasSupported) { - if (!isOffscreenCanvasSupported) { - warn("generateImages: OffscreenCanvas is not supported, cannot save or print some annotations with images."); - return null; - } - let imagePromises; - for (const { - bitmapId, - bitmap - } of annotations) { - if (!bitmap) { - continue; - } - imagePromises ||= new Map(); - imagePromises.set(bitmapId, StampAnnotation.createImage(bitmap, xref)); - } - return imagePromises; - } - static async saveNewAnnotations(evaluator, task, annotations, imagePromises) { - const xref = evaluator.xref; - let baseFontRef; - const dependencies = []; - const promises = []; - const { - isOffscreenCanvasSupported - } = evaluator.options; - for (const annotation of annotations) { - if (annotation.deleted) { - continue; - } - switch (annotation.annotationType) { - case AnnotationEditorType.FREETEXT: - if (!baseFontRef) { - const baseFont = new Dict(xref); - baseFont.set("BaseFont", Name.get("Helvetica")); - baseFont.set("Type", Name.get("Font")); - baseFont.set("Subtype", Name.get("Type1")); - baseFont.set("Encoding", Name.get("WinAnsiEncoding")); - const buffer = []; - baseFontRef = xref.getNewTemporaryRef(); - await writeObject(baseFontRef, baseFont, buffer, xref); - dependencies.push({ - ref: baseFontRef, - data: buffer.join("") - }); - } - promises.push(FreeTextAnnotation.createNewAnnotation(xref, annotation, dependencies, { - evaluator, - task, - baseFontRef - })); - break; - case AnnotationEditorType.HIGHLIGHT: - if (annotation.quadPoints) { - promises.push(HighlightAnnotation.createNewAnnotation(xref, annotation, dependencies)); - } else { - promises.push(InkAnnotation.createNewAnnotation(xref, annotation, dependencies)); - } - break; - case AnnotationEditorType.INK: - promises.push(InkAnnotation.createNewAnnotation(xref, annotation, dependencies)); - break; - case AnnotationEditorType.STAMP: - if (!isOffscreenCanvasSupported) { - break; - } - const image = await imagePromises.get(annotation.bitmapId); - if (image.imageStream) { - const { - imageStream, - smaskStream - } = image; - const buffer = []; - if (smaskStream) { - const smaskRef = xref.getNewTemporaryRef(); - await writeObject(smaskRef, smaskStream, buffer, xref); - dependencies.push({ - ref: smaskRef, - data: buffer.join("") - }); - imageStream.dict.set("SMask", smaskRef); - buffer.length = 0; - } - const imageRef = image.imageRef = xref.getNewTemporaryRef(); - await writeObject(imageRef, imageStream, buffer, xref); - dependencies.push({ - ref: imageRef, - data: buffer.join("") - }); - image.imageStream = image.smaskStream = null; - } - promises.push(StampAnnotation.createNewAnnotation(xref, annotation, dependencies, { - image - })); - break; - } - } - return { - annotations: await Promise.all(promises), - dependencies - }; - } - static async printNewAnnotations(annotationGlobals, evaluator, task, annotations, imagePromises) { - if (!annotations) { - return null; - } - const { - options, - xref - } = evaluator; - const promises = []; - for (const annotation of annotations) { - if (annotation.deleted) { - continue; - } - switch (annotation.annotationType) { - case AnnotationEditorType.FREETEXT: - promises.push(FreeTextAnnotation.createNewPrintAnnotation(annotationGlobals, xref, annotation, { - evaluator, - task, - evaluatorOptions: options - })); - break; - case AnnotationEditorType.HIGHLIGHT: - if (annotation.quadPoints) { - promises.push(HighlightAnnotation.createNewPrintAnnotation(annotationGlobals, xref, annotation, { - evaluatorOptions: options - })); - } else { - promises.push(InkAnnotation.createNewPrintAnnotation(annotationGlobals, xref, annotation, { - evaluatorOptions: options - })); - } - break; - case AnnotationEditorType.INK: - promises.push(InkAnnotation.createNewPrintAnnotation(annotationGlobals, xref, annotation, { - evaluatorOptions: options - })); - break; - case AnnotationEditorType.STAMP: - if (!options.isOffscreenCanvasSupported) { - break; - } - const image = await imagePromises.get(annotation.bitmapId); - if (image.imageStream) { - const { - imageStream, - smaskStream - } = image; - if (smaskStream) { - imageStream.dict.set("SMask", smaskStream); - } - image.imageRef = new JpegStream(imageStream, imageStream.length); - image.imageStream = image.smaskStream = null; - } - promises.push(StampAnnotation.createNewPrintAnnotation(annotationGlobals, xref, annotation, { - image, - evaluatorOptions: options - })); - break; - } - } - return Promise.all(promises); - } -} -function getRgbColor(color, defaultColor = new Uint8ClampedArray(3)) { - if (!Array.isArray(color)) { - return defaultColor; - } - const rgbColor = defaultColor || new Uint8ClampedArray(3); - switch (color.length) { - case 0: - return null; - case 1: - ColorSpace.singletons.gray.getRgbItem(color, 0, rgbColor, 0); - return rgbColor; - case 3: - ColorSpace.singletons.rgb.getRgbItem(color, 0, rgbColor, 0); - return rgbColor; - case 4: - ColorSpace.singletons.cmyk.getRgbItem(color, 0, rgbColor, 0); - return rgbColor; - default: - return defaultColor; - } -} -function getPdfColorArray(color) { - return Array.from(color, c => c / 255); -} -function getQuadPoints(dict, rect) { - const quadPoints = dict.getArray("QuadPoints"); - if (!Array.isArray(quadPoints) || quadPoints.length === 0 || quadPoints.length % 8 > 0) { - return null; - } - const quadPointsLists = []; - for (let i = 0, ii = quadPoints.length / 8; i < ii; i++) { - let minX = Infinity, - maxX = -Infinity, - minY = Infinity, - maxY = -Infinity; - for (let j = i * 8, jj = i * 8 + 8; j < jj; j += 2) { - const x = quadPoints[j]; - const y = quadPoints[j + 1]; - minX = Math.min(x, minX); - maxX = Math.max(x, maxX); - minY = Math.min(y, minY); - maxY = Math.max(y, maxY); - } - if (rect !== null && (minX < rect[0] || maxX > rect[2] || minY < rect[1] || maxY > rect[3])) { - return null; - } - quadPointsLists.push([{ - x: minX, - y: maxY - }, { - x: maxX, - y: maxY - }, { - x: minX, - y: minY - }, { - x: maxX, - y: minY - }]); - } - return quadPointsLists; -} -function getTransformMatrix(rect, bbox, matrix) { - const [minX, minY, maxX, maxY] = Util.getAxialAlignedBoundingBox(bbox, matrix); - if (minX === maxX || minY === maxY) { - return [1, 0, 0, 1, rect[0], rect[1]]; - } - const xRatio = (rect[2] - rect[0]) / (maxX - minX); - const yRatio = (rect[3] - rect[1]) / (maxY - minY); - return [xRatio, 0, 0, yRatio, rect[0] - minX * xRatio, rect[1] - minY * yRatio]; -} -class Annotation { - constructor(params) { - const { - dict, - xref, - annotationGlobals - } = params; - this.setTitle(dict.get("T")); - this.setContents(dict.get("Contents")); - this.setModificationDate(dict.get("M")); - this.setFlags(dict.get("F")); - this.setRectangle(dict.getArray("Rect")); - this.setColor(dict.getArray("C")); - this.setBorderStyle(dict); - this.setAppearance(dict); - this.setOptionalContent(dict); - const MK = dict.get("MK"); - this.setBorderAndBackgroundColors(MK); - this.setRotation(MK, dict); - this.ref = params.ref instanceof Ref ? params.ref : null; - this._streams = []; - if (this.appearance) { - this._streams.push(this.appearance); - } - const isLocked = !!(this.flags & AnnotationFlag.LOCKED); - const isContentLocked = !!(this.flags & AnnotationFlag.LOCKEDCONTENTS); - if (annotationGlobals.structTreeRoot) { - let structParent = dict.get("StructParent"); - structParent = Number.isInteger(structParent) && structParent >= 0 ? structParent : -1; - annotationGlobals.structTreeRoot.addAnnotationIdToPage(params.pageRef, structParent); - } - this.data = { - annotationFlags: this.flags, - borderStyle: this.borderStyle, - color: this.color, - backgroundColor: this.backgroundColor, - borderColor: this.borderColor, - rotation: this.rotation, - contentsObj: this._contents, - hasAppearance: !!this.appearance, - id: params.id, - modificationDate: this.modificationDate, - rect: this.rectangle, - subtype: params.subtype, - hasOwnCanvas: false, - noRotate: !!(this.flags & AnnotationFlag.NOROTATE), - noHTML: isLocked && isContentLocked - }; - if (params.collectFields) { - const kids = dict.get("Kids"); - if (Array.isArray(kids)) { - const kidIds = []; - for (const kid of kids) { - if (kid instanceof Ref) { - kidIds.push(kid.toString()); - } - } - if (kidIds.length !== 0) { - this.data.kidIds = kidIds; - } - } - this.data.actions = collectActions(xref, dict, AnnotationActionEventType); - this.data.fieldName = this._constructFieldName(dict); - this.data.pageIndex = params.pageIndex; - } - this._isOffscreenCanvasSupported = params.evaluatorOptions.isOffscreenCanvasSupported; - this._fallbackFontDict = null; - this._needAppearances = false; - } - _hasFlag(flags, flag) { - return !!(flags & flag); - } - _isViewable(flags) { - return !this._hasFlag(flags, AnnotationFlag.INVISIBLE) && !this._hasFlag(flags, AnnotationFlag.NOVIEW); - } - _isPrintable(flags) { - return this._hasFlag(flags, AnnotationFlag.PRINT) && !this._hasFlag(flags, AnnotationFlag.HIDDEN) && !this._hasFlag(flags, AnnotationFlag.INVISIBLE); - } - mustBeViewed(annotationStorage, _renderForms) { - const noView = annotationStorage?.get(this.data.id)?.noView; - if (noView !== undefined) { - return !noView; - } - return this.viewable && !this._hasFlag(this.flags, AnnotationFlag.HIDDEN); - } - mustBePrinted(annotationStorage) { - const noPrint = annotationStorage?.get(this.data.id)?.noPrint; - if (noPrint !== undefined) { - return !noPrint; - } - return this.printable; - } - get viewable() { - if (this.data.quadPoints === null) { - return false; - } - if (this.flags === 0) { - return true; - } - return this._isViewable(this.flags); - } - get printable() { - if (this.data.quadPoints === null) { - return false; - } - if (this.flags === 0) { - return false; - } - return this._isPrintable(this.flags); - } - _parseStringHelper(data) { - const str = typeof data === "string" ? stringToPDFString(data) : ""; - const dir = str && bidi(str).dir === "rtl" ? "rtl" : "ltr"; - return { - str, - dir - }; - } - setDefaultAppearance(params) { - const { - dict, - annotationGlobals - } = params; - const defaultAppearance = getInheritableProperty({ - dict, - key: "DA" - }) || annotationGlobals.acroForm.get("DA"); - this._defaultAppearance = typeof defaultAppearance === "string" ? defaultAppearance : ""; - this.data.defaultAppearanceData = parseDefaultAppearance(this._defaultAppearance); - } - setTitle(title) { - this._title = this._parseStringHelper(title); - } - setContents(contents) { - this._contents = this._parseStringHelper(contents); - } - setModificationDate(modificationDate) { - this.modificationDate = typeof modificationDate === "string" ? modificationDate : null; - } - setFlags(flags) { - this.flags = Number.isInteger(flags) && flags > 0 ? flags : 0; - if (this.flags & AnnotationFlag.INVISIBLE && this.constructor.name !== "Annotation") { - this.flags ^= AnnotationFlag.INVISIBLE; - } - } - hasFlag(flag) { - return this._hasFlag(this.flags, flag); - } - setRectangle(rectangle) { - this.rectangle = Array.isArray(rectangle) && rectangle.length === 4 ? Util.normalizeRect(rectangle) : [0, 0, 0, 0]; - } - setColor(color) { - this.color = getRgbColor(color); - } - setLineEndings(lineEndings) { - this.lineEndings = ["None", "None"]; - if (Array.isArray(lineEndings) && lineEndings.length === 2) { - for (let i = 0; i < 2; i++) { - const obj = lineEndings[i]; - if (obj instanceof Name) { - switch (obj.name) { - case "None": - continue; - case "Square": - case "Circle": - case "Diamond": - case "OpenArrow": - case "ClosedArrow": - case "Butt": - case "ROpenArrow": - case "RClosedArrow": - case "Slash": - this.lineEndings[i] = obj.name; - continue; - } - } - warn(`Ignoring invalid lineEnding: ${obj}`); - } - } - } - setRotation(mk, dict) { - this.rotation = 0; - let angle = mk instanceof Dict ? mk.get("R") || 0 : dict.get("Rotate") || 0; - if (Number.isInteger(angle) && angle !== 0) { - angle %= 360; - if (angle < 0) { - angle += 360; - } - if (angle % 90 === 0) { - this.rotation = angle; - } - } - } - setBorderAndBackgroundColors(mk) { - if (mk instanceof Dict) { - this.borderColor = getRgbColor(mk.getArray("BC"), null); - this.backgroundColor = getRgbColor(mk.getArray("BG"), null); - } else { - this.borderColor = this.backgroundColor = null; - } - } - setBorderStyle(borderStyle) { - this.borderStyle = new AnnotationBorderStyle(); - if (!(borderStyle instanceof Dict)) { - return; - } - if (borderStyle.has("BS")) { - const dict = borderStyle.get("BS"); - if (dict instanceof Dict) { - const dictType = dict.get("Type"); - if (!dictType || isName(dictType, "Border")) { - this.borderStyle.setWidth(dict.get("W"), this.rectangle); - this.borderStyle.setStyle(dict.get("S")); - this.borderStyle.setDashArray(dict.getArray("D")); - } - } - } else if (borderStyle.has("Border")) { - const array = borderStyle.getArray("Border"); - if (Array.isArray(array) && array.length >= 3) { - this.borderStyle.setHorizontalCornerRadius(array[0]); - this.borderStyle.setVerticalCornerRadius(array[1]); - this.borderStyle.setWidth(array[2], this.rectangle); - if (array.length === 4) { - this.borderStyle.setDashArray(array[3], true); - } - } - } else { - this.borderStyle.setWidth(0); - } - } - setAppearance(dict) { - this.appearance = null; - const appearanceStates = dict.get("AP"); - if (!(appearanceStates instanceof Dict)) { - return; - } - const normalAppearanceState = appearanceStates.get("N"); - if (normalAppearanceState instanceof BaseStream) { - this.appearance = normalAppearanceState; - return; - } - if (!(normalAppearanceState instanceof Dict)) { - return; - } - const as = dict.get("AS"); - if (!(as instanceof Name) || !normalAppearanceState.has(as.name)) { - return; - } - const appearance = normalAppearanceState.get(as.name); - if (appearance instanceof BaseStream) { - this.appearance = appearance; - } - } - setOptionalContent(dict) { - this.oc = null; - const oc = dict.get("OC"); - if (oc instanceof Name) { - warn("setOptionalContent: Support for /Name-entry is not implemented."); - } else if (oc instanceof Dict) { - this.oc = oc; - } - } - loadResources(keys, appearance) { - return appearance.dict.getAsync("Resources").then(resources => { - if (!resources) { - return undefined; - } - const objectLoader = new ObjectLoader(resources, keys, resources.xref); - return objectLoader.load().then(function () { - return resources; - }); - }); - } - async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { - const { - hasOwnCanvas, - id, - rect - } = this.data; - let appearance = this.appearance; - const isUsingOwnCanvas = !!(hasOwnCanvas && intent & RenderingIntentFlag.DISPLAY); - if (isUsingOwnCanvas && (rect[0] === rect[2] || rect[1] === rect[3])) { - this.data.hasOwnCanvas = false; - return { - opList: new OperatorList(), - separateForm: false, - separateCanvas: false - }; - } - if (!appearance) { - if (!isUsingOwnCanvas) { - return { - opList: new OperatorList(), - separateForm: false, - separateCanvas: false - }; - } - appearance = new StringStream(""); - appearance.dict = new Dict(); - } - const appearanceDict = appearance.dict; - const resources = await this.loadResources(["ExtGState", "ColorSpace", "Pattern", "Shading", "XObject", "Font"], appearance); - const bbox = appearanceDict.getArray("BBox") || [0, 0, 1, 1]; - const matrix = appearanceDict.getArray("Matrix") || [1, 0, 0, 1, 0, 0]; - const transform = getTransformMatrix(rect, bbox, matrix); - const opList = new OperatorList(); - let optionalContent; - if (this.oc) { - optionalContent = await evaluator.parseMarkedContentProps(this.oc, null); - } - if (optionalContent !== undefined) { - opList.addOp(OPS.beginMarkedContentProps, ["OC", optionalContent]); - } - opList.addOp(OPS.beginAnnotation, [id, rect, transform, matrix, isUsingOwnCanvas]); - await evaluator.getOperatorList({ - stream: appearance, - task, - resources, - operatorList: opList, - fallbackFontDict: this._fallbackFontDict - }); - opList.addOp(OPS.endAnnotation, []); - if (optionalContent !== undefined) { - opList.addOp(OPS.endMarkedContent, []); - } - this.reset(); - return { - opList, - separateForm: false, - separateCanvas: isUsingOwnCanvas - }; - } - async save(evaluator, task, annotationStorage) { - return null; - } - get hasTextContent() { - return false; - } - async extractTextContent(evaluator, task, viewBox) { - if (!this.appearance) { - return; - } - const resources = await this.loadResources(["ExtGState", "Font", "Properties", "XObject"], this.appearance); - const text = []; - const buffer = []; - let firstPosition = null; - const sink = { - desiredSize: Math.Infinity, - ready: true, - enqueue(chunk, size) { - for (const item of chunk.items) { - if (item.str === undefined) { - continue; - } - firstPosition ||= item.transform.slice(-2); - buffer.push(item.str); - if (item.hasEOL) { - text.push(buffer.join("").trimEnd()); - buffer.length = 0; - } - } - } - }; - await evaluator.getTextContent({ - stream: this.appearance, - task, - resources, - includeMarkedContent: true, - keepWhiteSpace: true, - sink, - viewBox - }); - this.reset(); - if (buffer.length) { - text.push(buffer.join("").trimEnd()); - } - if (text.length > 1 || text[0]) { - const appearanceDict = this.appearance.dict; - this.data.textPosition = this._transformPoint(firstPosition, appearanceDict.getArray("BBox"), appearanceDict.getArray("Matrix")); - this.data.textContent = text; - } - } - _transformPoint(coords, bbox, matrix) { - const { - rect - } = this.data; - bbox ||= [0, 0, 1, 1]; - matrix ||= [1, 0, 0, 1, 0, 0]; - const transform = getTransformMatrix(rect, bbox, matrix); - transform[4] -= rect[0]; - transform[5] -= rect[1]; - coords = Util.applyTransform(coords, transform); - return Util.applyTransform(coords, matrix); - } - getFieldObject() { - if (this.data.kidIds) { - return { - id: this.data.id, - actions: this.data.actions, - name: this.data.fieldName, - strokeColor: this.data.borderColor, - fillColor: this.data.backgroundColor, - type: "", - kidIds: this.data.kidIds, - page: this.data.pageIndex, - rotation: this.rotation - }; - } - return null; - } - reset() { - for (const stream of this._streams) { - stream.reset(); - } - } - _constructFieldName(dict) { - if (!dict.has("T") && !dict.has("Parent")) { - warn("Unknown field name, falling back to empty field name."); - return ""; - } - if (!dict.has("Parent")) { - return stringToPDFString(dict.get("T")); - } - const fieldName = []; - if (dict.has("T")) { - fieldName.unshift(stringToPDFString(dict.get("T"))); - } - let loopDict = dict; - const visited = new RefSet(); - if (dict.objId) { - visited.put(dict.objId); - } - while (loopDict.has("Parent")) { - loopDict = loopDict.get("Parent"); - if (!(loopDict instanceof Dict) || loopDict.objId && visited.has(loopDict.objId)) { - break; - } - if (loopDict.objId) { - visited.put(loopDict.objId); - } - if (loopDict.has("T")) { - fieldName.unshift(stringToPDFString(loopDict.get("T"))); - } - } - return fieldName.join("."); - } -} -class AnnotationBorderStyle { - constructor() { - this.width = 1; - this.style = AnnotationBorderStyleType.SOLID; - this.dashArray = [3]; - this.horizontalCornerRadius = 0; - this.verticalCornerRadius = 0; - } - setWidth(width, rect = [0, 0, 0, 0]) { - if (width instanceof Name) { - this.width = 0; - return; - } - if (typeof width === "number") { - if (width > 0) { - const maxWidth = (rect[2] - rect[0]) / 2; - const maxHeight = (rect[3] - rect[1]) / 2; - if (maxWidth > 0 && maxHeight > 0 && (width > maxWidth || width > maxHeight)) { - warn(`AnnotationBorderStyle.setWidth - ignoring width: ${width}`); - width = 1; - } - } - this.width = width; - } - } - setStyle(style) { - if (!(style instanceof Name)) { - return; - } - switch (style.name) { - case "S": - this.style = AnnotationBorderStyleType.SOLID; - break; - case "D": - this.style = AnnotationBorderStyleType.DASHED; - break; - case "B": - this.style = AnnotationBorderStyleType.BEVELED; - break; - case "I": - this.style = AnnotationBorderStyleType.INSET; - break; - case "U": - this.style = AnnotationBorderStyleType.UNDERLINE; - break; - default: - break; - } - } - setDashArray(dashArray, forceStyle = false) { - if (Array.isArray(dashArray)) { - let isValid = true; - let allZeros = true; - for (const element of dashArray) { - const validNumber = +element >= 0; - if (!validNumber) { - isValid = false; - break; - } else if (element > 0) { - allZeros = false; - } - } - if (dashArray.length === 0 || isValid && !allZeros) { - this.dashArray = dashArray; - if (forceStyle) { - this.setStyle(Name.get("D")); - } - } else { - this.width = 0; - } - } else if (dashArray) { - this.width = 0; - } - } - setHorizontalCornerRadius(radius) { - if (Number.isInteger(radius)) { - this.horizontalCornerRadius = radius; - } - } - setVerticalCornerRadius(radius) { - if (Number.isInteger(radius)) { - this.verticalCornerRadius = radius; - } - } -} -class MarkupAnnotation extends Annotation { - constructor(params) { - super(params); - const { - dict - } = params; - if (dict.has("IRT")) { - const rawIRT = dict.getRaw("IRT"); - this.data.inReplyTo = rawIRT instanceof Ref ? rawIRT.toString() : null; - const rt = dict.get("RT"); - this.data.replyType = rt instanceof Name ? rt.name : AnnotationReplyType.REPLY; - } - let popupRef = null; - if (this.data.replyType === AnnotationReplyType.GROUP) { - const parent = dict.get("IRT"); - this.setTitle(parent.get("T")); - this.data.titleObj = this._title; - this.setContents(parent.get("Contents")); - this.data.contentsObj = this._contents; - if (!parent.has("CreationDate")) { - this.data.creationDate = null; - } else { - this.setCreationDate(parent.get("CreationDate")); - this.data.creationDate = this.creationDate; - } - if (!parent.has("M")) { - this.data.modificationDate = null; - } else { - this.setModificationDate(parent.get("M")); - this.data.modificationDate = this.modificationDate; - } - popupRef = parent.getRaw("Popup"); - if (!parent.has("C")) { - this.data.color = null; - } else { - this.setColor(parent.getArray("C")); - this.data.color = this.color; - } - } else { - this.data.titleObj = this._title; - this.setCreationDate(dict.get("CreationDate")); - this.data.creationDate = this.creationDate; - popupRef = dict.getRaw("Popup"); - if (!dict.has("C")) { - this.data.color = null; - } - } - this.data.popupRef = popupRef instanceof Ref ? popupRef.toString() : null; - if (dict.has("RC")) { - this.data.richText = XFAFactory.getRichTextAsHtml(dict.get("RC")); - } - } - setCreationDate(creationDate) { - this.creationDate = typeof creationDate === "string" ? creationDate : null; - } - _setDefaultAppearance({ - xref, - extra, - strokeColor, - fillColor, - blendMode, - strokeAlpha, - fillAlpha, - pointsCallback - }) { - let minX = Number.MAX_VALUE; - let minY = Number.MAX_VALUE; - let maxX = Number.MIN_VALUE; - let maxY = Number.MIN_VALUE; - const buffer = ["q"]; - if (extra) { - buffer.push(extra); - } - if (strokeColor) { - buffer.push(`${strokeColor[0]} ${strokeColor[1]} ${strokeColor[2]} RG`); - } - if (fillColor) { - buffer.push(`${fillColor[0]} ${fillColor[1]} ${fillColor[2]} rg`); - } - let pointsArray = this.data.quadPoints; - if (!pointsArray) { - pointsArray = [[{ - x: this.rectangle[0], - y: this.rectangle[3] - }, { - x: this.rectangle[2], - y: this.rectangle[3] - }, { - x: this.rectangle[0], - y: this.rectangle[1] - }, { - x: this.rectangle[2], - y: this.rectangle[1] - }]]; - } - for (const points of pointsArray) { - const [mX, MX, mY, MY] = pointsCallback(buffer, points); - minX = Math.min(minX, mX); - maxX = Math.max(maxX, MX); - minY = Math.min(minY, mY); - maxY = Math.max(maxY, MY); - } - buffer.push("Q"); - const formDict = new Dict(xref); - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("Subtype", Name.get("Form")); - const appearanceStream = new StringStream(buffer.join(" ")); - appearanceStream.dict = appearanceStreamDict; - formDict.set("Fm0", appearanceStream); - const gsDict = new Dict(xref); - if (blendMode) { - gsDict.set("BM", Name.get(blendMode)); - } - if (typeof strokeAlpha === "number") { - gsDict.set("CA", strokeAlpha); - } - if (typeof fillAlpha === "number") { - gsDict.set("ca", fillAlpha); - } - const stateDict = new Dict(xref); - stateDict.set("GS0", gsDict); - const resources = new Dict(xref); - resources.set("ExtGState", stateDict); - resources.set("XObject", formDict); - const appearanceDict = new Dict(xref); - appearanceDict.set("Resources", resources); - const bbox = this.data.rect = [minX, minY, maxX, maxY]; - appearanceDict.set("BBox", bbox); - this.appearance = new StringStream("/GS0 gs /Fm0 Do"); - this.appearance.dict = appearanceDict; - this._streams.push(this.appearance, appearanceStream); - } - static async createNewAnnotation(xref, annotation, dependencies, params) { - const annotationRef = annotation.ref ||= xref.getNewTemporaryRef(); - const ap = await this.createNewAppearanceStream(annotation, xref, params); - const buffer = []; - let annotationDict; - if (ap) { - const apRef = xref.getNewTemporaryRef(); - annotationDict = this.createNewDict(annotation, xref, { - apRef - }); - await writeObject(apRef, ap, buffer, xref); - dependencies.push({ - ref: apRef, - data: buffer.join("") - }); - } else { - annotationDict = this.createNewDict(annotation, xref, {}); - } - if (Number.isInteger(annotation.parentTreeId)) { - annotationDict.set("StructParent", annotation.parentTreeId); - } - buffer.length = 0; - await writeObject(annotationRef, annotationDict, buffer, xref); - return { - ref: annotationRef, - data: buffer.join("") - }; - } - static async createNewPrintAnnotation(annotationGlobals, xref, annotation, params) { - const ap = await this.createNewAppearanceStream(annotation, xref, params); - const annotationDict = this.createNewDict(annotation, xref, { - ap - }); - const newAnnotation = new this.prototype.constructor({ - dict: annotationDict, - xref, - annotationGlobals, - evaluatorOptions: params.evaluatorOptions - }); - if (annotation.ref) { - newAnnotation.ref = newAnnotation.refToReplace = annotation.ref; - } - return newAnnotation; - } -} -class WidgetAnnotation extends Annotation { - constructor(params) { - super(params); - const { - dict, - xref, - annotationGlobals - } = params; - const data = this.data; - this._needAppearances = params.needAppearances; - data.annotationType = AnnotationType.WIDGET; - if (data.fieldName === undefined) { - data.fieldName = this._constructFieldName(dict); - } - if (data.actions === undefined) { - data.actions = collectActions(xref, dict, AnnotationActionEventType); - } - let fieldValue = getInheritableProperty({ - dict, - key: "V", - getArray: true - }); - data.fieldValue = this._decodeFormValue(fieldValue); - const defaultFieldValue = getInheritableProperty({ - dict, - key: "DV", - getArray: true - }); - data.defaultFieldValue = this._decodeFormValue(defaultFieldValue); - if (fieldValue === undefined && annotationGlobals.xfaDatasets) { - const path = this._title.str; - if (path) { - this._hasValueFromXFA = true; - data.fieldValue = fieldValue = annotationGlobals.xfaDatasets.getValue(path); - } - } - if (fieldValue === undefined && data.defaultFieldValue !== null) { - data.fieldValue = data.defaultFieldValue; - } - data.alternativeText = stringToPDFString(dict.get("TU") || ""); - this.setDefaultAppearance(params); - data.hasAppearance ||= this._needAppearances && data.fieldValue !== undefined && data.fieldValue !== null; - const fieldType = getInheritableProperty({ - dict, - key: "FT" - }); - data.fieldType = fieldType instanceof Name ? fieldType.name : null; - const localResources = getInheritableProperty({ - dict, - key: "DR" - }); - const acroFormResources = annotationGlobals.acroForm.get("DR"); - const appearanceResources = this.appearance?.dict.get("Resources"); - this._fieldResources = { - localResources, - acroFormResources, - appearanceResources, - mergedResources: Dict.merge({ - xref, - dictArray: [localResources, appearanceResources, acroFormResources], - mergeSubDicts: true - }) - }; - data.fieldFlags = getInheritableProperty({ - dict, - key: "Ff" - }); - if (!Number.isInteger(data.fieldFlags) || data.fieldFlags < 0) { - data.fieldFlags = 0; - } - data.readOnly = this.hasFieldFlag(AnnotationFieldFlag.READONLY); - data.required = this.hasFieldFlag(AnnotationFieldFlag.REQUIRED); - data.hidden = this._hasFlag(data.annotationFlags, AnnotationFlag.HIDDEN) || this._hasFlag(data.annotationFlags, AnnotationFlag.NOVIEW); - } - _decodeFormValue(formValue) { - if (Array.isArray(formValue)) { - return formValue.filter(item => typeof item === "string").map(item => stringToPDFString(item)); - } else if (formValue instanceof Name) { - return stringToPDFString(formValue.name); - } else if (typeof formValue === "string") { - return stringToPDFString(formValue); - } - return null; - } - hasFieldFlag(flag) { - return !!(this.data.fieldFlags & flag); - } - _isViewable(flags) { - return true; - } - mustBeViewed(annotationStorage, renderForms) { - if (renderForms) { - return this.viewable; - } - return super.mustBeViewed(annotationStorage, renderForms) && !this._hasFlag(this.flags, AnnotationFlag.NOVIEW); - } - getRotationMatrix(annotationStorage) { - let rotation = annotationStorage?.get(this.data.id)?.rotation; - if (rotation === undefined) { - rotation = this.rotation; - } - if (rotation === 0) { - return IDENTITY_MATRIX; - } - const width = this.data.rect[2] - this.data.rect[0]; - const height = this.data.rect[3] - this.data.rect[1]; - return getRotationMatrix(rotation, width, height); - } - getBorderAndBackgroundAppearances(annotationStorage) { - let rotation = annotationStorage?.get(this.data.id)?.rotation; - if (rotation === undefined) { - rotation = this.rotation; - } - if (!this.backgroundColor && !this.borderColor) { - return ""; - } - const width = this.data.rect[2] - this.data.rect[0]; - const height = this.data.rect[3] - this.data.rect[1]; - const rect = rotation === 0 || rotation === 180 ? `0 0 ${width} ${height} re` : `0 0 ${height} ${width} re`; - let str = ""; - if (this.backgroundColor) { - str = `${getPdfColor(this.backgroundColor, true)} ${rect} f `; - } - if (this.borderColor) { - const borderWidth = this.borderStyle.width || 1; - str += `${borderWidth} w ${getPdfColor(this.borderColor, false)} ${rect} S `; - } - return str; - } - async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { - if (renderForms && !(this instanceof SignatureWidgetAnnotation) && !this.data.noHTML && !this.data.hasOwnCanvas) { - return { - opList: new OperatorList(), - separateForm: true, - separateCanvas: false - }; - } - if (!this._hasText) { - return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); - } - const content = await this._getAppearance(evaluator, task, intent, annotationStorage); - if (this.appearance && content === null) { - return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); - } - const opList = new OperatorList(); - if (!this._defaultAppearance || content === null) { - return { - opList, - separateForm: false, - separateCanvas: false - }; - } - const isUsingOwnCanvas = !!(this.data.hasOwnCanvas && intent & RenderingIntentFlag.DISPLAY); - const matrix = [1, 0, 0, 1, 0, 0]; - const bbox = [0, 0, this.data.rect[2] - this.data.rect[0], this.data.rect[3] - this.data.rect[1]]; - const transform = getTransformMatrix(this.data.rect, bbox, matrix); - let optionalContent; - if (this.oc) { - optionalContent = await evaluator.parseMarkedContentProps(this.oc, null); - } - if (optionalContent !== undefined) { - opList.addOp(OPS.beginMarkedContentProps, ["OC", optionalContent]); - } - opList.addOp(OPS.beginAnnotation, [this.data.id, this.data.rect, transform, this.getRotationMatrix(annotationStorage), isUsingOwnCanvas]); - const stream = new StringStream(content); - await evaluator.getOperatorList({ - stream, - task, - resources: this._fieldResources.mergedResources, - operatorList: opList - }); - opList.addOp(OPS.endAnnotation, []); - if (optionalContent !== undefined) { - opList.addOp(OPS.endMarkedContent, []); - } - return { - opList, - separateForm: false, - separateCanvas: isUsingOwnCanvas - }; - } - _getMKDict(rotation) { - const mk = new Dict(null); - if (rotation) { - mk.set("R", rotation); - } - if (this.borderColor) { - mk.set("BC", getPdfColorArray(this.borderColor)); - } - if (this.backgroundColor) { - mk.set("BG", getPdfColorArray(this.backgroundColor)); - } - return mk.size > 0 ? mk : null; - } - amendSavedDict(annotationStorage, dict) {} - async save(evaluator, task, annotationStorage) { - const storageEntry = annotationStorage?.get(this.data.id); - let value = storageEntry?.value, - rotation = storageEntry?.rotation; - if (value === this.data.fieldValue || value === undefined) { - if (!this._hasValueFromXFA && rotation === undefined) { - return null; - } - value ||= this.data.fieldValue; - } - if (rotation === undefined && !this._hasValueFromXFA && Array.isArray(value) && Array.isArray(this.data.fieldValue) && value.length === this.data.fieldValue.length && value.every((x, i) => x === this.data.fieldValue[i])) { - return null; - } - if (rotation === undefined) { - rotation = this.rotation; - } - let appearance = null; - if (!this._needAppearances) { - appearance = await this._getAppearance(evaluator, task, RenderingIntentFlag.SAVE, annotationStorage); - if (appearance === null) { - return null; - } - } else {} - let needAppearances = false; - if (appearance?.needAppearances) { - needAppearances = true; - appearance = null; - } - const { - xref - } = evaluator; - const originalDict = xref.fetchIfRef(this.ref); - if (!(originalDict instanceof Dict)) { - return null; - } - const dict = new Dict(xref); - for (const key of originalDict.getKeys()) { - if (key !== "AP") { - dict.set(key, originalDict.getRaw(key)); - } - } - const xfa = { - path: this.data.fieldName, - value - }; - const encoder = val => isAscii(val) ? val : stringToUTF16String(val, true); - dict.set("V", Array.isArray(value) ? value.map(encoder) : encoder(value)); - this.amendSavedDict(annotationStorage, dict); - const maybeMK = this._getMKDict(rotation); - if (maybeMK) { - dict.set("MK", maybeMK); - } - const buffer = []; - const changes = [{ - ref: this.ref, - data: "", - xfa, - needAppearances - }]; - if (appearance !== null) { - const newRef = xref.getNewTemporaryRef(); - const AP = new Dict(xref); - dict.set("AP", AP); - AP.set("N", newRef); - const resources = this._getSaveFieldResources(xref); - const appearanceStream = new StringStream(appearance); - const appearanceDict = appearanceStream.dict = new Dict(xref); - appearanceDict.set("Subtype", Name.get("Form")); - appearanceDict.set("Resources", resources); - appearanceDict.set("BBox", [0, 0, this.data.rect[2] - this.data.rect[0], this.data.rect[3] - this.data.rect[1]]); - const rotationMatrix = this.getRotationMatrix(annotationStorage); - if (rotationMatrix !== IDENTITY_MATRIX) { - appearanceDict.set("Matrix", rotationMatrix); - } - await writeObject(newRef, appearanceStream, buffer, xref); - changes.push({ - ref: newRef, - data: buffer.join(""), - xfa: null, - needAppearances: false - }); - buffer.length = 0; - } - dict.set("M", `D:${getModificationDate()}`); - await writeObject(this.ref, dict, buffer, xref); - changes[0].data = buffer.join(""); - return changes; - } - async _getAppearance(evaluator, task, intent, annotationStorage) { - const isPassword = this.hasFieldFlag(AnnotationFieldFlag.PASSWORD); - if (isPassword) { - return null; - } - const storageEntry = annotationStorage?.get(this.data.id); - let value, rotation; - if (storageEntry) { - value = storageEntry.formattedValue || storageEntry.value; - rotation = storageEntry.rotation; - } - if (rotation === undefined && value === undefined && !this._needAppearances) { - if (!this._hasValueFromXFA || this.appearance) { - return null; - } - } - const colors = this.getBorderAndBackgroundAppearances(annotationStorage); - if (value === undefined) { - value = this.data.fieldValue; - if (!value) { - return `/Tx BMC q ${colors}Q EMC`; - } - } - if (Array.isArray(value) && value.length === 1) { - value = value[0]; - } - assert(typeof value === "string", "Expected `value` to be a string."); - value = value.trim(); - if (this.data.combo) { - const option = this.data.options.find(({ - exportValue - }) => value === exportValue); - value = option?.displayValue || value; - } - if (value === "") { - return `/Tx BMC q ${colors}Q EMC`; - } - if (rotation === undefined) { - rotation = this.rotation; - } - let lineCount = -1; - let lines; - if (this.data.multiLine) { - lines = value.split(/\r\n?|\n/).map(line => line.normalize("NFC")); - lineCount = lines.length; - } else { - lines = [value.replace(/\r\n?|\n/, "").normalize("NFC")]; - } - const defaultPadding = 1; - const defaultHPadding = 2; - let totalHeight = this.data.rect[3] - this.data.rect[1]; - let totalWidth = this.data.rect[2] - this.data.rect[0]; - if (rotation === 90 || rotation === 270) { - [totalWidth, totalHeight] = [totalHeight, totalWidth]; - } - if (!this._defaultAppearance) { - this.data.defaultAppearanceData = parseDefaultAppearance(this._defaultAppearance = "/Helvetica 0 Tf 0 g"); - } - let font = await WidgetAnnotation._getFontData(evaluator, task, this.data.defaultAppearanceData, this._fieldResources.mergedResources); - let defaultAppearance, fontSize, lineHeight; - const encodedLines = []; - let encodingError = false; - for (const line of lines) { - const encodedString = font.encodeString(line); - if (encodedString.length > 1) { - encodingError = true; - } - encodedLines.push(encodedString.join("")); - } - if (encodingError && intent & RenderingIntentFlag.SAVE) { - return { - needAppearances: true - }; - } - if (encodingError && this._isOffscreenCanvasSupported) { - const fontFamily = this.data.comb ? "monospace" : "sans-serif"; - const fakeUnicodeFont = new FakeUnicodeFont(evaluator.xref, fontFamily); - const resources = fakeUnicodeFont.createFontResources(lines.join("")); - const newFont = resources.getRaw("Font"); - if (this._fieldResources.mergedResources.has("Font")) { - const oldFont = this._fieldResources.mergedResources.get("Font"); - for (const key of newFont.getKeys()) { - oldFont.set(key, newFont.getRaw(key)); - } - } else { - this._fieldResources.mergedResources.set("Font", newFont); - } - const fontName = fakeUnicodeFont.fontName.name; - font = await WidgetAnnotation._getFontData(evaluator, task, { - fontName, - fontSize: 0 - }, resources); - for (let i = 0, ii = encodedLines.length; i < ii; i++) { - encodedLines[i] = stringToUTF16String(lines[i]); - } - const savedDefaultAppearance = Object.assign(Object.create(null), this.data.defaultAppearanceData); - this.data.defaultAppearanceData.fontSize = 0; - this.data.defaultAppearanceData.fontName = fontName; - [defaultAppearance, fontSize, lineHeight] = this._computeFontSize(totalHeight - 2 * defaultPadding, totalWidth - 2 * defaultHPadding, value, font, lineCount); - this.data.defaultAppearanceData = savedDefaultAppearance; - } else { - if (!this._isOffscreenCanvasSupported) { - warn("_getAppearance: OffscreenCanvas is not supported, annotation may not render correctly."); - } - [defaultAppearance, fontSize, lineHeight] = this._computeFontSize(totalHeight - 2 * defaultPadding, totalWidth - 2 * defaultHPadding, value, font, lineCount); - } - let descent = font.descent; - if (isNaN(descent)) { - descent = BASELINE_FACTOR * lineHeight; - } else { - descent = Math.max(BASELINE_FACTOR * lineHeight, Math.abs(descent) * fontSize); - } - const defaultVPadding = Math.min(Math.floor((totalHeight - fontSize) / 2), defaultPadding); - const alignment = this.data.textAlignment; - if (this.data.multiLine) { - return this._getMultilineAppearance(defaultAppearance, encodedLines, font, fontSize, totalWidth, totalHeight, alignment, defaultHPadding, defaultVPadding, descent, lineHeight, annotationStorage); - } - if (this.data.comb) { - return this._getCombAppearance(defaultAppearance, font, encodedLines[0], fontSize, totalWidth, totalHeight, defaultHPadding, defaultVPadding, descent, lineHeight, annotationStorage); - } - const bottomPadding = defaultVPadding + descent; - if (alignment === 0 || alignment > 2) { - return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 ${numberToString(defaultHPadding)} ${numberToString(bottomPadding)} Tm (${escapeString(encodedLines[0])}) Tj` + " ET Q EMC"; - } - const prevInfo = { - shift: 0 - }; - const renderedText = this._renderText(encodedLines[0], font, fontSize, totalWidth, alignment, prevInfo, defaultHPadding, bottomPadding); - return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 0 0 Tm ${renderedText}` + " ET Q EMC"; - } - static async _getFontData(evaluator, task, appearanceData, resources) { - const operatorList = new OperatorList(); - const initialState = { - font: null, - clone() { - return this; - } - }; - const { - fontName, - fontSize - } = appearanceData; - await evaluator.handleSetFont(resources, [fontName && Name.get(fontName), fontSize], null, operatorList, task, initialState, null); - return initialState.font; - } - _getTextWidth(text, font) { - return font.charsToGlyphs(text).reduce((width, glyph) => width + glyph.width, 0) / 1000; - } - _computeFontSize(height, width, text, font, lineCount) { - let { - fontSize - } = this.data.defaultAppearanceData; - let lineHeight = (fontSize || 12) * LINE_FACTOR, - numberOfLines = Math.round(height / lineHeight); - if (!fontSize) { - const roundWithTwoDigits = x => Math.floor(x * 100) / 100; - if (lineCount === -1) { - const textWidth = this._getTextWidth(text, font); - fontSize = roundWithTwoDigits(Math.min(height / LINE_FACTOR, textWidth > width ? width / textWidth : Infinity)); - numberOfLines = 1; - } else { - const lines = text.split(/\r\n?|\n/); - const cachedLines = []; - for (const line of lines) { - const encoded = font.encodeString(line).join(""); - const glyphs = font.charsToGlyphs(encoded); - const positions = font.getCharPositions(encoded); - cachedLines.push({ - line: encoded, - glyphs, - positions - }); - } - const isTooBig = fsize => { - let totalHeight = 0; - for (const cache of cachedLines) { - const chunks = this._splitLine(null, font, fsize, width, cache); - totalHeight += chunks.length * fsize; - if (totalHeight > height) { - return true; - } - } - return false; - }; - numberOfLines = Math.max(numberOfLines, lineCount); - while (true) { - lineHeight = height / numberOfLines; - fontSize = roundWithTwoDigits(lineHeight / LINE_FACTOR); - if (isTooBig(fontSize)) { - numberOfLines++; - continue; - } - break; - } - } - const { - fontName, - fontColor - } = this.data.defaultAppearanceData; - this._defaultAppearance = createDefaultAppearance({ - fontSize, - fontName, - fontColor - }); - } - return [this._defaultAppearance, fontSize, height / numberOfLines]; - } - _renderText(text, font, fontSize, totalWidth, alignment, prevInfo, hPadding, vPadding) { - let shift; - if (alignment === 1) { - const width = this._getTextWidth(text, font) * fontSize; - shift = (totalWidth - width) / 2; - } else if (alignment === 2) { - const width = this._getTextWidth(text, font) * fontSize; - shift = totalWidth - width - hPadding; - } else { - shift = hPadding; - } - const shiftStr = numberToString(shift - prevInfo.shift); - prevInfo.shift = shift; - vPadding = numberToString(vPadding); - return `${shiftStr} ${vPadding} Td (${escapeString(text)}) Tj`; - } - _getSaveFieldResources(xref) { - const { - localResources, - appearanceResources, - acroFormResources - } = this._fieldResources; - const fontName = this.data.defaultAppearanceData?.fontName; - if (!fontName) { - return localResources || Dict.empty; - } - for (const resources of [localResources, appearanceResources]) { - if (resources instanceof Dict) { - const localFont = resources.get("Font"); - if (localFont instanceof Dict && localFont.has(fontName)) { - return resources; - } - } - } - if (acroFormResources instanceof Dict) { - const acroFormFont = acroFormResources.get("Font"); - if (acroFormFont instanceof Dict && acroFormFont.has(fontName)) { - const subFontDict = new Dict(xref); - subFontDict.set(fontName, acroFormFont.getRaw(fontName)); - const subResourcesDict = new Dict(xref); - subResourcesDict.set("Font", subFontDict); - return Dict.merge({ - xref, - dictArray: [subResourcesDict, localResources], - mergeSubDicts: true - }); - } - } - return localResources || Dict.empty; - } - getFieldObject() { - return null; - } -} -class TextWidgetAnnotation extends WidgetAnnotation { - constructor(params) { - super(params); - this.data.hasOwnCanvas = this.data.readOnly && !this.data.noHTML; - this._hasText = true; - const dict = params.dict; - if (typeof this.data.fieldValue !== "string") { - this.data.fieldValue = ""; - } - let alignment = getInheritableProperty({ - dict, - key: "Q" - }); - if (!Number.isInteger(alignment) || alignment < 0 || alignment > 2) { - alignment = null; - } - this.data.textAlignment = alignment; - let maximumLength = getInheritableProperty({ - dict, - key: "MaxLen" - }); - if (!Number.isInteger(maximumLength) || maximumLength < 0) { - maximumLength = 0; - } - this.data.maxLen = maximumLength; - this.data.multiLine = this.hasFieldFlag(AnnotationFieldFlag.MULTILINE); - this.data.comb = this.hasFieldFlag(AnnotationFieldFlag.COMB) && !this.hasFieldFlag(AnnotationFieldFlag.MULTILINE) && !this.hasFieldFlag(AnnotationFieldFlag.PASSWORD) && !this.hasFieldFlag(AnnotationFieldFlag.FILESELECT) && this.data.maxLen !== 0; - this.data.doNotScroll = this.hasFieldFlag(AnnotationFieldFlag.DONOTSCROLL); - } - get hasTextContent() { - return !!this.appearance && !this._needAppearances; - } - _getCombAppearance(defaultAppearance, font, text, fontSize, width, height, hPadding, vPadding, descent, lineHeight, annotationStorage) { - const combWidth = width / this.data.maxLen; - const colors = this.getBorderAndBackgroundAppearances(annotationStorage); - const buf = []; - const positions = font.getCharPositions(text); - for (const [start, end] of positions) { - buf.push(`(${escapeString(text.substring(start, end))}) Tj`); - } - const renderedComb = buf.join(` ${numberToString(combWidth)} 0 Td `); - return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 ${numberToString(hPadding)} ${numberToString(vPadding + descent)} Tm ${renderedComb}` + " ET Q EMC"; - } - _getMultilineAppearance(defaultAppearance, lines, font, fontSize, width, height, alignment, hPadding, vPadding, descent, lineHeight, annotationStorage) { - const buf = []; - const totalWidth = width - 2 * hPadding; - const prevInfo = { - shift: 0 - }; - for (let i = 0, ii = lines.length; i < ii; i++) { - const line = lines[i]; - const chunks = this._splitLine(line, font, fontSize, totalWidth); - for (let j = 0, jj = chunks.length; j < jj; j++) { - const chunk = chunks[j]; - const vShift = i === 0 && j === 0 ? -vPadding - (lineHeight - descent) : -lineHeight; - buf.push(this._renderText(chunk, font, fontSize, width, alignment, prevInfo, hPadding, vShift)); - } - } - const colors = this.getBorderAndBackgroundAppearances(annotationStorage); - const renderedText = buf.join("\n"); - return `/Tx BMC q ${colors}BT ` + defaultAppearance + ` 1 0 0 1 0 ${numberToString(height)} Tm ${renderedText}` + " ET Q EMC"; - } - _splitLine(line, font, fontSize, width, cache = {}) { - line = cache.line || line; - const glyphs = cache.glyphs || font.charsToGlyphs(line); - if (glyphs.length <= 1) { - return [line]; - } - const positions = cache.positions || font.getCharPositions(line); - const scale = fontSize / 1000; - const chunks = []; - let lastSpacePosInStringStart = -1, - lastSpacePosInStringEnd = -1, - lastSpacePos = -1, - startChunk = 0, - currentWidth = 0; - for (let i = 0, ii = glyphs.length; i < ii; i++) { - const [start, end] = positions[i]; - const glyph = glyphs[i]; - const glyphWidth = glyph.width * scale; - if (glyph.unicode === " ") { - if (currentWidth + glyphWidth > width) { - chunks.push(line.substring(startChunk, start)); - startChunk = start; - currentWidth = glyphWidth; - lastSpacePosInStringStart = -1; - lastSpacePos = -1; - } else { - currentWidth += glyphWidth; - lastSpacePosInStringStart = start; - lastSpacePosInStringEnd = end; - lastSpacePos = i; - } - } else if (currentWidth + glyphWidth > width) { - if (lastSpacePosInStringStart !== -1) { - chunks.push(line.substring(startChunk, lastSpacePosInStringEnd)); - startChunk = lastSpacePosInStringEnd; - i = lastSpacePos + 1; - lastSpacePosInStringStart = -1; - currentWidth = 0; - } else { - chunks.push(line.substring(startChunk, start)); - startChunk = start; - currentWidth = glyphWidth; - } - } else { - currentWidth += glyphWidth; - } - } - if (startChunk < line.length) { - chunks.push(line.substring(startChunk, line.length)); - } - return chunks; - } - getFieldObject() { - return { - id: this.data.id, - value: this.data.fieldValue, - defaultValue: this.data.defaultFieldValue || "", - multiline: this.data.multiLine, - password: this.hasFieldFlag(AnnotationFieldFlag.PASSWORD), - charLimit: this.data.maxLen, - comb: this.data.comb, - editable: !this.data.readOnly, - hidden: this.data.hidden, - name: this.data.fieldName, - rect: this.data.rect, - actions: this.data.actions, - page: this.data.pageIndex, - strokeColor: this.data.borderColor, - fillColor: this.data.backgroundColor, - rotation: this.rotation, - type: "text" - }; - } -} -class ButtonWidgetAnnotation extends WidgetAnnotation { - constructor(params) { - super(params); - this.checkedAppearance = null; - this.uncheckedAppearance = null; - this.data.checkBox = !this.hasFieldFlag(AnnotationFieldFlag.RADIO) && !this.hasFieldFlag(AnnotationFieldFlag.PUSHBUTTON); - this.data.radioButton = this.hasFieldFlag(AnnotationFieldFlag.RADIO) && !this.hasFieldFlag(AnnotationFieldFlag.PUSHBUTTON); - this.data.pushButton = this.hasFieldFlag(AnnotationFieldFlag.PUSHBUTTON); - this.data.isTooltipOnly = false; - if (this.data.checkBox) { - this._processCheckBox(params); - } else if (this.data.radioButton) { - this._processRadioButton(params); - } else if (this.data.pushButton) { - this.data.hasOwnCanvas = true; - this.data.noHTML = false; - this._processPushButton(params); - } else { - warn("Invalid field flags for button widget annotation"); - } - } - async getOperatorList(evaluator, task, intent, renderForms, annotationStorage) { - if (this.data.pushButton) { - return super.getOperatorList(evaluator, task, intent, false, annotationStorage); - } - let value = null; - let rotation = null; - if (annotationStorage) { - const storageEntry = annotationStorage.get(this.data.id); - value = storageEntry ? storageEntry.value : null; - rotation = storageEntry ? storageEntry.rotation : null; - } - if (value === null && this.appearance) { - return super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); - } - if (value === null || value === undefined) { - value = this.data.checkBox ? this.data.fieldValue === this.data.exportValue : this.data.fieldValue === this.data.buttonValue; - } - const appearance = value ? this.checkedAppearance : this.uncheckedAppearance; - if (appearance) { - const savedAppearance = this.appearance; - const savedMatrix = appearance.dict.getArray("Matrix") || IDENTITY_MATRIX; - if (rotation) { - appearance.dict.set("Matrix", this.getRotationMatrix(annotationStorage)); - } - this.appearance = appearance; - const operatorList = super.getOperatorList(evaluator, task, intent, renderForms, annotationStorage); - this.appearance = savedAppearance; - appearance.dict.set("Matrix", savedMatrix); - return operatorList; - } - return { - opList: new OperatorList(), - separateForm: false, - separateCanvas: false - }; - } - async save(evaluator, task, annotationStorage) { - if (this.data.checkBox) { - return this._saveCheckbox(evaluator, task, annotationStorage); - } - if (this.data.radioButton) { - return this._saveRadioButton(evaluator, task, annotationStorage); - } - return null; - } - async _saveCheckbox(evaluator, task, annotationStorage) { - if (!annotationStorage) { - return null; - } - const storageEntry = annotationStorage.get(this.data.id); - let rotation = storageEntry?.rotation, - value = storageEntry?.value; - if (rotation === undefined) { - if (value === undefined) { - return null; - } - const defaultValue = this.data.fieldValue === this.data.exportValue; - if (defaultValue === value) { - return null; - } - } - const dict = evaluator.xref.fetchIfRef(this.ref); - if (!(dict instanceof Dict)) { - return null; - } - if (rotation === undefined) { - rotation = this.rotation; - } - if (value === undefined) { - value = this.data.fieldValue === this.data.exportValue; - } - const xfa = { - path: this.data.fieldName, - value: value ? this.data.exportValue : "" - }; - const name = Name.get(value ? this.data.exportValue : "Off"); - dict.set("V", name); - dict.set("AS", name); - dict.set("M", `D:${getModificationDate()}`); - const maybeMK = this._getMKDict(rotation); - if (maybeMK) { - dict.set("MK", maybeMK); - } - const buffer = []; - await writeObject(this.ref, dict, buffer, evaluator.xref); - return [{ - ref: this.ref, - data: buffer.join(""), - xfa - }]; - } - async _saveRadioButton(evaluator, task, annotationStorage) { - if (!annotationStorage) { - return null; - } - const storageEntry = annotationStorage.get(this.data.id); - let rotation = storageEntry?.rotation, - value = storageEntry?.value; - if (rotation === undefined) { - if (value === undefined) { - return null; - } - const defaultValue = this.data.fieldValue === this.data.buttonValue; - if (defaultValue === value) { - return null; - } - } - const dict = evaluator.xref.fetchIfRef(this.ref); - if (!(dict instanceof Dict)) { - return null; - } - if (value === undefined) { - value = this.data.fieldValue === this.data.buttonValue; - } - if (rotation === undefined) { - rotation = this.rotation; - } - const xfa = { - path: this.data.fieldName, - value: value ? this.data.buttonValue : "" - }; - const name = Name.get(value ? this.data.buttonValue : "Off"); - const buffer = []; - let parentData = null; - if (value) { - if (this.parent instanceof Ref) { - const parent = evaluator.xref.fetch(this.parent); - parent.set("V", name); - await writeObject(this.parent, parent, buffer, evaluator.xref); - parentData = buffer.join(""); - buffer.length = 0; - } else if (this.parent instanceof Dict) { - this.parent.set("V", name); - } - } - dict.set("AS", name); - dict.set("M", `D:${getModificationDate()}`); - const maybeMK = this._getMKDict(rotation); - if (maybeMK) { - dict.set("MK", maybeMK); - } - await writeObject(this.ref, dict, buffer, evaluator.xref); - const newRefs = [{ - ref: this.ref, - data: buffer.join(""), - xfa - }]; - if (parentData) { - newRefs.push({ - ref: this.parent, - data: parentData, - xfa: null - }); - } - return newRefs; - } - _getDefaultCheckedAppearance(params, type) { - const width = this.data.rect[2] - this.data.rect[0]; - const height = this.data.rect[3] - this.data.rect[1]; - const bbox = [0, 0, width, height]; - const FONT_RATIO = 0.8; - const fontSize = Math.min(width, height) * FONT_RATIO; - let metrics, char; - if (type === "check") { - metrics = { - width: 0.755 * fontSize, - height: 0.705 * fontSize - }; - char = "\x33"; - } else if (type === "disc") { - metrics = { - width: 0.791 * fontSize, - height: 0.705 * fontSize - }; - char = "\x6C"; - } else { - unreachable(`_getDefaultCheckedAppearance - unsupported type: ${type}`); - } - const xShift = numberToString((width - metrics.width) / 2); - const yShift = numberToString((height - metrics.height) / 2); - const appearance = `q BT /PdfJsZaDb ${fontSize} Tf 0 g ${xShift} ${yShift} Td (${char}) Tj ET Q`; - const appearanceStreamDict = new Dict(params.xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", bbox); - appearanceStreamDict.set("Matrix", [1, 0, 0, 1, 0, 0]); - appearanceStreamDict.set("Length", appearance.length); - const resources = new Dict(params.xref); - const font = new Dict(params.xref); - font.set("PdfJsZaDb", this.fallbackFontDict); - resources.set("Font", font); - appearanceStreamDict.set("Resources", resources); - this.checkedAppearance = new StringStream(appearance); - this.checkedAppearance.dict = appearanceStreamDict; - this._streams.push(this.checkedAppearance); - } - _processCheckBox(params) { - const customAppearance = params.dict.get("AP"); - if (!(customAppearance instanceof Dict)) { - return; - } - const normalAppearance = customAppearance.get("N"); - if (!(normalAppearance instanceof Dict)) { - return; - } - const asValue = this._decodeFormValue(params.dict.get("AS")); - if (typeof asValue === "string") { - this.data.fieldValue = asValue; - } - const yes = this.data.fieldValue !== null && this.data.fieldValue !== "Off" ? this.data.fieldValue : "Yes"; - const exportValues = normalAppearance.getKeys(); - if (exportValues.length === 0) { - exportValues.push("Off", yes); - } else if (exportValues.length === 1) { - if (exportValues[0] === "Off") { - exportValues.push(yes); - } else { - exportValues.unshift("Off"); - } - } else if (exportValues.includes(yes)) { - exportValues.length = 0; - exportValues.push("Off", yes); - } else { - const otherYes = exportValues.find(v => v !== "Off"); - exportValues.length = 0; - exportValues.push("Off", otherYes); - } - if (!exportValues.includes(this.data.fieldValue)) { - this.data.fieldValue = "Off"; - } - this.data.exportValue = exportValues[1]; - const checkedAppearance = normalAppearance.get(this.data.exportValue); - this.checkedAppearance = checkedAppearance instanceof BaseStream ? checkedAppearance : null; - const uncheckedAppearance = normalAppearance.get("Off"); - this.uncheckedAppearance = uncheckedAppearance instanceof BaseStream ? uncheckedAppearance : null; - if (this.checkedAppearance) { - this._streams.push(this.checkedAppearance); - } else { - this._getDefaultCheckedAppearance(params, "check"); - } - if (this.uncheckedAppearance) { - this._streams.push(this.uncheckedAppearance); - } - this._fallbackFontDict = this.fallbackFontDict; - if (this.data.defaultFieldValue === null) { - this.data.defaultFieldValue = "Off"; - } - } - _processRadioButton(params) { - this.data.buttonValue = null; - const fieldParent = params.dict.get("Parent"); - if (fieldParent instanceof Dict) { - this.parent = params.dict.getRaw("Parent"); - const fieldParentValue = fieldParent.get("V"); - if (fieldParentValue instanceof Name) { - this.data.fieldValue = this._decodeFormValue(fieldParentValue); - } - } - const appearanceStates = params.dict.get("AP"); - if (!(appearanceStates instanceof Dict)) { - return; - } - const normalAppearance = appearanceStates.get("N"); - if (!(normalAppearance instanceof Dict)) { - return; - } - for (const key of normalAppearance.getKeys()) { - if (key !== "Off") { - this.data.buttonValue = this._decodeFormValue(key); - break; - } - } - const checkedAppearance = normalAppearance.get(this.data.buttonValue); - this.checkedAppearance = checkedAppearance instanceof BaseStream ? checkedAppearance : null; - const uncheckedAppearance = normalAppearance.get("Off"); - this.uncheckedAppearance = uncheckedAppearance instanceof BaseStream ? uncheckedAppearance : null; - if (this.checkedAppearance) { - this._streams.push(this.checkedAppearance); - } else { - this._getDefaultCheckedAppearance(params, "disc"); - } - if (this.uncheckedAppearance) { - this._streams.push(this.uncheckedAppearance); - } - this._fallbackFontDict = this.fallbackFontDict; - if (this.data.defaultFieldValue === null) { - this.data.defaultFieldValue = "Off"; - } - } - _processPushButton(params) { - const { - dict, - annotationGlobals - } = params; - if (!dict.has("A") && !dict.has("AA") && !this.data.alternativeText) { - warn("Push buttons without action dictionaries are not supported"); - return; - } - this.data.isTooltipOnly = !dict.has("A") && !dict.has("AA"); - Catalog.parseDestDictionary({ - destDict: dict, - resultObj: this.data, - docBaseUrl: annotationGlobals.baseUrl, - docAttachments: annotationGlobals.attachments - }); - } - getFieldObject() { - let type = "button"; - let exportValues; - if (this.data.checkBox) { - type = "checkbox"; - exportValues = this.data.exportValue; - } else if (this.data.radioButton) { - type = "radiobutton"; - exportValues = this.data.buttonValue; - } - return { - id: this.data.id, - value: this.data.fieldValue || "Off", - defaultValue: this.data.defaultFieldValue, - exportValues, - editable: !this.data.readOnly, - name: this.data.fieldName, - rect: this.data.rect, - hidden: this.data.hidden, - actions: this.data.actions, - page: this.data.pageIndex, - strokeColor: this.data.borderColor, - fillColor: this.data.backgroundColor, - rotation: this.rotation, - type - }; - } - get fallbackFontDict() { - const dict = new Dict(); - dict.set("BaseFont", Name.get("ZapfDingbats")); - dict.set("Type", Name.get("FallbackType")); - dict.set("Subtype", Name.get("FallbackType")); - dict.set("Encoding", Name.get("ZapfDingbatsEncoding")); - return shadow(this, "fallbackFontDict", dict); - } -} -class ChoiceWidgetAnnotation extends WidgetAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.indices = dict.getArray("I"); - this.hasIndices = Array.isArray(this.indices) && this.indices.length > 0; - this.data.options = []; - const options = getInheritableProperty({ - dict, - key: "Opt" - }); - if (Array.isArray(options)) { - for (let i = 0, ii = options.length; i < ii; i++) { - const option = xref.fetchIfRef(options[i]); - const isOptionArray = Array.isArray(option); - this.data.options[i] = { - exportValue: this._decodeFormValue(isOptionArray ? xref.fetchIfRef(option[0]) : option), - displayValue: this._decodeFormValue(isOptionArray ? xref.fetchIfRef(option[1]) : option) - }; - } - } - if (!this.hasIndices) { - if (typeof this.data.fieldValue === "string") { - this.data.fieldValue = [this.data.fieldValue]; - } else if (!this.data.fieldValue) { - this.data.fieldValue = []; - } - } else { - this.data.fieldValue = []; - const ii = this.data.options.length; - for (const i of this.indices) { - if (Number.isInteger(i) && i >= 0 && i < ii) { - this.data.fieldValue.push(this.data.options[i].exportValue); - } - } - } - this.data.combo = this.hasFieldFlag(AnnotationFieldFlag.COMBO); - this.data.multiSelect = this.hasFieldFlag(AnnotationFieldFlag.MULTISELECT); - this._hasText = true; - } - getFieldObject() { - const type = this.data.combo ? "combobox" : "listbox"; - const value = this.data.fieldValue.length > 0 ? this.data.fieldValue[0] : null; - return { - id: this.data.id, - value, - defaultValue: this.data.defaultFieldValue, - editable: !this.data.readOnly, - name: this.data.fieldName, - rect: this.data.rect, - numItems: this.data.fieldValue.length, - multipleSelection: this.data.multiSelect, - hidden: this.data.hidden, - actions: this.data.actions, - items: this.data.options, - page: this.data.pageIndex, - strokeColor: this.data.borderColor, - fillColor: this.data.backgroundColor, - rotation: this.rotation, - type - }; - } - amendSavedDict(annotationStorage, dict) { - if (!this.hasIndices) { - return; - } - let values = annotationStorage?.get(this.data.id)?.value; - if (!Array.isArray(values)) { - values = [values]; - } - const indices = []; - const { - options - } = this.data; - for (let i = 0, j = 0, ii = options.length; i < ii; i++) { - if (options[i].exportValue === values[j]) { - indices.push(i); - j += 1; - } - } - dict.set("I", indices); - } - async _getAppearance(evaluator, task, intent, annotationStorage) { - if (this.data.combo) { - return super._getAppearance(evaluator, task, intent, annotationStorage); - } - let exportedValue, rotation; - const storageEntry = annotationStorage?.get(this.data.id); - if (storageEntry) { - rotation = storageEntry.rotation; - exportedValue = storageEntry.value; - } - if (rotation === undefined && exportedValue === undefined && !this._needAppearances) { - return null; - } - if (exportedValue === undefined) { - exportedValue = this.data.fieldValue; - } else if (!Array.isArray(exportedValue)) { - exportedValue = [exportedValue]; - } - const defaultPadding = 1; - const defaultHPadding = 2; - let totalHeight = this.data.rect[3] - this.data.rect[1]; - let totalWidth = this.data.rect[2] - this.data.rect[0]; - if (rotation === 90 || rotation === 270) { - [totalWidth, totalHeight] = [totalHeight, totalWidth]; - } - const lineCount = this.data.options.length; - const valueIndices = []; - for (let i = 0; i < lineCount; i++) { - const { - exportValue - } = this.data.options[i]; - if (exportedValue.includes(exportValue)) { - valueIndices.push(i); - } - } - if (!this._defaultAppearance) { - this.data.defaultAppearanceData = parseDefaultAppearance(this._defaultAppearance = "/Helvetica 0 Tf 0 g"); - } - const font = await WidgetAnnotation._getFontData(evaluator, task, this.data.defaultAppearanceData, this._fieldResources.mergedResources); - let defaultAppearance; - let { - fontSize - } = this.data.defaultAppearanceData; - if (!fontSize) { - const lineHeight = (totalHeight - defaultPadding) / lineCount; - let lineWidth = -1; - let value; - for (const { - displayValue - } of this.data.options) { - const width = this._getTextWidth(displayValue, font); - if (width > lineWidth) { - lineWidth = width; - value = displayValue; - } - } - [defaultAppearance, fontSize] = this._computeFontSize(lineHeight, totalWidth - 2 * defaultHPadding, value, font, -1); - } else { - defaultAppearance = this._defaultAppearance; - } - const lineHeight = fontSize * LINE_FACTOR; - const vPadding = (lineHeight - fontSize) / 2; - const numberOfVisibleLines = Math.floor(totalHeight / lineHeight); - let firstIndex = 0; - if (valueIndices.length > 0) { - const minIndex = Math.min(...valueIndices); - const maxIndex = Math.max(...valueIndices); - firstIndex = Math.max(0, maxIndex - numberOfVisibleLines + 1); - if (firstIndex > minIndex) { - firstIndex = minIndex; - } - } - const end = Math.min(firstIndex + numberOfVisibleLines + 1, lineCount); - const buf = ["/Tx BMC q", `1 1 ${totalWidth} ${totalHeight} re W n`]; - if (valueIndices.length) { - buf.push("0.600006 0.756866 0.854904 rg"); - for (const index of valueIndices) { - if (firstIndex <= index && index < end) { - buf.push(`1 ${totalHeight - (index - firstIndex + 1) * lineHeight} ${totalWidth} ${lineHeight} re f`); - } - } - } - buf.push("BT", defaultAppearance, `1 0 0 1 0 ${totalHeight} Tm`); - const prevInfo = { - shift: 0 - }; - for (let i = firstIndex; i < end; i++) { - const { - displayValue - } = this.data.options[i]; - const vpadding = i === firstIndex ? vPadding : 0; - buf.push(this._renderText(displayValue, font, fontSize, totalWidth, 0, prevInfo, defaultHPadding, -lineHeight + vpadding)); - } - buf.push("ET Q EMC"); - return buf.join("\n"); - } -} -class SignatureWidgetAnnotation extends WidgetAnnotation { - constructor(params) { - super(params); - this.data.fieldValue = null; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = !this.data.hasOwnCanvas; - } - getFieldObject() { - return { - id: this.data.id, - value: null, - page: this.data.pageIndex, - type: "signature" - }; - } -} -class TextAnnotation extends MarkupAnnotation { - constructor(params) { - const DEFAULT_ICON_SIZE = 22; - super(params); - this.data.noRotate = true; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - const { - dict - } = params; - this.data.annotationType = AnnotationType.TEXT; - if (this.data.hasAppearance) { - this.data.name = "NoIcon"; - } else { - this.data.rect[1] = this.data.rect[3] - DEFAULT_ICON_SIZE; - this.data.rect[2] = this.data.rect[0] + DEFAULT_ICON_SIZE; - this.data.name = dict.has("Name") ? dict.get("Name").name : "Note"; - } - if (dict.has("State")) { - this.data.state = dict.get("State") || null; - this.data.stateModel = dict.get("StateModel") || null; - } else { - this.data.state = null; - this.data.stateModel = null; - } - } -} -class LinkAnnotation extends Annotation { - constructor(params) { - super(params); - const { - dict, - annotationGlobals - } = params; - this.data.annotationType = AnnotationType.LINK; - this.data.noHTML = false; - const quadPoints = getQuadPoints(dict, this.rectangle); - if (quadPoints) { - this.data.quadPoints = quadPoints; - } - this.data.borderColor ||= this.data.color; - Catalog.parseDestDictionary({ - destDict: dict, - resultObj: this.data, - docBaseUrl: annotationGlobals.baseUrl, - docAttachments: annotationGlobals.attachments - }); - } -} -class PopupAnnotation extends Annotation { - constructor(params) { - super(params); - const { - dict - } = params; - this.data.annotationType = AnnotationType.POPUP; - this.data.noHTML = false; - if (this.data.rect[0] === this.data.rect[2] || this.data.rect[1] === this.data.rect[3]) { - this.data.rect = null; - } - let parentItem = dict.get("Parent"); - if (!parentItem) { - warn("Popup annotation has a missing or invalid parent annotation."); - return; - } - const parentRect = parentItem.getArray("Rect"); - this.data.parentRect = Array.isArray(parentRect) && parentRect.length === 4 ? Util.normalizeRect(parentRect) : null; - const rt = parentItem.get("RT"); - if (isName(rt, AnnotationReplyType.GROUP)) { - parentItem = parentItem.get("IRT"); - } - if (!parentItem.has("M")) { - this.data.modificationDate = null; - } else { - this.setModificationDate(parentItem.get("M")); - this.data.modificationDate = this.modificationDate; - } - if (!parentItem.has("C")) { - this.data.color = null; - } else { - this.setColor(parentItem.getArray("C")); - this.data.color = this.color; - } - if (!this.viewable) { - const parentFlags = parentItem.get("F"); - if (this._isViewable(parentFlags)) { - this.setFlags(parentFlags); - } - } - this.setTitle(parentItem.get("T")); - this.data.titleObj = this._title; - this.setContents(parentItem.get("Contents")); - this.data.contentsObj = this._contents; - if (parentItem.has("RC")) { - this.data.richText = XFAFactory.getRichTextAsHtml(parentItem.get("RC")); - } - this.data.open = !!dict.get("Open"); - } -} -class FreeTextAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - this.data.hasOwnCanvas = !this.data.noHTML; - this.data.noHTML = false; - const { - evaluatorOptions, - xref - } = params; - this.data.annotationType = AnnotationType.FREETEXT; - this.setDefaultAppearance(params); - this._hasAppearance = !!this.appearance; - if (this._hasAppearance) { - const { - fontColor, - fontSize - } = parseAppearanceStream(this.appearance, evaluatorOptions, xref); - this.data.defaultAppearanceData.fontColor = fontColor; - this.data.defaultAppearanceData.fontSize = fontSize || 10; - } else { - this.data.defaultAppearanceData.fontSize ||= 10; - const { - fontColor, - fontSize - } = this.data.defaultAppearanceData; - if (this._contents.str) { - this.data.textContent = this._contents.str.split(/\r\n?|\n/).map(line => line.trimEnd()); - const { - coords, - bbox, - matrix - } = FakeUnicodeFont.getFirstPositionInfo(this.rectangle, this.rotation, fontSize); - this.data.textPosition = this._transformPoint(coords, bbox, matrix); - } - if (this._isOffscreenCanvasSupported) { - const strokeAlpha = params.dict.get("CA"); - const fakeUnicodeFont = new FakeUnicodeFont(xref, "sans-serif"); - this.appearance = fakeUnicodeFont.createAppearance(this._contents.str, this.rectangle, this.rotation, fontSize, fontColor, strokeAlpha); - this._streams.push(this.appearance); - } else { - warn("FreeTextAnnotation: OffscreenCanvas is not supported, annotation may not render correctly."); - } - } - } - get hasTextContent() { - return this._hasAppearance; - } - static createNewDict(annotation, xref, { - apRef, - ap - }) { - const { - color, - fontSize, - rect, - rotation, - user, - value - } = annotation; - const freetext = new Dict(xref); - freetext.set("Type", Name.get("Annot")); - freetext.set("Subtype", Name.get("FreeText")); - freetext.set("CreationDate", `D:${getModificationDate()}`); - freetext.set("Rect", rect); - const da = `/Helv ${fontSize} Tf ${getPdfColor(color, true)}`; - freetext.set("DA", da); - freetext.set("Contents", isAscii(value) ? value : stringToUTF16String(value, true)); - freetext.set("F", 4); - freetext.set("Border", [0, 0, 0]); - freetext.set("Rotate", rotation); - if (user) { - freetext.set("T", isAscii(user) ? user : stringToUTF16String(user, true)); - } - if (apRef || ap) { - const n = new Dict(xref); - freetext.set("AP", n); - if (apRef) { - n.set("N", apRef); - } else { - n.set("N", ap); - } - } - return freetext; - } - static async createNewAppearanceStream(annotation, xref, params) { - const { - baseFontRef, - evaluator, - task - } = params; - const { - color, - fontSize, - rect, - rotation, - value - } = annotation; - const resources = new Dict(xref); - const font = new Dict(xref); - if (baseFontRef) { - font.set("Helv", baseFontRef); - } else { - const baseFont = new Dict(xref); - baseFont.set("BaseFont", Name.get("Helvetica")); - baseFont.set("Type", Name.get("Font")); - baseFont.set("Subtype", Name.get("Type1")); - baseFont.set("Encoding", Name.get("WinAnsiEncoding")); - font.set("Helv", baseFont); - } - resources.set("Font", font); - const helv = await WidgetAnnotation._getFontData(evaluator, task, { - fontName: "Helv", - fontSize - }, resources); - const [x1, y1, x2, y2] = rect; - let w = x2 - x1; - let h = y2 - y1; - if (rotation % 180 !== 0) { - [w, h] = [h, w]; - } - const lines = value.split("\n"); - const scale = fontSize / 1000; - let totalWidth = -Infinity; - const encodedLines = []; - for (let line of lines) { - const encoded = helv.encodeString(line); - if (encoded.length > 1) { - return null; - } - line = encoded.join(""); - encodedLines.push(line); - let lineWidth = 0; - const glyphs = helv.charsToGlyphs(line); - for (const glyph of glyphs) { - lineWidth += glyph.width * scale; - } - totalWidth = Math.max(totalWidth, lineWidth); - } - let hscale = 1; - if (totalWidth > w) { - hscale = w / totalWidth; - } - let vscale = 1; - const lineHeight = LINE_FACTOR * fontSize; - const lineAscent = (LINE_FACTOR - LINE_DESCENT_FACTOR) * fontSize; - const totalHeight = lineHeight * lines.length; - if (totalHeight > h) { - vscale = h / totalHeight; - } - const fscale = Math.min(hscale, vscale); - const newFontSize = fontSize * fscale; - let firstPoint, clipBox, matrix; - switch (rotation) { - case 0: - matrix = [1, 0, 0, 1]; - clipBox = [rect[0], rect[1], w, h]; - firstPoint = [rect[0], rect[3] - lineAscent]; - break; - case 90: - matrix = [0, 1, -1, 0]; - clipBox = [rect[1], -rect[2], w, h]; - firstPoint = [rect[1], -rect[0] - lineAscent]; - break; - case 180: - matrix = [-1, 0, 0, -1]; - clipBox = [-rect[2], -rect[3], w, h]; - firstPoint = [-rect[2], -rect[1] - lineAscent]; - break; - case 270: - matrix = [0, -1, 1, 0]; - clipBox = [-rect[3], rect[0], w, h]; - firstPoint = [-rect[3], rect[2] - lineAscent]; - break; - } - const buffer = ["q", `${matrix.join(" ")} 0 0 cm`, `${clipBox.join(" ")} re W n`, `BT`, `${getPdfColor(color, true)}`, `0 Tc /Helv ${numberToString(newFontSize)} Tf`]; - buffer.push(`${firstPoint.join(" ")} Td (${escapeString(encodedLines[0])}) Tj`); - const vShift = numberToString(lineHeight); - for (let i = 1, ii = encodedLines.length; i < ii; i++) { - const line = encodedLines[i]; - buffer.push(`0 -${vShift} Td (${escapeString(line)}) Tj`); - } - buffer.push("ET", "Q"); - const appearance = buffer.join("\n"); - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", rect); - appearanceStreamDict.set("Resources", resources); - appearanceStreamDict.set("Matrix", [1, 0, 0, 1, -rect[0], -rect[1]]); - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } -} -class LineAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.LINE; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - const lineCoordinates = dict.getArray("L"); - this.data.lineCoordinates = Util.normalizeRect(lineCoordinates); - this.setLineEndings(dict.getArray("LE")); - this.data.lineEndings = this.lineEndings; - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - const interiorColor = getRgbColor(dict.getArray("IC"), null); - const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; - const fillAlpha = fillColor ? strokeAlpha : null; - const borderWidth = this.borderStyle.width || 1, - borderAdjust = 2 * borderWidth; - const bbox = [this.data.lineCoordinates[0] - borderAdjust, this.data.lineCoordinates[1] - borderAdjust, this.data.lineCoordinates[2] + borderAdjust, this.data.lineCoordinates[3] + borderAdjust]; - if (!Util.intersect(this.rectangle, bbox)) { - this.rectangle = bbox; - } - this._setDefaultAppearance({ - xref, - extra: `${borderWidth} w`, - strokeColor, - fillColor, - strokeAlpha, - fillAlpha, - pointsCallback: (buffer, points) => { - buffer.push(`${lineCoordinates[0]} ${lineCoordinates[1]} m`, `${lineCoordinates[2]} ${lineCoordinates[3]} l`, "S"); - return [points[0].x - borderWidth, points[1].x + borderWidth, points[3].y - borderWidth, points[1].y + borderWidth]; - } - }); - } - } -} -class SquareAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.SQUARE; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - const interiorColor = getRgbColor(dict.getArray("IC"), null); - const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; - const fillAlpha = fillColor ? strokeAlpha : null; - if (this.borderStyle.width === 0 && !fillColor) { - return; - } - this._setDefaultAppearance({ - xref, - extra: `${this.borderStyle.width} w`, - strokeColor, - fillColor, - strokeAlpha, - fillAlpha, - pointsCallback: (buffer, points) => { - const x = points[2].x + this.borderStyle.width / 2; - const y = points[2].y + this.borderStyle.width / 2; - const width = points[3].x - points[2].x - this.borderStyle.width; - const height = points[1].y - points[3].y - this.borderStyle.width; - buffer.push(`${x} ${y} ${width} ${height} re`); - if (fillColor) { - buffer.push("B"); - } else { - buffer.push("S"); - } - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } -} -class CircleAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.CIRCLE; - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - const interiorColor = getRgbColor(dict.getArray("IC"), null); - const fillColor = interiorColor ? getPdfColorArray(interiorColor) : null; - const fillAlpha = fillColor ? strokeAlpha : null; - if (this.borderStyle.width === 0 && !fillColor) { - return; - } - const controlPointsDistance = 4 / 3 * Math.tan(Math.PI / (2 * 4)); - this._setDefaultAppearance({ - xref, - extra: `${this.borderStyle.width} w`, - strokeColor, - fillColor, - strokeAlpha, - fillAlpha, - pointsCallback: (buffer, points) => { - const x0 = points[0].x + this.borderStyle.width / 2; - const y0 = points[0].y - this.borderStyle.width / 2; - const x1 = points[3].x - this.borderStyle.width / 2; - const y1 = points[3].y + this.borderStyle.width / 2; - const xMid = x0 + (x1 - x0) / 2; - const yMid = y0 + (y1 - y0) / 2; - const xOffset = (x1 - x0) / 2 * controlPointsDistance; - const yOffset = (y1 - y0) / 2 * controlPointsDistance; - buffer.push(`${xMid} ${y1} m`, `${xMid + xOffset} ${y1} ${x1} ${yMid + yOffset} ${x1} ${yMid} c`, `${x1} ${yMid - yOffset} ${xMid + xOffset} ${y0} ${xMid} ${y0} c`, `${xMid - xOffset} ${y0} ${x0} ${yMid - yOffset} ${x0} ${yMid} c`, `${x0} ${yMid + yOffset} ${xMid - xOffset} ${y1} ${xMid} ${y1} c`, "h"); - if (fillColor) { - buffer.push("B"); - } else { - buffer.push("S"); - } - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } -} -class PolylineAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.POLYLINE; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - this.data.vertices = []; - if (!(this instanceof PolygonAnnotation)) { - this.setLineEndings(dict.getArray("LE")); - this.data.lineEndings = this.lineEndings; - } - const rawVertices = dict.getArray("Vertices"); - if (!Array.isArray(rawVertices)) { - return; - } - for (let i = 0, ii = rawVertices.length; i < ii; i += 2) { - this.data.vertices.push({ - x: rawVertices[i], - y: rawVertices[i + 1] - }); - } - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - const borderWidth = this.borderStyle.width || 1, - borderAdjust = 2 * borderWidth; - const bbox = [Infinity, Infinity, -Infinity, -Infinity]; - for (const vertex of this.data.vertices) { - bbox[0] = Math.min(bbox[0], vertex.x - borderAdjust); - bbox[1] = Math.min(bbox[1], vertex.y - borderAdjust); - bbox[2] = Math.max(bbox[2], vertex.x + borderAdjust); - bbox[3] = Math.max(bbox[3], vertex.y + borderAdjust); - } - if (!Util.intersect(this.rectangle, bbox)) { - this.rectangle = bbox; - } - this._setDefaultAppearance({ - xref, - extra: `${borderWidth} w`, - strokeColor, - strokeAlpha, - pointsCallback: (buffer, points) => { - const vertices = this.data.vertices; - for (let i = 0, ii = vertices.length; i < ii; i++) { - buffer.push(`${vertices[i].x} ${vertices[i].y} ${i === 0 ? "m" : "l"}`); - } - buffer.push("S"); - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } -} -class PolygonAnnotation extends PolylineAnnotation { - constructor(params) { - super(params); - this.data.annotationType = AnnotationType.POLYGON; - } -} -class CaretAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - this.data.annotationType = AnnotationType.CARET; - } -} -class InkAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.INK; - this.data.inkLists = []; - const rawInkLists = dict.getArray("InkList"); - if (!Array.isArray(rawInkLists)) { - return; - } - for (let i = 0, ii = rawInkLists.length; i < ii; ++i) { - this.data.inkLists.push([]); - for (let j = 0, jj = rawInkLists[i].length; j < jj; j += 2) { - this.data.inkLists[i].push({ - x: xref.fetchIfRef(rawInkLists[i][j]), - y: xref.fetchIfRef(rawInkLists[i][j + 1]) - }); - } - } - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - const borderWidth = this.borderStyle.width || 1, - borderAdjust = 2 * borderWidth; - const bbox = [Infinity, Infinity, -Infinity, -Infinity]; - for (const inkLists of this.data.inkLists) { - for (const vertex of inkLists) { - bbox[0] = Math.min(bbox[0], vertex.x - borderAdjust); - bbox[1] = Math.min(bbox[1], vertex.y - borderAdjust); - bbox[2] = Math.max(bbox[2], vertex.x + borderAdjust); - bbox[3] = Math.max(bbox[3], vertex.y + borderAdjust); - } - } - if (!Util.intersect(this.rectangle, bbox)) { - this.rectangle = bbox; - } - this._setDefaultAppearance({ - xref, - extra: `${borderWidth} w`, - strokeColor, - strokeAlpha, - pointsCallback: (buffer, points) => { - for (const inkList of this.data.inkLists) { - for (let i = 0, ii = inkList.length; i < ii; i++) { - buffer.push(`${inkList[i].x} ${inkList[i].y} ${i === 0 ? "m" : "l"}`); - } - buffer.push("S"); - } - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } - static createNewDict(annotation, xref, { - apRef, - ap - }) { - const { - color, - opacity, - paths, - outlines, - rect, - rotation, - thickness - } = annotation; - const ink = new Dict(xref); - ink.set("Type", Name.get("Annot")); - ink.set("Subtype", Name.get("Ink")); - ink.set("CreationDate", `D:${getModificationDate()}`); - ink.set("Rect", rect); - ink.set("InkList", outlines?.points || paths.map(p => p.points)); - ink.set("F", 4); - ink.set("Rotate", rotation); - if (outlines) { - ink.set("IT", Name.get("InkHighlight")); - } - const bs = new Dict(xref); - ink.set("BS", bs); - bs.set("W", thickness); - ink.set("C", Array.from(color, c => c / 255)); - ink.set("CA", opacity); - const n = new Dict(xref); - ink.set("AP", n); - if (apRef) { - n.set("N", apRef); - } else { - n.set("N", ap); - } - return ink; - } - static async createNewAppearanceStream(annotation, xref, params) { - if (annotation.outlines) { - return this.createNewAppearanceStreamForHighlight(annotation, xref, params); - } - const { - color, - rect, - paths, - thickness, - opacity - } = annotation; - const appearanceBuffer = [`${thickness} w 1 J 1 j`, `${getPdfColor(color, false)}`]; - if (opacity !== 1) { - appearanceBuffer.push("/R0 gs"); - } - const buffer = []; - for (const { - bezier - } of paths) { - buffer.length = 0; - buffer.push(`${numberToString(bezier[0])} ${numberToString(bezier[1])} m`); - if (bezier.length === 2) { - buffer.push(`${numberToString(bezier[0])} ${numberToString(bezier[1])} l S`); - } else { - for (let i = 2, ii = bezier.length; i < ii; i += 6) { - const curve = bezier.slice(i, i + 6).map(numberToString).join(" "); - buffer.push(`${curve} c`); - } - buffer.push("S"); - } - appearanceBuffer.push(buffer.join("\n")); - } - const appearance = appearanceBuffer.join("\n"); - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", rect); - appearanceStreamDict.set("Length", appearance.length); - if (opacity !== 1) { - const resources = new Dict(xref); - const extGState = new Dict(xref); - const r0 = new Dict(xref); - r0.set("CA", opacity); - r0.set("Type", Name.get("ExtGState")); - extGState.set("R0", r0); - resources.set("ExtGState", extGState); - appearanceStreamDict.set("Resources", resources); - } - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } - static async createNewAppearanceStreamForHighlight(annotation, xref, params) { - const { - color, - rect, - outlines: { - outline - }, - opacity - } = annotation; - const appearanceBuffer = [`${getPdfColor(color, true)}`, "/R0 gs"]; - appearanceBuffer.push(`${numberToString(outline[4])} ${numberToString(outline[5])} m`); - for (let i = 6, ii = outline.length; i < ii; i += 6) { - if (isNaN(outline[i]) || outline[i] === null) { - appearanceBuffer.push(`${numberToString(outline[i + 4])} ${numberToString(outline[i + 5])} l`); - } else { - const curve = outline.slice(i, i + 6).map(numberToString).join(" "); - appearanceBuffer.push(`${curve} c`); - } - } - appearanceBuffer.push("h f"); - const appearance = appearanceBuffer.join("\n"); - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", rect); - appearanceStreamDict.set("Length", appearance.length); - const resources = new Dict(xref); - const extGState = new Dict(xref); - resources.set("ExtGState", extGState); - appearanceStreamDict.set("Resources", resources); - const r0 = new Dict(xref); - extGState.set("R0", r0); - r0.set("BM", Name.get("Multiply")); - if (opacity !== 1) { - r0.set("ca", opacity); - r0.set("Type", Name.get("ExtGState")); - } - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } -} -class HighlightAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.HIGHLIGHT; - const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); - if (quadPoints) { - const resources = this.appearance?.dict.get("Resources"); - if (!this.appearance || !resources?.has("ExtGState")) { - if (this.appearance) { - warn("HighlightAnnotation - ignoring built-in appearance stream."); - } - const fillColor = this.color ? getPdfColorArray(this.color) : [1, 1, 0]; - const fillAlpha = dict.get("CA"); - this._setDefaultAppearance({ - xref, - fillColor, - blendMode: "Multiply", - fillAlpha, - pointsCallback: (buffer, points) => { - buffer.push(`${points[0].x} ${points[0].y} m`, `${points[1].x} ${points[1].y} l`, `${points[3].x} ${points[3].y} l`, `${points[2].x} ${points[2].y} l`, "f"); - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } else { - this.data.popupRef = null; - } - } - static createNewDict(annotation, xref, { - apRef, - ap - }) { - const { - color, - opacity, - rect, - rotation, - user, - quadPoints - } = annotation; - const highlight = new Dict(xref); - highlight.set("Type", Name.get("Annot")); - highlight.set("Subtype", Name.get("Highlight")); - highlight.set("CreationDate", `D:${getModificationDate()}`); - highlight.set("Rect", rect); - highlight.set("F", 4); - highlight.set("Border", [0, 0, 0]); - highlight.set("Rotate", rotation); - highlight.set("QuadPoints", quadPoints); - highlight.set("C", Array.from(color, c => c / 255)); - highlight.set("CA", opacity); - if (user) { - highlight.set("T", isAscii(user) ? user : stringToUTF16String(user, true)); - } - if (apRef || ap) { - const n = new Dict(xref); - highlight.set("AP", n); - n.set("N", apRef || ap); - } - return highlight; - } - static async createNewAppearanceStream(annotation, xref, params) { - const { - color, - rect, - outlines, - opacity - } = annotation; - const appearanceBuffer = [`${getPdfColor(color, true)}`, "/R0 gs"]; - const buffer = []; - for (const outline of outlines) { - buffer.length = 0; - buffer.push(`${numberToString(outline[0])} ${numberToString(outline[1])} m`); - for (let i = 2, ii = outline.length; i < ii; i += 2) { - buffer.push(`${numberToString(outline[i])} ${numberToString(outline[i + 1])} l`); - } - buffer.push("h"); - appearanceBuffer.push(buffer.join("\n")); - } - appearanceBuffer.push("f*"); - const appearance = appearanceBuffer.join("\n"); - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", rect); - appearanceStreamDict.set("Length", appearance.length); - const resources = new Dict(xref); - const extGState = new Dict(xref); - resources.set("ExtGState", extGState); - appearanceStreamDict.set("Resources", resources); - const r0 = new Dict(xref); - extGState.set("R0", r0); - r0.set("BM", Name.get("Multiply")); - if (opacity !== 1) { - r0.set("ca", opacity); - r0.set("Type", Name.get("ExtGState")); - } - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } -} -class UnderlineAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.UNDERLINE; - const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); - if (quadPoints) { - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - this._setDefaultAppearance({ - xref, - extra: "[] 0 d 0.571 w", - strokeColor, - strokeAlpha, - pointsCallback: (buffer, points) => { - buffer.push(`${points[2].x} ${points[2].y + 1.3} m`, `${points[3].x} ${points[3].y + 1.3} l`, "S"); - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } else { - this.data.popupRef = null; - } - } -} -class SquigglyAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.SQUIGGLY; - const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); - if (quadPoints) { - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - this._setDefaultAppearance({ - xref, - extra: "[] 0 d 1 w", - strokeColor, - strokeAlpha, - pointsCallback: (buffer, points) => { - const dy = (points[0].y - points[2].y) / 6; - let shift = dy; - let x = points[2].x; - const y = points[2].y; - const xEnd = points[3].x; - buffer.push(`${x} ${y + shift} m`); - do { - x += 2; - shift = shift === 0 ? dy : 0; - buffer.push(`${x} ${y + shift} l`); - } while (x < xEnd); - buffer.push("S"); - return [points[2].x, xEnd, y - 2 * dy, y + 2 * dy]; - } - }); - } - } else { - this.data.popupRef = null; - } - } -} -class StrikeOutAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - this.data.annotationType = AnnotationType.STRIKEOUT; - const quadPoints = this.data.quadPoints = getQuadPoints(dict, null); - if (quadPoints) { - if (!this.appearance) { - const strokeColor = this.color ? getPdfColorArray(this.color) : [0, 0, 0]; - const strokeAlpha = dict.get("CA"); - this._setDefaultAppearance({ - xref, - extra: "[] 0 d 1 w", - strokeColor, - strokeAlpha, - pointsCallback: (buffer, points) => { - buffer.push(`${(points[0].x + points[2].x) / 2} ` + `${(points[0].y + points[2].y) / 2} m`, `${(points[1].x + points[3].x) / 2} ` + `${(points[1].y + points[3].y) / 2} l`, "S"); - return [points[0].x, points[1].x, points[3].y, points[1].y]; - } - }); - } - } else { - this.data.popupRef = null; - } - } -} -class StampAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - this.data.annotationType = AnnotationType.STAMP; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - } - static async createImage(bitmap, xref) { - const { - width, - height - } = bitmap; - const canvas = new OffscreenCanvas(width, height); - const ctx = canvas.getContext("2d", { - alpha: true - }); - ctx.drawImage(bitmap, 0, 0); - const data = ctx.getImageData(0, 0, width, height).data; - const buf32 = new Uint32Array(data.buffer); - const hasAlpha = buf32.some(FeatureTest.isLittleEndian ? x => x >>> 24 !== 0xff : x => (x & 0xff) !== 0xff); - if (hasAlpha) { - ctx.fillStyle = "white"; - ctx.fillRect(0, 0, width, height); - ctx.drawImage(bitmap, 0, 0); - } - const jpegBufferPromise = canvas.convertToBlob({ - type: "image/jpeg", - quality: 1 - }).then(blob => blob.arrayBuffer()); - const xobjectName = Name.get("XObject"); - const imageName = Name.get("Image"); - const image = new Dict(xref); - image.set("Type", xobjectName); - image.set("Subtype", imageName); - image.set("BitsPerComponent", 8); - image.set("ColorSpace", Name.get("DeviceRGB")); - image.set("Filter", Name.get("DCTDecode")); - image.set("BBox", [0, 0, width, height]); - image.set("Width", width); - image.set("Height", height); - let smaskStream = null; - if (hasAlpha) { - const alphaBuffer = new Uint8Array(buf32.length); - if (FeatureTest.isLittleEndian) { - for (let i = 0, ii = buf32.length; i < ii; i++) { - alphaBuffer[i] = buf32[i] >>> 24; - } - } else { - for (let i = 0, ii = buf32.length; i < ii; i++) { - alphaBuffer[i] = buf32[i] & 0xff; - } - } - const smask = new Dict(xref); - smask.set("Type", xobjectName); - smask.set("Subtype", imageName); - smask.set("BitsPerComponent", 8); - smask.set("ColorSpace", Name.get("DeviceGray")); - smask.set("Width", width); - smask.set("Height", height); - smaskStream = new Stream(alphaBuffer, 0, 0, smask); - } - const imageStream = new Stream(await jpegBufferPromise, 0, 0, image); - return { - imageStream, - smaskStream, - width, - height - }; - } - static createNewDict(annotation, xref, { - apRef, - ap - }) { - const { - rect, - rotation, - user - } = annotation; - const stamp = new Dict(xref); - stamp.set("Type", Name.get("Annot")); - stamp.set("Subtype", Name.get("Stamp")); - stamp.set("CreationDate", `D:${getModificationDate()}`); - stamp.set("Rect", rect); - stamp.set("F", 4); - stamp.set("Border", [0, 0, 0]); - stamp.set("Rotate", rotation); - if (user) { - stamp.set("T", isAscii(user) ? user : stringToUTF16String(user, true)); - } - if (apRef || ap) { - const n = new Dict(xref); - stamp.set("AP", n); - if (apRef) { - n.set("N", apRef); - } else { - n.set("N", ap); - } - } - return stamp; - } - static async createNewAppearanceStream(annotation, xref, params) { - const { - rotation - } = annotation; - const { - imageRef, - width, - height - } = params.image; - const resources = new Dict(xref); - const xobject = new Dict(xref); - resources.set("XObject", xobject); - xobject.set("Im0", imageRef); - const appearance = `q ${width} 0 0 ${height} 0 0 cm /Im0 Do Q`; - const appearanceStreamDict = new Dict(xref); - appearanceStreamDict.set("FormType", 1); - appearanceStreamDict.set("Subtype", Name.get("Form")); - appearanceStreamDict.set("Type", Name.get("XObject")); - appearanceStreamDict.set("BBox", [0, 0, width, height]); - appearanceStreamDict.set("Resources", resources); - if (rotation) { - const matrix = getRotationMatrix(rotation, width, height); - appearanceStreamDict.set("Matrix", matrix); - } - const ap = new StringStream(appearance); - ap.dict = appearanceStreamDict; - return ap; - } -} -class FileAttachmentAnnotation extends MarkupAnnotation { - constructor(params) { - super(params); - const { - dict, - xref - } = params; - const file = new FileSpec(dict.get("FS"), xref); - this.data.annotationType = AnnotationType.FILEATTACHMENT; - this.data.hasOwnCanvas = this.data.noRotate; - this.data.noHTML = false; - this.data.file = file.serializable; - const name = dict.get("Name"); - this.data.name = name instanceof Name ? stringToPDFString(name.name) : "PushPin"; - const fillAlpha = dict.get("ca"); - this.data.fillAlpha = typeof fillAlpha === "number" && fillAlpha >= 0 && fillAlpha <= 1 ? fillAlpha : null; - } -} - -;// CONCATENATED MODULE: ./src/core/dataset_reader.js - +/***/ }), +/* 102 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.DatasetReader = void 0; +var _util = __w_pdfjs_require__(2); +var _core_utils = __w_pdfjs_require__(3); +var _xml_parser = __w_pdfjs_require__(67); function decodeString(str) { try { - return stringToUTF8String(str); + return (0, _util.stringToUTF8String)(str); } catch (ex) { - warn(`UTF-8 decoding failed: "${ex}".`); + (0, _util.warn)(`UTF-8 decoding failed: "${ex}".`); return str; } } -class DatasetXMLParser extends SimpleXMLParser { +class DatasetXMLParser extends _xml_parser.SimpleXMLParser { constructor(options) { super(options); this.node = null; @@ -57633,7 +57184,7 @@ class DatasetXMLParser extends SimpleXMLParser { class DatasetReader { constructor(data) { if (data.datasets) { - this.node = new SimpleXMLParser({ + this.node = new _xml_parser.SimpleXMLParser({ hasAttributes: true }).parseFromString(data.datasets).documentElement; } else { @@ -57650,7 +57201,7 @@ class DatasetReader { if (!this.node || !path) { return ""; } - const node = this.node.searchNode(parseXFAPath(path), 0); + const node = this.node.searchNode((0, _core_utils.parseXFAPath)(path), 0); if (!node) { return ""; } @@ -57661,40 +57212,34 @@ class DatasetReader { return decodeString(node.textContent); } } +exports.DatasetReader = DatasetReader; -;// CONCATENATED MODULE: ./src/core/xref.js - - - - - - - - - - - - - - - - - +/***/ }), +/* 103 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XRef = void 0; +var _util = __w_pdfjs_require__(2); +var _primitives = __w_pdfjs_require__(4); +var _parser = __w_pdfjs_require__(16); +var _core_utils = __w_pdfjs_require__(3); +var _base_stream = __w_pdfjs_require__(5); +var _crypto = __w_pdfjs_require__(68); class XRef { - #firstXRefStmPos = null; constructor(stream, pdfManager) { this.stream = stream; this.pdfManager = pdfManager; this.entries = []; this._xrefStms = new Set(); this._cacheMap = new Map(); - this._pendingRefs = new RefSet(); + this._pendingRefs = new _primitives.RefSet(); this._newPersistentRefNum = null; this._newTemporaryRefNum = null; - this._persistentRefsCache = null; } getNewPersistentRef(obj) { if (this._newPersistentRefNum === null) { @@ -57702,29 +57247,16 @@ class XRef { } const num = this._newPersistentRefNum++; this._cacheMap.set(num, obj); - return Ref.get(num, 0); + return _primitives.Ref.get(num, 0); } getNewTemporaryRef() { if (this._newTemporaryRefNum === null) { this._newTemporaryRefNum = this.entries.length || 1; - if (this._newPersistentRefNum) { - this._persistentRefsCache = new Map(); - for (let i = this._newTemporaryRefNum; i < this._newPersistentRefNum; i++) { - this._persistentRefsCache.set(i, this._cacheMap.get(i)); - this._cacheMap.delete(i); - } - } } - return Ref.get(this._newTemporaryRefNum++, 0); + return _primitives.Ref.get(this._newTemporaryRefNum++, 0); } resetNewTemporaryRef() { this._newTemporaryRefNum = null; - if (this._persistentRefsCache) { - for (const [num, obj] of this._persistentRefsCache) { - this._cacheMap.set(num, obj); - } - } - this._persistentRefsCache = null; } setStartXRef(startXRef) { this.startXRefQueue = [startXRef]; @@ -57734,7 +57266,7 @@ class XRef { if (!recoveryMode) { trailerDict = this.readXRef(); } else { - warn("Indexing all PDF objects"); + (0, _util.warn)("Indexing all PDF objects"); trailerDict = this.indexObjects(); } trailerDict.assignXref(this); @@ -57743,44 +57275,44 @@ class XRef { try { encrypt = trailerDict.get("Encrypt"); } catch (ex) { - if (ex instanceof MissingDataException) { + if (ex instanceof _core_utils.MissingDataException) { throw ex; } - warn(`XRef.parse - Invalid "Encrypt" reference: "${ex}".`); + (0, _util.warn)(`XRef.parse - Invalid "Encrypt" reference: "${ex}".`); } - if (encrypt instanceof Dict) { + if (encrypt instanceof _primitives.Dict) { const ids = trailerDict.get("ID"); const fileId = ids?.length ? ids[0] : ""; encrypt.suppressEncryption = true; - this.encrypt = new CipherTransformFactory(encrypt, fileId, this.pdfManager.password); + this.encrypt = new _crypto.CipherTransformFactory(encrypt, fileId, this.pdfManager.password); } let root; try { root = trailerDict.get("Root"); } catch (ex) { - if (ex instanceof MissingDataException) { + if (ex instanceof _core_utils.MissingDataException) { throw ex; } - warn(`XRef.parse - Invalid "Root" reference: "${ex}".`); + (0, _util.warn)(`XRef.parse - Invalid "Root" reference: "${ex}".`); } - if (root instanceof Dict) { + if (root instanceof _primitives.Dict) { try { const pages = root.get("Pages"); - if (pages instanceof Dict) { + if (pages instanceof _primitives.Dict) { this.root = root; return; } } catch (ex) { - if (ex instanceof MissingDataException) { + if (ex instanceof _core_utils.MissingDataException) { throw ex; } - warn(`XRef.parse - Invalid "Pages" reference: "${ex}".`); + (0, _util.warn)(`XRef.parse - Invalid "Pages" reference: "${ex}".`); } } if (!recoveryMode) { - throw new XRefParseException(); + throw new _core_utils.XRefParseException(); } - throw new InvalidPDFException("Invalid Root reference."); + throw new _util.InvalidPDFException("Invalid Root reference."); } processXRefTable(parser) { if (!("tableState" in this)) { @@ -57792,15 +57324,15 @@ class XRef { }; } const obj = this.readXRefTable(parser); - if (!isCmd(obj, "trailer")) { - throw new FormatError("Invalid XRef table: could not find trailer dictionary"); + if (!(0, _primitives.isCmd)(obj, "trailer")) { + throw new _util.FormatError("Invalid XRef table: could not find trailer dictionary"); } let dict = parser.getObj(); - if (!(dict instanceof Dict) && dict.dict) { + if (!(dict instanceof _primitives.Dict) && dict.dict) { dict = dict.dict; } - if (!(dict instanceof Dict)) { - throw new FormatError("Invalid XRef table: could not parse trailer dictionary"); + if (!(dict instanceof _primitives.Dict)) { + throw new _util.FormatError("Invalid XRef table: could not parse trailer dictionary"); } delete this.tableState; return dict; @@ -57814,7 +57346,7 @@ class XRef { let obj; while (true) { if (!("firstEntryNum" in tableState) || !("entryCount" in tableState)) { - if (isCmd(obj = parser.getObj(), "trailer")) { + if ((0, _primitives.isCmd)(obj = parser.getObj(), "trailer")) { break; } tableState.firstEntryNum = obj; @@ -57823,7 +57355,7 @@ class XRef { let first = tableState.firstEntryNum; const count = tableState.entryCount; if (!Number.isInteger(first) || !Number.isInteger(count)) { - throw new FormatError("Invalid XRef table: wrong types in subsection header"); + throw new _util.FormatError("Invalid XRef table: wrong types in subsection header"); } for (let i = tableState.entryNum; i < count; i++) { tableState.streamPos = stream.pos; @@ -57834,7 +57366,7 @@ class XRef { entry.offset = parser.getObj(); entry.gen = parser.getObj(); const type = parser.getObj(); - if (type instanceof Cmd) { + if (type instanceof _primitives.Cmd) { switch (type.cmd) { case "f": entry.free = true; @@ -57845,7 +57377,7 @@ class XRef { } } if (!Number.isInteger(entry.offset) || !Number.isInteger(entry.gen) || !(entry.free || entry.uncompressed)) { - throw new FormatError(`Invalid entry in XRef subsection: ${first}, ${count}`); + throw new _util.FormatError(`Invalid entry in XRef subsection: ${first}, ${count}`); } if (i === 0 && entry.free && first === 1) { first = 0; @@ -57862,7 +57394,7 @@ class XRef { delete tableState.entryCount; } if (this.entries[0] && !this.entries[0].free) { - throw new FormatError("Invalid XRef table: unexpected first object"); + throw new _util.FormatError("Invalid XRef table: unexpected first object"); } return obj; } @@ -57893,10 +57425,10 @@ class XRef { while (entryRanges.length > 0) { const [first, n] = entryRanges; if (!Number.isInteger(first) || !Number.isInteger(n)) { - throw new FormatError(`Invalid XRef range fields: ${first}, ${n}`); + throw new _util.FormatError(`Invalid XRef range fields: ${first}, ${n}`); } if (!Number.isInteger(typeFieldWidth) || !Number.isInteger(offsetFieldWidth) || !Number.isInteger(generationFieldWidth)) { - throw new FormatError(`Invalid XRef entry fields length: ${first}, ${n}`); + throw new _util.FormatError(`Invalid XRef entry fields length: ${first}, ${n}`); } for (let i = streamState.entryNum; i < n; ++i) { streamState.entryNum = i; @@ -57907,7 +57439,7 @@ class XRef { for (let j = 0; j < typeFieldWidth; ++j) { const typeByte = stream.getByte(); if (typeByte === -1) { - throw new FormatError("Invalid XRef byteWidths 'type'."); + throw new _util.FormatError("Invalid XRef byteWidths 'type'."); } type = type << 8 | typeByte; } @@ -57917,14 +57449,14 @@ class XRef { for (let j = 0; j < offsetFieldWidth; ++j) { const offsetByte = stream.getByte(); if (offsetByte === -1) { - throw new FormatError("Invalid XRef byteWidths 'offset'."); + throw new _util.FormatError("Invalid XRef byteWidths 'offset'."); } offset = offset << 8 | offsetByte; } for (let j = 0; j < generationFieldWidth; ++j) { const generationByte = stream.getByte(); if (generationByte === -1) { - throw new FormatError("Invalid XRef byteWidths 'generation'."); + throw new _util.FormatError("Invalid XRef byteWidths 'generation'."); } generation = generation << 8 | generationByte; } @@ -57941,7 +57473,7 @@ class XRef { case 2: break; default: - throw new FormatError(`Invalid XRef entry type: ${type}`); + throw new _util.FormatError(`Invalid XRef entry type: ${type}`); } if (!this.entries[first + i]) { this.entries[first + i] = entry; @@ -57988,7 +57520,7 @@ class XRef { } return skipped; } - const gEndobjRegExp = /\b(endobj|\d+\s+\d+\s+obj|xref|trailer\s*<<)\b/g; + const gEndobjRegExp = /\b(endobj|\d+\s+\d+\s+obj|xref|trailer)\b/g; const gStartxrefRegExp = /\b(startxref|\d+\s+\d+\s+obj)\b/g; const objRegExp = /^(\d+)\s+(\d+)\s+obj\b/; const trailerBytes = new Uint8Array([116, 114, 97, 105, 108, 101, 114]); @@ -57999,7 +57531,7 @@ class XRef { const stream = this.stream; stream.pos = 0; const buffer = stream.getBytes(), - bufferStr = bytesToString(buffer), + bufferStr = (0, _util.bytesToString)(buffer), length = buffer.length; let position = stream.start; const trailers = [], @@ -58036,14 +57568,14 @@ class XRef { updateEntries = true; } else if (this.entries[num].gen === gen) { try { - const parser = new Parser({ - lexer: new Lexer(stream.makeSubStream(startPos)) + const parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream.makeSubStream(startPos)) }); parser.getObj(); updateEntries = true; } catch (ex) { - if (ex instanceof ParserEOFException) { - warn(`indexObjects -- checking object (${token}): "${ex}".`); + if (ex instanceof _core_utils.ParserEOFException) { + (0, _util.warn)(`indexObjects -- checking object (${token}): "${ex}".`); } else { updateEntries = true; } @@ -58062,7 +57594,7 @@ class XRef { const endPos = gEndobjRegExp.lastIndex + 1; contentLength = endPos - position; if (match[1] !== "endobj") { - warn(`indexObjects: Found "${match[1]}" inside of another "obj", ` + 'caused by missing "endobj" -- trying to recover.'); + (0, _util.warn)(`indexObjects: Found "${match[1]}" inside of another "obj", ` + 'caused by missing "endobj" -- trying to recover.'); contentLength -= match[1].length + 1; } } else { @@ -58085,7 +57617,7 @@ class XRef { const endPos = gStartxrefRegExp.lastIndex + 1; contentLength = endPos - position; if (match[1] !== "startxref") { - warn(`indexObjects: Found "${match[1]}" after "trailer", ` + 'caused by missing "startxref" -- trying to recover.'); + (0, _util.warn)(`indexObjects: Found "${match[1]}" after "trailer", ` + 'caused by missing "startxref" -- trying to recover.'); contentLength -= match[1].length + 1; } } else { @@ -58104,18 +57636,18 @@ class XRef { let isEncrypted = false; for (const trailer of trailers) { stream.pos = trailer; - const parser = new Parser({ - lexer: new Lexer(stream), + const parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream), xref: this, allowStreams: true, recoveryMode: true }); const obj = parser.getObj(); - if (!isCmd(obj, "trailer")) { + if (!(0, _primitives.isCmd)(obj, "trailer")) { continue; } const dict = parser.getObj(); - if (!(dict instanceof Dict)) { + if (!(dict instanceof _primitives.Dict)) { continue; } trailerDicts.push(dict); @@ -58135,11 +57667,11 @@ class XRef { let validPagesDict = false; try { const rootDict = dict.get("Root"); - if (!(rootDict instanceof Dict)) { + if (!(rootDict instanceof _primitives.Dict)) { continue; } const pagesDict = rootDict.get("Pages"); - if (!(pagesDict instanceof Dict)) { + if (!(pagesDict instanceof _primitives.Dict)) { continue; } const pagesCount = pagesDict.get("Count"); @@ -58161,7 +57693,7 @@ class XRef { if (this.topDict) { return this.topDict; } - throw new InvalidPDFException("Invalid PDF structure."); + throw new _util.InvalidPDFException("Invalid PDF structure."); } readXRef(recoveryMode = false) { const stream = this.stream; @@ -58170,20 +57702,20 @@ class XRef { try { const startXRef = this.startXRefQueue[0]; if (startXRefParsedCache.has(startXRef)) { - warn("readXRef - skipping XRef table since it was already parsed."); + (0, _util.warn)("readXRef - skipping XRef table since it was already parsed."); this.startXRefQueue.shift(); continue; } startXRefParsedCache.add(startXRef); stream.pos = startXRef + stream.start; - const parser = new Parser({ - lexer: new Lexer(stream), + const parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream), xref: this, allowStreams: true }); let obj = parser.getObj(); let dict; - if (isCmd(obj, "xref")) { + if ((0, _primitives.isCmd)(obj, "xref")) { dict = this.processXRefTable(parser); if (!this.topDict) { this.topDict = dict; @@ -58192,33 +57724,32 @@ class XRef { if (Number.isInteger(obj) && !this._xrefStms.has(obj)) { this._xrefStms.add(obj); this.startXRefQueue.push(obj); - this.#firstXRefStmPos ??= obj; } } else if (Number.isInteger(obj)) { - if (!Number.isInteger(parser.getObj()) || !isCmd(parser.getObj(), "obj") || !((obj = parser.getObj()) instanceof BaseStream)) { - throw new FormatError("Invalid XRef stream"); + if (!Number.isInteger(parser.getObj()) || !(0, _primitives.isCmd)(parser.getObj(), "obj") || !((obj = parser.getObj()) instanceof _base_stream.BaseStream)) { + throw new _util.FormatError("Invalid XRef stream"); } dict = this.processXRefStream(obj); if (!this.topDict) { this.topDict = dict; } if (!dict) { - throw new FormatError("Failed to read XRef stream"); + throw new _util.FormatError("Failed to read XRef stream"); } } else { - throw new FormatError("Invalid XRef stream header"); + throw new _util.FormatError("Invalid XRef stream header"); } obj = dict.get("Prev"); if (Number.isInteger(obj)) { this.startXRefQueue.push(obj); - } else if (obj instanceof Ref) { + } else if (obj instanceof _primitives.Ref) { this.startXRefQueue.push(obj.num); } } catch (e) { - if (e instanceof MissingDataException) { + if (e instanceof _core_utils.MissingDataException) { throw e; } - info("(while reading XRef): " + e); + (0, _util.info)("(while reading XRef): " + e); } this.startXRefQueue.shift(); } @@ -58228,10 +57759,10 @@ class XRef { if (recoveryMode) { return undefined; } - throw new XRefParseException(); + throw new _core_utils.XRefParseException(); } get lastXRefStreamPos() { - return this.#firstXRefStmPos ?? (this._xrefStms.size > 0 ? Math.max(...this._xrefStms) : null); + return this._xrefStms.size > 0 ? Math.max(...this._xrefStms) : null; } getEntry(i) { const xrefEntry = this.entries[i]; @@ -58241,19 +57772,19 @@ class XRef { return null; } fetchIfRef(obj, suppressEncryption = false) { - if (obj instanceof Ref) { + if (obj instanceof _primitives.Ref) { return this.fetch(obj, suppressEncryption); } return obj; } fetch(ref, suppressEncryption = false) { - if (!(ref instanceof Ref)) { + if (!(ref instanceof _primitives.Ref)) { throw new Error("ref object is not a reference"); } const num = ref.num; const cacheEntry = this._cacheMap.get(num); if (cacheEntry !== undefined) { - if (cacheEntry instanceof Dict && !cacheEntry.objId) { + if (cacheEntry instanceof _primitives.Dict && !cacheEntry.objId) { cacheEntry.objId = ref.toString(); } return cacheEntry; @@ -58265,20 +57796,24 @@ class XRef { } if (this._pendingRefs.has(ref)) { this._pendingRefs.remove(ref); - warn(`Ignoring circular reference: ${ref}.`); - return CIRCULAR_REF; + (0, _util.warn)(`Ignoring circular reference: ${ref}.`); + return _primitives.CIRCULAR_REF; } this._pendingRefs.put(ref); try { - xrefEntry = xrefEntry.uncompressed ? this.fetchUncompressed(ref, xrefEntry, suppressEncryption) : this.fetchCompressed(ref, xrefEntry, suppressEncryption); + if (xrefEntry.uncompressed) { + xrefEntry = this.fetchUncompressed(ref, xrefEntry, suppressEncryption); + } else { + xrefEntry = this.fetchCompressed(ref, xrefEntry, suppressEncryption); + } this._pendingRefs.remove(ref); } catch (ex) { this._pendingRefs.remove(ref); throw ex; } - if (xrefEntry instanceof Dict) { + if (xrefEntry instanceof _primitives.Dict) { xrefEntry.objId = ref.toString(); - } else if (xrefEntry instanceof BaseStream) { + } else if (xrefEntry instanceof _base_stream.BaseStream) { xrefEntry.dict.objId = ref.toString(); } return xrefEntry; @@ -58289,22 +57824,22 @@ class XRef { if (xrefEntry.gen !== gen) { const msg = `Inconsistent generation in XRef: ${ref}`; if (this._generationFallback && xrefEntry.gen < gen) { - warn(msg); - return this.fetchUncompressed(Ref.get(num, xrefEntry.gen), xrefEntry, suppressEncryption); + (0, _util.warn)(msg); + return this.fetchUncompressed(_primitives.Ref.get(num, xrefEntry.gen), xrefEntry, suppressEncryption); } - throw new XRefEntryException(msg); + throw new _core_utils.XRefEntryException(msg); } const stream = this.stream.makeSubStream(xrefEntry.offset + this.stream.start); - const parser = new Parser({ - lexer: new Lexer(stream), + const parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream), xref: this, allowStreams: true }); const obj1 = parser.getObj(); const obj2 = parser.getObj(); const obj3 = parser.getObj(); - if (obj1 !== num || obj2 !== gen || !(obj3 instanceof Cmd)) { - throw new XRefEntryException(`Bad (uncompressed) XRef entry: ${ref}`); + if (obj1 !== num || obj2 !== gen || !(obj3 instanceof _primitives.Cmd)) { + throw new _core_utils.XRefEntryException(`Bad (uncompressed) XRef entry: ${ref}`); } if (obj3.cmd !== "obj") { if (obj3.cmd.startsWith("obj")) { @@ -58313,27 +57848,31 @@ class XRef { return num; } } - throw new XRefEntryException(`Bad (uncompressed) XRef entry: ${ref}`); + throw new _core_utils.XRefEntryException(`Bad (uncompressed) XRef entry: ${ref}`); } - xrefEntry = this.encrypt && !suppressEncryption ? parser.getObj(this.encrypt.createCipherTransform(num, gen)) : parser.getObj(); - if (!(xrefEntry instanceof BaseStream)) { + if (this.encrypt && !suppressEncryption) { + xrefEntry = parser.getObj(this.encrypt.createCipherTransform(num, gen)); + } else { + xrefEntry = parser.getObj(); + } + if (!(xrefEntry instanceof _base_stream.BaseStream)) { this._cacheMap.set(num, xrefEntry); } return xrefEntry; } fetchCompressed(ref, xrefEntry, suppressEncryption = false) { const tableOffset = xrefEntry.offset; - const stream = this.fetch(Ref.get(tableOffset, 0)); - if (!(stream instanceof BaseStream)) { - throw new FormatError("bad ObjStm stream"); + const stream = this.fetch(_primitives.Ref.get(tableOffset, 0)); + if (!(stream instanceof _base_stream.BaseStream)) { + throw new _util.FormatError("bad ObjStm stream"); } const first = stream.dict.get("First"); const n = stream.dict.get("N"); if (!Number.isInteger(first) || !Number.isInteger(n)) { - throw new FormatError("invalid first and n parameters for ObjStm stream"); + throw new _util.FormatError("invalid first and n parameters for ObjStm stream"); } - let parser = new Parser({ - lexer: new Lexer(stream), + let parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream), xref: this, allowStreams: true }); @@ -58342,11 +57881,11 @@ class XRef { for (let i = 0; i < n; ++i) { const num = parser.getObj(); if (!Number.isInteger(num)) { - throw new FormatError(`invalid object number in the ObjStm stream: ${num}`); + throw new _util.FormatError(`invalid object number in the ObjStm stream: ${num}`); } const offset = parser.getObj(); if (!Number.isInteger(offset)) { - throw new FormatError(`invalid object offset in the ObjStm stream: ${offset}`); + throw new _util.FormatError(`invalid object offset in the ObjStm stream: ${offset}`); } nums[i] = num; offsets[i] = offset; @@ -58356,16 +57895,16 @@ class XRef { for (let i = 0; i < n; ++i) { const length = i < n - 1 ? offsets[i + 1] - offsets[i] : undefined; if (length < 0) { - throw new FormatError("Invalid offset in the ObjStm stream."); + throw new _util.FormatError("Invalid offset in the ObjStm stream."); } - parser = new Parser({ - lexer: new Lexer(stream.makeSubStream(start + offsets[i], length, stream.dict)), + parser = new _parser.Parser({ + lexer: new _parser.Lexer(stream.makeSubStream(start + offsets[i], length, stream.dict)), xref: this, allowStreams: true }); const obj = parser.getObj(); entries[i] = obj; - if (obj instanceof BaseStream) { + if (obj instanceof _base_stream.BaseStream) { continue; } const num = nums[i], @@ -58376,12 +57915,12 @@ class XRef { } xrefEntry = entries[xrefEntry.gen]; if (xrefEntry === undefined) { - throw new XRefEntryException(`Bad (compressed) XRef entry: ${ref}`); + throw new _core_utils.XRefEntryException(`Bad (compressed) XRef entry: ${ref}`); } return xrefEntry; } async fetchIfRefAsync(obj, suppressEncryption) { - if (obj instanceof Ref) { + if (obj instanceof _primitives.Ref) { return this.fetchAsync(obj, suppressEncryption); } return obj; @@ -58390,7 +57929,7 @@ class XRef { try { return this.fetch(ref, suppressEncryption); } catch (ex) { - if (!(ex instanceof MissingDataException)) { + if (!(ex instanceof _core_utils.MissingDataException)) { throw ex; } await this.pdfManager.requestRange(ex.begin, ex.end); @@ -58401,1562 +57940,32 @@ class XRef { return this.root; } } +exports.XRef = XRef; -;// CONCATENATED MODULE: ./src/core/document.js +/***/ }), +/* 104 */ +/***/ ((__unused_webpack_module, exports) => { +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.isNodeJS = void 0; +const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser"); +exports.isNodeJS = isNodeJS; + +/***/ }), +/* 105 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const DEFAULT_USER_UNIT = 1.0; -const LETTER_SIZE_MEDIABOX = [0, 0, 612, 792]; -class Page { - constructor({ - pdfManager, - xref, - pageIndex, - pageDict, - ref, - globalIdFactory, - fontCache, - builtInCMapCache, - standardFontDataCache, - globalImageCache, - systemFontCache, - nonBlendModesSet, - xfaFactory - }) { - this.pdfManager = pdfManager; - this.pageIndex = pageIndex; - this.pageDict = pageDict; - this.xref = xref; - this.ref = ref; - this.fontCache = fontCache; - this.builtInCMapCache = builtInCMapCache; - this.standardFontDataCache = standardFontDataCache; - this.globalImageCache = globalImageCache; - this.systemFontCache = systemFontCache; - this.nonBlendModesSet = nonBlendModesSet; - this.evaluatorOptions = pdfManager.evaluatorOptions; - this.resourcesPromise = null; - this.xfaFactory = xfaFactory; - const idCounters = { - obj: 0 - }; - this._localIdFactory = class extends globalIdFactory { - static createObjId() { - return `p${pageIndex}_${++idCounters.obj}`; - } - static getPageObjId() { - return `p${ref.toString()}`; - } - }; - } - _getInheritableProperty(key, getArray = false) { - const value = getInheritableProperty({ - dict: this.pageDict, - key, - getArray, - stopWhenFound: false - }); - if (!Array.isArray(value)) { - return value; - } - if (value.length === 1 || !(value[0] instanceof Dict)) { - return value[0]; - } - return Dict.merge({ - xref: this.xref, - dictArray: value - }); - } - get content() { - return this.pageDict.getArray("Contents"); - } - get resources() { - const resources = this._getInheritableProperty("Resources"); - return shadow(this, "resources", resources instanceof Dict ? resources : Dict.empty); - } - _getBoundingBox(name) { - if (this.xfaData) { - return this.xfaData.bbox; - } - let box = this._getInheritableProperty(name, true); - if (Array.isArray(box) && box.length === 4) { - box = Util.normalizeRect(box); - if (box[2] - box[0] > 0 && box[3] - box[1] > 0) { - return box; - } - warn(`Empty, or invalid, /${name} entry.`); - } - return null; - } - get mediaBox() { - return shadow(this, "mediaBox", this._getBoundingBox("MediaBox") || LETTER_SIZE_MEDIABOX); - } - get cropBox() { - return shadow(this, "cropBox", this._getBoundingBox("CropBox") || this.mediaBox); - } - get userUnit() { - let obj = this.pageDict.get("UserUnit"); - if (typeof obj !== "number" || obj <= 0) { - obj = DEFAULT_USER_UNIT; - } - return shadow(this, "userUnit", obj); - } - get view() { - const { - cropBox, - mediaBox - } = this; - if (cropBox !== mediaBox && !isArrayEqual(cropBox, mediaBox)) { - const box = Util.intersect(cropBox, mediaBox); - if (box && box[2] - box[0] > 0 && box[3] - box[1] > 0) { - return shadow(this, "view", box); - } - warn("Empty /CropBox and /MediaBox intersection."); - } - return shadow(this, "view", mediaBox); - } - get rotate() { - let rotate = this._getInheritableProperty("Rotate") || 0; - if (rotate % 90 !== 0) { - rotate = 0; - } else if (rotate >= 360) { - rotate %= 360; - } else if (rotate < 0) { - rotate = (rotate % 360 + 360) % 360; - } - return shadow(this, "rotate", rotate); - } - _onSubStreamError(reason, objId) { - if (this.evaluatorOptions.ignoreErrors) { - warn(`getContentStream - ignoring sub-stream (${objId}): "${reason}".`); - return; - } - throw reason; - } - getContentStream() { - return this.pdfManager.ensure(this, "content").then(content => { - if (content instanceof BaseStream) { - return content; - } - if (Array.isArray(content)) { - return new StreamsSequenceStream(content, this._onSubStreamError.bind(this)); - } - return new NullStream(); - }); - } - get xfaData() { - return shadow(this, "xfaData", this.xfaFactory ? { - bbox: this.xfaFactory.getBoundingBox(this.pageIndex) - } : null); - } - #replaceIdByRef(annotations, deletedAnnotations, existingAnnotations) { - for (const annotation of annotations) { - if (annotation.id) { - const ref = Ref.fromString(annotation.id); - if (!ref) { - warn(`A non-linked annotation cannot be modified: ${annotation.id}`); - continue; - } - if (annotation.deleted) { - deletedAnnotations.put(ref, ref); - continue; - } - existingAnnotations?.put(ref); - annotation.ref = ref; - delete annotation.id; - } - } - } - async saveNewAnnotations(handler, task, annotations, imagePromises) { - if (this.xfaFactory) { - throw new Error("XFA: Cannot save new annotations."); - } - const partialEvaluator = new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: this.pageIndex, - idFactory: this._localIdFactory, - fontCache: this.fontCache, - builtInCMapCache: this.builtInCMapCache, - standardFontDataCache: this.standardFontDataCache, - globalImageCache: this.globalImageCache, - systemFontCache: this.systemFontCache, - options: this.evaluatorOptions - }); - const deletedAnnotations = new RefSetCache(); - const existingAnnotations = new RefSet(); - this.#replaceIdByRef(annotations, deletedAnnotations, existingAnnotations); - const pageDict = this.pageDict; - const annotationsArray = this.annotations.filter(a => !(a instanceof Ref && deletedAnnotations.has(a))); - const newData = await AnnotationFactory.saveNewAnnotations(partialEvaluator, task, annotations, imagePromises); - for (const { - ref - } of newData.annotations) { - if (ref instanceof Ref && !existingAnnotations.has(ref)) { - annotationsArray.push(ref); - } - } - const savedDict = pageDict.get("Annots"); - pageDict.set("Annots", annotationsArray); - const buffer = []; - await writeObject(this.ref, pageDict, buffer, this.xref); - if (savedDict) { - pageDict.set("Annots", savedDict); - } - const objects = newData.dependencies; - objects.push({ - ref: this.ref, - data: buffer.join("") - }, ...newData.annotations); - for (const deletedRef of deletedAnnotations) { - objects.push({ - ref: deletedRef, - data: null - }); - } - return objects; - } - save(handler, task, annotationStorage) { - const partialEvaluator = new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: this.pageIndex, - idFactory: this._localIdFactory, - fontCache: this.fontCache, - builtInCMapCache: this.builtInCMapCache, - standardFontDataCache: this.standardFontDataCache, - globalImageCache: this.globalImageCache, - systemFontCache: this.systemFontCache, - options: this.evaluatorOptions - }); - return this._parsedAnnotations.then(function (annotations) { - const newRefsPromises = []; - for (const annotation of annotations) { - if (!annotation.mustBePrinted(annotationStorage)) { - continue; - } - newRefsPromises.push(annotation.save(partialEvaluator, task, annotationStorage).catch(function (reason) { - warn("save - ignoring annotation data during " + `"${task.name}" task: "${reason}".`); - return null; - })); - } - return Promise.all(newRefsPromises).then(function (newRefs) { - return newRefs.filter(newRef => !!newRef); - }); - }); - } - loadResources(keys) { - if (!this.resourcesPromise) { - this.resourcesPromise = this.pdfManager.ensure(this, "resources"); - } - return this.resourcesPromise.then(() => { - const objectLoader = new ObjectLoader(this.resources, keys, this.xref); - return objectLoader.load(); - }); - } - getOperatorList({ - handler, - sink, - task, - intent, - cacheKey, - annotationStorage = null - }) { - const contentStreamPromise = this.getContentStream(); - const resourcesPromise = this.loadResources(["ColorSpace", "ExtGState", "Font", "Pattern", "Properties", "Shading", "XObject"]); - const partialEvaluator = new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: this.pageIndex, - idFactory: this._localIdFactory, - fontCache: this.fontCache, - builtInCMapCache: this.builtInCMapCache, - standardFontDataCache: this.standardFontDataCache, - globalImageCache: this.globalImageCache, - systemFontCache: this.systemFontCache, - options: this.evaluatorOptions - }); - const newAnnotationsByPage = !this.xfaFactory ? getNewAnnotationsMap(annotationStorage) : null; - let deletedAnnotations = null; - let newAnnotationsPromise = Promise.resolve(null); - if (newAnnotationsByPage) { - const newAnnotations = newAnnotationsByPage.get(this.pageIndex); - if (newAnnotations) { - const annotationGlobalsPromise = this.pdfManager.ensureDoc("annotationGlobals"); - let imagePromises; - const missingBitmaps = new Set(); - for (const { - bitmapId, - bitmap - } of newAnnotations) { - if (bitmapId && !bitmap && !missingBitmaps.has(bitmapId)) { - missingBitmaps.add(bitmapId); - } - } - const { - isOffscreenCanvasSupported - } = this.evaluatorOptions; - if (missingBitmaps.size > 0) { - const annotationWithBitmaps = newAnnotations.slice(); - for (const [key, annotation] of annotationStorage) { - if (!key.startsWith(AnnotationEditorPrefix)) { - continue; - } - if (annotation.bitmap && missingBitmaps.has(annotation.bitmapId)) { - annotationWithBitmaps.push(annotation); - } - } - imagePromises = AnnotationFactory.generateImages(annotationWithBitmaps, this.xref, isOffscreenCanvasSupported); - } else { - imagePromises = AnnotationFactory.generateImages(newAnnotations, this.xref, isOffscreenCanvasSupported); - } - deletedAnnotations = new RefSet(); - this.#replaceIdByRef(newAnnotations, deletedAnnotations, null); - newAnnotationsPromise = annotationGlobalsPromise.then(annotationGlobals => { - if (!annotationGlobals) { - return null; - } - return AnnotationFactory.printNewAnnotations(annotationGlobals, partialEvaluator, task, newAnnotations, imagePromises); - }); - } - } - const dataPromises = Promise.all([contentStreamPromise, resourcesPromise]); - const pageListPromise = dataPromises.then(([contentStream]) => { - const opList = new OperatorList(intent, sink); - handler.send("StartRenderPage", { - transparency: partialEvaluator.hasBlendModes(this.resources, this.nonBlendModesSet), - pageIndex: this.pageIndex, - cacheKey - }); - return partialEvaluator.getOperatorList({ - stream: contentStream, - task, - resources: this.resources, - operatorList: opList - }).then(function () { - return opList; - }); - }); - return Promise.all([pageListPromise, this._parsedAnnotations, newAnnotationsPromise]).then(function ([pageOpList, annotations, newAnnotations]) { - if (newAnnotations) { - annotations = annotations.filter(a => !(a.ref && deletedAnnotations.has(a.ref))); - for (let i = 0, ii = newAnnotations.length; i < ii; i++) { - const newAnnotation = newAnnotations[i]; - if (newAnnotation.refToReplace) { - const j = annotations.findIndex(a => a.ref && isRefsEqual(a.ref, newAnnotation.refToReplace)); - if (j >= 0) { - annotations.splice(j, 1, newAnnotation); - newAnnotations.splice(i--, 1); - ii--; - } - } - } - annotations = annotations.concat(newAnnotations); - } - if (annotations.length === 0 || intent & RenderingIntentFlag.ANNOTATIONS_DISABLE) { - pageOpList.flush(true); - return { - length: pageOpList.totalLength - }; - } - const renderForms = !!(intent & RenderingIntentFlag.ANNOTATIONS_FORMS), - intentAny = !!(intent & RenderingIntentFlag.ANY), - intentDisplay = !!(intent & RenderingIntentFlag.DISPLAY), - intentPrint = !!(intent & RenderingIntentFlag.PRINT); - const opListPromises = []; - for (const annotation of annotations) { - if (intentAny || intentDisplay && annotation.mustBeViewed(annotationStorage, renderForms) || intentPrint && annotation.mustBePrinted(annotationStorage)) { - opListPromises.push(annotation.getOperatorList(partialEvaluator, task, intent, renderForms, annotationStorage).catch(function (reason) { - warn("getOperatorList - ignoring annotation data during " + `"${task.name}" task: "${reason}".`); - return { - opList: null, - separateForm: false, - separateCanvas: false - }; - })); - } - } - return Promise.all(opListPromises).then(function (opLists) { - let form = false, - canvas = false; - for (const { - opList, - separateForm, - separateCanvas - } of opLists) { - pageOpList.addOpList(opList); - form ||= separateForm; - canvas ||= separateCanvas; - } - pageOpList.flush(true, { - form, - canvas - }); - return { - length: pageOpList.totalLength - }; - }); - }); - } - extractTextContent({ - handler, - task, - includeMarkedContent, - disableNormalization, - sink - }) { - const contentStreamPromise = this.getContentStream(); - const resourcesPromise = this.loadResources(["ExtGState", "Font", "Properties", "XObject"]); - const dataPromises = Promise.all([contentStreamPromise, resourcesPromise]); - return dataPromises.then(([contentStream]) => { - const partialEvaluator = new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: this.pageIndex, - idFactory: this._localIdFactory, - fontCache: this.fontCache, - builtInCMapCache: this.builtInCMapCache, - standardFontDataCache: this.standardFontDataCache, - globalImageCache: this.globalImageCache, - systemFontCache: this.systemFontCache, - options: this.evaluatorOptions - }); - return partialEvaluator.getTextContent({ - stream: contentStream, - task, - resources: this.resources, - includeMarkedContent, - disableNormalization, - sink, - viewBox: this.view - }); - }); - } - async getStructTree() { - const structTreeRoot = await this.pdfManager.ensureCatalog("structTreeRoot"); - if (!structTreeRoot) { - return null; - } - await this._parsedAnnotations; - const structTree = await this.pdfManager.ensure(this, "_parseStructTree", [structTreeRoot]); - return structTree.serializable; - } - _parseStructTree(structTreeRoot) { - const tree = new StructTreePage(structTreeRoot, this.pageDict); - tree.parse(this.ref); - return tree; - } - async getAnnotationsData(handler, task, intent) { - const annotations = await this._parsedAnnotations; - if (annotations.length === 0) { - return annotations; - } - const annotationsData = [], - textContentPromises = []; - let partialEvaluator; - const intentAny = !!(intent & RenderingIntentFlag.ANY), - intentDisplay = !!(intent & RenderingIntentFlag.DISPLAY), - intentPrint = !!(intent & RenderingIntentFlag.PRINT); - for (const annotation of annotations) { - const isVisible = intentAny || intentDisplay && annotation.viewable; - if (isVisible || intentPrint && annotation.printable) { - annotationsData.push(annotation.data); - } - if (annotation.hasTextContent && isVisible) { - partialEvaluator ||= new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: this.pageIndex, - idFactory: this._localIdFactory, - fontCache: this.fontCache, - builtInCMapCache: this.builtInCMapCache, - standardFontDataCache: this.standardFontDataCache, - globalImageCache: this.globalImageCache, - systemFontCache: this.systemFontCache, - options: this.evaluatorOptions - }); - textContentPromises.push(annotation.extractTextContent(partialEvaluator, task, [-Infinity, -Infinity, Infinity, Infinity]).catch(function (reason) { - warn(`getAnnotationsData - ignoring textContent during "${task.name}" task: "${reason}".`); - })); - } - } - await Promise.all(textContentPromises); - return annotationsData; - } - get annotations() { - const annots = this._getInheritableProperty("Annots"); - return shadow(this, "annotations", Array.isArray(annots) ? annots : []); - } - get _parsedAnnotations() { - const promise = this.pdfManager.ensure(this, "annotations").then(async annots => { - if (annots.length === 0) { - return annots; - } - const annotationGlobals = await this.pdfManager.ensureDoc("annotationGlobals"); - if (!annotationGlobals) { - return []; - } - const annotationPromises = []; - for (const annotationRef of annots) { - annotationPromises.push(AnnotationFactory.create(this.xref, annotationRef, annotationGlobals, this._localIdFactory, false, this.ref).catch(function (reason) { - warn(`_parsedAnnotations: "${reason}".`); - return null; - })); - } - const sortedAnnotations = []; - let popupAnnotations, widgetAnnotations; - for (const annotation of await Promise.all(annotationPromises)) { - if (!annotation) { - continue; - } - if (annotation instanceof WidgetAnnotation) { - (widgetAnnotations ||= []).push(annotation); - continue; - } - if (annotation instanceof PopupAnnotation) { - (popupAnnotations ||= []).push(annotation); - continue; - } - sortedAnnotations.push(annotation); - } - if (widgetAnnotations) { - sortedAnnotations.push(...widgetAnnotations); - } - if (popupAnnotations) { - sortedAnnotations.push(...popupAnnotations); - } - return sortedAnnotations; - }); - return shadow(this, "_parsedAnnotations", promise); - } - get jsActions() { - const actions = collectActions(this.xref, this.pageDict, PageActionEventType); - return shadow(this, "jsActions", actions); - } -} -const PDF_HEADER_SIGNATURE = new Uint8Array([0x25, 0x50, 0x44, 0x46, 0x2d]); -const STARTXREF_SIGNATURE = new Uint8Array([0x73, 0x74, 0x61, 0x72, 0x74, 0x78, 0x72, 0x65, 0x66]); -const ENDOBJ_SIGNATURE = new Uint8Array([0x65, 0x6e, 0x64, 0x6f, 0x62, 0x6a]); -const FINGERPRINT_FIRST_BYTES = 1024; -const EMPTY_FINGERPRINT = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; -function find(stream, signature, limit = 1024, backwards = false) { - const signatureLength = signature.length; - const scanBytes = stream.peekBytes(limit); - const scanLength = scanBytes.length - signatureLength; - if (scanLength <= 0) { - return false; - } - if (backwards) { - const signatureEnd = signatureLength - 1; - let pos = scanBytes.length - 1; - while (pos >= signatureEnd) { - let j = 0; - while (j < signatureLength && scanBytes[pos - j] === signature[signatureEnd - j]) { - j++; - } - if (j >= signatureLength) { - stream.pos += pos - signatureEnd; - return true; - } - pos--; - } - } else { - let pos = 0; - while (pos <= scanLength) { - let j = 0; - while (j < signatureLength && scanBytes[pos + j] === signature[j]) { - j++; - } - if (j >= signatureLength) { - stream.pos += pos; - return true; - } - pos++; - } - } - return false; -} -class PDFDocument { - constructor(pdfManager, stream) { - if (stream.length <= 0) { - throw new InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes."); - } - this.pdfManager = pdfManager; - this.stream = stream; - this.xref = new XRef(stream, pdfManager); - this._pagePromises = new Map(); - this._version = null; - const idCounters = { - font: 0 - }; - this._globalIdFactory = class { - static getDocId() { - return `g_${pdfManager.docId}`; - } - static createFontId() { - return `f${++idCounters.font}`; - } - static createObjId() { - unreachable("Abstract method `createObjId` called."); - } - static getPageObjId() { - unreachable("Abstract method `getPageObjId` called."); - } - }; - } - parse(recoveryMode) { - this.xref.parse(recoveryMode); - this.catalog = new Catalog(this.pdfManager, this.xref); - } - get linearization() { - let linearization = null; - try { - linearization = Linearization.create(this.stream); - } catch (err) { - if (err instanceof MissingDataException) { - throw err; - } - info(err); - } - return shadow(this, "linearization", linearization); - } - get startXRef() { - const stream = this.stream; - let startXRef = 0; - if (this.linearization) { - stream.reset(); - if (find(stream, ENDOBJ_SIGNATURE)) { - stream.skip(6); - let ch = stream.peekByte(); - while (isWhiteSpace(ch)) { - stream.pos++; - ch = stream.peekByte(); - } - startXRef = stream.pos - stream.start; - } - } else { - const step = 1024; - const startXRefLength = STARTXREF_SIGNATURE.length; - let found = false, - pos = stream.end; - while (!found && pos > 0) { - pos -= step - startXRefLength; - if (pos < 0) { - pos = 0; - } - stream.pos = pos; - found = find(stream, STARTXREF_SIGNATURE, step, true); - } - if (found) { - stream.skip(9); - let ch; - do { - ch = stream.getByte(); - } while (isWhiteSpace(ch)); - let str = ""; - while (ch >= 0x20 && ch <= 0x39) { - str += String.fromCharCode(ch); - ch = stream.getByte(); - } - startXRef = parseInt(str, 10); - if (isNaN(startXRef)) { - startXRef = 0; - } - } - } - return shadow(this, "startXRef", startXRef); - } - checkHeader() { - const stream = this.stream; - stream.reset(); - if (!find(stream, PDF_HEADER_SIGNATURE)) { - return; - } - stream.moveStart(); - stream.skip(PDF_HEADER_SIGNATURE.length); - let version = "", - ch; - while ((ch = stream.getByte()) > 0x20 && version.length < 7) { - version += String.fromCharCode(ch); - } - if (PDF_VERSION_REGEXP.test(version)) { - this._version = version; - } else { - warn(`Invalid PDF header version: ${version}`); - } - } - parseStartXRef() { - this.xref.setStartXRef(this.startXRef); - } - get numPages() { - let num = 0; - if (this.catalog.hasActualNumPages) { - num = this.catalog.numPages; - } else if (this.xfaFactory) { - num = this.xfaFactory.getNumPages(); - } else if (this.linearization) { - num = this.linearization.numPages; - } else { - num = this.catalog.numPages; - } - return shadow(this, "numPages", num); - } - _hasOnlyDocumentSignatures(fields, recursionDepth = 0) { - const RECURSION_LIMIT = 10; - if (!Array.isArray(fields)) { - return false; - } - return fields.every(field => { - field = this.xref.fetchIfRef(field); - if (!(field instanceof Dict)) { - return false; - } - if (field.has("Kids")) { - if (++recursionDepth > RECURSION_LIMIT) { - warn("_hasOnlyDocumentSignatures: maximum recursion depth reached"); - return false; - } - return this._hasOnlyDocumentSignatures(field.get("Kids"), recursionDepth); - } - const isSignature = isName(field.get("FT"), "Sig"); - const rectangle = field.get("Rect"); - const isInvisible = Array.isArray(rectangle) && rectangle.every(value => value === 0); - return isSignature && isInvisible; - }); - } - get _xfaStreams() { - const acroForm = this.catalog.acroForm; - if (!acroForm) { - return null; - } - const xfa = acroForm.get("XFA"); - const entries = { - "xdp:xdp": "", - template: "", - datasets: "", - config: "", - connectionSet: "", - localeSet: "", - stylesheet: "", - "/xdp:xdp": "" - }; - if (xfa instanceof BaseStream && !xfa.isEmpty) { - entries["xdp:xdp"] = xfa; - return entries; - } - if (!Array.isArray(xfa) || xfa.length === 0) { - return null; - } - for (let i = 0, ii = xfa.length; i < ii; i += 2) { - let name; - if (i === 0) { - name = "xdp:xdp"; - } else if (i === ii - 2) { - name = "/xdp:xdp"; - } else { - name = xfa[i]; - } - if (!entries.hasOwnProperty(name)) { - continue; - } - const data = this.xref.fetchIfRef(xfa[i + 1]); - if (!(data instanceof BaseStream) || data.isEmpty) { - continue; - } - entries[name] = data; - } - return entries; - } - get xfaDatasets() { - const streams = this._xfaStreams; - if (!streams) { - return shadow(this, "xfaDatasets", null); - } - for (const key of ["datasets", "xdp:xdp"]) { - const stream = streams[key]; - if (!stream) { - continue; - } - try { - const str = stringToUTF8String(stream.getString()); - const data = { - [key]: str - }; - return shadow(this, "xfaDatasets", new DatasetReader(data)); - } catch { - warn("XFA - Invalid utf-8 string."); - break; - } - } - return shadow(this, "xfaDatasets", null); - } - get xfaData() { - const streams = this._xfaStreams; - if (!streams) { - return null; - } - const data = Object.create(null); - for (const [key, stream] of Object.entries(streams)) { - if (!stream) { - continue; - } - try { - data[key] = stringToUTF8String(stream.getString()); - } catch { - warn("XFA - Invalid utf-8 string."); - return null; - } - } - return data; - } - get xfaFactory() { - let data; - if (this.pdfManager.enableXfa && this.catalog.needsRendering && this.formInfo.hasXfa && !this.formInfo.hasAcroForm) { - data = this.xfaData; - } - return shadow(this, "xfaFactory", data ? new XFAFactory(data) : null); - } - get isPureXfa() { - return this.xfaFactory ? this.xfaFactory.isValid() : false; - } - get htmlForXfa() { - return this.xfaFactory ? this.xfaFactory.getPages() : null; - } - async loadXfaImages() { - const xfaImagesDict = await this.pdfManager.ensureCatalog("xfaImages"); - if (!xfaImagesDict) { - return; - } - const keys = xfaImagesDict.getKeys(); - const objectLoader = new ObjectLoader(xfaImagesDict, keys, this.xref); - await objectLoader.load(); - const xfaImages = new Map(); - for (const key of keys) { - const stream = xfaImagesDict.get(key); - if (stream instanceof BaseStream) { - xfaImages.set(key, stream.getBytes()); - } - } - this.xfaFactory.setImages(xfaImages); - } - async loadXfaFonts(handler, task) { - const acroForm = await this.pdfManager.ensureCatalog("acroForm"); - if (!acroForm) { - return; - } - const resources = await acroForm.getAsync("DR"); - if (!(resources instanceof Dict)) { - return; - } - const objectLoader = new ObjectLoader(resources, ["Font"], this.xref); - await objectLoader.load(); - const fontRes = resources.get("Font"); - if (!(fontRes instanceof Dict)) { - return; - } - const options = Object.assign(Object.create(null), this.pdfManager.evaluatorOptions); - options.useSystemFonts = false; - const partialEvaluator = new PartialEvaluator({ - xref: this.xref, - handler, - pageIndex: -1, - idFactory: this._globalIdFactory, - fontCache: this.catalog.fontCache, - builtInCMapCache: this.catalog.builtInCMapCache, - standardFontDataCache: this.catalog.standardFontDataCache, - options - }); - const operatorList = new OperatorList(); - const pdfFonts = []; - const initialState = { - get font() { - return pdfFonts.at(-1); - }, - set font(font) { - pdfFonts.push(font); - }, - clone() { - return this; - } - }; - const fonts = new Map(); - fontRes.forEach((fontName, font) => { - fonts.set(fontName, font); - }); - const promises = []; - for (const [fontName, font] of fonts) { - const descriptor = font.get("FontDescriptor"); - if (!(descriptor instanceof Dict)) { - continue; - } - let fontFamily = descriptor.get("FontFamily"); - fontFamily = fontFamily.replaceAll(/[ ]+(\d)/g, "$1"); - const fontWeight = descriptor.get("FontWeight"); - const italicAngle = -descriptor.get("ItalicAngle"); - const cssFontInfo = { - fontFamily, - fontWeight, - italicAngle - }; - if (!validateCSSFont(cssFontInfo)) { - continue; - } - promises.push(partialEvaluator.handleSetFont(resources, [Name.get(fontName), 1], null, operatorList, task, initialState, null, cssFontInfo).catch(function (reason) { - warn(`loadXfaFonts: "${reason}".`); - return null; - })); - } - await Promise.all(promises); - const missingFonts = this.xfaFactory.setFonts(pdfFonts); - if (!missingFonts) { - return; - } - options.ignoreErrors = true; - promises.length = 0; - pdfFonts.length = 0; - const reallyMissingFonts = new Set(); - for (const missing of missingFonts) { - if (!getXfaFontName(`${missing}-Regular`)) { - reallyMissingFonts.add(missing); - } - } - if (reallyMissingFonts.size) { - missingFonts.push("PdfJS-Fallback"); - } - for (const missing of missingFonts) { - if (reallyMissingFonts.has(missing)) { - continue; - } - for (const fontInfo of [{ - name: "Regular", - fontWeight: 400, - italicAngle: 0 - }, { - name: "Bold", - fontWeight: 700, - italicAngle: 0 - }, { - name: "Italic", - fontWeight: 400, - italicAngle: 12 - }, { - name: "BoldItalic", - fontWeight: 700, - italicAngle: 12 - }]) { - const name = `${missing}-${fontInfo.name}`; - const dict = getXfaFontDict(name); - promises.push(partialEvaluator.handleSetFont(resources, [Name.get(name), 1], null, operatorList, task, initialState, dict, { - fontFamily: missing, - fontWeight: fontInfo.fontWeight, - italicAngle: fontInfo.italicAngle - }).catch(function (reason) { - warn(`loadXfaFonts: "${reason}".`); - return null; - })); - } - } - await Promise.all(promises); - this.xfaFactory.appendFonts(pdfFonts, reallyMissingFonts); - } - async serializeXfaData(annotationStorage) { - return this.xfaFactory ? this.xfaFactory.serializeData(annotationStorage) : null; - } - get version() { - return this.catalog.version || this._version; - } - get formInfo() { - const formInfo = { - hasFields: false, - hasAcroForm: false, - hasXfa: false, - hasSignatures: false - }; - const acroForm = this.catalog.acroForm; - if (!acroForm) { - return shadow(this, "formInfo", formInfo); - } - try { - const fields = acroForm.get("Fields"); - const hasFields = Array.isArray(fields) && fields.length > 0; - formInfo.hasFields = hasFields; - const xfa = acroForm.get("XFA"); - formInfo.hasXfa = Array.isArray(xfa) && xfa.length > 0 || xfa instanceof BaseStream && !xfa.isEmpty; - const sigFlags = acroForm.get("SigFlags"); - const hasSignatures = !!(sigFlags & 0x1); - const hasOnlyDocumentSignatures = hasSignatures && this._hasOnlyDocumentSignatures(fields); - formInfo.hasAcroForm = hasFields && !hasOnlyDocumentSignatures; - formInfo.hasSignatures = hasSignatures; - } catch (ex) { - if (ex instanceof MissingDataException) { - throw ex; - } - warn(`Cannot fetch form information: "${ex}".`); - } - return shadow(this, "formInfo", formInfo); - } - get documentInfo() { - const docInfo = { - PDFFormatVersion: this.version, - Language: this.catalog.lang, - EncryptFilterName: this.xref.encrypt ? this.xref.encrypt.filterName : null, - IsLinearized: !!this.linearization, - IsAcroFormPresent: this.formInfo.hasAcroForm, - IsXFAPresent: this.formInfo.hasXfa, - IsCollectionPresent: !!this.catalog.collection, - IsSignaturesPresent: this.formInfo.hasSignatures - }; - let infoDict; - try { - infoDict = this.xref.trailer.get("Info"); - } catch (err) { - if (err instanceof MissingDataException) { - throw err; - } - info("The document information dictionary is invalid."); - } - if (!(infoDict instanceof Dict)) { - return shadow(this, "documentInfo", docInfo); - } - for (const key of infoDict.getKeys()) { - const value = infoDict.get(key); - switch (key) { - case "Title": - case "Author": - case "Subject": - case "Keywords": - case "Creator": - case "Producer": - case "CreationDate": - case "ModDate": - if (typeof value === "string") { - docInfo[key] = stringToPDFString(value); - continue; - } - break; - case "Trapped": - if (value instanceof Name) { - docInfo[key] = value; - continue; - } - break; - default: - let customValue; - switch (typeof value) { - case "string": - customValue = stringToPDFString(value); - break; - case "number": - case "boolean": - customValue = value; - break; - default: - if (value instanceof Name) { - customValue = value; - } - break; - } - if (customValue === undefined) { - warn(`Bad value, for custom key "${key}", in Info: ${value}.`); - continue; - } - if (!docInfo.Custom) { - docInfo.Custom = Object.create(null); - } - docInfo.Custom[key] = customValue; - continue; - } - warn(`Bad value, for key "${key}", in Info: ${value}.`); - } - return shadow(this, "documentInfo", docInfo); - } - get fingerprints() { - function validate(data) { - return typeof data === "string" && data.length > 0 && data !== EMPTY_FINGERPRINT; - } - function hexString(hash) { - const buf = []; - for (const num of hash) { - const hex = num.toString(16); - buf.push(hex.padStart(2, "0")); - } - return buf.join(""); - } - const idArray = this.xref.trailer.get("ID"); - let hashOriginal, hashModified; - if (Array.isArray(idArray) && validate(idArray[0])) { - hashOriginal = stringToBytes(idArray[0]); - if (idArray[1] !== idArray[0] && validate(idArray[1])) { - hashModified = stringToBytes(idArray[1]); - } - } else { - hashOriginal = calculateMD5(this.stream.getByteRange(0, FINGERPRINT_FIRST_BYTES), 0, FINGERPRINT_FIRST_BYTES); - } - return shadow(this, "fingerprints", [hexString(hashOriginal), hashModified ? hexString(hashModified) : null]); - } - async _getLinearizationPage(pageIndex) { - const { - catalog, - linearization, - xref - } = this; - const ref = Ref.get(linearization.objectNumberFirst, 0); - try { - const obj = await xref.fetchAsync(ref); - if (obj instanceof Dict) { - let type = obj.getRaw("Type"); - if (type instanceof Ref) { - type = await xref.fetchAsync(type); - } - if (isName(type, "Page") || !obj.has("Type") && !obj.has("Kids")) { - if (!catalog.pageKidsCountCache.has(ref)) { - catalog.pageKidsCountCache.put(ref, 1); - } - if (!catalog.pageIndexCache.has(ref)) { - catalog.pageIndexCache.put(ref, 0); - } - return [obj, ref]; - } - } - throw new FormatError("The Linearization dictionary doesn't point to a valid Page dictionary."); - } catch (reason) { - warn(`_getLinearizationPage: "${reason.message}".`); - return catalog.getPageDict(pageIndex); - } - } - getPage(pageIndex) { - const cachedPromise = this._pagePromises.get(pageIndex); - if (cachedPromise) { - return cachedPromise; - } - const { - catalog, - linearization, - xfaFactory - } = this; - let promise; - if (xfaFactory) { - promise = Promise.resolve([Dict.empty, null]); - } else if (linearization?.pageFirst === pageIndex) { - promise = this._getLinearizationPage(pageIndex); - } else { - promise = catalog.getPageDict(pageIndex); - } - promise = promise.then(([pageDict, ref]) => { - return new Page({ - pdfManager: this.pdfManager, - xref: this.xref, - pageIndex, - pageDict, - ref, - globalIdFactory: this._globalIdFactory, - fontCache: catalog.fontCache, - builtInCMapCache: catalog.builtInCMapCache, - standardFontDataCache: catalog.standardFontDataCache, - globalImageCache: catalog.globalImageCache, - systemFontCache: catalog.systemFontCache, - nonBlendModesSet: catalog.nonBlendModesSet, - xfaFactory - }); - }); - this._pagePromises.set(pageIndex, promise); - return promise; - } - async checkFirstPage(recoveryMode = false) { - if (recoveryMode) { - return; - } - try { - await this.getPage(0); - } catch (reason) { - if (reason instanceof XRefEntryException) { - this._pagePromises.delete(0); - await this.cleanup(); - throw new XRefParseException(); - } - } - } - async checkLastPage(recoveryMode = false) { - const { - catalog, - pdfManager - } = this; - catalog.setActualNumPages(); - let numPages; - try { - await Promise.all([pdfManager.ensureDoc("xfaFactory"), pdfManager.ensureDoc("linearization"), pdfManager.ensureCatalog("numPages")]); - if (this.xfaFactory) { - return; - } else if (this.linearization) { - numPages = this.linearization.numPages; - } else { - numPages = catalog.numPages; - } - if (!Number.isInteger(numPages)) { - throw new FormatError("Page count is not an integer."); - } else if (numPages <= 1) { - return; - } - await this.getPage(numPages - 1); - } catch (reason) { - this._pagePromises.delete(numPages - 1); - await this.cleanup(); - if (reason instanceof XRefEntryException && !recoveryMode) { - throw new XRefParseException(); - } - warn(`checkLastPage - invalid /Pages tree /Count: ${numPages}.`); - let pagesTree; - try { - pagesTree = await catalog.getAllPageDicts(recoveryMode); - } catch (reasonAll) { - if (reasonAll instanceof XRefEntryException && !recoveryMode) { - throw new XRefParseException(); - } - catalog.setActualNumPages(1); - return; - } - for (const [pageIndex, [pageDict, ref]] of pagesTree) { - let promise; - if (pageDict instanceof Error) { - promise = Promise.reject(pageDict); - promise.catch(() => {}); - } else { - promise = Promise.resolve(new Page({ - pdfManager, - xref: this.xref, - pageIndex, - pageDict, - ref, - globalIdFactory: this._globalIdFactory, - fontCache: catalog.fontCache, - builtInCMapCache: catalog.builtInCMapCache, - standardFontDataCache: catalog.standardFontDataCache, - globalImageCache: catalog.globalImageCache, - systemFontCache: catalog.systemFontCache, - nonBlendModesSet: catalog.nonBlendModesSet, - xfaFactory: null - })); - } - this._pagePromises.set(pageIndex, promise); - } - catalog.setActualNumPages(pagesTree.size); - } - } - fontFallback(id, handler) { - return this.catalog.fontFallback(id, handler); - } - async cleanup(manuallyTriggered = false) { - return this.catalog ? this.catalog.cleanup(manuallyTriggered) : clearGlobalCaches(); - } - async #collectFieldObjects(name, fieldRef, promises, annotationGlobals, visitedRefs) { - const { - xref - } = this; - if (!(fieldRef instanceof Ref) || visitedRefs.has(fieldRef)) { - return; - } - visitedRefs.put(fieldRef); - const field = await xref.fetchAsync(fieldRef); - if (!(field instanceof Dict)) { - return; - } - if (field.has("T")) { - const partName = stringToPDFString(await field.getAsync("T")); - name = name === "" ? partName : `${name}.${partName}`; - } else { - let obj = field; - while (true) { - obj = obj.getRaw("Parent"); - if (obj instanceof Ref) { - if (visitedRefs.has(obj)) { - break; - } - obj = await xref.fetchAsync(obj); - } - if (!(obj instanceof Dict)) { - break; - } - if (obj.has("T")) { - const partName = stringToPDFString(await obj.getAsync("T")); - name = name === "" ? partName : `${name}.${partName}`; - break; - } - } - } - if (!promises.has(name)) { - promises.set(name, []); - } - promises.get(name).push(AnnotationFactory.create(xref, fieldRef, annotationGlobals, null, true, null).then(annotation => annotation?.getFieldObject()).catch(function (reason) { - warn(`#collectFieldObjects: "${reason}".`); - return null; - })); - if (!field.has("Kids")) { - return; - } - const kids = await field.getAsync("Kids"); - if (Array.isArray(kids)) { - for (const kid of kids) { - await this.#collectFieldObjects(name, kid, promises, annotationGlobals, visitedRefs); - } - } - } - get fieldObjects() { - if (!this.formInfo.hasFields) { - return shadow(this, "fieldObjects", Promise.resolve(null)); - } - const promise = Promise.all([this.pdfManager.ensureDoc("annotationGlobals"), this.pdfManager.ensureCatalog("acroForm")]).then(async ([annotationGlobals, acroForm]) => { - if (!annotationGlobals) { - return null; - } - const visitedRefs = new RefSet(); - const allFields = Object.create(null); - const fieldPromises = new Map(); - for (const fieldRef of await acroForm.getAsync("Fields")) { - await this.#collectFieldObjects("", fieldRef, fieldPromises, annotationGlobals, visitedRefs); - } - const allPromises = []; - for (const [name, promises] of fieldPromises) { - allPromises.push(Promise.all(promises).then(fields => { - fields = fields.filter(field => !!field); - if (fields.length > 0) { - allFields[name] = fields; - } - })); - } - await Promise.all(allPromises); - return allFields; - }); - return shadow(this, "fieldObjects", promise); - } - get hasJSActions() { - const promise = this.pdfManager.ensureDoc("_parseHasJSActions"); - return shadow(this, "hasJSActions", promise); - } - async _parseHasJSActions() { - const [catalogJsActions, fieldObjects] = await Promise.all([this.pdfManager.ensureCatalog("jsActions"), this.pdfManager.ensureDoc("fieldObjects")]); - if (catalogJsActions) { - return true; - } - if (fieldObjects) { - return Object.values(fieldObjects).some(fieldObject => fieldObject.some(object => object.actions !== null)); - } - return false; - } - get calculationOrderIds() { - const acroForm = this.catalog.acroForm; - if (!acroForm?.has("CO")) { - return shadow(this, "calculationOrderIds", null); - } - const calculationOrder = acroForm.get("CO"); - if (!Array.isArray(calculationOrder) || calculationOrder.length === 0) { - return shadow(this, "calculationOrderIds", null); - } - const ids = []; - for (const id of calculationOrder) { - if (id instanceof Ref) { - ids.push(id.toString()); - } - } - if (ids.length === 0) { - return shadow(this, "calculationOrderIds", null); - } - return shadow(this, "calculationOrderIds", ids); - } - get annotationGlobals() { - return shadow(this, "annotationGlobals", AnnotationFactory.createGlobals(this.pdfManager)); - } -} - -;// CONCATENATED MODULE: ./src/core/pdf_manager.js - - - - - -function parseDocBaseUrl(url) { - if (url) { - const absoluteUrl = createValidAbsoluteUrl(url); - if (absoluteUrl) { - return absoluteUrl.href; - } - warn(`Invalid absolute docBaseUrl: "${url}".`); - } - return null; -} -class BasePdfManager { - constructor(args) { - if (this.constructor === BasePdfManager) { - unreachable("Cannot initialize BasePdfManager."); - } - this._docBaseUrl = parseDocBaseUrl(args.docBaseUrl); - this._docId = args.docId; - this._password = args.password; - this.enableXfa = args.enableXfa; - args.evaluatorOptions.isOffscreenCanvasSupported &&= FeatureTest.isOffscreenCanvasSupported; - this.evaluatorOptions = args.evaluatorOptions; - } - get docId() { - return this._docId; - } - get password() { - return this._password; - } - get docBaseUrl() { - return this._docBaseUrl; - } - get catalog() { - return this.pdfDocument.catalog; - } - ensureDoc(prop, args) { - return this.ensure(this.pdfDocument, prop, args); - } - ensureXRef(prop, args) { - return this.ensure(this.pdfDocument.xref, prop, args); - } - ensureCatalog(prop, args) { - return this.ensure(this.pdfDocument.catalog, prop, args); - } - getPage(pageIndex) { - return this.pdfDocument.getPage(pageIndex); - } - fontFallback(id, handler) { - return this.pdfDocument.fontFallback(id, handler); - } - loadXfaFonts(handler, task) { - return this.pdfDocument.loadXfaFonts(handler, task); - } - loadXfaImages() { - return this.pdfDocument.loadXfaImages(); - } - serializeXfaData(annotationStorage) { - return this.pdfDocument.serializeXfaData(annotationStorage); - } - cleanup(manuallyTriggered = false) { - return this.pdfDocument.cleanup(manuallyTriggered); - } - async ensure(obj, prop, args) { - unreachable("Abstract method `ensure` called"); - } - requestRange(begin, end) { - unreachable("Abstract method `requestRange` called"); - } - requestLoadedStream(noFetch = false) { - unreachable("Abstract method `requestLoadedStream` called"); - } - sendProgressiveData(chunk) { - unreachable("Abstract method `sendProgressiveData` called"); - } - updatePassword(password) { - this._password = password; - } - terminate(reason) { - unreachable("Abstract method `terminate` called"); - } -} -class LocalPdfManager extends BasePdfManager { - constructor(args) { - super(args); - const stream = new Stream(args.source); - this.pdfDocument = new PDFDocument(this, stream); - this._loadedStreamPromise = Promise.resolve(stream); - } - async ensure(obj, prop, args) { - const value = obj[prop]; - if (typeof value === "function") { - return value.apply(obj, args); - } - return value; - } - requestRange(begin, end) { - return Promise.resolve(); - } - requestLoadedStream(noFetch = false) { - return this._loadedStreamPromise; - } - terminate(reason) {} -} -class NetworkPdfManager extends BasePdfManager { - constructor(args) { - super(args); - this.streamManager = new ChunkedStreamManager(args.source, { - msgHandler: args.handler, - length: args.length, - disableAutoFetch: args.disableAutoFetch, - rangeChunkSize: args.rangeChunkSize - }); - this.pdfDocument = new PDFDocument(this, this.streamManager.getStream()); - } - async ensure(obj, prop, args) { - try { - const value = obj[prop]; - if (typeof value === "function") { - return value.apply(obj, args); - } - return value; - } catch (ex) { - if (!(ex instanceof MissingDataException)) { - throw ex; - } - await this.requestRange(ex.begin, ex.end); - return this.ensure(obj, prop, args); - } - } - requestRange(begin, end) { - return this.streamManager.requestRange(begin, end); - } - requestLoadedStream(noFetch = false) { - return this.streamManager.requestAllChunks(noFetch); - } - sendProgressiveData(chunk) { - this.streamManager.onReceiveData({ - chunk - }); - } - terminate(reason) { - this.streamManager.abort(reason); - } -} - -;// CONCATENATED MODULE: ./src/shared/message_handler.js - - +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.MessageHandler = void 0; +var _util = __w_pdfjs_require__(2); const CallbackKind = { UNKNOWN: 0, DATA: 1, @@ -59975,21 +57984,21 @@ const StreamKind = { }; function wrapReason(reason) { if (!(reason instanceof Error || typeof reason === "object" && reason !== null)) { - unreachable('wrapReason: Expected "reason" to be a (possibly cloned) Error.'); + (0, _util.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'); } switch (reason.name) { case "AbortException": - return new AbortException(reason.message); + return new _util.AbortException(reason.message); case "MissingPDFException": - return new MissingPDFException(reason.message); + return new _util.MissingPDFException(reason.message); case "PasswordException": - return new PasswordException(reason.message, reason.code); + return new _util.PasswordException(reason.message, reason.code); case "UnexpectedResponseException": - return new UnexpectedResponseException(reason.message, reason.status); + return new _util.UnexpectedResponseException(reason.message, reason.status); case "UnknownErrorException": - return new UnknownErrorException(reason.message, reason.details); + return new _util.UnknownErrorException(reason.message, reason.details); default: - return new UnknownErrorException(reason.message, reason.toString()); + return new _util.UnknownErrorException(reason.message, reason.toString()); } } class MessageHandler { @@ -60081,7 +58090,7 @@ class MessageHandler { } sendWithPromise(actionName, data, transfers) { const callbackId = this.callbackId++; - const capability = Promise.withResolvers(); + const capability = new _util.PromiseCapability(); this.callbackCapabilities[callbackId] = capability; try { this.comObj.postMessage({ @@ -60103,7 +58112,7 @@ class MessageHandler { comObj = this.comObj; return new ReadableStream({ start: controller => { - const startCapability = Promise.withResolvers(); + const startCapability = new _util.PromiseCapability(); this.streamControllers[streamId] = { controller, startCall: startCapability, @@ -60122,7 +58131,7 @@ class MessageHandler { return startCapability.promise; }, pull: controller => { - const pullCapability = Promise.withResolvers(); + const pullCapability = new _util.PromiseCapability(); this.streamControllers[streamId].pullCall = pullCapability; comObj.postMessage({ sourceName, @@ -60134,8 +58143,8 @@ class MessageHandler { return pullCapability.promise; }, cancel: reason => { - assert(reason instanceof Error, "cancel must have a valid reason"); - const cancelCapability = Promise.withResolvers(); + (0, _util.assert)(reason instanceof Error, "cancel must have a valid reason"); + const cancelCapability = new _util.PromiseCapability(); this.streamControllers[streamId].cancelCall = cancelCapability; this.streamControllers[streamId].isClosed = true; comObj.postMessage({ @@ -60164,7 +58173,7 @@ class MessageHandler { const lastDesiredSize = this.desiredSize; this.desiredSize -= size; if (lastDesiredSize > 0 && this.desiredSize <= 0) { - this.sinkCapability = Promise.withResolvers(); + this.sinkCapability = new _util.PromiseCapability(); this.ready = this.sinkCapability.promise; } comObj.postMessage({ @@ -60189,7 +58198,7 @@ class MessageHandler { delete self.streamSinks[streamId]; }, error(reason) { - assert(reason instanceof Error, "error must have a valid reason"); + (0, _util.assert)(reason instanceof Error, "error must have a valid reason"); if (this.isCancelled) { return; } @@ -60202,7 +58211,7 @@ class MessageHandler { reason: wrapReason(reason) }); }, - sinkCapability: Promise.withResolvers(), + sinkCapability: new _util.PromiseCapability(), onPull: null, onCancel: null, isCancelled: false, @@ -60290,14 +58299,14 @@ class MessageHandler { }); break; case StreamKind.ENQUEUE: - assert(streamController, "enqueue should have stream controller"); + (0, _util.assert)(streamController, "enqueue should have stream controller"); if (streamController.isClosed) { break; } streamController.controller.enqueue(data.chunk); break; case StreamKind.CLOSE: - assert(streamController, "close should have stream controller"); + (0, _util.assert)(streamController, "close should have stream controller"); if (streamController.isClosed) { break; } @@ -60306,7 +58315,7 @@ class MessageHandler { this.#deleteStreamController(streamController, streamId); break; case StreamKind.ERROR: - assert(streamController, "error should have stream controller"); + (0, _util.assert)(streamController, "error should have stream controller"); streamController.controller.error(wrapReason(data.reason)); this.#deleteStreamController(streamController, streamId); break; @@ -60357,10 +58366,19 @@ class MessageHandler { this.comObj.removeEventListener("message", this._onComObjOnMessage); } } +exports.MessageHandler = MessageHandler; -;// CONCATENATED MODULE: ./src/core/worker_stream.js +/***/ }), +/* 106 */ +/***/ ((__unused_webpack_module, exports, __w_pdfjs_require__) => { + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFWorkerStream = void 0; +var _util = __w_pdfjs_require__(2); class PDFWorkerStream { constructor(msgHandler) { this._msgHandler = msgHandler; @@ -60369,7 +58387,7 @@ class PDFWorkerStream { this._rangeRequestReaders = []; } getFullReader() { - assert(!this._fullRequestReader, "PDFWorkerStream.getFullReader can only be called once."); + (0, _util.assert)(!this._fullRequestReader, "PDFWorkerStream.getFullReader can only be called once."); this._fullRequestReader = new PDFWorkerStreamReader(this._msgHandler); return this._fullRequestReader; } @@ -60379,12 +58397,15 @@ class PDFWorkerStream { return reader; } cancelAllRequests(reason) { - this._fullRequestReader?.cancel(reason); + if (this._fullRequestReader) { + this._fullRequestReader.cancel(reason); + } for (const reader of this._rangeRequestReaders.slice(0)) { reader.cancel(reason); } } } +exports.PDFWorkerStream = PDFWorkerStream; class PDFWorkerStreamReader { constructor(msgHandler) { this._msgHandler = msgHandler; @@ -60466,659 +58487,85 @@ class PDFWorkerStreamRangeReader { } } -;// CONCATENATED MODULE: ./src/core/worker.js +/***/ }) +/******/ ]); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __w_pdfjs_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __w_pdfjs_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __w_pdfjs_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__w_pdfjs_require__.o(definition, key) && !__w_pdfjs_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __w_pdfjs_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __w_pdfjs_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +var exports = __webpack_exports__; - - - - - - - - - - - - - - - - - - - - - - - - - - - - -class WorkerTask { - constructor(name) { - this.name = name; - this.terminated = false; - this._capability = Promise.withResolvers(); +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "WorkerMessageHandler", ({ + enumerable: true, + get: function () { + return _worker.WorkerMessageHandler; } - get finished() { - return this._capability.promise; - } - finish() { - this._capability.resolve(); - } - terminate() { - this.terminated = true; - } - ensureNotTerminated() { - if (this.terminated) { - throw new Error("Worker task was terminated"); - } - } -} -class WorkerMessageHandler { - static setup(handler, port) { - let testMessageProcessed = false; - handler.on("test", function (data) { - if (testMessageProcessed) { - return; - } - testMessageProcessed = true; - handler.send("test", data instanceof Uint8Array); - }); - handler.on("configure", function (data) { - setVerbosityLevel(data.verbosity); - }); - handler.on("GetDocRequest", function (data) { - return WorkerMessageHandler.createDocumentHandler(data, port); - }); - } - static createDocumentHandler(docParams, port) { - let pdfManager; - let terminated = false; - let cancelXHRs = null; - const WorkerTasks = new Set(); - const verbosity = getVerbosityLevel(); - const { - docId, - apiVersion - } = docParams; - const workerVersion = "4.2.67"; - if (apiVersion !== workerVersion) { - throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`); - } - const enumerableProperties = []; - for (const property in []) { - enumerableProperties.push(property); - } - if (enumerableProperties.length) { - throw new Error("The `Array.prototype` contains unexpected enumerable properties: " + enumerableProperties.join(", ") + "; thus breaking e.g. `for...in` iteration of `Array`s."); - } - const workerHandlerName = docId + "_worker"; - let handler = new MessageHandler(workerHandlerName, docId, port); - function ensureNotTerminated() { - if (terminated) { - throw new Error("Worker was terminated"); - } - } - function startWorkerTask(task) { - WorkerTasks.add(task); - } - function finishWorkerTask(task) { - task.finish(); - WorkerTasks.delete(task); - } - async function loadDocument(recoveryMode) { - await pdfManager.ensureDoc("checkHeader"); - await pdfManager.ensureDoc("parseStartXRef"); - await pdfManager.ensureDoc("parse", [recoveryMode]); - await pdfManager.ensureDoc("checkFirstPage", [recoveryMode]); - await pdfManager.ensureDoc("checkLastPage", [recoveryMode]); - const isPureXfa = await pdfManager.ensureDoc("isPureXfa"); - if (isPureXfa) { - const task = new WorkerTask("loadXfaFonts"); - startWorkerTask(task); - await Promise.all([pdfManager.loadXfaFonts(handler, task).catch(reason => {}).then(() => finishWorkerTask(task)), pdfManager.loadXfaImages()]); - } - const [numPages, fingerprints] = await Promise.all([pdfManager.ensureDoc("numPages"), pdfManager.ensureDoc("fingerprints")]); - const htmlForXfa = isPureXfa ? await pdfManager.ensureDoc("htmlForXfa") : null; - return { - numPages, - fingerprints, - htmlForXfa - }; - } - function getPdfManager({ - data, - password, - disableAutoFetch, - rangeChunkSize, - length, - docBaseUrl, - enableXfa, - evaluatorOptions - }) { - const pdfManagerArgs = { - source: null, - disableAutoFetch, - docBaseUrl, - docId, - enableXfa, - evaluatorOptions, - handler, - length, - password, - rangeChunkSize - }; - const pdfManagerCapability = Promise.withResolvers(); - let newPdfManager; - if (data) { - try { - pdfManagerArgs.source = data; - newPdfManager = new LocalPdfManager(pdfManagerArgs); - pdfManagerCapability.resolve(newPdfManager); - } catch (ex) { - pdfManagerCapability.reject(ex); - } - return pdfManagerCapability.promise; - } - let pdfStream, - cachedChunks = []; - try { - pdfStream = new PDFWorkerStream(handler); - } catch (ex) { - pdfManagerCapability.reject(ex); - return pdfManagerCapability.promise; - } - const fullRequest = pdfStream.getFullReader(); - fullRequest.headersReady.then(function () { - if (!fullRequest.isRangeSupported) { - return; - } - pdfManagerArgs.source = pdfStream; - pdfManagerArgs.length = fullRequest.contentLength; - pdfManagerArgs.disableAutoFetch ||= fullRequest.isStreamingSupported; - newPdfManager = new NetworkPdfManager(pdfManagerArgs); - for (const chunk of cachedChunks) { - newPdfManager.sendProgressiveData(chunk); - } - cachedChunks = []; - pdfManagerCapability.resolve(newPdfManager); - cancelXHRs = null; - }).catch(function (reason) { - pdfManagerCapability.reject(reason); - cancelXHRs = null; - }); - let loaded = 0; - const flushChunks = function () { - const pdfFile = arrayBuffersToBytes(cachedChunks); - if (length && pdfFile.length !== length) { - warn("reported HTTP length is different from actual"); - } - try { - pdfManagerArgs.source = pdfFile; - newPdfManager = new LocalPdfManager(pdfManagerArgs); - pdfManagerCapability.resolve(newPdfManager); - } catch (ex) { - pdfManagerCapability.reject(ex); - } - cachedChunks = []; - }; - new Promise(function (resolve, reject) { - const readChunk = function ({ - value, - done - }) { - try { - ensureNotTerminated(); - if (done) { - if (!newPdfManager) { - flushChunks(); - } - cancelXHRs = null; - return; - } - loaded += value.byteLength; - if (!fullRequest.isStreamingSupported) { - handler.send("DocProgress", { - loaded, - total: Math.max(loaded, fullRequest.contentLength || 0) - }); - } - if (newPdfManager) { - newPdfManager.sendProgressiveData(value); - } else { - cachedChunks.push(value); - } - fullRequest.read().then(readChunk, reject); - } catch (e) { - reject(e); - } - }; - fullRequest.read().then(readChunk, reject); - }).catch(function (e) { - pdfManagerCapability.reject(e); - cancelXHRs = null; - }); - cancelXHRs = function (reason) { - pdfStream.cancelAllRequests(reason); - }; - return pdfManagerCapability.promise; - } - function setupDoc(data) { - function onSuccess(doc) { - ensureNotTerminated(); - handler.send("GetDoc", { - pdfInfo: doc - }); - } - function onFailure(ex) { - ensureNotTerminated(); - if (ex instanceof PasswordException) { - const task = new WorkerTask(`PasswordException: response ${ex.code}`); - startWorkerTask(task); - handler.sendWithPromise("PasswordRequest", ex).then(function ({ - password - }) { - finishWorkerTask(task); - pdfManager.updatePassword(password); - pdfManagerReady(); - }).catch(function () { - finishWorkerTask(task); - handler.send("DocException", ex); - }); - } else if (ex instanceof InvalidPDFException || ex instanceof MissingPDFException || ex instanceof UnexpectedResponseException || ex instanceof UnknownErrorException) { - handler.send("DocException", ex); - } else { - handler.send("DocException", new UnknownErrorException(ex.message, ex.toString())); - } - } - function pdfManagerReady() { - ensureNotTerminated(); - loadDocument(false).then(onSuccess, function (reason) { - ensureNotTerminated(); - if (!(reason instanceof XRefParseException)) { - onFailure(reason); - return; - } - pdfManager.requestLoadedStream().then(function () { - ensureNotTerminated(); - loadDocument(true).then(onSuccess, onFailure); - }); - }); - } - ensureNotTerminated(); - getPdfManager(data).then(function (newPdfManager) { - if (terminated) { - newPdfManager.terminate(new AbortException("Worker was terminated.")); - throw new Error("Worker was terminated"); - } - pdfManager = newPdfManager; - pdfManager.requestLoadedStream(true).then(stream => { - handler.send("DataLoaded", { - length: stream.bytes.byteLength - }); - }); - }).then(pdfManagerReady, onFailure); - } - handler.on("GetPage", function (data) { - return pdfManager.getPage(data.pageIndex).then(function (page) { - return Promise.all([pdfManager.ensure(page, "rotate"), pdfManager.ensure(page, "ref"), pdfManager.ensure(page, "userUnit"), pdfManager.ensure(page, "view")]).then(function ([rotate, ref, userUnit, view]) { - return { - rotate, - ref, - refStr: ref?.toString() ?? null, - userUnit, - view - }; - }); - }); - }); - handler.on("GetPageIndex", function (data) { - const pageRef = Ref.get(data.num, data.gen); - return pdfManager.ensureCatalog("getPageIndex", [pageRef]); - }); - handler.on("GetDestinations", function (data) { - return pdfManager.ensureCatalog("destinations"); - }); - handler.on("GetDestination", function (data) { - return pdfManager.ensureCatalog("getDestination", [data.id]); - }); - handler.on("GetPageLabels", function (data) { - return pdfManager.ensureCatalog("pageLabels"); - }); - handler.on("GetPageLayout", function (data) { - return pdfManager.ensureCatalog("pageLayout"); - }); - handler.on("GetPageMode", function (data) { - return pdfManager.ensureCatalog("pageMode"); - }); - handler.on("GetViewerPreferences", function (data) { - return pdfManager.ensureCatalog("viewerPreferences"); - }); - handler.on("GetOpenAction", function (data) { - return pdfManager.ensureCatalog("openAction"); - }); - handler.on("GetAttachments", function (data) { - return pdfManager.ensureCatalog("attachments"); - }); - handler.on("GetDocJSActions", function (data) { - return pdfManager.ensureCatalog("jsActions"); - }); - handler.on("GetPageJSActions", function ({ - pageIndex - }) { - return pdfManager.getPage(pageIndex).then(function (page) { - return pdfManager.ensure(page, "jsActions"); - }); - }); - handler.on("GetOutline", function (data) { - return pdfManager.ensureCatalog("documentOutline"); - }); - handler.on("GetOptionalContentConfig", function (data) { - return pdfManager.ensureCatalog("optionalContentConfig"); - }); - handler.on("GetPermissions", function (data) { - return pdfManager.ensureCatalog("permissions"); - }); - handler.on("GetMetadata", function (data) { - return Promise.all([pdfManager.ensureDoc("documentInfo"), pdfManager.ensureCatalog("metadata")]); - }); - handler.on("GetMarkInfo", function (data) { - return pdfManager.ensureCatalog("markInfo"); - }); - handler.on("GetData", function (data) { - return pdfManager.requestLoadedStream().then(function (stream) { - return stream.bytes; - }); - }); - handler.on("GetAnnotations", function ({ - pageIndex, - intent - }) { - return pdfManager.getPage(pageIndex).then(function (page) { - const task = new WorkerTask(`GetAnnotations: page ${pageIndex}`); - startWorkerTask(task); - return page.getAnnotationsData(handler, task, intent).then(data => { - finishWorkerTask(task); - return data; - }, reason => { - finishWorkerTask(task); - throw reason; - }); - }); - }); - handler.on("GetFieldObjects", function (data) { - return pdfManager.ensureDoc("fieldObjects"); - }); - handler.on("HasJSActions", function (data) { - return pdfManager.ensureDoc("hasJSActions"); - }); - handler.on("GetCalculationOrderIds", function (data) { - return pdfManager.ensureDoc("calculationOrderIds"); - }); - handler.on("SaveDocument", async function ({ - isPureXfa, - numPages, - annotationStorage, - filename - }) { - const globalPromises = [pdfManager.requestLoadedStream(), pdfManager.ensureCatalog("acroForm"), pdfManager.ensureCatalog("acroFormRef"), pdfManager.ensureDoc("startXRef"), pdfManager.ensureDoc("xref"), pdfManager.ensureDoc("linearization"), pdfManager.ensureCatalog("structTreeRoot")]; - const promises = []; - const newAnnotationsByPage = !isPureXfa ? getNewAnnotationsMap(annotationStorage) : null; - const [stream, acroForm, acroFormRef, startXRef, xref, linearization, _structTreeRoot] = await Promise.all(globalPromises); - const catalogRef = xref.trailer.getRaw("Root") || null; - let structTreeRoot; - if (newAnnotationsByPage) { - if (!_structTreeRoot) { - if (await StructTreeRoot.canCreateStructureTree({ - catalogRef, - pdfManager, - newAnnotationsByPage - })) { - structTreeRoot = null; - } - } else if (await _structTreeRoot.canUpdateStructTree({ - pdfManager, - xref, - newAnnotationsByPage - })) { - structTreeRoot = _structTreeRoot; - } - const imagePromises = AnnotationFactory.generateImages(annotationStorage.values(), xref, pdfManager.evaluatorOptions.isOffscreenCanvasSupported); - const newAnnotationPromises = structTreeRoot === undefined ? promises : []; - for (const [pageIndex, annotations] of newAnnotationsByPage) { - newAnnotationPromises.push(pdfManager.getPage(pageIndex).then(page => { - const task = new WorkerTask(`Save (editor): page ${pageIndex}`); - return page.saveNewAnnotations(handler, task, annotations, imagePromises).finally(function () { - finishWorkerTask(task); - }); - })); - } - if (structTreeRoot === null) { - promises.push(Promise.all(newAnnotationPromises).then(async newRefs => { - await StructTreeRoot.createStructureTree({ - newAnnotationsByPage, - xref, - catalogRef, - pdfManager, - newRefs - }); - return newRefs; - })); - } else if (structTreeRoot) { - promises.push(Promise.all(newAnnotationPromises).then(async newRefs => { - await structTreeRoot.updateStructureTree({ - newAnnotationsByPage, - pdfManager, - newRefs - }); - return newRefs; - })); - } - } - if (isPureXfa) { - promises.push(pdfManager.serializeXfaData(annotationStorage)); - } else { - for (let pageIndex = 0; pageIndex < numPages; pageIndex++) { - promises.push(pdfManager.getPage(pageIndex).then(function (page) { - const task = new WorkerTask(`Save: page ${pageIndex}`); - return page.save(handler, task, annotationStorage).finally(function () { - finishWorkerTask(task); - }); - })); - } - } - const refs = await Promise.all(promises); - let newRefs = []; - let xfaData = null; - if (isPureXfa) { - xfaData = refs[0]; - if (!xfaData) { - return stream.bytes; - } - } else { - newRefs = refs.flat(2); - if (newRefs.length === 0) { - return stream.bytes; - } - } - const needAppearances = acroFormRef && acroForm instanceof Dict && newRefs.some(ref => ref.needAppearances); - const xfa = acroForm instanceof Dict && acroForm.get("XFA") || null; - let xfaDatasetsRef = null; - let hasXfaDatasetsEntry = false; - if (Array.isArray(xfa)) { - for (let i = 0, ii = xfa.length; i < ii; i += 2) { - if (xfa[i] === "datasets") { - xfaDatasetsRef = xfa[i + 1]; - hasXfaDatasetsEntry = true; - } - } - if (xfaDatasetsRef === null) { - xfaDatasetsRef = xref.getNewTemporaryRef(); - } - } else if (xfa) { - warn("Unsupported XFA type."); - } - let newXrefInfo = Object.create(null); - if (xref.trailer) { - const infoObj = Object.create(null); - const xrefInfo = xref.trailer.get("Info") || null; - if (xrefInfo instanceof Dict) { - xrefInfo.forEach((key, value) => { - if (typeof value === "string") { - infoObj[key] = stringToPDFString(value); - } - }); - } - newXrefInfo = { - rootRef: catalogRef, - encryptRef: xref.trailer.getRaw("Encrypt") || null, - newRef: xref.getNewTemporaryRef(), - infoRef: xref.trailer.getRaw("Info") || null, - info: infoObj, - fileIds: xref.trailer.get("ID") || null, - startXRef: linearization ? startXRef : xref.lastXRefStreamPos ?? startXRef, - filename - }; - } - return incrementalUpdate({ - originalData: stream.bytes, - xrefInfo: newXrefInfo, - newRefs, - xref, - hasXfa: !!xfa, - xfaDatasetsRef, - hasXfaDatasetsEntry, - needAppearances, - acroFormRef, - acroForm, - xfaData, - useXrefStream: isDict(xref.topDict, "XRef") - }).finally(() => { - xref.resetNewTemporaryRef(); - }); - }); - handler.on("GetOperatorList", function (data, sink) { - const pageIndex = data.pageIndex; - pdfManager.getPage(pageIndex).then(function (page) { - const task = new WorkerTask(`GetOperatorList: page ${pageIndex}`); - startWorkerTask(task); - const start = verbosity >= VerbosityLevel.INFOS ? Date.now() : 0; - page.getOperatorList({ - handler, - sink, - task, - intent: data.intent, - cacheKey: data.cacheKey, - annotationStorage: data.annotationStorage - }).then(function (operatorListInfo) { - finishWorkerTask(task); - if (start) { - info(`page=${pageIndex + 1} - getOperatorList: time=` + `${Date.now() - start}ms, len=${operatorListInfo.length}`); - } - sink.close(); - }, function (reason) { - finishWorkerTask(task); - if (task.terminated) { - return; - } - sink.error(reason); - }); - }); - }); - handler.on("GetTextContent", function (data, sink) { - const { - pageIndex, - includeMarkedContent, - disableNormalization - } = data; - pdfManager.getPage(pageIndex).then(function (page) { - const task = new WorkerTask("GetTextContent: page " + pageIndex); - startWorkerTask(task); - const start = verbosity >= VerbosityLevel.INFOS ? Date.now() : 0; - page.extractTextContent({ - handler, - task, - sink, - includeMarkedContent, - disableNormalization - }).then(function () { - finishWorkerTask(task); - if (start) { - info(`page=${pageIndex + 1} - getTextContent: time=` + `${Date.now() - start}ms`); - } - sink.close(); - }, function (reason) { - finishWorkerTask(task); - if (task.terminated) { - return; - } - sink.error(reason); - }); - }); - }); - handler.on("GetStructTree", function (data) { - return pdfManager.getPage(data.pageIndex).then(function (page) { - return pdfManager.ensure(page, "getStructTree"); - }); - }); - handler.on("FontFallback", function (data) { - return pdfManager.fontFallback(data.id, handler); - }); - handler.on("Cleanup", function (data) { - return pdfManager.cleanup(true); - }); - handler.on("Terminate", function (data) { - terminated = true; - const waitOn = []; - if (pdfManager) { - pdfManager.terminate(new AbortException("Worker was terminated.")); - const cleanupPromise = pdfManager.cleanup(); - waitOn.push(cleanupPromise); - pdfManager = null; - } else { - clearGlobalCaches(); - } - if (cancelXHRs) { - cancelXHRs(new AbortException("Worker was terminated.")); - } - for (const task of WorkerTasks) { - waitOn.push(task.finished); - task.terminate(); - } - return Promise.all(waitOn).then(function () { - handler.destroy(); - handler = null; - }); - }); - handler.on("Ready", function (data) { - setupDoc(docParams); - docParams = null; - }); - return workerHandlerName; - } - static initializeFromPort(port) { - const handler = new MessageHandler("worker", "main", port); - WorkerMessageHandler.setup(handler, port); - handler.send("ready", null); - } -} -function isMessagePort(maybePort) { - return typeof maybePort.postMessage === "function" && "onmessage" in maybePort; -} -if (typeof window === "undefined" && !isNodeJS && typeof self !== "undefined" && isMessagePort(self)) { - WorkerMessageHandler.initializeFromPort(self); -} - -;// CONCATENATED MODULE: ./src/pdf.worker.js - -const pdfjsVersion = "4.2.67"; -const pdfjsBuild = "49b388101"; - +})); +var _worker = __w_pdfjs_require__(1); +const pdfjsVersion = '3.8.162'; +const pdfjsBuild = '2c74323e3'; })(); -var __webpack_exports__WorkerMessageHandler = __webpack_exports__.WorkerMessageHandler; -export { __webpack_exports__WorkerMessageHandler as WorkerMessageHandler }; +/******/ return __webpack_exports__; +/******/ })() +; +}); +//# sourceMappingURL=pdf.worker.js.map \ No newline at end of file diff --git a/media/js/pdf4/web/cmaps/78-EUC-H.bcmap b/media/js/pdf/web/cmaps/78-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-EUC-H.bcmap rename to media/js/pdf/web/cmaps/78-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/78-EUC-V.bcmap b/media/js/pdf/web/cmaps/78-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-EUC-V.bcmap rename to media/js/pdf/web/cmaps/78-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/78-H.bcmap b/media/js/pdf/web/cmaps/78-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-H.bcmap rename to media/js/pdf/web/cmaps/78-H.bcmap diff --git a/media/js/pdf4/web/cmaps/78-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/78-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/78-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/78-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/78-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/78-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/78-V.bcmap b/media/js/pdf/web/cmaps/78-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78-V.bcmap rename to media/js/pdf/web/cmaps/78-V.bcmap diff --git a/media/js/pdf4/web/cmaps/78ms-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/78ms-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78ms-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/78ms-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/78ms-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/78ms-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/78ms-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/78ms-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/83pv-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/83pv-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/83pv-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/83pv-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/90ms-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/90ms-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90ms-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/90ms-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/90ms-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/90ms-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90ms-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/90ms-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/90msp-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/90msp-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90msp-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/90msp-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/90msp-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/90msp-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90msp-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/90msp-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/90pv-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/90pv-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90pv-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/90pv-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/90pv-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/90pv-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/90pv-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/90pv-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Add-H.bcmap b/media/js/pdf/web/cmaps/Add-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Add-H.bcmap rename to media/js/pdf/web/cmaps/Add-H.bcmap diff --git a/media/js/pdf4/web/cmaps/Add-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/Add-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Add-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/Add-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/Add-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/Add-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Add-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/Add-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Add-V.bcmap b/media/js/pdf/web/cmaps/Add-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Add-V.bcmap rename to media/js/pdf/web/cmaps/Add-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-0.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-0.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-0.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-0.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-1.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-1.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-1.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-1.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-2.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-2.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-3.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-3.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-3.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-3.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-4.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-4.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-4.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-4.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-5.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-5.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-5.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-5.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-6.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-6.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-6.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-6.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-CNS1-UCS2.bcmap b/media/js/pdf/web/cmaps/Adobe-CNS1-UCS2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-CNS1-UCS2.bcmap rename to media/js/pdf/web/cmaps/Adobe-CNS1-UCS2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-0.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-0.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-0.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-0.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-1.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-1.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-1.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-1.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-2.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-2.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-3.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-3.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-3.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-3.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-4.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-4.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-4.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-4.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-5.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-5.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-5.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-5.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-GB1-UCS2.bcmap b/media/js/pdf/web/cmaps/Adobe-GB1-UCS2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-GB1-UCS2.bcmap rename to media/js/pdf/web/cmaps/Adobe-GB1-UCS2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-0.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-0.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-0.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-0.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-1.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-1.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-1.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-1.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-2.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-2.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-3.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-3.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-3.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-3.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-4.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-4.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-4.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-4.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-5.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-5.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-5.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-5.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-6.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-6.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-6.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-6.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Japan1-UCS2.bcmap b/media/js/pdf/web/cmaps/Adobe-Japan1-UCS2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Japan1-UCS2.bcmap rename to media/js/pdf/web/cmaps/Adobe-Japan1-UCS2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Korea1-0.bcmap b/media/js/pdf/web/cmaps/Adobe-Korea1-0.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Korea1-0.bcmap rename to media/js/pdf/web/cmaps/Adobe-Korea1-0.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Korea1-1.bcmap b/media/js/pdf/web/cmaps/Adobe-Korea1-1.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Korea1-1.bcmap rename to media/js/pdf/web/cmaps/Adobe-Korea1-1.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Korea1-2.bcmap b/media/js/pdf/web/cmaps/Adobe-Korea1-2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Korea1-2.bcmap rename to media/js/pdf/web/cmaps/Adobe-Korea1-2.bcmap diff --git a/media/js/pdf4/web/cmaps/Adobe-Korea1-UCS2.bcmap b/media/js/pdf/web/cmaps/Adobe-Korea1-UCS2.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Adobe-Korea1-UCS2.bcmap rename to media/js/pdf/web/cmaps/Adobe-Korea1-UCS2.bcmap diff --git a/media/js/pdf4/web/cmaps/B5-H.bcmap b/media/js/pdf/web/cmaps/B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/B5-H.bcmap rename to media/js/pdf/web/cmaps/B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/B5-V.bcmap b/media/js/pdf/web/cmaps/B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/B5-V.bcmap rename to media/js/pdf/web/cmaps/B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/B5pc-H.bcmap b/media/js/pdf/web/cmaps/B5pc-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/B5pc-H.bcmap rename to media/js/pdf/web/cmaps/B5pc-H.bcmap diff --git a/media/js/pdf4/web/cmaps/B5pc-V.bcmap b/media/js/pdf/web/cmaps/B5pc-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/B5pc-V.bcmap rename to media/js/pdf/web/cmaps/B5pc-V.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS-EUC-H.bcmap b/media/js/pdf/web/cmaps/CNS-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS-EUC-H.bcmap rename to media/js/pdf/web/cmaps/CNS-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS-EUC-V.bcmap b/media/js/pdf/web/cmaps/CNS-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS-EUC-V.bcmap rename to media/js/pdf/web/cmaps/CNS-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS1-H.bcmap b/media/js/pdf/web/cmaps/CNS1-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS1-H.bcmap rename to media/js/pdf/web/cmaps/CNS1-H.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS1-V.bcmap b/media/js/pdf/web/cmaps/CNS1-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS1-V.bcmap rename to media/js/pdf/web/cmaps/CNS1-V.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS2-H.bcmap b/media/js/pdf/web/cmaps/CNS2-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS2-H.bcmap rename to media/js/pdf/web/cmaps/CNS2-H.bcmap diff --git a/media/js/pdf4/web/cmaps/CNS2-V.bcmap b/media/js/pdf/web/cmaps/CNS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/CNS2-V.bcmap rename to media/js/pdf/web/cmaps/CNS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/ETHK-B5-H.bcmap b/media/js/pdf/web/cmaps/ETHK-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETHK-B5-H.bcmap rename to media/js/pdf/web/cmaps/ETHK-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/ETHK-B5-V.bcmap b/media/js/pdf/web/cmaps/ETHK-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETHK-B5-V.bcmap rename to media/js/pdf/web/cmaps/ETHK-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/ETen-B5-H.bcmap b/media/js/pdf/web/cmaps/ETen-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETen-B5-H.bcmap rename to media/js/pdf/web/cmaps/ETen-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/ETen-B5-V.bcmap b/media/js/pdf/web/cmaps/ETen-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETen-B5-V.bcmap rename to media/js/pdf/web/cmaps/ETen-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/ETenms-B5-H.bcmap b/media/js/pdf/web/cmaps/ETenms-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETenms-B5-H.bcmap rename to media/js/pdf/web/cmaps/ETenms-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/ETenms-B5-V.bcmap b/media/js/pdf/web/cmaps/ETenms-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/ETenms-B5-V.bcmap rename to media/js/pdf/web/cmaps/ETenms-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/EUC-H.bcmap b/media/js/pdf/web/cmaps/EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/EUC-H.bcmap rename to media/js/pdf/web/cmaps/EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/EUC-V.bcmap b/media/js/pdf/web/cmaps/EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/EUC-V.bcmap rename to media/js/pdf/web/cmaps/EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Ext-H.bcmap b/media/js/pdf/web/cmaps/Ext-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Ext-H.bcmap rename to media/js/pdf/web/cmaps/Ext-H.bcmap diff --git a/media/js/pdf4/web/cmaps/Ext-RKSJ-H.bcmap b/media/js/pdf/web/cmaps/Ext-RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Ext-RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/Ext-RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/Ext-RKSJ-V.bcmap b/media/js/pdf/web/cmaps/Ext-RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Ext-RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/Ext-RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Ext-V.bcmap b/media/js/pdf/web/cmaps/Ext-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Ext-V.bcmap rename to media/js/pdf/web/cmaps/Ext-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GB-EUC-H.bcmap b/media/js/pdf/web/cmaps/GB-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GB-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GB-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GB-EUC-V.bcmap b/media/js/pdf/web/cmaps/GB-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GB-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GB-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GB-H.bcmap b/media/js/pdf/web/cmaps/GB-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GB-H.bcmap rename to media/js/pdf/web/cmaps/GB-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GB-V.bcmap b/media/js/pdf/web/cmaps/GB-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GB-V.bcmap rename to media/js/pdf/web/cmaps/GB-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBK-EUC-H.bcmap b/media/js/pdf/web/cmaps/GBK-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBK-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GBK-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBK-EUC-V.bcmap b/media/js/pdf/web/cmaps/GBK-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBK-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GBK-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBK2K-H.bcmap b/media/js/pdf/web/cmaps/GBK2K-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBK2K-H.bcmap rename to media/js/pdf/web/cmaps/GBK2K-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBK2K-V.bcmap b/media/js/pdf/web/cmaps/GBK2K-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBK2K-V.bcmap rename to media/js/pdf/web/cmaps/GBK2K-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBKp-EUC-H.bcmap b/media/js/pdf/web/cmaps/GBKp-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBKp-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GBKp-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBKp-EUC-V.bcmap b/media/js/pdf/web/cmaps/GBKp-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBKp-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GBKp-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBT-EUC-H.bcmap b/media/js/pdf/web/cmaps/GBT-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBT-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GBT-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBT-EUC-V.bcmap b/media/js/pdf/web/cmaps/GBT-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBT-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GBT-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBT-H.bcmap b/media/js/pdf/web/cmaps/GBT-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBT-H.bcmap rename to media/js/pdf/web/cmaps/GBT-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBT-V.bcmap b/media/js/pdf/web/cmaps/GBT-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBT-V.bcmap rename to media/js/pdf/web/cmaps/GBT-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBTpc-EUC-H.bcmap b/media/js/pdf/web/cmaps/GBTpc-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBTpc-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GBTpc-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBTpc-EUC-V.bcmap b/media/js/pdf/web/cmaps/GBTpc-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBTpc-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GBTpc-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/GBpc-EUC-H.bcmap b/media/js/pdf/web/cmaps/GBpc-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBpc-EUC-H.bcmap rename to media/js/pdf/web/cmaps/GBpc-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/GBpc-EUC-V.bcmap b/media/js/pdf/web/cmaps/GBpc-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/GBpc-EUC-V.bcmap rename to media/js/pdf/web/cmaps/GBpc-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/H.bcmap b/media/js/pdf/web/cmaps/H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/H.bcmap rename to media/js/pdf/web/cmaps/H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKdla-B5-H.bcmap b/media/js/pdf/web/cmaps/HKdla-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKdla-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKdla-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKdla-B5-V.bcmap b/media/js/pdf/web/cmaps/HKdla-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKdla-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKdla-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/HKdlb-B5-H.bcmap b/media/js/pdf/web/cmaps/HKdlb-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKdlb-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKdlb-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKdlb-B5-V.bcmap b/media/js/pdf/web/cmaps/HKdlb-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKdlb-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKdlb-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/HKgccs-B5-H.bcmap b/media/js/pdf/web/cmaps/HKgccs-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKgccs-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKgccs-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKgccs-B5-V.bcmap b/media/js/pdf/web/cmaps/HKgccs-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKgccs-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKgccs-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/HKm314-B5-H.bcmap b/media/js/pdf/web/cmaps/HKm314-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKm314-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKm314-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKm314-B5-V.bcmap b/media/js/pdf/web/cmaps/HKm314-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKm314-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKm314-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/HKm471-B5-H.bcmap b/media/js/pdf/web/cmaps/HKm471-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKm471-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKm471-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKm471-B5-V.bcmap b/media/js/pdf/web/cmaps/HKm471-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKm471-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKm471-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/HKscs-B5-H.bcmap b/media/js/pdf/web/cmaps/HKscs-B5-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKscs-B5-H.bcmap rename to media/js/pdf/web/cmaps/HKscs-B5-H.bcmap diff --git a/media/js/pdf4/web/cmaps/HKscs-B5-V.bcmap b/media/js/pdf/web/cmaps/HKscs-B5-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/HKscs-B5-V.bcmap rename to media/js/pdf/web/cmaps/HKscs-B5-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Hankaku.bcmap b/media/js/pdf/web/cmaps/Hankaku.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Hankaku.bcmap rename to media/js/pdf/web/cmaps/Hankaku.bcmap diff --git a/media/js/pdf4/web/cmaps/Hiragana.bcmap b/media/js/pdf/web/cmaps/Hiragana.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Hiragana.bcmap rename to media/js/pdf/web/cmaps/Hiragana.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-EUC-H.bcmap b/media/js/pdf/web/cmaps/KSC-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-EUC-H.bcmap rename to media/js/pdf/web/cmaps/KSC-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-EUC-V.bcmap b/media/js/pdf/web/cmaps/KSC-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-EUC-V.bcmap rename to media/js/pdf/web/cmaps/KSC-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-H.bcmap b/media/js/pdf/web/cmaps/KSC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-H.bcmap rename to media/js/pdf/web/cmaps/KSC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-Johab-H.bcmap b/media/js/pdf/web/cmaps/KSC-Johab-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-Johab-H.bcmap rename to media/js/pdf/web/cmaps/KSC-Johab-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-Johab-V.bcmap b/media/js/pdf/web/cmaps/KSC-Johab-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-Johab-V.bcmap rename to media/js/pdf/web/cmaps/KSC-Johab-V.bcmap diff --git a/media/js/pdf4/web/cmaps/KSC-V.bcmap b/media/js/pdf/web/cmaps/KSC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSC-V.bcmap rename to media/js/pdf/web/cmaps/KSC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCms-UHC-H.bcmap b/media/js/pdf/web/cmaps/KSCms-UHC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCms-UHC-H.bcmap rename to media/js/pdf/web/cmaps/KSCms-UHC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCms-UHC-HW-H.bcmap b/media/js/pdf/web/cmaps/KSCms-UHC-HW-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCms-UHC-HW-H.bcmap rename to media/js/pdf/web/cmaps/KSCms-UHC-HW-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCms-UHC-HW-V.bcmap b/media/js/pdf/web/cmaps/KSCms-UHC-HW-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCms-UHC-HW-V.bcmap rename to media/js/pdf/web/cmaps/KSCms-UHC-HW-V.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCms-UHC-V.bcmap b/media/js/pdf/web/cmaps/KSCms-UHC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCms-UHC-V.bcmap rename to media/js/pdf/web/cmaps/KSCms-UHC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCpc-EUC-H.bcmap b/media/js/pdf/web/cmaps/KSCpc-EUC-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCpc-EUC-H.bcmap rename to media/js/pdf/web/cmaps/KSCpc-EUC-H.bcmap diff --git a/media/js/pdf4/web/cmaps/KSCpc-EUC-V.bcmap b/media/js/pdf/web/cmaps/KSCpc-EUC-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/KSCpc-EUC-V.bcmap rename to media/js/pdf/web/cmaps/KSCpc-EUC-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Katakana.bcmap b/media/js/pdf/web/cmaps/Katakana.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Katakana.bcmap rename to media/js/pdf/web/cmaps/Katakana.bcmap diff --git a/media/js/pdf4/web/cmaps/LICENSE b/media/js/pdf/web/cmaps/LICENSE similarity index 100% rename from media/js/pdf4/web/cmaps/LICENSE rename to media/js/pdf/web/cmaps/LICENSE diff --git a/media/js/pdf4/web/cmaps/NWP-H.bcmap b/media/js/pdf/web/cmaps/NWP-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/NWP-H.bcmap rename to media/js/pdf/web/cmaps/NWP-H.bcmap diff --git a/media/js/pdf4/web/cmaps/NWP-V.bcmap b/media/js/pdf/web/cmaps/NWP-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/NWP-V.bcmap rename to media/js/pdf/web/cmaps/NWP-V.bcmap diff --git a/media/js/pdf4/web/cmaps/RKSJ-H.bcmap b/media/js/pdf/web/cmaps/RKSJ-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/RKSJ-H.bcmap rename to media/js/pdf/web/cmaps/RKSJ-H.bcmap diff --git a/media/js/pdf4/web/cmaps/RKSJ-V.bcmap b/media/js/pdf/web/cmaps/RKSJ-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/RKSJ-V.bcmap rename to media/js/pdf/web/cmaps/RKSJ-V.bcmap diff --git a/media/js/pdf4/web/cmaps/Roman.bcmap b/media/js/pdf/web/cmaps/Roman.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/Roman.bcmap rename to media/js/pdf/web/cmaps/Roman.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UCS2-H.bcmap b/media/js/pdf/web/cmaps/UniCNS-UCS2-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UCS2-H.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UCS2-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UCS2-V.bcmap b/media/js/pdf/web/cmaps/UniCNS-UCS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UCS2-V.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UCS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF16-H.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF16-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF16-H.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF16-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF16-V.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF16-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF16-V.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF16-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF8-H.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF8-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF8-H.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF8-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniCNS-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniCNS-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniCNS-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniCNS-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UCS2-H.bcmap b/media/js/pdf/web/cmaps/UniGB-UCS2-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UCS2-H.bcmap rename to media/js/pdf/web/cmaps/UniGB-UCS2-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UCS2-V.bcmap b/media/js/pdf/web/cmaps/UniGB-UCS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UCS2-V.bcmap rename to media/js/pdf/web/cmaps/UniGB-UCS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF16-H.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF16-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF16-H.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF16-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF16-V.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF16-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF16-V.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF16-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF8-H.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF8-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF8-H.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF8-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniGB-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniGB-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniGB-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniGB-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UCS2-H.bcmap b/media/js/pdf/web/cmaps/UniJIS-UCS2-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UCS2-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UCS2-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UCS2-HW-H.bcmap b/media/js/pdf/web/cmaps/UniJIS-UCS2-HW-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UCS2-HW-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UCS2-HW-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UCS2-HW-V.bcmap b/media/js/pdf/web/cmaps/UniJIS-UCS2-HW-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UCS2-HW-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UCS2-HW-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UCS2-V.bcmap b/media/js/pdf/web/cmaps/UniJIS-UCS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UCS2-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UCS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF16-H.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF16-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF16-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF16-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF16-V.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF16-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF16-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF16-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF8-H.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF8-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF8-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF8-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniJIS-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF16-H.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF16-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF16-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF16-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF16-V.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF16-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF16-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF16-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF8-H.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF8-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF8-H.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF8-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJIS2004-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniJIS2004-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJIS2004-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniJIS2004-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISPro-UCS2-HW-V.bcmap b/media/js/pdf/web/cmaps/UniJISPro-UCS2-HW-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISPro-UCS2-HW-V.bcmap rename to media/js/pdf/web/cmaps/UniJISPro-UCS2-HW-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISPro-UCS2-V.bcmap b/media/js/pdf/web/cmaps/UniJISPro-UCS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISPro-UCS2-V.bcmap rename to media/js/pdf/web/cmaps/UniJISPro-UCS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISPro-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniJISPro-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISPro-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniJISPro-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISX0213-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniJISX0213-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISX0213-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniJISX0213-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISX0213-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniJISX0213-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISX0213-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniJISX0213-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISX02132004-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniJISX02132004-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISX02132004-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniJISX02132004-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniJISX02132004-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniJISX02132004-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniJISX02132004-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniJISX02132004-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UCS2-H.bcmap b/media/js/pdf/web/cmaps/UniKS-UCS2-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UCS2-H.bcmap rename to media/js/pdf/web/cmaps/UniKS-UCS2-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UCS2-V.bcmap b/media/js/pdf/web/cmaps/UniKS-UCS2-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UCS2-V.bcmap rename to media/js/pdf/web/cmaps/UniKS-UCS2-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF16-H.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF16-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF16-H.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF16-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF16-V.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF16-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF16-V.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF16-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF32-H.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF32-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF32-H.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF32-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF32-V.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF32-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF32-V.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF32-V.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF8-H.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF8-H.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF8-H.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF8-H.bcmap diff --git a/media/js/pdf4/web/cmaps/UniKS-UTF8-V.bcmap b/media/js/pdf/web/cmaps/UniKS-UTF8-V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/UniKS-UTF8-V.bcmap rename to media/js/pdf/web/cmaps/UniKS-UTF8-V.bcmap diff --git a/media/js/pdf4/web/cmaps/V.bcmap b/media/js/pdf/web/cmaps/V.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/V.bcmap rename to media/js/pdf/web/cmaps/V.bcmap diff --git a/media/js/pdf4/web/cmaps/WP-Symbol.bcmap b/media/js/pdf/web/cmaps/WP-Symbol.bcmap similarity index 100% rename from media/js/pdf4/web/cmaps/WP-Symbol.bcmap rename to media/js/pdf/web/cmaps/WP-Symbol.bcmap diff --git a/media/js/pdf4/web/custom.css b/media/js/pdf/web/custom.css similarity index 100% rename from media/js/pdf4/web/custom.css rename to media/js/pdf/web/custom.css diff --git a/media/js/pdf4/web/images/annotation-check.svg b/media/js/pdf/web/images/annotation-check.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-check.svg rename to media/js/pdf/web/images/annotation-check.svg diff --git a/media/js/pdf4/web/images/annotation-comment.svg b/media/js/pdf/web/images/annotation-comment.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-comment.svg rename to media/js/pdf/web/images/annotation-comment.svg diff --git a/media/js/pdf4/web/images/annotation-help.svg b/media/js/pdf/web/images/annotation-help.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-help.svg rename to media/js/pdf/web/images/annotation-help.svg diff --git a/media/js/pdf4/web/images/annotation-insert.svg b/media/js/pdf/web/images/annotation-insert.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-insert.svg rename to media/js/pdf/web/images/annotation-insert.svg diff --git a/media/js/pdf4/web/images/annotation-key.svg b/media/js/pdf/web/images/annotation-key.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-key.svg rename to media/js/pdf/web/images/annotation-key.svg diff --git a/media/js/pdf4/web/images/annotation-newparagraph.svg b/media/js/pdf/web/images/annotation-newparagraph.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-newparagraph.svg rename to media/js/pdf/web/images/annotation-newparagraph.svg diff --git a/media/js/pdf4/web/images/annotation-noicon.svg b/media/js/pdf/web/images/annotation-noicon.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-noicon.svg rename to media/js/pdf/web/images/annotation-noicon.svg diff --git a/media/js/pdf4/web/images/annotation-note.svg b/media/js/pdf/web/images/annotation-note.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-note.svg rename to media/js/pdf/web/images/annotation-note.svg diff --git a/media/js/pdf4/web/images/annotation-paperclip.svg b/media/js/pdf/web/images/annotation-paperclip.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-paperclip.svg rename to media/js/pdf/web/images/annotation-paperclip.svg diff --git a/media/js/pdf4/web/images/annotation-paragraph.svg b/media/js/pdf/web/images/annotation-paragraph.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-paragraph.svg rename to media/js/pdf/web/images/annotation-paragraph.svg diff --git a/media/js/pdf4/web/images/annotation-pushpin.svg b/media/js/pdf/web/images/annotation-pushpin.svg similarity index 100% rename from media/js/pdf4/web/images/annotation-pushpin.svg rename to media/js/pdf/web/images/annotation-pushpin.svg diff --git a/media/js/pdf4/web/images/cursor-editorFreeText.svg b/media/js/pdf/web/images/cursor-editorFreeText.svg similarity index 100% rename from media/js/pdf4/web/images/cursor-editorFreeText.svg rename to media/js/pdf/web/images/cursor-editorFreeText.svg diff --git a/media/js/pdf4/web/images/cursor-editorInk.svg b/media/js/pdf/web/images/cursor-editorInk.svg similarity index 100% rename from media/js/pdf4/web/images/cursor-editorInk.svg rename to media/js/pdf/web/images/cursor-editorInk.svg diff --git a/media/js/pdf4/web/images/custom/first-page.svg b/media/js/pdf/web/images/custom/first-page.svg similarity index 100% rename from media/js/pdf4/web/images/custom/first-page.svg rename to media/js/pdf/web/images/custom/first-page.svg diff --git a/media/js/pdf4/web/images/custom/last-page.svg b/media/js/pdf/web/images/custom/last-page.svg similarity index 100% rename from media/js/pdf4/web/images/custom/last-page.svg rename to media/js/pdf/web/images/custom/last-page.svg diff --git a/media/js/pdf4/web/images/custom/next-page.svg b/media/js/pdf/web/images/custom/next-page.svg similarity index 100% rename from media/js/pdf4/web/images/custom/next-page.svg rename to media/js/pdf/web/images/custom/next-page.svg diff --git a/media/js/pdf4/web/images/custom/previous-page.svg b/media/js/pdf/web/images/custom/previous-page.svg similarity index 100% rename from media/js/pdf4/web/images/custom/previous-page.svg rename to media/js/pdf/web/images/custom/previous-page.svg diff --git a/media/js/pdf4/web/images/custom/print.svg b/media/js/pdf/web/images/custom/print.svg similarity index 100% rename from media/js/pdf4/web/images/custom/print.svg rename to media/js/pdf/web/images/custom/print.svg diff --git a/media/js/pdf4/web/images/custom/thumbnail.svg b/media/js/pdf/web/images/custom/thumbnail.svg similarity index 100% rename from media/js/pdf4/web/images/custom/thumbnail.svg rename to media/js/pdf/web/images/custom/thumbnail.svg diff --git a/media/js/pdf4/web/images/findbarButton-next.svg b/media/js/pdf/web/images/findbarButton-next.svg similarity index 100% rename from media/js/pdf4/web/images/findbarButton-next.svg rename to media/js/pdf/web/images/findbarButton-next.svg diff --git a/media/js/pdf4/web/images/findbarButton-previous.svg b/media/js/pdf/web/images/findbarButton-previous.svg similarity index 100% rename from media/js/pdf4/web/images/findbarButton-previous.svg rename to media/js/pdf/web/images/findbarButton-previous.svg diff --git a/media/js/pdf/web/images/grab.cur b/media/js/pdf/web/images/grab.cur new file mode 100644 index 0000000000000000000000000000000000000000..db7ad5aed3ef958aa13903afa769386382a87ad3 GIT binary patch literal 326 zcmajZAr8Vo5QX7?si;7#!yvj6Nx}i(CG{p)>hLyxD99 z76ej)=-vic0UL9~!GgO~9_MsOnufoUx`QHG)5E@a!o?nT8@#*2`fMlI9X~2&%Qwtd fAElzRww7{H`T9z)QIL|gUwP@h-(DMO`2YPI1=f8x literal 0 HcmV?d00001 diff --git a/media/js/pdf/web/images/grabbing.cur b/media/js/pdf/web/images/grabbing.cur new file mode 100644 index 0000000000000000000000000000000000000000..e0dfd04e4d3fcbaa6588c8cbb9e9065609bcb862 GIT binary patch literal 326 zcmZQzU}9ioP*7lC;0HnjMg|5k1_lNVAO;FCH~=vt5Q0Dhn8YOh|NoCEh)sn30RsaF z^8>N`2L=Xv5dHz=L$Uk|1_tQ_266z<4TQl5{{R0$_yG_fVE_NW0fd=>Y#@FBr9t9P K<`XsxO$7j30D*Y` literal 0 HcmV?d00001 diff --git a/media/js/pdf4/web/images/gv-toolbarButton-download.svg b/media/js/pdf/web/images/gv-toolbarButton-download.svg similarity index 100% rename from media/js/pdf4/web/images/gv-toolbarButton-download.svg rename to media/js/pdf/web/images/gv-toolbarButton-download.svg diff --git a/media/js/pdf/web/images/gv-toolbarButton-openinapp.svg b/media/js/pdf/web/images/gv-toolbarButton-openinapp.svg new file mode 100644 index 0000000000..80ec891aad --- /dev/null +++ b/media/js/pdf/web/images/gv-toolbarButton-openinapp.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/media/js/pdf/web/images/loading-dark.svg b/media/js/pdf/web/images/loading-dark.svg new file mode 100644 index 0000000000..fa5269b1a3 --- /dev/null +++ b/media/js/pdf/web/images/loading-dark.svg @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/media/js/pdf4/web/images/loading-icon.gif b/media/js/pdf/web/images/loading-icon.gif similarity index 100% rename from media/js/pdf4/web/images/loading-icon.gif rename to media/js/pdf/web/images/loading-icon.gif diff --git a/media/js/pdf4/web/images/loading.svg b/media/js/pdf/web/images/loading.svg similarity index 100% rename from media/js/pdf4/web/images/loading.svg rename to media/js/pdf/web/images/loading.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-documentProperties.svg b/media/js/pdf/web/images/secondaryToolbarButton-documentProperties.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-documentProperties.svg rename to media/js/pdf/web/images/secondaryToolbarButton-documentProperties.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-firstPage.svg b/media/js/pdf/web/images/secondaryToolbarButton-firstPage.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-firstPage.svg rename to media/js/pdf/web/images/secondaryToolbarButton-firstPage.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-handTool.svg b/media/js/pdf/web/images/secondaryToolbarButton-handTool.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-handTool.svg rename to media/js/pdf/web/images/secondaryToolbarButton-handTool.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-lastPage.svg b/media/js/pdf/web/images/secondaryToolbarButton-lastPage.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-lastPage.svg rename to media/js/pdf/web/images/secondaryToolbarButton-lastPage.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-rotateCcw.svg b/media/js/pdf/web/images/secondaryToolbarButton-rotateCcw.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-rotateCcw.svg rename to media/js/pdf/web/images/secondaryToolbarButton-rotateCcw.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-rotateCw.svg b/media/js/pdf/web/images/secondaryToolbarButton-rotateCw.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-rotateCw.svg rename to media/js/pdf/web/images/secondaryToolbarButton-rotateCw.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-scrollHorizontal.svg b/media/js/pdf/web/images/secondaryToolbarButton-scrollHorizontal.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-scrollHorizontal.svg rename to media/js/pdf/web/images/secondaryToolbarButton-scrollHorizontal.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-scrollPage.svg b/media/js/pdf/web/images/secondaryToolbarButton-scrollPage.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-scrollPage.svg rename to media/js/pdf/web/images/secondaryToolbarButton-scrollPage.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-scrollVertical.svg b/media/js/pdf/web/images/secondaryToolbarButton-scrollVertical.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-scrollVertical.svg rename to media/js/pdf/web/images/secondaryToolbarButton-scrollVertical.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-scrollWrapped.svg b/media/js/pdf/web/images/secondaryToolbarButton-scrollWrapped.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-scrollWrapped.svg rename to media/js/pdf/web/images/secondaryToolbarButton-scrollWrapped.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-selectTool.svg b/media/js/pdf/web/images/secondaryToolbarButton-selectTool.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-selectTool.svg rename to media/js/pdf/web/images/secondaryToolbarButton-selectTool.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-spreadEven.svg b/media/js/pdf/web/images/secondaryToolbarButton-spreadEven.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-spreadEven.svg rename to media/js/pdf/web/images/secondaryToolbarButton-spreadEven.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-spreadNone.svg b/media/js/pdf/web/images/secondaryToolbarButton-spreadNone.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-spreadNone.svg rename to media/js/pdf/web/images/secondaryToolbarButton-spreadNone.svg diff --git a/media/js/pdf4/web/images/secondaryToolbarButton-spreadOdd.svg b/media/js/pdf/web/images/secondaryToolbarButton-spreadOdd.svg similarity index 100% rename from media/js/pdf4/web/images/secondaryToolbarButton-spreadOdd.svg rename to media/js/pdf/web/images/secondaryToolbarButton-spreadOdd.svg diff --git a/media/js/pdf/web/images/shadow.png b/media/js/pdf/web/images/shadow.png new file mode 100644 index 0000000000000000000000000000000000000000..a00061ac7e12e1f24f955351c732f5884ed94e6d GIT binary patch literal 269 zcmV+o0rLKdP)x zC_KTGmJz#(`(y{`706aQ=LO(|>*4a=X10w?b}71h;{m9Cm$8qS0|@D>d&U>M9!+E^ zw6OzJCT~46CFGV_vDkR*QP%3AOv>`usy8Q@(O+ZL + + diff --git a/media/js/pdf4/web/images/toolbarButton-editorInk.svg b/media/js/pdf/web/images/toolbarButton-editorInk.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-editorInk.svg rename to media/js/pdf/web/images/toolbarButton-editorInk.svg diff --git a/media/js/pdf4/web/images/toolbarButton-menuArrow.svg b/media/js/pdf/web/images/toolbarButton-menuArrow.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-menuArrow.svg rename to media/js/pdf/web/images/toolbarButton-menuArrow.svg diff --git a/media/js/pdf4/web/images/toolbarButton-openFile.svg b/media/js/pdf/web/images/toolbarButton-openFile.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-openFile.svg rename to media/js/pdf/web/images/toolbarButton-openFile.svg diff --git a/media/js/pdf4/web/images/toolbarButton-pageDown.svg b/media/js/pdf/web/images/toolbarButton-pageDown.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-pageDown.svg rename to media/js/pdf/web/images/toolbarButton-pageDown.svg diff --git a/media/js/pdf4/web/images/toolbarButton-pageUp.svg b/media/js/pdf/web/images/toolbarButton-pageUp.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-pageUp.svg rename to media/js/pdf/web/images/toolbarButton-pageUp.svg diff --git a/media/js/pdf4/web/images/toolbarButton-presentationMode.svg b/media/js/pdf/web/images/toolbarButton-presentationMode.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-presentationMode.svg rename to media/js/pdf/web/images/toolbarButton-presentationMode.svg diff --git a/media/js/pdf4/web/images/toolbarButton-print.svg b/media/js/pdf/web/images/toolbarButton-print.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-print.svg rename to media/js/pdf/web/images/toolbarButton-print.svg diff --git a/media/js/pdf4/web/images/toolbarButton-search.svg b/media/js/pdf/web/images/toolbarButton-search.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-search.svg rename to media/js/pdf/web/images/toolbarButton-search.svg diff --git a/media/js/pdf4/web/images/toolbarButton-secondaryToolbarToggle.svg b/media/js/pdf/web/images/toolbarButton-secondaryToolbarToggle.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-secondaryToolbarToggle.svg rename to media/js/pdf/web/images/toolbarButton-secondaryToolbarToggle.svg diff --git a/media/js/pdf4/web/images/toolbarButton-sidebarToggle.svg b/media/js/pdf/web/images/toolbarButton-sidebarToggle.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-sidebarToggle.svg rename to media/js/pdf/web/images/toolbarButton-sidebarToggle.svg diff --git a/media/js/pdf4/web/images/toolbarButton-viewAttachments.svg b/media/js/pdf/web/images/toolbarButton-viewAttachments.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-viewAttachments.svg rename to media/js/pdf/web/images/toolbarButton-viewAttachments.svg diff --git a/media/js/pdf4/web/images/toolbarButton-viewLayers.svg b/media/js/pdf/web/images/toolbarButton-viewLayers.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-viewLayers.svg rename to media/js/pdf/web/images/toolbarButton-viewLayers.svg diff --git a/media/js/pdf4/web/images/toolbarButton-viewOutline.svg b/media/js/pdf/web/images/toolbarButton-viewOutline.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-viewOutline.svg rename to media/js/pdf/web/images/toolbarButton-viewOutline.svg diff --git a/media/js/pdf4/web/images/toolbarButton-viewThumbnail.svg b/media/js/pdf/web/images/toolbarButton-viewThumbnail.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-viewThumbnail.svg rename to media/js/pdf/web/images/toolbarButton-viewThumbnail.svg diff --git a/media/js/pdf4/web/images/toolbarButton-zoomIn.svg b/media/js/pdf/web/images/toolbarButton-zoomIn.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-zoomIn.svg rename to media/js/pdf/web/images/toolbarButton-zoomIn.svg diff --git a/media/js/pdf4/web/images/toolbarButton-zoomOut.svg b/media/js/pdf/web/images/toolbarButton-zoomOut.svg similarity index 100% rename from media/js/pdf4/web/images/toolbarButton-zoomOut.svg rename to media/js/pdf/web/images/toolbarButton-zoomOut.svg diff --git a/media/js/pdf4/web/images/treeitem-collapsed.svg b/media/js/pdf/web/images/treeitem-collapsed.svg similarity index 100% rename from media/js/pdf4/web/images/treeitem-collapsed.svg rename to media/js/pdf/web/images/treeitem-collapsed.svg diff --git a/media/js/pdf4/web/images/treeitem-expanded.svg b/media/js/pdf/web/images/treeitem-expanded.svg similarity index 100% rename from media/js/pdf4/web/images/treeitem-expanded.svg rename to media/js/pdf/web/images/treeitem-expanded.svg diff --git a/media/js/pdf/web/locale/ach/viewer.properties b/media/js/pdf/web/locale/ach/viewer.properties new file mode 100644 index 0000000000..2d04fd075e --- /dev/null +++ b/media/js/pdf/web/locale/ach/viewer.properties @@ -0,0 +1,200 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pot buk mukato +previous_label=Mukato +next.title=Pot buk malubo +next_label=Malubo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pot buk +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=pi {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} me {{pagesCount}}) + +zoom_out.title=Jwik Matidi +zoom_out_label=Jwik Matidi +zoom_in.title=Kwot Madit +zoom_in_label=Kwot Madit +zoom.title=Kwoti +presentation_mode.title=Lokke i kit me tyer +presentation_mode_label=Kit me tyer +open_file.title=Yab Pwail +open_file_label=Yab +print.title=Go +print_label=Go +download.title=Gam +download_label=Gam +bookmark.title=Neno ma kombedi (lok onyo yab i dirica manyen) +bookmark_label=Neno ma kombedi + +# Secondary toolbar and context menu +tools.title=Gintic +tools_label=Gintic +first_page.title=Cit i pot buk mukwongo +first_page_label=Cit i pot buk mukwongo +last_page.title=Cit i pot buk magiko +last_page_label=Cit i pot buk magiko +page_rotate_cw.title=Wire i tung lacuc +page_rotate_cw_label=Wire i tung lacuc +page_rotate_ccw.title=Wire i tung lacam +page_rotate_ccw_label=Wire i tung lacam + +cursor_text_select_tool.title=Cak gitic me yero coc +cursor_text_select_tool_label=Gitic me yero coc +cursor_hand_tool.title=Cak gitic me cing +cursor_hand_tool_label=Gitic cing + + + +# Document properties dialog box +document_properties.title=Jami me gin acoya… +document_properties_label=Jami me gin acoya… +document_properties_file_name=Nying pwail: +document_properties_file_size=Dit pa pwail: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Wiye: +document_properties_author=Ngat mucoyo: +document_properties_subject=Subjek: +document_properties_keywords=Lok mapire tek: +document_properties_creation_date=Nino dwe me cwec: +document_properties_modification_date=Nino dwe me yub: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Lacwec: +document_properties_producer=Layub PDF: +document_properties_version=Kit PDF: +document_properties_page_count=Kwan me pot buk: +document_properties_page_size=Dit pa potbuk: +document_properties_page_size_unit_inches=i +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=atir +document_properties_page_size_orientation_landscape=arii +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Waraga +document_properties_page_size_name_legal=Cik +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=Eyo +document_properties_linearized_no=Pe +document_properties_close=Lor + +print_progress_message=Yubo coc me agoya… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Juki + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Lok gintic ma inget +toggle_sidebar_label=Lok gintic ma inget +document_outline.title=Nyut Wiyewiye me Gin acoya (dii-kiryo me yaro/kano jami weng) +document_outline_label=Pek pa gin acoya +attachments.title=Nyut twec +attachments_label=Twec +thumbs.title=Nyut cal +thumbs_label=Cal +findbar.title=Nong iye gin acoya +findbar_label=Nong + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pot buk {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Cal me pot buk {{page}} + +# Find panel button title and messages +find_input.title=Nong +find_input.placeholder=Nong i dokumen… +find_previous.title=Nong timme pa lok mukato +find_previous_label=Mukato +find_next.title=Nong timme pa lok malubo +find_next_label=Malubo +find_highlight=Wer weng +find_match_case_label=Lok marwate +find_reached_top=Oo iwi gin acoya, omede ki i tere +find_reached_bottom=Oo i agiki me gin acoya, omede ki iwiye +find_not_found=Lok pe ononge + +# Error panel labels +error_more_info=Ngec Mukene +error_less_info=Ngec Manok +error_close=Lor +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Kwena: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Can kikore {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Pwail: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rek: {{line}} +rendering_error=Bal otime i kare me nyuto pot buk. + +# Predefined zoom values +page_scale_width=Lac me iye pot buk +page_scale_fit=Porre me pot buk +page_scale_auto=Kwot pire kene +page_scale_actual=Dite kikome +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Bal otime kun cano PDF. +invalid_file_error=Pwail me PDF ma pe atir onyo obale woko. +missing_file_error=Pwail me PDF tye ka rem. +unexpected_response_error=Lagam mape kigeno pa lapok tic. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Lok angea manok] +password_label=Ket mung me donyo me yabo pwail me PDF man. +password_invalid=Mung me donyo pe atir. Tim ber i tem doki. +password_ok=OK +password_cancel=Juki + +printing_not_supported=Ciko: Layeny ma pe teno goyo liweng. +printing_not_ready=Ciko: PDF pe ocane weng me agoya. +web_fonts_disabled=Kijuko dit pa coc me kakube woko: pe romo tic ki dit pa coc me PDF ma kiketo i kine. + diff --git a/media/js/pdf/web/locale/af/viewer.properties b/media/js/pdf/web/locale/af/viewer.properties new file mode 100644 index 0000000000..7c8e48541a --- /dev/null +++ b/media/js/pdf/web/locale/af/viewer.properties @@ -0,0 +1,177 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Vorige bladsy +previous_label=Vorige +next.title=Volgende bladsy +next_label=Volgende + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Bladsy +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=van {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} van {{pagesCount}}) + +zoom_out.title=Zoem uit +zoom_out_label=Zoem uit +zoom_in.title=Zoem in +zoom_in_label=Zoem in +zoom.title=Zoem +presentation_mode.title=Wissel na voorleggingsmodus +presentation_mode_label=Voorleggingsmodus +open_file.title=Open lêer +open_file_label=Open +print.title=Druk +print_label=Druk +download.title=Laai af +download_label=Laai af +bookmark.title=Huidige aansig (kopieer of open in nuwe venster) +bookmark_label=Huidige aansig + +# Secondary toolbar and context menu +tools.title=Nutsgoed +tools_label=Nutsgoed +first_page.title=Gaan na eerste bladsy +first_page_label=Gaan na eerste bladsy +last_page.title=Gaan na laaste bladsy +last_page_label=Gaan na laaste bladsy +page_rotate_cw.title=Roteer kloksgewys +page_rotate_cw_label=Roteer kloksgewys +page_rotate_ccw.title=Roteer anti-kloksgewys +page_rotate_ccw_label=Roteer anti-kloksgewys + +cursor_text_select_tool.title=Aktiveer gereedskap om teks te merk +cursor_text_select_tool_label=Teksmerkgereedskap +cursor_hand_tool.title=Aktiveer handjie +cursor_hand_tool_label=Handjie + +# Document properties dialog box +document_properties.title=Dokumenteienskappe… +document_properties_label=Dokumenteienskappe… +document_properties_file_name=Lêernaam: +document_properties_file_size=Lêergrootte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kG ({{size_b}} grepe) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MG ({{size_b}} grepe) +document_properties_title=Titel: +document_properties_author=Outeur: +document_properties_subject=Onderwerp: +document_properties_keywords=Sleutelwoorde: +document_properties_creation_date=Skeppingsdatum: +document_properties_modification_date=Wysigingsdatum: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Skepper: +document_properties_producer=PDF-vervaardiger: +document_properties_version=PDF-weergawe: +document_properties_page_count=Aantal bladsye: +document_properties_close=Sluit + +print_progress_message=Berei tans dokument voor om te druk… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Kanselleer + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Sypaneel aan/af +toggle_sidebar_label=Sypaneel aan/af +document_outline.title=Wys dokumentskema (dubbelklik om alle items oop/toe te vou) +document_outline_label=Dokumentoorsig +attachments.title=Wys aanhegsels +attachments_label=Aanhegsels +thumbs.title=Wys duimnaels +thumbs_label=Duimnaels +findbar.title=Soek in dokument +findbar_label=Vind + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Bladsy {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Duimnael van bladsy {{page}} + +# Find panel button title and messages +find_input.title=Vind +find_input.placeholder=Soek in dokument… +find_previous.title=Vind die vorige voorkoms van die frase +find_previous_label=Vorige +find_next.title=Vind die volgende voorkoms van die frase +find_next_label=Volgende +find_highlight=Verlig almal +find_match_case_label=Kassensitief +find_reached_top=Bokant van dokument is bereik; gaan voort van onder af +find_reached_bottom=Einde van dokument is bereik; gaan voort van bo af +find_not_found=Frase nie gevind nie + +# Error panel labels +error_more_info=Meer inligting +error_less_info=Minder inligting +error_close=Sluit +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (ID: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Boodskap: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stapel: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Lêer: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lyn: {{line}} +rendering_error='n Fout het voorgekom toe die bladsy weergegee is. + +# Predefined zoom values +page_scale_width=Bladsywydte +page_scale_fit=Pas bladsy +page_scale_auto=Outomatiese zoem +page_scale_actual=Werklike grootte +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error='n Fout het voorgekom met die laai van die PDF. +invalid_file_error=Ongeldige of korrupte PDF-lêer. +missing_file_error=PDF-lêer is weg. +unexpected_response_error=Onverwagse antwoord van bediener. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-annotasie] +password_label=Gee die wagwoord om dié PDF-lêer mee te open. +password_invalid=Ongeldige wagwoord. Probeer gerus weer. +password_ok=OK +password_cancel=Kanselleer + +printing_not_supported=Waarskuwing: Dié blaaier ondersteun nie drukwerk ten volle nie. +printing_not_ready=Waarskuwing: Die PDF is nog nie volledig gelaai vir drukwerk nie. +web_fonts_disabled=Webfonte is gedeaktiveer: kan nie PDF-fonte wat ingebed is, gebruik nie. + diff --git a/media/js/pdf/web/locale/an/viewer.properties b/media/js/pdf/web/locale/an/viewer.properties new file mode 100644 index 0000000000..a33eb650cf --- /dev/null +++ b/media/js/pdf/web/locale/an/viewer.properties @@ -0,0 +1,243 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pachina anterior +previous_label=Anterior +next.title=Pachina siguient +next_label=Siguient + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pachina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Achiquir +zoom_out_label=Achiquir +zoom_in.title=Agrandir +zoom_in_label=Agrandir +zoom.title=Grandaria +presentation_mode.title=Cambear t'o modo de presentación +presentation_mode_label=Modo de presentación +open_file.title=Ubrir o fichero +open_file_label=Ubrir +print.title=Imprentar +print_label=Imprentar +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar u ubrir en una nueva finestra) +bookmark_label=Vista actual + +# Secondary toolbar and context menu +tools.title=Ferramientas +tools_label=Ferramientas +first_page.title=Ir ta la primer pachina +first_page_label=Ir ta la primer pachina +last_page.title=Ir ta la zaguer pachina +last_page_label=Ir ta la zaguer pachina +page_rotate_cw.title=Chirar enta la dreita +page_rotate_cw_label=Chira enta la dreita +page_rotate_ccw.title=Chirar enta la zurda +page_rotate_ccw_label=Chirar enta la zurda + +cursor_text_select_tool.title=Activar la ferramienta de selección de texto +cursor_text_select_tool_label=Ferramienta de selección de texto +cursor_hand_tool.title=Activar la ferramienta man +cursor_hand_tool_label=Ferramienta man + +scroll_vertical.title=Usar lo desplazamiento vertical +scroll_vertical_label=Desplazamiento vertical +scroll_horizontal.title=Usar lo desplazamiento horizontal +scroll_horizontal_label=Desplazamiento horizontal +scroll_wrapped.title=Activaar lo desplazamiento contino +scroll_wrapped_label=Desplazamiento contino + +spread_none.title=No unir vistas de pachinas +spread_none_label=Una pachina nomás +spread_odd.title=Mostrar vista de pachinas, con as impars a la zurda +spread_odd_label=Doble pachina, impar a la zurda +spread_even.title=Amostrar vista de pachinas, con as pars a la zurda +spread_even_label=Doble pachina, para a la zurda + +# Document properties dialog box +document_properties.title=Propiedatz d'o documento... +document_properties_label=Propiedatz d'o documento... +document_properties_file_name=Nombre de fichero: +document_properties_file_size=Grandaria d'o fichero: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titol: +document_properties_author=Autor: +document_properties_subject=Afer: +document_properties_keywords=Parolas clau: +document_properties_creation_date=Calendata de creyación: +document_properties_modification_date=Calendata de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creyador: +document_properties_producer=Creyador de PDF: +document_properties_version=Versión de PDF: +document_properties_page_count=Numero de pachinas: +document_properties_page_size=Mida de pachina: +document_properties_page_size_unit_inches=pulgadas +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} x {{height}} {{unit}} {{orientation}} +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} x {{height}} {{unit}} {{name}}, {{orientation}} +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web rapida: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Zarrar + +print_progress_message=Se ye preparando la documentación pa imprentar… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Amostrar u amagar a barra lateral +toggle_sidebar_notification2.title=Cambiar barra lateral (lo documento contiene esquema/adchuntos/capas) +toggle_sidebar_label=Amostrar a barra lateral +document_outline.title=Amostrar esquema d'o documento (fer doble clic pa expandir/compactar totz los items) +document_outline_label=Esquema d'o documento +attachments.title=Amostrar os adchuntos +attachments_label=Adchuntos +layers.title=Amostrar capas (doble clic para reiniciar totas las capas a lo estau per defecto) +layers_label=Capas +thumbs.title=Amostrar as miniaturas +thumbs_label=Miniaturas +findbar.title=Trobar en o documento +findbar_label=Trobar + +additional_layers=Capas adicionals +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pachina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura d'a pachina {{page}} + +# Find panel button title and messages +find_input.title=Trobar +find_input.placeholder=Trobar en o documento… +find_previous.title=Trobar l'anterior coincidencia d'a frase +find_previous_label=Anterior +find_next.title=Trobar a siguient coincidencia d'a frase +find_next_label=Siguient +find_highlight=Resaltar-lo tot +find_match_case_label=Coincidencia de mayusclas/minusclas +find_entire_word_label=Parolas completas +find_reached_top=S'ha plegau a l'inicio d'o documento, se contina dende baixo +find_reached_bottom=S'ha plegau a la fin d'o documento, se contina dende alto +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidencia +find_match_count[two]={{current}} de {{total}} coincidencias +find_match_count[few]={{current}} de {{total}} coincidencias +find_match_count[many]={{current}} de {{total}} coincidencias +find_match_count[other]={{current}} de {{total}} coincidencias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mas de {{limit}} coincidencias +find_match_count_limit[one]=Mas de {{limit}} coincidencias +find_match_count_limit[two]=Mas que {{limit}} coincidencias +find_match_count_limit[few]=Mas que {{limit}} coincidencias +find_match_count_limit[many]=Mas que {{limit}} coincidencias +find_match_count_limit[other]=Mas que {{limit}} coincidencias +find_not_found=No s'ha trobau a frase + +# Error panel labels +error_more_info=Mas información +error_less_info=Menos información +error_close=Zarrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensache: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fichero: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linia: {{line}} +rendering_error=Ha ocurriu una error en renderizar a pachina. + +# Predefined zoom values +page_scale_width=Amplaria d'a pachina +page_scale_fit=Achuste d'a pachina +page_scale_auto=Grandaria automatica +page_scale_actual=Grandaria actual +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=S'ha produciu una error en cargar o PDF. +invalid_file_error=O PDF no ye valido u ye estorbau. +missing_file_error=No i ha fichero PDF. +unexpected_response_error=Respuesta a lo servicio inasperada. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotación {{type}}] +password_label=Introduzca a clau ta ubrir iste fichero PDF. +password_invalid=Clau invalida. Torna a intentar-lo. +password_ok=Acceptar +password_cancel=Cancelar + +printing_not_supported=Pare cuenta: Iste navegador no maneya totalment as impresions. +printing_not_ready=Aviso: Encara no se ha cargau completament o PDF ta imprentar-lo. +web_fonts_disabled=As fuents web son desactivadas: no se puet incrustar fichers PDF. + diff --git a/media/js/pdf/web/locale/ar/viewer.properties b/media/js/pdf/web/locale/ar/viewer.properties new file mode 100644 index 0000000000..1d389e8162 --- /dev/null +++ b/media/js/pdf/web/locale/ar/viewer.properties @@ -0,0 +1,247 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=الصفحة السابقة +previous_label=السابقة +next.title=الصفحة التالية +next_label=التالية + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=صفحة +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=من {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} من {{pagesCount}}) + +zoom_out.title=بعّد +zoom_out_label=بعّد +zoom_in.title=قرّب +zoom_in_label=قرّب +zoom.title=التقريب +presentation_mode.title=انتقل لوضع العرض التقديمي +presentation_mode_label=وضع العرض التقديمي +open_file.title=افتح ملفًا +open_file_label=افتح +print.title=اطبع +print_label=اطبع +download.title=نزّل +download_label=نزّل +bookmark.title=المنظور الحالي (انسخ أو افتح في نافذة جديدة) +bookmark_label=المنظور الحالي + +# Secondary toolbar and context menu +tools.title=الأدوات +tools_label=الأدوات +first_page.title=انتقل إلى الصفحة الأولى +first_page_label=انتقل إلى الصفحة الأولى +last_page.title=انتقل إلى الصفحة الأخيرة +last_page_label=انتقل إلى الصفحة الأخيرة +page_rotate_cw.title=أدر باتجاه عقارب الساعة +page_rotate_cw_label=أدر باتجاه عقارب الساعة +page_rotate_ccw.title=أدر بعكس اتجاه عقارب الساعة +page_rotate_ccw_label=أدر بعكس اتجاه عقارب الساعة + +cursor_text_select_tool.title=فعّل أداة اختيار النص +cursor_text_select_tool_label=أداة اختيار النص +cursor_hand_tool.title=فعّل أداة اليد +cursor_hand_tool_label=أداة اليد + +scroll_vertical.title=استخدم التمرير الرأسي +scroll_vertical_label=التمرير الرأسي +scroll_horizontal.title=استخدم التمرير الأفقي +scroll_horizontal_label=التمرير الأفقي +scroll_wrapped.title=استخدم التمرير الملتف +scroll_wrapped_label=التمرير الملتف + +spread_none.title=لا تدمج هوامش الصفحات مع بعضها البعض +spread_none_label=بلا هوامش +spread_odd.title=ادمج هوامش الصفحات الفردية +spread_odd_label=هوامش الصفحات الفردية +spread_even.title=ادمج هوامش الصفحات الزوجية +spread_even_label=هوامش الصفحات الزوجية + +# Document properties dialog box +document_properties.title=خصائص المستند… +document_properties_label=خصائص المستند… +document_properties_file_name=اسم الملف: +document_properties_file_size=حجم الملف: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ك.بايت ({{size_b}} بايت) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} م.بايت ({{size_b}} بايت) +document_properties_title=العنوان: +document_properties_author=المؤلف: +document_properties_subject=الموضوع: +document_properties_keywords=الكلمات الأساسية: +document_properties_creation_date=تاريخ الإنشاء: +document_properties_modification_date=تاريخ التعديل: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}، {{time}} +document_properties_creator=المنشئ: +document_properties_producer=منتج PDF: +document_properties_version=إصدارة PDF: +document_properties_page_count=عدد الصفحات: +document_properties_page_size=مقاس الورقة: +document_properties_page_size_unit_inches=بوصة +document_properties_page_size_unit_millimeters=ملم +document_properties_page_size_orientation_portrait=طوليّ +document_properties_page_size_orientation_landscape=عرضيّ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=خطاب +document_properties_page_size_name_legal=قانونيّ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}، {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=العرض السريع عبر الوِب: +document_properties_linearized_yes=نعم +document_properties_linearized_no=لا +document_properties_close=أغلق + +print_progress_message=يُحضّر المستند للطباعة… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}٪ +print_progress_close=ألغِ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=بدّل ظهور الشريط الجانبي +toggle_sidebar_notification2.title=بدّل ظهور الشريط الجانبي (يحتوي المستند على مخطط أو مرفقات أو طبقات) +toggle_sidebar_label=بدّل ظهور الشريط الجانبي +document_outline.title=اعرض فهرس المستند (نقر مزدوج لتمديد أو تقليص كل العناصر) +document_outline_label=مخطط المستند +attachments.title=اعرض المرفقات +attachments_label=المُرفقات +layers.title=اعرض الطبقات (انقر مرتين لتصفير كل الطبقات إلى الحالة المبدئية) +layers_label=الطبقات +thumbs.title=اعرض مُصغرات +thumbs_label=مُصغّرات +findbar.title=ابحث في المستند +findbar_label=ابحث + +additional_layers=الطبقات الإضافية +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=صفحة {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=صفحة {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=مصغّرة صفحة {{page}} + +# Find panel button title and messages +find_input.title=ابحث +find_input.placeholder=ابحث في المستند… +find_previous.title=ابحث عن التّواجد السّابق للعبارة +find_previous_label=السابق +find_next.title=ابحث عن التّواجد التّالي للعبارة +find_next_label=التالي +find_highlight=أبرِز الكل +find_match_case_label=طابق حالة الأحرف +find_entire_word_label=كلمات كاملة +find_reached_top=تابعت من الأسفل بعدما وصلت إلى بداية المستند +find_reached_bottom=تابعت من الأعلى بعدما وصلت إلى نهاية المستند +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} من أصل مطابقة واحدة +find_match_count[two]={{current}} من أصل مطابقتين +find_match_count[few]={{current}} من أصل {{total}} مطابقات +find_match_count[many]={{current}} من أصل {{total}} مطابقة +find_match_count[other]={{current}} من أصل {{total}} مطابقة +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=فقط +find_match_count_limit[one]=أكثر من مطابقة واحدة +find_match_count_limit[two]=أكثر من مطابقتين +find_match_count_limit[few]=أكثر من {{limit}} مطابقات +find_match_count_limit[many]=أكثر من {{limit}} مطابقة +find_match_count_limit[other]=أكثر من {{limit}} مطابقة +find_not_found=لا وجود للعبارة + +# Error panel labels +error_more_info=معلومات أكثر +error_less_info=معلومات أقل +error_close=أغلق +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js ن{{version}} (بناء: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=الرسالة: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=الرصّة: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=الملف: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=السطر: {{line}} +rendering_error=حدث خطأ أثناء عرض الصفحة. + +# Predefined zoom values +page_scale_width=عرض الصفحة +page_scale_fit=ملائمة الصفحة +page_scale_auto=تقريب تلقائي +page_scale_actual=الحجم الفعلي +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}٪ + +# Loading indicator messages +loading=يحمّل… +loading_error=حدث عطل أثناء تحميل ملف PDF. +invalid_file_error=ملف PDF تالف أو غير صحيح. +missing_file_error=ملف PDF غير موجود. +unexpected_response_error=استجابة خادوم غير متوقعة. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}، {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[تعليق {{type}}] +password_label=أدخل لكلمة السر لفتح هذا الملف. +password_invalid=كلمة سر خطأ. من فضلك أعد المحاولة. +password_ok=حسنا +password_cancel=ألغِ + +printing_not_supported=تحذير: لا يدعم هذا المتصفح الطباعة بشكل كامل. +printing_not_ready=تحذير: ملف PDF لم يُحمّل كاملًا للطباعة. +web_fonts_disabled=خطوط الوب مُعطّلة: تعذّر استخدام خطوط PDF المُضمّنة. + diff --git a/media/js/pdf/web/locale/ast/viewer.properties b/media/js/pdf/web/locale/ast/viewer.properties new file mode 100644 index 0000000000..1f8bb2e57a --- /dev/null +++ b/media/js/pdf/web/locale/ast/viewer.properties @@ -0,0 +1,207 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Páxina anterior +previous_label=Anterior +next.title=Páxina siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Páxina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Alloñar +zoom_out_label=Alloña +zoom_in.title=Averar +zoom_in_label=Avera +zoom.title=Zoom +presentation_mode.title=Cambiar al mou de presentación +presentation_mode_label=Mou de presentación +open_file_label=Abrir +print.title=Imprentar +print_label=Imprentar +download.title=Baxar +download_label=Baxar +bookmark_label=Vista actual + +# Secondary toolbar and context menu +tools.title=Ferramientes +tools_label=Ferramientes +first_page_label=Dir a la primer páxina +last_page_label=Dir a la última páxina +page_rotate_cw.title=Voltia a la derecha +page_rotate_cw_label=Voltiar a la derecha +page_rotate_ccw.title=Voltia a la esquierda +page_rotate_ccw_label=Voltiar a la esquierda + +cursor_text_select_tool.title=Activa la ferramienta d'esbilla de testu +cursor_text_select_tool_label=Ferramienta d'esbilla de testu +cursor_hand_tool.title=Activa la ferramienta de mano +cursor_hand_tool_label=Ferramienta de mano + +scroll_vertical.title=Usa'l desplazamientu vertical +scroll_vertical_label=Desplazamientu vertical +scroll_horizontal.title=Usa'l desplazamientu horizontal +scroll_horizontal_label=Desplazamientu horizontal +scroll_wrapped.title=Usa'l desplazamientu continuu +scroll_wrapped_label=Desplazamientu continuu + +spread_none_label=Fueyes individuales +spread_odd_label=Fueyes pares +spread_even_label=Fueyes impares + +# Document properties dialog box +document_properties.title=Propiedaes del documentu… +document_properties_label=Propiedaes del documentu… +document_properties_file_name=Nome del ficheru: +document_properties_file_size=Tamañu del ficheru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Títulu: +document_properties_keywords=Pallabres clave: +document_properties_creation_date=Data de creación: +document_properties_modification_date=Data de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_producer=Productor del PDF: +document_properties_version=Versión del PDF: +document_properties_page_count=Númberu de páxines: +document_properties_page_size=Tamañu de páxina: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web rápida: +document_properties_linearized_yes=Sí +document_properties_linearized_no=Non +document_properties_close=Zarrar + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Encaboxar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Alternar la barra llateral +attachments.title=Amosar los axuntos +attachments_label=Axuntos +layers_label=Capes +thumbs.title=Amosar les miniatures +thumbs_label=Miniatures +findbar_label=Atopar + +additional_layers=Capes adicionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Páxina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Páxina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. + +# Find panel button title and messages +find_previous_label=Anterior +find_next_label=Siguiente +find_entire_word_label=Pallabres completes +find_reached_top=Algamóse'l comienzu de la páxina, síguese dende abaxo +find_reached_bottom=Algamóse la fin del documentu, síguese dende arriba +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count[one]={{current}} de {{total}} coincidencia +find_match_count[two]={{current}} de {{total}} coincidencies +find_match_count[few]={{current}} de {{total}} coincidencies +find_match_count[many]={{current}} de {{total}} coincidencies +find_match_count[other]={{current}} de {{total}} coincidencies +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit[zero]=Más de {{limit}} coincidencies +find_match_count_limit[one]=Más de {{limit}} coincidencia +find_match_count_limit[two]=Más de {{limit}} coincidencies +find_match_count_limit[few]=Más de {{limit}} coincidencies +find_match_count_limit[many]=Más de {{limit}} coincidencies +find_match_count_limit[other]=Más de {{limit}} coincidencies + +# Error panel labels +error_more_info=Más información +error_less_info=Menos información +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (compilación: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaxe: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ficheru: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Llinia: {{line}} + +# Predefined zoom values +page_scale_auto=Zoom automáticu +page_scale_actual=Tamañu real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargando… +loading_error=Asocedió un fallu mentanto se cargaba'l PDF. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_ok=Aceptar +password_cancel=Encaboxar + +# LOCALIZATION NOTE (unsupported_feature_signatures): Should contain the same +# exact string as in the `chrome.properties` file. + diff --git a/media/js/pdf/web/locale/az/viewer.properties b/media/js/pdf/web/locale/az/viewer.properties new file mode 100644 index 0000000000..3cb27ecb28 --- /dev/null +++ b/media/js/pdf/web/locale/az/viewer.properties @@ -0,0 +1,243 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Əvvəlki səhifə +previous_label=Əvvəlkini tap +next.title=Növbəti səhifə +next_label=İrəli + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Səhifə +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=Uzaqlaş +zoom_out_label=Uzaqlaş +zoom_in.title=Yaxınlaş +zoom_in_label=Yaxınlaş +zoom.title=Yaxınlaşdırma +presentation_mode.title=Təqdimat Rejiminə Keç +presentation_mode_label=Təqdimat Rejimi +open_file.title=Fayl Aç +open_file_label=Aç +print.title=Yazdır +print_label=Yazdır +download.title=Endir +download_label=Endir +bookmark.title=Hazırkı görünüş (köçür və ya yeni pəncərədə aç) +bookmark_label=Hazırkı görünüş + +# Secondary toolbar and context menu +tools.title=Alətlər +tools_label=Alətlər +first_page.title=İlk Səhifəyə get +first_page_label=İlk Səhifəyə get +last_page.title=Son Səhifəyə get +last_page_label=Son Səhifəyə get +page_rotate_cw.title=Saat İstiqamətində Fırlat +page_rotate_cw_label=Saat İstiqamətində Fırlat +page_rotate_ccw.title=Saat İstiqamətinin Əksinə Fırlat +page_rotate_ccw_label=Saat İstiqamətinin Əksinə Fırlat + +cursor_text_select_tool.title=Yazı seçmə alətini aktivləşdir +cursor_text_select_tool_label=Yazı seçmə aləti +cursor_hand_tool.title=Əl alətini aktivləşdir +cursor_hand_tool_label=Əl aləti + +scroll_vertical.title=Şaquli sürüşdürmə işlət +scroll_vertical_label=Şaquli sürüşdürmə +scroll_horizontal.title=Üfüqi sürüşdürmə işlət +scroll_horizontal_label=Üfüqi sürüşdürmə +scroll_wrapped.title=Bükülü sürüşdürmə işlət +scroll_wrapped_label=Bükülü sürüşdürmə + +spread_none.title=Yan-yana birləşdirilmiş səhifələri işlətmə +spread_none_label=Birləşdirmə +spread_odd.title=Yan-yana birləşdirilmiş səhifələri tək nömrəli səhifələrdən başlat +spread_odd_label=Tək nömrəli +spread_even.title=Yan-yana birləşdirilmiş səhifələri cüt nömrəli səhifələrdən başlat +spread_even_label=Cüt nömrəli + +# Document properties dialog box +document_properties.title=Sənəd xüsusiyyətləri… +document_properties_label=Sənəd xüsusiyyətləri… +document_properties_file_name=Fayl adı: +document_properties_file_size=Fayl ölçüsü: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bayt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bayt) +document_properties_title=Başlık: +document_properties_author=Müəllif: +document_properties_subject=Mövzu: +document_properties_keywords=Açar sözlər: +document_properties_creation_date=Yaradılış Tarixi : +document_properties_modification_date=Dəyişdirilmə Tarixi : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Yaradan: +document_properties_producer=PDF yaradıcısı: +document_properties_version=PDF versiyası: +document_properties_page_count=Səhifə sayı: +document_properties_page_size=Səhifə Ölçüsü: +document_properties_page_size_unit_inches=inç +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portret +document_properties_page_size_orientation_landscape=albom +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Məktub +document_properties_page_size_name_legal=Hüquqi +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Bəli +document_properties_linearized_no=Xeyr +document_properties_close=Qapat + +print_progress_message=Sənəd çap üçün hazırlanır… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Ləğv et + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Yan Paneli Aç/Bağla +toggle_sidebar_notification2.title=Yan paneli çevir (sənəddə icmal/bağlamalar/laylar mövcuddur) +toggle_sidebar_label=Yan Paneli Aç/Bağla +document_outline.title=Sənədin eskizini göstər (bütün bəndləri açmaq/yığmaq üçün iki dəfə klikləyin) +document_outline_label=Sənəd strukturu +attachments.title=Bağlamaları göstər +attachments_label=Bağlamalar +layers.title=Layları göstər (bütün layları ilkin halına sıfırlamaq üçün iki dəfə klikləyin) +layers_label=Laylar +thumbs.title=Kiçik şəkilləri göstər +thumbs_label=Kiçik şəkillər +findbar.title=Sənəddə Tap +findbar_label=Tap + +additional_layers=Əlavə laylar +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Səhifə{{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} səhifəsinin kiçik vəziyyəti + +# Find panel button title and messages +find_input.title=Tap +find_input.placeholder=Sənəddə tap… +find_previous.title=Bir öncəki uyğun gələn sözü tapır +find_previous_label=Geri +find_next.title=Bir sonrakı uyğun gələn sözü tapır +find_next_label=İrəli +find_highlight=İşarələ +find_match_case_label=Böyük/kiçik hərfə həssaslıq +find_entire_word_label=Tam sözlər +find_reached_top=Sənədin yuxarısına çatdı, aşağıdan davam edir +find_reached_bottom=Sənədin sonuna çatdı, yuxarıdan davam edir +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} / {{total}} uyğunluq +find_match_count[two]={{current}} / {{total}} uyğunluq +find_match_count[few]={{current}} / {{total}} uyğunluq +find_match_count[many]={{current}} / {{total}} uyğunluq +find_match_count[other]={{current}} / {{total}} uyğunluq +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}}-dan çox uyğunluq +find_match_count_limit[one]={{limit}}-dən çox uyğunluq +find_match_count_limit[two]={{limit}}-dən çox uyğunluq +find_match_count_limit[few]={{limit}} uyğunluqdan daha çox +find_match_count_limit[many]={{limit}} uyğunluqdan daha çox +find_match_count_limit[other]={{limit}} uyğunluqdan daha çox +find_not_found=Uyğunlaşma tapılmadı + +# Error panel labels +error_more_info=Daha çox məlumati +error_less_info=Daha az məlumat +error_close=Qapat +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (yığma: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=İsmarıc: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stek: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fayl: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Sətir: {{line}} +rendering_error=Səhifə göstərilərkən səhv yarandı. + +# Predefined zoom values +page_scale_width=Səhifə genişliyi +page_scale_fit=Səhifəni sığdır +page_scale_auto=Avtomatik yaxınlaşdır +page_scale_actual=Hazırkı Həcm +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF yüklenərkən bir səhv yarandı. +invalid_file_error=Səhv və ya zədələnmiş olmuş PDF fayl. +missing_file_error=PDF fayl yoxdur. +unexpected_response_error=Gözlənilməz server cavabı. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotasiyası] +password_label=Bu PDF faylı açmaq üçün parolu daxil edin. +password_invalid=Parol səhvdir. Bir daha yoxlayın. +password_ok=Tamam +password_cancel=Ləğv et + +printing_not_supported=Xəbərdarlıq: Çap bu səyyah tərəfindən tam olaraq dəstəklənmir. +printing_not_ready=Xəbərdarlıq: PDF çap üçün tam yüklənməyib. +web_fonts_disabled=Web Şriftlər söndürülüb: yerləşdirilmiş PDF şriftlərini istifadə etmək mümkün deyil. + diff --git a/media/js/pdf/web/locale/be/viewer.properties b/media/js/pdf/web/locale/be/viewer.properties new file mode 100644 index 0000000000..b974b0c1a0 --- /dev/null +++ b/media/js/pdf/web/locale/be/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Папярэдняя старонка +previous_label=Папярэдняя +next.title=Наступная старонка +next_label=Наступная + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Старонка +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=з {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} з {{pagesCount}}) + +zoom_out.title=Паменшыць +zoom_out_label=Паменшыць +zoom_in.title=Павялічыць +zoom_in_label=Павялічыць +zoom.title=Павялічэнне тэксту +presentation_mode.title=Пераключыцца ў рэжым паказу +presentation_mode_label=Рэжым паказу +open_file.title=Адкрыць файл +open_file_label=Адкрыць +print.title=Друкаваць +print_label=Друкаваць +download.title=Сцягнуць +download_label=Сцягнуць +bookmark.title=Цяперашні выгляд (скапіяваць або адкрыць у новым акне) +bookmark_label=Цяперашняя праява + +save.title=Захаваць +save_label=Захаваць +bookmark1.title=Дзейная старонка (паглядзець URL-адрас з дзейнай старонкі) +bookmark1_label=Цяперашняя старонка + +open_in_app.title=Адкрыць у праграме +open_in_app_label=Адкрыць у праграме + +# Secondary toolbar and context menu +tools.title=Прылады +tools_label=Прылады +first_page.title=Перайсці на першую старонку +first_page_label=Перайсці на першую старонку +last_page.title=Перайсці на апошнюю старонку +last_page_label=Перайсці на апошнюю старонку +page_rotate_cw.title=Павярнуць па сонцу +page_rotate_cw_label=Павярнуць па сонцу +page_rotate_ccw.title=Павярнуць супраць сонца +page_rotate_ccw_label=Павярнуць супраць сонца + +cursor_text_select_tool.title=Уключыць прыладу выбару тэксту +cursor_text_select_tool_label=Прылада выбару тэксту +cursor_hand_tool.title=Уключыць ручную прыладу +cursor_hand_tool_label=Ручная прылада + +scroll_page.title=Выкарыстоўваць пракрутку старонкi +scroll_page_label=Пракрутка старонкi +scroll_vertical.title=Ужываць вертыкальную пракрутку +scroll_vertical_label=Вертыкальная пракрутка +scroll_horizontal.title=Ужываць гарызантальную пракрутку +scroll_horizontal_label=Гарызантальная пракрутка +scroll_wrapped.title=Ужываць маштабавальную пракрутку +scroll_wrapped_label=Маштабавальная пракрутка + +spread_none.title=Не выкарыстоўваць разгорнутыя старонкі +spread_none_label=Без разгорнутых старонак +spread_odd.title=Разгорнутыя старонкі пачынаючы з няцотных нумароў +spread_odd_label=Няцотныя старонкі злева +spread_even.title=Разгорнутыя старонкі пачынаючы з цотных нумароў +spread_even_label=Цотныя старонкі злева + +# Document properties dialog box +document_properties.title=Уласцівасці дакумента… +document_properties_label=Уласцівасці дакумента… +document_properties_file_name=Назва файла: +document_properties_file_size=Памер файла: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} байт) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} байт) +document_properties_title=Загаловак: +document_properties_author=Аўтар: +document_properties_subject=Тэма: +document_properties_keywords=Ключавыя словы: +document_properties_creation_date=Дата стварэння: +document_properties_modification_date=Дата змянення: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Стваральнік: +document_properties_producer=Вырабнік PDF: +document_properties_version=Версія PDF: +document_properties_page_count=Колькасць старонак: +document_properties_page_size=Памер старонкі: +document_properties_page_size_unit_inches=цаляў +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=кніжная +document_properties_page_size_orientation_landscape=альбомная +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Хуткі прагляд у Інтэрнэце: +document_properties_linearized_yes=Так +document_properties_linearized_no=Не +document_properties_close=Закрыць + +print_progress_message=Падрыхтоўка дакумента да друку… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Скасаваць + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Паказаць/схаваць бакавую панэль +toggle_sidebar_notification2.title=Паказаць/схаваць бакавую панэль (дакумент мае змест/укладанні/пласты) +toggle_sidebar_label=Паказаць/схаваць бакавую панэль +document_outline.title=Паказаць структуру дакумента (двайная пстрычка, каб разгарнуць /згарнуць усе элементы) +document_outline_label=Структура дакумента +attachments.title=Паказаць далучэнні +attachments_label=Далучэнні +layers.title=Паказаць пласты (націсніце двойчы, каб скінуць усе пласты да прадвызначанага стану) +layers_label=Пласты +thumbs.title=Паказ мініяцюр +thumbs_label=Мініяцюры +current_outline_item.title=Знайсці бягучы элемент структуры +current_outline_item_label=Бягучы элемент структуры +findbar.title=Пошук у дакуменце +findbar_label=Знайсці + +additional_layers=Дадатковыя пласты +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Старонка {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Старонка {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Мініяцюра старонкі {{page}} + +# Find panel button title and messages +find_input.title=Шукаць +find_input.placeholder=Шукаць у дакуменце… +find_previous.title=Знайсці папярэдні выпадак выразу +find_previous_label=Папярэдні +find_next.title=Знайсці наступны выпадак выразу +find_next_label=Наступны +find_highlight=Падфарбаваць усе +find_match_case_label=Адрозніваць вялікія/малыя літары +find_match_diacritics_label=З улікам дыякрытык +find_entire_word_label=Словы цалкам +find_reached_top=Дасягнуты пачатак дакумента, працяг з канца +find_reached_bottom=Дасягнуты канец дакумента, працяг з пачатку +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} з {{total}} супадзення +find_match_count[two]={{current}} з {{total}} супадзенняў +find_match_count[few]={{current}} з {{total}} супадзенняў +find_match_count[many]={{current}} з {{total}} супадзенняў +find_match_count[other]={{current}} з {{total}} супадзенняў +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Больш за {{limit}} супадзенняў +find_match_count_limit[one]=Больш за {{limit}} супадзенне +find_match_count_limit[two]=Больш за {{limit}} супадзенняў +find_match_count_limit[few]=Больш за {{limit}} супадзенняў +find_match_count_limit[many]=Больш за {{limit}} супадзенняў +find_match_count_limit[other]=Больш за {{limit}} супадзенняў +find_not_found=Выраз не знойдзены + +# Error panel labels +error_more_info=Падрабязней +error_less_info=Сцісла +error_close=Закрыць +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js в{{version}} (зборка: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Паведамленне: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стос: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Радок: {{line}} + +# Predefined zoom values +page_scale_width=Шырыня старонкі +page_scale_fit=Уцісненне старонкі +page_scale_auto=Аўтаматычнае павелічэнне +page_scale_actual=Сапраўдны памер +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Чытаецца… + +# Loading indicator messages +loading_error=Здарылася памылка ў часе загрузкі PDF. +invalid_file_error=Няспраўны або пашкоджаны файл PDF. +missing_file_error=Адсутны файл PDF. +unexpected_response_error=Нечаканы адказ сервера. + +rendering_error=Здарылася памылка падчас адлюстравання старонкі. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Увядзіце пароль, каб адкрыць гэты файл PDF. +password_invalid=Нядзейсны пароль. Паспрабуйце зноў. +password_ok=Добра +password_cancel=Скасаваць + +printing_not_supported=Папярэджанне: друк не падтрымліваецца цалкам гэтым браўзерам. +printing_not_ready=Увага: PDF не сцягнуты цалкам для друкавання. +web_fonts_disabled=Шрыфты Сеціва забаронены: немагчыма ўжываць укладзеныя шрыфты PDF. + +# Editor +editor_free_text2.title=Тэкст +editor_free_text2_label=Тэкст +editor_ink2.title=Маляваць +editor_ink2_label=Маляваць + +free_text2_default_content=Пачніце набор тэксту… + +# Editor Parameters +editor_free_text_color=Колер +editor_free_text_size=Памер +editor_ink_color=Колер +editor_ink_thickness=Таўшчыня +editor_ink_opacity=Непразрыстасць + +# Editor aria +editor_free_text2_aria_label=Тэкставы рэдактар +editor_ink2_aria_label=Графічны рэдактар +editor_ink_canvas_aria_label=Выява, створаная карыстальнікам diff --git a/media/js/pdf/web/locale/bg/viewer.properties b/media/js/pdf/web/locale/bg/viewer.properties new file mode 100644 index 0000000000..8c273985c7 --- /dev/null +++ b/media/js/pdf/web/locale/bg/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Предишна страница +previous_label=Предишна +next.title=Следваща страница +next_label=Следваща + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Страница +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=от {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} от {{pagesCount}}) + +zoom_out.title=Намаляване +zoom_out_label=Намаляване +zoom_in.title=Увеличаване +zoom_in_label=Увеличаване +zoom.title=Мащабиране +presentation_mode.title=Превключване към режим на представяне +presentation_mode_label=Режим на представяне +open_file.title=Отваряне на файл +open_file_label=Отваряне +print.title=Отпечатване +print_label=Отпечатване +download.title=Изтегляне +download_label=Изтегляне +bookmark.title=Текущ изглед (копиране или отваряне в нов прозорец) +bookmark_label=Текущ изглед + +# Secondary toolbar and context menu +tools.title=Инструменти +tools_label=Инструменти +first_page.title=Към първата страница +first_page_label=Към първата страница +last_page.title=Към последната страница +last_page_label=Към последната страница +page_rotate_cw.title=Завъртане по час. стрелка +page_rotate_cw_label=Завъртане по часовниковата стрелка +page_rotate_ccw.title=Завъртане обратно на час. стрелка +page_rotate_ccw_label=Завъртане обратно на часовниковата стрелка + +cursor_text_select_tool.title=Включване на инструмента за избор на текст +cursor_text_select_tool_label=Инструмент за избор на текст +cursor_hand_tool.title=Включване на инструмента ръка +cursor_hand_tool_label=Инструмент ръка + +scroll_vertical.title=Използване на вертикално плъзгане +scroll_vertical_label=Вертикално плъзгане +scroll_horizontal.title=Използване на хоризонтално +scroll_horizontal_label=Хоризонтално плъзгане +scroll_wrapped.title=Използване на мащабируемо плъзгане +scroll_wrapped_label=Мащабируемо плъзгане + +spread_none.title=Режимът на сдвояване е изключен +spread_none_label=Без сдвояване +spread_odd.title=Сдвояване, започвайки от нечетните страници +spread_odd_label=Нечетните отляво +spread_even.title=Сдвояване, започвайки от четните страници +spread_even_label=Четните отляво + +# Document properties dialog box +document_properties.title=Свойства на документа… +document_properties_label=Свойства на документа… +document_properties_file_name=Име на файл: +document_properties_file_size=Големина на файл: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} байта) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} байта) +document_properties_title=Заглавие: +document_properties_author=Автор: +document_properties_subject=Тема: +document_properties_keywords=Ключови думи: +document_properties_creation_date=Дата на създаване: +document_properties_modification_date=Дата на промяна: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Създател: +document_properties_producer=PDF произведен от: +document_properties_version=Издание на PDF: +document_properties_page_count=Брой страници: +document_properties_page_size=Размер на страницата: +document_properties_page_size_unit_inches=инч +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=портрет +document_properties_page_size_orientation_landscape=пейзаж +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Правни въпроси +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Бърз преглед: +document_properties_linearized_yes=Да +document_properties_linearized_no=Не +document_properties_close=Затваряне + +print_progress_message=Подготвяне на документа за отпечатване… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Отказ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Превключване на страничната лента +toggle_sidebar_label=Превключване на страничната лента +document_outline.title=Показване на структурата на документа (двукратно щракване за свиване/разгъване на всичко) +document_outline_label=Структура на документа +attachments.title=Показване на притурките +attachments_label=Притурки +thumbs.title=Показване на миниатюрите +thumbs_label=Миниатюри +findbar.title=Намиране в документа +findbar_label=Търсене + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Страница {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Миниатюра на страница {{page}} + +# Find panel button title and messages +find_input.title=Търсене +find_input.placeholder=Търсене в документа… +find_previous.title=Намиране на предишно съвпадение на фразата +find_previous_label=Предишна +find_next.title=Намиране на следващо съвпадение на фразата +find_next_label=Следваща +find_highlight=Открояване на всички +find_match_case_label=Съвпадение на регистъра +find_entire_word_label=Цели думи +find_reached_top=Достигнато е началото на документа, продължаване от края +find_reached_bottom=Достигнат е краят на документа, продължаване от началото +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} от {{total}} съвпадение +find_match_count[two]={{current}} от {{total}} съвпадения +find_match_count[few]={{current}} от {{total}} съвпадения +find_match_count[many]={{current}} от {{total}} съвпадения +find_match_count[other]={{current}} от {{total}} съвпадения +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Повече от {{limit}} съвпадения +find_match_count_limit[one]=Повече от {{limit}} съвпадение +find_match_count_limit[two]=Повече от {{limit}} съвпадения +find_match_count_limit[few]=Повече от {{limit}} съвпадения +find_match_count_limit[many]=Повече от {{limit}} съвпадения +find_match_count_limit[other]=Повече от {{limit}} съвпадения +find_not_found=Фразата не е намерена + +# Error panel labels +error_more_info=Повече информация +error_less_info=По-малко информация +error_close=Затваряне +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=Издание на PDF.js {{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Съобщение: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стек: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Ред: {{line}} +rendering_error=Грешка при изчертаване на страницата. + +# Predefined zoom values +page_scale_width=Ширина на страницата +page_scale_fit=Вместване в страницата +page_scale_auto=Автоматично мащабиране +page_scale_actual=Действителен размер +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Получи се грешка при зареждане на PDF-а. +invalid_file_error=Невалиден или повреден PDF файл. +missing_file_error=Липсващ PDF файл. +unexpected_response_error=Неочакван отговор от сървъра. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Анотация {{type}}] +password_label=Въведете парола за отваряне на този PDF файл. +password_invalid=Невалидна парола. Моля, опитайте отново. +password_ok=Добре +password_cancel=Отказ + +printing_not_supported=Внимание: Този четец няма пълна поддръжка на отпечатване. +printing_not_ready=Внимание: Този PDF файл не е напълно зареден за печат. +web_fonts_disabled=Уеб-шрифтовете са забранени: разрешаване на използването на вградените PDF шрифтове. + diff --git a/media/js/pdf/web/locale/bn/viewer.properties b/media/js/pdf/web/locale/bn/viewer.properties new file mode 100644 index 0000000000..366f2e5895 --- /dev/null +++ b/media/js/pdf/web/locale/bn/viewer.properties @@ -0,0 +1,239 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=পূর্ববর্তী পাতা +previous_label=পূর্ববর্তী +next.title=পরবর্তী পাতা +next_label=পরবর্তী + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=পাতা +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} এর +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} এর {{pageNumber}}) + +zoom_out.title=ছোট আকারে প্রদর্শন +zoom_out_label=ছোট আকারে প্রদর্শন +zoom_in.title=বড় আকারে প্রদর্শন +zoom_in_label=বড় আকারে প্রদর্শন +zoom.title=বড় আকারে প্রদর্শন +presentation_mode.title=উপস্থাপনা মোডে স্যুইচ করুন +presentation_mode_label=উপস্থাপনা মোড +open_file.title=ফাইল খুলুন +open_file_label=খুলুন +print.title=মুদ্রণ +print_label=মুদ্রণ +download.title=ডাউনলোড +download_label=ডাউনলোড +bookmark.title=বর্তমান অবস্থা (অনুলিপি অথবা নতুন উইন্ডো তে খুলুন) +bookmark_label=বর্তমান অবস্থা + +# Secondary toolbar and context menu +tools.title=টুল +tools_label=টুল +first_page.title=প্রথম পাতায় যাও +first_page_label=প্রথম পাতায় যাও +last_page.title=শেষ পাতায় যাও +last_page_label=শেষ পাতায় যাও +page_rotate_cw.title=ঘড়ির কাঁটার দিকে ঘোরাও +page_rotate_cw_label=ঘড়ির কাঁটার দিকে ঘোরাও +page_rotate_ccw.title=ঘড়ির কাঁটার বিপরীতে ঘোরাও +page_rotate_ccw_label=ঘড়ির কাঁটার বিপরীতে ঘোরাও + +cursor_text_select_tool.title=লেখা নির্বাচক টুল সক্রিয় করুন +cursor_text_select_tool_label=লেখা নির্বাচক টুল +cursor_hand_tool.title=হ্যান্ড টুল সক্রিয় করুন +cursor_hand_tool_label=হ্যান্ড টুল + +scroll_vertical.title=উলম্ব স্ক্রলিং ব্যবহার করুন +scroll_vertical_label=উলম্ব স্ক্রলিং +scroll_horizontal.title=অনুভূমিক স্ক্রলিং ব্যবহার করুন +scroll_horizontal_label=অনুভূমিক স্ক্রলিং +scroll_wrapped.title=Wrapped স্ক্রোলিং ব্যবহার করুন +scroll_wrapped_label=Wrapped স্ক্রোলিং + +spread_none.title=পেজ স্প্রেডগুলোতে যোগদান করবেন না +spread_none_label=Spreads নেই +spread_odd_label=বিজোড় Spreads +spread_even_label=জোড় Spreads + +# Document properties dialog box +document_properties.title=নথি বৈশিষ্ট্য… +document_properties_label=নথি বৈশিষ্ট্য… +document_properties_file_name=ফাইলের নাম: +document_properties_file_size=ফাইলের আকার: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} কেবি ({{size_b}} বাইট) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} এমবি ({{size_b}} বাইট) +document_properties_title=শিরোনাম: +document_properties_author=লেখক: +document_properties_subject=বিষয়: +document_properties_keywords=কীওয়ার্ড: +document_properties_creation_date=তৈরির তারিখ: +document_properties_modification_date=পরিবর্তনের তারিখ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=প্রস্তুতকারক: +document_properties_producer=পিডিএফ প্রস্তুতকারক: +document_properties_version=পিডিএফ সংষ্করণ: +document_properties_page_count=মোট পাতা: +document_properties_page_size=পাতার সাইজ: +document_properties_page_size_unit_inches=এর মধ্যে +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=উলম্ব +document_properties_page_size_orientation_landscape=অনুভূমিক +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=লেটার +document_properties_page_size_name_legal=লীগাল +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=হ্যাঁ +document_properties_linearized_no=না +document_properties_close=বন্ধ + +print_progress_message=মুদ্রণের জন্য নথি প্রস্তুত করা হচ্ছে… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=বাতিল + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=সাইডবার টগল করুন +toggle_sidebar_label=সাইডবার টগল করুন +document_outline.title=নথির আউটলাইন দেখাও (সব আইটেম প্রসারিত/সঙ্কুচিত করতে ডবল ক্লিক করুন) +document_outline_label=নথির রূপরেখা +attachments.title=সংযুক্তি দেখাও +attachments_label=সংযুক্তি +thumbs.title=থাম্বনেইল সমূহ প্রদর্শন করুন +thumbs_label=থাম্বনেইল সমূহ +findbar.title=নথির মধ্যে খুঁজুন +findbar_label=খুঁজুন + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=পাতা {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} পাতার থাম্বনেইল + +# Find panel button title and messages +find_input.title=খুঁজুন +find_input.placeholder=নথির মধ্যে খুঁজুন… +find_previous.title=বাক্যাংশের পূর্ববর্তী উপস্থিতি অনুসন্ধান +find_previous_label=পূর্ববর্তী +find_next.title=বাক্যাংশের পরবর্তী উপস্থিতি অনুসন্ধান +find_next_label=পরবর্তী +find_highlight=সব হাইলাইট করুন +find_match_case_label=অক্ষরের ছাঁদ মেলানো +find_entire_word_label=সম্পূর্ণ শব্দ +find_reached_top=পাতার শুরুতে পৌছে গেছে, নীচ থেকে আরম্ভ করা হয়েছে +find_reached_bottom=পাতার শেষে পৌছে গেছে, উপর থেকে আরম্ভ করা হয়েছে +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} এর {{current}} মিল +find_match_count[two]={{total}} এর {{current}} মিল +find_match_count[few]={{total}} এর {{current}} মিল +find_match_count[many]={{total}} এর {{current}} মিল +find_match_count[other]={{total}} এর {{current}} মিল +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} এর বেশি মিল +find_match_count_limit[one]={{limit}} এর বেশি মিল +find_match_count_limit[two]={{limit}} এর বেশি মিল +find_match_count_limit[few]={{limit}} এর বেশি মিল +find_match_count_limit[many]={{limit}} এর বেশি মিল +find_match_count_limit[other]={{limit}} এর বেশি মিল +find_not_found=বাক্যাংশ পাওয়া যায়নি + +# Error panel labels +error_more_info=আরও তথ্য +error_less_info=কম তথ্য +error_close=বন্ধ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=বার্তা: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=নথি: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=লাইন: {{line}} +rendering_error=পাতা উপস্থাপনার সময় ত্রুটি দেখা দিয়েছে। + +# Predefined zoom values +page_scale_width=পাতার প্রস্থ +page_scale_fit=পাতা ফিট করুন +page_scale_auto=স্বয়ংক্রিয় জুম +page_scale_actual=প্রকৃত আকার +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=পিডিএফ লোড করার সময় ত্রুটি দেখা দিয়েছে। +invalid_file_error=অকার্যকর অথবা ক্ষতিগ্রস্ত পিডিএফ ফাইল। +missing_file_error=নিখোঁজ PDF ফাইল। +unexpected_response_error=অপ্রত্যাশীত সার্ভার প্রতিক্রিয়া। + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} টীকা] +password_label=পিডিএফ ফাইলটি ওপেন করতে পাসওয়ার্ড দিন। +password_invalid=ভুল পাসওয়ার্ড। অনুগ্রহ করে আবার চেষ্টা করুন। +password_ok=ঠিক আছে +password_cancel=বাতিল + +printing_not_supported=সতর্কতা: এই ব্রাউজারে মুদ্রণ সম্পূর্ণভাবে সমর্থিত নয়। +printing_not_ready=সতর্কীকরণ: পিডিএফটি মুদ্রণের জন্য সম্পূর্ণ লোড হয়নি। +web_fonts_disabled=ওয়েব ফন্ট নিষ্ক্রিয়: সংযুক্ত পিডিএফ ফন্ট ব্যবহার করা যাচ্ছে না। + diff --git a/media/js/pdf/web/locale/bo/viewer.properties b/media/js/pdf/web/locale/bo/viewer.properties new file mode 100644 index 0000000000..d3b3933442 --- /dev/null +++ b/media/js/pdf/web/locale/bo/viewer.properties @@ -0,0 +1,238 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=དྲ་ངོས་སྔོན་མ +previous_label=སྔོན་མ +next.title=དྲ་ངོས་རྗེས་མ +next_label=རྗེས་མ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ཤོག་ངོས +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Zoom Out +zoom_out_label=Zoom Out +zoom_in.title=Zoom In +zoom_in_label=Zoom In +zoom.title=Zoom +presentation_mode.title=Switch to Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Open File +open_file_label=Open +print.title=Print +print_label=Print +download.title=Download +download_label=Download +bookmark.title=Current view (copy or open in new window) +bookmark_label=Current View + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Go to First Page +first_page_label=Go to First Page +last_page.title=Go to Last Page +last_page_label=Go to Last Page +page_rotate_cw.title=Rotate Clockwise +page_rotate_cw_label=Rotate Clockwise +page_rotate_ccw.title=Rotate Counterclockwise +page_rotate_ccw_label=Rotate Counterclockwise + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=Hand Tool + +scroll_vertical.title=Use Vertical Scrolling +scroll_vertical_label=Vertical Scrolling +scroll_horizontal.title=Use Horizontal Scrolling +scroll_horizontal_label=Horizontal Scrolling +scroll_wrapped.title=Use Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=Do not join page spreads +spread_none_label=No Spreads +spread_odd.title=Join page spreads starting with odd-numbered pages +spread_odd_label=Odd Spreads +spread_even.title=Join page spreads starting with even-numbered pages +spread_even_label=Even Spreads + +# Document properties dialog box +document_properties.title=Document Properties… +document_properties_label=Document Properties… +document_properties_file_name=File name: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Title: +document_properties_author=Author: +document_properties_subject=Subject: +document_properties_keywords=Keywords: +document_properties_creation_date=Creation Date: +document_properties_modification_date=Modification Date: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Page Count: +document_properties_page_size=Page Size: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=landscape +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Yes +document_properties_linearized_no=No +document_properties_close=Close + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggle Sidebar +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +thumbs.title=Show Thumbnails +thumbs_label=Thumbnails +findbar.title=Find in Document +findbar_label=Find + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail of Page {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find in document… +find_previous.title=Find the previous occurrence of the phrase +find_previous_label=Previous +find_next.title=Find the next occurrence of the phrase +find_next_label=Next +find_highlight=Highlight all +find_match_case_label=Match case +find_entire_word_label=Whole words +find_reached_top=Reached top of document, continued from bottom +find_reached_bottom=Reached end of document, continued from top +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} of {{total}} match +find_match_count[two]={{current}} of {{total}} matches +find_match_count[few]={{current}} of {{total}} matches +find_match_count[many]={{current}} of {{total}} matches +find_match_count[other]={{current}} of {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=More than {{limit}} matches +find_match_count_limit[one]=More than {{limit}} match +find_match_count_limit[two]=More than {{limit}} matches +find_match_count_limit[few]=More than {{limit}} matches +find_match_count_limit[many]=More than {{limit}} matches +find_match_count_limit[other]=More than {{limit}} matches +find_not_found=Phrase not found + +# Error panel labels +error_more_info=More Information +error_less_info=Less Information +error_close=Close +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Line: {{line}} +rendering_error=An error occurred while rendering the page. + +# Predefined zoom values +page_scale_width=Page Width +page_scale_fit=Page Fit +page_scale_auto=Automatic Zoom +page_scale_actual=Actual Size +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=An error occurred while loading the PDF. +invalid_file_error=Invalid or corrupted PDF file. +missing_file_error=Missing PDF file. +unexpected_response_error=Unexpected server response. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Enter the password to open this PDF file. +password_invalid=Invalid password. Please try again. +password_ok=OK +password_cancel=Cancel + +printing_not_supported=Warning: Printing is not fully supported by this browser. +printing_not_ready=Warning: The PDF is not fully loaded for printing. +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. + diff --git a/media/js/pdf/web/locale/br/viewer.properties b/media/js/pdf/web/locale/br/viewer.properties new file mode 100644 index 0000000000..ea3b6963da --- /dev/null +++ b/media/js/pdf/web/locale/br/viewer.properties @@ -0,0 +1,247 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pajenn a-raok +previous_label=A-raok +next.title=Pajenn war-lerc'h +next_label=War-lerc'h + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pajenn +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=eus {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} war {{pagesCount}}) + +zoom_out.title=Zoum bihanaat +zoom_out_label=Zoum bihanaat +zoom_in.title=Zoum brasaat +zoom_in_label=Zoum brasaat +zoom.title=Zoum +presentation_mode.title=Trec'haoliñ etrezek ar mod kinnigadenn +presentation_mode_label=Mod kinnigadenn +open_file.title=Digeriñ ur restr +open_file_label=Digeriñ ur restr +print.title=Moullañ +print_label=Moullañ +download.title=Pellgargañ +download_label=Pellgargañ +bookmark.title=Gwel bremanel (eilañ pe zigeriñ e-barzh ur prenestr nevez) +bookmark_label=Gwel bremanel + +# Secondary toolbar and context menu +tools.title=Ostilhoù +tools_label=Ostilhoù +first_page.title=Mont d'ar bajenn gentañ +first_page_label=Mont d'ar bajenn gentañ +last_page.title=Mont d'ar bajenn diwezhañ +last_page_label=Mont d'ar bajenn diwezhañ +page_rotate_cw.title=C'hwelañ gant roud ar bizied +page_rotate_cw_label=C'hwelañ gant roud ar bizied +page_rotate_ccw.title=C'hwelañ gant roud gin ar bizied +page_rotate_ccw_label=C'hwelañ gant roud gin ar bizied + +cursor_text_select_tool.title=Gweredekaat an ostilh diuzañ testenn +cursor_text_select_tool_label=Ostilh diuzañ testenn +cursor_hand_tool.title=Gweredekaat an ostilh dorn +cursor_hand_tool_label=Ostilh dorn + +scroll_vertical.title=Arverañ an dibunañ a-blom +scroll_vertical_label=Dibunañ a-serzh +scroll_horizontal.title=Arverañ an dibunañ a-blaen +scroll_horizontal_label=Dibunañ a-blaen +scroll_wrapped.title=Arverañ an dibunañ paket +scroll_wrapped_label=Dibunañ paket + +spread_none.title=Chom hep stagañ ar skignadurioù +spread_none_label=Skignadenn ebet +spread_odd.title=Lakaat ar pajennadoù en ur gregiñ gant ar pajennoù ampar +spread_odd_label=Pajennoù ampar +spread_even.title=Lakaat ar pajennadoù en ur gregiñ gant ar pajennoù par +spread_even_label=Pajennoù par + +# Document properties dialog box +document_properties.title=Perzhioù an teul… +document_properties_label=Perzhioù an teul… +document_properties_file_name=Anv restr: +document_properties_file_size=Ment ar restr: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} Ke ({{size_b}} eizhbit) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} Me ({{size_b}} eizhbit) +document_properties_title=Titl: +document_properties_author=Aozer: +document_properties_subject=Danvez: +document_properties_keywords=Gerioù-alc'hwez: +document_properties_creation_date=Deiziad krouiñ: +document_properties_modification_date=Deiziad kemmañ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Krouer: +document_properties_producer=Kenderc'her PDF: +document_properties_version=Handelv PDF: +document_properties_page_count=Niver a bajennoù: +document_properties_page_size=Ment ar bajenn: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=poltred +document_properties_page_size_orientation_landscape=gweledva +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Lizher +document_properties_page_size_name_legal=Lezennel +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Gwel Web Herrek: +document_properties_linearized_yes=Ya +document_properties_linearized_no=Ket +document_properties_close=Serriñ + +print_progress_message=O prientiñ an teul evit moullañ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Nullañ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Diskouez/kuzhat ar varrenn gostez +toggle_sidebar_notification2.title=Trec'haoliñ ar varrenn-gostez (ur steuñv pe stagadennoù a zo en teul) +toggle_sidebar_label=Diskouez/kuzhat ar varrenn gostez +document_outline.title=Diskouez steuñv an teul (daouglikit evit brasaat/bihanaat an holl elfennoù) +document_outline_label=Sinedoù an teuliad +attachments.title=Diskouez ar c'henstagadurioù +attachments_label=Kenstagadurioù +layers.title=Diskouez ar gwiskadoù (daou-glikañ evit adderaouekaat an holl gwiskadoù d'o stad dre ziouer) +layers_label=Gwiskadoù +thumbs.title=Diskouez ar melvennoù +thumbs_label=Melvennoù +findbar.title=Klask e-barzh an teuliad +findbar_label=Klask + +additional_layers=Gwiskadoù ouzhpenn +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pajenn {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pajenn {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Melvenn ar bajenn {{page}} + +# Find panel button title and messages +find_input.title=Klask +find_input.placeholder=Klask e-barzh an teuliad +find_previous.title=Kavout an tamm frazenn kent o klotañ ganti +find_previous_label=Kent +find_next.title=Kavout an tamm frazenn war-lerc'h o klotañ ganti +find_next_label=War-lerc'h +find_highlight=Usskediñ pep tra +find_match_case_label=Teurel evezh ouzh ar pennlizherennoù +find_entire_word_label=Gerioù a-bezh +find_reached_top=Tizhet eo bet derou ar bajenn, kenderc'hel diouzh an diaz +find_reached_bottom=Tizhet eo bet dibenn ar bajenn, kenderc'hel diouzh ar c'hrec'h +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Klotadenn {{current}} war {{total}} +find_match_count[two]=Klotadenn {{current}} war {{total}} +find_match_count[few]=Klotadenn {{current}} war {{total}} +find_match_count[many]=Klotadenn {{current}} war {{total}} +find_match_count[other]=Klotadenn {{current}} war {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Muioc'h eget {{limit}} a glotadennoù +find_match_count_limit[one]=Muioc'h eget {{limit}} a glotadennoù +find_match_count_limit[two]=Muioc'h eget {{limit}} a glotadennoù +find_match_count_limit[few]=Muioc'h eget {{limit}} a glotadennoù +find_match_count_limit[many]=Muioc'h eget {{limit}} a glotadennoù +find_match_count_limit[other]=Muioc'h eget {{limit}} a glotadennoù +find_not_found=N'haller ket kavout ar frazenn + +# Error panel labels +error_more_info=Muioc'h a ditouroù +error_less_info=Nebeutoc'h a ditouroù +error_close=Serriñ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js handelv {{version}} (kempunadur: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Kemennadenn: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Torn: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Restr: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linenn: {{line}} +rendering_error=Degouezhet ez eus bet ur fazi e-pad skrammañ ar bajennad. + +# Predefined zoom values +page_scale_width=Led ar bajenn +page_scale_fit=Pajenn a-bezh +page_scale_auto=Zoum emgefreek +page_scale_actual=Ment wir +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=O kargañ… +loading_error=Degouezhet ez eus bet ur fazi e-pad kargañ ar PDF. +invalid_file_error=Restr PDF didalvoudek pe kontronet. +missing_file_error=Restr PDF o vankout. +unexpected_response_error=Respont dic'hortoz a-berzh an dafariad + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Notennañ] +password_label=Enankit ar ger-tremen evit digeriñ ar restr PDF-mañ. +password_invalid=Ger-tremen didalvoudek. Klaskit en-dro mar plij. +password_ok=Mat eo +password_cancel=Nullañ + +printing_not_supported=Kemenn: N'eo ket skoret penn-da-benn ar moullañ gant ar merdeer-mañ. +printing_not_ready=Kemenn: N'hall ket bezañ moullet ar restr PDF rak n'eo ket karget penn-da-benn. +web_fonts_disabled=Diweredekaet eo an nodrezhoù web: n'haller ket arverañ an nodrezhoù PDF enframmet. + diff --git a/media/js/pdf/web/locale/brx/viewer.properties b/media/js/pdf/web/locale/brx/viewer.properties new file mode 100644 index 0000000000..821150518c --- /dev/null +++ b/media/js/pdf/web/locale/brx/viewer.properties @@ -0,0 +1,205 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=आगोलनि बिलाइ +previous_label=आगोलनि +next.title=उननि बिलाइ +next_label=उननि + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=बिलाइ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} नि +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} नि {{pageNumber}}) + +zoom_out.title=फिसायै जुम खालाम +zoom_out_label=फिसायै जुम खालाम +zoom_in.title=गेदेरै जुम खालाम +zoom_in_label=गेदेरै जुम खालाम +zoom.title=जुम खालाम +presentation_mode.title=दिन्थिफुंनाय म'डआव थां +presentation_mode_label=दिन्थिफुंनाय म'ड +open_file.title=फाइलखौ खेव +open_file_label=खेव +print.title=साफाय +print_label=साफाय +download.title=डाउनल'ड खालाम +download_label=डाउनल'ड खालाम +bookmark.title=दानि नुथाय (गोदान उइन्ड'आव कपि खालाम एबा खेव) +bookmark_label=दानि नुथाय + +# Secondary toolbar and context menu +tools.title=टुल +tools_label=टुल +first_page.title=गिबि बिलाइआव थां +first_page_label=गिबि बिलाइआव थां +last_page.title=जोबथा बिलाइआव थां +last_page_label=जोबथा बिलाइआव थां +page_rotate_cw.title=घरि गिदिंनाय फार्से फिदिं +page_rotate_cw_label=घरि गिदिंनाय फार्से फिदिं +page_rotate_ccw.title=घरि गिदिंनाय उल्था फार्से फिदिं +page_rotate_ccw_label=घरि गिदिंनाय उल्था फार्से फिदिं + + + + +# Document properties dialog box +document_properties.title=फोरमान बिलाइनि आखुथाय... +document_properties_label=फोरमान बिलाइनि आखुथाय... +document_properties_file_name=फाइलनि मुं: +document_properties_file_size=फाइलनि महर: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} बाइट) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} बाइट) +document_properties_title=बिमुं: +document_properties_author=लिरगिरि: +document_properties_subject=आयदा: +document_properties_keywords=गाहाय सोदोब: +document_properties_creation_date=सोरजिनाय अक्ट': +document_properties_modification_date=सुद्रायनाय अक्ट': +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=सोरजिग्रा: +document_properties_producer=PDF दिहुनग्रा: +document_properties_version=PDF बिसान: +document_properties_page_count=बिलाइनि हिसाब: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=प'र्ट्रेट +document_properties_page_size_orientation_landscape=लेण्डस्केप +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=लायजाम +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=नंगौ +document_properties_linearized_no=नङा +document_properties_close=बन्द खालाम + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=नेवसि + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=टग्गल साइडबार +toggle_sidebar_label=टग्गल साइडबार +document_outline_label=फोरमान बिलाइ सिमा हांखो +attachments.title=नांजाब होनायखौ दिन्थि +attachments_label=नांजाब होनाय +thumbs.title=थामनेइलखौ दिन्थि +thumbs_label=थामनेइल +findbar.title=फोरमान बिलाइआव नागिरना दिहुन +findbar_label=नायगिरना दिहुन + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=बिलाइ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=बिलाइ {{page}} नि थामनेइल + +# Find panel button title and messages +find_input.title=नायगिरना दिहुन +find_input.placeholder=फोरमान बिलाइआव नागिरना दिहुन... +find_previous.title=बाथ्रा खोन्दोबनि सिगांनि नुजाथिनायखौ नागिर +find_previous_label=आगोलनि +find_next.title=बाथ्रा खोन्दोबनि उननि नुजाथिनायखौ नागिर +find_next_label=उननि +find_highlight=गासैखौबो हाइलाइट खालाम +find_match_case_label=गोरोबनाय केस +find_reached_top=थालो निफ्राय जागायनानै फोरमान बिलाइनि बिजौआव सौहैबाय +find_reached_bottom=बिजौ निफ्राय जागायनानै फोरमान बिलाइनि बिजौआव सौहैबाय +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_not_found=बाथ्रा खोन्दोब मोनाखै + +# Error panel labels +error_more_info=गोबां फोरमायथिहोग्रा +error_less_info=खम फोरमायथिहोग्रा +error_close=बन्द खालाम +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=खौरां: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=स्टेक: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=फाइल: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=सारि: {{line}} +rendering_error=बिलाइखौ राव सोलायनाय समाव मोनसे गोरोन्थि जादों। + +# Predefined zoom values +page_scale_width=बिलाइनि गुवार +page_scale_fit=बिलाइ गोरोबनाय +page_scale_auto=गावनोगाव जुम +page_scale_actual=थार महर +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF ल'ड खालामनाय समाव मोनसे गोरोन्थि जाबाय। +invalid_file_error=बाहायजायै एबा गाज्रि जानाय PDF फाइल +missing_file_error=गोमानाय PDF फाइल +unexpected_response_error=मिजिंथियै सार्भार फिननाय। + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} सोदोब बेखेवनाय] +password_label=बे PDF फाइलखौ खेवनो पासवार्ड हाबहो। +password_invalid=बाहायजायै पासवार्ड। अननानै फिन नाजा। +password_ok=OK +password_cancel=नेवसि + +printing_not_supported=सांग्रांथि: साफायनाया बे ब्राउजारजों आबुङै हेफाजाब होजाया। +printing_not_ready=सांग्रांथि: PDF खौ साफायनायनि थाखाय फुरायै ल'ड खालामाखै। +web_fonts_disabled=वेब फन्टखौ लोरबां खालामबाय: अरजाबहोनाय PDF फन्टखौ बाहायनो हायाखै। + diff --git a/media/js/pdf/web/locale/bs/viewer.properties b/media/js/pdf/web/locale/bs/viewer.properties new file mode 100644 index 0000000000..b482bb169c --- /dev/null +++ b/media/js/pdf/web/locale/bs/viewer.properties @@ -0,0 +1,194 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Prethodna strana +previous_label=Prethodna +next.title=Sljedeća strna +next_label=Sljedeća + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strana +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Umanji +zoom_out_label=Umanji +zoom_in.title=Uvećaj +zoom_in_label=Uvećaj +zoom.title=Uvećanje +presentation_mode.title=Prebaci se u prezentacijski režim +presentation_mode_label=Prezentacijski režim +open_file.title=Otvori fajl +open_file_label=Otvori +print.title=Štampaj +print_label=Štampaj +download.title=Preuzmi +download_label=Preuzmi +bookmark.title=Trenutni prikaz (kopiraj ili otvori u novom prozoru) +bookmark_label=Trenutni prikaz + +# Secondary toolbar and context menu +tools.title=Alati +tools_label=Alati +first_page.title=Idi na prvu stranu +first_page_label=Idi na prvu stranu +last_page.title=Idi na zadnju stranu +last_page_label=Idi na zadnju stranu +page_rotate_cw.title=Rotiraj u smjeru kazaljke na satu +page_rotate_cw_label=Rotiraj u smjeru kazaljke na satu +page_rotate_ccw.title=Rotiraj suprotno smjeru kazaljke na satu +page_rotate_ccw_label=Rotiraj suprotno smjeru kazaljke na satu + +cursor_text_select_tool.title=Omogući alat za označavanje teksta +cursor_text_select_tool_label=Alat za označavanje teksta +cursor_hand_tool.title=Omogući ručni alat +cursor_hand_tool_label=Ručni alat + +# Document properties dialog box +document_properties.title=Svojstva dokumenta... +document_properties_label=Svojstva dokumenta... +document_properties_file_name=Naziv fajla: +document_properties_file_size=Veličina fajla: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajta) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajta) +document_properties_title=Naslov: +document_properties_author=Autor: +document_properties_subject=Predmet: +document_properties_keywords=Ključne riječi: +document_properties_creation_date=Datum kreiranja: +document_properties_modification_date=Datum promjene: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Kreator: +document_properties_producer=PDF stvaratelj: +document_properties_version=PDF verzija: +document_properties_page_count=Broj stranica: +document_properties_page_size=Veličina stranice: +document_properties_page_size_unit_inches=u +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=uspravno +document_properties_page_size_orientation_landscape=vodoravno +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Pismo +document_properties_page_size_name_legal=Pravni +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +document_properties_close=Zatvori + +print_progress_message=Pripremam dokument za štampu… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Otkaži + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Uključi/isključi bočnu traku +toggle_sidebar_label=Uključi/isključi bočnu traku +document_outline.title=Prikaži outline dokumenta (dvoklik za skupljanje/širenje svih stavki) +document_outline_label=Konture dokumenta +attachments.title=Prikaži priloge +attachments_label=Prilozi +thumbs.title=Prikaži thumbnailove +thumbs_label=Thumbnailovi +findbar.title=Pronađi u dokumentu +findbar_label=Pronađi + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Strana {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail strane {{page}} + +# Find panel button title and messages +find_input.title=Pronađi +find_input.placeholder=Pronađi u dokumentu… +find_previous.title=Pronađi prethodno pojavljivanje fraze +find_previous_label=Prethodno +find_next.title=Pronađi sljedeće pojavljivanje fraze +find_next_label=Sljedeće +find_highlight=Označi sve +find_match_case_label=Osjetljivost na karaktere +find_reached_top=Dostigao sam vrh dokumenta, nastavljam sa dna +find_reached_bottom=Dostigao sam kraj dokumenta, nastavljam sa vrha +find_not_found=Fraza nije pronađena + +# Error panel labels +error_more_info=Više informacija +error_less_info=Manje informacija +error_close=Zatvori +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Poruka: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fajl: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linija: {{line}} +rendering_error=Došlo je do greške prilikom renderiranja strane. + +# Predefined zoom values +page_scale_width=Širina strane +page_scale_fit=Uklopi stranu +page_scale_auto=Automatsko uvećanje +page_scale_actual=Stvarna veličina +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Došlo je do greške prilikom učitavanja PDF-a. +invalid_file_error=Neispravan ili oštećen PDF fajl. +missing_file_error=Nedostaje PDF fajl. +unexpected_response_error=Neočekivani odgovor servera. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} pribilješka] +password_label=Upišite lozinku da biste otvorili ovaj PDF fajl. +password_invalid=Pogrešna lozinka. Pokušajte ponovo. +password_ok=OK +password_cancel=Otkaži + +printing_not_supported=Upozorenje: Štampanje nije u potpunosti podržano u ovom browseru. +printing_not_ready=Upozorenje: PDF nije u potpunosti učitan za štampanje. +web_fonts_disabled=Web fontovi su onemogućeni: nemoguće koristiti ubačene PDF fontove. + diff --git a/media/js/pdf/web/locale/ca/viewer.properties b/media/js/pdf/web/locale/ca/viewer.properties new file mode 100644 index 0000000000..969b91e2e3 --- /dev/null +++ b/media/js/pdf/web/locale/ca/viewer.properties @@ -0,0 +1,279 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pàgina anterior +previous_label=Anterior +next.title=Pàgina següent +next_label=Següent + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pàgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Redueix +zoom_out_label=Redueix +zoom_in.title=Amplia +zoom_in_label=Amplia +zoom.title=Escala +presentation_mode.title=Canvia al mode de presentació +presentation_mode_label=Mode de presentació +open_file.title=Obre el fitxer +open_file_label=Obre +print.title=Imprimeix +print_label=Imprimeix +download.title=Baixa +download_label=Baixa +save.title=Desa +save_label=Desa +bookmark.title=Vista actual (copia o obre en una finestra nova) +bookmark_label=Vista actual + +bookmark1.title=Pàgina actual (mostra l'URL de la pàgina actual) +bookmark1_label=Pàgina actual + +# Secondary toolbar and context menu +tools.title=Eines +tools_label=Eines +first_page.title=Vés a la primera pàgina +first_page_label=Vés a la primera pàgina +last_page.title=Vés a l'última pàgina +last_page_label=Vés a l'última pàgina +page_rotate_cw.title=Gira cap a la dreta +page_rotate_cw_label=Gira cap a la dreta +page_rotate_ccw.title=Gira cap a l'esquerra +page_rotate_ccw_label=Gira cap a l'esquerra + +cursor_text_select_tool.title=Habilita l'eina de selecció de text +cursor_text_select_tool_label=Eina de selecció de text +cursor_hand_tool.title=Habilita l'eina de mà +cursor_hand_tool_label=Eina de mà + +scroll_page.title=Usa el desplaçament de pàgina +scroll_page_label=Desplaçament de pàgina +scroll_vertical.title=Utilitza el desplaçament vertical +scroll_vertical_label=Desplaçament vertical +scroll_horizontal.title=Utilitza el desplaçament horitzontal +scroll_horizontal_label=Desplaçament horitzontal +scroll_wrapped.title=Activa el desplaçament continu +scroll_wrapped_label=Desplaçament continu + +spread_none.title=No agrupis les pàgines de dues en dues +spread_none_label=Una sola pàgina +spread_odd.title=Mostra dues pàgines començant per les pàgines de numeració senar +spread_odd_label=Doble pàgina (senar) +spread_even.title=Mostra dues pàgines començant per les pàgines de numeració parell +spread_even_label=Doble pàgina (parell) + +# Document properties dialog box +document_properties.title=Propietats del document… +document_properties_label=Propietats del document… +document_properties_file_name=Nom del fitxer: +document_properties_file_size=Mida del fitxer: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Títol: +document_properties_author=Autor: +document_properties_subject=Assumpte: +document_properties_keywords=Paraules clau: +document_properties_creation_date=Data de creació: +document_properties_modification_date=Data de modificació: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creador: +document_properties_producer=Generador de PDF: +document_properties_version=Versió de PDF: +document_properties_page_count=Nombre de pàgines: +document_properties_page_size=Mida de la pàgina: +document_properties_page_size_unit_inches=polzades +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=apaïsat +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web ràpida: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Tanca + +print_progress_message=S'està preparant la impressió del document… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel·la + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Mostra/amaga la barra lateral +toggle_sidebar_notification2.title=Mostra/amaga la barra lateral (el document conté un esquema, adjuncions o capes) +toggle_sidebar_label=Mostra/amaga la barra lateral +document_outline.title=Mostra l'esquema del document (doble clic per ampliar/reduir tots els elements) +document_outline_label=Esquema del document +attachments.title=Mostra les adjuncions +attachments_label=Adjuncions +layers.title=Mostra les capes (doble clic per restablir totes les capes al seu estat per defecte) +layers_label=Capes +thumbs.title=Mostra les miniatures +thumbs_label=Miniatures +current_outline_item.title=Cerca l'element d'esquema actual +current_outline_item_label=Element d'esquema actual +findbar.title=Cerca al document +findbar_label=Cerca + +additional_layers=Capes addicionals +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pàgina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pàgina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de la pàgina {{page}} + +# Find panel button title and messages +find_input.title=Cerca +find_input.placeholder=Cerca al document… +find_previous.title=Cerca l'anterior coincidència de l'expressió +find_previous_label=Anterior +find_next.title=Cerca la següent coincidència de l'expressió +find_next_label=Següent +find_highlight=Ressalta-ho tot +find_match_case_label=Distingeix entre majúscules i minúscules +find_match_diacritics_label=Respecta els diacrítics +find_entire_word_label=Paraules senceres +find_reached_top=S'ha arribat al principi del document, es continua pel final +find_reached_bottom=S'ha arribat al final del document, es continua pel principi +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidència +find_match_count[two]={{current}} de {{total}} coincidències +find_match_count[few]={{current}} de {{total}} coincidències +find_match_count[many]={{current}} de {{total}} coincidències +find_match_count[other]={{current}} de {{total}} coincidències +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Més de {{limit}} coincidències +find_match_count_limit[one]=Més d'{{limit}} coincidència +find_match_count_limit[two]=Més de {{limit}} coincidències +find_match_count_limit[few]=Més de {{limit}} coincidències +find_match_count_limit[many]=Més de {{limit}} coincidències +find_match_count_limit[other]=Més de {{limit}} coincidències +find_not_found=No s'ha trobat l'expressió + +# Error panel labels +error_more_info=Més informació +error_less_info=Menys informació +error_close=Tanca +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (muntatge: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Missatge: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fitxer: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Línia: {{line}} + +# Predefined zoom values +page_scale_width=Amplada de la pàgina +page_scale_fit=Ajusta la pàgina +page_scale_auto=Zoom automàtic +page_scale_actual=Mida real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=S'està carregant… + +# Loading indicator messages +loading_error=S'ha produït un error en carregar el PDF. +invalid_file_error=El fitxer PDF no és vàlid o està malmès. +missing_file_error=Falta el fitxer PDF. +unexpected_response_error=Resposta inesperada del servidor. + +rendering_error=S'ha produït un error mentre es renderitzava la pàgina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotació {{type}}] +password_label=Introduïu la contrasenya per obrir aquest fitxer PDF. +password_invalid=La contrasenya no és vàlida. Torneu-ho a provar. +password_ok=D'acord +password_cancel=Cancel·la + +printing_not_supported=Avís: la impressió no és plenament funcional en aquest navegador. +printing_not_ready=Atenció: el PDF no s'ha acabat de carregar per imprimir-lo. +web_fonts_disabled=Els tipus de lletra web estan desactivats: no es poden utilitzar els tipus de lletra incrustats al PDF. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Dibuixa +editor_ink2_label=Dibuixa + +free_text2_default_content=Escriviu… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Mida +editor_ink_color=Color +editor_ink_thickness=Gruix +editor_ink_opacity=Opacitat + +# Editor aria +editor_free_text2_aria_label=Editor de text +editor_ink2_aria_label=Editor de dibuix +editor_ink_canvas_aria_label=Imatge creada per l'usuari diff --git a/media/js/pdf/web/locale/cak/viewer.properties b/media/js/pdf/web/locale/cak/viewer.properties new file mode 100644 index 0000000000..1073ac6a20 --- /dev/null +++ b/media/js/pdf/web/locale/cak/viewer.properties @@ -0,0 +1,278 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Jun kan ruxaq +previous_label=Jun kan +next.title=Jun chik ruxaq +next_label=Jun chik + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Ruxaq +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=richin {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} richin {{pagesCount}}) + +zoom_out.title=Tich'utinirisäx +zoom_out_label=Tich'utinirisäx +zoom_in.title=Tinimirisäx +zoom_in_label=Tinimirisäx +zoom.title=Sum +presentation_mode.title=Tijal ri rub'anikil niwachin +presentation_mode_label=Pa rub'eyal niwachin +open_file.title=Tijaq Yakb'äl +open_file_label=Tijaq +print.title=Titz'ajb'äx +print_label=Titz'ajb'äx +download.title=Tiqasäx +download_label=Tiqasäx +bookmark.title=Rutz'etik wakami (tiwachib'ëx o tijaq pa jun k'ak'a' tzuwäch) +bookmark_label=Rutzub'al wakami + +save.title=Tiyak +save_label=Tiyak +bookmark1_label=Ruxaq k'o wakami + +# Secondary toolbar and context menu +tools.title=Samajib'äl +tools_label=Samajib'äl +first_page.title=Tib'e pa nab'ey ruxaq +first_page_label=Tib'e pa nab'ey ruxaq +last_page.title=Tib'e pa ruk'isib'äl ruxaq +last_page_label=Tib'e pa ruk'isib'äl ruxaq +page_rotate_cw.title=Tisutïx pan ajkiq'a' +page_rotate_cw_label=Tisutïx pan ajkiq'a' +page_rotate_ccw.title=Tisutïx pan ajxokon +page_rotate_ccw_label=Tisutïx pan ajxokon + +cursor_text_select_tool.title=Titzij ri rusamajib'al Rucha'ik Rucholajem Tzij +cursor_text_select_tool_label=Rusamajib'al Rucha'ik Rucholajem Tzij +cursor_hand_tool.title=Titzij ri q'ab'aj samajib'äl +cursor_hand_tool_label=Q'ab'aj Samajib'äl + +scroll_page.title=Tokisäx Ruxaq Q'axanem +scroll_page_label=Ruxaq Q'axanem +scroll_vertical.title=Tokisäx Pa'äl Q'axanem +scroll_vertical_label=Pa'äl Q'axanem +scroll_horizontal.title=Tokisäx Kotz'öl Q'axanem +scroll_horizontal_label=Kotz'öl Q'axanem +scroll_wrapped.title=Tokisäx Tzub'aj Q'axanem +scroll_wrapped_label=Tzub'aj Q'axanem + +spread_none.title=Man ketun taq ruxaq pa rub'eyal wuj +spread_none_label=Majun Rub'eyal +spread_odd.title=Ke'atunu' ri taq ruxaq rik'in natikirisaj rik'in jun man k'ulaj ta rajilab'al +spread_odd_label=Man K'ulaj Ta Rub'eyal +spread_even.title=Ke'atunu' ri taq ruxaq rik'in natikirisaj rik'in jun k'ulaj rajilab'al +spread_even_label=K'ulaj Rub'eyal + +# Document properties dialog box +document_properties.title=Taq richinil wuj… +document_properties_label=Taq richinil wuj… +document_properties_file_name=Rub'i' yakb'äl: +document_properties_file_size=Runimilem yakb'äl: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=B'i'aj: +document_properties_author=B'anel: +document_properties_subject=Taqikil: +document_properties_keywords=Kixe'el taq tzij: +document_properties_creation_date=Ruq'ijul xtz'uk: +document_properties_modification_date=Ruq'ijul xjalwachïx: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Q'inonel: +document_properties_producer=PDF b'anöy: +document_properties_version=PDF ruwäch: +document_properties_page_count=Jarupe' ruxaq: +document_properties_page_size=Runimilem ri Ruxaq: +document_properties_page_size_unit_inches=pa +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=rupalem +document_properties_page_size_orientation_landscape=rukotz'olem +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Loman wuj +document_properties_page_size_name_legal=Taqanel tzijol +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Anin Rutz'etik Ajk'amaya'l: +document_properties_linearized_yes=Ja' +document_properties_linearized_no=Mani +document_properties_close=Titz'apïx + +print_progress_message=Ruchojmirisaxik wuj richin nitz'ajb'äx… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Tiq'at + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Tijal ri ajxikin kajtz'ik +toggle_sidebar_notification2.title=Tik'ex ri ajxikin yuqkajtz'ik (ri wuj eruk'wan taq ruchi'/taqo/kuchuj) +toggle_sidebar_label=Tijal ri ajxikin kajtz'ik +document_outline.title=Tik'ut pe ruch'akulal wuj (kamul-pitz'oj richin nirik'/nich'utinirisäx ronojel ruch'akulal) +document_outline_label=Ruch'akulal wuj +attachments.title=Kek'ut pe ri taq taqoj +attachments_label=Taq taqoj +layers.title=Kek'ut taq Kuchuj (ka'i'-pitz' richin yetzolïx ronojel ri taq kuchuj e k'o wi) +layers_label=Taq kuchuj +thumbs.title=Kek'ut pe taq ch'utiq +thumbs_label=Koköj +current_outline_item.title=Kekanöx Taq Ch'akulal Kik'wan Chib'äl +current_outline_item_label=Taq Ch'akulal Kik'wan Chib'äl +findbar.title=Tikanöx chupam ri wuj +findbar_label=Tikanöx + +additional_layers=Tz'aqat ta Kuchuj +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Ruxaq {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Ruxaq {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Ruch'utinirisaxik ruxaq {{page}} + +# Find panel button title and messages +find_input.title=Tikanöx +find_input.placeholder=Tikanöx pa wuj… +find_previous.title=Tib'an b'enam pa ri jun kan q'aptzij xilitäj +find_previous_label=Jun kan +find_next.title=Tib'e pa ri jun chik pajtzij xilitäj +find_next_label=Jun chik +find_highlight=Tiya' retal ronojel +find_match_case_label=Tuk'äm ri' kik'in taq nimatz'ib' chuqa' taq ch'utitz'ib' +find_match_diacritics_label=Tiya' Kikojol Tz'aqat taq Tz'ib' +find_entire_word_label=Tz'aqät taq tzij +find_reached_top=Xb'eq'i' ri rutikirib'al wuj, xtikanöx k'a pa ruk'isib'äl +find_reached_bottom=Xb'eq'i' ri ruk'isib'äl wuj, xtikanöx pa rutikirib'al +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} richin {{total}} nuk'äm ri' +find_match_count[two]={{current}} richin {{total}} nikik'äm ki' +find_match_count[few]={{current}} richin {{total}} nikik'äm ki' +find_match_count[many]={{current}} richin {{total}} nikik'äm ki' +find_match_count[other]={{current}} richin {{total}} nikik'äm ki' +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=K'ïy chi re {{limit}} nikik'äm ki' +find_match_count_limit[one]=K'ïy chi re {{limit}} nuk'äm ri' +find_match_count_limit[two]=K'ïy chi re {{limit}} nikik'äm ki' +find_match_count_limit[few]=K'ïy chi re {{limit}} nikik'äm ki' +find_match_count_limit[many]=K'ïy chi re {{limit}} nikik'äm ki' +find_match_count_limit[other]=K'ïy chi re {{limit}} nikik'äm ki' +find_not_found=Man xilitäj ta ri pajtzij + +# Error panel labels +error_more_info=Ch'aqa' chik rutzijol +error_less_info=Jub'a' ok rutzijol +error_close=Titz'apïx +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Uqxa'n: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Tzub'aj: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Yakb'äl: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=B'ey: {{line}} + +# Predefined zoom values +page_scale_width=Ruwa ruxaq +page_scale_fit=Tinuk' ruxaq +page_scale_auto=Yonil chi nimilem +page_scale_actual=Runimilem Wakami +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Nisamäj… + +# Loading indicator messages +loading_error=\u0020Xk'ulwachitäj jun sach'oj toq xnuk'ux ri PDF . +invalid_file_error=Man oke ta o yujtajinäq ri PDF yakb'äl. +missing_file_error=Man xilitäj ta ri PDF yakb'äl. +unexpected_response_error=Man oyob'en ta tz'olin rutzij ruk'u'x samaj. + +rendering_error=Xk'ulwachitäj jun sachoj toq ninuk'wachij ri ruxaq. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Tz'ib'anïk] +password_label=Tatz'ib'aj ri ewan tzij richin najäq re yakb'äl re' pa PDF. +password_invalid=Man okel ta ri ewan tzij: Tatojtob'ej chik. +password_ok=Ütz +password_cancel=Tiq'at + +printing_not_supported=Rutzijol k'ayewal: Ri rutz'ajb'axik man koch'el ta ronojel pa re okik'amaya'l re'. +printing_not_ready=Rutzijol k'ayewal: Ri PDF man xusamajij ta ronojel richin nitz'ajb'äx. +web_fonts_disabled=E chupül ri taq ajk'amaya'l tz'ib': man tikirel ta nokisäx ri taq tz'ib' PDF pa ch'ikenïk + +# Editor +editor_free_text2.title=Rucholajem tz'ib' +editor_free_text2_label=Rucholajem tz'ib' +editor_ink2.title=Tiwachib'ëx +editor_ink2_label=Tiwachib'ëx + +free_text2_default_content=Titikitisäx rutz'ib'axik… + +# Editor Parameters +editor_free_text_color=B'onil +editor_free_text_size=Nimilem +editor_ink_color=B'onil +editor_ink_thickness=Rupimil +editor_ink_opacity=Q'equmal + +# Editor aria +editor_free_text2_aria_label=Nuk'unel tz'ib'atzij +editor_ink2_aria_label=Nuk'unel wachib'äl +editor_ink_canvas_aria_label=Wachib'äl nuk'un ruma okisaxel diff --git a/media/js/pdf/web/locale/ckb/viewer.properties b/media/js/pdf/web/locale/ckb/viewer.properties new file mode 100644 index 0000000000..91403cd615 --- /dev/null +++ b/media/js/pdf/web/locale/ckb/viewer.properties @@ -0,0 +1,234 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=پەڕەی پێشوو +previous_label=پێشوو +next.title=پەڕەی دوواتر +next_label=دوواتر + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=پەرە +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=لە {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} لە {{pagesCount}}) + +zoom_out.title=ڕۆچوونی +zoom_out_label=ڕۆچوونی +zoom_in.title=هێنانەپێش +zoom_in_label=هێنانەپێش +zoom.title=زووم +presentation_mode.title=گۆڕین بۆ دۆخی پێشکەشکردن +presentation_mode_label=دۆخی پێشکەشکردن +open_file.title=پەڕگە بکەرەوە +open_file_label=کردنەوە +print.title=چاپکردن +print_label=چاپکردن +download.title=داگرتن +download_label=داگرتن +bookmark.title=پێشبینینی ئێستا(لەبەریبگرەوە یان پەنجەرەیەکی نوێ بکەرەوە) +bookmark_label=پیشبینینی ئێستا + +# Secondary toolbar and context menu +tools.title=ئامرازەکان +tools_label=ئامرازەکان +first_page.title=برۆ بۆ یەکەم پەڕە +first_page_label=بڕۆ بۆ یەکەم پەڕە +last_page.title=بڕۆ بۆ کۆتا پەڕە +last_page_label=بڕۆ بۆ کۆتا پەڕە +page_rotate_cw.title=ئاڕاستەی میلی کاتژمێر +page_rotate_cw_label=ئاڕاستەی میلی کاتژمێر +page_rotate_ccw.title=پێچەوانەی میلی کاتژمێر +page_rotate_ccw_label=پێچەوانەی میلی کاتژمێر + +cursor_text_select_tool.title=توڵامرازی نیشانکەری دەق چالاک بکە +cursor_text_select_tool_label=توڵامرازی نیشانکەری دەق +cursor_hand_tool.title=توڵامرازی دەستی چالاک بکە +cursor_hand_tool_label=توڵامرازی دەستی + +scroll_vertical.title=ناردنی ئەستوونی بەکاربێنە +scroll_vertical_label=ناردنی ئەستوونی +scroll_horizontal.title=ناردنی ئاسۆیی بەکاربێنە +scroll_horizontal_label=ناردنی ئاسۆیی +scroll_wrapped.title=ناردنی لوولکراو بەکاربێنە +scroll_wrapped_label=ناردنی لوولکراو + + +# Document properties dialog box +document_properties.title=تایبەتمەندییەکانی بەڵگەنامە... +document_properties_label=تایبەتمەندییەکانی بەڵگەنامە... +document_properties_file_name=ناوی پەڕگە: +document_properties_file_size=قەبارەی پەڕگە: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} کب ({{size_b}} بایت) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} مب ({{size_b}} بایت) +document_properties_title=سەردێڕ: +document_properties_author=نووسەر +document_properties_subject=بابەت: +document_properties_keywords=کلیلەوشە: +document_properties_creation_date=بەرواری درووستکردن: +document_properties_modification_date=بەرواری دەستکاریکردن: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=درووستکەر: +document_properties_producer=بەرهەمهێنەری PDF: +document_properties_version=وەشانی PDF: +document_properties_page_count=ژمارەی پەرەکان: +document_properties_page_size=قەبارەی پەڕە: +document_properties_page_size_unit_inches=ئینچ +document_properties_page_size_unit_millimeters=ملم +document_properties_page_size_orientation_portrait=پۆرترەیت(درێژ) +document_properties_page_size_orientation_landscape=پانیی +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=نامە +document_properties_page_size_name_legal=یاسایی +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=پیشاندانی وێبی خێرا: +document_properties_linearized_yes=بەڵێ +document_properties_linearized_no=نەخێر +document_properties_close=داخستن + +print_progress_message=بەڵگەنامە ئامادەدەکرێت بۆ چاپکردن... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=پاشگەزبوونەوە + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=لاتەنیشت پیشاندان/شاردنەوە +toggle_sidebar_label=لاتەنیشت پیشاندان/شاردنەوە +document_outline_label=سنووری چوارچێوە +attachments.title=پاشکۆکان پیشان بدە +attachments_label=پاشکۆکان +layers_label=چینەکان +thumbs.title=وێنۆچکە پیشان بدە +thumbs_label=وێنۆچکە +findbar.title=لە بەڵگەنامە بگەرێ +findbar_label=دۆزینەوە + +additional_layers=چینی زیاتر +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=پەڕەی {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=وێنۆچکەی پەڕەی {{page}} + +# Find panel button title and messages +find_input.title=دۆزینەوە +find_input.placeholder=لە بەڵگەنامە بگەرێ... +find_previous.title=هەبوونی پێشوو بدۆزرەوە لە ڕستەکەدا +find_previous_label=پێشوو +find_next.title=هەبوونی داهاتوو بدۆزەرەوە لە ڕستەکەدا +find_next_label=دوواتر +find_highlight=هەمووی نیشانە بکە +find_match_case_label=دۆخی لەیەکچوون +find_entire_word_label=هەموو وشەکان +find_reached_top=گەشتیتە سەرەوەی بەڵگەنامە، لە خوارەوە دەستت پێکرد +find_reached_bottom=گەشتیتە کۆتایی بەڵگەنامە. لەسەرەوە دەستت پێکرد +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} لە کۆی {{total}} لەیەکچوو +find_match_count[two]={{current}} لە کۆی {{total}} لەیەکچوو +find_match_count[few]={{current}} لە کۆی {{total}} لەیەکچوو +find_match_count[many]={{current}} لە کۆی {{total}} لەیەکچوو +find_match_count[other]={{current}} لە کۆی {{total}} لەیەکچوو +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=زیاتر لە {{limit}} لەیەکچوو +find_match_count_limit[one]=زیاتر لە {{limit}} لەیەکچوو +find_match_count_limit[two]=زیاتر لە {{limit}} لەیەکچوو +find_match_count_limit[few]=زیاتر لە {{limit}} لەیەکچوو +find_match_count_limit[many]=زیاتر لە {{limit}} لەیەکچوو +find_match_count_limit[other]=زیاتر لە {{limit}} لەیەکچوو +find_not_found=نووسین نەدۆزرایەوە + +# Error panel labels +error_more_info=زانیاری زیاتر +error_less_info=زانیاری کەمتر +error_close=داخستن +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=پەیام: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=لەسەریەک: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=پەڕگە: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=هێڵ: {{line}} +rendering_error=هەڵەیەک ڕوویدا لە کاتی پوختەکردنی (ڕێندەر) پەڕە. + +# Predefined zoom values +page_scale_width=پانی پەڕە +page_scale_fit=پڕبوونی پەڕە +page_scale_auto=زوومی خۆکار +page_scale_actual=قەبارەی ڕاستی +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=هەڵەیەک ڕوویدا لە کاتی بارکردنی PDF. +invalid_file_error=پەڕگەی pdf تێکچووە یان نەگونجاوە. +missing_file_error=پەڕگەی pdf بوونی نیە. +unexpected_response_error=وەڵامی ڕاژەخوازی نەخوازراو. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} سەرنج] +password_label=وشەی تێپەڕ بنووسە بۆ کردنەوەی پەڕگەی pdf. +password_invalid=وشەی تێپەڕ هەڵەیە. تکایە دووبارە هەوڵ بدەرەوە. +password_ok=باشە +password_cancel=پاشگەزبوونەوە + +printing_not_supported=ئاگاداربە: چاپکردن بە تەواوی پشتگیر ناکرێت لەم وێبگەڕە. +printing_not_ready=ئاگاداربە: PDF بە تەواوی بارنەبووە بۆ چاپکردن. +web_fonts_disabled=جۆرەپیتی وێب ناچالاکە: نەتوانی جۆرەپیتی تێخراوی ناو pdfـەکە بەکاربێت. + diff --git a/media/js/pdf/web/locale/cs/viewer.properties b/media/js/pdf/web/locale/cs/viewer.properties new file mode 100644 index 0000000000..978c455290 --- /dev/null +++ b/media/js/pdf/web/locale/cs/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Přejde na předchozí stránku +previous_label=Předchozí +next.title=Přejde na následující stránku +next_label=Další + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Stránka +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Zmenší velikost +zoom_out_label=Zmenšit +zoom_in.title=Zvětší velikost +zoom_in_label=Zvětšit +zoom.title=Nastaví velikost +presentation_mode.title=Přepne do režimu prezentace +presentation_mode_label=Režim prezentace +open_file.title=Otevře soubor +open_file_label=Otevřít +print.title=Vytiskne dokument +print_label=Vytisknout +download.title=Stáhne dokument +download_label=Stáhnout +bookmark.title=Současný pohled (kopírovat nebo otevřít v novém okně) +bookmark_label=Současný pohled + +save.title=Uložit +save_label=Uložit +bookmark1.title=Aktuální stránka (zobrazit URL od aktuální stránky) +bookmark1_label=Aktuální stránka + +open_in_app.title=Otevřít v aplikaci +open_in_app_label=Otevřít v aplikaci + +# Secondary toolbar and context menu +tools.title=Nástroje +tools_label=Nástroje +first_page.title=Přejde na první stránku +first_page_label=Přejít na první stránku +last_page.title=Přejde na poslední stránku +last_page_label=Přejít na poslední stránku +page_rotate_cw.title=Otočí po směru hodin +page_rotate_cw_label=Otočit po směru hodin +page_rotate_ccw.title=Otočí proti směru hodin +page_rotate_ccw_label=Otočit proti směru hodin + +cursor_text_select_tool.title=Povolí výběr textu +cursor_text_select_tool_label=Výběr textu +cursor_hand_tool.title=Povolí nástroj ručička +cursor_hand_tool_label=Nástroj ručička + +scroll_page.title=Posouvat po stránkách +scroll_page_label=Posouvání po stránkách +scroll_vertical.title=Použít svislé posouvání +scroll_vertical_label=Svislé posouvání +scroll_horizontal.title=Použít vodorovné posouvání +scroll_horizontal_label=Vodorovné posouvání +scroll_wrapped.title=Použít postupné posouvání +scroll_wrapped_label=Postupné posouvání + +spread_none.title=Nesdružovat stránky +spread_none_label=Žádné sdružení +spread_odd.title=Sdruží stránky s umístěním lichých vlevo +spread_odd_label=Sdružení stránek (liché vlevo) +spread_even.title=Sdruží stránky s umístěním sudých vlevo +spread_even_label=Sdružení stránek (sudé vlevo) + +# Document properties dialog box +document_properties.title=Vlastnosti dokumentu… +document_properties_label=Vlastnosti dokumentu… +document_properties_file_name=Název souboru: +document_properties_file_size=Velikost souboru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtů) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtů) +document_properties_title=Název stránky: +document_properties_author=Autor: +document_properties_subject=Předmět: +document_properties_keywords=Klíčová slova: +document_properties_creation_date=Datum vytvoření: +document_properties_modification_date=Datum úpravy: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Vytvořil: +document_properties_producer=Tvůrce PDF: +document_properties_version=Verze PDF: +document_properties_page_count=Počet stránek: +document_properties_page_size=Velikost stránky: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=na výšku +document_properties_page_size_orientation_landscape=na šířku +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Dopis +document_properties_page_size_name_legal=Právní dokument +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Rychlé zobrazování z webu: +document_properties_linearized_yes=Ano +document_properties_linearized_no=Ne +document_properties_close=Zavřít + +print_progress_message=Příprava dokumentu pro tisk… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Zrušit + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Postranní lišta +toggle_sidebar_notification2.title=Přepnout postranní lištu (dokument obsahuje osnovu/přílohy/vrstvy) +toggle_sidebar_label=Postranní lišta +document_outline.title=Zobrazí osnovu dokumentu (poklepání přepne zobrazení všech položek) +document_outline_label=Osnova dokumentu +attachments.title=Zobrazí přílohy +attachments_label=Přílohy +layers.title=Zobrazit vrstvy (poklepáním obnovíte všechny vrstvy do výchozího stavu) +layers_label=Vrstvy +thumbs.title=Zobrazí náhledy +thumbs_label=Náhledy +current_outline_item.title=Najít aktuální položku v osnově +current_outline_item_label=Aktuální položka v osnově +findbar.title=Najde v dokumentu +findbar_label=Najít + +additional_layers=Další vrstvy +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Strana {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Strana {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Náhled strany {{page}} + +# Find panel button title and messages +find_input.title=Najít +find_input.placeholder=Najít v dokumentu… +find_previous.title=Najde předchozí výskyt hledaného textu +find_previous_label=Předchozí +find_next.title=Najde další výskyt hledaného textu +find_next_label=Další +find_highlight=Zvýraznit +find_match_case_label=Rozlišovat velikost +find_match_diacritics_label=Rozlišovat diakritiku +find_entire_word_label=Celá slova +find_reached_top=Dosažen začátek dokumentu, pokračuje se od konce +find_reached_bottom=Dosažen konec dokumentu, pokračuje se od začátku +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}}. z {{total}} výskytu +find_match_count[two]={{current}}. z {{total}} výskytů +find_match_count[few]={{current}}. z {{total}} výskytů +find_match_count[many]={{current}}. z {{total}} výskytů +find_match_count[other]={{current}}. z {{total}} výskytů +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Více než {{limit}} výskytů +find_match_count_limit[one]=Více než {{limit}} výskyt +find_match_count_limit[two]=Více než {{limit}} výskyty +find_match_count_limit[few]=Více než {{limit}} výskyty +find_match_count_limit[many]=Více než {{limit}} výskytů +find_match_count_limit[other]=Více než {{limit}} výskytů +find_not_found=Hledaný text nenalezen + +# Error panel labels +error_more_info=Více informací +error_less_info=Méně informací +error_close=Zavřít +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (sestavení: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Zpráva: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Zásobník: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Soubor: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Řádek: {{line}} + +# Predefined zoom values +page_scale_width=Podle šířky +page_scale_fit=Podle výšky +page_scale_auto=Automatická velikost +page_scale_actual=Skutečná velikost +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Načítání… + +# Loading indicator messages +loading_error=Při nahrávání PDF nastala chyba. +invalid_file_error=Neplatný nebo chybný soubor PDF. +missing_file_error=Chybí soubor PDF. +unexpected_response_error=Neočekávaná odpověď serveru. + +rendering_error=Při vykreslování stránky nastala chyba. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotace typu {{type}}] +password_label=Pro otevření PDF souboru vložte heslo. +password_invalid=Neplatné heslo. Zkuste to znovu. +password_ok=OK +password_cancel=Zrušit + +printing_not_supported=Upozornění: Tisk není v tomto prohlížeči plně podporován. +printing_not_ready=Upozornění: Dokument PDF není kompletně načten. +web_fonts_disabled=Webová písma jsou zakázána, proto není možné použít vložená písma PDF. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Kreslení +editor_ink2_label=Kreslení + +free_text2_default_content=Začněte psát… + +# Editor Parameters +editor_free_text_color=Barva +editor_free_text_size=Velikost +editor_ink_color=Barva +editor_ink_thickness=Tloušťka +editor_ink_opacity=Průhlednost + +# Editor aria +editor_free_text2_aria_label=Textový editor +editor_ink2_aria_label=Editor kreslení +editor_ink_canvas_aria_label=Uživatelem vytvořený obrázek diff --git a/media/js/pdf/web/locale/cy/viewer.properties b/media/js/pdf/web/locale/cy/viewer.properties new file mode 100644 index 0000000000..b3dc4a9b67 --- /dev/null +++ b/media/js/pdf/web/locale/cy/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Tudalen Flaenorol +previous_label=Blaenorol +next.title=Tudalen Nesaf +next_label=Nesaf + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Tudalen +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=o {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} o {{pagesCount}}) + +zoom_out.title=Chwyddo Allan +zoom_out_label=Chwyddo Allan +zoom_in.title=Chwyddo Mewn +zoom_in_label=Chwyddo Mewn +zoom.title=Chwyddo +presentation_mode.title=Newid i'r Modd Cyflwyno +presentation_mode_label=Modd Cyflwyno +open_file.title=Agor Ffeil +open_file_label=Agor +print.title=Argraffu +print_label=Argraffu +download.title=Llwytho i lawr +download_label=Llwytho i lawr +bookmark.title=Golwg cyfredol (copïo neu agor ffenestr newydd) +bookmark_label=Golwg Gyfredol + +save.title=Cadw +save_label=Cadw +bookmark1.title=Tudalen Gyfredol (Gweld URL o'r Dudalen Gyfredol) +bookmark1_label=Tudalen Gyfredol + +open_in_app.title=Agor yn yr ap +open_in_app_label=Agor yn yr ap + +# Secondary toolbar and context menu +tools.title=Offer +tools_label=Offer +first_page.title=Mynd i'r Dudalen Gyntaf +first_page_label=Mynd i'r Dudalen Gyntaf +last_page.title=Mynd i'r Dudalen Olaf +last_page_label=Mynd i'r Dudalen Olaf +page_rotate_cw.title=Cylchdroi Clocwedd +page_rotate_cw_label=Cylchdroi Clocwedd +page_rotate_ccw.title=Cylchdroi Gwrthglocwedd +page_rotate_ccw_label=Cylchdroi Gwrthglocwedd + +cursor_text_select_tool.title=Galluogi Dewis Offeryn Testun +cursor_text_select_tool_label=Offeryn Dewis Testun +cursor_hand_tool.title=Galluogi Offeryn Llaw +cursor_hand_tool_label=Offeryn Llaw + +scroll_page.title=Defnyddio Sgrolio Tudalen +scroll_page_label=Sgrolio Tudalen +scroll_vertical.title=Defnyddio Sgrolio Fertigol +scroll_vertical_label=Sgrolio Fertigol +scroll_horizontal.title=Defnyddio Sgrolio Llorweddol +scroll_horizontal_label=Sgrolio Llorweddol +scroll_wrapped.title=Defnyddio Sgrolio Amlapio +scroll_wrapped_label=Sgrolio Amlapio + +spread_none.title=Peidio uno trawsdaleniadau +spread_none_label=Dim Trawsdaleniadau +spread_odd.title=Uno trawsdaleniadau gan gychwyn gyda thudalennau odrif +spread_odd_label=Trawsdaleniadau Odrif +spread_even.title=Uno trawsdaleniadau gan gychwyn gyda thudalennau eilrif +spread_even_label=Trawsdaleniadau Eilrif + +# Document properties dialog box +document_properties.title=Priodweddau Dogfen… +document_properties_label=Priodweddau Dogfen… +document_properties_file_name=Enw ffeil: +document_properties_file_size=Maint ffeil: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} beit) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} beit) +document_properties_title=Teitl: +document_properties_author=Awdur: +document_properties_subject=Pwnc: +document_properties_keywords=Allweddair: +document_properties_creation_date=Dyddiad Creu: +document_properties_modification_date=Dyddiad Addasu: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Crewr: +document_properties_producer=Cynhyrchydd PDF: +document_properties_version=Fersiwn PDF: +document_properties_page_count=Cyfrif Tudalen: +document_properties_page_size=Maint Tudalen: +document_properties_page_size_unit_inches=o fewn +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portread +document_properties_page_size_orientation_landscape=tirlun +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Llythyr +document_properties_page_size_name_legal=Cyfreithiol +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Golwg Gwe Cyflym: +document_properties_linearized_yes=Iawn +document_properties_linearized_no=Na +document_properties_close=Cau + +print_progress_message=Paratoi dogfen ar gyfer ei hargraffu… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Diddymu + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toglo'r Bar Ochr +toggle_sidebar_notification2.title=Toglo'r Bar Ochr (mae'r ddogfen yn cynnwys amlinelliadau/atodiadau/haenau) +toggle_sidebar_label=Toglo'r Bar Ochr +document_outline.title=Dangos Amlinell Dogfen (clic dwbl i ymestyn/cau pob eitem) +document_outline_label=Amlinelliad Dogfen +attachments.title=Dangos Atodiadau +attachments_label=Atodiadau +layers.title=Dangos Haenau (cliciwch ddwywaith i ailosod yr holl haenau i'r cyflwr rhagosodedig) +layers_label=Haenau +thumbs.title=Dangos Lluniau Bach +thumbs_label=Lluniau Bach +current_outline_item.title=Canfod yr Eitem Amlinellol Gyfredol +current_outline_item_label=Yr Eitem Amlinellol Gyfredol +findbar.title=Canfod yn y Ddogfen +findbar_label=Canfod + +additional_layers=Haenau Ychwanegol +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Tudalen {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Tudalen {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Llun Bach Tudalen {{page}} + +# Find panel button title and messages +find_input.title=Canfod +find_input.placeholder=Canfod yn y ddogfen… +find_previous.title=Canfod enghraifft flaenorol o'r ymadrodd +find_previous_label=Blaenorol +find_next.title=Canfod enghraifft nesaf yr ymadrodd +find_next_label=Nesaf +find_highlight=Amlygu Popeth +find_match_case_label=Cydweddu Maint +find_match_diacritics_label=Diacritigau Cyfatebol +find_entire_word_label=Geiriau Cyfan +find_reached_top=Wedi cyrraedd brig y dudalen, parhau o'r gwaelod +find_reached_bottom=Wedi cyrraedd diwedd y dudalen, parhau o'r brig +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} o {{total}} cydweddiad +find_match_count[two]={{current}} o {{total}} cydweddiad +find_match_count[few]={{current}} o {{total}} cydweddiad +find_match_count[many]={{current}} o {{total}} cydweddiad +find_match_count[other]={{current}} o {{total}} cydweddiad +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mwy na {{limit}} cydweddiad +find_match_count_limit[one]=Mwy na {{limit}} cydweddiad +find_match_count_limit[two]=Mwy na {{limit}} cydweddiad +find_match_count_limit[few]=Mwy na {{limit}} cydweddiad +find_match_count_limit[many]=Mwy na {{limit}} cydweddiad +find_match_count_limit[other]=Mwy na {{limit}} cydweddiad +find_not_found=Heb ganfod ymadrodd + +# Error panel labels +error_more_info=Rhagor o Wybodaeth +error_less_info=Llai o wybodaeth +error_close=Cau +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Neges: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stac: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ffeil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Llinell: {{line}} + +# Predefined zoom values +page_scale_width=Lled Tudalen +page_scale_fit=Ffit Tudalen +page_scale_auto=Chwyddo Awtomatig +page_scale_actual=Maint Gwirioneddol +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Yn llwytho… + +# Loading indicator messages +loading_error=Digwyddodd gwall wrth lwytho'r PDF. +invalid_file_error=Ffeil PDF annilys neu llwgr. +missing_file_error=Ffeil PDF coll. +unexpected_response_error=Ymateb annisgwyl gan y gweinydd. + +rendering_error=Digwyddodd gwall wrth adeiladu'r dudalen. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anodiad {{type}} ] +password_label=Rhowch gyfrinair i agor y PDF. +password_invalid=Cyfrinair annilys. Ceisiwch eto. +password_ok=Iawn +password_cancel=Diddymu + +printing_not_supported=Rhybudd: Nid yw argraffu yn cael ei gynnal yn llawn gan y porwr. +printing_not_ready=Rhybudd: Nid yw'r PDF wedi ei lwytho'n llawn ar gyfer argraffu. +web_fonts_disabled=Ffontiau gwe wedi eu hanalluogi: methu defnyddio ffontiau PDF mewnblanedig. + +# Editor +editor_free_text2.title=Testun +editor_free_text2_label=Testun +editor_ink2.title=Lluniadu +editor_ink2_label=Lluniadu + +free_text2_default_content=Cychwyn teipio… + +# Editor Parameters +editor_free_text_color=Lliw +editor_free_text_size=Maint +editor_ink_color=Lliw +editor_ink_thickness=Trwch +editor_ink_opacity=Didreiddedd + +# Editor aria +editor_free_text2_aria_label=Golygydd Testun +editor_ink2_aria_label=Golygydd Lluniadu +editor_ink_canvas_aria_label=Delwedd wedi'i chreu gan ddefnyddwyr diff --git a/media/js/pdf/web/locale/da/viewer.properties b/media/js/pdf/web/locale/da/viewer.properties new file mode 100644 index 0000000000..31ed08ddde --- /dev/null +++ b/media/js/pdf/web/locale/da/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Forrige side +previous_label=Forrige +next.title=Næste side +next_label=Næste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=af {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} af {{pagesCount}}) + +zoom_out.title=Zoom ud +zoom_out_label=Zoom ud +zoom_in.title=Zoom ind +zoom_in_label=Zoom ind +zoom.title=Zoom +presentation_mode.title=Skift til fuldskærmsvisning +presentation_mode_label=Fuldskærmsvisning +open_file.title=Åbn fil +open_file_label=Åbn +print.title=Udskriv +print_label=Udskriv +download.title=Hent +download_label=Hent +bookmark.title=Aktuel visning (kopier eller åbn i et nyt vindue) +bookmark_label=Aktuel visning + +save.title=Gem +save_label=Gem +bookmark1.title=Aktuel side (vis URL fra den aktuelle side) +bookmark1_label=Aktuel side + +open_in_app.title=Åbn i app +open_in_app_label=Åbn i app + +# Secondary toolbar and context menu +tools.title=Funktioner +tools_label=Funktioner +first_page.title=Gå til første side +first_page_label=Gå til første side +last_page.title=Gå til sidste side +last_page_label=Gå til sidste side +page_rotate_cw.title=Roter med uret +page_rotate_cw_label=Roter med uret +page_rotate_ccw.title=Roter mod uret +page_rotate_ccw_label=Roter mod uret + +cursor_text_select_tool.title=Aktiver markeringsværktøj +cursor_text_select_tool_label=Markeringsværktøj +cursor_hand_tool.title=Aktiver håndværktøj +cursor_hand_tool_label=Håndværktøj + +scroll_page.title=Brug sidescrolling +scroll_page_label=Sidescrolling +scroll_vertical.title=Brug vertikal scrolling +scroll_vertical_label=Vertikal scrolling +scroll_horizontal.title=Brug horisontal scrolling +scroll_horizontal_label=Horisontal scrolling +scroll_wrapped.title=Brug ombrudt scrolling +scroll_wrapped_label=Ombrudt scrolling + +spread_none.title=Vis enkeltsider +spread_none_label=Enkeltsider +spread_odd.title=Vis opslag med ulige sidenumre til venstre +spread_odd_label=Opslag med forside +spread_even.title=Vis opslag med lige sidenumre til venstre +spread_even_label=Opslag uden forside + +# Document properties dialog box +document_properties.title=Dokumentegenskaber… +document_properties_label=Dokumentegenskaber… +document_properties_file_name=Filnavn: +document_properties_file_size=Filstørrelse: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Forfatter: +document_properties_subject=Emne: +document_properties_keywords=Nøgleord: +document_properties_creation_date=Oprettet: +document_properties_modification_date=Redigeret: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Program: +document_properties_producer=PDF-producent: +document_properties_version=PDF-version: +document_properties_page_count=Antal sider: +document_properties_page_size=Sidestørrelse: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=stående +document_properties_page_size_orientation_landscape=liggende +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Hurtig web-visning: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nej +document_properties_close=Luk + +print_progress_message=Forbereder dokument til udskrivning… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annuller + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Slå sidepanel til eller fra +toggle_sidebar_notification2.title=Slå sidepanel til eller fra (dokumentet indeholder disposition/vedhæftede filer/lag) +toggle_sidebar_label=Slå sidepanel til eller fra +document_outline.title=Vis dokumentets disposition (dobbeltklik for at vise/skjule alle elementer) +document_outline_label=Dokument-disposition +attachments.title=Vis vedhæftede filer +attachments_label=Vedhæftede filer +layers.title=Vis lag (dobbeltklik for at nulstille alle lag til standard-tilstanden) +layers_label=Lag +thumbs.title=Vis miniaturer +thumbs_label=Miniaturer +current_outline_item.title=Find det aktuelle dispositions-element +current_outline_item_label=Aktuelt dispositions-element +findbar.title=Find i dokument +findbar_label=Find + +additional_layers=Yderligere lag +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Side {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Side {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniature af side {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find i dokument… +find_previous.title=Find den forrige forekomst +find_previous_label=Forrige +find_next.title=Find den næste forekomst +find_next_label=Næste +find_highlight=Fremhæv alle +find_match_case_label=Forskel på store og små bogstaver +find_match_diacritics_label=Diakritiske tegn +find_entire_word_label=Hele ord +find_reached_top=Toppen af siden blev nået, fortsatte fra bunden +find_reached_bottom=Bunden af siden blev nået, fortsatte fra toppen +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} af {{total}} forekomst +find_match_count[two]={{current}} af {{total}} forekomster +find_match_count[few]={{current}} af {{total}} forekomster +find_match_count[many]={{current}} af {{total}} forekomster +find_match_count[other]={{current}} af {{total}} forekomster +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mere end {{limit}} forekomster +find_match_count_limit[one]=Mere end {{limit}} forekomst +find_match_count_limit[two]=Mere end {{limit}} forekomster +find_match_count_limit[few]=Mere end {{limit}} forekomster +find_match_count_limit[many]=Mere end {{limit}} forekomster +find_match_count_limit[other]=Mere end {{limit}} forekomster +find_not_found=Der blev ikke fundet noget + +# Error panel labels +error_more_info=Mere information +error_less_info=Mindre information +error_close=Luk +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Fejlmeddelelse: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} + +# Predefined zoom values +page_scale_width=Sidebredde +page_scale_fit=Tilpas til side +page_scale_auto=Automatisk zoom +page_scale_actual=Faktisk størrelse +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Indlæser… + +# Loading indicator messages +loading_error=Der opstod en fejl ved indlæsning af PDF-filen. +invalid_file_error=PDF-filen er ugyldig eller ødelagt. +missing_file_error=Manglende PDF-fil. +unexpected_response_error=Uventet svar fra serveren. + +rendering_error=Der opstod en fejl ved generering af siden. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}kommentar] +password_label=Angiv adgangskode til at åbne denne PDF-fil. +password_invalid=Ugyldig adgangskode. Prøv igen. +password_ok=OK +password_cancel=Fortryd + +printing_not_supported=Advarsel: Udskrivning er ikke fuldt understøttet af browseren. +printing_not_ready=Advarsel: PDF-filen er ikke fuldt indlæst til udskrivning. +web_fonts_disabled=Webskrifttyper er deaktiverede. De indlejrede skrifttyper i PDF-filen kan ikke anvendes. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Tegn +editor_ink2_label=Tegn + +free_text2_default_content=Begynd at skrive… + +# Editor Parameters +editor_free_text_color=Farve +editor_free_text_size=Størrelse +editor_ink_color=Farve +editor_ink_thickness=Tykkelse +editor_ink_opacity=Uigennemsigtighed + +# Editor aria +editor_free_text2_aria_label=Teksteditor +editor_ink2_aria_label=Tegnings-editor +editor_ink_canvas_aria_label=Brugeroprettet billede diff --git a/media/js/pdf/web/locale/de/viewer.properties b/media/js/pdf/web/locale/de/viewer.properties new file mode 100644 index 0000000000..330da04523 --- /dev/null +++ b/media/js/pdf/web/locale/de/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Eine Seite zurück +previous_label=Zurück +next.title=Eine Seite vor +next_label=Vor + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Seite +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=von {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} von {{pagesCount}}) + +zoom_out.title=Verkleinern +zoom_out_label=Verkleinern +zoom_in.title=Vergrößern +zoom_in_label=Vergrößern +zoom.title=Zoom +presentation_mode.title=In Präsentationsmodus wechseln +presentation_mode_label=Präsentationsmodus +open_file.title=Datei öffnen +open_file_label=Öffnen +print.title=Drucken +print_label=Drucken +download.title=Dokument speichern +download_label=Speichern +bookmark.title=Aktuelle Ansicht (zum Kopieren oder Öffnen in einem neuen Fenster) +bookmark_label=Aktuelle Ansicht + +save.title=Speichern +save_label=Speichern +bookmark1.title=Aktuelle Seite (URL von aktueller Seite anzeigen) +bookmark1_label=Aktuelle Seite + +open_in_app.title=Mit App öffnen +open_in_app_label=Mit App öffnen + +# Secondary toolbar and context menu +tools.title=Werkzeuge +tools_label=Werkzeuge +first_page.title=Erste Seite anzeigen +first_page_label=Erste Seite anzeigen +last_page.title=Letzte Seite anzeigen +last_page_label=Letzte Seite anzeigen +page_rotate_cw.title=Im Uhrzeigersinn drehen +page_rotate_cw_label=Im Uhrzeigersinn drehen +page_rotate_ccw.title=Gegen Uhrzeigersinn drehen +page_rotate_ccw_label=Gegen Uhrzeigersinn drehen + +cursor_text_select_tool.title=Textauswahl-Werkzeug aktivieren +cursor_text_select_tool_label=Textauswahl-Werkzeug +cursor_hand_tool.title=Hand-Werkzeug aktivieren +cursor_hand_tool_label=Hand-Werkzeug + +scroll_page.title=Seiten einzeln anordnen +scroll_page_label=Einzelseitenanordnung +scroll_vertical.title=Seiten übereinander anordnen +scroll_vertical_label=Vertikale Seitenanordnung +scroll_horizontal.title=Seiten nebeneinander anordnen +scroll_horizontal_label=Horizontale Seitenanordnung +scroll_wrapped.title=Seiten neben- und übereinander anordnen, abhängig vom Platz +scroll_wrapped_label=Kombinierte Seitenanordnung + +spread_none.title=Seiten nicht nebeneinander anzeigen +spread_none_label=Einzelne Seiten +spread_odd.title=Jeweils eine ungerade und eine gerade Seite nebeneinander anzeigen +spread_odd_label=Ungerade + gerade Seite +spread_even.title=Jeweils eine gerade und eine ungerade Seite nebeneinander anzeigen +spread_even_label=Gerade + ungerade Seite + +# Document properties dialog box +document_properties.title=Dokumenteigenschaften +document_properties_label=Dokumenteigenschaften… +document_properties_file_name=Dateiname: +document_properties_file_size=Dateigröße: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} Bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} Bytes) +document_properties_title=Titel: +document_properties_author=Autor: +document_properties_subject=Thema: +document_properties_keywords=Stichwörter: +document_properties_creation_date=Erstelldatum: +document_properties_modification_date=Bearbeitungsdatum: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=Anwendung: +document_properties_producer=PDF erstellt mit: +document_properties_version=PDF-Version: +document_properties_page_count=Seitenzahl: +document_properties_page_size=Seitengröße: +document_properties_page_size_unit_inches=Zoll +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=Hochformat +document_properties_page_size_orientation_landscape=Querformat +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Schnelle Webanzeige: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nein +document_properties_close=Schließen + +print_progress_message=Dokument wird für Drucken vorbereitet… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Abbrechen + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Sidebar umschalten +toggle_sidebar_notification2.title=Sidebar umschalten (Dokument enthält Dokumentstruktur/Anhänge/Ebenen) +toggle_sidebar_label=Sidebar umschalten +document_outline.title=Dokumentstruktur anzeigen (Doppelklicken, um alle Einträge aus- bzw. einzuklappen) +document_outline_label=Dokumentstruktur +attachments.title=Anhänge anzeigen +attachments_label=Anhänge +layers.title=Ebenen anzeigen (Doppelklicken, um alle Ebenen auf den Standardzustand zurückzusetzen) +layers_label=Ebenen +thumbs.title=Miniaturansichten anzeigen +thumbs_label=Miniaturansichten +current_outline_item.title=Aktuelles Struktur-Element finden +current_outline_item_label=Aktuelles Struktur-Element +findbar.title=Dokument durchsuchen +findbar_label=Suchen + +additional_layers=Zusätzliche Ebenen +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Seite {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Seite {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniaturansicht von Seite {{page}} + +# Find panel button title and messages +find_input.title=Suchen +find_input.placeholder=Im Dokument suchen… +find_previous.title=Vorheriges Vorkommen des Suchbegriffs finden +find_previous_label=Zurück +find_next.title=Nächstes Vorkommen des Suchbegriffs finden +find_next_label=Weiter +find_highlight=Alle hervorheben +find_match_case_label=Groß-/Kleinschreibung beachten +find_match_diacritics_label=Akzente +find_entire_word_label=Ganze Wörter +find_reached_top=Anfang des Dokuments erreicht, fahre am Ende fort +find_reached_bottom=Ende des Dokuments erreicht, fahre am Anfang fort +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} von {{total}} Übereinstimmung +find_match_count[two]={{current}} von {{total}} Übereinstimmungen +find_match_count[few]={{current}} von {{total}} Übereinstimmungen +find_match_count[many]={{current}} von {{total}} Übereinstimmungen +find_match_count[other]={{current}} von {{total}} Übereinstimmungen +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mehr als {{limit}} Übereinstimmungen +find_match_count_limit[one]=Mehr als {{limit}} Übereinstimmung +find_match_count_limit[two]=Mehr als {{limit}} Übereinstimmungen +find_match_count_limit[few]=Mehr als {{limit}} Übereinstimmungen +find_match_count_limit[many]=Mehr als {{limit}} Übereinstimmungen +find_match_count_limit[other]=Mehr als {{limit}} Übereinstimmungen +find_not_found=Suchbegriff nicht gefunden + +# Error panel labels +error_more_info=Mehr Informationen +error_less_info=Weniger Informationen +error_close=Schließen +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js Version {{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Nachricht: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Aufrufliste: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Datei: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Zeile: {{line}} + +# Predefined zoom values +page_scale_width=Seitenbreite +page_scale_fit=Seitengröße +page_scale_auto=Automatischer Zoom +page_scale_actual=Originalgröße +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Wird geladen… + +# Loading indicator messages +loading_error=Beim Laden der PDF-Datei trat ein Fehler auf. +invalid_file_error=Ungültige oder beschädigte PDF-Datei +missing_file_error=Fehlende PDF-Datei +unexpected_response_error=Unerwartete Antwort des Servers + +rendering_error=Beim Darstellen der Seite trat ein Fehler auf. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anlage: {{type}}] +password_label=Geben Sie zum Öffnen der PDF-Datei deren Passwort ein. +password_invalid=Falsches Passwort. Bitte versuchen Sie es erneut. +password_ok=OK +password_cancel=Abbrechen + +printing_not_supported=Warnung: Die Drucken-Funktion wird durch diesen Browser nicht vollständig unterstützt. +printing_not_ready=Warnung: Die PDF-Datei ist nicht vollständig geladen, dies ist für das Drucken aber empfohlen. +web_fonts_disabled=Web-Schriftarten sind deaktiviert: Eingebettete PDF-Schriftarten konnten nicht geladen werden. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Zeichnen +editor_ink2_label=Zeichnen + +free_text2_default_content=Schreiben beginnen… + +# Editor Parameters +editor_free_text_color=Farbe +editor_free_text_size=Größe +editor_ink_color=Farbe +editor_ink_thickness=Dicke +editor_ink_opacity=Deckkraft + +# Editor aria +editor_free_text2_aria_label=Texteditor +editor_ink2_aria_label=Zeichnungseditor +editor_ink_canvas_aria_label=Vom Benutzer erstelltes Bild diff --git a/media/js/pdf/web/locale/dsb/viewer.properties b/media/js/pdf/web/locale/dsb/viewer.properties new file mode 100644 index 0000000000..1a8b2479e0 --- /dev/null +++ b/media/js/pdf/web/locale/dsb/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pjerwjejšny bok +previous_label=Slědk +next.title=Pśiducy bok +next_label=Dalej + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Bok +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Pómjeńšyś +zoom_out_label=Pómjeńšyś +zoom_in.title=Pówětšyś +zoom_in_label=Pówětšyś +zoom.title=Skalěrowanje +presentation_mode.title=Do prezentaciskego modusa pśejś +presentation_mode_label=Prezentaciski modus +open_file.title=Dataju wócyniś +open_file_label=Wócyniś +print.title=Śišćaś +print_label=Śišćaś +download.title=Ześěgnuś +download_label=Ześěgnuś +bookmark.title=Aktualny naglěd (kopěrowaś abo w nowem woknje wócyniś) +bookmark_label=Aktualny naglěd + +save.title=Składowaś +save_label=Składowaś +bookmark1.title=Aktualny bok (URL z aktualnego boka pokazaś) +bookmark1_label=Aktualny bok + +open_in_app.title=W nałoženju wócyniś +open_in_app_label=W nałoženju wócyniś + +# Secondary toolbar and context menu +tools.title=Rědy +tools_label=Rědy +first_page.title=K prědnemu bokoju +first_page_label=K prědnemu bokoju +last_page.title=K slědnemu bokoju +last_page_label=K slědnemu bokoju +page_rotate_cw.title=Wobwjertnuś ako špěra źo +page_rotate_cw_label=Wobwjertnuś ako špěra źo +page_rotate_ccw.title=Wobwjertnuś nawopaki ako špěra źo +page_rotate_ccw_label=Wobwjertnuś nawopaki ako špěra źo + +cursor_text_select_tool.title=Rěd za wuběranje teksta zmóžniś +cursor_text_select_tool_label=Rěd za wuběranje teksta +cursor_hand_tool.title=Rucny rěd zmóžniś +cursor_hand_tool_label=Rucny rěd + +scroll_page.title=Kulanje boka wužywaś +scroll_page_label=Kulanje boka +scroll_vertical.title=Wertikalne suwanje wužywaś +scroll_vertical_label=Wertikalne suwanje +scroll_horizontal.title=Horicontalne suwanje wužywaś +scroll_horizontal_label=Horicontalne suwanje +scroll_wrapped.title=Pózlažke suwanje wužywaś +scroll_wrapped_label=Pózlažke suwanje + +spread_none.title=Boki njezwězaś +spread_none_label=Žeden dwójny bok +spread_odd.title=Boki zachopinajucy z njerownymi bokami zwězaś +spread_odd_label=Njerowne boki +spread_even.title=Boki zachopinajucy z rownymi bokami zwězaś +spread_even_label=Rowne boki + +# Document properties dialog box +document_properties.title=Dokumentowe kakosći… +document_properties_label=Dokumentowe kakosći… +document_properties_file_name=Mě dataje: +document_properties_file_size=Wjelikosć dataje: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtow) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtow) +document_properties_title=Titel: +document_properties_author=Awtor: +document_properties_subject=Tema: +document_properties_keywords=Klucowe słowa: +document_properties_creation_date=Datum napóranja: +document_properties_modification_date=Datum změny: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Awtor: +document_properties_producer=PDF-gótowaŕ: +document_properties_version=PDF-wersija: +document_properties_page_count=Licba bokow: +document_properties_page_size=Wjelikosć boka: +document_properties_page_size_unit_inches=col +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=wusoki format +document_properties_page_size_orientation_landscape=prěcny format +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Jo +document_properties_linearized_no=Ně +document_properties_close=Zacyniś + +print_progress_message=Dokument pśigótujo se za śišćanje… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Pśetergnuś + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Bócnicu pokazaś/schowaś +toggle_sidebar_notification2.title=Bocnicu pśešaltowaś (dokument rozrědowanje/pśipiski/warstwy wopśimujo) +toggle_sidebar_label=Bócnicu pokazaś/schowaś +document_outline.title=Dokumentowe naraźenje pokazaś (dwójne kliknjenje, aby se wšykne zapiski pokazali/schowali) +document_outline_label=Dokumentowa struktura +attachments.title=Pśidanki pokazaś +attachments_label=Pśidanki +layers.title=Warstwy pokazaś (klikniśo dwójcy, aby wšykne warstwy na standardny staw slědk stajił) +layers_label=Warstwy +thumbs.title=Miniatury pokazaś +thumbs_label=Miniatury +current_outline_item.title=Aktualny rozrědowański zapisk pytaś +current_outline_item_label=Aktualny rozrědowański zapisk +findbar.title=W dokumenśe pytaś +findbar_label=Pytaś + +additional_layers=Dalšne warstwy +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Bok {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Bok {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura boka {{page}} + +# Find panel button title and messages +find_input.title=Pytaś +find_input.placeholder=W dokumenśe pytaś… +find_previous.title=Pjerwjejšne wustupowanje pytańskego wuraza pytaś +find_previous_label=Slědk +find_next.title=Pśidujuce wustupowanje pytańskego wuraza pytaś +find_next_label=Dalej +find_highlight=Wšykne wuzwignuś +find_match_case_label=Na wjelikopisanje źiwaś +find_match_diacritics_label=Diakritiske znamuška wužywaś +find_entire_word_label=Cełe słowa +find_reached_top=Zachopjeńk dokumenta dostany, pókšacujo se z kóńcom +find_reached_bottom=Kóńc dokumenta dostany, pókšacujo se ze zachopjeńkom +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} z {{total}} wótpowědnika +find_match_count[two]={{current}} z {{total}} wótpowědnikowu +find_match_count[few]={{current}} z {{total}} wótpowědnikow +find_match_count[many]={{current}} z {{total}} wótpowědnikow +find_match_count[other]={{current}} z {{total}} wótpowědnikow +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Wěcej ako {{limit}} wótpowědnikow +find_match_count_limit[one]=Wěcej ako {{limit}} wótpowědnik +find_match_count_limit[two]=Wěcej ako {{limit}} wótpowědnika +find_match_count_limit[few]=Wěcej ako {{limit}} wótpowědniki +find_match_count_limit[many]=Wěcej ako {{limit}} wótpowědnikow +find_match_count_limit[other]=Wěcej ako {{limit}} wótpowědnikow +find_not_found=Pytański wuraz njejo se namakał + +# Error panel labels +error_more_info=Wěcej informacijow +error_less_info=Mjenjej informacijow +error_close=Zacyniś +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Powěźenka: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Lisćina zawołanjow: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dataja: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Smužka: {{line}} + +# Predefined zoom values +page_scale_width=Šyrokosć boka +page_scale_fit=Wjelikosć boka +page_scale_auto=Awtomatiske skalěrowanje +page_scale_actual=Aktualna wjelikosć +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Zacytujo se… + +# Loading indicator messages +loading_error=Pśi zacytowanju PDF jo zmólka nastała. +invalid_file_error=Njepłaśiwa abo wobškóźona PDF-dataja. +missing_file_error=Felujuca PDF-dataja. +unexpected_response_error=Njewócakane serwerowe wótegrono. + +rendering_error=Pśi zwobraznjanju boka jo zmólka nastała. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Typ pśipiskow: {{type}}] +password_label=Zapódajśo gronidło, aby PDF-dataju wócynił. +password_invalid=Njepłaśiwe gronidło. Pšosym wopytajśo hyšći raz. +password_ok=W pórěźe +password_cancel=Pśetergnuś + +printing_not_supported=Warnowanje: Śišćanje njepódpěra se połnje pśez toś ten wobglědowak. +printing_not_ready=Warnowanje: PDF njejo se za śišćanje dopołnje zacytał. +web_fonts_disabled=Webpisma su znjemóžnjone: njejo móžno, zasajźone PDF-pisma wužywaś. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Kresliś +editor_ink2_label=Kresliś + +free_text2_default_content=Zachopśo pisaś… + +# Editor Parameters +editor_free_text_color=Barwa +editor_free_text_size=Wjelikosć +editor_ink_color=Barwa +editor_ink_thickness=Tłustosć +editor_ink_opacity=Opacita + +# Editor aria +editor_free_text2_aria_label=Tekstowy editor +editor_ink2_aria_label=Kresleński editor +editor_ink_canvas_aria_label=Wobraz napórany wót wužywarja diff --git a/media/js/pdf/web/locale/el/viewer.properties b/media/js/pdf/web/locale/el/viewer.properties new file mode 100644 index 0000000000..67c00c7539 --- /dev/null +++ b/media/js/pdf/web/locale/el/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Προηγούμενη σελίδα +previous_label=Προηγούμενη +next.title=Επόμενη σελίδα +next_label=Επόμενη + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Σελίδα +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=από {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} από {{pagesCount}}) + +zoom_out.title=Σμίκρυνση +zoom_out_label=Σμίκρυνση +zoom_in.title=Μεγέθυνση +zoom_in_label=Μεγέθυνση +zoom.title=Ζουμ +presentation_mode.title=Εναλλαγή σε λειτουργία παρουσίασης +presentation_mode_label=Λειτουργία παρουσίασης +open_file.title=Άνοιγμα αρχείου +open_file_label=Άνοιγμα +print.title=Εκτύπωση +print_label=Εκτύπωση +download.title=Λήψη +download_label=Λήψη +bookmark.title=Τρέχουσα προβολή (αντιγραφή ή άνοιγμα σε νέο παράθυρο) +bookmark_label=Τρέχουσα προβολή + +save.title=Αποθήκευση +save_label=Αποθήκευση +bookmark1.title=Τρέχουσα σελίδα (Προβολή URL από τρέχουσα σελίδα) +bookmark1_label=Τρέχουσα σελίδα + +open_in_app.title=Άνοιγμα σε εφαρμογή +open_in_app_label=Άνοιγμα σε εφαρμογή + +# Secondary toolbar and context menu +tools.title=Εργαλεία +tools_label=Εργαλεία +first_page.title=Μετάβαση στην πρώτη σελίδα +first_page_label=Μετάβαση στην πρώτη σελίδα +last_page.title=Μετάβαση στην τελευταία σελίδα +last_page_label=Μετάβαση στην τελευταία σελίδα +page_rotate_cw.title=Δεξιόστροφη περιστροφή +page_rotate_cw_label=Δεξιόστροφη περιστροφή +page_rotate_ccw.title=Αριστερόστροφη περιστροφή +page_rotate_ccw_label=Αριστερόστροφη περιστροφή + +cursor_text_select_tool.title=Ενεργοποίηση εργαλείου επιλογής κειμένου +cursor_text_select_tool_label=Εργαλείο επιλογής κειμένου +cursor_hand_tool.title=Ενεργοποίηση εργαλείου χεριού +cursor_hand_tool_label=Εργαλείο χεριού + +scroll_page.title=Χρήση κύλισης σελίδας +scroll_page_label=Κύλιση σελίδας +scroll_vertical.title=Χρήση κάθετης κύλισης +scroll_vertical_label=Κάθετη κύλιση +scroll_horizontal.title=Χρήση οριζόντιας κύλισης +scroll_horizontal_label=Οριζόντια κύλιση +scroll_wrapped.title=Χρήση κυκλικής κύλισης +scroll_wrapped_label=Κυκλική κύλιση + +spread_none.title=Να μην γίνει σύνδεση επεκτάσεων σελίδων +spread_none_label=Χωρίς επεκτάσεις +spread_odd.title=Σύνδεση επεκτάσεων σελίδων ξεκινώντας από τις μονές σελίδες +spread_odd_label=Μονές επεκτάσεις +spread_even.title=Σύνδεση επεκτάσεων σελίδων ξεκινώντας από τις ζυγές σελίδες +spread_even_label=Ζυγές επεκτάσεις + +# Document properties dialog box +document_properties.title=Ιδιότητες εγγράφου… +document_properties_label=Ιδιότητες εγγράφου… +document_properties_file_name=Όνομα αρχείου: +document_properties_file_size=Μέγεθος αρχείου: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Τίτλος: +document_properties_author=Συγγραφέας: +document_properties_subject=Θέμα: +document_properties_keywords=Λέξεις-κλειδιά: +document_properties_creation_date=Ημερομηνία δημιουργίας: +document_properties_modification_date=Ημερομηνία τροποποίησης: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Δημιουργός: +document_properties_producer=Παραγωγός PDF: +document_properties_version=Έκδοση PDF: +document_properties_page_count=Αριθμός σελίδων: +document_properties_page_size=Μέγεθος σελίδας: +document_properties_page_size_unit_inches=ίντσες +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=κατακόρυφα +document_properties_page_size_orientation_landscape=οριζόντια +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Επιστολή +document_properties_page_size_name_legal=Τύπου Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Ταχεία προβολή ιστού: +document_properties_linearized_yes=Ναι +document_properties_linearized_no=Όχι +document_properties_close=Κλείσιμο + +print_progress_message=Προετοιμασία του εγγράφου για εκτύπωση… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Ακύρωση + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=(Απ)ενεργοποίηση πλαϊνής γραμμής +toggle_sidebar_notification2.title=(Απ)ενεργοποίηση πλαϊνής γραμμής (το έγγραφο περιέχει περίγραμμα/συνημμένα/επίπεδα) +toggle_sidebar_label=(Απ)ενεργοποίηση πλαϊνής γραμμής +document_outline.title=Εμφάνιση διάρθρωσης εγγράφου (διπλό κλικ για ανάπτυξη/σύμπτυξη όλων των στοιχείων) +document_outline_label=Διάρθρωση εγγράφου +attachments.title=Εμφάνιση συνημμένων +attachments_label=Συνημμένα +layers.title=Εμφάνιση επιπέδων (διπλό κλικ για επαναφορά όλων των επιπέδων στην προεπιλεγμένη κατάσταση) +layers_label=Επίπεδα +thumbs.title=Εμφάνιση μικρογραφιών +thumbs_label=Μικρογραφίες +current_outline_item.title=Εύρεση τρέχοντος στοιχείου διάρθρωσης +current_outline_item_label=Τρέχον στοιχείο διάρθρωσης +findbar.title=Εύρεση στο έγγραφο +findbar_label=Εύρεση + +additional_layers=Επιπρόσθετα επίπεδα +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Σελίδα {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Σελίδα {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Μικρογραφία σελίδας {{page}} + +# Find panel button title and messages +find_input.title=Εύρεση +find_input.placeholder=Εύρεση στο έγγραφο… +find_previous.title=Εύρεση της προηγούμενης εμφάνισης της φράσης +find_previous_label=Προηγούμενο +find_next.title=Εύρεση της επόμενης εμφάνισης της φράσης +find_next_label=Επόμενο +find_highlight=Επισήμανση όλων +find_match_case_label=Συμφωνία πεζών/κεφαλαίων +find_match_diacritics_label=Αντιστοίχιση διακριτικών +find_entire_word_label=Ολόκληρες λέξεις +find_reached_top=Φτάσατε στην αρχή του εγγράφου, συνέχεια από το τέλος +find_reached_bottom=Φτάσατε στο τέλος του εγγράφου, συνέχεια από την αρχή +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} από {{total}} αντιστοιχία +find_match_count[two]={{current}} από {{total}} αντιστοιχίες +find_match_count[few]={{current}} από {{total}} αντιστοιχίες +find_match_count[many]={{current}} από {{total}} αντιστοιχίες +find_match_count[other]={{current}} από {{total}} αντιστοιχίες +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Περισσότερες από {{limit}} αντιστοιχίες +find_match_count_limit[one]=Περισσότερες από {{limit}} αντιστοιχία +find_match_count_limit[two]=Περισσότερες από {{limit}} αντιστοιχίες +find_match_count_limit[few]=Περισσότερες από {{limit}} αντιστοιχίες +find_match_count_limit[many]=Περισσότερες από {{limit}} αντιστοιχίες +find_match_count_limit[other]=Περισσότερες από {{limit}} αντιστοιχίες +find_not_found=Η φράση δεν βρέθηκε + +# Error panel labels +error_more_info=Περισσότερες πληροφορίες +error_less_info=Λιγότερες πληροφορίες +error_close=Κλείσιμο +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (έκδοση: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Μήνυμα: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Στοίβα: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Αρχείο: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Γραμμή: {{line}} + +# Predefined zoom values +page_scale_width=Πλάτος σελίδας +page_scale_fit=Μέγεθος σελίδας +page_scale_auto=Αυτόματο ζουμ +page_scale_actual=Πραγματικό μέγεθος +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Φόρτωση… + +# Loading indicator messages +loading_error=Προέκυψε σφάλμα κατά τη φόρτωση του PDF. +invalid_file_error=Μη έγκυρο ή κατεστραμμένο αρχείο PDF. +missing_file_error=Λείπει αρχείο PDF. +unexpected_response_error=Μη αναμενόμενη απόκριση από το διακομιστή. + +rendering_error=Προέκυψε σφάλμα κατά την εμφάνιση της σελίδας. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Σχόλιο «{{type}}»] +password_label=Εισαγάγετε τον κωδικό πρόσβασης για να ανοίξετε αυτό το αρχείο PDF. +password_invalid=Μη έγκυρος κωδικός πρόσβασης. Παρακαλώ δοκιμάστε ξανά. +password_ok=OK +password_cancel=Ακύρωση + +printing_not_supported=Προειδοποίηση: Η εκτύπωση δεν υποστηρίζεται πλήρως από το πρόγραμμα περιήγησης. +printing_not_ready=Προειδοποίηση: Το PDF δεν φορτώθηκε πλήρως για εκτύπωση. +web_fonts_disabled=Οι γραμματοσειρές ιστού είναι ανενεργές: δεν είναι δυνατή η χρήση των ενσωματωμένων γραμματοσειρών PDF. + +# Editor +editor_free_text2.title=Κείμενο +editor_free_text2_label=Κείμενο +editor_ink2.title=Σχέδιο +editor_ink2_label=Σχέδιο + +free_text2_default_content=Ξεκινήστε να πληκτρολογείτε… + +# Editor Parameters +editor_free_text_color=Χρώμα +editor_free_text_size=Μέγεθος +editor_ink_color=Χρώμα +editor_ink_thickness=Πάχος +editor_ink_opacity=Αδιαφάνεια + +# Editor aria +editor_free_text2_aria_label=Επεξεργασία κειμένου +editor_ink2_aria_label=Επεξεργασία σχεδίων +editor_ink_canvas_aria_label=Εικόνα από τον χρήστη diff --git a/media/js/pdf/web/locale/en-CA/viewer.properties b/media/js/pdf/web/locale/en-CA/viewer.properties new file mode 100644 index 0000000000..9c913128a9 --- /dev/null +++ b/media/js/pdf/web/locale/en-CA/viewer.properties @@ -0,0 +1,279 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Previous Page +previous_label=Previous +next.title=Next Page +next_label=Next + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Zoom Out +zoom_out_label=Zoom Out +zoom_in.title=Zoom In +zoom_in_label=Zoom In +zoom.title=Zoom +presentation_mode.title=Switch to Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Open File +open_file_label=Open +print.title=Print +print_label=Print +download.title=Download +download_label=Download +save.title=Save +save_label=Save +bookmark.title=Current view (copy or open in new window) +bookmark_label=Current View + +bookmark1.title=Current Page (View URL from Current Page) +bookmark1_label=Current Page + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Go to First Page +first_page_label=Go to First Page +last_page.title=Go to Last Page +last_page_label=Go to Last Page +page_rotate_cw.title=Rotate Clockwise +page_rotate_cw_label=Rotate Clockwise +page_rotate_ccw.title=Rotate Counterclockwise +page_rotate_ccw_label=Rotate Counterclockwise + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=Hand Tool + +scroll_page.title=Use Page Scrolling +scroll_page_label=Page Scrolling +scroll_vertical.title=Use Vertical Scrolling +scroll_vertical_label=Vertical Scrolling +scroll_horizontal.title=Use Horizontal Scrolling +scroll_horizontal_label=Horizontal Scrolling +scroll_wrapped.title=Use Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=Do not join page spreads +spread_none_label=No Spreads +spread_odd.title=Join page spreads starting with odd-numbered pages +spread_odd_label=Odd Spreads +spread_even.title=Join page spreads starting with even-numbered pages +spread_even_label=Even Spreads + +# Document properties dialog box +document_properties.title=Document Properties… +document_properties_label=Document Properties… +document_properties_file_name=File name: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Title: +document_properties_author=Author: +document_properties_subject=Subject: +document_properties_keywords=Keywords: +document_properties_creation_date=Creation Date: +document_properties_modification_date=Modification Date: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Page Count: +document_properties_page_size=Page Size: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=landscape +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Yes +document_properties_linearized_no=No +document_properties_close=Close + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggle Sidebar +toggle_sidebar_notification2.title=Toggle Sidebar (document contains outline/attachments/layers) +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +layers.title=Show Layers (double-click to reset all layers to the default state) +layers_label=Layers +thumbs.title=Show Thumbnails +thumbs_label=Thumbnails +current_outline_item.title=Find Current Outline Item +current_outline_item_label=Current Outline Item +findbar.title=Find in Document +findbar_label=Find + +additional_layers=Additional Layers +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Page {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail of Page {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find in document… +find_previous.title=Find the previous occurrence of the phrase +find_previous_label=Previous +find_next.title=Find the next occurrence of the phrase +find_next_label=Next +find_highlight=Highlight All +find_match_case_label=Match Case +find_match_diacritics_label=Match Diacritics +find_entire_word_label=Whole Words +find_reached_top=Reached top of document, continued from bottom +find_reached_bottom=Reached end of document, continued from top +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} of {{total}} match +find_match_count[two]={{current}} of {{total}} matches +find_match_count[few]={{current}} of {{total}} matches +find_match_count[many]={{current}} of {{total}} matches +find_match_count[other]={{current}} of {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=More than {{limit}} matches +find_match_count_limit[one]=More than {{limit}} match +find_match_count_limit[two]=More than {{limit}} matches +find_match_count_limit[few]=More than {{limit}} matches +find_match_count_limit[many]=More than {{limit}} matches +find_match_count_limit[other]=More than {{limit}} matches +find_not_found=Phrase not found + +# Error panel labels +error_more_info=More Information +error_less_info=Less Information +error_close=Close +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Line: {{line}} + +# Predefined zoom values +page_scale_width=Page Width +page_scale_fit=Page Fit +page_scale_auto=Automatic Zoom +page_scale_actual=Actual Size +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Loading… + +# Loading indicator messages +loading_error=An error occurred while loading the PDF. +invalid_file_error=Invalid or corrupted PDF file. +missing_file_error=Missing PDF file. +unexpected_response_error=Unexpected server response. + +rendering_error=An error occurred while rendering the page. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Enter the password to open this PDF file. +password_invalid=Invalid password. Please try again. +password_ok=OK +password_cancel=Cancel + +printing_not_supported=Warning: Printing is not fully supported by this browser. +printing_not_ready=Warning: The PDF is not fully loaded for printing. +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Draw +editor_ink2_label=Draw + +free_text2_default_content=Start typing… + +# Editor Parameters +editor_free_text_color=Colour +editor_free_text_size=Size +editor_ink_color=Colour +editor_ink_thickness=Thickness +editor_ink_opacity=Opacity + +# Editor aria +editor_free_text2_aria_label=Text Editor +editor_ink2_aria_label=Draw Editor +editor_ink_canvas_aria_label=User-created image diff --git a/media/js/pdf/web/locale/en-GB/viewer.properties b/media/js/pdf/web/locale/en-GB/viewer.properties new file mode 100644 index 0000000000..c420d86e52 --- /dev/null +++ b/media/js/pdf/web/locale/en-GB/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Previous Page +previous_label=Previous +next.title=Next Page +next_label=Next + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Zoom Out +zoom_out_label=Zoom Out +zoom_in.title=Zoom In +zoom_in_label=Zoom In +zoom.title=Zoom +presentation_mode.title=Switch to Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Open File +open_file_label=Open +print.title=Print +print_label=Print +download.title=Download +download_label=Download +bookmark.title=Current view (copy or open in new window) +bookmark_label=Current View + +save.title=Save +save_label=Save +bookmark1.title=Current Page (View URL from Current Page) +bookmark1_label=Current Page + +open_in_app.title=Open in app +open_in_app_label=Open in app + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Go to First Page +first_page_label=Go to First Page +last_page.title=Go to Last Page +last_page_label=Go to Last Page +page_rotate_cw.title=Rotate Clockwise +page_rotate_cw_label=Rotate Clockwise +page_rotate_ccw.title=Rotate Anti-Clockwise +page_rotate_ccw_label=Rotate Anti-Clockwise + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=Hand Tool + +scroll_page.title=Use Page Scrolling +scroll_page_label=Page Scrolling +scroll_vertical.title=Use Vertical Scrolling +scroll_vertical_label=Vertical Scrolling +scroll_horizontal.title=Use Horizontal Scrolling +scroll_horizontal_label=Horizontal Scrolling +scroll_wrapped.title=Use Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=Do not join page spreads +spread_none_label=No Spreads +spread_odd.title=Join page spreads starting with odd-numbered pages +spread_odd_label=Odd Spreads +spread_even.title=Join page spreads starting with even-numbered pages +spread_even_label=Even Spreads + +# Document properties dialog box +document_properties.title=Document Properties… +document_properties_label=Document Properties… +document_properties_file_name=File name: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Title: +document_properties_author=Author: +document_properties_subject=Subject: +document_properties_keywords=Keywords: +document_properties_creation_date=Creation Date: +document_properties_modification_date=Modification Date: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Page Count: +document_properties_page_size=Page Size: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=landscape +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Yes +document_properties_linearized_no=No +document_properties_close=Close + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggle Sidebar +toggle_sidebar_notification2.title=Toggle Sidebar (document contains outline/attachments/layers) +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +layers.title=Show Layers (double-click to reset all layers to the default state) +layers_label=Layers +thumbs.title=Show Thumbnails +thumbs_label=Thumbnails +current_outline_item.title=Find Current Outline Item +current_outline_item_label=Current Outline Item +findbar.title=Find in Document +findbar_label=Find + +additional_layers=Additional Layers +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Page {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail of Page {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find in document… +find_previous.title=Find the previous occurrence of the phrase +find_previous_label=Previous +find_next.title=Find the next occurrence of the phrase +find_next_label=Next +find_highlight=Highlight All +find_match_case_label=Match Case +find_match_diacritics_label=Match Diacritics +find_entire_word_label=Whole Words +find_reached_top=Reached top of document, continued from bottom +find_reached_bottom=Reached end of document, continued from top +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} of {{total}} match +find_match_count[two]={{current}} of {{total}} matches +find_match_count[few]={{current}} of {{total}} matches +find_match_count[many]={{current}} of {{total}} matches +find_match_count[other]={{current}} of {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=More than {{limit}} matches +find_match_count_limit[one]=More than {{limit}} match +find_match_count_limit[two]=More than {{limit}} matches +find_match_count_limit[few]=More than {{limit}} matches +find_match_count_limit[many]=More than {{limit}} matches +find_match_count_limit[other]=More than {{limit}} matches +find_not_found=Phrase not found + +# Error panel labels +error_more_info=More Information +error_less_info=Less Information +error_close=Close +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Line: {{line}} + +# Predefined zoom values +page_scale_width=Page Width +page_scale_fit=Page Fit +page_scale_auto=Automatic Zoom +page_scale_actual=Actual Size +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Loading… + +# Loading indicator messages +loading_error=An error occurred while loading the PDF. +invalid_file_error=Invalid or corrupted PDF file. +missing_file_error=Missing PDF file. +unexpected_response_error=Unexpected server response. + +rendering_error=An error occurred while rendering the page. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Enter the password to open this PDF file. +password_invalid=Invalid password. Please try again. +password_ok=OK +password_cancel=Cancel + +printing_not_supported=Warning: Printing is not fully supported by this browser. +printing_not_ready=Warning: The PDF is not fully loaded for printing. +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Draw +editor_ink2_label=Draw + +free_text2_default_content=Start typing… + +# Editor Parameters +editor_free_text_color=Colour +editor_free_text_size=Size +editor_ink_color=Colour +editor_ink_thickness=Thickness +editor_ink_opacity=Opacity + +# Editor aria +editor_free_text2_aria_label=Text Editor +editor_ink2_aria_label=Draw Editor +editor_ink_canvas_aria_label=User-created image diff --git a/media/js/pdf/web/locale/en-US/viewer.properties b/media/js/pdf/web/locale/en-US/viewer.properties new file mode 100644 index 0000000000..f64be7bf22 --- /dev/null +++ b/media/js/pdf/web/locale/en-US/viewer.properties @@ -0,0 +1,256 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Previous Page +previous_label=Previous +next.title=Next Page +next_label=Next + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=of {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Zoom Out +zoom_out_label=Zoom Out +zoom_in.title=Zoom In +zoom_in_label=Zoom In +zoom.title=Zoom +presentation_mode.title=Switch to Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Open File +open_file_label=Open +print.title=Print +print_label=Print +save.title=Save +save_label=Save +bookmark1.title=Current Page (View URL from Current Page) +bookmark1_label=Current Page +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Open in app +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Open in app + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Go to First Page +first_page_label=Go to First Page +last_page.title=Go to Last Page +last_page_label=Go to Last Page +page_rotate_cw.title=Rotate Clockwise +page_rotate_cw_label=Rotate Clockwise +page_rotate_ccw.title=Rotate Counterclockwise +page_rotate_ccw_label=Rotate Counterclockwise + +cursor_text_select_tool.title=Enable Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=Enable Hand Tool +cursor_hand_tool_label=Hand Tool + +scroll_page.title=Use Page Scrolling +scroll_page_label=Page Scrolling +scroll_vertical.title=Use Vertical Scrolling +scroll_vertical_label=Vertical Scrolling +scroll_horizontal.title=Use Horizontal Scrolling +scroll_horizontal_label=Horizontal Scrolling +scroll_wrapped.title=Use Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=Do not join page spreads +spread_none_label=No Spreads +spread_odd.title=Join page spreads starting with odd-numbered pages +spread_odd_label=Odd Spreads +spread_even.title=Join page spreads starting with even-numbered pages +spread_even_label=Even Spreads + +# Document properties dialog box +document_properties.title=Document Properties… +document_properties_label=Document Properties… +document_properties_file_name=File name: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Title: +document_properties_author=Author: +document_properties_subject=Subject: +document_properties_keywords=Keywords: +document_properties_creation_date=Creation Date: +document_properties_modification_date=Modification Date: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Page Count: +document_properties_page_size=Page Size: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=landscape +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Yes +document_properties_linearized_no=No +document_properties_close=Close + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancel + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggle Sidebar +toggle_sidebar_notification2.title=Toggle Sidebar (document contains outline/attachments/layers) +toggle_sidebar_label=Toggle Sidebar +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Document Outline +attachments.title=Show Attachments +attachments_label=Attachments +layers.title=Show Layers (double-click to reset all layers to the default state) +layers_label=Layers +thumbs.title=Show Thumbnails +thumbs_label=Thumbnails +current_outline_item.title=Find Current Outline Item +current_outline_item_label=Current Outline Item +findbar.title=Find in Document +findbar_label=Find + +additional_layers=Additional Layers +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Page {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail of Page {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find in document… +find_previous.title=Find the previous occurrence of the phrase +find_previous_label=Previous +find_next.title=Find the next occurrence of the phrase +find_next_label=Next +find_highlight=Highlight All +find_match_case_label=Match Case +find_match_diacritics_label=Match Diacritics +find_entire_word_label=Whole Words +find_reached_top=Reached top of document, continued from bottom +find_reached_bottom=Reached end of document, continued from top +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} of {{total}} match +find_match_count[two]={{current}} of {{total}} matches +find_match_count[few]={{current}} of {{total}} matches +find_match_count[many]={{current}} of {{total}} matches +find_match_count[other]={{current}} of {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=More than {{limit}} matches +find_match_count_limit[one]=More than {{limit}} match +find_match_count_limit[two]=More than {{limit}} matches +find_match_count_limit[few]=More than {{limit}} matches +find_match_count_limit[many]=More than {{limit}} matches +find_match_count_limit[other]=More than {{limit}} matches +find_not_found=Phrase not found + +# Predefined zoom values +page_scale_width=Page Width +page_scale_fit=Page Fit +page_scale_auto=Automatic Zoom +page_scale_actual=Actual Size +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=An error occurred while loading the PDF. +invalid_file_error=Invalid or corrupted PDF file. +missing_file_error=Missing PDF file. +unexpected_response_error=Unexpected server response. +rendering_error=An error occurred while rendering the page. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Enter the password to open this PDF file. +password_invalid=Invalid password. Please try again. +password_ok=OK +password_cancel=Cancel + +printing_not_supported=Warning: Printing is not fully supported by this browser. +printing_not_ready=Warning: The PDF is not fully loaded for printing. +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Draw +editor_ink2_label=Draw + +free_text2_default_content=Start typing… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Size +editor_ink_color=Color +editor_ink_thickness=Thickness +editor_ink_opacity=Opacity + +# Editor aria +editor_free_text2_aria_label=Text Editor +editor_ink2_aria_label=Draw Editor +editor_ink_canvas_aria_label=User-created image diff --git a/media/js/pdf/web/locale/eo/viewer.properties b/media/js/pdf/web/locale/eo/viewer.properties new file mode 100644 index 0000000000..a11abaa4a0 --- /dev/null +++ b/media/js/pdf/web/locale/eo/viewer.properties @@ -0,0 +1,279 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Antaŭa paĝo +previous_label=Malantaŭen +next.title=Venonta paĝo +next_label=Antaŭen + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Paĝo +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=el {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} el {{pagesCount}}) + +zoom_out.title=Malpligrandigi +zoom_out_label=Malpligrandigi +zoom_in.title=Pligrandigi +zoom_in_label=Pligrandigi +zoom.title=Pligrandigilo +presentation_mode.title=Iri al prezenta reĝimo +presentation_mode_label=Prezenta reĝimo +open_file.title=Malfermi dosieron +open_file_label=Malfermi +print.title=Presi +print_label=Presi +download.title=Elŝuti +download_label=Elŝuti +save.title=Konservi +save_label=Konservi +bookmark.title=Nuna vido (kopii aŭ malfermi en nova fenestro) +bookmark_label=Nuna vido + +bookmark1.title=Nuna paĝo (Montri adreson de la nuna paĝo) +bookmark1_label=Nuna paĝo + +# Secondary toolbar and context menu +tools.title=Iloj +tools_label=Iloj +first_page.title=Iri al la unua paĝo +first_page_label=Iri al la unua paĝo +last_page.title=Iri al la lasta paĝo +last_page_label=Iri al la lasta paĝo +page_rotate_cw.title=Rotaciigi dekstrume +page_rotate_cw_label=Rotaciigi dekstrume +page_rotate_ccw.title=Rotaciigi maldekstrume +page_rotate_ccw_label=Rotaciigi maldekstrume + +cursor_text_select_tool.title=Aktivigi tekstan elektilon +cursor_text_select_tool_label=Teksta elektilo +cursor_hand_tool.title=Aktivigi ilon de mano +cursor_hand_tool_label=Ilo de mano + +scroll_page.title=Uzi ŝovadon de paĝo +scroll_page_label=Ŝovado de paĝo +scroll_vertical.title=Uzi vertikalan ŝovadon +scroll_vertical_label=Vertikala ŝovado +scroll_horizontal.title=Uzi horizontalan ŝovadon +scroll_horizontal_label=Horizontala ŝovado +scroll_wrapped.title=Uzi ambaŭdirektan ŝovadon +scroll_wrapped_label=Ambaŭdirekta ŝovado + +spread_none.title=Ne montri paĝojn po du +spread_none_label=Unupaĝa vido +spread_odd.title=Kunigi paĝojn komencante per nepara paĝo +spread_odd_label=Po du paĝoj, neparaj maldekstre +spread_even.title=Kunigi paĝojn komencante per para paĝo +spread_even_label=Po du paĝoj, paraj maldekstre + +# Document properties dialog box +document_properties.title=Atributoj de dokumento… +document_properties_label=Atributoj de dokumento… +document_properties_file_name=Nomo de dosiero: +document_properties_file_size=Grando de dosiero: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KO ({{size_b}} oktetoj) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MO ({{size_b}} oktetoj) +document_properties_title=Titolo: +document_properties_author=Aŭtoro: +document_properties_subject=Temo: +document_properties_keywords=Ŝlosilvorto: +document_properties_creation_date=Dato de kreado: +document_properties_modification_date=Dato de modifo: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Kreinto: +document_properties_producer=Produktinto de PDF: +document_properties_version=Versio de PDF: +document_properties_page_count=Nombro de paĝoj: +document_properties_page_size=Grando de paĝo: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertikala +document_properties_page_size_orientation_landscape=horizontala +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letera +document_properties_page_size_name_legal=Jura +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Rapida tekstaĵa vido: +document_properties_linearized_yes=Jes +document_properties_linearized_no=Ne +document_properties_close=Fermi + +print_progress_message=Preparo de dokumento por presi ĝin … +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Nuligi + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Montri/kaŝi flankan strion +toggle_sidebar_notification2.title=Montri/kaŝi flankan strion (la dokumento enhavas konturon/kunsendaĵojn/tavolojn) +toggle_sidebar_label=Montri/kaŝi flankan strion +document_outline.title=Montri la konturon de dokumento (alklaku duoble por faldi/malfaldi ĉiujn elementojn) +document_outline_label=Konturo de dokumento +attachments.title=Montri kunsendaĵojn +attachments_label=Kunsendaĵojn +layers.title=Montri tavolojn (duoble alklaku por remeti ĉiujn tavolojn en la norman staton) +layers_label=Tavoloj +thumbs.title=Montri miniaturojn +thumbs_label=Miniaturoj +current_outline_item.title=Trovi nunan konturan elementon +current_outline_item_label=Nuna kontura elemento +findbar.title=Serĉi en dokumento +findbar_label=Serĉi + +additional_layers=Aldonaj tavoloj +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Paĝo {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Paĝo {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniaturo de paĝo {{page}} + +# Find panel button title and messages +find_input.title=Serĉi +find_input.placeholder=Serĉi en dokumento… +find_previous.title=Serĉi la antaŭan aperon de la frazo +find_previous_label=Malantaŭen +find_next.title=Serĉi la venontan aperon de la frazo +find_next_label=Antaŭen +find_highlight=Elstarigi ĉiujn +find_match_case_label=Distingi inter majuskloj kaj minuskloj +find_match_diacritics_label=Respekti supersignojn +find_entire_word_label=Tutaj vortoj +find_reached_top=Komenco de la dokumento atingita, daŭrigado ekde la fino +find_reached_bottom=Fino de la dokumento atingita, daŭrigado ekde la komenco +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} el {{total}} kongruo +find_match_count[two]={{current}} el {{total}} kongruoj +find_match_count[few]={{current}} el {{total}} kongruoj +find_match_count[many]={{current}} el {{total}} kongruoj +find_match_count[other]={{current}} el {{total}} kongruoj +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Pli ol {{limit}} kongruoj +find_match_count_limit[one]=Pli ol {{limit}} kongruo +find_match_count_limit[two]=Pli ol {{limit}} kongruoj +find_match_count_limit[few]=Pli ol {{limit}} kongruoj +find_match_count_limit[many]=Pli ol {{limit}} kongruoj +find_match_count_limit[other]=Pli ol {{limit}} kongruoj +find_not_found=Frazo ne trovita + +# Error panel labels +error_more_info=Pli da informo +error_less_info=Malpli da informo +error_close=Fermi +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesaĝo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stako: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dosiero: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linio: {{line}} + +# Predefined zoom values +page_scale_width=Larĝo de paĝo +page_scale_fit=Adapti paĝon +page_scale_auto=Aŭtomata skalo +page_scale_actual=Reala grando +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Ŝargado… + +# Loading indicator messages +loading_error=Okazis eraro dum la ŝargado de la PDF dosiero. +invalid_file_error=Nevalida aŭ difektita PDF dosiero. +missing_file_error=Mankas dosiero PDF. +unexpected_response_error=Neatendita respondo de servilo. + +rendering_error=Okazis eraro dum la montro de la paĝo. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Prinoto: {{type}}] +password_label=Tajpu pasvorton por malfermi tiun ĉi dosieron PDF. +password_invalid=Nevalida pasvorto. Bonvolu provi denove. +password_ok=Akcepti +password_cancel=Nuligi + +printing_not_supported=Averto: tiu ĉi retumilo ne plene subtenas presadon. +printing_not_ready=Averto: la PDF dosiero ne estas plene ŝargita por presado. +web_fonts_disabled=Neaktivaj teksaĵaj tiparoj: ne elbas uzi enmetitajn tiparojn de PDF. + +# Editor +editor_free_text2.title=Teksto +editor_free_text2_label=Teksto +editor_ink2.title=Desegni +editor_ink2_label=Desegni + +free_text2_default_content=Ektajpi… + +# Editor Parameters +editor_free_text_color=Koloro +editor_free_text_size=Grando +editor_ink_color=Koloro +editor_ink_thickness=Dikeco +editor_ink_opacity=Maldiafaneco + +# Editor aria +editor_free_text2_aria_label=Tekstan redaktilon +editor_ink2_aria_label=Desegnan redaktilon +editor_ink_canvas_aria_label=Bildo kreita de uzanto diff --git a/media/js/pdf/web/locale/es-AR/viewer.properties b/media/js/pdf/web/locale/es-AR/viewer.properties new file mode 100644 index 0000000000..b1b5b01c48 --- /dev/null +++ b/media/js/pdf/web/locale/es-AR/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Página siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=( {{pageNumber}} de {{pagesCount}} ) + +zoom_out.title=Alejar +zoom_out_label=Alejar +zoom_in.title=Acercar +zoom_in_label=Acercar +zoom.title=Zoom +presentation_mode.title=Cambiar a modo presentación +presentation_mode_label=Modo presentación +open_file.title=Abrir archivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar o abrir en nueva ventana) +bookmark_label=Vista actual + +save.title=Guardar +save_label=Guardar +bookmark1.title=Página actual (Ver URL de la página actual) +bookmark1_label=Página actual + +open_in_app.title=Abrir en la aplicación +open_in_app_label=Abrir en la aplicación + +# Secondary toolbar and context menu +tools.title=Herramientas +tools_label=Herramientas +first_page.title=Ir a primera página +first_page_label=Ir a primera página +last_page.title=Ir a última página +last_page_label=Ir a última página +page_rotate_cw.title=Rotar horario +page_rotate_cw_label=Rotar horario +page_rotate_ccw.title=Rotar antihorario +page_rotate_ccw_label=Rotar antihorario + +cursor_text_select_tool.title=Habilitar herramienta de selección de texto +cursor_text_select_tool_label=Herramienta de selección de texto +cursor_hand_tool.title=Habilitar herramienta mano +cursor_hand_tool_label=Herramienta mano + +scroll_page.title=Usar desplazamiento de página +scroll_page_label=Desplazamiento de página +scroll_vertical.title=Usar desplazamiento vertical +scroll_vertical_label=Desplazamiento vertical +scroll_horizontal.title=Usar desplazamiento vertical +scroll_horizontal_label=Desplazamiento horizontal +scroll_wrapped.title=Usar desplazamiento encapsulado +scroll_wrapped_label=Desplazamiento encapsulado + +spread_none.title=No unir páginas dobles +spread_none_label=Sin dobles +spread_odd.title=Unir páginas dobles comenzando con las impares +spread_odd_label=Dobles impares +spread_even.title=Unir páginas dobles comenzando con las pares +spread_even_label=Dobles pares + +# Document properties dialog box +document_properties.title=Propiedades del documento… +document_properties_label=Propiedades del documento… +document_properties_file_name=Nombre de archivo: +document_properties_file_size=Tamaño de archovo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Asunto: +document_properties_keywords=Palabras clave: +document_properties_creation_date=Fecha de creación: +document_properties_modification_date=Fecha de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creador: +document_properties_producer=PDF Productor: +document_properties_version=Versión de PDF: +document_properties_page_count=Cantidad de páginas: +document_properties_page_size=Tamaño de página: +document_properties_page_size_unit_inches=en +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=normal +document_properties_page_size_orientation_landscape=apaisado +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista rápida de la Web: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Cerrar + +print_progress_message=Preparando documento para imprimir… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Alternar barra lateral +toggle_sidebar_notification2.title=Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) +toggle_sidebar_label=Alternar barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/colapsar todos los ítems) +document_outline_label=Esquema del documento +attachments.title=Mostrar adjuntos +attachments_label=Adjuntos +layers.title=Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) +layers_label=Capas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Buscar elemento de esquema actual +current_outline_item_label=Elemento de esquema actual +findbar.title=Buscar en documento +findbar_label=Buscar + +additional_layers=Capas adicionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de página {{page}} + +# Find panel button title and messages +find_input.title=Buscar +find_input.placeholder=Buscar en documento… +find_previous.title=Buscar la aparición anterior de la frase +find_previous_label=Anterior +find_next.title=Buscar la siguiente aparición de la frase +find_next_label=Siguiente +find_highlight=Resaltar todo +find_match_case_label=Coincidir mayúsculas +find_match_diacritics_label=Coincidir diacríticos +find_entire_word_label=Palabras completas +find_reached_top=Inicio de documento alcanzado, continuando desde abajo +find_reached_bottom=Fin de documento alcanzando, continuando desde arriba +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidencias +find_match_count[two]={{current}} de {{total}} coincidencias +find_match_count[few]={{current}} de {{total}} coincidencias +find_match_count[many]={{current}} de {{total}} coincidencias +find_match_count[other]={{current}} de {{total}} coincidencias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Más de {{limit}} coincidencias +find_match_count_limit[one]=Más de {{limit}} coinciden +find_match_count_limit[two]=Más de {{limit}} coincidencias +find_match_count_limit[few]=Más de {{limit}} coincidencias +find_match_count_limit[many]=Más de {{limit}} coincidencias +find_match_count_limit[other]=Más de {{limit}} coincidencias +find_not_found=Frase no encontrada + +# Error panel labels +error_more_info=Más información +error_less_info=Menos información +error_close=Cerrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaje: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Línea: {{line}} + +# Predefined zoom values +page_scale_width=Ancho de página +page_scale_fit=Ajustar página +page_scale_auto=Zoom automático +page_scale_actual=Tamaño real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargando… + +# Loading indicator messages +loading_error=Ocurrió un error al cargar el PDF. +invalid_file_error=Archivo PDF no válido o cocrrupto. +missing_file_error=Archivo PDF faltante. +unexpected_response_error=Respuesta del servidor inesperada. + +rendering_error=Ocurrió un error al dibujar la página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Anotación] +password_label=Ingrese la contraseña para abrir este archivo PDF +password_invalid=Contraseña inválida. Intente nuevamente. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Advertencia: La impresión no está totalmente soportada por este navegador. +printing_not_ready=Advertencia: El PDF no está completamente cargado para impresión. +web_fonts_disabled=Tipografía web deshabilitada: no se pueden usar tipos incrustados en PDF. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Dibujar +editor_ink2_label=Dibujar + +free_text2_default_content=Empezar a tipear… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Tamaño +editor_ink_color=Color +editor_ink_thickness=Espesor +editor_ink_opacity=Opacidad + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de dibujos +editor_ink_canvas_aria_label=Imagen creada por el usuario diff --git a/media/js/pdf/web/locale/es-CL/viewer.properties b/media/js/pdf/web/locale/es-CL/viewer.properties new file mode 100644 index 0000000000..c54ef9c724 --- /dev/null +++ b/media/js/pdf/web/locale/es-CL/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Página siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Alejar +zoom_out_label=Alejar +zoom_in.title=Acercar +zoom_in_label=Acercar +zoom.title=Ampliación +presentation_mode.title=Cambiar al modo de presentación +presentation_mode_label=Modo de presentación +open_file.title=Abrir archivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar o abrir en nueva ventana) +bookmark_label=Vista actual + +save.title=Guardar +save_label=Guardar +bookmark1.title=Página actual (Ver URL de la página actual) +bookmark1_label=Página actual + +open_in_app.title=Abrir en una aplicación +open_in_app_label=Abrir en una aplicación + +# Secondary toolbar and context menu +tools.title=Herramientas +tools_label=Herramientas +first_page.title=Ir a la primera página +first_page_label=Ir a la primera página +last_page.title=Ir a la última página +last_page_label=Ir a la última página +page_rotate_cw.title=Girar a la derecha +page_rotate_cw_label=Girar a la derecha +page_rotate_ccw.title=Girar a la izquierda +page_rotate_ccw_label=Girar a la izquierda + +cursor_text_select_tool.title=Activar la herramienta de selección de texto +cursor_text_select_tool_label=Herramienta de selección de texto +cursor_hand_tool.title=Activar la herramienta de mano +cursor_hand_tool_label=Herramienta de mano + +scroll_page.title=Usar desplazamiento de página +scroll_page_label=Desplazamiento de página +scroll_vertical.title=Usar desplazamiento vertical +scroll_vertical_label=Desplazamiento vertical +scroll_horizontal.title=Usar desplazamiento horizontal +scroll_horizontal_label=Desplazamiento horizontal +scroll_wrapped.title=Usar desplazamiento en bloque +scroll_wrapped_label=Desplazamiento en bloque + +spread_none.title=No juntar páginas a modo de libro +spread_none_label=Vista de una página +spread_odd.title=Junta las páginas partiendo con una de número impar +spread_odd_label=Vista de libro impar +spread_even.title=Junta las páginas partiendo con una de número par +spread_even_label=Vista de libro par + +# Document properties dialog box +document_properties.title=Propiedades del documento… +document_properties_label=Propiedades del documento… +document_properties_file_name=Nombre de archivo: +document_properties_file_size=Tamaño del archivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Asunto: +document_properties_keywords=Palabras clave: +document_properties_creation_date=Fecha de creación: +document_properties_modification_date=Fecha de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creador: +document_properties_producer=Productor del PDF: +document_properties_version=Versión de PDF: +document_properties_page_count=Cantidad de páginas: +document_properties_page_size=Tamaño de la página: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Oficio +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista rápida en Web: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Cerrar + +print_progress_message=Preparando documento para impresión… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Barra lateral +toggle_sidebar_notification2.title=Cambiar barra lateral (índice de contenidos del documento/adjuntos/capas) +toggle_sidebar_label=Mostrar u ocultar la barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) +document_outline_label=Esquema del documento +attachments.title=Mostrar adjuntos +attachments_label=Adjuntos +layers.title=Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) +layers_label=Capas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Buscar elemento de esquema actual +current_outline_item_label=Elemento de esquema actual +findbar.title=Buscar en el documento +findbar_label=Buscar + +additional_layers=Capas adicionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de la página {{page}} + +# Find panel button title and messages +find_input.title=Encontrar +find_input.placeholder=Encontrar en el documento… +find_previous.title=Buscar la aparición anterior de la frase +find_previous_label=Previo +find_next.title=Buscar la siguiente aparición de la frase +find_next_label=Siguiente +find_highlight=Destacar todos +find_match_case_label=Coincidir mayús./minús. +find_match_diacritics_label=Coincidir diacríticos +find_entire_word_label=Palabras completas +find_reached_top=Se alcanzó el inicio del documento, continuando desde el final +find_reached_bottom=Se alcanzó el final del documento, continuando desde el inicio +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Coincidencia {{current}} de {{total}} +find_match_count[two]=Coincidencia {{current}} de {{total}} +find_match_count[few]=Coincidencia {{current}} de {{total}} +find_match_count[many]=Coincidencia {{current}} de {{total}} +find_match_count[other]=Coincidencia {{current}} de {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Más de {{limit}} coincidencias +find_match_count_limit[one]=Más de {{limit}} coincidencia +find_match_count_limit[two]=Más de {{limit}} coincidencias +find_match_count_limit[few]=Más de {{limit}} coincidencias +find_match_count_limit[many]=Más de {{limit}} coincidencias +find_match_count_limit[other]=Más de {{limit}} coincidencias +find_not_found=Frase no encontrada + +# Error panel labels +error_more_info=Más información +error_less_info=Menos información +error_close=Cerrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (compilación: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaje: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Línea: {{line}} + +# Predefined zoom values +page_scale_width=Ancho de página +page_scale_fit=Ajuste de página +page_scale_auto=Aumento automático +page_scale_actual=Tamaño actual +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargando… + +# Loading indicator messages +loading_error=Ocurrió un error al cargar el PDF. +invalid_file_error=Archivo PDF inválido o corrupto. +missing_file_error=Falta el archivo PDF. +unexpected_response_error=Respuesta del servidor inesperada. + +rendering_error=Ocurrió un error al renderizar la página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Anotación] +password_label=Ingrese la contraseña para abrir este archivo PDF. +password_invalid=Contraseña inválida. Por favor, vuelve a intentarlo. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Advertencia: Imprimir no está soportado completamente por este navegador. +printing_not_ready=Advertencia: El PDF no está completamente cargado para ser impreso. +web_fonts_disabled=Las tipografías web están desactivadas: imposible usar las fuentes PDF embebidas. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Dibujar +editor_ink2_label=Dibujar + +free_text2_default_content=Empieza a escribir… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Tamaño +editor_ink_color=Color +editor_ink_thickness=Grosor +editor_ink_opacity=Opacidad + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de dibujos +editor_ink_canvas_aria_label=Imagen creada por el usuario diff --git a/media/js/pdf/web/locale/es-ES/viewer.properties b/media/js/pdf/web/locale/es-ES/viewer.properties new file mode 100644 index 0000000000..3b32163009 --- /dev/null +++ b/media/js/pdf/web/locale/es-ES/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Página siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reducir +zoom_out_label=Reducir +zoom_in.title=Aumentar +zoom_in_label=Aumentar +zoom.title=Tamaño +presentation_mode.title=Cambiar al modo presentación +presentation_mode_label=Modo presentación +open_file.title=Abrir archivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar o abrir en una nueva ventana) +bookmark_label=Vista actual + +save.title=Guardar +save_label=Guardar +bookmark1.title=Página actual (Ver URL de la página actual) +bookmark1_label=Página actual + +open_in_app.title=Abrir en aplicación +open_in_app_label=Abrir en aplicación + +# Secondary toolbar and context menu +tools.title=Herramientas +tools_label=Herramientas +first_page.title=Ir a la primera página +first_page_label=Ir a la primera página +last_page.title=Ir a la última página +last_page_label=Ir a la última página +page_rotate_cw.title=Rotar en sentido horario +page_rotate_cw_label=Rotar en sentido horario +page_rotate_ccw.title=Rotar en sentido antihorario +page_rotate_ccw_label=Rotar en sentido antihorario + +cursor_text_select_tool.title=Activar herramienta de selección de texto +cursor_text_select_tool_label=Herramienta de selección de texto +cursor_hand_tool.title=Activar herramienta de mano +cursor_hand_tool_label=Herramienta de mano + +scroll_page.title=Usar desplazamiento de página +scroll_page_label=Desplazamiento de página +scroll_vertical.title=Usar desplazamiento vertical +scroll_vertical_label=Desplazamiento vertical +scroll_horizontal.title=Usar desplazamiento horizontal +scroll_horizontal_label=Desplazamiento horizontal +scroll_wrapped.title=Usar desplazamiento en bloque +scroll_wrapped_label=Desplazamiento en bloque + +spread_none.title=No juntar páginas en vista de libro +spread_none_label=Vista de libro +spread_odd.title=Juntar las páginas partiendo de una con número impar +spread_odd_label=Vista de libro impar +spread_even.title=Juntar las páginas partiendo de una con número par +spread_even_label=Vista de libro par + +# Document properties dialog box +document_properties.title=Propiedades del documento… +document_properties_label=Propiedades del documento… +document_properties_file_name=Nombre de archivo: +document_properties_file_size=Tamaño de archivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Asunto: +document_properties_keywords=Palabras clave: +document_properties_creation_date=Fecha de creación: +document_properties_modification_date=Fecha de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creador: +document_properties_producer=Productor PDF: +document_properties_version=Versión PDF: +document_properties_page_count=Número de páginas: +document_properties_page_size=Tamaño de la página: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista rápida de la web: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Cerrar + +print_progress_message=Preparando documento para impresión… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Cambiar barra lateral +toggle_sidebar_notification2.title=Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) +toggle_sidebar_label=Cambiar barra lateral +document_outline.title=Mostrar resumen del documento (doble clic para expandir/contraer todos los elementos) +document_outline_label=Resumen de documento +attachments.title=Mostrar adjuntos +attachments_label=Adjuntos +layers.title=Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) +layers_label=Capas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Encontrar elemento de esquema actual +current_outline_item_label=Elemento de esquema actual +findbar.title=Buscar en el documento +findbar_label=Buscar + +additional_layers=Capas adicionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de la página {{page}} + +# Find panel button title and messages +find_input.title=Buscar +find_input.placeholder=Buscar en el documento… +find_previous.title=Encontrar la anterior aparición de la frase +find_previous_label=Anterior +find_next.title=Encontrar la siguiente aparición de esta frase +find_next_label=Siguiente +find_highlight=Resaltar todos +find_match_case_label=Coincidencia de mayús./minús. +find_match_diacritics_label=Coincidir diacríticos +find_entire_word_label=Palabras completas +find_reached_top=Se alcanzó el inicio del documento, se continúa desde el final +find_reached_bottom=Se alcanzó el final del documento, se continúa desde el inicio +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidencia +find_match_count[two]={{current}} de {{total}} coincidencias +find_match_count[few]={{current}} de {{total}} coincidencias +find_match_count[many]={{current}} de {{total}} coincidencias +find_match_count[other]={{current}} de {{total}} coincidencias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Más de {{limit}} coincidencias +find_match_count_limit[one]=Más de {{limit}} coincidencia +find_match_count_limit[two]=Más de {{limit}} coincidencias +find_match_count_limit[few]=Más de {{limit}} coincidencias +find_match_count_limit[many]=Más de {{limit}} coincidencias +find_match_count_limit[other]=Más de {{limit}} coincidencias +find_not_found=Frase no encontrada + +# Error panel labels +error_more_info=Más información +error_less_info=Menos información +error_close=Cerrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaje: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Línea: {{line}} + +# Predefined zoom values +page_scale_width=Anchura de la página +page_scale_fit=Ajuste de la página +page_scale_auto=Tamaño automático +page_scale_actual=Tamaño real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargando… + +# Loading indicator messages +loading_error=Ocurrió un error al cargar el PDF. +invalid_file_error=Fichero PDF no válido o corrupto. +missing_file_error=No hay fichero PDF. +unexpected_response_error=Respuesta inesperada del servidor. + +rendering_error=Ocurrió un error al renderizar la página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotación {{type}}] +password_label=Introduzca la contraseña para abrir este archivo PDF. +password_invalid=Contraseña no válida. Vuelva a intentarlo. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Advertencia: Imprimir no está totalmente soportado por este navegador. +printing_not_ready=Advertencia: Este PDF no se ha cargado completamente para poder imprimirse. +web_fonts_disabled=Las tipografías web están desactivadas: es imposible usar las tipografías PDF embebidas. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Dibujar +editor_ink2_label=Dibujar + +free_text2_default_content=Empezar a escribir… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Tamaño +editor_ink_color=Color +editor_ink_thickness=Grosor +editor_ink_opacity=Opacidad + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de dibujos +editor_ink_canvas_aria_label=Imagen creada por el usuario diff --git a/media/js/pdf/web/locale/es-MX/viewer.properties b/media/js/pdf/web/locale/es-MX/viewer.properties new file mode 100644 index 0000000000..4cdea06831 --- /dev/null +++ b/media/js/pdf/web/locale/es-MX/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Página siguiente +next_label=Siguiente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reducir +zoom_out_label=Reducir +zoom_in.title=Aumentar +zoom_in_label=Aumentar +zoom.title=Zoom +presentation_mode.title=Cambiar al modo presentación +presentation_mode_label=Modo presentación +open_file.title=Abrir archivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar o abrir en una nueva ventana) +bookmark_label=Vista actual + +save.title=Guardar +save_label=Guardar +bookmark1.title=Página actual (Ver URL de la página actual) +bookmark1_label=Página actual + +open_in_app.title=Abrir en la aplicación +open_in_app_label=Abrir en la aplicación + +# Secondary toolbar and context menu +tools.title=Herramientas +tools_label=Herramientas +first_page.title=Ir a la primera página +first_page_label=Ir a la primera página +last_page.title=Ir a la última página +last_page_label=Ir a la última página +page_rotate_cw.title=Girar a la derecha +page_rotate_cw_label=Girar a la derecha +page_rotate_ccw.title=Girar a la izquierda +page_rotate_ccw_label=Girar a la izquierda + +cursor_text_select_tool.title=Activar la herramienta de selección de texto +cursor_text_select_tool_label=Herramienta de selección de texto +cursor_hand_tool.title=Activar la herramienta de mano +cursor_hand_tool_label=Herramienta de mano + +scroll_page.title=Usar desplazamiento de página +scroll_page_label=Desplazamiento de página +scroll_vertical.title=Usar desplazamiento vertical +scroll_vertical_label=Desplazamiento vertical +scroll_horizontal.title=Usar desplazamiento horizontal +scroll_horizontal_label=Desplazamiento horizontal +scroll_wrapped.title=Usar desplazamiento encapsulado +scroll_wrapped_label=Desplazamiento encapsulado + +spread_none.title=No unir páginas separadas +spread_none_label=Vista de una página +spread_odd.title=Unir las páginas partiendo con una de número impar +spread_odd_label=Vista de libro impar +spread_even.title=Juntar las páginas partiendo con una de número par +spread_even_label=Vista de libro par + +# Document properties dialog box +document_properties.title=Propiedades del documento… +document_properties_label=Propiedades del documento… +document_properties_file_name=Nombre del archivo: +document_properties_file_size=Tamaño del archivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Asunto: +document_properties_keywords=Palabras claves: +document_properties_creation_date=Fecha de creación: +document_properties_modification_date=Fecha de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creador: +document_properties_producer=Productor PDF: +document_properties_version=Versión PDF: +document_properties_page_count=Número de páginas: +document_properties_page_size=Tamaño de la página: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Oficio +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista rápida de la web: +document_properties_linearized_yes=Sí +document_properties_linearized_no=No +document_properties_close=Cerrar + +print_progress_message=Preparando documento para impresión… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Cambiar barra lateral +toggle_sidebar_notification2.title=Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) +toggle_sidebar_label=Cambiar barra lateral +document_outline.title=Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) +document_outline_label=Esquema del documento +attachments.title=Mostrar adjuntos +attachments_label=Adjuntos +layers.title=Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) +layers_label=Capas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Buscar elemento de esquema actual +current_outline_item_label=Elemento de esquema actual +findbar.title=Buscar en el documento +findbar_label=Buscar + +additional_layers=Capas adicionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de la página {{page}} + +# Find panel button title and messages +find_input.title=Buscar +find_input.placeholder=Buscar en el documento… +find_previous.title=Ir a la anterior frase encontrada +find_previous_label=Anterior +find_next.title=Ir a la siguiente frase encontrada +find_next_label=Siguiente +find_highlight=Resaltar todo +find_match_case_label=Coincidir con mayúsculas y minúsculas +find_match_diacritics_label=Coincidir diacríticos +find_entire_word_label=Palabras completas +find_reached_top=Se alcanzó el inicio del documento, se buscará al final +find_reached_bottom=Se alcanzó el final del documento, se buscará al inicio +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidencia +find_match_count[two]={{current}} de {{total}} coincidencias +find_match_count[few]={{current}} de {{total}} coincidencias +find_match_count[many]={{current}} de {{total}} coincidencias +find_match_count[other]={{current}} de {{total}} coincidencias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Más de {{limit}} coincidencias +find_match_count_limit[one]=Más de {{limit}} coinciden +find_match_count_limit[two]=Más de {{limit}} coincidencias +find_match_count_limit[few]=Más de {{limit}} coincidencias +find_match_count_limit[many]=Más de {{limit}} coincidencias +find_match_count_limit[other]=Más de {{limit}} coincidencias +find_not_found=No se encontró la frase + +# Error panel labels +error_more_info=Más información +error_less_info=Menos información +error_close=Cerrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaje: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Línea: {{line}} + +# Predefined zoom values +page_scale_width=Ancho de página +page_scale_fit=Ajustar página +page_scale_auto=Zoom automático +page_scale_actual=Tamaño real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargando… + +# Loading indicator messages +loading_error=Un error ocurrió al cargar el PDF. +invalid_file_error=Archivo PDF invalido o dañado. +missing_file_error=Archivo PDF no encontrado. +unexpected_response_error=Respuesta inesperada del servidor. + +rendering_error=Un error ocurrió al renderizar la página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} anotación] +password_label=Ingresa la contraseña para abrir este archivo PDF. +password_invalid=Contraseña inválida. Por favor intenta de nuevo. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Advertencia: La impresión no esta completamente soportada por este navegador. +printing_not_ready=Advertencia: El PDF no cargo completamente para impresión. +web_fonts_disabled=Las fuentes web están desactivadas: es imposible usar las fuentes PDF embebidas. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Dibujar +editor_ink2_label=Dibujar + +free_text2_default_content=Empieza a escribir… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Tamaño +editor_ink_color=Color +editor_ink_thickness=Grossor +editor_ink_opacity=Opacidad + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de dibujo +editor_ink_canvas_aria_label=Imagen creada por el usuario diff --git a/media/js/pdf/web/locale/et/viewer.properties b/media/js/pdf/web/locale/et/viewer.properties new file mode 100644 index 0000000000..1af8a405d0 --- /dev/null +++ b/media/js/pdf/web/locale/et/viewer.properties @@ -0,0 +1,262 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Eelmine lehekülg +previous_label=Eelmine +next.title=Järgmine lehekülg +next_label=Järgmine + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Leht +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}/{{pagesCount}}) + +zoom_out.title=Vähenda +zoom_out_label=Vähenda +zoom_in.title=Suurenda +zoom_in_label=Suurenda +zoom.title=Suurendamine +presentation_mode.title=Lülitu esitlusrežiimi +presentation_mode_label=Esitlusrežiim +open_file.title=Ava fail +open_file_label=Ava +print.title=Prindi +print_label=Prindi +download.title=Laadi alla +download_label=Laadi alla +bookmark.title=Praegune vaade (kopeeri või ava uues aknas) +bookmark_label=Praegune vaade + +# Secondary toolbar and context menu +tools.title=Tööriistad +tools_label=Tööriistad +first_page.title=Mine esimesele leheküljele +first_page_label=Mine esimesele leheküljele +last_page.title=Mine viimasele leheküljele +last_page_label=Mine viimasele leheküljele +page_rotate_cw.title=Pööra päripäeva +page_rotate_cw_label=Pööra päripäeva +page_rotate_ccw.title=Pööra vastupäeva +page_rotate_ccw_label=Pööra vastupäeva + +cursor_text_select_tool.title=Luba teksti valimise tööriist +cursor_text_select_tool_label=Teksti valimise tööriist +cursor_hand_tool.title=Luba sirvimistööriist +cursor_hand_tool_label=Sirvimistööriist + +scroll_page.title=Kasutatakse lehe kaupa kerimist +scroll_page_label=Lehe kaupa kerimine +scroll_vertical.title=Kasuta vertikaalset kerimist +scroll_vertical_label=Vertikaalne kerimine +scroll_horizontal.title=Kasuta horisontaalset kerimist +scroll_horizontal_label=Horisontaalne kerimine +scroll_wrapped.title=Kasuta rohkem mahutavat kerimist +scroll_wrapped_label=Rohkem mahutav kerimine + +spread_none.title=Ära kõrvuta lehekülgi +spread_none_label=Lehtede kõrvutamine puudub +spread_odd.title=Kõrvuta leheküljed, alustades paaritute numbritega lehekülgedega +spread_odd_label=Kõrvutamine paaritute numbritega alustades +spread_even.title=Kõrvuta leheküljed, alustades paarisnumbritega lehekülgedega +spread_even_label=Kõrvutamine paarisnumbritega alustades + +# Document properties dialog box +document_properties.title=Dokumendi omadused… +document_properties_label=Dokumendi omadused… +document_properties_file_name=Faili nimi: +document_properties_file_size=Faili suurus: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KiB ({{size_b}} baiti) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MiB ({{size_b}} baiti) +document_properties_title=Pealkiri: +document_properties_author=Autor: +document_properties_subject=Teema: +document_properties_keywords=Märksõnad: +document_properties_creation_date=Loodud: +document_properties_modification_date=Muudetud: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=Looja: +document_properties_producer=Generaator: +document_properties_version=Generaatori versioon: +document_properties_page_count=Lehekülgi: +document_properties_page_size=Lehe suurus: +document_properties_page_size_unit_inches=tolli +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertikaalpaigutus +document_properties_page_size_orientation_landscape=rõhtpaigutus +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized="Fast Web View" tugi: +document_properties_linearized_yes=Jah +document_properties_linearized_no=Ei +document_properties_close=Sulge + +print_progress_message=Dokumendi ettevalmistamine printimiseks… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Loobu + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Näita külgriba +toggle_sidebar_notification2.title=Näita külgriba (dokument sisaldab sisukorda/manuseid/kihte) +toggle_sidebar_label=Näita külgriba +document_outline.title=Näita sisukorda (kõigi punktide laiendamiseks/ahendamiseks topeltklõpsa) +document_outline_label=Näita sisukorda +attachments.title=Näita manuseid +attachments_label=Manused +layers.title=Näita kihte (kõikide kihtide vaikeolekusse lähtestamiseks topeltklõpsa) +layers_label=Kihid +thumbs.title=Näita pisipilte +thumbs_label=Pisipildid +current_outline_item.title=Otsi üles praegune kontuuriüksus +current_outline_item_label=Praegune kontuuriüksus +findbar.title=Otsi dokumendist +findbar_label=Otsi + +additional_layers=Täiendavad kihid +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Lehekülg {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}}. lehekülg +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}}. lehekülje pisipilt + +# Find panel button title and messages +find_input.title=Otsi +find_input.placeholder=Otsi dokumendist… +find_previous.title=Otsi fraasi eelmine esinemiskoht +find_previous_label=Eelmine +find_next.title=Otsi fraasi järgmine esinemiskoht +find_next_label=Järgmine +find_highlight=Too kõik esile +find_match_case_label=Tõstutundlik +find_match_diacritics_label=Otsitakse diakriitiliselt +find_entire_word_label=Täissõnad +find_reached_top=Jõuti dokumendi algusesse, jätkati lõpust +find_reached_bottom=Jõuti dokumendi lõppu, jätkati algusest +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=vaste {{current}}/{{total}} +find_match_count[two]=vaste {{current}}/{{total}} +find_match_count[few]=vaste {{current}}/{{total}} +find_match_count[many]=vaste {{current}}/{{total}} +find_match_count[other]=vaste {{current}}/{{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Rohkem kui {{limit}} vastet +find_match_count_limit[one]=Rohkem kui {{limit}} vaste +find_match_count_limit[two]=Rohkem kui {{limit}} vastet +find_match_count_limit[few]=Rohkem kui {{limit}} vastet +find_match_count_limit[many]=Rohkem kui {{limit}} vastet +find_match_count_limit[other]=Rohkem kui {{limit}} vastet +find_not_found=Fraasi ei leitud + +# Error panel labels +error_more_info=Rohkem teavet +error_less_info=Vähem teavet +error_close=Sulge +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Teade: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fail: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rida: {{line}} +rendering_error=Lehe renderdamisel esines viga. + +# Predefined zoom values +page_scale_width=Mahuta laiusele +page_scale_fit=Mahuta leheküljele +page_scale_auto=Automaatne suurendamine +page_scale_actual=Tegelik suurus +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Laadimine… +loading_error=PDFi laadimisel esines viga. +invalid_file_error=Vigane või rikutud PDF-fail. +missing_file_error=PDF-fail puudub. +unexpected_response_error=Ootamatu vastus serverilt. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=PDF-faili avamiseks sisesta parool. +password_invalid=Vigane parool. Palun proovi uuesti. +password_ok=Sobib +password_cancel=Loobu + +printing_not_supported=Hoiatus: printimine pole selle brauseri poolt täielikult toetatud. +printing_not_ready=Hoiatus: PDF pole printimiseks täielikult laaditud. +web_fonts_disabled=Veebifondid on keelatud: PDFiga kaasatud fonte pole võimalik kasutada. + +# Editor +editor_none.title=Keela annotatsioonide muutmine +editor_none_label=Keela muutmine +editor_free_text.title=Lisa vabateksti annotatsioon +editor_free_text_label=Vabateksti annotatsioon +editor_ink.title=Lisa tindiannotatsioon +editor_ink_label=Tindiannotatsioon + +free_text_default_content=Sisesta tekst… + diff --git a/media/js/pdf/web/locale/eu/viewer.properties b/media/js/pdf/web/locale/eu/viewer.properties new file mode 100644 index 0000000000..82d521079c --- /dev/null +++ b/media/js/pdf/web/locale/eu/viewer.properties @@ -0,0 +1,283 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Aurreko orria +previous_label=Aurrekoa +next.title=Hurrengo orria +next_label=Hurrengoa + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Orria +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}/{{pageNumber}} + +zoom_out.title=Urrundu zooma +zoom_out_label=Urrundu zooma +zoom_in.title=Gerturatu zooma +zoom_in_label=Gerturatu zooma +zoom.title=Zooma +presentation_mode.title=Aldatu aurkezpen modura +presentation_mode_label=Arkezpen modua +open_file.title=Ireki fitxategia +open_file_label=Ireki +print.title=Inprimatu +print_label=Inprimatu +download.title=Deskargatu +download_label=Deskargatu +bookmark.title=Uneko ikuspegia (kopiatu edo ireki leiho berrian) +bookmark_label=Uneko ikuspegia + +save.title=Gorde +save_label=Gorde +bookmark1.title=Uneko orria (ikusi uneko orriaren URLa) +bookmark1_label=Uneko orria +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Ireki aplikazioan +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Ireki aplikazioan + +# Secondary toolbar and context menu +tools.title=Tresnak +tools_label=Tresnak +first_page.title=Joan lehen orrira +first_page_label=Joan lehen orrira +last_page.title=Joan azken orrira +last_page_label=Joan azken orrira +page_rotate_cw.title=Biratu erlojuaren norantzan +page_rotate_cw_label=Biratu erlojuaren norantzan +page_rotate_ccw.title=Biratu erlojuaren aurkako norantzan +page_rotate_ccw_label=Biratu erlojuaren aurkako norantzan + +cursor_text_select_tool.title=Gaitu testuaren hautapen tresna +cursor_text_select_tool_label=Testuaren hautapen tresna +cursor_hand_tool.title=Gaitu eskuaren tresna +cursor_hand_tool_label=Eskuaren tresna + +scroll_page.title=Erabili orriaren korritzea +scroll_page_label=Orriaren korritzea +scroll_vertical.title=Erabili korritze bertikala +scroll_vertical_label=Korritze bertikala +scroll_horizontal.title=Erabili korritze horizontala +scroll_horizontal_label=Korritze horizontala +scroll_wrapped.title=Erabili korritze egokitua +scroll_wrapped_label=Korritze egokitua + +spread_none.title=Ez elkartu barreiatutako orriak +spread_none_label=Barreiatzerik ez +spread_odd.title=Elkartu barreiatutako orriak bakoiti zenbakidunekin hasita +spread_odd_label=Barreiatze bakoitia +spread_even.title=Elkartu barreiatutako orriak bikoiti zenbakidunekin hasita +spread_even_label=Barreiatze bikoitia + +# Document properties dialog box +document_properties.title=Dokumentuaren propietateak… +document_properties_label=Dokumentuaren propietateak… +document_properties_file_name=Fitxategi-izena: +document_properties_file_size=Fitxategiaren tamaina: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Izenburua: +document_properties_author=Egilea: +document_properties_subject=Gaia: +document_properties_keywords=Gako-hitzak: +document_properties_creation_date=Sortze-data: +document_properties_modification_date=Aldatze-data: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Sortzailea: +document_properties_producer=PDFaren ekoizlea: +document_properties_version=PDF bertsioa: +document_properties_page_count=Orrialde kopurua: +document_properties_page_size=Orriaren tamaina: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=bertikala +document_properties_page_size_orientation_landscape=horizontala +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Gutuna +document_properties_page_size_name_legal=Legala +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Webeko ikuspegi bizkorra: +document_properties_linearized_yes=Bai +document_properties_linearized_no=Ez +document_properties_close=Itxi + +print_progress_message=Dokumentua inprimatzeko prestatzen… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=%{{progress}} +print_progress_close=Utzi + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Txandakatu alboko barra +toggle_sidebar_notification2.title=Txandakatu alboko barra (dokumentuak eskema/eranskinak/geruzak ditu) +toggle_sidebar_label=Txandakatu alboko barra +document_outline.title=Erakutsi dokumentuaren eskema (klik bikoitza elementu guztiak zabaltzeko/tolesteko) +document_outline_label=Dokumentuaren eskema +attachments.title=Erakutsi eranskinak +attachments_label=Eranskinak +layers.title=Erakutsi geruzak (klik bikoitza geruza guztiak egoera lehenetsira berrezartzeko) +layers_label=Geruzak +thumbs.title=Erakutsi koadro txikiak +thumbs_label=Koadro txikiak +current_outline_item.title=Bilatu uneko eskemaren elementua +current_outline_item_label=Uneko eskemaren elementua +findbar.title=Bilatu dokumentuan +findbar_label=Bilatu + +additional_layers=Geruza gehigarriak +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}}. orria +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}}. orria +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}}. orriaren koadro txikia + +# Find panel button title and messages +find_input.title=Bilatu +find_input.placeholder=Bilatu dokumentuan… +find_previous.title=Bilatu esaldiaren aurreko parekatzea +find_previous_label=Aurrekoa +find_next.title=Bilatu esaldiaren hurrengo parekatzea +find_next_label=Hurrengoa +find_highlight=Nabarmendu guztia +find_match_case_label=Bat etorri maiuskulekin/minuskulekin +find_match_diacritics_label=Bereizi diakritikoak +find_entire_word_label=Hitz osoak +find_reached_top=Dokumentuaren hasierara heldu da, bukaeratik jarraitzen +find_reached_bottom=Dokumentuaren bukaerara heldu da, hasieratik jarraitzen +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}}/{{current}}. bat etortzea +find_match_count[two]={{total}}/{{current}}. bat etortzea +find_match_count[few]={{total}}/{{current}}. bat etortzea +find_match_count[many]={{total}}/{{current}}. bat etortzea +find_match_count[other]={{total}}/{{current}}. bat etortzea +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} bat-etortze baino gehiago +find_match_count_limit[one]=Bat-etortze {{limit}} baino gehiago +find_match_count_limit[two]={{limit}} bat-etortze baino gehiago +find_match_count_limit[few]={{limit}} bat-etortze baino gehiago +find_match_count_limit[many]={{limit}} bat-etortze baino gehiago +find_match_count_limit[other]={{limit}} bat-etortze baino gehiago +find_not_found=Esaldia ez da aurkitu + +# Error panel labels +error_more_info=Informazio gehiago +error_less_info=Informazio gutxiago +error_close=Itxi +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (eraikuntza: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mezua: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fitxategia: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lerroa: {{line}} + +# Predefined zoom values +page_scale_width=Orriaren zabalera +page_scale_fit=Doitu orrira +page_scale_auto=Zoom automatikoa +page_scale_actual=Benetako tamaina +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent=%{{scale}} + +# Loading indicator messages +loading=Kargatzen… + +# Loading indicator messages +loading_error=Errorea gertatu da PDFa kargatzean. +invalid_file_error=PDF fitxategi baliogabe edo hondatua. +missing_file_error=PDF fitxategia falta da. +unexpected_response_error=Espero gabeko zerbitzariaren erantzuna. + +rendering_error=Errorea gertatu da orria errendatzean. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ohartarazpena] +password_label=Idatzi PDF fitxategi hau irekitzeko pasahitza. +password_invalid=Pasahitz baliogabea. Saiatu berriro mesedez. +password_ok=Ados +password_cancel=Utzi + +printing_not_supported=Abisua: inprimatzeko euskarria ez da erabatekoa nabigatzaile honetan. +printing_not_ready=Abisua: PDFa ez dago erabat kargatuta inprimatzeko. +web_fonts_disabled=Webeko letra-tipoak desgaituta daude: ezin dira kapsulatutako PDF letra-tipoak erabili. + +# Editor +editor_free_text2.title=Testua +editor_free_text2_label=Testua +editor_ink2.title=Marrazkia +editor_ink2_label=Marrazkia + +free_text2_default_content=Hasi idazten… + +# Editor Parameters +editor_free_text_color=Kolorea +editor_free_text_size=Tamaina +editor_ink_color=Kolorea +editor_ink_thickness=Loditasuna +editor_ink_opacity=Opakutasuna + +# Editor aria +editor_free_text2_aria_label=Testu-editorea +editor_ink2_aria_label=Marrazki-editorea +editor_ink_canvas_aria_label=Erabiltzaileak sortutako irudia diff --git a/media/js/pdf/web/locale/fa/viewer.properties b/media/js/pdf/web/locale/fa/viewer.properties new file mode 100644 index 0000000000..ee0b483322 --- /dev/null +++ b/media/js/pdf/web/locale/fa/viewer.properties @@ -0,0 +1,242 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=صفحهٔ قبلی +previous_label=قبلی +next.title=صفحهٔ بعدی +next_label=بعدی + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=صفحه +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=از {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}از {{pagesCount}}) + +zoom_out.title=کوچکنمایی +zoom_out_label=کوچکنمایی +zoom_in.title=بزرگنمایی +zoom_in_label=بزرگنمایی +zoom.title=زوم +presentation_mode.title=تغییر به حالت ارائه +presentation_mode_label=حالت ارائه +open_file.title=باز کردن پرونده +open_file_label=باز کردن +print.title=چاپ +print_label=چاپ +download.title=بارگیری +download_label=بارگیری +bookmark.title=نمای فعلی (رونوشت و یا نشان دادن در پنجره جدید) +bookmark_label=نمای فعلی + +save_label=ذخیره + + +# Secondary toolbar and context menu +tools.title=ابزارها +tools_label=ابزارها +first_page.title=برو به اولین صفحه +first_page_label=برو به اولین صفحه +last_page.title=برو به آخرین صفحه +last_page_label=برو به آخرین صفحه +page_rotate_cw.title=چرخش ساعتگرد +page_rotate_cw_label=چرخش ساعتگرد +page_rotate_ccw.title=چرخش پاد ساعتگرد +page_rotate_ccw_label=چرخش پاد ساعتگرد + +cursor_text_select_tool.title=فعال کردن ابزارِ انتخابِ متن +cursor_text_select_tool_label=ابزارِ انتخابِ متن +cursor_hand_tool.title=فعال کردن ابزارِ دست +cursor_hand_tool_label=ابزار دست + +scroll_vertical.title=استفاده از پیمایش عمودی +scroll_vertical_label=پیمایش عمودی +scroll_horizontal.title=استفاده از پیمایش افقی +scroll_horizontal_label=پیمایش افقی + + +# Document properties dialog box +document_properties.title=خصوصیات سند... +document_properties_label=خصوصیات سند... +document_properties_file_name=نام فایل: +document_properties_file_size=حجم پرونده: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} کیلوبایت ({{size_b}} بایت) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} مگابایت ({{size_b}} بایت) +document_properties_title=عنوان: +document_properties_author=نویسنده: +document_properties_subject=موضوع: +document_properties_keywords=کلیدواژهها: +document_properties_creation_date=تاریخ ایجاد: +document_properties_modification_date=تاریخ ویرایش: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}، {{time}} +document_properties_creator=ایجاد کننده: +document_properties_producer=ایجاد کننده PDF: +document_properties_version=نسخه PDF: +document_properties_page_count=تعداد صفحات: +document_properties_page_size=اندازه صفحه: +document_properties_page_size_unit_inches=اینچ +document_properties_page_size_unit_millimeters=میلیمتر +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=نامه +document_properties_page_size_name_legal=حقوقی +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=بله +document_properties_linearized_no=خیر +document_properties_close=بستن + +print_progress_message=آماده سازی مدارک برای چاپ کردن… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=لغو + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=باز و بسته کردن نوار کناری +toggle_sidebar_label=تغییرحالت نوارکناری +document_outline.title=نمایش رئوس مطالب مدارک(برای بازشدن/جمع شدن همه موارد دوبار کلیک کنید) +document_outline_label=طرح نوشتار +attachments.title=نمایش پیوستها +attachments_label=پیوستها +layers_label=لایهها +thumbs.title=نمایش تصاویر بندانگشتی +thumbs_label=تصاویر بندانگشتی +findbar.title=جستجو در سند +findbar_label=پیدا کردن + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=صفحهٔ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=صفحه {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=تصویر بند انگشتی صفحه {{page}} + +# Find panel button title and messages +find_input.title=پیدا کردن +find_input.placeholder=پیدا کردن در سند… +find_previous.title=پیدا کردن رخداد قبلی عبارت +find_previous_label=قبلی +find_next.title=پیدا کردن رخداد بعدی عبارت +find_next_label=بعدی +find_highlight=برجسته و هایلایت کردن همه موارد +find_match_case_label=تطبیق کوچکی و بزرگی حروف +find_entire_word_label=تمام کلمهها +find_reached_top=به بالای صفحه رسیدیم، از پایین ادامه میدهیم +find_reached_bottom=به آخر صفحه رسیدیم، از بالا ادامه میدهیم +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count[one]={{current}} از {{total}} مطابقت دارد +find_match_count[two]={{current}} از {{total}} مطابقت دارد +find_match_count[few]={{current}} از {{total}} مطابقت دارد +find_match_count[many]={{current}} از {{total}} مطابقت دارد +find_match_count[other]={{current}} از {{total}} مطابقت دارد +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_not_found=عبارت پیدا نشد + +# Error panel labels +error_more_info=اطلاعات بیشتر +error_less_info=اطلاعات کمتر +error_close=بستن +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js ورژن{{version}} (ساخت: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=پیام: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=توده: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=پرونده: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=سطر: {{line}} + +# Predefined zoom values +page_scale_width=عرض صفحه +page_scale_fit=اندازه کردن صفحه +page_scale_auto=بزرگنمایی خودکار +page_scale_actual=اندازه واقعی +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages + +# Loading indicator messages +loading_error=هنگام بارگیری پرونده PDF خطایی رخ داد. +invalid_file_error=پرونده PDF نامعتبر یامعیوب میباشد. +missing_file_error=پرونده PDF یافت نشد. +unexpected_response_error=پاسخ پیش بینی نشده سرور + +rendering_error=هنگام بارگیری صفحه خطایی رخ داد. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=جهت باز کردن پرونده PDF گذرواژه را وارد نمائید. +password_invalid=گذرواژه نامعتبر. لطفا مجددا تلاش کنید. +password_ok=تأیید +password_cancel=لغو + +printing_not_supported=هشدار: قابلیت چاپ بهطور کامل در این مرورگر پشتیبانی نمیشود. +printing_not_ready=اخطار: پرونده PDF بطور کامل بارگیری نشده و امکان چاپ وجود ندارد. +web_fonts_disabled=فونت های تحت وب غیر فعال شده اند: امکان استفاده از نمایش دهنده داخلی PDF وجود ندارد. + +# Editor +editor_free_text2.title=متن +editor_free_text2_label=متن +editor_ink2.title=کشیدن +editor_ink2_label=کشیدن + + +# Editor Parameters +editor_free_text_color=رنگ +editor_free_text_size=اندازه +editor_ink_color=رنگ + +# Editor aria diff --git a/media/js/pdf/web/locale/ff/viewer.properties b/media/js/pdf/web/locale/ff/viewer.properties new file mode 100644 index 0000000000..9acff5b091 --- /dev/null +++ b/media/js/pdf/web/locale/ff/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Hello Ɓennungo +previous_label=Ɓennuɗo +next.title=Hello faango +next_label=Yeeso + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Hello +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=e nder {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Lonngo Woɗɗa +zoom_out_label=Lonngo Woɗɗa +zoom_in.title=Lonngo Ara +zoom_in_label=Lonngo Ara +zoom.title=Lonngo +presentation_mode.title=Faytu to Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Uddit Fiilde +open_file_label=Uddit +print.title=Winndito +print_label=Winndito +download.title=Aawto +download_label=Aawto +bookmark.title=Jiytol gonangol (natto walla uddit e henorde) +bookmark_label=Jiytol Gonangol + +# Secondary toolbar and context menu +tools.title=Kuutorɗe +tools_label=Kuutorɗe +first_page.title=Yah to hello adanngo +first_page_label=Yah to hello adanngo +last_page.title=Yah to hello wattindiingo +last_page_label=Yah to hello wattindiingo +page_rotate_cw.title=Yiiltu Faya Ñaamo +page_rotate_cw_label=Yiiltu Faya Ñaamo +page_rotate_ccw.title=Yiiltu Faya Nano +page_rotate_ccw_label=Yiiltu Faya Nano + +cursor_text_select_tool.title=Gollin kaɓirgel cuɓirgel binndi +cursor_text_select_tool_label=Kaɓirgel cuɓirgel binndi +cursor_hand_tool.title=Hurmin kuutorgal junngo +cursor_hand_tool_label=Kaɓirgel junngo + +scroll_vertical.title=Huutoro gorwitol daringol +scroll_vertical_label=Gorwitol daringol +scroll_horizontal.title=Huutoro gorwitol lelingol +scroll_horizontal_label=Gorwitol daringol +scroll_wrapped.title=Huutoro gorwitol coomingol +scroll_wrapped_label=Gorwitol coomingol + +spread_none.title=Hoto tawtu kelle kelle +spread_none_label=Alaa Spreads +spread_odd.title=Tawtu kelle puɗɗortooɗe kelle teelɗe +spread_odd_label=Kelle teelɗe +spread_even.title=Tawtu ɗereeji kelle puɗɗoriiɗi kelle teeltuɗe +spread_even_label=Kelle teeltuɗe + +# Document properties dialog box +document_properties.title=Keeroraaɗi Winndannde… +document_properties_label=Keeroraaɗi Winndannde… +document_properties_file_name=Innde fiilde: +document_properties_file_size=Ɓetol fiilde: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bite) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bite) +document_properties_title=Tiitoonde: +document_properties_author=Binnduɗo: +document_properties_subject=Toɓɓere: +document_properties_keywords=Kelmekele jiytirɗe: +document_properties_creation_date=Ñalnde Sosaa: +document_properties_modification_date=Ñalnde Waylaa: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Cosɗo: +document_properties_producer=Paggiiɗo PDF: +document_properties_version=Yamre PDF: +document_properties_page_count=Limoore Kelle: +document_properties_page_size=Ɓeto Hello: +document_properties_page_size_unit_inches=nder +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=dariingo +document_properties_page_size_orientation_landscape=wertiingo +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Ɓataake +document_properties_page_size_name_legal=Laawol +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Ɗisngo geese yaawngo: +document_properties_linearized_yes=Eey +document_properties_linearized_no=Alaa +document_properties_close=Uddu + +print_progress_message=Nana heboo winnditaade fiilannde… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Haaytu + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggilo Palal Sawndo +toggle_sidebar_label=Toggilo Palal Sawndo +document_outline.title=Hollu Ƴiyal Fiilannde (dobdobo ngam wertude/taggude teme fof) +document_outline_label=Toɓɓe Fiilannde +attachments.title=Hollu Ɗisanɗe +attachments_label=Ɗisanɗe +thumbs.title=Hollu Dooɓe +thumbs_label=Dooɓe +findbar.title=Yiylo e fiilannde +findbar_label=Yiytu + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Hello {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Dooɓre Hello {{page}} + +# Find panel button title and messages +find_input.title=Yiytu +find_input.placeholder=Yiylo nder dokimaa +find_previous.title=Yiylo cilol ɓennugol konngol ngol +find_previous_label=Ɓennuɗo +find_next.title=Yiylo cilol garowol konngol ngol +find_next_label=Yeeso +find_highlight=Jalbin fof +find_match_case_label=Jaaɓnu darnde +find_entire_word_label=Kelme timmuɗe tan +find_reached_top=Heɓii fuɗɗorde fiilannde, jokku faya les +find_reached_bottom=Heɓii hoore fiilannde, jokku faya les +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} wonande laabi {{total}} +find_match_count[two]={{current}} wonande laabi {{total}} +find_match_count[few]={{current}} wonande laabi {{total}} +find_match_count[many]={{current}} wonande laabi {{total}} +find_match_count[other]={{current}} wonande laabi {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Ko ɓuri laabi {{limit}} +find_match_count_limit[one]=Ko ɓuri laani {{limit}} +find_match_count_limit[two]=Ko ɓuri laabi {{limit}} +find_match_count_limit[few]=Ko ɓuri laabi {{limit}} +find_match_count_limit[many]=Ko ɓuri laabi {{limit}} +find_match_count_limit[other]=Ko ɓuri laabi {{limit}} +find_not_found=Konngi njiyataa + +# Error panel labels +error_more_info=Ɓeydu Humpito +error_less_info=Ustu Humpito +error_close=Uddu +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Ɓatakuure: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fiilde: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Gorol: {{line}} +rendering_error=Juumre waɗii tuma nde yoŋkittoo hello. + +# Predefined zoom values +page_scale_width=Njaajeendi Hello +page_scale_fit=Keƴeendi Hello +page_scale_auto=Loongorde Jaajol +page_scale_actual=Ɓetol Jaati +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Juumre waɗii tuma nde loowata PDF oo. +invalid_file_error=Fiilde PDF moƴƴaani walla jiibii. +missing_file_error=Fiilde PDF ena ŋakki. +unexpected_response_error=Jaabtol sarworde tijjinooka. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Siiftannde] +password_label=Naatu finnde ngam uddite ndee fiilde PDF. +password_invalid=Finnde moƴƴaani. Tiiɗno eto kadi. +password_ok=OK +password_cancel=Haaytu + +printing_not_supported=Reentino: Winnditagol tammbitaaka no feewi e ndee wanngorde. +printing_not_ready=Reentino: PDF oo loowaaki haa timmi ngam winnditagol. +web_fonts_disabled=Ponte geese ko daaƴaaɗe: horiima huutoraade ponte PDF coomtoraaɗe. + diff --git a/media/js/pdf/web/locale/fi/viewer.properties b/media/js/pdf/web/locale/fi/viewer.properties new file mode 100644 index 0000000000..448d517f3b --- /dev/null +++ b/media/js/pdf/web/locale/fi/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Edellinen sivu +previous_label=Edellinen +next.title=Seuraava sivu +next_label=Seuraava + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sivu +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=Loitonna +zoom_out_label=Loitonna +zoom_in.title=Lähennä +zoom_in_label=Lähennä +zoom.title=Suurennus +presentation_mode.title=Siirry esitystilaan +presentation_mode_label=Esitystila +open_file.title=Avaa tiedosto +open_file_label=Avaa +print.title=Tulosta +print_label=Tulosta +download.title=Lataa +download_label=Lataa +bookmark.title=Avoin ikkuna (kopioi tai avaa uuteen ikkunaan) +bookmark_label=Avoin ikkuna + +save.title=Tallenna +save_label=Tallenna +bookmark1.title=Nykyinen sivu (Näytä URL-osoite nykyiseltä sivulta) +bookmark1_label=Nykyinen sivu + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Avaa sovelluksessa +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Avaa sovelluksessa + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Siirry ensimmäiselle sivulle +first_page_label=Siirry ensimmäiselle sivulle +last_page.title=Siirry viimeiselle sivulle +last_page_label=Siirry viimeiselle sivulle +page_rotate_cw.title=Kierrä oikealle +page_rotate_cw_label=Kierrä oikealle +page_rotate_ccw.title=Kierrä vasemmalle +page_rotate_ccw_label=Kierrä vasemmalle + +cursor_text_select_tool.title=Käytä tekstinvalintatyökalua +cursor_text_select_tool_label=Tekstinvalintatyökalu +cursor_hand_tool.title=Käytä käsityökalua +cursor_hand_tool_label=Käsityökalu + +scroll_page.title=Käytä sivun vieritystä +scroll_page_label=Sivun vieritys +scroll_vertical.title=Käytä pystysuuntaista vieritystä +scroll_vertical_label=Pystysuuntainen vieritys +scroll_horizontal.title=Käytä vaakasuuntaista vieritystä +scroll_horizontal_label=Vaakasuuntainen vieritys +scroll_wrapped.title=Käytä rivittyvää vieritystä +scroll_wrapped_label=Rivittyvä vieritys + +spread_none.title=Älä yhdistä sivuja aukeamiksi +spread_none_label=Ei aukeamia +spread_odd.title=Yhdistä sivut aukeamiksi alkaen parittomalta sivulta +spread_odd_label=Parittomalta alkavat aukeamat +spread_even.title=Yhdistä sivut aukeamiksi alkaen parilliselta sivulta +spread_even_label=Parilliselta alkavat aukeamat + +# Document properties dialog box +document_properties.title=Dokumentin ominaisuudet… +document_properties_label=Dokumentin ominaisuudet… +document_properties_file_name=Tiedoston nimi: +document_properties_file_size=Tiedoston koko: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kt ({{size_b}} tavua) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} Mt ({{size_b}} tavua) +document_properties_title=Otsikko: +document_properties_author=Tekijä: +document_properties_subject=Aihe: +document_properties_keywords=Avainsanat: +document_properties_creation_date=Luomispäivämäärä: +document_properties_modification_date=Muokkauspäivämäärä: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Luoja: +document_properties_producer=PDF-tuottaja: +document_properties_version=PDF-versio: +document_properties_page_count=Sivujen määrä: +document_properties_page_size=Sivun koko: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=pysty +document_properties_page_size_orientation_landscape=vaaka +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Nopea web-katselu: +document_properties_linearized_yes=Kyllä +document_properties_linearized_no=Ei +document_properties_close=Sulje + +print_progress_message=Valmistellaan dokumenttia tulostamista varten… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Peruuta + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Näytä/piilota sivupaneeli +toggle_sidebar_notification2.title=Näytä/piilota sivupaneeli (dokumentissa on sisällys/liitteitä/tasoja) +toggle_sidebar_label=Näytä/piilota sivupaneeli +document_outline.title=Näytä dokumentin sisällys (laajenna tai kutista kohdat kaksoisnapsauttamalla) +document_outline_label=Dokumentin sisällys +attachments.title=Näytä liitteet +attachments_label=Liitteet +layers.title=Näytä tasot (kaksoisnapsauta palauttaaksesi kaikki tasot oletustilaan) +layers_label=Tasot +thumbs.title=Näytä pienoiskuvat +thumbs_label=Pienoiskuvat +current_outline_item.title=Etsi nykyinen sisällyksen kohta +current_outline_item_label=Nykyinen sisällyksen kohta +findbar.title=Etsi dokumentista +findbar_label=Etsi + +additional_layers=Lisätasot +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Sivu {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Sivu {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Pienoiskuva sivusta {{page}} + +# Find panel button title and messages +find_input.title=Etsi +find_input.placeholder=Etsi dokumentista… +find_previous.title=Etsi hakusanan edellinen osuma +find_previous_label=Edellinen +find_next.title=Etsi hakusanan seuraava osuma +find_next_label=Seuraava +find_highlight=Korosta kaikki +find_match_case_label=Huomioi kirjainkoko +find_match_diacritics_label=Erota tarkkeet +find_entire_word_label=Kokonaiset sanat +find_reached_top=Päästiin dokumentin alkuun, jatketaan lopusta +find_reached_bottom=Päästiin dokumentin loppuun, jatketaan alusta +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} / {{total}} osuma +find_match_count[two]={{current}} / {{total}} osumaa +find_match_count[few]={{current}} / {{total}} osumaa +find_match_count[many]={{current}} / {{total}} osumaa +find_match_count[other]={{current}} / {{total}} osumaa +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Enemmän kuin {{limit}} osumaa +find_match_count_limit[one]=Enemmän kuin {{limit}} osuma +find_match_count_limit[two]=Enemmän kuin {{limit}} osumaa +find_match_count_limit[few]=Enemmän kuin {{limit}} osumaa +find_match_count_limit[many]=Enemmän kuin {{limit}} osumaa +find_match_count_limit[other]=Enemmän kuin {{limit}} osumaa +find_not_found=Hakusanaa ei löytynyt + +# Error panel labels +error_more_info=Lisätietoja +error_less_info=Lisätietoja +error_close=Sulje +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (kooste: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Virheilmoitus: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pino: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Tiedosto: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rivi: {{line}} + +# Predefined zoom values +page_scale_width=Sivun leveys +page_scale_fit=Koko sivu +page_scale_auto=Automaattinen suurennus +page_scale_actual=Todellinen koko +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Ladataan… + +# Loading indicator messages +loading_error=Tapahtui virhe ladattaessa PDF-tiedostoa. +invalid_file_error=Virheellinen tai vioittunut PDF-tiedosto. +missing_file_error=Puuttuva PDF-tiedosto. +unexpected_response_error=Odottamaton vastaus palvelimelta. + +rendering_error=Tapahtui virhe piirrettäessä sivua. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-merkintä] +password_label=Kirjoita PDF-tiedoston salasana. +password_invalid=Virheellinen salasana. Yritä uudestaan. +password_ok=OK +password_cancel=Peruuta + +printing_not_supported=Varoitus: Selain ei tue kaikkia tulostustapoja. +printing_not_ready=Varoitus: PDF-tiedosto ei ole vielä latautunut kokonaan, eikä sitä voi vielä tulostaa. +web_fonts_disabled=Verkkosivujen omat kirjasinlajit on estetty: ei voida käyttää upotettuja PDF-kirjasinlajeja. + +# Editor +editor_free_text2.title=Teksti +editor_free_text2_label=Teksti +editor_ink2.title=Piirros +editor_ink2_label=Piirros + +free_text2_default_content=Aloita kirjoittaminen… + +# Editor Parameters +editor_free_text_color=Väri +editor_free_text_size=Koko +editor_ink_color=Väri +editor_ink_thickness=Paksuus +editor_ink_opacity=Peittävyys + +# Editor aria +editor_free_text2_aria_label=Tekstimuokkain +editor_ink2_aria_label=Piirrustusmuokkain +editor_ink_canvas_aria_label=Käyttäjän luoma kuva diff --git a/media/js/pdf/web/locale/fr/viewer.properties b/media/js/pdf/web/locale/fr/viewer.properties new file mode 100644 index 0000000000..bee060dc45 --- /dev/null +++ b/media/js/pdf/web/locale/fr/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Page précédente +previous_label=Précédent +next.title=Page suivante +next_label=Suivant + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=sur {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} sur {{pagesCount}}) + +zoom_out.title=Zoom arrière +zoom_out_label=Zoom arrière +zoom_in.title=Zoom avant +zoom_in_label=Zoom avant +zoom.title=Zoom +presentation_mode.title=Basculer en mode présentation +presentation_mode_label=Mode présentation +open_file.title=Ouvrir le fichier +open_file_label=Ouvrir le fichier +print.title=Imprimer +print_label=Imprimer +download.title=Télécharger +download_label=Télécharger +bookmark.title=Affichage courant (copier ou ouvrir dans une nouvelle fenêtre) +bookmark_label=Affichage actuel + +save.title=Enregistrer +save_label=Enregistrer +bookmark1.title=Page courante (montrer l’adresse de la page courante) +bookmark1_label=Page courante + +open_in_app.title=Ouvrir dans une application +open_in_app_label=Ouvrir dans une application + +# Secondary toolbar and context menu +tools.title=Outils +tools_label=Outils +first_page.title=Aller à la première page +first_page_label=Aller à la première page +last_page.title=Aller à la dernière page +last_page_label=Aller à la dernière page +page_rotate_cw.title=Rotation horaire +page_rotate_cw_label=Rotation horaire +page_rotate_ccw.title=Rotation antihoraire +page_rotate_ccw_label=Rotation antihoraire + +cursor_text_select_tool.title=Activer l’outil de sélection de texte +cursor_text_select_tool_label=Outil de sélection de texte +cursor_hand_tool.title=Activer l’outil main +cursor_hand_tool_label=Outil main + +scroll_page.title=Utiliser le défilement par page +scroll_page_label=Défilement par page +scroll_vertical.title=Utiliser le défilement vertical +scroll_vertical_label=Défilement vertical +scroll_horizontal.title=Utiliser le défilement horizontal +scroll_horizontal_label=Défilement horizontal +scroll_wrapped.title=Utiliser le défilement par bloc +scroll_wrapped_label=Défilement par bloc + +spread_none.title=Ne pas afficher les pages deux à deux +spread_none_label=Pas de double affichage +spread_odd.title=Afficher les pages par deux, impaires à gauche +spread_odd_label=Doubles pages, impaires à gauche +spread_even.title=Afficher les pages par deux, paires à gauche +spread_even_label=Doubles pages, paires à gauche + +# Document properties dialog box +document_properties.title=Propriétés du document… +document_properties_label=Propriétés du document… +document_properties_file_name=Nom du fichier : +document_properties_file_size=Taille du fichier : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} Ko ({{size_b}} octets) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} Mo ({{size_b}} octets) +document_properties_title=Titre : +document_properties_author=Auteur : +document_properties_subject=Sujet : +document_properties_keywords=Mots-clés : +document_properties_creation_date=Date de création : +document_properties_modification_date=Modifié le : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} à {{time}} +document_properties_creator=Créé par : +document_properties_producer=Outil de conversion PDF : +document_properties_version=Version PDF : +document_properties_page_count=Nombre de pages : +document_properties_page_size=Taille de la page : +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=paysage +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=lettre +document_properties_page_size_name_legal=document juridique +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Affichage rapide des pages web : +document_properties_linearized_yes=Oui +document_properties_linearized_no=Non +document_properties_close=Fermer + +print_progress_message=Préparation du document pour l’impression… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Annuler + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Afficher/Masquer le panneau latéral +toggle_sidebar_notification2.title=Afficher/Masquer le panneau latéral (le document contient des signets/pièces jointes/calques) +toggle_sidebar_label=Afficher/Masquer le panneau latéral +document_outline.title=Afficher les signets du document (double-cliquer pour développer/réduire tous les éléments) +document_outline_label=Signets du document +attachments.title=Afficher les pièces jointes +attachments_label=Pièces jointes +layers.title=Afficher les calques (double-cliquer pour réinitialiser tous les calques à l’état par défaut) +layers_label=Calques +thumbs.title=Afficher les vignettes +thumbs_label=Vignettes +current_outline_item.title=Trouver l’élément de plan actuel +current_outline_item_label=Élément de plan actuel +findbar.title=Rechercher dans le document +findbar_label=Rechercher + +additional_layers=Calques additionnels +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Page {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Vignette de la page {{page}} + +# Find panel button title and messages +find_input.title=Rechercher +find_input.placeholder=Rechercher dans le document… +find_previous.title=Trouver l’occurrence précédente de l’expression +find_previous_label=Précédent +find_next.title=Trouver la prochaine occurrence de l’expression +find_next_label=Suivant +find_highlight=Tout surligner +find_match_case_label=Respecter la casse +find_match_diacritics_label=Respecter les accents et diacritiques +find_entire_word_label=Mots entiers +find_reached_top=Haut de la page atteint, poursuite depuis la fin +find_reached_bottom=Bas de la page atteint, poursuite au début +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Occurrence {{current}} sur {{total}} +find_match_count[two]=Occurrence {{current}} sur {{total}} +find_match_count[few]=Occurrence {{current}} sur {{total}} +find_match_count[many]=Occurrence {{current}} sur {{total}} +find_match_count[other]=Occurrence {{current}} sur {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Plus de {{limit}} correspondances +find_match_count_limit[one]=Plus de {{limit}} correspondance +find_match_count_limit[two]=Plus de {{limit}} correspondances +find_match_count_limit[few]=Plus de {{limit}} correspondances +find_match_count_limit[many]=Plus de {{limit}} correspondances +find_match_count_limit[other]=Plus de {{limit}} correspondances +find_not_found=Expression non trouvée + +# Error panel labels +error_more_info=Plus d’informations +error_less_info=Moins d’informations +error_close=Fermer +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (identifiant de compilation : {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message : {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pile : {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fichier : {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Ligne : {{line}} + +# Predefined zoom values +page_scale_width=Pleine largeur +page_scale_fit=Page entière +page_scale_auto=Zoom automatique +page_scale_actual=Taille réelle +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Chargement… + +# Loading indicator messages +loading_error=Une erreur s’est produite lors du chargement du fichier PDF. +invalid_file_error=Fichier PDF invalide ou corrompu. +missing_file_error=Fichier PDF manquant. +unexpected_response_error=Réponse inattendue du serveur. + +rendering_error=Une erreur s’est produite lors de l’affichage de la page. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} à {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Annotation {{type}}] +password_label=Veuillez saisir le mot de passe pour ouvrir ce fichier PDF. +password_invalid=Mot de passe incorrect. Veuillez réessayer. +password_ok=OK +password_cancel=Annuler + +printing_not_supported=Attention : l’impression n’est pas totalement prise en charge par ce navigateur. +printing_not_ready=Attention : le PDF n’est pas entièrement chargé pour pouvoir l’imprimer. +web_fonts_disabled=Les polices web sont désactivées : impossible d’utiliser les polices intégrées au PDF. + +# Editor +editor_free_text2.title=Texte +editor_free_text2_label=Texte +editor_ink2.title=Dessiner +editor_ink2_label=Dessiner + +free_text2_default_content=Commencer à écrire… + +# Editor Parameters +editor_free_text_color=Couleur +editor_free_text_size=Taille +editor_ink_color=Couleur +editor_ink_thickness=Épaisseur +editor_ink_opacity=Opacité + +# Editor aria +editor_free_text2_aria_label=Éditeur de texte +editor_ink2_aria_label=Éditeur de dessin +editor_ink_canvas_aria_label=Image créée par l’utilisateur·trice diff --git a/media/js/pdf/web/locale/fur/viewer.properties b/media/js/pdf/web/locale/fur/viewer.properties new file mode 100644 index 0000000000..8f2f8109ec --- /dev/null +++ b/media/js/pdf/web/locale/fur/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagjine precedente +previous_label=Indaûr +next.title=Prossime pagjine +next_label=Indevant + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagjine +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=di {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} di {{pagesCount}}) + +zoom_out.title=Impiçulìs +zoom_out_label=Impiçulìs +zoom_in.title=Ingrandìs +zoom_in_label=Ingrandìs +zoom.title=Ingrandiment +presentation_mode.title=Passe ae modalitât presentazion +presentation_mode_label=Modalitât presentazion +open_file.title=Vierç un file +open_file_label=Vierç +print.title=Stampe +print_label=Stampe +download.title=Discjame +download_label=Discjame +bookmark.title=Viodude atuâl (copie o vierç intun gnûf barcon) +bookmark_label=Viodude atuâl + +save.title=Salve +save_label=Salve +bookmark1.title=Pagjine corinte (mostre URL de pagjine atuâl) +bookmark1_label=Pagjine corinte + +open_in_app.title=Vierç te aplicazion +open_in_app_label=Vierç te aplicazion + +# Secondary toolbar and context menu +tools.title=Struments +tools_label=Struments +first_page.title=Va ae prime pagjine +first_page_label=Va ae prime pagjine +last_page.title=Va ae ultime pagjine +last_page_label=Va ae ultime pagjine +page_rotate_cw.title=Zire in sens orari +page_rotate_cw_label=Zire in sens orari +page_rotate_ccw.title=Zire in sens antiorari +page_rotate_ccw_label=Zire in sens antiorari + +cursor_text_select_tool.title=Ative il strument di selezion dal test +cursor_text_select_tool_label=Strument di selezion dal test +cursor_hand_tool.title=Ative il strument manute +cursor_hand_tool_label=Strument manute + +scroll_page.title=Dopre il scoriment des pagjinis +scroll_page_label=Scoriment pagjinis +scroll_vertical.title=Dopre scoriment verticâl +scroll_vertical_label=Scoriment verticâl +scroll_horizontal.title=Dopre scoriment orizontâl +scroll_horizontal_label=Scoriment orizontâl +scroll_wrapped.title=Dopre scoriment par blocs +scroll_wrapped_label=Scoriment par blocs + +spread_none.title=No sta meti dongje pagjinis in cubie +spread_none_label=No cubiis di pagjinis +spread_odd.title=Met dongje cubiis di pagjinis scomençant des pagjinis dispar +spread_odd_label=Cubiis di pagjinis, dispar a çampe +spread_even.title=Met dongje cubiis di pagjinis scomençant des pagjinis pâr +spread_even_label=Cubiis di pagjinis, pâr a çampe + +# Document properties dialog box +document_properties.title=Proprietâts dal document… +document_properties_label=Proprietâts dal document… +document_properties_file_name=Non dal file: +document_properties_file_size=Dimension dal file: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titul: +document_properties_author=Autôr: +document_properties_subject=Ogjet: +document_properties_keywords=Peraulis clâf: +document_properties_creation_date=Date di creazion: +document_properties_modification_date=Date di modifiche: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creatôr +document_properties_producer=Gjeneradôr PDF: +document_properties_version=Version PDF: +document_properties_page_count=Numar di pagjinis: +document_properties_page_size=Dimension de pagjine: +document_properties_page_size_unit_inches=oncis +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=verticâl +document_properties_page_size_orientation_landscape=orizontâl +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letare +document_properties_page_size_name_legal=Legâl +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Visualizazion web svelte: +document_properties_linearized_yes=Sì +document_properties_linearized_no=No +document_properties_close=Siere + +print_progress_message=Daûr a prontâ il document pe stampe… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anule + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Ative/Disative sbare laterâl +toggle_sidebar_notification2.title=Ative/Disative sbare laterâl (il document al conten struture/zontis/strâts) +toggle_sidebar_label=Ative/Disative sbare laterâl +document_outline.title=Mostre la struture dal document (dopli clic par slargjâ/strenzi ducj i elements) +document_outline_label=Struture dal document +attachments.title=Mostre lis zontis +attachments_label=Zontis +layers.title=Mostre i strâts (dopli clic par ristabilî ducj i strâts al stât predefinît) +layers_label=Strâts +thumbs.title=Mostre miniaturis +thumbs_label=Miniaturis +current_outline_item.title=Cjate l'element de struture atuâl +current_outline_item_label=Element de struture atuâl +findbar.title=Cjate tal document +findbar_label=Cjate + +additional_layers=Strâts adizionâi +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pagjine {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagjine {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniature de pagjine {{page}} + +# Find panel button title and messages +find_input.title=Cjate +find_input.placeholder=Cjate tal document… +find_previous.title=Cjate il câs precedent dal test +find_previous_label=Precedent +find_next.title=Cjate il câs sucessîf dal test +find_next_label=Sucessîf +find_highlight=Evidenzie dut +find_match_case_label=Fâs distinzion tra maiusculis e minusculis +find_match_diacritics_label=Corispondence diacritiche +find_entire_word_label=Peraulis interiis +find_reached_top=Si è rivâts al inizi dal document e si à continuât de fin +find_reached_bottom=Si è rivât ae fin dal document e si à continuât dal inizi +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} di {{total}} corispondence +find_match_count[two]={{current}} di {{total}} corispondencis +find_match_count[few]={{current}} di {{total}} corispondencis +find_match_count[many]={{current}} di {{total}} corispondencis +find_match_count[other]={{current}} di {{total}} corispondencis +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Plui di {{limit}} corispondencis +find_match_count_limit[one]=Plui di {{limit}} corispondence +find_match_count_limit[two]=Plui di {{limit}} corispondencis +find_match_count_limit[few]=Plui di {{limit}} corispondencis +find_match_count_limit[many]=Plui di {{limit}} corispondencis +find_match_count_limit[other]=Plui di {{limit}} corispondencis +find_not_found=Test no cjatât + +# Error panel labels +error_more_info=Altris informazions +error_less_info=Mancul informazions +error_close=Siere +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (compilazion: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Messaç: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rie: {{line}} + +# Predefined zoom values +page_scale_width=Largjece de pagjine +page_scale_fit=Pagjine interie +page_scale_auto=Ingrandiment automatic +page_scale_actual=Dimension reâl +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Daûr a cjamâ… + +# Loading indicator messages +loading_error=Al è vignût fûr un erôr intant che si cjariave il PDF. +invalid_file_error=File PDF no valit o ruvinât. +missing_file_error=Al mancje il file PDF. +unexpected_response_error=Rispueste dal servidôr inspietade. + +rendering_error=Al è vignût fûr un erôr tal realizâ la visualizazion de pagjine. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotazion {{type}}] +password_label=Inserìs la password par vierzi chest file PDF. +password_invalid=Password no valide. Par plasê torne prove. +password_ok=Va ben +password_cancel=Anule + +printing_not_supported=Atenzion: la stampe no je supuartade ad implen di chest navigadôr. +printing_not_ready=Atenzion: il PDF nol è stât cjamât dal dut pe stampe. +web_fonts_disabled=I caratars dal Web a son disativâts: Impussibil doprâ i caratars PDF incorporâts. + +# Editor +editor_free_text2.title=Test +editor_free_text2_label=Test +editor_ink2.title=Dissen +editor_ink2_label=Dissen + +free_text2_default_content=Scomence a scrivi… + +# Editor Parameters +editor_free_text_color=Colôr +editor_free_text_size=Dimension +editor_ink_color=Colôr +editor_ink_thickness=Spessôr +editor_ink_opacity=Opacitât + +# Editor aria +editor_free_text2_aria_label=Editôr di test +editor_ink2_aria_label=Editôr dissens +editor_ink_canvas_aria_label=Imagjin creade dal utent diff --git a/media/js/pdf/web/locale/fy-NL/viewer.properties b/media/js/pdf/web/locale/fy-NL/viewer.properties new file mode 100644 index 0000000000..40e326dc63 --- /dev/null +++ b/media/js/pdf/web/locale/fy-NL/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Foarige side +previous_label=Foarige +next.title=Folgjende side +next_label=Folgjende + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=fan {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} fan {{pagesCount}}) + +zoom_out.title=Utzoome +zoom_out_label=Utzoome +zoom_in.title=Ynzoome +zoom_in_label=Ynzoome +zoom.title=Zoome +presentation_mode.title=Wikselje nei presintaasjemodus +presentation_mode_label=Presintaasjemodus +open_file.title=Bestân iepenje +open_file_label=Iepenje +print.title=Ofdrukke +print_label=Ofdrukke +download.title=Downloade +download_label=Downloade +bookmark.title=Aktuele finster (kopiearje of iepenje yn nij finster) +bookmark_label=Aktuele finster + +save.title=Bewarje +save_label=Bewarje +bookmark1.title=Aktuele side (URL fan aktuele side besjen) +bookmark1_label=Aktuele side + +open_in_app.title=Iepenje yn app +open_in_app_label=Iepenje yn app + +# Secondary toolbar and context menu +tools.title=Ark +tools_label=Ark +first_page.title=Gean nei earste side +first_page_label=Gean nei earste side +last_page.title=Gean nei lêste side +last_page_label=Gean nei lêste side +page_rotate_cw.title=Rjochtsom draaie +page_rotate_cw_label=Rjochtsom draaie +page_rotate_ccw.title=Linksom draaie +page_rotate_ccw_label=Linksom draaie + +cursor_text_select_tool.title=Tekstseleksjehelpmiddel ynskeakelje +cursor_text_select_tool_label=Tekstseleksjehelpmiddel +cursor_hand_tool.title=Hânhelpmiddel ynskeakelje +cursor_hand_tool_label=Hânhelpmiddel + +scroll_page.title=Sideskowen brûke +scroll_page_label=Sideskowen +scroll_vertical.title=Fertikaal skowe brûke +scroll_vertical_label=Fertikaal skowe +scroll_horizontal.title=Horizontaal skowe brûke +scroll_horizontal_label=Horizontaal skowe +scroll_wrapped.title=Skowe mei oersjoch brûke +scroll_wrapped_label=Skowe mei oersjoch + +spread_none.title=Sidesprieding net gearfetsje +spread_none_label=Gjin sprieding +spread_odd.title=Sidesprieding gearfetsje te starten mei ûneven nûmers +spread_odd_label=Uneven sprieding +spread_even.title=Sidesprieding gearfetsje te starten mei even nûmers +spread_even_label=Even sprieding + +# Document properties dialog box +document_properties.title=Dokuminteigenskippen… +document_properties_label=Dokuminteigenskippen… +document_properties_file_name=Bestânsnamme: +document_properties_file_size=Bestânsgrutte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Auteur: +document_properties_subject=Underwerp: +document_properties_keywords=Kaaiwurden: +document_properties_creation_date=Oanmaakdatum: +document_properties_modification_date=Bewurkingsdatum: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Makker: +document_properties_producer=PDF-makker: +document_properties_version=PDF-ferzje: +document_properties_page_count=Siden: +document_properties_page_size=Sideformaat: +document_properties_page_size_unit_inches=yn +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=steand +document_properties_page_size_orientation_landscape=lizzend +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Juridysk +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Flugge webwerjefte: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nee +document_properties_close=Slute + +print_progress_message=Dokumint tariede oar ôfdrukken… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annulearje + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Sidebalke yn-/útskeakelje +toggle_sidebar_notification2.title=Sidebalke yn-/útskeakelje (dokumint befettet oersjoch/bylagen/lagen) +toggle_sidebar_label=Sidebalke yn-/útskeakelje +document_outline.title=Dokumintoersjoch toane (dûbelklik om alle items út/yn te klappen) +document_outline_label=Dokumintoersjoch +attachments.title=Bylagen toane +attachments_label=Bylagen +layers.title=Lagen toane (dûbelklik om alle lagen nei de standertsteat werom te setten) +layers_label=Lagen +thumbs.title=Foarbylden toane +thumbs_label=Foarbylden +current_outline_item.title=Aktueel item yn ynhâldsopjefte sykje +current_outline_item_label=Aktueel item yn ynhâldsopjefte +findbar.title=Sykje yn dokumint +findbar_label=Sykje + +additional_layers=Oanfoljende lagen +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Side {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Side {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Foarbyld fan side {{page}} + +# Find panel button title and messages +find_input.title=Sykje +find_input.placeholder=Sykje yn dokumint… +find_previous.title=It foarige foarkommen fan de tekst sykje +find_previous_label=Foarige +find_next.title=It folgjende foarkommen fan de tekst sykje +find_next_label=Folgjende +find_highlight=Alles markearje +find_match_case_label=Haadlettergefoelich +find_match_diacritics_label=Diakrityske tekens brûke +find_entire_word_label=Hiele wurden +find_reached_top=Boppekant fan dokumint berikt, trochgien fan ûnder ôf +find_reached_bottom=Ein fan dokumint berikt, trochgien fan boppe ôf +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} fan {{total}} oerienkomst +find_match_count[two]={{current}} fan {{total}} oerienkomsten +find_match_count[few]={{current}} fan {{total}} oerienkomsten +find_match_count[many]={{current}} fan {{total}} oerienkomsten +find_match_count[other]={{current}} fan {{total}} oerienkomsten +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mear as {{limit}} oerienkomsten +find_match_count_limit[one]=Mear as {{limit}} oerienkomst +find_match_count_limit[two]=Mear as {{limit}} oerienkomsten +find_match_count_limit[few]=Mear as {{limit}} oerienkomsten +find_match_count_limit[many]=Mear as {{limit}} oerienkomsten +find_match_count_limit[other]=Mear as {{limit}} oerienkomsten +find_not_found=Tekst net fûn + +# Error panel labels +error_more_info=Mear ynformaasje +error_less_info=Minder ynformaasje +error_close=Slute +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js f{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Berjocht: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Bestân: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rigel: {{line}} + +# Predefined zoom values +page_scale_width=Sidebreedte +page_scale_fit=Hiele side +page_scale_auto=Automatysk zoome +page_scale_actual=Werklike grutte +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Lade… + +# Loading indicator messages +loading_error=Der is in flater bard by it laden fan de PDF. +invalid_file_error=Ynfalide of korruptearre PDF-bestân. +missing_file_error=PDF-bestân ûntbrekt. +unexpected_response_error=Unferwacht serverantwurd. + +rendering_error=Der is in flater bard by it renderjen fan de side. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-annotaasje] +password_label=Jou it wachtwurd om dit PDF-bestân te iepenjen. +password_invalid=Ferkeard wachtwurd. Probearje opnij. +password_ok=OK +password_cancel=Annulearje + +printing_not_supported=Warning: Printen is net folslein stipe troch dizze browser. +printing_not_ready=Warning: PDF is net folslein laden om ôf te drukken. +web_fonts_disabled=Weblettertypen binne útskeakele: gebrûk fan ynsluten PDF-lettertypen is net mooglik. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Tekenje +editor_ink2_label=Tekenje + +free_text2_default_content=Begjin mei typen… + +# Editor Parameters +editor_free_text_color=Kleur +editor_free_text_size=Grutte +editor_ink_color=Kleur +editor_ink_thickness=Tsjokte +editor_ink_opacity=Transparânsje + +# Editor aria +editor_free_text2_aria_label=Tekstbewurker +editor_ink2_aria_label=Tekeningbewurker +editor_ink_canvas_aria_label=Troch brûker makke ôfbylding diff --git a/media/js/pdf/web/locale/ga-IE/viewer.properties b/media/js/pdf/web/locale/ga-IE/viewer.properties new file mode 100644 index 0000000000..31833e7e17 --- /dev/null +++ b/media/js/pdf/web/locale/ga-IE/viewer.properties @@ -0,0 +1,202 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=An Leathanach Roimhe Seo +previous_label=Roimhe Seo +next.title=An Chéad Leathanach Eile +next_label=Ar Aghaidh + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Leathanach +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=as {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} as {{pagesCount}}) + +zoom_out.title=Súmáil Amach +zoom_out_label=Súmáil Amach +zoom_in.title=Súmáil Isteach +zoom_in_label=Súmáil Isteach +zoom.title=Súmáil +presentation_mode.title=Úsáid an Mód Láithreoireachta +presentation_mode_label=Mód Láithreoireachta +open_file.title=Oscail Comhad +open_file_label=Oscail +print.title=Priontáil +print_label=Priontáil +download.title=Íoslódáil +download_label=Íoslódáil +bookmark.title=An t-amharc reatha (cóipeáil nó oscail i bhfuinneog nua) +bookmark_label=An tAmharc Reatha + +# Secondary toolbar and context menu +tools.title=Uirlisí +tools_label=Uirlisí +first_page.title=Go dtí an chéad leathanach +first_page_label=Go dtí an chéad leathanach +last_page.title=Go dtí an leathanach deiridh +last_page_label=Go dtí an leathanach deiridh +page_rotate_cw.title=Rothlaigh ar deiseal +page_rotate_cw_label=Rothlaigh ar deiseal +page_rotate_ccw.title=Rothlaigh ar tuathal +page_rotate_ccw_label=Rothlaigh ar tuathal + +cursor_text_select_tool.title=Cumasaigh an Uirlis Roghnaithe Téacs +cursor_text_select_tool_label=Uirlis Roghnaithe Téacs +cursor_hand_tool.title=Cumasaigh an Uirlis Láimhe +cursor_hand_tool_label=Uirlis Láimhe + + + +# Document properties dialog box +document_properties.title=Airíonna na Cáipéise… +document_properties_label=Airíonna na Cáipéise… +document_properties_file_name=Ainm an chomhaid: +document_properties_file_size=Méid an chomhaid: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} beart) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} beart) +document_properties_title=Teideal: +document_properties_author=Údar: +document_properties_subject=Ábhar: +document_properties_keywords=Eochairfhocail: +document_properties_creation_date=Dáta Cruthaithe: +document_properties_modification_date=Dáta Athraithe: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Cruthaitheoir: +document_properties_producer=Cruthaitheoir an PDF: +document_properties_version=Leagan PDF: +document_properties_page_count=Líon Leathanach: +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_close=Dún + +print_progress_message=Cáipéis á hullmhú le priontáil… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cealaigh + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Scoránaigh an Barra Taoibh +toggle_sidebar_label=Scoránaigh an Barra Taoibh +document_outline.title=Taispeáin Imlíne na Cáipéise (déchliceáil chun chuile rud a leathnú nó a laghdú) +document_outline_label=Creatlach na Cáipéise +attachments.title=Taispeáin Iatáin +attachments_label=Iatáin +thumbs.title=Taispeáin Mionsamhlacha +thumbs_label=Mionsamhlacha +findbar.title=Aimsigh sa Cháipéis +findbar_label=Aimsigh + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Leathanach {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Mionsamhail Leathanaigh {{page}} + +# Find panel button title and messages +find_input.title=Aimsigh +find_input.placeholder=Aimsigh sa cháipéis… +find_previous.title=Aimsigh an sampla roimhe seo den nath seo +find_previous_label=Roimhe seo +find_next.title=Aimsigh an chéad sampla eile den nath sin +find_next_label=Ar aghaidh +find_highlight=Aibhsigh uile +find_match_case_label=Cásíogair +find_entire_word_label=Focail iomlána +find_reached_top=Ag barr na cáipéise, ag leanúint ón mbun +find_reached_bottom=Ag bun na cáipéise, ag leanúint ón mbarr +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_not_found=Frása gan aimsiú + +# Error panel labels +error_more_info=Tuilleadh Eolais +error_less_info=Níos Lú Eolais +error_close=Dún +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Teachtaireacht: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Cruach: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Comhad: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Líne: {{line}} +rendering_error=Tharla earráid agus an leathanach á leagan amach. + +# Predefined zoom values +page_scale_width=Leithead Leathanaigh +page_scale_fit=Laghdaigh go dtí an Leathanach +page_scale_auto=Súmáil Uathoibríoch +page_scale_actual=Fíormhéid +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=Tharla earráid agus an cháipéis PDF á lódáil. +invalid_file_error=Comhad neamhbhailí nó truaillithe PDF. +missing_file_error=Comhad PDF ar iarraidh. +unexpected_response_error=Freagra ón bhfreastalaí nach rabhthas ag súil leis. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anótáil {{type}}] +password_label=Cuir an focal faire isteach chun an comhad PDF seo a oscailt. +password_invalid=Focal faire mícheart. Déan iarracht eile. +password_ok=OK +password_cancel=Cealaigh + +printing_not_supported=Rabhadh: Ní thacaíonn an brabhsálaí le priontáil go hiomlán. +printing_not_ready=Rabhadh: Ní féidir an PDF a phriontáil go dtí go mbeidh an cháipéis iomlán lódáilte. +web_fonts_disabled=Tá clófhoirne Gréasáin díchumasaithe: ní féidir clófhoirne leabaithe PDF a úsáid. + diff --git a/media/js/pdf/web/locale/gd/viewer.properties b/media/js/pdf/web/locale/gd/viewer.properties new file mode 100644 index 0000000000..ed53a90f94 --- /dev/null +++ b/media/js/pdf/web/locale/gd/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=An duilleag roimhe +previous_label=Air ais +next.title=An ath-dhuilleag +next_label=Air adhart + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Duilleag +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=à {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} à {{pagesCount}}) + +zoom_out.title=Sùm a-mach +zoom_out_label=Sùm a-mach +zoom_in.title=Sùm a-steach +zoom_in_label=Sùm a-steach +zoom.title=Sùm +presentation_mode.title=Gearr leum dhan mhodh taisbeanaidh +presentation_mode_label=Am modh taisbeanaidh +open_file.title=Fosgail faidhle +open_file_label=Fosgail +print.title=Clò-bhuail +print_label=Clò-bhuail +download.title=Luchdaich a-nuas +download_label=Luchdaich a-nuas +bookmark.title=An sealladh làithreach (dèan lethbhreac no fosgail e ann an uinneag ùr) +bookmark_label=An sealladh làithreach + +save.title=Sàbhail +save_label=Sàbhail +bookmark1.title=An duilleag làithreach (Seall an URL on duilleag làithreach) +bookmark1_label=An duilleag làithreach + +open_in_app.title=Fosgail san aplacaid +open_in_app_label=Fosgail san aplacaid + +# Secondary toolbar and context menu +tools.title=Innealan +tools_label=Innealan +first_page.title=Rach gun chiad duilleag +first_page_label=Rach gun chiad duilleag +last_page.title=Rach gun duilleag mu dheireadh +last_page_label=Rach gun duilleag mu dheireadh +page_rotate_cw.title=Cuairtich gu deiseil +page_rotate_cw_label=Cuairtich gu deiseil +page_rotate_ccw.title=Cuairtich gu tuathail +page_rotate_ccw_label=Cuairtich gu tuathail + +cursor_text_select_tool.title=Cuir an comas inneal taghadh an teacsa +cursor_text_select_tool_label=Inneal taghadh an teacsa +cursor_hand_tool.title=Cuir inneal na làimhe an comas +cursor_hand_tool_label=Inneal na làimhe + +scroll_page.title=Cleachd sgroladh duilleige +scroll_page_label=Sgroladh duilleige +scroll_vertical.title=Cleachd sgroladh inghearach +scroll_vertical_label=Sgroladh inghearach +scroll_horizontal.title=Cleachd sgroladh còmhnard +scroll_horizontal_label=Sgroladh còmhnard +scroll_wrapped.title=Cleachd sgroladh paisgte +scroll_wrapped_label=Sgroladh paisgte + +spread_none.title=Na cuir còmhla sgoileadh dhuilleagan +spread_none_label=Gun sgaoileadh dhuilleagan +spread_odd.title=Cuir còmhla duilleagan sgaoilte a thòisicheas le duilleagan aig a bheil àireamh chorr +spread_odd_label=Sgaoileadh dhuilleagan corra +spread_even.title=Cuir còmhla duilleagan sgaoilte a thòisicheas le duilleagan aig a bheil àireamh chothrom +spread_even_label=Sgaoileadh dhuilleagan cothrom + +# Document properties dialog box +document_properties.title=Roghainnean na sgrìobhainne… +document_properties_label=Roghainnean na sgrìobhainne… +document_properties_file_name=Ainm an fhaidhle: +document_properties_file_size=Meud an fhaidhle: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tiotal: +document_properties_author=Ùghdar: +document_properties_subject=Cuspair: +document_properties_keywords=Faclan-luirg: +document_properties_creation_date=Latha a chruthachaidh: +document_properties_modification_date=Latha atharrachaidh: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Cruthadair: +document_properties_producer=Saothraiche a' PDF: +document_properties_version=Tionndadh a' PDF: +document_properties_page_count=Àireamh de dhuilleagan: +document_properties_page_size=Meud na duilleige: +document_properties_page_size_unit_inches=ann an +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portraid +document_properties_page_size_orientation_landscape=dreach-tìre +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Litir +document_properties_page_size_name_legal=Laghail +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Grad shealladh-lìn: +document_properties_linearized_yes=Tha +document_properties_linearized_no=Chan eil +document_properties_close=Dùin + +print_progress_message=Ag ullachadh na sgrìobhainn airson clò-bhualadh… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Sguir dheth + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toglaich am bàr-taoibh +toggle_sidebar_notification2.title=Toglaich am bàr-taoibh (tha oir-loidhne/ceanglachain/breathan aig an sgrìobhainn) +toggle_sidebar_label=Toglaich am bàr-taoibh +document_outline.title=Seall oir-loidhne na sgrìobhainn (dèan briogadh dùbailte airson a h-uile nì a leudachadh/a cho-theannadh) +document_outline_label=Oir-loidhne na sgrìobhainne +attachments.title=Seall na ceanglachain +attachments_label=Ceanglachain +layers.title=Seall na breathan (dèan briogadh dùbailte airson a h-uile breath ath-shuidheachadh dhan staid bhunaiteach) +layers_label=Breathan +thumbs.title=Seall na dealbhagan +thumbs_label=Dealbhagan +current_outline_item.title=Lorg nì làithreach na h-oir-loidhne +current_outline_item_label=Nì làithreach na h-oir-loidhne +findbar.title=Lorg san sgrìobhainn +findbar_label=Lorg + +additional_layers=Barrachd breathan +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Duilleag {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Duilleag a {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Dealbhag duilleag a {{page}} + +# Find panel button title and messages +find_input.title=Lorg +find_input.placeholder=Lorg san sgrìobhainn... +find_previous.title=Lorg làthair roimhe na h-abairt seo +find_previous_label=Air ais +find_next.title=Lorg ath-làthair na h-abairt seo +find_next_label=Air adhart +find_highlight=Soillsich a h-uile +find_match_case_label=Aire do litrichean mòra is beaga +find_match_diacritics_label=Aire do stràcan +find_entire_word_label=Faclan-slàna +find_reached_top=Ràinig sinn barr na duilleige, a' leantainn air adhart o bhonn na duilleige +find_reached_bottom=Ràinig sinn bonn na duilleige, a' leantainn air adhart o bharr na duilleige +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} à {{total}} mhaids +find_match_count[two]={{current}} à {{total}} mhaids +find_match_count[few]={{current}} à {{total}} maidsichean +find_match_count[many]={{current}} à {{total}} maids +find_match_count[other]={{current}} à {{total}} maids +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Barrachd air {{limit}} maids +find_match_count_limit[one]=Barrachd air {{limit}} mhaids +find_match_count_limit[two]=Barrachd air {{limit}} mhaids +find_match_count_limit[few]=Barrachd air {{limit}} maidsichean +find_match_count_limit[many]=Barrachd air {{limit}} maids +find_match_count_limit[other]=Barrachd air {{limit}} maids +find_not_found=Cha deach an abairt a lorg + +# Error panel labels +error_more_info=Barrachd fiosrachaidh +error_less_info=Nas lugha de dh'fhiosrachadh +error_close=Dùin +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Teachdaireachd: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stac: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Faidhle: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Loidhne: {{line}} + +# Predefined zoom values +page_scale_width=Leud na duilleige +page_scale_fit=Freagair ri meud na duilleige +page_scale_auto=Sùm fèin-obrachail +page_scale_actual=Am fìor-mheud +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=’Ga luchdadh… + +# Loading indicator messages +loading_error=Thachair mearachd rè luchdadh a' PDF. +invalid_file_error=Faidhle PDF a tha mì-dhligheach no coirbte. +missing_file_error=Faidhle PDF a tha a dhìth. +unexpected_response_error=Freagairt on fhrithealaiche ris nach robh dùil. + +rendering_error=Thachair mearachd rè reandaradh na duilleige. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Nòtachadh {{type}}] +password_label=Cuir a-steach am facal-faire gus am faidhle PDF seo fhosgladh. +password_invalid=Tha am facal-faire cearr. Nach fheuch thu ris a-rithist? +password_ok=Ceart ma-thà +password_cancel=Sguir dheth + +printing_not_supported=Rabhadh: Chan eil am brabhsair seo a' cur làn-taic ri clò-bhualadh. +printing_not_ready=Rabhadh: Cha deach am PDF a luchdadh gu tur airson clò-bhualadh. +web_fonts_disabled=Tha cruthan-clò lìn à comas: Chan urrainn dhuinn cruthan-clò PDF leabaichte a chleachdadh. + +# Editor +editor_free_text2.title=Teacsa +editor_free_text2_label=Teacsa +editor_ink2.title=Tarraing +editor_ink2_label=Tarraing + +free_text2_default_content=Tòisich air sgrìobhadh… + +# Editor Parameters +editor_free_text_color=Dath +editor_free_text_size=Meud +editor_ink_color=Dath +editor_ink_thickness=Tighead +editor_ink_opacity=Trìd-dhoilleireachd + +# Editor aria +editor_free_text2_aria_label=An deasaiche teacsa +editor_ink2_aria_label=An deasaiche tharraingean +editor_ink_canvas_aria_label=Dealbh a chruthaich cleachdaiche diff --git a/media/js/pdf/web/locale/gl/viewer.properties b/media/js/pdf/web/locale/gl/viewer.properties new file mode 100644 index 0000000000..17d54613b0 --- /dev/null +++ b/media/js/pdf/web/locale/gl/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Páxina anterior +previous_label=Anterior +next.title=Seguinte páxina +next_label=Seguinte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Páxina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reducir +zoom_out_label=Reducir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Cambiar ao modo presentación +presentation_mode_label=Modo presentación +open_file.title=Abrir ficheiro +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Descargar +download_label=Descargar +bookmark.title=Vista actual (copiar ou abrir nunha nova xanela) +bookmark_label=Vista actual + +save.title=Gardar +save_label=Gardar +bookmark1.title=Páxina actual (ver o URL da páxina actual) +bookmark1_label=Páxina actual + +open_in_app.title=Abrir cunha aplicación +open_in_app_label=Abrir cunha aplicación + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir á primeira páxina +first_page_label=Ir á primeira páxina +last_page.title=Ir á última páxina +last_page_label=Ir á última páxina +page_rotate_cw.title=Rotar no sentido das agullas do reloxo +page_rotate_cw_label=Rotar no sentido das agullas do reloxo +page_rotate_ccw.title=Rotar no sentido contrario ás agullas do reloxo +page_rotate_ccw_label=Rotar no sentido contrario ás agullas do reloxo + +cursor_text_select_tool.title=Activar a ferramenta de selección de texto +cursor_text_select_tool_label=Ferramenta de selección de texto +cursor_hand_tool.title=Activar a ferramenta de man +cursor_hand_tool_label=Ferramenta de man + +scroll_page.title=Usar o desprazamento da páxina +scroll_page_label=Desprazamento da páxina +scroll_vertical.title=Usar o desprazamento vertical +scroll_vertical_label=Desprazamento vertical +scroll_horizontal.title=Usar o desprazamento horizontal +scroll_horizontal_label=Desprazamento horizontal +scroll_wrapped.title=Usar o desprazamento en bloque +scroll_wrapped_label=Desprazamento por bloque + +spread_none.title=Non agrupar páxinas +spread_none_label=Ningún agrupamento +spread_odd.title=Crea grupo de páxinas que comezan con números de páxina impares +spread_odd_label=Agrupamento impar +spread_even.title=Crea grupo de páxinas que comezan con números de páxina pares +spread_even_label=Agrupamento par + +# Document properties dialog box +document_properties.title=Propiedades do documento… +document_properties_label=Propiedades do documento… +document_properties_file_name=Nome do ficheiro: +document_properties_file_size=Tamaño do ficheiro: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Asunto: +document_properties_keywords=Palabras clave: +document_properties_creation_date=Data de creación: +document_properties_modification_date=Data de modificación: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creado por: +document_properties_producer=Xenerador do PDF: +document_properties_version=Versión de PDF: +document_properties_page_count=Número de páxinas: +document_properties_page_size=Tamaño da páxina: +document_properties_page_size_unit_inches=pol +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Visualización rápida das páxinas web: +document_properties_linearized_yes=Si +document_properties_linearized_no=Non +document_properties_close=Pechar + +print_progress_message=Preparando o documento para imprimir… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Amosar/agochar a barra lateral +toggle_sidebar_notification2.title=Alternar barra lateral (o documento contén esquema/anexos/capas) +toggle_sidebar_label=Amosar/agochar a barra lateral +document_outline.title=Amosar a estrutura do documento (dobre clic para expandir/contraer todos os elementos) +document_outline_label=Estrutura do documento +attachments.title=Amosar anexos +attachments_label=Anexos +layers.title=Mostrar capas (prema dúas veces para restaurar todas as capas o estado predeterminado) +layers_label=Capas +thumbs.title=Amosar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Atopar o elemento delimitado actualmente +current_outline_item_label=Elemento delimitado actualmente +findbar.title=Atopar no documento +findbar_label=Atopar + +additional_layers=Capas adicionais +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Páxina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Páxina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da páxina {{page}} + +# Find panel button title and messages +find_input.title=Atopar +find_input.placeholder=Atopar no documento… +find_previous.title=Atopar a anterior aparición da frase +find_previous_label=Anterior +find_next.title=Atopar a seguinte aparición da frase +find_next_label=Seguinte +find_highlight=Realzar todo +find_match_case_label=Diferenciar maiúsculas de minúsculas +find_match_diacritics_label=Distinguir os diacríticos +find_entire_word_label=Palabras completas +find_reached_top=Chegouse ao inicio do documento, continuar desde o final +find_reached_bottom=Chegouse ao final do documento, continuar desde o inicio +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} coincidencia +find_match_count[two]={{current}} de {{total}} coincidencias +find_match_count[few]={{current}} de {{total}} coincidencias +find_match_count[many]={{current}} de {{total}} coincidencias +find_match_count[other]={{current}} de {{total}} coincidencias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Máis de {{limit}} coincidencias +find_match_count_limit[one]=Máis de {{limit}} coincidencia +find_match_count_limit[two]=Máis de {{limit}} coincidencias +find_match_count_limit[few]=Máis de {{limit}} coincidencias +find_match_count_limit[many]=Máis de {{limit}} coincidencias +find_match_count_limit[other]=Máis de {{limit}} coincidencias +find_not_found=Non se atopou a frase + +# Error panel labels +error_more_info=Máis información +error_less_info=Menos información +error_close=Pechar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (Identificador da compilación: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensaxe: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ficheiro: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Liña: {{line}} + +# Predefined zoom values +page_scale_width=Largura da páxina +page_scale_fit=Axuste de páxina +page_scale_auto=Zoom automático +page_scale_actual=Tamaño actual +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=A cargar… + +# Loading indicator messages +loading_error=Produciuse un erro ao cargar o PDF. +invalid_file_error=Ficheiro PDF danado ou non válido. +missing_file_error=Falta o ficheiro PDF. +unexpected_response_error=Resposta inesperada do servidor. + +rendering_error=Produciuse un erro ao representar a páxina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotación {{type}}] +password_label=Escriba o contrasinal para abrir este ficheiro PDF. +password_invalid=Contrasinal incorrecto. Tente de novo. +password_ok=Aceptar +password_cancel=Cancelar + +printing_not_supported=Aviso: A impresión non é compatíbel de todo con este navegador. +printing_not_ready=Aviso: O PDF non se cargou completamente para imprimirse. +web_fonts_disabled=Desactiváronse as fontes web: foi imposíbel usar as fontes incrustadas no PDF. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Debuxo +editor_ink2_label=Debuxo + +free_text2_default_content=Comezar a teclear… + +# Editor Parameters +editor_free_text_color=Cor +editor_free_text_size=Tamaño +editor_ink_color=Cor +editor_ink_thickness=Grosor +editor_ink_opacity=Opacidade + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de debuxos +editor_ink_canvas_aria_label=Imaxe creada por unha usuaria diff --git a/media/js/pdf/web/locale/gn/viewer.properties b/media/js/pdf/web/locale/gn/viewer.properties new file mode 100644 index 0000000000..3db9a73d40 --- /dev/null +++ b/media/js/pdf/web/locale/gn/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Kuatiarogue mboyvegua +previous_label=Mboyvegua +next.title=Kuatiarogue upeigua +next_label=Upeigua + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Kuatiarogue +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} gui +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Momichĩ +zoom_out_label=Momichĩ +zoom_in.title=Mbotuicha +zoom_in_label=Mbotuicha +zoom.title=Tuichakue +presentation_mode.title=Jehechauka reko moambue +presentation_mode_label=Jehechauka reko +open_file.title=Marandurendápe jeike +open_file_label=Jeike +print.title=Monguatia +print_label=Monguatia +download.title=Mboguejy +download_label=Mboguejy +bookmark.title=Ag̃agua jehecha (mbohasarã térã eike peteĩ ovetã pyahúpe) +bookmark_label=Ag̃agua jehecha + +save.title=Ñongatu +save_label=Ñongatu +bookmark1.title=Kuatiarogue ag̃agua (Ehecha URL kuatiarogue ag̃agua) +bookmark1_label=Kuatiarogue Ag̃agua + +open_in_app.title=Embojuruja tembipuru’ípe +open_in_app_label=Embojuruja tembipuru’ípe + +# Secondary toolbar and context menu +tools.title=Tembipuru +tools_label=Tembipuru +first_page.title=Kuatiarogue ñepyrũme jeho +first_page_label=Kuatiarogue ñepyrũme jeho +last_page.title=Kuatiarogue pahápe jeho +last_page_label=Kuatiarogue pahápe jeho +page_rotate_cw.title=Aravóicha mbojere +page_rotate_cw_label=Aravóicha mbojere +page_rotate_ccw.title=Aravo rapykue gotyo mbojere +page_rotate_ccw_label=Aravo rapykue gotyo mbojere + +cursor_text_select_tool.title=Emyandy moñe’ẽrã jeporavo rembipuru +cursor_text_select_tool_label=Moñe’ẽrã jeporavo rembipuru +cursor_hand_tool.title=Tembipuru po pegua myandy +cursor_hand_tool_label=Tembipuru po pegua + +scroll_page.title=Eipuru kuatiarogue jeku’e +scroll_page_label=Kuatiarogue jeku’e +scroll_vertical.title=Eipuru jeku’e ykeguáva +scroll_vertical_label=Jeku’e ykeguáva +scroll_horizontal.title=Eipuru jeku’e yvate gotyo +scroll_horizontal_label=Jeku’e yvate gotyo +scroll_wrapped.title=Eipuru jeku’e mbohyrupyre +scroll_wrapped_label=Jeku’e mbohyrupyre + +spread_none.title=Ani ejuaju spreads kuatiarogue ndive +spread_none_label=Spreads ỹre +spread_odd.title=Embojuaju kuatiarogue jepysokue eñepyrũvo kuatiarogue impar-vagui +spread_odd_label=Spreads impar +spread_even.title=Embojuaju kuatiarogue jepysokue eñepyrũvo kuatiarogue par-vagui +spread_even_label=Ipukuve uvei + +# Document properties dialog box +document_properties.title=Kuatia mba’etee… +document_properties_label=Kuatia mba’etee… +document_properties_file_name=Marandurenda réra: +document_properties_file_size=Marandurenda tuichakue: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Teratee: +document_properties_author=Apohára: +document_properties_subject=Mba’egua: +document_properties_keywords=Jehero: +document_properties_creation_date=Teñoihague arange: +document_properties_modification_date=Iñambue hague arange: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Apo’ypyha: +document_properties_producer=PDF mbosako’iha: +document_properties_version=PDF mbojuehegua: +document_properties_page_count=Kuatiarogue papapy: +document_properties_page_size=Kuatiarogue tuichakue: +document_properties_page_size_unit_inches=Amo +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=Oĩháicha +document_properties_page_size_orientation_landscape=apaisado +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Kuatiañe’ẽ +document_properties_page_size_name_legal=Tee +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Ñanduti jahecha pya’e: +document_properties_linearized_yes=Añete +document_properties_linearized_no=Ahániri +document_properties_close=Mboty + +print_progress_message=Embosako’i kuatia emonguatia hag̃ua… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Heja + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Tenda yke moambue +toggle_sidebar_notification2.title=Embojopyru tenda ykegua (kuatia oguereko kuaakaha/moirũha/ñuãha) +toggle_sidebar_label=Tenda yke moambue +document_outline.title=Ehechauka kuatia rape (eikutu mokõi jey embotuicha/emomichĩ hag̃ua opavavete mba’epuru) +document_outline_label=Kuatia apopyre +attachments.title=Moirũha jehechauka +attachments_label=Moirũha +layers.title=Ehechauka ñuãha (eikutu jo’a emomba’apo hag̃ua opaite ñuãha tekoypýpe) +layers_label=Ñuãha +thumbs.title=Mba’emirĩ jehechauka +thumbs_label=Mba’emirĩ +current_outline_item.title=Eheka mba’epuru ag̃aguaitéva +current_outline_item_label=Mba’epuru ag̃aguaitéva +findbar.title=Kuatiápe jeheka +findbar_label=Juhu + +additional_layers=Ñuãha moirũguáva +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Kuatiarogue {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Kuatiarogue {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Kuatiarogue mba’emirĩ {{page}} + +# Find panel button title and messages +find_input.title=Juhu +find_input.placeholder=Kuatiápe jejuhu… +find_previous.title=Ejuhu ñe’ẽrysýi osẽ’ypy hague +find_previous_label=Mboyvegua +find_next.title=Eho ñe’ẽ juhupyre upeiguávape +find_next_label=Upeigua +find_highlight=Embojekuaavepa +find_match_case_label=Ejesareko taiguasu/taimichĩre +find_match_diacritics_label=Diacrítico moñondive +find_entire_word_label=Ñe’ẽ oĩmbáva +find_reached_top=Ojehupyty kuatia ñepyrũ, oku’ejeýta kuatia paha guive +find_reached_bottom=Ojehupyty kuatia paha, oku’ejeýta kuatia ñepyrũ guive +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} {{total}} ojojoguáva +find_match_count[two]={{current}} {{total}} ojojoguáva +find_match_count[few]={{current}} {{total}} ojojoguáva +find_match_count[many]={{current}} {{total}} ojojoguáva +find_match_count[other]={{current}} {{total}} ojojoguáva +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Hetave {{limit}} ojojoguáva +find_match_count_limit[one]=Hetave {{limit}} ojojogua +find_match_count_limit[two]=Hetave {{limit}} ojojoguáva +find_match_count_limit[few]=Hetave {{limit}} ojojoguáva +find_match_count_limit[many]=Hetave {{limit}} ojojoguáva +find_match_count_limit[other]=Hetave {{limit}} ojojoguáva +find_not_found=Ñe’ẽrysýi ojejuhu’ỹva + +# Error panel labels +error_more_info=Maranduve +error_less_info=Sa’ive marandu +error_close=Mboty +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Ñe’ẽmondo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Mbojo’apy: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Marandurenda: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Tairenda: {{line}} + +# Predefined zoom values +page_scale_width=Kuatiarogue pekue +page_scale_fit=Kuatiarogue ñemoĩporã +page_scale_auto=Tuichakue ijeheguíva +page_scale_actual=Tuichakue ag̃agua +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Henyhẽhína… + +# Loading indicator messages +loading_error=Oiko jejavy PDF oñemyeñyhẽnguévo. +invalid_file_error=PDF marandurenda ndoikóiva térã ivaipyréva. +missing_file_error=Ndaipóri PDF marandurenda +unexpected_response_error=Mohendahavusu mbohovái ñeha’arõ’ỹva. + +rendering_error=Oiko jejavy ehechaukasévo kuatiarogue. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Jehaipy {{type}}] +password_label=Emoinge ñe’ẽñemi eipe’a hag̃ua ko marandurenda PDF. +password_invalid=Ñe’ẽñemi ndoikóiva. Eha’ã jey. +password_ok=MONEĨ +password_cancel=Heja + +printing_not_supported=Kyhyjerã: Ñembokuatia ndojokupytypái ko kundahára ndive. +printing_not_ready=Kyhyjerã: Ko PDF nahenyhẽmbái oñembokuatia hag̃uáicha. +web_fonts_disabled=Ñanduti taity oñemongéma: ndaikatumo’ãi eipuru PDF jehai’íva taity. + +# Editor +editor_free_text2.title=Moñe’ẽrã +editor_free_text2_label=Moñe’ẽrã +editor_ink2.title=Moha’ãnga +editor_ink2_label=Moha’ãnga + +free_text2_default_content=Ehai ñepyrũ… + +# Editor Parameters +editor_free_text_color=Sa’y +editor_free_text_size=Tuichakue +editor_ink_color=Sa’y +editor_ink_thickness=Anambusu +editor_ink_opacity=Pytũngy + +# Editor aria +editor_free_text2_aria_label=Moñe’ẽrã moheñoiha +editor_ink2_aria_label=Ta’ãnga moheñoiha +editor_ink_canvas_aria_label=Ta’ãnga omoheñóiva puruhára diff --git a/media/js/pdf/web/locale/gu-IN/viewer.properties b/media/js/pdf/web/locale/gu-IN/viewer.properties new file mode 100644 index 0000000000..8e6c44f9cc --- /dev/null +++ b/media/js/pdf/web/locale/gu-IN/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=પહેલાનુ પાનું +previous_label=પહેલાનુ +next.title=આગળનુ પાનું +next_label=આગળનું + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=પાનું +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=નો {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} નો {{pagesCount}}) + +zoom_out.title=મોટુ કરો +zoom_out_label=મોટુ કરો +zoom_in.title=નાનું કરો +zoom_in_label=નાનું કરો +zoom.title=નાનું મોટુ કરો +presentation_mode.title=રજૂઆત સ્થિતિમાં જાવ +presentation_mode_label=રજૂઆત સ્થિતિ +open_file.title=ફાઇલ ખોલો +open_file_label=ખોલો +print.title=છાપો +print_label=છારો +download.title=ડાઉનલોડ +download_label=ડાઉનલોડ +bookmark.title=વર્તમાન દૃશ્ય (નવી વિન્ડોમાં નકલ કરો અથવા ખોલો) +bookmark_label=વર્તમાન દૃશ્ય + +# Secondary toolbar and context menu +tools.title=સાધનો +tools_label=સાધનો +first_page.title=પહેલાં પાનામાં જાવ +first_page_label=પ્રથમ પાનાં પર જાવ +last_page.title=છેલ્લા પાનાં પર જાવ +last_page_label=છેલ્લા પાનાં પર જાવ +page_rotate_cw.title=ઘડિયાળનાં કાંટા તરફ ફેરવો +page_rotate_cw_label=ઘડિયાળનાં કાંટા તરફ ફેરવો +page_rotate_ccw.title=ઘડિયાળનાં કાંટાની ઉલટી દિશામાં ફેરવો +page_rotate_ccw_label=ઘડિયાળનાં કાંટાની વિરુદ્દ ફેરવો + +cursor_text_select_tool.title=ટેક્સ્ટ પસંદગી ટૂલ સક્ષમ કરો +cursor_text_select_tool_label=ટેક્સ્ટ પસંદગી ટૂલ +cursor_hand_tool.title=હાથનાં સાધનને સક્રિય કરો +cursor_hand_tool_label=હેન્ડ ટૂલ + +scroll_vertical.title=ઊભી સ્ક્રોલિંગનો ઉપયોગ કરો +scroll_vertical_label=ઊભી સ્ક્રોલિંગ +scroll_horizontal.title=આડી સ્ક્રોલિંગનો ઉપયોગ કરો +scroll_horizontal_label=આડી સ્ક્રોલિંગ +scroll_wrapped.title=આવરિત સ્ક્રોલિંગનો ઉપયોગ કરો +scroll_wrapped_label=આવરિત સ્ક્રોલિંગ + +spread_none.title=પૃષ્ઠ સ્પ્રેડમાં જોડાવશો નહીં +spread_none_label=કોઈ સ્પ્રેડ નથી +spread_odd.title=એકી-ક્રમાંકિત પૃષ્ઠો સાથે પ્રારંભ થતાં પૃષ્ઠ સ્પ્રેડમાં જોડાઓ +spread_odd_label=એકી સ્પ્રેડ્સ +spread_even.title=નંબર-ક્રમાંકિત પૃષ્ઠોથી શરૂ થતાં પૃષ્ઠ સ્પ્રેડમાં જોડાઓ +spread_even_label=સરખું ફેલાવવું + +# Document properties dialog box +document_properties.title=દસ્તાવેજ ગુણધર્મો… +document_properties_label=દસ્તાવેજ ગુણધર્મો… +document_properties_file_name=ફાઇલ નામ: +document_properties_file_size=ફાઇલ માપ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} બાઇટ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} બાઇટ) +document_properties_title=શીર્ષક: +document_properties_author=લેખક: +document_properties_subject=વિષય: +document_properties_keywords=કિવર્ડ: +document_properties_creation_date=નિર્માણ તારીખ: +document_properties_modification_date=ફેરફાર તારીખ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=નિર્માતા: +document_properties_producer=PDF નિર્માતા: +document_properties_version=PDF આવૃત્તિ: +document_properties_page_count=પાનાં ગણતરી: +document_properties_page_size=પૃષ્ઠનું કદ: +document_properties_page_size_unit_inches=ઇંચ +document_properties_page_size_unit_millimeters=મીમી +document_properties_page_size_orientation_portrait=ઉભું +document_properties_page_size_orientation_landscape=આડુ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=પત્ર +document_properties_page_size_name_legal=કાયદાકીય +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=ઝડપી વૅબ દૃશ્ય: +document_properties_linearized_yes=હા +document_properties_linearized_no=ના +document_properties_close=બંધ કરો + +print_progress_message=છાપકામ માટે દસ્તાવેજ તૈયાર કરી રહ્યા છે… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=રદ કરો + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ટૉગલ બાજુપટ્ટી +toggle_sidebar_label=ટૉગલ બાજુપટ્ટી +document_outline.title=દસ્તાવેજની રૂપરેખા બતાવો(બધી આઇટમ્સને વિસ્તૃત/સંકુચિત કરવા માટે ડબલ-ક્લિક કરો) +document_outline_label=દસ્તાવેજ રૂપરેખા +attachments.title=જોડાણોને બતાવો +attachments_label=જોડાણો +thumbs.title=થંબનેલ્સ બતાવો +thumbs_label=થંબનેલ્સ +findbar.title=દસ્તાવેજમાં શોધો +findbar_label=શોધો + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=પાનું {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=પાનાં {{page}} નું થંબનેલ્સ + +# Find panel button title and messages +find_input.title=શોધો +find_input.placeholder=દસ્તાવેજમાં શોધો… +find_previous.title=શબ્દસમૂહની પાછલી ઘટનાને શોધો +find_previous_label=પહેલાંનુ +find_next.title=શબ્દસમૂહની આગળની ઘટનાને શોધો +find_next_label=આગળનું +find_highlight=બધુ પ્રકાશિત કરો +find_match_case_label=કેસ બંધબેસાડો +find_entire_word_label=સંપૂર્ણ શબ્દો +find_reached_top=દસ્તાવેજનાં ટોચે પહોંચી ગયા, તળિયેથી ચાલુ કરેલ હતુ +find_reached_bottom=દસ્તાવેજનાં અંતે પહોંચી ગયા, ઉપરથી ચાલુ કરેલ હતુ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} માંથી {{current}} સરખું મળ્યું +find_match_count[two]={{total}} માંથી {{current}} સરખા મળ્યાં +find_match_count[few]={{total}} માંથી {{current}} સરખા મળ્યાં +find_match_count[many]={{total}} માંથી {{current}} સરખા મળ્યાં +find_match_count[other]={{total}} માંથી {{current}} સરખા મળ્યાં +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} કરતાં વધુ સરખા મળ્યાં +find_match_count_limit[one]={{limit}} કરતાં વધુ સરખું મળ્યું +find_match_count_limit[two]={{limit}} કરતાં વધુ સરખા મળ્યાં +find_match_count_limit[few]={{limit}} કરતાં વધુ સરખા મળ્યાં +find_match_count_limit[many]={{limit}} કરતાં વધુ સરખા મળ્યાં +find_match_count_limit[other]={{limit}} કરતાં વધુ સરખા મળ્યાં +find_not_found=શબ્દસમૂહ મળ્યુ નથી + +# Error panel labels +error_more_info=વધારે જાણકારી +error_less_info=ઓછી જાણકારી +error_close=બંધ કરો +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=સંદેશો: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=સ્ટેક: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ફાઇલ: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=વાક્ય: {{line}} +rendering_error=ભૂલ ઉદ્ભવી જ્યારે પાનાંનુ રેન્ડ કરી રહ્યા હોય. + +# Predefined zoom values +page_scale_width=પાનાની પહોળાઇ +page_scale_fit=પાનું બંધબેસતુ +page_scale_auto=આપમેળે નાનુંમોટુ કરો +page_scale_actual=ચોક્કસ માપ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=ભૂલ ઉદ્ભવી જ્યારે PDF ને લાવી રહ્યા હોય. +invalid_file_error=અયોગ્ય અથવા ભાંગેલ PDF ફાઇલ. +missing_file_error=ગુમ થયેલ PDF ફાઇલ. +unexpected_response_error=અનપેક્ષિત સર્વર પ્રતિસાદ. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=આ PDF ફાઇલને ખોલવા પાસવર્ડને દાખલ કરો. +password_invalid=અયોગ્ય પાસવર્ડ. મહેરબાની કરીને ફરી પ્રયત્ન કરો. +password_ok=બરાબર +password_cancel=રદ કરો + +printing_not_supported=ચેતવણી: છાપવાનું આ બ્રાઉઝર દ્દારા સંપૂર્ણપણે આધારભૂત નથી. +printing_not_ready=Warning: PDF એ છાપવા માટે સંપૂર્ણપણે લાવેલ છે. +web_fonts_disabled=વેબ ફોન્ટ નિષ્ક્રિય થયેલ છે: ઍમ્બેડ થયેલ PDF ફોન્ટને વાપરવાનું અસમર્થ. + diff --git a/media/js/pdf/web/locale/he/viewer.properties b/media/js/pdf/web/locale/he/viewer.properties new file mode 100644 index 0000000000..04389e875c --- /dev/null +++ b/media/js/pdf/web/locale/he/viewer.properties @@ -0,0 +1,281 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=דף קודם +previous_label=קודם +next.title=דף הבא +next_label=הבא + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=דף +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=מתוך {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} מתוך {{pagesCount}}) + +zoom_out.title=התרחקות +zoom_out_label=התרחקות +zoom_in.title=התקרבות +zoom_in_label=התקרבות +zoom.title=מרחק מתצוגה +presentation_mode.title=מעבר למצב מצגת +presentation_mode_label=מצב מצגת +open_file.title=פתיחת קובץ +open_file_label=פתיחה +print.title=הדפסה +print_label=הדפסה +download.title=הורדה +download_label=הורדה +bookmark.title=תצוגה נוכחית (העתקה או פתיחה בחלון חדש) +bookmark_label=תצוגה נוכחית + +save.title=שמירה +save_label=שמירה +bookmark1_label=עמוד נוכחי + +open_in_app.title=פתיחה ביישום +open_in_app_label=פתיחה ביישום + +# Secondary toolbar and context menu +tools.title=כלים +tools_label=כלים +first_page.title=מעבר לעמוד הראשון +first_page_label=מעבר לעמוד הראשון +last_page.title=מעבר לעמוד האחרון +last_page_label=מעבר לעמוד האחרון +page_rotate_cw.title=הטיה עם כיוון השעון +page_rotate_cw_label=הטיה עם כיוון השעון +page_rotate_ccw.title=הטיה כנגד כיוון השעון +page_rotate_ccw_label=הטיה כנגד כיוון השעון + +cursor_text_select_tool.title=הפעלת כלי בחירת טקסט +cursor_text_select_tool_label=כלי בחירת טקסט +cursor_hand_tool.title=הפעלת כלי היד +cursor_hand_tool_label=כלי יד + +scroll_page.title=שימוש בגלילת עמוד +scroll_page_label=גלילת עמוד +scroll_vertical.title=שימוש בגלילה אנכית +scroll_vertical_label=גלילה אנכית +scroll_horizontal.title=שימוש בגלילה אופקית +scroll_horizontal_label=גלילה אופקית +scroll_wrapped.title=שימוש בגלילה רציפה +scroll_wrapped_label=גלילה רציפה + +spread_none.title=לא לצרף מפתחי עמודים +spread_none_label=ללא מפתחים +spread_odd.title=צירוף מפתחי עמודים שמתחילים בדפים עם מספרים אי־זוגיים +spread_odd_label=מפתחים אי־זוגיים +spread_even.title=צירוף מפתחי עמודים שמתחילים בדפים עם מספרים זוגיים +spread_even_label=מפתחים זוגיים + +# Document properties dialog box +document_properties.title=מאפייני מסמך… +document_properties_label=מאפייני מסמך… +document_properties_file_name=שם קובץ: +document_properties_file_size=גודל הקובץ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ק״ב ({{size_b}} בתים) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} מ״ב ({{size_b}} בתים) +document_properties_title=כותרת: +document_properties_author=מחבר: +document_properties_subject=נושא: +document_properties_keywords=מילות מפתח: +document_properties_creation_date=תאריך יצירה: +document_properties_modification_date=תאריך שינוי: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=יוצר: +document_properties_producer=יצרן PDF: +document_properties_version=גרסת PDF: +document_properties_page_count=מספר דפים: +document_properties_page_size=גודל העמוד: +document_properties_page_size_unit_inches=אינ׳ +document_properties_page_size_unit_millimeters=מ״מ +document_properties_page_size_orientation_portrait=לאורך +document_properties_page_size_orientation_landscape=לרוחב +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=מכתב +document_properties_page_size_name_legal=דף משפטי +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=תצוגת דף מהירה: +document_properties_linearized_yes=כן +document_properties_linearized_no=לא +document_properties_close=סגירה + +print_progress_message=מסמך בהכנה להדפסה… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ביטול + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=הצגה/הסתרה של סרגל הצד +toggle_sidebar_notification2.title=החלפת תצוגת סרגל צד (מסמך שמכיל תוכן עניינים/קבצים מצורפים/שכבות) +toggle_sidebar_label=הצגה/הסתרה של סרגל הצד +document_outline.title=הצגת תוכן העניינים של המסמך (לחיצה כפולה כדי להרחיב או לצמצם את כל הפריטים) +document_outline_label=תוכן העניינים של המסמך +attachments.title=הצגת צרופות +attachments_label=צרופות +layers.title=הצגת שכבות (יש ללחוץ לחיצה כפולה כדי לאפס את כל השכבות למצב ברירת המחדל) +layers_label=שכבות +thumbs.title=הצגת תצוגה מקדימה +thumbs_label=תצוגה מקדימה +current_outline_item.title=מציאת פריט תוכן העניינים הנוכחי +current_outline_item_label=פריט תוכן העניינים הנוכחי +findbar.title=חיפוש במסמך +findbar_label=חיפוש + +additional_layers=שכבות נוספות +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=עמוד {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=עמוד {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=תצוגה מקדימה של עמוד {{page}} + +# Find panel button title and messages +find_input.title=חיפוש +find_input.placeholder=חיפוש במסמך… +find_previous.title=מציאת המופע הקודם של הביטוי +find_previous_label=קודם +find_next.title=מציאת המופע הבא של הביטוי +find_next_label=הבא +find_highlight=הדגשת הכול +find_match_case_label=התאמת אותיות +find_match_diacritics_label=התאמה דיאקריטית +find_entire_word_label=מילים שלמות +find_reached_top=הגיע לראש הדף, ממשיך מלמטה +find_reached_bottom=הגיע לסוף הדף, ממשיך מלמעלה +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=תוצאה {{current}} מתוך {{total}} +find_match_count[two]={{current}} מתוך {{total}} תוצאות +find_match_count[few]={{current}} מתוך {{total}} תוצאות +find_match_count[many]={{current}} מתוך {{total}} תוצאות +find_match_count[other]={{current}} מתוך {{total}} תוצאות +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=יותר מ־{{limit}} תוצאות +find_match_count_limit[one]=יותר מתוצאה אחת +find_match_count_limit[two]=יותר מ־{{limit}} תוצאות +find_match_count_limit[few]=יותר מ־{{limit}} תוצאות +find_match_count_limit[many]=יותר מ־{{limit}} תוצאות +find_match_count_limit[other]=יותר מ־{{limit}} תוצאות +find_not_found=הביטוי לא נמצא + +# Error panel labels +error_more_info=מידע נוסף +error_less_info=פחות מידע +error_close=סגירה +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js גרסה {{version}} (בנייה: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=הודעה: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=תוכן מחסנית: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=קובץ: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=שורה: {{line}} + +# Predefined zoom values +page_scale_width=רוחב העמוד +page_scale_fit=התאמה לעמוד +page_scale_auto=מרחק מתצוגה אוטומטי +page_scale_actual=גודל אמיתי +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=בטעינה… + +# Loading indicator messages +loading_error=אירעה שגיאה בעת טעינת ה־PDF. +invalid_file_error=קובץ PDF פגום או לא תקין. +missing_file_error=קובץ PDF חסר. +unexpected_response_error=תגובת שרת לא צפויה. + +rendering_error=אירעה שגיאה בעת עיבוד הדף. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[הערת {{type}}] +password_label=נא להכניס את הססמה לפתיחת קובץ PDF זה. +password_invalid=ססמה שגויה. נא לנסות שנית. +password_ok=אישור +password_cancel=ביטול + +printing_not_supported=אזהרה: הדפסה אינה נתמכת במלואה בדפדפן זה. +printing_not_ready=אזהרה: מסמך ה־PDF לא נטען לחלוטין עד מצב שמאפשר הדפסה. +web_fonts_disabled=גופני רשת מנוטרלים: לא ניתן להשתמש בגופני PDF מוטבעים. + +# Editor +editor_free_text2.title=טקסט +editor_free_text2_label=טקסט +editor_ink2.title=ציור +editor_ink2_label=ציור + +free_text2_default_content=להתחיל להקליד… + +# Editor Parameters +editor_free_text_color=צבע +editor_free_text_size=גודל +editor_ink_color=צבע +editor_ink_thickness=עובי +editor_ink_opacity=אטימות + +# Editor aria +editor_free_text2_aria_label=עורך טקסט +editor_ink2_aria_label=עורך ציור +editor_ink_canvas_aria_label=תמונה שנוצרה על־ידי משתמש diff --git a/media/js/pdf/web/locale/hi-IN/viewer.properties b/media/js/pdf/web/locale/hi-IN/viewer.properties new file mode 100644 index 0000000000..e296f0a3a3 --- /dev/null +++ b/media/js/pdf/web/locale/hi-IN/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=पिछला पृष्ठ +previous_label=पिछला +next.title=अगला पृष्ठ +next_label=आगे + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=पृष्ठ: +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} का +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=\u0020छोटा करें +zoom_out_label=\u0020छोटा करें +zoom_in.title=बड़ा करें +zoom_in_label=बड़ा करें +zoom.title=बड़ा-छोटा करें +presentation_mode.title=प्रस्तुति अवस्था में जाएँ +presentation_mode_label=\u0020प्रस्तुति अवस्था +open_file.title=फ़ाइल खोलें +open_file_label=\u0020खोलें +print.title=छापें +print_label=\u0020छापें +download.title=डाउनलोड +download_label=डाउनलोड +bookmark.title=मौजूदा दृश्य (नए विंडो में नक़ल लें या खोलें) +bookmark_label=\u0020मौजूदा दृश्य + +# Secondary toolbar and context menu +tools.title=औज़ार +tools_label=औज़ार +first_page.title=प्रथम पृष्ठ पर जाएँ +first_page_label=प्रथम पृष्ठ पर जाएँ +last_page.title=अंतिम पृष्ठ पर जाएँ +last_page_label=\u0020अंतिम पृष्ठ पर जाएँ +page_rotate_cw.title=घड़ी की दिशा में घुमाएँ +page_rotate_cw_label=घड़ी की दिशा में घुमाएँ +page_rotate_ccw.title=घड़ी की दिशा से उल्टा घुमाएँ +page_rotate_ccw_label=\u0020घड़ी की दिशा से उल्टा घुमाएँ + +cursor_text_select_tool.title=पाठ चयन उपकरण सक्षम करें +cursor_text_select_tool_label=पाठ चयन उपकरण +cursor_hand_tool.title=हस्त उपकरण सक्षम करें +cursor_hand_tool_label=हस्त उपकरण + +scroll_vertical.title=लंबवत स्क्रॉलिंग का उपयोग करें +scroll_vertical_label=लंबवत स्क्रॉलिंग +scroll_horizontal.title=क्षितिजिय स्क्रॉलिंग का उपयोग करें +scroll_horizontal_label=क्षितिजिय स्क्रॉलिंग +scroll_wrapped.title=व्राप्पेड स्क्रॉलिंग का उपयोग करें + +spread_none_label=कोई स्प्रेड उपलब्ध नहीं +spread_odd.title=विषम-क्रमांकित पृष्ठों से प्रारंभ होने वाले पृष्ठ स्प्रेड में शामिल हों +spread_odd_label=विषम फैलाव + +# Document properties dialog box +document_properties.title=दस्तावेज़ विशेषता... +document_properties_label=दस्तावेज़ विशेषता... +document_properties_file_name=फ़ाइल नाम: +document_properties_file_size=फाइल आकारः +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=शीर्षक: +document_properties_author=लेखकः +document_properties_subject=विषय: +document_properties_keywords=कुंजी-शब्द: +document_properties_creation_date=निर्माण दिनांक: +document_properties_modification_date=संशोधन दिनांक: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=निर्माता: +document_properties_producer=PDF उत्पादक: +document_properties_version=PDF संस्करण: +document_properties_page_count=पृष्ठ गिनती: +document_properties_page_size=पृष्ठ आकार: +document_properties_page_size_unit_inches=इंच +document_properties_page_size_unit_millimeters=मिमी +document_properties_page_size_orientation_portrait=पोर्ट्रेट +document_properties_page_size_orientation_landscape=लैंडस्केप +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=पत्र +document_properties_page_size_name_legal=क़ानूनी +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=तीव्र वेब व्यू: +document_properties_linearized_yes=हाँ +document_properties_linearized_no=नहीं +document_properties_close=बंद करें + +print_progress_message=छपाई के लिए दस्तावेज़ को तैयार किया जा रहा है... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=रद्द करें + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=\u0020स्लाइडर टॉगल करें +toggle_sidebar_label=स्लाइडर टॉगल करें +document_outline.title=दस्तावेज़ की रूपरेखा दिखाइए (सारी वस्तुओं को फलने अथवा समेटने के लिए दो बार क्लिक करें) +document_outline_label=दस्तावेज़ आउटलाइन +attachments.title=संलग्नक दिखायें +attachments_label=संलग्नक +thumbs.title=लघुछवियाँ दिखाएँ +thumbs_label=लघु छवि +findbar.title=\u0020दस्तावेज़ में ढूँढ़ें +findbar_label=ढूँढें + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=पृष्ठ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=पृष्ठ {{page}} की लघु-छवि + +# Find panel button title and messages +find_input.title=ढूँढें +find_input.placeholder=दस्तावेज़ में खोजें... +find_previous.title=वाक्यांश की पिछली उपस्थिति ढूँढ़ें +find_previous_label=पिछला +find_next.title=वाक्यांश की अगली उपस्थिति ढूँढ़ें +find_next_label=अगला +find_highlight=\u0020सभी आलोकित करें +find_match_case_label=मिलान स्थिति +find_entire_word_label=संपूर्ण शब्द +find_reached_top=पृष्ठ के ऊपर पहुंच गया, नीचे से जारी रखें +find_reached_bottom=पृष्ठ के नीचे में जा पहुँचा, ऊपर से जारी +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} में {{current}} मेल +find_match_count[two]={{total}} में {{current}} मेल +find_match_count[few]={{total}} में {{current}} मेल +find_match_count[many]={{total}} में {{current}} मेल +find_match_count[other]={{total}} में {{current}} मेल +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} से अधिक मेल +find_match_count_limit[one]={{limit}} से अधिक मेल +find_match_count_limit[two]={{limit}} से अधिक मेल +find_match_count_limit[few]={{limit}} से अधिक मेल +find_match_count_limit[many]={{limit}} से अधिक मेल +find_match_count_limit[other]={{limit}} से अधिक मेल +find_not_found=वाक्यांश नहीं मिला + +# Error panel labels +error_more_info=अधिक सूचना +error_less_info=कम सूचना +error_close=बंद करें +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=\u0020संदेश: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=स्टैक: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=फ़ाइल: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=पंक्ति: {{line}} +rendering_error=पृष्ठ रेंडरिंग के दौरान त्रुटि आई. + +# Predefined zoom values +page_scale_width=\u0020पृष्ठ चौड़ाई +page_scale_fit=पृष्ठ फिट +page_scale_auto=स्वचालित जूम +page_scale_actual=वास्तविक आकार +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF लोड करते समय एक त्रुटि हुई. +invalid_file_error=अमान्य या भ्रष्ट PDF फ़ाइल. +missing_file_error=\u0020अनुपस्थित PDF फ़ाइल. +unexpected_response_error=अप्रत्याशित सर्वर प्रतिक्रिया. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=\u0020[{{type}} Annotation] +password_label=इस PDF फ़ाइल को खोलने के लिए कृपया कूटशब्द भरें. +password_invalid=अवैध कूटशब्द, कृपया फिर कोशिश करें. +password_ok=OK +password_cancel=रद्द करें + +printing_not_supported=चेतावनी: इस ब्राउज़र पर छपाई पूरी तरह से समर्थित नहीं है. +printing_not_ready=चेतावनी: PDF छपाई के लिए पूरी तरह से लोड नहीं है. +web_fonts_disabled=वेब फॉन्ट्स निष्क्रिय हैं: अंतःस्थापित PDF फॉन्टस के उपयोग में असमर्थ. + diff --git a/media/js/pdf/web/locale/hr/viewer.properties b/media/js/pdf/web/locale/hr/viewer.properties new file mode 100644 index 0000000000..251eb61eaf --- /dev/null +++ b/media/js/pdf/web/locale/hr/viewer.properties @@ -0,0 +1,267 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Prethodna stranica +previous_label=Prethodna +next.title=Sljedeća stranica +next_label=Sljedeća + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Stranica +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Umanji +zoom_out_label=Umanji +zoom_in.title=Uvećaj +zoom_in_label=Uvećaj +zoom.title=Zumiranje +presentation_mode.title=Prebaci u prezentacijski način rada +presentation_mode_label=Prezentacijski način rada +open_file.title=Otvori datoteku +open_file_label=Otvori +print.title=Ispiši +print_label=Ispiši +download.title=Preuzmi +download_label=Preuzmi +save.title=Spremi +save_label=Spremi +bookmark.title=Trenutačni prikaz (kopiraj ili otvori u novom prozoru) +bookmark_label=Trenutačni prikaz + +# Secondary toolbar and context menu +tools.title=Alati +tools_label=Alati +first_page.title=Idi na prvu stranicu +first_page_label=Idi na prvu stranicu +last_page.title=Idi na posljednju stranicu +last_page_label=Idi na posljednju stranicu +page_rotate_cw.title=Rotiraj u smjeru kazaljke na satu +page_rotate_cw_label=Rotiraj u smjeru kazaljke na satu +page_rotate_ccw.title=Rotiraj obrnutno od smjera kazaljke na satu +page_rotate_ccw_label=Rotiraj obrnutno od smjera kazaljke na satu + +cursor_text_select_tool.title=Omogući alat za označavanje teksta +cursor_text_select_tool_label=Alat za označavanje teksta +cursor_hand_tool.title=Omogući ručni alat +cursor_hand_tool_label=Ručni alat + +scroll_vertical.title=Koristi okomito pomicanje +scroll_vertical_label=Okomito pomicanje +scroll_horizontal.title=Koristi vodoravno pomicanje +scroll_horizontal_label=Vodoravno pomicanje +scroll_wrapped.title=Koristi kontinuirani raspored stranica +scroll_wrapped_label=Kontinuirani raspored stranica + +spread_none.title=Ne izrađuj duplerice +spread_none_label=Pojedinačne stranice +spread_odd.title=Izradi duplerice koje počinju s neparnim stranicama +spread_odd_label=Neparne duplerice +spread_even.title=Izradi duplerice koje počinju s parnim stranicama +spread_even_label=Parne duplerice + +# Document properties dialog box +document_properties.title=Svojstva dokumenta … +document_properties_label=Svojstva dokumenta … +document_properties_file_name=Naziv datoteke: +document_properties_file_size=Veličina datoteke: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtova) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtova) +document_properties_title=Naslov: +document_properties_author=Autor: +document_properties_subject=Predmet: +document_properties_keywords=Ključne riječi: +document_properties_creation_date=Datum stvaranja: +document_properties_modification_date=Datum promjene: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Stvaratelj: +document_properties_producer=PDF stvaratelj: +document_properties_version=PDF verzija: +document_properties_page_count=Broj stranica: +document_properties_page_size=Dimenzije stranice: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=uspravno +document_properties_page_size_orientation_landscape=položeno +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Brzi web pregled: +document_properties_linearized_yes=Da +document_properties_linearized_no=Ne +document_properties_close=Zatvori + +print_progress_message=Pripremanje dokumenta za ispis… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Odustani + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Prikaži/sakrij bočnu traku +toggle_sidebar_notification2.title=Prikazivanje i sklanjanje bočne trake (dokument sadrži strukturu/privitke/slojeve) +toggle_sidebar_label=Prikaži/sakrij bočnu traku +document_outline.title=Prikaži strukturu dokumenta (dvostruki klik za rasklapanje/sklapanje svih stavki) +document_outline_label=Struktura dokumenta +attachments.title=Prikaži privitke +attachments_label=Privitci +layers.title=Prikaži slojeve (dvoklik za vraćanje svih slojeva u zadano stanje) +layers_label=Slojevi +thumbs.title=Prikaži minijature +thumbs_label=Minijature +current_outline_item.title=Pronađi trenutačni element strukture +current_outline_item_label=Trenutačni element strukture +findbar.title=Pronađi u dokumentu +findbar_label=Pronađi + +additional_layers=Dodatni slojevi +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Stranica {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Stranica {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Minijatura stranice {{page}} + +# Find panel button title and messages +find_input.title=Pronađi +find_input.placeholder=Pronađi u dokumentu … +find_previous.title=Pronađi prethodno pojavljivanje ovog izraza +find_previous_label=Prethodno +find_next.title=Pronađi sljedeće pojavljivanje ovog izraza +find_next_label=Sljedeće +find_highlight=Istankni sve +find_match_case_label=Razlikovanje velikih i malih slova +find_entire_word_label=Cijele riječi +find_reached_top=Dosegnut početak dokumenta, nastavak s kraja +find_reached_bottom=Dosegnut kraj dokumenta, nastavak s početka +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} od {{total}} se podudara +find_match_count[two]={{current}} od {{total}} se podudara +find_match_count[few]={{current}} od {{total}} se podudara +find_match_count[many]={{current}} od {{total}} se podudara +find_match_count[other]={{current}} od {{total}} se podudara +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Više od {{limit}} podudaranja +find_match_count_limit[one]=Više od {{limit}} podudaranja +find_match_count_limit[two]=Više od {{limit}} podudaranja +find_match_count_limit[few]=Više od {{limit}} podudaranja +find_match_count_limit[many]=Više od {{limit}} podudaranja +find_match_count_limit[other]=Više od {{limit}} podudaranja +find_not_found=Izraz nije pronađen + +# Error panel labels +error_more_info=Više informacija +error_less_info=Manje informacija +error_close=Zatvori +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Poruka: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stog: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Datoteka: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Redak: {{line}} + +# Predefined zoom values +page_scale_width=Prilagodi širini prozora +page_scale_fit=Prilagodi veličini prozora +page_scale_auto=Automatsko zumiranje +page_scale_actual=Stvarna veličina +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Učitavanje… +loading_error=Došlo je do greške pri učitavanju PDF-a. +invalid_file_error=Neispravna ili oštećena PDF datoteka. +missing_file_error=Nedostaje PDF datoteka. +unexpected_response_error=Neočekivani odgovor poslužitelja. + +rendering_error=Došlo je do greške prilikom iscrtavanja stranice. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Bilješka] +password_label=Za otvoranje ove PDF datoteku upiši lozinku. +password_invalid=Neispravna lozinka. Pokušaj ponovo. +password_ok=U redu +password_cancel=Odustani + +printing_not_supported=Upozorenje: Ovaj preglednik ne podržava u potpunosti ispisivanje. +printing_not_ready=Upozorenje: PDF nije u potpunosti učitan za ispis. +web_fonts_disabled=Web fontovi su deaktivirani: nije moguće koristiti ugrađene PDF fontove. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst + +free_text2_default_content=Počni tipkati … + +# Editor Parameters +editor_free_text_color=Boja +editor_free_text_size=Veličina +editor_ink_color=Boja +editor_ink_thickness=Debljina +editor_ink_opacity=Neprozirnost + +# Editor aria +editor_free_text2_aria_label=Uređivač teksta diff --git a/media/js/pdf/web/locale/hsb/viewer.properties b/media/js/pdf/web/locale/hsb/viewer.properties new file mode 100644 index 0000000000..fb4dfd2745 --- /dev/null +++ b/media/js/pdf/web/locale/hsb/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Předchadna strona +previous_label=Wróćo +next.title=Přichodna strona +next_label=Dale + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strona +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Pomjeńšić +zoom_out_label=Pomjeńšić +zoom_in.title=Powjetšić +zoom_in_label=Powjetšić +zoom.title=Skalowanje +presentation_mode.title=Do prezentaciskeho modusa přeńć +presentation_mode_label=Prezentaciski modus +open_file.title=Dataju wočinić +open_file_label=Wočinić +print.title=Ćišćeć +print_label=Ćišćeć +download.title=Sćahnyć +download_label=Sćahnyć +bookmark.title=Aktualny napohlad (kopěrować abo w nowym woknje wočinić) +bookmark_label=Aktualny napohlad + +save.title=Składować +save_label=Składować +bookmark1.title=Aktualna strona (URL z aktualneje strony pokazać) +bookmark1_label=Aktualna strona + +open_in_app.title=W nałoženju wočinić +open_in_app_label=W nałoženju wočinić + +# Secondary toolbar and context menu +tools.title=Nastroje +tools_label=Nastroje +first_page.title=K prěnjej stronje +first_page_label=K prěnjej stronje +last_page.title=K poslednjej stronje +last_page_label=K poslednjej stronje +page_rotate_cw.title=K směrej časnika wjerćeć +page_rotate_cw_label=K směrej časnika wjerćeć +page_rotate_ccw.title=Přećiwo směrej časnika wjerćeć +page_rotate_ccw_label=Přećiwo směrej časnika wjerćeć + +cursor_text_select_tool.title=Nastroj za wuběranje teksta zmóžnić +cursor_text_select_tool_label=Nastroj za wuběranje teksta +cursor_hand_tool.title=Ručny nastroj zmóžnić +cursor_hand_tool_label=Ručny nastroj + +scroll_page.title=Kulenje strony wužiwać +scroll_page_label=Kulenje strony +scroll_vertical.title=Wertikalne suwanje wužiwać +scroll_vertical_label=Wertikalne suwanje +scroll_horizontal.title=Horicontalne suwanje wužiwać +scroll_horizontal_label=Horicontalne suwanje +scroll_wrapped.title=Postupne suwanje wužiwać +scroll_wrapped_label=Postupne suwanje + +spread_none.title=Strony njezwjazać +spread_none_label=Žana dwójna strona +spread_odd.title=Strony započinajo z njerunymi stronami zwjazać +spread_odd_label=Njerune strony +spread_even.title=Strony započinajo z runymi stronami zwjazać +spread_even_label=Rune strony + +# Document properties dialog box +document_properties.title=Dokumentowe kajkosće… +document_properties_label=Dokumentowe kajkosće… +document_properties_file_name=Mjeno dataje: +document_properties_file_size=Wulkosć dataje: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtow) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtow) +document_properties_title=Titul: +document_properties_author=Awtor: +document_properties_subject=Předmjet: +document_properties_keywords=Klučowe słowa: +document_properties_creation_date=Datum wutworjenja: +document_properties_modification_date=Datum změny: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Awtor: +document_properties_producer=PDF-zhotowjer: +document_properties_version=PDF-wersija: +document_properties_page_count=Ličba stronow: +document_properties_page_size=Wulkosć strony: +document_properties_page_size_unit_inches=cól +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=wysoki format +document_properties_page_size_orientation_landscape=prěčny format +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Haj +document_properties_linearized_no=Ně +document_properties_close=Začinić + +print_progress_message=Dokument so za ćišćenje přihotuje… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Přetorhnyć + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Bóčnicu pokazać/schować +toggle_sidebar_notification2.title=Bóčnicu přepinać (dokument rozrjad/přiwěški/woršty wobsahuje) +toggle_sidebar_label=Bóčnicu pokazać/schować +document_outline.title=Dokumentowy naćisk pokazać (dwójne kliknjenje, zo bychu so wšě zapiski pokazali/schowali) +document_outline_label=Dokumentowa struktura +attachments.title=Přiwěški pokazać +attachments_label=Přiwěški +layers.title=Woršty pokazać (klikńće dwójce, zo byšće wšě woršty na standardny staw wróćo stajił) +layers_label=Woršty +thumbs.title=Miniatury pokazać +thumbs_label=Miniatury +current_outline_item.title=Aktualny rozrjadowy zapisk pytać +current_outline_item_label=Aktualny rozrjadowy zapisk +findbar.title=W dokumenće pytać +findbar_label=Pytać + +additional_layers=Dalše woršty +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Strona {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Strona {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura strony {{page}} + +# Find panel button title and messages +find_input.title=Pytać +find_input.placeholder=W dokumenće pytać… +find_previous.title=Předchadne wustupowanje pytanskeho wuraza pytać +find_previous_label=Wróćo +find_next.title=Přichodne wustupowanje pytanskeho wuraza pytać +find_next_label=Dale +find_highlight=Wšě wuzběhnyć +find_match_case_label=Wulkopisanje wobkedźbować +find_match_diacritics_label=Diakritiske znamješka wužiwać +find_entire_word_label=Cyłe słowa +find_reached_top=Spočatk dokumenta docpěty, pokročuje so z kóncom +find_reached_bottom=Kónc dokument docpěty, pokročuje so ze spočatkom +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} z {{total}} wotpowědnika +find_match_count[two]={{current}} z {{total}} wotpowědnikow +find_match_count[few]={{current}} z {{total}} wotpowědnikow +find_match_count[many]={{current}} z {{total}} wotpowědnikow +find_match_count[other]={{current}} z {{total}} wotpowědnikow +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Wjace hač {{limit}} wotpowědnikow +find_match_count_limit[one]=Wjace hač {{limit}} wotpowědnik +find_match_count_limit[two]=Wjace hač {{limit}} wotpowědnikaj +find_match_count_limit[few]=Wjace hač {{limit}} wotpowědniki +find_match_count_limit[many]=Wjace hač {{limit}} wotpowědnikow +find_match_count_limit[other]=Wjace hač {{limit}} wotpowědnikow +find_not_found=Pytanski wuraz njeje so namakał + +# Error panel labels +error_more_info=Wjace informacijow +error_less_info=Mjenje informacijow +error_close=Začinić +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Zdźělenka: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Lisćina zawołanjow: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dataja: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linka: {{line}} + +# Predefined zoom values +page_scale_width=Šěrokosć strony +page_scale_fit=Wulkosć strony +page_scale_auto=Awtomatiske skalowanje +page_scale_actual=Aktualna wulkosć +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Začituje so… + +# Loading indicator messages +loading_error=Při začitowanju PDF je zmylk wustupił. +invalid_file_error=Njepłaćiwa abo wobškodźena PDF-dataja. +missing_file_error=Falowaca PDF-dataja. +unexpected_response_error=Njewočakowana serwerowa wotmołwa. + +rendering_error=Při zwobraznjenju strony je zmylk wustupił. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Typ přispomnjenki: {{type}}] +password_label=Zapodajće hesło, zo byšće PDF-dataju wočinił. +password_invalid=Njepłaćiwe hesło. Prošu spytajće hišće raz. +password_ok=W porjadku +password_cancel=Přetorhnyć + +printing_not_supported=Warnowanje: Ćišćenje so přez tutón wobhladowak połnje njepodpěruje. +printing_not_ready=Warnowanje: PDF njeje so za ćišćenje dospołnje začitał. +web_fonts_disabled=Webpisma su znjemóžnjene: njeje móžno, zasadźene PDF-pisma wužiwać. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Rysować +editor_ink2_label=Rysować + +free_text2_default_content=Započńće pisać… + +# Editor Parameters +editor_free_text_color=Barba +editor_free_text_size=Wulkosć +editor_ink_color=Barba +editor_ink_thickness=Tołstosć +editor_ink_opacity=Opacita + +# Editor aria +editor_free_text2_aria_label=Tekstowy editor +editor_ink2_aria_label=Rysowanski editor +editor_ink_canvas_aria_label=Wobraz wutworjeny wot wužiwarja diff --git a/media/js/pdf/web/locale/hu/viewer.properties b/media/js/pdf/web/locale/hu/viewer.properties new file mode 100644 index 0000000000..581b4da2ab --- /dev/null +++ b/media/js/pdf/web/locale/hu/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Előző oldal +previous_label=Előző +next.title=Következő oldal +next_label=Tovább + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Oldal +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=összesen: {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=Kicsinyítés +zoom_out_label=Kicsinyítés +zoom_in.title=Nagyítás +zoom_in_label=Nagyítás +zoom.title=Nagyítás +presentation_mode.title=Váltás bemutató módba +presentation_mode_label=Bemutató mód +open_file.title=Fájl megnyitása +open_file_label=Megnyitás +print.title=Nyomtatás +print_label=Nyomtatás +download.title=Letöltés +download_label=Letöltés +bookmark.title=Jelenlegi nézet (másolás vagy megnyitás új ablakban) +bookmark_label=Aktuális nézet + +save.title=Mentés +save_label=Mentés +bookmark1.title=Jelenlegi oldal (webcím megtekintése a jelenlegi oldalról) +bookmark1_label=Jelenlegi oldal + +open_in_app.title=Megnyitás alkalmazásban +open_in_app_label=Megnyitás alkalmazásban + +# Secondary toolbar and context menu +tools.title=Eszközök +tools_label=Eszközök +first_page.title=Ugrás az első oldalra +first_page_label=Ugrás az első oldalra +last_page.title=Ugrás az utolsó oldalra +last_page_label=Ugrás az utolsó oldalra +page_rotate_cw.title=Forgatás az óramutató járásával egyezően +page_rotate_cw_label=Forgatás az óramutató járásával egyezően +page_rotate_ccw.title=Forgatás az óramutató járásával ellentétesen +page_rotate_ccw_label=Forgatás az óramutató járásával ellentétesen + +cursor_text_select_tool.title=Szövegkijelölő eszköz bekapcsolása +cursor_text_select_tool_label=Szövegkijelölő eszköz +cursor_hand_tool.title=Kéz eszköz bekapcsolása +cursor_hand_tool_label=Kéz eszköz + +scroll_page.title=Oldalgörgetés használata +scroll_page_label=Oldalgörgetés +scroll_vertical.title=Függőleges görgetés használata +scroll_vertical_label=Függőleges görgetés +scroll_horizontal.title=Vízszintes görgetés használata +scroll_horizontal_label=Vízszintes görgetés +scroll_wrapped.title=Rácsos elrendezés használata +scroll_wrapped_label=Rácsos elrendezés + +spread_none.title=Ne tapassza össze az oldalakat +spread_none_label=Nincs összetapasztás +spread_odd.title=Lapok összetapasztása, a páratlan számú oldalakkal kezdve +spread_odd_label=Összetapasztás: páratlan +spread_even.title=Lapok összetapasztása, a páros számú oldalakkal kezdve +spread_even_label=Összetapasztás: páros + +# Document properties dialog box +document_properties.title=Dokumentum tulajdonságai… +document_properties_label=Dokumentum tulajdonságai… +document_properties_file_name=Fájlnév: +document_properties_file_size=Fájlméret: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bájt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bájt) +document_properties_title=Cím: +document_properties_author=Szerző: +document_properties_subject=Tárgy: +document_properties_keywords=Kulcsszavak: +document_properties_creation_date=Létrehozás dátuma: +document_properties_modification_date=Módosítás dátuma: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Létrehozta: +document_properties_producer=PDF előállító: +document_properties_version=PDF verzió: +document_properties_page_count=Oldalszám: +document_properties_page_size=Lapméret: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=álló +document_properties_page_size_orientation_landscape=fekvő +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Jogi információk +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Gyors webes nézet: +document_properties_linearized_yes=Igen +document_properties_linearized_no=Nem +document_properties_close=Bezárás + +print_progress_message=Dokumentum előkészítése nyomtatáshoz… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Mégse + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Oldalsáv be/ki +toggle_sidebar_notification2.title=Oldalsáv be/ki (a dokumentum vázlatot/mellékleteket/rétegeket tartalmaz) +toggle_sidebar_label=Oldalsáv be/ki +document_outline.title=Dokumentum megjelenítése online (dupla kattintás minden elem kinyitásához/összecsukásához) +document_outline_label=Dokumentumvázlat +attachments.title=Mellékletek megjelenítése +attachments_label=Van melléklet +layers.title=Rétegek megjelenítése (dupla kattintás az összes réteg alapértelmezett állapotra visszaállításához) +layers_label=Rétegek +thumbs.title=Bélyegképek megjelenítése +thumbs_label=Bélyegképek +current_outline_item.title=Jelenlegi vázlatelem megkeresése +current_outline_item_label=Jelenlegi vázlatelem +findbar.title=Keresés a dokumentumban +findbar_label=Keresés + +additional_layers=További rétegek +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}}. oldal +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}}. oldal +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}}. oldal bélyegképe + +# Find panel button title and messages +find_input.title=Keresés +find_input.placeholder=Keresés a dokumentumban… +find_previous.title=A kifejezés előző előfordulásának keresése +find_previous_label=Előző +find_next.title=A kifejezés következő előfordulásának keresése +find_next_label=Tovább +find_highlight=Összes kiemelése +find_match_case_label=Kis- és nagybetűk megkülönböztetése +find_match_diacritics_label=Diakritikus jelek +find_entire_word_label=Teljes szavak +find_reached_top=A dokumentum eleje elérve, folytatás a végétől +find_reached_bottom=A dokumentum vége elérve, folytatás az elejétől +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} / {{total}} találat +find_match_count[two]={{current}} / {{total}} találat +find_match_count[few]={{current}} / {{total}} találat +find_match_count[many]={{current}} / {{total}} találat +find_match_count[other]={{current}} / {{total}} találat +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Több mint {{limit}} találat +find_match_count_limit[one]=Több mint {{limit}} találat +find_match_count_limit[two]=Több mint {{limit}} találat +find_match_count_limit[few]=Több mint {{limit}} találat +find_match_count_limit[many]=Több mint {{limit}} találat +find_match_count_limit[other]=Több mint {{limit}} találat +find_not_found=A kifejezés nem található + +# Error panel labels +error_more_info=További tudnivalók +error_less_info=Kevesebb információ +error_close=Bezárás +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Üzenet: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Verem: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fájl: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Sor: {{line}} + +# Predefined zoom values +page_scale_width=Oldalszélesség +page_scale_fit=Teljes oldal +page_scale_auto=Automatikus nagyítás +page_scale_actual=Valódi méret +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Betöltés… + +# Loading indicator messages +loading_error=Hiba történt a PDF betöltésekor. +invalid_file_error=Érvénytelen vagy sérült PDF fájl. +missing_file_error=Hiányzó PDF fájl. +unexpected_response_error=Váratlan kiszolgálóválasz. + +rendering_error=Hiba történt az oldal feldolgozása közben. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} megjegyzés] +password_label=Adja meg a jelszót a PDF fájl megnyitásához. +password_invalid=Helytelen jelszó. Próbálja újra. +password_ok=OK +password_cancel=Mégse + +printing_not_supported=Figyelmeztetés: Ez a böngésző nem teljesen támogatja a nyomtatást. +printing_not_ready=Figyelmeztetés: A PDF nincs teljesen betöltve a nyomtatáshoz. +web_fonts_disabled=Webes betűkészletek letiltva: nem használhatók a beágyazott PDF betűkészletek. + +# Editor +editor_free_text2.title=Szöveg +editor_free_text2_label=Szöveg +editor_ink2.title=Rajzolás +editor_ink2_label=Rajzolás + +free_text2_default_content=Kezdjen el gépelni… + +# Editor Parameters +editor_free_text_color=Szín +editor_free_text_size=Méret +editor_ink_color=Szín +editor_ink_thickness=Vastagság +editor_ink_opacity=Átlátszatlanság + +# Editor aria +editor_free_text2_aria_label=Szövegszerkesztő +editor_ink2_aria_label=Rajzszerkesztő +editor_ink_canvas_aria_label=Felhasználó által készített kép diff --git a/media/js/pdf/web/locale/hy-AM/viewer.properties b/media/js/pdf/web/locale/hy-AM/viewer.properties new file mode 100644 index 0000000000..25874f1282 --- /dev/null +++ b/media/js/pdf/web/locale/hy-AM/viewer.properties @@ -0,0 +1,253 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Նախորդ էջը +previous_label=Նախորդը +next.title=Հաջորդ էջը +next_label=Հաջորդը + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Էջ. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=-ը՝ {{pagesCount}}-ից +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}-ը {{pagesCount}})-ից + +zoom_out.title=Փոքրացնել +zoom_out_label=Փոքրացնել +zoom_in.title=Խոշորացնել +zoom_in_label=Խոշորացնել +zoom.title=Մասշտաբ +presentation_mode.title=Անցնել Ներկայացման եղանակին +presentation_mode_label=Ներկայացման եղանակ +open_file.title=Բացել նիշք +open_file_label=Բացել +print.title=Տպել +print_label=Տպել +download.title=Բեռնել +download_label=Բեռնել +bookmark.title=Ընթացիկ տեսքով (պատճենել կամ բացել նոր պատուհանում) +bookmark_label=Ընթացիկ տեսքը + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. + +# Secondary toolbar and context menu +tools.title=Գործիքներ +tools_label=Գործիքներ +first_page.title=Անցնել առաջին էջին +first_page_label=Անցնել առաջին էջին +last_page.title=Անցնել վերջին էջին +last_page_label=Անցնել վերջին էջին +page_rotate_cw.title=Պտտել ըստ ժամացույցի սլաքի +page_rotate_cw_label=Պտտել ըստ ժամացույցի սլաքի +page_rotate_ccw.title=Պտտել հակառակ ժամացույցի սլաքի +page_rotate_ccw_label=Պտտել հակառակ ժամացույցի սլաքի + +cursor_text_select_tool.title=Միացնել գրույթ ընտրելու գործիքը +cursor_text_select_tool_label=Գրույթը ընտրելու գործիք +cursor_hand_tool.title=Միացնել Ձեռքի գործիքը +cursor_hand_tool_label=Ձեռքի գործիք + +scroll_vertical.title=Օգտագործել ուղղահայաց ոլորում +scroll_vertical_label=Ուղղահայաց ոլորում +scroll_horizontal.title=Օգտագործել հորիզոնական ոլորում +scroll_horizontal_label=Հորիզոնական ոլորում +scroll_wrapped.title=Օգտագործել փաթաթված ոլորում +scroll_wrapped_label=Փաթաթված ոլորում + +spread_none.title=Մի միացեք էջի վերածածկերին +spread_none_label=Չկա վերածածկեր +spread_odd.title=Միացեք էջի վերածածկերին սկսելով՝ կենտ համարակալված էջերով +spread_odd_label=Կենտ վերածածկեր +spread_even.title=Միացեք էջի վերածածկերին սկսելով՝ զույգ համարակալված էջերով +spread_even_label=Զույգ վերածածկեր + +# Document properties dialog box +document_properties.title=Փաստաթղթի հատկությունները… +document_properties_label=Փաստաթղթի հատկությունները… +document_properties_file_name=Նիշքի անունը. +document_properties_file_size=Նիշք չափը. +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ԿԲ ({{size_b}} բայթ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} ՄԲ ({{size_b}} բայթ) +document_properties_title=Վերնագիր. +document_properties_author=Հեղինակ․ +document_properties_subject=Վերնագիր. +document_properties_keywords=Հիմնաբառ. +document_properties_creation_date=Ստեղծելու ամսաթիվը. +document_properties_modification_date=Փոփոխելու ամսաթիվը. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Ստեղծող. +document_properties_producer=PDF-ի հեղինակը. +document_properties_version=PDF-ի տարբերակը. +document_properties_page_count=Էջերի քանակը. +document_properties_page_size=Էջի չափը. +document_properties_page_size_unit_inches=ում +document_properties_page_size_unit_millimeters=մմ +document_properties_page_size_orientation_portrait=ուղղաձիգ +document_properties_page_size_orientation_landscape=հորիզոնական +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Նամակ +document_properties_page_size_name_legal=Օրինական +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Արագ վեբ դիտում․ +document_properties_linearized_yes=Այո +document_properties_linearized_no=Ոչ +document_properties_close=Փակել + +print_progress_message=Նախապատրաստում է փաստաթուղթը տպելուն... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Չեղարկել + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Բացել/Փակել Կողային վահանակը +toggle_sidebar_label=Բացել/Փակել Կողային վահանակը +document_outline.title=Ցուցադրել փաստաթղթի ուրվագիծը (կրկնակի սեղմեք՝ միավորները ընդարձակելու/կոծկելու համար) +document_outline_label=Փաստաթղթի բովանդակությունը +attachments.title=Ցուցադրել կցորդները +attachments_label=Կցորդներ +thumbs.title=Ցուցադրել Մանրապատկերը +thumbs_label=Մանրապատկերը +findbar.title=Գտնել փաստաթղթում +findbar_label=Որոնում + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Էջը {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Էջի մանրապատկերը {{page}} + +# Find panel button title and messages +find_input.title=Որոնում +find_input.placeholder=Գտնել փաստաթղթում... +find_previous.title=Գտնել անրահայտության նախորդ հանդիպումը +find_previous_label=Նախորդը +find_next.title=Գտիր արտահայտության հաջորդ հանդիպումը +find_next_label=Հաջորդը +find_highlight=Գունանշել բոլորը +find_match_case_label=Մեծ(փոքր)ատառ հաշվի առնել +find_entire_word_label=Ամբողջ բառերը +find_reached_top=Հասել եք փաստաթղթի վերևին, կշարունակվի ներքևից +find_reached_bottom=Հասել եք փաստաթղթի վերջին, կշարունակվի վերևից +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ հոգնակի(ընդհանուր) ]} +find_match_count[one]={{current}} {{total}}-ի համընկնումից +find_match_count[two]={{current}} {{total}}-ի համընկնումներից +find_match_count[few]={{current}} {{total}}-ի համընկնումներից +find_match_count[many]={{current}} {{total}}-ի համընկնումներից +find_match_count[other]={{current}} {{total}}-ի համընկնումներից +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ հոգնակի (սահմանը) ]} +find_match_count_limit[zero]=Ավելին քան {{limit}} համընկնումները +find_match_count_limit[one]=Ավելին քան {{limit}} համընկնումը +find_match_count_limit[two]=Ավելին քան {{limit}} համընկնումներներ +find_match_count_limit[few]=Ավելին քան {{limit}} համընկնումներներ +find_match_count_limit[many]=Ավելին քան {{limit}} համընկնումներներ +find_match_count_limit[other]=Ավելին քան {{limit}} համընկնումներներ +find_not_found=Արտահայտությունը չգտնվեց + +# Error panel labels +error_more_info=Ավելի շատ տեղեկություն +error_less_info=Քիչ տեղեկություն +error_close=Փակել +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (կառուցումը. {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Գրությունը. {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Շեղջ. {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ֆայլ. {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Տողը. {{line}} + +# Predefined zoom values +page_scale_width=Էջի լայնքը +page_scale_fit=Ձգել էջը +page_scale_auto=Ինքնաշխատ +page_scale_actual=Իրական չափը +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages + +# Loading indicator messages +loading_error=Սխալ՝ PDF ֆայլը բացելիս։ +invalid_file_error=Սխալ կամ վնասված PDF ֆայլ: +missing_file_error=PDF ֆայլը բացակայում է: +unexpected_response_error=Սպասարկիչի անսպասելի պատասխան: + +rendering_error=Սխալ՝ էջը ստեղծելիս: + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Ծանոթություն] +password_label=Մուտքագրեք PDF-ի գաղտնաբառը: +password_invalid=Գաղտնաբառը սխալ է: Կրկին փորձեք: +password_ok=Լավ +password_cancel=Չեղարկել + +printing_not_supported=Զգուշացում. Տպելը ամբողջությամբ չի աջակցվում դիտարկիչի կողմից։ +printing_not_ready=Զգուշացում. PDF-ը ամբողջությամբ չի բեռնավորվել տպելու համար: +web_fonts_disabled=Վեբ-տառատեսակները անջատված են. հնարավոր չէ օգտագործել ներկառուցված PDF տառատեսակները: + +# Editor + + +# Editor Parameters + +# Editor aria diff --git a/media/js/pdf/web/locale/hye/viewer.properties b/media/js/pdf/web/locale/hye/viewer.properties new file mode 100644 index 0000000000..40194dab08 --- /dev/null +++ b/media/js/pdf/web/locale/hye/viewer.properties @@ -0,0 +1,252 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Նախորդ էջ +previous_label=Նախորդը +next.title=Յաջորդ էջ +next_label=Յաջորդը + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=էջ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}}-ից\u0020 +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}}-ը {{pagesCount}})-ից + +zoom_out.title=Փոքրացնել +zoom_out_label=Փոքրացնել +zoom_in.title=Խոշորացնել +zoom_in_label=Խոշորացնել +zoom.title=Խոշորացում +presentation_mode.title=Անցնել ներկայացման եղանակին +presentation_mode_label=Ներկայացման եղանակ +open_file.title=Բացել նիշքը +open_file_label=Բացել +print.title=Տպել +print_label=Տպել +download.title=Բեռնել +download_label=Բեռնել +bookmark.title=Ընթացիկ տեսքով (պատճէնել կամ բացել նոր պատուհանում) +bookmark_label=Ընթացիկ տեսք + +# Secondary toolbar and context menu +tools.title=Գործիքներ +tools_label=Գործիքներ +first_page.title=Գնալ դէպի առաջին էջ +first_page_label=Գնալ դէպի առաջին էջ +last_page.title=Գնալ դէպի վերջին էջ +last_page_label=Գնալ դէպի վերջին էջ +page_rotate_cw.title=Պտտել ժամացոյցի սլաքի ուղղութեամբ +page_rotate_cw_label=Պտտել ժամացոյցի սլաքի ուղղութեամբ +page_rotate_ccw.title=Պտտել ժամացոյցի սլաքի հակառակ ուղղութեամբ +page_rotate_ccw_label=Պտտել ժամացոյցի սլաքի հակառակ ուղղութեամբ + +cursor_text_select_tool.title=Միացնել գրոյթ ընտրելու գործիքը +cursor_text_select_tool_label=Գրուածք ընտրելու գործիք +cursor_hand_tool.title=Միացնել ձեռքի գործիքը +cursor_hand_tool_label=Ձեռքի գործիք + +scroll_page.title=Աւգտագործել էջի ոլորում +scroll_page_label=Էջի ոլորում +scroll_vertical.title=Աւգտագործել ուղղահայեաց ոլորում +scroll_vertical_label=Ուղղահայեաց ոլորում +scroll_horizontal.title=Աւգտագործել հորիզոնական ոլորում +scroll_horizontal_label=Հորիզոնական ոլորում +scroll_wrapped.title=Աւգտագործել փաթաթուած ոլորում +scroll_wrapped_label=Փաթաթուած ոլորում + +spread_none.title=Մի միացէք էջի կոնտեքստում +spread_none_label=Չկայ կոնտեքստ +spread_odd.title=Միացէք էջի կոնտեքստին սկսելով՝ կենտ համարակալուած էջերով +spread_odd_label=Տարաւրինակ կոնտեքստ +spread_even.title=Միացէք էջի կոնտեքստին սկսելով՝ զոյգ համարակալուած էջերով +spread_even_label=Հաւասար վերածածկեր + +# Document properties dialog box +document_properties.title=Փաստաթղթի հատկութիւնները… +document_properties_label=Փաստաթղթի յատկութիւնները… +document_properties_file_name=Նիշքի անունը․ +document_properties_file_size=Նիշք չափը. +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ԿԲ ({{size_b}} բայթ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} ՄԲ ({{size_b}} բայթ) +document_properties_title=Վերնագիր +document_properties_author=Հեղինակ․ +document_properties_subject=առարկայ +document_properties_keywords=Հիմնաբառեր +document_properties_creation_date=Ստեղծման ամսաթիւ +document_properties_modification_date=Փոփոխութեան ամսաթիւ. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Ստեղծող +document_properties_producer=PDF-ի Արտադրողը. +document_properties_version=PDF-ի տարբերակը. +document_properties_page_count=Էջերի քանակը. +document_properties_page_size=Էջի չափը. +document_properties_page_size_unit_inches=ում +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=ուղղաձիգ +document_properties_page_size_orientation_landscape=հորիզոնական +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Նամակ +document_properties_page_size_name_legal=Աւրինական +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Արագ վեբ դիտում․ +document_properties_linearized_yes=Այո +document_properties_linearized_no=Ոչ +document_properties_close=Փակել + +print_progress_message=Նախապատրաստում է փաստաթուղթը տպելուն… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Չեղարկել + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Փոխարկել կողային վահանակը +toggle_sidebar_notification2.title=Փոխանջատել կողմնասիւնը (փաստաթուղթը պարունակում է ուրուագիծ/կցորդներ/շերտեր) +toggle_sidebar_label=Փոխարկել կողային վահանակը +document_outline.title=Ցուցադրել փաստաթղթի ուրուագիծը (կրկնակի սեղմէք՝ միաւորները ընդարձակելու/կոծկելու համար) +document_outline_label=Փաստաթղթի ուրուագիծ +attachments.title=Ցուցադրել կցորդները +attachments_label=Կցորդներ +layers.title=Ցուցադրել շերտերը (կրկնահպել վերակայելու բոլոր շերտերը սկզբնադիր վիճակի) +layers_label=Շերտեր +thumbs.title=Ցուցադրել մանրապատկերը +thumbs_label=Մանրապատկեր +current_outline_item.title=Գտէք ընթացիկ գծագրման տարրը +current_outline_item_label=Ընթացիկ գծագրման տարր +findbar.title=Գտնել փաստաթղթում +findbar_label=Որոնում + +additional_layers=Լրացուցիչ շերտեր +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Էջ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Էջը {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Էջի մանրապատկերը {{page}} + +# Find panel button title and messages +find_input.title=Որոնում +find_input.placeholder=Գտնել փաստաթղթում… +find_previous.title=Գտնել արտայայտութեան նախորդ արտայայտութիւնը +find_previous_label=Նախորդը +find_next.title=Գտիր արտայայտութեան յաջորդ արտայայտութիւնը +find_next_label=Հաջորդը +find_highlight=Գունանշել բոլորը +find_match_case_label=Հաշուի առնել հանգամանքը +find_match_diacritics_label=Հնչիւնատարբերիչ նշանների համապատասխանեցում +find_entire_word_label=Ամբողջ բառերը +find_reached_top=Հասել եք փաստաթղթի վերեւին,շարունակել ներքեւից +find_reached_bottom=Հասել էք փաստաթղթի վերջին, շարունակել վերեւից +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} {{total}}-ի համընկնումից +find_match_count[two]={{current}} {{total}}-ի համընկնումներից +find_match_count[few]={{current}} {{total}}-ի համընկնումներից +find_match_count[many]={{current}} {{total}}-ի համընկնումներից +find_match_count[other]={{current}} {{total}}-ի համընկնումներից +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Աւելին քան {{limit}} համընկնումները +find_match_count_limit[one]=Աւելին քան {{limit}} համընկնումը +find_match_count_limit[two]=Աւելին քան {{limit}} համընկնումները +find_match_count_limit[few]=Աւելին քան {{limit}} համընկնումները +find_match_count_limit[many]=Աւելին քան {{limit}} համընկնումները +find_match_count_limit[other]=Աւելին քան {{limit}} համընկնումները +find_not_found=Արտայայտութիւնը չգտնուեց + +# Error panel labels +error_more_info=Աւելի շատ տեղեկութիւն +error_less_info=Քիչ տեղեկութիւն +error_close=Փակել +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (կառուցումը. {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Գրութիւնը. {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Շեղջ. {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=նիշք․ {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Տողը. {{line}} +rendering_error=Սխալ է տեղի ունեցել էջի մեկնաբանման ժամանակ + +# Predefined zoom values +page_scale_width=Էջի լայնութիւն +page_scale_fit=Հարմարեցնել էջը +page_scale_auto=Ինքնաշխատ խոշորացում +page_scale_actual=Իրական չափը +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Բեռնում… +loading_error=PDF նիշքը բացելիս սխալ է տեղի ունեցել։ +invalid_file_error=Սխալ կամ վնասուած PDF նիշք։ +missing_file_error=PDF նիշքը բացակաիւմ է։ +unexpected_response_error=Սպասարկիչի անսպասելի պատասխան։ + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Ծանոթութիւն] +password_label=Մուտքագրէք գաղտնաբառը այս PDF նիշքը բացելու համար +password_invalid=Գաղտնաբառը սխալ է: Կրկին փորձէք: +password_ok=Լաւ +password_cancel=Չեղարկել + +printing_not_supported=Զգուշացում. Տպելը ամբողջութեամբ չի աջակցուում զննարկիչի կողմից։ +printing_not_ready=Զգուշացում. PDF֊ը ամբողջութեամբ չի բեռնաւորուել տպելու համար։ +web_fonts_disabled=Վեբ-տառատեսակները անջատուած են. հնարաւոր չէ աւգտագործել ներկառուցուած PDF տառատեսակները։ + diff --git a/media/js/pdf/web/locale/ia/viewer.properties b/media/js/pdf/web/locale/ia/viewer.properties new file mode 100644 index 0000000000..3e2da7971a --- /dev/null +++ b/media/js/pdf/web/locale/ia/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagina previe +previous_label=Previe +next.title=Pagina sequente +next_label=Sequente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Distantiar +zoom_out_label=Distantiar +zoom_in.title=Approximar +zoom_in_label=Approximar +zoom.title=Zoom +presentation_mode.title=Excambiar a modo presentation +presentation_mode_label=Modo presentation +open_file.title=Aperir le file +open_file_label=Aperir +print.title=Imprimer +print_label=Imprimer +download.title=Discargar +download_label=Discargar +bookmark.title=Vista actual (copiar o aperir in un nove fenestra) +bookmark_label=Vista actual + +save.title=Salvar +save_label=Salvar +bookmark1.title=Pagina actual (vide le URL del pagina actual) +bookmark1_label=Pagina actual + +open_in_app.title=Aperir in app +open_in_app_label=Aperir in app + +# Secondary toolbar and context menu +tools.title=Instrumentos +tools_label=Instrumentos +first_page.title=Ir al prime pagina +first_page_label=Ir al prime pagina +last_page.title=Ir al prime pagina +last_page_label=Ir al prime pagina +page_rotate_cw.title=Rotar in senso horari +page_rotate_cw_label=Rotar in senso horari +page_rotate_ccw.title=Rotar in senso antihorari +page_rotate_ccw_label=Rotar in senso antihorari + +cursor_text_select_tool.title=Activar le instrumento de selection de texto +cursor_text_select_tool_label=Instrumento de selection de texto +cursor_hand_tool.title=Activar le instrumento mano +cursor_hand_tool_label=Instrumento mano + +scroll_page.title=Usar rolamento de pagina +scroll_page_label=Rolamento de pagina +scroll_vertical.title=Usar rolamento vertical +scroll_vertical_label=Rolamento vertical +scroll_horizontal.title=Usar rolamento horizontal +scroll_horizontal_label=Rolamento horizontal +scroll_wrapped.title=Usar rolamento incapsulate +scroll_wrapped_label=Rolamento incapsulate + +spread_none.title=Non junger paginas dual +spread_none_label=Sin paginas dual +spread_odd.title=Junger paginas dual a partir de paginas con numeros impar +spread_odd_label=Paginas dual impar +spread_even.title=Junger paginas dual a partir de paginas con numeros par +spread_even_label=Paginas dual par + +# Document properties dialog box +document_properties.title=Proprietates del documento… +document_properties_label=Proprietates del documento… +document_properties_file_name=Nomine del file: +document_properties_file_size=Dimension de file: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titulo: +document_properties_author=Autor: +document_properties_subject=Subjecto: +document_properties_keywords=Parolas clave: +document_properties_creation_date=Data de creation: +document_properties_modification_date=Data de modification: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creator: +document_properties_producer=Productor PDF: +document_properties_version=Version PDF: +document_properties_page_count=Numero de paginas: +document_properties_page_size=Dimension del pagina: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=horizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Littera +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web rapide: +document_properties_linearized_yes=Si +document_properties_linearized_no=No +document_properties_close=Clauder + +print_progress_message=Preparation del documento pro le impression… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancellar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Monstrar/celar le barra lateral +toggle_sidebar_notification2.title=Monstrar/celar le barra lateral (le documento contine structura/attachamentos/stratos) +toggle_sidebar_label=Monstrar/celar le barra lateral +document_outline.title=Monstrar le schema del documento (clic duple pro expander/contraher tote le elementos) +document_outline_label=Schema del documento +attachments.title=Monstrar le annexos +attachments_label=Annexos +layers.title=Monstrar stratos (clicca duple pro remontar tote le stratos al stato predefinite) +layers_label=Stratos +thumbs.title=Monstrar le vignettes +thumbs_label=Vignettes +current_outline_item.title=Trovar le elemento de structura actual +current_outline_item_label=Elemento de structura actual +findbar.title=Cercar in le documento +findbar_label=Cercar + +additional_layers=Altere stratos +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pagina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Vignette del pagina {{page}} + +# Find panel button title and messages +find_input.title=Cercar +find_input.placeholder=Cercar in le documento… +find_previous.title=Trovar le previe occurrentia del phrase +find_previous_label=Previe +find_next.title=Trovar le successive occurrentia del phrase +find_next_label=Sequente +find_highlight=Evidentiar toto +find_match_case_label=Distinguer majusculas/minusculas +find_match_diacritics_label=Differentiar diacriticos +find_entire_word_label=Parolas integre +find_reached_top=Initio del documento attingite, continuation ab fin +find_reached_bottom=Fin del documento attingite, continuation ab initio +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} concordantia +find_match_count[two]={{current}} de {{total}} concordantias +find_match_count[few]={{current}} de {{total}} concordantias +find_match_count[many]={{current}} de {{total}} concordantias +find_match_count[other]={{current}} de {{total}} concordantias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Plus de {{limit}} concordantias +find_match_count_limit[one]=Plus de {{limit}} concordantia +find_match_count_limit[two]=Plus de {{limit}} concordantias +find_match_count_limit[few]=Plus de {{limit}} concordantias +find_match_count_limit[many]=Plus de {{limit}} correspondentias +find_match_count_limit[other]=Plus de {{limit}} concordantias +find_not_found=Phrase non trovate + +# Error panel labels +error_more_info=Plus de informationes +error_less_info=Minus de informationes +error_close=Clauder +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linea: {{line}} + +# Predefined zoom values +page_scale_width=Plen largor del pagina +page_scale_fit=Pagina integre +page_scale_auto=Zoom automatic +page_scale_actual=Dimension real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargante… + +# Loading indicator messages +loading_error=Un error occurreva durante que on cargava le file PDF. +invalid_file_error=File PDF corrumpite o non valide. +missing_file_error=File PDF mancante. +unexpected_response_error=Responsa del servitor inexpectate. + +rendering_error=Un error occurreva durante que on processava le pagina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Insere le contrasigno pro aperir iste file PDF. +password_invalid=Contrasigno invalide. Per favor retenta. +password_ok=OK +password_cancel=Cancellar + +printing_not_supported=Attention : le impression non es totalmente supportate per ce navigator. +printing_not_ready=Attention: le file PDF non es integremente cargate pro lo poter imprimer. +web_fonts_disabled=Le typos de litteras web es disactivate: impossibile usar le typos de litteras PDF incorporate. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Designar +editor_ink2_label=Designar + +free_text2_default_content=Comenciar a scriber… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Dimension +editor_ink_color=Color +editor_ink_thickness=Spissor +editor_ink_opacity=Opacitate + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de designos +editor_ink_canvas_aria_label=Imagine create per le usator diff --git a/media/js/pdf/web/locale/id/viewer.properties b/media/js/pdf/web/locale/id/viewer.properties new file mode 100644 index 0000000000..84f84a8787 --- /dev/null +++ b/media/js/pdf/web/locale/id/viewer.properties @@ -0,0 +1,277 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Laman Sebelumnya +previous_label=Sebelumnya +next.title=Laman Selanjutnya +next_label=Selanjutnya + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Halaman +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=dari {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} dari {{pagesCount}}) + +zoom_out.title=Perkecil +zoom_out_label=Perkecil +zoom_in.title=Perbesar +zoom_in_label=Perbesar +zoom.title=Perbesaran +presentation_mode.title=Ganti ke Mode Presentasi +presentation_mode_label=Mode Presentasi +open_file.title=Buka Berkas +open_file_label=Buka +print.title=Cetak +print_label=Cetak +download.title=Unduh +download_label=Unduh +save.title=Simpan +save_label=Simpan +bookmark.title=Tampilan Sekarang (salin atau buka di jendela baru) +bookmark_label=Tampilan Sekarang + +bookmark1.title=Laman Saat Ini (Lihat URL dari Laman Sekarang) +bookmark1_label=Laman Saat Ini + +# Secondary toolbar and context menu +tools.title=Alat +tools_label=Alat +first_page.title=Buka Halaman Pertama +first_page_label=Buka Halaman Pertama +last_page.title=Buka Halaman Terakhir +last_page_label=Buka Halaman Terakhir +page_rotate_cw.title=Putar Searah Jarum Jam +page_rotate_cw_label=Putar Searah Jarum Jam +page_rotate_ccw.title=Putar Berlawanan Arah Jarum Jam +page_rotate_ccw_label=Putar Berlawanan Arah Jarum Jam + +cursor_text_select_tool.title=Aktifkan Alat Seleksi Teks +cursor_text_select_tool_label=Alat Seleksi Teks +cursor_hand_tool.title=Aktifkan Alat Tangan +cursor_hand_tool_label=Alat Tangan + +scroll_page.title=Gunakan Pengguliran Laman +scroll_page_label=Pengguliran Laman +scroll_vertical.title=Gunakan Penggeseran Vertikal +scroll_vertical_label=Penggeseran Vertikal +scroll_horizontal.title=Gunakan Penggeseran Horizontal +scroll_horizontal_label=Penggeseran Horizontal +scroll_wrapped.title=Gunakan Penggeseran Terapit +scroll_wrapped_label=Penggeseran Terapit + +spread_none.title=Jangan gabungkan lembar halaman +spread_none_label=Tidak Ada Lembaran +spread_odd.title=Gabungkan lembar lamanan mulai dengan halaman ganjil +spread_odd_label=Lembaran Ganjil +spread_even.title=Gabungkan lembar halaman dimulai dengan halaman genap +spread_even_label=Lembaran Genap + +# Document properties dialog box +document_properties.title=Properti Dokumen… +document_properties_label=Properti Dokumen… +document_properties_file_name=Nama berkas: +document_properties_file_size=Ukuran berkas: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Judul: +document_properties_author=Penyusun: +document_properties_subject=Subjek: +document_properties_keywords=Kata Kunci: +document_properties_creation_date=Tanggal Dibuat: +document_properties_modification_date=Tanggal Dimodifikasi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Pembuat: +document_properties_producer=Pemroduksi PDF: +document_properties_version=Versi PDF: +document_properties_page_count=Jumlah Halaman: +document_properties_page_size=Ukuran Laman: +document_properties_page_size_unit_inches=inci +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=tegak +document_properties_page_size_orientation_landscape=mendatar +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Tampilan Web Kilat: +document_properties_linearized_yes=Ya +document_properties_linearized_no=Tidak +document_properties_close=Tutup + +print_progress_message=Menyiapkan dokumen untuk pencetakan… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Batalkan + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Aktif/Nonaktifkan Bilah Samping +toggle_sidebar_notification2.title=Aktif/Nonaktifkan Bilah Samping (dokumen berisi kerangka/lampiran/lapisan) +toggle_sidebar_label=Aktif/Nonaktifkan Bilah Samping +document_outline.title=Tampilkan Kerangka Dokumen (klik ganda untuk membentangkan/menciutkan semua item) +document_outline_label=Kerangka Dokumen +attachments.title=Tampilkan Lampiran +attachments_label=Lampiran +layers.title=Tampilkan Lapisan (klik ganda untuk mengatur ulang semua lapisan ke keadaan baku) +layers_label=Lapisan +thumbs.title=Tampilkan Miniatur +thumbs_label=Miniatur +current_outline_item.title=Cari Butir Ikhtisar Saat Ini +current_outline_item_label=Butir Ikhtisar Saat Ini +findbar.title=Temukan di Dokumen +findbar_label=Temukan + +additional_layers=Lapisan Tambahan +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Halaman {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Laman {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatur Laman {{page}} + +# Find panel button title and messages +find_input.title=Temukan +find_input.placeholder=Temukan di dokumen… +find_previous.title=Temukan kata sebelumnya +find_previous_label=Sebelumnya +find_next.title=Temukan lebih lanjut +find_next_label=Selanjutnya +find_highlight=Sorot semuanya +find_match_case_label=Cocokkan BESAR/kecil +find_match_diacritics_label=Pencocokan Diakritik +find_entire_word_label=Seluruh teks +find_reached_top=Sampai di awal dokumen, dilanjutkan dari bawah +find_reached_bottom=Sampai di akhir dokumen, dilanjutkan dari atas +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} dari {{total}} hasil +find_match_count[two]={{current}} dari {{total}} hasil +find_match_count[few]={{current}} dari {{total}} hasil +find_match_count[many]={{current}} dari {{total}} hasil +find_match_count[other]={{current}} dari {{total}} hasil +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Ditemukan lebih dari {{limit}} +find_match_count_limit[one]=Ditemukan lebih dari {{limit}} +find_match_count_limit[two]=Ditemukan lebih dari {{limit}} +find_match_count_limit[few]=Ditemukan lebih dari {{limit}} +find_match_count_limit[many]=Ditemukan lebih dari {{limit}} +find_match_count_limit[other]=Ditemukan lebih dari {{limit}} +find_not_found=Frasa tidak ditemukan + +# Error panel labels +error_more_info=Lebih Banyak Informasi +error_less_info=Lebih Sedikit Informasi +error_close=Tutup +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Pesan: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Berkas: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Baris: {{line}} + +# Predefined zoom values +page_scale_width=Lebar Laman +page_scale_fit=Muat Laman +page_scale_auto=Perbesaran Otomatis +page_scale_actual=Ukuran Asli +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Memuat… +loading_error=Galat terjadi saat memuat PDF. +invalid_file_error=Berkas PDF tidak valid atau rusak. +missing_file_error=Berkas PDF tidak ada. +unexpected_response_error=Balasan server yang tidak diharapkan. + +rendering_error=Galat terjadi saat merender laman. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotasi {{type}}] +password_label=Masukkan sandi untuk membuka berkas PDF ini. +password_invalid=Sandi tidak valid. Silakan coba lagi. +password_ok=Oke +password_cancel=Batal + +printing_not_supported=Peringatan: Pencetakan tidak didukung secara lengkap pada peramban ini. +printing_not_ready=Peringatan: Berkas PDF masih belum dimuat secara lengkap untuk dapat dicetak. +web_fonts_disabled=Font web dinonaktifkan: tidak dapat menggunakan font PDF yang tersemat. + +# Editor +editor_free_text2.title=Teks +editor_free_text2_label=Teks +editor_ink2.title=Gambar +editor_ink2_label=Gambar + +free_text2_default_content=Mulai mengetik… + +# Editor Parameters +editor_free_text_color=Warna +editor_free_text_size=Ukuran +editor_ink_color=Warna +editor_ink_thickness=Ketebalan +editor_ink_opacity=Opasitas + +# Editor aria +editor_free_text2_aria_label=Editor Teks +editor_ink2_aria_label=Editor Gambar +editor_ink_canvas_aria_label=Gambar yang dibuat pengguna diff --git a/media/js/pdf/web/locale/is/viewer.properties b/media/js/pdf/web/locale/is/viewer.properties new file mode 100644 index 0000000000..e897ed4090 --- /dev/null +++ b/media/js/pdf/web/locale/is/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Fyrri síða +previous_label=Fyrri +next.title=Næsta síða +next_label=Næsti + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Síða +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=af {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} af {{pagesCount}}) + +zoom_out.title=Minnka aðdrátt +zoom_out_label=Minnka aðdrátt +zoom_in.title=Auka aðdrátt +zoom_in_label=Auka aðdrátt +zoom.title=Aðdráttur +presentation_mode.title=Skipta yfir á kynningarham +presentation_mode_label=Kynningarhamur +open_file.title=Opna skrá +open_file_label=Opna +print.title=Prenta +print_label=Prenta +download.title=Hala niður +download_label=Hala niður +bookmark.title=Núverandi sýn (afritaðu eða opnaðu í nýjum glugga) +bookmark_label=Núverandi sýn + +save.title=Vista +save_label=Vista +bookmark1.title=Núverandi síða (Skoða vefslóð frá núverandi síðu) +bookmark1_label=Núverandi síða + +open_in_app.title=Opna í smáforriti +open_in_app_label=Opna í smáforriti + +# Secondary toolbar and context menu +tools.title=Verkfæri +tools_label=Verkfæri +first_page.title=Fara á fyrstu síðu +first_page_label=Fara á fyrstu síðu +last_page.title=Fara á síðustu síðu +last_page_label=Fara á síðustu síðu +page_rotate_cw.title=Snúa réttsælis +page_rotate_cw_label=Snúa réttsælis +page_rotate_ccw.title=Snúa rangsælis +page_rotate_ccw_label=Snúa rangsælis + +cursor_text_select_tool.title=Virkja textavalsáhald +cursor_text_select_tool_label=Textavalsáhald +cursor_hand_tool.title=Virkja handarverkfæri +cursor_hand_tool_label=Handarverkfæri + +scroll_page.title=Nota síðuskrun +scroll_page_label=Síðuskrun +scroll_vertical.title=Nota lóðrétt skrun +scroll_vertical_label=Lóðrétt skrun +scroll_horizontal.title=Nota lárétt skrun +scroll_horizontal_label=Lárétt skrun +scroll_wrapped.title=Nota línuskipt síðuskrun +scroll_wrapped_label=Línuskipt síðuskrun + +spread_none.title=Ekki taka þátt í dreifingu síðna +spread_none_label=Engin dreifing +spread_odd.title=Taka þátt í dreifingu síðna með oddatölum +spread_odd_label=Oddatöludreifing +spread_even.title=Taktu þátt í dreifingu síðna með jöfnuntölum +spread_even_label=Jafnatöludreifing + +# Document properties dialog box +document_properties.title=Eiginleikar skjals… +document_properties_label=Eiginleikar skjals… +document_properties_file_name=Skráarnafn: +document_properties_file_size=Skrárstærð: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titill: +document_properties_author=Hönnuður: +document_properties_subject=Efni: +document_properties_keywords=Stikkorð: +document_properties_creation_date=Búið til: +document_properties_modification_date=Dags breytingar: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Höfundur: +document_properties_producer=PDF framleiðandi: +document_properties_version=PDF útgáfa: +document_properties_page_count=Blaðsíðufjöldi: +document_properties_page_size=Stærð síðu: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=skammsnið +document_properties_page_size_orientation_landscape=langsnið +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fljótleg vefskoðun: +document_properties_linearized_yes=Já +document_properties_linearized_no=Nei +document_properties_close=Loka + +print_progress_message=Undirbý skjal fyrir prentun… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Hætta við + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Víxla hliðarspjaldi af/á +toggle_sidebar_notification2.title=Víxla hliðarslá (skjal inniheldur yfirlit/viðhengi/lög) +toggle_sidebar_label=Víxla hliðarspjaldi af/á +document_outline.title=Sýna yfirlit skjals (tvísmelltu til að opna/loka öllum hlutum) +document_outline_label=Efnisskipan skjals +attachments.title=Sýna viðhengi +attachments_label=Viðhengi +layers.title=Birta lög (tvísmelltu til að endurstilla öll lög í sjálfgefna stöðu) +layers_label=Lög +thumbs.title=Sýna smámyndir +thumbs_label=Smámyndir +current_outline_item.title=Finna núverandi atriði efnisskipunar +current_outline_item_label=Núverandi atriði efnisskipunar +findbar.title=Leita í skjali +findbar_label=Leita + +additional_layers=Viðbótarlög +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Síða {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Síða {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Smámynd af síðu {{page}} + +# Find panel button title and messages +find_input.title=Leita +find_input.placeholder=Leita í skjali… +find_previous.title=Leita að fyrra tilfelli þessara orða +find_previous_label=Fyrri +find_next.title=Leita að næsta tilfelli þessara orða +find_next_label=Næsti +find_highlight=Lita allt +find_match_case_label=Passa við stafstöðu +find_match_diacritics_label=Passa við broddstafi +find_entire_word_label=Heil orð +find_reached_top=Náði efst í skjal, held áfram neðst +find_reached_bottom=Náði enda skjals, held áfram efst +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} af {{total}} niðurstöðu +find_match_count[two]={{current}} af {{total}} niðurstöðum +find_match_count[few]={{current}} af {{total}} niðurstöðum +find_match_count[many]={{current}} af {{total}} niðurstöðum +find_match_count[other]={{current}} af {{total}} niðurstöðum +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Fleiri en {{limit}} niðurstöður +find_match_count_limit[one]=Fleiri en {{limit}} niðurstaða +find_match_count_limit[two]=Fleiri en {{limit}} niðurstöður +find_match_count_limit[few]=Fleiri en {{limit}} niðurstöður +find_match_count_limit[many]=Fleiri en {{limit}} niðurstöður +find_match_count_limit[other]=Fleiri en {{limit}} niðurstöður +find_not_found=Fann ekki orðið + +# Error panel labels +error_more_info=Meiri upplýsingar +error_less_info=Minni upplýsingar +error_close=Loka +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Skilaboð: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stafli: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Skrá: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lína: {{line}} + +# Predefined zoom values +page_scale_width=Síðubreidd +page_scale_fit=Passa á síðu +page_scale_auto=Sjálfvirkur aðdráttur +page_scale_actual=Raunstærð +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Hleður… + +# Loading indicator messages +loading_error=Villa kom upp við að hlaða inn PDF. +invalid_file_error=Ógild eða skemmd PDF skrá. +missing_file_error=Vantar PDF skrá. +unexpected_response_error=Óvænt svar frá netþjóni. + +rendering_error=Upp kom villa við að birta síðuna. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Skýring] +password_label=Sláðu inn lykilorð til að opna þessa PDF skrá. +password_invalid=Ógilt lykilorð. Reyndu aftur. +password_ok=Í lagi +password_cancel=Hætta við + +printing_not_supported=Aðvörun: Prentun er ekki með fyllilegan stuðning á þessum vafra. +printing_not_ready=Aðvörun: Ekki er búið að hlaða inn allri PDF skránni fyrir prentun. +web_fonts_disabled=Vef leturgerðir eru óvirkar: get ekki notað innbyggðar PDF leturgerðir. + +# Editor +editor_free_text2.title=Texti +editor_free_text2_label=Texti +editor_ink2.title=Teikna +editor_ink2_label=Teikna + +free_text2_default_content=Byrjaðu að skrifa… + +# Editor Parameters +editor_free_text_color=Litur +editor_free_text_size=Stærð +editor_ink_color=Litur +editor_ink_thickness=Þykkt +editor_ink_opacity=Ógegnsæi + +# Editor aria +editor_free_text2_aria_label=Textaritill +editor_ink2_aria_label=Teikniritill +editor_ink_canvas_aria_label=Mynd gerð af notanda diff --git a/media/js/pdf/web/locale/it/viewer.properties b/media/js/pdf/web/locale/it/viewer.properties new file mode 100644 index 0000000000..9cb1c2953a --- /dev/null +++ b/media/js/pdf/web/locale/it/viewer.properties @@ -0,0 +1,222 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +previous.title = Pagina precedente +previous_label = Precedente +next.title = Pagina successiva +next_label = Successiva + +page.title = Pagina +of_pages = di {{pagesCount}} +page_of_pages = ({{pageNumber}} di {{pagesCount}}) + +zoom_out.title = Riduci zoom +zoom_out_label = Riduci zoom +zoom_in.title = Aumenta zoom +zoom_in_label = Aumenta zoom +zoom.title = Zoom +presentation_mode.title = Passa alla modalità presentazione +presentation_mode_label = Modalità presentazione +open_file.title = Apri file +open_file_label = Apri +print.title = Stampa +print_label = Stampa +download.title = Scarica questo documento +download_label = Download +bookmark.title = Visualizzazione corrente (copia o apri in una nuova finestra) +bookmark_label = Visualizzazione corrente + +save.title = Salva +save_label = Salva +bookmark1.title = Pagina corrente (mostra URL della pagina corrente) +bookmark1_label = Pagina corrente +open_in_app.title = Apri in app +open_in_app_label = Apri in app + +tools.title = Strumenti +tools_label = Strumenti +first_page.title = Vai alla prima pagina +first_page_label = Vai alla prima pagina +last_page.title = Vai all’ultima pagina +last_page_label = Vai all’ultima pagina +page_rotate_cw.title = Ruota in senso orario +page_rotate_cw_label = Ruota in senso orario +page_rotate_ccw.title = Ruota in senso antiorario +page_rotate_ccw_label = Ruota in senso antiorario + +cursor_text_select_tool.title = Attiva strumento di selezione testo +cursor_text_select_tool_label = Strumento di selezione testo +cursor_hand_tool.title = Attiva strumento mano +cursor_hand_tool_label = Strumento mano + +scroll_page.title = Utilizza scorrimento pagine +scroll_page_label = Scorrimento pagine +scroll_vertical.title = Scorri le pagine in verticale +scroll_vertical_label = Scorrimento verticale +scroll_horizontal.title = Scorri le pagine in orizzontale +scroll_horizontal_label = Scorrimento orizzontale +scroll_wrapped.title = Scorri le pagine in verticale, disponendole da sinistra a destra e andando a capo automaticamente +scroll_wrapped_label = Scorrimento con a capo automatico + +spread_none.title = Non raggruppare pagine +spread_none_label = Nessun raggruppamento +spread_odd.title = Crea gruppi di pagine che iniziano con numeri di pagina dispari +spread_odd_label = Raggruppamento dispari +spread_even.title = Crea gruppi di pagine che iniziano con numeri di pagina pari +spread_even_label = Raggruppamento pari + +document_properties.title = Proprietà del documento… +document_properties_label = Proprietà del documento… +document_properties_file_name = Nome file: +document_properties_file_size = Dimensione file: +document_properties_kb = {{size_kb}} kB ({{size_b}} byte) +document_properties_mb = {{size_mb}} MB ({{size_b}} byte) +document_properties_title = Titolo: +document_properties_author = Autore: +document_properties_subject = Oggetto: +document_properties_keywords = Parole chiave: +document_properties_creation_date = Data creazione: +document_properties_modification_date = Data modifica: +document_properties_date_string = {{date}}, {{time}} +document_properties_creator = Autore originale: +document_properties_producer = Produttore PDF: +document_properties_version = Versione PDF: +document_properties_page_count = Conteggio pagine: +document_properties_page_size = Dimensioni pagina: +document_properties_page_size_unit_inches = in +document_properties_page_size_unit_millimeters = mm +document_properties_page_size_orientation_portrait = verticale +document_properties_page_size_orientation_landscape = orizzontale +document_properties_page_size_name_a3 = A3 +document_properties_page_size_name_a4 = A4 +document_properties_page_size_name_letter = Lettera +document_properties_page_size_name_legal = Legale +document_properties_page_size_dimension_string = {{width}} × {{height}} {{unit}} ({{orientation}}) +document_properties_page_size_dimension_name_string = {{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +document_properties_linearized = Visualizzazione web veloce: +document_properties_linearized_yes = Sì +document_properties_linearized_no = No +document_properties_close = Chiudi + +print_progress_message = Preparazione documento per la stampa… +print_progress_percent = {{progress}}% +print_progress_close = Annulla + +toggle_sidebar.title = Attiva/disattiva barra laterale +toggle_sidebar_notification2.title = Attiva/disattiva barra laterale (il documento contiene struttura/allegati/livelli) +toggle_sidebar_label = Attiva/disattiva barra laterale +document_outline.title = Visualizza la struttura del documento (doppio clic per visualizzare/comprimere tutti gli elementi) +document_outline_label = Struttura documento +attachments.title = Visualizza allegati +attachments_label = Allegati +layers.title = Visualizza livelli (doppio clic per ripristinare tutti i livelli allo stato predefinito) +layers_label = Livelli +thumbs.title = Mostra le miniature +thumbs_label = Miniature +current_outline_item.title = Trova elemento struttura corrente +current_outline_item_label = Elemento struttura corrente +findbar.title = Trova nel documento +findbar_label = Trova + +additional_layers = Livelli aggiuntivi +page_landmark = Pagina {{page}} +thumb_page_title = Pagina {{page}} +thumb_page_canvas = Miniatura della pagina {{page}} + +find_input.title = Trova +find_input.placeholder = Trova nel documento… +find_previous.title = Trova l’occorrenza precedente del testo da cercare +find_previous_label = Precedente +find_next.title = Trova l’occorrenza successiva del testo da cercare +find_next_label = Successivo +find_highlight = Evidenzia +find_match_case_label = Maiuscole/minuscole +find_match_diacritics_label = Segni diacritici +find_entire_word_label = Parole intere +find_reached_top = Raggiunto l’inizio della pagina, continua dalla fine +find_reached_bottom = Raggiunta la fine della pagina, continua dall’inizio +find_match_count = {[ plural(total) ]} +find_match_count[one] = {{current}} di {{total}} corrispondenza +find_match_count[two] = {{current}} di {{total}} corrispondenze +find_match_count[few] = {{current}} di {{total}} corrispondenze +find_match_count[many] = {{current}} di {{total}} corrispondenze +find_match_count[other] = {{current}} di {{total}} corrispondenze +find_match_count_limit = {[ plural(limit) ]} +find_match_count_limit[zero] = Più di {{limit}} corrispondenze +find_match_count_limit[one] = Più di {{limit}} corrispondenza +find_match_count_limit[two] = Più di {{limit}} corrispondenze +find_match_count_limit[few] = Più di {{limit}} corrispondenze +find_match_count_limit[many] = Più di {{limit}} corrispondenze +find_match_count_limit[other] = Più di {{limit}} corrispondenze +find_not_found = Testo non trovato + +error_more_info = Ulteriori informazioni +error_less_info = Nascondi dettagli +error_close = Chiudi +error_version_info = PDF.js v{{version}} (build: {{build}}) +error_message = Messaggio: {{message}} +error_stack = Stack: {{stack}} +error_file = File: {{file}} +error_line = Riga: {{line}} + +page_scale_width = Larghezza pagina +page_scale_fit = Adatta a una pagina +page_scale_auto = Zoom automatico +page_scale_actual = Dimensioni effettive +page_scale_percent = {{scale}}% + +loading = Caricamento in corso… + +loading_error = Si è verificato un errore durante il caricamento del PDF. +invalid_file_error = File PDF non valido o danneggiato. +missing_file_error = File PDF non disponibile. +unexpected_response_error = Risposta imprevista del server + +rendering_error = Si è verificato un errore durante il rendering della pagina. + +annotation_date_string = {{date}}, {{time}} + +text_annotation_type.alt = [Annotazione: {{type}}] +password_label = Inserire la password per aprire questo file PDF. +password_invalid = Password non corretta. Riprovare. +password_ok = OK +password_cancel = Annulla + +printing_not_supported = Attenzione: la stampa non è completamente supportata da questo browser. +printing_not_ready = Attenzione: il PDF non è ancora stato caricato completamente per la stampa. +web_fonts_disabled = I web font risultano disattivati: impossibile utilizzare i caratteri incorporati nel PDF. + +# Editor +editor_free_text2.title = Testo +editor_free_text2_label = Testo +editor_ink2.title = Disegno +editor_ink2_label = Disegno + +free_text2_default_content = Inizia a digitare… + +# Editor Parameters +editor_free_text_color = Colore +editor_free_text_size = Dimensione +editor_ink_color = Colore +editor_ink_thickness = Spessore +editor_ink_opacity = Opacità + +# Editor aria +editor_free_text2_aria_label = Editor di testo +editor_ink2_aria_label = Editor disegni +editor_ink_canvas_aria_label = Immagine creata dall’utente diff --git a/media/js/pdf/web/locale/ja/viewer.properties b/media/js/pdf/web/locale/ja/viewer.properties new file mode 100644 index 0000000000..0d68559d81 --- /dev/null +++ b/media/js/pdf/web/locale/ja/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=前のページへ戻ります +previous_label=前へ +next.title=次のページへ進みます +next_label=次へ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ページ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=表示を縮小します +zoom_out_label=縮小 +zoom_in.title=表示を拡大します +zoom_in_label=拡大 +zoom.title=拡大/縮小 +presentation_mode.title=プレゼンテーションモードに切り替えます +presentation_mode_label=プレゼンテーションモード +open_file.title=ファイルを開きます +open_file_label=開く +print.title=印刷します +print_label=印刷 +download.title=ダウンロードします +download_label=ダウンロード +bookmark.title=現在のビューの URL です (コピーまたは新しいウィンドウに開く) +bookmark_label=現在のビュー + +save.title=保存します +save_label=保存 +bookmark1.title=現在のページの URL です (現在のページを表示する URL) +bookmark1_label=現在のページ + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=アプリで開く +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=アプリで開く + +# Secondary toolbar and context menu +tools.title=ツール +tools_label=ツール +first_page.title=最初のページへ移動します +first_page_label=最初のページへ移動 +last_page.title=最後のページへ移動します +last_page_label=最後のページへ移動 +page_rotate_cw.title=ページを右へ回転します +page_rotate_cw_label=右回転 +page_rotate_ccw.title=ページを左へ回転します +page_rotate_ccw_label=左回転 + +cursor_text_select_tool.title=テキスト選択ツールを有効にします +cursor_text_select_tool_label=テキスト選択ツール +cursor_hand_tool.title=手のひらツールを有効にします +cursor_hand_tool_label=手のひらツール + +scroll_page.title=ページ単位でスクロールします +scroll_page_label=ページ単位でスクロール +scroll_vertical.title=縦スクロールにします +scroll_vertical_label=縦スクロール +scroll_horizontal.title=横スクロールにします +scroll_horizontal_label=横スクロール +scroll_wrapped.title=折り返しスクロールにします +scroll_wrapped_label=折り返しスクロール + +spread_none.title=見開きにしません +spread_none_label=見開きにしない +spread_odd.title=奇数ページ開始で見開きにします +spread_odd_label=奇数ページ見開き +spread_even.title=偶数ページ開始で見開きにします +spread_even_label=偶数ページ見開き + +# Document properties dialog box +document_properties.title=文書のプロパティ... +document_properties_label=文書のプロパティ... +document_properties_file_name=ファイル名: +document_properties_file_size=ファイルサイズ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} バイト) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} バイト) +document_properties_title=タイトル: +document_properties_author=作成者: +document_properties_subject=件名: +document_properties_keywords=キーワード: +document_properties_creation_date=作成日: +document_properties_modification_date=更新日: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=アプリケーション: +document_properties_producer=PDF 作成: +document_properties_version=PDF のバージョン: +document_properties_page_count=ページ数: +document_properties_page_size=ページサイズ: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=縦 +document_properties_page_size_orientation_landscape=横 +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=レター +document_properties_page_size_name_legal=リーガル +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=ウェブ表示用に最適化: +document_properties_linearized_yes=はい +document_properties_linearized_no=いいえ +document_properties_close=閉じる + +print_progress_message=文書の印刷を準備しています... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=キャンセル + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=サイドバー表示を切り替えます +toggle_sidebar_notification2.title=サイドバー表示を切り替えます (文書に含まれるアウトライン / 添付 / レイヤー) +toggle_sidebar_label=サイドバーの切り替え +document_outline.title=文書の目次を表示します (ダブルクリックで項目を開閉します) +document_outline_label=文書の目次 +attachments.title=添付ファイルを表示します +attachments_label=添付ファイル +layers.title=レイヤーを表示します (ダブルクリックですべてのレイヤーが初期状態に戻ります) +layers_label=レイヤー +thumbs.title=縮小版を表示します +thumbs_label=縮小版 +current_outline_item.title=現在のアウトライン項目を検索 +current_outline_item_label=現在のアウトライン項目 +findbar.title=文書内を検索します +findbar_label=検索 + +additional_layers=追加レイヤー +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}} ページ +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} ページ +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} ページの縮小版 + +# Find panel button title and messages +find_input.title=検索 +find_input.placeholder=文書内を検索... +find_previous.title=現在より前の位置で指定文字列が現れる部分を検索します +find_previous_label=前へ +find_next.title=現在より後の位置で指定文字列が現れる部分を検索します +find_next_label=次へ +find_highlight=すべて強調表示 +find_match_case_label=大文字/小文字を区別 +find_match_diacritics_label=発音区別符号を区別 +find_entire_word_label=単語一致 +find_reached_top=文書先頭に到達したので末尾から続けて検索します +find_reached_bottom=文書末尾に到達したので先頭から続けて検索します +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} 件中 {{current}} 件目 +find_match_count[two]={{total}} 件中 {{current}} 件目 +find_match_count[few]={{total}} 件中 {{current}} 件目 +find_match_count[many]={{total}} 件中 {{current}} 件目 +find_match_count[other]={{total}} 件中 {{current}} 件目 +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} 件以上一致 +find_match_count_limit[one]={{limit}} 件以上一致 +find_match_count_limit[two]={{limit}} 件以上一致 +find_match_count_limit[few]={{limit}} 件以上一致 +find_match_count_limit[many]={{limit}} 件以上一致 +find_match_count_limit[other]={{limit}} 件以上一致 +find_not_found=見つかりませんでした + +# Error panel labels +error_more_info=詳細情報 +error_less_info=詳細情報を隠す +error_close=閉じる +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (ビルド: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=メッセージ: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=スタック: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ファイル: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=行: {{line}} + +# Predefined zoom values +page_scale_width=幅に合わせる +page_scale_fit=ページのサイズに合わせる +page_scale_auto=自動ズーム +page_scale_actual=実際のサイズ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=読み込み中... + +# Loading indicator messages +loading_error=PDF の読み込み中にエラーが発生しました。 +invalid_file_error=無効または破損した PDF ファイル。 +missing_file_error=PDF ファイルが見つかりません。 +unexpected_response_error=サーバーから予期せぬ応答がありました。 + +rendering_error=ページのレンダリング中にエラーが発生しました。 + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} 注釈] +password_label=この PDF ファイルを開くためのパスワードを入力してください。 +password_invalid=無効なパスワードです。もう一度やり直してください。 +password_ok=OK +password_cancel=キャンセル + +printing_not_supported=警告: このブラウザーでは印刷が完全にサポートされていません。 +printing_not_ready=警告: PDF を印刷するための読み込みが終了していません。 +web_fonts_disabled=ウェブフォントが無効になっています: 埋め込まれた PDF のフォントを使用できません。 + +# Editor +editor_free_text2.title=フリーテキスト注釈 +editor_free_text2_label=フリーテキスト注釈 +editor_ink2.title=インク注釈 +editor_ink2_label=インク注釈 + +free_text2_default_content=テキストを入力してください... + +# Editor Parameters +editor_free_text_color=色 +editor_free_text_size=サイズ +editor_ink_color=色 +editor_ink_thickness=太さ +editor_ink_opacity=不透明度 + +# Editor aria +editor_free_text2_aria_label=フリーテキスト注釈エディター +editor_ink2_aria_label=インク注釈エディター +editor_ink_canvas_aria_label=ユーザー作成画像 diff --git a/media/js/pdf/web/locale/ka/viewer.properties b/media/js/pdf/web/locale/ka/viewer.properties new file mode 100644 index 0000000000..67b16874d6 --- /dev/null +++ b/media/js/pdf/web/locale/ka/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=წინა გვერდი +previous_label=წინა +next.title=შემდეგი გვერდი +next_label=შემდეგი + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=გვერდი +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}}-დან +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} {{pagesCount}}-დან) + +zoom_out.title=ზომის შემცირება +zoom_out_label=დაშორება +zoom_in.title=ზომის გაზრდა +zoom_in_label=მოახლოება +zoom.title=ზომა +presentation_mode.title=ჩვენების რეჟიმზე გადართვა +presentation_mode_label=ჩვენების რეჟიმი +open_file.title=ფაილის გახსნა +open_file_label=გახსნა +print.title=ამობეჭდვა +print_label=ამობეჭდვა +download.title=ჩამოტვირთვა +download_label=ჩამოტვირთვა +bookmark.title=მიმდინარე ხედი (ასლის აღება ან გახსნა ახალ ფანჯარაში) +bookmark_label=მიმდინარე ხედი + +save.title=შენახვა +save_label=შენახვა +bookmark1.title=მიმდინარე გვერდი (ბმული ამ გვერდისთვის) +bookmark1_label=მიმდინარე გვერდი + +open_in_app.title=გახსნა პროგრამით +open_in_app_label=გახსნა პროგრამით + +# Secondary toolbar and context menu +tools.title=ხელსაწყოები +tools_label=ხელსაწყოები +first_page.title=პირველ გვერდზე გადასვლა +first_page_label=პირველ გვერდზე გადასვლა +last_page.title=ბოლო გვერდზე გადასვლა +last_page_label=ბოლო გვერდზე გადასვლა +page_rotate_cw.title=საათის ისრის მიმართულებით შებრუნება +page_rotate_cw_label=მარჯვნივ გადაბრუნება +page_rotate_ccw.title=საათის ისრის საპირისპიროდ შებრუნება +page_rotate_ccw_label=მარცხნივ გადაბრუნება + +cursor_text_select_tool.title=მოსანიშნი მაჩვენებლის გამოყენება +cursor_text_select_tool_label=მოსანიშნი მაჩვენებელი +cursor_hand_tool.title=გადასაადგილებელი მაჩვენებლის გამოყენება +cursor_hand_tool_label=გადასაადგილებელი + +scroll_page.title=გვერდზე გადაადგილების გამოყენება +scroll_page_label=გვერდზე გადაადგილება +scroll_vertical.title=გვერდების შვეულად ჩვენება +scroll_vertical_label=შვეული გადაადგილება +scroll_horizontal.title=გვერდების თარაზულად ჩვენება +scroll_horizontal_label=განივი გადაადგილება +scroll_wrapped.title=გვერდების ცხრილურად ჩვენება +scroll_wrapped_label=ცხრილური გადაადგილება + +spread_none.title=ორ გვერდზე გაშლის გარეშე +spread_none_label=ცალგვერდიანი ჩვენება +spread_odd.title=ორ გვერდზე გაშლა, კენტი გვერდიდან დაწყებული +spread_odd_label=ორ გვერდზე კენტიდან +spread_even.title=ორ გვერდზე გაშლა, ლუწი გვერდიდან დაწყებული +spread_even_label=ორ გვერდზე ლუწიდან + +# Document properties dialog box +document_properties.title=დოკუმენტის შესახებ… +document_properties_label=დოკუმენტის შესახებ… +document_properties_file_name=ფაილის სახელი: +document_properties_file_size=ფაილის მოცულობა: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} კბ ({{size_b}} ბაიტი) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} მბ ({{size_b}} ბაიტი) +document_properties_title=სათაური: +document_properties_author=შემქმნელი: +document_properties_subject=თემა: +document_properties_keywords=საკვანძო სიტყვები: +document_properties_creation_date=შექმნის დრო: +document_properties_modification_date=ჩასწორების დრო: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=გამომცემი: +document_properties_producer=PDF-შემდგენელი: +document_properties_version=PDF-ვერსია: +document_properties_page_count=გვერდები: +document_properties_page_size=გვერდის ზომა: +document_properties_page_size_unit_inches=დუიმი +document_properties_page_size_unit_millimeters=მმ +document_properties_page_size_orientation_portrait=შვეულად +document_properties_page_size_orientation_landscape=თარაზულად +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=მსუბუქი ვებჩვენება: +document_properties_linearized_yes=დიახ +document_properties_linearized_no=არა +document_properties_close=დახურვა + +print_progress_message=დოკუმენტი მზადდება ამოსაბეჭდად… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=გაუქმება + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=გვერდითა ზოლის გამოჩენა/დამალვა +toggle_sidebar_notification2.title=გვერდითი ზოლის გამოჩენა (შეიცავს სარჩევს/დანართს/ფენებს) +toggle_sidebar_label=გვერდითა ზოლის გამოჩენა/დამალვა +document_outline.title=დოკუმენტის სარჩევის ჩვენება (ორმაგი წკაპით თითოეულის ჩამოშლა/აკეცვა) +document_outline_label=დოკუმენტის სარჩევი +attachments.title=დანართების ჩვენება +attachments_label=დანართები +layers.title=ფენების გამოჩენა (ორმაგი წკაპით ყველა ფენის ნაგულისხმევზე დაბრუნება) +layers_label=ფენები +thumbs.title=შეთვალიერება +thumbs_label=ესკიზები +current_outline_item.title=მიმდინარე გვერდის მონახვა სარჩევში +current_outline_item_label=მიმდინარე გვერდი სარჩევში +findbar.title=პოვნა დოკუმენტში +findbar_label=ძიება + +additional_layers=დამატებითი ფენები +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=გვერდი {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=გვერდი {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=გვერდის შეთვალიერება {{page}} + +# Find panel button title and messages +find_input.title=ძიება +find_input.placeholder=პოვნა დოკუმენტში… +find_previous.title=ფრაზის წინა კონტექსტის პოვნა +find_previous_label=წინა +find_next.title=ფრაზის შემდეგი კონტექსტის პოვნა +find_next_label=შემდეგი +find_highlight=ყველას მონიშვნა +find_match_case_label=მთავრულით +find_match_diacritics_label=ნიშნებით +find_entire_word_label=მთლიანი სიტყვები +find_reached_top=მიღწეულია დოკუმენტის დასაწყისი, გრძელდება ბოლოდან +find_reached_bottom=მიღწეულია დოკუმენტის ბოლო, გრძელდება დასაწყისიდან +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} / {{total}} თანხვედრიდან +find_match_count[two]={{current}} / {{total}} თანხვედრიდან +find_match_count[few]={{current}} / {{total}} თანხვედრიდან +find_match_count[many]={{current}} / {{total}} თანხვედრიდან +find_match_count[other]={{current}} / {{total}} თანხვედრიდან +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=არანაკლებ {{limit}} თანხვედრა +find_match_count_limit[one]=არანაკლებ {{limit}} თანხვედრა +find_match_count_limit[two]=არანაკლებ {{limit}} თანხვედრა +find_match_count_limit[few]=არანაკლებ {{limit}} თანხვედრა +find_match_count_limit[many]=არანაკლებ {{limit}} თანხვედრა +find_match_count_limit[other]=არანაკლებ {{limit}} თანხვედრა +find_not_found=ფრაზა ვერ მოიძებნა + +# Error panel labels +error_more_info=ვრცლად +error_less_info=შემოკლებულად +error_close=დახურვა +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=შეტყობინება: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=სტეკი: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ფაილი: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ხაზი: {{line}} + +# Predefined zoom values +page_scale_width=გვერდის სიგანეზე +page_scale_fit=მთლიანი გვერდი +page_scale_auto=ავტომატური +page_scale_actual=საწყისი ზომა +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=ჩატვირთვა… + +# Loading indicator messages +loading_error=შეცდომა, PDF-ფაილის ჩატვირთვისას. +invalid_file_error=არამართებული ან დაზიანებული PDF-ფაილი. +missing_file_error=ნაკლული PDF-ფაილი. +unexpected_response_error=სერვერის მოულოდნელი პასუხი. + +rendering_error=შეცდომა, გვერდის ჩვენებისას. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} შენიშვნა] +password_label=შეიყვანეთ პაროლი PDF-ფაილის გასახსნელად. +password_invalid=არასწორი პაროლი. გთხოვთ, სცადოთ ხელახლა. +password_ok=კარგი +password_cancel=გაუქმება + +printing_not_supported=გაფრთხილება: ამობეჭდვა ამ ბრაუზერში არაა სრულად მხარდაჭერილი. +printing_not_ready=გაფრთხილება: PDF სრულად ჩატვირთული არაა, ამობეჭდვის დასაწყებად. +web_fonts_disabled=ვებშრიფტები გამორთულია: ჩაშენებული PDF-შრიფტების გამოყენება ვერ ხერხდება. + +# Editor +editor_free_text2.title=წარწერა +editor_free_text2_label=ტექსტი +editor_ink2.title=დახატვა +editor_ink2_label=დახატვა + +free_text2_default_content=აკრიფეთ… + +# Editor Parameters +editor_free_text_color=ფერი +editor_free_text_size=ზომა +editor_ink_color=ფერი +editor_ink_thickness=სისქე +editor_ink_opacity=გაუმჭვირვალობა + +# Editor aria +editor_free_text2_aria_label=ნაწერის ჩასწორება +editor_ink2_aria_label=ნახატის ჩასწორება +editor_ink_canvas_aria_label=მომხმარებლის შექმნილი სურათი diff --git a/media/js/pdf/web/locale/kab/viewer.properties b/media/js/pdf/web/locale/kab/viewer.properties new file mode 100644 index 0000000000..655d3896a0 --- /dev/null +++ b/media/js/pdf/web/locale/kab/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Asebter azewwar +previous_label=Azewwar +next.title=Asebter d-iteddun +next_label=Ddu ɣer zdat + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Asebter +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ɣef {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} n {{pagesCount}}) + +zoom_out.title=Semẓi +zoom_out_label=Semẓi +zoom_in.title=Semɣeṛ +zoom_in_label=Semɣeṛ +zoom.title=Semɣeṛ/Semẓi +presentation_mode.title=Uɣal ɣer Uskar Tihawt +presentation_mode_label=Askar Tihawt +open_file.title=Ldi Afaylu +open_file_label=Ldi +print.title=Siggez +print_label=Siggez +download.title=Sader +download_label=Azdam +bookmark.title=Timeẓri tamirant (nɣel neɣ ldi ɣef usfaylu amaynut) +bookmark_label=Askan amiran + +save.title=Sekles +save_label=Sekles +bookmark1.title=Asebter amiran (Sken-d tansa URL seg usebter amiran) +bookmark1_label=Asebter amiran + +open_in_app.title=Ldi deg usnas +open_in_app_label=Ldi deg usnas + +# Secondary toolbar and context menu +tools.title=Ifecka +tools_label=Ifecka +first_page.title=Ddu ɣer usebter amezwaru +first_page_label=Ddu ɣer usebter amezwaru +last_page.title=Ddu ɣer usebter aneggaru +last_page_label=Ddu ɣer usebter aneggaru +page_rotate_cw.title=Tuzzya tusrigt +page_rotate_cw_label=Tuzzya tusrigt +page_rotate_ccw.title=Tuzzya amgal-usrig +page_rotate_ccw_label=Tuzzya amgal-usrig + +cursor_text_select_tool.title=Rmed afecku n tefrant n uḍris +cursor_text_select_tool_label=Afecku n tefrant n uḍris +cursor_hand_tool.title=Rmed afecku afus +cursor_hand_tool_label=Afecku afus + +scroll_page.title=Seqdec adrurem n usebter +scroll_page_label=Adrurem n usebter +scroll_vertical.title=Seqdec adrurem ubdid +scroll_vertical_label=Adrurem ubdid +scroll_horizontal.title=Seqdec adrurem aglawan +scroll_horizontal_label=Adrurem aglawan +scroll_wrapped.title=Seqdec adrurem yuẓen +scroll_wrapped_label=Adrurem yuẓen + +spread_none.title=Ur sedday ara isiɣzaf n usebter +spread_none_label=Ulac isiɣzaf +spread_odd.title=Seddu isiɣzaf n usebter ibeddun s yisebtar irayuganen +spread_odd_label=Isiɣzaf irayuganen +spread_even.title=Seddu isiɣzaf n usebter ibeddun s yisebtar iyuganen +spread_even_label=Isiɣzaf iyuganen + +# Document properties dialog box +document_properties.title=Taɣaṛa n isemli… +document_properties_label=Taɣaṛa n isemli… +document_properties_file_name=Isem n ufaylu: +document_properties_file_size=Teɣzi n ufaylu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KAṬ ({{size_b}} ibiten) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MAṬ ({{size_b}} iṭamḍanen) +document_properties_title=Azwel: +document_properties_author=Ameskar: +document_properties_subject=Amgay: +document_properties_keywords=Awalen n tsaruţ +document_properties_creation_date=Azemz n tmerna: +document_properties_modification_date=Azemz n usnifel: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Yerna-t: +document_properties_producer=Afecku n uselket PDF: +document_properties_version=Lqem PDF: +document_properties_page_count=Amḍan n yisebtar: +document_properties_page_size=Tuγzi n usebter: +document_properties_page_size_unit_inches=deg +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=s teɣzi +document_properties_page_size_orientation_landscape=s tehri +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Asekkil +document_properties_page_size_name_legal=Usḍif +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Taskant Web taruradt: +document_properties_linearized_yes=Ih +document_properties_linearized_no=Ala +document_properties_close=Mdel + +print_progress_message=Aheggi i usiggez n isemli… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Sefsex + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Sken/Fer agalis adisan +toggle_sidebar_notification2.title=Ffer/Sekn agalis adisan (isemli yegber aɣawas/ticeqqufin yeddan/tissiwin) +toggle_sidebar_label=Sken/Fer agalis adisan +document_outline.title=Sken isemli (Senned snat tikal i wesemɣer/Afneẓ n iferdisen meṛṛa) +document_outline_label=Isɣalen n isebtar +attachments.title=Sken ticeqqufin yeddan +attachments_label=Ticeqqufin yeddan +layers.title=Skeen tissiwin (sit sin yiberdan i uwennez n meṛṛa tissiwin ɣer waddad amezwer) +layers_label=Tissiwin +thumbs.title=Sken tanfult. +thumbs_label=Tinfulin +current_outline_item.title=Af-d aferdis n uɣawas amiran +current_outline_item_label=Aferdis n uɣawas amiran +findbar.title=Nadi deg isemli +findbar_label=Nadi + +additional_layers=Tissiwin-nniḍen +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Asebter {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Asebter {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Tanfult n usebter {{page}} + +# Find panel button title and messages +find_input.title=Nadi +find_input.placeholder=Nadi deg isemli… +find_previous.title=Aff-d tamseḍriwt n twinest n deffir +find_previous_label=Azewwar +find_next.title=Aff-d timseḍriwt n twinest d-iteddun +find_next_label=Ddu ɣer zdat +find_highlight=Err izirig imaṛṛa +find_match_case_label=Qadeṛ amasal n isekkilen +find_match_diacritics_label=Qadeṛ ifeskilen +find_entire_word_label=Awalen iččuranen +find_reached_top=Yabbeḍ s afella n usebter, tuɣalin s wadda +find_reached_bottom=Tebḍeḍ s adda n usebter, tuɣalin s afella +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} seg {{total}} n tmeɣṛuḍin +find_match_count[two]={{current}} seg {{total}} n tmeɣṛuḍin +find_match_count[few]={{current}} seg {{total}} n tmeɣṛuḍin +find_match_count[many]={{current}} seg {{total}} n tmeɣṛuḍin +find_match_count[other]={{current}} seg {{total}} n tmeɣṛuḍin +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Ugar n {{limit}} n tmeɣṛuḍin +find_match_count_limit[one]=Ugar n {{limit}} n tmeɣṛuḍin +find_match_count_limit[two]=Ugar n {{limit}} n tmeɣṛuḍin +find_match_count_limit[few]=Ugar n {{limit}} n tmeɣṛuḍin +find_match_count_limit[many]=Ugar n {{limit}} n tmeɣṛuḍin +find_match_count_limit[other]=Ugar n {{limit}} n tmeɣṛuḍin +find_not_found=Ulac tawinest + +# Error panel labels +error_more_info=Ugar n telɣut +error_less_info=Drus n isalen +error_close=Mdel +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Izen: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Tanebdant: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Afaylu: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Izirig: {{line}} + +# Predefined zoom values +page_scale_width=Tehri n usebter +page_scale_fit=Asebter imaṛṛa +page_scale_auto=Asemɣeṛ/Asemẓi awurman +page_scale_actual=Teɣzi tilawt +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Asali… + +# Loading indicator messages +loading_error=Teḍra-d tuccḍa deg alluy n PDF: +invalid_file_error=Afaylu PDF arameɣtu neɣ yexṣeṛ. +missing_file_error=Ulac afaylu PDF. +unexpected_response_error=Aqeddac yerra-d yir tiririt ur nettwaṛǧi ara. + +rendering_error=Teḍra-d tuccḍa deg uskan n usebter. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Tabzimt {{type}}] +password_label=Sekcem awal uffir akken ad ldiḍ afaylu-yagi PDF +password_invalid=Awal uffir mačči d ameɣtu, Ɛreḍ tikelt-nniḍen. +password_ok=IH +password_cancel=Sefsex + +printing_not_supported=Ɣuṛ-k: Asiggez ur ittusefrak ara yakan imaṛṛa deg iminig-a. +printing_not_ready=Ɣuṛ-k: Afaylu PDF ur d-yuli ara imeṛṛa akken ad ittusiggez. +web_fonts_disabled=Tisefsiyin web ttwassensent; D awezɣi useqdec n tsefsiyin yettwarnan ɣer PDF. + +# Editor +editor_free_text2.title=Aḍris +editor_free_text2_label=Aḍris +editor_ink2.title=Suneɣ +editor_ink2_label=Suneɣ + +free_text2_default_content=Bdu tira... + +# Editor Parameters +editor_free_text_color=Initen +editor_free_text_size=Teɣzi +editor_ink_color=Ini +editor_ink_thickness=Tuzert +editor_ink_opacity=Tebrek + +# Editor aria +editor_free_text2_aria_label=Amaẓrag n uḍris +editor_ink2_aria_label=Amaẓrag n usuneɣ +editor_ink_canvas_aria_label=Tugna yettwarnan sɣur useqdac diff --git a/media/js/pdf/web/locale/kk/viewer.properties b/media/js/pdf/web/locale/kk/viewer.properties new file mode 100644 index 0000000000..94ba0942ef --- /dev/null +++ b/media/js/pdf/web/locale/kk/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Алдыңғы парақ +previous_label=Алдыңғысы +next.title=Келесі парақ +next_label=Келесі + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Парақ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ішінен +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=(парақ {{pageNumber}}, {{pagesCount}} ішінен) + +zoom_out.title=Кішірейту +zoom_out_label=Кішірейту +zoom_in.title=Үлкейту +zoom_in_label=Үлкейту +zoom.title=Масштаб +presentation_mode.title=Презентация режиміне ауысу +presentation_mode_label=Презентация режимі +open_file.title=Файлды ашу +open_file_label=Ашу +print.title=Баспаға шығару +print_label=Баспаға шығару +download.title=Жүктеп алу +download_label=Жүктеп алу +bookmark.title=Ағымдағы көрініс (көшіру не жаңа терезеде ашу) +bookmark_label=Ағымдағы көрініс + +save.title=Сақтау +save_label=Сақтау +bookmark1.title=Ағымдағы бет (Ағымдағы беттен URL адресін көру) +bookmark1_label=Ағымдағы бет + +open_in_app.title=Қолданбада ашу +open_in_app_label=Қолданбада ашу + +# Secondary toolbar and context menu +tools.title=Құралдар +tools_label=Құралдар +first_page.title=Алғашқы параққа өту +first_page_label=Алғашқы параққа өту +last_page.title=Соңғы параққа өту +last_page_label=Соңғы параққа өту +page_rotate_cw.title=Сағат тілі бағытымен айналдыру +page_rotate_cw_label=Сағат тілі бағытымен бұру +page_rotate_ccw.title=Сағат тілі бағытына қарсы бұру +page_rotate_ccw_label=Сағат тілі бағытына қарсы бұру + +cursor_text_select_tool.title=Мәтінді таңдау құралын іске қосу +cursor_text_select_tool_label=Мәтінді таңдау құралы +cursor_hand_tool.title=Қол құралын іске қосу +cursor_hand_tool_label=Қол құралы + +scroll_page.title=Беттерді айналдыруды пайдалану +scroll_page_label=Беттерді айналдыру +scroll_vertical.title=Вертикалды айналдыруды қолдану +scroll_vertical_label=Вертикалды айналдыру +scroll_horizontal.title=Горизонталды айналдыруды қолдану +scroll_horizontal_label=Горизонталды айналдыру +scroll_wrapped.title=Масштабталатын айналдыруды қолдану +scroll_wrapped_label=Масштабталатын айналдыру + +spread_none.title=Жазық беттер режимін қолданбау +spread_none_label=Жазық беттер режимсіз +spread_odd.title=Жазық беттер тақ нөмірлі беттерден басталады +spread_odd_label=Тақ нөмірлі беттер сол жақтан +spread_even.title=Жазық беттер жұп нөмірлі беттерден басталады +spread_even_label=Жұп нөмірлі беттер сол жақтан + +# Document properties dialog box +document_properties.title=Құжат қасиеттері… +document_properties_label=Құжат қасиеттері… +document_properties_file_name=Файл аты: +document_properties_file_size=Файл өлшемі: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} байт) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} байт) +document_properties_title=Тақырыбы: +document_properties_author=Авторы: +document_properties_subject=Тақырыбы: +document_properties_keywords=Кілт сөздер: +document_properties_creation_date=Жасалған күні: +document_properties_modification_date=Түзету күні: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Жасаған: +document_properties_producer=PDF өндірген: +document_properties_version=PDF нұсқасы: +document_properties_page_count=Беттер саны: +document_properties_page_size=Бет өлшемі: +document_properties_page_size_unit_inches=дюйм +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=тік +document_properties_page_size_orientation_landscape=жатық +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Жылдам Web көрінісі: +document_properties_linearized_yes=Иә +document_properties_linearized_no=Жоқ +document_properties_close=Жабу + +print_progress_message=Құжатты баспаға шығару үшін дайындау… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Бас тарту + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Бүйір панелін көрсету/жасыру +toggle_sidebar_notification2.title=Бүйір панелін көрсету/жасыру (құжатта құрылымы/салынымдар/қабаттар бар) +toggle_sidebar_label=Бүйір панелін көрсету/жасыру +document_outline.title=Құжат құрылымын көрсету (барлық нәрселерді жазық қылу/жинау үшін қос шерту керек) +document_outline_label=Құжат құрамасы +attachments.title=Салынымдарды көрсету +attachments_label=Салынымдар +layers.title=Қабаттарды көрсету (барлық қабаттарды бастапқы күйге келтіру үшін екі рет шертіңіз) +layers_label=Қабаттар +thumbs.title=Кіші көріністерді көрсету +thumbs_label=Кіші көріністер +current_outline_item.title=Құрылымның ағымдағы элементін табу +current_outline_item_label=Құрылымның ағымдағы элементі +findbar.title=Құжаттан табу +findbar_label=Табу + +additional_layers=Қосымша қабаттар +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Бет {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} парағы +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} парағы үшін кіші көрінісі + +# Find panel button title and messages +find_input.title=Табу +find_input.placeholder=Құжаттан табу… +find_previous.title=Осы сөздердің мәтіннен алдыңғы кездесуін табу +find_previous_label=Алдыңғысы +find_next.title=Осы сөздердің мәтіннен келесі кездесуін табу +find_next_label=Келесі +find_highlight=Барлығын түспен ерекшелеу +find_match_case_label=Регистрді ескеру +find_match_diacritics_label=Диакритиканы ескеру +find_entire_word_label=Сөздер толығымен +find_reached_top=Құжаттың басына жеттік, соңынан бастап жалғастырамыз +find_reached_bottom=Құжаттың соңына жеттік, басынан бастап жалғастырамыз +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} / {{total}} сәйкестік +find_match_count[two]={{current}} / {{total}} сәйкестік +find_match_count[few]={{current}} / {{total}} сәйкестік +find_match_count[many]={{current}} / {{total}} сәйкестік +find_match_count[other]={{current}} / {{total}} сәйкестік +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} сәйкестіктен көп +find_match_count_limit[one]={{limit}} сәйкестіктен көп +find_match_count_limit[two]={{limit}} сәйкестіктен көп +find_match_count_limit[few]={{limit}} сәйкестіктен көп +find_match_count_limit[many]={{limit}} сәйкестіктен көп +find_match_count_limit[other]={{limit}} сәйкестіктен көп +find_not_found=Сөз(дер) табылмады + +# Error panel labels +error_more_info=Көбірек ақпарат +error_less_info=Азырақ ақпарат +error_close=Жабу +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (жинақ: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Хабарлама: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стек: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Жол: {{line}} + +# Predefined zoom values +page_scale_width=Парақ ені +page_scale_fit=Парақты сыйдыру +page_scale_auto=Автомасштабтау +page_scale_actual=Нақты өлшемі +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Жүктелуде… + +# Loading indicator messages +loading_error=PDF жүктеу кезінде қате кетті. +invalid_file_error=Зақымдалған немесе қате PDF файл. +missing_file_error=PDF файлы жоқ. +unexpected_response_error=Сервердің күтпеген жауабы. + +rendering_error=Парақты өңдеу кезінде қате кетті. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} аңдатпасы] +password_label=Бұл PDF файлын ашу үшін парольді енгізіңіз. +password_invalid=Пароль дұрыс емес. Қайталап көріңіз. +password_ok=ОК +password_cancel=Бас тарту + +printing_not_supported=Ескерту: Баспаға шығаруды бұл браузер толығымен қолдамайды. +printing_not_ready=Ескерту: Баспаға шығару үшін, бұл PDF толығымен жүктеліп алынбады. +web_fonts_disabled=Веб қаріптері сөндірілген: құрамына енгізілген PDF қаріптерін қолдану мүмкін емес. + +# Editor +editor_free_text2.title=Мәтін +editor_free_text2_label=Мәтін +editor_ink2.title=Сурет салу +editor_ink2_label=Сурет салу + +free_text2_default_content=Теруді бастау… + +# Editor Parameters +editor_free_text_color=Түс +editor_free_text_size=Өлшемі +editor_ink_color=Түс +editor_ink_thickness=Қалыңдығы +editor_ink_opacity=Мөлдірсіздігі + +# Editor aria +editor_free_text2_aria_label=Мәтін түзеткіші +editor_ink2_aria_label=Сурет түзеткіші +editor_ink_canvas_aria_label=Пайдаланушы жасаған сурет diff --git a/media/js/pdf/web/locale/km/viewer.properties b/media/js/pdf/web/locale/km/viewer.properties new file mode 100644 index 0000000000..9b5fb738f2 --- /dev/null +++ b/media/js/pdf/web/locale/km/viewer.properties @@ -0,0 +1,210 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=ទំព័រមុន +previous_label=មុន +next.title=ទំព័របន្ទាប់ +next_label=បន្ទាប់ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ទំព័រ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=នៃ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} នៃ {{pagesCount}}) + +zoom_out.title=បង្រួម +zoom_out_label=បង្រួម +zoom_in.title=ពង្រីក +zoom_in_label=ពង្រីក +zoom.title=ពង្រីក +presentation_mode.title=ប្ដូរទៅរបៀបបទបង្ហាញ +presentation_mode_label=របៀបបទបង្ហាញ +open_file.title=បើកឯកសារ +open_file_label=បើក +print.title=បោះពុម្ព +print_label=បោះពុម្ព +download.title=ទាញយក +download_label=ទាញយក +bookmark.title=ទិដ្ឋភាពបច្ចុប្បន្ន (ចម្លង ឬបើកនៅក្នុងបង្អួចថ្មី) +bookmark_label=ទិដ្ឋភាពបច្ចុប្បន្ន + +# Secondary toolbar and context menu +tools.title=ឧបករណ៍ +tools_label=ឧបករណ៍ +first_page.title=ទៅកាន់ទំព័រដំបូង +first_page_label=ទៅកាន់ទំព័រដំបូង +last_page.title=ទៅកាន់ទំព័រចុងក្រោយ +last_page_label=ទៅកាន់ទំព័រចុងក្រោយ +page_rotate_cw.title=បង្វិលស្របទ្រនិចនាឡិកា +page_rotate_cw_label=បង្វិលស្របទ្រនិចនាឡិកា +page_rotate_ccw.title=បង្វិលច្រាសទ្រនិចនាឡិកា +page_rotate_ccw_label=បង្វិលច្រាសទ្រនិចនាឡិកា + +cursor_text_select_tool.title=បើកឧបករណ៍ជ្រើសអត្ថបទ +cursor_text_select_tool_label=ឧបករណ៍ជ្រើសអត្ថបទ +cursor_hand_tool.title=បើកឧបករណ៍ដៃ +cursor_hand_tool_label=ឧបករណ៍ដៃ + + + +# Document properties dialog box +document_properties.title=លក្ខណសម្បត្តិឯកសារ… +document_properties_label=លក្ខណសម្បត្តិឯកសារ… +document_properties_file_name=ឈ្មោះឯកសារ៖ +document_properties_file_size=ទំហំឯកសារ៖ +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} បៃ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} បៃ) +document_properties_title=ចំណងជើង៖ +document_properties_author=អ្នកនិពន្ធ៖ +document_properties_subject=ប្រធានបទ៖ +document_properties_keywords=ពាក្យគន្លឹះ៖ +document_properties_creation_date=កាលបរិច្ឆេទបង្កើត៖ +document_properties_modification_date=កាលបរិច្ឆេទកែប្រែ៖ +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=អ្នកបង្កើត៖ +document_properties_producer=កម្មវិធីបង្កើត PDF ៖ +document_properties_version=កំណែ PDF ៖ +document_properties_page_count=ចំនួនទំព័រ៖ +document_properties_page_size_unit_inches=អ៊ីញ +document_properties_page_size_unit_millimeters=មម +document_properties_page_size_orientation_portrait=បញ្ឈរ +document_properties_page_size_orientation_landscape=ផ្តេក +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=សំបុត្រ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=បាទ/ចាស +document_properties_linearized_no=ទេ +document_properties_close=បិទ + +print_progress_message=កំពុងរៀបចំឯកសារសម្រាប់បោះពុម្ព… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=បោះបង់ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=បិទ/បើកគ្រាប់រំកិល +toggle_sidebar_label=បិទ/បើកគ្រាប់រំកិល +document_outline.title=បង្ហាញគ្រោងឯកសារ (ចុចទ្វេដងដើម្បីពង្រីក/បង្រួមធាតុទាំងអស់) +document_outline_label=គ្រោងឯកសារ +attachments.title=បង្ហាញឯកសារភ្ជាប់ +attachments_label=ឯកសារភ្ជាប់ +thumbs.title=បង្ហាញរូបភាពតូចៗ +thumbs_label=រួបភាពតូចៗ +findbar.title=រកនៅក្នុងឯកសារ +findbar_label=រក + +# LOCALIZATION NOTE (page_canvas): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=ទំព័រ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=រូបភាពតូចរបស់ទំព័រ {{page}} + +# Find panel button title and messages +find_input.title=រក +find_input.placeholder=រកនៅក្នុងឯកសារ... +find_previous.title=រកពាក្យ ឬឃ្លាដែលបានជួបមុន +find_previous_label=មុន +find_next.title=រកពាក្យ ឬឃ្លាដែលបានជួបបន្ទាប់ +find_next_label=បន្ទាប់ +find_highlight=បន្លិចទាំងអស់ +find_match_case_label=ករណីដំណូច +find_reached_top=បានបន្តពីខាងក្រោម ទៅដល់ខាងលើនៃឯកសារ +find_reached_bottom=បានបន្តពីខាងលើ ទៅដល់ចុងនៃឯកសារ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_not_found=រកមិនឃើញពាក្យ ឬឃ្លា + +# Error panel labels +error_more_info=ព័ត៌មានបន្ថែម +error_less_info=ព័ត៌មានតិចតួច +error_close=បិទ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=សារ ៖ {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=ជង់ ៖ {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ឯកសារ ៖ {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ជួរ ៖ {{line}} +rendering_error=មានកំហុសបានកើតឡើងពេលបង្ហាញទំព័រ ។ + +# Predefined zoom values +page_scale_width=ទទឹងទំព័រ +page_scale_fit=សមទំព័រ +page_scale_auto=ពង្រីកស្វ័យប្រវត្តិ +page_scale_actual=ទំហំជាក់ស្ដែង +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=មានកំហុសបានកើតឡើងពេលកំពុងផ្ទុក PDF ។ +invalid_file_error=ឯកសារ PDF ខូច ឬមិនត្រឹមត្រូវ ។ +missing_file_error=បាត់ឯកសារ PDF +unexpected_response_error=ការឆ្លើយតមម៉ាស៊ីនមេដែលមិនបានរំពឹង។ + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ចំណារពន្យល់] +password_label=បញ្ចូលពាក្យសម្ងាត់ដើម្បីបើកឯកសារ PDF នេះ។ +password_invalid=ពាក្យសម្ងាត់មិនត្រឹមត្រូវ។ សូមព្យាយាមម្ដងទៀត។ +password_ok=យល់ព្រម +password_cancel=បោះបង់ + +printing_not_supported=ការព្រមាន ៖ ការបោះពុម្ពមិនត្រូវបានគាំទ្រពេញលេញដោយកម្មវិធីរុករកនេះទេ ។ +printing_not_ready=ព្រមាន៖ PDF មិនត្រូវបានផ្ទុកទាំងស្រុងដើម្បីបោះពុម្ពទេ។ +web_fonts_disabled=បានបិទពុម្ពអក្សរបណ្ដាញ ៖ មិនអាចប្រើពុម្ពអក្សរ PDF ដែលបានបង្កប់បានទេ ។ + diff --git a/media/js/pdf/web/locale/kn/viewer.properties b/media/js/pdf/web/locale/kn/viewer.properties new file mode 100644 index 0000000000..1a62056c98 --- /dev/null +++ b/media/js/pdf/web/locale/kn/viewer.properties @@ -0,0 +1,187 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=ಹಿಂದಿನ ಪುಟ +previous_label=ಹಿಂದಿನ +next.title=ಮುಂದಿನ ಪುಟ +next_label=ಮುಂದಿನ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ಪುಟ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ರಲ್ಲಿ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} ರಲ್ಲಿ {{pageNumber}}) + +zoom_out.title=ಕಿರಿದಾಗಿಸು +zoom_out_label=ಕಿರಿದಾಗಿಸಿ +zoom_in.title=ಹಿರಿದಾಗಿಸು +zoom_in_label=ಹಿರಿದಾಗಿಸಿ +zoom.title=ಗಾತ್ರಬದಲಿಸು +presentation_mode.title=ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮಕ್ಕೆ ಬದಲಾಯಿಸು +presentation_mode_label=ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮ +open_file.title=ಕಡತವನ್ನು ತೆರೆ +open_file_label=ತೆರೆಯಿರಿ +print.title=ಮುದ್ರಿಸು +print_label=ಮುದ್ರಿಸಿ +download.title=ಇಳಿಸು +download_label=ಇಳಿಸಿಕೊಳ್ಳಿ +bookmark.title=ಪ್ರಸಕ್ತ ನೋಟ (ಪ್ರತಿ ಮಾಡು ಅಥವ ಹೊಸ ಕಿಟಕಿಯಲ್ಲಿ ತೆರೆ) +bookmark_label=ಪ್ರಸಕ್ತ ನೋಟ + +# Secondary toolbar and context menu +tools.title=ಉಪಕರಣಗಳು +tools_label=ಉಪಕರಣಗಳು +first_page.title=ಮೊದಲ ಪುಟಕ್ಕೆ ತೆರಳು +first_page_label=ಮೊದಲ ಪುಟಕ್ಕೆ ತೆರಳು +last_page.title=ಕೊನೆಯ ಪುಟಕ್ಕೆ ತೆರಳು +last_page_label=ಕೊನೆಯ ಪುಟಕ್ಕೆ ತೆರಳು +page_rotate_cw.title=ಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು +page_rotate_cw_label=ಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು +page_rotate_ccw.title=ಅಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು +page_rotate_ccw_label=ಅಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು + +cursor_text_select_tool.title=ಪಠ್ಯ ಆಯ್ಕೆ ಉಪಕರಣವನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ +cursor_text_select_tool_label=ಪಠ್ಯ ಆಯ್ಕೆಯ ಉಪಕರಣ +cursor_hand_tool.title=ಕೈ ಉಪಕರಣವನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ +cursor_hand_tool_label=ಕೈ ಉಪಕರಣ + + + +# Document properties dialog box +document_properties.title=ಡಾಕ್ಯುಮೆಂಟ್ ಗುಣಗಳು... +document_properties_label=ಡಾಕ್ಯುಮೆಂಟ್ ಗುಣಗಳು... +document_properties_file_name=ಕಡತದ ಹೆಸರು: +document_properties_file_size=ಕಡತದ ಗಾತ್ರ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ಬೈಟ್ಗಳು) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} ಬೈಟ್ಗಳು) +document_properties_title=ಶೀರ್ಷಿಕೆ: +document_properties_author=ಕರ್ತೃ: +document_properties_subject=ವಿಷಯ: +document_properties_keywords=ಮುಖ್ಯಪದಗಳು: +document_properties_creation_date=ರಚಿಸಿದ ದಿನಾಂಕ: +document_properties_modification_date=ಮಾರ್ಪಡಿಸಲಾದ ದಿನಾಂಕ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ರಚಿಸಿದವರು: +document_properties_producer=PDF ಉತ್ಪಾದಕ: +document_properties_version=PDF ಆವೃತ್ತಿ: +document_properties_page_count=ಪುಟದ ಎಣಿಕೆ: +document_properties_page_size_unit_inches=ಇದರಲ್ಲಿ +document_properties_page_size_orientation_portrait=ಭಾವಚಿತ್ರ +document_properties_page_size_orientation_landscape=ಪ್ರಕೃತಿ ಚಿತ್ರ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_close=ಮುಚ್ಚು + +print_progress_message=ಮುದ್ರಿಸುವುದಕ್ಕಾಗಿ ದಸ್ತಾವೇಜನ್ನು ಸಿದ್ಧಗೊಳಿಸಲಾಗುತ್ತಿದೆ… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ರದ್ದು ಮಾಡು + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು +toggle_sidebar_label=ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು +document_outline_label=ದಸ್ತಾವೇಜಿನ ಹೊರರೇಖೆ +attachments.title=ಲಗತ್ತುಗಳನ್ನು ತೋರಿಸು +attachments_label=ಲಗತ್ತುಗಳು +thumbs.title=ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು +thumbs_label=ಚಿಕ್ಕಚಿತ್ರಗಳು +findbar.title=ದಸ್ತಾವೇಜಿನಲ್ಲಿ ಹುಡುಕು +findbar_label=ಹುಡುಕು + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=ಪುಟ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=ಪುಟವನ್ನು ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು {{page}} + +# Find panel button title and messages +find_input.title=ಹುಡುಕು +find_input.placeholder=ದಸ್ತಾವೇಜಿನಲ್ಲಿ ಹುಡುಕು… +find_previous.title=ವಾಕ್ಯದ ಹಿಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು +find_previous_label=ಹಿಂದಿನ +find_next.title=ವಾಕ್ಯದ ಮುಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು +find_next_label=ಮುಂದಿನ +find_highlight=ಎಲ್ಲವನ್ನು ಹೈಲೈಟ್ ಮಾಡು +find_match_case_label=ಕೇಸನ್ನು ಹೊಂದಿಸು +find_reached_top=ದಸ್ತಾವೇಜಿನ ಮೇಲ್ಭಾಗವನ್ನು ತಲುಪಿದೆ, ಕೆಳಗಿನಿಂದ ಆರಂಭಿಸು +find_reached_bottom=ದಸ್ತಾವೇಜಿನ ಕೊನೆಯನ್ನು ತಲುಪಿದೆ, ಮೇಲಿನಿಂದ ಆರಂಭಿಸು +find_not_found=ವಾಕ್ಯವು ಕಂಡು ಬಂದಿಲ್ಲ + +# Error panel labels +error_more_info=ಹೆಚ್ಚಿನ ಮಾಹಿತಿ +error_less_info=ಕಡಿಮೆ ಮಾಹಿತಿ +error_close=ಮುಚ್ಚು +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ಸಂದೇಶ: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=ರಾಶಿ: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ಕಡತ: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ಸಾಲು: {{line}} +rendering_error=ಪುಟವನ್ನು ನಿರೂಪಿಸುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ. + +# Predefined zoom values +page_scale_width=ಪುಟದ ಅಗಲ +page_scale_fit=ಪುಟದ ಸರಿಹೊಂದಿಕೆ +page_scale_auto=ಸ್ವಯಂಚಾಲಿತ ಗಾತ್ರಬದಲಾವಣೆ +page_scale_actual=ನಿಜವಾದ ಗಾತ್ರ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF ಅನ್ನು ಲೋಡ್ ಮಾಡುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ. +invalid_file_error=ಅಮಾನ್ಯವಾದ ಅಥವ ಹಾಳಾದ PDF ಕಡತ. +missing_file_error=PDF ಕಡತ ಇಲ್ಲ. +unexpected_response_error=ಅನಿರೀಕ್ಷಿತವಾದ ಪೂರೈಕೆಗಣಕದ ಪ್ರತಿಕ್ರಿಯೆ. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ಟಿಪ್ಪಣಿ] +password_label=PDF ಅನ್ನು ತೆರೆಯಲು ಗುಪ್ತಪದವನ್ನು ನಮೂದಿಸಿ. +password_invalid=ಅಮಾನ್ಯವಾದ ಗುಪ್ತಪದ, ದಯವಿಟ್ಟು ಇನ್ನೊಮ್ಮೆ ಪ್ರಯತ್ನಿಸಿ. +password_ok=OK +password_cancel=ರದ್ದು ಮಾಡು + +printing_not_supported=ಎಚ್ಚರಿಕೆ: ಈ ಜಾಲವೀಕ್ಷಕದಲ್ಲಿ ಮುದ್ರಣಕ್ಕೆ ಸಂಪೂರ್ಣ ಬೆಂಬಲವಿಲ್ಲ. +printing_not_ready=ಎಚ್ಚರಿಕೆ: PDF ಕಡತವು ಮುದ್ರಿಸಲು ಸಂಪೂರ್ಣವಾಗಿ ಲೋಡ್ ಆಗಿಲ್ಲ. +web_fonts_disabled=ಜಾಲ ಅಕ್ಷರಶೈಲಿಯನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ: ಅಡಕಗೊಳಿಸಿದ PDF ಅಕ್ಷರಶೈಲಿಗಳನ್ನು ಬಳಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ. + diff --git a/media/js/pdf/web/locale/ko/viewer.properties b/media/js/pdf/web/locale/ko/viewer.properties new file mode 100644 index 0000000000..18a7ed2de9 --- /dev/null +++ b/media/js/pdf/web/locale/ko/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=이전 페이지 +previous_label=이전 +next.title=다음 페이지 +next_label=다음 + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=페이지 +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=축소 +zoom_out_label=축소 +zoom_in.title=확대 +zoom_in_label=확대 +zoom.title=확대/축소 +presentation_mode.title=프레젠테이션 모드로 전환 +presentation_mode_label=프레젠테이션 모드 +open_file.title=파일 열기 +open_file_label=열기 +print.title=인쇄 +print_label=인쇄 +download.title=다운로드 +download_label=다운로드 +bookmark.title=현재 보기 (복사 또는 새 창에서 열기) +bookmark_label=현재 보기 + +save.title=저장 +save_label=저장 +bookmark1.title=현재 페이지 (현재 페이지에서 URL 보기) +bookmark1_label=현재 페이지 + +open_in_app.title=앱에서 열기 +open_in_app_label=앱에서 열기 + +# Secondary toolbar and context menu +tools.title=도구 +tools_label=도구 +first_page.title=첫 페이지로 이동 +first_page_label=첫 페이지로 이동 +last_page.title=마지막 페이지로 이동 +last_page_label=마지막 페이지로 이동 +page_rotate_cw.title=시계방향으로 회전 +page_rotate_cw_label=시계방향으로 회전 +page_rotate_ccw.title=시계 반대방향으로 회전 +page_rotate_ccw_label=시계 반대방향으로 회전 + +cursor_text_select_tool.title=텍스트 선택 도구 활성화 +cursor_text_select_tool_label=텍스트 선택 도구 +cursor_hand_tool.title=손 도구 활성화 +cursor_hand_tool_label=손 도구 + +scroll_page.title=페이지 스크롤 사용 +scroll_page_label=페이지 스크롤 +scroll_vertical.title=세로 스크롤 사용 +scroll_vertical_label=세로 스크롤 +scroll_horizontal.title=가로 스크롤 사용 +scroll_horizontal_label=가로 스크롤 +scroll_wrapped.title=래핑(자동 줄 바꿈) 스크롤 사용 +scroll_wrapped_label=래핑 스크롤 + +spread_none.title=한 페이지 보기 +spread_none_label=펼침 없음 +spread_odd.title=홀수 페이지로 시작하는 두 페이지 보기 +spread_odd_label=홀수 펼침 +spread_even.title=짝수 페이지로 시작하는 두 페이지 보기 +spread_even_label=짝수 펼침 + +# Document properties dialog box +document_properties.title=문서 속성… +document_properties_label=문서 속성… +document_properties_file_name=파일 이름: +document_properties_file_size=파일 크기: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}}바이트) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}}바이트) +document_properties_title=제목: +document_properties_author=작성자: +document_properties_subject=주제: +document_properties_keywords=키워드: +document_properties_creation_date=작성 날짜: +document_properties_modification_date=수정 날짜: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=작성 프로그램: +document_properties_producer=PDF 변환 소프트웨어: +document_properties_version=PDF 버전: +document_properties_page_count=페이지 수: +document_properties_page_size=페이지 크기: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=세로 방향 +document_properties_page_size_orientation_landscape=가로 방향 +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=레터 +document_properties_page_size_name_legal=리걸 +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=빠른 웹 보기: +document_properties_linearized_yes=예 +document_properties_linearized_no=아니요 +document_properties_close=닫기 + +print_progress_message=인쇄 문서 준비 중… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=취소 + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=사이드바 표시/숨기기 +toggle_sidebar_notification2.title=사이드바 표시/숨기기 (문서에 아웃라인/첨부파일/레이어 포함됨) +toggle_sidebar_label=사이드바 표시/숨기기 +document_outline.title=문서 아웃라인 보기 (더블 클릭해서 모든 항목 펼치기/접기) +document_outline_label=문서 아웃라인 +attachments.title=첨부파일 보기 +attachments_label=첨부파일 +layers.title=레이어 보기 (더블 클릭해서 모든 레이어를 기본 상태로 재설정) +layers_label=레이어 +thumbs.title=미리보기 +thumbs_label=미리보기 +current_outline_item.title=현재 아웃라인 항목 찾기 +current_outline_item_label=현재 아웃라인 항목 +findbar.title=검색 +findbar_label=검색 + +additional_layers=추가 레이어 +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}} 페이지 +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} 페이지 +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} 페이지 미리보기 + +# Find panel button title and messages +find_input.title=찾기 +find_input.placeholder=문서에서 찾기… +find_previous.title=지정 문자열에 일치하는 1개 부분을 검색 +find_previous_label=이전 +find_next.title=지정 문자열에 일치하는 다음 부분을 검색 +find_next_label=다음 +find_highlight=모두 강조 표시 +find_match_case_label=대/소문자 구분 +find_match_diacritics_label=분음 부호 일치 +find_entire_word_label=단어 단위로 +find_reached_top=문서 처음까지 검색하고 끝으로 돌아와 검색했습니다. +find_reached_bottom=문서 끝까지 검색하고 앞으로 돌아와 검색했습니다. +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} 중 {{current}} 일치 +find_match_count[two]={{total}} 중 {{current}} 일치 +find_match_count[few]={{total}} 중 {{current}} 일치 +find_match_count[many]={{total}} 중 {{current}} 일치 +find_match_count[other]={{total}} 중 {{current}} 일치 +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} 이상 일치 +find_match_count_limit[one]={{limit}} 이상 일치 +find_match_count_limit[two]={{limit}} 이상 일치 +find_match_count_limit[few]={{limit}} 이상 일치 +find_match_count_limit[many]={{limit}} 이상 일치 +find_match_count_limit[other]={{limit}} 이상 일치 +find_not_found=검색 결과 없음 + +# Error panel labels +error_more_info=자세한 정보 +error_less_info=정보 간단히 보기 +error_close=닫기 +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (빌드: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=메시지: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=스택: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=파일: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=줄 번호: {{line}} + +# Predefined zoom values +page_scale_width=페이지 너비에 맞추기 +page_scale_fit=페이지에 맞추기 +page_scale_auto=자동 +page_scale_actual=실제 크기 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=로드 중… + +# Loading indicator messages +loading_error=PDF를 로드하는 동안 오류가 발생했습니다. +invalid_file_error=잘못되었거나 손상된 PDF 파일. +missing_file_error=PDF 파일 없음. +unexpected_response_error=예기치 않은 서버 응답입니다. + +rendering_error=페이지를 렌더링하는 동안 오류가 발생했습니다. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} 주석] +password_label=이 PDF 파일을 열 수 있는 비밀번호를 입력하세요. +password_invalid=잘못된 비밀번호입니다. 다시 시도하세요. +password_ok=확인 +password_cancel=취소 + +printing_not_supported=경고: 이 브라우저는 인쇄를 완전히 지원하지 않습니다. +printing_not_ready=경고: 이 PDF를 인쇄를 할 수 있을 정도로 읽어들이지 못했습니다. +web_fonts_disabled=웹 폰트가 비활성화됨: 내장된 PDF 글꼴을 사용할 수 없습니다. + +# Editor +editor_free_text2.title=텍스트 +editor_free_text2_label=텍스트 +editor_ink2.title=그리기 +editor_ink2_label=그리기 + +free_text2_default_content=입력하세요… + +# Editor Parameters +editor_free_text_color=색상 +editor_free_text_size=크기 +editor_ink_color=색상 +editor_ink_thickness=두께 +editor_ink_opacity=불투명도 + +# Editor aria +editor_free_text2_aria_label=텍스트 편집기 +editor_ink2_aria_label=그리기 편집기 +editor_ink_canvas_aria_label=사용자 생성 이미지 diff --git a/media/js/pdf/web/locale/lij/viewer.properties b/media/js/pdf/web/locale/lij/viewer.properties new file mode 100644 index 0000000000..a7854d108d --- /dev/null +++ b/media/js/pdf/web/locale/lij/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagina primma +previous_label=Precedente +next.title=Pagina dòppo +next_label=Pròscima + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Diminoisci zoom +zoom_out_label=Diminoisci zoom +zoom_in.title=Aomenta zoom +zoom_in_label=Aomenta zoom +zoom.title=Zoom +presentation_mode.title=Vanni into mòddo de prezentaçion +presentation_mode_label=Mòddo de prezentaçion +open_file.title=Arvi file +open_file_label=Arvi +print.title=Stanpa +print_label=Stanpa +download.title=Descaregamento +download_label=Descaregamento +bookmark.title=Vixon corente (còpia ò arvi inte 'n neuvo barcon) +bookmark_label=Vixon corente + +# Secondary toolbar and context menu +tools.title=Atressi +tools_label=Atressi +first_page.title=Vanni a-a primma pagina +first_page_label=Vanni a-a primma pagina +last_page.title=Vanni a l'urtima pagina +last_page_label=Vanni a l'urtima pagina +page_rotate_cw.title=Gia into verso oraio +page_rotate_cw_label=Gia into verso oraio +page_rotate_ccw.title=Gia into verso antioraio +page_rotate_ccw_label=Gia into verso antioraio + +cursor_text_select_tool.title=Abilita strumento de seleçion do testo +cursor_text_select_tool_label=Strumento de seleçion do testo +cursor_hand_tool.title=Abilita strumento man +cursor_hand_tool_label=Strumento man + +scroll_vertical.title=Deuvia rebelamento verticale +scroll_vertical_label=Rebelamento verticale +scroll_horizontal.title=Deuvia rebelamento orizontâ +scroll_horizontal_label=Rebelamento orizontâ +scroll_wrapped.title=Deuvia rebelamento incapsolou +scroll_wrapped_label=Rebelamento incapsolou + +spread_none.title=No unite a-a difuxon de pagina +spread_none_label=No difuxon +spread_odd.title=Uniscite a-a difuxon de pagina co-o numero dèspa +spread_odd_label=Difuxon dèspa +spread_even.title=Uniscite a-a difuxon de pagina co-o numero pari +spread_even_label=Difuxon pari + +# Document properties dialog box +document_properties.title=Propietæ do documento… +document_properties_label=Propietæ do documento… +document_properties_file_name=Nomme schedaio: +document_properties_file_size=Dimenscion schedaio: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Titolo: +document_properties_author=Aoto: +document_properties_subject=Ogetto: +document_properties_keywords=Paròlle ciave: +document_properties_creation_date=Dæta creaçion: +document_properties_modification_date=Dæta cangiamento: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Aotô originale: +document_properties_producer=Produtô PDF: +document_properties_version=Verscion PDF: +document_properties_page_count=Contezzo pagine: +document_properties_page_size=Dimenscion da pagina: +document_properties_page_size_unit_inches=dii gròsci +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=drito +document_properties_page_size_orientation_landscape=desteizo +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letia +document_properties_page_size_name_legal=Lezze +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista veloce do Web: +document_properties_linearized_yes=Sci +document_properties_linearized_no=No +document_properties_close=Særa + +print_progress_message=Praparo o documento pe-a stanpa… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anulla + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Ativa/dizativa bara de scianco +toggle_sidebar_label=Ativa/dizativa bara de scianco +document_outline.title=Fanni vedde o contorno do documento (scicca doggio pe espande/ridue tutti i elementi) +document_outline_label=Contorno do documento +attachments.title=Fanni vedde alegæ +attachments_label=Alegæ +thumbs.title=Mostra miniatue +thumbs_label=Miniatue +findbar.title=Treuva into documento +findbar_label=Treuva + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatua da pagina {{page}} + +# Find panel button title and messages +find_input.title=Treuva +find_input.placeholder=Treuva into documento… +find_previous.title=Treuva a ripetiçion precedente do testo da çercâ +find_previous_label=Precedente +find_next.title=Treuva a ripetiçion dòppo do testo da çercâ +find_next_label=Segoente +find_highlight=Evidençia +find_match_case_label=Maioscole/minoscole +find_entire_word_label=Poula intrega +find_reached_top=Razonto a fin da pagina, continoa da l'iniçio +find_reached_bottom=Razonto l'iniçio da pagina, continoa da-a fin +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} corispondensa +find_match_count[two]={{current}} de {{total}} corispondense +find_match_count[few]={{current}} de {{total}} corispondense +find_match_count[many]={{current}} de {{total}} corispondense +find_match_count[other]={{current}} de {{total}} corispondense +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Ciù de {{limit}} corispondense +find_match_count_limit[one]=Ciù de {{limit}} corispondensa +find_match_count_limit[two]=Ciù de {{limit}} corispondense +find_match_count_limit[few]=Ciù de {{limit}} corispondense +find_match_count_limit[many]=Ciù de {{limit}} corispondense +find_match_count_limit[other]=Ciù de {{limit}} corispondense +find_not_found=Testo no trovou + +# Error panel labels +error_more_info=Ciù informaçioin +error_less_info=Meno informaçioin +error_close=Særa +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesaggio: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Schedaio: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linia: {{line}} +rendering_error=Gh'é stæto 'n'erô itno rendering da pagina. + +# Predefined zoom values +page_scale_width=Larghessa pagina +page_scale_fit=Adatta a una pagina +page_scale_auto=Zoom aotomatico +page_scale_actual=Dimenscioin efetive +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=S'é verificou 'n'erô itno caregamento do PDF. +invalid_file_error=O schedaio PDF o l'é no valido ò aroinou. +missing_file_error=O schedaio PDF o no gh'é. +unexpected_response_error=Risposta inprevista do-u server + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotaçion: {{type}}] +password_label=Dimme a paròlla segreta pe arvî sto schedaio PDF. +password_invalid=Paròlla segreta sbalia. Preuva torna. +password_ok=Va ben +password_cancel=Anulla + +printing_not_supported=Atençion: a stanpa a no l'é conpletamente soportâ da sto navegatô. +printing_not_ready=Atençion: o PDF o no l'é ancon caregou conpletamente pe-a stanpa. +web_fonts_disabled=I font do web en dizativæ: inposcibile adeuviâ i carateri do PDF. + diff --git a/media/js/pdf/web/locale/lo/viewer.properties b/media/js/pdf/web/locale/lo/viewer.properties new file mode 100644 index 0000000000..a6adb94023 --- /dev/null +++ b/media/js/pdf/web/locale/lo/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=ຫນ້າກ່ອນຫນ້າ +previous_label=ກ່ອນຫນ້າ +next.title=ຫນ້າຖັດໄປ +next_label=ຖັດໄປ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ຫນ້າ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ຈາກ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ຈາກ {{pagesCount}}) + +zoom_out.title=ຂະຫຍາຍອອກ +zoom_out_label=ຂະຫຍາຍອອກ +zoom_in.title=ຂະຫຍາຍເຂົ້າ +zoom_in_label=ຂະຫຍາຍເຂົ້າ +zoom.title=ຂະຫຍາຍ +presentation_mode.title=ສັບປ່ຽນເປັນໂຫມດການນຳສະເຫນີ +presentation_mode_label=ໂຫມດການນຳສະເຫນີ +open_file.title=ເປີດໄຟລ໌ +open_file_label=ເປີດ +print.title=ພິມ +print_label=ພິມ +download.title=ດາວໂຫລດ +download_label=ດາວໂຫລດ +bookmark.title=ມຸມມອງປະຈຸບັນ (ສຳເນົາ ຫລື ເປີດໃນວິນໂດໃຫມ່) +bookmark_label=ມຸມມອງປະຈຸບັນ + +save.title=ບັນທຶກ +save_label=ບັນທຶກ +bookmark1.title=ໜ້າປັດຈຸບັນ (ເບິ່ງ URL ຈາກໜ້າປັດຈຸບັນ) +bookmark1_label=ຫນ້າປັດຈຸບັນ + +open_in_app.title=ເປີດໃນ App +open_in_app_label=ເປີດໃນ App + +# Secondary toolbar and context menu +tools.title=ເຄື່ອງມື +tools_label=ເຄື່ອງມື +first_page.title=ໄປທີ່ຫນ້າທຳອິດ +first_page_label=ໄປທີ່ຫນ້າທຳອິດ +last_page.title=ໄປທີ່ຫນ້າສຸດທ້າຍ +last_page_label=ໄປທີ່ຫນ້າສຸດທ້າຍ +page_rotate_cw.title=ຫມູນຕາມເຂັມໂມງ +page_rotate_cw_label=ຫມູນຕາມເຂັມໂມງ +page_rotate_ccw.title=ຫມູນທວນເຂັມໂມງ +page_rotate_ccw_label=ຫມູນທວນເຂັມໂມງ + +cursor_text_select_tool.title=ເປີດໃຊ້ເຄື່ອງມືການເລືອກຂໍ້ຄວາມ +cursor_text_select_tool_label=ເຄື່ອງມືເລືອກຂໍ້ຄວາມ +cursor_hand_tool.title=ເປີດໃຊ້ເຄື່ອງມືມື +cursor_hand_tool_label=ເຄື່ອງມືມື + +scroll_page.title=ໃຊ້ການເລື່ອນໜ້າ +scroll_page_label=ເລື່ອນໜ້າ +scroll_vertical.title=ໃຊ້ການເລື່ອນແນວຕັ້ງ +scroll_vertical_label=ເລື່ອນແນວຕັ້ງ +scroll_horizontal.title=ໃຊ້ການເລື່ອນແນວນອນ +scroll_horizontal_label=ເລື່ອນແນວນອນ +scroll_wrapped.title=ໃຊ້ Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=ບໍ່ຕ້ອງຮ່ວມການແຜ່ກະຈາຍຫນ້າ +spread_none_label=ບໍ່ມີການແຜ່ກະຈາຍ +spread_odd.title=ເຂົ້າຮ່ວມການແຜ່ກະຈາຍຫນ້າເລີ່ມຕົ້ນດ້ວຍຫນ້າເລກຄີກ +spread_odd_label=ການແຜ່ກະຈາຍຄີກ +spread_even.title=ເຂົ້າຮ່ວມການແຜ່ກະຈາຍຂອງຫນ້າເລີ່ມຕົ້ນດ້ວຍຫນ້າເລກຄູ່ +spread_even_label=ການແຜ່ກະຈາຍຄູ່ + +# Document properties dialog box +document_properties.title=ຄຸນສົມບັດເອກະສານ... +document_properties_label=ຄຸນສົມບັດເອກະສານ... +document_properties_file_name=ຊື່ໄຟລ໌: +document_properties_file_size=ຂະຫນາດໄຟລ໌: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ໄບຕ໌) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} ໄບຕ໌) +document_properties_title=ຫົວຂໍ້: +document_properties_author=ຜູ້ຂຽນ: +document_properties_subject=ຫົວຂໍ້: +document_properties_keywords=ຄໍາທີ່ຕ້ອງການຄົ້ນຫາ: +document_properties_creation_date=ວັນທີສ້າງ: +document_properties_modification_date=ວັນທີແກ້ໄຂ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ຜູ້ສ້າງ: +document_properties_producer=ຜູ້ຜະລິດ PDF: +document_properties_version=ເວີຊັ່ນ PDF: +document_properties_page_count=ຈຳນວນໜ້າ: +document_properties_page_size=ຂະໜາດໜ້າ: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=ລວງຕັ້ງ +document_properties_page_size_orientation_landscape=ລວງນອນ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=ຈົດໝາຍ +document_properties_page_size_name_legal=ຂໍ້ກົດຫມາຍ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=ມຸມມອງເວັບທີ່ໄວ: +document_properties_linearized_yes=ແມ່ນ +document_properties_linearized_no=ບໍ່ +document_properties_close=ປິດ + +print_progress_message=ກຳລັງກະກຽມເອກະສານສຳລັບການພິມ... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ຍົກເລີກ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ເປີດ/ປິດແຖບຂ້າງ +toggle_sidebar_notification2.title=ສະຫຼັບແຖບດ້ານຂ້າງ (ເອກະສານປະກອບມີໂຄງຮ່າງ/ໄຟລ໌ແນບ/ຊັ້ນຂໍ້ມູນ) +toggle_sidebar_label=ເປີດ/ປິດແຖບຂ້າງ +document_outline.title=ສະແດງໂຄງຮ່າງເອກະສານ (ກົດສອງຄັ້ງເພື່ອຂະຫຍາຍ / ຫຍໍ້ລາຍການທັງຫມົດ) +document_outline_label=ເຄົ້າຮ່າງເອກະສານ +attachments.title=ສະແດງໄຟລ໌ແນບ +attachments_label=ໄຟລ໌ແນບ +layers.title=ສະແດງຊັ້ນຂໍ້ມູນ (ຄລິກສອງເທື່ອເພື່ອຣີເຊັດຊັ້ນຂໍ້ມູນທັງໝົດໃຫ້ເປັນສະຖານະເລີ່ມຕົ້ນ) +layers_label=ຊັ້ນ +thumbs.title=ສະແດງຮູບຫຍໍ້ +thumbs_label=ຮູບຕົວຢ່າງ +current_outline_item.title=ຊອກຫາລາຍການໂຄງຮ່າງປະຈຸບັນ +current_outline_item_label=ລາຍການໂຄງຮ່າງປະຈຸບັນ +findbar.title=ຊອກຫາໃນເອກະສານ +findbar_label=ຄົ້ນຫາ + +additional_layers=ຊັ້ນຂໍ້ມູນເພີ່ມເຕີມ +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=ໜ້າ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=ໜ້າ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=ຮູບຕົວຢ່າງຂອງໜ້າ {{page}} + +# Find panel button title and messages +find_input.title=ຄົ້ນຫາ +find_input.placeholder=ຊອກຫາໃນເອກະສານ... +find_previous.title=ຊອກຫາການປະກົດຕົວທີ່ຜ່ານມາຂອງປະໂຫຍກ +find_previous_label=ກ່ອນຫນ້ານີ້ +find_next.title=ຊອກຫາຕຳແຫນ່ງຖັດໄປຂອງວະລີ +find_next_label=ຕໍ່ໄປ +find_highlight=ໄຮໄລທ໌ທັງຫມົດ +find_match_case_label=ກໍລະນີທີ່ກົງກັນ +find_match_diacritics_label=ເຄື່ອງໝາຍກຳກັບການອອກສຽງກົງກັນ +find_entire_word_label=ກົງກັນທຸກຄຳ +find_reached_top=ມາຮອດເທິງຂອງເອກະສານ, ສືບຕໍ່ຈາກລຸ່ມ +find_reached_bottom=ຮອດຕອນທ້າຍຂອງເອກະສານ, ສືບຕໍ່ຈາກເທິງ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} ຂອງ {{total}} ກົງກັນ +find_match_count[two]={{current}} ຂອງ {{total}} ກົງກັນ +find_match_count[few]={{current}} ຂອງ {{total}} ກົງກັນ +find_match_count[many]={{current}} ຂອງ {{total}} ກົງກັນ +find_match_count[other]={{current}} ຂອງ {{total}} ກົງກັນ +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=ຫຼາຍກວ່າ {{limit}} ກົງກັນ +find_match_count_limit[one]=ກົງກັນຫຼາຍກວ່າ {{limit}} +find_match_count_limit[two]=ຫຼາຍກວ່າ {{limit}} ກົງກັນ +find_match_count_limit[few]=ຫຼາຍກວ່າ {{limit}} ກົງກັນ +find_match_count_limit[many]=ຫຼາຍກວ່າ {{limit}} ກົງກັນ +find_match_count_limit[other]=ຫຼາຍກວ່າ {{limit}} ກົງກັນ +find_not_found=ບໍ່ພົບວະລີທີ່ຕ້ອງການ + +# Error panel labels +error_more_info=ຂໍ້ມູນເພີ່ມເຕີມ +error_less_info=ຂໍ້ມູນນ້ອຍລົງ +error_close=ປິດ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (ສ້າງ: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ຂໍ້ຄວາມ: {{ message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ໄຟລ໌: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ແຖວ: {{line}} + +# Predefined zoom values +page_scale_width=ຄວາມກວ້າງໜ້າ +page_scale_fit=ໜ້າພໍດີ +page_scale_auto=ຊູມອັດຕະໂນມັດ +page_scale_actual=ຂະໜາດຕົວຈິງ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=ກຳລັງໂຫລດ… + +# Loading indicator messages +loading_error=ມີຂໍ້ຜິດພາດເກີດຂື້ນຂະນະທີ່ກຳລັງໂຫລດ PDF. +invalid_file_error=ໄຟລ໌ PDF ບໍ່ຖືກຕ້ອງຫລືເສຍຫາຍ. +missing_file_error=ບໍ່ມີໄຟລ໌ PDF. +unexpected_response_error=ການຕອບສະໜອງຂອງເຊີບເວີທີ່ບໍ່ຄາດຄິດ. + +rendering_error=ມີຂໍ້ຜິດພາດເກີດຂື້ນຂະນະທີ່ກຳລັງເຣັນເດີຫນ້າ. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ຄຳບັນຍາຍ] +password_label=ໃສ່ລະຫັດຜ່ານເພື່ອເປີດໄຟລ໌ PDF ນີ້. +password_invalid=ລະຫັດຜ່ານບໍ່ຖືກຕ້ອງ. ກະລຸນາລອງອີກຄັ້ງ. +password_ok=ຕົກລົງ +password_cancel=ຍົກເລີກ + +printing_not_supported=ຄຳເຕືອນ: ບຼາວເຊີນີ້ບໍ່ຮອງຮັບການພິມຢ່າງເຕັມທີ່. +printing_not_ready=ຄໍາເຕືອນ: PDF ບໍ່ໄດ້ຖືກໂຫຼດຢ່າງເຕັມທີ່ສໍາລັບການພິມ. +web_fonts_disabled=ຟອນເວັບຖືກປິດໃຊ້ງານ: ບໍ່ສາມາດໃຊ້ຟອນ PDF ທີ່ຝັງໄວ້ໄດ້. + +# Editor +editor_free_text2.title=ຂໍ້ຄວາມ +editor_free_text2_label=ຂໍ້ຄວາມ +editor_ink2.title=ແຕ້ມ +editor_ink2_label=ແຕ້ມ + +free_text2_default_content=ເລີ່ມພິມ... + +# Editor Parameters +editor_free_text_color=ສີ +editor_free_text_size=ຂະຫນາດ +editor_ink_color=ສີ +editor_ink_thickness=ຄວາມຫນາ +editor_ink_opacity=ຄວາມໂປ່ງໃສ + +# Editor aria +editor_free_text2_aria_label=ຕົວແກ້ໄຂຂໍ້ຄວາມ +editor_ink2_aria_label=ຕົວແກ້ໄຂຮູບແຕ້ມ +editor_ink_canvas_aria_label=ຮູບພາບທີ່ຜູ້ໃຊ້ສ້າງ diff --git a/media/js/pdf/web/locale/locale.properties b/media/js/pdf/web/locale/locale.properties new file mode 100644 index 0000000000..3868015721 --- /dev/null +++ b/media/js/pdf/web/locale/locale.properties @@ -0,0 +1,333 @@ +[ach] +@import url(ach/viewer.properties) + +[af] +@import url(af/viewer.properties) + +[an] +@import url(an/viewer.properties) + +[ar] +@import url(ar/viewer.properties) + +[ast] +@import url(ast/viewer.properties) + +[az] +@import url(az/viewer.properties) + +[be] +@import url(be/viewer.properties) + +[bg] +@import url(bg/viewer.properties) + +[bn] +@import url(bn/viewer.properties) + +[bo] +@import url(bo/viewer.properties) + +[br] +@import url(br/viewer.properties) + +[brx] +@import url(brx/viewer.properties) + +[bs] +@import url(bs/viewer.properties) + +[ca] +@import url(ca/viewer.properties) + +[cak] +@import url(cak/viewer.properties) + +[ckb] +@import url(ckb/viewer.properties) + +[cs] +@import url(cs/viewer.properties) + +[cy] +@import url(cy/viewer.properties) + +[da] +@import url(da/viewer.properties) + +[de] +@import url(de/viewer.properties) + +[dsb] +@import url(dsb/viewer.properties) + +[el] +@import url(el/viewer.properties) + +[en-CA] +@import url(en-CA/viewer.properties) + +[en-GB] +@import url(en-GB/viewer.properties) + +[en-US] +@import url(en-US/viewer.properties) + +[eo] +@import url(eo/viewer.properties) + +[es-AR] +@import url(es-AR/viewer.properties) + +[es-CL] +@import url(es-CL/viewer.properties) + +[es-ES] +@import url(es-ES/viewer.properties) + +[es-MX] +@import url(es-MX/viewer.properties) + +[et] +@import url(et/viewer.properties) + +[eu] +@import url(eu/viewer.properties) + +[fa] +@import url(fa/viewer.properties) + +[ff] +@import url(ff/viewer.properties) + +[fi] +@import url(fi/viewer.properties) + +[fr] +@import url(fr/viewer.properties) + +[fur] +@import url(fur/viewer.properties) + +[fy-NL] +@import url(fy-NL/viewer.properties) + +[ga-IE] +@import url(ga-IE/viewer.properties) + +[gd] +@import url(gd/viewer.properties) + +[gl] +@import url(gl/viewer.properties) + +[gn] +@import url(gn/viewer.properties) + +[gu-IN] +@import url(gu-IN/viewer.properties) + +[he] +@import url(he/viewer.properties) + +[hi-IN] +@import url(hi-IN/viewer.properties) + +[hr] +@import url(hr/viewer.properties) + +[hsb] +@import url(hsb/viewer.properties) + +[hu] +@import url(hu/viewer.properties) + +[hy-AM] +@import url(hy-AM/viewer.properties) + +[hye] +@import url(hye/viewer.properties) + +[ia] +@import url(ia/viewer.properties) + +[id] +@import url(id/viewer.properties) + +[is] +@import url(is/viewer.properties) + +[it] +@import url(it/viewer.properties) + +[ja] +@import url(ja/viewer.properties) + +[ka] +@import url(ka/viewer.properties) + +[kab] +@import url(kab/viewer.properties) + +[kk] +@import url(kk/viewer.properties) + +[km] +@import url(km/viewer.properties) + +[kn] +@import url(kn/viewer.properties) + +[ko] +@import url(ko/viewer.properties) + +[lij] +@import url(lij/viewer.properties) + +[lo] +@import url(lo/viewer.properties) + +[lt] +@import url(lt/viewer.properties) + +[ltg] +@import url(ltg/viewer.properties) + +[lv] +@import url(lv/viewer.properties) + +[meh] +@import url(meh/viewer.properties) + +[mk] +@import url(mk/viewer.properties) + +[mr] +@import url(mr/viewer.properties) + +[ms] +@import url(ms/viewer.properties) + +[my] +@import url(my/viewer.properties) + +[nb-NO] +@import url(nb-NO/viewer.properties) + +[ne-NP] +@import url(ne-NP/viewer.properties) + +[nl] +@import url(nl/viewer.properties) + +[nn-NO] +@import url(nn-NO/viewer.properties) + +[oc] +@import url(oc/viewer.properties) + +[pa-IN] +@import url(pa-IN/viewer.properties) + +[pl] +@import url(pl/viewer.properties) + +[pt-BR] +@import url(pt-BR/viewer.properties) + +[pt-PT] +@import url(pt-PT/viewer.properties) + +[rm] +@import url(rm/viewer.properties) + +[ro] +@import url(ro/viewer.properties) + +[ru] +@import url(ru/viewer.properties) + +[sat] +@import url(sat/viewer.properties) + +[sc] +@import url(sc/viewer.properties) + +[scn] +@import url(scn/viewer.properties) + +[sco] +@import url(sco/viewer.properties) + +[si] +@import url(si/viewer.properties) + +[sk] +@import url(sk/viewer.properties) + +[skr] +@import url(skr/viewer.properties) + +[sl] +@import url(sl/viewer.properties) + +[son] +@import url(son/viewer.properties) + +[sq] +@import url(sq/viewer.properties) + +[sr] +@import url(sr/viewer.properties) + +[sv-SE] +@import url(sv-SE/viewer.properties) + +[szl] +@import url(szl/viewer.properties) + +[ta] +@import url(ta/viewer.properties) + +[te] +@import url(te/viewer.properties) + +[tg] +@import url(tg/viewer.properties) + +[th] +@import url(th/viewer.properties) + +[tl] +@import url(tl/viewer.properties) + +[tr] +@import url(tr/viewer.properties) + +[trs] +@import url(trs/viewer.properties) + +[uk] +@import url(uk/viewer.properties) + +[ur] +@import url(ur/viewer.properties) + +[uz] +@import url(uz/viewer.properties) + +[vi] +@import url(vi/viewer.properties) + +[wo] +@import url(wo/viewer.properties) + +[xh] +@import url(xh/viewer.properties) + +[zh-CN] +@import url(zh-CN/viewer.properties) + +[zh-TW] +@import url(zh-TW/viewer.properties) + diff --git a/media/js/pdf/web/locale/lt/viewer.properties b/media/js/pdf/web/locale/lt/viewer.properties new file mode 100644 index 0000000000..2c4fb8a305 --- /dev/null +++ b/media/js/pdf/web/locale/lt/viewer.properties @@ -0,0 +1,260 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Ankstesnis puslapis +previous_label=Ankstesnis +next.title=Kitas puslapis +next_label=Kitas + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Puslapis +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=iš {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} iš {{pagesCount}}) + +zoom_out.title=Sumažinti +zoom_out_label=Sumažinti +zoom_in.title=Padidinti +zoom_in_label=Padidinti +zoom.title=Mastelis +presentation_mode.title=Pereiti į pateikties veikseną +presentation_mode_label=Pateikties veiksena +open_file.title=Atverti failą +open_file_label=Atverti +print.title=Spausdinti +print_label=Spausdinti +download.title=Parsiųsti +download_label=Parsiųsti +bookmark.title=Esamojo rodinio saitas (kopijavimui ar atvėrimui kitame lange) +bookmark_label=Esamasis rodinys + +# Secondary toolbar and context menu +tools.title=Priemonės +tools_label=Priemonės +first_page.title=Eiti į pirmą puslapį +first_page_label=Eiti į pirmą puslapį +last_page.title=Eiti į paskutinį puslapį +last_page_label=Eiti į paskutinį puslapį +page_rotate_cw.title=Pasukti pagal laikrodžio rodyklę +page_rotate_cw_label=Pasukti pagal laikrodžio rodyklę +page_rotate_ccw.title=Pasukti prieš laikrodžio rodyklę +page_rotate_ccw_label=Pasukti prieš laikrodžio rodyklę + +cursor_text_select_tool.title=Įjungti teksto žymėjimo įrankį +cursor_text_select_tool_label=Teksto žymėjimo įrankis +cursor_hand_tool.title=Įjungti vilkimo įrankį +cursor_hand_tool_label=Vilkimo įrankis + +scroll_page.title=Naudoti puslapio slinkimą +scroll_page_label=Puslapio slinkimas +scroll_vertical.title=Naudoti vertikalų slinkimą +scroll_vertical_label=Vertikalus slinkimas +scroll_horizontal.title=Naudoti horizontalų slinkimą +scroll_horizontal_label=Horizontalus slinkimas +scroll_wrapped.title=Naudoti išklotą slinkimą +scroll_wrapped_label=Išklotas slinkimas + +spread_none.title=Nejungti puslapių į dvilapius +spread_none_label=Be dvilapių +spread_odd.title=Sujungti į dvilapius pradedant nelyginiais puslapiais +spread_odd_label=Nelyginiai dvilapiai +spread_even.title=Sujungti į dvilapius pradedant lyginiais puslapiais +spread_even_label=Lyginiai dvilapiai + +# Document properties dialog box +document_properties.title=Dokumento savybės… +document_properties_label=Dokumento savybės… +document_properties_file_name=Failo vardas: +document_properties_file_size=Failo dydis: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} B) +document_properties_title=Antraštė: +document_properties_author=Autorius: +document_properties_subject=Tema: +document_properties_keywords=Reikšminiai žodžiai: +document_properties_creation_date=Sukūrimo data: +document_properties_modification_date=Modifikavimo data: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Kūrėjas: +document_properties_producer=PDF generatorius: +document_properties_version=PDF versija: +document_properties_page_count=Puslapių skaičius: +document_properties_page_size=Puslapio dydis: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=stačias +document_properties_page_size_orientation_landscape=gulsčias +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Laiškas +document_properties_page_size_name_legal=Dokumentas +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Spartus žiniatinklio rodinys: +document_properties_linearized_yes=Taip +document_properties_linearized_no=Ne +document_properties_close=Užverti + +print_progress_message=Dokumentas ruošiamas spausdinimui… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Atsisakyti + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Rodyti / slėpti šoninį polangį +toggle_sidebar_notification2.title=Parankinė (dokumentas turi struktūrą / priedų / sluoksnių) +toggle_sidebar_label=Šoninis polangis +document_outline.title=Rodyti dokumento struktūrą (spustelėkite dukart norėdami išplėsti/suskleisti visus elementus) +document_outline_label=Dokumento struktūra +attachments.title=Rodyti priedus +attachments_label=Priedai +layers.title=Rodyti sluoksnius (spustelėkite dukart, norėdami atstatyti visus sluoksnius į numatytąją būseną) +layers_label=Sluoksniai +thumbs.title=Rodyti puslapių miniatiūras +thumbs_label=Miniatiūros +current_outline_item.title=Rasti dabartinį struktūros elementą +current_outline_item_label=Dabartinis struktūros elementas +findbar.title=Ieškoti dokumente +findbar_label=Rasti + +additional_layers=Papildomi sluoksniai +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}} puslapis +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} puslapis +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} puslapio miniatiūra + +# Find panel button title and messages +find_input.title=Rasti +find_input.placeholder=Rasti dokumente… +find_previous.title=Ieškoti ankstesnio frazės egzemplioriaus +find_previous_label=Ankstesnis +find_next.title=Ieškoti tolesnio frazės egzemplioriaus +find_next_label=Tolesnis +find_highlight=Viską paryškinti +find_match_case_label=Skirti didžiąsias ir mažąsias raides +find_match_diacritics_label=Skirti diakritinius ženklus +find_entire_word_label=Ištisi žodžiai +find_reached_top=Pasiekus dokumento pradžią, paieška pratęsta nuo pabaigos +find_reached_bottom=Pasiekus dokumento pabaigą, paieška pratęsta nuo pradžios +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} iš {{total}} atitikmens +find_match_count[two]={{current}} iš {{total}} atitikmenų +find_match_count[few]={{current}} iš {{total}} atitikmenų +find_match_count[many]={{current}} iš {{total}} atitikmenų +find_match_count[other]={{current}} iš {{total}} atitikmens +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Daugiau nei {{limit}} atitikmenų +find_match_count_limit[one]=Daugiau nei {{limit}} atitikmuo +find_match_count_limit[two]=Daugiau nei {{limit}} atitikmenys +find_match_count_limit[few]=Daugiau nei {{limit}} atitikmenys +find_match_count_limit[many]=Daugiau nei {{limit}} atitikmenų +find_match_count_limit[other]=Daugiau nei {{limit}} atitikmuo +find_not_found=Ieškoma frazė nerasta + +# Error panel labels +error_more_info=Išsamiau +error_less_info=Glausčiau +error_close=Užverti +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v. {{version}} (darinys: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Pranešimas: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Dėklas: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Failas: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Eilutė: {{line}} +rendering_error=Atvaizduojant puslapį įvyko klaida. + +# Predefined zoom values +page_scale_width=Priderinti prie lapo pločio +page_scale_fit=Pritaikyti prie lapo dydžio +page_scale_auto=Automatinis mastelis +page_scale_actual=Tikras dydis +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Įkeliama… +loading_error=Įkeliant PDF failą įvyko klaida. +invalid_file_error=Tai nėra PDF failas arba jis yra sugadintas. +missing_file_error=PDF failas nerastas. +unexpected_response_error=Netikėtas serverio atsakas. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[„{{type}}“ tipo anotacija] +password_label=Įveskite slaptažodį šiam PDF failui atverti. +password_invalid=Slaptažodis neteisingas. Bandykite dar kartą. +password_ok=Gerai +password_cancel=Atsisakyti + +printing_not_supported=Dėmesio! Spausdinimas šioje naršyklėje nėra pilnai realizuotas. +printing_not_ready=Dėmesio! PDF failas dar nėra pilnai įkeltas spausdinimui. +web_fonts_disabled=Saityno šriftai išjungti – PDF faile esančių šriftų naudoti negalima. + +# Editor +editor_none.title=Išjungti komentarų redagavimą +editor_none_label=Išjungti redagavimą +editor_free_text.title=Pridėti „FreeText“ komentarą +editor_free_text_label=„FreeText“ komentaras +editor_ink.title=Pridėti laisvo stiliaus komentarą +editor_ink_label=Laisvo stiliaus komentaras + diff --git a/media/js/pdf/web/locale/ltg/viewer.properties b/media/js/pdf/web/locale/ltg/viewer.properties new file mode 100644 index 0000000000..b117a0e677 --- /dev/null +++ b/media/js/pdf/web/locale/ltg/viewer.properties @@ -0,0 +1,213 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Īprīkšejā lopa +previous_label=Īprīkšejā +next.title=Nuokomuo lopa +next_label=Nuokomuo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Lopa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=nu {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} nu {{pagesCount}}) + +zoom_out.title=Attuolynuot +zoom_out_label=Attuolynuot +zoom_in.title=Pītuvynuot +zoom_in_label=Pītuvynuot +zoom.title=Palelynuojums +presentation_mode.title=Puorslēgtīs iz Prezentacejis režymu +presentation_mode_label=Prezentacejis režyms +open_file.title=Attaiseit failu +open_file_label=Attaiseit +print.title=Drukuošona +print_label=Drukōt +download.title=Lejupīluode +download_label=Lejupīluodeit +bookmark.title=Pošreizejais skots (kopēt voi attaiseit jaunā lūgā) +bookmark_label=Pošreizejais skots + +# Secondary toolbar and context menu +tools.title=Reiki +tools_label=Reiki +first_page.title=Īt iz pyrmū lopu +first_page_label=Īt iz pyrmū lopu +last_page.title=Īt iz piedejū lopu +last_page_label=Īt iz piedejū lopu +page_rotate_cw.title=Pagrīzt pa pulksteni +page_rotate_cw_label=Pagrīzt pa pulksteni +page_rotate_ccw.title=Pagrīzt pret pulksteni +page_rotate_ccw_label=Pagrīzt pret pulksteni + +cursor_text_select_tool.title=Aktivizēt teksta izvieles reiku +cursor_text_select_tool_label=Teksta izvieles reiks +cursor_hand_tool.title=Aktivēt rūkys reiku +cursor_hand_tool_label=Rūkys reiks + +scroll_vertical.title=Izmontōt vertikalū ritinōšonu +scroll_vertical_label=Vertikalō ritinōšona +scroll_horizontal.title=Izmontōt horizontalū ritinōšonu +scroll_horizontal_label=Horizontalō ritinōšona +scroll_wrapped.title=Izmontōt mārūgojamū ritinōšonu +scroll_wrapped_label=Mārūgojamō ritinōšona + +spread_none.title=Naizmontōt lopu atvāruma režimu +spread_none_label=Bez atvārumim +spread_odd.title=Izmontōt lopu atvārumus sōkut nu napōra numeru lopom +spread_odd_label=Napōra lopys pa kreisi +spread_even.title=Izmontōt lopu atvārumus sōkut nu pōra numeru lopom +spread_even_label=Pōra lopys pa kreisi + +# Document properties dialog box +document_properties.title=Dokumenta īstatiejumi… +document_properties_label=Dokumenta īstatiejumi… +document_properties_file_name=Faila nūsaukums: +document_properties_file_size=Faila izmārs: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} biti) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} biti) +document_properties_title=Nūsaukums: +document_properties_author=Autors: +document_properties_subject=Tema: +document_properties_keywords=Atslāgi vuordi: +document_properties_creation_date=Izveides datums: +document_properties_modification_date=lobuošonys datums: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Radeituojs: +document_properties_producer=PDF producents: +document_properties_version=PDF verseja: +document_properties_page_count=Lopu skaits: +document_properties_page_size=Lopas izmārs: +document_properties_page_size_unit_inches=collas +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portreta orientaceja +document_properties_page_size_orientation_landscape=ainovys orientaceja +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Jā +document_properties_linearized_no=Nā +document_properties_close=Aiztaiseit + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Atceļt + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Puorslēgt suonu jūslu +toggle_sidebar_label=Puorslēgt suonu jūslu +document_outline.title=Show Document Outline (double-click to expand/collapse all items) +document_outline_label=Dokumenta saturs +attachments.title=Show Attachments +attachments_label=Attachments +thumbs.title=Paruodeit seiktālus +thumbs_label=Seiktāli +findbar.title=Mekleit dokumentā +findbar_label=Mekleit + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Lopa {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Lopys {{page}} seiktāls + +# Find panel button title and messages +find_input.title=Mekleit +find_input.placeholder=Mekleit dokumentā… +find_previous.title=Atrast īprīkšejū +find_previous_label=Īprīkšejā +find_next.title=Atrast nuokamū +find_next_label=Nuokomuo +find_highlight=Īkruosuot vysys +find_match_case_label=Lelū, mozū burtu jiuteigs +find_reached_top=Sasnīgts dokumenta suokums, turpynojom nu beigom +find_reached_bottom=Sasnīgtys dokumenta beigys, turpynojom nu suokuma +find_not_found=Frāze nav atrosta + +# Error panel labels +error_more_info=Vairuok informacejis +error_less_info=mozuok informacejis +error_close=Close +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Ziņuojums: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Steks: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Ryndeņa: {{line}} +rendering_error=Attālojūt lopu rodās klaida + +# Predefined zoom values +page_scale_width=Lopys plotumā +page_scale_fit=Ītylpynūt lopu +page_scale_auto=Automatiskais izmārs +page_scale_actual=Patīsais izmārs +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Īluodejūt PDF nūtyka klaida. +invalid_file_error=Nadereigs voi būjuots PDF fails. +missing_file_error=PDF fails nav atrosts. +unexpected_response_error=Unexpected server response. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Īvodit paroli, kab attaiseitu PDF failu. +password_invalid=Napareiza parole, raugit vēļreiz. +password_ok=Labi +password_cancel=Atceļt + +printing_not_supported=Uzmaneibu: Drukuošona nu itei puorlūka dorbojās tikai daleji. +printing_not_ready=Uzmaneibu: PDF nav pilneibā īluodeits drukuošonai. +web_fonts_disabled=Šķārsteikla fonti nav aktivizāti: Navar īgult PDF fontus. + diff --git a/media/js/pdf/web/locale/lv/viewer.properties b/media/js/pdf/web/locale/lv/viewer.properties new file mode 100644 index 0000000000..851728f252 --- /dev/null +++ b/media/js/pdf/web/locale/lv/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Iepriekšējā lapa +previous_label=Iepriekšējā +next.title=Nākamā lapa +next_label=Nākamā + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Lapa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=no {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} no {{pagesCount}}) + +zoom_out.title=Attālināt\u0020 +zoom_out_label=Attālināt +zoom_in.title=Pietuvināt +zoom_in_label=Pietuvināt +zoom.title=Palielinājums +presentation_mode.title=Pārslēgties uz Prezentācijas režīmu +presentation_mode_label=Prezentācijas režīms +open_file.title=Atvērt failu +open_file_label=Atvērt +print.title=Drukāšana +print_label=Drukāt +download.title=Lejupielāde +download_label=Lejupielādēt +bookmark.title=Pašreizējais skats (kopēt vai atvērt jaunā logā) +bookmark_label=Pašreizējais skats + +# Secondary toolbar and context menu +tools.title=Rīki +tools_label=Rīki +first_page.title=Iet uz pirmo lapu +first_page_label=Iet uz pirmo lapu +last_page.title=Iet uz pēdējo lapu +last_page_label=Iet uz pēdējo lapu +page_rotate_cw.title=Pagriezt pa pulksteni +page_rotate_cw_label=Pagriezt pa pulksteni +page_rotate_ccw.title=Pagriezt pret pulksteni +page_rotate_ccw_label=Pagriezt pret pulksteni + +cursor_text_select_tool.title=Aktivizēt teksta izvēles rīku +cursor_text_select_tool_label=Teksta izvēles rīks +cursor_hand_tool.title=Aktivēt rokas rīku +cursor_hand_tool_label=Rokas rīks + +scroll_vertical.title=Izmantot vertikālo ritināšanu +scroll_vertical_label=Vertikālā ritināšana +scroll_horizontal.title=Izmantot horizontālo ritināšanu +scroll_horizontal_label=Horizontālā ritināšana +scroll_wrapped.title=Izmantot apkļauto ritināšanu +scroll_wrapped_label=Apkļautā ritināšana + +spread_none.title=Nepievienoties lapu izpletumiem +spread_none_label=Neizmantot izpletumus +spread_odd.title=Izmantot lapu izpletumus sākot ar nepāra numuru lapām +spread_odd_label=Nepāra izpletumi +spread_even.title=Izmantot lapu izpletumus sākot ar pāra numuru lapām +spread_even_label=Pāra izpletumi + +# Document properties dialog box +document_properties.title=Dokumenta iestatījumi… +document_properties_label=Dokumenta iestatījumi… +document_properties_file_name=Faila nosaukums: +document_properties_file_size=Faila izmērs: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} biti) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} biti) +document_properties_title=Nosaukums: +document_properties_author=Autors: +document_properties_subject=Tēma: +document_properties_keywords=Atslēgas vārdi: +document_properties_creation_date=Izveides datums: +document_properties_modification_date=LAbošanas datums: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Radītājs: +document_properties_producer=PDF producents: +document_properties_version=PDF versija: +document_properties_page_count=Lapu skaits: +document_properties_page_size=Papīra izmērs: +document_properties_page_size_unit_inches=collas +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portretorientācija +document_properties_page_size_orientation_landscape=ainavorientācija +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Vēstule +document_properties_page_size_name_legal=Juridiskie teksti +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Ātrā tīmekļa skats: +document_properties_linearized_yes=Jā +document_properties_linearized_no=Nē +document_properties_close=Aizvērt + +print_progress_message=Gatavo dokumentu drukāšanai... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Atcelt + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Pārslēgt sānu joslu +toggle_sidebar_label=Pārslēgt sānu joslu +document_outline.title=Rādīt dokumenta struktūru (veiciet dubultklikšķi lai izvērstu/sakļautu visus vienumus) +document_outline_label=Dokumenta saturs +attachments.title=Rādīt pielikumus +attachments_label=Pielikumi +thumbs.title=Parādīt sīktēlus +thumbs_label=Sīktēli +findbar.title=Meklēt dokumentā +findbar_label=Meklēt + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Lapa {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Lapas {{page}} sīktēls + +# Find panel button title and messages +find_input.title=Meklēt +find_input.placeholder=Meklēt dokumentā… +find_previous.title=Atrast iepriekšējo +find_previous_label=Iepriekšējā +find_next.title=Atrast nākamo +find_next_label=Nākamā +find_highlight=Iekrāsot visas +find_match_case_label=Lielo, mazo burtu jutīgs +find_entire_word_label=Veselus vārdus +find_reached_top=Sasniegts dokumenta sākums, turpinām no beigām +find_reached_bottom=Sasniegtas dokumenta beigas, turpinām no sākuma +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} no {{total}} rezultāta +find_match_count[two]={{current}} no {{total}} rezultātiem +find_match_count[few]={{current}} no {{total}} rezultātiem +find_match_count[many]={{current}} no {{total}} rezultātiem +find_match_count[other]={{current}} no {{total}} rezultātiem +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Vairāk nekā {{limit}} rezultāti +find_match_count_limit[one]=Vairāk nekā {{limit}} rezultāti +find_match_count_limit[two]=Vairāk nekā {{limit}} rezultāti +find_match_count_limit[few]=Vairāk nekā {{limit}} rezultāti +find_match_count_limit[many]=Vairāk nekā {{limit}} rezultāti +find_match_count_limit[other]=Vairāk nekā {{limit}} rezultāti +find_not_found=Frāze nav atrasta + +# Error panel labels +error_more_info=Vairāk informācijas +error_less_info=MAzāk informācijas +error_close=Close +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Ziņojums: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Steks: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rindiņa: {{line}} +rendering_error=Attēlojot lapu radās kļūda + +# Predefined zoom values +page_scale_width=Lapas platumā +page_scale_fit=Ietilpinot lapu +page_scale_auto=Automātiskais izmērs +page_scale_actual=Patiesais izmērs +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Ielādējot PDF notika kļūda. +invalid_file_error=Nederīgs vai bojāts PDF fails. +missing_file_error=PDF fails nav atrasts. +unexpected_response_error=Negaidīa servera atbilde. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} anotācija] +password_label=Ievadiet paroli, lai atvērtu PDF failu. +password_invalid=Nepareiza parole, mēģiniet vēlreiz. +password_ok=Labi +password_cancel=Atcelt + +printing_not_supported=Uzmanību: Drukāšana no šī pārlūka darbojas tikai daļēji. +printing_not_ready=Uzmanību: PDF nav pilnībā ielādēts drukāšanai. +web_fonts_disabled=Tīmekļa fonti nav aktivizēti: Nevar iegult PDF fontus. + diff --git a/media/js/pdf/web/locale/meh/viewer.properties b/media/js/pdf/web/locale/meh/viewer.properties new file mode 100644 index 0000000000..7a1bf04a67 --- /dev/null +++ b/media/js/pdf/web/locale/meh/viewer.properties @@ -0,0 +1,111 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página yata + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom.title=Nasa´a ka´nu/Nasa´a luli +open_file_label=Síne + +# Secondary toolbar and context menu + + + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=Kuvi +document_properties_close=Nakasɨ + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Nkuvi-ka + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +findbar_label=Nánuku + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. + +# Find panel button title and messages +find_input.title=Nánuku +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} + +# Error panel labels +error_close=Nakasɨ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number + +# Predefined zoom values +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_cancel=Nkuvi-ka + diff --git a/media/js/pdf/web/locale/mk/viewer.properties b/media/js/pdf/web/locale/mk/viewer.properties new file mode 100644 index 0000000000..6d594007b5 --- /dev/null +++ b/media/js/pdf/web/locale/mk/viewer.properties @@ -0,0 +1,139 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Претходна страница +previous_label=Претходна +next.title=Следна страница +next_label=Следна + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Намалување +zoom_out_label=Намали +zoom_in.title=Зголемување +zoom_in_label=Зголеми +zoom.title=Променување на големина +presentation_mode.title=Премини во презентациски режим +presentation_mode_label=Презентациски режим +open_file.title=Отворање датотека +open_file_label=Отвори +print.title=Печатење +print_label=Печати +download.title=Преземање +download_label=Преземи +bookmark.title=Овој преглед (копирај или отвори во нов прозорец) +bookmark_label=Овој преглед + +# Secondary toolbar and context menu +tools.title=Алатки + + + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_close=Откажи + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Вклучи странична лента +toggle_sidebar_label=Вклучи странична лента +thumbs.title=Прикажување на икони +thumbs_label=Икони +findbar.title=Најди во документот +findbar_label=Најди + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Страница {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Икона од страница {{page}} + +# Find panel button title and messages +find_previous.title=Најди ја предходната појава на фразата +find_previous_label=Претходно +find_next.title=Најди ја следната појава на фразата +find_next_label=Следно +find_highlight=Означи сѐ +find_match_case_label=Токму така +find_reached_top=Барањето стигна до почетокот на документот и почнува од крајот +find_reached_bottom=Барањето стигна до крајот на документот и почнува од почеток +find_not_found=Фразата не е пронајдена + +# Error panel labels +error_more_info=Повеќе информации +error_less_info=Помалку информации +error_close=Затвори +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Порака: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Датотека: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Линија: {{line}} +rendering_error=Настана грешка при прикажувањето на страницата. + +# Predefined zoom values +page_scale_width=Ширина на страница +page_scale_fit=Цела страница +page_scale_auto=Автоматска големина +page_scale_actual=Вистинска големина +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +loading_error=Настана грешка при вчитувањето на PDF-от. +invalid_file_error=Невалидна или корумпирана PDF датотека. +missing_file_error=Недостасува PDF документ. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_cancel=Откажи + +printing_not_supported=Предупредување: Печатењето не е целосно поддржано во овој прелистувач. +printing_not_ready=Предупредување: PDF документот не е целосно вчитан за печатење. +web_fonts_disabled=Интернет фонтовите се оневозможени: не може да се користат вградените PDF фонтови. + diff --git a/media/js/pdf/web/locale/mr/viewer.properties b/media/js/pdf/web/locale/mr/viewer.properties new file mode 100644 index 0000000000..40080f9ddb --- /dev/null +++ b/media/js/pdf/web/locale/mr/viewer.properties @@ -0,0 +1,231 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=मागील पृष्ठ +previous_label=मागील +next.title=पुढील पृष्ठ +next_label=पुढील + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=पृष्ठ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}}पैकी +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} पैकी {{pageNumber}}) + +zoom_out.title=छोटे करा +zoom_out_label=छोटे करा +zoom_in.title=मोठे करा +zoom_in_label=मोठे करा +zoom.title=लहान किंवा मोठे करा +presentation_mode.title=प्रस्तुतिकरण मोडचा वापर करा +presentation_mode_label=प्रस्तुतिकरण मोड +open_file.title=फाइल उघडा +open_file_label=उघडा +print.title=छपाई करा +print_label=छपाई करा +download.title=डाउनलोड करा +download_label=डाउनलोड करा +bookmark.title=सध्याचे अवलोकन (नवीन पटलात प्रत बनवा किंवा उघडा) +bookmark_label=सध्याचे अवलोकन + +# Secondary toolbar and context menu +tools.title=साधने +tools_label=साधने +first_page.title=पहिल्या पृष्ठावर जा +first_page_label=पहिल्या पृष्ठावर जा +last_page.title=शेवटच्या पृष्ठावर जा +last_page_label=शेवटच्या पृष्ठावर जा +page_rotate_cw.title=घड्याळाच्या काट्याच्या दिशेने फिरवा +page_rotate_cw_label=घड्याळाच्या काट्याच्या दिशेने फिरवा +page_rotate_ccw.title=घड्याळाच्या काट्याच्या उलट दिशेने फिरवा +page_rotate_ccw_label=घड्याळाच्या काट्याच्या उलट दिशेने फिरवा + +cursor_text_select_tool.title=मजकूर निवड साधन कार्यान्वयीत करा +cursor_text_select_tool_label=मजकूर निवड साधन +cursor_hand_tool.title=हात साधन कार्यान्वित करा +cursor_hand_tool_label=हस्त साधन + +scroll_vertical.title=अनुलंब स्क्रोलिंग वापरा +scroll_vertical_label=अनुलंब स्क्रोलिंग +scroll_horizontal.title=क्षैतिज स्क्रोलिंग वापरा +scroll_horizontal_label=क्षैतिज स्क्रोलिंग + + +# Document properties dialog box +document_properties.title=दस्तऐवज गुणधर्म… +document_properties_label=दस्तऐवज गुणधर्म… +document_properties_file_name=फाइलचे नाव: +document_properties_file_size=फाइल आकार: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} बाइट्स) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} बाइट्स) +document_properties_title=शिर्षक: +document_properties_author=लेखक: +document_properties_subject=विषय: +document_properties_keywords=मुख्यशब्द: +document_properties_creation_date=निर्माण दिनांक: +document_properties_modification_date=दुरूस्ती दिनांक: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=निर्माता: +document_properties_producer=PDF निर्माता: +document_properties_version=PDF आवृत्ती: +document_properties_page_count=पृष्ठ संख्या: +document_properties_page_size=पृष्ठ आकार: +document_properties_page_size_unit_inches=इंच +document_properties_page_size_unit_millimeters=मीमी +document_properties_page_size_orientation_portrait=उभी मांडणी +document_properties_page_size_orientation_landscape=आडवे +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=जलद वेब दृष्य: +document_properties_linearized_yes=हो +document_properties_linearized_no=नाही +document_properties_close=बंद करा + +print_progress_message=छपाई करीता पृष्ठ तयार करीत आहे… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=रद्द करा + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=बाजूचीपट्टी टॉगल करा +toggle_sidebar_label=बाजूचीपट्टी टॉगल करा +document_outline.title=दस्तऐवज बाह्यरेखा दर्शवा (विस्तृत करण्यासाठी दोनवेळा क्लिक करा /सर्व घटक दाखवा) +document_outline_label=दस्तऐवज रूपरेषा +attachments.title=जोडपत्र दाखवा +attachments_label=जोडपत्र +thumbs.title=थंबनेल्स् दाखवा +thumbs_label=थंबनेल्स् +findbar.title=दस्तऐवजात शोधा +findbar_label=शोधा + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=पृष्ठ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=पृष्ठाचे थंबनेल {{page}} + +# Find panel button title and messages +find_input.title=शोधा +find_input.placeholder=दस्तऐवजात शोधा… +find_previous.title=वाकप्रयोगची मागील घटना शोधा +find_previous_label=मागील +find_next.title=वाकप्रयोगची पुढील घटना शोधा +find_next_label=पुढील +find_highlight=सर्व ठळक करा +find_match_case_label=आकार जुळवा +find_entire_word_label=संपूर्ण शब्द +find_reached_top=दस्तऐवजाच्या शीर्षकास पोहचले, तळपासून पुढे +find_reached_bottom=दस्तऐवजाच्या तळाला पोहचले, शीर्षकापासून पुढे +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} पैकी {{current}} सुसंगत +find_match_count[two]={{total}} पैकी {{current}} सुसंगत +find_match_count[few]={{total}} पैकी {{current}} सुसंगत +find_match_count[many]={{total}} पैकी {{current}} सुसंगत +find_match_count[other]={{total}} पैकी {{current}} सुसंगत +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} पेक्षा अधिक जुळण्या +find_match_count_limit[one]={{limit}} पेक्षा अधिक जुळण्या +find_match_count_limit[two]={{limit}} पेक्षा अधिक जुळण्या +find_match_count_limit[few]={{limit}} पेक्षा अधिक जुळण्या +find_match_count_limit[many]={{limit}} पेक्षा अधिक जुळण्या +find_match_count_limit[other]={{limit}} पेक्षा अधिक जुळण्या +find_not_found=वाकप्रयोग आढळले नाही + +# Error panel labels +error_more_info=आणखी माहिती +error_less_info=कमी माहिती +error_close=बंद करा +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=संदेश: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=स्टॅक: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=फाइल: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=रेष: {{line}} +rendering_error=पृष्ठ दाखवतेवेळी त्रुटी आढळली. + +# Predefined zoom values +page_scale_width=पृष्ठाची रूंदी +page_scale_fit=पृष्ठ बसवा +page_scale_auto=स्वयं लाहन किंवा मोठे करणे +page_scale_actual=प्रत्यक्ष आकार +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF लोड करतेवेळी त्रुटी आढळली. +invalid_file_error=अवैध किंवा दोषीत PDF फाइल. +missing_file_error=न आढळणारी PDF फाइल. +unexpected_response_error=अनपेक्षित सर्व्हर प्रतिसाद. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} टिपण्णी] +password_label=ही PDF फाइल उघडण्याकरिता पासवर्ड द्या. +password_invalid=अवैध पासवर्ड. कृपया पुन्हा प्रयत्न करा. +password_ok=ठीक आहे +password_cancel=रद्द करा + +printing_not_supported=सावधानता: या ब्राउझरतर्फे छपाइ पूर्णपणे समर्थीत नाही. +printing_not_ready=सावधानता: छपाईकरिता PDF पूर्णतया लोड झाले नाही. +web_fonts_disabled=वेब टंक असमर्थीत आहेत: एम्बेडेड PDF टंक वापर अशक्य. + diff --git a/media/js/pdf/web/locale/ms/viewer.properties b/media/js/pdf/web/locale/ms/viewer.properties new file mode 100644 index 0000000000..21542e2d3f --- /dev/null +++ b/media/js/pdf/web/locale/ms/viewer.properties @@ -0,0 +1,235 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Halaman Dahulu +previous_label=Dahulu +next.title=Halaman Berikut +next_label=Berikut + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Halaman +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=daripada {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} daripada {{pagesCount}}) + +zoom_out.title=Zum Keluar +zoom_out_label=Zum Keluar +zoom_in.title=Zum Masuk +zoom_in_label=Zum Masuk +zoom.title=Zum +presentation_mode.title=Tukar ke Mod Persembahan +presentation_mode_label=Mod Persembahan +open_file.title=Buka Fail +open_file_label=Buka +print.title=Cetak +print_label=Cetak +download.title=Muat turun +download_label=Muat turun +bookmark.title=Paparan semasa (salin atau buka dalam tetingkap baru) +bookmark_label=Paparan Semasa + +# Secondary toolbar and context menu +tools.title=Alatan +tools_label=Alatan +first_page.title=Pergi ke Halaman Pertama +first_page_label=Pergi ke Halaman Pertama +last_page.title=Pergi ke Halaman Terakhir +last_page_label=Pergi ke Halaman Terakhir +page_rotate_cw.title=Berputar ikut arah Jam +page_rotate_cw_label=Berputar ikut arah Jam +page_rotate_ccw.title=Pusing berlawan arah jam +page_rotate_ccw_label=Pusing berlawan arah jam + +cursor_text_select_tool.title=Dayakan Alatan Pilihan Teks +cursor_text_select_tool_label=Alatan Pilihan Teks +cursor_hand_tool.title=Dayakan Alatan Tangan +cursor_hand_tool_label=Alatan Tangan + +scroll_vertical.title=Guna Skrol Menegak +scroll_vertical_label=Skrol Menegak +scroll_horizontal.title=Guna Skrol Mengufuk +scroll_horizontal_label=Skrol Mengufuk +scroll_wrapped.title=Guna Skrol Berbalut +scroll_wrapped_label=Skrol Berbalut + +spread_none.title=Jangan hubungkan hamparan halaman +spread_none_label=Tanpa Hamparan +spread_odd.title=Hubungkan hamparan halaman dengan halaman nombor ganjil +spread_odd_label=Hamparan Ganjil +spread_even.title=Hubungkan hamparan halaman dengan halaman nombor genap +spread_even_label=Hamparan Seimbang + +# Document properties dialog box +document_properties.title=Sifat Dokumen… +document_properties_label=Sifat Dokumen… +document_properties_file_name=Nama fail: +document_properties_file_size=Saiz fail: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bait) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bait) +document_properties_title=Tajuk: +document_properties_author=Pengarang: +document_properties_subject=Subjek: +document_properties_keywords=Kata kunci: +document_properties_creation_date=Masa Dicipta: +document_properties_modification_date=Tarikh Ubahsuai: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Pencipta: +document_properties_producer=Pengeluar PDF: +document_properties_version=Versi PDF: +document_properties_page_count=Kiraan Laman: +document_properties_page_size=Saiz Halaman: +document_properties_page_size_unit_inches=dalam +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=potret +document_properties_page_size_orientation_landscape=landskap +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Paparan Web Pantas: +document_properties_linearized_yes=Ya +document_properties_linearized_no=Tidak +document_properties_close=Tutup + +print_progress_message=Menyediakan dokumen untuk dicetak… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Batal + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Togol Bar Sisi +toggle_sidebar_label=Togol Bar Sisi +document_outline.title=Papar Rangka Dokumen (klik-dua-kali untuk kembangkan/kolaps semua item) +document_outline_label=Rangka Dokumen +attachments.title=Papar Lampiran +attachments_label=Lampiran +thumbs.title=Papar Thumbnails +thumbs_label=Imej kecil +findbar.title=Cari didalam Dokumen +findbar_label=Cari + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Halaman {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Halaman Imej kecil {{page}} + +# Find panel button title and messages +find_input.title=Cari +find_input.placeholder=Cari dalam dokumen… +find_previous.title=Cari teks frasa berkenaan yang terdahulu +find_previous_label=Dahulu +find_next.title=Cari teks frasa berkenaan yang berikut +find_next_label=Berikut +find_highlight=Serlahkan semua +find_match_case_label=Huruf sepadan +find_entire_word_label=Seluruh perkataan +find_reached_top=Mencapai teratas daripada dokumen, sambungan daripada bawah +find_reached_bottom=Mencapai terakhir daripada dokumen, sambungan daripada atas +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} daripada {{total}} padanan +find_match_count[two]={{current}} daripada {{total}} padanan +find_match_count[few]={{current}} daripada {{total}} padanan +find_match_count[many]={{current}} daripada {{total}} padanan +find_match_count[other]={{current}} daripada {{total}} padanan +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Lebih daripada {{limit}} padanan +find_match_count_limit[one]=Lebih daripada {{limit}} padanan +find_match_count_limit[two]=Lebih daripada {{limit}} padanan +find_match_count_limit[few]=Lebih daripada {{limit}} padanan +find_match_count_limit[many]=Lebih daripada {{limit}} padanan +find_match_count_limit[other]=Lebih daripada {{limit}} padanan +find_not_found=Frasa tidak ditemui + +# Error panel labels +error_more_info=Maklumat Lanjut +error_less_info=Kurang Informasi +error_close=Tutup +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesej: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Timbun: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fail: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Garis: {{line}} +rendering_error=Ralat berlaku ketika memberikan halaman. + +# Predefined zoom values +page_scale_width=Lebar Halaman +page_scale_fit=Muat Halaman +page_scale_auto=Zoom Automatik +page_scale_actual=Saiz Sebenar +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Masalah berlaku semasa menuatkan sebuah PDF. +invalid_file_error=Tidak sah atau fail PDF rosak. +missing_file_error=Fail PDF Hilang. +unexpected_response_error=Respon pelayan yang tidak dijangka. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Anotasi] +password_label=Masukan kata kunci untuk membuka fail PDF ini. +password_invalid=Kata laluan salah. Cuba lagi. +password_ok=OK +password_cancel=Batal + +printing_not_supported=Amaran: Cetakan ini tidak sepenuhnya disokong oleh pelayar ini. +printing_not_ready=Amaran: PDF tidak sepenuhnya dimuatkan untuk dicetak. +web_fonts_disabled=Fon web dinyahdayakan: tidak dapat menggunakan fon terbenam PDF. + diff --git a/media/js/pdf/web/locale/my/viewer.properties b/media/js/pdf/web/locale/my/viewer.properties new file mode 100644 index 0000000000..0c97432777 --- /dev/null +++ b/media/js/pdf/web/locale/my/viewer.properties @@ -0,0 +1,191 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=အရင် စာမျက်နှာ +previous_label=အရင်နေရာ +next.title=ရှေ့ စာမျက်နှာ +next_label=နောက်တခု + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=စာမျက်နှာ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ၏ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} ၏ {{pageNumber}}) + +zoom_out.title=ချုံ့ပါ +zoom_out_label=ချုံ့ပါ +zoom_in.title=ချဲ့ပါ +zoom_in_label=ချဲ့ပါ +zoom.title=ချုံ့/ချဲ့ပါ +presentation_mode.title=ဆွေးနွေးတင်ပြစနစ်သို့ ကူးပြောင်းပါ +presentation_mode_label=ဆွေးနွေးတင်ပြစနစ် +open_file.title=ဖိုင်အားဖွင့်ပါ။ +open_file_label=ဖွင့်ပါ +print.title=ပုံနှိုပ်ပါ +print_label=ပုံနှိုပ်ပါ +download.title=ကူးဆွဲ +download_label=ကူးဆွဲ +bookmark.title=လက်ရှိ မြင်ကွင်း (ဝင်းဒိုးအသစ်မှာ ကူးပါ သို့မဟုတ် ဖွင့်ပါ) +bookmark_label=လက်ရှိ မြင်ကွင်း + +# Secondary toolbar and context menu +tools.title=ကိရိယာများ +tools_label=ကိရိယာများ +first_page.title=ပထမ စာမျက်နှာသို့ +first_page_label=ပထမ စာမျက်နှာသို့ +last_page.title=နောက်ဆုံး စာမျက်နှာသို့ +last_page_label=နောက်ဆုံး စာမျက်နှာသို့ +page_rotate_cw.title=နာရီလက်တံ အတိုင်း +page_rotate_cw_label=နာရီလက်တံ အတိုင်း +page_rotate_ccw.title=နာရီလက်တံ ပြောင်းပြန် +page_rotate_ccw_label=နာရီလက်တံ ပြောင်းပြန် + + + + +# Document properties dialog box +document_properties.title=မှတ်တမ်းမှတ်ရာ ဂုဏ်သတ္တိများ +document_properties_label=မှတ်တမ်းမှတ်ရာ ဂုဏ်သတ္တိများ +document_properties_file_name=ဖိုင် : +document_properties_file_size=ဖိုင်ဆိုဒ် : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} ကီလိုဘိုတ် ({{size_b}}ဘိုတ်) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=ခေါင်းစဉ် - +document_properties_author=ရေးသားသူ: +document_properties_subject=အကြောင်းအရာ:\u0020 +document_properties_keywords=သော့ချက် စာလုံး: +document_properties_creation_date=ထုတ်လုပ်ရက်စွဲ: +document_properties_modification_date=ပြင်ဆင်ရက်စွဲ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ဖန်တီးသူ: +document_properties_producer=PDF ထုတ်လုပ်သူ: +document_properties_version=PDF ဗားရှင်း: +document_properties_page_count=စာမျက်နှာအရေအတွက်: +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_close=ပိတ် + +print_progress_message=Preparing document for printing… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ပယ်ဖျက်ပါ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ဘေးတန်းဖွင့်ပိတ် +toggle_sidebar_label=ဖွင့်ပိတ် ဆလိုက်ဒါ +document_outline.title=စာတမ်းအကျဉ်းချုပ်ကို ပြပါ (စာရင်းအားလုံးကို ချုံ့/ချဲ့ရန် ကလစ်နှစ်ချက်နှိပ်ပါ) +document_outline_label=စာတမ်းအကျဉ်းချုပ် +attachments.title=တွဲချက်များ ပြပါ +attachments_label=တွဲထားချက်များ +thumbs.title=ပုံရိပ်ငယ်များကို ပြပါ +thumbs_label=ပုံရိပ်ငယ်များ +findbar.title=Find in Document +findbar_label=ရှာဖွေပါ + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=စာမျက်နှာ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=စာမျက်နှာရဲ့ ပုံရိပ်ငယ် {{page}} + +# Find panel button title and messages +find_input.title=ရှာဖွေပါ +find_input.placeholder=စာတမ်းထဲတွင် ရှာဖွေရန်… +find_previous.title=စကားစုရဲ့ အရင် ဖြစ်ပွားမှုကို ရှာဖွေပါ +find_previous_label=နောက်သို့ +find_next.title=စကားစုရဲ့ နောက်ထပ် ဖြစ်ပွားမှုကို ရှာဖွေပါ +find_next_label=ရှေ့သို့ +find_highlight=အားလုံးကို မျဉ်းသားပါ +find_match_case_label=စာလုံး တိုက်ဆိုင်ပါ +find_reached_top=စာမျက်နှာထိပ် ရောက်နေပြီ၊ အဆုံးကနေ ပြန်စပါ +find_reached_bottom=စာမျက်နှာအဆုံး ရောက်နေပြီ၊ ထိပ်ကနေ ပြန်စပါ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_not_found=စကားစု မတွေ့ရဘူး + +# Error panel labels +error_more_info=နောက်ထပ်အချက်အလက်များ +error_less_info=အနည်းငယ်မျှသော သတင်းအချက်အလက် +error_close=ပိတ် +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=မက်ဆေ့ - {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=အထပ် - {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ဖိုင် {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=လိုင်း - {{line}} +rendering_error=စာမျက်နှာကို ပုံဖော်နေချိန်မှာ အမှားတစ်ခုတွေ့ရပါတယ်။ + +# Predefined zoom values +page_scale_width=စာမျက်နှာ အကျယ် +page_scale_fit=စာမျက်နှာ ကွက်တိ +page_scale_auto=အလိုအလျောက် ချုံ့ချဲ့ +page_scale_actual=အမှန်တကယ်ရှိတဲ့ အရွယ် +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF ဖိုင် ကိုဆွဲတင်နေချိန်မှာ အမှားတစ်ခုတွေ့ရပါတယ်။ +invalid_file_error=မရသော သို့ ပျက်နေသော PDF ဖိုင် +missing_file_error=PDF ပျောက်ဆုံး +unexpected_response_error=မမျှော်လင့်ထားသော ဆာဗာမှ ပြန်ကြားချက် + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} အဓိပ္ပာယ်ဖွင့်ဆိုချက်] +password_label=ယခု PDF ကို ဖွင့်ရန် စကားဝှက်ကို ရိုက်ပါ။ +password_invalid=စာဝှက် မှားသည်။ ထပ်ကြိုးစားကြည့်ပါ။ +password_ok=OK +password_cancel=ပယ်ဖျက်ပါ + +printing_not_supported=သတိပေးချက်၊ပရင့်ထုတ်ခြင်းကိုဤဘယောက်ဆာသည် ပြည့်ဝစွာထောက်ပံ့မထားပါ ။ +printing_not_ready=သတိပေးချက်: ယခု PDF ဖိုင်သည် ပုံနှိပ်ရန် မပြည့်စုံပါ +web_fonts_disabled=Web fonts are disabled: unable to use embedded PDF fonts. + diff --git a/media/js/pdf/web/locale/nb-NO/viewer.properties b/media/js/pdf/web/locale/nb-NO/viewer.properties new file mode 100644 index 0000000000..27394cd2cc --- /dev/null +++ b/media/js/pdf/web/locale/nb-NO/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Forrige side +previous_label=Forrige +next.title=Neste side +next_label=Neste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zoom ut +zoom_out_label=Zoom ut +zoom_in.title=Zoom inn +zoom_in_label=Zoom inn +zoom.title=Zoom +presentation_mode.title=Bytt til presentasjonsmodus +presentation_mode_label=Presentasjonsmodus +open_file.title=Åpne fil +open_file_label=Åpne +print.title=Skriv ut +print_label=Skriv ut +download.title=Last ned +download_label=Last ned +bookmark.title=Nåværende visning (kopier eller åpne i et nytt vindu) +bookmark_label=Nåværende visning + +save.title=Lagre +save_label=Lagre +bookmark1.title=Gjeldende side (se URL fra gjeldende side) +bookmark1_label=Gjeldende side + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Åpne i app +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Åpne i app + +# Secondary toolbar and context menu +tools.title=Verktøy +tools_label=Verktøy +first_page.title=Gå til første side +first_page_label=Gå til første side +last_page.title=Gå til siste side +last_page_label=Gå til siste side +page_rotate_cw.title=Roter med klokken +page_rotate_cw_label=Roter med klokken +page_rotate_ccw.title=Roter mot klokken +page_rotate_ccw_label=Roter mot klokken + +cursor_text_select_tool.title=Aktiver tekstmarkeringsverktøy +cursor_text_select_tool_label=Tekstmarkeringsverktøy +cursor_hand_tool.title=Aktiver handverktøy +cursor_hand_tool_label=Handverktøy + +scroll_page.title=Bruk siderulling +scroll_page_label=Siderulling +scroll_vertical.title=Bruk vertikal rulling +scroll_vertical_label=Vertikal rulling +scroll_horizontal.title=Bruk horisontal rulling +scroll_horizontal_label=Horisontal rulling +scroll_wrapped.title=Bruk flersiderulling +scroll_wrapped_label=Flersiderulling + +spread_none.title=Vis enkeltsider +spread_none_label=Enkeltsider +spread_odd.title=Vis oppslag med ulike sidenumre til venstre +spread_odd_label=Oppslag med forside +spread_even.title=Vis oppslag med like sidenumre til venstre +spread_even_label=Oppslag uten forside + +# Document properties dialog box +document_properties.title=Dokumentegenskaper … +document_properties_label=Dokumentegenskaper … +document_properties_file_name=Filnavn: +document_properties_file_size=Filstørrelse: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Dokumentegenskaper … +document_properties_author=Forfatter: +document_properties_subject=Emne: +document_properties_keywords=Nøkkelord: +document_properties_creation_date=Opprettet dato: +document_properties_modification_date=Endret dato: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Opprettet av: +document_properties_producer=PDF-verktøy: +document_properties_version=PDF-versjon: +document_properties_page_count=Sideantall: +document_properties_page_size=Sidestørrelse: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=stående +document_properties_page_size_orientation_landscape=liggende +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Hurtig nettvisning: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nei +document_properties_close=Lukk + +print_progress_message=Forbereder dokument for utskrift … +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Slå av/på sidestolpe +toggle_sidebar_notification2.title=Vis/gjem sidestolpe (dokumentet inneholder oversikt/vedlegg/lag) +toggle_sidebar_label=Slå av/på sidestolpe +document_outline.title=Vis dokumentdisposisjonen (dobbeltklikk for å utvide/skjule alle elementer) +document_outline_label=Dokumentdisposisjon +attachments.title=Vis vedlegg +attachments_label=Vedlegg +layers.title=Vis lag (dobbeltklikk for å tilbakestille alle lag til standardtilstand) +layers_label=Lag +thumbs.title=Vis miniatyrbilde +thumbs_label=Miniatyrbilde +current_outline_item.title=Finn gjeldende disposisjonselement +current_outline_item_label=Gjeldende disposisjonselement +findbar.title=Finn i dokumentet +findbar_label=Finn + +additional_layers=Ytterligere lag +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Side {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Side {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatyrbilde av side {{page}} + +# Find panel button title and messages +find_input.title=Søk +find_input.placeholder=Søk i dokument… +find_previous.title=Finn forrige forekomst av frasen +find_previous_label=Forrige +find_next.title=Finn neste forekomst av frasen +find_next_label=Neste +find_highlight=Uthev alle +find_match_case_label=Skill store/små bokstaver +find_match_diacritics_label=Samsvar diakritiske tegn +find_entire_word_label=Hele ord +find_reached_top=Nådde toppen av dokumentet, fortsetter fra bunnen +find_reached_bottom=Nådde bunnen av dokumentet, fortsetter fra toppen +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} av {{total}} treff +find_match_count[two]={{current}} av {{total}} treff +find_match_count[few]={{current}} av {{total}} treff +find_match_count[many]={{current}} av {{total}} treff +find_match_count[other]={{current}} av {{total}} treff +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mer enn {{limit}} treff +find_match_count_limit[one]=Mer enn {{limit}} treff +find_match_count_limit[two]=Mer enn {{limit}} treff +find_match_count_limit[few]=Mer enn {{limit}} treff +find_match_count_limit[many]=Mer enn {{limit}} treff +find_match_count_limit[other]=Mer enn {{limit}} treff +find_not_found=Fant ikke teksten + +# Error panel labels +error_more_info=Mer info +error_less_info=Mindre info +error_close=Lukk +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (bygg: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Melding: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stakk: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} + +# Predefined zoom values +page_scale_width=Sidebredde +page_scale_fit=Tilpass til siden +page_scale_auto=Automatisk zoom +page_scale_actual=Virkelig størrelse +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Laster… + +# Loading indicator messages +loading_error=En feil oppstod ved lasting av PDF. +invalid_file_error=Ugyldig eller skadet PDF-fil. +missing_file_error=Manglende PDF-fil. +unexpected_response_error=Uventet serverrespons. + +rendering_error=En feil oppstod ved opptegning av siden. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} annotasjon] +password_label=Skriv inn passordet for å åpne denne PDF-filen. +password_invalid=Ugyldig passord. Prøv igjen. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=Advarsel: Utskrift er ikke fullstendig støttet av denne nettleseren. +printing_not_ready=Advarsel: PDF er ikke fullstendig innlastet for utskrift. +web_fonts_disabled=Web-fonter er avslått: Kan ikke bruke innbundne PDF-fonter. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Tegn +editor_ink2_label=Tegn + +free_text2_default_content=Begynn å skrive… + +# Editor Parameters +editor_free_text_color=Farge +editor_free_text_size=Størrelse +editor_ink_color=Farge +editor_ink_thickness=Tykkelse +editor_ink_opacity=Ugjennomsiktighet + +# Editor aria +editor_free_text2_aria_label=Tekstredigering +editor_ink2_aria_label=Tegneredigering +editor_ink_canvas_aria_label=Brukerskapt bilde diff --git a/media/js/pdf/web/locale/ne-NP/viewer.properties b/media/js/pdf/web/locale/ne-NP/viewer.properties new file mode 100644 index 0000000000..cb7e4244f8 --- /dev/null +++ b/media/js/pdf/web/locale/ne-NP/viewer.properties @@ -0,0 +1,218 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=अघिल्लो पृष्ठ +previous_label=अघिल्लो +next.title=पछिल्लो पृष्ठ +next_label=पछिल्लो + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=पृष्ठ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} मध्ये +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pagesCount}} को {{pageNumber}}) + +zoom_out.title=जुम घटाउनुहोस् +zoom_out_label=जुम घटाउनुहोस् +zoom_in.title=जुम बढाउनुहोस् +zoom_in_label=जुम बढाउनुहोस् +zoom.title=जुम गर्नुहोस् +presentation_mode.title=प्रस्तुति मोडमा जानुहोस् +presentation_mode_label=प्रस्तुति मोड +open_file.title=फाइल खोल्नुहोस् +open_file_label=खोल्नुहोस् +print.title=मुद्रण गर्नुहोस् +print_label=मुद्रण गर्नुहोस् +download.title=डाउनलोडहरू +download_label=डाउनलोडहरू +bookmark.title=वर्तमान दृश्य (प्रतिलिपि गर्नुहोस् वा नयाँ सञ्झ्यालमा खुल्नुहोस्) +bookmark_label=हालको दृश्य + +# Secondary toolbar and context menu +tools.title=औजारहरू +tools_label=औजारहरू +first_page.title=पहिलो पृष्ठमा जानुहोस् +first_page_label=पहिलो पृष्ठमा जानुहोस् +last_page.title=पछिल्लो पृष्ठमा जानुहोस् +last_page_label=पछिल्लो पृष्ठमा जानुहोस् +page_rotate_cw.title=घडीको दिशामा घुमाउनुहोस् +page_rotate_cw_label=घडीको दिशामा घुमाउनुहोस् +page_rotate_ccw.title=घडीको विपरित दिशामा घुमाउनुहोस् +page_rotate_ccw_label=घडीको विपरित दिशामा घुमाउनुहोस् + +cursor_text_select_tool.title=पाठ चयन उपकरण सक्षम गर्नुहोस् +cursor_text_select_tool_label=पाठ चयन उपकरण +cursor_hand_tool.title=हाते उपकरण सक्षम गर्नुहोस् +cursor_hand_tool_label=हाते उपकरण + +scroll_vertical.title=ठाडो स्क्रोलिङ्ग प्रयोग गर्नुहोस् +scroll_vertical_label=ठाडो स्क्र्रोलिङ्ग +scroll_horizontal.title=तेर्सो स्क्रोलिङ्ग प्रयोग गर्नुहोस् +scroll_horizontal_label=तेर्सो स्क्रोलिङ्ग +scroll_wrapped.title=लिपि स्क्रोलिङ्ग प्रयोग गर्नुहोस् +scroll_wrapped_label=लिपि स्क्रोलिङ्ग + +spread_none.title=पृष्ठ स्प्रेडमा सामेल हुनुहुन्न +spread_none_label=स्प्रेड छैन + +# Document properties dialog box +document_properties.title=कागजात विशेषताहरू... +document_properties_label=कागजात विशेषताहरू... +document_properties_file_name=फाइल नाम: +document_properties_file_size=फाइल आकार: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=शीर्षक: +document_properties_author=लेखक: +document_properties_subject=विषयः +document_properties_keywords=शब्दकुञ्जीः +document_properties_creation_date=सिर्जना गरिएको मिति: +document_properties_modification_date=परिमार्जित मिति: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=सर्जक: +document_properties_producer=PDF निर्माता: +document_properties_version=PDF संस्करण +document_properties_page_count=पृष्ठ गणना: +document_properties_page_size=पृष्ठ आकार: +document_properties_page_size_unit_inches=इन्च +document_properties_page_size_unit_millimeters=मि.मि. +document_properties_page_size_orientation_portrait=पोट्रेट +document_properties_page_size_orientation_landscape=परिदृश्य +document_properties_page_size_name_letter=अक्षर +document_properties_page_size_name_legal=कानूनी +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=हो +document_properties_linearized_no=होइन +document_properties_close=बन्द गर्नुहोस् + +print_progress_message=मुद्रणका लागि कागजात तयारी गरिदै… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=रद्द गर्नुहोस् + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=टगल साइडबार +toggle_sidebar_label=टगल साइडबार +document_outline.title=कागजातको रूपरेखा देखाउनुहोस् (सबै वस्तुहरू विस्तार/पतन गर्न डबल-क्लिक गर्नुहोस्) +document_outline_label=दस्तावेजको रूपरेखा +attachments.title=संलग्नहरू देखाउनुहोस् +attachments_label=संलग्नकहरू +thumbs.title=थम्बनेलहरू देखाउनुहोस् +thumbs_label=थम्बनेलहरू +findbar.title=कागजातमा फेला पार्नुहोस् +findbar_label=फेला पार्नुहोस् + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=पृष्ठ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} पृष्ठको थम्बनेल + +# Find panel button title and messages +find_input.title=फेला पार्नुहोस् +find_input.placeholder=कागजातमा फेला पार्नुहोस्… +find_previous.title=यस वाक्यांशको अघिल्लो घटना फेला पार्नुहोस् +find_previous_label=अघिल्लो +find_next.title=यस वाक्यांशको पछिल्लो घटना फेला पार्नुहोस् +find_next_label=अर्को +find_highlight=सबै हाइलाइट गर्ने +find_match_case_label=केस जोडा मिलाउनुहोस् +find_entire_word_label=पुरा शब्दहरु +find_reached_top=पृष्ठको शिर्षमा पुगीयो, तलबाट जारी गरिएको थियो +find_reached_bottom=पृष्ठको अन्त्यमा पुगीयो, शिर्षबाट जारी गरिएको थियो +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_not_found=वाक्यांश फेला परेन + +# Error panel labels +error_more_info=थप जानकारी +error_less_info=कम जानकारी +error_close=बन्द गर्नुहोस् +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=सन्देश: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=स्ट्याक: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=फाइल: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=लाइन: {{line}} +rendering_error=पृष्ठ प्रतिपादन गर्दा एउटा त्रुटि देखापर्यो। + +# Predefined zoom values +page_scale_width=पृष्ठ चौडाइ +page_scale_fit=पृष्ठ ठिक्क मिल्ने +page_scale_auto=स्वचालित जुम +page_scale_actual=वास्तविक आकार +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=यो PDF लोड गर्दा एउटा त्रुटि देखापर्यो। +invalid_file_error=अवैध वा दुषित PDF फाइल। +missing_file_error=हराईरहेको PDF फाइल। +unexpected_response_error=अप्रत्याशित सर्भर प्रतिक्रिया। + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=यस PDF फाइललाई खोल्न गोप्यशब्द प्रविष्ट गर्नुहोस्। +password_invalid=अवैध गोप्यशब्द। पुनः प्रयास गर्नुहोस्। +password_ok=ठिक छ +password_cancel=रद्द गर्नुहोस् + +printing_not_supported=चेतावनी: यो ब्राउजरमा मुद्रण पूर्णतया समर्थित छैन। +printing_not_ready=चेतावनी: PDF मुद्रणका लागि पूर्णतया लोड भएको छैन। +web_fonts_disabled=वेब फन्ट असक्षम छन्: एम्बेडेड PDF फन्ट प्रयोग गर्न असमर्थ। + diff --git a/media/js/pdf/web/locale/nl/viewer.properties b/media/js/pdf/web/locale/nl/viewer.properties new file mode 100644 index 0000000000..be7cd7f751 --- /dev/null +++ b/media/js/pdf/web/locale/nl/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Vorige pagina +previous_label=Vorige +next.title=Volgende pagina +next_label=Volgende + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=van {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} van {{pagesCount}}) + +zoom_out.title=Uitzoomen +zoom_out_label=Uitzoomen +zoom_in.title=Inzoomen +zoom_in_label=Inzoomen +zoom.title=Zoomen +presentation_mode.title=Wisselen naar presentatiemodus +presentation_mode_label=Presentatiemodus +open_file.title=Bestand openen +open_file_label=Openen +print.title=Afdrukken +print_label=Afdrukken +download.title=Downloaden +download_label=Downloaden +bookmark.title=Huidige weergave (kopiëren of openen in nieuw venster) +bookmark_label=Huidige weergave + +save.title=Opslaan +save_label=Opslaan +bookmark1.title=Huidige pagina (URL van huidige pagina bekijken) +bookmark1_label=Huidige pagina + +open_in_app.title=Openen in app +open_in_app_label=Openen in app + +# Secondary toolbar and context menu +tools.title=Hulpmiddelen +tools_label=Hulpmiddelen +first_page.title=Naar eerste pagina gaan +first_page_label=Naar eerste pagina gaan +last_page.title=Naar laatste pagina gaan +last_page_label=Naar laatste pagina gaan +page_rotate_cw.title=Rechtsom draaien +page_rotate_cw_label=Rechtsom draaien +page_rotate_ccw.title=Linksom draaien +page_rotate_ccw_label=Linksom draaien + +cursor_text_select_tool.title=Tekstselectiehulpmiddel inschakelen +cursor_text_select_tool_label=Tekstselectiehulpmiddel +cursor_hand_tool.title=Handhulpmiddel inschakelen +cursor_hand_tool_label=Handhulpmiddel + +scroll_page.title=Paginascrollen gebruiken +scroll_page_label=Paginascrollen +scroll_vertical.title=Verticaal scrollen gebruiken +scroll_vertical_label=Verticaal scrollen +scroll_horizontal.title=Horizontaal scrollen gebruiken +scroll_horizontal_label=Horizontaal scrollen +scroll_wrapped.title=Scrollen met terugloop gebruiken +scroll_wrapped_label=Scrollen met terugloop + +spread_none.title=Dubbele pagina’s niet samenvoegen +spread_none_label=Geen dubbele pagina’s +spread_odd.title=Dubbele pagina’s samenvoegen vanaf oneven pagina’s +spread_odd_label=Oneven dubbele pagina’s +spread_even.title=Dubbele pagina’s samenvoegen vanaf even pagina’s +spread_even_label=Even dubbele pagina’s + +# Document properties dialog box +document_properties.title=Documenteigenschappen… +document_properties_label=Documenteigenschappen… +document_properties_file_name=Bestandsnaam: +document_properties_file_size=Bestandsgrootte: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Auteur: +document_properties_subject=Onderwerp: +document_properties_keywords=Sleutelwoorden: +document_properties_creation_date=Aanmaakdatum: +document_properties_modification_date=Wijzigingsdatum: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Maker: +document_properties_producer=PDF-producent: +document_properties_version=PDF-versie: +document_properties_page_count=Aantal pagina’s: +document_properties_page_size=Paginagrootte: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=staand +document_properties_page_size_orientation_landscape=liggend +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Snelle webweergave: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nee +document_properties_close=Sluiten + +print_progress_message=Document voorbereiden voor afdrukken… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Annuleren + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Zijbalk in-/uitschakelen +toggle_sidebar_notification2.title=Zijbalk in-/uitschakelen (document bevat overzicht/bijlagen/lagen) +toggle_sidebar_label=Zijbalk in-/uitschakelen +document_outline.title=Documentoverzicht tonen (dubbelklik om alle items uit/samen te vouwen) +document_outline_label=Documentoverzicht +attachments.title=Bijlagen tonen +attachments_label=Bijlagen +layers.title=Lagen tonen (dubbelklik om alle lagen naar de standaardstatus terug te zetten) +layers_label=Lagen +thumbs.title=Miniaturen tonen +thumbs_label=Miniaturen +current_outline_item.title=Huidig item in inhoudsopgave zoeken +current_outline_item_label=Huidig item in inhoudsopgave +findbar.title=Zoeken in document +findbar_label=Zoeken + +additional_layers=Aanvullende lagen +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pagina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatuur van pagina {{page}} + +# Find panel button title and messages +find_input.title=Zoeken +find_input.placeholder=Zoeken in document… +find_previous.title=De vorige overeenkomst van de tekst zoeken +find_previous_label=Vorige +find_next.title=De volgende overeenkomst van de tekst zoeken +find_next_label=Volgende +find_highlight=Alles markeren +find_match_case_label=Hoofdlettergevoelig +find_match_diacritics_label=Diakritische tekens gebruiken +find_entire_word_label=Hele woorden +find_reached_top=Bovenkant van document bereikt, doorgegaan vanaf onderkant +find_reached_bottom=Onderkant van document bereikt, doorgegaan vanaf bovenkant +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} van {{total}} overeenkomst +find_match_count[two]={{current}} van {{total}} overeenkomsten +find_match_count[few]={{current}} van {{total}} overeenkomsten +find_match_count[many]={{current}} van {{total}} overeenkomsten +find_match_count[other]={{current}} van {{total}} overeenkomsten +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Meer dan {{limit}} overeenkomsten +find_match_count_limit[one]=Meer dan {{limit}} overeenkomst +find_match_count_limit[two]=Meer dan {{limit}} overeenkomsten +find_match_count_limit[few]=Meer dan {{limit}} overeenkomsten +find_match_count_limit[many]=Meer dan {{limit}} overeenkomsten +find_match_count_limit[other]=Meer dan {{limit}} overeenkomsten +find_not_found=Tekst niet gevonden + +# Error panel labels +error_more_info=Meer informatie +error_less_info=Minder informatie +error_close=Sluiten +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Bericht: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Bestand: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Regel: {{line}} + +# Predefined zoom values +page_scale_width=Paginabreedte +page_scale_fit=Hele pagina +page_scale_auto=Automatisch zoomen +page_scale_actual=Werkelijke grootte +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Laden… + +# Loading indicator messages +loading_error=Er is een fout opgetreden bij het laden van de PDF. +invalid_file_error=Ongeldig of beschadigd PDF-bestand. +missing_file_error=PDF-bestand ontbreekt. +unexpected_response_error=Onverwacht serverantwoord. + +rendering_error=Er is een fout opgetreden bij het weergeven van de pagina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-aantekening] +password_label=Voer het wachtwoord in om dit PDF-bestand te openen. +password_invalid=Ongeldig wachtwoord. Probeer het opnieuw. +password_ok=OK +password_cancel=Annuleren + +printing_not_supported=Waarschuwing: afdrukken wordt niet volledig ondersteund door deze browser. +printing_not_ready=Waarschuwing: de PDF is niet volledig geladen voor afdrukken. +web_fonts_disabled=Weblettertypen zijn uitgeschakeld: gebruik van ingebedde PDF-lettertypen is niet mogelijk. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Tekenen +editor_ink2_label=Tekenen + +free_text2_default_content=Begin met typen… + +# Editor Parameters +editor_free_text_color=Kleur +editor_free_text_size=Grootte +editor_ink_color=Kleur +editor_ink_thickness=Dikte +editor_ink_opacity=Opaciteit + +# Editor aria +editor_free_text2_aria_label=Tekstbewerker +editor_ink2_aria_label=Tekeningbewerker +editor_ink_canvas_aria_label=Door gebruiker gemaakte afbeelding diff --git a/media/js/pdf/web/locale/nn-NO/viewer.properties b/media/js/pdf/web/locale/nn-NO/viewer.properties new file mode 100644 index 0000000000..3ce6d6cdb7 --- /dev/null +++ b/media/js/pdf/web/locale/nn-NO/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Føregåande side +previous_label=Føregåande +next.title=Neste side +next_label=Neste + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Side +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zoom ut +zoom_out_label=Zoom ut +zoom_in.title=Zoom inn +zoom_in_label=Zoom inn +zoom.title=Zoom +presentation_mode.title=Byt til presentasjonsmodus +presentation_mode_label=Presentasjonsmodus +open_file.title=Opne fil +open_file_label=Opne +print.title=Skriv ut +print_label=Skriv ut +download.title=Last ned +download_label=Last ned +bookmark.title=Gjeldande vising (kopier eller opne i nytt vindauge) +bookmark_label=Gjeldande vising + +save.title=Lagre +save_label=Lagre +bookmark1.title=Gjeldande side (sjå URL frå gjeldande side) +bookmark1_label=Gjeldande side + +open_in_app.title=Opne i app +open_in_app_label=Opne i app + +# Secondary toolbar and context menu +tools.title=Verktøy +tools_label=Verktøy +first_page.title=Gå til første side +first_page_label=Gå til første side +last_page.title=Gå til siste side +last_page_label=Gå til siste side +page_rotate_cw.title=Roter med klokka +page_rotate_cw_label=Roter med klokka +page_rotate_ccw.title=Roter mot klokka +page_rotate_ccw_label=Roter mot klokka + +cursor_text_select_tool.title=Aktiver tekstmarkeringsverktøy +cursor_text_select_tool_label=Tekstmarkeringsverktøy +cursor_hand_tool.title=Aktiver handverktøy +cursor_hand_tool_label=Handverktøy + +scroll_page.title=Bruk siderulling +scroll_page_label=Siderulling +scroll_vertical.title=Bruk vertikal rulling +scroll_vertical_label=Vertikal rulling +scroll_horizontal.title=Bruk horisontal rulling +scroll_horizontal_label=Horisontal rulling +scroll_wrapped.title=Bruk fleirsiderulling +scroll_wrapped_label=Fleirsiderulling + +spread_none.title=Vis enkeltsider +spread_none_label=Enkeltside +spread_odd.title=Vis oppslag med ulike sidenummer til venstre +spread_odd_label=Oppslag med framside +spread_even.title=Vis oppslag med like sidenummmer til venstre +spread_even_label=Oppslag utan framside + +# Document properties dialog box +document_properties.title=Dokumenteigenskapar… +document_properties_label=Dokumenteigenskapar… +document_properties_file_name=Filnamn: +document_properties_file_size=Filstorleik: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tittel: +document_properties_author=Forfattar: +document_properties_subject=Emne: +document_properties_keywords=Stikkord: +document_properties_creation_date=Dato oppretta: +document_properties_modification_date=Dato endra: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Oppretta av: +document_properties_producer=PDF-verktøy: +document_properties_version=PDF-versjon: +document_properties_page_count=Sidetal: +document_properties_page_size=Sidestørrelse: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=ståande +document_properties_page_size_orientation_landscape=liggande +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Brev +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Rask nettvising: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nei +document_properties_close=Lat att + +print_progress_message=Førebur dokumentet for utskrift… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Slå av/på sidestolpe +toggle_sidebar_notification2.title=Vis/gøym sidestolpe (dokumentet inneheld oversikt/vedlegg/lag) +toggle_sidebar_label=Slå av/på sidestolpe +document_outline.title=Vis dokumentdisposisjonen (dobbelklikk for å utvide/gøyme alle elementa) +document_outline_label=Dokumentdisposisjon +attachments.title=Vis vedlegg +attachments_label=Vedlegg +layers.title=Vis lag (dobbeltklikk for å tilbakestille alle lag til standardtilstand) +layers_label=Lag +thumbs.title=Vis miniatyrbilde +thumbs_label=Miniatyrbilde +current_outline_item.title=Finn gjeldande disposisjonselement +current_outline_item_label=Gjeldande disposisjonselement +findbar.title=Finn i dokumentet +findbar_label=Finn + +additional_layers=Ytterlegare lag +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Side {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Side {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatyrbilde av side {{page}} + +# Find panel button title and messages +find_input.title=Søk +find_input.placeholder=Søk i dokument… +find_previous.title=Finn førre førekomst av frasen +find_previous_label=Førre +find_next.title=Finn neste førekomst av frasen +find_next_label=Neste +find_highlight=Uthev alle +find_match_case_label=Skil store/små bokstavar +find_match_diacritics_label=Samsvar diakritiske teikn +find_entire_word_label=Heile ord +find_reached_top=Nådde toppen av dokumentet, fortset frå botnen +find_reached_bottom=Nådde botnen av dokumentet, fortset frå toppen +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} av {{total}} treff +find_match_count[two]={{current}} av {{total}} treff +find_match_count[few]={{current}} av {{total}} treff +find_match_count[many]={{current}} av {{total}} treff +find_match_count[other]={{current}} av {{total}} treff +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Meir enn {{limit}} treff +find_match_count_limit[one]=Meir enn {{limit}} treff +find_match_count_limit[two]=Meir enn {{limit}} treff +find_match_count_limit[few]=Meir enn {{limit}} treff +find_match_count_limit[many]=Meir enn {{limit}} treff +find_match_count_limit[other]=Meir enn {{limit}} treff +find_not_found=Fann ikkje teksten + +# Error panel labels +error_more_info=Meir info +error_less_info=Mindre info +error_close=Lat att +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (bygg: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Melding: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stakk: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linje: {{line}} + +# Predefined zoom values +page_scale_width=Sidebreidde +page_scale_fit=Tilpass til sida +page_scale_auto=Automatisk skalering +page_scale_actual=Verkeleg storleik +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Lastar… + +# Loading indicator messages +loading_error=Ein feil oppstod ved lasting av PDF. +invalid_file_error=Ugyldig eller korrupt PDF-fil. +missing_file_error=Manglande PDF-fil. +unexpected_response_error=Uventa tenarrespons. + +rendering_error=Ein feil oppstod under vising av sida. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} annotasjon] +password_label=Skriv inn passordet for å opne denne PDF-fila. +password_invalid=Ugyldig passord. Prøv på nytt. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=Åtvaring: Utskrift er ikkje fullstendig støtta av denne nettlesaren. +printing_not_ready=Åtvaring: PDF ikkje fullstendig innlasta for utskrift. +web_fonts_disabled=Web-skrifter er slått av: Kan ikkje bruke innbundne PDF-skrifter. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Teikne +editor_ink2_label=Teikne + +free_text2_default_content=Byrje å skrive… + +# Editor Parameters +editor_free_text_color=Farge +editor_free_text_size=Storleik +editor_ink_color=Farge +editor_ink_thickness=Tjukkleik +editor_ink_opacity=Ugjennomskinleg + +# Editor aria +editor_free_text2_aria_label=Tekstredigering +editor_ink2_aria_label=Teikneredigering +editor_ink_canvas_aria_label=Brukarskapt bilde diff --git a/media/js/pdf/web/locale/oc/viewer.properties b/media/js/pdf/web/locale/oc/viewer.properties new file mode 100644 index 0000000000..56becd4f17 --- /dev/null +++ b/media/js/pdf/web/locale/oc/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagina precedenta +previous_label=Precedent +next.title=Pagina seguenta +next_label=Seguent + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=sus {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Zoom arrièr +zoom_out_label=Zoom arrièr +zoom_in.title=Zoom avant +zoom_in_label=Zoom avant +zoom.title=Zoom +presentation_mode.title=Bascular en mòde presentacion +presentation_mode_label=Mòde Presentacion +open_file.title=Dobrir lo fichièr +open_file_label=Dobrir +print.title=Imprimir +print_label=Imprimir +download.title=Telecargar +download_label=Telecargar +bookmark.title=Afichatge corrent (copiar o dobrir dins una fenèstra novèla) +bookmark_label=Afichatge actual + +save.title=Enregistrar +save_label=Enregistrar +bookmark1.title=Pagina actuala (mostrar l’adreça de la pagina actuala) +bookmark1_label=Pagina actuala + +open_in_app.title=Dobrir amb l’aplicacion +open_in_app_label=Dobrir amb l’aplicacion + +# Secondary toolbar and context menu +tools.title=Aisinas +tools_label=Aisinas +first_page.title=Anar a la primièra pagina +first_page_label=Anar a la primièra pagina +last_page.title=Anar a la darrièra pagina +last_page_label=Anar a la darrièra pagina +page_rotate_cw.title=Rotacion orària +page_rotate_cw_label=Rotacion orària +page_rotate_ccw.title=Rotacion antiorària +page_rotate_ccw_label=Rotacion antiorària + +cursor_text_select_tool.title=Activar l'aisina de seleccion de tèxte +cursor_text_select_tool_label=Aisina de seleccion de tèxte +cursor_hand_tool.title=Activar l’aisina man +cursor_hand_tool_label=Aisina man + +scroll_page.title=Activar lo defilament per pagina +scroll_page_label=Defilament per pagina +scroll_vertical.title=Utilizar lo defilament vertical +scroll_vertical_label=Defilament vertical +scroll_horizontal.title=Utilizar lo defilament orizontal +scroll_horizontal_label=Defilament orizontal +scroll_wrapped.title=Activar lo defilament continú +scroll_wrapped_label=Defilament continú + +spread_none.title=Agropar pas las paginas doas a doas +spread_none_label=Una sola pagina +spread_odd.title=Mostrar doas paginas en començant per las paginas imparas a esquèrra +spread_odd_label=Dobla pagina, impara a drecha +spread_even.title=Mostrar doas paginas en començant per las paginas paras a esquèrra +spread_even_label=Dobla pagina, para a drecha + +# Document properties dialog box +document_properties.title=Proprietats del document… +document_properties_label=Proprietats del document… +document_properties_file_name=Nom del fichièr : +document_properties_file_size=Talha del fichièr : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} Ko ({{size_b}} octets) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} Mo ({{size_b}} octets) +document_properties_title=Títol : +document_properties_author=Autor : +document_properties_subject=Subjècte : +document_properties_keywords=Mots claus : +document_properties_creation_date=Data de creacion : +document_properties_modification_date=Data de modificacion : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, a {{time}} +document_properties_creator=Creator : +document_properties_producer=Aisina de conversion PDF : +document_properties_version=Version PDF : +document_properties_page_count=Nombre de paginas : +document_properties_page_size=Talha de la pagina : +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=retrach +document_properties_page_size_orientation_landscape=païsatge +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letra +document_properties_page_size_name_legal=Document juridic +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web rapida : +document_properties_linearized_yes=Òc +document_properties_linearized_no=Non +document_properties_close=Tampar + +print_progress_message=Preparacion del document per l’impression… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anullar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Afichar/amagar lo panèl lateral +toggle_sidebar_notification2.title=Afichar/amagar lo panèl lateral (lo document conten esquèmas/pèças juntas/calques) +toggle_sidebar_label=Afichar/amagar lo panèl lateral +document_outline.title=Mostrar los esquèmas del document (dobleclicar per espandre/reduire totes los elements) +document_outline_label=Marcapaginas del document +attachments.title=Visualizar las pèças juntas +attachments_label=Pèças juntas +layers.title=Afichar los calques (doble-clicar per reïnicializar totes los calques a l’estat per defaut) +layers_label=Calques +thumbs.title=Afichar las vinhetas +thumbs_label=Vinhetas +current_outline_item.title=Trobar l’element de plan actual +current_outline_item_label=Element de plan actual +findbar.title=Cercar dins lo document +findbar_label=Recercar + +additional_layers=Calques suplementaris +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pagina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Vinheta de la pagina {{page}} + +# Find panel button title and messages +find_input.title=Recercar +find_input.placeholder=Cercar dins lo document… +find_previous.title=Tròba l'ocurréncia precedenta de la frasa +find_previous_label=Precedent +find_next.title=Tròba l'ocurréncia venenta de la frasa +find_next_label=Seguent +find_highlight=Suslinhar tot +find_match_case_label=Respectar la cassa +find_match_diacritics_label=Respectar los diacritics +find_entire_word_label=Mots entièrs +find_reached_top=Naut de la pagina atenh, perseguida del bas +find_reached_bottom=Bas de la pagina atench, perseguida al començament +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Ocuréncia {{current}} sus {{total}} +find_match_count[two]=Ocuréncia {{current}} sus {{total}} +find_match_count[few]=Ocuréncia {{current}} sus {{total}} +find_match_count[many]=Ocuréncia {{current}} sus {{total}} +find_match_count[other]=Ocuréncia {{current}} sus {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mai de {{limit}} ocuréncias +find_match_count_limit[one]=Mai de {{limit}} ocuréncia +find_match_count_limit[two]=Mai de {{limit}} ocuréncias +find_match_count_limit[few]=Mai de {{limit}} ocuréncias +find_match_count_limit[many]=Mai de {{limit}} ocuréncias +find_match_count_limit[other]=Mai de {{limit}} ocuréncias +find_not_found=Frasa pas trobada + +# Error panel labels +error_more_info=Mai de detalhs +error_less_info=Mens d'informacions +error_close=Tampar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (identificant de compilacion : {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Messatge : {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pila : {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fichièr : {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linha : {{line}} + +# Predefined zoom values +page_scale_width=Largor plena +page_scale_fit=Pagina entièra +page_scale_auto=Zoom automatic +page_scale_actual=Talha vertadièra +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Cargament… + +# Loading indicator messages +loading_error=Una error s'es producha pendent lo cargament del fichièr PDF. +invalid_file_error=Fichièr PDF invalid o corromput. +missing_file_error=Fichièr PDF mancant. +unexpected_response_error=Responsa de servidor imprevista. + +rendering_error=Una error s'es producha pendent l'afichatge de la pagina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} a {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotacion {{type}}] +password_label=Picatz lo senhal per dobrir aqueste fichièr PDF. +password_invalid=Senhal incorrècte. Tornatz ensajar. +password_ok=D'acòrdi +password_cancel=Anullar + +printing_not_supported=Atencion : l'impression es pas complètament gerida per aqueste navegador. +printing_not_ready=Atencion : lo PDF es pas entièrament cargat per lo poder imprimir. +web_fonts_disabled=Las polissas web son desactivadas : impossible d'utilizar las polissas integradas al PDF. + +# Editor +editor_free_text2.title=Tèxte +editor_free_text2_label=Tèxte +editor_ink2.title=Dessenhar +editor_ink2_label=Dessenhar + +free_text2_default_content=Començatz d’escriure… + +# Editor Parameters +editor_free_text_color=Color +editor_free_text_size=Talha +editor_ink_color=Color +editor_ink_thickness=Espessor +editor_ink_opacity=Opacitat + +# Editor aria +editor_free_text2_aria_label=Editor de tèxte +editor_ink2_aria_label=Editor de dessenh +editor_ink_canvas_aria_label=Imatge creat per l’utilizaire diff --git a/media/js/pdf/web/locale/pa-IN/viewer.properties b/media/js/pdf/web/locale/pa-IN/viewer.properties new file mode 100644 index 0000000000..6fdb9216f2 --- /dev/null +++ b/media/js/pdf/web/locale/pa-IN/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=ਪਿਛਲਾ ਸਫ਼ਾ +previous_label=ਪਿੱਛੇ +next.title=ਅਗਲਾ ਸਫ਼ਾ +next_label=ਅੱਗੇ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ਸਫ਼ਾ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ਵਿੱਚੋਂ +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}) ਵਿੱਚੋਂ ({{pageNumber}} + +zoom_out.title=ਜ਼ੂਮ ਆਉਟ +zoom_out_label=ਜ਼ੂਮ ਆਉਟ +zoom_in.title=ਜ਼ੂਮ ਇਨ +zoom_in_label=ਜ਼ੂਮ ਇਨ +zoom.title=ਜ਼ੂਨ +presentation_mode.title=ਪਰਿਜੈਂਟੇਸ਼ਨ ਮੋਡ ਵਿੱਚ ਜਾਓ +presentation_mode_label=ਪਰਿਜੈਂਟੇਸ਼ਨ ਮੋਡ +open_file.title=ਫਾਈਲ ਨੂੰ ਖੋਲ੍ਹੋ +open_file_label=ਖੋਲ੍ਹੋ +print.title=ਪਰਿੰਟ +print_label=ਪਰਿੰਟ +download.title=ਡਾਊਨਲੋਡ +download_label=ਡਾਊਨਲੋਡ +bookmark.title=ਮੌਜੂਦਾ ਝਲਕ (ਨਵੀਂ ਵਿੰਡੋ ਵਿੱਚ ਕਾਪੀ ਕਰੋ ਜਾਂ ਖੋਲ੍ਹੋ) +bookmark_label=ਮੌਜੂਦਾ ਝਲਕ + +save.title=ਸੰਭਾਲੋ +save_label=ਸੰਭਾਲੋ +bookmark1.title=ਮੌਜੂਦਾ ਸਫ਼਼ਾ (ਮੌਜੂਦਾ ਸਫ਼ੇ ਤੋਂ URL ਵੇਖੋ) +bookmark1_label=ਮੌਜੂਦਾ ਸਫ਼਼ਾ + +open_in_app.title=ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ +open_in_app_label=ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ + +# Secondary toolbar and context menu +tools.title=ਟੂਲ +tools_label=ਟੂਲ +first_page.title=ਪਹਿਲੇ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ +first_page_label=ਪਹਿਲੇ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ +last_page.title=ਆਖਰੀ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ +last_page_label=ਆਖਰੀ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ +page_rotate_cw.title=ਸੱਜੇ ਦਾਅ ਘੁੰਮਾਓ +page_rotate_cw_label=ਸੱਜੇ ਦਾਅ ਘੁੰਮਾਓ +page_rotate_ccw.title=ਖੱਬੇ ਦਾਅ ਘੁੰਮਾਓ +page_rotate_ccw_label=ਖੱਬੇ ਦਾਅ ਘੁੰਮਾਓ + +cursor_text_select_tool.title=ਲਿਖਤ ਚੋਣ ਟੂਲ ਸਮਰੱਥ ਕਰੋ +cursor_text_select_tool_label=ਲਿਖਤ ਚੋਣ ਟੂਲ +cursor_hand_tool.title=ਹੱਥ ਟੂਲ ਸਮਰੱਥ ਕਰੋ +cursor_hand_tool_label=ਹੱਥ ਟੂਲ + +scroll_page.title=ਸਫ਼ਾ ਖਿਸਕਾਉਣ ਨੂੰ ਵਰਤੋਂ +scroll_page_label=ਸਫ਼ਾ ਖਿਸਕਾਉਣਾ +scroll_vertical.title=ਖੜ੍ਹਵੇਂ ਸਕਰਾਉਣ ਨੂੰ ਵਰਤੋਂ +scroll_vertical_label=ਖੜ੍ਹਵਾਂ ਸਰਕਾਉਣਾ +scroll_horizontal.title=ਲੇਟਵੇਂ ਸਰਕਾਉਣ ਨੂੰ ਵਰਤੋਂ +scroll_horizontal_label=ਲੇਟਵਾਂ ਸਰਕਾਉਣਾ +scroll_wrapped.title=ਸਮੇਟੇ ਸਰਕਾਉਣ ਨੂੰ ਵਰਤੋਂ +scroll_wrapped_label=ਸਮੇਟਿਆ ਸਰਕਾਉਣਾ + +spread_none.title=ਸਫ਼ਾ ਫੈਲਾਅ ਵਿੱਚ ਸ਼ਾਮਲ ਨਾ ਹੋਵੋ +spread_none_label=ਕੋਈ ਫੈਲਾਅ ਨਹੀਂ +spread_odd.title=ਟਾਂਕ ਅੰਕ ਵਾਲੇ ਸਫ਼ਿਆਂ ਨਾਲ ਸ਼ੁਰੂ ਹੋਣ ਵਾਲੇ ਸਫਿਆਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਵੋ +spread_odd_label=ਟਾਂਕ ਫੈਲਾਅ +spread_even.title=ਜਿਸਤ ਅੰਕ ਵਾਲੇ ਸਫ਼ਿਆਂ ਨਾਲ ਸ਼ੁਰੂ ਹੋਣ ਵਾਲੇ ਸਫਿਆਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਵੋ +spread_even_label=ਜਿਸਤ ਫੈਲਾਅ + +# Document properties dialog box +document_properties.title=…ਦਸਤਾਵੇਜ਼ ਦੀ ਵਿਸ਼ੇਸ਼ਤਾ +document_properties_label=…ਦਸਤਾਵੇਜ਼ ਦੀ ਵਿਸ਼ੇਸ਼ਤਾ +document_properties_file_name=ਫਾਈਲ ਦਾ ਨਾਂ: +document_properties_file_size=ਫਾਈਲ ਦਾ ਆਕਾਰ: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ਬਾਈਟ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} ਬਾਈਟ) +document_properties_title=ਟਾਈਟਲ: +document_properties_author=ਲੇਖਕ: +document_properties_subject=ਵਿਸ਼ਾ: +document_properties_keywords=ਸ਼ਬਦ: +document_properties_creation_date=ਬਣਾਉਣ ਦੀ ਮਿਤੀ: +document_properties_modification_date=ਸੋਧ ਦੀ ਮਿਤੀ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ਨਿਰਮਾਤਾ: +document_properties_producer=PDF ਪ੍ਰੋਡਿਊਸਰ: +document_properties_version=PDF ਵਰਜਨ: +document_properties_page_count=ਸਫ਼ੇ ਦੀ ਗਿਣਤੀ: +document_properties_page_size=ਸਫ਼ਾ ਆਕਾਰ: +document_properties_page_size_unit_inches=ਇੰਚ +document_properties_page_size_unit_millimeters=ਮਿਮੀ +document_properties_page_size_orientation_portrait=ਪੋਰਟਰੇਟ +document_properties_page_size_orientation_landscape=ਲੈਂਡਸਕੇਪ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=ਲੈਟਰ +document_properties_page_size_name_legal=ਕਨੂੰਨੀ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=ਤੇਜ਼ ਵੈੱਬ ਝਲਕ: +document_properties_linearized_yes=ਹਾਂ +document_properties_linearized_no=ਨਹੀਂ +document_properties_close=ਬੰਦ ਕਰੋ + +print_progress_message=…ਪਰਿੰਟ ਕਰਨ ਲਈ ਦਸਤਾਵੇਜ਼ ਨੂੰ ਤਿਆਰ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ਰੱਦ ਕਰੋ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ਬਾਹੀ ਬਦਲੋ +toggle_sidebar_notification2.title=ਬਾਹੀ ਨੂੰ ਬਦਲੋ (ਦਸਤਾਵੇਜ਼ ਖਾਕਾ/ਅਟੈਚਮੈਂਟ/ਪਰਤਾਂ ਰੱਖਦਾ ਹੈ) +toggle_sidebar_label=ਬਾਹੀ ਬਦਲੋ +document_outline.title=ਦਸਤਾਵੇਜ਼ ਖਾਕਾ ਦਿਖਾਓ (ਸਾਰੀਆਂ ਆਈਟਮਾਂ ਨੂੰ ਫੈਲਾਉਣ/ਸਮੇਟਣ ਲਈ ਦੋ ਵਾਰ ਕਲਿੱਕ ਕਰੋ) +document_outline_label=ਦਸਤਾਵੇਜ਼ ਖਾਕਾ +attachments.title=ਅਟੈਚਮੈਂਟ ਵੇਖਾਓ +attachments_label=ਅਟੈਚਮੈਂਟਾਂ +layers.title=ਪਰਤਾਂ ਵੇਖਾਓ (ਸਾਰੀਆਂ ਪਰਤਾਂ ਨੂੰ ਮੂਲ ਹਾਲਤ ਉੱਤੇ ਮੁੜ-ਸੈੱਟ ਕਰਨ ਲਈ ਦੋ ਵਾਰ ਕਲਿੱਕ ਕਰੋ) +layers_label=ਪਰਤਾਂ +thumbs.title=ਥੰਮਨੇਲ ਨੂੰ ਵੇਖਾਓ +thumbs_label=ਥੰਮਨੇਲ +current_outline_item.title=ਮੌੌਜੂਦਾ ਖਾਕਾ ਚੀਜ਼ ਲੱਭੋ +current_outline_item_label=ਮੌਜੂਦਾ ਖਾਕਾ ਚੀਜ਼ +findbar.title=ਦਸਤਾਵੇਜ਼ ਵਿੱਚ ਲੱਭੋ +findbar_label=ਲੱਭੋ + +additional_layers=ਵਾਧੂ ਪਰਤਾਂ +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=ਸਫ਼ਾ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=ਸਫ਼ਾ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} ਸਫ਼ੇ ਦਾ ਥੰਮਨੇਲ + +# Find panel button title and messages +find_input.title=ਲੱਭੋ +find_input.placeholder=…ਦਸਤਾਵੇਜ਼ 'ਚ ਲੱਭੋ +find_previous.title=ਵਾਕ ਦੀ ਪਿਛਲੀ ਮੌਜੂਦਗੀ ਲੱਭੋ +find_previous_label=ਪਿੱਛੇ +find_next.title=ਵਾਕ ਦੀ ਅਗਲੀ ਮੌਜੂਦਗੀ ਲੱਭੋ +find_next_label=ਅੱਗੇ +find_highlight=ਸਭ ਉਭਾਰੋ +find_match_case_label=ਅੱਖਰ ਆਕਾਰ ਨੂੰ ਮਿਲਾਉ +find_match_diacritics_label=ਭੇਦਸੂਚਕ ਮੇਲ +find_entire_word_label=ਪੂਰੇ ਸ਼ਬਦ +find_reached_top=ਦਸਤਾਵੇਜ਼ ਦੇ ਉੱਤੇ ਆ ਗਏ ਹਾਂ, ਥੱਲੇ ਤੋਂ ਜਾਰੀ ਰੱਖਿਆ ਹੈ +find_reached_bottom=ਦਸਤਾਵੇਜ਼ ਦੇ ਅੰਤ ਉੱਤੇ ਆ ਗਏ ਹਾਂ, ਉੱਤੇ ਤੋਂ ਜਾਰੀ ਰੱਖਿਆ ਹੈ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} ਵਿੱਚੋਂ {{current}} ਮੇਲ +find_match_count[two]={{total}} ਵਿੱਚੋਂ {{current}} ਮੇਲ +find_match_count[few]={{total}} ਵਿੱਚੋਂ {{current}} ਮੇਲ +find_match_count[many]={{total}} ਵਿੱਚੋਂ {{current}} ਮੇਲ +find_match_count[other]={{total}} ਵਿੱਚੋਂ {{current}} ਮੇਲ +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} ਮੇਲਾਂ ਤੋਂ ਵੱਧ +find_match_count_limit[one]={{limit}} ਮੇਲ ਤੋਂ ਵੱਧ +find_match_count_limit[two]={{limit}} ਮੇਲਾਂ ਤੋਂ ਵੱਧ +find_match_count_limit[few]={{limit}} ਮੇਲਾਂ ਤੋਂ ਵੱਧ +find_match_count_limit[many]={{limit}} ਮੇਲਾਂ ਤੋਂ ਵੱਧ +find_match_count_limit[other]={{limit}} ਮੇਲਾਂ ਤੋਂ ਵੱਧ +find_not_found=ਵਾਕ ਨਹੀਂ ਲੱਭਿਆ + +# Error panel labels +error_more_info=ਹੋਰ ਜਾਣਕਾਰੀ +error_less_info=ਘੱਟ ਜਾਣਕਾਰੀ +error_close=ਬੰਦ ਕਰੋ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (ਬਿਲਡ: {{build}} +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ਸੁਨੇਹਾ: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=ਸਟੈਕ: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ਫਾਈਲ: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ਲਾਈਨ: {{line}} + +# Predefined zoom values +page_scale_width=ਸਫ਼ੇ ਦੀ ਚੌੜਾਈ +page_scale_fit=ਸਫ਼ਾ ਫਿੱਟ +page_scale_auto=ਆਟੋਮੈਟਿਕ ਜ਼ੂਮ ਕਰੋ +page_scale_actual=ਆਟੋਮੈਟਿਕ ਆਕਾਰ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=…ਲੋਡ ਹੋ ਰਿਹਾ ਹੈ + +# Loading indicator messages +loading_error=PDF ਲੋਡ ਕਰਨ ਦੇ ਦੌਰਾਨ ਗਲਤੀ ਆਈ ਹੈ। +invalid_file_error=ਗਲਤ ਜਾਂ ਨਿਕਾਰਾ PDF ਫਾਈਲ ਹੈ। +missing_file_error=ਨਾ-ਮੌਜੂਦ PDF ਫਾਈਲ। +unexpected_response_error=ਅਣਜਾਣ ਸਰਵਰ ਜਵਾਬ। + +rendering_error=ਸਫ਼ਾ ਰੈਡਰ ਕਰਨ ਦੇ ਦੌਰਾਨ ਗਲਤੀ ਆਈ ਹੈ। + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ਵਿਆਖਿਆ] +password_label=ਇਹ PDF ਫਾਈਲ ਨੂੰ ਖੋਲ੍ਹਣ ਲਈ ਪਾਸਵਰਡ ਦਿਉ। +password_invalid=ਗਲਤ ਪਾਸਵਰਡ। ਫੇਰ ਕੋਸ਼ਿਸ਼ ਕਰੋ ਜੀ। +password_ok=ਠੀਕ ਹੈ +password_cancel=ਰੱਦ ਕਰੋ + +printing_not_supported=ਸਾਵਧਾਨ: ਇਹ ਬਰਾਊਜ਼ਰ ਪਰਿੰਟ ਕਰਨ ਲਈ ਪੂਰੀ ਤਰ੍ਹਾਂ ਸਹਾਇਕ ਨਹੀਂ ਹੈ। +printing_not_ready=ਸਾਵਧਾਨ: PDF ਨੂੰ ਪਰਿੰਟ ਕਰਨ ਲਈ ਪੂਰੀ ਤਰ੍ਹਾਂ ਲੋਡ ਨਹੀਂ ਹੈ। +web_fonts_disabled=ਵੈਬ ਫੋਂਟ ਬੰਦ ਹਨ: ਇੰਬੈਡ PDF ਫੋਂਟ ਨੂੰ ਵਰਤਣ ਲਈ ਅਸਮਰੱਥ ਹੈ। + +# Editor +editor_free_text2.title=ਲਿਖਤ +editor_free_text2_label=ਲਿਖਤ +editor_ink2.title=ਵਾਹੋ +editor_ink2_label=ਵਾਹੋ + +free_text2_default_content=…ਲਿਖਣਾ ਸ਼ੁਰੂ ਕਰੋ + +# Editor Parameters +editor_free_text_color=ਰੰਗ +editor_free_text_size=ਆਕਾਰ +editor_ink_color=ਰੰਗ +editor_ink_thickness=ਮੋਟਾਈ +editor_ink_opacity=ਧੁੰਦਲਾਪਨ + +# Editor aria +editor_free_text2_aria_label=ਲਿਖਤ ਐਡੀਟਰ +editor_ink2_aria_label=ਵਹਾਉਣ ਐਡੀਟਰ +editor_ink_canvas_aria_label=ਵਰਤੋਂਕਾਰ ਵਲੋਂ ਬਣਾਇਆ ਚਿੱਤਰ diff --git a/media/js/pdf/web/locale/pl/viewer.properties b/media/js/pdf/web/locale/pl/viewer.properties new file mode 100644 index 0000000000..7e9b9095fb --- /dev/null +++ b/media/js/pdf/web/locale/pl/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Poprzednia strona +previous_label=Poprzednia +next.title=Następna strona +next_label=Następna + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strona +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Pomniejsz +zoom_out_label=Pomniejsz +zoom_in.title=Powiększ +zoom_in_label=Powiększ +zoom.title=Skala +presentation_mode.title=Przełącz na tryb prezentacji +presentation_mode_label=Tryb prezentacji +open_file.title=Otwórz plik +open_file_label=Otwórz +print.title=Drukuj +print_label=Drukuj +download.title=Pobierz +download_label=Pobierz +bookmark.title=Bieżąca pozycja (skopiuj lub otwórz jako odnośnik w nowym oknie) +bookmark_label=Bieżąca pozycja + +save.title=Zapisz +save_label=Zapisz +bookmark1.title=Bieżąca strona (adres do otwarcia na bieżącej stronie) +bookmark1_label=Bieżąca strona + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Otwórz w aplikacji +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Otwórz w aplikacji + +# Secondary toolbar and context menu +tools.title=Narzędzia +tools_label=Narzędzia +first_page.title=Przejdź do pierwszej strony +first_page_label=Przejdź do pierwszej strony +last_page.title=Przejdź do ostatniej strony +last_page_label=Przejdź do ostatniej strony +page_rotate_cw.title=Obróć zgodnie z ruchem wskazówek zegara +page_rotate_cw_label=Obróć zgodnie z ruchem wskazówek zegara +page_rotate_ccw.title=Obróć przeciwnie do ruchu wskazówek zegara +page_rotate_ccw_label=Obróć przeciwnie do ruchu wskazówek zegara + +cursor_text_select_tool.title=Włącz narzędzie zaznaczania tekstu +cursor_text_select_tool_label=Narzędzie zaznaczania tekstu +cursor_hand_tool.title=Włącz narzędzie rączka +cursor_hand_tool_label=Narzędzie rączka + +scroll_page.title=Przewijaj strony +scroll_page_label=Przewijanie stron +scroll_vertical.title=Przewijaj dokument w pionie +scroll_vertical_label=Przewijanie pionowe +scroll_horizontal.title=Przewijaj dokument w poziomie +scroll_horizontal_label=Przewijanie poziome +scroll_wrapped.title=Strony dokumentu wyświetlaj i przewijaj w kolumnach +scroll_wrapped_label=Widok dwóch stron + +spread_none.title=Nie ustawiaj stron obok siebie +spread_none_label=Brak kolumn +spread_odd.title=Strony nieparzyste ustawiaj na lewo od parzystych +spread_odd_label=Nieparzyste po lewej +spread_even.title=Strony parzyste ustawiaj na lewo od nieparzystych +spread_even_label=Parzyste po lewej + +# Document properties dialog box +document_properties.title=Właściwości dokumentu… +document_properties_label=Właściwości dokumentu… +document_properties_file_name=Nazwa pliku: +document_properties_file_size=Rozmiar pliku: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} B) +document_properties_title=Tytuł: +document_properties_author=Autor: +document_properties_subject=Temat: +document_properties_keywords=Słowa kluczowe: +document_properties_creation_date=Data utworzenia: +document_properties_modification_date=Data modyfikacji: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Utworzony przez: +document_properties_producer=PDF wyprodukowany przez: +document_properties_version=Wersja PDF: +document_properties_page_count=Liczba stron: +document_properties_page_size=Wymiary strony: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=pionowa +document_properties_page_size_orientation_landscape=pozioma +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=US Letter +document_properties_page_size_name_legal=US Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}}×{{height}} {{unit}} (orientacja {{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}}×{{height}} {{unit}} ({{name}}, orientacja {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Szybki podgląd w Internecie: +document_properties_linearized_yes=tak +document_properties_linearized_no=nie +document_properties_close=Zamknij + +print_progress_message=Przygotowywanie dokumentu do druku… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anuluj + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Przełącz panel boczny +toggle_sidebar_notification2.title=Przełącz panel boczny (dokument zawiera konspekt/załączniki/warstwy) +toggle_sidebar_label=Przełącz panel boczny +document_outline.title=Konspekt dokumentu (podwójne kliknięcie rozwija lub zwija wszystkie pozycje) +document_outline_label=Konspekt dokumentu +attachments.title=Załączniki +attachments_label=Załączniki +layers.title=Warstwy (podwójne kliknięcie przywraca wszystkie warstwy do stanu domyślnego) +layers_label=Warstwy +thumbs.title=Miniatury +thumbs_label=Miniatury +current_outline_item.title=Znajdź bieżący element konspektu +current_outline_item_label=Bieżący element konspektu +findbar.title=Znajdź w dokumencie +findbar_label=Znajdź + +additional_layers=Dodatkowe warstwy +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}}. strona +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}}. strona +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura {{page}}. strony + +# Find panel button title and messages +find_input.title=Znajdź +find_input.placeholder=Znajdź w dokumencie… +find_previous.title=Znajdź poprzednie wystąpienie tekstu +find_previous_label=Poprzednie +find_next.title=Znajdź następne wystąpienie tekstu +find_next_label=Następne +find_highlight=Wyróżnianie wszystkich +find_match_case_label=Rozróżnianie wielkości liter +find_match_diacritics_label=Rozróżnianie liter diakrytyzowanych +find_entire_word_label=Całe słowa +find_reached_top=Początek dokumentu. Wyszukiwanie od końca. +find_reached_bottom=Koniec dokumentu. Wyszukiwanie od początku. +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Pierwsze z {{total}} trafień +find_match_count[two]=Drugie z {{total}} trafień +find_match_count[few]={{current}}. z {{total}} trafień +find_match_count[many]={{current}}. z {{total}} trafień +find_match_count[other]={{current}}. z {{total}} trafień +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Brak trafień. +find_match_count_limit[one]=Więcej niż jedno trafienie. +find_match_count_limit[two]=Więcej niż dwa trafienia. +find_match_count_limit[few]=Więcej niż {{limit}} trafienia. +find_match_count_limit[many]=Więcej niż {{limit}} trafień. +find_match_count_limit[other]=Więcej niż {{limit}} trafień. +find_not_found=Nie znaleziono tekstu + +# Error panel labels +error_more_info=Więcej informacji +error_less_info=Mniej informacji +error_close=Zamknij +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (kompilacja: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Komunikat: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stos: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Plik: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Wiersz: {{line}} + +# Predefined zoom values +page_scale_width=Szerokość strony +page_scale_fit=Dopasowanie strony +page_scale_auto=Skala automatyczna +page_scale_actual=Rozmiar oryginalny +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Wczytywanie… + +# Loading indicator messages +loading_error=Podczas wczytywania dokumentu PDF wystąpił błąd. +invalid_file_error=Nieprawidłowy lub uszkodzony plik PDF. +missing_file_error=Brak pliku PDF. +unexpected_response_error=Nieoczekiwana odpowiedź serwera. + +rendering_error=Podczas renderowania strony wystąpił błąd. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Przypis: {{type}}] +password_label=Wprowadź hasło, aby otworzyć ten dokument PDF. +password_invalid=Nieprawidłowe hasło. Proszę spróbować ponownie. +password_ok=OK +password_cancel=Anuluj + +printing_not_supported=Ostrzeżenie: drukowanie nie jest w pełni obsługiwane przez tę przeglądarkę. +printing_not_ready=Ostrzeżenie: dokument PDF nie jest całkowicie wczytany, więc nie można go wydrukować. +web_fonts_disabled=Czcionki sieciowe są wyłączone: nie można użyć osadzonych czcionek PDF. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Rysunek +editor_ink2_label=Rysunek + +free_text2_default_content=Zacznij pisać… + +# Editor Parameters +editor_free_text_color=Kolor +editor_free_text_size=Rozmiar +editor_ink_color=Kolor +editor_ink_thickness=Grubość +editor_ink_opacity=Nieprzezroczystość + +# Editor aria +editor_free_text2_aria_label=Edytor tekstu +editor_ink2_aria_label=Edytor rysunku +editor_ink_canvas_aria_label=Obraz utworzony przez użytkownika diff --git a/media/js/pdf/web/locale/pt-BR/viewer.properties b/media/js/pdf/web/locale/pt-BR/viewer.properties new file mode 100644 index 0000000000..21c6d74a37 --- /dev/null +++ b/media/js/pdf/web/locale/pt-BR/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Próxima página +next_label=Próxima + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reduzir +zoom_out_label=Reduzir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Mudar para o modo de apresentação +presentation_mode_label=Modo de apresentação +open_file.title=Abrir arquivo +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Baixar +download_label=Baixar +bookmark.title=Visão atual (copiar ou abrir em nova janela) +bookmark_label=Exibição atual + +save.title=Salvar +save_label=Salvar +bookmark1.title=Página atual (ver URL da página atual) +bookmark1_label=Pagina atual + +open_in_app.title=Abrir em um aplicativo +open_in_app_label=Abrir em um aplicativo + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir para a primeira página +first_page_label=Ir para a primeira página +last_page.title=Ir para a última página +last_page_label=Ir para a última página +page_rotate_cw.title=Girar no sentido horário +page_rotate_cw_label=Girar no sentido horário +page_rotate_ccw.title=Girar no sentido anti-horário +page_rotate_ccw_label=Girar no sentido anti-horário + +cursor_text_select_tool.title=Ativar a ferramenta de seleção de texto +cursor_text_select_tool_label=Ferramenta de seleção de texto +cursor_hand_tool.title=Ativar ferramenta de deslocamento +cursor_hand_tool_label=Ferramenta de deslocamento + +scroll_page.title=Usar rolagem de página +scroll_page_label=Rolagem de página +scroll_vertical.title=Usar deslocamento vertical +scroll_vertical_label=Deslocamento vertical +scroll_horizontal.title=Usar deslocamento horizontal +scroll_horizontal_label=Deslocamento horizontal +scroll_wrapped.title=Usar deslocamento contido +scroll_wrapped_label=Deslocamento contido + +spread_none.title=Não reagrupar páginas +spread_none_label=Não estender +spread_odd.title=Agrupar páginas começando em páginas com números ímpares +spread_odd_label=Estender ímpares +spread_even.title=Agrupar páginas começando em páginas com números pares +spread_even_label=Estender pares + +# Document properties dialog box +document_properties.title=Propriedades do documento… +document_properties_label=Propriedades do documento… +document_properties_file_name=Nome do arquivo: +document_properties_file_size=Tamanho do arquivo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Assunto: +document_properties_keywords=Palavras-chave: +document_properties_creation_date=Data da criação: +document_properties_modification_date=Data da modificação: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Criação: +document_properties_producer=Criador do PDF: +document_properties_version=Versão do PDF: +document_properties_page_count=Número de páginas: +document_properties_page_size=Tamanho da página: +document_properties_page_size_unit_inches=pol. +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=retrato +document_properties_page_size_orientation_landscape=paisagem +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Jurídico +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Exibição web rápida: +document_properties_linearized_yes=Sim +document_properties_linearized_no=Não +document_properties_close=Fechar + +print_progress_message=Preparando documento para impressão… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Exibir/ocultar painel lateral +toggle_sidebar_notification2.title=Exibir/ocultar painel (documento contém estrutura/anexos/camadas) +toggle_sidebar_label=Exibir/ocultar painel +document_outline.title=Mostrar estrutura do documento (duplo-clique expande/recolhe todos os itens) +document_outline_label=Estrutura do documento +attachments.title=Mostrar anexos +attachments_label=Anexos +layers.title=Mostrar camadas (duplo-clique redefine todas as camadas ao estado predefinido) +layers_label=Camadas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Encontrar item atual da estrutura +current_outline_item_label=Item atual da estrutura +findbar.title=Procurar no documento +findbar_label=Procurar + +additional_layers=Camadas adicionais +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da página {{page}} + +# Find panel button title and messages +find_input.title=Procurar +find_input.placeholder=Procurar no documento… +find_previous.title=Procurar a ocorrência anterior da frase +find_previous_label=Anterior +find_next.title=Procurar a próxima ocorrência da frase +find_next_label=Próxima +find_highlight=Destacar tudo +find_match_case_label=Diferenciar maiúsculas/minúsculas +find_match_diacritics_label=Considerar acentuação +find_entire_word_label=Palavras completas +find_reached_top=Início do documento alcançado, continuando do fim +find_reached_bottom=Fim do documento alcançado, continuando do início +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} ocorrência +find_match_count[two]={{current}} de {{total}} ocorrências +find_match_count[few]={{current}} de {{total}} ocorrências +find_match_count[many]={{current}} de {{total}} ocorrências +find_match_count[other]={{current}} de {{total}} ocorrências +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mais de {{limit}} ocorrências +find_match_count_limit[one]=Mais de {{limit}} ocorrência +find_match_count_limit[two]=Mais de {{limit}} ocorrências +find_match_count_limit[few]=Mais de {{limit}} ocorrências +find_match_count_limit[many]=Mais de {{limit}} ocorrências +find_match_count_limit[other]=Mais de {{limit}} ocorrências +find_not_found=Frase não encontrada + +# Error panel labels +error_more_info=Mais informações +error_less_info=Menos informações +error_close=Fechar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (compilação: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensagem: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Pilha: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Arquivo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linha: {{line}} + +# Predefined zoom values +page_scale_width=Largura da página +page_scale_fit=Ajustar à janela +page_scale_auto=Zoom automático +page_scale_actual=Tamanho real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Carregando… + +# Loading indicator messages +loading_error=Ocorreu um erro ao carregar o PDF. +invalid_file_error=Arquivo PDF corrompido ou inválido. +missing_file_error=Arquivo PDF ausente. +unexpected_response_error=Resposta inesperada do servidor. + +rendering_error=Ocorreu um erro ao renderizar a página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotação {{type}}] +password_label=Forneça a senha para abrir este arquivo PDF. +password_invalid=Senha inválida. Tente novamente. +password_ok=OK +password_cancel=Cancelar + +printing_not_supported=Aviso: a impressão não é totalmente suportada neste navegador. +printing_not_ready=Aviso: o PDF não está totalmente carregado para impressão. +web_fonts_disabled=As fontes web estão desativadas: não foi possível usar fontes incorporadas do PDF. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Desenho +editor_ink2_label=Desenho + +free_text2_default_content=Comece digitando… + +# Editor Parameters +editor_free_text_color=Cor +editor_free_text_size=Tamanho +editor_ink_color=Cor +editor_ink_thickness=Espessura +editor_ink_opacity=Opacidade + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de desenho +editor_ink_canvas_aria_label=Imagem criada pelo usuário diff --git a/media/js/pdf/web/locale/pt-PT/viewer.properties b/media/js/pdf/web/locale/pt-PT/viewer.properties new file mode 100644 index 0000000000..9f7ffafbf5 --- /dev/null +++ b/media/js/pdf/web/locale/pt-PT/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Página anterior +previous_label=Anterior +next.title=Página seguinte +next_label=Seguinte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Página +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Reduzir +zoom_out_label=Reduzir +zoom_in.title=Ampliar +zoom_in_label=Ampliar +zoom.title=Zoom +presentation_mode.title=Trocar para o modo de apresentação +presentation_mode_label=Modo de apresentação +open_file.title=Abrir ficheiro +open_file_label=Abrir +print.title=Imprimir +print_label=Imprimir +download.title=Transferir +download_label=Transferir +bookmark.title=Vista atual (copiar ou abrir numa nova janela) +bookmark_label=Visão atual + +save.title=Guardar +save_label=Guardar +bookmark1.title=Página atual (ver URL da página atual) +bookmark1_label=Pagina atual + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Abrir na aplicação +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Abrir na aplicação + +# Secondary toolbar and context menu +tools.title=Ferramentas +tools_label=Ferramentas +first_page.title=Ir para a primeira página +first_page_label=Ir para a primeira página +last_page.title=Ir para a última página +last_page_label=Ir para a última página +page_rotate_cw.title=Rodar à direita +page_rotate_cw_label=Rodar à direita +page_rotate_ccw.title=Rodar à esquerda +page_rotate_ccw_label=Rodar à esquerda + +cursor_text_select_tool.title=Ativar ferramenta de seleção de texto +cursor_text_select_tool_label=Ferramenta de seleção de texto +cursor_hand_tool.title=Ativar ferramenta de mão +cursor_hand_tool_label=Ferramenta de mão + +scroll_page.title=Utilizar deslocamento da página +scroll_page_label=Deslocamento da página +scroll_vertical.title=Utilizar deslocação vertical +scroll_vertical_label=Deslocação vertical +scroll_horizontal.title=Utilizar deslocação horizontal +scroll_horizontal_label=Deslocação horizontal +scroll_wrapped.title=Utilizar deslocação encapsulada +scroll_wrapped_label=Deslocação encapsulada + +spread_none.title=Não juntar páginas dispersas +spread_none_label=Sem spreads +spread_odd.title=Juntar páginas dispersas a partir de páginas com números ímpares +spread_odd_label=Spreads ímpares +spread_even.title=Juntar páginas dispersas a partir de páginas com números pares +spread_even_label=Spreads pares + +# Document properties dialog box +document_properties.title=Propriedades do documento… +document_properties_label=Propriedades do documento… +document_properties_file_name=Nome do ficheiro: +document_properties_file_size=Tamanho do ficheiro: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Título: +document_properties_author=Autor: +document_properties_subject=Assunto: +document_properties_keywords=Palavras-chave: +document_properties_creation_date=Data de criação: +document_properties_modification_date=Data de modificação: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Criador: +document_properties_producer=Produtor de PDF: +document_properties_version=Versão do PDF: +document_properties_page_count=N.º de páginas: +document_properties_page_size=Tamanho da página: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=retrato +document_properties_page_size_orientation_landscape=paisagem +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Carta +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista rápida web: +document_properties_linearized_yes=Sim +document_properties_linearized_no=Não +document_properties_close=Fechar + +print_progress_message=A preparar o documento para impressão… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cancelar + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Alternar barra lateral +toggle_sidebar_notification2.title=Alternar barra lateral (o documento contém contornos/anexos/camadas) +toggle_sidebar_label=Alternar barra lateral +document_outline.title=Mostrar esquema do documento (duplo clique para expandir/colapsar todos os itens) +document_outline_label=Esquema do documento +attachments.title=Mostrar anexos +attachments_label=Anexos +layers.title=Mostrar camadas (clique duas vezes para repor todas as camadas para o estado predefinido) +layers_label=Camadas +thumbs.title=Mostrar miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Encontrar o item atualmente destacado +current_outline_item_label=Item atualmente destacado +findbar.title=Localizar em documento +findbar_label=Localizar + +additional_layers=Camadas adicionais +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Página {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Página {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da página {{page}} + +# Find panel button title and messages +find_input.title=Localizar +find_input.placeholder=Localizar em documento… +find_previous.title=Localizar ocorrência anterior da frase +find_previous_label=Anterior +find_next.title=Localizar ocorrência seguinte da frase +find_next_label=Seguinte +find_highlight=Destacar tudo +find_match_case_label=Correspondência +find_match_diacritics_label=Corresponder diacríticos +find_entire_word_label=Palavras completas +find_reached_top=Topo do documento atingido, a continuar a partir do fundo +find_reached_bottom=Fim do documento atingido, a continuar a partir do topo +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} de {{total}} correspondência +find_match_count[two]={{current}} de {{total}} correspondências +find_match_count[few]={{current}} de {{total}} correspondências +find_match_count[many]={{current}} de {{total}} correspondências +find_match_count[other]={{current}} de {{total}} correspondências +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mais de {{limit}} correspondências +find_match_count_limit[one]=Mais de {{limit}} correspondência +find_match_count_limit[two]=Mais de {{limit}} correspondências +find_match_count_limit[few]=Mais de {{limit}} correspondências +find_match_count_limit[many]=Mais de {{limit}} correspondências +find_match_count_limit[other]=Mais de {{limit}} correspondências +find_not_found=Frase não encontrada + +# Error panel labels +error_more_info=Mais informação +error_less_info=Menos informação +error_close=Fechar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (compilação: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensagem: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ficheiro: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linha: {{line}} + +# Predefined zoom values +page_scale_width=Ajustar à largura +page_scale_fit=Ajustar à página +page_scale_auto=Zoom automático +page_scale_actual=Tamanho real +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=A carregar… + +# Loading indicator messages +loading_error=Ocorreu um erro ao carregar o PDF. +invalid_file_error=Ficheiro PDF inválido ou danificado. +missing_file_error=Ficheiro PDF inexistente. +unexpected_response_error=Resposta inesperada do servidor. + +rendering_error=Ocorreu um erro ao processar a página. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotação {{type}}] +password_label=Introduza a palavra-passe para abrir este ficheiro PDF. +password_invalid=Palavra-passe inválida. Por favor, tente novamente. +password_ok=OK +password_cancel=Cancelar + +printing_not_supported=Aviso: a impressão não é totalmente suportada por este navegador. +printing_not_ready=Aviso: o PDF ainda não está totalmente carregado. +web_fonts_disabled=Os tipos de letra web estão desativados: não é possível utilizar os tipos de letra PDF embutidos. + +# Editor +editor_free_text2.title=Texto +editor_free_text2_label=Texto +editor_ink2.title=Desenhar +editor_ink2_label=Desenhar + +free_text2_default_content=Começar a digitar… + +# Editor Parameters +editor_free_text_color=Cor +editor_free_text_size=Tamanho +editor_ink_color=Cor +editor_ink_thickness=Espessura +editor_ink_opacity=Opacidade + +# Editor aria +editor_free_text2_aria_label=Editor de texto +editor_ink2_aria_label=Editor de desenho +editor_ink_canvas_aria_label=Imagem criada pelo utilizador diff --git a/media/js/pdf/web/locale/rm/viewer.properties b/media/js/pdf/web/locale/rm/viewer.properties new file mode 100644 index 0000000000..bc4d77b8ff --- /dev/null +++ b/media/js/pdf/web/locale/rm/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagina precedenta +previous_label=Enavos +next.title=Proxima pagina +next_label=Enavant + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=da {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} da {{pagesCount}}) + +zoom_out.title=Empitschnir +zoom_out_label=Empitschnir +zoom_in.title=Engrondir +zoom_in_label=Engrondir +zoom.title=Zoom +presentation_mode.title=Midar en il modus da preschentaziun +presentation_mode_label=Modus da preschentaziun +open_file.title=Avrir datoteca +open_file_label=Avrir +print.title=Stampar +print_label=Stampar +download.title=Telechargiar +download_label=Telechargiar +bookmark.title=Vista actuala (copiar u avrir en ina nova fanestra) +bookmark_label=Vista actuala + +save.title=Memorisar +save_label=Memorisar +bookmark1.title=Pagina actuala (mussar l'URL da la pagina actuala) +bookmark1_label=Pagina actuala + +open_in_app.title=Avrir en ina app +open_in_app_label=Avrir en ina app + +# Secondary toolbar and context menu +tools.title=Utensils +tools_label=Utensils +first_page.title=Siglir a l'emprima pagina +first_page_label=Siglir a l'emprima pagina +last_page.title=Siglir a la davosa pagina +last_page_label=Siglir a la davosa pagina +page_rotate_cw.title=Rotar en direcziun da l'ura +page_rotate_cw_label=Rotar en direcziun da l'ura +page_rotate_ccw.title=Rotar en direcziun cuntraria a l'ura +page_rotate_ccw_label=Rotar en direcziun cuntraria a l'ura + +cursor_text_select_tool.title=Activar l'utensil per selecziunar text +cursor_text_select_tool_label=Utensil per selecziunar text +cursor_hand_tool.title=Activar l'utensil da maun +cursor_hand_tool_label=Utensil da maun + +scroll_page.title=Utilisar la defilada per pagina +scroll_page_label=Defilada per pagina +scroll_vertical.title=Utilisar il defilar vertical +scroll_vertical_label=Defilar vertical +scroll_horizontal.title=Utilisar il defilar orizontal +scroll_horizontal_label=Defilar orizontal +scroll_wrapped.title=Utilisar il defilar en colonnas +scroll_wrapped_label=Defilar en colonnas + +spread_none.title=Betg parallelisar las paginas +spread_none_label=Betg parallel +spread_odd.title=Parallelisar las paginas cun cumenzar cun paginas spèras +spread_odd_label=Parallel spèr +spread_even.title=Parallelisar las paginas cun cumenzar cun paginas pèras +spread_even_label=Parallel pèr + +# Document properties dialog box +document_properties.title=Caracteristicas dal document… +document_properties_label=Caracteristicas dal document… +document_properties_file_name=Num da la datoteca: +document_properties_file_size=Grondezza da la datoteca: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Titel: +document_properties_author=Autur: +document_properties_subject=Tema: +document_properties_keywords=Chavazzins: +document_properties_creation_date=Data da creaziun: +document_properties_modification_date=Data da modificaziun: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=Creà da: +document_properties_producer=Creà il PDF cun: +document_properties_version=Versiun da PDF: +document_properties_page_count=Dumber da paginas: +document_properties_page_size=Grondezza da la pagina: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=vertical +document_properties_page_size_orientation_landscape=orizontal +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Gea +document_properties_linearized_no=Na +document_properties_close=Serrar + +print_progress_message=Preparar il document per stampar… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Interrumper + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Activar/deactivar la trav laterala +toggle_sidebar_notification2.title=Activar/deactivar la trav laterala (il document cuntegna structura dal document/agiuntas/nivels) +toggle_sidebar_label=Activar/deactivar la trav laterala +document_outline.title=Mussar la structura dal document (cliccar duas giadas per extender/cumprimer tut ils elements) +document_outline_label=Structura dal document +attachments.title=Mussar agiuntas +attachments_label=Agiuntas +layers.title=Mussar ils nivels (cliccar dubel per restaurar il stadi da standard da tut ils nivels) +layers_label=Nivels +thumbs.title=Mussar las miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Tschertgar l'element da structura actual +current_outline_item_label=Element da structura actual +findbar.title=Tschertgar en il document +findbar_label=Tschertgar + +additional_layers=Nivels supplementars +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pagina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura da la pagina {{page}} + +# Find panel button title and messages +find_input.title=Tschertgar +find_input.placeholder=Tschertgar en il document… +find_previous.title=Tschertgar la posiziun precedenta da l'expressiun +find_previous_label=Enavos +find_next.title=Tschertgar la proxima posiziun da l'expressiun +find_next_label=Enavant +find_highlight=Relevar tuts +find_match_case_label=Resguardar maiusclas/minusclas +find_match_diacritics_label=Resguardar ils segns diacritics +find_entire_word_label=Pleds entirs +find_reached_top=Il cumenzament dal document è cuntanschì, la tschertga cuntinuescha a la fin dal document +find_reached_bottom=La fin dal document è cuntanschì, la tschertga cuntinuescha al cumenzament dal document +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} dad {{total}} correspundenza +find_match_count[two]={{current}} da {{total}} correspundenzas +find_match_count[few]={{current}} da {{total}} correspundenzas +find_match_count[many]={{current}} da {{total}} correspundenzas +find_match_count[other]={{current}} da {{total}} correspundenzas +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Dapli che {{limit}} correspundenzas +find_match_count_limit[one]=Dapli che {{limit}} correspundenza +find_match_count_limit[two]=Dapli che {{limit}} correspundenzas +find_match_count_limit[few]=Dapli che {{limit}} correspundenzas +find_match_count_limit[many]=Dapli che {{limit}} correspundenzas +find_match_count_limit[other]=Dapli che {{limit}} correspundenzas +find_not_found=Impussibel da chattar l'expressiun + +# Error panel labels +error_more_info=Dapli infurmaziuns +error_less_info=Damain infurmaziuns +error_close=Serrar +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Messadi: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Datoteca: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lingia: {{line}} + +# Predefined zoom values +page_scale_width=Ladezza da la pagina +page_scale_fit=Entira pagina +page_scale_auto=Zoom automatic +page_scale_actual=Grondezza actuala +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Chargiar… + +# Loading indicator messages +loading_error=Ina errur è cumparida cun chargiar il PDF. +invalid_file_error=Datoteca PDF nunvalida u donnegiada. +missing_file_error=Datoteca PDF manconta. +unexpected_response_error=Resposta nunspetgada dal server. + +rendering_error=Ina errur è cumparida cun visualisar questa pagina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Annotaziun da {{type}}] +password_label=Endatescha il pled-clav per avrir questa datoteca da PDF. +password_invalid=Pled-clav nunvalid. Emprova anc ina giada. +password_ok=OK +password_cancel=Interrumper + +printing_not_supported=Attenziun: Il stampar na funcziunescha anc betg dal tut en quest navigatur. +printing_not_ready=Attenziun: Il PDF n'è betg chargià cumplettamain per stampar. +web_fonts_disabled=Scrittiras dal web èn deactivadas: impussibel dad utilisar las scrittiras integradas en il PDF. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Dissegnar +editor_ink2_label=Dissegnar + +free_text2_default_content=Cumenzar a tippar… + +# Editor Parameters +editor_free_text_color=Colur +editor_free_text_size=Grondezza +editor_ink_color=Colur +editor_ink_thickness=Grossezza +editor_ink_opacity=Opacitad + +# Editor aria +editor_free_text2_aria_label=Editur da text +editor_ink2_aria_label=Editur dissegn +editor_ink_canvas_aria_label=Maletg creà da l'utilisader diff --git a/media/js/pdf/web/locale/ro/viewer.properties b/media/js/pdf/web/locale/ro/viewer.properties new file mode 100644 index 0000000000..7560849624 --- /dev/null +++ b/media/js/pdf/web/locale/ro/viewer.properties @@ -0,0 +1,241 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pagina precedentă +previous_label=Înapoi +next.title=Pagina următoare +next_label=Înainte + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pagina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=din {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} din {{pagesCount}}) + +zoom_out.title=Micșorează +zoom_out_label=Micșorează +zoom_in.title=Mărește +zoom_in_label=Mărește +zoom.title=Zoom +presentation_mode.title=Comută la modul de prezentare +presentation_mode_label=Mod de prezentare +open_file.title=Deschide un fișier +open_file_label=Deschide +print.title=Tipărește +print_label=Tipărește +download.title=Descarcă +download_label=Descarcă +bookmark.title=Vizualizare actuală (copiază sau deschide într-o fereastră nouă) +bookmark_label=Vizualizare actuală + +# Secondary toolbar and context menu +tools.title=Instrumente +tools_label=Instrumente +first_page.title=Mergi la prima pagină +first_page_label=Mergi la prima pagină +last_page.title=Mergi la ultima pagină +last_page_label=Mergi la ultima pagină +page_rotate_cw.title=Rotește în sensul acelor de ceas +page_rotate_cw_label=Rotește în sensul acelor de ceas +page_rotate_ccw.title=Rotește în sens invers al acelor de ceas +page_rotate_ccw_label=Rotește în sens invers al acelor de ceas + +cursor_text_select_tool.title=Activează instrumentul de selecție a textului +cursor_text_select_tool_label=Instrumentul de selecție a textului +cursor_hand_tool.title=Activează instrumentul mână +cursor_hand_tool_label=Unealta mână + +scroll_vertical.title=Folosește derularea verticală +scroll_vertical_label=Derulare verticală +scroll_horizontal.title=Folosește derularea orizontală +scroll_horizontal_label=Derulare orizontală +scroll_wrapped.title=Folosește derularea încadrată +scroll_wrapped_label=Derulare încadrată + +spread_none.title=Nu uni paginile broșate +spread_none_label=Fără pagini broșate +spread_odd.title=Unește paginile broșate începând cu cele impare +spread_odd_label=Broșare pagini impare +spread_even.title=Unește paginile broșate începând cu cele pare +spread_even_label=Broșare pagini pare + +# Document properties dialog box +document_properties.title=Proprietățile documentului… +document_properties_label=Proprietățile documentului… +document_properties_file_name=Numele fișierului: +document_properties_file_size=Mărimea fișierului: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byți) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byți) +document_properties_title=Titlu: +document_properties_author=Autor: +document_properties_subject=Subiect: +document_properties_keywords=Cuvinte cheie: +document_properties_creation_date=Data creării: +document_properties_modification_date=Data modificării: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Autor: +document_properties_producer=Producător PDF: +document_properties_version=Versiune PDF: +document_properties_page_count=Număr de pagini: +document_properties_page_size=Mărimea paginii: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=verticală +document_properties_page_size_orientation_landscape=orizontală +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Literă +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vizualizare web rapidă: +document_properties_linearized_yes=Da +document_properties_linearized_no=Nu +document_properties_close=Închide + +print_progress_message=Se pregătește documentul pentru tipărire… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Renunță + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Comută bara laterală +toggle_sidebar_label=Comută bara laterală +document_outline.title=Afișează schița documentului (dublu-clic pentru a extinde/restrânge toate elementele) +document_outline_label=Schița documentului +attachments.title=Afișează atașamentele +attachments_label=Atașamente +thumbs.title=Afișează miniaturi +thumbs_label=Miniaturi +findbar.title=Caută în document +findbar_label=Caută + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pagina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura paginii {{page}} + +# Find panel button title and messages +find_input.title=Caută +find_input.placeholder=Caută în document… +find_previous.title=Mergi la apariția anterioară a textului +find_previous_label=Înapoi +find_next.title=Mergi la apariția următoare a textului +find_next_label=Înainte +find_highlight=Evidențiază toate aparițiile +find_match_case_label=Ține cont de majuscule și minuscule +find_entire_word_label=Cuvinte întregi +find_reached_top=Am ajuns la începutul documentului, continuă de la sfârșit +find_reached_bottom=Am ajuns la sfârșitul documentului, continuă de la început +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} din {{total}} rezultat +find_match_count[two]={{current}} din {{total}} rezultate +find_match_count[few]={{current}} din {{total}} rezultate +find_match_count[many]={{current}} din {{total}} de rezultate +find_match_count[other]={{current}} din {{total}} de rezultate +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Peste {{limit}} rezultate +find_match_count_limit[one]=Peste {{limit}} rezultat +find_match_count_limit[two]=Peste {{limit}} rezultate +find_match_count_limit[few]=Peste {{limit}} rezultate +find_match_count_limit[many]=Peste {{limit}} de rezultate +find_match_count_limit[other]=Peste {{limit}} de rezultate +find_not_found=Nu s-a găsit textul + +# Error panel labels +error_more_info=Mai multe informații +error_less_info=Mai puține informații +error_close=Închide +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (versiunea compilată: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesaj: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stivă: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fișier: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rând: {{line}} +rendering_error=A intervenit o eroare la randarea paginii. + +# Predefined zoom values +page_scale_width=Lățime pagină +page_scale_fit=Potrivire la pagină +page_scale_auto=Zoom automat +page_scale_actual=Mărime reală +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=A intervenit o eroare la încărcarea PDF-ului. +invalid_file_error=Fișier PDF nevalid sau corupt. +missing_file_error=Fișier PDF lipsă. +unexpected_response_error=Răspuns neașteptat de la server. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Adnotare {{type}}] +password_label=Introdu parola pentru a deschide acest fișier PDF. +password_invalid=Parolă nevalidă. Te rugăm să încerci din nou. +password_ok=OK +password_cancel=Renunță + +printing_not_supported=Avertisment: Tipărirea nu este suportată în totalitate de acest browser. +printing_not_ready=Avertisment: PDF-ul nu este încărcat complet pentru tipărire. +web_fonts_disabled=Fonturile web sunt dezactivate: nu se pot folosi fonturile PDF încorporate. + diff --git a/media/js/pdf/web/locale/ru/viewer.properties b/media/js/pdf/web/locale/ru/viewer.properties new file mode 100644 index 0000000000..4aa900fdc5 --- /dev/null +++ b/media/js/pdf/web/locale/ru/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Предыдущая страница +previous_label=Предыдущая +next.title=Следующая страница +next_label=Следующая + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Страница +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=из {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} из {{pagesCount}}) + +zoom_out.title=Уменьшить +zoom_out_label=Уменьшить +zoom_in.title=Увеличить +zoom_in_label=Увеличить +zoom.title=Масштаб +presentation_mode.title=Перейти в режим презентации +presentation_mode_label=Режим презентации +open_file.title=Открыть файл +open_file_label=Открыть +print.title=Печать +print_label=Печать +download.title=Загрузить +download_label=Загрузить +bookmark.title=Ссылка на текущий вид (скопировать или открыть в новом окне) +bookmark_label=Текущий вид + +save.title=Сохранить +save_label=Сохранить +bookmark1.title=Текущая страница (просмотр URL-адреса с текущей страницы) +bookmark1_label=Текущая страница + +open_in_app.title=Открыть в приложении +open_in_app_label=Открыть в программе + +# Secondary toolbar and context menu +tools.title=Инструменты +tools_label=Инструменты +first_page.title=Перейти на первую страницу +first_page_label=Перейти на первую страницу +last_page.title=Перейти на последнюю страницу +last_page_label=Перейти на последнюю страницу +page_rotate_cw.title=Повернуть по часовой стрелке +page_rotate_cw_label=Повернуть по часовой стрелке +page_rotate_ccw.title=Повернуть против часовой стрелки +page_rotate_ccw_label=Повернуть против часовой стрелки + +cursor_text_select_tool.title=Включить Инструмент «Выделение текста» +cursor_text_select_tool_label=Инструмент «Выделение текста» +cursor_hand_tool.title=Включить Инструмент «Рука» +cursor_hand_tool_label=Инструмент «Рука» + +scroll_page.title=Использовать прокрутку страниц +scroll_page_label=Прокрутка страниц +scroll_vertical.title=Использовать вертикальную прокрутку +scroll_vertical_label=Вертикальная прокрутка +scroll_horizontal.title=Использовать горизонтальную прокрутку +scroll_horizontal_label=Горизонтальная прокрутка +scroll_wrapped.title=Использовать масштабируемую прокрутку +scroll_wrapped_label=Масштабируемая прокрутка + +spread_none.title=Не использовать режим разворотов страниц +spread_none_label=Без разворотов страниц +spread_odd.title=Развороты начинаются с нечётных номеров страниц +spread_odd_label=Нечётные страницы слева +spread_even.title=Развороты начинаются с чётных номеров страниц +spread_even_label=Чётные страницы слева + +# Document properties dialog box +document_properties.title=Свойства документа… +document_properties_label=Свойства документа… +document_properties_file_name=Имя файла: +document_properties_file_size=Размер файла: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} байт) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} байт) +document_properties_title=Заголовок: +document_properties_author=Автор: +document_properties_subject=Тема: +document_properties_keywords=Ключевые слова: +document_properties_creation_date=Дата создания: +document_properties_modification_date=Дата изменения: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Приложение: +document_properties_producer=Производитель PDF: +document_properties_version=Версия PDF: +document_properties_page_count=Число страниц: +document_properties_page_size=Размер страницы: +document_properties_page_size_unit_inches=дюймов +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=книжная +document_properties_page_size_orientation_landscape=альбомная +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Быстрый просмотр в Web: +document_properties_linearized_yes=Да +document_properties_linearized_no=Нет +document_properties_close=Закрыть + +print_progress_message=Подготовка документа к печати… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Отмена + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Показать/скрыть боковую панель +toggle_sidebar_notification2.title=Показать/скрыть боковую панель (документ имеет содержание/вложения/слои) +toggle_sidebar_label=Показать/скрыть боковую панель +document_outline.title=Показать содержание документа (двойной щелчок, чтобы развернуть/свернуть все элементы) +document_outline_label=Содержание документа +attachments.title=Показать вложения +attachments_label=Вложения +layers.title=Показать слои (дважды щёлкните, чтобы сбросить все слои к состоянию по умолчанию) +layers_label=Слои +thumbs.title=Показать миниатюры +thumbs_label=Миниатюры +current_outline_item.title=Найти текущий элемент структуры +current_outline_item_label=Текущий элемент структуры +findbar.title=Найти в документе +findbar_label=Найти + +additional_layers=Дополнительные слои +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Страница {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Страница {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Миниатюра страницы {{page}} + +# Find panel button title and messages +find_input.title=Найти +find_input.placeholder=Найти в документе… +find_previous.title=Найти предыдущее вхождение фразы в текст +find_previous_label=Назад +find_next.title=Найти следующее вхождение фразы в текст +find_next_label=Далее +find_highlight=Подсветить все +find_match_case_label=С учётом регистра +find_match_diacritics_label=С учётом диакритических знаков +find_entire_word_label=Слова целиком +find_reached_top=Достигнут верх документа, продолжено снизу +find_reached_bottom=Достигнут конец документа, продолжено сверху +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} из {{total}} совпадения +find_match_count[two]={{current}} из {{total}} совпадений +find_match_count[few]={{current}} из {{total}} совпадений +find_match_count[many]={{current}} из {{total}} совпадений +find_match_count[other]={{current}} из {{total}} совпадений +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Более {{limit}} совпадений +find_match_count_limit[one]=Более {{limit}} совпадения +find_match_count_limit[two]=Более {{limit}} совпадений +find_match_count_limit[few]=Более {{limit}} совпадений +find_match_count_limit[many]=Более {{limit}} совпадений +find_match_count_limit[other]=Более {{limit}} совпадений +find_not_found=Фраза не найдена + +# Error panel labels +error_more_info=Детали +error_less_info=Скрыть детали +error_close=Закрыть +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (сборка: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Сообщение: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стeк: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Строка: {{line}} + +# Predefined zoom values +page_scale_width=По ширине страницы +page_scale_fit=По размеру страницы +page_scale_auto=Автоматически +page_scale_actual=Реальный размер +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Загрузка… + +# Loading indicator messages +loading_error=При загрузке PDF произошла ошибка. +invalid_file_error=Некорректный или повреждённый PDF-файл. +missing_file_error=PDF-файл отсутствует. +unexpected_response_error=Неожиданный ответ сервера. + +rendering_error=При создании страницы произошла ошибка. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Аннотация {{type}}] +password_label=Введите пароль, чтобы открыть этот PDF-файл. +password_invalid=Неверный пароль. Пожалуйста, попробуйте снова. +password_ok=OK +password_cancel=Отмена + +printing_not_supported=Предупреждение: В этом браузере не полностью поддерживается печать. +printing_not_ready=Предупреждение: PDF не полностью загружен для печати. +web_fonts_disabled=Веб-шрифты отключены: не удалось задействовать встроенные PDF-шрифты. + +# Editor +editor_free_text2.title=Текст +editor_free_text2_label=Текст +editor_ink2.title=Рисовать +editor_ink2_label=Рисовать + +free_text2_default_content=Начните вводить… + +# Editor Parameters +editor_free_text_color=Цвет +editor_free_text_size=Размер +editor_ink_color=Цвет +editor_ink_thickness=Толщина +editor_ink_opacity=Прозрачность + +# Editor aria +editor_free_text2_aria_label=Текстовый редактор +editor_ink2_aria_label=Редактор рисования +editor_ink_canvas_aria_label=Созданное пользователем изображение diff --git a/media/js/pdf/web/locale/sat/viewer.properties b/media/js/pdf/web/locale/sat/viewer.properties new file mode 100644 index 0000000000..29977f4a03 --- /dev/null +++ b/media/js/pdf/web/locale/sat/viewer.properties @@ -0,0 +1,283 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=ᱢᱟᱲᱟᱝ ᱥᱟᱦᱴᱟ +previous_label=ᱢᱟᱲᱟᱝᱟᱜ +next.title=ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ ᱥᱟᱦᱴᱟ +next_label=ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ᱥᱟᱦᱴᱟ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ᱨᱮᱭᱟᱜ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ᱠᱷᱚᱱ {{pagesCount}}) + +zoom_out.title=ᱦᱤᱲᱤᱧ ᱛᱮᱭᱟᱨ +zoom_out_label=ᱦᱤᱲᱤᱧ ᱛᱮᱭᱟᱨ +zoom_in.title=ᱢᱟᱨᱟᱝ ᱛᱮᱭᱟᱨ +zoom_in_label=ᱢᱟᱨᱟᱝ ᱛᱮᱭᱟᱨ +zoom.title=ᱡᱩᱢ +presentation_mode.title=ᱩᱫᱩᱜ ᱥᱚᱫᱚᱨ ᱚᱵᱚᱥᱛᱟ ᱨᱮ ᱚᱛᱟᱭ ᱢᱮ +presentation_mode_label=ᱩᱫᱩᱜ ᱥᱚᱫᱚᱨ ᱚᱵᱚᱥᱛᱟ ᱨᱮ +open_file.title=ᱨᱮᱫ ᱡᱷᱤᱡᱽ ᱢᱮ +open_file_label=ᱡᱷᱤᱡᱽ ᱢᱮ +print.title=ᱪᱷᱟᱯᱟ +print_label=ᱪᱷᱟᱯᱟ +download.title=ᱰᱟᱩᱱᱞᱚᱰ +download_label=ᱰᱟᱩᱱᱞᱚᱰ +bookmark.title=ᱱᱤᱛᱚᱜᱟᱜ ᱧᱮᱞ (ᱱᱚᱶᱟ ᱡᱷᱚᱨᱠᱟ ᱨᱮ ᱱᱚᱠᱚᱞ ᱟᱨ ᱵᱟᱝ ᱡᱷᱤᱡᱽ ᱢᱮ ) +bookmark_label=ᱱᱤᱛᱚᱜᱟᱜ ᱧᱮᱞ + +save.title=ᱥᱟᱺᱪᱟᱣ ᱢᱮ +save_label=ᱥᱟᱺᱪᱟᱣ ᱢᱮ +bookmark1.title=ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ (ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ ᱠᱷᱚᱱ URL ᱫᱮᱠᱷᱟᱣ ᱢᱮ) +bookmark1_label=ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=ᱮᱯ ᱨᱮ ᱡᱷᱤᱡᱽ ᱢᱮ +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=ᱮᱯ ᱨᱮ ᱡᱷᱤᱡᱽ ᱢᱮ + +# Secondary toolbar and context menu +tools.title=ᱦᱟᱹᱛᱤᱭᱟᱹᱨ ᱠᱚ +tools_label=ᱦᱟᱹᱛᱤᱭᱟᱹᱨ ᱠᱚ +first_page.title=ᱯᱩᱭᱞᱩ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ +first_page_label=ᱯᱩᱭᱞᱩ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ +last_page.title=ᱢᱩᱪᱟᱹᱫ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ +last_page_label=ᱢᱩᱪᱟᱹᱫ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ +page_rotate_cw.title=ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱟᱹᱪᱩᱨ +page_rotate_cw_label=ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱟᱹᱪᱩᱨ +page_rotate_ccw.title=ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱩᱞᱴᱟᱹ ᱟᱹᱪᱩᱨ +page_rotate_ccw_label=ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱩᱞᱴᱟᱹ ᱟᱹᱪᱩᱨ + +cursor_text_select_tool.title=ᱚᱞ ᱵᱟᱪᱷᱟᱣ ᱦᱟᱹᱛᱤᱭᱟᱨ ᱮᱢ ᱪᱷᱚᱭ ᱢᱮ +cursor_text_select_tool_label=ᱚᱞ ᱵᱟᱪᱷᱟᱣ ᱦᱟᱹᱛᱤᱭᱟᱨ +cursor_hand_tool.title=ᱛᱤ ᱦᱟᱹᱛᱤᱭᱟᱨ ᱮᱢ ᱪᱷᱚᱭ ᱢᱮ +cursor_hand_tool_label=ᱛᱤ ᱦᱟᱹᱛᱤᱭᱟᱨ + +scroll_page.title=ᱥᱟᱦᱴᱟ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ +scroll_page_label=ᱥᱟᱦᱴᱟ ᱜᱩᱲᱟᱹᱣ +scroll_vertical.title=ᱥᱤᱫᱽ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ +scroll_vertical_label=ᱥᱤᱫᱽ ᱜᱩᱲᱟᱹᱣ +scroll_horizontal.title=ᱜᱤᱛᱤᱡ ᱛᱮ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ +scroll_horizontal_label=ᱜᱤᱛᱤᱡ ᱛᱮ ᱜᱩᱲᱟᱹᱣ +scroll_wrapped.title=ᱞᱤᱯᱴᱟᱹᱣ ᱜᱩᱰᱨᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ +scroll_wrapped_label=ᱞᱤᱯᱴᱟᱣ ᱜᱩᱰᱨᱟᱹᱣ + +spread_none.title=ᱟᱞᱚᱢ ᱡᱚᱲᱟᱣ ᱟ ᱥᱟᱦᱴᱟ ᱫᱚ ᱯᱟᱥᱱᱟᱣᱜᱼᱟ +spread_none_label=ᱯᱟᱥᱱᱟᱣ ᱵᱟᱹᱱᱩᱜᱼᱟ +spread_odd.title=ᱥᱟᱦᱴᱟ ᱯᱟᱥᱱᱟᱣ ᱡᱚᱲᱟᱣ ᱢᱮ ᱡᱟᱦᱟᱸ ᱫᱚ ᱚᱰᱼᱮᱞ ᱥᱟᱦᱴᱟᱠᱚ ᱥᱟᱞᱟᱜ ᱮᱛᱦᱚᱵᱚᱜ ᱠᱟᱱᱟ +spread_odd_label=ᱚᱰ ᱯᱟᱥᱱᱟᱣ +spread_even.title=ᱥᱟᱦᱴᱟ ᱯᱟᱥᱱᱟᱣ ᱡᱚᱲᱟᱣ ᱢᱮ ᱡᱟᱦᱟᱸ ᱫᱚ ᱤᱣᱮᱱᱼᱮᱞ ᱥᱟᱦᱴᱟᱠᱚ ᱥᱟᱞᱟᱜ ᱮᱛᱦᱚᱵᱚᱜ ᱠᱟᱱᱟ +spread_even_label=ᱯᱟᱥᱱᱟᱣ ᱤᱣᱮᱱ + +# Document properties dialog box +document_properties.title=ᱫᱚᱞᱤᱞ ᱜᱩᱱᱠᱚ … +document_properties_label=ᱫᱚᱞᱤᱞ ᱜᱩᱱᱠᱚ … +document_properties_file_name=ᱨᱮᱫᱽ ᱧᱩᱛᱩᱢ : +document_properties_file_size=ᱨᱮᱫᱽ ᱢᱟᱯ : +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ᱵᱟᱭᱤᱴ ᱠᱚ) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} ᱵᱟᱭᱤᱴ ᱠᱚ) +document_properties_title=ᱧᱩᱛᱩᱢ : +document_properties_author=ᱚᱱᱚᱞᱤᱭᱟᱹ : +document_properties_subject=ᱵᱤᱥᱚᱭ : +document_properties_keywords=ᱠᱟᱹᱴᱷᱤ ᱥᱟᱵᱟᱫᱽ : +document_properties_creation_date=ᱛᱮᱭᱟᱨ ᱢᱟᱸᱦᱤᱛ : +document_properties_modification_date=ᱵᱚᱫᱚᱞ ᱦᱚᱪᱚ ᱢᱟᱹᱦᱤᱛ : +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ᱵᱮᱱᱟᱣᱤᱡ : +document_properties_producer=PDF ᱛᱮᱭᱟᱨ ᱚᱰᱚᱠᱤᱡ : +document_properties_version=PDF ᱵᱷᱟᱹᱨᱥᱚᱱ : +document_properties_page_count=ᱥᱟᱦᱴᱟ ᱞᱮᱠᱷᱟ : +document_properties_page_size=ᱥᱟᱦᱴᱟ ᱢᱟᱯ : +document_properties_page_size_unit_inches=ᱤᱧᱪ +document_properties_page_size_unit_millimeters=ᱢᱤᱢᱤ +document_properties_page_size_orientation_portrait=ᱯᱚᱴᱨᱮᱴ +document_properties_page_size_orientation_landscape=ᱞᱮᱱᱰᱥᱠᱮᱯ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=ᱪᱤᱴᱷᱤ +document_properties_page_size_name_legal=ᱠᱟᱹᱱᱩᱱᱤ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=ᱞᱚᱜᱚᱱ ᱣᱮᱵᱽ ᱧᱮᱞ : +document_properties_linearized_yes=ᱦᱚᱭ +document_properties_linearized_no=ᱵᱟᱝ +document_properties_close=ᱵᱚᱸᱫᱚᱭ ᱢᱮ + +print_progress_message=ᱪᱷᱟᱯᱟ ᱞᱟᱹᱜᱤᱫ ᱫᱚᱞᱤᱞ ᱛᱮᱭᱟᱨᱚᱜ ᱠᱟᱱᱟ … +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ᱵᱟᱹᱰᱨᱟᱹ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ +toggle_sidebar_notification2.title=ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ (ᱫᱚᱞᱤᱞ ᱨᱮ ᱟᱣᱴᱞᱟᱭᱤᱢ ᱢᱮᱱᱟᱜᱼᱟ/ᱞᱟᱪᱷᱟᱠᱚ/ᱯᱚᱨᱚᱛᱠᱚ) +toggle_sidebar_label=ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ +document_outline.title=ᱫᱚᱞᱚᱞ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱫᱮᱠᱷᱟᱣ ᱢᱮ (ᱡᱷᱚᱛᱚ ᱡᱤᱱᱤᱥᱠᱚ ᱵᱟᱨ ᱡᱮᱠᱷᱟ ᱚᱛᱟ ᱠᱮᱛᱮ ᱡᱷᱟᱹᱞ/ᱦᱩᱰᱤᱧ ᱪᱷᱚᱭ ᱢᱮ) +document_outline_label=ᱫᱚᱞᱤᱞ ᱛᱮᱭᱟᱨ ᱛᱮᱫ +attachments.title=ᱞᱟᱴᱷᱟ ᱥᱮᱞᱮᱫ ᱠᱚ ᱩᱫᱩᱜᱽ ᱢᱮ +attachments_label=ᱞᱟᱴᱷᱟ ᱥᱮᱞᱮᱫ ᱠᱚ +layers.title=ᱯᱚᱨᱚᱛ ᱫᱮᱠᱷᱟᱣ ᱢᱮ (ᱢᱩᱞ ᱡᱟᱭᱜᱟ ᱛᱮ ᱡᱷᱚᱛᱚ ᱯᱚᱨᱚᱛᱠᱚ ᱨᱤᱥᱮᱴ ᱞᱟᱹᱜᱤᱫ ᱵᱟᱨ ᱡᱮᱠᱷᱟ ᱚᱛᱚᱭ ᱢᱮ) +layers_label=ᱯᱚᱨᱚᱛᱠᱚ +thumbs.title=ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ ᱠᱚ ᱩᱫᱩᱜᱽ ᱢᱮ +thumbs_label=ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ ᱠᱚ +current_outline_item.title=ᱱᱤᱛᱚᱜᱟᱜ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱡᱟᱱᱤᱥ ᱯᱟᱱᱛᱮ ᱢᱮ +current_outline_item_label=ᱱᱤᱛᱚᱜᱟᱜ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱡᱟᱱᱤᱥ +findbar.title=ᱫᱚᱞᱤᱞ ᱨᱮ ᱯᱟᱱᱛᱮ +findbar_label=ᱥᱮᱸᱫᱽᱨᱟᱭ ᱢᱮ + +additional_layers=ᱵᱟᱹᱲᱛᱤ ᱯᱚᱨᱚᱛᱠᱚ +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark={{page}} ᱥᱟᱦᱴᱟ +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} ᱥᱟᱦᱴᱟ +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} ᱥᱟᱦᱴᱟ ᱨᱮᱭᱟᱜ ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ + +# Find panel button title and messages +find_input.title=ᱥᱮᱸᱫᱽᱨᱟᱭ ᱢᱮ +find_input.placeholder=ᱫᱚᱞᱤᱞ ᱨᱮ ᱯᱟᱱᱛᱮ ᱢᱮ … +find_previous.title=ᱟᱭᱟᱛ ᱦᱤᱸᱥ ᱨᱮᱭᱟᱜ ᱯᱟᱹᱦᱤᱞ ᱥᱮᱫᱟᱜ ᱚᱰᱚᱠ ᱧᱟᱢ ᱢᱮ +find_previous_label=ᱢᱟᱲᱟᱝᱟᱜ +find_next.title=ᱟᱭᱟᱛ ᱦᱤᱸᱥ ᱨᱮᱭᱟᱜ ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ ᱚᱰᱚᱠ ᱧᱟᱢ ᱢᱮ +find_next_label=ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ +find_highlight=ᱡᱷᱚᱛᱚ ᱩᱫᱩᱜ ᱨᱟᱠᱟᱵ +find_match_case_label=ᱡᱚᱲ ᱠᱟᱛᱷᱟ +find_match_diacritics_label=ᱵᱤᱥᱮᱥᱚᱠ ᱠᱚ ᱢᱮᱲᱟᱣ ᱢᱮ +find_entire_word_label=ᱡᱷᱚᱛᱚ ᱟᱹᱲᱟᱹᱠᱚ +find_reached_top=ᱫᱚᱞᱤᱞ ᱨᱮᱭᱟᱜ ᱪᱤᱴ ᱨᱮ ᱥᱮᱴᱮᱨ, ᱞᱟᱛᱟᱨ ᱠᱷᱚᱱ ᱞᱮᱛᱟᱲ +find_reached_bottom=ᱫᱚᱞᱤᱞ ᱨᱮᱭᱟᱜ ᱢᱩᱪᱟᱹᱫ ᱨᱮ ᱥᱮᱴᱮᱨ, ᱪᱚᱴ ᱠᱷᱚᱱ ᱞᱮᱛᱟᱲ +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} ᱨᱮᱭᱟᱜ {{total}} ᱡᱚᱲ +find_match_count[two]={{current}} ᱨᱮᱭᱟᱜ {{total}} ᱡᱚᱲᱠᱚ +find_match_count[few]={{current}} ᱨᱮᱭᱟᱜ {{total}} ᱡᱚᱲᱠᱚ +find_match_count[many]={{current}} ᱨᱮᱭᱟᱜ {{total}} ᱡᱚᱲᱠᱚ +find_match_count[other]={{current}} ᱨᱮᱭᱟᱜ {{total}} ᱡᱚᱲᱠᱚ +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} ᱡᱚᱲ ᱠᱚ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_match_count_limit[one]={{limit}} ᱡᱚᱲ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_match_count_limit[two]={{limit}} ᱡᱚᱲ ᱠᱚ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_match_count_limit[few]={{limit}} ᱡᱚᱲ ᱠᱚ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_match_count_limit[many]={{limit}} ᱡᱚᱲ ᱠᱚ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_match_count_limit[other]={{limit}} ᱡᱚᱲ ᱠᱚ ᱠᱷᱚᱱ ᱰᱷᱮᱨ +find_not_found=ᱛᱚᱯᱚᱞ ᱫᱚᱱᱚᱲ ᱵᱟᱝ ᱧᱟᱢ ᱞᱮᱱᱟ + +# Error panel labels +error_more_info=ᱵᱟᱹᱲᱛᱤ ᱞᱟᱹᱭ ᱥᱚᱫᱚᱨ +error_less_info=ᱠᱚᱢ ᱞᱟᱹᱭ ᱥᱚᱫᱚᱨ +error_close=ᱵᱚᱸᱫᱚᱭ ᱢᱮ +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ᱠᱷᱚᱵᱚᱨ : {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=ᱵᱟᱝ : {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ᱨᱮᱫᱽ : {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=ᱜᱟᱨ : {{line}} + +# Predefined zoom values +page_scale_width=ᱥᱟᱦᱴᱟ ᱚᱥᱟᱨ +page_scale_fit=ᱥᱟᱦᱴᱟ ᱠᱷᱟᱯ +page_scale_auto=ᱟᱡᱼᱟᱡ ᱛᱮ ᱦᱩᱰᱤᱧ ᱞᱟᱹᱴᱩ ᱛᱮᱭᱟᱨ +page_scale_actual=ᱴᱷᱤᱠ ᱢᱟᱨᱟᱝ ᱛᱮᱫ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=ᱞᱟᱫᱮᱜ ᱠᱟᱱᱟ … + +# Loading indicator messages +loading_error=PDF ᱞᱟᱫᱮ ᱡᱚᱦᱚᱜ ᱢᱤᱫ ᱵᱷᱩᱞ ᱦᱩᱭ ᱮᱱᱟ ᱾ +invalid_file_error=ᱵᱟᱝ ᱵᱟᱛᱟᱣ ᱟᱨᱵᱟᱝᱠᱷᱟᱱ ᱰᱤᱜᱟᱹᱣ PDF ᱨᱮᱫᱽ ᱾ +missing_file_error=ᱟᱫᱟᱜ PDF ᱨᱮᱫᱽ ᱾ +unexpected_response_error=ᱵᱟᱝᱵᱩᱡᱷ ᱥᱚᱨᱵᱷᱚᱨ ᱛᱮᱞᱟ ᱾ + +rendering_error=ᱥᱟᱦᱴᱟ ᱮᱢ ᱡᱚᱦᱚᱠ ᱢᱤᱫ ᱵᱷᱩᱞ ᱦᱩᱭ ᱮᱱᱟ ᱾ + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} ᱢᱚᱱᱛᱚ ᱮᱢ] +password_label=ᱱᱚᱶᱟ PDF ᱨᱮᱫᱽ ᱡᱷᱤᱡᱽ ᱞᱟᱹᱜᱤᱫ ᱫᱟᱱᱟᱝ ᱥᱟᱵᱟᱫᱽ ᱟᱫᱮᱨ ᱢᱮ ᱾ +password_invalid=ᱵᱷᱩᱞ ᱫᱟᱱᱟᱝ ᱥᱟᱵᱟᱫᱽ ᱾ ᱫᱟᱭᱟᱠᱟᱛᱮ ᱫᱩᱦᱲᱟᱹ ᱪᱮᱥᱴᱟᱭ ᱢᱮ ᱾ +password_ok=ᱴᱷᱤᱠ +password_cancel=ᱵᱟᱹᱰᱨᱟᱹ + +printing_not_supported=ᱦᱚᱥᱤᱭᱟᱨ : ᱪᱷᱟᱯᱟ ᱱᱚᱣᱟ ᱯᱟᱱᱛᱮᱭᱟᱜ ᱫᱟᱨᱟᱭ ᱛᱮ ᱯᱩᱨᱟᱹᱣ ᱵᱟᱭ ᱜᱚᱲᱚᱣᱟᱠᱟᱱᱟ ᱾ +printing_not_ready=ᱦᱩᱥᱤᱭᱟᱹᱨ : ᱪᱷᱟᱯᱟ ᱞᱟᱹᱜᱤᱫ PDF ᱯᱩᱨᱟᱹ ᱵᱟᱭ ᱞᱟᱫᱮ ᱟᱠᱟᱱᱟ ᱾ +web_fonts_disabled=ᱣᱮᱵᱽ ᱪᱤᱠᱤ ᱵᱟᱝ ᱦᱩᱭ ᱦᱚᱪᱚ ᱠᱟᱱᱟ : ᱵᱷᱤᱛᱤᱨ ᱛᱷᱟᱯᱚᱱ PDF ᱪᱤᱠᱤ ᱵᱮᱵᱷᱟᱨ ᱵᱟᱝ ᱦᱩᱭ ᱠᱮᱭᱟ ᱾ + +# Editor +editor_free_text2.title=ᱚᱞ +editor_free_text2_label=ᱚᱞ +editor_ink2.title=ᱛᱮᱭᱟᱨ +editor_ink2_label=ᱛᱮᱭᱟᱨ + +free_text2_default_content=ᱚᱞ ᱮᱛᱦᱚᱵ ᱢᱮ … + +# Editor Parameters +editor_free_text_color=ᱨᱚᱝ +editor_free_text_size=ᱢᱟᱯ +editor_ink_color=ᱨᱚᱝ +editor_ink_thickness=ᱢᱚᱴᱟ +editor_ink_opacity=ᱟᱨᱯᱟᱨ + +# Editor aria +editor_free_text2_aria_label=ᱚᱞ ᱥᱟᱯᱲᱟᱣᱤᱭᱟᱹ +editor_ink2_aria_label=ᱛᱮᱭᱟᱨ ᱥᱟᱯᱲᱟᱣᱤᱭᱟᱹ +editor_ink_canvas_aria_label=ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ ᱛᱮᱭᱟᱨ ᱠᱟᱫ ᱪᱤᱛᱟᱹᱨ diff --git a/media/js/pdf/web/locale/sc/viewer.properties b/media/js/pdf/web/locale/sc/viewer.properties new file mode 100644 index 0000000000..a1897560e9 --- /dev/null +++ b/media/js/pdf/web/locale/sc/viewer.properties @@ -0,0 +1,266 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pàgina anteriore +previous_label=S'ischeda chi b'est primu +next.title=Pàgina imbeniente +next_label=Imbeniente + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pàgina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=de {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} de {{pagesCount}}) + +zoom_out.title=Impitica +zoom_out_label=Impitica +zoom_in.title=Ismànnia +zoom_in_label=Ismànnia +zoom.title=Ismànnia +presentation_mode.title=Cola a sa modalidade de presentatzione +presentation_mode_label=Modalidade de presentatzione +open_file.title=Aberi s'archìviu +open_file_label=Abertu +print.title=Imprenta +print_label=Imprenta +download.title=Iscàrriga +download_label=Iscàrriga +bookmark.title=Visualizatzione atuale (còpia o aberi in una ventana noa) +bookmark_label=Visualizatzione atuale + +save.title=Sarva +save_label=Sarva + + +# Secondary toolbar and context menu +tools.title=Istrumentos +tools_label=Istrumentos +first_page.title=Bae a sa prima pàgina +first_page_label=Bae a sa prima pàgina +last_page.title=Bae a s'ùrtima pàgina +last_page_label=Bae a s'ùrtima pàgina +page_rotate_cw.title=Gira in sensu oràriu +page_rotate_cw_label=Gira in sensu oràriu +page_rotate_ccw.title=Gira in sensu anti-oràriu +page_rotate_ccw_label=Gira in sensu anti-oràriu + +cursor_text_select_tool.title=Ativa s'aina de seletzione de testu +cursor_text_select_tool_label=Aina de seletzione de testu +cursor_hand_tool.title=Ativa s'aina de manu +cursor_hand_tool_label=Aina de manu + +scroll_page.title=Imprea s'iscurrimentu de pàgina +scroll_page_label=Iscurrimentu de pàgina +scroll_vertical.title=Imprea s'iscurrimentu verticale +scroll_vertical_label=Iscurrimentu verticale +scroll_horizontal.title=Imprea s'iscurrimentu orizontale +scroll_horizontal_label=Iscurrimentu orizontale +scroll_wrapped.title=Imprea s'iscurrimentu continu +scroll_wrapped_label=Iscurrimentu continu + + +# Document properties dialog box +document_properties.title=Propiedades de su documentu… +document_properties_label=Propiedades de su documentu… +document_properties_file_name=Nòmine de s'archìviu: +document_properties_file_size=Mannària de s'archìviu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Tìtulu: +document_properties_author=Autoria: +document_properties_subject=Ogetu: +document_properties_keywords=Faeddos crae: +document_properties_creation_date=Data de creatzione: +document_properties_modification_date=Data de modìfica: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Creatzione: +document_properties_producer=Produtore de PDF: +document_properties_version=Versione de PDF: +document_properties_page_count=Contu de pàginas: +document_properties_page_size=Mannària de sa pàgina: +document_properties_page_size_unit_inches=pòddighes +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=verticale +document_properties_page_size_orientation_landscape=orizontale +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Lìtera +document_properties_page_size_name_legal=Legale +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Visualizatzione web lestra: +document_properties_linearized_yes=Eja +document_properties_linearized_no=Nono +document_properties_close=Serra + +print_progress_message=Aparitzende s'imprenta de su documentu… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Cantzella + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Ativa/disativa sa barra laterale +toggle_sidebar_notification2.title=Ativa/disativa sa barra laterale (su documentu cuntenet un'ischema, alligongiados o livellos) +toggle_sidebar_label=Ativa/disativa sa barra laterale +document_outline_label=Ischema de su documentu +attachments.title=Ammustra alligongiados +attachments_label=Alliongiados +layers.title=Ammustra livellos (clic dòpiu pro ripristinare totu is livellos a s'istadu predefinidu) +layers_label=Livellos +thumbs.title=Ammustra miniaturas +thumbs_label=Miniaturas +current_outline_item.title=Agata s'elementu atuale de s'ischema +current_outline_item_label=Elementu atuale de s'ischema +findbar.title=Agata in su documentu +findbar_label=Agata + +additional_layers=Livellos additzionales +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Pàgina {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pàgina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura de sa pàgina {{page}} + +# Find panel button title and messages +find_input.title=Agata +find_input.placeholder=Agata in su documentu… +find_previous.title=Agata s'ocurrèntzia pretzedente de sa fràsia +find_previous_label=S'ischeda chi b'est primu +find_next.title=Agata s'ocurrèntzia imbeniente de sa fràsia +find_next_label=Imbeniente +find_highlight=Evidèntzia totu +find_match_case_label=Distinghe intre majùsculas e minùsculas +find_match_diacritics_label=Respeta is diacrìticos +find_entire_word_label=Faeddos intreos +find_reached_top=S'est lòmpidu a su cumintzu de su documentu, si sighit dae su bàsciu +find_reached_bottom=Acabbu de su documentu, si sighit dae s'artu +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} dae {{total}} currispondèntzia +find_match_count[two]={{current}} dae {{total}} currispondèntzias +find_match_count[few]={{current}} dae {{total}} currispondèntzias +find_match_count[many]={{current}} dae {{total}} currispondèntzias +find_match_count[other]={{current}} dae {{total}} currispondèntzias +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Prus de {{limit}} currispondèntzias +find_match_count_limit[one]=Prus de {{limit}} currispondèntzia +find_match_count_limit[two]=Prus de {{limit}} currispondèntzias +find_match_count_limit[few]=Prus de {{limit}} currispondèntzias +find_match_count_limit[many]=Prus de {{limit}} currispondèntzias +find_match_count_limit[other]=Prus de {{limit}} currispondèntzias +find_not_found=Testu no agatadu + +# Error panel labels +error_more_info=Àteras informatziones +error_less_info=Prus pagu informatziones +error_close=Serra +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Messàgiu: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archìviu: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lìnia: {{line}} + +# Predefined zoom values +page_scale_auto=Ingrandimentu automàticu +page_scale_actual=Mannària reale +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Carrighende… + +# Loading indicator messages +loading_error=Faddina in sa càrriga de su PDF. +invalid_file_error=Archìviu PDF non vàlidu o corrùmpidu. +missing_file_error=Ammancat s'archìviu PDF. +unexpected_response_error=Risposta imprevista de su serbidore. + +rendering_error=Faddina in sa visualizatzione de sa pàgina. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_label=Inserta sa crae pro abèrrere custu archìviu PDF. +password_invalid=Sa crae no est curreta. Torra a nche proare. +password_ok=Andat bene +password_cancel=Cantzella + +printing_not_supported=Atentzione: s'imprenta no est funtzionende de su totu in custu navigadore. +printing_not_ready=Atentzione: su PDF no est istadu carrigadu de su totu pro s'imprenta. +web_fonts_disabled=Is tipografias web sunt disativadas: is tipografias incrustadas a su PDF non podent èssere impreadas. + +# Editor +editor_free_text2.title=Testu +editor_free_text2_label=Testu +editor_ink2.title=Disinnu +editor_ink2_label=Disinnu + +free_text2_default_content=Cumintza a iscrìere… + +# Editor Parameters +editor_free_text_color=Colore +editor_free_text_size=Mannària +editor_ink_color=Colore +editor_ink_thickness=Grussària + +# Editor aria +editor_free_text2_aria_label=Editore de testu +editor_ink2_aria_label=Editore de disinnos +editor_ink_canvas_aria_label=Immàgine creada dae s’utente diff --git a/media/js/pdf/web/locale/scn/viewer.properties b/media/js/pdf/web/locale/scn/viewer.properties new file mode 100644 index 0000000000..e9a650a914 --- /dev/null +++ b/media/js/pdf/web/locale/scn/viewer.properties @@ -0,0 +1,101 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Cchiù nicu +zoom_out_label=Cchiù nicu +zoom_in.title=Cchiù granni +zoom_in_label=Cchiù granni + +# Secondary toolbar and context menu + + + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Vista web lesta: +document_properties_linearized_yes=Se + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_close=Sfai + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. + +# Find panel button title and messages +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. + +# Error panel labels +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number + +# Predefined zoom values +page_scale_width=Larghizza dâ pàggina +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +# Loading indicator messages + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_cancel=Sfai + diff --git a/media/js/pdf/web/locale/sco/viewer.properties b/media/js/pdf/web/locale/sco/viewer.properties new file mode 100644 index 0000000000..3cc993551c --- /dev/null +++ b/media/js/pdf/web/locale/sco/viewer.properties @@ -0,0 +1,249 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Page Afore +previous_label=Previous +next.title=Page Efter +next_label=Neist + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Page +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=o {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} o {{pagesCount}}) + +zoom_out.title=Zoom Oot +zoom_out_label=Zoom Oot +zoom_in.title=Zoom In +zoom_in_label=Zoom In +zoom.title=Zoom +presentation_mode.title=Flit tae Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Open File +open_file_label=Open +print.title=Prent +print_label=Prent +download.title=Doonload +download_label=Doonload +bookmark.title=View the noo (copy or open in new windae) +bookmark_label=View The Noo + +# Secondary toolbar and context menu +tools.title=Tools +tools_label=Tools +first_page.title=Gang tae First Page +first_page_label=Gang tae First Page +last_page.title=Gang tae Lest Page +last_page_label=Gang tae Lest Page +page_rotate_cw.title=Rotate Clockwise +page_rotate_cw_label=Rotate Clockwise +page_rotate_ccw.title=Rotate Coonterclockwise +page_rotate_ccw_label=Rotate Coonterclockwise + +cursor_text_select_tool.title=Enable Text Walin Tool +cursor_text_select_tool_label=Text Walin Tool +cursor_hand_tool.title=Enable Haun Tool +cursor_hand_tool_label=Haun Tool + +scroll_vertical.title=Yaise Vertical Scrollin +scroll_vertical_label=Vertical Scrollin +scroll_horizontal.title=Yaise Horizontal Scrollin +scroll_horizontal_label=Horizontal Scrollin +scroll_wrapped.title=Yaise Wrapped Scrollin +scroll_wrapped_label=Wrapped Scrollin + +spread_none.title=Dinnae jyn page spreids +spread_none_label=Nae Spreids +spread_odd.title=Jyn page spreids stertin wi odd-numbered pages +spread_odd_label=Odd Spreids +spread_even.title=Jyn page spreids stertin wi even-numbered pages +spread_even_label=Even Spreids + +# Document properties dialog box +document_properties.title=Document Properties… +document_properties_label=Document Properties… +document_properties_file_name=File nemme: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Title: +document_properties_author=Author: +document_properties_subject=Subjeck: +document_properties_keywords=Keywirds: +document_properties_creation_date=Date o Makkin: +document_properties_modification_date=Date o Chynges: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Makker: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Page Coont: +document_properties_page_size=Page Size: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portrait +document_properties_page_size_orientation_landscape=landscape +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Wab View: +document_properties_linearized_yes=Aye +document_properties_linearized_no=Naw +document_properties_close=Sneck + +print_progress_message=Reddin document fur prentin… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Stap + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Toggle Sidebaur +toggle_sidebar_notification2.title=Toggle Sidebaur (document conteens ootline/attachments/layers) +toggle_sidebar_label=Toggle Sidebaur +document_outline.title=Kythe Document Ootline (double-click fur tae oot-fauld/in-fauld aw items) +document_outline_label=Document Ootline +attachments.title=Kythe Attachments +attachments_label=Attachments +layers.title=Kythe Layers (double-click fur tae reset aw layers tae the staunart state) +layers_label=Layers +thumbs.title=Kythe Thumbnails +thumbs_label=Thumbnails +current_outline_item.title=Find Current Ootline Item +current_outline_item_label=Current Ootline Item +findbar.title=Find in Document +findbar_label=Find + +additional_layers=Mair Layers +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Page {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Page {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail o Page {{page}} + +# Find panel button title and messages +find_input.title=Find +find_input.placeholder=Find in document… +find_previous.title=Airt oot the last time this phrase occurred +find_previous_label=Previous +find_next.title=Airt oot the neist time this phrase occurs +find_next_label=Neist +find_highlight=Highlicht aw +find_match_case_label=Match case +find_entire_word_label=Hale Wirds +find_reached_top=Raxed tap o document, went on fae the dowp end +find_reached_bottom=Raxed end o document, went on fae the tap +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} o {{total}} match +find_match_count[two]={{current}} o {{total}} matches +find_match_count[few]={{current}} o {{total}} matches +find_match_count[many]={{current}} o {{total}} matches +find_match_count[other]={{current}} o {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mair nor {{limit}} matches +find_match_count_limit[one]=Mair nor {{limit}} match +find_match_count_limit[two]=Mair nor {{limit}} matches +find_match_count_limit[few]=Mair nor {{limit}} matches +find_match_count_limit[many]=Mair nor {{limit}} matches +find_match_count_limit[other]=Mair nor {{limit}} matches +find_not_found=Phrase no fund + +# Error panel labels +error_more_info=Mair Information +error_less_info=Less Information +error_close=Sneck +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Line: {{line}} +rendering_error=A mishanter tuik place while renderin the page. + +# Predefined zoom values +page_scale_width=Page Width +page_scale_fit=Page Fit +page_scale_auto=Automatic Zoom +page_scale_actual=Actual Size +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Loadin… +loading_error=An mishanter tuik place while loadin the PDF. +invalid_file_error=No suithfest or camshauchlet PDF file. +missing_file_error=PDF file tint. +unexpected_response_error=Unexpectit server repone. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Inpit the passwird fur tae open this PDF file. +password_invalid=Passwird no suithfest. Gonnae gie it anither shot. +password_ok=OK +password_cancel=Stap + +printing_not_supported=Tak tent: Prentin isnae richt supportit by this stravaiger. +printing_not_ready=Tak tent: The PDF isnae richt loadit fur prentin. +web_fonts_disabled=Wab fonts are disabled: cannae yaise embeddit PDF fonts. + diff --git a/media/js/pdf/web/locale/si/viewer.properties b/media/js/pdf/web/locale/si/viewer.properties new file mode 100644 index 0000000000..04dfaf4fe4 --- /dev/null +++ b/media/js/pdf/web/locale/si/viewer.properties @@ -0,0 +1,237 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=කලින් පිටුව +previous_label=කලින් +next.title=ඊළඟ පිටුව +next_label=ඊළඟ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=පිටුව +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=කුඩාලනය +zoom_out_label=කුඩාලනය +zoom_in.title=විශාලනය +zoom_in_label=විශාලනය +zoom.title=විශාල කරන්න +presentation_mode.title=සමර්පණ ප්රකාරය වෙත මාරුවන්න +presentation_mode_label=සමර්පණ ප්රකාරය +open_file.title=ගොනුව අරින්න +open_file_label=අරින්න +print.title=මුද්රණය +print_label=මුද්රණය +download.title=බාගන්න +download_label=බාගන්න +bookmark.title=වත්මන් දැක්ම (පිටපත් කරන්න හෝ නව කවුළුවක අරින්න) +bookmark_label=වත්මන් දැක්ම + +# Secondary toolbar and context menu +tools.title=මෙවලම් +tools_label=මෙවලම් +first_page.title=මුල් පිටුවට යන්න +first_page_label=මුල් පිටුවට යන්න +last_page.title=අවසන් පිටුවට යන්න +last_page_label=අවසන් පිටුවට යන්න + +cursor_text_select_tool.title=පෙළ තේරීමේ මෙවලම සබල කරන්න +cursor_text_select_tool_label=පෙළ තේරීමේ මෙවලම +cursor_hand_tool.title=අත් මෙවලම සබල කරන්න +cursor_hand_tool_label=අත් මෙවලම + +scroll_page.title=පිටුව අනුචලනය භාවිතය +scroll_page_label=පිටුව අනුචලනය +scroll_vertical.title=සිරස් අනුචලනය භාවිතය +scroll_vertical_label=සිරස් අනුචලනය +scroll_horizontal.title=තිරස් අනුචලනය භාවිතය +scroll_horizontal_label=තිරස් අනුචලනය + + +# Document properties dialog box +document_properties.title=ලේඛනයේ ගුණාංග… +document_properties_label=ලේඛනයේ ගුණාංග… +document_properties_file_name=ගොනුවේ නම: +document_properties_file_size=ගොනුවේ ප්රමාණය: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb=කි.බ. {{size_kb}} (බයිට {{size_b}}) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb=මෙ.බ. {{size_mb}} (බයිට {{size_b}}) +document_properties_title=සිරැසිය: +document_properties_author=කතෘ: +document_properties_subject=මාතෘකාව: +document_properties_keywords=මූල පද: +document_properties_creation_date=සෑදූ දිනය: +document_properties_modification_date=සංශෝධිත දිනය: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=නිර්මාතෘ: +document_properties_producer=පීඩීඑෆ් සම්පාදක: +document_properties_version=පීඩීඑෆ් අනුවාදය: +document_properties_page_count=පිටු ගණන: +document_properties_page_size=පිටුවේ තරම: +document_properties_page_size_unit_inches=අඟල් +document_properties_page_size_unit_millimeters=මි.මී. +document_properties_page_size_orientation_portrait=සිරස් +document_properties_page_size_orientation_landscape=තිරස් +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}}×{{height}}{{unit}}{{name}}{{orientation}} +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=වේගවත් වියමන දැක්ම: +document_properties_linearized_yes=ඔව් +document_properties_linearized_no=නැහැ +document_properties_close=වසන්න + +print_progress_message=මුද්රණය සඳහා ලේඛනය සූදානම් වෙමින්… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=අවලංගු කරන්න + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +document_outline_label=ලේඛනයේ වටසන +attachments.title=ඇමුණුම් පෙන්වන්න +attachments_label=ඇමුණුම් +layers.title=ස්තර පෙන්වන්න (සියළු ස්තර පෙරනිමි තත්වයට යළි සැකසීමට දෙවරක් ඔබන්න) +layers_label=ස්තර +thumbs.title=සිඟිති රූ පෙන්වන්න +thumbs_label=සිඟිති රූ +findbar.title=ලේඛනයෙහි සොයන්න +findbar_label=සොයන්න + +additional_layers=අතිරේක ස්තර +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=පිටුව {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=පිටුව {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=පිටුවේ සිඟිත රූව {{page}} + +# Find panel button title and messages +find_input.title=සොයන්න +find_input.placeholder=ලේඛනයේ සොයන්න… +find_previous.title=මෙම වැකිකඩ කලින් යෙදුණු ස්ථානය සොයන්න +find_previous_label=කලින් +find_next.title=මෙම වැකිකඩ ඊළඟට යෙදෙන ස්ථානය සොයන්න +find_next_label=ඊළඟ +find_highlight=සියල්ල උද්දීපනය +find_entire_word_label=සමස්ත වචන +find_reached_top=ලේඛනයේ මුදුනට ළඟා විය, පහළ සිට ඉහළට +find_reached_bottom=ලේඛනයේ අවසානයට ළඟා විය, ඉහළ සිට පහළට +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit[zero]=ගැළපීම් {{limit}} කට වඩා +find_match_count_limit[two]=ගැළපුම් {{limit}} කට වඩා +find_match_count_limit[few]=ගැළපුම් {{limit}} කට වඩා +find_match_count_limit[many]=ගැළපුම් {{limit}} කට වඩා +find_match_count_limit[other]=ගැළපුම් {{limit}} කට වඩා +find_not_found=වැකිකඩ හමු නොවිණි + +# Error panel labels +error_more_info=තව තොරතුරු +error_less_info=අවම තොරතුරු +error_close=වසන්න +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=පීඩීඑෆ්.js v{{version}} (තැනීම: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=පණිවිඩය: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ගොනුව: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=පේළිය: {{line}} + +# Predefined zoom values +page_scale_width=පිටුවේ පළල +page_scale_auto=ස්වයංක්රීය විශාලනය +page_scale_actual=සැබෑ ප්රමාණය +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=පූරණය වෙමින්… +loading_error=පීඩීඑෆ් පූරණය කිරීමේදී දෝෂයක් සිදු විය. +invalid_file_error=වලංගු නොවන හෝ හානිවූ පීඩීඑෆ් ගොනුවකි. +missing_file_error=මඟහැරුණු පීඩීඑෆ් ගොනුවකි. +unexpected_response_error=අනපේක්ෂිත සේවාදායක ප්රතිචාරයකි. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_label=මෙම පීඩීඑෆ් ගොනුව විවෘත කිරීමට මුරපදය යොදන්න. +password_invalid=වැරදි මුරපදයකි. නැවත උත්සාහ කරන්න. +password_ok=හරි +password_cancel=අවලංගු + +printing_not_supported=අවවාදයයි: මෙම අතිරික්සුව මුද්රණය සඳහා හොඳින් සහාය නොදක්වයි. +printing_not_ready=අවවාදයයි: මුද්රණයට පීඩීඑෆ් ගොනුව සම්පූර්ණයෙන් පූරණය වී නැත. +web_fonts_disabled=වියමන අකුරු අබලයි: පීඩීඑෆ් වෙත කාවැද්දූ අකුරු භාවිතා කළ නොහැකිය. + +# Editor +editor_none_label=සංස්කරණය අබල කරන්න + +free_text_default_content=පෙළ යොදන්න… + +# Editor +editor_free_text2.title=පෙළ +editor_free_text2_label=පෙළ + + +# Editor Parameters +editor_free_text_color=වර්ණය +editor_free_text_size=තරම +editor_ink_color=වර්ණය +editor_ink_thickness=ඝණකම + +# Editor aria +editor_free_text_aria_label=FreeText සංස්කරකය + +# Editor aria +editor_free_text2_aria_label=වදන් සකසනය diff --git a/media/js/pdf/web/locale/sk/viewer.properties b/media/js/pdf/web/locale/sk/viewer.properties new file mode 100644 index 0000000000..32caf381d4 --- /dev/null +++ b/media/js/pdf/web/locale/sk/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Predchádzajúca strana +previous_label=Predchádzajúca +next.title=Nasledujúca strana +next_label=Nasledujúca + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strana +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=z {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} z {{pagesCount}}) + +zoom_out.title=Zmenšiť veľkosť +zoom_out_label=Zmenšiť veľkosť +zoom_in.title=Zväčšiť veľkosť +zoom_in_label=Zväčšiť veľkosť +zoom.title=Nastavenie veľkosti +presentation_mode.title=Prepnúť na režim prezentácie +presentation_mode_label=Režim prezentácie +open_file.title=Otvoriť súbor +open_file_label=Otvoriť +print.title=Tlačiť +print_label=Tlačiť +download.title=Stiahnuť +download_label=Stiahnuť +bookmark.title=Aktuálne zobrazenie (kopírovať alebo otvoriť v novom okne) +bookmark_label=Aktuálne zobrazenie + +save.title=Uložiť +save_label=Uložiť +bookmark1.title=Aktuálna stránka (zobraziť adresu URL z aktuálnej stránky) +bookmark1_label=Aktuálna stránka + +open_in_app.title=Otvoriť v aplikácii +open_in_app_label=Otvoriť v aplikácii + +# Secondary toolbar and context menu +tools.title=Nástroje +tools_label=Nástroje +first_page.title=Prejsť na prvú stranu +first_page_label=Prejsť na prvú stranu +last_page.title=Prejsť na poslednú stranu +last_page_label=Prejsť na poslednú stranu +page_rotate_cw.title=Otočiť v smere hodinových ručičiek +page_rotate_cw_label=Otočiť v smere hodinových ručičiek +page_rotate_ccw.title=Otočiť proti smeru hodinových ručičiek +page_rotate_ccw_label=Otočiť proti smeru hodinových ručičiek + +cursor_text_select_tool.title=Povoliť výber textu +cursor_text_select_tool_label=Výber textu +cursor_hand_tool.title=Povoliť nástroj ruka +cursor_hand_tool_label=Nástroj ruka + +scroll_page.title=Použiť rolovanie po stránkach +scroll_page_label=Rolovanie po stránkach +scroll_vertical.title=Používať zvislé posúvanie +scroll_vertical_label=Zvislé posúvanie +scroll_horizontal.title=Používať vodorovné posúvanie +scroll_horizontal_label=Vodorovné posúvanie +scroll_wrapped.title=Použiť postupné posúvanie +scroll_wrapped_label=Postupné posúvanie + +spread_none.title=Nezdružovať stránky +spread_none_label=Žiadne združovanie +spread_odd.title=Združí stránky a umiestni nepárne stránky vľavo +spread_odd_label=Združiť stránky (nepárne vľavo) +spread_even.title=Združí stránky a umiestni párne stránky vľavo +spread_even_label=Združiť stránky (párne vľavo) + +# Document properties dialog box +document_properties.title=Vlastnosti dokumentu… +document_properties_label=Vlastnosti dokumentu… +document_properties_file_name=Názov súboru: +document_properties_file_size=Veľkosť súboru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} bajtov) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtov) +document_properties_title=Názov: +document_properties_author=Autor: +document_properties_subject=Predmet: +document_properties_keywords=Kľúčové slová: +document_properties_creation_date=Dátum vytvorenia: +document_properties_modification_date=Dátum úpravy: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Vytvoril: +document_properties_producer=Tvorca PDF: +document_properties_version=Verzia PDF: +document_properties_page_count=Počet strán: +document_properties_page_size=Veľkosť stránky: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=na výšku +document_properties_page_size_orientation_landscape=na šírku +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=List +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Rýchle Web View: +document_properties_linearized_yes=Áno +document_properties_linearized_no=Nie +document_properties_close=Zavrieť + +print_progress_message=Príprava dokumentu na tlač… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Zrušiť + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Prepnúť bočný panel +toggle_sidebar_notification2.title=Prepnúť bočný panel (dokument obsahuje osnovu/prílohy/vrstvy) +toggle_sidebar_label=Prepnúť bočný panel +document_outline.title=Zobraziť osnovu dokumentu (dvojitým kliknutím rozbalíte/zbalíte všetky položky) +document_outline_label=Osnova dokumentu +attachments.title=Zobraziť prílohy +attachments_label=Prílohy +layers.title=Zobraziť vrstvy (dvojitým kliknutím uvediete všetky vrstvy do pôvodného stavu) +layers_label=Vrstvy +thumbs.title=Zobraziť miniatúry +thumbs_label=Miniatúry +current_outline_item.title=Nájsť aktuálnu položku v osnove +current_outline_item_label=Aktuálna položka v osnove +findbar.title=Hľadať v dokumente +findbar_label=Hľadať + +additional_layers=Ďalšie vrstvy +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Strana {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Strana {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatúra strany {{page}} + +# Find panel button title and messages +find_input.title=Hľadať +find_input.placeholder=Hľadať v dokumente… +find_previous.title=Vyhľadať predchádzajúci výskyt reťazca +find_previous_label=Predchádzajúce +find_next.title=Vyhľadať ďalší výskyt reťazca +find_next_label=Ďalšie +find_highlight=Zvýrazniť všetky +find_match_case_label=Rozlišovať veľkosť písmen +find_match_diacritics_label=Rozlišovať diakritiku +find_entire_word_label=Celé slová +find_reached_top=Bol dosiahnutý začiatok stránky, pokračuje sa od konca +find_reached_bottom=Bol dosiahnutý koniec stránky, pokračuje sa od začiatku +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}}. z {{total}} výsledku +find_match_count[two]={{current}}. z {{total}} výsledkov +find_match_count[few]={{current}}. z {{total}} výsledkov +find_match_count[many]={{current}}. z {{total}} výsledkov +find_match_count[other]={{current}}. z {{total}} výsledkov +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Viac než {{limit}} výsledkov +find_match_count_limit[one]=Viac než {{limit}} výsledok +find_match_count_limit[two]=Viac než {{limit}} výsledky +find_match_count_limit[few]=Viac než {{limit}} výsledky +find_match_count_limit[many]=Viac než {{limit}} výsledkov +find_match_count_limit[other]=Viac než {{limit}} výsledkov +find_not_found=Výraz nebol nájdený + +# Error panel labels +error_more_info=Ďalšie informácie +error_less_info=Menej informácií +error_close=Zavrieť +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (zostavenie: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Správa: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Zásobník: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Súbor: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Riadok: {{line}} + +# Predefined zoom values +page_scale_width=Na šírku strany +page_scale_fit=Na veľkosť strany +page_scale_auto=Automatická veľkosť +page_scale_actual=Skutočná veľkosť +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Načítava sa… + +# Loading indicator messages +loading_error=Počas načítavania dokumentu PDF sa vyskytla chyba. +invalid_file_error=Neplatný alebo poškodený súbor PDF. +missing_file_error=Chýbajúci súbor PDF. +unexpected_response_error=Neočakávaná odpoveď zo servera. + +rendering_error=Pri vykresľovaní stránky sa vyskytla chyba. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotácia typu {{type}}] +password_label=Ak chcete otvoriť tento súbor PDF, zadajte jeho heslo. +password_invalid=Heslo nie je platné. Skúste to znova. +password_ok=OK +password_cancel=Zrušiť + +printing_not_supported=Upozornenie: tlač nie je v tomto prehliadači plne podporovaná. +printing_not_ready=Upozornenie: súbor PDF nie je plne načítaný pre tlač. +web_fonts_disabled=Webové písma sú vypnuté: nie je možné použiť písma vložené do súboru PDF. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Kreslenie +editor_ink2_label=Kresliť + +free_text2_default_content=Začnite písať… + +# Editor Parameters +editor_free_text_color=Farba +editor_free_text_size=Veľkosť +editor_ink_color=Farba +editor_ink_thickness=Hrúbka +editor_ink_opacity=Priehľadnosť + +# Editor aria +editor_free_text2_aria_label=Textový editor +editor_ink2_aria_label=Editor kreslenia +editor_ink_canvas_aria_label=Obrázok vytvorený používateľom diff --git a/media/js/pdf/web/locale/skr/viewer.properties b/media/js/pdf/web/locale/skr/viewer.properties new file mode 100644 index 0000000000..23bf8496f0 --- /dev/null +++ b/media/js/pdf/web/locale/skr/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=پچھلا ورقہ +previous_label=پچھلا +next.title=اڳلا ورقہ +next_label=اڳلا + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=ورقہ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} دا +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} دا {{pagesCount}}) + +zoom_out.title=زوم آؤٹ +zoom_out_label=زوم آؤٹ +zoom_in.title=زوم اِن +zoom_in_label=زوم اِن +zoom.title=زوم +presentation_mode.title=پریزنٹیشن موڈ تے سوئچ کرو +presentation_mode_label=پریزنٹیشن موڈ +open_file.title=فائل کھولو +open_file_label=کھولو +print.title=چھاپو +print_label=چھاپو +download.title=ڈاؤن لوڈ +download_label=ڈاؤن لوڈ +bookmark.title=حالیہ نظارہ (نویں ونڈو وِچ نقل کرو یا کھولو) +bookmark_label=حالیہ نظارہ + +save.title=ہتھیکڑا کرو +save_label=ہتھیکڑا کرو +bookmark1.title=موجودہ ورقہ (موجودہ ورقے کنوں یوآرایل ݙیکھو) +bookmark1_label=موجودہ ورقہ + +open_in_app.title=ایپ وچ کھولو +open_in_app_label=ایپ وچ کھولو + +# Secondary toolbar and context menu +tools.title=اوزار +tools_label=اوزار +first_page.title=پہلے ورقے تے ونڄو +first_page_label=پہلے ورقے تے ونڄو +last_page.title=چھیکڑی ورقے تے ونڄو +last_page_label=چھیکڑی ورقے تے ونڄو +page_rotate_cw.title=گھڑی وانگوں گھماؤ +page_rotate_cw_label=گھڑی وانگوں گھماؤ +page_rotate_ccw.title=گھڑی تے اُپٹھ گھماؤ +page_rotate_ccw_label=گھڑی تے اُپٹھ گھماؤ + +cursor_text_select_tool.title=متن منتخب کݨ والا آلہ فعال بݨاؤ +cursor_text_select_tool_label=متن منتخب کرݨ والا آلہ +cursor_hand_tool.title=ہینڈ ٹول فعال بݨاؤ +cursor_hand_tool_label=ہینڈ ٹول + +scroll_page.title=پیج سکرولنگ استعمال کرو +scroll_page_label=پیج سکرولنگ +scroll_vertical.title=عمودی سکرولنگ استعمال کرو +scroll_vertical_label=عمودی سکرولنگ +scroll_horizontal.title=افقی سکرولنگ استعمال کرو +scroll_horizontal_label=افقی سکرولنگ +scroll_wrapped.title=ویڑھی ہوئی سکرولنگ استعمال کرو +scroll_wrapped_label=وہڑھی ہوئی سکرولنگ + +spread_none.title=پیج سپریڈز وِچ شامل نہ تھیوو۔ +spread_none_label=کوئی پولھ کائنی +spread_odd.title=طاق نمبر والے ورقیاں دے نال شروع تھیوݨ والے پیج سپریڈز وِچ شامل تھیوو۔ +spread_odd_label=تاک پھیلاؤ +spread_even.title=جفت نمر والے ورقیاں نال شروع تھیوݨ والے پیج سپریڈز وِ شامل تھیوو۔ +spread_even_label=جفت پھیلاؤ + +# Document properties dialog box +document_properties.title=دستاویز خواص… +document_properties_label=دستاویز خواص … +document_properties_file_name=فائل دا ناں: +document_properties_file_size=فائل دا سائز: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} کے بی ({{size_b}} بائٹس) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} ایم بی ({{size_b}} بائٹس) +document_properties_title=عنوان: +document_properties_author=تخلیق کار: +document_properties_subject=موضوع: +document_properties_keywords=کلیدی الفاظ: +document_properties_creation_date=تخلیق دی تاریخ: +document_properties_modification_date=ترمیم دی تاریخ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=تخلیق کار: +document_properties_producer=PDF پیدا کار: +document_properties_version=PDF ورژن: +document_properties_page_count=ورقہ شماری: +document_properties_page_size=ورقہ دی سائز: +document_properties_page_size_unit_inches=وِچ +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=عمودی انداز +document_properties_page_size_orientation_landscape=افقى انداز +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=لیٹر +document_properties_page_size_name_legal=قنونی +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=تکھا ویب نظارہ: +document_properties_linearized_yes=جیا +document_properties_linearized_no=کو +document_properties_close=بند کرو + +print_progress_message=چھاپݨ کیتے دستاویز تیار تھیندے پئے ہن … +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=منسوخ کرو + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=سائیڈ بار ٹوگل کرو +toggle_sidebar_notification2.title=سائیڈ بار ٹوگل کرو (دستاویز وِچ آؤٹ لائن/ منسلکات/ پرتاں شامل ہن) +toggle_sidebar_label=سائیڈ بار ٹوگل کرو +document_outline.title=دستاویز دا خاکہ ݙکھاؤ (تمام آئٹمز کوں پھیلاوݨ/سنگوڑݨ کیتے ڈبل کلک کرو) +document_outline_label=دستاویز آؤٹ لائن +attachments.title=نتھیاں ݙکھاؤ +attachments_label=منسلکات +layers.title=پرتاں ݙکھاؤ (تمام پرتاں کوں ڈیفالٹ حالت وِچ دوبارہ ترتیب ݙیوݨ کیتے ڈبل کلک کرو) +layers_label=پرتاں +thumbs.title=تھمبنیل ݙکھاؤ +thumbs_label=تھمبنیلز +current_outline_item.title=موجودہ آؤٹ لائن آئٹم لبھو +current_outline_item_label=موجودہ آؤٹ لائن آئٹم +findbar.title=دستاویز وِچ لبھو +findbar_label=لبھو + +additional_layers=اضافی پرتاں +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=ورقہ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=ورقہ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=ورقے دا تھمبنیل {{page}} + +# Find panel button title and messages +find_input.title=لبھو +find_input.placeholder=دستاویز وِچ لبھو … +find_previous.title=فقرے دا پچھلا واقعہ لبھو +find_previous_label=پچھلا +find_next.title=فقرے دا اڳلا واقعہ لبھو +find_next_label=اڳلا +find_highlight=تمام نشابر کرو +find_match_case_label=حروف مشابہ کرو +find_match_diacritics_label=ڈائیکرٹکس مشابہ کرو +find_entire_word_label=تمام الفاظ +find_reached_top=ورقے دے شروع تے پُج ڳیا، تلوں جاری کیتا ڳیا +find_reached_bottom=ورقے دے پاند تے پُڄ ڳیا، اُتوں شروع کیتا ڳیا +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ جمع (کل) ]} +find_match_count[one]={{current}} دا {{total}} موازنہ کرو +find_match_count[two]={{current}} دا {{total}} موازنہ +find_match_count[few]={{current}} دا {{total}} موازنہ +find_match_count[many]={{current}} دا {{total}} موازنہ +find_match_count[other]={{current}} دا {{total}} موازنہ +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ جمع (حد) ]} +find_match_count_limit[zero]={{limit}} کنوں زیادہ مماثلتاں۔ +find_match_count_limit[one]={{limit}} مماثل کنوں ودھ +find_match_count_limit[two]={{limit}} کنوں زیادہ مماثلتاں۔ +find_match_count_limit[few]={{limit}} مماثلاں کنوں ودھ +find_match_count_limit[many]={{limit}} مماثلاں کنوں ودھ +find_match_count_limit[other]={{limit}} مماثلاں کنوں ودھ +find_not_found=فقرہ نئیں ملیا + +# Error panel labels +error_more_info=ودھیک معلومات +error_less_info=گھٹ معلومات +error_close=بند کرو +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (بݨاؤ: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=سنیہا: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=سٹیک: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=فائل: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=لائن: {{line}} + +# Predefined zoom values +page_scale_width=ورقے دی چوڑائی +page_scale_fit=ورقہ فٹنگ +page_scale_auto=آپوں آپ زوم +page_scale_actual=اصل میچا +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=لوڈ تھیندا پئے۔۔۔ + +# Loading indicator messages +loading_error=PDF لوڈ کریندے ویلھے نقص آ ڳیا۔ +invalid_file_error=غلط یا خراب شدہ PDF فائل۔ +missing_file_error=PDF فائل غائب ہے۔ +unexpected_response_error=سرور دا غیر متوقع جواب۔ + +rendering_error=ورقہ رینڈر کریندے ویلھے ہک خرابی پیش آڳئی۔ + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} تشریح] +password_label=ایہ PDF فائل کھولݨ کیتے پاس ورڈ درج کرو۔ +password_invalid=غلط پاس ورڈ: براہ مہربانی ولدا کوشش کرو۔ +password_ok=ٹھیک ہے +password_cancel=منسوخ کرو + +printing_not_supported=چتاوݨی: چھپائی ایں براؤزر تے پوری طراں معاونت شدہ کائنی۔ +printing_not_ready=چتاوݨی: PDF چھپائی کیتے پوری طراں لوڈ نئیں تھئی۔ +web_fonts_disabled=ویب فونٹس غیر فعال ہن: ایمبیڈڈ PDF فونٹس استعمال کرݨ کنوں قاصر ہن + +# Editor +editor_free_text2.title=متن +editor_free_text2_label=متن +editor_ink2.title=چھکو +editor_ink2_label=چھکو + +free_text2_default_content=ٹائپنگ شروع کرو … + +# Editor Parameters +editor_free_text_color=رنگ +editor_free_text_size=سائز +editor_ink_color=رنگ +editor_ink_thickness=ٹھولھ +editor_ink_opacity=دھندلاپن + +# Editor aria +editor_free_text2_aria_label=ٹیکسٹ ایڈیٹر +editor_ink2_aria_label=ڈرا ایڈیٹر +editor_ink_canvas_aria_label=صارف دی بݨائی ہوئی تصویر diff --git a/media/js/pdf/web/locale/sl/viewer.properties b/media/js/pdf/web/locale/sl/viewer.properties new file mode 100644 index 0000000000..f61e69a72a --- /dev/null +++ b/media/js/pdf/web/locale/sl/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Prejšnja stran +previous_label=Nazaj +next.title=Naslednja stran +next_label=Naprej + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Stran +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=od {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} od {{pagesCount}}) + +zoom_out.title=Pomanjšaj +zoom_out_label=Pomanjšaj +zoom_in.title=Povečaj +zoom_in_label=Povečaj +zoom.title=Povečava +presentation_mode.title=Preklopi v način predstavitve +presentation_mode_label=Način predstavitve +open_file.title=Odpri datoteko +open_file_label=Odpri +print.title=Natisni +print_label=Natisni +download.title=Prenesi +download_label=Prenesi +bookmark.title=Trenutni pogled (kopiraj ali odpri v novem oknu) +bookmark_label=Trenutni pogled + +save.title=Shrani +save_label=Shrani +bookmark1.title=Trenutna stran (prikaži URL, ki vodi do trenutne strani) +bookmark1_label=Na trenutno stran + +open_in_app.title=Odpri v programu +open_in_app_label=Odpri v programu + +# Secondary toolbar and context menu +tools.title=Orodja +tools_label=Orodja +first_page.title=Pojdi na prvo stran +first_page_label=Pojdi na prvo stran +last_page.title=Pojdi na zadnjo stran +last_page_label=Pojdi na zadnjo stran +page_rotate_cw.title=Zavrti v smeri urnega kazalca +page_rotate_cw_label=Zavrti v smeri urnega kazalca +page_rotate_ccw.title=Zavrti v nasprotni smeri urnega kazalca +page_rotate_ccw_label=Zavrti v nasprotni smeri urnega kazalca + +cursor_text_select_tool.title=Omogoči orodje za izbor besedila +cursor_text_select_tool_label=Orodje za izbor besedila +cursor_hand_tool.title=Omogoči roko +cursor_hand_tool_label=Roka + +scroll_page.title=Uporabi drsenje po strani +scroll_page_label=Drsenje po strani +scroll_vertical.title=Uporabi navpično drsenje +scroll_vertical_label=Navpično drsenje +scroll_horizontal.title=Uporabi vodoravno drsenje +scroll_horizontal_label=Vodoravno drsenje +scroll_wrapped.title=Uporabi ovito drsenje +scroll_wrapped_label=Ovito drsenje + +spread_none.title=Ne združuj razponov strani +spread_none_label=Brez razponov +spread_odd.title=Združuj razpone strani z začetkom pri lihih straneh +spread_odd_label=Lihi razponi +spread_even.title=Združuj razpone strani z začetkom pri sodih straneh +spread_even_label=Sodi razponi + +# Document properties dialog box +document_properties.title=Lastnosti dokumenta … +document_properties_label=Lastnosti dokumenta … +document_properties_file_name=Ime datoteke: +document_properties_file_size=Velikost datoteke: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajtov) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajtov) +document_properties_title=Ime: +document_properties_author=Avtor: +document_properties_subject=Tema: +document_properties_keywords=Ključne besede: +document_properties_creation_date=Datum nastanka: +document_properties_modification_date=Datum spremembe: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Ustvaril: +document_properties_producer=Izdelovalec PDF: +document_properties_version=Različica PDF: +document_properties_page_count=Število strani: +document_properties_page_size=Velikost strani: +document_properties_page_size_unit_inches=palcev +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=pokončno +document_properties_page_size_orientation_landscape=ležeče +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Pismo +document_properties_page_size_name_legal=Pravno +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Hitri spletni ogled: +document_properties_linearized_yes=Da +document_properties_linearized_no=Ne +document_properties_close=Zapri + +print_progress_message=Priprava dokumenta na tiskanje … +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}} % +print_progress_close=Prekliči + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Preklopi stransko vrstico +toggle_sidebar_notification2.title=Preklopi stransko vrstico (dokument vsebuje oris/priponke/plasti) +toggle_sidebar_label=Preklopi stransko vrstico +document_outline.title=Prikaži oris dokumenta (dvokliknite za razširitev/strnitev vseh predmetov) +document_outline_label=Oris dokumenta +attachments.title=Prikaži priponke +attachments_label=Priponke +layers.title=Prikaži plasti (dvokliknite za ponastavitev vseh plasti na privzeto stanje) +layers_label=Plasti +thumbs.title=Prikaži sličice +thumbs_label=Sličice +current_outline_item.title=Najdi trenutni predmet orisa +current_outline_item_label=Trenutni predmet orisa +findbar.title=Iskanje po dokumentu +findbar_label=Najdi + +additional_layers=Dodatne plasti +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Stran {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Stran {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Sličica strani {{page}} + +# Find panel button title and messages +find_input.title=Najdi +find_input.placeholder=Najdi v dokumentu … +find_previous.title=Najdi prejšnjo ponovitev iskanega +find_previous_label=Najdi nazaj +find_next.title=Najdi naslednjo ponovitev iskanega +find_next_label=Najdi naprej +find_highlight=Označi vse +find_match_case_label=Razlikuj velike/male črke +find_match_diacritics_label=Razlikuj diakritične znake +find_entire_word_label=Cele besede +find_reached_top=Dosežen začetek dokumenta iz smeri konca +find_reached_bottom=Doseženo konec dokumenta iz smeri začetka +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=Zadetek {{current}} od {{total}} +find_match_count[two]=Zadetek {{current}} od {{total}} +find_match_count[few]=Zadetek {{current}} od {{total}} +find_match_count[many]=Zadetek {{current}} od {{total}} +find_match_count[other]=Zadetek {{current}} od {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Več kot {{limit}} zadetkov +find_match_count_limit[one]=Več kot {{limit}} zadetek +find_match_count_limit[two]=Več kot {{limit}} zadetka +find_match_count_limit[few]=Več kot {{limit}} zadetki +find_match_count_limit[many]=Več kot {{limit}} zadetkov +find_match_count_limit[other]=Več kot {{limit}} zadetkov +find_not_found=Iskanega ni mogoče najti + +# Error panel labels +error_more_info=Več informacij +error_less_info=Manj informacij +error_close=Zapri +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js r{{version}} (graditev: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Sporočilo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Sklad: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Datoteka: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Vrstica: {{line}} + +# Predefined zoom values +page_scale_width=Širina strani +page_scale_fit=Prilagodi stran +page_scale_auto=Samodejno +page_scale_actual=Dejanska velikost +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}} % + +# Loading indicator messages +loading=Nalaganje … + +# Loading indicator messages +loading_error=Med nalaganjem datoteke PDF je prišlo do napake. +invalid_file_error=Neveljavna ali pokvarjena datoteka PDF. +missing_file_error=Ni datoteke PDF. +unexpected_response_error=Nepričakovan odgovor strežnika. + +rendering_error=Med pripravljanjem strani je prišlo do napake! + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Opomba vrste {{type}}] +password_label=Vnesite geslo za odpiranje te datoteke PDF. +password_invalid=Neveljavno geslo. Poskusite znova. +password_ok=V redu +password_cancel=Prekliči + +printing_not_supported=Opozorilo: ta brskalnik ne podpira vseh možnosti tiskanja. +printing_not_ready=Opozorilo: PDF ni v celoti naložen za tiskanje. +web_fonts_disabled=Spletne pisave so onemogočene: vgradnih pisav za PDF ni mogoče uporabiti. + +# Editor +editor_free_text2.title=Besedilo +editor_free_text2_label=Besedilo +editor_ink2.title=Riši +editor_ink2_label=Riši + +free_text2_default_content=Začnite tipkati … + +# Editor Parameters +editor_free_text_color=Barva +editor_free_text_size=Velikost +editor_ink_color=Barva +editor_ink_thickness=Debelina +editor_ink_opacity=Neprosojnost + +# Editor aria +editor_free_text2_aria_label=Urejevalnik besedila +editor_ink2_aria_label=Urejevalnik risanja +editor_ink_canvas_aria_label=Uporabnikova slika diff --git a/media/js/pdf/web/locale/son/viewer.properties b/media/js/pdf/web/locale/son/viewer.properties new file mode 100644 index 0000000000..d4b0d2437c --- /dev/null +++ b/media/js/pdf/web/locale/son/viewer.properties @@ -0,0 +1,173 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Moo bisante +previous_label=Bisante +next.title=Jinehere moo +next_label=Jine + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Moo +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} ra +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ka hun {{pagesCount}}) ra + +zoom_out.title=Nakasandi +zoom_out_label=Nakasandi +zoom_in.title=Bebbeerandi +zoom_in_label=Bebbeerandi +zoom.title=Bebbeerandi +presentation_mode.title=Bere cebeyan alhaali +presentation_mode_label=Cebeyan alhaali +open_file.title=Tuku feeri +open_file_label=Feeri +print.title=Kar +print_label=Kar +download.title=Zumandi +download_label=Zumandi +bookmark.title=Sohõ gunarro (bere wala feeri zanfun taaga ra) +bookmark_label=Sohõ gunaroo + +# Secondary toolbar and context menu +tools.title=Goyjinawey +tools_label=Goyjinawey +first_page.title=Koy moo jinaa ga +first_page_label=Koy moo jinaa ga +last_page.title=Koy moo koraa ga +last_page_label=Koy moo koraa ga +page_rotate_cw.title=Kuubi kanbe guma here +page_rotate_cw_label=Kuubi kanbe guma here +page_rotate_ccw.title=Kuubi kanbe wowa here +page_rotate_ccw_label=Kuubi kanbe wowa here + + +# Document properties dialog box +document_properties.title=Takadda mayrawey… +document_properties_label=Takadda mayrawey… +document_properties_file_name=Tuku maa: +document_properties_file_size=Tuku adadu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb=KB {{size_kb}} (cebsu-ize {{size_b}}) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb=MB {{size_mb}} (cebsu-ize {{size_b}}) +document_properties_title=Tiiramaa: +document_properties_author=Hantumkaw: +document_properties_subject=Dalil: +document_properties_keywords=Kufalkalimawey: +document_properties_creation_date=Teeyan han: +document_properties_modification_date=Barmayan han: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Teekaw: +document_properties_producer=PDF berandikaw: +document_properties_version=PDF dumi: +document_properties_page_count=Moo hinna: +document_properties_close=Daabu + +print_progress_message=Goo ma takaddaa soolu k'a kar se… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Naŋ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Kanjari ceraw zuu +toggle_sidebar_label=Kanjari ceraw zuu +document_outline.title=Takaddaa korfur alhaaloo cebe (naagu cee hinka ka haya-izey kul hayandi/kankamandi) +document_outline_label=Takadda filla-boŋ +attachments.title=Hangarey cebe +attachments_label=Hangarey +thumbs.title=Kabeboy biyey cebe +thumbs_label=Kabeboy biyey +findbar.title=Ceeci takaddaa ra +findbar_label=Ceeci + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} moo +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Kabeboy bii {{page}} moo še + +# Find panel button title and messages +find_input.title=Ceeci +find_input.placeholder=Ceeci takaddaa ra… +find_previous.title=Kalimaɲaŋoo bangayri bisantaa ceeci +find_previous_label=Bisante +find_next.title=Kalimaɲaŋoo hiino bangayroo ceeci +find_next_label=Jine +find_highlight=Ikul šilbay +find_match_case_label=Harfu-beeriyan hawgay +find_reached_top=A too moŋoo boŋoo, koy jine ka šinitin nda cewoo +find_reached_bottom=A too moɲoo cewoo, koy jine šintioo ga +find_not_found=Kalimaɲaa mana duwandi + +# Error panel labels +error_more_info=Alhabar tontoni +error_less_info=Alhabar tontoni +error_close=Daabu +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Alhabar: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Dekeri: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Tuku: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Žeeri: {{line}} +rendering_error=Firka bangay kaŋ moɲoo goo ma willandi. + +# Predefined zoom values +page_scale_width=Mooo hayyan +page_scale_fit=Moo sawayan +page_scale_auto=Boŋše azzaati barmayyan +page_scale_actual=Adadu cimi +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Firka bangay kaŋ PDF goo ma zumandi. +invalid_file_error=PDF tuku laala wala laybante. +missing_file_error=PDF tuku kumante. +unexpected_response_error=Manti feršikaw tuuruyan maatante. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt={{type}} maasa-caw] +password_label=Šennikufal dam ka PDF tukoo woo feeri. +password_invalid=Šennikufal laalo. Ceeci koyne taare. +password_ok=Ayyo +password_cancel=Naŋ + +printing_not_supported=Yaamar: Karyan ši tee ka timme nda ceecikaa woo. +printing_not_ready=Yaamar: PDF ši zunbu ka timme karyan še. +web_fonts_disabled=Interneti šigirawey kay: ši hin ka goy nda PDF šigira hurantey. + diff --git a/media/js/pdf/web/locale/sq/viewer.properties b/media/js/pdf/web/locale/sq/viewer.properties new file mode 100644 index 0000000000..45bfb39d03 --- /dev/null +++ b/media/js/pdf/web/locale/sq/viewer.properties @@ -0,0 +1,271 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Faqja e Mëparshme +previous_label=E mëparshmja +next.title=Faqja Pasuese +next_label=Pasuesja + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Faqe +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=nga {{pagesCount}} gjithsej +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} nga {{pagesCount}}) + +zoom_out.title=Zvogëlojeni +zoom_out_label=Zvogëlojeni +zoom_in.title=Zmadhojeni +zoom_in_label=Zmadhojini +zoom.title=Zmadhim/Zvogëlim +presentation_mode.title=Kalo te Mënyra Paraqitje +presentation_mode_label=Mënyra Paraqitje +open_file.title=Hapni Kartelë +open_file_label=Hape +print.title=Shtypje +print_label=Shtype +download.title=Shkarkim +download_label=Shkarkoje +save.title=Ruaje +save_label=Ruaje +bookmark.title=Pamja e tanishme (kopjojeni ose hapeni në dritare të re) +bookmark_label=Pamja e Tanishme + +bookmark1.title=Faqja e Tanishme (Shihni URL nga Faqja e Tanishme) +bookmark1_label=Faqja e Tanishme + +# Secondary toolbar and context menu +tools.title=Mjete +tools_label=Mjete +first_page.title=Kaloni te Faqja e Parë +first_page_label=Kaloni te Faqja e Parë +last_page.title=Kaloni te Faqja e Fundit +last_page_label=Kaloni te Faqja e Fundit +page_rotate_cw.title=Rrotullojeni Në Kahun Orar +page_rotate_cw_label=Rrotulloje Në Kahun Orar +page_rotate_ccw.title=Rrotullojeni Në Kahun Kundërorar +page_rotate_ccw_label=Rrotulloje Në Kahun Kundërorar + +cursor_text_select_tool.title=Aktivizo Mjet Përzgjedhjeje Teksti +cursor_text_select_tool_label=Mjet Përzgjedhjeje Teksti +cursor_hand_tool.title=Aktivizo Mjetin Dorë +cursor_hand_tool_label=Mjeti Dorë + +scroll_page.title=Përdor Rrëshqitje Në Faqe +scroll_page_label=Rrëshqitje Në Faqe +scroll_vertical.title=Përdor Rrëshqitje Vertikale +scroll_vertical_label=Rrëshqitje Vertikale +scroll_horizontal.title=Përdor Rrëshqitje Horizontale +scroll_horizontal_label=Rrëshqitje Horizontale +scroll_wrapped.title=Përdor Rrëshqitje Me Mbështjellje +scroll_wrapped_label=Rrëshqitje Me Mbështjellje + + +# Document properties dialog box +document_properties.title=Veti Dokumenti… +document_properties_label=Veti Dokumenti… +document_properties_file_name=Emër kartele: +document_properties_file_size=Madhësi kartele: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bajte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bajte) +document_properties_title=Titull: +document_properties_author=Autor: +document_properties_subject=Subjekt: +document_properties_keywords=Fjalëkyçe: +document_properties_creation_date=Datë Krijimi: +document_properties_modification_date=Datë Ndryshimi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Krijues: +document_properties_producer=Prodhues PDF-je: +document_properties_version=Version PDF-je: +document_properties_page_count=Numër Faqesh: +document_properties_page_size=Madhësi Faqeje: +document_properties_page_size_unit_inches=inç +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=portret +document_properties_page_size_orientation_landscape=së gjeri +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Parje e Shpjetë në Web: +document_properties_linearized_yes=Po +document_properties_linearized_no=Jo +document_properties_close=Mbylleni + +print_progress_message=Po përgatitet dokumenti për shtypje… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Anuloje + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Shfaqni/Fshihni Anështyllën +toggle_sidebar_notification2.title=Hap/Mbyll Anështylë (dokumenti përmban përvijim/nashkëngjitje/shtresa) +toggle_sidebar_label=Shfaq/Fshih Anështyllën +document_outline.title=Shfaqni Përvijim Dokumenti (dyklikoni që të shfaqen/fshihen krejt elementët) +document_outline_label=Përvijim Dokumenti +attachments.title=Shfaqni Bashkëngjitje +attachments_label=Bashkëngjitje +layers.title=Shfaq Shtresa (dyklikoni që të rikthehen krejt shtresat në gjendjen e tyre parazgjedhje) +layers_label=Shtresa +thumbs.title=Shfaqni Miniatura +thumbs_label=Miniatura +current_outline_item.title=Gjej Objektin e Tanishëm të Përvijuar +current_outline_item_label=Objekt i Tanishëm i Përvijuar +findbar.title=Gjeni në Dokument +findbar_label=Gjej + +additional_layers=Shtresa Shtesë +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Faqja {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Faqja {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniaturë e Faqes {{page}} + +# Find panel button title and messages +find_input.title=Gjej +find_input.placeholder=Gjeni në dokument… +find_previous.title=Gjeni hasjen e mëparshme të togfjalëshit +find_previous_label=E mëparshmja +find_next.title=Gjeni hasjen pasuese të togfjalëshit +find_next_label=Pasuesja +find_highlight=Theksoji të tëra +find_match_case_label=Siç Është Shkruar +find_match_diacritics_label=Me Përputhje Me Shenjat Diakritike +find_entire_word_label=Fjalë të Plota +find_reached_top=U mbërrit në krye të dokumentit, vazhduar prej fundit +find_reached_bottom=U mbërrit në fund të dokumentit, vazhduar prej kreut +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} nga {{total}} përputhje gjithsej +find_match_count[two]={{current}} nga {{total}} përputhje gjithsej +find_match_count[few]={{current}} nga {{total}} përputhje gjithsej +find_match_count[many]={{current}} nga {{total}} përputhje gjithsej +find_match_count[other]={{current}} nga {{total}} përputhje gjithsej +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Më shumë se {{limit}} përputhje +find_match_count_limit[one]=Më shumë se {{limit}} përputhje +find_match_count_limit[two]=Më shumë se {{limit}} përputhje +find_match_count_limit[few]=Më shumë se {{limit}} përputhje +find_match_count_limit[many]=Më shumë se {{limit}} përputhje +find_match_count_limit[other]=Më shumë se {{limit}} përputhje +find_not_found=Togfjalësh që s’gjendet + +# Error panel labels +error_more_info=Më Tepër Hollësi +error_less_info=Më Pak të Dhëna +error_close=Mbylleni +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mesazh: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Kartelë: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rresht: {{line}} + +# Predefined zoom values +page_scale_width=Gjerësi Faqeje +page_scale_fit=Sa Nxë Faqja +page_scale_auto=Zoom i Vetvetishëm +page_scale_actual=Madhësia Faktike +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Po ngarkohet… +loading_error=Ndodhi një gabim gjatë ngarkimit të PDF-së. +invalid_file_error=Kartelë PDF e pavlefshme ose e dëmtuar. +missing_file_error=Kartelë PDF që mungon. +unexpected_response_error=Përgjigje shërbyesi e papritur. + +rendering_error=Ndodhi një gabim gjatë riprodhimit të faqes. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Nënvizim {{type}}] +password_label=Jepni fjalëkalimin që të hapet kjo kartelë PDF. +password_invalid=Fjalëkalim i pavlefshëm. Ju lutemi, riprovoni. +password_ok=OK +password_cancel=Anuloje + +printing_not_supported=Kujdes: Shtypja s’mbulohet plotësisht nga ky shfletues. +printing_not_ready=Kujdes: PDF-ja s’është ngarkuar plotësisht që ta shtypni. +web_fonts_disabled=Shkronjat Web janë të çaktivizuara: s’arrihet të përdoren shkronja të trupëzuara në PDF. + +# Editor +editor_free_text2.title=Tekst +editor_free_text2_label=Tekst +editor_ink2.title=Vizatoni +editor_ink2_label=Vizatoni + +free_text2_default_content=Filloni të shtypni… + +# Editor Parameters +editor_free_text_color=Ngjyrë +editor_free_text_size=Madhësi +editor_ink_color=Ngjyrë +editor_ink_thickness=Trashësi +editor_ink_opacity=Patejdukshmëri + +# Editor aria +editor_free_text2_aria_label=Përpunues Tekstesh +editor_ink2_aria_label=Përpunues Vizatimesh +editor_ink_canvas_aria_label=Figurë e krijuar nga përdoruesi diff --git a/media/js/pdf/web/locale/sr/viewer.properties b/media/js/pdf/web/locale/sr/viewer.properties new file mode 100644 index 0000000000..746d40a416 --- /dev/null +++ b/media/js/pdf/web/locale/sr/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Претходна страница +previous_label=Претходна +next.title=Следећа страница +next_label=Следећа + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Страница +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=од {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} од {{pagesCount}}) + +zoom_out.title=Умањи +zoom_out_label=Умањи +zoom_in.title=Увеличај +zoom_in_label=Увеличај +zoom.title=Увеличавање +presentation_mode.title=Промени на приказ у режиму презентације +presentation_mode_label=Режим презентације +open_file.title=Отвори датотеку +open_file_label=Отвори +print.title=Штампај +print_label=Штампај +download.title=Преузми +download_label=Преузми +bookmark.title=Тренутни приказ (копирај или отвори у новом прозору) +bookmark_label=Тренутни приказ + +save.title=Сачувај +save_label=Сачувај +bookmark1.title=Тренутна страница (погледајте URL са тренутне странице) +bookmark1_label=Тренутна страница + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=Отвори у апликацији +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=Отвори у апликацији + +# Secondary toolbar and context menu +tools.title=Алатке +tools_label=Алатке +first_page.title=Иди на прву страницу +first_page_label=Иди на прву страницу +last_page.title=Иди на последњу страницу +last_page_label=Иди на последњу страницу +page_rotate_cw.title=Ротирај у смеру казаљке на сату +page_rotate_cw_label=Ротирај у смеру казаљке на сату +page_rotate_ccw.title=Ротирај у смеру супротном од казаљке на сату +page_rotate_ccw_label=Ротирај у смеру супротном од казаљке на сату + +cursor_text_select_tool.title=Омогући алат за селектовање текста +cursor_text_select_tool_label=Алат за селектовање текста +cursor_hand_tool.title=Омогући алат за померање +cursor_hand_tool_label=Алат за померање + +scroll_page.title=Користи скроловање по омоту +scroll_page_label=Скроловање странице +scroll_vertical.title=Користи вертикално скроловање +scroll_vertical_label=Вертикално скроловање +scroll_horizontal.title=Користи хоризонтално скроловање +scroll_horizontal_label=Хоризонтално скроловање +scroll_wrapped.title=Користи скроловање по омоту +scroll_wrapped_label=Скроловање по омоту + +spread_none.title=Немој спајати ширења страница +spread_none_label=Без распростирања +spread_odd.title=Споји ширења страница које почињу непарним бројем +spread_odd_label=Непарна распростирања +spread_even.title=Споји ширења страница које почињу парним бројем +spread_even_label=Парна распростирања + +# Document properties dialog box +document_properties.title=Параметри документа… +document_properties_label=Параметри документа… +document_properties_file_name=Име датотеке: +document_properties_file_size=Величина датотеке: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} B) +document_properties_title=Наслов: +document_properties_author=Аутор: +document_properties_subject=Тема: +document_properties_keywords=Кључне речи: +document_properties_creation_date=Датум креирања: +document_properties_modification_date=Датум модификације: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Стваралац: +document_properties_producer=PDF произвођач: +document_properties_version=PDF верзија: +document_properties_page_count=Број страница: +document_properties_page_size=Величина странице: +document_properties_page_size_unit_inches=ин +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=усправно +document_properties_page_size_orientation_landscape=водоравно +document_properties_page_size_name_a3=А3 +document_properties_page_size_name_a4=А4 +document_properties_page_size_name_letter=Слово +document_properties_page_size_name_legal=Права +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Брз веб приказ: +document_properties_linearized_yes=Да +document_properties_linearized_no=Не +document_properties_close=Затвори + +print_progress_message=Припремам документ за штампање… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Откажи + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Прикажи додатну палету +toggle_sidebar_notification2.title=Прикажи/сакриј бочну траку (документ садржи контуру/прилоге/слојеве) +toggle_sidebar_label=Прикажи додатну палету +document_outline.title=Прикажи структуру документа (двоструким кликом проширујете/скупљате све ставке) +document_outline_label=Контура документа +attachments.title=Прикажи прилоге +attachments_label=Прилози +layers.title=Прикажи слојеве (дупли клик за враћање свих слојева у подразумевано стање) +layers_label=Слојеви +thumbs.title=Прикажи сличице +thumbs_label=Сличице +current_outline_item.title=Пронађите тренутни елемент структуре +current_outline_item_label=Тренутна контура +findbar.title=Пронађи у документу +findbar_label=Пронађи + +additional_layers=Додатни слојеви +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Страница {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Страница {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Сличица од странице {{page}} + +# Find panel button title and messages +find_input.title=Пронађи +find_input.placeholder=Пронађи у документу… +find_previous.title=Пронађи претходно појављивање фразе +find_previous_label=Претходна +find_next.title=Пронађи следеће појављивање фразе +find_next_label=Следећа +find_highlight=Истакнути све +find_match_case_label=Подударања +find_match_diacritics_label=Дијакритика +find_entire_word_label=Целе речи +find_reached_top=Достигнут врх документа, наставио са дна +find_reached_bottom=Достигнуто дно документа, наставио са врха +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} од {{total}} одговара +find_match_count[two]={{current}} од {{total}} одговара +find_match_count[few]={{current}} од {{total}} одговара +find_match_count[many]={{current}} од {{total}} одговара +find_match_count[other]={{current}} од {{total}} одговара +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Више од {{limit}} одговара +find_match_count_limit[one]=Више од {{limit}} одговара +find_match_count_limit[two]=Више од {{limit}} одговара +find_match_count_limit[few]=Више од {{limit}} одговара +find_match_count_limit[many]=Више од {{limit}} одговара +find_match_count_limit[other]=Више од {{limit}} одговара +find_not_found=Фраза није пронађена + +# Error panel labels +error_more_info=Више информација +error_less_info=Мање информација +error_close=Затвори +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Порука: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стек: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Датотека: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Линија: {{line}} + +# Predefined zoom values +page_scale_width=Ширина странице +page_scale_fit=Прилагоди страницу +page_scale_auto=Аутоматско увеличавање +page_scale_actual=Стварна величина +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Учитавање… + +# Loading indicator messages +loading_error=Дошло је до грешке приликом учитавања PDF-а. +invalid_file_error=PDF датотека је неважећа или је оштећена. +missing_file_error=Недостаје PDF датотека. +unexpected_response_error=Неочекиван одговор од сервера. + +rendering_error=Дошло је до грешке приликом рендеровања ове странице. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} коментар] +password_label=Унесите лозинку да бисте отворили овај PDF докуменат. +password_invalid=Неисправна лозинка. Покушајте поново. +password_ok=У реду +password_cancel=Откажи + +printing_not_supported=Упозорење: Штампање није у потпуности подржано у овом прегледачу. +printing_not_ready=Упозорење: PDF није у потпуности учитан за штампу. +web_fonts_disabled=Веб фонтови су онемогућени: не могу користити уграђене PDF фонтове. + +# Editor +editor_free_text2.title=Текст +editor_free_text2_label=Текст +editor_ink2.title=Цртај +editor_ink2_label=Цртај + +free_text2_default_content=Почни куцање… + +# Editor Parameters +editor_free_text_color=Боја +editor_free_text_size=Величина +editor_ink_color=Боја +editor_ink_thickness=Дебљина +editor_ink_opacity=Опацитет + +# Editor aria +editor_free_text2_aria_label=Уређивач текста +editor_ink2_aria_label=Уређивач цртежа +editor_ink_canvas_aria_label=Кориснички направљена слика diff --git a/media/js/pdf/web/locale/sv-SE/viewer.properties b/media/js/pdf/web/locale/sv-SE/viewer.properties new file mode 100644 index 0000000000..31169d4373 --- /dev/null +++ b/media/js/pdf/web/locale/sv-SE/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Föregående sida +previous_label=Föregående +next.title=Nästa sida +next_label=Nästa + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sida +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=av {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} av {{pagesCount}}) + +zoom_out.title=Zooma ut +zoom_out_label=Zooma ut +zoom_in.title=Zooma in +zoom_in_label=Zooma in +zoom.title=Zoom +presentation_mode.title=Byt till presentationsläge +presentation_mode_label=Presentationsläge +open_file.title=Öppna fil +open_file_label=Öppna +print.title=Skriv ut +print_label=Skriv ut +download.title=Hämta +download_label=Hämta +bookmark.title=Aktuell vy (kopiera eller öppna i nytt fönster) +bookmark_label=Aktuell vy + +save.title=Spara +save_label=Spara +bookmark1.title=Aktuell sida (Visa URL från aktuell sida) +bookmark1_label=Aktuell sida + +open_in_app.title=Öppna i app +open_in_app_label=Öppna i app + +# Secondary toolbar and context menu +tools.title=Verktyg +tools_label=Verktyg +first_page.title=Gå till första sidan +first_page_label=Gå till första sidan +last_page.title=Gå till sista sidan +last_page_label=Gå till sista sidan +page_rotate_cw.title=Rotera medurs +page_rotate_cw_label=Rotera medurs +page_rotate_ccw.title=Rotera moturs +page_rotate_ccw_label=Rotera moturs + +cursor_text_select_tool.title=Aktivera textmarkeringsverktyg +cursor_text_select_tool_label=Textmarkeringsverktyg +cursor_hand_tool.title=Aktivera handverktyg +cursor_hand_tool_label=Handverktyg + +scroll_page.title=Använd sidrullning +scroll_page_label=Sidrullning +scroll_vertical.title=Använd vertikal rullning +scroll_vertical_label=Vertikal rullning +scroll_horizontal.title=Använd horisontell rullning +scroll_horizontal_label=Horisontell rullning +scroll_wrapped.title=Använd överlappande rullning +scroll_wrapped_label=Överlappande rullning + +spread_none.title=Visa enkelsidor +spread_none_label=Enkelsidor +spread_odd.title=Visa uppslag med olika sidnummer till vänster +spread_odd_label=Uppslag med framsida +spread_even.title=Visa uppslag med lika sidnummer till vänster +spread_even_label=Uppslag utan framsida + +# Document properties dialog box +document_properties.title=Dokumentegenskaper… +document_properties_label=Dokumentegenskaper… +document_properties_file_name=Filnamn: +document_properties_file_size=Filstorlek: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} kB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Titel: +document_properties_author=Författare: +document_properties_subject=Ämne: +document_properties_keywords=Nyckelord: +document_properties_creation_date=Skapades: +document_properties_modification_date=Ändrades: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Skapare: +document_properties_producer=PDF-producent: +document_properties_version=PDF-version: +document_properties_page_count=Sidantal: +document_properties_page_size=Pappersstorlek: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=porträtt +document_properties_page_size_orientation_landscape=landskap +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Snabb webbvisning: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Nej +document_properties_close=Stäng + +print_progress_message=Förbereder sidor för utskrift… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Avbryt + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Visa/dölj sidofält +toggle_sidebar_notification2.title=Växla sidofält (dokumentet innehåller dokumentstruktur/bilagor/lager) +toggle_sidebar_label=Visa/dölj sidofält +document_outline.title=Visa dokumentdisposition (dubbelklicka för att expandera/komprimera alla objekt) +document_outline_label=Dokumentöversikt +attachments.title=Visa Bilagor +attachments_label=Bilagor +layers.title=Visa lager (dubbelklicka för att återställa alla lager till standardläge) +layers_label=Lager +thumbs.title=Visa miniatyrer +thumbs_label=Miniatyrer +current_outline_item.title=Hitta aktuellt dispositionsobjekt +current_outline_item_label=Aktuellt dispositionsobjekt +findbar.title=Sök i dokument +findbar_label=Sök + +additional_layers=Ytterligare lager +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Sida {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Sida {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatyr av sida {{page}} + +# Find panel button title and messages +find_input.title=Sök +find_input.placeholder=Sök i dokument… +find_previous.title=Hitta föregående förekomst av frasen +find_previous_label=Föregående +find_next.title=Hitta nästa förekomst av frasen +find_next_label=Nästa +find_highlight=Markera alla +find_match_case_label=Matcha versal/gemen +find_match_diacritics_label=Matcha diakritiska tecken +find_entire_word_label=Hela ord +find_reached_top=Nådde början av dokumentet, började från slutet +find_reached_bottom=Nådde slutet på dokumentet, började från början +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} av {{total}} träff +find_match_count[two]={{current}} av {{total}} träffar +find_match_count[few]={{current}} av {{total}} träffar +find_match_count[many]={{current}} av {{total}} träffar +find_match_count[other]={{current}} av {{total}} träffar +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Mer än {{limit}} träffar +find_match_count_limit[one]=Mer än {{limit}} träff +find_match_count_limit[two]=Mer än {{limit}} träffar +find_match_count_limit[few]=Mer än {{limit}} träffar +find_match_count_limit[many]=Mer än {{limit}} träffar +find_match_count_limit[other]=Mer än {{limit}} träffar +find_not_found=Frasen hittades inte + +# Error panel labels +error_more_info=Mer information +error_less_info=Mindre information +error_close=Stäng +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Meddelande: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fil: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rad: {{line}} + +# Predefined zoom values +page_scale_width=Sidbredd +page_scale_fit=Anpassa sida +page_scale_auto=Automatisk zoom +page_scale_actual=Verklig storlek +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Laddar… + +# Loading indicator messages +loading_error=Ett fel uppstod vid laddning av PDF-filen. +invalid_file_error=Ogiltig eller korrupt PDF-fil. +missing_file_error=Saknad PDF-fil. +unexpected_response_error=Oväntat svar från servern. + +rendering_error=Ett fel uppstod vid visning av sidan. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-annotering] +password_label=Skriv in lösenordet för att öppna PDF-filen. +password_invalid=Ogiltigt lösenord. Försök igen. +password_ok=OK +password_cancel=Avbryt + +printing_not_supported=Varning: Utskrifter stöds inte helt av den här webbläsaren. +printing_not_ready=Varning: PDF:en är inte klar för utskrift. +web_fonts_disabled=Webbtypsnitt är inaktiverade: kan inte använda inbäddade PDF-typsnitt. + +# Editor +editor_free_text2.title=Text +editor_free_text2_label=Text +editor_ink2.title=Rita +editor_ink2_label=Rita + +free_text2_default_content=Börja skriva… + +# Editor Parameters +editor_free_text_color=Färg +editor_free_text_size=Storlek +editor_ink_color=Färg +editor_ink_thickness=Tjocklek +editor_ink_opacity=Opacitet + +# Editor aria +editor_free_text2_aria_label=Textredigerare +editor_ink2_aria_label=Ritredigerare +editor_ink_canvas_aria_label=Användarskapad bild diff --git a/media/js/pdf/web/locale/szl/viewer.properties b/media/js/pdf/web/locale/szl/viewer.properties new file mode 100644 index 0000000000..88bc57a1bb --- /dev/null +++ b/media/js/pdf/web/locale/szl/viewer.properties @@ -0,0 +1,245 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Piyrwyjszo strōna +previous_label=Piyrwyjszo +next.title=Nastympno strōna +next_label=Dalij + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Strōna +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ze {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ze {{pagesCount}}) + +zoom_out.title=Zmyńsz +zoom_out_label=Zmyńsz +zoom_in.title=Zwiynksz +zoom_in_label=Zwiynksz +zoom.title=Srogość +presentation_mode.title=Przełōncz na tryb prezyntacyje +presentation_mode_label=Tryb prezyntacyje +open_file.title=Ôdewrzij zbiōr +open_file_label=Ôdewrzij +print.title=Durkuj +print_label=Durkuj +download.title=Pobier +download_label=Pobier +bookmark.title=Aktualny widok (kopiuj abo ôdewrzij w nowym ôknie) +bookmark_label=Aktualny widok + +# Secondary toolbar and context menu +tools.title=Noczynia +tools_label=Noczynia +first_page.title=Idź ku piyrszyj strōnie +first_page_label=Idź ku piyrszyj strōnie +last_page.title=Idź ku ôstatnij strōnie +last_page_label=Idź ku ôstatnij strōnie +page_rotate_cw.title=Zwyrtnij w prawo +page_rotate_cw_label=Zwyrtnij w prawo +page_rotate_ccw.title=Zwyrtnij w lewo +page_rotate_ccw_label=Zwyrtnij w lewo + +cursor_text_select_tool.title=Załōncz noczynie ôbiyranio tekstu +cursor_text_select_tool_label=Noczynie ôbiyranio tekstu +cursor_hand_tool.title=Załōncz noczynie rōnczka +cursor_hand_tool_label=Noczynie rōnczka + +scroll_vertical.title=Używej piōnowego przewijanio +scroll_vertical_label=Piōnowe przewijanie +scroll_horizontal.title=Używej poziōmego przewijanio +scroll_horizontal_label=Poziōme przewijanie +scroll_wrapped.title=Używej szichtowego przewijanio +scroll_wrapped_label=Szichtowe przewijanie + +spread_none.title=Niy dowej strōn w widoku po dwie +spread_none_label=Po jednyj strōnie +spread_odd.title=Pokoż strōny po dwie; niyporziste po lewyj +spread_odd_label=Niyporziste po lewyj +spread_even.title=Pokoż strōny po dwie; porziste po lewyj +spread_even_label=Porziste po lewyj + +# Document properties dialog box +document_properties.title=Włosności dokumyntu… +document_properties_label=Włosności dokumyntu… +document_properties_file_name=Miano zbioru: +document_properties_file_size=Srogość zbioru: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} B) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} B) +document_properties_title=Tytuł: +document_properties_author=Autōr: +document_properties_subject=Tymat: +document_properties_keywords=Kluczowe słowa: +document_properties_creation_date=Data zrychtowanio: +document_properties_modification_date=Data zmiany: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Zrychtowane ôd: +document_properties_producer=PDF ôd: +document_properties_version=Wersyjo PDF: +document_properties_page_count=Wielość strōn: +document_properties_page_size=Srogość strōny: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=piōnowo +document_properties_page_size_orientation_landscape=poziōmo +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Gibki necowy podglōnd: +document_properties_linearized_yes=Ja +document_properties_linearized_no=Niy +document_properties_close=Zawrzij + +print_progress_message=Rychtowanie dokumyntu do durku… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Pociep + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Przełōncz posek na rancie +toggle_sidebar_notification2.title=Przełōncz posek na rancie (dokumynt mo struktura/przidowki/warstwy) +toggle_sidebar_label=Przełōncz posek na rancie +document_outline.title=Pokoż struktura dokumyntu (tuplowane klikniyncie rozszyrzo/swijo wszyskie elymynta) +document_outline_label=Struktura dokumyntu +attachments.title=Pokoż przidowki +attachments_label=Przidowki +layers.title=Pokoż warstwy (tuplowane klikniyncie resetuje wszyskie warstwy do bazowego stanu) +layers_label=Warstwy +thumbs.title=Pokoż miniatury +thumbs_label=Miniatury +findbar.title=Znojdź w dokumyncie +findbar_label=Znojdź + +additional_layers=Nadbytnie warstwy +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Strōna {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Miniatura strōny {{page}} + +# Find panel button title and messages +find_input.title=Znojdź +find_input.placeholder=Znojdź w dokumyncie… +find_previous.title=Znojdź piyrwyjsze pokozanie sie tyj frazy +find_previous_label=Piyrwyjszo +find_next.title=Znojdź nastympne pokozanie sie tyj frazy +find_next_label=Dalij +find_highlight=Zaznacz wszysko +find_match_case_label=Poznowej srogość liter +find_entire_word_label=Cołke słowa +find_reached_top=Doszło do samego wiyrchu strōny, dalij ôd spodku +find_reached_bottom=Doszło do samego spodku strōny, dalij ôd wiyrchu +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} ze {{total}}, co pasujōm +find_match_count[two]={{current}} ze {{total}}, co pasujōm +find_match_count[few]={{current}} ze {{total}}, co pasujōm +find_match_count[many]={{current}} ze {{total}}, co pasujōm +find_match_count[other]={{current}} ze {{total}}, co pasujōm +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(total) ]} +find_match_count_limit[zero]=Wiyncyj jak {{limit}}, co pasujōm +find_match_count_limit[one]=Wiyncyj jak {{limit}}, co pasuje +find_match_count_limit[two]=Wiyncyj jak {{limit}}, co pasujōm +find_match_count_limit[few]=Wiyncyj jak {{limit}}, co pasujōm +find_match_count_limit[many]=Wiyncyj jak {{limit}}, co pasujōm +find_match_count_limit[other]=Wiyncyj jak {{limit}}, co pasujōm +find_not_found=Fraza niy znaleziōno + +# Error panel labels +error_more_info=Wiyncyj informacyji +error_less_info=Mynij informacyji +error_close=Zawrzij +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Wiadōmość: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Sztapel: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Zbiōr: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linijo: {{line}} +rendering_error=Przi renderowaniu strōny pokozoł sie feler. + +# Predefined zoom values +page_scale_width=Szyrzka strōny +page_scale_fit=Napasowanie strōny +page_scale_auto=Autōmatyczno srogość +page_scale_actual=Aktualno srogość +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=Przi ladowaniu PDFa pokozoł sie feler. +invalid_file_error=Zły abo felerny zbiōr PDF. +missing_file_error=Chybio zbioru PDF. +unexpected_response_error=Niyôczekowano ôdpowiydź serwera. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Anotacyjo typu {{type}}] +password_label=Wkludź hasło, coby ôdewrzić tyn zbiōr PDF. +password_invalid=Hasło je złe. Sprōbuj jeszcze roz. +password_ok=OK +password_cancel=Pociep + +printing_not_supported=Pozōr: Ta przeglōndarka niy cołkiym ôbsuguje durk. +printing_not_ready=Pozōr: Tyn PDF niy ma za tela zaladowany do durku. +web_fonts_disabled=Necowe fōnty sōm zastawiōne: niy idzie użyć wkludzōnych fōntōw PDF. + diff --git a/media/js/pdf/web/locale/ta/viewer.properties b/media/js/pdf/web/locale/ta/viewer.properties new file mode 100644 index 0000000000..72f75e22fc --- /dev/null +++ b/media/js/pdf/web/locale/ta/viewer.properties @@ -0,0 +1,194 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=முந்தைய பக்கம் +previous_label=முந்தையது +next.title=அடுத்த பக்கம் +next_label=அடுத்து + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=பக்கம் +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} இல் +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages={{pagesCount}}) இல் ({{pageNumber}} + +zoom_out.title=சிறிதாக்கு +zoom_out_label=சிறிதாக்கு +zoom_in.title=பெரிதாக்கு +zoom_in_label=பெரிதாக்கு +zoom.title=பெரிதாக்கு +presentation_mode.title=விளக்ககாட்சி பயன்முறைக்கு மாறு +presentation_mode_label=விளக்ககாட்சி பயன்முறை +open_file.title=கோப்பினை திற +open_file_label=திற +print.title=அச்சிடு +print_label=அச்சிடு +download.title=பதிவிறக்கு +download_label=பதிவிறக்கு +bookmark.title=தற்போதைய காட்சி (புதிய சாளரத்திற்கு நகலெடு அல்லது புதிய சாளரத்தில் திற) +bookmark_label=தற்போதைய காட்சி + +# Secondary toolbar and context menu +tools.title=கருவிகள் +tools_label=கருவிகள் +first_page.title=முதல் பக்கத்திற்கு செல்லவும் +first_page_label=முதல் பக்கத்திற்கு செல்லவும் +last_page.title=கடைசி பக்கத்திற்கு செல்லவும் +last_page_label=கடைசி பக்கத்திற்கு செல்லவும் +page_rotate_cw.title=வலஞ்சுழியாக சுழற்று +page_rotate_cw_label=வலஞ்சுழியாக சுழற்று +page_rotate_ccw.title=இடஞ்சுழியாக சுழற்று +page_rotate_ccw_label=இடஞ்சுழியாக சுழற்று + +cursor_text_select_tool.title=உரைத் தெரிவு கருவியைச் செயல்படுத்து +cursor_text_select_tool_label=உரைத் தெரிவு கருவி +cursor_hand_tool.title=கைக் கருவிக்ச் செயற்படுத்து +cursor_hand_tool_label=கைக்குருவி + +# Document properties dialog box +document_properties.title=ஆவண பண்புகள்... +document_properties_label=ஆவண பண்புகள்... +document_properties_file_name=கோப்பு பெயர்: +document_properties_file_size=கோப்பின் அளவு: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} கிபை ({{size_b}} பைட்டுகள்) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} மெபை ({{size_b}} பைட்டுகள்) +document_properties_title=தலைப்பு: +document_properties_author=எழுதியவர் +document_properties_subject=பொருள்: +document_properties_keywords=முக்கிய வார்த்தைகள்: +document_properties_creation_date=படைத்த தேதி : +document_properties_modification_date=திருத்திய தேதி: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=உருவாக்குபவர்: +document_properties_producer=பிடிஎஃப் தயாரிப்பாளர்: +document_properties_version=PDF பதிப்பு: +document_properties_page_count=பக்க எண்ணிக்கை: +document_properties_page_size=பக்க அளவு: +document_properties_page_size_unit_inches=இதில் +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=நிலைபதிப்பு +document_properties_page_size_orientation_landscape=நிலைபரப்பு +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=கடிதம் +document_properties_page_size_name_legal=சட்டபூர்வ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +document_properties_close=மூடுக + +print_progress_message=அச்சிடுவதற்கான ஆவணம் தயாராகிறது... +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ரத்து + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=பக்கப் பட்டியை நிலைமாற்று +toggle_sidebar_label=பக்கப் பட்டியை நிலைமாற்று +document_outline.title=ஆவண அடக்கத்தைக் காட்டு (இருமுறைச் சொடுக்கி அனைத்து உறுப்பிடிகளையும் விரி/சேர்) +document_outline_label=ஆவண வெளிவரை +attachments.title=இணைப்புகளை காண்பி +attachments_label=இணைப்புகள் +thumbs.title=சிறுபடங்களைக் காண்பி +thumbs_label=சிறுபடங்கள் +findbar.title=ஆவணத்தில் கண்டறி +findbar_label=தேடு + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=பக்கம் {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=பக்கத்தின் சிறுபடம் {{page}} + +# Find panel button title and messages +find_input.title=கண்டுபிடி +find_input.placeholder=ஆவணத்தில் கண்டறி… +find_previous.title=இந்த சொற்றொடரின் முந்தைய நிகழ்வை தேடு +find_previous_label=முந்தையது +find_next.title=இந்த சொற்றொடரின் அடுத்த நிகழ்வை தேடு +find_next_label=அடுத்து +find_highlight=அனைத்தையும் தனிப்படுத்து +find_match_case_label=பேரெழுத்தாக்கத்தை உணர் +find_reached_top=ஆவணத்தின் மேல் பகுதியை அடைந்தது, அடிப்பக்கத்திலிருந்து தொடர்ந்தது +find_reached_bottom=ஆவணத்தின் முடிவை அடைந்தது, மேலிருந்து தொடர்ந்தது +find_not_found=சொற்றொடர் காணவில்லை + +# Error panel labels +error_more_info=கூடுதல் தகவல் +error_less_info=குறைந்த தகவல் +error_close=மூடுக +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=செய்தி: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=ஸ்டேக்: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=கோப்பு: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=வரி: {{line}} +rendering_error=இந்தப் பக்கத்தை காட்சிப்படுத்தும் போது ஒரு பிழை ஏற்பட்டது. + +# Predefined zoom values +page_scale_width=பக்க அகலம் +page_scale_fit=பக்கப் பொருத்தம் +page_scale_auto=தானியக்க பெரிதாக்கல் +page_scale_actual=உண்மையான அளவு +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF ஐ ஏற்றும் போது ஒரு பிழை ஏற்பட்டது. +invalid_file_error=செல்லுபடியாகாத அல்லது சிதைந்த PDF கோப்பு. +missing_file_error=PDF கோப்பு காணவில்லை. +unexpected_response_error=சேவகன் பதில் எதிர்பாரதது. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} விளக்கம்] +password_label=இந்த PDF கோப்பை திறக்க கடவுச்சொல்லை உள்ளிடவும். +password_invalid=செல்லுபடியாகாத கடவுச்சொல், தயை செய்து மீண்டும் முயற்சி செய்க. +password_ok=சரி +password_cancel=ரத்து + +printing_not_supported=எச்சரிக்கை: இந்த உலாவி அச்சிடுதலை முழுமையாக ஆதரிக்கவில்லை. +printing_not_ready=எச்சரிக்கை: PDF அச்சிட முழுவதுமாக ஏற்றப்படவில்லை. +web_fonts_disabled=வலை எழுத்துருக்கள் முடக்கப்பட்டுள்ளன: உட்பொதிக்கப்பட்ட PDF எழுத்துருக்களைப் பயன்படுத்த முடியவில்லை. + diff --git a/media/js/pdf/web/locale/te/viewer.properties b/media/js/pdf/web/locale/te/viewer.properties new file mode 100644 index 0000000000..3c820958c7 --- /dev/null +++ b/media/js/pdf/web/locale/te/viewer.properties @@ -0,0 +1,237 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=మునుపటి పేజీ +previous_label=క్రితం +next.title=తరువాత పేజీ +next_label=తరువాత + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=పేజీ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=మొత్తం {{pagesCount}} లో +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=(మొత్తం {{pagesCount}} లో {{pageNumber}}వది) + +zoom_out.title=జూమ్ తగ్గించు +zoom_out_label=జూమ్ తగ్గించు +zoom_in.title=జూమ్ చేయి +zoom_in_label=జూమ్ చేయి +zoom.title=జూమ్ +presentation_mode.title=ప్రదర్శనా రీతికి మారు +presentation_mode_label=ప్రదర్శనా రీతి +open_file.title=ఫైల్ తెరువు +open_file_label=తెరువు +print.title=ముద్రించు +print_label=ముద్రించు +download.title=దింపుకోళ్ళు +download_label=దింపుకోళ్ళు +bookmark.title=ప్రస్తుత దర్శనం (కాపీ చేయి లేదా కొత్త విండోలో తెరువు) +bookmark_label=ప్రస్తుత దర్శనం + +# Secondary toolbar and context menu +tools.title=పనిముట్లు +tools_label=పనిముట్లు +first_page.title=మొదటి పేజీకి వెళ్ళు +first_page_label=మొదటి పేజీకి వెళ్ళు +last_page.title=చివరి పేజీకి వెళ్ళు +last_page_label=చివరి పేజీకి వెళ్ళు +page_rotate_cw.title=సవ్యదిశలో తిప్పు +page_rotate_cw_label=సవ్యదిశలో తిప్పు +page_rotate_ccw.title=అపసవ్యదిశలో తిప్పు +page_rotate_ccw_label=అపసవ్యదిశలో తిప్పు + +cursor_text_select_tool.title=టెక్స్ట్ ఎంపిక సాధనాన్ని ప్రారంభించండి +cursor_text_select_tool_label=టెక్స్ట్ ఎంపిక సాధనం +cursor_hand_tool.title=చేతి సాధనం చేతనించు +cursor_hand_tool_label=చేతి సాధనం + +scroll_vertical_label=నిలువు స్క్రోలింగు + + +# Document properties dialog box +document_properties.title=పత్రము లక్షణాలు... +document_properties_label=పత్రము లక్షణాలు... +document_properties_file_name=దస్త్రం పేరు: +document_properties_file_size=దస్త్రం పరిమాణం: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=శీర్షిక: +document_properties_author=మూలకర్త: +document_properties_subject=విషయం: +document_properties_keywords=కీ పదాలు: +document_properties_creation_date=సృష్టించిన తేదీ: +document_properties_modification_date=సవరించిన తేదీ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=సృష్టికర్త: +document_properties_producer=PDF ఉత్పాదకి: +document_properties_version=PDF వర్షన్: +document_properties_page_count=పేజీల సంఖ్య: +document_properties_page_size=కాగితం పరిమాణం: +document_properties_page_size_unit_inches=లో +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=నిలువుచిత్రం +document_properties_page_size_orientation_landscape=అడ్డచిత్రం +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=లేఖ +document_properties_page_size_name_legal=చట్టపరమైన +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized_yes=అవును +document_properties_linearized_no=కాదు +document_properties_close=మూసివేయి + +print_progress_message=ముద్రించడానికి పత్రము సిద్ధమవుతున్నది… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=రద్దుచేయి + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=పక్కపట్టీ మార్చు +toggle_sidebar_label=పక్కపట్టీ మార్చు +document_outline.title=పత్రము రూపము చూపించు (డబుల్ క్లిక్ చేసి అన్ని అంశాలను విస్తరించు/కూల్చు) +document_outline_label=పత్రము అవుట్లైన్ +attachments.title=అనుబంధాలు చూపు +attachments_label=అనుబంధాలు +layers_label=పొరలు +thumbs.title=థంబ్నైల్స్ చూపు +thumbs_label=థంబ్నైల్స్ +findbar.title=పత్రములో కనుగొనుము +findbar_label=కనుగొను + +additional_layers=అదనపు పొరలు +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=పేజీ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} పేజీ నఖచిత్రం + +# Find panel button title and messages +find_input.title=కనుగొను +find_input.placeholder=పత్రములో కనుగొను… +find_previous.title=పదం యొక్క ముందు సంభవాన్ని కనుగొను +find_previous_label=మునుపటి +find_next.title=పదం యొక్క తర్వాతి సంభవాన్ని కనుగొను +find_next_label=తరువాత +find_highlight=అన్నిటిని ఉద్దీపనం చేయుము +find_match_case_label=అక్షరముల తేడాతో పోల్చు +find_entire_word_label=పూర్తి పదాలు +find_reached_top=పేజీ పైకి చేరుకున్నది, క్రింది నుండి కొనసాగించండి +find_reached_bottom=పేజీ చివరకు చేరుకున్నది, పైనుండి కొనసాగించండి +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_not_found=పదబంధం కనబడలేదు + +# Error panel labels +error_more_info=మరింత సమాచారం +error_less_info=తక్కువ సమాచారం +error_close=మూసివేయి +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=సందేశం: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=స్టాక్: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ఫైలు: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=వరుస: {{line}} +rendering_error=పేజీను రెండర్ చేయుటలో ఒక దోషం ఎదురైంది. + +# Predefined zoom values +page_scale_width=పేజీ వెడల్పు +page_scale_fit=పేజీ అమర్పు +page_scale_auto=స్వయంచాలక జూమ్ +page_scale_actual=యథార్ధ పరిమాణం +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=PDF లోడవుచున్నప్పుడు ఒక దోషం ఎదురైంది. +invalid_file_error=చెల్లని లేదా పాడైన PDF ఫైలు. +missing_file_error=దొరకని PDF ఫైలు. +unexpected_response_error=అనుకోని సర్వర్ స్పందన. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} టీకా] +password_label=ఈ PDF ఫైల్ తెరుచుటకు సంకేతపదం ప్రవేశపెట్టుము. +password_invalid=సంకేతపదం చెల్లదు. దయచేసి మళ్ళీ ప్రయత్నించండి. +password_ok=సరే +password_cancel=రద్దుచేయి + +printing_not_supported=హెచ్చరిక: ఈ విహారిణి చేత ముద్రణ పూర్తిగా తోడ్పాటు లేదు. +printing_not_ready=హెచ్చరిక: ముద్రణ కొరకు ఈ PDF పూర్తిగా లోడవలేదు. +web_fonts_disabled=వెబ్ ఫాంట్లు అచేతనించబడెను: ఎంబెడెడ్ PDF ఫాంట్లు ఉపయోగించలేక పోయింది. + +# Editor + + +# Editor + + +# Editor Parameters +editor_free_text_color=రంగు +editor_free_text_size=పరిమాణం +editor_ink_color=రంగు +editor_ink_thickness=మందం +editor_ink_opacity=అకిరణ్యత + +# Editor aria + +# Editor aria + diff --git a/media/js/pdf/web/locale/tg/viewer.properties b/media/js/pdf/web/locale/tg/viewer.properties new file mode 100644 index 0000000000..fbdbe57b9d --- /dev/null +++ b/media/js/pdf/web/locale/tg/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Саҳифаи қаблӣ +previous_label=Қаблӣ +next.title=Саҳифаи навбатӣ +next_label=Навбатӣ + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Саҳифа +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=аз {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} аз {{pagesCount}}) + +zoom_out.title=Хурд кардан +zoom_out_label=Хурд кардан +zoom_in.title=Калон кардан +zoom_in_label=Калон кардан +zoom.title=Танзими андоза +presentation_mode.title=Гузариш ба реҷаи тақдим +presentation_mode_label=Реҷаи тақдим +open_file.title=Кушодани файл +open_file_label=Кушодан +print.title=Чоп кардан +print_label=Чоп кардан +download.title=Боргирӣ кардан +download_label=Боргирӣ кардан +bookmark.title=Намуди ҷорӣ (нусха бардоштан ё кушодан дар равзанаи нав) +bookmark_label=Намуди ҷорӣ + +save.title=Нигоҳ доштан +save_label=Нигоҳ доштан +bookmark1.title=Саҳифаи ҷорӣ (Дидани нишонии URL аз саҳифаи ҷорӣ) +bookmark1_label=Саҳифаи ҷорӣ + +open_in_app.title=Кушодан дар барнома +open_in_app_label=Кушодан дар барнома + +# Secondary toolbar and context menu +tools.title=Абзорҳо +tools_label=Абзорҳо +first_page.title=Ба саҳифаи аввал гузаред +first_page_label=Ба саҳифаи аввал гузаред +last_page.title=Ба саҳифаи охирин гузаред +last_page_label=Ба саҳифаи охирин гузаред +page_rotate_cw.title=Ба самти ҳаракати ақрабаки соат давр задан +page_rotate_cw_label=Ба самти ҳаракати ақрабаки соат давр задан +page_rotate_ccw.title=Ба муқобили самти ҳаракати ақрабаки соат давр задан +page_rotate_ccw_label=Ба муқобили самти ҳаракати ақрабаки соат давр задан + +cursor_text_select_tool.title=Фаъол кардани «Абзори интихоби матн» +cursor_text_select_tool_label=Абзори интихоби матн +cursor_hand_tool.title=Фаъол кардани «Абзори даст» +cursor_hand_tool_label=Абзори даст + +scroll_page.title=Истифодаи варақзанӣ +scroll_page_label=Варақзанӣ +scroll_vertical.title=Истифодаи варақзании амудӣ +scroll_vertical_label=Варақзании амудӣ +scroll_horizontal.title=Истифодаи варақзании уфуқӣ +scroll_horizontal_label=Варақзании уфуқӣ +scroll_wrapped.title=Истифодаи варақзании миқёсбандӣ +scroll_wrapped_label=Варақзании миқёсбандӣ + +spread_none.title=Густариши саҳифаҳо истифода бурда нашавад +spread_none_label=Бе густурдани саҳифаҳо +spread_odd.title=Густариши саҳифаҳо аз саҳифаҳо бо рақамҳои тоқ оғоз карда мешавад +spread_odd_label=Саҳифаҳои тоқ аз тарафи чап +spread_even.title=Густариши саҳифаҳо аз саҳифаҳо бо рақамҳои ҷуфт оғоз карда мешавад +spread_even_label=Саҳифаҳои ҷуфт аз тарафи чап + +# Document properties dialog box +document_properties.title=Хусусиятҳои ҳуҷҷат… +document_properties_label=Хусусиятҳои ҳуҷҷат… +document_properties_file_name=Номи файл: +document_properties_file_size=Андозаи файл: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} байт) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} байт) +document_properties_title=Сарлавҳа: +document_properties_author=Муаллиф: +document_properties_subject=Мавзуъ: +document_properties_keywords=Калимаҳои калидӣ: +document_properties_creation_date=Санаи эҷод: +document_properties_modification_date=Санаи тағйирот: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Эҷодкунанда: +document_properties_producer=Таҳиякунандаи «PDF»: +document_properties_version=Версияи «PDF»: +document_properties_page_count=Шумораи саҳифаҳо: +document_properties_page_size=Андозаи саҳифа: +document_properties_page_size_unit_inches=дюйм +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=амудӣ +document_properties_page_size_orientation_landscape=уфуқӣ +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Мактуб +document_properties_page_size_name_legal=Ҳуқуқӣ +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Намоиши тез дар Интернет: +document_properties_linearized_yes=Ҳа +document_properties_linearized_no=Не +document_properties_close=Пӯшидан + +print_progress_message=Омодасозии ҳуҷҷат барои чоп… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Бекор кардан + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Фаъол кардани навори ҷонибӣ +toggle_sidebar_notification2.title=Фаъол кардани навори ҷонибӣ (ҳуҷҷат дорои сохтор/замимаҳо/қабатҳо мебошад) +toggle_sidebar_label=Фаъол кардани навори ҷонибӣ +document_outline.title=Намоиш додани сохтори ҳуҷҷат (барои баркушодан/пеҷондани ҳамаи унсурҳо дубора зер кунед) +document_outline_label=Сохтори ҳуҷҷат +attachments.title=Намоиш додани замимаҳо +attachments_label=Замимаҳо +layers.title=Намоиш додани қабатҳо (барои барқарор кардани ҳамаи қабатҳо ба вазъияти пешфарз дубора зер кунед) +layers_label=Қабатҳо +thumbs.title=Намоиш додани тасвирчаҳо +thumbs_label=Тасвирчаҳо +current_outline_item.title=Ёфтани унсури сохтори ҷорӣ +current_outline_item_label=Унсури сохтори ҷорӣ +findbar.title=Ёфтан дар ҳуҷҷат +findbar_label=Ёфтан + +additional_layers=Қабатҳои иловагӣ +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Саҳифаи {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Саҳифаи {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Тасвирчаи саҳифаи {{page}} + +# Find panel button title and messages +find_input.title=Ёфтан +find_input.placeholder=Ёфтан дар ҳуҷҷат… +find_previous.title=Ҷустуҷӯи мавриди қаблии ибораи пешниҳодшуда +find_previous_label=Қаблӣ +find_next.title=Ҷустуҷӯи мавриди навбатии ибораи пешниҳодшуда +find_next_label=Навбатӣ +find_highlight=Ҳамаашро бо ранг ҷудо кардан +find_match_case_label=Бо дарназардошти ҳарфҳои хурду калон +find_match_diacritics_label=Бо дарназардошти аломатҳои диакритикӣ +find_entire_word_label=Калимаҳои пурра +find_reached_top=Ба болои ҳуҷҷат расид, аз поён идома ёфт +find_reached_bottom=Ба поёни ҳуҷҷат расид, аз боло идома ёфт +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} аз {{total}} мувофиқат +find_match_count[two]={{current}} аз {{total}} мувофиқат +find_match_count[few]={{current}} аз {{total}} мувофиқат +find_match_count[many]={{current}} аз {{total}} мувофиқат +find_match_count[other]={{current}} аз {{total}} мувофиқат +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Зиёда аз {{limit}} мувофиқат +find_match_count_limit[one]=Зиёда аз {{limit}} мувофиқат +find_match_count_limit[two]=Зиёда аз {{limit}} мувофиқат +find_match_count_limit[few]=Зиёда аз {{limit}} мувофиқат +find_match_count_limit[many]=Зиёда аз {{limit}} мувофиқат +find_match_count_limit[other]=Зиёда аз {{limit}} мувофиқат +find_not_found=Ибора ёфт нашуд + +# Error panel labels +error_more_info=Маълумоти бештар +error_less_info=Маълумоти камтар +error_close=Пӯшидан +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (сохт: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Паём: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Даста: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Сатр: {{line}} + +# Predefined zoom values +page_scale_width=Аз рӯи паҳнои саҳифа +page_scale_fit=Аз рӯи андозаи саҳифа +page_scale_auto=Андозаи худкор +page_scale_actual=Андозаи воқеӣ +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Бор шуда истодааст… + +# Loading indicator messages +loading_error=Ҳангоми боркунии «PDF» хато ба миён омад. +invalid_file_error=Файли «PDF» нодуруст ё вайроншуда мебошад. +missing_file_error=Файли «PDF» ғоиб аст. +unexpected_response_error=Ҷавоби ногаҳон аз сервер. + +rendering_error=Ҳангоми шаклсозии саҳифа хато ба миён омад. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Ҳошиянависӣ - {{type}}] +password_label=Барои кушодани ин файли «PDF» ниҳонвожаро ворид кунед. +password_invalid=Ниҳонвожаи нодуруст. Лутфан, аз нав кӯшиш кунед. +password_ok=ХУБ +password_cancel=Бекор кардан + +printing_not_supported=Диққат: Чопкунӣ аз тарафи ин браузер ба таври пурра дастгирӣ намешавад. +printing_not_ready=Диққат: Файли «PDF» барои чопкунӣ пурра бор карда нашуд. +web_fonts_disabled=Шрифтҳои интернетӣ ғайрифаъоланд: истифодаи шрифтҳои дарунсохти «PDF» ғайриимкон аст. + +# Editor +editor_free_text2.title=Матн +editor_free_text2_label=Матн +editor_ink2.title=Расмкашӣ +editor_ink2_label=Расмкашӣ + +free_text2_default_content=Нависед… + +# Editor Parameters +editor_free_text_color=Ранг +editor_free_text_size=Андоза +editor_ink_color=Ранг +editor_ink_thickness=Ғафсӣ +editor_ink_opacity=Шаффофӣ + +# Editor aria +editor_free_text2_aria_label=Муҳаррири матн +editor_ink2_aria_label=Муҳаррири расмкашӣ +editor_ink_canvas_aria_label=Тасвири эҷодкардаи корбар diff --git a/media/js/pdf/web/locale/th/viewer.properties b/media/js/pdf/web/locale/th/viewer.properties new file mode 100644 index 0000000000..9859c9025a --- /dev/null +++ b/media/js/pdf/web/locale/th/viewer.properties @@ -0,0 +1,284 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=หน้าก่อนหน้า +previous_label=ก่อนหน้า +next.title=หน้าถัดไป +next_label=ถัดไป + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=หน้า +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=จาก {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} จาก {{pagesCount}}) + +zoom_out.title=ซูมออก +zoom_out_label=ซูมออก +zoom_in.title=ซูมเข้า +zoom_in_label=ซูมเข้า +zoom.title=ซูม +presentation_mode.title=สลับเป็นโหมดการนำเสนอ +presentation_mode_label=โหมดการนำเสนอ +open_file.title=เปิดไฟล์ +open_file_label=เปิด +print.title=พิมพ์ +print_label=พิมพ์ +download.title=ดาวน์โหลด +download_label=ดาวน์โหลด +bookmark.title=มุมมองปัจจุบัน (คัดลอกหรือเปิดในหน้าต่างใหม่) +bookmark_label=มุมมองปัจจุบัน + +save.title=บันทึก +save_label=บันทึก +bookmark1.title=หน้าปัจจุบัน (ดู URL จากหน้าปัจจุบัน) +bookmark1_label=หน้าปัจจุบัน + +# LOCALIZATION NOTE (open_in_app.title): This string is used in Firefox for Android. +open_in_app.title=เปิดในแอป +# LOCALIZATION NOTE (open_in_app_label): This string is used in Firefox for Android. Length of the translation matters since we are in a mobile context, with limited screen estate. +open_in_app_label=เปิดในแอป + +# Secondary toolbar and context menu +tools.title=เครื่องมือ +tools_label=เครื่องมือ +first_page.title=ไปยังหน้าแรก +first_page_label=ไปยังหน้าแรก +last_page.title=ไปยังหน้าสุดท้าย +last_page_label=ไปยังหน้าสุดท้าย +page_rotate_cw.title=หมุนตามเข็มนาฬิกา +page_rotate_cw_label=หมุนตามเข็มนาฬิกา +page_rotate_ccw.title=หมุนทวนเข็มนาฬิกา +page_rotate_ccw_label=หมุนทวนเข็มนาฬิกา + +cursor_text_select_tool.title=เปิดใช้งานเครื่องมือการเลือกข้อความ +cursor_text_select_tool_label=เครื่องมือการเลือกข้อความ +cursor_hand_tool.title=เปิดใช้งานเครื่องมือมือ +cursor_hand_tool_label=เครื่องมือมือ + +scroll_page.title=ใช้การเลื่อนหน้า +scroll_page_label=การเลื่อนหน้า +scroll_vertical.title=ใช้การเลื่อนแนวตั้ง +scroll_vertical_label=การเลื่อนแนวตั้ง +scroll_horizontal.title=ใช้การเลื่อนแนวนอน +scroll_horizontal_label=การเลื่อนแนวนอน +scroll_wrapped.title=ใช้การเลื่อนแบบคลุม +scroll_wrapped_label=เลื่อนแบบคลุม + +spread_none.title=ไม่ต้องรวมการกระจายหน้า +spread_none_label=ไม่กระจาย +spread_odd.title=รวมการกระจายหน้าเริ่มจากหน้าคี่ +spread_odd_label=กระจายอย่างเหลือเศษ +spread_even.title=รวมการกระจายหน้าเริ่มจากหน้าคู่ +spread_even_label=กระจายอย่างเท่าเทียม + +# Document properties dialog box +document_properties.title=คุณสมบัติเอกสาร… +document_properties_label=คุณสมบัติเอกสาร… +document_properties_file_name=ชื่อไฟล์: +document_properties_file_size=ขนาดไฟล์: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} ไบต์) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} ไบต์) +document_properties_title=ชื่อเรื่อง: +document_properties_author=ผู้สร้าง: +document_properties_subject=ชื่อเรื่อง: +document_properties_keywords=คำสำคัญ: +document_properties_creation_date=วันที่สร้าง: +document_properties_modification_date=วันที่แก้ไข: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=ผู้สร้าง: +document_properties_producer=ผู้ผลิต PDF: +document_properties_version=รุ่น PDF: +document_properties_page_count=จำนวนหน้า: +document_properties_page_size=ขนาดหน้า: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=แนวตั้ง +document_properties_page_size_orientation_landscape=แนวนอน +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=จดหมาย +document_properties_page_size_name_legal=ข้อกฎหมาย +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=มุมมองเว็บแบบรวดเร็ว: +document_properties_linearized_yes=ใช่ +document_properties_linearized_no=ไม่ +document_properties_close=ปิด + +print_progress_message=กำลังเตรียมเอกสารสำหรับการพิมพ์… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=ยกเลิก + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=เปิด/ปิดแถบข้าง +toggle_sidebar_notification2.title=เปิด/ปิดแถบข้าง (เอกสารมีเค้าร่าง/ไฟล์แนบ/เลเยอร์) +toggle_sidebar_label=เปิด/ปิดแถบข้าง +document_outline.title=แสดงเค้าร่างเอกสาร (คลิกสองครั้งเพื่อขยาย/ยุบรายการทั้งหมด) +document_outline_label=เค้าร่างเอกสาร +attachments.title=แสดงไฟล์แนบ +attachments_label=ไฟล์แนบ +layers.title=แสดงเลเยอร์ (คลิกสองครั้งเพื่อรีเซ็ตเลเยอร์ทั้งหมดเป็นสถานะเริ่มต้น) +layers_label=เลเยอร์ +thumbs.title=แสดงภาพขนาดย่อ +thumbs_label=ภาพขนาดย่อ +current_outline_item.title=ค้นหารายการเค้าร่างปัจจุบัน +current_outline_item_label=รายการเค้าร่างปัจจุบัน +findbar.title=ค้นหาในเอกสาร +findbar_label=ค้นหา + +additional_layers=เลเยอร์เพิ่มเติม +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=หน้า {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=หน้า {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=ภาพขนาดย่อของหน้า {{page}} + +# Find panel button title and messages +find_input.title=ค้นหา +find_input.placeholder=ค้นหาในเอกสาร… +find_previous.title=หาตำแหน่งก่อนหน้าของวลี +find_previous_label=ก่อนหน้า +find_next.title=หาตำแหน่งถัดไปของวลี +find_next_label=ถัดไป +find_highlight=เน้นสีทั้งหมด +find_match_case_label=ตัวพิมพ์ใหญ่เล็กตรงกัน +find_match_diacritics_label=เครื่องหมายกำกับการออกเสียงตรงกัน +find_entire_word_label=ทั้งคำ +find_reached_top=ค้นหาถึงจุดเริ่มต้นของหน้า เริ่มค้นต่อจากด้านล่าง +find_reached_bottom=ค้นหาถึงจุดสิ้นสุดหน้า เริ่มค้นต่อจากด้านบน +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} จาก {{total}} ที่ตรงกัน +find_match_count[two]={{current}} จาก {{total}} ที่ตรงกัน +find_match_count[few]={{current}} จาก {{total}} ที่ตรงกัน +find_match_count[many]={{current}} จาก {{total}} ที่ตรงกัน +find_match_count[other]={{current}} จาก {{total}} ที่ตรงกัน +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=มากกว่า {{limit}} ที่ตรงกัน +find_match_count_limit[one]=มากกว่า {{limit}} ที่ตรงกัน +find_match_count_limit[two]=มากกว่า {{limit}} ที่ตรงกัน +find_match_count_limit[few]=มากกว่า {{limit}} ที่ตรงกัน +find_match_count_limit[many]=มากกว่า {{limit}} ที่ตรงกัน +find_match_count_limit[other]=มากกว่า {{limit}} ที่ตรงกัน +find_not_found=ไม่พบวลี + +# Error panel labels +error_more_info=ข้อมูลเพิ่มเติม +error_less_info=ข้อมูลน้อยลง +error_close=ปิด +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=ข้อความ: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=สแตก: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=ไฟล์: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=บรรทัด: {{line}} + +# Predefined zoom values +page_scale_width=ความกว้างหน้า +page_scale_fit=พอดีหน้า +page_scale_auto=ซูมอัตโนมัติ +page_scale_actual=ขนาดจริง +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=กำลังโหลด… + +# Loading indicator messages +loading_error=เกิดข้อผิดพลาดขณะโหลด PDF +invalid_file_error=ไฟล์ PDF ไม่ถูกต้องหรือเสียหาย +missing_file_error=ไฟล์ PDF หายไป +unexpected_response_error=การตอบสนองของเซิร์ฟเวอร์ที่ไม่คาดคิด + +rendering_error=เกิดข้อผิดพลาดขณะเรนเดอร์หน้า + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[คำอธิบายประกอบ {{type}}] +password_label=ป้อนรหัสผ่านเพื่อเปิดไฟล์ PDF นี้ +password_invalid=รหัสผ่านไม่ถูกต้อง โปรดลองอีกครั้ง +password_ok=ตกลง +password_cancel=ยกเลิก + +printing_not_supported=คำเตือน: เบราว์เซอร์นี้ไม่ได้สนับสนุนการพิมพ์อย่างเต็มที่ +printing_not_ready=คำเตือน: PDF ไม่ได้รับการโหลดอย่างเต็มที่สำหรับการพิมพ์ +web_fonts_disabled=แบบอักษรเว็บถูกปิดใช้งาน: ไม่สามารถใช้แบบอักษร PDF ฝังตัว + +# Editor +editor_free_text2.title=ข้อความ +editor_free_text2_label=ข้อความ +editor_ink2.title=รูปวาด +editor_ink2_label=รูปวาด + +free_text2_default_content=เริ่มพิมพ์… + +# Editor Parameters +editor_free_text_color=สี +editor_free_text_size=ขนาด +editor_ink_color=สี +editor_ink_thickness=ความหนา +editor_ink_opacity=ความทึบ + +# Editor aria +editor_free_text2_aria_label=ตัวแก้ไขข้อความ +editor_ink2_aria_label=ตัวแก้ไขรูปวาด +editor_ink_canvas_aria_label=ภาพที่ผู้ใช้สร้างขึ้น diff --git a/media/js/pdf/web/locale/tl/viewer.properties b/media/js/pdf/web/locale/tl/viewer.properties new file mode 100644 index 0000000000..2d44451f7f --- /dev/null +++ b/media/js/pdf/web/locale/tl/viewer.properties @@ -0,0 +1,243 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Naunang Pahina +previous_label=Nakaraan +next.title=Sunod na Pahina +next_label=Sunod + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Pahina +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=ng {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} ng {{pagesCount}}) + +zoom_out.title=Paliitin +zoom_out_label=Paliitin +zoom_in.title=Palakihin +zoom_in_label=Palakihin +zoom.title=Mag-zoom +presentation_mode.title=Lumipat sa Presentation Mode +presentation_mode_label=Presentation Mode +open_file.title=Magbukas ng file +open_file_label=Buksan +print.title=i-Print +print_label=i-Print +download.title=i-Download +download_label=i-Download +bookmark.title=Kasalukuyang tingin (kopyahin o buksan sa bagong window) +bookmark_label=Kasalukuyang tingin + +# Secondary toolbar and context menu +tools.title=Mga Kagamitan +tools_label=Mga Kagamitan +first_page.title=Pumunta sa Unang Pahina +first_page_label=Pumunta sa Unang Pahina +last_page.title=Pumunta sa Huling Pahina +last_page_label=Pumunta sa Huling Pahina +page_rotate_cw.title=Paikutin Pakanan +page_rotate_cw_label=Paikutin Pakanan +page_rotate_ccw.title=Paikutin Pakaliwa +page_rotate_ccw_label=Paikutin Pakaliwa + +cursor_text_select_tool.title=I-enable ang Text Selection Tool +cursor_text_select_tool_label=Text Selection Tool +cursor_hand_tool.title=I-enable ang Hand Tool +cursor_hand_tool_label=Hand Tool + +scroll_vertical.title=Gumamit ng Vertical Scrolling +scroll_vertical_label=Vertical Scrolling +scroll_horizontal.title=Gumamit ng Horizontal Scrolling +scroll_horizontal_label=Horizontal Scrolling +scroll_wrapped.title=Gumamit ng Wrapped Scrolling +scroll_wrapped_label=Wrapped Scrolling + +spread_none.title=Huwag pagsamahin ang mga page spread +spread_none_label=No Spreads +spread_odd.title=Join page spreads starting with odd-numbered pages +spread_odd_label=Mga Odd Spread +spread_even.title=Pagsamahin ang mga page spread na nagsisimula sa mga even-numbered na pahina +spread_even_label=Mga Even Spread + +# Document properties dialog box +document_properties.title=Mga Katangian ng Dokumento… +document_properties_label=Mga Katangian ng Dokumento… +document_properties_file_name=File name: +document_properties_file_size=File size: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Pamagat: +document_properties_author=May-akda: +document_properties_subject=Paksa: +document_properties_keywords=Mga keyword: +document_properties_creation_date=Petsa ng Pagkakagawa: +document_properties_modification_date=Petsa ng Pagkakabago: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Tagalikha: +document_properties_producer=PDF Producer: +document_properties_version=PDF Version: +document_properties_page_count=Bilang ng Pahina: +document_properties_page_size=Laki ng Pahina: +document_properties_page_size_unit_inches=pulgada +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=patayo +document_properties_page_size_orientation_landscape=pahiga +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Fast Web View: +document_properties_linearized_yes=Oo +document_properties_linearized_no=Hindi +document_properties_close=Isara + +print_progress_message=Inihahanda ang dokumento para sa pag-print… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Kanselahin + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Ipakita/Itago ang Sidebar +toggle_sidebar_notification2.title=Ipakita/Itago ang Sidebar (nagtataglay ang dokumento ng balangkas/mga attachment/mga layer) +toggle_sidebar_label=Ipakita/Itago ang Sidebar +document_outline.title=Ipakita ang Document Outline (mag-double-click para i-expand/collapse ang laman) +document_outline_label=Balangkas ng Dokumento +attachments.title=Ipakita ang mga Attachment +attachments_label=Mga attachment +layers.title=Ipakita ang mga Layer (mag-double click para mareset ang lahat ng layer sa orihinal na estado) +layers_label=Mga layer +thumbs.title=Ipakita ang mga Thumbnail +thumbs_label=Mga thumbnail +findbar.title=Hanapin sa Dokumento +findbar_label=Hanapin + +additional_layers=Mga Karagdagang Layer +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Pahina {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Thumbnail ng Pahina {{page}} + +# Find panel button title and messages +find_input.title=Hanapin +find_input.placeholder=Hanapin sa dokumento… +find_previous.title=Hanapin ang nakaraang pangyayari ng parirala +find_previous_label=Nakaraan +find_next.title=Hanapin ang susunod na pangyayari ng parirala +find_next_label=Susunod +find_highlight=I-highlight lahat +find_match_case_label=Itugma ang case +find_entire_word_label=Buong salita +find_reached_top=Naabot na ang tuktok ng dokumento, ipinagpatuloy mula sa ilalim +find_reached_bottom=Naabot na ang dulo ng dokumento, ipinagpatuloy mula sa tuktok +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} ng {{total}} tugma +find_match_count[two]={{current}} ng {{total}} tugma +find_match_count[few]={{current}} ng {{total}} tugma +find_match_count[many]={{current}} ng {{total}} tugma +find_match_count[other]={{current}} ng {{total}} tugma +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Higit sa {{limit}} tugma +find_match_count_limit[one]=Higit sa {{limit}} tugma +find_match_count_limit[two]=Higit sa {{limit}} tugma +find_match_count_limit[few]=Higit sa {{limit}} tugma +find_match_count_limit[many]=Higit sa {{limit}} tugma +find_match_count_limit[other]=Higit sa {{limit}} tugma +find_not_found=Hindi natagpuan ang parirala + +# Error panel labels +error_more_info=Karagdagang Impormasyon +error_less_info=Mas Kaunting Impormasyon +error_close=Isara +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Mensahe: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=File: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Linya: {{line}} +rendering_error=Nagkaproblema habang nirerender ang pahina. + +# Predefined zoom values +page_scale_width=Lapad ng Pahina +page_scale_fit=Pagkasyahin ang Pahina +page_scale_auto=Automatic Zoom +page_scale_actual=Totoong sukat +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Nagkaproblema habang niloload ang PDF. +invalid_file_error=Di-wasto o sira ang PDF file. +missing_file_error=Nawawalang PDF file. +unexpected_response_error=Hindi inaasahang tugon ng server. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=Ipasok ang password upang buksan ang PDF file na ito. +password_invalid=Maling password. Subukan uli. +password_ok=OK +password_cancel=Kanselahin + +printing_not_supported=Babala: Hindi pa ganap na suportado ang pag-print sa browser na ito. +printing_not_ready=Babala: Hindi ganap na nabuksan ang PDF para sa pag-print. +web_fonts_disabled=Naka-disable ang mga Web font: hindi kayang gamitin ang mga naka-embed na PDF font. + diff --git a/media/js/pdf/web/locale/tr/viewer.properties b/media/js/pdf/web/locale/tr/viewer.properties new file mode 100644 index 0000000000..1b7bdca816 --- /dev/null +++ b/media/js/pdf/web/locale/tr/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Önceki sayfa +previous_label=Önceki +next.title=Sonraki sayfa +next_label=Sonraki + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Sayfa +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=Uzaklaştır +zoom_out_label=Uzaklaştır +zoom_in.title=Yaklaştır +zoom_in_label=Yaklaştır +zoom.title=Yakınlaştırma +presentation_mode.title=Sunum moduna geç +presentation_mode_label=Sunum modu +open_file.title=Dosya aç +open_file_label=Aç +print.title=Yazdır +print_label=Yazdır +download.title=İndir +download_label=İndir +bookmark.title=Geçerli görünüm (kopyala veya yeni pencerede aç) +bookmark_label=Geçerli görünüm + +save.title=Kaydet +save_label=Kaydet +bookmark1.title=Geçerli sayfa (geçerli sayfanın adresini görüntüle) +bookmark1_label=Geçerli sayfa + +open_in_app.title=Uygulamada aç +open_in_app_label=Uygulamada aç + +# Secondary toolbar and context menu +tools.title=Araçlar +tools_label=Araçlar +first_page.title=İlk sayfaya git +first_page_label=İlk sayfaya git +last_page.title=Son sayfaya git +last_page_label=Son sayfaya git +page_rotate_cw.title=Saat yönünde döndür +page_rotate_cw_label=Saat yönünde döndür +page_rotate_ccw.title=Saat yönünün tersine döndür +page_rotate_ccw_label=Saat yönünün tersine döndür + +cursor_text_select_tool.title=Metin seçme aracını etkinleştir +cursor_text_select_tool_label=Metin seçme aracı +cursor_hand_tool.title=El aracını etkinleştir +cursor_hand_tool_label=El aracı + +scroll_page.title=Sayfa kaydırmayı kullan +scroll_page_label=Sayfa kaydırma +scroll_vertical.title=Dikey kaydırma kullan +scroll_vertical_label=Dikey kaydırma +scroll_horizontal.title=Yatay kaydırma kullan +scroll_horizontal_label=Yatay kaydırma +scroll_wrapped.title=Yan yana kaydırmayı kullan +scroll_wrapped_label=Yan yana kaydırma + +spread_none.title=Yan yana sayfaları birleştirme +spread_none_label=Birleştirme +spread_odd.title=Yan yana sayfaları tek numaralı sayfalardan başlayarak birleştir +spread_odd_label=Tek numaralı +spread_even.title=Yan yana sayfaları çift numaralı sayfalardan başlayarak birleştir +spread_even_label=Çift numaralı + +# Document properties dialog box +document_properties.title=Belge özellikleri… +document_properties_label=Belge özellikleri… +document_properties_file_name=Dosya adı: +document_properties_file_size=Dosya boyutu: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bayt) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bayt) +document_properties_title=Başlık: +document_properties_author=Yazar: +document_properties_subject=Konu: +document_properties_keywords=Anahtar kelimeler: +document_properties_creation_date=Oluturma tarihi: +document_properties_modification_date=Değiştirme tarihi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=Oluşturan: +document_properties_producer=PDF üreticisi: +document_properties_version=PDF sürümü: +document_properties_page_count=Sayfa sayısı: +document_properties_page_size=Sayfa boyutu: +document_properties_page_size_unit_inches=inç +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=dikey +document_properties_page_size_orientation_landscape=yatay +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Hızlı web görünümü: +document_properties_linearized_yes=Evet +document_properties_linearized_no=Hayır +document_properties_close=Kapat + +print_progress_message=Belge yazdırılmaya hazırlanıyor… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=%{{progress}} +print_progress_close=İptal + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Kenar çubuğunu aç/kapat +toggle_sidebar_notification2.title=Kenar çubuğunu aç/kapat (Belge ana hat/ekler/katmanlar içeriyor) +toggle_sidebar_label=Kenar çubuğunu aç/kapat +document_outline.title=Belge ana hatlarını göster (Tüm öğeleri genişletmek/daraltmak için çift tıklayın) +document_outline_label=Belge ana hatları +attachments.title=Ekleri göster +attachments_label=Ekler +layers.title=Katmanları göster (tüm katmanları varsayılan duruma sıfırlamak için çift tıklayın) +layers_label=Katmanlar +thumbs.title=Küçük resimleri göster +thumbs_label=Küçük resimler +current_outline_item.title=Mevcut ana hat öğesini bul +current_outline_item_label=Mevcut ana hat öğesi +findbar.title=Belgede bul +findbar_label=Bul + +additional_layers=Ek katmanlar +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Sayfa {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Sayfa {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}}. sayfanın küçük hâli + +# Find panel button title and messages +find_input.title=Bul +find_input.placeholder=Belgede bul… +find_previous.title=Önceki eşleşmeyi bul +find_previous_label=Önceki +find_next.title=Sonraki eşleşmeyi bul +find_next_label=Sonraki +find_highlight=Tümünü vurgula +find_match_case_label=Büyük-küçük harfe duyarlı +find_match_diacritics_label=Fonetik işaretleri bul +find_entire_word_label=Tam sözcükler +find_reached_top=Belgenin başına ulaşıldı, sonundan devam edildi +find_reached_bottom=Belgenin sonuna ulaşıldı, başından devam edildi +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} eşleşmeden {{current}}. eşleşme +find_match_count[two]={{total}} eşleşmeden {{current}}. eşleşme +find_match_count[few]={{total}} eşleşmeden {{current}}. eşleşme +find_match_count[many]={{total}} eşleşmeden {{current}}. eşleşme +find_match_count[other]={{total}} eşleşmeden {{current}}. eşleşme +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]={{limit}} eşleşmeden fazla +find_match_count_limit[one]={{limit}} eşleşmeden fazla +find_match_count_limit[two]={{limit}} eşleşmeden fazla +find_match_count_limit[few]={{limit}} eşleşmeden fazla +find_match_count_limit[many]={{limit}} eşleşmeden fazla +find_match_count_limit[other]={{limit}} eşleşmeden fazla +find_not_found=Eşleşme bulunamadı + +# Error panel labels +error_more_info=Daha fazla bilgi al +error_less_info=Daha az bilgi +error_close=Kapat +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js sürüm {{version}} (yapı: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=İleti: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Yığın: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dosya: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Satır: {{line}} + +# Predefined zoom values +page_scale_width=Sayfa genişliği +page_scale_fit=Sayfayı sığdır +page_scale_auto=Otomatik yakınlaştır +page_scale_actual=Gerçek boyut +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent=%{{scale}} + +# Loading indicator messages +loading=Yükleniyor… + +# Loading indicator messages +loading_error=PDF yüklenirken bir hata oluştu. +invalid_file_error=Geçersiz veya bozulmuş PDF dosyası. +missing_file_error=PDF dosyası eksik. +unexpected_response_error=Beklenmeyen sunucu yanıtı. + +rendering_error=Sayfa yorumlanırken bir hata oluştu. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} işareti] +password_label=Bu PDF dosyasını açmak için parolasını yazın. +password_invalid=Geçersiz parola. Lütfen yeniden deneyin. +password_ok=Tamam +password_cancel=İptal + +printing_not_supported=Uyarı: Yazdırma bu tarayıcı tarafından tam olarak desteklenmemektedir. +printing_not_ready=Uyarı: PDF tamamen yüklenmedi ve yazdırmaya hazır değil. +web_fonts_disabled=Web fontları devre dışı: Gömülü PDF fontları kullanılamıyor. + +# Editor +editor_free_text2.title=Metin +editor_free_text2_label=Metin +editor_ink2.title=Çiz +editor_ink2_label=Çiz + +free_text2_default_content=Yazmaya başlayın… + +# Editor Parameters +editor_free_text_color=Renk +editor_free_text_size=Boyut +editor_ink_color=Renk +editor_ink_thickness=Kalınlık +editor_ink_opacity=Saydamlık + +# Editor aria +editor_free_text2_aria_label=Metin düzenleyicisi +editor_ink2_aria_label=Çizim düzenleyicisi +editor_ink_canvas_aria_label=Kullanıcı tarafından oluşturulan resim diff --git a/media/js/pdf/web/locale/trs/viewer.properties b/media/js/pdf/web/locale/trs/viewer.properties new file mode 100644 index 0000000000..8bd1fe1dba --- /dev/null +++ b/media/js/pdf/web/locale/trs/viewer.properties @@ -0,0 +1,206 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Pajinâ gunâj rukùu +previous_label=Sa gachin +next.title=Pajinâ 'na' ñaan +next_label=Ne' ñaan + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Ñanj +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=si'iaj {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} of {{pagesCount}}) + +zoom_out.title=Nagi'iaj li' +zoom_out_label=Nagi'iaj li' +zoom_in.title=Nagi'iaj niko' +zoom_in_label=Nagi'iaj niko' +zoom.title=dàj nìko ma'an +presentation_mode.title=Naduno' daj ga ma +presentation_mode_label=Daj gà ma +open_file.title=Na'nïn' chrû ñanj +open_file_label=Na'nïn +print.title=Nari' ña du'ua +print_label=Nari' ñadu'ua +download.title=Nadunïnj +download_label=Nadunïnj +bookmark.title=Daj hua ma (Guxun' nej na'nïn' riña ventana nakàa) +bookmark_label=Daj hua ma + +# Secondary toolbar and context menu +tools.title=Rasun +tools_label=Nej rasùun +first_page.title=gun' riña pajina asiniin +first_page_label=Gun' riña pajina asiniin +last_page.title=Gun' riña pajina rukù ni'in +last_page_label=Gun' riña pajina rukù ni'inj +page_rotate_cw.title=Tanikaj ne' huat +page_rotate_cw_label=Tanikaj ne' huat +page_rotate_ccw.title=Tanikaj ne' chînt' +page_rotate_ccw_label=Tanikaj ne' chint + +cursor_text_select_tool.title=Dugi'iaj sun' sa ganahui texto +cursor_text_select_tool_label=Nej rasun arajsun' da' nahui' texto +cursor_hand_tool.title=Nachrun' nej rasun +cursor_hand_tool_label=Sa rajsun ro'o' + +scroll_vertical.title=Garasun' dukuán runūu +scroll_vertical_label=Dukuán runūu +scroll_horizontal.title=Garasun' dukuán nikin' nahui +scroll_horizontal_label=Dukuán nikin' nahui +scroll_wrapped.title=Garasun' sa nachree +scroll_wrapped_label=Sa nachree + +spread_none.title=Si nagi'iaj nugun'un' nej pagina hua ninin +spread_none_label=Ni'io daj hua pagina +spread_odd.title=Nagi'iaj nugua'ant nej pajina +spread_odd_label=Ni'io' daj hua libro gurin +spread_even.title=Nakāj dugui' ngà nej pajinâ ayi'ì ngà da' hùi hùi +spread_even_label=Nahuin nìko nej + +# Document properties dialog box +document_properties.title=Nej sa nikāj ñanj… +document_properties_label=Nej sa nikāj ñanj… +document_properties_file_name=Si yugui archîbo: +document_properties_file_size=Dàj yachìj archîbo: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Si yugui: +document_properties_author=Sí girirà: +document_properties_subject=Dugui': +document_properties_keywords=Nej nuguan' huìi: +document_properties_creation_date=Gui gurugui' man: +document_properties_modification_date=Nuguan' nahuin nakà: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Guiri ro' +document_properties_producer=Sa ri PDF: +document_properties_version=PDF Version: +document_properties_page_count=Si Guendâ Pâjina: +document_properties_page_size=Dàj yachìj pâjina: +document_properties_page_size_unit_inches=riña +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=nadu'ua +document_properties_page_size_orientation_landscape=dàj huaj +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Da'ngà'a +document_properties_page_size_name_legal=Nuguan' a'nï'ïn +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Nanèt chre ni'iajt riña Web: +document_properties_linearized_yes=Ga'ue +document_properties_linearized_no=Si ga'ue +document_properties_close=Narán + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Duyichin' + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Nadunā barrâ nù yi'nïn +toggle_sidebar_label=Nadunā barrâ nù yi'nïn +findbar_label=Narì' + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. + +# Find panel button title and messages +find_input.title=Narì' +find_previous_label=Sa gachîn +find_next_label=Ne' ñaan +find_highlight=Daran' sa ña'an +find_match_case_label=Match case +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} si'iaj {{total}} guña gè huaj +find_match_count[two]={{current}} si'iaj {{total}} guña gè huaj +find_match_count[few]={{current}} si'iaj {{total}} guña gè huaj +find_match_count[many]={{current}} si'iaj {{total}} guña gè huaj +find_match_count[other]={{current}} of {{total}} matches +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Doj ngà da' {{limit}} nej sa nari' dugui'i +find_match_count_limit[one]=Doj ngà da' {{limit}} sa nari' dugui'i +find_match_count_limit[two]=Doj ngà da' {{limit}} nej sa nari' dugui'i +find_match_count_limit[few]=Doj ngà da' {{limit}} nej sa nari' dugui'i +find_match_count_limit[many]=Doj ngà da' {{limit}} nej sa nari' dugui'i +find_match_count_limit[other]=Doj ngà da' {{limit}} nej sa nari' dugui'i +find_not_found=Nu narì'ij nugua'anj + +# Error panel labels +error_more_info=Doj nuguan' a'min rayi'î nan +error_less_info=Dòj nuguan' a'min rayi'î nan +error_close=Narán +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Message: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Naru'ui': {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Archîbo: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Lînia: {{line}} + +# Predefined zoom values +page_scale_actual=Dàj yàchi akuan' nín +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +password_ok=Ga'ue +password_cancel=Duyichin' + diff --git a/media/js/pdf/web/locale/uk/viewer.properties b/media/js/pdf/web/locale/uk/viewer.properties new file mode 100644 index 0000000000..ca18de5c19 --- /dev/null +++ b/media/js/pdf/web/locale/uk/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Попередня сторінка +previous_label=Попередня +next.title=Наступна сторінка +next_label=Наступна + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Сторінка +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=із {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} із {{pagesCount}}) + +zoom_out.title=Зменшити +zoom_out_label=Зменшити +zoom_in.title=Збільшити +zoom_in_label=Збільшити +zoom.title=Масштаб +presentation_mode.title=Перейти в режим презентації +presentation_mode_label=Режим презентації +open_file.title=Відкрити файл +open_file_label=Відкрити +print.title=Друк +print_label=Друк +download.title=Завантажити +download_label=Завантажити +bookmark.title=Поточний вигляд (копіювати чи відкрити в новому вікні) +bookmark_label=Поточний вигляд + +save.title=Зберегти +save_label=Зберегти +bookmark1.title=Поточна сторінка (перегляд URL-адреси з поточної сторінки) +bookmark1_label=Поточна сторінка + +open_in_app.title=Відкрити у програмі +open_in_app_label=Відкрити у програмі + +# Secondary toolbar and context menu +tools.title=Інструменти +tools_label=Інструменти +first_page.title=На першу сторінку +first_page_label=На першу сторінку +last_page.title=На останню сторінку +last_page_label=На останню сторінку +page_rotate_cw.title=Повернути за годинниковою стрілкою +page_rotate_cw_label=Повернути за годинниковою стрілкою +page_rotate_ccw.title=Повернути проти годинникової стрілки +page_rotate_ccw_label=Повернути проти годинникової стрілки + +cursor_text_select_tool.title=Увімкнути інструмент вибору тексту +cursor_text_select_tool_label=Інструмент вибору тексту +cursor_hand_tool.title=Увімкнути інструмент "Рука" +cursor_hand_tool_label=Інструмент "Рука" + +scroll_page.title=Використовувати прокручування сторінки +scroll_page_label=Прокручування сторінки +scroll_vertical.title=Використовувати вертикальне прокручування +scroll_vertical_label=Вертикальне прокручування +scroll_horizontal.title=Використовувати горизонтальне прокручування +scroll_horizontal_label=Горизонтальне прокручування +scroll_wrapped.title=Використовувати масштабоване прокручування +scroll_wrapped_label=Масштабоване прокручування + +spread_none.title=Не використовувати розгорнуті сторінки +spread_none_label=Без розгорнутих сторінок +spread_odd.title=Розгорнуті сторінки починаються з непарних номерів +spread_odd_label=Непарні сторінки зліва +spread_even.title=Розгорнуті сторінки починаються з парних номерів +spread_even_label=Парні сторінки зліва + +# Document properties dialog box +document_properties.title=Властивості документа… +document_properties_label=Властивості документа… +document_properties_file_name=Назва файла: +document_properties_file_size=Розмір файла: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} КБ ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} МБ ({{size_b}} bytes) +document_properties_title=Заголовок: +document_properties_author=Автор: +document_properties_subject=Тема: +document_properties_keywords=Ключові слова: +document_properties_creation_date=Дата створення: +document_properties_modification_date=Дата зміни: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Створено: +document_properties_producer=Виробник PDF: +document_properties_version=Версія PDF: +document_properties_page_count=Кількість сторінок: +document_properties_page_size=Розмір сторінки: +document_properties_page_size_unit_inches=дюймів +document_properties_page_size_unit_millimeters=мм +document_properties_page_size_orientation_portrait=книжкова +document_properties_page_size_orientation_landscape=альбомна +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Швидкий перегляд в Інтернеті: +document_properties_linearized_yes=Так +document_properties_linearized_no=Ні +document_properties_close=Закрити + +print_progress_message=Підготовка документу до друку… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Скасувати + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Бічна панель +toggle_sidebar_notification2.title=Перемкнути бічну панель (документ містить ескіз/вкладення/шари) +toggle_sidebar_label=Перемкнути бічну панель +document_outline.title=Показати схему документу (подвійний клік для розгортання/згортання елементів) +document_outline_label=Схема документа +attachments.title=Показати прикріплення +attachments_label=Прикріплення +layers.title=Показати шари (двічі клацніть, щоб скинути всі шари до типового стану) +layers_label=Шари +thumbs.title=Показувати ескізи +thumbs_label=Ескізи +current_outline_item.title=Знайти поточний елемент змісту +current_outline_item_label=Поточний елемент змісту +findbar.title=Знайти в документі +findbar_label=Знайти + +additional_layers=Додаткові шари +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Сторінка {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Сторінка {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Ескіз сторінки {{page}} + +# Find panel button title and messages +find_input.title=Знайти +find_input.placeholder=Знайти в документі… +find_previous.title=Знайти попереднє входження фрази +find_previous_label=Попереднє +find_next.title=Знайти наступне входження фрази +find_next_label=Наступне +find_highlight=Підсвітити все +find_match_case_label=З урахуванням регістру +find_match_diacritics_label=Відповідність діакритичних знаків +find_entire_word_label=Цілі слова +find_reached_top=Досягнуто початку документу, продовжено з кінця +find_reached_bottom=Досягнуто кінця документу, продовжено з початку +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} збіг із {{total}} +find_match_count[two]={{current}} збіги з {{total}} +find_match_count[few]={{current}} збігів із {{total}} +find_match_count[many]={{current}} збігів із {{total}} +find_match_count[other]={{current}} збігів із {{total}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Понад {{limit}} збігів +find_match_count_limit[one]=Більше, ніж {{limit}} збіг +find_match_count_limit[two]=Більше, ніж {{limit}} збіги +find_match_count_limit[few]=Більше, ніж {{limit}} збігів +find_match_count_limit[many]=Понад {{limit}} збігів +find_match_count_limit[other]=Понад {{limit}} збігів +find_not_found=Фразу не знайдено + +# Error panel labels +error_more_info=Більше інформації +error_less_info=Менше інформації +error_close=Закрити +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Повідомлення: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Стек: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Файл: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Рядок: {{line}} + +# Predefined zoom values +page_scale_width=За шириною +page_scale_fit=Вмістити +page_scale_auto=Автомасштаб +page_scale_actual=Дійсний розмір +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Завантаження… + +# Loading indicator messages +loading_error=Під час завантаження PDF сталася помилка. +invalid_file_error=Недійсний або пошкоджений PDF-файл. +missing_file_error=Відсутній PDF-файл. +unexpected_response_error=Неочікувана відповідь сервера. + +rendering_error=Під час виведення сторінки сталася помилка. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}}-анотація] +password_label=Введіть пароль для відкриття цього PDF-файла. +password_invalid=Невірний пароль. Спробуйте ще. +password_ok=Гаразд +password_cancel=Скасувати + +printing_not_supported=Попередження: Цей браузер не повністю підтримує друк. +printing_not_ready=Попередження: PDF не повністю завантажений для друку. +web_fonts_disabled=Веб-шрифти вимкнено: неможливо використати вбудовані у PDF шрифти. + +# Editor +editor_free_text2.title=Текст +editor_free_text2_label=Текст +editor_ink2.title=Малювати +editor_ink2_label=Малювати + +free_text2_default_content=Почніть вводити… + +# Editor Parameters +editor_free_text_color=Колір +editor_free_text_size=Розмір +editor_ink_color=Колір +editor_ink_thickness=Товщина +editor_ink_opacity=Прозорість + +# Editor aria +editor_free_text2_aria_label=Текстовий редактор +editor_ink2_aria_label=Графічний редактор +editor_ink_canvas_aria_label=Зображення, створене користувачем diff --git a/media/js/pdf/web/locale/ur/viewer.properties b/media/js/pdf/web/locale/ur/viewer.properties new file mode 100644 index 0000000000..e3853b0ffa --- /dev/null +++ b/media/js/pdf/web/locale/ur/viewer.properties @@ -0,0 +1,239 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=پچھلا صفحہ +previous_label=پچھلا +next.title=اگلا صفحہ +next_label=آگے + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=صفحہ +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages={{pagesCount}} کا +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} کا {{pagesCount}}) + +zoom_out.title=باہر زوم کریں +zoom_out_label=باہر زوم کریں +zoom_in.title=اندر زوم کریں +zoom_in_label=اندر زوم کریں +zoom.title=زوم +presentation_mode.title=پیشکش موڈ میں چلے جائیں +presentation_mode_label=پیشکش موڈ +open_file.title=مسل کھولیں +open_file_label=کھولیں +print.title=چھاپیں +print_label=چھاپیں +download.title=ڈاؤن لوڈ +download_label=ڈاؤن لوڈ +bookmark.title=حالیہ نظارہ (نۓ دریچہ میں نقل کریں یا کھولیں) +bookmark_label=حالیہ نظارہ + +# Secondary toolbar and context menu +tools.title=آلات +tools_label=آلات +first_page.title=پہلے صفحہ پر جائیں +first_page_label=پہلے صفحہ پر جائیں +last_page.title=آخری صفحہ پر جائیں +last_page_label=آخری صفحہ پر جائیں +page_rotate_cw.title=گھڑی وار گھمائیں +page_rotate_cw_label=گھڑی وار گھمائیں +page_rotate_ccw.title=ضد گھڑی وار گھمائیں +page_rotate_ccw_label=ضد گھڑی وار گھمائیں + +cursor_text_select_tool.title=متن کے انتخاب کے ٹول کو فعال بناے +cursor_text_select_tool_label=متن کے انتخاب کا آلہ +cursor_hand_tool.title=ہینڈ ٹول کو فعال بناییں +cursor_hand_tool_label=ہاتھ کا آلہ + +scroll_vertical.title=عمودی اسکرولنگ کا استعمال کریں +scroll_vertical_label=عمودی اسکرولنگ +scroll_horizontal.title=افقی سکرولنگ کا استعمال کریں +scroll_horizontal_label=افقی سکرولنگ + +spread_none.title=صفحہ پھیلانے میں شامل نہ ہوں +spread_none_label=کوئی پھیلاؤ نہیں +spread_odd_label=تاک پھیلاؤ +spread_even_label=جفت پھیلاؤ + +# Document properties dialog box +document_properties.title=دستاویز خواص… +document_properties_label=دستاویز خواص…\u0020 +document_properties_file_name=نام مسل: +document_properties_file_size=مسل سائز: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=عنوان: +document_properties_author=تخلیق کار: +document_properties_subject=موضوع: +document_properties_keywords=کلیدی الفاظ: +document_properties_creation_date=تخلیق کی تاریخ: +document_properties_modification_date=ترمیم کی تاریخ: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}، {{time}} +document_properties_creator=تخلیق کار: +document_properties_producer=PDF پیدا کار: +document_properties_version=PDF ورژن: +document_properties_page_count=صفحہ شمار: +document_properties_page_size=صفہ کی لمبائ: +document_properties_page_size_unit_inches=میں +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=عمودی انداز +document_properties_page_size_orientation_landscape=افقى انداز +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=خط +document_properties_page_size_name_legal=قانونی +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} {{name}} {{orientation}} +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=تیز ویب دیکھیں: +document_properties_linearized_yes=ہاں +document_properties_linearized_no=نہیں +document_properties_close=بند کریں + +print_progress_message=چھاپنے کرنے کے لیے دستاویز تیار کیے جا رھے ھیں +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent=*{{progress}}%* +print_progress_close=منسوخ کریں + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=سلائیڈ ٹوگل کریں +toggle_sidebar_label=سلائیڈ ٹوگل کریں +document_outline.title=دستاویز کی سرخیاں دکھایں (تمام اشیاء وسیع / غائب کرنے کے لیے ڈبل کلک کریں) +document_outline_label=دستاویز آؤٹ لائن +attachments.title=منسلکات دکھائیں +attachments_label=منسلکات +thumbs.title=تھمبنیل دکھائیں +thumbs_label=مجمل +findbar.title=دستاویز میں ڈھونڈیں +findbar_label=ڈھونڈیں + +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=صفحہ {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=صفحہ {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=صفحے کا مجمل {{page}} + +# Find panel button title and messages +find_input.title=ڈھونڈیں +find_input.placeholder=دستاویز… میں ڈھونڈیں +find_previous.title=فقرے کا پچھلا وقوع ڈھونڈیں +find_previous_label=پچھلا +find_next.title=فقرے کا اگلہ وقوع ڈھونڈیں +find_next_label=آگے +find_highlight=تمام نمایاں کریں +find_match_case_label=حروف مشابہ کریں +find_entire_word_label=تمام الفاظ +find_reached_top=صفحہ کے شروع پر پہنچ گیا، نیچے سے جاری کیا +find_reached_bottom=صفحہ کے اختتام پر پہنچ گیا، اوپر سے جاری کیا +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{total}} میچ کا {{current}} +find_match_count[few]={{total}} میچوں میں سے {{current}} +find_match_count[many]={{total}} میچوں میں سے {{current}} +find_match_count[other]={{total}} میچوں میں سے {{current}} +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(total) ]} +find_match_count_limit[zero]={{limit}} سے زیادہ میچ +find_match_count_limit[one]={{limit}} سے زیادہ میچ +find_match_count_limit[two]={{limit}} سے زیادہ میچ +find_match_count_limit[few]={{limit}} سے زیادہ میچ +find_match_count_limit[many]={{limit}} سے زیادہ میچ +find_match_count_limit[other]={{limit}} سے زیادہ میچ +find_not_found=فقرا نہیں ملا + +# Error panel labels +error_more_info=مزید معلومات +error_less_info=کم معلومات +error_close=بند کریں +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=پیغام: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=سٹیک: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=مسل: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=لائن: {{line}} +rendering_error=صفحہ بناتے ہوئے نقص آ گیا۔ + +# Predefined zoom values +page_scale_width=صفحہ چوڑائی +page_scale_fit=صفحہ فٹنگ +page_scale_auto=خودکار زوم +page_scale_actual=اصل سائز +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading_error=PDF لوڈ کرتے وقت نقص آ گیا۔ +invalid_file_error=ناجائز یا خراب PDF مسل +missing_file_error=PDF مسل غائب ہے۔ +unexpected_response_error=غیرمتوقع پیش کار جواب + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}.{{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} نوٹ] +password_label=PDF مسل کھولنے کے لیے پاس ورڈ داخل کریں. +password_invalid=ناجائز پاس ورڈ. براےؑ کرم دوبارہ کوشش کریں. +password_ok=ٹھیک ہے +password_cancel=منسوخ کریں + +printing_not_supported=تنبیہ:چھاپنا اس براؤزر پر پوری طرح معاونت شدہ نہیں ہے۔ +printing_not_ready=تنبیہ: PDF چھپائی کے لیے پوری طرح لوڈ نہیں ہوئی۔ +web_fonts_disabled=ویب فانٹ نا اہل ہیں: شامل PDF فانٹ استعمال کرنے میں ناکام۔ +# LOCALIZATION NOTE (unsupported_feature_signatures): Should contain the same +# exact string as in the `chrome.properties` file. + diff --git a/media/js/pdf/web/locale/uz/viewer.properties b/media/js/pdf/web/locale/uz/viewer.properties new file mode 100644 index 0000000000..31c60aedd7 --- /dev/null +++ b/media/js/pdf/web/locale/uz/viewer.properties @@ -0,0 +1,163 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Oldingi sahifa +previous_label=Oldingi +next.title=Keyingi sahifa +next_label=Keyingi + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/{{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Kichiklashtirish +zoom_out_label=Kichiklashtirish +zoom_in.title=Kattalashtirish +zoom_in_label=Kattalashtirish +zoom.title=Masshtab +presentation_mode.title=Namoyish usuliga oʻtish +presentation_mode_label=Namoyish usuli +open_file.title=Faylni ochish +open_file_label=Ochish +print.title=Chop qilish +print_label=Chop qilish +download.title=Yuklab olish +download_label=Yuklab olish +bookmark.title=Joriy koʻrinish (nusxa oling yoki yangi oynada oching) +bookmark_label=Joriy koʻrinish + +# Secondary toolbar and context menu +tools.title=Vositalar +tools_label=Vositalar +first_page.title=Birinchi sahifaga oʻtish +first_page_label=Birinchi sahifaga oʻtish +last_page.title=Soʻnggi sahifaga oʻtish +last_page_label=Soʻnggi sahifaga oʻtish +page_rotate_cw.title=Soat yoʻnalishi boʻyicha burish +page_rotate_cw_label=Soat yoʻnalishi boʻyicha burish +page_rotate_ccw.title=Soat yoʻnalishiga qarshi burish +page_rotate_ccw_label=Soat yoʻnalishiga qarshi burish + + +# Document properties dialog box +document_properties.title=Hujjat xossalari +document_properties_label=Hujjat xossalari +document_properties_file_name=Fayl nomi: +document_properties_file_size=Fayl hajmi: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} bytes) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} bytes) +document_properties_title=Nomi: +document_properties_author=Muallifi: +document_properties_subject=Mavzusi: +document_properties_keywords=Kalit so‘zlar +document_properties_creation_date=Yaratilgan sanasi: +document_properties_modification_date=O‘zgartirilgan sanasi +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Yaratuvchi: +document_properties_producer=PDF ishlab chiqaruvchi: +document_properties_version=PDF versiyasi: +document_properties_page_count=Sahifa soni: +document_properties_close=Yopish + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Yon panelni yoqib/oʻchirib qoʻyish +toggle_sidebar_label=Yon panelni yoqib/oʻchirib qoʻyish +document_outline_label=Hujjat tuzilishi +attachments.title=Ilovalarni ko‘rsatish +attachments_label=Ilovalar +thumbs.title=Nishonchalarni koʻrsatish +thumbs_label=Nishoncha +findbar.title=Hujjat ichidan topish + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title={{page}} sahifa +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas={{page}} sahifa nishonchasi + +# Find panel button title and messages +find_previous.title=Soʻzlardagi oldingi hodisani topish +find_previous_label=Oldingi +find_next.title=Iboradagi keyingi hodisani topish +find_next_label=Keyingi +find_highlight=Barchasini ajratib koʻrsatish +find_match_case_label=Katta-kichik harflarni farqlash +find_reached_top=Hujjatning boshigacha yetib keldik, pastdan davom ettiriladi +find_reached_bottom=Hujjatning oxiriga yetib kelindi, yuqoridan davom ettirladi +find_not_found=Soʻzlar topilmadi + +# Error panel labels +error_more_info=Koʻproq ma`lumot +error_less_info=Kamroq ma`lumot +error_close=Yopish +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Xabar: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Toʻplam: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Fayl: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Satr: {{line}} +rendering_error=Sahifa renderlanayotganda xato yuz berdi. + +# Predefined zoom values +page_scale_width=Sahifa eni +page_scale_fit=Sahifani moslashtirish +page_scale_auto=Avtomatik masshtab +page_scale_actual=Haqiqiy hajmi +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=PDF yuklanayotganda xato yuz berdi. +invalid_file_error=Xato yoki buzuq PDF fayli. +missing_file_error=PDF fayl kerak. +unexpected_response_error=Kutilmagan server javobi. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Annotation] +password_label=PDF faylni ochish uchun parolni kiriting. +password_invalid=Parol - notoʻgʻri. Qaytadan urinib koʻring. +password_ok=OK + +printing_not_supported=Diqqat: chop qilish bruzer tomonidan toʻliq qoʻllab-quvvatlanmaydi. +printing_not_ready=Diqqat: PDF fayl chop qilish uchun toʻliq yuklanmadi. +web_fonts_disabled=Veb shriftlar oʻchirilgan: ichki PDF shriftlardan foydalanib boʻlmmaydi. + diff --git a/media/js/pdf/web/locale/vi/viewer.properties b/media/js/pdf/web/locale/vi/viewer.properties new file mode 100644 index 0000000000..957e9fa239 --- /dev/null +++ b/media/js/pdf/web/locale/vi/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Trang trước +previous_label=Trước +next.title=Trang Sau +next_label=Tiếp + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Trang +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=trên {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} trên {{pagesCount}}) + +zoom_out.title=Thu nhỏ +zoom_out_label=Thu nhỏ +zoom_in.title=Phóng to +zoom_in_label=Phóng to +zoom.title=Thu phóng +presentation_mode.title=Chuyển sang chế độ trình chiếu +presentation_mode_label=Chế độ trình chiếu +open_file.title=Mở tập tin +open_file_label=Mở tập tin +print.title=In +print_label=In +download.title=Tải xuống +download_label=Tải xuống +bookmark.title=Chế độ xem hiện tại (sao chép hoặc mở trong cửa sổ mới) +bookmark_label=Chế độ xem hiện tại + +save.title=Lưu +save_label=Lưu +bookmark1.title=Trang hiện tại (xem URL từ trang hiện tại) +bookmark1_label=Trang hiện tại + +open_in_app.title=Mở trong ứng dụng +open_in_app_label=Mở trong ứng dụng + +# Secondary toolbar and context menu +tools.title=Công cụ +tools_label=Công cụ +first_page.title=Về trang đầu +first_page_label=Về trang đầu +last_page.title=Đến trang cuối +last_page_label=Đến trang cuối +page_rotate_cw.title=Xoay theo chiều kim đồng hồ +page_rotate_cw_label=Xoay theo chiều kim đồng hồ +page_rotate_ccw.title=Xoay ngược chiều kim đồng hồ +page_rotate_ccw_label=Xoay ngược chiều kim đồng hồ + +cursor_text_select_tool.title=Kích hoạt công cụ chọn vùng văn bản +cursor_text_select_tool_label=Công cụ chọn vùng văn bản +cursor_hand_tool.title=Kích hoạt công cụ con trỏ +cursor_hand_tool_label=Công cụ con trỏ + +scroll_page.title=Sử dụng cuộn trang hiện tại +scroll_page_label=Cuộn trang hiện tại +scroll_vertical.title=Sử dụng cuộn dọc +scroll_vertical_label=Cuộn dọc +scroll_horizontal.title=Sử dụng cuộn ngang +scroll_horizontal_label=Cuộn ngang +scroll_wrapped.title=Sử dụng cuộn ngắt dòng +scroll_wrapped_label=Cuộn ngắt dòng + +spread_none.title=Không nối rộng trang +spread_none_label=Không có phân cách +spread_odd.title=Nối trang bài bắt đầu với các trang được đánh số lẻ +spread_odd_label=Phân cách theo số lẻ +spread_even.title=Nối trang bài bắt đầu với các trang được đánh số chẵn +spread_even_label=Phân cách theo số chẵn + +# Document properties dialog box +document_properties.title=Thuộc tính của tài liệu… +document_properties_label=Thuộc tính của tài liệu… +document_properties_file_name=Tên tập tin: +document_properties_file_size=Kích thước: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} byte) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} byte) +document_properties_title=Tiêu đề: +document_properties_author=Tác giả: +document_properties_subject=Chủ đề: +document_properties_keywords=Từ khóa: +document_properties_creation_date=Ngày tạo: +document_properties_modification_date=Ngày sửa đổi: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Người tạo: +document_properties_producer=Phần mềm tạo PDF: +document_properties_version=Phiên bản PDF: +document_properties_page_count=Tổng số trang: +document_properties_page_size=Kích thước trang: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=khổ dọc +document_properties_page_size_orientation_landscape=khổ ngang +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Thư +document_properties_page_size_name_legal=Pháp lý +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=Xem nhanh trên web: +document_properties_linearized_yes=Có +document_properties_linearized_no=Không +document_properties_close=Ðóng + +print_progress_message=Chuẩn bị trang để in… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Hủy bỏ + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Bật/Tắt thanh lề +toggle_sidebar_notification2.title=Bật tắt thanh lề (tài liệu bao gồm bản phác thảo/tập tin đính kèm/lớp) +toggle_sidebar_label=Bật/Tắt thanh lề +document_outline.title=Hiển thị tài liệu phác thảo (nhấp đúp vào để mở rộng/thu gọn tất cả các mục) +document_outline_label=Bản phác tài liệu +attachments.title=Hiện nội dung đính kèm +attachments_label=Nội dung đính kèm +layers.title=Hiển thị các lớp (nhấp đúp để đặt lại tất cả các lớp về trạng thái mặc định) +layers_label=Lớp +thumbs.title=Hiển thị ảnh thu nhỏ +thumbs_label=Ảnh thu nhỏ +current_outline_item.title=Tìm mục phác thảo hiện tại +current_outline_item_label=Mục phác thảo hiện tại +findbar.title=Tìm trong tài liệu +findbar_label=Tìm + +additional_layers=Các lớp bổ sung +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=Trang {{page}} +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Trang {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Ảnh thu nhỏ của trang {{page}} + +# Find panel button title and messages +find_input.title=Tìm +find_input.placeholder=Tìm trong tài liệu… +find_previous.title=Tìm cụm từ ở phần trước +find_previous_label=Trước +find_next.title=Tìm cụm từ ở phần sau +find_next_label=Tiếp +find_highlight=Tô sáng tất cả +find_match_case_label=Phân biệt hoa, thường +find_match_diacritics_label=Khớp dấu phụ +find_entire_word_label=Toàn bộ từ +find_reached_top=Đã đến phần đầu tài liệu, quay trở lại từ cuối +find_reached_bottom=Đã đến phần cuối của tài liệu, quay trở lại từ đầu +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]={{current}} của {{total}} đã trùng +find_match_count[two]={{current}} của {{total}} đã trùng +find_match_count[few]={{current}} của {{total}} đã trùng +find_match_count[many]={{current}} của {{total}} đã trùng +find_match_count[other]={{current}} của {{total}} đã trùng +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=Nhiều hơn {{limit}} đã trùng +find_match_count_limit[one]=Nhiều hơn {{limit}} đã trùng +find_match_count_limit[two]=Nhiều hơn {{limit}} đã trùng +find_match_count_limit[few]=Nhiều hơn {{limit}} đã trùng +find_match_count_limit[many]=Nhiều hơn {{limit}} đã trùng +find_match_count_limit[other]=Nhiều hơn {{limit}} đã trùng +find_not_found=Không tìm thấy cụm từ này + +# Error panel labels +error_more_info=Thông tin thêm +error_less_info=Hiển thị ít thông tin hơn +error_close=Đóng +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Thông điệp: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Stack: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Tập tin: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Dòng: {{line}} + +# Predefined zoom values +page_scale_width=Vừa chiều rộng +page_scale_fit=Vừa chiều cao +page_scale_auto=Tự động chọn kích thước +page_scale_actual=Kích thước thực +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=Đang tải… + +# Loading indicator messages +loading_error=Lỗi khi tải tài liệu PDF. +invalid_file_error=Tập tin PDF hỏng hoặc không hợp lệ. +missing_file_error=Thiếu tập tin PDF. +unexpected_response_error=Máy chủ có phản hồi lạ. + +rendering_error=Lỗi khi hiển thị trang. + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}}, {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Chú thích] +password_label=Nhập mật khẩu để mở tập tin PDF này. +password_invalid=Mật khẩu không đúng. Vui lòng thử lại. +password_ok=OK +password_cancel=Hủy bỏ + +printing_not_supported=Cảnh báo: In ấn không được hỗ trợ đầy đủ ở trình duyệt này. +printing_not_ready=Cảnh báo: PDF chưa được tải hết để in. +web_fonts_disabled=Phông chữ Web bị vô hiệu hóa: không thể sử dụng các phông chữ PDF được nhúng. + +# Editor +editor_free_text2.title=Văn bản +editor_free_text2_label=Văn bản +editor_ink2.title=Vẽ +editor_ink2_label=Vẽ + +free_text2_default_content=Bắt đầu nhập… + +# Editor Parameters +editor_free_text_color=Màu +editor_free_text_size=Kích cỡ +editor_ink_color=Màu +editor_ink_thickness=Độ dày +editor_ink_opacity=Độ mờ + +# Editor aria +editor_free_text2_aria_label=Trình sửa văn bản +editor_ink2_aria_label=Trình sửa nét vẽ +editor_ink_canvas_aria_label=Hình ảnh do người dùng tạo diff --git a/media/js/pdf/web/locale/wo/viewer.properties b/media/js/pdf/web/locale/wo/viewer.properties new file mode 100644 index 0000000000..71b23cb501 --- /dev/null +++ b/media/js/pdf/web/locale/wo/viewer.properties @@ -0,0 +1,123 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Xët wi jiitu +previous_label=Bi jiitu +next.title=Xët wi ci topp +next_label=Bi ci topp + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. + +zoom_out.title=Wàññi +zoom_out_label=Wàññi +zoom_in.title=Yaatal +zoom_in_label=Yaatal +zoom.title=Yambalaŋ +presentation_mode.title=Wañarñil ci anamu wone +presentation_mode_label=Anamu Wone +open_file.title=Ubbi benn dencukaay +open_file_label=Ubbi +print.title=Móol +print_label=Móol +download.title=Yeb yi +download_label=Yeb yi +bookmark.title=Wone bi taxaw (duppi walla ubbi palanteer bu bees) +bookmark_label=Wone bi feeñ + +# Secondary toolbar and context menu + + +# Document properties dialog box +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_title=Bopp: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. + +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +thumbs.title=Wone nataal yu ndaw yi +thumbs_label=Nataal yu ndaw yi +findbar.title=Gis ci biir jukki bi +findbar_label=Wut + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Xët {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Wiñet bu xët {{page}} + +# Find panel button title and messages +find_previous.title=Seet beneen kaddu bu ni mel te jiitu +find_previous_label=Bi jiitu +find_next.title=Seet beneen kaddu bu ni mel +find_next_label=Bi ci topp +find_highlight=Melaxal lépp +find_match_case_label=Sàmm jëmmalin wi +find_reached_top=Jot nañu ndorteel xët wi, kontine dale ko ci suuf +find_reached_bottom=Jot nañu jeexitalu xët wi, kontine ci ndorte +find_not_found=Gisiñu kaddu gi + +# Error panel labels +error_more_info=Xibaar yu gën bari +error_less_info=Xibaar yu gën bari +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Bataaxal: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Juug: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Dencukaay: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Rëdd : {{line}} +rendering_error=Am njumte bu am bi xët bi di wonewu. + +# Predefined zoom values +page_scale_width=Yaatuwaay bu mët +page_scale_fit=Xët lëmm +page_scale_auto=Yambalaŋ ci saa si +page_scale_actual=Dayo bi am +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. + +loading_error=Am na njumte ci yebum dencukaay PDF bi. +invalid_file_error=Dencukaay PDF bi baaxul walla mu sankar. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[Karmat {{type}}] +password_ok=OK +password_cancel=Neenal + +printing_not_supported=Artu: Joowkat bii nanguwul lool mool. + diff --git a/media/js/pdf/web/locale/xh/viewer.properties b/media/js/pdf/web/locale/xh/viewer.properties new file mode 100644 index 0000000000..0bb9e88117 --- /dev/null +++ b/media/js/pdf/web/locale/xh/viewer.properties @@ -0,0 +1,177 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=Iphepha langaphambili +previous_label=Okwangaphambili +next.title=Iphepha elilandelayo +next_label=Okulandelayo + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=Iphepha +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=kwali- {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} kwali {{pagesCount}}) + +zoom_out.title=Bhekelisela Kudana +zoom_out_label=Bhekelisela Kudana +zoom_in.title=Sondeza Kufuphi +zoom_in_label=Sondeza Kufuphi +zoom.title=Yandisa / Nciphisa +presentation_mode.title=Tshintshela kwimo yonikezelo +presentation_mode_label=Imo yonikezelo +open_file.title=Vula Ifayile +open_file_label=Vula +print.title=Printa +print_label=Printa +download.title=Khuphela +download_label=Khuphela +bookmark.title=Imbonakalo ekhoyo (kopa okanye vula kwifestile entsha) +bookmark_label=Imbonakalo ekhoyo + +# Secondary toolbar and context menu +tools.title=Izixhobo zemiyalelo +tools_label=Izixhobo zemiyalelo +first_page.title=Yiya kwiphepha lokuqala +first_page_label=Yiya kwiphepha lokuqala +last_page.title=Yiya kwiphepha lokugqibela +last_page_label=Yiya kwiphepha lokugqibela +page_rotate_cw.title=Jikelisa ngasekunene +page_rotate_cw_label=Jikelisa ngasekunene +page_rotate_ccw.title=Jikelisa ngasekhohlo +page_rotate_ccw_label=Jikelisa ngasekhohlo + +cursor_text_select_tool.title=Vumela iSixhobo sokuKhetha iTeksti +cursor_text_select_tool_label=ISixhobo sokuKhetha iTeksti +cursor_hand_tool.title=Yenza iSixhobo seSandla siSebenze +cursor_hand_tool_label=ISixhobo seSandla + +# Document properties dialog box +document_properties.title=Iipropati zoxwebhu… +document_properties_label=Iipropati zoxwebhu… +document_properties_file_name=Igama lefayile: +document_properties_file_size=Isayizi yefayile: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB (iibhayiti{{size_b}}) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB (iibhayithi{{size_b}}) +document_properties_title=Umxholo: +document_properties_author=Umbhali: +document_properties_subject=Umbandela: +document_properties_keywords=Amagama aphambili: +document_properties_creation_date=Umhla wokwenziwa kwayo: +document_properties_modification_date=Umhla wokulungiswa kwayo: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=Umntu oyenzileyo: +document_properties_producer=Umvelisi we-PDF: +document_properties_version=Uhlelo lwe-PDF: +document_properties_page_count=Inani lamaphepha: +document_properties_close=Vala + +print_progress_message=Ilungisa uxwebhu ukuze iprinte… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=Rhoxisa + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=Togola ngebha eseCaleni +toggle_sidebar_label=Togola ngebha eseCaleni +document_outline.title=Bonisa uLwandlalo loXwebhu (cofa kabini ukuze wandise/diliza zonke izinto) +document_outline_label=Isishwankathelo soxwebhu +attachments.title=Bonisa iziqhotyoshelwa +attachments_label=Iziqhoboshelo +thumbs.title=Bonisa ukrobiso kumfanekiso +thumbs_label=Ukrobiso kumfanekiso +findbar.title=Fumana kuXwebhu +findbar_label=Fumana + +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=Iphepha {{page}} +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=Ukrobiso kumfanekiso wephepha {{page}} + +# Find panel button title and messages +find_input.title=Fumana +find_input.placeholder=Fumana kuXwebhu… +find_previous.title=Fumanisa isenzeko sangaphambili sebinzana lamagama +find_previous_label=Okwangaphambili +find_next.title=Fumanisa isenzeko esilandelayo sebinzana lamagama +find_next_label=Okulandelayo +find_highlight=Qaqambisa konke +find_match_case_label=Tshatisa ngobukhulu bukanobumba +find_reached_top=Ufike ngaphezulu ephepheni, kusukwa ngezantsi +find_reached_bottom=Ufike ekupheleni kwephepha, kusukwa ngaphezulu +find_not_found=Ibinzana alifunyenwanga + +# Error panel labels +error_more_info=Inkcazelo Engakumbi +error_less_info=Inkcazelo Encinane +error_close=Vala +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=I-PDF.js v{{version}} (yakha: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=Umyalezo: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=Imfumba: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=Ifayile: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=Umgca: {{line}} +rendering_error=Imposiso yenzekile xa bekunikezelwa iphepha. + +# Predefined zoom values +page_scale_width=Ububanzi bephepha +page_scale_fit=Ukulinganiswa kwephepha +page_scale_auto=Ukwandisa/Ukunciphisa Ngokwayo +page_scale_actual=Ubungakanani bokwenene +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +loading_error=Imposiso yenzekile xa kulayishwa i-PDF. +invalid_file_error=Ifayile ye-PDF engeyiyo okanye eyonakalisiweyo. +missing_file_error=Ifayile ye-PDF edukileyo. +unexpected_response_error=Impendulo yeseva engalindelekanga. + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} Ubhalo-nqaku] +password_label=Faka ipasiwedi ukuze uvule le fayile yePDF. +password_invalid=Ipasiwedi ayisebenzi. Nceda uzame kwakhona. +password_ok=KULUNGILE +password_cancel=Rhoxisa + +printing_not_supported=Isilumkiso: Ukuprinta akuxhaswa ngokupheleleyo yile bhrawuza. +printing_not_ready=Isilumkiso: IPDF ayihlohlwanga ngokupheleleyo ukwenzela ukuprinta. +web_fonts_disabled=Iifonti zewebhu ziqhwalelisiwe: ayikwazi ukusebenzisa iifonti ze-PDF ezincanyathelisiweyo. + diff --git a/media/js/pdf/web/locale/zh-CN/viewer.properties b/media/js/pdf/web/locale/zh-CN/viewer.properties new file mode 100644 index 0000000000..ba08c12219 --- /dev/null +++ b/media/js/pdf/web/locale/zh-CN/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=上一页 +previous_label=上一页 +next.title=下一页 +next_label=下一页 + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=页面 +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=/ {{pagesCount}} +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=({{pageNumber}} / {{pagesCount}}) + +zoom_out.title=缩小 +zoom_out_label=缩小 +zoom_in.title=放大 +zoom_in_label=放大 +zoom.title=缩放 +presentation_mode.title=切换到演示模式 +presentation_mode_label=演示模式 +open_file.title=打开文件 +open_file_label=打开 +print.title=打印 +print_label=打印 +download.title=下载 +download_label=下载 +bookmark.title=当前在看的内容(复制或在新窗口中打开) +bookmark_label=当前在看 + +save.title=保存 +save_label=保存 +bookmark1.title=当前页面(在当前页面查看 URL) +bookmark1_label=当前页面 + +open_in_app.title=在应用中打开 +open_in_app_label=在应用中打开 + +# Secondary toolbar and context menu +tools.title=工具 +tools_label=工具 +first_page.title=转到第一页 +first_page_label=转到第一页 +last_page.title=转到最后一页 +last_page_label=转到最后一页 +page_rotate_cw.title=顺时针旋转 +page_rotate_cw_label=顺时针旋转 +page_rotate_ccw.title=逆时针旋转 +page_rotate_ccw_label=逆时针旋转 + +cursor_text_select_tool.title=启用文本选择工具 +cursor_text_select_tool_label=文本选择工具 +cursor_hand_tool.title=启用手形工具 +cursor_hand_tool_label=手形工具 + +scroll_page.title=使用页面滚动 +scroll_page_label=页面滚动 +scroll_vertical.title=使用垂直滚动 +scroll_vertical_label=垂直滚动 +scroll_horizontal.title=使用水平滚动 +scroll_horizontal_label=水平滚动 +scroll_wrapped.title=使用平铺滚动 +scroll_wrapped_label=平铺滚动 + +spread_none.title=不加入衔接页 +spread_none_label=单页视图 +spread_odd.title=加入衔接页使奇数页作为起始页 +spread_odd_label=双页视图 +spread_even.title=加入衔接页使偶数页作为起始页 +spread_even_label=书籍视图 + +# Document properties dialog box +document_properties.title=文档属性… +document_properties_label=文档属性… +document_properties_file_name=文件名: +document_properties_file_size=文件大小: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB ({{size_b}} 字节) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB ({{size_b}} 字节) +document_properties_title=标题: +document_properties_author=作者: +document_properties_subject=主题: +document_properties_keywords=关键词: +document_properties_creation_date=创建日期: +document_properties_modification_date=修改日期: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}}, {{time}} +document_properties_creator=创建者: +document_properties_producer=PDF 生成器: +document_properties_version=PDF 版本: +document_properties_page_count=页数: +document_properties_page_size=页面大小: +document_properties_page_size_unit_inches=英寸 +document_properties_page_size_unit_millimeters=毫米 +document_properties_page_size_orientation_portrait=纵向 +document_properties_page_size_orientation_landscape=横向 +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=文本 +document_properties_page_size_name_legal=法律 +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}}({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}}({{name}},{{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=快速 Web 视图: +document_properties_linearized_yes=是 +document_properties_linearized_no=否 +document_properties_close=关闭 + +print_progress_message=正在准备打印文档… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=取消 + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=切换侧栏 +toggle_sidebar_notification2.title=切换侧栏(文档所含的大纲/附件/图层) +toggle_sidebar_label=切换侧栏 +document_outline.title=显示文档大纲(双击展开/折叠所有项) +document_outline_label=文档大纲 +attachments.title=显示附件 +attachments_label=附件 +layers.title=显示图层(双击即可将所有图层重置为默认状态) +layers_label=图层 +thumbs.title=显示缩略图 +thumbs_label=缩略图 +current_outline_item.title=查找当前大纲项目 +current_outline_item_label=当前大纲项目 +findbar.title=在文档中查找 +findbar_label=查找 + +additional_layers=其他图层 +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=第 {{page}} 页 +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=第 {{page}} 页 +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=页面 {{page}} 的缩略图 + +# Find panel button title and messages +find_input.title=查找 +find_input.placeholder=在文档中查找… +find_previous.title=查找词语上一次出现的位置 +find_previous_label=上一页 +find_next.title=查找词语后一次出现的位置 +find_next_label=下一页 +find_highlight=全部高亮显示 +find_match_case_label=区分大小写 +find_match_diacritics_label=匹配变音符号 +find_entire_word_label=全词匹配 +find_reached_top=到达文档开头,从末尾继续 +find_reached_bottom=到达文档末尾,从开头继续 +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=第 {{current}} 项,共匹配 {{total}} 项 +find_match_count[two]=第 {{current}} 项,共匹配 {{total}} 项 +find_match_count[few]=第 {{current}} 项,共匹配 {{total}} 项 +find_match_count[many]=第 {{current}} 项,共匹配 {{total}} 项 +find_match_count[other]=第 {{current}} 项,共匹配 {{total}} 项 +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=超过 {{limit}} 项匹配 +find_match_count_limit[one]=超过 {{limit}} 项匹配 +find_match_count_limit[two]=超过 {{limit}} 项匹配 +find_match_count_limit[few]=超过 {{limit}} 项匹配 +find_match_count_limit[many]=超过 {{limit}} 项匹配 +find_match_count_limit[other]=超过 {{limit}} 项匹配 +find_not_found=找不到指定词语 + +# Error panel labels +error_more_info=更多信息 +error_less_info=更少信息 +error_close=关闭 +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=信息:{{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=堆栈:{{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=文件:{{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=行号:{{line}} + +# Predefined zoom values +page_scale_width=适合页宽 +page_scale_fit=适合页面 +page_scale_auto=自动缩放 +page_scale_actual=实际大小 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=正在加载… + +# Loading indicator messages +loading_error=加载 PDF 时发生错误。 +invalid_file_error=无效或损坏的 PDF 文件。 +missing_file_error=缺少 PDF 文件。 +unexpected_response_error=意外的服务器响应。 + +rendering_error=渲染页面时发生错误。 + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}},{{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} 注释] +password_label=输入密码以打开此 PDF 文件。 +password_invalid=密码无效。请重试。 +password_ok=确定 +password_cancel=取消 + +printing_not_supported=警告:此浏览器尚未完整支持打印功能。 +printing_not_ready=警告:此 PDF 未完成加载,无法打印。 +web_fonts_disabled=Web 字体已被禁用:无法使用嵌入的 PDF 字体。 + +# Editor +editor_free_text2.title=文本 +editor_free_text2_label=文本 +editor_ink2.title=绘图 +editor_ink2_label=绘图 + +free_text2_default_content=开始输入… + +# Editor Parameters +editor_free_text_color=颜色 +editor_free_text_size=字号 +editor_ink_color=颜色 +editor_ink_thickness=粗细 +editor_ink_opacity=不透明度 + +# Editor aria +editor_free_text2_aria_label=文本编辑器 +editor_ink2_aria_label=绘图编辑器 +editor_ink_canvas_aria_label=用户创建图像 diff --git a/media/js/pdf/web/locale/zh-TW/viewer.properties b/media/js/pdf/web/locale/zh-TW/viewer.properties new file mode 100644 index 0000000000..3c406b2cf0 --- /dev/null +++ b/media/js/pdf/web/locale/zh-TW/viewer.properties @@ -0,0 +1,282 @@ +# Copyright 2012 Mozilla Foundation +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Main toolbar buttons (tooltips and alt text for images) +previous.title=上一頁 +previous_label=上一頁 +next.title=下一頁 +next_label=下一頁 + +# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input. +page.title=第 +# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number +# representing the total number of pages in the document. +of_pages=頁,共 {{pagesCount}} 頁 +# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}" +# will be replaced by a number representing the currently visible page, +# respectively a number representing the total number of pages in the document. +page_of_pages=(第 {{pageNumber}} 頁,共 {{pagesCount}} 頁) + +zoom_out.title=縮小 +zoom_out_label=縮小 +zoom_in.title=放大 +zoom_in_label=放大 +zoom.title=縮放 +presentation_mode.title=切換至簡報模式 +presentation_mode_label=簡報模式 +open_file.title=開啟檔案 +open_file_label=開啟 +print.title=列印 +print_label=列印 +download.title=下載 +download_label=下載 +bookmark.title=目前畫面(複製或開啟於新視窗) +bookmark_label=目前畫面 + +save.title=儲存 +save_label=儲存 +bookmark1.title=目前頁面(含目前檢視頁面的網址) +bookmark1_label=目前頁面 + +open_in_app.title=在應用程式中開啟 +open_in_app_label=用程式開啟 + +# Secondary toolbar and context menu +tools.title=工具 +tools_label=工具 +first_page.title=跳到第一頁 +first_page_label=跳到第一頁 +last_page.title=跳到最後一頁 +last_page_label=跳到最後一頁 +page_rotate_cw.title=順時針旋轉 +page_rotate_cw_label=順時針旋轉 +page_rotate_ccw.title=逆時針旋轉 +page_rotate_ccw_label=逆時針旋轉 + +cursor_text_select_tool.title=開啟文字選擇工具 +cursor_text_select_tool_label=文字選擇工具 +cursor_hand_tool.title=開啟頁面移動工具 +cursor_hand_tool_label=頁面移動工具 + +scroll_page.title=使用頁面捲動功能 +scroll_page_label=頁面捲動功能 +scroll_vertical.title=使用垂直捲動版面 +scroll_vertical_label=垂直捲動 +scroll_horizontal.title=使用水平捲動版面 +scroll_horizontal_label=水平捲動 +scroll_wrapped.title=使用多頁捲動版面 +scroll_wrapped_label=多頁捲動 + +spread_none.title=不要進行跨頁顯示 +spread_none_label=不跨頁 +spread_odd.title=從奇數頁開始跨頁 +spread_odd_label=奇數跨頁 +spread_even.title=從偶數頁開始跨頁 +spread_even_label=偶數跨頁 + +# Document properties dialog box +document_properties.title=文件內容… +document_properties_label=文件內容… +document_properties_file_name=檔案名稱: +document_properties_file_size=檔案大小: +# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}" +# will be replaced by the PDF file size in kilobytes, respectively in bytes. +document_properties_kb={{size_kb}} KB({{size_b}} 位元組) +# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}" +# will be replaced by the PDF file size in megabytes, respectively in bytes. +document_properties_mb={{size_mb}} MB({{size_b}} 位元組) +document_properties_title=標題: +document_properties_author=作者: +document_properties_subject=主旨: +document_properties_keywords=關鍵字: +document_properties_creation_date=建立日期: +document_properties_modification_date=修改日期: +# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}" +# will be replaced by the creation/modification date, and time, of the PDF file. +document_properties_date_string={{date}} {{time}} +document_properties_creator=建立者: +document_properties_producer=PDF 產生器: +document_properties_version=PDF 版本: +document_properties_page_count=頁數: +document_properties_page_size=頁面大小: +document_properties_page_size_unit_inches=in +document_properties_page_size_unit_millimeters=mm +document_properties_page_size_orientation_portrait=垂直 +document_properties_page_size_orientation_landscape=水平 +document_properties_page_size_name_a3=A3 +document_properties_page_size_name_a4=A4 +document_properties_page_size_name_letter=Letter +document_properties_page_size_name_legal=Legal +# LOCALIZATION NOTE (document_properties_page_size_dimension_string): +# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement and orientation, of the (current) page. +document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}}({{orientation}}) +# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string): +# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by +# the size, respectively their unit of measurement, name, and orientation, of the (current) page. +document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}}({{name}},{{orientation}}) +# LOCALIZATION NOTE (document_properties_linearized): The linearization status of +# the document; usually called "Fast Web View" in English locales of Adobe software. +document_properties_linearized=快速 Web 檢視: +document_properties_linearized_yes=是 +document_properties_linearized_no=否 +document_properties_close=關閉 + +print_progress_message=正在準備列印文件… +# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by +# a numerical per cent value. +print_progress_percent={{progress}}% +print_progress_close=取消 + +# Tooltips and alt text for side panel toolbar buttons +# (the _label strings are alt text for the buttons, the .title strings are +# tooltips) +toggle_sidebar.title=切換側邊欄 +toggle_sidebar_notification2.title=切換側邊欄(包含大綱、附件、圖層的文件) +toggle_sidebar_label=切換側邊欄 +document_outline.title=顯示文件大綱(雙擊展開/摺疊所有項目) +document_outline_label=文件大綱 +attachments.title=顯示附件 +attachments_label=附件 +layers.title=顯示圖層(滑鼠雙擊即可將所有圖層重設為預設狀態) +layers_label=圖層 +thumbs.title=顯示縮圖 +thumbs_label=縮圖 +current_outline_item.title=尋找目前的大綱項目 +current_outline_item_label=目前的大綱項目 +findbar.title=在文件中尋找 +findbar_label=尋找 + +additional_layers=其他圖層 +# LOCALIZATION NOTE (page_landmark): "{{page}}" will be replaced by the page number. +page_landmark=第 {{page}} 頁 +# Thumbnails panel item (tooltip and alt text for images) +# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page +# number. +thumb_page_title=第 {{page}} 頁 +# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page +# number. +thumb_page_canvas=第 {{page}} 頁的縮圖 + +# Find panel button title and messages +find_input.title=尋找 +find_input.placeholder=在文件中搜尋… +find_previous.title=尋找文字前次出現的位置 +find_previous_label=上一個 +find_next.title=尋找文字下次出現的位置 +find_next_label=下一個 +find_highlight=全部強調標示 +find_match_case_label=區分大小寫 +find_match_diacritics_label=符合變音符號 +find_entire_word_label=符合整個字 +find_reached_top=已搜尋至文件頂端,自底端繼續搜尋 +find_reached_bottom=已搜尋至文件底端,自頂端繼續搜尋 +# LOCALIZATION NOTE (find_match_count): The supported plural forms are +# [one|two|few|many|other], with [other] as the default value. +# "{{current}}" and "{{total}}" will be replaced by a number representing the +# index of the currently active find result, respectively a number representing +# the total number of matches in the document. +find_match_count={[ plural(total) ]} +find_match_count[one]=第 {{current}} 筆,共找到 {{total}} 筆 +find_match_count[two]=第 {{current}} 筆,共找到 {{total}} 筆 +find_match_count[few]=第 {{current}} 筆,共找到 {{total}} 筆 +find_match_count[many]=第 {{current}} 筆,共找到 {{total}} 筆 +find_match_count[other]=第 {{current}} 筆,共找到 {{total}} 筆 +# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are +# [zero|one|two|few|many|other], with [other] as the default value. +# "{{limit}}" will be replaced by a numerical value. +find_match_count_limit={[ plural(limit) ]} +find_match_count_limit[zero]=找到超過 {{limit}} 筆 +find_match_count_limit[one]=找到超過 {{limit}} 筆 +find_match_count_limit[two]=找到超過 {{limit}} 筆 +find_match_count_limit[few]=找到超過 {{limit}} 筆 +find_match_count_limit[many]=找到超過 {{limit}} 筆 +find_match_count_limit[other]=找到超過 {{limit}} 筆 +find_not_found=找不到指定文字 + +# Error panel labels +error_more_info=更多資訊 +error_less_info=更少資訊 +error_close=關閉 +# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be +# replaced by the PDF.JS version and build ID. +error_version_info=PDF.js v{{version}} (build: {{build}}) +# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an +# english string describing the error. +error_message=訊息: {{message}} +# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack +# trace. +error_stack=堆疊: {{stack}} +# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename +error_file=檔案: {{file}} +# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number +error_line=行: {{line}} + +# Predefined zoom values +page_scale_width=頁面寬度 +page_scale_fit=縮放至頁面大小 +page_scale_auto=自動縮放 +page_scale_actual=實際大小 +# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a +# numerical scale value. +page_scale_percent={{scale}}% + +# Loading indicator messages +loading=載入中… + +# Loading indicator messages +loading_error=載入 PDF 時發生錯誤。 +invalid_file_error=無效或毀損的 PDF 檔案。 +missing_file_error=找不到 PDF 檔案。 +unexpected_response_error=伺服器回應未預期的內容。 + +rendering_error=描繪頁面時發生錯誤。 + +# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be +# replaced by the modification date, and time, of the annotation. +annotation_date_string={{date}} {{time}} + +# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip. +# "{{type}}" will be replaced with an annotation type from a list defined in +# the PDF spec (32000-1:2008 Table 169 – Annotation types). +# Some common types are e.g.: "Check", "Text", "Comment", "Note" +text_annotation_type.alt=[{{type}} 註解] +password_label=請輸入用來開啟此 PDF 檔案的密碼。 +password_invalid=密碼不正確,請再試一次。 +password_ok=確定 +password_cancel=取消 + +printing_not_supported=警告: 此瀏覽器未完整支援列印功能。 +printing_not_ready=警告: 此 PDF 未完成下載以供列印。 +web_fonts_disabled=已停用網路字型 (Web fonts): 無法使用 PDF 內嵌字型。 + +# Editor +editor_free_text2.title=文字 +editor_free_text2_label=文字 +editor_ink2.title=繪圖 +editor_ink2_label=繪圖 + +free_text2_default_content=開始打字… + +# Editor Parameters +editor_free_text_color=色彩 +editor_free_text_size=大小 +editor_ink_color=色彩 +editor_ink_thickness=線條粗細 +editor_ink_opacity=透明度 + +# Editor aria +editor_free_text2_aria_label=文本編輯器 +editor_ink2_aria_label=圖形編輯器 +editor_ink_canvas_aria_label=使用者建立的圖片 diff --git a/media/js/pdf4/web/standard_fonts/FoxitDingbats.pfb b/media/js/pdf/web/standard_fonts/FoxitDingbats.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitDingbats.pfb rename to media/js/pdf/web/standard_fonts/FoxitDingbats.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitFixed.pfb b/media/js/pdf/web/standard_fonts/FoxitFixed.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitFixed.pfb rename to media/js/pdf/web/standard_fonts/FoxitFixed.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitFixedBold.pfb b/media/js/pdf/web/standard_fonts/FoxitFixedBold.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitFixedBold.pfb rename to media/js/pdf/web/standard_fonts/FoxitFixedBold.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitFixedBoldItalic.pfb b/media/js/pdf/web/standard_fonts/FoxitFixedBoldItalic.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitFixedBoldItalic.pfb rename to media/js/pdf/web/standard_fonts/FoxitFixedBoldItalic.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitFixedItalic.pfb b/media/js/pdf/web/standard_fonts/FoxitFixedItalic.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitFixedItalic.pfb rename to media/js/pdf/web/standard_fonts/FoxitFixedItalic.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitSerif.pfb b/media/js/pdf/web/standard_fonts/FoxitSerif.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitSerif.pfb rename to media/js/pdf/web/standard_fonts/FoxitSerif.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitSerifBold.pfb b/media/js/pdf/web/standard_fonts/FoxitSerifBold.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitSerifBold.pfb rename to media/js/pdf/web/standard_fonts/FoxitSerifBold.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitSerifBoldItalic.pfb b/media/js/pdf/web/standard_fonts/FoxitSerifBoldItalic.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitSerifBoldItalic.pfb rename to media/js/pdf/web/standard_fonts/FoxitSerifBoldItalic.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitSerifItalic.pfb b/media/js/pdf/web/standard_fonts/FoxitSerifItalic.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitSerifItalic.pfb rename to media/js/pdf/web/standard_fonts/FoxitSerifItalic.pfb diff --git a/media/js/pdf4/web/standard_fonts/FoxitSymbol.pfb b/media/js/pdf/web/standard_fonts/FoxitSymbol.pfb similarity index 100% rename from media/js/pdf4/web/standard_fonts/FoxitSymbol.pfb rename to media/js/pdf/web/standard_fonts/FoxitSymbol.pfb diff --git a/media/js/pdf4/web/standard_fonts/LICENSE_FOXIT b/media/js/pdf/web/standard_fonts/LICENSE_FOXIT similarity index 100% rename from media/js/pdf4/web/standard_fonts/LICENSE_FOXIT rename to media/js/pdf/web/standard_fonts/LICENSE_FOXIT diff --git a/media/js/pdf4/web/standard_fonts/LICENSE_LIBERATION b/media/js/pdf/web/standard_fonts/LICENSE_LIBERATION similarity index 100% rename from media/js/pdf4/web/standard_fonts/LICENSE_LIBERATION rename to media/js/pdf/web/standard_fonts/LICENSE_LIBERATION diff --git a/media/js/pdf4/web/standard_fonts/LiberationSans-Bold.ttf b/media/js/pdf/web/standard_fonts/LiberationSans-Bold.ttf similarity index 100% rename from media/js/pdf4/web/standard_fonts/LiberationSans-Bold.ttf rename to media/js/pdf/web/standard_fonts/LiberationSans-Bold.ttf diff --git a/media/js/pdf4/web/standard_fonts/LiberationSans-BoldItalic.ttf b/media/js/pdf/web/standard_fonts/LiberationSans-BoldItalic.ttf similarity index 100% rename from media/js/pdf4/web/standard_fonts/LiberationSans-BoldItalic.ttf rename to media/js/pdf/web/standard_fonts/LiberationSans-BoldItalic.ttf diff --git a/media/js/pdf4/web/standard_fonts/LiberationSans-Italic.ttf b/media/js/pdf/web/standard_fonts/LiberationSans-Italic.ttf similarity index 100% rename from media/js/pdf4/web/standard_fonts/LiberationSans-Italic.ttf rename to media/js/pdf/web/standard_fonts/LiberationSans-Italic.ttf diff --git a/media/js/pdf4/web/standard_fonts/LiberationSans-Regular.ttf b/media/js/pdf/web/standard_fonts/LiberationSans-Regular.ttf similarity index 100% rename from media/js/pdf4/web/standard_fonts/LiberationSans-Regular.ttf rename to media/js/pdf/web/standard_fonts/LiberationSans-Regular.ttf diff --git a/media/js/pdf/web/viewer.css b/media/js/pdf/web/viewer.css new file mode 100644 index 0000000000..28cf4cde6d --- /dev/null +++ b/media/js/pdf/web/viewer.css @@ -0,0 +1,2645 @@ +/* Copyright 2014 Mozilla Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +:root { + --highlight-bg-color: rgba(180, 0, 170, 1); + --highlight-selected-bg-color: rgba(0, 100, 0, 1); +} + +@media screen and (forced-colors: active) { + :root { + --highlight-bg-color: Highlight; + --highlight-selected-bg-color: ButtonText; + } +} + +.textLayer { + position: absolute; + text-align: initial; + inset: 0; + overflow: hidden; + opacity: 0.25; + line-height: 1; + -webkit-text-size-adjust: none; + -moz-text-size-adjust: none; + text-size-adjust: none; + forced-color-adjust: none; + transform-origin: 0 0; + z-index: 2; +} + +.textLayer :is(span, br) { + color: transparent; + position: absolute; + white-space: pre; + cursor: text; + transform-origin: 0% 0%; +} + +/* Only necessary in Google Chrome, see issue 14205, and most unfortunately + * the problem doesn't show up in "text" reference tests. */ +.textLayer span.markedContent { + top: 0; + height: 0; +} + +.textLayer .highlight { + margin: -1px; + padding: 1px; + background-color: var(--highlight-bg-color); + border-radius: 4px; +} + +.textLayer .highlight.appended { + position: initial; +} + +.textLayer .highlight.begin { + border-radius: 4px 0 0 4px; +} + +.textLayer .highlight.end { + border-radius: 0 4px 4px 0; +} + +.textLayer .highlight.middle { + border-radius: 0; +} + +.textLayer .highlight.selected { + background-color: var(--highlight-selected-bg-color); +} + +.textLayer ::-moz-selection { + background: blue; + background: AccentColor; +} + +.textLayer ::selection { + background: blue; + background: AccentColor; +} + +/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */ +.textLayer br::-moz-selection { + background: transparent; +} +.textLayer br::selection { + background: transparent; +} + +.textLayer .endOfContent { + display: block; + position: absolute; + inset: 100% 0 0; + z-index: -1; + cursor: default; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.textLayer .endOfContent.active { + top: 0; +} + + +:root { + --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,"); + --input-focus-border-color: Highlight; + --input-focus-outline: 1px solid Canvas; + --input-unfocused-border-color: transparent; + --input-disabled-border-color: transparent; + --input-hover-border-color: black; + --link-outline: none; +} + +@media screen and (forced-colors: active) { + :root { + --input-focus-border-color: CanvasText; + --input-unfocused-border-color: ActiveText; + --input-disabled-border-color: GrayText; + --input-hover-border-color: Highlight; + --link-outline: 1.5px solid LinkText; + --hcm-highligh-filter: invert(100%); + } + .annotationLayer .textWidgetAnnotation :is(input, textarea):required, + .annotationLayer .choiceWidgetAnnotation select:required, + .annotationLayer + .buttonWidgetAnnotation:is(.checkBox, .radioButton) + input:required { + outline: 1.5px solid selectedItem; + } + + .annotationLayer .linkAnnotation:hover { + -webkit-backdrop-filter: var(--hcm-highligh-filter); + backdrop-filter: var(--hcm-highligh-filter); + } + + .annotationLayer .linkAnnotation > a:hover { + opacity: 0 !important; + background: none !important; + box-shadow: none; + } + + .annotationLayer .popupAnnotation .popup { + outline: calc(1.5px * var(--scale-factor)) solid CanvasText !important; + background-color: ButtonFace !important; + color: ButtonText !important; + } + + .annotationLayer .highlightArea:hover::after { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + -webkit-backdrop-filter: var(--hcm-highligh-filter); + backdrop-filter: var(--hcm-highligh-filter); + content: ""; + pointer-events: none; + } + + .annotationLayer .popupAnnotation.focused .popup { + outline: calc(3px * var(--scale-factor)) solid Highlight !important; + } +} + +.annotationLayer { + position: absolute; + top: 0; + left: 0; + pointer-events: none; + transform-origin: 0 0; + z-index: 3; +} + +.annotationLayer[data-main-rotation="90"] .norotate { + transform: rotate(270deg) translateX(-100%); +} +.annotationLayer[data-main-rotation="180"] .norotate { + transform: rotate(180deg) translate(-100%, -100%); +} +.annotationLayer[data-main-rotation="270"] .norotate { + transform: rotate(90deg) translateY(-100%); +} + +.annotationLayer canvas { + position: absolute; + width: 100%; + height: 100%; + pointer-events: none; +} + +.annotationLayer section { + position: absolute; + text-align: initial; + pointer-events: auto; + box-sizing: border-box; + transform-origin: 0 0; +} + +.annotationLayer .linkAnnotation { + outline: var(--link-outline); +} + +.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a { + position: absolute; + font-size: 1em; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.annotationLayer + :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) + > a:hover { + opacity: 0.2; + background: rgba(255, 255, 0, 1); + box-shadow: 0 2px 10px rgba(255, 255, 0, 1); +} + +.annotationLayer .textAnnotation img { + position: absolute; + cursor: pointer; + width: 100%; + height: 100%; + top: 0; + left: 0; +} + +.annotationLayer .textWidgetAnnotation :is(input, textarea), +.annotationLayer .choiceWidgetAnnotation select, +.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input { + background-image: var(--annotation-unfocused-field-background); + border: 2px solid var(--input-unfocused-border-color); + box-sizing: border-box; + font: calc(9px * var(--scale-factor)) sans-serif; + height: 100%; + margin: 0; + vertical-align: top; + width: 100%; +} + +.annotationLayer .textWidgetAnnotation :is(input, textarea):required, +.annotationLayer .choiceWidgetAnnotation select:required, +.annotationLayer + .buttonWidgetAnnotation:is(.checkBox, .radioButton) + input:required { + outline: 1.5px solid red; +} + +.annotationLayer .choiceWidgetAnnotation select option { + padding: 0; +} + +.annotationLayer .buttonWidgetAnnotation.radioButton input { + border-radius: 50%; +} + +.annotationLayer .textWidgetAnnotation textarea { + resize: none; +} + +.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled], +.annotationLayer .choiceWidgetAnnotation select[disabled], +.annotationLayer + .buttonWidgetAnnotation:is(.checkBox, .radioButton) + input[disabled] { + background: none; + border: 2px solid var(--input-disabled-border-color); + cursor: not-allowed; +} + +.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, +.annotationLayer .choiceWidgetAnnotation select:hover, +.annotationLayer + .buttonWidgetAnnotation:is(.checkBox, .radioButton) + input:hover { + border: 2px solid var(--input-hover-border-color); +} +.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, +.annotationLayer .choiceWidgetAnnotation select:hover, +.annotationLayer .buttonWidgetAnnotation.checkBox input:hover { + border-radius: 2px; +} + +.annotationLayer .textWidgetAnnotation :is(input, textarea):focus, +.annotationLayer .choiceWidgetAnnotation select:focus { + background: none; + border: 2px solid var(--input-focus-border-color); + border-radius: 2px; + outline: var(--input-focus-outline); +} + +.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus { + background-image: none; + background-color: transparent; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox :focus { + border: 2px solid var(--input-focus-border-color); + border-radius: 2px; + outline: var(--input-focus-outline); +} + +.annotationLayer .buttonWidgetAnnotation.radioButton :focus { + border: 2px solid var(--input-focus-border-color); + outline: var(--input-focus-outline); +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after, +.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before { + background-color: CanvasText; + content: ""; + display: block; + position: absolute; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after { + height: 80%; + left: 45%; + width: 1px; +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before { + transform: rotate(45deg); +} + +.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after { + transform: rotate(-45deg); +} + +.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before { + border-radius: 50%; + height: 50%; + left: 30%; + top: 20%; + width: 50%; +} + +.annotationLayer .textWidgetAnnotation input.comb { + font-family: monospace; + padding-left: 2px; + padding-right: 0; +} + +.annotationLayer .textWidgetAnnotation input.comb:focus { + /* + * Letter spacing is placed on the right side of each character. Hence, the + * letter spacing of the last character may be placed outside the visible + * area, causing horizontal scrolling. We avoid this by extending the width + * when the element has focus and revert this when it loses focus. + */ + width: 103%; +} + +.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.annotationLayer .fileAttachmentAnnotation .popupTriggerArea { + height: 100%; + width: 100%; +} + +.annotationLayer .popupAnnotation { + position: absolute; + font-size: calc(9px * var(--scale-factor)); + pointer-events: none; + width: -moz-max-content; + width: max-content; + max-width: 45%; + height: auto; +} + +.annotationLayer .popup { + background-color: rgba(255, 255, 153, 1); + box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) + rgba(136, 136, 136, 1); + border-radius: calc(2px * var(--scale-factor)); + outline: 1.5px solid rgb(255, 255, 74); + padding: calc(6px * var(--scale-factor)); + cursor: pointer; + font: message-box; + white-space: normal; + word-wrap: break-word; + pointer-events: auto; +} + +.annotationLayer .popupAnnotation.focused .popup { + outline-width: 3px; +} + +.annotationLayer .popup * { + font-size: calc(9px * var(--scale-factor)); +} + +.annotationLayer .popup > .header { + display: inline-block; +} + +.annotationLayer .popup > .header h1 { + display: inline; +} + +.annotationLayer .popup > .header .popupDate { + display: inline-block; + margin-left: calc(5px * var(--scale-factor)); + width: -moz-fit-content; + width: fit-content; +} + +.annotationLayer .popupContent { + border-top: 1px solid rgba(51, 51, 51, 1); + margin-top: calc(2px * var(--scale-factor)); + padding-top: calc(2px * var(--scale-factor)); +} + +.annotationLayer .richText > * { + white-space: pre-wrap; + font-size: calc(9px * var(--scale-factor)); +} + +.annotationLayer .highlightAnnotation, +.annotationLayer .underlineAnnotation, +.annotationLayer .squigglyAnnotation, +.annotationLayer .strikeoutAnnotation, +.annotationLayer .freeTextAnnotation, +.annotationLayer .lineAnnotation svg line, +.annotationLayer .squareAnnotation svg rect, +.annotationLayer .circleAnnotation svg ellipse, +.annotationLayer .polylineAnnotation svg polyline, +.annotationLayer .polygonAnnotation svg polygon, +.annotationLayer .caretAnnotation, +.annotationLayer .inkAnnotation svg polyline, +.annotationLayer .stampAnnotation, +.annotationLayer .fileAttachmentAnnotation { + cursor: pointer; +} + +.annotationLayer section svg { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; +} + +.annotationLayer .annotationTextContent { + position: absolute; + width: 100%; + height: 100%; + opacity: 0; + color: transparent; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + pointer-events: none; +} + +.annotationLayer .annotationTextContent span { + width: 100%; + display: inline-block; +} + + +:root { + --xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,"); + --xfa-focus-outline: auto; +} + +@media screen and (forced-colors: active) { + :root { + --xfa-focus-outline: 2px solid CanvasText; + } + .xfaLayer *:required { + outline: 1.5px solid selectedItem; + } +} + +.xfaLayer { + background-color: transparent; +} + +.xfaLayer .highlight { + margin: -1px; + padding: 1px; + background-color: rgba(239, 203, 237, 1); + border-radius: 4px; +} + +.xfaLayer .highlight.appended { + position: initial; +} + +.xfaLayer .highlight.begin { + border-radius: 4px 0 0 4px; +} + +.xfaLayer .highlight.end { + border-radius: 0 4px 4px 0; +} + +.xfaLayer .highlight.middle { + border-radius: 0; +} + +.xfaLayer .highlight.selected { + background-color: rgba(203, 223, 203, 1); +} + +.xfaPage { + overflow: hidden; + position: relative; +} + +.xfaContentarea { + position: absolute; +} + +.xfaPrintOnly { + display: none; +} + +.xfaLayer { + position: absolute; + text-align: initial; + top: 0; + left: 0; + transform-origin: 0 0; + line-height: 1.2; +} + +.xfaLayer * { + color: inherit; + font: inherit; + font-style: inherit; + font-weight: inherit; + font-kerning: inherit; + letter-spacing: -0.01px; + text-align: inherit; + text-decoration: inherit; + box-sizing: border-box; + background-color: transparent; + padding: 0; + margin: 0; + pointer-events: auto; + line-height: inherit; +} + +.xfaLayer *:required { + outline: 1.5px solid red; +} + +.xfaLayer div, +.xfaLayer svg, +.xfaLayer svg * { + pointer-events: none; +} + +.xfaLayer a { + color: blue; +} + +.xfaRich li { + margin-left: 3em; +} + +.xfaFont { + color: black; + font-weight: normal; + font-kerning: none; + font-size: 10px; + font-style: normal; + letter-spacing: 0; + text-decoration: none; + vertical-align: 0; +} + +.xfaCaption { + overflow: hidden; + flex: 0 0 auto; +} + +.xfaCaptionForCheckButton { + overflow: hidden; + flex: 1 1 auto; +} + +.xfaLabel { + height: 100%; + width: 100%; +} + +.xfaLeft { + display: flex; + flex-direction: row; + align-items: center; +} + +.xfaRight { + display: flex; + flex-direction: row-reverse; + align-items: center; +} + +:is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton) { + max-height: 100%; +} + +.xfaTop { + display: flex; + flex-direction: column; + align-items: flex-start; +} + +.xfaBottom { + display: flex; + flex-direction: column-reverse; + align-items: flex-start; +} + +:is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton) { + width: 100%; +} + +.xfaBorder { + background-color: transparent; + position: absolute; + pointer-events: none; +} + +.xfaWrapped { + width: 100%; + height: 100%; +} + +:is(.xfaTextfield, .xfaSelect):focus { + background-image: none; + background-color: transparent; + outline: var(--xfa-focus-outline); + outline-offset: -1px; +} + +:is(.xfaCheckbox, .xfaRadio):focus { + outline: var(--xfa-focus-outline); +} + +.xfaTextfield, +.xfaSelect { + height: 100%; + width: 100%; + flex: 1 1 auto; + border: none; + resize: none; + background-image: var(--xfa-unfocused-field-background); +} + +.xfaSelect { + padding-inline: 2px; +} + +:is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect) { + flex: 0 1 auto; +} + +.xfaButton { + cursor: pointer; + width: 100%; + height: 100%; + border: none; + text-align: center; +} + +.xfaLink { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; +} + +.xfaCheckbox, +.xfaRadio { + width: 100%; + height: 100%; + flex: 0 0 auto; + border: none; +} + +.xfaRich { + white-space: pre-wrap; + width: 100%; + height: 100%; +} + +.xfaImage { + -o-object-position: left top; + object-position: left top; + -o-object-fit: contain; + object-fit: contain; + width: 100%; + height: 100%; +} + +.xfaLrTb, +.xfaRlTb, +.xfaTb { + display: flex; + flex-direction: column; + align-items: stretch; +} + +.xfaLr { + display: flex; + flex-direction: row; + align-items: stretch; +} + +.xfaRl { + display: flex; + flex-direction: row-reverse; + align-items: stretch; +} + +.xfaTb > div { + justify-content: left; +} + +.xfaPosition { + position: relative; +} + +.xfaArea { + position: relative; +} + +.xfaValignMiddle { + display: flex; + align-items: center; +} + +.xfaTable { + display: flex; + flex-direction: column; + align-items: stretch; +} + +.xfaTable .xfaRow { + display: flex; + flex-direction: row; + align-items: stretch; +} + +.xfaTable .xfaRlRow { + display: flex; + flex-direction: row-reverse; + align-items: stretch; + flex: 1; +} + +.xfaTable .xfaRlRow > div { + flex: 1; +} + +:is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea) { + background: initial; +} + +@media print { + .xfaTextfield, + .xfaSelect { + background: transparent; + } + + .xfaSelect { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + text-indent: 1px; + text-overflow: ""; + } +} + + +:root { + --focus-outline: solid 2px blue; + --hover-outline: dashed 2px blue; + --freetext-line-height: 1.35; + --freetext-padding: 2px; + --editorFreeText-editing-cursor: text; + --editorInk-editing-cursor: url(images/cursor-editorInk.svg) 0 16, pointer; +} + +@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 1.1dppx) { + :root { + --editorFreeText-editing-cursor: url(images/cursor-editorFreeText.svg) 0 16, + text; + } +} + +@media screen and (forced-colors: active) { + :root { + --focus-outline: solid 3px ButtonText; + --hover-outline: dashed 3px ButtonText; + } +} + +[data-editor-rotation="90"] { + transform: rotate(90deg); +} +[data-editor-rotation="180"] { + transform: rotate(180deg); +} +[data-editor-rotation="270"] { + transform: rotate(270deg); +} + +.annotationEditorLayer { + background: transparent; + position: absolute; + top: 0; + left: 0; + font-size: calc(100px * var(--scale-factor)); + transform-origin: 0 0; + cursor: auto; + z-index: 4; +} + +.annotationEditorLayer.freeTextEditing { + cursor: var(--editorFreeText-editing-cursor); +} + +.annotationEditorLayer.inkEditing { + cursor: var(--editorInk-editing-cursor); +} + +.annotationEditorLayer :is(.freeTextEditor, .inkEditor)[draggable="true"] { + cursor: move; +} + +.annotationEditorLayer .selectedEditor { + outline: var(--focus-outline); + resize: none; +} + +.annotationEditorLayer .freeTextEditor { + position: absolute; + background: transparent; + border-radius: 3px; + padding: calc(var(--freetext-padding) * var(--scale-factor)); + resize: none; + width: auto; + height: auto; + z-index: 1; + transform-origin: 0 0; + touch-action: none; + cursor: auto; +} + +.annotationEditorLayer .freeTextEditor .internal { + background: transparent; + border: none; + top: 0; + left: 0; + overflow: visible; + white-space: nowrap; + resize: none; + font: 10px sans-serif; + line-height: var(--freetext-line-height); +} + +.annotationEditorLayer .freeTextEditor .overlay { + position: absolute; + display: none; + background: transparent; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.annotationEditorLayer .freeTextEditor .overlay.enabled { + display: block; +} + +.annotationEditorLayer .freeTextEditor .internal:empty::before { + content: attr(default-content); + color: gray; +} + +.annotationEditorLayer .freeTextEditor .internal:focus { + outline: none; +} + +.annotationEditorLayer .inkEditor.disabled { + resize: none; +} + +.annotationEditorLayer .inkEditor.disabled.selectedEditor { + resize: horizontal; +} + +.annotationEditorLayer + :is(.freeTextEditor, .inkEditor):hover:not(.selectedEditor) { + outline: var(--hover-outline); +} + +.annotationEditorLayer .inkEditor { + position: absolute; + background: transparent; + border-radius: 3px; + overflow: auto; + width: 100%; + height: 100%; + z-index: 1; + transform-origin: 0 0; + cursor: auto; +} + +.annotationEditorLayer .inkEditor.editing { + resize: none; + cursor: inherit; +} + +.annotationEditorLayer .inkEditor .inkEditorCanvas { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + touch-action: none; +} + +:root { + --viewer-container-height: 0; + --pdfViewer-padding-bottom: 0; + --page-margin: 1px auto -8px; + --page-border: 9px solid transparent; + --spreadHorizontalWrapped-margin-LR: -3.5px; + --loading-icon-delay: 400ms; +} + +@media screen and (forced-colors: active) { + :root { + --pdfViewer-padding-bottom: 9px; + --page-margin: 8px auto -1px; + --page-border: 1px solid CanvasText; + --spreadHorizontalWrapped-margin-LR: 3.5px; + } +} + +[data-main-rotation="90"] { + transform: rotate(90deg) translateY(-100%); +} +[data-main-rotation="180"] { + transform: rotate(180deg) translate(-100%, -100%); +} +[data-main-rotation="270"] { + transform: rotate(270deg) translateX(-100%); +} + +#hiddenCopyElement { + position: absolute; + top: 0; + left: 0; + width: 0; + height: 0; + display: none; +} + +.pdfViewer { + /* Define this variable here and not in :root to avoid to reflow all the UI + when scaling (see #15929). */ + --scale-factor: 1; + + padding-bottom: var(--pdfViewer-padding-bottom); +} + +.pdfViewer .canvasWrapper { + overflow: hidden; + width: 100%; + height: 100%; + z-index: 1; +} + +.pdfViewer .page { + direction: ltr; + width: 816px; + height: 1056px; + margin: var(--page-margin); + position: relative; + overflow: visible; + border: var(--page-border); + background-clip: content-box; + background-color: rgba(255, 255, 255, 1); +} + +.pdfViewer .dummyPage { + position: relative; + width: 0; + height: var(--viewer-container-height); +} + +.pdfViewer.removePageBorders .page { + margin: 0 auto 10px; + border: none; +} + +.pdfViewer:is(.scrollHorizontal, .scrollWrapped), +.spread { + margin-inline: 3.5px; + text-align: center; +} + +.pdfViewer.scrollHorizontal, +.spread { + white-space: nowrap; +} + +.pdfViewer.removePageBorders, +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread { + margin-inline: 0; +} + +.spread :is(.page, .dummyPage), +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread) { + display: inline-block; + vertical-align: middle; +} + +.spread .page, +.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page { + margin-inline: var(--spreadHorizontalWrapped-margin-LR); +} + +.pdfViewer.removePageBorders .spread .page, +.pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page { + margin-inline: 5px; +} + +.pdfViewer .page canvas { + margin: 0; + display: block; +} + +.pdfViewer .page canvas .structTree { + contain: strict; +} + +.pdfViewer .page canvas[hidden] { + display: none; +} + +.pdfViewer .page canvas[zooming] { + width: 100%; + height: 100%; +} + +.pdfViewer .page.loadingIcon::after { + position: absolute; + top: 0; + left: 0; + content: ""; + width: 100%; + height: 100%; + background: url("images/loading-icon.gif") center no-repeat; + display: none; + /* Using a delay with background-image doesn't work, + consequently we use the display. */ + transition-property: display; + transition-delay: var(--loading-icon-delay); + z-index: 5; + contain: strict; +} + +.pdfViewer .page.loading::after { + display: block; +} + +.pdfViewer .page:not(.loading)::after { + transition-property: none; + display: none; +} + +.pdfPresentationMode .pdfViewer { + padding-bottom: 0; +} + +.pdfPresentationMode .spread { + margin: 0; +} + +.pdfPresentationMode .pdfViewer .page { + margin: 0 auto; + border: 2px solid transparent; +} + +:root { + --dir-factor: 1; + --inline-start: left; + --inline-end: right; + + --sidebar-width: 200px; + --sidebar-transition-duration: 200ms; + --sidebar-transition-timing-function: ease; + + --toolbar-icon-opacity: 0.7; + --doorhanger-icon-opacity: 0.9; + + --main-color: rgba(12, 12, 13, 1); + --body-bg-color: rgba(212, 212, 215, 1); + --progressBar-color: rgba(10, 132, 255, 1); + --progressBar-bg-color: rgba(221, 221, 222, 1); + --progressBar-blend-color: rgba(116, 177, 239, 1); + --scrollbar-color: auto; + --scrollbar-bg-color: auto; + --toolbar-icon-bg-color: rgba(0, 0, 0, 1); + --toolbar-icon-hover-bg-color: rgba(0, 0, 0, 1); + + --sidebar-narrow-bg-color: rgba(212, 212, 215, 0.9); + --sidebar-toolbar-bg-color: rgba(245, 246, 247, 1); + --toolbar-bg-color: rgba(249, 249, 250, 1); + --toolbar-border-color: rgba(184, 184, 184, 1); + --toolbar-box-shadow: 0 1px 0 var(--toolbar-border-color); + --toolbar-border-bottom: none; + --toolbarSidebar-box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 + rgba(0, 0, 0, 0.25), + 0 1px 0 rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.1); + --toolbarSidebar-border-bottom: none; + --button-hover-color: rgba(221, 222, 223, 1); + --toggled-btn-color: rgba(0, 0, 0, 1); + --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); + --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); + --dropdown-btn-bg-color: rgba(215, 215, 219, 1); + --dropdown-btn-border: none; + --separator-color: rgba(0, 0, 0, 0.3); + --field-color: rgba(6, 6, 6, 1); + --field-bg-color: rgba(255, 255, 255, 1); + --field-border-color: rgba(187, 187, 188, 1); + --treeitem-color: rgba(0, 0, 0, 0.8); + --treeitem-bg-color: rgba(0, 0, 0, 0.15); + --treeitem-hover-color: rgba(0, 0, 0, 0.9); + --treeitem-selected-color: rgba(0, 0, 0, 0.9); + --treeitem-selected-bg-color: rgba(0, 0, 0, 0.25); + --thumbnail-hover-color: rgba(0, 0, 0, 0.1); + --thumbnail-selected-color: rgba(0, 0, 0, 0.2); + --doorhanger-bg-color: rgba(255, 255, 255, 1); + --doorhanger-border-color: rgba(12, 12, 13, 0.2); + --doorhanger-hover-color: rgba(12, 12, 13, 1); + --doorhanger-hover-bg-color: rgba(237, 237, 237, 1); + --doorhanger-separator-color: rgba(222, 222, 222, 1); + --dialog-button-border: none; + --dialog-button-bg-color: rgba(12, 12, 13, 0.1); + --dialog-button-hover-bg-color: rgba(12, 12, 13, 0.3); + + --loading-icon: url(images/loading.svg); + --treeitem-expanded-icon: url(images/treeitem-expanded.svg); + --treeitem-collapsed-icon: url(images/treeitem-collapsed.svg); + --toolbarButton-editorFreeText-icon: url(images/toolbarButton-editorFreeText.svg); + --toolbarButton-editorInk-icon: url(images/toolbarButton-editorInk.svg); + --toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg); + --toolbarButton-sidebarToggle-icon: url(images/toolbarButton-sidebarToggle.svg); + --toolbarButton-secondaryToolbarToggle-icon: url(images/toolbarButton-secondaryToolbarToggle.svg); + --toolbarButton-pageUp-icon: url(images/toolbarButton-pageUp.svg); + --toolbarButton-pageDown-icon: url(images/toolbarButton-pageDown.svg); + --toolbarButton-zoomOut-icon: url(images/toolbarButton-zoomOut.svg); + --toolbarButton-zoomIn-icon: url(images/toolbarButton-zoomIn.svg); + --toolbarButton-presentationMode-icon: url(images/toolbarButton-presentationMode.svg); + --toolbarButton-print-icon: url(images/toolbarButton-print.svg); + --toolbarButton-openFile-icon: url(images/toolbarButton-openFile.svg); + --toolbarButton-download-icon: url(images/toolbarButton-download.svg); + --toolbarButton-bookmark-icon: url(images/toolbarButton-bookmark.svg); + --toolbarButton-viewThumbnail-icon: url(images/toolbarButton-viewThumbnail.svg); + --toolbarButton-viewOutline-icon: url(images/toolbarButton-viewOutline.svg); + --toolbarButton-viewAttachments-icon: url(images/toolbarButton-viewAttachments.svg); + --toolbarButton-viewLayers-icon: url(images/toolbarButton-viewLayers.svg); + --toolbarButton-currentOutlineItem-icon: url(images/toolbarButton-currentOutlineItem.svg); + --toolbarButton-search-icon: url(images/toolbarButton-search.svg); + --findbarButton-previous-icon: url(images/findbarButton-previous.svg); + --findbarButton-next-icon: url(images/findbarButton-next.svg); + --secondaryToolbarButton-firstPage-icon: url(images/secondaryToolbarButton-firstPage.svg); + --secondaryToolbarButton-lastPage-icon: url(images/secondaryToolbarButton-lastPage.svg); + --secondaryToolbarButton-rotateCcw-icon: url(images/secondaryToolbarButton-rotateCcw.svg); + --secondaryToolbarButton-rotateCw-icon: url(images/secondaryToolbarButton-rotateCw.svg); + --secondaryToolbarButton-selectTool-icon: url(images/secondaryToolbarButton-selectTool.svg); + --secondaryToolbarButton-handTool-icon: url(images/secondaryToolbarButton-handTool.svg); + --secondaryToolbarButton-scrollPage-icon: url(images/secondaryToolbarButton-scrollPage.svg); + --secondaryToolbarButton-scrollVertical-icon: url(images/secondaryToolbarButton-scrollVertical.svg); + --secondaryToolbarButton-scrollHorizontal-icon: url(images/secondaryToolbarButton-scrollHorizontal.svg); + --secondaryToolbarButton-scrollWrapped-icon: url(images/secondaryToolbarButton-scrollWrapped.svg); + --secondaryToolbarButton-spreadNone-icon: url(images/secondaryToolbarButton-spreadNone.svg); + --secondaryToolbarButton-spreadOdd-icon: url(images/secondaryToolbarButton-spreadOdd.svg); + --secondaryToolbarButton-spreadEven-icon: url(images/secondaryToolbarButton-spreadEven.svg); + --secondaryToolbarButton-documentProperties-icon: url(images/secondaryToolbarButton-documentProperties.svg); +} + +[dir="rtl"]:root { + --dir-factor: -1; + --inline-start: right; + --inline-end: left; +} + +@media (prefers-color-scheme: dark) { + :root { + --main-color: rgba(249, 249, 250, 1); + --body-bg-color: rgba(42, 42, 46, 1); + --progressBar-color: rgba(0, 96, 223, 1); + --progressBar-bg-color: rgba(40, 40, 43, 1); + --progressBar-blend-color: rgba(20, 68, 133, 1); + --scrollbar-color: rgba(121, 121, 123, 1); + --scrollbar-bg-color: rgba(35, 35, 39, 1); + --toolbar-icon-bg-color: rgba(255, 255, 255, 1); + --toolbar-icon-hover-bg-color: rgba(255, 255, 255, 1); + + --sidebar-narrow-bg-color: rgba(42, 42, 46, 0.9); + --sidebar-toolbar-bg-color: rgba(50, 50, 52, 1); + --toolbar-bg-color: rgba(56, 56, 61, 1); + --toolbar-border-color: rgba(12, 12, 13, 1); + --button-hover-color: rgba(102, 102, 103, 1); + --toggled-btn-color: rgba(255, 255, 255, 1); + --toggled-btn-bg-color: rgba(0, 0, 0, 0.3); + --toggled-hover-active-btn-color: rgba(0, 0, 0, 0.4); + --dropdown-btn-bg-color: rgba(74, 74, 79, 1); + --separator-color: rgba(0, 0, 0, 0.3); + --field-color: rgba(250, 250, 250, 1); + --field-bg-color: rgba(64, 64, 68, 1); + --field-border-color: rgba(115, 115, 115, 1); + --treeitem-color: rgba(255, 255, 255, 0.8); + --treeitem-bg-color: rgba(255, 255, 255, 0.15); + --treeitem-hover-color: rgba(255, 255, 255, 0.9); + --treeitem-selected-color: rgba(255, 255, 255, 0.9); + --treeitem-selected-bg-color: rgba(255, 255, 255, 0.25); + --thumbnail-hover-color: rgba(255, 255, 255, 0.1); + --thumbnail-selected-color: rgba(255, 255, 255, 0.2); + --doorhanger-bg-color: rgba(74, 74, 79, 1); + --doorhanger-border-color: rgba(39, 39, 43, 1); + --doorhanger-hover-color: rgba(249, 249, 250, 1); + --doorhanger-hover-bg-color: rgba(93, 94, 98, 1); + --doorhanger-separator-color: rgba(92, 92, 97, 1); + --dialog-button-bg-color: rgba(92, 92, 97, 1); + --dialog-button-hover-bg-color: rgba(115, 115, 115, 1); + + /* This image is used in elements, which unfortunately means that + * the `mask-image` approach used with all of the other images doesn't work + * here; hence why we still have two versions of this particular image. */ + --loading-icon: url(images/loading-dark.svg); + } +} + +@media screen and (forced-colors: active) { + :root { + --button-hover-color: Highlight; + --doorhanger-hover-bg-color: Highlight; + --toolbar-icon-opacity: 1; + --toolbar-icon-bg-color: ButtonText; + --toolbar-icon-hover-bg-color: ButtonFace; + --toolbar-border-color: CanvasText; + --toolbar-border-bottom: 1px solid var(--toolbar-border-color); + --toolbar-box-shadow: none; + --toggled-btn-color: HighlightText; + --toggled-btn-bg-color: LinkText; + --doorhanger-hover-color: ButtonFace; + --doorhanger-border-color-whcm: 1px solid ButtonText; + --doorhanger-triangle-opacity-whcm: 0; + --dialog-button-border: 1px solid Highlight; + --dialog-button-hover-bg-color: Highlight; + --dialog-button-hover-color: ButtonFace; + --dropdown-btn-border: 1px solid ButtonText; + --field-border-color: ButtonText; + --main-color: CanvasText; + --separator-color: GrayText; + --doorhanger-separator-color: GrayText; + --toolbarSidebar-box-shadow: none; + --toolbarSidebar-border-bottom: 1px solid var(--toolbar-border-color); + } +} + +@media screen and (prefers-reduced-motion: reduce) { + :root { + --sidebar-transition-duration: 0; + } +} + +* { + padding: 0; + margin: 0; +} + +html, +body { + height: 100%; + width: 100%; +} + +body { + background-color: var(--body-bg-color); + scrollbar-color: var(--scrollbar-color) var(--scrollbar-bg-color); +} + +.hidden, +[hidden] { + display: none !important; +} + +#viewerContainer.pdfPresentationMode:-webkit-full-screen { + top: 0; + background-color: rgba(0, 0, 0, 1); + width: 100%; + height: 100%; + overflow: hidden; + cursor: none; + -webkit-user-select: none; + user-select: none; +} + +#viewerContainer.pdfPresentationMode:fullscreen { + top: 0; + background-color: rgba(0, 0, 0, 1); + width: 100%; + height: 100%; + overflow: hidden; + cursor: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.pdfPresentationMode:-webkit-full-screen section:not([data-internal-link]) { + pointer-events: none; +} + +.pdfPresentationMode:fullscreen section:not([data-internal-link]) { + pointer-events: none; +} + +.pdfPresentationMode:-webkit-full-screen .textLayer span { + cursor: none; +} + +.pdfPresentationMode:fullscreen .textLayer span { + cursor: none; +} + +.pdfPresentationMode.pdfPresentationModeControls > *, +.pdfPresentationMode.pdfPresentationModeControls .textLayer span { + cursor: default; +} + +#outerContainer { + width: 100%; + height: 100%; + position: relative; +} + +#sidebarContainer { + position: absolute; + inset-block: 32px 0; + inset-inline-start: calc(-1 * var(--sidebar-width)); + width: var(--sidebar-width); + visibility: hidden; + z-index: 100; + font: message-box; + border-top: 1px solid rgba(51, 51, 51, 1); + -webkit-border-end: var(--doorhanger-border-color-whcm); + border-inline-end: var(--doorhanger-border-color-whcm); + transition-property: inset-inline-start; + transition-duration: var(--sidebar-transition-duration); + transition-timing-function: var(--sidebar-transition-timing-function); +} + +#outerContainer:is(.sidebarMoving, .sidebarOpen) #sidebarContainer { + visibility: visible; +} +#outerContainer.sidebarOpen #sidebarContainer { + inset-inline-start: 0; +} + +#mainContainer { + position: absolute; + inset: 0; + min-width: 350px; +} + +#sidebarContent { + inset-block: 32px 0; + inset-inline-start: 0; + overflow: auto; + position: absolute; + width: 100%; + box-shadow: inset calc(-1px * var(--dir-factor)) 0 0 rgba(0, 0, 0, 0.25); +} + +#viewerContainer { + overflow: auto; + position: absolute; + inset: 32px 0 0; + outline: none; +} +#viewerContainer:not(.pdfPresentationMode) { + transition-duration: var(--sidebar-transition-duration); + transition-timing-function: var(--sidebar-transition-timing-function); +} + +#outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode) { + inset-inline-start: var(--sidebar-width); + transition-property: inset-inline-start; +} + +.toolbar { + position: relative; + inset-inline: 0; + z-index: 9999; + cursor: default; + font: message-box; +} + +:is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer) + :is(input, button, select), +.secondaryToolbar :is(input, button, a, select) { + outline: none; + font: message-box; +} + +#toolbarContainer { + width: 100%; +} + +#toolbarSidebar { + width: 100%; + height: 32px; + background-color: var(--sidebar-toolbar-bg-color); + box-shadow: var(--toolbarSidebar-box-shadow); + border-bottom: var(--toolbarSidebar-border-bottom); +} + +#sidebarResizer { + position: absolute; + inset-block: 0; + inset-inline-end: -6px; + width: 6px; + z-index: 200; + cursor: ew-resize; +} + +#toolbarContainer, +.findbar, +.secondaryToolbar, +.editorParamsToolbar { + position: relative; + height: 32px; + background-color: var(--toolbar-bg-color); + box-shadow: var(--toolbar-box-shadow); + border-bottom: var(--toolbar-border-bottom); +} + +#toolbarViewer { + height: 32px; +} + +#loadingBar { + /* Define these variables here, and not in :root, to avoid reflowing the + entire viewer when updating progress (see issue 15958). */ + --progressBar-percent: 0%; + --progressBar-end-offset: 0; + + position: absolute; + inset-inline: 0 var(--progressBar-end-offset); + height: 4px; + background-color: var(--progressBar-bg-color); + border-bottom: 1px solid var(--toolbar-border-color); + transition-property: inset-inline-start; + transition-duration: var(--sidebar-transition-duration); + transition-timing-function: var(--sidebar-transition-timing-function); +} + +#outerContainer.sidebarOpen #loadingBar { + inset-inline-start: var(--sidebar-width); +} + +#loadingBar .progress { + position: absolute; + top: 0; + inset-inline-start: 0; + width: 100%; + transform: scaleX(var(--progressBar-percent)); + transform-origin: calc(50% - 50% * var(--dir-factor)) 0; + height: 100%; + background-color: var(--progressBar-color); + overflow: hidden; + transition: transform 200ms; +} + +@keyframes progressIndeterminate { + 0% { + transform: translateX(calc(-142px * var(--dir-factor))); + } + 100% { + transform: translateX(0); + } +} + +#loadingBar.indeterminate .progress { + transform: none; + background-color: var(--progressBar-bg-color); + transition: none; +} + +#loadingBar.indeterminate .progress .glimmer { + position: absolute; + top: 0; + inset-inline-start: 0; + height: 100%; + width: calc(100% + 150px); + background: repeating-linear-gradient( + 135deg, + var(--progressBar-blend-color) 0, + var(--progressBar-bg-color) 5px, + var(--progressBar-bg-color) 45px, + var(--progressBar-color) 55px, + var(--progressBar-color) 95px, + var(--progressBar-blend-color) 100px + ); + animation: progressIndeterminate 1s linear infinite; +} + +#outerContainer.sidebarResizing + :is(#sidebarContainer, #viewerContainer, #loadingBar) { + /* Improve responsiveness and avoid visual glitches when the sidebar is resized. */ + transition-duration: 0s; +} + +.findbar, +.secondaryToolbar, +.editorParamsToolbar { + top: 32px; + position: absolute; + z-index: 30000; + height: auto; + padding: 0 4px; + margin: 4px 2px; + font: message-box; + font-size: 12px; + line-height: 14px; + text-align: left; + cursor: default; +} + +.findbar { + inset-inline-start: 64px; + min-width: 300px; + background-color: var(--toolbar-bg-color); +} +.findbar > div { + height: 32px; +} +.findbar > div#findbarInputContainer { + -webkit-margin-end: 4px; + margin-inline-end: 4px; +} +.findbar.wrapContainers > div, +.findbar.wrapContainers > div#findbarMessageContainer > * { + clear: both; +} +.findbar.wrapContainers > div#findbarMessageContainer { + height: auto; +} + +.findbar input[type="checkbox"] { + pointer-events: none; +} + +.findbar label { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} + +.findbar label:hover, +.findbar input:focus-visible + label { + color: var(--toggled-btn-color); + background-color: var(--button-hover-color); +} + +.findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel { + background-color: var(--toggled-btn-bg-color) !important; + color: var(--toggled-btn-color); +} + +#findInput { + width: 200px; +} +#findInput::-moz-placeholder { + font-style: normal; +} +#findInput::placeholder { + font-style: normal; +} +#findInput[data-status="pending"] { + background-image: var(--loading-icon); + background-repeat: no-repeat; + background-position: calc(50% + 48% * var(--dir-factor)); +} +#findInput[data-status="notFound"] { + background-color: rgba(255, 102, 102, 1); +} + +.secondaryToolbar, +.editorParamsToolbar { + padding: 6px 0 10px; + inset-inline-end: 4px; + height: auto; + background-color: var(--doorhanger-bg-color); +} + +.editorParamsToolbarContainer { + width: 220px; + margin-bottom: -4px; +} + +.editorParamsToolbarContainer > .editorParamsSetter { + min-height: 26px; + display: flex; + align-items: center; + justify-content: space-between; + padding-inline: 10px; +} + +.editorParamsToolbarContainer .editorParamsLabel { + -webkit-padding-end: 10px; + padding-inline-end: 10px; + flex: none; + color: var(--main-color); +} + +.editorParamsToolbarContainer .editorParamsColor { + width: 32px; + height: 32px; + flex: none; +} + +.editorParamsToolbarContainer .editorParamsSlider { + background-color: transparent; + width: 90px; + flex: 0 1 0; +} + +.editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress { + background-color: black; +} + +.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track, +.editorParamsToolbarContainer .editorParamsSlider::-moz-range-track { + background-color: black; +} + +.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb, +.editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb { + background-color: white; +} + +#secondaryToolbarButtonContainer { + max-width: 220px; + min-height: 26px; + max-height: calc(var(--viewer-container-height) - 40px); + overflow-y: auto; + margin-bottom: -4px; +} + +#editorInkParamsToolbar { + inset-inline-end: 40px; + background-color: var(--toolbar-bg-color); +} + +#editorFreeTextParamsToolbar { + inset-inline-end: 68px; + background-color: var(--toolbar-bg-color); +} + +.doorHanger, +.doorHangerRight { + border-radius: 2px; + box-shadow: 0 1px 5px var(--doorhanger-border-color), + 0 0 0 1px var(--doorhanger-border-color); + border: var(--doorhanger-border-color-whcm); +} +:is(.doorHanger, .doorHangerRight)::after, +:is(.doorHanger, .doorHangerRight)::before { + bottom: 100%; + border: 8px solid rgba(0, 0, 0, 0); + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; + opacity: var(--doorhanger-triangle-opacity-whcm); +} +.doorHanger::after { + inset-inline-start: 10px; + -webkit-margin-start: -8px; + margin-inline-start: -8px; + border-bottom-color: var(--toolbar-bg-color); +} +.doorHangerRight::after { + inset-inline-end: 10px; + -webkit-margin-end: -8px; + margin-inline-end: -8px; + border-bottom-color: var(--doorhanger-bg-color); +} +:is(.doorHanger, .doorHangerRight)::before { + border-bottom-color: var(--doorhanger-border-color); + border-width: 9px; +} +.doorHanger::before { + inset-inline-start: 10px; + -webkit-margin-start: -9px; + margin-inline-start: -9px; +} +.doorHangerRight::before { + inset-inline-end: 10px; + -webkit-margin-end: -9px; + margin-inline-end: -9px; +} + +#findResultsCount { + background-color: rgba(217, 217, 217, 1); + color: rgba(82, 82, 82, 1); + text-align: center; + padding: 4px 5px; + margin: 5px; +} + +#findMsg[data-status="notFound"] { + font-weight: bold; +} + +:is(#findResultsCount, #findMsg):empty { + display: none; +} + +#toolbarViewerMiddle { + position: absolute; + left: 50%; + transform: translateX(-50%); +} + +#toolbarViewerLeft, +#toolbarSidebarLeft { + float: var(--inline-start); +} +#toolbarViewerRight, +#toolbarSidebarRight { + float: var(--inline-end); +} + +#toolbarViewerLeft > *, +#toolbarViewerMiddle > *, +#toolbarViewerRight > *, +#toolbarSidebarLeft *, +#toolbarSidebarRight *, +.findbar * { + position: relative; + float: var(--inline-start); +} + +#toolbarViewerLeft { + -webkit-padding-start: 1px; + padding-inline-start: 1px; +} +#toolbarViewerRight { + -webkit-padding-end: 1px; + padding-inline-end: 1px; +} +#toolbarSidebarRight { + -webkit-padding-end: 2px; + padding-inline-end: 2px; +} + +.splitToolbarButton { + margin: 2px; + display: inline-block; +} +.splitToolbarButton > .toolbarButton { + float: var(--inline-start); +} + +.toolbarButton, +.secondaryToolbarButton, +.dialogButton { + border: none; + background: none; + width: 28px; + height: 28px; + outline: none; +} + +.dialogButton:is(:hover, :focus-visible) { + background-color: var(--dialog-button-hover-bg-color); +} + +.dialogButton:is(:hover, :focus-visible) > span { + color: var(--dialog-button-hover-color); +} + +.toolbarButton > span { + display: inline-block; + width: 0; + height: 0; + overflow: hidden; +} + +:is(.toolbarButton, .secondaryToolbarButton, .dialogButton)[disabled] { + opacity: 0.5; +} + +.splitToolbarButton > .toolbarButton:is(:hover, :focus-visible), +.dropdownToolbarButton:hover { + background-color: var(--button-hover-color); +} +.splitToolbarButton > .toolbarButton { + position: relative; + margin: 0; +} +#toolbarSidebar .splitToolbarButton > .toolbarButton { + -webkit-margin-end: 2px; + margin-inline-end: 2px; +} + +.splitToolbarButtonSeparator { + float: var(--inline-start); + margin: 4px 0; + width: 1px; + height: 20px; + background-color: var(--separator-color); +} + +.toolbarButton, +.dropdownToolbarButton, +.secondaryToolbarButton, +.dialogButton { + min-width: 16px; + margin: 2px 1px; + padding: 2px 6px 0; + border: none; + border-radius: 2px; + color: var(--main-color); + font-size: 12px; + line-height: 14px; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + cursor: default; + box-sizing: border-box; +} + +.toolbarButton:is(:hover, :focus-visible) { + background-color: var(--button-hover-color); +} +.secondaryToolbarButton:is(:hover, :focus-visible) { + background-color: var(--doorhanger-hover-bg-color); + color: var(--doorhanger-hover-color); +} + +:is(.toolbarButton, .secondaryToolbarButton).toggled, +.splitToolbarButton.toggled > .toolbarButton.toggled { + background-color: var(--toggled-btn-bg-color); + color: var(--toggled-btn-color); +} + +:is(.toolbarButton, .secondaryToolbarButton).toggled::before { + background-color: var(--toggled-btn-color); +} + +:is(.toolbarButton, .secondaryToolbarButton).toggled:hover:active, +.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active { + background-color: var(--toggled-hover-active-btn-color); +} + +.dropdownToolbarButton { + /* Define this variable here, and not in :root, to avoid reflowing the + entire viewer when updating the width. */ + --scale-select-width: 140px; + + width: var(--scale-select-width); + padding: 0; + background-color: var(--dropdown-btn-bg-color); + border: var(--dropdown-btn-border); +} +.dropdownToolbarButton::after { + top: 6px; + inset-inline-end: 6px; + pointer-events: none; + -webkit-mask-image: var(--toolbarButton-menuArrow-icon); + mask-image: var(--toolbarButton-menuArrow-icon); +} + +.dropdownToolbarButton > select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + width: inherit; + height: 28px; + font-size: 12px; + color: var(--main-color); + margin: 0; + padding: 1px 0 2px; + -webkit-padding-start: 6px; + padding-inline-start: 6px; + border: none; + background-color: var(--dropdown-btn-bg-color); +} +.dropdownToolbarButton > select:is(:hover, :focus-visible) { + background-color: var(--button-hover-color); + color: var(--toggled-btn-color); +} +.dropdownToolbarButton > select > option { + background: var(--doorhanger-bg-color); + color: var(--main-color); +} + +.toolbarButtonSpacer { + width: 30px; + display: inline-block; + height: 1px; +} + +:is(.toolbarButton, .secondaryToolbarButton, .treeItemToggler)::before, +.dropdownToolbarButton::after { + /* All matching images have a size of 16x16 + * All relevant containers have a size of 28x28 */ + position: absolute; + display: inline-block; + width: 16px; + height: 16px; + + content: ""; + background-color: var(--toolbar-icon-bg-color); + -webkit-mask-size: cover; + mask-size: cover; +} + +.dropdownToolbarButton:is(:hover, :focus-visible, :active)::after { + background-color: var(--toolbar-icon-hover-bg-color); +} + +.toolbarButton::before { + opacity: var(--toolbar-icon-opacity); + top: 6px; + left: 6px; +} + +.toolbarButton:is(:hover, :focus-visible)::before, +.secondaryToolbarButton:is(:hover, :focus-visible)::before { + background-color: var(--toolbar-icon-hover-bg-color); +} + +.secondaryToolbarButton::before { + opacity: var(--doorhanger-icon-opacity); + top: 5px; + inset-inline-start: 12px; +} + +#sidebarToggle::before { + -webkit-mask-image: var(--toolbarButton-sidebarToggle-icon); + mask-image: var(--toolbarButton-sidebarToggle-icon); + transform: scaleX(var(--dir-factor)); +} + +#secondaryToolbarToggle::before { + -webkit-mask-image: var(--toolbarButton-secondaryToolbarToggle-icon); + mask-image: var(--toolbarButton-secondaryToolbarToggle-icon); + transform: scaleX(var(--dir-factor)); +} + +#findPrevious::before { + -webkit-mask-image: var(--findbarButton-previous-icon); + mask-image: var(--findbarButton-previous-icon); +} + +#findNext::before { + -webkit-mask-image: var(--findbarButton-next-icon); + mask-image: var(--findbarButton-next-icon); +} + +#previous::before { + -webkit-mask-image: var(--toolbarButton-pageUp-icon); + mask-image: var(--toolbarButton-pageUp-icon); +} + +#next::before { + -webkit-mask-image: var(--toolbarButton-pageDown-icon); + mask-image: var(--toolbarButton-pageDown-icon); +} + +#zoomOut::before { + -webkit-mask-image: var(--toolbarButton-zoomOut-icon); + mask-image: var(--toolbarButton-zoomOut-icon); +} + +#zoomIn::before { + -webkit-mask-image: var(--toolbarButton-zoomIn-icon); + mask-image: var(--toolbarButton-zoomIn-icon); +} + +#presentationMode::before { + -webkit-mask-image: var(--toolbarButton-presentationMode-icon); + mask-image: var(--toolbarButton-presentationMode-icon); +} + +#editorFreeText::before { + -webkit-mask-image: var(--toolbarButton-editorFreeText-icon); + mask-image: var(--toolbarButton-editorFreeText-icon); +} + +#editorInk::before { + -webkit-mask-image: var(--toolbarButton-editorInk-icon); + mask-image: var(--toolbarButton-editorInk-icon); +} + +#print::before, +#secondaryPrint::before { + -webkit-mask-image: var(--toolbarButton-print-icon); + mask-image: var(--toolbarButton-print-icon); +} + +:is(#openFile, #secondaryOpenFile)::before { + -webkit-mask-image: var(--toolbarButton-openFile-icon); + mask-image: var(--toolbarButton-openFile-icon); +} + +:is(#download, #secondaryDownload)::before { + -webkit-mask-image: var(--toolbarButton-download-icon); + mask-image: var(--toolbarButton-download-icon); +} + +a.secondaryToolbarButton { + padding-top: 5px; + text-decoration: none; +} +a:is(.toolbarButton, .secondaryToolbarButton)[href="#"] { + opacity: 0.5; + pointer-events: none; +} + +#viewBookmark::before { + -webkit-mask-image: var(--toolbarButton-bookmark-icon); + mask-image: var(--toolbarButton-bookmark-icon); +} + +#viewThumbnail::before { + -webkit-mask-image: var(--toolbarButton-viewThumbnail-icon); + mask-image: var(--toolbarButton-viewThumbnail-icon); +} + +#viewOutline::before { + -webkit-mask-image: var(--toolbarButton-viewOutline-icon); + mask-image: var(--toolbarButton-viewOutline-icon); + transform: scaleX(var(--dir-factor)); +} + +#viewAttachments::before { + -webkit-mask-image: var(--toolbarButton-viewAttachments-icon); + mask-image: var(--toolbarButton-viewAttachments-icon); +} + +#viewLayers::before { + -webkit-mask-image: var(--toolbarButton-viewLayers-icon); + mask-image: var(--toolbarButton-viewLayers-icon); +} + +#currentOutlineItem::before { + -webkit-mask-image: var(--toolbarButton-currentOutlineItem-icon); + mask-image: var(--toolbarButton-currentOutlineItem-icon); + transform: scaleX(var(--dir-factor)); +} + +#viewFind::before { + -webkit-mask-image: var(--toolbarButton-search-icon); + mask-image: var(--toolbarButton-search-icon); +} + +.pdfSidebarNotification::after { + position: absolute; + display: inline-block; + top: 2px; + inset-inline-end: 2px; + /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */ + content: ""; + background-color: rgba(112, 219, 85, 1); + height: 9px; + width: 9px; + border-radius: 50%; +} + +.secondaryToolbarButton { + position: relative; + margin: 0; + padding: 0 0 1px; + -webkit-padding-start: 36px; + padding-inline-start: 36px; + height: auto; + min-height: 26px; + width: auto; + min-width: 100%; + text-align: start; + white-space: normal; + border-radius: 0; + box-sizing: border-box; + display: inline-block; +} +.secondaryToolbarButton > span { + -webkit-padding-end: 4px; + padding-inline-end: 4px; +} + +#firstPage::before { + -webkit-mask-image: var(--secondaryToolbarButton-firstPage-icon); + mask-image: var(--secondaryToolbarButton-firstPage-icon); +} + +#lastPage::before { + -webkit-mask-image: var(--secondaryToolbarButton-lastPage-icon); + mask-image: var(--secondaryToolbarButton-lastPage-icon); +} + +#pageRotateCcw::before { + -webkit-mask-image: var(--secondaryToolbarButton-rotateCcw-icon); + mask-image: var(--secondaryToolbarButton-rotateCcw-icon); +} + +#pageRotateCw::before { + -webkit-mask-image: var(--secondaryToolbarButton-rotateCw-icon); + mask-image: var(--secondaryToolbarButton-rotateCw-icon); +} + +#cursorSelectTool::before { + -webkit-mask-image: var(--secondaryToolbarButton-selectTool-icon); + mask-image: var(--secondaryToolbarButton-selectTool-icon); +} + +#cursorHandTool::before { + -webkit-mask-image: var(--secondaryToolbarButton-handTool-icon); + mask-image: var(--secondaryToolbarButton-handTool-icon); +} + +#scrollPage::before { + -webkit-mask-image: var(--secondaryToolbarButton-scrollPage-icon); + mask-image: var(--secondaryToolbarButton-scrollPage-icon); +} + +#scrollVertical::before { + -webkit-mask-image: var(--secondaryToolbarButton-scrollVertical-icon); + mask-image: var(--secondaryToolbarButton-scrollVertical-icon); +} + +#scrollHorizontal::before { + -webkit-mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon); + mask-image: var(--secondaryToolbarButton-scrollHorizontal-icon); +} + +#scrollWrapped::before { + -webkit-mask-image: var(--secondaryToolbarButton-scrollWrapped-icon); + mask-image: var(--secondaryToolbarButton-scrollWrapped-icon); +} + +#spreadNone::before { + -webkit-mask-image: var(--secondaryToolbarButton-spreadNone-icon); + mask-image: var(--secondaryToolbarButton-spreadNone-icon); +} + +#spreadOdd::before { + -webkit-mask-image: var(--secondaryToolbarButton-spreadOdd-icon); + mask-image: var(--secondaryToolbarButton-spreadOdd-icon); +} + +#spreadEven::before { + -webkit-mask-image: var(--secondaryToolbarButton-spreadEven-icon); + mask-image: var(--secondaryToolbarButton-spreadEven-icon); +} + +#documentProperties::before { + -webkit-mask-image: var(--secondaryToolbarButton-documentProperties-icon); + mask-image: var(--secondaryToolbarButton-documentProperties-icon); +} + +.verticalToolbarSeparator { + display: block; + margin: 5px 2px; + width: 1px; + height: 22px; + background-color: var(--separator-color); +} +.horizontalToolbarSeparator { + display: block; + margin: 6px 0; + height: 1px; + width: 100%; + background-color: var(--doorhanger-separator-color); +} + +.toolbarField { + padding: 4px 7px; + margin: 3px 0; + border-radius: 2px; + background-color: var(--field-bg-color); + background-clip: padding-box; + border: 1px solid var(--field-border-color); + box-shadow: none; + color: var(--field-color); + font-size: 12px; + line-height: 16px; + outline: none; +} + +.toolbarField[type="checkbox"] { + opacity: 0; + position: absolute !important; + left: 0; + margin: 10px 0 3px; + -webkit-margin-start: 7px; + margin-inline-start: 7px; +} + +#pageNumber { + -moz-appearance: textfield; /* hides the spinner in moz */ + text-align: end; + width: 40px; + background-size: 0 0; + transition-property: none; +} +#pageNumber.visiblePageIsLoading { + background-image: var(--loading-icon); + background-repeat: no-repeat; + background-position: calc(50% - 42% * var(--dir-factor)); + background-size: 16px 16px; + /* Using a delay with background-image doesn't work, + consequently we use background-size. */ + transition-property: background-size; + transition-delay: var(--loading-icon-delay); +} +#pageNumber::-webkit-inner-spin-button { + -webkit-appearance: none; +} + +.toolbarField:focus { + border-color: #0a84ff; +} + +.toolbarLabel { + min-width: 16px; + padding: 7px; + margin: 2px; + border-radius: 2px; + color: var(--main-color); + font-size: 12px; + line-height: 14px; + text-align: left; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + cursor: default; +} + +#numPages.toolbarLabel { + -webkit-padding-start: 3px; + padding-inline-start: 3px; +} + +#thumbnailView, +#outlineView, +#attachmentsView, +#layersView { + position: absolute; + width: calc(100% - 8px); + inset-block: 0; + padding: 4px 4px 0; + overflow: auto; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +#thumbnailView { + width: calc(100% - 60px); + padding: 10px 30px 0; +} + +#thumbnailView > a:is(:active, :focus) { + outline: 0; +} + +.thumbnail { + /* Define these variables here, and not in :root, since the individual + thumbnails may have different sizes. */ + --thumbnail-width: 0; + --thumbnail-height: 0; + + float: var(--inline-start); + width: var(--thumbnail-width); + height: var(--thumbnail-height); + margin: 0 10px 5px; + padding: 1px; + border: 7px solid transparent; + border-radius: 2px; +} + +#thumbnailView > a:last-of-type > .thumbnail { + margin-bottom: 10px; +} + +a:focus > .thumbnail, +.thumbnail:hover { + border-color: var(--thumbnail-hover-color); +} +.thumbnail.selected { + border-color: var(--thumbnail-selected-color) !important; +} + +.thumbnailImage { + width: var(--thumbnail-width); + height: var(--thumbnail-height); + opacity: 0.9; +} +a:focus > .thumbnail > .thumbnailImage, +.thumbnail:hover > .thumbnailImage { + opacity: 0.95; +} +.thumbnail.selected > .thumbnailImage { + opacity: 1 !important; +} + +.thumbnail:not([data-loaded]) > .thumbnailImage { + width: calc(var(--thumbnail-width) - 2px); + height: calc(var(--thumbnail-height) - 2px); + border: 1px dashed rgba(132, 132, 132, 1); +} + +.treeWithDeepNesting > .treeItem, +.treeItem > .treeItems { + -webkit-margin-start: 20px; + margin-inline-start: 20px; +} + +.treeItem > a { + text-decoration: none; + display: inline-block; + /* Subtract the right padding (left, in RTL mode) of the container: */ + min-width: calc(100% - 4px); + height: auto; + margin-bottom: 1px; + padding: 2px 0 5px; + -webkit-padding-start: 4px; + padding-inline-start: 4px; + border-radius: 2px; + color: var(--treeitem-color); + font-size: 13px; + line-height: 15px; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; + white-space: normal; + cursor: pointer; +} + +#layersView .treeItem > a * { + cursor: pointer; +} +#layersView .treeItem > a > label { + -webkit-padding-start: 4px; + padding-inline-start: 4px; +} +#layersView .treeItem > a > label > input { + float: var(--inline-start); + margin-top: 1px; +} + +.treeItemToggler { + position: relative; + float: var(--inline-start); + height: 0; + width: 0; + color: rgba(255, 255, 255, 0.5); +} +.treeItemToggler::before { + inset-inline-end: 4px; + -webkit-mask-image: var(--treeitem-expanded-icon); + mask-image: var(--treeitem-expanded-icon); +} +.treeItemToggler.treeItemsHidden::before { + -webkit-mask-image: var(--treeitem-collapsed-icon); + mask-image: var(--treeitem-collapsed-icon); + transform: scaleX(var(--dir-factor)); +} +.treeItemToggler.treeItemsHidden ~ .treeItems { + display: none; +} + +.treeItem.selected > a { + background-color: var(--treeitem-selected-bg-color); + color: var(--treeitem-selected-color); +} + +.treeItemToggler:hover, +.treeItemToggler:hover + a, +.treeItemToggler:hover ~ .treeItems, +.treeItem > a:hover { + background-color: var(--treeitem-bg-color); + background-clip: padding-box; + border-radius: 2px; + color: var(--treeitem-hover-color); +} + +.dialogButton { + width: auto; + margin: 3px 4px 2px !important; + padding: 2px 11px; + color: var(--main-color); + background-color: var(--dialog-button-bg-color); + border: var(--dialog-button-border) !important; +} + +dialog { + margin: auto; + padding: 15px; + border-spacing: 4px; + color: var(--main-color); + font: message-box; + font-size: 12px; + line-height: 14px; + background-color: var(--doorhanger-bg-color); + border: 1px solid rgba(0, 0, 0, 0.5); + border-radius: 4px; + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); +} +dialog::backdrop { + background-color: rgba(0, 0, 0, 0.2); +} + +dialog > .row { + display: table-row; +} + +dialog > .row > * { + display: table-cell; +} + +dialog .toolbarField { + margin: 5px 0; +} + +dialog .separator { + display: block; + margin: 4px 0; + height: 1px; + width: 100%; + background-color: var(--separator-color); +} + +dialog .buttonRow { + text-align: center; + vertical-align: middle; +} + +dialog :link { + color: rgba(255, 255, 255, 1); +} + +#passwordDialog { + text-align: center; +} +#passwordDialog .toolbarField { + width: 200px; +} + +#documentPropertiesDialog { + text-align: left; +} +#documentPropertiesDialog .row > * { + min-width: 100px; + text-align: start; +} +#documentPropertiesDialog .row > span { + width: 125px; + word-wrap: break-word; +} +#documentPropertiesDialog .row > p { + max-width: 225px; + word-wrap: break-word; +} +#documentPropertiesDialog .buttonRow { + margin-top: 10px; +} + +.grab-to-pan-grab { + cursor: grab !important; +} +.grab-to-pan-grab + *:not(input):not(textarea):not(button):not(select):not(:link) { + cursor: inherit !important; +} +.grab-to-pan-grab:active, +.grab-to-pan-grabbing { + cursor: grabbing !important; + position: fixed; + background: rgba(0, 0, 0, 0); + display: block; + inset: 0; + overflow: hidden; + z-index: 50000; /* should be higher than anything else in PDF.js! */ +} + +@page { + margin: 0; +} + +#printContainer { + display: none; +} + +@media print { + body { + background: rgba(0, 0, 0, 0) none; + } + body[data-pdfjsprinting] #outerContainer { + display: none; + } + body[data-pdfjsprinting] #printContainer { + display: block; + } + #printContainer { + height: 100%; + } + /* wrapper around (scaled) print canvas elements */ + #printContainer > .printedPage { + page-break-after: auto; + page-break-inside: avoid; + + /* The wrapper always cover the whole page. */ + height: 100%; + width: 100%; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + #printContainer > .xfaPrintedPage .xfaPage { + position: absolute; + } + + #printContainer > .xfaPrintedPage { + page-break-after: always; + page-break-inside: avoid; + width: 100%; + height: 100%; + position: relative; + } + + #printContainer > .printedPage :is(canvas, img) { + /* The intrinsic canvas / image size will make sure that we fit the page. */ + max-width: 100%; + max-height: 100%; + + direction: ltr; + display: block; + } +} + +.visibleLargeView, +.visibleMediumView { + display: none; +} + +@media all and (max-width: 900px) { + #toolbarViewerMiddle { + display: table; + margin: auto; + left: auto; + position: inherit; + transform: none; + } +} + +@media all and (max-width: 840px) { + #sidebarContainer { + background-color: var(--sidebar-narrow-bg-color); + } + #outerContainer.sidebarOpen #viewerContainer { + inset-inline-start: 0 !important; + } +} + +@media all and (max-width: 820px) { + #outerContainer .hiddenLargeView { + display: none; + } + #outerContainer .visibleLargeView { + display: inherit; + } +} + +@media all and (max-width: 750px) { + #outerContainer .hiddenMediumView { + display: none; + } + #outerContainer .visibleMediumView { + display: inherit; + } +} + +@media all and (max-width: 690px) { + .hiddenSmallView, + .hiddenSmallView * { + display: none; + } + .toolbarButtonSpacer { + width: 0; + } + .findbar { + inset-inline-start: 34px; + } +} + +@media all and (max-width: 560px) { + #scaleSelectContainer { + display: none; + } +} diff --git a/media/js/pdf/web/viewer.js b/media/js/pdf/web/viewer.js new file mode 100644 index 0000000000..a52df1b9bc --- /dev/null +++ b/media/js/pdf/web/viewer.js @@ -0,0 +1,13794 @@ +/** + * @licstart The following is the entire license notice for the + * JavaScript code in this page + * + * Copyright 2023 Mozilla Foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * @licend The above is the entire license notice for the + * JavaScript code in this page + */ + +/******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ([ +/* 0 */, +/* 1 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GenericCom = void 0; +var _app = __webpack_require__(2); +var _preferences = __webpack_require__(41); +var _download_manager = __webpack_require__(42); +var _genericl10n = __webpack_require__(43); +var _generic_scripting = __webpack_require__(45); +; +const GenericCom = {}; +exports.GenericCom = GenericCom; +class GenericPreferences extends _preferences.BasePreferences { + async _writeToStorage(prefObj) { + localStorage.setItem("pdfjs.preferences", JSON.stringify(prefObj)); + } + async _readFromStorage(prefObj) { + return JSON.parse(localStorage.getItem("pdfjs.preferences")); + } +} +class GenericExternalServices extends _app.DefaultExternalServices { + static createDownloadManager() { + return new _download_manager.DownloadManager(); + } + static createPreferences() { + return new GenericPreferences(); + } + static createL10n({ + locale = "en-US" + }) { + return new _genericl10n.GenericL10n(locale); + } + static createScripting({ + sandboxBundleSrc + }) { + return new _generic_scripting.GenericScripting(sandboxBundleSrc); + } +} +_app.PDFViewerApplication.externalServices = GenericExternalServices; + +/***/ }), +/* 2 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFViewerApplication = exports.PDFPrintServiceFactory = exports.DefaultExternalServices = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +var _app_options = __webpack_require__(5); +var _event_utils = __webpack_require__(6); +var _pdf_link_service = __webpack_require__(7); +var _webAnnotation_editor_params = __webpack_require__(8); +var _overlay_manager = __webpack_require__(9); +var _password_prompt = __webpack_require__(10); +var _webPdf_attachment_viewer = __webpack_require__(11); +var _webPdf_cursor_tools = __webpack_require__(13); +var _webPdf_document_properties = __webpack_require__(15); +var _webPdf_find_bar = __webpack_require__(16); +var _pdf_find_controller = __webpack_require__(17); +var _pdf_history = __webpack_require__(19); +var _webPdf_layer_viewer = __webpack_require__(20); +var _webPdf_outline_viewer = __webpack_require__(21); +var _webPdf_presentation_mode = __webpack_require__(22); +var _pdf_rendering_queue = __webpack_require__(23); +var _pdf_scripting_manager = __webpack_require__(24); +var _webPdf_sidebar = __webpack_require__(25); +var _webPdf_thumbnail_viewer = __webpack_require__(26); +var _pdf_viewer = __webpack_require__(28); +var _webSecondary_toolbar = __webpack_require__(38); +var _webToolbar = __webpack_require__(39); +var _view_history = __webpack_require__(40); +const FORCE_PAGES_LOADED_TIMEOUT = 10000; +const WHEEL_ZOOM_DISABLED_TIMEOUT = 1000; +const ViewOnLoad = { + UNKNOWN: -1, + PREVIOUS: 0, + INITIAL: 1 +}; +const ViewerCssTheme = { + AUTOMATIC: 0, + LIGHT: 1, + DARK: 2 +}; +class DefaultExternalServices { + constructor() { + throw new Error("Cannot initialize DefaultExternalServices."); + } + static updateFindControlState(data) {} + static updateFindMatchesCount(data) {} + static initPassiveLoading(callbacks) {} + static reportTelemetry(data) {} + static createDownloadManager() { + throw new Error("Not implemented: createDownloadManager"); + } + static createPreferences() { + throw new Error("Not implemented: createPreferences"); + } + static createL10n(options) { + throw new Error("Not implemented: createL10n"); + } + static createScripting(options) { + throw new Error("Not implemented: createScripting"); + } + static get supportsPinchToZoom() { + return (0, _pdfjsLib.shadow)(this, "supportsPinchToZoom", true); + } + static get supportsIntegratedFind() { + return (0, _pdfjsLib.shadow)(this, "supportsIntegratedFind", false); + } + static get supportsDocumentFonts() { + return (0, _pdfjsLib.shadow)(this, "supportsDocumentFonts", true); + } + static get supportedMouseWheelZoomModifierKeys() { + return (0, _pdfjsLib.shadow)(this, "supportedMouseWheelZoomModifierKeys", { + ctrlKey: true, + metaKey: true + }); + } + static get isInAutomation() { + return (0, _pdfjsLib.shadow)(this, "isInAutomation", false); + } + static updateEditorStates(data) { + throw new Error("Not implemented: updateEditorStates"); + } + static get canvasMaxAreaInBytes() { + return (0, _pdfjsLib.shadow)(this, "canvasMaxAreaInBytes", -1); + } + static getNimbusExperimentData() { + return (0, _pdfjsLib.shadow)(this, "getNimbusExperimentData", Promise.resolve(null)); + } +} +exports.DefaultExternalServices = DefaultExternalServices; +const PDFViewerApplication = { + initialBookmark: document.location.hash.substring(1), + _initializedCapability: new _pdfjsLib.PromiseCapability(), + appConfig: null, + pdfDocument: null, + pdfLoadingTask: null, + printService: null, + pdfViewer: null, + pdfThumbnailViewer: null, + pdfRenderingQueue: null, + pdfPresentationMode: null, + pdfDocumentProperties: null, + pdfLinkService: null, + pdfHistory: null, + pdfSidebar: null, + pdfOutlineViewer: null, + pdfAttachmentViewer: null, + pdfLayerViewer: null, + pdfCursorTools: null, + pdfScriptingManager: null, + store: null, + downloadManager: null, + overlayManager: null, + preferences: null, + toolbar: null, + secondaryToolbar: null, + eventBus: null, + l10n: null, + annotationEditorParams: null, + isInitialViewSet: false, + downloadComplete: false, + isViewerEmbedded: window.parent !== window, + url: "", + baseUrl: "", + _downloadUrl: "", + externalServices: DefaultExternalServices, + _boundEvents: Object.create(null), + documentInfo: null, + metadata: null, + _contentDispositionFilename: null, + _contentLength: null, + _saveInProgress: false, + _wheelUnusedTicks: 0, + _wheelUnusedFactor: 1, + _touchUnusedTicks: 0, + _touchUnusedFactor: 1, + _PDFBug: null, + _hasAnnotationEditors: false, + _title: document.title, + _printAnnotationStoragePromise: null, + _touchInfo: null, + _isCtrlKeyDown: false, + _nimbusDataPromise: null, + async initialize(appConfig) { + this.preferences = this.externalServices.createPreferences(); + this.appConfig = appConfig; + await this._initializeOptions(); + this._forceCssTheme(); + await this._initializeL10n(); + if (this.isViewerEmbedded && _app_options.AppOptions.get("externalLinkTarget") === _pdf_link_service.LinkTarget.NONE) { + _app_options.AppOptions.set("externalLinkTarget", _pdf_link_service.LinkTarget.TOP); + } + await this._initializeViewerComponents(); + this.bindEvents(); + this.bindWindowEvents(); + const appContainer = appConfig.appContainer || document.documentElement; + this.l10n.translate(appContainer).then(() => { + this.eventBus.dispatch("localized", { + source: this + }); + }); + this._initializedCapability.resolve(); + }, + async _initializeOptions() { + if (_app_options.AppOptions.get("disablePreferences")) { + if (_app_options.AppOptions.get("pdfBugEnabled")) { + await this._parseHashParams(); + } + return; + } + if (_app_options.AppOptions._hasUserOptions()) { + console.warn("_initializeOptions: The Preferences may override manually set AppOptions; " + 'please use the "disablePreferences"-option in order to prevent that.'); + } + try { + _app_options.AppOptions.setAll(await this.preferences.getAll()); + } catch (reason) { + console.error(`_initializeOptions: "${reason.message}".`); + } + if (_app_options.AppOptions.get("pdfBugEnabled")) { + await this._parseHashParams(); + } + }, + async _parseHashParams() { + const hash = document.location.hash.substring(1); + if (!hash) { + return; + } + const { + mainContainer, + viewerContainer + } = this.appConfig, + params = (0, _ui_utils.parseQueryString)(hash); + if (params.get("disableworker") === "true") { + try { + await loadFakeWorker(); + } catch (ex) { + console.error(`_parseHashParams: "${ex.message}".`); + } + } + if (params.has("disablerange")) { + _app_options.AppOptions.set("disableRange", params.get("disablerange") === "true"); + } + if (params.has("disablestream")) { + _app_options.AppOptions.set("disableStream", params.get("disablestream") === "true"); + } + if (params.has("disableautofetch")) { + _app_options.AppOptions.set("disableAutoFetch", params.get("disableautofetch") === "true"); + } + if (params.has("disablefontface")) { + _app_options.AppOptions.set("disableFontFace", params.get("disablefontface") === "true"); + } + if (params.has("disablehistory")) { + _app_options.AppOptions.set("disableHistory", params.get("disablehistory") === "true"); + } + if (params.has("verbosity")) { + _app_options.AppOptions.set("verbosity", params.get("verbosity") | 0); + } + if (params.has("textlayer")) { + switch (params.get("textlayer")) { + case "off": + _app_options.AppOptions.set("textLayerMode", _ui_utils.TextLayerMode.DISABLE); + break; + case "visible": + case "shadow": + case "hover": + viewerContainer.classList.add(`textLayer-${params.get("textlayer")}`); + try { + await loadPDFBug(this); + this._PDFBug.loadCSS(); + } catch (ex) { + console.error(`_parseHashParams: "${ex.message}".`); + } + break; + } + } + if (params.has("pdfbug")) { + _app_options.AppOptions.set("pdfBug", true); + _app_options.AppOptions.set("fontExtraProperties", true); + const enabled = params.get("pdfbug").split(","); + try { + await loadPDFBug(this); + this._PDFBug.init({ + OPS: _pdfjsLib.OPS + }, mainContainer, enabled); + } catch (ex) { + console.error(`_parseHashParams: "${ex.message}".`); + } + } + if (params.has("locale")) { + _app_options.AppOptions.set("locale", params.get("locale")); + } + }, + async _initializeL10n() { + this.l10n = this.externalServices.createL10n({ + locale: _app_options.AppOptions.get("locale") + }); + const dir = await this.l10n.getDirection(); + document.getElementsByTagName("html")[0].dir = dir; + }, + _forceCssTheme() { + const cssTheme = _app_options.AppOptions.get("viewerCssTheme"); + if (cssTheme === ViewerCssTheme.AUTOMATIC || !Object.values(ViewerCssTheme).includes(cssTheme)) { + return; + } + try { + const styleSheet = document.styleSheets[0]; + const cssRules = styleSheet?.cssRules || []; + for (let i = 0, ii = cssRules.length; i < ii; i++) { + const rule = cssRules[i]; + if (rule instanceof CSSMediaRule && rule.media?.[0] === "(prefers-color-scheme: dark)") { + if (cssTheme === ViewerCssTheme.LIGHT) { + styleSheet.deleteRule(i); + return; + } + const darkRules = /^@media \(prefers-color-scheme: dark\) {\n\s*([\w\s-.,:;/\\{}()]+)\n}$/.exec(rule.cssText); + if (darkRules?.[1]) { + styleSheet.deleteRule(i); + styleSheet.insertRule(darkRules[1], i); + } + return; + } + } + } catch (reason) { + console.error(`_forceCssTheme: "${reason?.message}".`); + } + }, + async _initializeViewerComponents() { + const { + appConfig, + externalServices, + l10n + } = this; + const eventBus = externalServices.isInAutomation ? new _event_utils.AutomationEventBus() : new _event_utils.EventBus(); + this.eventBus = eventBus; + this.overlayManager = new _overlay_manager.OverlayManager(); + const pdfRenderingQueue = new _pdf_rendering_queue.PDFRenderingQueue(); + pdfRenderingQueue.onIdle = this._cleanup.bind(this); + this.pdfRenderingQueue = pdfRenderingQueue; + const pdfLinkService = new _pdf_link_service.PDFLinkService({ + eventBus, + externalLinkTarget: _app_options.AppOptions.get("externalLinkTarget"), + externalLinkRel: _app_options.AppOptions.get("externalLinkRel"), + ignoreDestinationZoom: _app_options.AppOptions.get("ignoreDestinationZoom") + }); + this.pdfLinkService = pdfLinkService; + const downloadManager = externalServices.createDownloadManager(); + this.downloadManager = downloadManager; + const findController = new _pdf_find_controller.PDFFindController({ + linkService: pdfLinkService, + eventBus, + updateMatchesCountOnProgress: true + }); + this.findController = findController; + const pdfScriptingManager = new _pdf_scripting_manager.PDFScriptingManager({ + eventBus, + sandboxBundleSrc: _app_options.AppOptions.get("sandboxBundleSrc"), + externalServices, + docProperties: this._scriptingDocProperties.bind(this) + }); + this.pdfScriptingManager = pdfScriptingManager; + const container = appConfig.mainContainer, + viewer = appConfig.viewerContainer; + const annotationEditorMode = _app_options.AppOptions.get("annotationEditorMode"); + const pageColors = _app_options.AppOptions.get("forcePageColors") || window.matchMedia("(forced-colors: active)").matches ? { + background: _app_options.AppOptions.get("pageColorsBackground"), + foreground: _app_options.AppOptions.get("pageColorsForeground") + } : null; + const pdfViewer = new _pdf_viewer.PDFViewer({ + container, + viewer, + eventBus, + renderingQueue: pdfRenderingQueue, + linkService: pdfLinkService, + downloadManager, + findController, + scriptingManager: _app_options.AppOptions.get("enableScripting") && pdfScriptingManager, + l10n, + textLayerMode: _app_options.AppOptions.get("textLayerMode"), + annotationMode: _app_options.AppOptions.get("annotationMode"), + annotationEditorMode, + imageResourcesPath: _app_options.AppOptions.get("imageResourcesPath"), + enablePrintAutoRotate: _app_options.AppOptions.get("enablePrintAutoRotate"), + useOnlyCssZoom: _app_options.AppOptions.get("useOnlyCssZoom"), + isOffscreenCanvasSupported: _app_options.AppOptions.get("isOffscreenCanvasSupported"), + maxCanvasPixels: _app_options.AppOptions.get("maxCanvasPixels"), + enablePermissions: _app_options.AppOptions.get("enablePermissions"), + pageColors + }); + this.pdfViewer = pdfViewer; + pdfRenderingQueue.setViewer(pdfViewer); + pdfLinkService.setViewer(pdfViewer); + pdfScriptingManager.setViewer(pdfViewer); + if (appConfig.sidebar?.thumbnailView) { + this.pdfThumbnailViewer = new _webPdf_thumbnail_viewer.PDFThumbnailViewer({ + container: appConfig.sidebar.thumbnailView, + eventBus, + renderingQueue: pdfRenderingQueue, + linkService: pdfLinkService, + l10n, + pageColors + }); + pdfRenderingQueue.setThumbnailViewer(this.pdfThumbnailViewer); + } + if (!this.isViewerEmbedded && !_app_options.AppOptions.get("disableHistory")) { + this.pdfHistory = new _pdf_history.PDFHistory({ + linkService: pdfLinkService, + eventBus + }); + pdfLinkService.setHistory(this.pdfHistory); + } + if (!this.supportsIntegratedFind && appConfig.findBar) { + this.findBar = new _webPdf_find_bar.PDFFindBar(appConfig.findBar, eventBus, l10n); + } + if (appConfig.annotationEditorParams) { + if (annotationEditorMode !== _pdfjsLib.AnnotationEditorType.DISABLE) { + this.annotationEditorParams = new _webAnnotation_editor_params.AnnotationEditorParams(appConfig.annotationEditorParams, eventBus); + } else { + for (const id of ["editorModeButtons", "editorModeSeparator"]) { + document.getElementById(id)?.classList.add("hidden"); + } + } + } + if (appConfig.documentProperties) { + this.pdfDocumentProperties = new _webPdf_document_properties.PDFDocumentProperties(appConfig.documentProperties, this.overlayManager, eventBus, l10n, () => this._docFilename); + } + if (appConfig.secondaryToolbar?.cursorHandToolButton) { + this.pdfCursorTools = new _webPdf_cursor_tools.PDFCursorTools({ + container, + eventBus, + cursorToolOnLoad: _app_options.AppOptions.get("cursorToolOnLoad") + }); + } + if (appConfig.toolbar) { + this.toolbar = new _webToolbar.Toolbar(appConfig.toolbar, eventBus, l10n); + } + if (appConfig.secondaryToolbar) { + this.secondaryToolbar = new _webSecondary_toolbar.SecondaryToolbar(appConfig.secondaryToolbar, eventBus, externalServices); + } + if (this.supportsFullscreen && appConfig.secondaryToolbar?.presentationModeButton) { + this.pdfPresentationMode = new _webPdf_presentation_mode.PDFPresentationMode({ + container, + pdfViewer, + eventBus + }); + } + if (appConfig.passwordOverlay) { + this.passwordPrompt = new _password_prompt.PasswordPrompt(appConfig.passwordOverlay, this.overlayManager, l10n, this.isViewerEmbedded); + } + if (appConfig.sidebar?.outlineView) { + this.pdfOutlineViewer = new _webPdf_outline_viewer.PDFOutlineViewer({ + container: appConfig.sidebar.outlineView, + eventBus, + linkService: pdfLinkService, + downloadManager + }); + } + if (appConfig.sidebar?.attachmentsView) { + this.pdfAttachmentViewer = new _webPdf_attachment_viewer.PDFAttachmentViewer({ + container: appConfig.sidebar.attachmentsView, + eventBus, + downloadManager + }); + } + if (appConfig.sidebar?.layersView) { + this.pdfLayerViewer = new _webPdf_layer_viewer.PDFLayerViewer({ + container: appConfig.sidebar.layersView, + eventBus, + l10n + }); + } + if (appConfig.sidebar) { + this.pdfSidebar = new _webPdf_sidebar.PDFSidebar({ + elements: appConfig.sidebar, + eventBus, + l10n + }); + this.pdfSidebar.onToggled = this.forceRendering.bind(this); + this.pdfSidebar.onUpdateThumbnails = () => { + for (const pageView of pdfViewer.getCachedPageViews()) { + if (pageView.renderingState === _ui_utils.RenderingStates.FINISHED) { + this.pdfThumbnailViewer.getThumbnail(pageView.id - 1)?.setImage(pageView); + } + } + this.pdfThumbnailViewer.scrollThumbnailIntoView(pdfViewer.currentPageNumber); + }; + } + }, + async run(config) { + await this.initialize(config); + const { + appConfig, + eventBus, + l10n + } = this; + /* these lines are not needed in SEAFILE. + * + let file; + const queryString = document.location.search.substring(1); + const params = (0, _ui_utils.parseQueryString)(queryString); + file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl"); + validateFileURL(file); + */ + const file = _app_options.AppOptions.get("defaultUrl"); + const fileInput = appConfig.openFileInput; + fileInput.value = null; + fileInput.addEventListener("change", function (evt) { + const { + files + } = evt.target; + if (!files || files.length === 0) { + return; + } + eventBus.dispatch("fileinputchange", { + source: this, + fileInput: evt.target + }); + }); + appConfig.mainContainer.addEventListener("dragover", function (evt) { + evt.preventDefault(); + evt.dataTransfer.dropEffect = evt.dataTransfer.effectAllowed === "copy" ? "copy" : "move"; + }); + appConfig.mainContainer.addEventListener("drop", function (evt) { + evt.preventDefault(); + const { + files + } = evt.dataTransfer; + if (!files || files.length === 0) { + return; + } + eventBus.dispatch("fileinputchange", { + source: this, + fileInput: evt.dataTransfer + }); + }); + if (!this.supportsDocumentFonts) { + _app_options.AppOptions.set("disableFontFace", true); + l10n.get("web_fonts_disabled").then(msg => { + console.warn(msg); + }); + } + if (!this.supportsPrinting) { + appConfig.toolbar?.print?.classList.add("hidden"); + appConfig.secondaryToolbar?.printButton.classList.add("hidden"); + } + if (!this.supportsFullscreen) { + appConfig.secondaryToolbar?.presentationModeButton.classList.add("hidden"); + } + if (this.supportsIntegratedFind) { + appConfig.toolbar?.viewFind?.classList.add("hidden"); + } + appConfig.mainContainer.addEventListener("transitionend", function (evt) { + if (evt.target === this) { + eventBus.dispatch("resize", { + source: this + }); + } + }, true); + try { + if (file) { + this.open({ + url: file + }); + } else { + this._hideViewBookmark(); + } + } catch (reason) { + l10n.get("loading_error").then(msg => { + this._documentError(msg, reason); + }); + } + }, + get initialized() { + return this._initializedCapability.settled; + }, + get initializedPromise() { + return this._initializedCapability.promise; + }, + zoomIn(steps, scaleFactor) { + if (this.pdfViewer.isInPresentationMode) { + return; + } + this.pdfViewer.increaseScale({ + drawingDelay: _app_options.AppOptions.get("defaultZoomDelay"), + steps, + scaleFactor + }); + }, + zoomOut(steps, scaleFactor) { + if (this.pdfViewer.isInPresentationMode) { + return; + } + this.pdfViewer.decreaseScale({ + drawingDelay: _app_options.AppOptions.get("defaultZoomDelay"), + steps, + scaleFactor + }); + }, + zoomReset() { + if (this.pdfViewer.isInPresentationMode) { + return; + } + this.pdfViewer.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + }, + get pagesCount() { + return this.pdfDocument ? this.pdfDocument.numPages : 0; + }, + get page() { + return this.pdfViewer.currentPageNumber; + }, + set page(val) { + this.pdfViewer.currentPageNumber = val; + }, + get supportsPrinting() { + return PDFPrintServiceFactory.instance.supportsPrinting; + }, + get supportsFullscreen() { + return (0, _pdfjsLib.shadow)(this, "supportsFullscreen", document.fullscreenEnabled); + }, + get supportsPinchToZoom() { + return this.externalServices.supportsPinchToZoom; + }, + get supportsIntegratedFind() { + return this.externalServices.supportsIntegratedFind; + }, + get supportsDocumentFonts() { + return this.externalServices.supportsDocumentFonts; + }, + get loadingBar() { + const barElement = document.getElementById("loadingBar"); + const bar = barElement ? new _ui_utils.ProgressBar(barElement) : null; + return (0, _pdfjsLib.shadow)(this, "loadingBar", bar); + }, + get supportedMouseWheelZoomModifierKeys() { + return this.externalServices.supportedMouseWheelZoomModifierKeys; + }, + initPassiveLoading(file) { + throw new Error("Not implemented: initPassiveLoading"); + }, + setTitleUsingUrl(url = "", downloadUrl = null) { + this.url = url; + this.baseUrl = url.split("#")[0]; + if (downloadUrl) { + this._downloadUrl = downloadUrl === url ? this.baseUrl : downloadUrl.split("#")[0]; + } + if ((0, _pdfjsLib.isDataScheme)(url)) { + this._hideViewBookmark(); + } + let title = (0, _pdfjsLib.getPdfFilenameFromUrl)(url, ""); + if (!title) { + try { + title = decodeURIComponent((0, _pdfjsLib.getFilenameFromUrl)(url)) || url; + } catch { + title = url; + } + } + this.setTitle(title); + }, + setTitle(title = this._title) { + this._title = title; + if (this.isViewerEmbedded) { + return; + } + const editorIndicator = this._hasAnnotationEditors && !this.pdfRenderingQueue.printing; + document.title = `${editorIndicator ? "* " : ""}${title}`; + }, + get _docFilename() { + return this._contentDispositionFilename || (0, _pdfjsLib.getPdfFilenameFromUrl)(this.url); + }, + _hideViewBookmark() { + const { + secondaryToolbar + } = this.appConfig; + secondaryToolbar?.viewBookmarkButton.classList.add("hidden"); + if (secondaryToolbar?.presentationModeButton.classList.contains("hidden")) { + document.getElementById("viewBookmarkSeparator")?.classList.add("hidden"); + } + }, + async close() { + this._unblockDocumentLoadEvent(); + this._hideViewBookmark(); + if (!this.pdfLoadingTask) { + return; + } + if (this.pdfDocument?.annotationStorage.size > 0 && this._annotationStorageModified) { + try { + await this.save(); + } catch {} + } + const promises = []; + promises.push(this.pdfLoadingTask.destroy()); + this.pdfLoadingTask = null; + if (this.pdfDocument) { + this.pdfDocument = null; + this.pdfThumbnailViewer?.setDocument(null); + this.pdfViewer.setDocument(null); + this.pdfLinkService.setDocument(null); + this.pdfDocumentProperties?.setDocument(null); + } + this.pdfLinkService.externalLinkEnabled = true; + this.store = null; + this.isInitialViewSet = false; + this.downloadComplete = false; + this.url = ""; + this.baseUrl = ""; + this._downloadUrl = ""; + this.documentInfo = null; + this.metadata = null; + this._contentDispositionFilename = null; + this._contentLength = null; + this._saveInProgress = false; + this._hasAnnotationEditors = false; + promises.push(this.pdfScriptingManager.destroyPromise); + this.setTitle(); + this.pdfSidebar?.reset(); + this.pdfOutlineViewer?.reset(); + this.pdfAttachmentViewer?.reset(); + this.pdfLayerViewer?.reset(); + this.pdfHistory?.reset(); + this.findBar?.reset(); + this.toolbar?.reset(); + this.secondaryToolbar?.reset(); + this._PDFBug?.cleanup(); + await Promise.all(promises); + }, + async open(args) { + let deprecatedArgs = false; + if (typeof args === "string") { + args = { + url: args + }; + deprecatedArgs = true; + } else if (args?.byteLength) { + args = { + data: args + }; + deprecatedArgs = true; + } + if (deprecatedArgs) { + console.error("The `PDFViewerApplication.open` signature was updated, please use an object instead."); + } + if (this.pdfLoadingTask) { + await this.close(); + } + const workerParams = _app_options.AppOptions.getAll(_app_options.OptionKind.WORKER); + Object.assign(_pdfjsLib.GlobalWorkerOptions, workerParams); + if (args.url) { + this.setTitleUsingUrl(args.originalUrl || args.url, args.url); + } + const apiParams = _app_options.AppOptions.getAll(_app_options.OptionKind.API); + const params = { + canvasMaxAreaInBytes: this.externalServices.canvasMaxAreaInBytes, + ...apiParams, + ...args + }; + const loadingTask = (0, _pdfjsLib.getDocument)(params); + this.pdfLoadingTask = loadingTask; + loadingTask.onPassword = (updateCallback, reason) => { + if (this.isViewerEmbedded) { + this._unblockDocumentLoadEvent(); + } + this.pdfLinkService.externalLinkEnabled = false; + this.passwordPrompt.setUpdateCallback(updateCallback, reason); + this.passwordPrompt.open(); + }; + loadingTask.onProgress = ({ + loaded, + total + }) => { + this.progress(loaded / total); + }; + return loadingTask.promise.then(pdfDocument => { + this.load(pdfDocument); + }, reason => { + if (loadingTask !== this.pdfLoadingTask) { + return undefined; + } + let key = "loading_error"; + if (reason instanceof _pdfjsLib.InvalidPDFException) { + key = "invalid_file_error"; + } else if (reason instanceof _pdfjsLib.MissingPDFException) { + key = "missing_file_error"; + } else if (reason instanceof _pdfjsLib.UnexpectedResponseException) { + key = "unexpected_response_error"; + } + return this.l10n.get(key).then(msg => { + this._documentError(msg, { + message: reason?.message + }); + throw reason; + }); + }); + }, + _ensureDownloadComplete() { + if (this.pdfDocument && this.downloadComplete) { + return; + } + throw new Error("PDF document not downloaded."); + }, + async download(options = {}) { + const url = this._downloadUrl, + filename = this._docFilename; + try { + this._ensureDownloadComplete(); + const data = await this.pdfDocument.getData(); + const blob = new Blob([data], { + type: "application/pdf" + }); + await this.downloadManager.download(blob, url, filename, options); + } catch { + await this.downloadManager.downloadUrl(url, filename, options); + } + }, + async save(options = {}) { + if (this._saveInProgress) { + return; + } + this._saveInProgress = true; + await this.pdfScriptingManager.dispatchWillSave(); + const url = this._downloadUrl, + filename = this._docFilename; + try { + this._ensureDownloadComplete(); + const data = await this.pdfDocument.saveDocument(); + const blob = new Blob([data], { + type: "application/pdf" + }); + await this.downloadManager.download(blob, url, filename, options); + } catch (reason) { + console.error(`Error when saving the document: ${reason.message}`); + await this.download(options); + } finally { + await this.pdfScriptingManager.dispatchDidSave(); + this._saveInProgress = false; + } + if (this._hasAnnotationEditors) { + this.externalServices.reportTelemetry({ + type: "editing", + data: { + type: "save" + } + }); + } + }, + downloadOrSave(options = {}) { + if (this.pdfDocument?.annotationStorage.size > 0) { + this.save(options); + } else { + this.download(options); + } + }, + openInExternalApp() { + this.downloadOrSave({ + openInExternalApp: true + }); + }, + _documentError(message, moreInfo = null) { + this._unblockDocumentLoadEvent(); + this._otherError(message, moreInfo); + this.eventBus.dispatch("documenterror", { + source: this, + message, + reason: moreInfo?.message ?? null + }); + }, + _otherError(message, moreInfo = null) { + const moreInfoText = [`PDF.js v${_pdfjsLib.version || "?"} (build: ${_pdfjsLib.build || "?"})`]; + if (moreInfo) { + moreInfoText.push(`Message: ${moreInfo.message}`); + if (moreInfo.stack) { + moreInfoText.push(`Stack: ${moreInfo.stack}`); + } else { + if (moreInfo.filename) { + moreInfoText.push(`File: ${moreInfo.filename}`); + } + if (moreInfo.lineNumber) { + moreInfoText.push(`Line: ${moreInfo.lineNumber}`); + } + } + } + console.error(`${message}\n\n${moreInfoText.join("\n")}`); + }, + progress(level) { + if (!this.loadingBar || this.downloadComplete) { + return; + } + const percent = Math.round(level * 100); + if (percent <= this.loadingBar.percent) { + return; + } + this.loadingBar.percent = percent; + if (this.pdfDocument?.loadingParams.disableAutoFetch ?? _app_options.AppOptions.get("disableAutoFetch")) { + this.loadingBar.setDisableAutoFetch(); + } + }, + load(pdfDocument) { + this.pdfDocument = pdfDocument; + pdfDocument.getDownloadInfo().then(({ + length + }) => { + this._contentLength = length; + this.downloadComplete = true; + this.loadingBar?.hide(); + firstPagePromise.then(() => { + this.eventBus.dispatch("documentloaded", { + source: this + }); + }); + }); + const pageLayoutPromise = pdfDocument.getPageLayout().catch(function () {}); + const pageModePromise = pdfDocument.getPageMode().catch(function () {}); + const openActionPromise = pdfDocument.getOpenAction().catch(function () {}); + this.toolbar?.setPagesCount(pdfDocument.numPages, false); + this.secondaryToolbar?.setPagesCount(pdfDocument.numPages); + this.pdfLinkService.setDocument(pdfDocument); + this.pdfDocumentProperties?.setDocument(pdfDocument); + const pdfViewer = this.pdfViewer; + pdfViewer.setDocument(pdfDocument); + const { + firstPagePromise, + onePageRendered, + pagesPromise + } = pdfViewer; + this.pdfThumbnailViewer?.setDocument(pdfDocument); + const storedPromise = (this.store = new _view_history.ViewHistory(pdfDocument.fingerprints[0])).getMultiple({ + page: null, + zoom: _ui_utils.DEFAULT_SCALE_VALUE, + scrollLeft: "0", + scrollTop: "0", + rotation: null, + sidebarView: _ui_utils.SidebarView.UNKNOWN, + scrollMode: _ui_utils.ScrollMode.UNKNOWN, + spreadMode: _ui_utils.SpreadMode.UNKNOWN + }).catch(() => { + return Object.create(null); + }); + firstPagePromise.then(pdfPage => { + this.loadingBar?.setWidth(this.appConfig.viewerContainer); + this._initializeAnnotationStorageCallbacks(pdfDocument); + Promise.all([_ui_utils.animationStarted, storedPromise, pageLayoutPromise, pageModePromise, openActionPromise]).then(async ([timeStamp, stored, pageLayout, pageMode, openAction]) => { + const viewOnLoad = _app_options.AppOptions.get("viewOnLoad"); + this._initializePdfHistory({ + fingerprint: pdfDocument.fingerprints[0], + viewOnLoad, + initialDest: openAction?.dest + }); + const initialBookmark = this.initialBookmark; + const zoom = _app_options.AppOptions.get("defaultZoomValue"); + let hash = zoom ? `zoom=${zoom}` : null; + let rotation = null; + let sidebarView = _app_options.AppOptions.get("sidebarViewOnLoad"); + let scrollMode = _app_options.AppOptions.get("scrollModeOnLoad"); + let spreadMode = _app_options.AppOptions.get("spreadModeOnLoad"); + if (stored.page && viewOnLoad !== ViewOnLoad.INITIAL) { + hash = `page=${stored.page}&zoom=${zoom || stored.zoom},` + `${stored.scrollLeft},${stored.scrollTop}`; + rotation = parseInt(stored.rotation, 10); + if (sidebarView === _ui_utils.SidebarView.UNKNOWN) { + sidebarView = stored.sidebarView | 0; + } + if (scrollMode === _ui_utils.ScrollMode.UNKNOWN) { + scrollMode = stored.scrollMode | 0; + } + if (spreadMode === _ui_utils.SpreadMode.UNKNOWN) { + spreadMode = stored.spreadMode | 0; + } + } + if (pageMode && sidebarView === _ui_utils.SidebarView.UNKNOWN) { + sidebarView = (0, _ui_utils.apiPageModeToSidebarView)(pageMode); + } + if (pageLayout && scrollMode === _ui_utils.ScrollMode.UNKNOWN && spreadMode === _ui_utils.SpreadMode.UNKNOWN) { + const modes = (0, _ui_utils.apiPageLayoutToViewerModes)(pageLayout); + spreadMode = modes.spreadMode; + } + this.setInitialView(hash, { + rotation, + sidebarView, + scrollMode, + spreadMode + }); + this.eventBus.dispatch("documentinit", { + source: this + }); + if (!this.isViewerEmbedded) { + pdfViewer.focus(); + } + await Promise.race([pagesPromise, new Promise(resolve => { + setTimeout(resolve, FORCE_PAGES_LOADED_TIMEOUT); + })]); + if (!initialBookmark && !hash) { + return; + } + if (pdfViewer.hasEqualPageSizes) { + return; + } + this.initialBookmark = initialBookmark; + pdfViewer.currentScaleValue = pdfViewer.currentScaleValue; + this.setInitialView(hash); + }).catch(() => { + this.setInitialView(); + }).then(function () { + pdfViewer.update(); + }); + }); + pagesPromise.then(() => { + this._unblockDocumentLoadEvent(); + this._initializeAutoPrint(pdfDocument, openActionPromise); + }, reason => { + this.l10n.get("loading_error").then(msg => { + this._documentError(msg, { + message: reason?.message + }); + }); + }); + onePageRendered.then(data => { + this.externalServices.reportTelemetry({ + type: "pageInfo", + timestamp: data.timestamp + }); + if (this.pdfOutlineViewer) { + pdfDocument.getOutline().then(outline => { + if (pdfDocument !== this.pdfDocument) { + return; + } + this.pdfOutlineViewer.render({ + outline, + pdfDocument + }); + }); + } + if (this.pdfAttachmentViewer) { + pdfDocument.getAttachments().then(attachments => { + if (pdfDocument !== this.pdfDocument) { + return; + } + this.pdfAttachmentViewer.render({ + attachments + }); + }); + } + if (this.pdfLayerViewer) { + pdfViewer.optionalContentConfigPromise.then(optionalContentConfig => { + if (pdfDocument !== this.pdfDocument) { + return; + } + this.pdfLayerViewer.render({ + optionalContentConfig, + pdfDocument + }); + }); + } + }); + this._initializePageLabels(pdfDocument); + this._initializeMetadata(pdfDocument); + }, + async _scriptingDocProperties(pdfDocument) { + if (!this.documentInfo) { + await new Promise(resolve => { + this.eventBus._on("metadataloaded", resolve, { + once: true + }); + }); + if (pdfDocument !== this.pdfDocument) { + return null; + } + } + if (!this._contentLength) { + await new Promise(resolve => { + this.eventBus._on("documentloaded", resolve, { + once: true + }); + }); + if (pdfDocument !== this.pdfDocument) { + return null; + } + } + return { + ...this.documentInfo, + baseURL: this.baseUrl, + filesize: this._contentLength, + filename: this._docFilename, + metadata: this.metadata?.getRaw(), + authors: this.metadata?.get("dc:creator"), + numPages: this.pagesCount, + URL: this.url + }; + }, + async _initializeAutoPrint(pdfDocument, openActionPromise) { + const [openAction, javaScript] = await Promise.all([openActionPromise, !this.pdfViewer.enableScripting ? pdfDocument.getJavaScript() : null]); + if (pdfDocument !== this.pdfDocument) { + return; + } + let triggerAutoPrint = false; + if (openAction?.action === "Print") { + triggerAutoPrint = true; + } + if (javaScript) { + javaScript.some(js => { + if (!js) { + return false; + } + console.warn("Warning: JavaScript support is not enabled"); + return true; + }); + if (!triggerAutoPrint) { + for (const js of javaScript) { + if (js && _ui_utils.AutoPrintRegExp.test(js)) { + triggerAutoPrint = true; + break; + } + } + } + } + if (triggerAutoPrint) { + this.triggerPrinting(); + } + }, + async _initializeMetadata(pdfDocument) { + const { + info, + metadata, + contentDispositionFilename, + contentLength + } = await pdfDocument.getMetadata(); + if (pdfDocument !== this.pdfDocument) { + return; + } + this.documentInfo = info; + this.metadata = metadata; + this._contentDispositionFilename ??= contentDispositionFilename; + this._contentLength ??= contentLength; + console.log(`PDF ${pdfDocument.fingerprints[0]} [${info.PDFFormatVersion} ` + `${(info.Producer || "-").trim()} / ${(info.Creator || "-").trim()}] ` + `(PDF.js: ${_pdfjsLib.version || "?"} [${_pdfjsLib.build || "?"}])`); + let pdfTitle = info.Title; + const metadataTitle = metadata?.get("dc:title"); + if (metadataTitle) { + if (metadataTitle !== "Untitled" && !/[\uFFF0-\uFFFF]/g.test(metadataTitle)) { + pdfTitle = metadataTitle; + } + } + if (pdfTitle) { + this.setTitle(`${pdfTitle} - ${this._contentDispositionFilename || this._title}`); + } else if (this._contentDispositionFilename) { + this.setTitle(this._contentDispositionFilename); + } + if (info.IsXFAPresent && !info.IsAcroFormPresent && !pdfDocument.isPureXfa) { + if (pdfDocument.loadingParams.enableXfa) { + console.warn("Warning: XFA Foreground documents are not supported"); + } else { + console.warn("Warning: XFA support is not enabled"); + } + } else if ((info.IsAcroFormPresent || info.IsXFAPresent) && !this.pdfViewer.renderForms) { + console.warn("Warning: Interactive form support is not enabled"); + } + if (info.IsSignaturesPresent) { + console.warn("Warning: Digital signatures validation is not supported"); + } + this.eventBus.dispatch("metadataloaded", { + source: this + }); + }, + async _initializePageLabels(pdfDocument) { + const labels = await pdfDocument.getPageLabels(); + if (pdfDocument !== this.pdfDocument) { + return; + } + if (!labels || _app_options.AppOptions.get("disablePageLabels")) { + return; + } + const numLabels = labels.length; + let standardLabels = 0, + emptyLabels = 0; + for (let i = 0; i < numLabels; i++) { + const label = labels[i]; + if (label === (i + 1).toString()) { + standardLabels++; + } else if (label === "") { + emptyLabels++; + } else { + break; + } + } + if (standardLabels >= numLabels || emptyLabels >= numLabels) { + return; + } + const { + pdfViewer, + pdfThumbnailViewer, + toolbar + } = this; + pdfViewer.setPageLabels(labels); + pdfThumbnailViewer?.setPageLabels(labels); + toolbar?.setPagesCount(numLabels, true); + toolbar?.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); + }, + _initializePdfHistory({ + fingerprint, + viewOnLoad, + initialDest = null + }) { + if (!this.pdfHistory) { + return; + } + this.pdfHistory.initialize({ + fingerprint, + resetHistory: viewOnLoad === ViewOnLoad.INITIAL, + updateUrl: _app_options.AppOptions.get("historyUpdateUrl") + }); + if (this.pdfHistory.initialBookmark) { + this.initialBookmark = this.pdfHistory.initialBookmark; + this.initialRotation = this.pdfHistory.initialRotation; + } + if (initialDest && !this.initialBookmark && viewOnLoad === ViewOnLoad.UNKNOWN) { + this.initialBookmark = JSON.stringify(initialDest); + this.pdfHistory.push({ + explicitDest: initialDest, + pageNumber: null + }); + } + }, + _initializeAnnotationStorageCallbacks(pdfDocument) { + if (pdfDocument !== this.pdfDocument) { + return; + } + const { + annotationStorage + } = pdfDocument; + annotationStorage.onSetModified = () => { + window.addEventListener("beforeunload", beforeUnload); + this._annotationStorageModified = true; + }; + annotationStorage.onResetModified = () => { + window.removeEventListener("beforeunload", beforeUnload); + delete this._annotationStorageModified; + }; + annotationStorage.onAnnotationEditor = typeStr => { + this._hasAnnotationEditors = !!typeStr; + this.setTitle(); + if (typeStr) { + this.externalServices.reportTelemetry({ + type: "editing", + data: { + type: typeStr + } + }); + } + }; + }, + setInitialView(storedHash, { + rotation, + sidebarView, + scrollMode, + spreadMode + } = {}) { + const setRotation = angle => { + if ((0, _ui_utils.isValidRotation)(angle)) { + this.pdfViewer.pagesRotation = angle; + } + }; + const setViewerModes = (scroll, spread) => { + if ((0, _ui_utils.isValidScrollMode)(scroll)) { + this.pdfViewer.scrollMode = scroll; + } + if ((0, _ui_utils.isValidSpreadMode)(spread)) { + this.pdfViewer.spreadMode = spread; + } + }; + this.isInitialViewSet = true; + this.pdfSidebar?.setInitialView(sidebarView); + setViewerModes(scrollMode, spreadMode); + if (this.initialBookmark) { + setRotation(this.initialRotation); + delete this.initialRotation; + this.pdfLinkService.setHash(this.initialBookmark); + this.initialBookmark = null; + } else if (storedHash) { + setRotation(rotation); + this.pdfLinkService.setHash(storedHash); + } + this.toolbar?.setPageNumber(this.pdfViewer.currentPageNumber, this.pdfViewer.currentPageLabel); + this.secondaryToolbar?.setPageNumber(this.pdfViewer.currentPageNumber); + if (!this.pdfViewer.currentScaleValue) { + this.pdfViewer.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + } + }, + _cleanup() { + if (!this.pdfDocument) { + return; + } + this.pdfViewer.cleanup(); + this.pdfThumbnailViewer?.cleanup(); + this.pdfDocument.cleanup(); + }, + forceRendering() { + this.pdfRenderingQueue.printing = !!this.printService; + this.pdfRenderingQueue.isThumbnailViewEnabled = this.pdfSidebar?.visibleView === _ui_utils.SidebarView.THUMBS; + this.pdfRenderingQueue.renderHighestPriority(); + }, + beforePrint() { + this._printAnnotationStoragePromise = this.pdfScriptingManager.dispatchWillPrint().catch(() => {}).then(() => { + return this.pdfDocument?.annotationStorage.print; + }); + if (this.printService) { + return; + } + if (!this.supportsPrinting) { + this.l10n.get("printing_not_supported").then(msg => { + this._otherError(msg); + }); + return; + } + if (!this.pdfViewer.pageViewsReady) { + this.l10n.get("printing_not_ready").then(msg => { + window.alert(msg); + }); + return; + } + const pagesOverview = this.pdfViewer.getPagesOverview(); + const printContainer = this.appConfig.printContainer; + const printResolution = _app_options.AppOptions.get("printResolution"); + const optionalContentConfigPromise = this.pdfViewer.optionalContentConfigPromise; + const printService = PDFPrintServiceFactory.instance.createPrintService(this.pdfDocument, pagesOverview, printContainer, printResolution, optionalContentConfigPromise, this._printAnnotationStoragePromise, this.l10n); + this.printService = printService; + this.forceRendering(); + this.setTitle(); + printService.layout(); + if (this._hasAnnotationEditors) { + this.externalServices.reportTelemetry({ + type: "editing", + data: { + type: "print" + } + }); + } + }, + afterPrint() { + if (this._printAnnotationStoragePromise) { + this._printAnnotationStoragePromise.then(() => { + this.pdfScriptingManager.dispatchDidPrint(); + }); + this._printAnnotationStoragePromise = null; + } + if (this.printService) { + this.printService.destroy(); + this.printService = null; + this.pdfDocument?.annotationStorage.resetModified(); + } + this.forceRendering(); + this.setTitle(); + }, + rotatePages(delta) { + this.pdfViewer.pagesRotation += delta; + }, + requestPresentationMode() { + this.pdfPresentationMode?.request(); + }, + triggerPrinting() { + if (!this.supportsPrinting) { + return; + } + window.print(); + }, + bindEvents() { + const { + eventBus, + _boundEvents + } = this; + _boundEvents.beforePrint = this.beforePrint.bind(this); + _boundEvents.afterPrint = this.afterPrint.bind(this); + eventBus._on("resize", webViewerResize); + eventBus._on("hashchange", webViewerHashchange); + eventBus._on("beforeprint", _boundEvents.beforePrint); + eventBus._on("afterprint", _boundEvents.afterPrint); + eventBus._on("pagerender", webViewerPageRender); + eventBus._on("pagerendered", webViewerPageRendered); + eventBus._on("updateviewarea", webViewerUpdateViewarea); + eventBus._on("pagechanging", webViewerPageChanging); + eventBus._on("scalechanging", webViewerScaleChanging); + eventBus._on("rotationchanging", webViewerRotationChanging); + eventBus._on("sidebarviewchanged", webViewerSidebarViewChanged); + eventBus._on("pagemode", webViewerPageMode); + eventBus._on("namedaction", webViewerNamedAction); + eventBus._on("presentationmodechanged", webViewerPresentationModeChanged); + eventBus._on("presentationmode", webViewerPresentationMode); + eventBus._on("switchannotationeditormode", webViewerSwitchAnnotationEditorMode); + eventBus._on("switchannotationeditorparams", webViewerSwitchAnnotationEditorParams); + eventBus._on("print", webViewerPrint); + eventBus._on("download", webViewerDownload); + eventBus._on("openinexternalapp", webViewerOpenInExternalApp); + eventBus._on("firstpage", webViewerFirstPage); + eventBus._on("lastpage", webViewerLastPage); + eventBus._on("nextpage", webViewerNextPage); + eventBus._on("previouspage", webViewerPreviousPage); + eventBus._on("zoomin", webViewerZoomIn); + eventBus._on("zoomout", webViewerZoomOut); + eventBus._on("zoomreset", webViewerZoomReset); + eventBus._on("pagenumberchanged", webViewerPageNumberChanged); + eventBus._on("scalechanged", webViewerScaleChanged); + eventBus._on("rotatecw", webViewerRotateCw); + eventBus._on("rotateccw", webViewerRotateCcw); + eventBus._on("optionalcontentconfig", webViewerOptionalContentConfig); + eventBus._on("switchscrollmode", webViewerSwitchScrollMode); + eventBus._on("scrollmodechanged", webViewerScrollModeChanged); + eventBus._on("switchspreadmode", webViewerSwitchSpreadMode); + eventBus._on("spreadmodechanged", webViewerSpreadModeChanged); + eventBus._on("documentproperties", webViewerDocumentProperties); + eventBus._on("findfromurlhash", webViewerFindFromUrlHash); + eventBus._on("updatefindmatchescount", webViewerUpdateFindMatchesCount); + eventBus._on("updatefindcontrolstate", webViewerUpdateFindControlState); + if (_app_options.AppOptions.get("pdfBug")) { + _boundEvents.reportPageStatsPDFBug = reportPageStatsPDFBug; + eventBus._on("pagerendered", _boundEvents.reportPageStatsPDFBug); + eventBus._on("pagechanging", _boundEvents.reportPageStatsPDFBug); + } + eventBus._on("fileinputchange", webViewerFileInputChange); + eventBus._on("openfile", webViewerOpenFile); + }, + bindWindowEvents() { + const { + eventBus, + _boundEvents + } = this; + function addWindowResolutionChange(evt = null) { + if (evt) { + webViewerResolutionChange(evt); + } + const mediaQueryList = window.matchMedia(`(resolution: ${window.devicePixelRatio || 1}dppx)`); + mediaQueryList.addEventListener("change", addWindowResolutionChange, { + once: true + }); + _boundEvents.removeWindowResolutionChange ||= function () { + mediaQueryList.removeEventListener("change", addWindowResolutionChange); + _boundEvents.removeWindowResolutionChange = null; + }; + } + addWindowResolutionChange(); + _boundEvents.windowResize = () => { + eventBus.dispatch("resize", { + source: window + }); + }; + _boundEvents.windowHashChange = () => { + eventBus.dispatch("hashchange", { + source: window, + hash: document.location.hash.substring(1) + }); + }; + _boundEvents.windowBeforePrint = () => { + eventBus.dispatch("beforeprint", { + source: window + }); + }; + _boundEvents.windowAfterPrint = () => { + eventBus.dispatch("afterprint", { + source: window + }); + }; + _boundEvents.windowUpdateFromSandbox = event => { + eventBus.dispatch("updatefromsandbox", { + source: window, + detail: event.detail + }); + }; + window.addEventListener("visibilitychange", webViewerVisibilityChange); + window.addEventListener("wheel", webViewerWheel, { + passive: false + }); + window.addEventListener("touchstart", webViewerTouchStart, { + passive: false + }); + window.addEventListener("touchmove", webViewerTouchMove, { + passive: false + }); + window.addEventListener("touchend", webViewerTouchEnd, { + passive: false + }); + window.addEventListener("click", webViewerClick); + window.addEventListener("keydown", webViewerKeyDown); + window.addEventListener("keyup", webViewerKeyUp); + window.addEventListener("resize", _boundEvents.windowResize); + window.addEventListener("hashchange", _boundEvents.windowHashChange); + window.addEventListener("beforeprint", _boundEvents.windowBeforePrint); + window.addEventListener("afterprint", _boundEvents.windowAfterPrint); + window.addEventListener("updatefromsandbox", _boundEvents.windowUpdateFromSandbox); + }, + unbindEvents() { + const { + eventBus, + _boundEvents + } = this; + eventBus._off("resize", webViewerResize); + eventBus._off("hashchange", webViewerHashchange); + eventBus._off("beforeprint", _boundEvents.beforePrint); + eventBus._off("afterprint", _boundEvents.afterPrint); + eventBus._off("pagerender", webViewerPageRender); + eventBus._off("pagerendered", webViewerPageRendered); + eventBus._off("updateviewarea", webViewerUpdateViewarea); + eventBus._off("pagechanging", webViewerPageChanging); + eventBus._off("scalechanging", webViewerScaleChanging); + eventBus._off("rotationchanging", webViewerRotationChanging); + eventBus._off("sidebarviewchanged", webViewerSidebarViewChanged); + eventBus._off("pagemode", webViewerPageMode); + eventBus._off("namedaction", webViewerNamedAction); + eventBus._off("presentationmodechanged", webViewerPresentationModeChanged); + eventBus._off("presentationmode", webViewerPresentationMode); + eventBus._off("print", webViewerPrint); + eventBus._off("download", webViewerDownload); + eventBus._off("openinexternalapp", webViewerOpenInExternalApp); + eventBus._off("firstpage", webViewerFirstPage); + eventBus._off("lastpage", webViewerLastPage); + eventBus._off("nextpage", webViewerNextPage); + eventBus._off("previouspage", webViewerPreviousPage); + eventBus._off("zoomin", webViewerZoomIn); + eventBus._off("zoomout", webViewerZoomOut); + eventBus._off("zoomreset", webViewerZoomReset); + eventBus._off("pagenumberchanged", webViewerPageNumberChanged); + eventBus._off("scalechanged", webViewerScaleChanged); + eventBus._off("rotatecw", webViewerRotateCw); + eventBus._off("rotateccw", webViewerRotateCcw); + eventBus._off("optionalcontentconfig", webViewerOptionalContentConfig); + eventBus._off("switchscrollmode", webViewerSwitchScrollMode); + eventBus._off("scrollmodechanged", webViewerScrollModeChanged); + eventBus._off("switchspreadmode", webViewerSwitchSpreadMode); + eventBus._off("spreadmodechanged", webViewerSpreadModeChanged); + eventBus._off("documentproperties", webViewerDocumentProperties); + eventBus._off("findfromurlhash", webViewerFindFromUrlHash); + eventBus._off("updatefindmatchescount", webViewerUpdateFindMatchesCount); + eventBus._off("updatefindcontrolstate", webViewerUpdateFindControlState); + if (_boundEvents.reportPageStatsPDFBug) { + eventBus._off("pagerendered", _boundEvents.reportPageStatsPDFBug); + eventBus._off("pagechanging", _boundEvents.reportPageStatsPDFBug); + _boundEvents.reportPageStatsPDFBug = null; + } + eventBus._off("fileinputchange", webViewerFileInputChange); + eventBus._off("openfile", webViewerOpenFile); + _boundEvents.beforePrint = null; + _boundEvents.afterPrint = null; + }, + unbindWindowEvents() { + const { + _boundEvents + } = this; + window.removeEventListener("visibilitychange", webViewerVisibilityChange); + window.removeEventListener("wheel", webViewerWheel, { + passive: false + }); + window.removeEventListener("touchstart", webViewerTouchStart, { + passive: false + }); + window.removeEventListener("touchmove", webViewerTouchMove, { + passive: false + }); + window.removeEventListener("touchend", webViewerTouchEnd, { + passive: false + }); + window.removeEventListener("click", webViewerClick); + window.removeEventListener("keydown", webViewerKeyDown); + window.removeEventListener("keyup", webViewerKeyUp); + window.removeEventListener("resize", _boundEvents.windowResize); + window.removeEventListener("hashchange", _boundEvents.windowHashChange); + window.removeEventListener("beforeprint", _boundEvents.windowBeforePrint); + window.removeEventListener("afterprint", _boundEvents.windowAfterPrint); + window.removeEventListener("updatefromsandbox", _boundEvents.windowUpdateFromSandbox); + _boundEvents.removeWindowResolutionChange?.(); + _boundEvents.windowResize = null; + _boundEvents.windowHashChange = null; + _boundEvents.windowBeforePrint = null; + _boundEvents.windowAfterPrint = null; + _boundEvents.windowUpdateFromSandbox = null; + }, + _accumulateTicks(ticks, prop) { + if (this[prop] > 0 && ticks < 0 || this[prop] < 0 && ticks > 0) { + this[prop] = 0; + } + this[prop] += ticks; + const wholeTicks = Math.trunc(this[prop]); + this[prop] -= wholeTicks; + return wholeTicks; + }, + _accumulateFactor(previousScale, factor, prop) { + if (factor === 1) { + return 1; + } + if (this[prop] > 1 && factor < 1 || this[prop] < 1 && factor > 1) { + this[prop] = 1; + } + const newFactor = Math.floor(previousScale * factor * this[prop] * 100) / (100 * previousScale); + this[prop] = factor / newFactor; + return newFactor; + }, + _centerAtPos(previousScale, x, y) { + const { + pdfViewer + } = this; + const scaleDiff = pdfViewer.currentScale / previousScale - 1; + if (scaleDiff !== 0) { + const [top, left] = pdfViewer.containerTopLeft; + pdfViewer.container.scrollLeft += (x - left) * scaleDiff; + pdfViewer.container.scrollTop += (y - top) * scaleDiff; + } + }, + _unblockDocumentLoadEvent() { + document.blockUnblockOnload?.(false); + this._unblockDocumentLoadEvent = () => {}; + }, + get scriptingReady() { + return this.pdfScriptingManager.ready; + } +}; +exports.PDFViewerApplication = PDFViewerApplication; +{ + const HOSTED_VIEWER_ORIGINS = ["null", "http://mozilla.github.io", "https://mozilla.github.io"]; + var validateFileURL = function (file) { + if (!file) { + return; + } + try { + const viewerOrigin = new URL(window.location.href).origin || "null"; + if (HOSTED_VIEWER_ORIGINS.includes(viewerOrigin)) { + return; + } + const fileOrigin = new URL(file, window.location.href).origin; + if (fileOrigin !== viewerOrigin) { + throw new Error("file origin does not match viewer's"); + } + } catch (ex) { + PDFViewerApplication.l10n.get("loading_error").then(msg => { + PDFViewerApplication._documentError(msg, { + message: ex?.message + }); + }); + throw ex; + } + }; +} +async function loadFakeWorker() { + _pdfjsLib.GlobalWorkerOptions.workerSrc ||= _app_options.AppOptions.get("workerSrc"); + await (0, _pdfjsLib.loadScript)(_pdfjsLib.PDFWorker.workerSrc); +} +async function loadPDFBug(self) { + const { + debuggerScriptPath + } = self.appConfig; + const { + PDFBug + } = await import(debuggerScriptPath); + self._PDFBug = PDFBug; +} +function reportPageStatsPDFBug({ + pageNumber +}) { + if (!globalThis.Stats?.enabled) { + return; + } + const pageView = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); + globalThis.Stats.add(pageNumber, pageView?.pdfPage?.stats); +} +function webViewerPageRender({ + pageNumber +}) { + if (pageNumber === PDFViewerApplication.page) { + PDFViewerApplication.toolbar?.updateLoadingIndicatorState(true); + } +} +function webViewerPageRendered({ + pageNumber, + error +}) { + if (pageNumber === PDFViewerApplication.page) { + PDFViewerApplication.toolbar?.updateLoadingIndicatorState(false); + } + if (PDFViewerApplication.pdfSidebar?.visibleView === _ui_utils.SidebarView.THUMBS) { + const pageView = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); + const thumbnailView = PDFViewerApplication.pdfThumbnailViewer?.getThumbnail(pageNumber - 1); + if (pageView) { + thumbnailView?.setImage(pageView); + } + } + if (error) { + PDFViewerApplication.l10n.get("rendering_error").then(msg => { + PDFViewerApplication._otherError(msg, error); + }); + } +} +function webViewerPageMode({ + mode +}) { + let view; + switch (mode) { + case "thumbs": + view = _ui_utils.SidebarView.THUMBS; + break; + case "bookmarks": + case "outline": + view = _ui_utils.SidebarView.OUTLINE; + break; + case "attachments": + view = _ui_utils.SidebarView.ATTACHMENTS; + break; + case "layers": + view = _ui_utils.SidebarView.LAYERS; + break; + case "none": + view = _ui_utils.SidebarView.NONE; + break; + default: + console.error('Invalid "pagemode" hash parameter: ' + mode); + return; + } + PDFViewerApplication.pdfSidebar?.switchView(view, true); +} +function webViewerNamedAction(evt) { + switch (evt.action) { + case "GoToPage": + PDFViewerApplication.appConfig.toolbar?.pageNumber.select(); + break; + case "Find": + if (!PDFViewerApplication.supportsIntegratedFind) { + PDFViewerApplication?.findBar.toggle(); + } + break; + case "Print": + PDFViewerApplication.triggerPrinting(); + break; + case "SaveAs": + PDFViewerApplication.downloadOrSave(); + break; + } +} +function webViewerPresentationModeChanged(evt) { + PDFViewerApplication.pdfViewer.presentationModeState = evt.state; +} +function webViewerSidebarViewChanged({ + view +}) { + PDFViewerApplication.pdfRenderingQueue.isThumbnailViewEnabled = view === _ui_utils.SidebarView.THUMBS; + if (PDFViewerApplication.isInitialViewSet) { + PDFViewerApplication.store?.set("sidebarView", view).catch(() => {}); + } +} +function webViewerUpdateViewarea({ + location +}) { + if (PDFViewerApplication.isInitialViewSet) { + PDFViewerApplication.store?.setMultiple({ + page: location.pageNumber, + zoom: location.scale, + scrollLeft: location.left, + scrollTop: location.top, + rotation: location.rotation + }).catch(() => {}); + } + if (PDFViewerApplication.appConfig.secondaryToolbar) { + const href = PDFViewerApplication.pdfLinkService.getAnchorUrl(location.pdfOpenParams); + PDFViewerApplication.appConfig.secondaryToolbar.viewBookmarkButton.href = href; + } +} +function webViewerScrollModeChanged(evt) { + if (PDFViewerApplication.isInitialViewSet && !PDFViewerApplication.pdfViewer.isInPresentationMode) { + PDFViewerApplication.store?.set("scrollMode", evt.mode).catch(() => {}); + } +} +function webViewerSpreadModeChanged(evt) { + if (PDFViewerApplication.isInitialViewSet && !PDFViewerApplication.pdfViewer.isInPresentationMode) { + PDFViewerApplication.store?.set("spreadMode", evt.mode).catch(() => {}); + } +} +function webViewerResize() { + const { + pdfDocument, + pdfViewer, + pdfRenderingQueue + } = PDFViewerApplication; + if (pdfRenderingQueue.printing && window.matchMedia("print").matches) { + return; + } + if (!pdfDocument) { + return; + } + const currentScaleValue = pdfViewer.currentScaleValue; + if (currentScaleValue === "auto" || currentScaleValue === "page-fit" || currentScaleValue === "page-width") { + pdfViewer.currentScaleValue = currentScaleValue; + } + pdfViewer.update(); +} +function webViewerHashchange(evt) { + const hash = evt.hash; + if (!hash) { + return; + } + if (!PDFViewerApplication.isInitialViewSet) { + PDFViewerApplication.initialBookmark = hash; + } else if (!PDFViewerApplication.pdfHistory?.popStateInProgress) { + PDFViewerApplication.pdfLinkService.setHash(hash); + } +} +{ + var webViewerFileInputChange = function (evt) { + if (PDFViewerApplication.pdfViewer?.isInPresentationMode) { + return; + } + const file = evt.fileInput.files[0]; + PDFViewerApplication.open({ + url: URL.createObjectURL(file), + originalUrl: file.name + }); + }; + var webViewerOpenFile = function (evt) { + const fileInput = PDFViewerApplication.appConfig.openFileInput; + fileInput.click(); + }; +} +function webViewerPresentationMode() { + PDFViewerApplication.requestPresentationMode(); +} +function webViewerSwitchAnnotationEditorMode(evt) { + PDFViewerApplication.pdfViewer.annotationEditorMode = evt.mode; +} +function webViewerSwitchAnnotationEditorParams(evt) { + PDFViewerApplication.pdfViewer.annotationEditorParams = evt; +} +function webViewerPrint() { + PDFViewerApplication.triggerPrinting(); +} +function webViewerDownload() { + PDFViewerApplication.downloadOrSave(); +} +function webViewerOpenInExternalApp() { + PDFViewerApplication.openInExternalApp(); +} +function webViewerFirstPage() { + PDFViewerApplication.page = 1; +} +function webViewerLastPage() { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; +} +function webViewerNextPage() { + PDFViewerApplication.pdfViewer.nextPage(); +} +function webViewerPreviousPage() { + PDFViewerApplication.pdfViewer.previousPage(); +} +function webViewerZoomIn() { + PDFViewerApplication.zoomIn(); +} +function webViewerZoomOut() { + PDFViewerApplication.zoomOut(); +} +function webViewerZoomReset() { + PDFViewerApplication.zoomReset(); +} +function webViewerPageNumberChanged(evt) { + const pdfViewer = PDFViewerApplication.pdfViewer; + if (evt.value !== "") { + PDFViewerApplication.pdfLinkService.goToPage(evt.value); + } + if (evt.value !== pdfViewer.currentPageNumber.toString() && evt.value !== pdfViewer.currentPageLabel) { + PDFViewerApplication.toolbar?.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); + } +} +function webViewerScaleChanged(evt) { + PDFViewerApplication.pdfViewer.currentScaleValue = evt.value; +} +function webViewerRotateCw() { + PDFViewerApplication.rotatePages(90); +} +function webViewerRotateCcw() { + PDFViewerApplication.rotatePages(-90); +} +function webViewerOptionalContentConfig(evt) { + PDFViewerApplication.pdfViewer.optionalContentConfigPromise = evt.promise; +} +function webViewerSwitchScrollMode(evt) { + PDFViewerApplication.pdfViewer.scrollMode = evt.mode; +} +function webViewerSwitchSpreadMode(evt) { + PDFViewerApplication.pdfViewer.spreadMode = evt.mode; +} +function webViewerDocumentProperties() { + PDFViewerApplication.pdfDocumentProperties?.open(); +} +function webViewerFindFromUrlHash(evt) { + PDFViewerApplication.eventBus.dispatch("find", { + source: evt.source, + type: "", + query: evt.query, + caseSensitive: false, + entireWord: false, + highlightAll: true, + findPrevious: false, + matchDiacritics: true + }); +} +function webViewerUpdateFindMatchesCount({ + matchesCount +}) { + if (PDFViewerApplication.supportsIntegratedFind) { + PDFViewerApplication.externalServices.updateFindMatchesCount(matchesCount); + } else { + PDFViewerApplication.findBar.updateResultsCount(matchesCount); + } +} +function webViewerUpdateFindControlState({ + state, + previous, + matchesCount, + rawQuery +}) { + if (PDFViewerApplication.supportsIntegratedFind) { + PDFViewerApplication.externalServices.updateFindControlState({ + result: state, + findPrevious: previous, + matchesCount, + rawQuery + }); + } else { + PDFViewerApplication.findBar?.updateUIState(state, previous, matchesCount); + } +} +function webViewerScaleChanging(evt) { + PDFViewerApplication.toolbar?.setPageScale(evt.presetValue, evt.scale); + PDFViewerApplication.pdfViewer.update(); +} +function webViewerRotationChanging(evt) { + if (PDFViewerApplication.pdfThumbnailViewer) { + PDFViewerApplication.pdfThumbnailViewer.pagesRotation = evt.pagesRotation; + } + PDFViewerApplication.forceRendering(); + PDFViewerApplication.pdfViewer.currentPageNumber = evt.pageNumber; +} +function webViewerPageChanging({ + pageNumber, + pageLabel +}) { + PDFViewerApplication.toolbar?.setPageNumber(pageNumber, pageLabel); + PDFViewerApplication.secondaryToolbar?.setPageNumber(pageNumber); + if (PDFViewerApplication.pdfSidebar?.visibleView === _ui_utils.SidebarView.THUMBS) { + PDFViewerApplication.pdfThumbnailViewer?.scrollThumbnailIntoView(pageNumber); + } + const currentPage = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); + PDFViewerApplication.toolbar?.updateLoadingIndicatorState(currentPage?.renderingState === _ui_utils.RenderingStates.RUNNING); +} +function webViewerResolutionChange(evt) { + PDFViewerApplication.pdfViewer.refresh(); +} +function webViewerVisibilityChange(evt) { + if (document.visibilityState === "visible") { + setZoomDisabledTimeout(); + } +} +let zoomDisabledTimeout = null; +function setZoomDisabledTimeout() { + if (zoomDisabledTimeout) { + clearTimeout(zoomDisabledTimeout); + } + zoomDisabledTimeout = setTimeout(function () { + zoomDisabledTimeout = null; + }, WHEEL_ZOOM_DISABLED_TIMEOUT); +} +function webViewerWheel(evt) { + const { + pdfViewer, + supportedMouseWheelZoomModifierKeys, + supportsPinchToZoom + } = PDFViewerApplication; + if (pdfViewer.isInPresentationMode) { + return; + } + const deltaMode = evt.deltaMode; + let scaleFactor = Math.exp(-evt.deltaY / 100); + const isBuiltInMac = false; + const isPinchToZoom = evt.ctrlKey && !PDFViewerApplication._isCtrlKeyDown && deltaMode === WheelEvent.DOM_DELTA_PIXEL && evt.deltaX === 0 && (Math.abs(scaleFactor - 1) < 0.05 || isBuiltInMac) && evt.deltaZ === 0; + if (isPinchToZoom || evt.ctrlKey && supportedMouseWheelZoomModifierKeys.ctrlKey || evt.metaKey && supportedMouseWheelZoomModifierKeys.metaKey) { + evt.preventDefault(); + if (zoomDisabledTimeout || document.visibilityState === "hidden") { + return; + } + const previousScale = pdfViewer.currentScale; + if (isPinchToZoom && supportsPinchToZoom) { + scaleFactor = PDFViewerApplication._accumulateFactor(previousScale, scaleFactor, "_wheelUnusedFactor"); + if (scaleFactor < 1) { + PDFViewerApplication.zoomOut(null, scaleFactor); + } else if (scaleFactor > 1) { + PDFViewerApplication.zoomIn(null, scaleFactor); + } else { + return; + } + } else { + const delta = (0, _ui_utils.normalizeWheelEventDirection)(evt); + let ticks = 0; + if (deltaMode === WheelEvent.DOM_DELTA_LINE || deltaMode === WheelEvent.DOM_DELTA_PAGE) { + if (Math.abs(delta) >= 1) { + ticks = Math.sign(delta); + } else { + ticks = PDFViewerApplication._accumulateTicks(delta, "_wheelUnusedTicks"); + } + } else { + const PIXELS_PER_LINE_SCALE = 30; + ticks = PDFViewerApplication._accumulateTicks(delta / PIXELS_PER_LINE_SCALE, "_wheelUnusedTicks"); + } + if (ticks < 0) { + PDFViewerApplication.zoomOut(-ticks); + } else if (ticks > 0) { + PDFViewerApplication.zoomIn(ticks); + } else { + return; + } + } + PDFViewerApplication._centerAtPos(previousScale, evt.clientX, evt.clientY); + } else { + setZoomDisabledTimeout(); + } +} +function webViewerTouchStart(evt) { + if (PDFViewerApplication.pdfViewer.isInPresentationMode || evt.touches.length < 2) { + return; + } + evt.preventDefault(); + if (evt.touches.length !== 2) { + PDFViewerApplication._touchInfo = null; + return; + } + let [touch0, touch1] = evt.touches; + if (touch0.identifier > touch1.identifier) { + [touch0, touch1] = [touch1, touch0]; + } + PDFViewerApplication._touchInfo = { + touch0X: touch0.pageX, + touch0Y: touch0.pageY, + touch1X: touch1.pageX, + touch1Y: touch1.pageY + }; +} +function webViewerTouchMove(evt) { + if (!PDFViewerApplication._touchInfo || evt.touches.length !== 2) { + return; + } + const { + pdfViewer, + _touchInfo, + supportsPinchToZoom + } = PDFViewerApplication; + let [touch0, touch1] = evt.touches; + if (touch0.identifier > touch1.identifier) { + [touch0, touch1] = [touch1, touch0]; + } + const { + pageX: page0X, + pageY: page0Y + } = touch0; + const { + pageX: page1X, + pageY: page1Y + } = touch1; + const { + touch0X: pTouch0X, + touch0Y: pTouch0Y, + touch1X: pTouch1X, + touch1Y: pTouch1Y + } = _touchInfo; + if (Math.abs(pTouch0X - page0X) <= 1 && Math.abs(pTouch0Y - page0Y) <= 1 && Math.abs(pTouch1X - page1X) <= 1 && Math.abs(pTouch1Y - page1Y) <= 1) { + return; + } + _touchInfo.touch0X = page0X; + _touchInfo.touch0Y = page0Y; + _touchInfo.touch1X = page1X; + _touchInfo.touch1Y = page1Y; + if (pTouch0X === page0X && pTouch0Y === page0Y) { + const v1X = pTouch1X - page0X; + const v1Y = pTouch1Y - page0Y; + const v2X = page1X - page0X; + const v2Y = page1Y - page0Y; + const det = v1X * v2Y - v1Y * v2X; + if (Math.abs(det) > 0.02 * Math.hypot(v1X, v1Y) * Math.hypot(v2X, v2Y)) { + return; + } + } else if (pTouch1X === page1X && pTouch1Y === page1Y) { + const v1X = pTouch0X - page1X; + const v1Y = pTouch0Y - page1Y; + const v2X = page0X - page1X; + const v2Y = page0Y - page1Y; + const det = v1X * v2Y - v1Y * v2X; + if (Math.abs(det) > 0.02 * Math.hypot(v1X, v1Y) * Math.hypot(v2X, v2Y)) { + return; + } + } else { + const diff0X = page0X - pTouch0X; + const diff1X = page1X - pTouch1X; + const diff0Y = page0Y - pTouch0Y; + const diff1Y = page1Y - pTouch1Y; + const dotProduct = diff0X * diff1X + diff0Y * diff1Y; + if (dotProduct >= 0) { + return; + } + } + evt.preventDefault(); + const distance = Math.hypot(page0X - page1X, page0Y - page1Y) || 1; + const pDistance = Math.hypot(pTouch0X - pTouch1X, pTouch0Y - pTouch1Y) || 1; + const previousScale = pdfViewer.currentScale; + if (supportsPinchToZoom) { + const newScaleFactor = PDFViewerApplication._accumulateFactor(previousScale, distance / pDistance, "_touchUnusedFactor"); + if (newScaleFactor < 1) { + PDFViewerApplication.zoomOut(null, newScaleFactor); + } else if (newScaleFactor > 1) { + PDFViewerApplication.zoomIn(null, newScaleFactor); + } else { + return; + } + } else { + const PIXELS_PER_LINE_SCALE = 30; + const ticks = PDFViewerApplication._accumulateTicks((distance - pDistance) / PIXELS_PER_LINE_SCALE, "_touchUnusedTicks"); + if (ticks < 0) { + PDFViewerApplication.zoomOut(-ticks); + } else if (ticks > 0) { + PDFViewerApplication.zoomIn(ticks); + } else { + return; + } + } + PDFViewerApplication._centerAtPos(previousScale, (page0X + page1X) / 2, (page0Y + page1Y) / 2); +} +function webViewerTouchEnd(evt) { + if (!PDFViewerApplication._touchInfo) { + return; + } + evt.preventDefault(); + PDFViewerApplication._touchInfo = null; + PDFViewerApplication._touchUnusedTicks = 0; + PDFViewerApplication._touchUnusedFactor = 1; +} +function webViewerClick(evt) { + if (!PDFViewerApplication.secondaryToolbar?.isOpen) { + return; + } + const appConfig = PDFViewerApplication.appConfig; + if (PDFViewerApplication.pdfViewer.containsElement(evt.target) || appConfig.toolbar?.container.contains(evt.target) && evt.target !== appConfig.secondaryToolbar?.toggleButton) { + PDFViewerApplication.secondaryToolbar.close(); + } +} +function webViewerKeyUp(evt) { + if (evt.key === "Control") { + PDFViewerApplication._isCtrlKeyDown = false; + } +} +function webViewerKeyDown(evt) { + PDFViewerApplication._isCtrlKeyDown = evt.key === "Control"; + if (PDFViewerApplication.overlayManager.active) { + return; + } + const { + eventBus, + pdfViewer + } = PDFViewerApplication; + const isViewerInPresentationMode = pdfViewer.isInPresentationMode; + let handled = false, + ensureViewerFocused = false; + const cmd = (evt.ctrlKey ? 1 : 0) | (evt.altKey ? 2 : 0) | (evt.shiftKey ? 4 : 0) | (evt.metaKey ? 8 : 0); + if (cmd === 1 || cmd === 8 || cmd === 5 || cmd === 12) { + switch (evt.keyCode) { + case 70: + if (!PDFViewerApplication.supportsIntegratedFind && !evt.shiftKey) { + PDFViewerApplication.findBar?.open(); + handled = true; + } + break; + case 71: + if (!PDFViewerApplication.supportsIntegratedFind) { + const { + state + } = PDFViewerApplication.findController; + if (state) { + const newState = { + source: window, + type: "again", + findPrevious: cmd === 5 || cmd === 12 + }; + eventBus.dispatch("find", { + ...state, + ...newState + }); + } + handled = true; + } + break; + case 61: + case 107: + case 187: + case 171: + PDFViewerApplication.zoomIn(); + handled = true; + break; + case 173: + case 109: + case 189: + PDFViewerApplication.zoomOut(); + handled = true; + break; + case 48: + case 96: + if (!isViewerInPresentationMode) { + setTimeout(function () { + PDFViewerApplication.zoomReset(); + }); + handled = false; + } + break; + case 38: + if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { + PDFViewerApplication.page = 1; + handled = true; + ensureViewerFocused = true; + } + break; + case 40: + if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; + handled = true; + ensureViewerFocused = true; + } + break; + } + } + if (cmd === 1 || cmd === 8) { + switch (evt.keyCode) { + case 83: + eventBus.dispatch("download", { + source: window + }); + handled = true; + break; + case 79: + { + eventBus.dispatch("openfile", { + source: window + }); + handled = true; + } + break; + } + } + if (cmd === 3 || cmd === 10) { + switch (evt.keyCode) { + case 80: + PDFViewerApplication.requestPresentationMode(); + handled = true; + PDFViewerApplication.externalServices.reportTelemetry({ + type: "buttons", + data: { + id: "presentationModeKeyboard" + } + }); + break; + case 71: + if (PDFViewerApplication.appConfig.toolbar) { + PDFViewerApplication.appConfig.toolbar.pageNumber.select(); + handled = true; + } + break; + } + } + if (handled) { + if (ensureViewerFocused && !isViewerInPresentationMode) { + pdfViewer.focus(); + } + evt.preventDefault(); + return; + } + const curElement = (0, _ui_utils.getActiveOrFocusedElement)(); + const curElementTagName = curElement?.tagName.toUpperCase(); + if (curElementTagName === "INPUT" || curElementTagName === "TEXTAREA" || curElementTagName === "SELECT" || curElement?.isContentEditable) { + if (evt.keyCode !== 27) { + return; + } + } + if (cmd === 0) { + let turnPage = 0, + turnOnlyIfPageFit = false; + switch (evt.keyCode) { + case 38: + case 33: + if (pdfViewer.isVerticalScrollbarEnabled) { + turnOnlyIfPageFit = true; + } + turnPage = -1; + break; + case 8: + if (!isViewerInPresentationMode) { + turnOnlyIfPageFit = true; + } + turnPage = -1; + break; + case 37: + if (pdfViewer.isHorizontalScrollbarEnabled) { + turnOnlyIfPageFit = true; + } + case 75: + case 80: + turnPage = -1; + break; + case 27: + if (PDFViewerApplication.secondaryToolbar?.isOpen) { + PDFViewerApplication.secondaryToolbar.close(); + handled = true; + } + if (!PDFViewerApplication.supportsIntegratedFind && PDFViewerApplication.findBar?.opened) { + PDFViewerApplication.findBar.close(); + handled = true; + } + break; + case 40: + case 34: + if (pdfViewer.isVerticalScrollbarEnabled) { + turnOnlyIfPageFit = true; + } + turnPage = 1; + break; + case 13: + case 32: + if (!isViewerInPresentationMode) { + turnOnlyIfPageFit = true; + } + turnPage = 1; + break; + case 39: + if (pdfViewer.isHorizontalScrollbarEnabled) { + turnOnlyIfPageFit = true; + } + case 74: + case 78: + turnPage = 1; + break; + case 36: + if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { + PDFViewerApplication.page = 1; + handled = true; + ensureViewerFocused = true; + } + break; + case 35: + if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { + PDFViewerApplication.page = PDFViewerApplication.pagesCount; + handled = true; + ensureViewerFocused = true; + } + break; + case 83: + PDFViewerApplication.pdfCursorTools?.switchTool(_ui_utils.CursorTool.SELECT); + break; + case 72: + PDFViewerApplication.pdfCursorTools?.switchTool(_ui_utils.CursorTool.HAND); + break; + case 82: + PDFViewerApplication.rotatePages(90); + break; + case 115: + PDFViewerApplication.pdfSidebar?.toggle(); + break; + } + if (turnPage !== 0 && (!turnOnlyIfPageFit || pdfViewer.currentScaleValue === "page-fit")) { + if (turnPage > 0) { + pdfViewer.nextPage(); + } else { + pdfViewer.previousPage(); + } + handled = true; + } + } + if (cmd === 4) { + switch (evt.keyCode) { + case 13: + case 32: + if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== "page-fit") { + break; + } + pdfViewer.previousPage(); + handled = true; + break; + case 82: + PDFViewerApplication.rotatePages(-90); + break; + } + } + if (!handled && !isViewerInPresentationMode) { + if (evt.keyCode >= 33 && evt.keyCode <= 40 || evt.keyCode === 32 && curElementTagName !== "BUTTON") { + ensureViewerFocused = true; + } + } + if (ensureViewerFocused && !pdfViewer.containsElement(curElement)) { + pdfViewer.focus(); + } + if (handled) { + evt.preventDefault(); + } +} +function beforeUnload(evt) { + evt.preventDefault(); + evt.returnValue = ""; + return false; +} +function webViewerAnnotationEditorStatesChanged(data) { + PDFViewerApplication.externalServices.updateEditorStates(data); +} +const PDFPrintServiceFactory = { + instance: { + supportsPrinting: false, + createPrintService() { + throw new Error("Not implemented: createPrintService"); + } + } +}; +exports.PDFPrintServiceFactory = PDFPrintServiceFactory; + +/***/ }), +/* 3 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.animationStarted = exports.VERTICAL_PADDING = exports.UNKNOWN_SCALE = exports.TextLayerMode = exports.SpreadMode = exports.SidebarView = exports.ScrollMode = exports.SCROLLBAR_PADDING = exports.RenderingStates = exports.ProgressBar = exports.PresentationModeState = exports.OutputScale = exports.MIN_SCALE = exports.MAX_SCALE = exports.MAX_AUTO_SCALE = exports.DEFAULT_SCALE_VALUE = exports.DEFAULT_SCALE_DELTA = exports.DEFAULT_SCALE = exports.CursorTool = exports.AutoPrintRegExp = void 0; +exports.apiPageLayoutToViewerModes = apiPageLayoutToViewerModes; +exports.apiPageModeToSidebarView = apiPageModeToSidebarView; +exports.approximateFraction = approximateFraction; +exports.backtrackBeforeAllVisibleElements = backtrackBeforeAllVisibleElements; +exports.binarySearchFirstItem = binarySearchFirstItem; +exports.docStyle = void 0; +exports.getActiveOrFocusedElement = getActiveOrFocusedElement; +exports.getPageSizeInches = getPageSizeInches; +exports.getVisibleElements = getVisibleElements; +exports.isPortraitOrientation = isPortraitOrientation; +exports.isValidRotation = isValidRotation; +exports.isValidScrollMode = isValidScrollMode; +exports.isValidSpreadMode = isValidSpreadMode; +exports.noContextMenuHandler = noContextMenuHandler; +exports.normalizeWheelEventDelta = normalizeWheelEventDelta; +exports.normalizeWheelEventDirection = normalizeWheelEventDirection; +exports.parseQueryString = parseQueryString; +exports.removeNullCharacters = removeNullCharacters; +exports.roundToDivide = roundToDivide; +exports.scrollIntoView = scrollIntoView; +exports.toggleCheckedBtn = toggleCheckedBtn; +exports.toggleExpandedBtn = toggleExpandedBtn; +exports.watchScroll = watchScroll; +const DEFAULT_SCALE_VALUE = "auto"; +exports.DEFAULT_SCALE_VALUE = DEFAULT_SCALE_VALUE; +const DEFAULT_SCALE = 1.0; +exports.DEFAULT_SCALE = DEFAULT_SCALE; +const DEFAULT_SCALE_DELTA = 1.1; +exports.DEFAULT_SCALE_DELTA = DEFAULT_SCALE_DELTA; +const MIN_SCALE = 0.1; +exports.MIN_SCALE = MIN_SCALE; +const MAX_SCALE = 10.0; +exports.MAX_SCALE = MAX_SCALE; +const UNKNOWN_SCALE = 0; +exports.UNKNOWN_SCALE = UNKNOWN_SCALE; +const MAX_AUTO_SCALE = 1.25; +exports.MAX_AUTO_SCALE = MAX_AUTO_SCALE; +const SCROLLBAR_PADDING = 40; +exports.SCROLLBAR_PADDING = SCROLLBAR_PADDING; +const VERTICAL_PADDING = 5; +exports.VERTICAL_PADDING = VERTICAL_PADDING; +const RenderingStates = { + INITIAL: 0, + RUNNING: 1, + PAUSED: 2, + FINISHED: 3 +}; +exports.RenderingStates = RenderingStates; +const PresentationModeState = { + UNKNOWN: 0, + NORMAL: 1, + CHANGING: 2, + FULLSCREEN: 3 +}; +exports.PresentationModeState = PresentationModeState; +const SidebarView = { + UNKNOWN: -1, + NONE: 0, + THUMBS: 1, + OUTLINE: 2, + ATTACHMENTS: 3, + LAYERS: 4 +}; +exports.SidebarView = SidebarView; +const TextLayerMode = { + DISABLE: 0, + ENABLE: 1, + ENABLE_PERMISSIONS: 2 +}; +exports.TextLayerMode = TextLayerMode; +const ScrollMode = { + UNKNOWN: -1, + VERTICAL: 0, + HORIZONTAL: 1, + WRAPPED: 2, + PAGE: 3 +}; +exports.ScrollMode = ScrollMode; +const SpreadMode = { + UNKNOWN: -1, + NONE: 0, + ODD: 1, + EVEN: 2 +}; +exports.SpreadMode = SpreadMode; +const CursorTool = { + SELECT: 0, + HAND: 1, + ZOOM: 2 +}; +exports.CursorTool = CursorTool; +const AutoPrintRegExp = /\bprint\s*\(/; +exports.AutoPrintRegExp = AutoPrintRegExp; +class OutputScale { + constructor() { + const pixelRatio = window.devicePixelRatio || 1; + this.sx = pixelRatio; + this.sy = pixelRatio; + } + get scaled() { + return this.sx !== 1 || this.sy !== 1; + } +} +exports.OutputScale = OutputScale; +function scrollIntoView(element, spot, scrollMatches = false) { + let parent = element.offsetParent; + if (!parent) { + console.error("offsetParent is not set -- cannot scroll"); + return; + } + let offsetY = element.offsetTop + element.clientTop; + let offsetX = element.offsetLeft + element.clientLeft; + while (parent.clientHeight === parent.scrollHeight && parent.clientWidth === parent.scrollWidth || scrollMatches && (parent.classList.contains("markedContent") || getComputedStyle(parent).overflow === "hidden")) { + offsetY += parent.offsetTop; + offsetX += parent.offsetLeft; + parent = parent.offsetParent; + if (!parent) { + return; + } + } + if (spot) { + if (spot.top !== undefined) { + offsetY += spot.top; + } + if (spot.left !== undefined) { + offsetX += spot.left; + parent.scrollLeft = offsetX; + } + } + parent.scrollTop = offsetY; +} +function watchScroll(viewAreaElement, callback) { + const debounceScroll = function (evt) { + if (rAF) { + return; + } + rAF = window.requestAnimationFrame(function viewAreaElementScrolled() { + rAF = null; + const currentX = viewAreaElement.scrollLeft; + const lastX = state.lastX; + if (currentX !== lastX) { + state.right = currentX > lastX; + } + state.lastX = currentX; + const currentY = viewAreaElement.scrollTop; + const lastY = state.lastY; + if (currentY !== lastY) { + state.down = currentY > lastY; + } + state.lastY = currentY; + callback(state); + }); + }; + const state = { + right: true, + down: true, + lastX: viewAreaElement.scrollLeft, + lastY: viewAreaElement.scrollTop, + _eventHandler: debounceScroll + }; + let rAF = null; + viewAreaElement.addEventListener("scroll", debounceScroll, true); + return state; +} +function parseQueryString(query) { + const params = new Map(); + for (const [key, value] of new URLSearchParams(query)) { + params.set(key.toLowerCase(), value); + } + return params; +} +const InvisibleCharactersRegExp = /[\x01-\x1F]/g; +function removeNullCharacters(str, replaceInvisible = false) { + if (typeof str !== "string") { + console.error(`The argument must be a string.`); + return str; + } + if (replaceInvisible) { + str = str.replaceAll(InvisibleCharactersRegExp, " "); + } + return str.replaceAll("\x00", ""); +} +function binarySearchFirstItem(items, condition, start = 0) { + let minIndex = start; + let maxIndex = items.length - 1; + if (maxIndex < 0 || !condition(items[maxIndex])) { + return items.length; + } + if (condition(items[minIndex])) { + return minIndex; + } + while (minIndex < maxIndex) { + const currentIndex = minIndex + maxIndex >> 1; + const currentItem = items[currentIndex]; + if (condition(currentItem)) { + maxIndex = currentIndex; + } else { + minIndex = currentIndex + 1; + } + } + return minIndex; +} +function approximateFraction(x) { + if (Math.floor(x) === x) { + return [x, 1]; + } + const xinv = 1 / x; + const limit = 8; + if (xinv > limit) { + return [1, limit]; + } else if (Math.floor(xinv) === xinv) { + return [1, xinv]; + } + const x_ = x > 1 ? xinv : x; + let a = 0, + b = 1, + c = 1, + d = 1; + while (true) { + const p = a + c, + q = b + d; + if (q > limit) { + break; + } + if (x_ <= p / q) { + c = p; + d = q; + } else { + a = p; + b = q; + } + } + let result; + if (x_ - a / b < c / d - x_) { + result = x_ === x ? [a, b] : [b, a]; + } else { + result = x_ === x ? [c, d] : [d, c]; + } + return result; +} +function roundToDivide(x, div) { + const r = x % div; + return r === 0 ? x : Math.round(x - r + div); +} +function getPageSizeInches({ + view, + userUnit, + rotate +}) { + const [x1, y1, x2, y2] = view; + const changeOrientation = rotate % 180 !== 0; + const width = (x2 - x1) / 72 * userUnit; + const height = (y2 - y1) / 72 * userUnit; + return { + width: changeOrientation ? height : width, + height: changeOrientation ? width : height + }; +} +function backtrackBeforeAllVisibleElements(index, views, top) { + if (index < 2) { + return index; + } + let elt = views[index].div; + let pageTop = elt.offsetTop + elt.clientTop; + if (pageTop >= top) { + elt = views[index - 1].div; + pageTop = elt.offsetTop + elt.clientTop; + } + for (let i = index - 2; i >= 0; --i) { + elt = views[i].div; + if (elt.offsetTop + elt.clientTop + elt.clientHeight <= pageTop) { + break; + } + index = i; + } + return index; +} +function getVisibleElements({ + scrollEl, + views, + sortByVisibility = false, + horizontal = false, + rtl = false +}) { + const top = scrollEl.scrollTop, + bottom = top + scrollEl.clientHeight; + const left = scrollEl.scrollLeft, + right = left + scrollEl.clientWidth; + function isElementBottomAfterViewTop(view) { + const element = view.div; + const elementBottom = element.offsetTop + element.clientTop + element.clientHeight; + return elementBottom > top; + } + function isElementNextAfterViewHorizontally(view) { + const element = view.div; + const elementLeft = element.offsetLeft + element.clientLeft; + const elementRight = elementLeft + element.clientWidth; + return rtl ? elementLeft < right : elementRight > left; + } + const visible = [], + ids = new Set(), + numViews = views.length; + let firstVisibleElementInd = binarySearchFirstItem(views, horizontal ? isElementNextAfterViewHorizontally : isElementBottomAfterViewTop); + if (firstVisibleElementInd > 0 && firstVisibleElementInd < numViews && !horizontal) { + firstVisibleElementInd = backtrackBeforeAllVisibleElements(firstVisibleElementInd, views, top); + } + let lastEdge = horizontal ? right : -1; + for (let i = firstVisibleElementInd; i < numViews; i++) { + const view = views[i], + element = view.div; + const currentWidth = element.offsetLeft + element.clientLeft; + const currentHeight = element.offsetTop + element.clientTop; + const viewWidth = element.clientWidth, + viewHeight = element.clientHeight; + const viewRight = currentWidth + viewWidth; + const viewBottom = currentHeight + viewHeight; + if (lastEdge === -1) { + if (viewBottom >= bottom) { + lastEdge = viewBottom; + } + } else if ((horizontal ? currentWidth : currentHeight) > lastEdge) { + break; + } + if (viewBottom <= top || currentHeight >= bottom || viewRight <= left || currentWidth >= right) { + continue; + } + const hiddenHeight = Math.max(0, top - currentHeight) + Math.max(0, viewBottom - bottom); + const hiddenWidth = Math.max(0, left - currentWidth) + Math.max(0, viewRight - right); + const fractionHeight = (viewHeight - hiddenHeight) / viewHeight, + fractionWidth = (viewWidth - hiddenWidth) / viewWidth; + const percent = fractionHeight * fractionWidth * 100 | 0; + visible.push({ + id: view.id, + x: currentWidth, + y: currentHeight, + view, + percent, + widthPercent: fractionWidth * 100 | 0 + }); + ids.add(view.id); + } + const first = visible[0], + last = visible.at(-1); + if (sortByVisibility) { + visible.sort(function (a, b) { + const pc = a.percent - b.percent; + if (Math.abs(pc) > 0.001) { + return -pc; + } + return a.id - b.id; + }); + } + return { + first, + last, + views: visible, + ids + }; +} +function noContextMenuHandler(evt) { + evt.preventDefault(); +} +function normalizeWheelEventDirection(evt) { + let delta = Math.hypot(evt.deltaX, evt.deltaY); + const angle = Math.atan2(evt.deltaY, evt.deltaX); + if (-0.25 * Math.PI < angle && angle < 0.75 * Math.PI) { + delta = -delta; + } + return delta; +} +function normalizeWheelEventDelta(evt) { + const deltaMode = evt.deltaMode; + let delta = normalizeWheelEventDirection(evt); + const MOUSE_PIXELS_PER_LINE = 30; + const MOUSE_LINES_PER_PAGE = 30; + if (deltaMode === WheelEvent.DOM_DELTA_PIXEL) { + delta /= MOUSE_PIXELS_PER_LINE * MOUSE_LINES_PER_PAGE; + } else if (deltaMode === WheelEvent.DOM_DELTA_LINE) { + delta /= MOUSE_LINES_PER_PAGE; + } + return delta; +} +function isValidRotation(angle) { + return Number.isInteger(angle) && angle % 90 === 0; +} +function isValidScrollMode(mode) { + return Number.isInteger(mode) && Object.values(ScrollMode).includes(mode) && mode !== ScrollMode.UNKNOWN; +} +function isValidSpreadMode(mode) { + return Number.isInteger(mode) && Object.values(SpreadMode).includes(mode) && mode !== SpreadMode.UNKNOWN; +} +function isPortraitOrientation(size) { + return size.width <= size.height; +} +const animationStarted = new Promise(function (resolve) { + window.requestAnimationFrame(resolve); +}); +exports.animationStarted = animationStarted; +const docStyle = document.documentElement.style; +exports.docStyle = docStyle; +function clamp(v, min, max) { + return Math.min(Math.max(v, min), max); +} +class ProgressBar { + #classList = null; + #disableAutoFetchTimeout = null; + #percent = 0; + #style = null; + #visible = true; + constructor(bar) { + this.#classList = bar.classList; + this.#style = bar.style; + } + get percent() { + return this.#percent; + } + set percent(val) { + this.#percent = clamp(val, 0, 100); + if (isNaN(val)) { + this.#classList.add("indeterminate"); + return; + } + this.#classList.remove("indeterminate"); + this.#style.setProperty("--progressBar-percent", `${this.#percent}%`); + } + setWidth(viewer) { + if (!viewer) { + return; + } + const container = viewer.parentNode; + const scrollbarWidth = container.offsetWidth - viewer.offsetWidth; + if (scrollbarWidth > 0) { + this.#style.setProperty("--progressBar-end-offset", `${scrollbarWidth}px`); + } + } + setDisableAutoFetch(delay = 5000) { + if (isNaN(this.#percent)) { + return; + } + if (this.#disableAutoFetchTimeout) { + clearTimeout(this.#disableAutoFetchTimeout); + } + this.show(); + this.#disableAutoFetchTimeout = setTimeout(() => { + this.#disableAutoFetchTimeout = null; + this.hide(); + }, delay); + } + hide() { + if (!this.#visible) { + return; + } + this.#visible = false; + this.#classList.add("hidden"); + } + show() { + if (this.#visible) { + return; + } + this.#visible = true; + this.#classList.remove("hidden"); + } +} +exports.ProgressBar = ProgressBar; +function getActiveOrFocusedElement() { + let curRoot = document; + let curActiveOrFocused = curRoot.activeElement || curRoot.querySelector(":focus"); + while (curActiveOrFocused?.shadowRoot) { + curRoot = curActiveOrFocused.shadowRoot; + curActiveOrFocused = curRoot.activeElement || curRoot.querySelector(":focus"); + } + return curActiveOrFocused; +} +function apiPageLayoutToViewerModes(layout) { + let scrollMode = ScrollMode.VERTICAL, + spreadMode = SpreadMode.NONE; + switch (layout) { + case "SinglePage": + scrollMode = ScrollMode.PAGE; + break; + case "OneColumn": + break; + case "TwoPageLeft": + scrollMode = ScrollMode.PAGE; + case "TwoColumnLeft": + spreadMode = SpreadMode.ODD; + break; + case "TwoPageRight": + scrollMode = ScrollMode.PAGE; + case "TwoColumnRight": + spreadMode = SpreadMode.EVEN; + break; + } + return { + scrollMode, + spreadMode + }; +} +function apiPageModeToSidebarView(mode) { + switch (mode) { + case "UseNone": + return SidebarView.NONE; + case "UseThumbs": + return SidebarView.THUMBS; + case "UseOutlines": + return SidebarView.OUTLINE; + case "UseAttachments": + return SidebarView.ATTACHMENTS; + case "UseOC": + return SidebarView.LAYERS; + } + return SidebarView.NONE; +} +function toggleCheckedBtn(button, toggle, view = null) { + button.classList.toggle("toggled", toggle); + button.setAttribute("aria-checked", toggle); + view?.classList.toggle("hidden", !toggle); +} +function toggleExpandedBtn(button, toggle, view = null) { + button.classList.toggle("toggled", toggle); + button.setAttribute("aria-expanded", toggle); + view?.classList.toggle("hidden", !toggle); +} + +/***/ }), +/* 4 */ +/***/ ((module) => { + + + +let pdfjsLib; +if (typeof window !== "undefined" && window["pdfjs-dist/build/pdf"]) { + pdfjsLib = window["pdfjs-dist/build/pdf"]; +} else { + pdfjsLib = require("../build/pdf.js"); +} +module.exports = pdfjsLib; + +/***/ }), +/* 5 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.compatibilityParams = exports.OptionKind = exports.AppOptions = void 0; +const compatibilityParams = Object.create(null); +exports.compatibilityParams = compatibilityParams; +{ + const userAgent = navigator.userAgent || ""; + const platform = navigator.platform || ""; + const maxTouchPoints = navigator.maxTouchPoints || 1; + const isAndroid = /Android/.test(userAgent); + const isIOS = /\b(iPad|iPhone|iPod)(?=;)/.test(userAgent) || platform === "MacIntel" && maxTouchPoints > 1; + (function checkCanvasSizeLimitation() { + if (isIOS || isAndroid) { + compatibilityParams.maxCanvasPixels = 5242880; + } + })(); +} +const OptionKind = { + VIEWER: 0x02, + API: 0x04, + WORKER: 0x08, + PREFERENCE: 0x80 +}; +exports.OptionKind = OptionKind; +const defaultOptions = { + annotationEditorMode: { + value: 0, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + annotationMode: { + value: 2, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + cursorToolOnLoad: { + value: 0, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + defaultZoomDelay: { + value: 400, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + defaultZoomValue: { + value: "", + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + disableHistory: { + value: false, + kind: OptionKind.VIEWER + }, + disablePageLabels: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + enablePermissions: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + enablePrintAutoRotate: { + value: true, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + enableScripting: { + value: true, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + externalLinkRel: { + value: "noopener noreferrer nofollow", + kind: OptionKind.VIEWER + }, + externalLinkTarget: { + value: 0, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + historyUpdateUrl: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + ignoreDestinationZoom: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + imageResourcesPath: { + value: SEAFILE_PDFJS_DIR + "/web/images/", + kind: OptionKind.VIEWER + }, + maxCanvasPixels: { + value: 16777216, + kind: OptionKind.VIEWER + }, + forcePageColors: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + pageColorsBackground: { + value: "Canvas", + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + pageColorsForeground: { + value: "CanvasText", + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + pdfBugEnabled: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + printResolution: { + value: 150, + kind: OptionKind.VIEWER + }, + sidebarViewOnLoad: { + value: -1, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + scrollModeOnLoad: { + value: -1, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + spreadModeOnLoad: { + value: -1, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + textLayerMode: { + value: 1, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + useOnlyCssZoom: { + value: false, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + viewerCssTheme: { + value: 0, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + viewOnLoad: { + value: 0, + kind: OptionKind.VIEWER + OptionKind.PREFERENCE + }, + cMapPacked: { + value: true, + kind: OptionKind.API + }, + cMapUrl: { + value: SEAFILE_PDFJS_DIR + "/web/cmaps/", + kind: OptionKind.API + }, + disableAutoFetch: { + value: false, + kind: OptionKind.API + OptionKind.PREFERENCE + }, + disableFontFace: { + value: false, + kind: OptionKind.API + OptionKind.PREFERENCE + }, + disableRange: { + value: false, + kind: OptionKind.API + OptionKind.PREFERENCE + }, + disableStream: { + value: false, + kind: OptionKind.API + OptionKind.PREFERENCE + }, + docBaseUrl: { + value: "", + kind: OptionKind.API + }, + enableXfa: { + value: true, + kind: OptionKind.API + OptionKind.PREFERENCE + }, + fontExtraProperties: { + value: false, + kind: OptionKind.API + }, + isEvalSupported: { + value: true, + kind: OptionKind.API + }, + isOffscreenCanvasSupported: { + value: true, + kind: OptionKind.API + }, + maxImageSize: { + value: -1, + kind: OptionKind.API + }, + pdfBug: { + value: false, + kind: OptionKind.API + }, + standardFontDataUrl: { + value: SEAFILE_PDFJS_DIR + "/web/standard_fonts/", + kind: OptionKind.API + }, + verbosity: { + value: 1, + kind: OptionKind.API + }, + workerPort: { + value: null, + kind: OptionKind.WORKER + }, + workerSrc: { + value: SEAFILE_PDFJS_DIR + "/build/pdf.worker.js", + kind: OptionKind.WORKER + } +}; +{ + defaultOptions.defaultUrl = { + value: SEAFILE_FILE_URL, + kind: OptionKind.VIEWER + }; + defaultOptions.disablePreferences = { + value: false, + kind: OptionKind.VIEWER + }; + defaultOptions.locale = { + value: navigator.language || "en-US", + kind: OptionKind.VIEWER + }; + defaultOptions.sandboxBundleSrc = { + value: "../build/pdf.sandbox.js", + kind: OptionKind.VIEWER + }; +} +const userOptions = Object.create(null); +class AppOptions { + constructor() { + throw new Error("Cannot initialize AppOptions."); + } + static get(name) { + const userOption = userOptions[name]; + if (userOption !== undefined) { + return userOption; + } + const defaultOption = defaultOptions[name]; + if (defaultOption !== undefined) { + return compatibilityParams[name] ?? defaultOption.value; + } + return undefined; + } + static getAll(kind = null) { + const options = Object.create(null); + for (const name in defaultOptions) { + const defaultOption = defaultOptions[name]; + if (kind) { + if ((kind & defaultOption.kind) === 0) { + continue; + } + if (kind === OptionKind.PREFERENCE) { + const value = defaultOption.value, + valueType = typeof value; + if (valueType === "boolean" || valueType === "string" || valueType === "number" && Number.isInteger(value)) { + options[name] = value; + continue; + } + throw new Error(`Invalid type for preference: ${name}`); + } + } + const userOption = userOptions[name]; + options[name] = userOption !== undefined ? userOption : compatibilityParams[name] ?? defaultOption.value; + } + return options; + } + static set(name, value) { + userOptions[name] = value; + } + static setAll(options) { + for (const name in options) { + userOptions[name] = options[name]; + } + } + static remove(name) { + delete userOptions[name]; + } +} +exports.AppOptions = AppOptions; +{ + AppOptions._hasUserOptions = function () { + return Object.keys(userOptions).length > 0; + }; +} + +/***/ }), +/* 6 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.WaitOnType = exports.EventBus = exports.AutomationEventBus = void 0; +exports.waitOnEventOrTimeout = waitOnEventOrTimeout; +const WaitOnType = { + EVENT: "event", + TIMEOUT: "timeout" +}; +exports.WaitOnType = WaitOnType; +function waitOnEventOrTimeout({ + target, + name, + delay = 0 +}) { + return new Promise(function (resolve, reject) { + if (typeof target !== "object" || !(name && typeof name === "string") || !(Number.isInteger(delay) && delay >= 0)) { + throw new Error("waitOnEventOrTimeout - invalid parameters."); + } + function handler(type) { + if (target instanceof EventBus) { + target._off(name, eventHandler); + } else { + target.removeEventListener(name, eventHandler); + } + if (timeout) { + clearTimeout(timeout); + } + resolve(type); + } + const eventHandler = handler.bind(null, WaitOnType.EVENT); + if (target instanceof EventBus) { + target._on(name, eventHandler); + } else { + target.addEventListener(name, eventHandler); + } + const timeoutHandler = handler.bind(null, WaitOnType.TIMEOUT); + const timeout = setTimeout(timeoutHandler, delay); + }); +} +class EventBus { + #listeners = Object.create(null); + on(eventName, listener, options = null) { + this._on(eventName, listener, { + external: true, + once: options?.once + }); + } + off(eventName, listener, options = null) { + this._off(eventName, listener, { + external: true, + once: options?.once + }); + } + dispatch(eventName, data) { + const eventListeners = this.#listeners[eventName]; + if (!eventListeners || eventListeners.length === 0) { + return; + } + let externalListeners; + for (const { + listener, + external, + once + } of eventListeners.slice(0)) { + if (once) { + this._off(eventName, listener); + } + if (external) { + (externalListeners ||= []).push(listener); + continue; + } + listener(data); + } + if (externalListeners) { + for (const listener of externalListeners) { + listener(data); + } + externalListeners = null; + } + } + _on(eventName, listener, options = null) { + const eventListeners = this.#listeners[eventName] ||= []; + eventListeners.push({ + listener, + external: options?.external === true, + once: options?.once === true + }); + } + _off(eventName, listener, options = null) { + const eventListeners = this.#listeners[eventName]; + if (!eventListeners) { + return; + } + for (let i = 0, ii = eventListeners.length; i < ii; i++) { + if (eventListeners[i].listener === listener) { + eventListeners.splice(i, 1); + return; + } + } + } +} +exports.EventBus = EventBus; +class AutomationEventBus extends EventBus { + dispatch(eventName, data) { + throw new Error("Not implemented: AutomationEventBus.dispatch"); + } +} +exports.AutomationEventBus = AutomationEventBus; + +/***/ }), +/* 7 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SimpleLinkService = exports.PDFLinkService = exports.LinkTarget = void 0; +var _ui_utils = __webpack_require__(3); +const DEFAULT_LINK_REL = "noopener noreferrer nofollow"; +const LinkTarget = { + NONE: 0, + SELF: 1, + BLANK: 2, + PARENT: 3, + TOP: 4 +}; +exports.LinkTarget = LinkTarget; +function addLinkAttributes(link, { + url, + target, + rel, + enabled = true +} = {}) { + if (!url || typeof url !== "string") { + throw new Error('A valid "url" parameter must provided.'); + } + const urlNullRemoved = (0, _ui_utils.removeNullCharacters)(url); + if (enabled) { + link.href = link.title = urlNullRemoved; + } else { + link.href = ""; + link.title = `Disabled: ${urlNullRemoved}`; + link.onclick = () => { + return false; + }; + } + let targetStr = ""; + switch (target) { + case LinkTarget.NONE: + break; + case LinkTarget.SELF: + targetStr = "_self"; + break; + case LinkTarget.BLANK: + targetStr = "_blank"; + break; + case LinkTarget.PARENT: + targetStr = "_parent"; + break; + case LinkTarget.TOP: + targetStr = "_top"; + break; + } + link.target = targetStr; + link.rel = typeof rel === "string" ? rel : DEFAULT_LINK_REL; +} +class PDFLinkService { + #pagesRefCache = new Map(); + constructor({ + eventBus, + externalLinkTarget = null, + externalLinkRel = null, + ignoreDestinationZoom = false + } = {}) { + this.eventBus = eventBus; + this.externalLinkTarget = externalLinkTarget; + this.externalLinkRel = externalLinkRel; + this.externalLinkEnabled = true; + this._ignoreDestinationZoom = ignoreDestinationZoom; + this.baseUrl = null; + this.pdfDocument = null; + this.pdfViewer = null; + this.pdfHistory = null; + } + setDocument(pdfDocument, baseUrl = null) { + this.baseUrl = baseUrl; + this.pdfDocument = pdfDocument; + this.#pagesRefCache.clear(); + } + setViewer(pdfViewer) { + this.pdfViewer = pdfViewer; + } + setHistory(pdfHistory) { + this.pdfHistory = pdfHistory; + } + get pagesCount() { + return this.pdfDocument ? this.pdfDocument.numPages : 0; + } + get page() { + return this.pdfViewer.currentPageNumber; + } + set page(value) { + this.pdfViewer.currentPageNumber = value; + } + get rotation() { + return this.pdfViewer.pagesRotation; + } + set rotation(value) { + this.pdfViewer.pagesRotation = value; + } + get isInPresentationMode() { + return this.pdfViewer.isInPresentationMode; + } + #goToDestinationHelper(rawDest, namedDest = null, explicitDest) { + const destRef = explicitDest[0]; + let pageNumber; + if (typeof destRef === "object" && destRef !== null) { + pageNumber = this._cachedPageNumber(destRef); + if (!pageNumber) { + this.pdfDocument.getPageIndex(destRef).then(pageIndex => { + this.cachePageRef(pageIndex + 1, destRef); + this.#goToDestinationHelper(rawDest, namedDest, explicitDest); + }).catch(() => { + console.error(`PDFLinkService.#goToDestinationHelper: "${destRef}" is not ` + `a valid page reference, for dest="${rawDest}".`); + }); + return; + } + } else if (Number.isInteger(destRef)) { + pageNumber = destRef + 1; + } else { + console.error(`PDFLinkService.#goToDestinationHelper: "${destRef}" is not ` + `a valid destination reference, for dest="${rawDest}".`); + return; + } + if (!pageNumber || pageNumber < 1 || pageNumber > this.pagesCount) { + console.error(`PDFLinkService.#goToDestinationHelper: "${pageNumber}" is not ` + `a valid page number, for dest="${rawDest}".`); + return; + } + if (this.pdfHistory) { + this.pdfHistory.pushCurrentPosition(); + this.pdfHistory.push({ + namedDest, + explicitDest, + pageNumber + }); + } + this.pdfViewer.scrollPageIntoView({ + pageNumber, + destArray: explicitDest, + ignoreDestinationZoom: this._ignoreDestinationZoom + }); + } + async goToDestination(dest) { + if (!this.pdfDocument) { + return; + } + let namedDest, explicitDest; + if (typeof dest === "string") { + namedDest = dest; + explicitDest = await this.pdfDocument.getDestination(dest); + } else { + namedDest = null; + explicitDest = await dest; + } + if (!Array.isArray(explicitDest)) { + console.error(`PDFLinkService.goToDestination: "${explicitDest}" is not ` + `a valid destination array, for dest="${dest}".`); + return; + } + this.#goToDestinationHelper(dest, namedDest, explicitDest); + } + goToPage(val) { + if (!this.pdfDocument) { + return; + } + const pageNumber = typeof val === "string" && this.pdfViewer.pageLabelToPageNumber(val) || val | 0; + if (!(Number.isInteger(pageNumber) && pageNumber > 0 && pageNumber <= this.pagesCount)) { + console.error(`PDFLinkService.goToPage: "${val}" is not a valid page.`); + return; + } + if (this.pdfHistory) { + this.pdfHistory.pushCurrentPosition(); + this.pdfHistory.pushPage(pageNumber); + } + this.pdfViewer.scrollPageIntoView({ + pageNumber + }); + } + addLinkAttributes(link, url, newWindow = false) { + addLinkAttributes(link, { + url, + target: newWindow ? LinkTarget.BLANK : this.externalLinkTarget, + rel: this.externalLinkRel, + enabled: this.externalLinkEnabled + }); + } + getDestinationHash(dest) { + if (typeof dest === "string") { + if (dest.length > 0) { + return this.getAnchorUrl("#" + escape(dest)); + } + } else if (Array.isArray(dest)) { + const str = JSON.stringify(dest); + if (str.length > 0) { + return this.getAnchorUrl("#" + escape(str)); + } + } + return this.getAnchorUrl(""); + } + getAnchorUrl(anchor) { + return this.baseUrl ? this.baseUrl + anchor : anchor; + } + setHash(hash) { + if (!this.pdfDocument) { + return; + } + let pageNumber, dest; + if (hash.includes("=")) { + const params = (0, _ui_utils.parseQueryString)(hash); + if (params.has("search")) { + const query = params.get("search").replaceAll('"', ""), + phrase = params.get("phrase") === "true"; + this.eventBus.dispatch("findfromurlhash", { + source: this, + query: phrase ? query : query.match(/\S+/g) + }); + } + if (params.has("page")) { + pageNumber = params.get("page") | 0 || 1; + } + if (params.has("zoom")) { + const zoomArgs = params.get("zoom").split(","); + const zoomArg = zoomArgs[0]; + const zoomArgNumber = parseFloat(zoomArg); + if (!zoomArg.includes("Fit")) { + dest = [null, { + name: "XYZ" + }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null, zoomArgs.length > 2 ? zoomArgs[2] | 0 : null, zoomArgNumber ? zoomArgNumber / 100 : zoomArg]; + } else { + if (zoomArg === "Fit" || zoomArg === "FitB") { + dest = [null, { + name: zoomArg + }]; + } else if (zoomArg === "FitH" || zoomArg === "FitBH" || zoomArg === "FitV" || zoomArg === "FitBV") { + dest = [null, { + name: zoomArg + }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null]; + } else if (zoomArg === "FitR") { + if (zoomArgs.length !== 5) { + console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'); + } else { + dest = [null, { + name: zoomArg + }, zoomArgs[1] | 0, zoomArgs[2] | 0, zoomArgs[3] | 0, zoomArgs[4] | 0]; + } + } else { + console.error(`PDFLinkService.setHash: "${zoomArg}" is not a valid zoom value.`); + } + } + } + if (dest) { + this.pdfViewer.scrollPageIntoView({ + pageNumber: pageNumber || this.page, + destArray: dest, + allowNegativeOffset: true + }); + } else if (pageNumber) { + this.page = pageNumber; + } + if (params.has("pagemode")) { + this.eventBus.dispatch("pagemode", { + source: this, + mode: params.get("pagemode") + }); + } + if (params.has("nameddest")) { + this.goToDestination(params.get("nameddest")); + } + } else { + dest = unescape(hash); + try { + dest = JSON.parse(dest); + if (!Array.isArray(dest)) { + dest = dest.toString(); + } + } catch {} + if (typeof dest === "string" || PDFLinkService.#isValidExplicitDestination(dest)) { + this.goToDestination(dest); + return; + } + console.error(`PDFLinkService.setHash: "${unescape(hash)}" is not a valid destination.`); + } + } + executeNamedAction(action) { + switch (action) { + case "GoBack": + this.pdfHistory?.back(); + break; + case "GoForward": + this.pdfHistory?.forward(); + break; + case "NextPage": + this.pdfViewer.nextPage(); + break; + case "PrevPage": + this.pdfViewer.previousPage(); + break; + case "LastPage": + this.page = this.pagesCount; + break; + case "FirstPage": + this.page = 1; + break; + default: + break; + } + this.eventBus.dispatch("namedaction", { + source: this, + action + }); + } + async executeSetOCGState(action) { + const pdfDocument = this.pdfDocument; + const optionalContentConfig = await this.pdfViewer.optionalContentConfigPromise; + if (pdfDocument !== this.pdfDocument) { + return; + } + let operator; + for (const elem of action.state) { + switch (elem) { + case "ON": + case "OFF": + case "Toggle": + operator = elem; + continue; + } + switch (operator) { + case "ON": + optionalContentConfig.setVisibility(elem, true); + break; + case "OFF": + optionalContentConfig.setVisibility(elem, false); + break; + case "Toggle": + const group = optionalContentConfig.getGroup(elem); + if (group) { + optionalContentConfig.setVisibility(elem, !group.visible); + } + break; + } + } + this.pdfViewer.optionalContentConfigPromise = Promise.resolve(optionalContentConfig); + } + cachePageRef(pageNum, pageRef) { + if (!pageRef) { + return; + } + const refStr = pageRef.gen === 0 ? `${pageRef.num}R` : `${pageRef.num}R${pageRef.gen}`; + this.#pagesRefCache.set(refStr, pageNum); + } + _cachedPageNumber(pageRef) { + if (!pageRef) { + return null; + } + const refStr = pageRef.gen === 0 ? `${pageRef.num}R` : `${pageRef.num}R${pageRef.gen}`; + return this.#pagesRefCache.get(refStr) || null; + } + static #isValidExplicitDestination(dest) { + if (!Array.isArray(dest)) { + return false; + } + const destLength = dest.length; + if (destLength < 2) { + return false; + } + const page = dest[0]; + if (!(typeof page === "object" && Number.isInteger(page.num) && Number.isInteger(page.gen)) && !(Number.isInteger(page) && page >= 0)) { + return false; + } + const zoom = dest[1]; + if (!(typeof zoom === "object" && typeof zoom.name === "string")) { + return false; + } + let allowNull = true; + switch (zoom.name) { + case "XYZ": + if (destLength !== 5) { + return false; + } + break; + case "Fit": + case "FitB": + return destLength === 2; + case "FitH": + case "FitBH": + case "FitV": + case "FitBV": + if (destLength !== 3) { + return false; + } + break; + case "FitR": + if (destLength !== 6) { + return false; + } + allowNull = false; + break; + default: + return false; + } + for (let i = 2; i < destLength; i++) { + const param = dest[i]; + if (!(typeof param === "number" || allowNull && param === null)) { + return false; + } + } + return true; + } +} +exports.PDFLinkService = PDFLinkService; +class SimpleLinkService { + constructor() { + this.externalLinkEnabled = true; + } + get pagesCount() { + return 0; + } + get page() { + return 0; + } + set page(value) {} + get rotation() { + return 0; + } + set rotation(value) {} + get isInPresentationMode() { + return false; + } + async goToDestination(dest) {} + goToPage(val) {} + addLinkAttributes(link, url, newWindow = false) { + addLinkAttributes(link, { + url, + enabled: this.externalLinkEnabled + }); + } + getDestinationHash(dest) { + return "#"; + } + getAnchorUrl(hash) { + return "#"; + } + setHash(hash) {} + executeNamedAction(action) {} + executeSetOCGState(action) {} + cachePageRef(pageNum, pageRef) {} +} +exports.SimpleLinkService = SimpleLinkService; + +/***/ }), +/* 8 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AnnotationEditorParams = void 0; +var _pdfjsLib = __webpack_require__(4); +class AnnotationEditorParams { + constructor(options, eventBus) { + this.eventBus = eventBus; + this.#bindListeners(options); + } + #bindListeners({ + editorFreeTextFontSize, + editorFreeTextColor, + editorInkColor, + editorInkThickness, + editorInkOpacity + }) { + const dispatchEvent = (typeStr, value) => { + this.eventBus.dispatch("switchannotationeditorparams", { + source: this, + type: _pdfjsLib.AnnotationEditorParamsType[typeStr], + value + }); + }; + editorFreeTextFontSize.addEventListener("input", function () { + dispatchEvent("FREETEXT_SIZE", this.valueAsNumber); + }); + editorFreeTextColor.addEventListener("input", function () { + dispatchEvent("FREETEXT_COLOR", this.value); + }); + editorInkColor.addEventListener("input", function () { + dispatchEvent("INK_COLOR", this.value); + }); + editorInkThickness.addEventListener("input", function () { + dispatchEvent("INK_THICKNESS", this.valueAsNumber); + }); + editorInkOpacity.addEventListener("input", function () { + dispatchEvent("INK_OPACITY", this.valueAsNumber); + }); + this.eventBus._on("annotationeditorparamschanged", evt => { + for (const [type, value] of evt.details) { + switch (type) { + case _pdfjsLib.AnnotationEditorParamsType.FREETEXT_SIZE: + editorFreeTextFontSize.value = value; + break; + case _pdfjsLib.AnnotationEditorParamsType.FREETEXT_COLOR: + editorFreeTextColor.value = value; + break; + case _pdfjsLib.AnnotationEditorParamsType.INK_COLOR: + editorInkColor.value = value; + break; + case _pdfjsLib.AnnotationEditorParamsType.INK_THICKNESS: + editorInkThickness.value = value; + break; + case _pdfjsLib.AnnotationEditorParamsType.INK_OPACITY: + editorInkOpacity.value = value; + break; + } + } + }); + } +} +exports.AnnotationEditorParams = AnnotationEditorParams; + +/***/ }), +/* 9 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.OverlayManager = void 0; +class OverlayManager { + #overlays = new WeakMap(); + #active = null; + get active() { + return this.#active; + } + async register(dialog, canForceClose = false) { + if (typeof dialog !== "object") { + throw new Error("Not enough parameters."); + } else if (this.#overlays.has(dialog)) { + throw new Error("The overlay is already registered."); + } + this.#overlays.set(dialog, { + canForceClose + }); + dialog.addEventListener("cancel", evt => { + this.#active = null; + }); + } + async open(dialog) { + if (!this.#overlays.has(dialog)) { + throw new Error("The overlay does not exist."); + } else if (this.#active) { + if (this.#active === dialog) { + throw new Error("The overlay is already active."); + } else if (this.#overlays.get(dialog).canForceClose) { + await this.close(); + } else { + throw new Error("Another overlay is currently active."); + } + } + this.#active = dialog; + dialog.showModal(); + } + async close(dialog = this.#active) { + if (!this.#overlays.has(dialog)) { + throw new Error("The overlay does not exist."); + } else if (!this.#active) { + throw new Error("The overlay is currently not active."); + } else if (this.#active !== dialog) { + throw new Error("Another overlay is currently active."); + } + dialog.close(); + this.#active = null; + } +} +exports.OverlayManager = OverlayManager; + +/***/ }), +/* 10 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PasswordPrompt = void 0; +var _pdfjsLib = __webpack_require__(4); +class PasswordPrompt { + #activeCapability = null; + #updateCallback = null; + #reason = null; + constructor(options, overlayManager, l10n, isViewerEmbedded = false) { + this.dialog = options.dialog; + this.label = options.label; + this.input = options.input; + this.submitButton = options.submitButton; + this.cancelButton = options.cancelButton; + this.overlayManager = overlayManager; + this.l10n = l10n; + this._isViewerEmbedded = isViewerEmbedded; + this.submitButton.addEventListener("click", this.#verify.bind(this)); + this.cancelButton.addEventListener("click", this.close.bind(this)); + this.input.addEventListener("keydown", e => { + if (e.keyCode === 13) { + this.#verify(); + } + }); + this.overlayManager.register(this.dialog, true); + this.dialog.addEventListener("close", this.#cancel.bind(this)); + } + async open() { + if (this.#activeCapability) { + await this.#activeCapability.promise; + } + this.#activeCapability = new _pdfjsLib.PromiseCapability(); + try { + await this.overlayManager.open(this.dialog); + } catch (ex) { + this.#activeCapability = null; + throw ex; + } + const passwordIncorrect = this.#reason === _pdfjsLib.PasswordResponses.INCORRECT_PASSWORD; + if (!this._isViewerEmbedded || passwordIncorrect) { + this.input.focus(); + } + this.label.textContent = await this.l10n.get(`password_${passwordIncorrect ? "invalid" : "label"}`); + } + async close() { + if (this.overlayManager.active === this.dialog) { + this.overlayManager.close(this.dialog); + } + } + #verify() { + const password = this.input.value; + if (password?.length > 0) { + this.#invokeCallback(password); + } + } + #cancel() { + this.#invokeCallback(new Error("PasswordPrompt cancelled.")); + this.#activeCapability.resolve(); + } + #invokeCallback(password) { + if (!this.#updateCallback) { + return; + } + this.close(); + this.input.value = ""; + this.#updateCallback(password); + this.#updateCallback = null; + } + async setUpdateCallback(updateCallback, reason) { + if (this.#activeCapability) { + await this.#activeCapability.promise; + } + this.#updateCallback = updateCallback; + this.#reason = reason; + } +} +exports.PasswordPrompt = PasswordPrompt; + +/***/ }), +/* 11 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFAttachmentViewer = void 0; +var _pdfjsLib = __webpack_require__(4); +var _base_tree_viewer = __webpack_require__(12); +var _event_utils = __webpack_require__(6); +class PDFAttachmentViewer extends _base_tree_viewer.BaseTreeViewer { + constructor(options) { + super(options); + this.downloadManager = options.downloadManager; + this.eventBus._on("fileattachmentannotation", this.#appendAttachment.bind(this)); + } + reset(keepRenderedCapability = false) { + super.reset(); + this._attachments = null; + if (!keepRenderedCapability) { + this._renderedCapability = new _pdfjsLib.PromiseCapability(); + } + this._pendingDispatchEvent = false; + } + async _dispatchEvent(attachmentsCount) { + this._renderedCapability.resolve(); + if (attachmentsCount === 0 && !this._pendingDispatchEvent) { + this._pendingDispatchEvent = true; + await (0, _event_utils.waitOnEventOrTimeout)({ + target: this.eventBus, + name: "annotationlayerrendered", + delay: 1000 + }); + if (!this._pendingDispatchEvent) { + return; + } + } + this._pendingDispatchEvent = false; + this.eventBus.dispatch("attachmentsloaded", { + source: this, + attachmentsCount + }); + } + _bindLink(element, { + content, + filename + }) { + element.onclick = () => { + this.downloadManager.openOrDownloadData(element, content, filename); + return false; + }; + } + render({ + attachments, + keepRenderedCapability = false + }) { + if (this._attachments) { + this.reset(keepRenderedCapability); + } + this._attachments = attachments || null; + if (!attachments) { + this._dispatchEvent(0); + return; + } + const fragment = document.createDocumentFragment(); + let attachmentsCount = 0; + for (const name in attachments) { + const item = attachments[name]; + const content = item.content, + filename = (0, _pdfjsLib.getFilenameFromUrl)(item.filename, true); + const div = document.createElement("div"); + div.className = "treeItem"; + const element = document.createElement("a"); + this._bindLink(element, { + content, + filename + }); + element.textContent = this._normalizeTextContent(filename); + div.append(element); + fragment.append(div); + attachmentsCount++; + } + this._finishRendering(fragment, attachmentsCount); + } + #appendAttachment({ + filename, + content + }) { + const renderedPromise = this._renderedCapability.promise; + renderedPromise.then(() => { + if (renderedPromise !== this._renderedCapability.promise) { + return; + } + const attachments = this._attachments || Object.create(null); + for (const name in attachments) { + if (filename === name) { + return; + } + } + attachments[filename] = { + filename, + content + }; + this.render({ + attachments, + keepRenderedCapability: true + }); + }); + } +} +exports.PDFAttachmentViewer = PDFAttachmentViewer; + +/***/ }), +/* 12 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.BaseTreeViewer = void 0; +var _ui_utils = __webpack_require__(3); +const TREEITEM_OFFSET_TOP = -100; +const TREEITEM_SELECTED_CLASS = "selected"; +class BaseTreeViewer { + constructor(options) { + if (this.constructor === BaseTreeViewer) { + throw new Error("Cannot initialize BaseTreeViewer."); + } + this.container = options.container; + this.eventBus = options.eventBus; + this.reset(); + } + reset() { + this._pdfDocument = null; + this._lastToggleIsShow = true; + this._currentTreeItem = null; + this.container.textContent = ""; + this.container.classList.remove("treeWithDeepNesting"); + } + _dispatchEvent(count) { + throw new Error("Not implemented: _dispatchEvent"); + } + _bindLink(element, params) { + throw new Error("Not implemented: _bindLink"); + } + _normalizeTextContent(str) { + return (0, _ui_utils.removeNullCharacters)(str, true) || "\u2013"; + } + _addToggleButton(div, hidden = false) { + const toggler = document.createElement("div"); + toggler.className = "treeItemToggler"; + if (hidden) { + toggler.classList.add("treeItemsHidden"); + } + toggler.onclick = evt => { + evt.stopPropagation(); + toggler.classList.toggle("treeItemsHidden"); + if (evt.shiftKey) { + const shouldShowAll = !toggler.classList.contains("treeItemsHidden"); + this._toggleTreeItem(div, shouldShowAll); + } + }; + div.prepend(toggler); + } + _toggleTreeItem(root, show = false) { + this._lastToggleIsShow = show; + for (const toggler of root.querySelectorAll(".treeItemToggler")) { + toggler.classList.toggle("treeItemsHidden", !show); + } + } + _toggleAllTreeItems() { + this._toggleTreeItem(this.container, !this._lastToggleIsShow); + } + _finishRendering(fragment, count, hasAnyNesting = false) { + if (hasAnyNesting) { + this.container.classList.add("treeWithDeepNesting"); + this._lastToggleIsShow = !fragment.querySelector(".treeItemsHidden"); + } + this.container.append(fragment); + this._dispatchEvent(count); + } + render(params) { + throw new Error("Not implemented: render"); + } + _updateCurrentTreeItem(treeItem = null) { + if (this._currentTreeItem) { + this._currentTreeItem.classList.remove(TREEITEM_SELECTED_CLASS); + this._currentTreeItem = null; + } + if (treeItem) { + treeItem.classList.add(TREEITEM_SELECTED_CLASS); + this._currentTreeItem = treeItem; + } + } + _scrollToCurrentTreeItem(treeItem) { + if (!treeItem) { + return; + } + let currentNode = treeItem.parentNode; + while (currentNode && currentNode !== this.container) { + if (currentNode.classList.contains("treeItem")) { + const toggler = currentNode.firstElementChild; + toggler?.classList.remove("treeItemsHidden"); + } + currentNode = currentNode.parentNode; + } + this._updateCurrentTreeItem(treeItem); + this.container.scrollTo(treeItem.offsetLeft, treeItem.offsetTop + TREEITEM_OFFSET_TOP); + } +} +exports.BaseTreeViewer = BaseTreeViewer; + +/***/ }), +/* 13 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFCursorTools = void 0; +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +var _grab_to_pan = __webpack_require__(14); +class PDFCursorTools { + #active = _ui_utils.CursorTool.SELECT; + #prevActive = null; + constructor({ + container, + eventBus, + cursorToolOnLoad = _ui_utils.CursorTool.SELECT + }) { + this.container = container; + this.eventBus = eventBus; + this.#addEventListeners(); + Promise.resolve().then(() => { + this.switchTool(cursorToolOnLoad); + }); + } + get activeTool() { + return this.#active; + } + switchTool(tool) { + if (this.#prevActive !== null) { + return; + } + if (tool === this.#active) { + return; + } + const disableActiveTool = () => { + switch (this.#active) { + case _ui_utils.CursorTool.SELECT: + break; + case _ui_utils.CursorTool.HAND: + this._handTool.deactivate(); + break; + case _ui_utils.CursorTool.ZOOM: + } + }; + switch (tool) { + case _ui_utils.CursorTool.SELECT: + disableActiveTool(); + break; + case _ui_utils.CursorTool.HAND: + disableActiveTool(); + this._handTool.activate(); + break; + case _ui_utils.CursorTool.ZOOM: + default: + console.error(`switchTool: "${tool}" is an unsupported value.`); + return; + } + this.#active = tool; + this.eventBus.dispatch("cursortoolchanged", { + source: this, + tool + }); + } + #addEventListeners() { + this.eventBus._on("switchcursortool", evt => { + this.switchTool(evt.tool); + }); + let annotationEditorMode = _pdfjsLib.AnnotationEditorType.NONE, + presentationModeState = _ui_utils.PresentationModeState.NORMAL; + const disableActive = () => { + const prevActive = this.#active; + this.switchTool(_ui_utils.CursorTool.SELECT); + this.#prevActive ??= prevActive; + }; + const enableActive = () => { + const prevActive = this.#prevActive; + if (prevActive !== null && annotationEditorMode === _pdfjsLib.AnnotationEditorType.NONE && presentationModeState === _ui_utils.PresentationModeState.NORMAL) { + this.#prevActive = null; + this.switchTool(prevActive); + } + }; + this.eventBus._on("secondarytoolbarreset", evt => { + if (this.#prevActive !== null) { + annotationEditorMode = _pdfjsLib.AnnotationEditorType.NONE; + presentationModeState = _ui_utils.PresentationModeState.NORMAL; + enableActive(); + } + }); + this.eventBus._on("annotationeditormodechanged", ({ + mode + }) => { + annotationEditorMode = mode; + if (mode === _pdfjsLib.AnnotationEditorType.NONE) { + enableActive(); + } else { + disableActive(); + } + }); + this.eventBus._on("presentationmodechanged", ({ + state + }) => { + presentationModeState = state; + if (state === _ui_utils.PresentationModeState.NORMAL) { + enableActive(); + } else if (state === _ui_utils.PresentationModeState.FULLSCREEN) { + disableActive(); + } + }); + } + get _handTool() { + return (0, _pdfjsLib.shadow)(this, "_handTool", new _grab_to_pan.GrabToPan({ + element: this.container + })); + } +} +exports.PDFCursorTools = PDFCursorTools; + +/***/ }), +/* 14 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GrabToPan = void 0; +const CSS_CLASS_GRAB = "grab-to-pan-grab"; +class GrabToPan { + constructor({ + element + }) { + this.element = element; + this.document = element.ownerDocument; + this.activate = this.activate.bind(this); + this.deactivate = this.deactivate.bind(this); + this.toggle = this.toggle.bind(this); + this._onMouseDown = this.#onMouseDown.bind(this); + this._onMouseMove = this.#onMouseMove.bind(this); + this._endPan = this.#endPan.bind(this); + const overlay = this.overlay = document.createElement("div"); + overlay.className = "grab-to-pan-grabbing"; + } + activate() { + if (!this.active) { + this.active = true; + this.element.addEventListener("mousedown", this._onMouseDown, true); + this.element.classList.add(CSS_CLASS_GRAB); + } + } + deactivate() { + if (this.active) { + this.active = false; + this.element.removeEventListener("mousedown", this._onMouseDown, true); + this._endPan(); + this.element.classList.remove(CSS_CLASS_GRAB); + } + } + toggle() { + if (this.active) { + this.deactivate(); + } else { + this.activate(); + } + } + ignoreTarget(node) { + return node.matches("a[href], a[href] *, input, textarea, button, button *, select, option"); + } + #onMouseDown(event) { + if (event.button !== 0 || this.ignoreTarget(event.target)) { + return; + } + if (event.originalTarget) { + try { + event.originalTarget.tagName; + } catch { + return; + } + } + this.scrollLeftStart = this.element.scrollLeft; + this.scrollTopStart = this.element.scrollTop; + this.clientXStart = event.clientX; + this.clientYStart = event.clientY; + this.document.addEventListener("mousemove", this._onMouseMove, true); + this.document.addEventListener("mouseup", this._endPan, true); + this.element.addEventListener("scroll", this._endPan, true); + event.preventDefault(); + event.stopPropagation(); + const focusedElement = document.activeElement; + if (focusedElement && !focusedElement.contains(event.target)) { + focusedElement.blur(); + } + } + #onMouseMove(event) { + this.element.removeEventListener("scroll", this._endPan, true); + if (!(event.buttons & 1)) { + this._endPan(); + return; + } + const xDiff = event.clientX - this.clientXStart; + const yDiff = event.clientY - this.clientYStart; + this.element.scrollTo({ + top: this.scrollTopStart - yDiff, + left: this.scrollLeftStart - xDiff, + behavior: "instant" + }); + if (!this.overlay.parentNode) { + document.body.append(this.overlay); + } + } + #endPan() { + this.element.removeEventListener("scroll", this._endPan, true); + this.document.removeEventListener("mousemove", this._onMouseMove, true); + this.document.removeEventListener("mouseup", this._endPan, true); + this.overlay.remove(); + } +} +exports.GrabToPan = GrabToPan; + +/***/ }), +/* 15 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFDocumentProperties = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +const DEFAULT_FIELD_CONTENT = "-"; +const NON_METRIC_LOCALES = ["en-us", "en-lr", "my"]; +const US_PAGE_NAMES = { + "8.5x11": "Letter", + "8.5x14": "Legal" +}; +const METRIC_PAGE_NAMES = { + "297x420": "A3", + "210x297": "A4" +}; +function getPageName(size, isPortrait, pageNames) { + const width = isPortrait ? size.width : size.height; + const height = isPortrait ? size.height : size.width; + return pageNames[`${width}x${height}`]; +} +class PDFDocumentProperties { + #fieldData = null; + constructor({ + dialog, + fields, + closeButton + }, overlayManager, eventBus, l10n, fileNameLookup) { + this.dialog = dialog; + this.fields = fields; + this.overlayManager = overlayManager; + this.l10n = l10n; + this._fileNameLookup = fileNameLookup; + this.#reset(); + closeButton.addEventListener("click", this.close.bind(this)); + this.overlayManager.register(this.dialog); + eventBus._on("pagechanging", evt => { + this._currentPageNumber = evt.pageNumber; + }); + eventBus._on("rotationchanging", evt => { + this._pagesRotation = evt.pagesRotation; + }); + this._isNonMetricLocale = true; + l10n.getLanguage().then(locale => { + this._isNonMetricLocale = NON_METRIC_LOCALES.includes(locale); + }); + } + async open() { + await Promise.all([this.overlayManager.open(this.dialog), this._dataAvailableCapability.promise]); + const currentPageNumber = this._currentPageNumber; + const pagesRotation = this._pagesRotation; + if (this.#fieldData && currentPageNumber === this.#fieldData._currentPageNumber && pagesRotation === this.#fieldData._pagesRotation) { + this.#updateUI(); + return; + } + const { + info, + contentLength + } = await this.pdfDocument.getMetadata(); + const [fileName, fileSize, creationDate, modificationDate, pageSize, isLinearized] = await Promise.all([this._fileNameLookup(), this.#parseFileSize(contentLength), this.#parseDate(info.CreationDate), this.#parseDate(info.ModDate), this.pdfDocument.getPage(currentPageNumber).then(pdfPage => { + return this.#parsePageSize((0, _ui_utils.getPageSizeInches)(pdfPage), pagesRotation); + }), this.#parseLinearization(info.IsLinearized)]); + this.#fieldData = Object.freeze({ + fileName, + fileSize, + title: info.Title, + author: info.Author, + subject: info.Subject, + keywords: info.Keywords, + creationDate, + modificationDate, + creator: info.Creator, + producer: info.Producer, + version: info.PDFFormatVersion, + pageCount: this.pdfDocument.numPages, + pageSize, + linearized: isLinearized, + _currentPageNumber: currentPageNumber, + _pagesRotation: pagesRotation + }); + this.#updateUI(); + const { + length + } = await this.pdfDocument.getDownloadInfo(); + if (contentLength === length) { + return; + } + const data = Object.assign(Object.create(null), this.#fieldData); + data.fileSize = await this.#parseFileSize(length); + this.#fieldData = Object.freeze(data); + this.#updateUI(); + } + async close() { + this.overlayManager.close(this.dialog); + } + setDocument(pdfDocument) { + if (this.pdfDocument) { + this.#reset(); + this.#updateUI(true); + } + if (!pdfDocument) { + return; + } + this.pdfDocument = pdfDocument; + this._dataAvailableCapability.resolve(); + } + #reset() { + this.pdfDocument = null; + this.#fieldData = null; + this._dataAvailableCapability = new _pdfjsLib.PromiseCapability(); + this._currentPageNumber = 1; + this._pagesRotation = 0; + } + #updateUI(reset = false) { + if (reset || !this.#fieldData) { + for (const id in this.fields) { + this.fields[id].textContent = DEFAULT_FIELD_CONTENT; + } + return; + } + if (this.overlayManager.active !== this.dialog) { + return; + } + for (const id in this.fields) { + const content = this.#fieldData[id]; + this.fields[id].textContent = content || content === 0 ? content : DEFAULT_FIELD_CONTENT; + } + } + async #parseFileSize(fileSize = 0) { + const kb = fileSize / 1024, + mb = kb / 1024; + if (!kb) { + return undefined; + } + return this.l10n.get(`document_properties_${mb >= 1 ? "mb" : "kb"}`, { + size_mb: mb >= 1 && (+mb.toPrecision(3)).toLocaleString(), + size_kb: mb < 1 && (+kb.toPrecision(3)).toLocaleString(), + size_b: fileSize.toLocaleString() + }); + } + async #parsePageSize(pageSizeInches, pagesRotation) { + if (!pageSizeInches) { + return undefined; + } + if (pagesRotation % 180 !== 0) { + pageSizeInches = { + width: pageSizeInches.height, + height: pageSizeInches.width + }; + } + const isPortrait = (0, _ui_utils.isPortraitOrientation)(pageSizeInches); + let sizeInches = { + width: Math.round(pageSizeInches.width * 100) / 100, + height: Math.round(pageSizeInches.height * 100) / 100 + }; + let sizeMillimeters = { + width: Math.round(pageSizeInches.width * 25.4 * 10) / 10, + height: Math.round(pageSizeInches.height * 25.4 * 10) / 10 + }; + let rawName = getPageName(sizeInches, isPortrait, US_PAGE_NAMES) || getPageName(sizeMillimeters, isPortrait, METRIC_PAGE_NAMES); + if (!rawName && !(Number.isInteger(sizeMillimeters.width) && Number.isInteger(sizeMillimeters.height))) { + const exactMillimeters = { + width: pageSizeInches.width * 25.4, + height: pageSizeInches.height * 25.4 + }; + const intMillimeters = { + width: Math.round(sizeMillimeters.width), + height: Math.round(sizeMillimeters.height) + }; + if (Math.abs(exactMillimeters.width - intMillimeters.width) < 0.1 && Math.abs(exactMillimeters.height - intMillimeters.height) < 0.1) { + rawName = getPageName(intMillimeters, isPortrait, METRIC_PAGE_NAMES); + if (rawName) { + sizeInches = { + width: Math.round(intMillimeters.width / 25.4 * 100) / 100, + height: Math.round(intMillimeters.height / 25.4 * 100) / 100 + }; + sizeMillimeters = intMillimeters; + } + } + } + const [{ + width, + height + }, unit, name, orientation] = await Promise.all([this._isNonMetricLocale ? sizeInches : sizeMillimeters, this.l10n.get(`document_properties_page_size_unit_${this._isNonMetricLocale ? "inches" : "millimeters"}`), rawName && this.l10n.get(`document_properties_page_size_name_${rawName.toLowerCase()}`), this.l10n.get(`document_properties_page_size_orientation_${isPortrait ? "portrait" : "landscape"}`)]); + return this.l10n.get(`document_properties_page_size_dimension_${name ? "name_" : ""}string`, { + width: width.toLocaleString(), + height: height.toLocaleString(), + unit, + name, + orientation + }); + } + async #parseDate(inputDate) { + const dateObject = _pdfjsLib.PDFDateString.toDateObject(inputDate); + if (!dateObject) { + return undefined; + } + return this.l10n.get("document_properties_date_string", { + date: dateObject.toLocaleDateString(), + time: dateObject.toLocaleTimeString() + }); + } + #parseLinearization(isLinearized) { + return this.l10n.get(`document_properties_linearized_${isLinearized ? "yes" : "no"}`); + } +} +exports.PDFDocumentProperties = PDFDocumentProperties; + +/***/ }), +/* 16 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFFindBar = void 0; +var _pdf_find_controller = __webpack_require__(17); +var _ui_utils = __webpack_require__(3); +const MATCHES_COUNT_LIMIT = 1000; +class PDFFindBar { + constructor(options, eventBus, l10n) { + this.opened = false; + this.bar = options.bar; + this.toggleButton = options.toggleButton; + this.findField = options.findField; + this.highlightAll = options.highlightAllCheckbox; + this.caseSensitive = options.caseSensitiveCheckbox; + this.matchDiacritics = options.matchDiacriticsCheckbox; + this.entireWord = options.entireWordCheckbox; + this.findMsg = options.findMsg; + this.findResultsCount = options.findResultsCount; + this.findPreviousButton = options.findPreviousButton; + this.findNextButton = options.findNextButton; + this.eventBus = eventBus; + this.l10n = l10n; + this.toggleButton.addEventListener("click", () => { + this.toggle(); + }); + this.findField.addEventListener("input", () => { + this.dispatchEvent(""); + }); + this.bar.addEventListener("keydown", e => { + switch (e.keyCode) { + case 13: + if (e.target === this.findField) { + this.dispatchEvent("again", e.shiftKey); + } + break; + case 27: + this.close(); + break; + } + }); + this.findPreviousButton.addEventListener("click", () => { + this.dispatchEvent("again", true); + }); + this.findNextButton.addEventListener("click", () => { + this.dispatchEvent("again", false); + }); + this.highlightAll.addEventListener("click", () => { + this.dispatchEvent("highlightallchange"); + }); + this.caseSensitive.addEventListener("click", () => { + this.dispatchEvent("casesensitivitychange"); + }); + this.entireWord.addEventListener("click", () => { + this.dispatchEvent("entirewordchange"); + }); + this.matchDiacritics.addEventListener("click", () => { + this.dispatchEvent("diacriticmatchingchange"); + }); + this.eventBus._on("resize", this.#adjustWidth.bind(this)); + } + reset() { + this.updateUIState(); + } + dispatchEvent(type, findPrev = false) { + this.eventBus.dispatch("find", { + source: this, + type, + query: this.findField.value, + caseSensitive: this.caseSensitive.checked, + entireWord: this.entireWord.checked, + highlightAll: this.highlightAll.checked, + findPrevious: findPrev, + matchDiacritics: this.matchDiacritics.checked + }); + } + updateUIState(state, previous, matchesCount) { + let findMsg = Promise.resolve(""); + let status = ""; + switch (state) { + case _pdf_find_controller.FindState.FOUND: + break; + case _pdf_find_controller.FindState.PENDING: + status = "pending"; + break; + case _pdf_find_controller.FindState.NOT_FOUND: + findMsg = this.l10n.get("find_not_found"); + status = "notFound"; + break; + case _pdf_find_controller.FindState.WRAPPED: + findMsg = this.l10n.get(`find_reached_${previous ? "top" : "bottom"}`); + break; + } + this.findField.setAttribute("data-status", status); + this.findField.setAttribute("aria-invalid", state === _pdf_find_controller.FindState.NOT_FOUND); + findMsg.then(msg => { + this.findMsg.setAttribute("data-status", status); + this.findMsg.textContent = msg; + this.#adjustWidth(); + }); + this.updateResultsCount(matchesCount); + } + updateResultsCount({ + current = 0, + total = 0 + } = {}) { + const limit = MATCHES_COUNT_LIMIT; + let matchCountMsg = Promise.resolve(""); + if (total > 0) { + if (total > limit) { + let key = "find_match_count_limit"; + matchCountMsg = this.l10n.get(key, { + limit + }); + } else { + let key = "find_match_count"; + matchCountMsg = this.l10n.get(key, { + current, + total + }); + } + } + matchCountMsg.then(msg => { + this.findResultsCount.textContent = msg; + this.#adjustWidth(); + }); + } + open() { + if (!this.opened) { + this.opened = true; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, true, this.bar); + } + this.findField.select(); + this.findField.focus(); + this.#adjustWidth(); + } + close() { + if (!this.opened) { + return; + } + this.opened = false; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, false, this.bar); + this.eventBus.dispatch("findbarclose", { + source: this + }); + } + toggle() { + if (this.opened) { + this.close(); + } else { + this.open(); + } + } + #adjustWidth() { + if (!this.opened) { + return; + } + this.bar.classList.remove("wrapContainers"); + const findbarHeight = this.bar.clientHeight; + const inputContainerHeight = this.bar.firstElementChild.clientHeight; + if (findbarHeight > inputContainerHeight) { + this.bar.classList.add("wrapContainers"); + } + } +} +exports.PDFFindBar = PDFFindBar; + +/***/ }), +/* 17 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFFindController = exports.FindState = void 0; +var _ui_utils = __webpack_require__(3); +var _pdf_find_utils = __webpack_require__(18); +var _pdfjsLib = __webpack_require__(4); +const FindState = { + FOUND: 0, + NOT_FOUND: 1, + WRAPPED: 2, + PENDING: 3 +}; +exports.FindState = FindState; +const FIND_TIMEOUT = 250; +const MATCH_SCROLL_OFFSET_TOP = -50; +const MATCH_SCROLL_OFFSET_LEFT = -400; +const CHARACTERS_TO_NORMALIZE = { + "\u2010": "-", + "\u2018": "'", + "\u2019": "'", + "\u201A": "'", + "\u201B": "'", + "\u201C": '"', + "\u201D": '"', + "\u201E": '"', + "\u201F": '"', + "\u00BC": "1/4", + "\u00BD": "1/2", + "\u00BE": "3/4" +}; +const DIACRITICS_EXCEPTION = new Set([0x3099, 0x309a, 0x094d, 0x09cd, 0x0a4d, 0x0acd, 0x0b4d, 0x0bcd, 0x0c4d, 0x0ccd, 0x0d3b, 0x0d3c, 0x0d4d, 0x0dca, 0x0e3a, 0x0eba, 0x0f84, 0x1039, 0x103a, 0x1714, 0x1734, 0x17d2, 0x1a60, 0x1b44, 0x1baa, 0x1bab, 0x1bf2, 0x1bf3, 0x2d7f, 0xa806, 0xa82c, 0xa8c4, 0xa953, 0xa9c0, 0xaaf6, 0xabed, 0x0c56, 0x0f71, 0x0f72, 0x0f7a, 0x0f7b, 0x0f7c, 0x0f7d, 0x0f80, 0x0f74]); +let DIACRITICS_EXCEPTION_STR; +const DIACRITICS_REG_EXP = /\p{M}+/gu; +const SPECIAL_CHARS_REG_EXP = /([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L})/gu; +const NOT_DIACRITIC_FROM_END_REG_EXP = /([^\p{M}])\p{M}*$/u; +const NOT_DIACRITIC_FROM_START_REG_EXP = /^\p{M}*([^\p{M}])/u; +const SYLLABLES_REG_EXP = /[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g; +const SYLLABLES_LENGTHS = new Map(); +const FIRST_CHAR_SYLLABLES_REG_EXP = "[\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f]"; +const NFKC_CHARS_TO_NORMALIZE = new Map(); +let noSyllablesRegExp = null; +let withSyllablesRegExp = null; +function normalize(text) { + const syllablePositions = []; + let m; + while ((m = SYLLABLES_REG_EXP.exec(text)) !== null) { + let { + index + } = m; + for (const char of m[0]) { + let len = SYLLABLES_LENGTHS.get(char); + if (!len) { + len = char.normalize("NFD").length; + SYLLABLES_LENGTHS.set(char, len); + } + syllablePositions.push([len, index++]); + } + } + let normalizationRegex; + if (syllablePositions.length === 0 && noSyllablesRegExp) { + normalizationRegex = noSyllablesRegExp; + } else if (syllablePositions.length > 0 && withSyllablesRegExp) { + normalizationRegex = withSyllablesRegExp; + } else { + const replace = Object.keys(CHARACTERS_TO_NORMALIZE).join(""); + const toNormalizeWithNFKC = (0, _pdf_find_utils.getNormalizeWithNFKC)(); + const CJK = "(?:\\p{Ideographic}|[\u3040-\u30FF])"; + const HKDiacritics = "(?:\u3099|\u309A)"; + const regexp = `([${replace}])|([${toNormalizeWithNFKC}])|(${HKDiacritics}\\n)|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(${CJK}\\n)|(\\n)`; + if (syllablePositions.length === 0) { + normalizationRegex = noSyllablesRegExp = new RegExp(regexp + "|(\\u0000)", "gum"); + } else { + normalizationRegex = withSyllablesRegExp = new RegExp(regexp + `|(${FIRST_CHAR_SYLLABLES_REG_EXP})`, "gum"); + } + } + const rawDiacriticsPositions = []; + while ((m = DIACRITICS_REG_EXP.exec(text)) !== null) { + rawDiacriticsPositions.push([m[0].length, m.index]); + } + let normalized = text.normalize("NFD"); + const positions = [[0, 0]]; + let rawDiacriticsIndex = 0; + let syllableIndex = 0; + let shift = 0; + let shiftOrigin = 0; + let eol = 0; + let hasDiacritics = false; + normalized = normalized.replace(normalizationRegex, (match, p1, p2, p3, p4, p5, p6, p7, p8, i) => { + i -= shiftOrigin; + if (p1) { + const replacement = CHARACTERS_TO_NORMALIZE[p1]; + const jj = replacement.length; + for (let j = 1; j < jj; j++) { + positions.push([i - shift + j, shift - j]); + } + shift -= jj - 1; + return replacement; + } + if (p2) { + let replacement = NFKC_CHARS_TO_NORMALIZE.get(p2); + if (!replacement) { + replacement = p2.normalize("NFKC"); + NFKC_CHARS_TO_NORMALIZE.set(p2, replacement); + } + const jj = replacement.length; + for (let j = 1; j < jj; j++) { + positions.push([i - shift + j, shift - j]); + } + shift -= jj - 1; + return replacement; + } + if (p3) { + hasDiacritics = true; + if (i + eol === rawDiacriticsPositions[rawDiacriticsIndex]?.[1]) { + ++rawDiacriticsIndex; + } else { + positions.push([i - 1 - shift + 1, shift - 1]); + shift -= 1; + shiftOrigin += 1; + } + positions.push([i - shift + 1, shift]); + shiftOrigin += 1; + eol += 1; + return p3.charAt(0); + } + if (p4) { + const hasTrailingDashEOL = p4.endsWith("\n"); + const len = hasTrailingDashEOL ? p4.length - 2 : p4.length; + hasDiacritics = true; + let jj = len; + if (i + eol === rawDiacriticsPositions[rawDiacriticsIndex]?.[1]) { + jj -= rawDiacriticsPositions[rawDiacriticsIndex][0]; + ++rawDiacriticsIndex; + } + for (let j = 1; j <= jj; j++) { + positions.push([i - 1 - shift + j, shift - j]); + } + shift -= jj; + shiftOrigin += jj; + if (hasTrailingDashEOL) { + i += len - 1; + positions.push([i - shift + 1, 1 + shift]); + shift += 1; + shiftOrigin += 1; + eol += 1; + return p4.slice(0, len); + } + return p4; + } + if (p5) { + const len = p5.length - 2; + positions.push([i - shift + len, 1 + shift]); + shift += 1; + shiftOrigin += 1; + eol += 1; + return p5.slice(0, -2); + } + if (p6) { + const len = p6.length - 1; + positions.push([i - shift + len, shift]); + shiftOrigin += 1; + eol += 1; + return p6.slice(0, -1); + } + if (p7) { + positions.push([i - shift + 1, shift - 1]); + shift -= 1; + shiftOrigin += 1; + eol += 1; + return " "; + } + if (i + eol === syllablePositions[syllableIndex]?.[1]) { + const newCharLen = syllablePositions[syllableIndex][0] - 1; + ++syllableIndex; + for (let j = 1; j <= newCharLen; j++) { + positions.push([i - (shift - j), shift - j]); + } + shift -= newCharLen; + shiftOrigin += newCharLen; + } + return p8; + }); + positions.push([normalized.length, shift]); + return [normalized, positions, hasDiacritics]; +} +function getOriginalIndex(diffs, pos, len) { + if (!diffs) { + return [pos, len]; + } + const start = pos; + const end = pos + len - 1; + let i = (0, _ui_utils.binarySearchFirstItem)(diffs, x => x[0] >= start); + if (diffs[i][0] > start) { + --i; + } + let j = (0, _ui_utils.binarySearchFirstItem)(diffs, x => x[0] >= end, i); + if (diffs[j][0] > end) { + --j; + } + const oldStart = start + diffs[i][1]; + const oldEnd = end + diffs[j][1]; + const oldLen = oldEnd + 1 - oldStart; + return [oldStart, oldLen]; +} +class PDFFindController { + #state = null; + #updateMatchesCountOnProgress = true; + #visitedPagesCount = 0; + constructor({ + linkService, + eventBus, + updateMatchesCountOnProgress = true + }) { + this._linkService = linkService; + this._eventBus = eventBus; + this.#updateMatchesCountOnProgress = updateMatchesCountOnProgress; + this.onIsPageVisible = null; + this.#reset(); + eventBus._on("find", this.#onFind.bind(this)); + eventBus._on("findbarclose", this.#onFindBarClose.bind(this)); + } + get highlightMatches() { + return this._highlightMatches; + } + get pageMatches() { + return this._pageMatches; + } + get pageMatchesLength() { + return this._pageMatchesLength; + } + get selected() { + return this._selected; + } + get state() { + return this.#state; + } + setDocument(pdfDocument) { + if (this._pdfDocument) { + this.#reset(); + } + if (!pdfDocument) { + return; + } + this._pdfDocument = pdfDocument; + this._firstPageCapability.resolve(); + } + #onFind(state) { + if (!state) { + return; + } + if (state.phraseSearch === false) { + console.error("The `phraseSearch`-parameter was removed, please provide " + "an Array of strings in the `query`-parameter instead."); + if (typeof state.query === "string") { + state.query = state.query.match(/\S+/g); + } + } + const pdfDocument = this._pdfDocument; + const { + type + } = state; + if (this.#state === null || this.#shouldDirtyMatch(state)) { + this._dirtyMatch = true; + } + this.#state = state; + if (type !== "highlightallchange") { + this.#updateUIState(FindState.PENDING); + } + this._firstPageCapability.promise.then(() => { + if (!this._pdfDocument || pdfDocument && this._pdfDocument !== pdfDocument) { + return; + } + this.#extractText(); + const findbarClosed = !this._highlightMatches; + const pendingTimeout = !!this._findTimeout; + if (this._findTimeout) { + clearTimeout(this._findTimeout); + this._findTimeout = null; + } + if (!type) { + this._findTimeout = setTimeout(() => { + this.#nextMatch(); + this._findTimeout = null; + }, FIND_TIMEOUT); + } else if (this._dirtyMatch) { + this.#nextMatch(); + } else if (type === "again") { + this.#nextMatch(); + if (findbarClosed && this.#state.highlightAll) { + this.#updateAllPages(); + } + } else if (type === "highlightallchange") { + if (pendingTimeout) { + this.#nextMatch(); + } else { + this._highlightMatches = true; + } + this.#updateAllPages(); + } else { + this.#nextMatch(); + } + }); + } + scrollMatchIntoView({ + element = null, + selectedLeft = 0, + pageIndex = -1, + matchIndex = -1 + }) { + if (!this._scrollMatches || !element) { + return; + } else if (matchIndex === -1 || matchIndex !== this._selected.matchIdx) { + return; + } else if (pageIndex === -1 || pageIndex !== this._selected.pageIdx) { + return; + } + this._scrollMatches = false; + const spot = { + top: MATCH_SCROLL_OFFSET_TOP, + left: selectedLeft + MATCH_SCROLL_OFFSET_LEFT + }; + (0, _ui_utils.scrollIntoView)(element, spot, true); + } + #reset() { + this._highlightMatches = false; + this._scrollMatches = false; + this._pdfDocument = null; + this._pageMatches = []; + this._pageMatchesLength = []; + this.#visitedPagesCount = 0; + this.#state = null; + this._selected = { + pageIdx: -1, + matchIdx: -1 + }; + this._offset = { + pageIdx: null, + matchIdx: null, + wrapped: false + }; + this._extractTextPromises = []; + this._pageContents = []; + this._pageDiffs = []; + this._hasDiacritics = []; + this._matchesCountTotal = 0; + this._pagesToSearch = null; + this._pendingFindMatches = new Set(); + this._resumePageIdx = null; + this._dirtyMatch = false; + clearTimeout(this._findTimeout); + this._findTimeout = null; + this._firstPageCapability = new _pdfjsLib.PromiseCapability(); + } + get #query() { + const { + query + } = this.#state; + if (typeof query === "string") { + if (query !== this._rawQuery) { + this._rawQuery = query; + [this._normalizedQuery] = normalize(query); + } + return this._normalizedQuery; + } + return (query || []).filter(q => !!q).map(q => normalize(q)[0]); + } + #shouldDirtyMatch(state) { + const newQuery = state.query, + prevQuery = this.#state.query; + const newType = typeof newQuery, + prevType = typeof prevQuery; + if (newType !== prevType) { + return true; + } + if (newType === "string") { + if (newQuery !== prevQuery) { + return true; + } + } else { + if (JSON.stringify(newQuery) !== JSON.stringify(prevQuery)) { + return true; + } + } + switch (state.type) { + case "again": + const pageNumber = this._selected.pageIdx + 1; + const linkService = this._linkService; + return pageNumber >= 1 && pageNumber <= linkService.pagesCount && pageNumber !== linkService.page && !(this.onIsPageVisible?.(pageNumber) ?? true); + case "highlightallchange": + return false; + } + return true; + } + #isEntireWord(content, startIdx, length) { + let match = content.slice(0, startIdx).match(NOT_DIACRITIC_FROM_END_REG_EXP); + if (match) { + const first = content.charCodeAt(startIdx); + const limit = match[1].charCodeAt(0); + if ((0, _pdf_find_utils.getCharacterType)(first) === (0, _pdf_find_utils.getCharacterType)(limit)) { + return false; + } + } + match = content.slice(startIdx + length).match(NOT_DIACRITIC_FROM_START_REG_EXP); + if (match) { + const last = content.charCodeAt(startIdx + length - 1); + const limit = match[1].charCodeAt(0); + if ((0, _pdf_find_utils.getCharacterType)(last) === (0, _pdf_find_utils.getCharacterType)(limit)) { + return false; + } + } + return true; + } + #calculateRegExpMatch(query, entireWord, pageIndex, pageContent) { + const matches = this._pageMatches[pageIndex] = []; + const matchesLength = this._pageMatchesLength[pageIndex] = []; + if (!query) { + return; + } + const diffs = this._pageDiffs[pageIndex]; + let match; + while ((match = query.exec(pageContent)) !== null) { + if (entireWord && !this.#isEntireWord(pageContent, match.index, match[0].length)) { + continue; + } + const [matchPos, matchLen] = getOriginalIndex(diffs, match.index, match[0].length); + if (matchLen) { + matches.push(matchPos); + matchesLength.push(matchLen); + } + } + } + #convertToRegExpString(query, hasDiacritics) { + const { + matchDiacritics + } = this.#state; + let isUnicode = false; + query = query.replaceAll(SPECIAL_CHARS_REG_EXP, (match, p1, p2, p3, p4, p5) => { + if (p1) { + return `[ ]*\\${p1}[ ]*`; + } + if (p2) { + return `[ ]*${p2}[ ]*`; + } + if (p3) { + return "[ ]+"; + } + if (matchDiacritics) { + return p4 || p5; + } + if (p4) { + return DIACRITICS_EXCEPTION.has(p4.charCodeAt(0)) ? p4 : ""; + } + if (hasDiacritics) { + isUnicode = true; + return `${p5}\\p{M}*`; + } + return p5; + }); + const trailingSpaces = "[ ]*"; + if (query.endsWith(trailingSpaces)) { + query = query.slice(0, query.length - trailingSpaces.length); + } + if (matchDiacritics) { + if (hasDiacritics) { + DIACRITICS_EXCEPTION_STR ||= String.fromCharCode(...DIACRITICS_EXCEPTION); + isUnicode = true; + query = `${query}(?=[${DIACRITICS_EXCEPTION_STR}]|[^\\p{M}]|$)`; + } + } + return [isUnicode, query]; + } + #calculateMatch(pageIndex) { + let query = this.#query; + if (query.length === 0) { + return; + } + const { + caseSensitive, + entireWord + } = this.#state; + const pageContent = this._pageContents[pageIndex]; + const hasDiacritics = this._hasDiacritics[pageIndex]; + let isUnicode = false; + if (typeof query === "string") { + [isUnicode, query] = this.#convertToRegExpString(query, hasDiacritics); + } else { + query = query.sort().reverse().map(q => { + const [isUnicodePart, queryPart] = this.#convertToRegExpString(q, hasDiacritics); + isUnicode ||= isUnicodePart; + return `(${queryPart})`; + }).join("|"); + } + const flags = `g${isUnicode ? "u" : ""}${caseSensitive ? "" : "i"}`; + query = query ? new RegExp(query, flags) : null; + this.#calculateRegExpMatch(query, entireWord, pageIndex, pageContent); + if (this.#state.highlightAll) { + this.#updatePage(pageIndex); + } + if (this._resumePageIdx === pageIndex) { + this._resumePageIdx = null; + this.#nextPageMatch(); + } + const pageMatchesCount = this._pageMatches[pageIndex].length; + this._matchesCountTotal += pageMatchesCount; + if (this.#updateMatchesCountOnProgress) { + if (pageMatchesCount > 0) { + this.#updateUIResultsCount(); + } + } else if (++this.#visitedPagesCount === this._linkService.pagesCount) { + this.#updateUIResultsCount(); + } + } + #extractText() { + if (this._extractTextPromises.length > 0) { + return; + } + let promise = Promise.resolve(); + const textOptions = { + disableNormalization: true + }; + for (let i = 0, ii = this._linkService.pagesCount; i < ii; i++) { + const extractTextCapability = new _pdfjsLib.PromiseCapability(); + this._extractTextPromises[i] = extractTextCapability.promise; + promise = promise.then(() => { + return this._pdfDocument.getPage(i + 1).then(pdfPage => { + return pdfPage.getTextContent(textOptions); + }).then(textContent => { + const strBuf = []; + for (const textItem of textContent.items) { + strBuf.push(textItem.str); + if (textItem.hasEOL) { + strBuf.push("\n"); + } + } + [this._pageContents[i], this._pageDiffs[i], this._hasDiacritics[i]] = normalize(strBuf.join("")); + extractTextCapability.resolve(); + }, reason => { + console.error(`Unable to get text content for page ${i + 1}`, reason); + this._pageContents[i] = ""; + this._pageDiffs[i] = null; + this._hasDiacritics[i] = false; + extractTextCapability.resolve(); + }); + }); + } + } + #updatePage(index) { + if (this._scrollMatches && this._selected.pageIdx === index) { + this._linkService.page = index + 1; + } + this._eventBus.dispatch("updatetextlayermatches", { + source: this, + pageIndex: index + }); + } + #updateAllPages() { + this._eventBus.dispatch("updatetextlayermatches", { + source: this, + pageIndex: -1 + }); + } + #nextMatch() { + const previous = this.#state.findPrevious; + const currentPageIndex = this._linkService.page - 1; + const numPages = this._linkService.pagesCount; + this._highlightMatches = true; + if (this._dirtyMatch) { + this._dirtyMatch = false; + this._selected.pageIdx = this._selected.matchIdx = -1; + this._offset.pageIdx = currentPageIndex; + this._offset.matchIdx = null; + this._offset.wrapped = false; + this._resumePageIdx = null; + this._pageMatches.length = 0; + this._pageMatchesLength.length = 0; + this.#visitedPagesCount = 0; + this._matchesCountTotal = 0; + this.#updateAllPages(); + for (let i = 0; i < numPages; i++) { + if (this._pendingFindMatches.has(i)) { + continue; + } + this._pendingFindMatches.add(i); + this._extractTextPromises[i].then(() => { + this._pendingFindMatches.delete(i); + this.#calculateMatch(i); + }); + } + } + const query = this.#query; + if (query.length === 0) { + this.#updateUIState(FindState.FOUND); + return; + } + if (this._resumePageIdx) { + return; + } + const offset = this._offset; + this._pagesToSearch = numPages; + if (offset.matchIdx !== null) { + const numPageMatches = this._pageMatches[offset.pageIdx].length; + if (!previous && offset.matchIdx + 1 < numPageMatches || previous && offset.matchIdx > 0) { + offset.matchIdx = previous ? offset.matchIdx - 1 : offset.matchIdx + 1; + this.#updateMatch(true); + return; + } + this.#advanceOffsetPage(previous); + } + this.#nextPageMatch(); + } + #matchesReady(matches) { + const offset = this._offset; + const numMatches = matches.length; + const previous = this.#state.findPrevious; + if (numMatches) { + offset.matchIdx = previous ? numMatches - 1 : 0; + this.#updateMatch(true); + return true; + } + this.#advanceOffsetPage(previous); + if (offset.wrapped) { + offset.matchIdx = null; + if (this._pagesToSearch < 0) { + this.#updateMatch(false); + return true; + } + } + return false; + } + #nextPageMatch() { + if (this._resumePageIdx !== null) { + console.error("There can only be one pending page."); + } + let matches = null; + do { + const pageIdx = this._offset.pageIdx; + matches = this._pageMatches[pageIdx]; + if (!matches) { + this._resumePageIdx = pageIdx; + break; + } + } while (!this.#matchesReady(matches)); + } + #advanceOffsetPage(previous) { + const offset = this._offset; + const numPages = this._linkService.pagesCount; + offset.pageIdx = previous ? offset.pageIdx - 1 : offset.pageIdx + 1; + offset.matchIdx = null; + this._pagesToSearch--; + if (offset.pageIdx >= numPages || offset.pageIdx < 0) { + offset.pageIdx = previous ? numPages - 1 : 0; + offset.wrapped = true; + } + } + #updateMatch(found = false) { + let state = FindState.NOT_FOUND; + const wrapped = this._offset.wrapped; + this._offset.wrapped = false; + if (found) { + const previousPage = this._selected.pageIdx; + this._selected.pageIdx = this._offset.pageIdx; + this._selected.matchIdx = this._offset.matchIdx; + state = wrapped ? FindState.WRAPPED : FindState.FOUND; + if (previousPage !== -1 && previousPage !== this._selected.pageIdx) { + this.#updatePage(previousPage); + } + } + this.#updateUIState(state, this.#state.findPrevious); + if (this._selected.pageIdx !== -1) { + this._scrollMatches = true; + this.#updatePage(this._selected.pageIdx); + } + } + #onFindBarClose(evt) { + const pdfDocument = this._pdfDocument; + this._firstPageCapability.promise.then(() => { + if (!this._pdfDocument || pdfDocument && this._pdfDocument !== pdfDocument) { + return; + } + if (this._findTimeout) { + clearTimeout(this._findTimeout); + this._findTimeout = null; + } + if (this._resumePageIdx) { + this._resumePageIdx = null; + this._dirtyMatch = true; + } + this.#updateUIState(FindState.FOUND); + this._highlightMatches = false; + this.#updateAllPages(); + }); + } + #requestMatchesCount() { + const { + pageIdx, + matchIdx + } = this._selected; + let current = 0, + total = this._matchesCountTotal; + if (matchIdx !== -1) { + for (let i = 0; i < pageIdx; i++) { + current += this._pageMatches[i]?.length || 0; + } + current += matchIdx + 1; + } + if (current < 1 || current > total) { + current = total = 0; + } + return { + current, + total + }; + } + #updateUIResultsCount() { + this._eventBus.dispatch("updatefindmatchescount", { + source: this, + matchesCount: this.#requestMatchesCount() + }); + } + #updateUIState(state, previous = false) { + if (!this.#updateMatchesCountOnProgress && (this.#visitedPagesCount !== this._linkService.pagesCount || state === FindState.PENDING)) { + return; + } + this._eventBus.dispatch("updatefindcontrolstate", { + source: this, + state, + previous, + matchesCount: this.#requestMatchesCount(), + rawQuery: this.#state?.query ?? null + }); + } +} +exports.PDFFindController = PDFFindController; + +/***/ }), +/* 18 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CharacterType = void 0; +exports.getCharacterType = getCharacterType; +exports.getNormalizeWithNFKC = getNormalizeWithNFKC; +const CharacterType = { + SPACE: 0, + ALPHA_LETTER: 1, + PUNCT: 2, + HAN_LETTER: 3, + KATAKANA_LETTER: 4, + HIRAGANA_LETTER: 5, + HALFWIDTH_KATAKANA_LETTER: 6, + THAI_LETTER: 7 +}; +exports.CharacterType = CharacterType; +function isAlphabeticalScript(charCode) { + return charCode < 0x2e80; +} +function isAscii(charCode) { + return (charCode & 0xff80) === 0; +} +function isAsciiAlpha(charCode) { + return charCode >= 0x61 && charCode <= 0x7a || charCode >= 0x41 && charCode <= 0x5a; +} +function isAsciiDigit(charCode) { + return charCode >= 0x30 && charCode <= 0x39; +} +function isAsciiSpace(charCode) { + return charCode === 0x20 || charCode === 0x09 || charCode === 0x0d || charCode === 0x0a; +} +function isHan(charCode) { + return charCode >= 0x3400 && charCode <= 0x9fff || charCode >= 0xf900 && charCode <= 0xfaff; +} +function isKatakana(charCode) { + return charCode >= 0x30a0 && charCode <= 0x30ff; +} +function isHiragana(charCode) { + return charCode >= 0x3040 && charCode <= 0x309f; +} +function isHalfwidthKatakana(charCode) { + return charCode >= 0xff60 && charCode <= 0xff9f; +} +function isThai(charCode) { + return (charCode & 0xff80) === 0x0e00; +} +function getCharacterType(charCode) { + if (isAlphabeticalScript(charCode)) { + if (isAscii(charCode)) { + if (isAsciiSpace(charCode)) { + return CharacterType.SPACE; + } else if (isAsciiAlpha(charCode) || isAsciiDigit(charCode) || charCode === 0x5f) { + return CharacterType.ALPHA_LETTER; + } + return CharacterType.PUNCT; + } else if (isThai(charCode)) { + return CharacterType.THAI_LETTER; + } else if (charCode === 0xa0) { + return CharacterType.SPACE; + } + return CharacterType.ALPHA_LETTER; + } + if (isHan(charCode)) { + return CharacterType.HAN_LETTER; + } else if (isKatakana(charCode)) { + return CharacterType.KATAKANA_LETTER; + } else if (isHiragana(charCode)) { + return CharacterType.HIRAGANA_LETTER; + } else if (isHalfwidthKatakana(charCode)) { + return CharacterType.HALFWIDTH_KATAKANA_LETTER; + } + return CharacterType.ALPHA_LETTER; +} +let NormalizeWithNFKC; +function getNormalizeWithNFKC() { + NormalizeWithNFKC ||= ` ¨ª¯²-µ¸-º¼-¾IJ-ijĿ-ŀʼnſDŽ-njDZ-dzʰ-ʸ˘-˝ˠ-ˤʹͺ;΄-΅·ϐ-ϖϰ-ϲϴ-ϵϹևٵ-ٸक़-य़ড়-ঢ়য়ਲ਼ਸ਼ਖ਼-ਜ਼ਫ਼ଡ଼-ଢ଼ำຳໜ-ໝ༌གྷཌྷདྷབྷཛྷཀྵჼᴬ-ᴮᴰ-ᴺᴼ-ᵍᵏ-ᵪᵸᶛ-ᶿẚ-ẛάέήίόύώΆ᾽-῁ΈΉ῍-῏ΐΊ῝-῟ΰΎ῭-`ΌΏ´-῾ - ‑‗․-… ″-‴‶-‷‼‾⁇-⁉⁗ ⁰-ⁱ⁴-₎ₐ-ₜ₨℀-℃℅-ℇ℉-ℓℕ-№ℙ-ℝ℠-™ℤΩℨK-ℭℯ-ℱℳ-ℹ℻-⅀ⅅ-ⅉ⅐-ⅿ↉∬-∭∯-∰〈-〉①-⓪⨌⩴-⩶⫝̸ⱼ-ⱽⵯ⺟⻳⼀-⿕ 〶〸-〺゛-゜ゟヿㄱ-ㆎ㆒-㆟㈀-㈞㈠-㉇㉐-㉾㊀-㏿ꚜ-ꚝꝰꟲ-ꟴꟸ-ꟹꭜ-ꭟꭩ豈-嗀塚晴凞-羽蘒諸逸-都飯-舘並-龎ff-stﬓ-ﬗיִײַ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-﷼︐-︙︰-﹄﹇-﹒﹔-﹦﹨-﹫ﹰ-ﹲﹴﹶ-ﻼ!-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ¢-₩`; + return NormalizeWithNFKC; +} + +/***/ }), +/* 19 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFHistory = void 0; +exports.isDestArraysEqual = isDestArraysEqual; +exports.isDestHashesEqual = isDestHashesEqual; +var _ui_utils = __webpack_require__(3); +var _event_utils = __webpack_require__(6); +const HASH_CHANGE_TIMEOUT = 1000; +const POSITION_UPDATED_THRESHOLD = 50; +const UPDATE_VIEWAREA_TIMEOUT = 1000; +function getCurrentHash() { + return document.location.hash; +} +class PDFHistory { + constructor({ + linkService, + eventBus + }) { + this.linkService = linkService; + this.eventBus = eventBus; + this._initialized = false; + this._fingerprint = ""; + this.reset(); + this._boundEvents = null; + this.eventBus._on("pagesinit", () => { + this._isPagesLoaded = false; + this.eventBus._on("pagesloaded", evt => { + this._isPagesLoaded = !!evt.pagesCount; + }, { + once: true + }); + }); + } + initialize({ + fingerprint, + resetHistory = false, + updateUrl = false + }) { + if (!fingerprint || typeof fingerprint !== "string") { + console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.'); + return; + } + if (this._initialized) { + this.reset(); + } + const reInitialized = this._fingerprint !== "" && this._fingerprint !== fingerprint; + this._fingerprint = fingerprint; + this._updateUrl = updateUrl === true; + this._initialized = true; + this._bindEvents(); + const state = window.history.state; + this._popStateInProgress = false; + this._blockHashChange = 0; + this._currentHash = getCurrentHash(); + this._numPositionUpdates = 0; + this._uid = this._maxUid = 0; + this._destination = null; + this._position = null; + if (!this._isValidState(state, true) || resetHistory) { + const { + hash, + page, + rotation + } = this._parseCurrentHash(true); + if (!hash || reInitialized || resetHistory) { + this._pushOrReplaceState(null, true); + return; + } + this._pushOrReplaceState({ + hash, + page, + rotation + }, true); + return; + } + const destination = state.destination; + this._updateInternalState(destination, state.uid, true); + if (destination.rotation !== undefined) { + this._initialRotation = destination.rotation; + } + if (destination.dest) { + this._initialBookmark = JSON.stringify(destination.dest); + this._destination.page = null; + } else if (destination.hash) { + this._initialBookmark = destination.hash; + } else if (destination.page) { + this._initialBookmark = `page=${destination.page}`; + } + } + reset() { + if (this._initialized) { + this._pageHide(); + this._initialized = false; + this._unbindEvents(); + } + if (this._updateViewareaTimeout) { + clearTimeout(this._updateViewareaTimeout); + this._updateViewareaTimeout = null; + } + this._initialBookmark = null; + this._initialRotation = null; + } + push({ + namedDest = null, + explicitDest, + pageNumber + }) { + if (!this._initialized) { + return; + } + if (namedDest && typeof namedDest !== "string") { + console.error("PDFHistory.push: " + `"${namedDest}" is not a valid namedDest parameter.`); + return; + } else if (!Array.isArray(explicitDest)) { + console.error("PDFHistory.push: " + `"${explicitDest}" is not a valid explicitDest parameter.`); + return; + } else if (!this._isValidPage(pageNumber)) { + if (pageNumber !== null || this._destination) { + console.error("PDFHistory.push: " + `"${pageNumber}" is not a valid pageNumber parameter.`); + return; + } + } + const hash = namedDest || JSON.stringify(explicitDest); + if (!hash) { + return; + } + let forceReplace = false; + if (this._destination && (isDestHashesEqual(this._destination.hash, hash) || isDestArraysEqual(this._destination.dest, explicitDest))) { + if (this._destination.page) { + return; + } + forceReplace = true; + } + if (this._popStateInProgress && !forceReplace) { + return; + } + this._pushOrReplaceState({ + dest: explicitDest, + hash, + page: pageNumber, + rotation: this.linkService.rotation + }, forceReplace); + if (!this._popStateInProgress) { + this._popStateInProgress = true; + Promise.resolve().then(() => { + this._popStateInProgress = false; + }); + } + } + pushPage(pageNumber) { + if (!this._initialized) { + return; + } + if (!this._isValidPage(pageNumber)) { + console.error(`PDFHistory.pushPage: "${pageNumber}" is not a valid page number.`); + return; + } + if (this._destination?.page === pageNumber) { + return; + } + if (this._popStateInProgress) { + return; + } + this._pushOrReplaceState({ + dest: null, + hash: `page=${pageNumber}`, + page: pageNumber, + rotation: this.linkService.rotation + }); + if (!this._popStateInProgress) { + this._popStateInProgress = true; + Promise.resolve().then(() => { + this._popStateInProgress = false; + }); + } + } + pushCurrentPosition() { + if (!this._initialized || this._popStateInProgress) { + return; + } + this._tryPushCurrentPosition(); + } + back() { + if (!this._initialized || this._popStateInProgress) { + return; + } + const state = window.history.state; + if (this._isValidState(state) && state.uid > 0) { + window.history.back(); + } + } + forward() { + if (!this._initialized || this._popStateInProgress) { + return; + } + const state = window.history.state; + if (this._isValidState(state) && state.uid < this._maxUid) { + window.history.forward(); + } + } + get popStateInProgress() { + return this._initialized && (this._popStateInProgress || this._blockHashChange > 0); + } + get initialBookmark() { + return this._initialized ? this._initialBookmark : null; + } + get initialRotation() { + return this._initialized ? this._initialRotation : null; + } + _pushOrReplaceState(destination, forceReplace = false) { + const shouldReplace = forceReplace || !this._destination; + const newState = { + fingerprint: this._fingerprint, + uid: shouldReplace ? this._uid : this._uid + 1, + destination + }; + this._updateInternalState(destination, newState.uid); + let newUrl; + if (this._updateUrl && destination?.hash) { + const baseUrl = document.location.href.split("#")[0]; + if (!baseUrl.startsWith("file://")) { + newUrl = `${baseUrl}#${destination.hash}`; + } + } + if (shouldReplace) { + window.history.replaceState(newState, "", newUrl); + } else { + window.history.pushState(newState, "", newUrl); + } + } + _tryPushCurrentPosition(temporary = false) { + if (!this._position) { + return; + } + let position = this._position; + if (temporary) { + position = Object.assign(Object.create(null), this._position); + position.temporary = true; + } + if (!this._destination) { + this._pushOrReplaceState(position); + return; + } + if (this._destination.temporary) { + this._pushOrReplaceState(position, true); + return; + } + if (this._destination.hash === position.hash) { + return; + } + if (!this._destination.page && (POSITION_UPDATED_THRESHOLD <= 0 || this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) { + return; + } + let forceReplace = false; + if (this._destination.page >= position.first && this._destination.page <= position.page) { + if (this._destination.dest !== undefined || !this._destination.first) { + return; + } + forceReplace = true; + } + this._pushOrReplaceState(position, forceReplace); + } + _isValidPage(val) { + return Number.isInteger(val) && val > 0 && val <= this.linkService.pagesCount; + } + _isValidState(state, checkReload = false) { + if (!state) { + return false; + } + if (state.fingerprint !== this._fingerprint) { + if (checkReload) { + if (typeof state.fingerprint !== "string" || state.fingerprint.length !== this._fingerprint.length) { + return false; + } + const [perfEntry] = performance.getEntriesByType("navigation"); + if (perfEntry?.type !== "reload") { + return false; + } + } else { + return false; + } + } + if (!Number.isInteger(state.uid) || state.uid < 0) { + return false; + } + if (state.destination === null || typeof state.destination !== "object") { + return false; + } + return true; + } + _updateInternalState(destination, uid, removeTemporary = false) { + if (this._updateViewareaTimeout) { + clearTimeout(this._updateViewareaTimeout); + this._updateViewareaTimeout = null; + } + if (removeTemporary && destination?.temporary) { + delete destination.temporary; + } + this._destination = destination; + this._uid = uid; + this._maxUid = Math.max(this._maxUid, uid); + this._numPositionUpdates = 0; + } + _parseCurrentHash(checkNameddest = false) { + const hash = unescape(getCurrentHash()).substring(1); + const params = (0, _ui_utils.parseQueryString)(hash); + const nameddest = params.get("nameddest") || ""; + let page = params.get("page") | 0; + if (!this._isValidPage(page) || checkNameddest && nameddest.length > 0) { + page = null; + } + return { + hash, + page, + rotation: this.linkService.rotation + }; + } + _updateViewarea({ + location + }) { + if (this._updateViewareaTimeout) { + clearTimeout(this._updateViewareaTimeout); + this._updateViewareaTimeout = null; + } + this._position = { + hash: location.pdfOpenParams.substring(1), + page: this.linkService.page, + first: location.pageNumber, + rotation: location.rotation + }; + if (this._popStateInProgress) { + return; + } + if (POSITION_UPDATED_THRESHOLD > 0 && this._isPagesLoaded && this._destination && !this._destination.page) { + this._numPositionUpdates++; + } + if (UPDATE_VIEWAREA_TIMEOUT > 0) { + this._updateViewareaTimeout = setTimeout(() => { + if (!this._popStateInProgress) { + this._tryPushCurrentPosition(true); + } + this._updateViewareaTimeout = null; + }, UPDATE_VIEWAREA_TIMEOUT); + } + } + _popState({ + state + }) { + const newHash = getCurrentHash(), + hashChanged = this._currentHash !== newHash; + this._currentHash = newHash; + if (!state) { + this._uid++; + const { + hash, + page, + rotation + } = this._parseCurrentHash(); + this._pushOrReplaceState({ + hash, + page, + rotation + }, true); + return; + } + if (!this._isValidState(state)) { + return; + } + this._popStateInProgress = true; + if (hashChanged) { + this._blockHashChange++; + (0, _event_utils.waitOnEventOrTimeout)({ + target: window, + name: "hashchange", + delay: HASH_CHANGE_TIMEOUT + }).then(() => { + this._blockHashChange--; + }); + } + const destination = state.destination; + this._updateInternalState(destination, state.uid, true); + if ((0, _ui_utils.isValidRotation)(destination.rotation)) { + this.linkService.rotation = destination.rotation; + } + if (destination.dest) { + this.linkService.goToDestination(destination.dest); + } else if (destination.hash) { + this.linkService.setHash(destination.hash); + } else if (destination.page) { + this.linkService.page = destination.page; + } + Promise.resolve().then(() => { + this._popStateInProgress = false; + }); + } + _pageHide() { + if (!this._destination || this._destination.temporary) { + this._tryPushCurrentPosition(); + } + } + _bindEvents() { + if (this._boundEvents) { + return; + } + this._boundEvents = { + updateViewarea: this._updateViewarea.bind(this), + popState: this._popState.bind(this), + pageHide: this._pageHide.bind(this) + }; + this.eventBus._on("updateviewarea", this._boundEvents.updateViewarea); + window.addEventListener("popstate", this._boundEvents.popState); + window.addEventListener("pagehide", this._boundEvents.pageHide); + } + _unbindEvents() { + if (!this._boundEvents) { + return; + } + this.eventBus._off("updateviewarea", this._boundEvents.updateViewarea); + window.removeEventListener("popstate", this._boundEvents.popState); + window.removeEventListener("pagehide", this._boundEvents.pageHide); + this._boundEvents = null; + } +} +exports.PDFHistory = PDFHistory; +function isDestHashesEqual(destHash, pushHash) { + if (typeof destHash !== "string" || typeof pushHash !== "string") { + return false; + } + if (destHash === pushHash) { + return true; + } + const nameddest = (0, _ui_utils.parseQueryString)(destHash).get("nameddest"); + if (nameddest === pushHash) { + return true; + } + return false; +} +function isDestArraysEqual(firstDest, secondDest) { + function isEntryEqual(first, second) { + if (typeof first !== typeof second) { + return false; + } + if (Array.isArray(first) || Array.isArray(second)) { + return false; + } + if (first !== null && typeof first === "object" && second !== null) { + if (Object.keys(first).length !== Object.keys(second).length) { + return false; + } + for (const key in first) { + if (!isEntryEqual(first[key], second[key])) { + return false; + } + } + return true; + } + return first === second || Number.isNaN(first) && Number.isNaN(second); + } + if (!(Array.isArray(firstDest) && Array.isArray(secondDest))) { + return false; + } + if (firstDest.length !== secondDest.length) { + return false; + } + for (let i = 0, ii = firstDest.length; i < ii; i++) { + if (!isEntryEqual(firstDest[i], secondDest[i])) { + return false; + } + } + return true; +} + +/***/ }), +/* 20 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFLayerViewer = void 0; +var _base_tree_viewer = __webpack_require__(12); +class PDFLayerViewer extends _base_tree_viewer.BaseTreeViewer { + constructor(options) { + super(options); + this.l10n = options.l10n; + this.eventBus._on("optionalcontentconfigchanged", evt => { + this.#updateLayers(evt.promise); + }); + this.eventBus._on("resetlayers", () => { + this.#updateLayers(); + }); + this.eventBus._on("togglelayerstree", this._toggleAllTreeItems.bind(this)); + } + reset() { + super.reset(); + this._optionalContentConfig = null; + this._optionalContentHash = null; + } + _dispatchEvent(layersCount) { + this.eventBus.dispatch("layersloaded", { + source: this, + layersCount + }); + } + _bindLink(element, { + groupId, + input + }) { + const setVisibility = () => { + this._optionalContentConfig.setVisibility(groupId, input.checked); + this._optionalContentHash = this._optionalContentConfig.getHash(); + this.eventBus.dispatch("optionalcontentconfig", { + source: this, + promise: Promise.resolve(this._optionalContentConfig) + }); + }; + element.onclick = evt => { + if (evt.target === input) { + setVisibility(); + return true; + } else if (evt.target !== element) { + return true; + } + input.checked = !input.checked; + setVisibility(); + return false; + }; + } + async _setNestedName(element, { + name = null + }) { + if (typeof name === "string") { + element.textContent = this._normalizeTextContent(name); + return; + } + element.textContent = await this.l10n.get("additional_layers"); + element.style.fontStyle = "italic"; + } + _addToggleButton(div, { + name = null + }) { + super._addToggleButton(div, name === null); + } + _toggleAllTreeItems() { + if (!this._optionalContentConfig) { + return; + } + super._toggleAllTreeItems(); + } + render({ + optionalContentConfig, + pdfDocument + }) { + if (this._optionalContentConfig) { + this.reset(); + } + this._optionalContentConfig = optionalContentConfig || null; + this._pdfDocument = pdfDocument || null; + const groups = optionalContentConfig?.getOrder(); + if (!groups) { + this._dispatchEvent(0); + return; + } + this._optionalContentHash = optionalContentConfig.getHash(); + const fragment = document.createDocumentFragment(), + queue = [{ + parent: fragment, + groups + }]; + let layersCount = 0, + hasAnyNesting = false; + while (queue.length > 0) { + const levelData = queue.shift(); + for (const groupId of levelData.groups) { + const div = document.createElement("div"); + div.className = "treeItem"; + const element = document.createElement("a"); + div.append(element); + if (typeof groupId === "object") { + hasAnyNesting = true; + this._addToggleButton(div, groupId); + this._setNestedName(element, groupId); + const itemsDiv = document.createElement("div"); + itemsDiv.className = "treeItems"; + div.append(itemsDiv); + queue.push({ + parent: itemsDiv, + groups: groupId.order + }); + } else { + const group = optionalContentConfig.getGroup(groupId); + const input = document.createElement("input"); + this._bindLink(element, { + groupId, + input + }); + input.type = "checkbox"; + input.checked = group.visible; + const label = document.createElement("label"); + label.textContent = this._normalizeTextContent(group.name); + label.append(input); + element.append(label); + layersCount++; + } + levelData.parent.append(div); + } + } + this._finishRendering(fragment, layersCount, hasAnyNesting); + } + async #updateLayers(promise = null) { + if (!this._optionalContentConfig) { + return; + } + const pdfDocument = this._pdfDocument; + const optionalContentConfig = await (promise || pdfDocument.getOptionalContentConfig()); + if (pdfDocument !== this._pdfDocument) { + return; + } + if (promise) { + if (optionalContentConfig.getHash() === this._optionalContentHash) { + return; + } + } else { + this.eventBus.dispatch("optionalcontentconfig", { + source: this, + promise: Promise.resolve(optionalContentConfig) + }); + } + this.render({ + optionalContentConfig, + pdfDocument: this._pdfDocument + }); + } +} +exports.PDFLayerViewer = PDFLayerViewer; + +/***/ }), +/* 21 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFOutlineViewer = void 0; +var _base_tree_viewer = __webpack_require__(12); +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +class PDFOutlineViewer extends _base_tree_viewer.BaseTreeViewer { + constructor(options) { + super(options); + this.linkService = options.linkService; + this.downloadManager = options.downloadManager; + this.eventBus._on("toggleoutlinetree", this._toggleAllTreeItems.bind(this)); + this.eventBus._on("currentoutlineitem", this._currentOutlineItem.bind(this)); + this.eventBus._on("pagechanging", evt => { + this._currentPageNumber = evt.pageNumber; + }); + this.eventBus._on("pagesloaded", evt => { + this._isPagesLoaded = !!evt.pagesCount; + if (this._currentOutlineItemCapability && !this._currentOutlineItemCapability.settled) { + this._currentOutlineItemCapability.resolve(this._isPagesLoaded); + } + }); + this.eventBus._on("sidebarviewchanged", evt => { + this._sidebarView = evt.view; + }); + } + reset() { + super.reset(); + this._outline = null; + this._pageNumberToDestHashCapability = null; + this._currentPageNumber = 1; + this._isPagesLoaded = null; + if (this._currentOutlineItemCapability && !this._currentOutlineItemCapability.settled) { + this._currentOutlineItemCapability.resolve(false); + } + this._currentOutlineItemCapability = null; + } + _dispatchEvent(outlineCount) { + this._currentOutlineItemCapability = new _pdfjsLib.PromiseCapability(); + if (outlineCount === 0 || this._pdfDocument?.loadingParams.disableAutoFetch) { + this._currentOutlineItemCapability.resolve(false); + } else if (this._isPagesLoaded !== null) { + this._currentOutlineItemCapability.resolve(this._isPagesLoaded); + } + this.eventBus.dispatch("outlineloaded", { + source: this, + outlineCount, + currentOutlineItemPromise: this._currentOutlineItemCapability.promise + }); + } + _bindLink(element, { + url, + newWindow, + action, + attachment, + dest, + setOCGState + }) { + const { + linkService + } = this; + if (url) { + linkService.addLinkAttributes(element, url, newWindow); + return; + } + if (action) { + element.href = linkService.getAnchorUrl(""); + element.onclick = () => { + linkService.executeNamedAction(action); + return false; + }; + return; + } + if (attachment) { + element.href = linkService.getAnchorUrl(""); + element.onclick = () => { + this.downloadManager.openOrDownloadData(element, attachment.content, attachment.filename); + return false; + }; + return; + } + if (setOCGState) { + element.href = linkService.getAnchorUrl(""); + element.onclick = () => { + linkService.executeSetOCGState(setOCGState); + return false; + }; + return; + } + element.href = linkService.getDestinationHash(dest); + element.onclick = evt => { + this._updateCurrentTreeItem(evt.target.parentNode); + if (dest) { + linkService.goToDestination(dest); + } + return false; + }; + } + _setStyles(element, { + bold, + italic + }) { + if (bold) { + element.style.fontWeight = "bold"; + } + if (italic) { + element.style.fontStyle = "italic"; + } + } + _addToggleButton(div, { + count, + items + }) { + let hidden = false; + if (count < 0) { + let totalCount = items.length; + if (totalCount > 0) { + const queue = [...items]; + while (queue.length > 0) { + const { + count: nestedCount, + items: nestedItems + } = queue.shift(); + if (nestedCount > 0 && nestedItems.length > 0) { + totalCount += nestedItems.length; + queue.push(...nestedItems); + } + } + } + if (Math.abs(count) === totalCount) { + hidden = true; + } + } + super._addToggleButton(div, hidden); + } + _toggleAllTreeItems() { + if (!this._outline) { + return; + } + super._toggleAllTreeItems(); + } + render({ + outline, + pdfDocument + }) { + if (this._outline) { + this.reset(); + } + this._outline = outline || null; + this._pdfDocument = pdfDocument || null; + if (!outline) { + this._dispatchEvent(0); + return; + } + const fragment = document.createDocumentFragment(); + const queue = [{ + parent: fragment, + items: outline + }]; + let outlineCount = 0, + hasAnyNesting = false; + while (queue.length > 0) { + const levelData = queue.shift(); + for (const item of levelData.items) { + const div = document.createElement("div"); + div.className = "treeItem"; + const element = document.createElement("a"); + this._bindLink(element, item); + this._setStyles(element, item); + element.textContent = this._normalizeTextContent(item.title); + div.append(element); + if (item.items.length > 0) { + hasAnyNesting = true; + this._addToggleButton(div, item); + const itemsDiv = document.createElement("div"); + itemsDiv.className = "treeItems"; + div.append(itemsDiv); + queue.push({ + parent: itemsDiv, + items: item.items + }); + } + levelData.parent.append(div); + outlineCount++; + } + } + this._finishRendering(fragment, outlineCount, hasAnyNesting); + } + async _currentOutlineItem() { + if (!this._isPagesLoaded) { + throw new Error("_currentOutlineItem: All pages have not been loaded."); + } + if (!this._outline || !this._pdfDocument) { + return; + } + const pageNumberToDestHash = await this._getPageNumberToDestHash(this._pdfDocument); + if (!pageNumberToDestHash) { + return; + } + this._updateCurrentTreeItem(null); + if (this._sidebarView !== _ui_utils.SidebarView.OUTLINE) { + return; + } + for (let i = this._currentPageNumber; i > 0; i--) { + const destHash = pageNumberToDestHash.get(i); + if (!destHash) { + continue; + } + const linkElement = this.container.querySelector(`a[href="${destHash}"]`); + if (!linkElement) { + continue; + } + this._scrollToCurrentTreeItem(linkElement.parentNode); + break; + } + } + async _getPageNumberToDestHash(pdfDocument) { + if (this._pageNumberToDestHashCapability) { + return this._pageNumberToDestHashCapability.promise; + } + this._pageNumberToDestHashCapability = new _pdfjsLib.PromiseCapability(); + const pageNumberToDestHash = new Map(), + pageNumberNesting = new Map(); + const queue = [{ + nesting: 0, + items: this._outline + }]; + while (queue.length > 0) { + const levelData = queue.shift(), + currentNesting = levelData.nesting; + for (const { + dest, + items + } of levelData.items) { + let explicitDest, pageNumber; + if (typeof dest === "string") { + explicitDest = await pdfDocument.getDestination(dest); + if (pdfDocument !== this._pdfDocument) { + return null; + } + } else { + explicitDest = dest; + } + if (Array.isArray(explicitDest)) { + const [destRef] = explicitDest; + if (typeof destRef === "object" && destRef !== null) { + pageNumber = this.linkService._cachedPageNumber(destRef); + if (!pageNumber) { + try { + pageNumber = (await pdfDocument.getPageIndex(destRef)) + 1; + if (pdfDocument !== this._pdfDocument) { + return null; + } + this.linkService.cachePageRef(pageNumber, destRef); + } catch {} + } + } else if (Number.isInteger(destRef)) { + pageNumber = destRef + 1; + } + if (Number.isInteger(pageNumber) && (!pageNumberToDestHash.has(pageNumber) || currentNesting > pageNumberNesting.get(pageNumber))) { + const destHash = this.linkService.getDestinationHash(dest); + pageNumberToDestHash.set(pageNumber, destHash); + pageNumberNesting.set(pageNumber, currentNesting); + } + } + if (items.length > 0) { + queue.push({ + nesting: currentNesting + 1, + items + }); + } + } + } + this._pageNumberToDestHashCapability.resolve(pageNumberToDestHash.size > 0 ? pageNumberToDestHash : null); + return this._pageNumberToDestHashCapability.promise; + } +} +exports.PDFOutlineViewer = PDFOutlineViewer; + +/***/ }), +/* 22 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFPresentationMode = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +const DELAY_BEFORE_HIDING_CONTROLS = 3000; +const ACTIVE_SELECTOR = "pdfPresentationMode"; +const CONTROLS_SELECTOR = "pdfPresentationModeControls"; +const MOUSE_SCROLL_COOLDOWN_TIME = 50; +const PAGE_SWITCH_THRESHOLD = 0.1; +const SWIPE_MIN_DISTANCE_THRESHOLD = 50; +const SWIPE_ANGLE_THRESHOLD = Math.PI / 6; +class PDFPresentationMode { + #state = _ui_utils.PresentationModeState.UNKNOWN; + #args = null; + constructor({ + container, + pdfViewer, + eventBus + }) { + this.container = container; + this.pdfViewer = pdfViewer; + this.eventBus = eventBus; + this.contextMenuOpen = false; + this.mouseScrollTimeStamp = 0; + this.mouseScrollDelta = 0; + this.touchSwipeState = null; + } + async request() { + const { + container, + pdfViewer + } = this; + if (this.active || !pdfViewer.pagesCount || !container.requestFullscreen) { + return false; + } + this.#addFullscreenChangeListeners(); + this.#notifyStateChange(_ui_utils.PresentationModeState.CHANGING); + const promise = container.requestFullscreen(); + this.#args = { + pageNumber: pdfViewer.currentPageNumber, + scaleValue: pdfViewer.currentScaleValue, + scrollMode: pdfViewer.scrollMode, + spreadMode: null, + annotationEditorMode: null + }; + if (pdfViewer.spreadMode !== _ui_utils.SpreadMode.NONE && !(pdfViewer.pageViewsReady && pdfViewer.hasEqualPageSizes)) { + console.warn("Ignoring Spread modes when entering PresentationMode, " + "since the document may contain varying page sizes."); + this.#args.spreadMode = pdfViewer.spreadMode; + } + if (pdfViewer.annotationEditorMode !== _pdfjsLib.AnnotationEditorType.DISABLE) { + this.#args.annotationEditorMode = pdfViewer.annotationEditorMode; + } + try { + await promise; + pdfViewer.focus(); + return true; + } catch { + this.#removeFullscreenChangeListeners(); + this.#notifyStateChange(_ui_utils.PresentationModeState.NORMAL); + } + return false; + } + get active() { + return this.#state === _ui_utils.PresentationModeState.CHANGING || this.#state === _ui_utils.PresentationModeState.FULLSCREEN; + } + #mouseWheel(evt) { + if (!this.active) { + return; + } + evt.preventDefault(); + const delta = (0, _ui_utils.normalizeWheelEventDelta)(evt); + const currentTime = Date.now(); + const storedTime = this.mouseScrollTimeStamp; + if (currentTime > storedTime && currentTime - storedTime < MOUSE_SCROLL_COOLDOWN_TIME) { + return; + } + if (this.mouseScrollDelta > 0 && delta < 0 || this.mouseScrollDelta < 0 && delta > 0) { + this.#resetMouseScrollState(); + } + this.mouseScrollDelta += delta; + if (Math.abs(this.mouseScrollDelta) >= PAGE_SWITCH_THRESHOLD) { + const totalDelta = this.mouseScrollDelta; + this.#resetMouseScrollState(); + const success = totalDelta > 0 ? this.pdfViewer.previousPage() : this.pdfViewer.nextPage(); + if (success) { + this.mouseScrollTimeStamp = currentTime; + } + } + } + #notifyStateChange(state) { + this.#state = state; + this.eventBus.dispatch("presentationmodechanged", { + source: this, + state + }); + } + #enter() { + this.#notifyStateChange(_ui_utils.PresentationModeState.FULLSCREEN); + this.container.classList.add(ACTIVE_SELECTOR); + setTimeout(() => { + this.pdfViewer.scrollMode = _ui_utils.ScrollMode.PAGE; + if (this.#args.spreadMode !== null) { + this.pdfViewer.spreadMode = _ui_utils.SpreadMode.NONE; + } + this.pdfViewer.currentPageNumber = this.#args.pageNumber; + this.pdfViewer.currentScaleValue = "page-fit"; + if (this.#args.annotationEditorMode !== null) { + this.pdfViewer.annotationEditorMode = _pdfjsLib.AnnotationEditorType.NONE; + } + }, 0); + this.#addWindowListeners(); + this.#showControls(); + this.contextMenuOpen = false; + window.getSelection().removeAllRanges(); + } + #exit() { + const pageNumber = this.pdfViewer.currentPageNumber; + this.container.classList.remove(ACTIVE_SELECTOR); + setTimeout(() => { + this.#removeFullscreenChangeListeners(); + this.#notifyStateChange(_ui_utils.PresentationModeState.NORMAL); + this.pdfViewer.scrollMode = this.#args.scrollMode; + if (this.#args.spreadMode !== null) { + this.pdfViewer.spreadMode = this.#args.spreadMode; + } + this.pdfViewer.currentScaleValue = this.#args.scaleValue; + this.pdfViewer.currentPageNumber = pageNumber; + if (this.#args.annotationEditorMode !== null) { + this.pdfViewer.annotationEditorMode = this.#args.annotationEditorMode; + } + this.#args = null; + }, 0); + this.#removeWindowListeners(); + this.#hideControls(); + this.#resetMouseScrollState(); + this.contextMenuOpen = false; + } + #mouseDown(evt) { + if (this.contextMenuOpen) { + this.contextMenuOpen = false; + evt.preventDefault(); + return; + } + if (evt.button !== 0) { + return; + } + if (evt.target.href && evt.target.parentNode?.hasAttribute("data-internal-link")) { + return; + } + evt.preventDefault(); + if (evt.shiftKey) { + this.pdfViewer.previousPage(); + } else { + this.pdfViewer.nextPage(); + } + } + #contextMenu() { + this.contextMenuOpen = true; + } + #showControls() { + if (this.controlsTimeout) { + clearTimeout(this.controlsTimeout); + } else { + this.container.classList.add(CONTROLS_SELECTOR); + } + this.controlsTimeout = setTimeout(() => { + this.container.classList.remove(CONTROLS_SELECTOR); + delete this.controlsTimeout; + }, DELAY_BEFORE_HIDING_CONTROLS); + } + #hideControls() { + if (!this.controlsTimeout) { + return; + } + clearTimeout(this.controlsTimeout); + this.container.classList.remove(CONTROLS_SELECTOR); + delete this.controlsTimeout; + } + #resetMouseScrollState() { + this.mouseScrollTimeStamp = 0; + this.mouseScrollDelta = 0; + } + #touchSwipe(evt) { + if (!this.active) { + return; + } + if (evt.touches.length > 1) { + this.touchSwipeState = null; + return; + } + switch (evt.type) { + case "touchstart": + this.touchSwipeState = { + startX: evt.touches[0].pageX, + startY: evt.touches[0].pageY, + endX: evt.touches[0].pageX, + endY: evt.touches[0].pageY + }; + break; + case "touchmove": + if (this.touchSwipeState === null) { + return; + } + this.touchSwipeState.endX = evt.touches[0].pageX; + this.touchSwipeState.endY = evt.touches[0].pageY; + evt.preventDefault(); + break; + case "touchend": + if (this.touchSwipeState === null) { + return; + } + let delta = 0; + const dx = this.touchSwipeState.endX - this.touchSwipeState.startX; + const dy = this.touchSwipeState.endY - this.touchSwipeState.startY; + const absAngle = Math.abs(Math.atan2(dy, dx)); + if (Math.abs(dx) > SWIPE_MIN_DISTANCE_THRESHOLD && (absAngle <= SWIPE_ANGLE_THRESHOLD || absAngle >= Math.PI - SWIPE_ANGLE_THRESHOLD)) { + delta = dx; + } else if (Math.abs(dy) > SWIPE_MIN_DISTANCE_THRESHOLD && Math.abs(absAngle - Math.PI / 2) <= SWIPE_ANGLE_THRESHOLD) { + delta = dy; + } + if (delta > 0) { + this.pdfViewer.previousPage(); + } else if (delta < 0) { + this.pdfViewer.nextPage(); + } + break; + } + } + #addWindowListeners() { + this.showControlsBind = this.#showControls.bind(this); + this.mouseDownBind = this.#mouseDown.bind(this); + this.mouseWheelBind = this.#mouseWheel.bind(this); + this.resetMouseScrollStateBind = this.#resetMouseScrollState.bind(this); + this.contextMenuBind = this.#contextMenu.bind(this); + this.touchSwipeBind = this.#touchSwipe.bind(this); + window.addEventListener("mousemove", this.showControlsBind); + window.addEventListener("mousedown", this.mouseDownBind); + window.addEventListener("wheel", this.mouseWheelBind, { + passive: false + }); + window.addEventListener("keydown", this.resetMouseScrollStateBind); + window.addEventListener("contextmenu", this.contextMenuBind); + window.addEventListener("touchstart", this.touchSwipeBind); + window.addEventListener("touchmove", this.touchSwipeBind); + window.addEventListener("touchend", this.touchSwipeBind); + } + #removeWindowListeners() { + window.removeEventListener("mousemove", this.showControlsBind); + window.removeEventListener("mousedown", this.mouseDownBind); + window.removeEventListener("wheel", this.mouseWheelBind, { + passive: false + }); + window.removeEventListener("keydown", this.resetMouseScrollStateBind); + window.removeEventListener("contextmenu", this.contextMenuBind); + window.removeEventListener("touchstart", this.touchSwipeBind); + window.removeEventListener("touchmove", this.touchSwipeBind); + window.removeEventListener("touchend", this.touchSwipeBind); + delete this.showControlsBind; + delete this.mouseDownBind; + delete this.mouseWheelBind; + delete this.resetMouseScrollStateBind; + delete this.contextMenuBind; + delete this.touchSwipeBind; + } + #fullscreenChange() { + if (document.fullscreenElement) { + this.#enter(); + } else { + this.#exit(); + } + } + #addFullscreenChangeListeners() { + this.fullscreenChangeBind = this.#fullscreenChange.bind(this); + window.addEventListener("fullscreenchange", this.fullscreenChangeBind); + } + #removeFullscreenChangeListeners() { + window.removeEventListener("fullscreenchange", this.fullscreenChangeBind); + delete this.fullscreenChangeBind; + } +} +exports.PDFPresentationMode = PDFPresentationMode; + +/***/ }), +/* 23 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFRenderingQueue = void 0; +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +const CLEANUP_TIMEOUT = 30000; +class PDFRenderingQueue { + constructor() { + this.pdfViewer = null; + this.pdfThumbnailViewer = null; + this.onIdle = null; + this.highestPriorityPage = null; + this.idleTimeout = null; + this.printing = false; + this.isThumbnailViewEnabled = false; + Object.defineProperty(this, "hasViewer", { + value: () => !!this.pdfViewer + }); + } + setViewer(pdfViewer) { + this.pdfViewer = pdfViewer; + } + setThumbnailViewer(pdfThumbnailViewer) { + this.pdfThumbnailViewer = pdfThumbnailViewer; + } + isHighestPriority(view) { + return this.highestPriorityPage === view.renderingId; + } + renderHighestPriority(currentlyVisiblePages) { + if (this.idleTimeout) { + clearTimeout(this.idleTimeout); + this.idleTimeout = null; + } + if (this.pdfViewer.forceRendering(currentlyVisiblePages)) { + return; + } + if (this.isThumbnailViewEnabled && this.pdfThumbnailViewer?.forceRendering()) { + return; + } + if (this.printing) { + return; + } + if (this.onIdle) { + this.idleTimeout = setTimeout(this.onIdle.bind(this), CLEANUP_TIMEOUT); + } + } + getHighestPriority(visible, views, scrolledDown, preRenderExtra = false) { + const visibleViews = visible.views, + numVisible = visibleViews.length; + if (numVisible === 0) { + return null; + } + for (let i = 0; i < numVisible; i++) { + const view = visibleViews[i].view; + if (!this.isViewFinished(view)) { + return view; + } + } + const firstId = visible.first.id, + lastId = visible.last.id; + if (lastId - firstId + 1 > numVisible) { + const visibleIds = visible.ids; + for (let i = 1, ii = lastId - firstId; i < ii; i++) { + const holeId = scrolledDown ? firstId + i : lastId - i; + if (visibleIds.has(holeId)) { + continue; + } + const holeView = views[holeId - 1]; + if (!this.isViewFinished(holeView)) { + return holeView; + } + } + } + let preRenderIndex = scrolledDown ? lastId : firstId - 2; + let preRenderView = views[preRenderIndex]; + if (preRenderView && !this.isViewFinished(preRenderView)) { + return preRenderView; + } + if (preRenderExtra) { + preRenderIndex += scrolledDown ? 1 : -1; + preRenderView = views[preRenderIndex]; + if (preRenderView && !this.isViewFinished(preRenderView)) { + return preRenderView; + } + } + return null; + } + isViewFinished(view) { + return view.renderingState === _ui_utils.RenderingStates.FINISHED; + } + renderView(view) { + switch (view.renderingState) { + case _ui_utils.RenderingStates.FINISHED: + return false; + case _ui_utils.RenderingStates.PAUSED: + this.highestPriorityPage = view.renderingId; + view.resume(); + break; + case _ui_utils.RenderingStates.RUNNING: + this.highestPriorityPage = view.renderingId; + break; + case _ui_utils.RenderingStates.INITIAL: + this.highestPriorityPage = view.renderingId; + view.draw().finally(() => { + this.renderHighestPriority(); + }).catch(reason => { + if (reason instanceof _pdfjsLib.RenderingCancelledException) { + return; + } + console.error(`renderView: "${reason}"`); + }); + break; + } + return true; + } +} +exports.PDFRenderingQueue = PDFRenderingQueue; + +/***/ }), +/* 24 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFScriptingManager = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +class PDFScriptingManager { + #closeCapability = null; + #destroyCapability = null; + #docProperties = null; + #eventBus = null; + #externalServices = null; + #pdfDocument = null; + #pdfViewer = null; + #ready = false; + #sandboxBundleSrc = null; + #scripting = null; + constructor({ + eventBus, + sandboxBundleSrc = null, + externalServices = null, + docProperties = null + }) { + this.#eventBus = eventBus; + this.#sandboxBundleSrc = sandboxBundleSrc; + this.#externalServices = externalServices; + this.#docProperties = docProperties; + } + setViewer(pdfViewer) { + this.#pdfViewer = pdfViewer; + } + async setDocument(pdfDocument) { + if (this.#pdfDocument) { + await this.#destroyScripting(); + } + this.#pdfDocument = pdfDocument; + if (!pdfDocument) { + return; + } + const [objects, calculationOrder, docActions] = await Promise.all([pdfDocument.getFieldObjects(), pdfDocument.getCalculationOrderIds(), pdfDocument.getJSActions()]); + if (!objects && !docActions) { + await this.#destroyScripting(); + return; + } + if (pdfDocument !== this.#pdfDocument) { + return; + } + try { + this.#scripting = this.#initScripting(); + } catch (error) { + console.error(`setDocument: "${error.message}".`); + await this.#destroyScripting(); + return; + } + this._internalEvents.set("updatefromsandbox", event => { + if (event?.source === window) { + this.#updateFromSandbox(event.detail); + } + }); + this._internalEvents.set("dispatcheventinsandbox", event => { + this.#scripting?.dispatchEventInSandbox(event.detail); + }); + this._internalEvents.set("pagechanging", ({ + pageNumber, + previous + }) => { + if (pageNumber === previous) { + return; + } + this.#dispatchPageClose(previous); + this.#dispatchPageOpen(pageNumber); + }); + this._internalEvents.set("pagerendered", ({ + pageNumber + }) => { + if (!this._pageOpenPending.has(pageNumber)) { + return; + } + if (pageNumber !== this.#pdfViewer.currentPageNumber) { + return; + } + this.#dispatchPageOpen(pageNumber); + }); + this._internalEvents.set("pagesdestroy", async () => { + await this.#dispatchPageClose(this.#pdfViewer.currentPageNumber); + await this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "WillClose" + }); + this.#closeCapability?.resolve(); + }); + for (const [name, listener] of this._internalEvents) { + this.#eventBus._on(name, listener); + } + try { + const docProperties = await this.#docProperties(pdfDocument); + if (pdfDocument !== this.#pdfDocument) { + return; + } + await this.#scripting.createSandbox({ + objects, + calculationOrder, + appInfo: { + platform: navigator.platform, + language: navigator.language + }, + docInfo: { + ...docProperties, + actions: docActions + } + }); + this.#eventBus.dispatch("sandboxcreated", { + source: this + }); + } catch (error) { + console.error(`setDocument: "${error.message}".`); + await this.#destroyScripting(); + return; + } + await this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "Open" + }); + await this.#dispatchPageOpen(this.#pdfViewer.currentPageNumber, true); + Promise.resolve().then(() => { + if (pdfDocument === this.#pdfDocument) { + this.#ready = true; + } + }); + } + async dispatchWillSave() { + return this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "WillSave" + }); + } + async dispatchDidSave() { + return this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "DidSave" + }); + } + async dispatchWillPrint() { + return this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "WillPrint" + }); + } + async dispatchDidPrint() { + return this.#scripting?.dispatchEventInSandbox({ + id: "doc", + name: "DidPrint" + }); + } + get destroyPromise() { + return this.#destroyCapability?.promise || null; + } + get ready() { + return this.#ready; + } + get _internalEvents() { + return (0, _pdfjsLib.shadow)(this, "_internalEvents", new Map()); + } + get _pageOpenPending() { + return (0, _pdfjsLib.shadow)(this, "_pageOpenPending", new Set()); + } + get _visitedPages() { + return (0, _pdfjsLib.shadow)(this, "_visitedPages", new Map()); + } + async #updateFromSandbox(detail) { + const pdfViewer = this.#pdfViewer; + const isInPresentationMode = pdfViewer.isInPresentationMode || pdfViewer.isChangingPresentationMode; + const { + id, + siblings, + command, + value + } = detail; + if (!id) { + switch (command) { + case "clear": + console.clear(); + break; + case "error": + console.error(value); + break; + case "layout": + if (!isInPresentationMode) { + const modes = (0, _ui_utils.apiPageLayoutToViewerModes)(value); + pdfViewer.spreadMode = modes.spreadMode; + } + break; + case "page-num": + pdfViewer.currentPageNumber = value + 1; + break; + case "print": + await pdfViewer.pagesPromise; + this.#eventBus.dispatch("print", { + source: this + }); + break; + case "println": + console.log(value); + break; + case "zoom": + if (!isInPresentationMode) { + pdfViewer.currentScaleValue = value; + } + break; + case "SaveAs": + this.#eventBus.dispatch("download", { + source: this + }); + break; + case "FirstPage": + pdfViewer.currentPageNumber = 1; + break; + case "LastPage": + pdfViewer.currentPageNumber = pdfViewer.pagesCount; + break; + case "NextPage": + pdfViewer.nextPage(); + break; + case "PrevPage": + pdfViewer.previousPage(); + break; + case "ZoomViewIn": + if (!isInPresentationMode) { + pdfViewer.increaseScale(); + } + break; + case "ZoomViewOut": + if (!isInPresentationMode) { + pdfViewer.decreaseScale(); + } + break; + } + return; + } + if (isInPresentationMode && detail.focus) { + return; + } + delete detail.id; + delete detail.siblings; + const ids = siblings ? [id, ...siblings] : [id]; + for (const elementId of ids) { + const element = document.querySelector(`[data-element-id="${elementId}"]`); + if (element) { + element.dispatchEvent(new CustomEvent("updatefromsandbox", { + detail + })); + } else { + this.#pdfDocument?.annotationStorage.setValue(elementId, detail); + } + } + } + async #dispatchPageOpen(pageNumber, initialize = false) { + const pdfDocument = this.#pdfDocument, + visitedPages = this._visitedPages; + if (initialize) { + this.#closeCapability = new _pdfjsLib.PromiseCapability(); + } + if (!this.#closeCapability) { + return; + } + const pageView = this.#pdfViewer.getPageView(pageNumber - 1); + if (pageView?.renderingState !== _ui_utils.RenderingStates.FINISHED) { + this._pageOpenPending.add(pageNumber); + return; + } + this._pageOpenPending.delete(pageNumber); + const actionsPromise = (async () => { + const actions = await (!visitedPages.has(pageNumber) ? pageView.pdfPage?.getJSActions() : null); + if (pdfDocument !== this.#pdfDocument) { + return; + } + await this.#scripting?.dispatchEventInSandbox({ + id: "page", + name: "PageOpen", + pageNumber, + actions + }); + })(); + visitedPages.set(pageNumber, actionsPromise); + } + async #dispatchPageClose(pageNumber) { + const pdfDocument = this.#pdfDocument, + visitedPages = this._visitedPages; + if (!this.#closeCapability) { + return; + } + if (this._pageOpenPending.has(pageNumber)) { + return; + } + const actionsPromise = visitedPages.get(pageNumber); + if (!actionsPromise) { + return; + } + visitedPages.set(pageNumber, null); + await actionsPromise; + if (pdfDocument !== this.#pdfDocument) { + return; + } + await this.#scripting?.dispatchEventInSandbox({ + id: "page", + name: "PageClose", + pageNumber + }); + } + #initScripting() { + this.#destroyCapability = new _pdfjsLib.PromiseCapability(); + if (this.#scripting) { + throw new Error("#initScripting: Scripting already exists."); + } + return this.#externalServices.createScripting({ + sandboxBundleSrc: this.#sandboxBundleSrc + }); + } + async #destroyScripting() { + if (!this.#scripting) { + this.#pdfDocument = null; + this.#destroyCapability?.resolve(); + return; + } + if (this.#closeCapability) { + await Promise.race([this.#closeCapability.promise, new Promise(resolve => { + setTimeout(resolve, 1000); + })]).catch(() => {}); + this.#closeCapability = null; + } + this.#pdfDocument = null; + try { + await this.#scripting.destroySandbox(); + } catch {} + for (const [name, listener] of this._internalEvents) { + this.#eventBus._off(name, listener); + } + this._internalEvents.clear(); + this._pageOpenPending.clear(); + this._visitedPages.clear(); + this.#scripting = null; + this.#ready = false; + this.#destroyCapability?.resolve(); + } +} +exports.PDFScriptingManager = PDFScriptingManager; + +/***/ }), +/* 25 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFSidebar = void 0; +var _ui_utils = __webpack_require__(3); +const SIDEBAR_WIDTH_VAR = "--sidebar-width"; +const SIDEBAR_MIN_WIDTH = 200; +const SIDEBAR_RESIZING_CLASS = "sidebarResizing"; +const UI_NOTIFICATION_CLASS = "pdfSidebarNotification"; +class PDFSidebar { + #isRTL = false; + #mouseMoveBound = this.#mouseMove.bind(this); + #mouseUpBound = this.#mouseUp.bind(this); + #outerContainerWidth = null; + #width = null; + constructor({ + elements, + eventBus, + l10n + }) { + this.isOpen = false; + this.active = _ui_utils.SidebarView.THUMBS; + this.isInitialViewSet = false; + this.isInitialEventDispatched = false; + this.onToggled = null; + this.onUpdateThumbnails = null; + this.outerContainer = elements.outerContainer; + this.sidebarContainer = elements.sidebarContainer; + this.toggleButton = elements.toggleButton; + this.resizer = elements.resizer; + this.thumbnailButton = elements.thumbnailButton; + this.outlineButton = elements.outlineButton; + this.attachmentsButton = elements.attachmentsButton; + this.layersButton = elements.layersButton; + this.thumbnailView = elements.thumbnailView; + this.outlineView = elements.outlineView; + this.attachmentsView = elements.attachmentsView; + this.layersView = elements.layersView; + this._outlineOptionsContainer = elements.outlineOptionsContainer; + this._currentOutlineItemButton = elements.currentOutlineItemButton; + this.eventBus = eventBus; + this.l10n = l10n; + l10n.getDirection().then(dir => { + this.#isRTL = dir === "rtl"; + }); + this.#addEventListeners(); + } + reset() { + this.isInitialViewSet = false; + this.isInitialEventDispatched = false; + this.#hideUINotification(true); + this.switchView(_ui_utils.SidebarView.THUMBS); + this.outlineButton.disabled = false; + this.attachmentsButton.disabled = false; + this.layersButton.disabled = false; + this._currentOutlineItemButton.disabled = true; + } + get visibleView() { + return this.isOpen ? this.active : _ui_utils.SidebarView.NONE; + } + setInitialView(view = _ui_utils.SidebarView.NONE) { + if (this.isInitialViewSet) { + return; + } + this.isInitialViewSet = true; + if (view === _ui_utils.SidebarView.NONE || view === _ui_utils.SidebarView.UNKNOWN) { + this.#dispatchEvent(); + return; + } + this.switchView(view, true); + if (!this.isInitialEventDispatched) { + this.#dispatchEvent(); + } + } + switchView(view, forceOpen = false) { + const isViewChanged = view !== this.active; + let forceRendering = false; + switch (view) { + case _ui_utils.SidebarView.NONE: + if (this.isOpen) { + this.close(); + } + return; + case _ui_utils.SidebarView.THUMBS: + if (this.isOpen && isViewChanged) { + forceRendering = true; + } + break; + case _ui_utils.SidebarView.OUTLINE: + if (this.outlineButton.disabled) { + return; + } + break; + case _ui_utils.SidebarView.ATTACHMENTS: + if (this.attachmentsButton.disabled) { + return; + } + break; + case _ui_utils.SidebarView.LAYERS: + if (this.layersButton.disabled) { + return; + } + break; + default: + console.error(`PDFSidebar.switchView: "${view}" is not a valid view.`); + return; + } + this.active = view; + (0, _ui_utils.toggleCheckedBtn)(this.thumbnailButton, view === _ui_utils.SidebarView.THUMBS, this.thumbnailView); + (0, _ui_utils.toggleCheckedBtn)(this.outlineButton, view === _ui_utils.SidebarView.OUTLINE, this.outlineView); + (0, _ui_utils.toggleCheckedBtn)(this.attachmentsButton, view === _ui_utils.SidebarView.ATTACHMENTS, this.attachmentsView); + (0, _ui_utils.toggleCheckedBtn)(this.layersButton, view === _ui_utils.SidebarView.LAYERS, this.layersView); + this._outlineOptionsContainer.classList.toggle("hidden", view !== _ui_utils.SidebarView.OUTLINE); + if (forceOpen && !this.isOpen) { + this.open(); + return; + } + if (forceRendering) { + this.onUpdateThumbnails(); + this.onToggled(); + } + if (isViewChanged) { + this.#dispatchEvent(); + } + } + open() { + if (this.isOpen) { + return; + } + this.isOpen = true; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, true); + this.outerContainer.classList.add("sidebarMoving", "sidebarOpen"); + if (this.active === _ui_utils.SidebarView.THUMBS) { + this.onUpdateThumbnails(); + } + this.onToggled(); + this.#dispatchEvent(); + this.#hideUINotification(); + } + close() { + if (!this.isOpen) { + return; + } + this.isOpen = false; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, false); + this.outerContainer.classList.add("sidebarMoving"); + this.outerContainer.classList.remove("sidebarOpen"); + this.onToggled(); + this.#dispatchEvent(); + } + toggle() { + if (this.isOpen) { + this.close(); + } else { + this.open(); + } + } + #dispatchEvent() { + if (this.isInitialViewSet) { + this.isInitialEventDispatched ||= true; + } + this.eventBus.dispatch("sidebarviewchanged", { + source: this, + view: this.visibleView + }); + } + #showUINotification() { + this.toggleButton.setAttribute("data-l10n-id", "toggle_sidebar_notification2"); + this.l10n.translate(this.toggleButton); + if (!this.isOpen) { + this.toggleButton.classList.add(UI_NOTIFICATION_CLASS); + } + } + #hideUINotification(reset = false) { + if (this.isOpen || reset) { + this.toggleButton.classList.remove(UI_NOTIFICATION_CLASS); + } + if (reset) { + this.toggleButton.setAttribute("data-l10n-id", "toggle_sidebar"); + this.l10n.translate(this.toggleButton); + } + } + #addEventListeners() { + this.sidebarContainer.addEventListener("transitionend", evt => { + if (evt.target === this.sidebarContainer) { + this.outerContainer.classList.remove("sidebarMoving"); + } + }); + this.toggleButton.addEventListener("click", () => { + this.toggle(); + }); + // custom for SEAFILE + document.getElementById('close-thumbnail-panel').addEventListener("click", () => { + this.toggle(); + }); + this.thumbnailButton.addEventListener("click", () => { + this.switchView(_ui_utils.SidebarView.THUMBS); + }); + this.outlineButton.addEventListener("click", () => { + this.switchView(_ui_utils.SidebarView.OUTLINE); + }); + this.outlineButton.addEventListener("dblclick", () => { + this.eventBus.dispatch("toggleoutlinetree", { + source: this + }); + }); + this.attachmentsButton.addEventListener("click", () => { + this.switchView(_ui_utils.SidebarView.ATTACHMENTS); + }); + this.layersButton.addEventListener("click", () => { + this.switchView(_ui_utils.SidebarView.LAYERS); + }); + this.layersButton.addEventListener("dblclick", () => { + this.eventBus.dispatch("resetlayers", { + source: this + }); + }); + this._currentOutlineItemButton.addEventListener("click", () => { + this.eventBus.dispatch("currentoutlineitem", { + source: this + }); + }); + const onTreeLoaded = (count, button, view) => { + button.disabled = !count; + if (count) { + this.#showUINotification(); + } else if (this.active === view) { + this.switchView(_ui_utils.SidebarView.THUMBS); + } + }; + this.eventBus._on("outlineloaded", evt => { + onTreeLoaded(evt.outlineCount, this.outlineButton, _ui_utils.SidebarView.OUTLINE); + evt.currentOutlineItemPromise.then(enabled => { + if (!this.isInitialViewSet) { + return; + } + this._currentOutlineItemButton.disabled = !enabled; + }); + }); + this.eventBus._on("attachmentsloaded", evt => { + onTreeLoaded(evt.attachmentsCount, this.attachmentsButton, _ui_utils.SidebarView.ATTACHMENTS); + }); + this.eventBus._on("layersloaded", evt => { + onTreeLoaded(evt.layersCount, this.layersButton, _ui_utils.SidebarView.LAYERS); + }); + this.eventBus._on("presentationmodechanged", evt => { + if (evt.state === _ui_utils.PresentationModeState.NORMAL && this.visibleView === _ui_utils.SidebarView.THUMBS) { + this.onUpdateThumbnails(); + } + }); + this.resizer.addEventListener("mousedown", evt => { + if (evt.button !== 0) { + return; + } + this.outerContainer.classList.add(SIDEBAR_RESIZING_CLASS); + window.addEventListener("mousemove", this.#mouseMoveBound); + window.addEventListener("mouseup", this.#mouseUpBound); + }); + this.eventBus._on("resize", evt => { + if (evt.source !== window) { + return; + } + this.#outerContainerWidth = null; + if (!this.#width) { + return; + } + if (!this.isOpen) { + this.#updateWidth(this.#width); + return; + } + this.outerContainer.classList.add(SIDEBAR_RESIZING_CLASS); + const updated = this.#updateWidth(this.#width); + Promise.resolve().then(() => { + this.outerContainer.classList.remove(SIDEBAR_RESIZING_CLASS); + if (updated) { + this.eventBus.dispatch("resize", { + source: this + }); + } + }); + }); + } + get outerContainerWidth() { + return this.#outerContainerWidth ||= this.outerContainer.clientWidth; + } + #updateWidth(width = 0) { + const maxWidth = Math.floor(this.outerContainerWidth / 2); + if (width > maxWidth) { + width = maxWidth; + } + if (width < SIDEBAR_MIN_WIDTH) { + width = SIDEBAR_MIN_WIDTH; + } + if (width === this.#width) { + return false; + } + this.#width = width; + _ui_utils.docStyle.setProperty(SIDEBAR_WIDTH_VAR, `${width}px`); + return true; + } + #mouseMove(evt) { + let width = evt.clientX; + if (this.#isRTL) { + width = this.outerContainerWidth - width; + } + this.#updateWidth(width); + } + #mouseUp(evt) { + this.outerContainer.classList.remove(SIDEBAR_RESIZING_CLASS); + this.eventBus.dispatch("resize", { + source: this + }); + window.removeEventListener("mousemove", this.#mouseMoveBound); + window.removeEventListener("mouseup", this.#mouseUpBound); + } +} +exports.PDFSidebar = PDFSidebar; + +/***/ }), +/* 26 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFThumbnailViewer = void 0; +var _ui_utils = __webpack_require__(3); +var _pdf_thumbnail_view = __webpack_require__(27); +const THUMBNAIL_SCROLL_MARGIN = -19; +const THUMBNAIL_SELECTED_CLASS = "selected"; +class PDFThumbnailViewer { + constructor({ + container, + eventBus, + linkService, + renderingQueue, + l10n, + pageColors + }) { + this.container = container; + this.eventBus = eventBus; + this.linkService = linkService; + this.renderingQueue = renderingQueue; + this.l10n = l10n; + this.pageColors = pageColors || null; + this.scroll = (0, _ui_utils.watchScroll)(this.container, this._scrollUpdated.bind(this)); + this._resetView(); + } + _scrollUpdated() { + this.renderingQueue.renderHighestPriority(); + } + getThumbnail(index) { + return this._thumbnails[index]; + } + _getVisibleThumbs() { + return (0, _ui_utils.getVisibleElements)({ + scrollEl: this.container, + views: this._thumbnails + }); + } + scrollThumbnailIntoView(pageNumber) { + if (!this.pdfDocument) { + return; + } + const thumbnailView = this._thumbnails[pageNumber - 1]; + if (!thumbnailView) { + console.error('scrollThumbnailIntoView: Invalid "pageNumber" parameter.'); + return; + } + if (pageNumber !== this._currentPageNumber) { + const prevThumbnailView = this._thumbnails[this._currentPageNumber - 1]; + prevThumbnailView.div.classList.remove(THUMBNAIL_SELECTED_CLASS); + thumbnailView.div.classList.add(THUMBNAIL_SELECTED_CLASS); + } + const { + first, + last, + views + } = this._getVisibleThumbs(); + if (views.length > 0) { + let shouldScroll = false; + if (pageNumber <= first.id || pageNumber >= last.id) { + shouldScroll = true; + } else { + for (const { + id, + percent + } of views) { + if (id !== pageNumber) { + continue; + } + shouldScroll = percent < 100; + break; + } + } + if (shouldScroll) { + (0, _ui_utils.scrollIntoView)(thumbnailView.div, { + top: THUMBNAIL_SCROLL_MARGIN + }); + } + } + this._currentPageNumber = pageNumber; + } + get pagesRotation() { + return this._pagesRotation; + } + set pagesRotation(rotation) { + if (!(0, _ui_utils.isValidRotation)(rotation)) { + throw new Error("Invalid thumbnails rotation angle."); + } + if (!this.pdfDocument) { + return; + } + if (this._pagesRotation === rotation) { + return; + } + this._pagesRotation = rotation; + const updateArgs = { + rotation + }; + for (const thumbnail of this._thumbnails) { + thumbnail.update(updateArgs); + } + } + cleanup() { + for (const thumbnail of this._thumbnails) { + if (thumbnail.renderingState !== _ui_utils.RenderingStates.FINISHED) { + thumbnail.reset(); + } + } + _pdf_thumbnail_view.TempImageFactory.destroyCanvas(); + } + _resetView() { + this._thumbnails = []; + this._currentPageNumber = 1; + this._pageLabels = null; + this._pagesRotation = 0; + this.container.textContent = ""; + } + setDocument(pdfDocument) { + if (this.pdfDocument) { + this._cancelRendering(); + this._resetView(); + } + this.pdfDocument = pdfDocument; + if (!pdfDocument) { + return; + } + const firstPagePromise = pdfDocument.getPage(1); + const optionalContentConfigPromise = pdfDocument.getOptionalContentConfig(); + firstPagePromise.then(firstPdfPage => { + const pagesCount = pdfDocument.numPages; + const viewport = firstPdfPage.getViewport({ + scale: 1 + }); + for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) { + const thumbnail = new _pdf_thumbnail_view.PDFThumbnailView({ + container: this.container, + eventBus: this.eventBus, + id: pageNum, + defaultViewport: viewport.clone(), + optionalContentConfigPromise, + linkService: this.linkService, + renderingQueue: this.renderingQueue, + l10n: this.l10n, + pageColors: this.pageColors + }); + this._thumbnails.push(thumbnail); + } + this._thumbnails[0]?.setPdfPage(firstPdfPage); + const thumbnailView = this._thumbnails[this._currentPageNumber - 1]; + thumbnailView.div.classList.add(THUMBNAIL_SELECTED_CLASS); + }).catch(reason => { + console.error("Unable to initialize thumbnail viewer", reason); + }); + } + _cancelRendering() { + for (const thumbnail of this._thumbnails) { + thumbnail.cancelRendering(); + } + } + setPageLabels(labels) { + if (!this.pdfDocument) { + return; + } + if (!labels) { + this._pageLabels = null; + } else if (!(Array.isArray(labels) && this.pdfDocument.numPages === labels.length)) { + this._pageLabels = null; + console.error("PDFThumbnailViewer_setPageLabels: Invalid page labels."); + } else { + this._pageLabels = labels; + } + for (let i = 0, ii = this._thumbnails.length; i < ii; i++) { + this._thumbnails[i].setPageLabel(this._pageLabels?.[i] ?? null); + } + } + async #ensurePdfPageLoaded(thumbView) { + if (thumbView.pdfPage) { + return thumbView.pdfPage; + } + try { + const pdfPage = await this.pdfDocument.getPage(thumbView.id); + if (!thumbView.pdfPage) { + thumbView.setPdfPage(pdfPage); + } + return pdfPage; + } catch (reason) { + console.error("Unable to get page for thumb view", reason); + return null; + } + } + #getScrollAhead(visible) { + if (visible.first?.id === 1) { + return true; + } else if (visible.last?.id === this._thumbnails.length) { + return false; + } + return this.scroll.down; + } + forceRendering() { + const visibleThumbs = this._getVisibleThumbs(); + const scrollAhead = this.#getScrollAhead(visibleThumbs); + const thumbView = this.renderingQueue.getHighestPriority(visibleThumbs, this._thumbnails, scrollAhead); + if (thumbView) { + this.#ensurePdfPageLoaded(thumbView).then(() => { + this.renderingQueue.renderView(thumbView); + }); + return true; + } + return false; + } +} +exports.PDFThumbnailViewer = PDFThumbnailViewer; + +/***/ }), +/* 27 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TempImageFactory = exports.PDFThumbnailView = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +const DRAW_UPSCALE_FACTOR = 2; +const MAX_NUM_SCALING_STEPS = 3; +const THUMBNAIL_WIDTH = 98; +class TempImageFactory { + static #tempCanvas = null; + static getCanvas(width, height) { + const tempCanvas = this.#tempCanvas ||= document.createElement("canvas"); + tempCanvas.width = width; + tempCanvas.height = height; + const ctx = tempCanvas.getContext("2d", { + alpha: false + }); + ctx.save(); + ctx.fillStyle = "rgb(255, 255, 255)"; + ctx.fillRect(0, 0, width, height); + ctx.restore(); + return [tempCanvas, tempCanvas.getContext("2d")]; + } + static destroyCanvas() { + const tempCanvas = this.#tempCanvas; + if (tempCanvas) { + tempCanvas.width = 0; + tempCanvas.height = 0; + } + this.#tempCanvas = null; + } +} +exports.TempImageFactory = TempImageFactory; +class PDFThumbnailView { + constructor({ + container, + eventBus, + id, + defaultViewport, + optionalContentConfigPromise, + linkService, + renderingQueue, + l10n, + pageColors + }) { + this.id = id; + this.renderingId = "thumbnail" + id; + this.pageLabel = null; + this.pdfPage = null; + this.rotation = 0; + this.viewport = defaultViewport; + this.pdfPageRotate = defaultViewport.rotation; + this._optionalContentConfigPromise = optionalContentConfigPromise || null; + this.pageColors = pageColors || null; + this.eventBus = eventBus; + this.linkService = linkService; + this.renderingQueue = renderingQueue; + this.renderTask = null; + this.renderingState = _ui_utils.RenderingStates.INITIAL; + this.resume = null; + this.l10n = l10n; + const anchor = document.createElement("a"); + // custom for SEAFILE + anchor.className = "d-inline-block position-relative"; + anchor.href = linkService.getAnchorUrl("#page=" + id); + this._thumbPageTitle.then(msg => { + anchor.title = msg; + }); + anchor.onclick = function () { + linkService.goToPage(id); + return false; + }; + this.anchor = anchor; + const div = document.createElement("div"); + div.className = "thumbnail"; + div.setAttribute("data-page-number", this.id); + this.div = div; + this.#updateDims(); + const img = document.createElement("div"); + img.className = "thumbnailImage"; + this._placeholderImg = img; + // custom for SEAFILE + const span = document.createElement("span"); + span.className = "thumbnail-page-number mr-1 position-absolute"; + span.innerHTML = this.id; + anchor.append(span); + anchor.append(img); + div.append(anchor); + container.append(div); + } + #updateDims() { + const { + width, + height + } = this.viewport; + const ratio = width / height; + this.canvasWidth = THUMBNAIL_WIDTH; + this.canvasHeight = this.canvasWidth / ratio | 0; + this.scale = this.canvasWidth / width; + const { + style + } = this.div; + style.setProperty("--thumbnail-width", `${this.canvasWidth}px`); + style.setProperty("--thumbnail-height", `${this.canvasHeight}px`); + } + setPdfPage(pdfPage) { + this.pdfPage = pdfPage; + this.pdfPageRotate = pdfPage.rotate; + const totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = pdfPage.getViewport({ + scale: 1, + rotation: totalRotation + }); + this.reset(); + } + reset() { + this.cancelRendering(); + this.renderingState = _ui_utils.RenderingStates.INITIAL; + this.div.removeAttribute("data-loaded"); + this.image?.replaceWith(this._placeholderImg); + this.#updateDims(); + if (this.image) { + this.image.removeAttribute("src"); + delete this.image; + } + } + update({ + rotation = null + }) { + if (typeof rotation === "number") { + this.rotation = rotation; + } + const totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = this.viewport.clone({ + scale: 1, + rotation: totalRotation + }); + this.reset(); + } + cancelRendering() { + if (this.renderTask) { + this.renderTask.cancel(); + this.renderTask = null; + } + this.resume = null; + } + _getPageDrawContext(upscaleFactor = 1) { + const canvas = document.createElement("canvas"); + const ctx = canvas.getContext("2d", { + alpha: false + }); + const outputScale = new _ui_utils.OutputScale(); + canvas.width = upscaleFactor * this.canvasWidth * outputScale.sx | 0; + canvas.height = upscaleFactor * this.canvasHeight * outputScale.sy | 0; + const transform = outputScale.scaled ? [outputScale.sx, 0, 0, outputScale.sy, 0, 0] : null; + return { + ctx, + canvas, + transform + }; + } + _convertCanvasToImage(canvas) { + if (this.renderingState !== _ui_utils.RenderingStates.FINISHED) { + throw new Error("_convertCanvasToImage: Rendering has not finished."); + } + const reducedCanvas = this._reduceImage(canvas); + const image = document.createElement("img"); + image.className = "thumbnailImage"; + this._thumbPageCanvas.then(msg => { + image.setAttribute("aria-label", msg); + }); + image.src = reducedCanvas.toDataURL(); + this.image = image; + this.div.setAttribute("data-loaded", true); + this._placeholderImg.replaceWith(image); + reducedCanvas.width = 0; + reducedCanvas.height = 0; + } + async #finishRenderTask(renderTask, canvas, error = null) { + if (renderTask === this.renderTask) { + this.renderTask = null; + } + if (error instanceof _pdfjsLib.RenderingCancelledException) { + return; + } + this.renderingState = _ui_utils.RenderingStates.FINISHED; + this._convertCanvasToImage(canvas); + if (error) { + throw error; + } + } + async draw() { + if (this.renderingState !== _ui_utils.RenderingStates.INITIAL) { + console.error("Must be in new state before drawing"); + return undefined; + } + const { + pdfPage + } = this; + if (!pdfPage) { + this.renderingState = _ui_utils.RenderingStates.FINISHED; + throw new Error("pdfPage is not loaded"); + } + this.renderingState = _ui_utils.RenderingStates.RUNNING; + const { + ctx, + canvas, + transform + } = this._getPageDrawContext(DRAW_UPSCALE_FACTOR); + const drawViewport = this.viewport.clone({ + scale: DRAW_UPSCALE_FACTOR * this.scale + }); + const renderContinueCallback = cont => { + if (!this.renderingQueue.isHighestPriority(this)) { + this.renderingState = _ui_utils.RenderingStates.PAUSED; + this.resume = () => { + this.renderingState = _ui_utils.RenderingStates.RUNNING; + cont(); + }; + return; + } + cont(); + }; + const renderContext = { + canvasContext: ctx, + transform, + viewport: drawViewport, + optionalContentConfigPromise: this._optionalContentConfigPromise, + pageColors: this.pageColors + }; + const renderTask = this.renderTask = pdfPage.render(renderContext); + renderTask.onContinue = renderContinueCallback; + const resultPromise = renderTask.promise.then(() => this.#finishRenderTask(renderTask, canvas), error => this.#finishRenderTask(renderTask, canvas, error)); + resultPromise.finally(() => { + canvas.width = 0; + canvas.height = 0; + this.eventBus.dispatch("thumbnailrendered", { + source: this, + pageNumber: this.id, + pdfPage: this.pdfPage + }); + }); + return resultPromise; + } + setImage(pageView) { + if (this.renderingState !== _ui_utils.RenderingStates.INITIAL) { + return; + } + const { + thumbnailCanvas: canvas, + pdfPage, + scale + } = pageView; + if (!canvas) { + return; + } + if (!this.pdfPage) { + this.setPdfPage(pdfPage); + } + if (scale < this.scale) { + return; + } + this.renderingState = _ui_utils.RenderingStates.FINISHED; + this._convertCanvasToImage(canvas); + } + _reduceImage(img) { + const { + ctx, + canvas + } = this._getPageDrawContext(); + if (img.width <= 2 * canvas.width) { + ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, canvas.width, canvas.height); + return canvas; + } + let reducedWidth = canvas.width << MAX_NUM_SCALING_STEPS; + let reducedHeight = canvas.height << MAX_NUM_SCALING_STEPS; + const [reducedImage, reducedImageCtx] = TempImageFactory.getCanvas(reducedWidth, reducedHeight); + while (reducedWidth > img.width || reducedHeight > img.height) { + reducedWidth >>= 1; + reducedHeight >>= 1; + } + reducedImageCtx.drawImage(img, 0, 0, img.width, img.height, 0, 0, reducedWidth, reducedHeight); + while (reducedWidth > 2 * canvas.width) { + reducedImageCtx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, reducedWidth >> 1, reducedHeight >> 1); + reducedWidth >>= 1; + reducedHeight >>= 1; + } + ctx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, canvas.width, canvas.height); + return canvas; + } + get _thumbPageTitle() { + return this.l10n.get("thumb_page_title", { + page: this.pageLabel ?? this.id + }); + } + get _thumbPageCanvas() { + return this.l10n.get("thumb_page_canvas", { + page: this.pageLabel ?? this.id + }); + } + setPageLabel(label) { + this.pageLabel = typeof label === "string" ? label : null; + this._thumbPageTitle.then(msg => { + this.anchor.title = msg; + }); + if (this.renderingState !== _ui_utils.RenderingStates.FINISHED) { + return; + } + this._thumbPageCanvas.then(msg => { + this.image?.setAttribute("aria-label", msg); + }); + } +} +exports.PDFThumbnailView = PDFThumbnailView; + +/***/ }), +/* 28 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PagesCountLimit = exports.PDFViewer = exports.PDFPageViewBuffer = void 0; +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +var _l10n_utils = __webpack_require__(29); +var _pdf_page_view = __webpack_require__(30); +var _pdf_rendering_queue = __webpack_require__(23); +var _pdf_link_service = __webpack_require__(7); +const DEFAULT_CACHE_SIZE = 10; +const PagesCountLimit = { + FORCE_SCROLL_MODE_PAGE: 15000, + FORCE_LAZY_PAGE_INIT: 7500, + PAUSE_EAGER_PAGE_INIT: 250 +}; +exports.PagesCountLimit = PagesCountLimit; +function isValidAnnotationEditorMode(mode) { + return Object.values(_pdfjsLib.AnnotationEditorType).includes(mode) && mode !== _pdfjsLib.AnnotationEditorType.DISABLE; +} +class PDFPageViewBuffer { + #buf = new Set(); + #size = 0; + constructor(size) { + this.#size = size; + } + push(view) { + const buf = this.#buf; + if (buf.has(view)) { + buf.delete(view); + } + buf.add(view); + if (buf.size > this.#size) { + this.#destroyFirstView(); + } + } + resize(newSize, idsToKeep = null) { + this.#size = newSize; + const buf = this.#buf; + if (idsToKeep) { + const ii = buf.size; + let i = 1; + for (const view of buf) { + if (idsToKeep.has(view.id)) { + buf.delete(view); + buf.add(view); + } + if (++i > ii) { + break; + } + } + } + while (buf.size > this.#size) { + this.#destroyFirstView(); + } + } + has(view) { + return this.#buf.has(view); + } + [Symbol.iterator]() { + return this.#buf.keys(); + } + #destroyFirstView() { + const firstView = this.#buf.keys().next().value; + firstView?.destroy(); + this.#buf.delete(firstView); + } +} +exports.PDFPageViewBuffer = PDFPageViewBuffer; +class PDFViewer { + #buffer = null; + #annotationEditorMode = _pdfjsLib.AnnotationEditorType.NONE; + #annotationEditorUIManager = null; + #annotationMode = _pdfjsLib.AnnotationMode.ENABLE_FORMS; + #containerTopLeft = null; + #copyCallbackBound = null; + #enablePermissions = false; + #getAllTextInProgress = false; + #hiddenCopyElement = null; + #interruptCopyCondition = false; + #previousContainerHeight = 0; + #resizeObserver = new ResizeObserver(this.#resizeObserverCallback.bind(this)); + #scrollModePageState = null; + #onVisibilityChange = null; + #scaleTimeoutId = null; + #textLayerMode = _ui_utils.TextLayerMode.ENABLE; + constructor(options) { + const viewerVersion = '3.8.162'; + if (_pdfjsLib.version !== viewerVersion) { + throw new Error(`The API version "${_pdfjsLib.version}" does not match the Viewer version "${viewerVersion}".`); + } + this.container = options.container; + this.viewer = options.viewer || options.container.firstElementChild; + if (this.container?.tagName !== "DIV" || this.viewer?.tagName !== "DIV") { + throw new Error("Invalid `container` and/or `viewer` option."); + } + if (this.container.offsetParent && getComputedStyle(this.container).position !== "absolute") { + throw new Error("The `container` must be absolutely positioned."); + } + this.#resizeObserver.observe(this.container); + this.eventBus = options.eventBus; + this.linkService = options.linkService || new _pdf_link_service.SimpleLinkService(); + this.downloadManager = options.downloadManager || null; + this.findController = options.findController || null; + if (this.findController) { + this.findController.onIsPageVisible = pageNumber => this._getVisiblePages().ids.has(pageNumber); + } + this._scriptingManager = options.scriptingManager || null; + this.#textLayerMode = options.textLayerMode ?? _ui_utils.TextLayerMode.ENABLE; + this.#annotationMode = options.annotationMode ?? _pdfjsLib.AnnotationMode.ENABLE_FORMS; + this.#annotationEditorMode = options.annotationEditorMode ?? _pdfjsLib.AnnotationEditorType.NONE; + this.imageResourcesPath = options.imageResourcesPath || ""; + this.enablePrintAutoRotate = options.enablePrintAutoRotate || false; + this.removePageBorders = options.removePageBorders || false; + this.useOnlyCssZoom = options.useOnlyCssZoom || false; + this.isOffscreenCanvasSupported = options.isOffscreenCanvasSupported ?? true; + this.maxCanvasPixels = options.maxCanvasPixels; + this.l10n = options.l10n || _l10n_utils.NullL10n; + this.#enablePermissions = options.enablePermissions || false; + this.pageColors = options.pageColors || null; + this.defaultRenderingQueue = !options.renderingQueue; + if (this.defaultRenderingQueue) { + this.renderingQueue = new _pdf_rendering_queue.PDFRenderingQueue(); + this.renderingQueue.setViewer(this); + } else { + this.renderingQueue = options.renderingQueue; + } + this.scroll = (0, _ui_utils.watchScroll)(this.container, this._scrollUpdate.bind(this)); + this.presentationModeState = _ui_utils.PresentationModeState.UNKNOWN; + this._onBeforeDraw = this._onAfterDraw = null; + this._resetView(); + if (this.removePageBorders) { + this.viewer.classList.add("removePageBorders"); + } + this.#updateContainerHeightCss(); + this.eventBus._on("thumbnailrendered", ({ + pageNumber, + pdfPage + }) => { + const pageView = this._pages[pageNumber - 1]; + if (!this.#buffer.has(pageView)) { + pdfPage?.cleanup(); + } + }); + } + get pagesCount() { + return this._pages.length; + } + getPageView(index) { + return this._pages[index]; + } + getCachedPageViews() { + return new Set(this.#buffer); + } + get pageViewsReady() { + return this._pagesCapability.settled && this._pages.every(pageView => pageView?.pdfPage); + } + get renderForms() { + return this.#annotationMode === _pdfjsLib.AnnotationMode.ENABLE_FORMS; + } + get enableScripting() { + return !!this._scriptingManager; + } + get currentPageNumber() { + return this._currentPageNumber; + } + set currentPageNumber(val) { + if (!Number.isInteger(val)) { + throw new Error("Invalid page number."); + } + if (!this.pdfDocument) { + return; + } + if (!this._setCurrentPageNumber(val, true)) { + console.error(`currentPageNumber: "${val}" is not a valid page.`); + } + } + _setCurrentPageNumber(val, resetCurrentPageView = false) { + if (this._currentPageNumber === val) { + if (resetCurrentPageView) { + this.#resetCurrentPageView(); + } + return true; + } + if (!(0 < val && val <= this.pagesCount)) { + return false; + } + const previous = this._currentPageNumber; + this._currentPageNumber = val; + this.eventBus.dispatch("pagechanging", { + source: this, + pageNumber: val, + pageLabel: this._pageLabels?.[val - 1] ?? null, + previous + }); + if (resetCurrentPageView) { + this.#resetCurrentPageView(); + } + return true; + } + get currentPageLabel() { + return this._pageLabels?.[this._currentPageNumber - 1] ?? null; + } + set currentPageLabel(val) { + if (!this.pdfDocument) { + return; + } + let page = val | 0; + if (this._pageLabels) { + const i = this._pageLabels.indexOf(val); + if (i >= 0) { + page = i + 1; + } + } + if (!this._setCurrentPageNumber(page, true)) { + console.error(`currentPageLabel: "${val}" is not a valid page.`); + } + } + get currentScale() { + return this._currentScale !== _ui_utils.UNKNOWN_SCALE ? this._currentScale : _ui_utils.DEFAULT_SCALE; + } + set currentScale(val) { + if (isNaN(val)) { + throw new Error("Invalid numeric scale."); + } + if (!this.pdfDocument) { + return; + } + this.#setScale(val, { + noScroll: false + }); + } + get currentScaleValue() { + return this._currentScaleValue; + } + set currentScaleValue(val) { + if (!this.pdfDocument) { + return; + } + this.#setScale(val, { + noScroll: false + }); + } + get pagesRotation() { + return this._pagesRotation; + } + set pagesRotation(rotation) { + if (!(0, _ui_utils.isValidRotation)(rotation)) { + throw new Error("Invalid pages rotation angle."); + } + if (!this.pdfDocument) { + return; + } + rotation %= 360; + if (rotation < 0) { + rotation += 360; + } + if (this._pagesRotation === rotation) { + return; + } + this._pagesRotation = rotation; + const pageNumber = this._currentPageNumber; + this.refresh(true, { + rotation + }); + if (this._currentScaleValue) { + this.#setScale(this._currentScaleValue, { + noScroll: true + }); + } + this.eventBus.dispatch("rotationchanging", { + source: this, + pagesRotation: rotation, + pageNumber + }); + if (this.defaultRenderingQueue) { + this.update(); + } + } + get firstPagePromise() { + return this.pdfDocument ? this._firstPageCapability.promise : null; + } + get onePageRendered() { + return this.pdfDocument ? this._onePageRenderedCapability.promise : null; + } + get pagesPromise() { + return this.pdfDocument ? this._pagesCapability.promise : null; + } + #layerProperties() { + const self = this; + return { + get annotationEditorUIManager() { + return self.#annotationEditorUIManager; + }, + get annotationStorage() { + return self.pdfDocument?.annotationStorage; + }, + get downloadManager() { + return self.downloadManager; + }, + get enableScripting() { + return !!self._scriptingManager; + }, + get fieldObjectsPromise() { + return self.pdfDocument?.getFieldObjects(); + }, + get findController() { + return self.findController; + }, + get hasJSActionsPromise() { + return self.pdfDocument?.hasJSActions(); + }, + get linkService() { + return self.linkService; + } + }; + } + #initializePermissions(permissions) { + const params = { + annotationEditorMode: this.#annotationEditorMode, + annotationMode: this.#annotationMode, + textLayerMode: this.#textLayerMode + }; + if (!permissions) { + return params; + } + if (!permissions.includes(_pdfjsLib.PermissionFlag.COPY) && this.#textLayerMode === _ui_utils.TextLayerMode.ENABLE) { + params.textLayerMode = _ui_utils.TextLayerMode.ENABLE_PERMISSIONS; + } + if (!permissions.includes(_pdfjsLib.PermissionFlag.MODIFY_CONTENTS)) { + params.annotationEditorMode = _pdfjsLib.AnnotationEditorType.DISABLE; + } + if (!permissions.includes(_pdfjsLib.PermissionFlag.MODIFY_ANNOTATIONS) && !permissions.includes(_pdfjsLib.PermissionFlag.FILL_INTERACTIVE_FORMS) && this.#annotationMode === _pdfjsLib.AnnotationMode.ENABLE_FORMS) { + params.annotationMode = _pdfjsLib.AnnotationMode.ENABLE; + } + return params; + } + #onePageRenderedOrForceFetch() { + if (document.visibilityState === "hidden" || !this.container.offsetParent || this._getVisiblePages().views.length === 0) { + return Promise.resolve(); + } + const visibilityChangePromise = new Promise(resolve => { + this.#onVisibilityChange = () => { + if (document.visibilityState !== "hidden") { + return; + } + resolve(); + document.removeEventListener("visibilitychange", this.#onVisibilityChange); + this.#onVisibilityChange = null; + }; + document.addEventListener("visibilitychange", this.#onVisibilityChange); + }); + return Promise.race([this._onePageRenderedCapability.promise, visibilityChangePromise]); + } + async getAllText() { + const texts = []; + const buffer = []; + for (let pageNum = 1, pagesCount = this.pdfDocument.numPages; pageNum <= pagesCount; ++pageNum) { + if (this.#interruptCopyCondition) { + return null; + } + buffer.length = 0; + const page = await this.pdfDocument.getPage(pageNum); + const { + items + } = await page.getTextContent(); + for (const item of items) { + if (item.str) { + buffer.push(item.str); + } + if (item.hasEOL) { + buffer.push("\n"); + } + } + texts.push((0, _ui_utils.removeNullCharacters)(buffer.join(""))); + } + return texts.join("\n"); + } + #copyCallback(textLayerMode, event) { + const selection = document.getSelection(); + const { + focusNode, + anchorNode + } = selection; + if (anchorNode && focusNode && selection.containsNode(this.#hiddenCopyElement)) { + if (this.#getAllTextInProgress || textLayerMode === _ui_utils.TextLayerMode.ENABLE_PERMISSIONS) { + event.preventDefault(); + event.stopPropagation(); + return; + } + this.#getAllTextInProgress = true; + const savedCursor = this.container.style.cursor; + this.container.style.cursor = "wait"; + const interruptCopy = ev => this.#interruptCopyCondition = ev.key === "Escape"; + window.addEventListener("keydown", interruptCopy); + this.getAllText().then(async text => { + if (text !== null) { + await navigator.clipboard.writeText(text); + } + }).catch(reason => { + console.warn(`Something goes wrong when extracting the text: ${reason.message}`); + }).finally(() => { + this.#getAllTextInProgress = false; + this.#interruptCopyCondition = false; + window.removeEventListener("keydown", interruptCopy); + this.container.style.cursor = savedCursor; + }); + event.preventDefault(); + event.stopPropagation(); + } + } + setDocument(pdfDocument) { + if (this.pdfDocument) { + this.eventBus.dispatch("pagesdestroy", { + source: this + }); + this._cancelRendering(); + this._resetView(); + this.findController?.setDocument(null); + this._scriptingManager?.setDocument(null); + if (this.#annotationEditorUIManager) { + this.#annotationEditorUIManager.destroy(); + this.#annotationEditorUIManager = null; + } + } + this.pdfDocument = pdfDocument; + if (!pdfDocument) { + return; + } + const pagesCount = pdfDocument.numPages; + const firstPagePromise = pdfDocument.getPage(1); + const optionalContentConfigPromise = pdfDocument.getOptionalContentConfig(); + const permissionsPromise = this.#enablePermissions ? pdfDocument.getPermissions() : Promise.resolve(); + if (pagesCount > PagesCountLimit.FORCE_SCROLL_MODE_PAGE) { + console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document."); + const mode = this._scrollMode = _ui_utils.ScrollMode.PAGE; + this.eventBus.dispatch("scrollmodechanged", { + source: this, + mode + }); + } + this._pagesCapability.promise.then(() => { + this.eventBus.dispatch("pagesloaded", { + source: this, + pagesCount + }); + }, () => {}); + this._onBeforeDraw = evt => { + const pageView = this._pages[evt.pageNumber - 1]; + if (!pageView) { + return; + } + this.#buffer.push(pageView); + }; + this.eventBus._on("pagerender", this._onBeforeDraw); + this._onAfterDraw = evt => { + if (evt.cssTransform || this._onePageRenderedCapability.settled) { + return; + } + this._onePageRenderedCapability.resolve({ + timestamp: evt.timestamp + }); + this.eventBus._off("pagerendered", this._onAfterDraw); + this._onAfterDraw = null; + if (this.#onVisibilityChange) { + document.removeEventListener("visibilitychange", this.#onVisibilityChange); + this.#onVisibilityChange = null; + } + }; + this.eventBus._on("pagerendered", this._onAfterDraw); + Promise.all([firstPagePromise, permissionsPromise]).then(([firstPdfPage, permissions]) => { + if (pdfDocument !== this.pdfDocument) { + return; + } + this._firstPageCapability.resolve(firstPdfPage); + this._optionalContentConfigPromise = optionalContentConfigPromise; + const { + annotationEditorMode, + annotationMode, + textLayerMode + } = this.#initializePermissions(permissions); + if (textLayerMode !== _ui_utils.TextLayerMode.DISABLE) { + const element = this.#hiddenCopyElement = document.createElement("div"); + element.id = "hiddenCopyElement"; + this.viewer.before(element); + } + if (annotationEditorMode !== _pdfjsLib.AnnotationEditorType.DISABLE) { + const mode = annotationEditorMode; + if (pdfDocument.isPureXfa) { + console.warn("Warning: XFA-editing is not implemented."); + } else if (isValidAnnotationEditorMode(mode)) { + this.#annotationEditorUIManager = new _pdfjsLib.AnnotationEditorUIManager(this.container, this.eventBus, pdfDocument?.annotationStorage); + if (mode !== _pdfjsLib.AnnotationEditorType.NONE) { + this.#annotationEditorUIManager.updateMode(mode); + } + } else { + console.error(`Invalid AnnotationEditor mode: ${mode}`); + } + } + const layerProperties = this.#layerProperties.bind(this); + const viewerElement = this._scrollMode === _ui_utils.ScrollMode.PAGE ? null : this.viewer; + const scale = this.currentScale; + const viewport = firstPdfPage.getViewport({ + scale: scale * _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS + }); + this.viewer.style.setProperty("--scale-factor", viewport.scale); + if (this.pageColors?.foreground === "CanvasText" || this.pageColors?.background === "Canvas") { + this.viewer.style.setProperty("--hcm-highligh-filter", pdfDocument.filterFactory.addHighlightHCMFilter("CanvasText", "Canvas", "HighlightText", "Highlight")); + } + for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) { + const pageView = new _pdf_page_view.PDFPageView({ + container: viewerElement, + eventBus: this.eventBus, + id: pageNum, + scale, + defaultViewport: viewport.clone(), + optionalContentConfigPromise, + renderingQueue: this.renderingQueue, + textLayerMode, + annotationMode, + imageResourcesPath: this.imageResourcesPath, + useOnlyCssZoom: this.useOnlyCssZoom, + isOffscreenCanvasSupported: this.isOffscreenCanvasSupported, + maxCanvasPixels: this.maxCanvasPixels, + pageColors: this.pageColors, + l10n: this.l10n, + layerProperties + }); + this._pages.push(pageView); + } + const firstPageView = this._pages[0]; + if (firstPageView) { + firstPageView.setPdfPage(firstPdfPage); + this.linkService.cachePageRef(1, firstPdfPage.ref); + } + if (this._scrollMode === _ui_utils.ScrollMode.PAGE) { + this.#ensurePageViewVisible(); + } else if (this._spreadMode !== _ui_utils.SpreadMode.NONE) { + this._updateSpreadMode(); + } + this.#onePageRenderedOrForceFetch().then(async () => { + this.findController?.setDocument(pdfDocument); + this._scriptingManager?.setDocument(pdfDocument); + if (this.#hiddenCopyElement) { + this.#copyCallbackBound = this.#copyCallback.bind(this, textLayerMode); + document.addEventListener("copy", this.#copyCallbackBound); + } + if (this.#annotationEditorUIManager) { + this.eventBus.dispatch("annotationeditormodechanged", { + source: this, + mode: this.#annotationEditorMode + }); + } + if (pdfDocument.loadingParams.disableAutoFetch || pagesCount > PagesCountLimit.FORCE_LAZY_PAGE_INIT) { + this._pagesCapability.resolve(); + return; + } + let getPagesLeft = pagesCount - 1; + if (getPagesLeft <= 0) { + this._pagesCapability.resolve(); + return; + } + for (let pageNum = 2; pageNum <= pagesCount; ++pageNum) { + const promise = pdfDocument.getPage(pageNum).then(pdfPage => { + const pageView = this._pages[pageNum - 1]; + if (!pageView.pdfPage) { + pageView.setPdfPage(pdfPage); + } + this.linkService.cachePageRef(pageNum, pdfPage.ref); + if (--getPagesLeft === 0) { + this._pagesCapability.resolve(); + } + }, reason => { + console.error(`Unable to get page ${pageNum} to initialize viewer`, reason); + if (--getPagesLeft === 0) { + this._pagesCapability.resolve(); + } + }); + if (pageNum % PagesCountLimit.PAUSE_EAGER_PAGE_INIT === 0) { + await promise; + } + } + }); + this.eventBus.dispatch("pagesinit", { + source: this + }); + pdfDocument.getMetadata().then(({ + info + }) => { + if (pdfDocument !== this.pdfDocument) { + return; + } + if (info.Language) { + this.viewer.lang = info.Language; + } + }); + if (this.defaultRenderingQueue) { + this.update(); + } + }).catch(reason => { + console.error("Unable to initialize viewer", reason); + this._pagesCapability.reject(reason); + }); + } + setPageLabels(labels) { + if (!this.pdfDocument) { + return; + } + if (!labels) { + this._pageLabels = null; + } else if (!(Array.isArray(labels) && this.pdfDocument.numPages === labels.length)) { + this._pageLabels = null; + console.error(`setPageLabels: Invalid page labels.`); + } else { + this._pageLabels = labels; + } + for (let i = 0, ii = this._pages.length; i < ii; i++) { + this._pages[i].setPageLabel(this._pageLabels?.[i] ?? null); + } + } + _resetView() { + this._pages = []; + this._currentPageNumber = 1; + this._currentScale = _ui_utils.UNKNOWN_SCALE; + this._currentScaleValue = null; + this._pageLabels = null; + this.#buffer = new PDFPageViewBuffer(DEFAULT_CACHE_SIZE); + this._location = null; + this._pagesRotation = 0; + this._optionalContentConfigPromise = null; + this._firstPageCapability = new _pdfjsLib.PromiseCapability(); + this._onePageRenderedCapability = new _pdfjsLib.PromiseCapability(); + this._pagesCapability = new _pdfjsLib.PromiseCapability(); + this._scrollMode = _ui_utils.ScrollMode.VERTICAL; + this._previousScrollMode = _ui_utils.ScrollMode.UNKNOWN; + this._spreadMode = _ui_utils.SpreadMode.NONE; + this.#scrollModePageState = { + previousPageNumber: 1, + scrollDown: true, + pages: [] + }; + if (this._onBeforeDraw) { + this.eventBus._off("pagerender", this._onBeforeDraw); + this._onBeforeDraw = null; + } + if (this._onAfterDraw) { + this.eventBus._off("pagerendered", this._onAfterDraw); + this._onAfterDraw = null; + } + if (this.#onVisibilityChange) { + document.removeEventListener("visibilitychange", this.#onVisibilityChange); + this.#onVisibilityChange = null; + } + this.viewer.textContent = ""; + this._updateScrollMode(); + this.viewer.removeAttribute("lang"); + if (this.#hiddenCopyElement) { + document.removeEventListener("copy", this.#copyCallbackBound); + this.#copyCallbackBound = null; + this.#hiddenCopyElement.remove(); + this.#hiddenCopyElement = null; + } + } + #ensurePageViewVisible() { + if (this._scrollMode !== _ui_utils.ScrollMode.PAGE) { + throw new Error("#ensurePageViewVisible: Invalid scrollMode value."); + } + const pageNumber = this._currentPageNumber, + state = this.#scrollModePageState, + viewer = this.viewer; + viewer.textContent = ""; + state.pages.length = 0; + if (this._spreadMode === _ui_utils.SpreadMode.NONE && !this.isInPresentationMode) { + const pageView = this._pages[pageNumber - 1]; + viewer.append(pageView.div); + state.pages.push(pageView); + } else { + const pageIndexSet = new Set(), + parity = this._spreadMode - 1; + if (parity === -1) { + pageIndexSet.add(pageNumber - 1); + } else if (pageNumber % 2 !== parity) { + pageIndexSet.add(pageNumber - 1); + pageIndexSet.add(pageNumber); + } else { + pageIndexSet.add(pageNumber - 2); + pageIndexSet.add(pageNumber - 1); + } + const spread = document.createElement("div"); + spread.className = "spread"; + if (this.isInPresentationMode) { + const dummyPage = document.createElement("div"); + dummyPage.className = "dummyPage"; + spread.append(dummyPage); + } + for (const i of pageIndexSet) { + const pageView = this._pages[i]; + if (!pageView) { + continue; + } + spread.append(pageView.div); + state.pages.push(pageView); + } + viewer.append(spread); + } + state.scrollDown = pageNumber >= state.previousPageNumber; + state.previousPageNumber = pageNumber; + } + _scrollUpdate() { + if (this.pagesCount === 0) { + return; + } + this.update(); + } + #scrollIntoView(pageView, pageSpot = null) { + const { + div, + id + } = pageView; + if (this._currentPageNumber !== id) { + this._setCurrentPageNumber(id); + } + if (this._scrollMode === _ui_utils.ScrollMode.PAGE) { + this.#ensurePageViewVisible(); + this.update(); + } + if (!pageSpot && !this.isInPresentationMode) { + const left = div.offsetLeft + div.clientLeft, + right = left + div.clientWidth; + const { + scrollLeft, + clientWidth + } = this.container; + if (this._scrollMode === _ui_utils.ScrollMode.HORIZONTAL || left < scrollLeft || right > scrollLeft + clientWidth) { + pageSpot = { + left: 0, + top: 0 + }; + } + } + (0, _ui_utils.scrollIntoView)(div, pageSpot); + if (!this._currentScaleValue && this._location) { + this._location = null; + } + } + #isSameScale(newScale) { + return newScale === this._currentScale || Math.abs(newScale - this._currentScale) < 1e-15; + } + #setScaleUpdatePages(newScale, newValue, { + noScroll = false, + preset = false, + drawingDelay = -1 + }) { + this._currentScaleValue = newValue.toString(); + if (this.#isSameScale(newScale)) { + if (preset) { + this.eventBus.dispatch("scalechanging", { + source: this, + scale: newScale, + presetValue: newValue + }); + } + return; + } + this.viewer.style.setProperty("--scale-factor", newScale * _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS); + const postponeDrawing = drawingDelay >= 0 && drawingDelay < 1000; + this.refresh(true, { + scale: newScale, + drawingDelay: postponeDrawing ? drawingDelay : -1 + }); + if (postponeDrawing) { + this.#scaleTimeoutId = setTimeout(() => { + this.#scaleTimeoutId = null; + this.refresh(); + }, drawingDelay); + } + this._currentScale = newScale; + if (!noScroll) { + let page = this._currentPageNumber, + dest; + if (this._location && !(this.isInPresentationMode || this.isChangingPresentationMode)) { + page = this._location.pageNumber; + dest = [null, { + name: "XYZ" + }, this._location.left, this._location.top, null]; + } + this.scrollPageIntoView({ + pageNumber: page, + destArray: dest, + allowNegativeOffset: true + }); + } + this.eventBus.dispatch("scalechanging", { + source: this, + scale: newScale, + presetValue: preset ? newValue : undefined + }); + if (this.defaultRenderingQueue) { + this.update(); + } + } + get #pageWidthScaleFactor() { + if (this._spreadMode !== _ui_utils.SpreadMode.NONE && this._scrollMode !== _ui_utils.ScrollMode.HORIZONTAL) { + return 2; + } + return 1; + } + #setScale(value, options) { + let scale = parseFloat(value); + if (scale > 0) { + options.preset = false; + this.#setScaleUpdatePages(scale, value, options); + } else { + const currentPage = this._pages[this._currentPageNumber - 1]; + if (!currentPage) { + return; + } + let hPadding = _ui_utils.SCROLLBAR_PADDING, + vPadding = _ui_utils.VERTICAL_PADDING; + if (this.isInPresentationMode) { + hPadding = vPadding = 4; + if (this._spreadMode !== _ui_utils.SpreadMode.NONE) { + hPadding *= 2; + } + } else if (this.removePageBorders) { + hPadding = vPadding = 0; + } else if (this._scrollMode === _ui_utils.ScrollMode.HORIZONTAL) { + [hPadding, vPadding] = [vPadding, hPadding]; + } + const pageWidthScale = (this.container.clientWidth - hPadding) / currentPage.width * currentPage.scale / this.#pageWidthScaleFactor; + const pageHeightScale = (this.container.clientHeight - vPadding) / currentPage.height * currentPage.scale; + switch (value) { + case "page-actual": + scale = 1; + break; + case "page-width": + scale = pageWidthScale; + break; + case "page-height": + scale = pageHeightScale; + break; + case "page-fit": + scale = Math.min(pageWidthScale, pageHeightScale); + break; + case "auto": + const horizontalScale = (0, _ui_utils.isPortraitOrientation)(currentPage) ? pageWidthScale : Math.min(pageHeightScale, pageWidthScale); + scale = Math.min(_ui_utils.MAX_AUTO_SCALE, horizontalScale); + break; + default: + console.error(`#setScale: "${value}" is an unknown zoom value.`); + return; + } + options.preset = true; + this.#setScaleUpdatePages(scale, value, options); + } + } + #resetCurrentPageView() { + const pageView = this._pages[this._currentPageNumber - 1]; + if (this.isInPresentationMode) { + this.#setScale(this._currentScaleValue, { + noScroll: true + }); + } + this.#scrollIntoView(pageView); + } + pageLabelToPageNumber(label) { + if (!this._pageLabels) { + return null; + } + const i = this._pageLabels.indexOf(label); + if (i < 0) { + return null; + } + return i + 1; + } + scrollPageIntoView({ + pageNumber, + destArray = null, + allowNegativeOffset = false, + ignoreDestinationZoom = false + }) { + if (!this.pdfDocument) { + return; + } + const pageView = Number.isInteger(pageNumber) && this._pages[pageNumber - 1]; + if (!pageView) { + console.error(`scrollPageIntoView: "${pageNumber}" is not a valid pageNumber parameter.`); + return; + } + if (this.isInPresentationMode || !destArray) { + this._setCurrentPageNumber(pageNumber, true); + return; + } + let x = 0, + y = 0; + let width = 0, + height = 0, + widthScale, + heightScale; + const changeOrientation = pageView.rotation % 180 !== 0; + const pageWidth = (changeOrientation ? pageView.height : pageView.width) / pageView.scale / _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS; + const pageHeight = (changeOrientation ? pageView.width : pageView.height) / pageView.scale / _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS; + let scale = 0; + switch (destArray[1].name) { + case "XYZ": + x = destArray[2]; + y = destArray[3]; + scale = destArray[4]; + x = x !== null ? x : 0; + y = y !== null ? y : pageHeight; + break; + case "Fit": + case "FitB": + scale = "page-fit"; + break; + case "FitH": + case "FitBH": + y = destArray[2]; + scale = "page-width"; + if (y === null && this._location) { + x = this._location.left; + y = this._location.top; + } else if (typeof y !== "number" || y < 0) { + y = pageHeight; + } + break; + case "FitV": + case "FitBV": + x = destArray[2]; + width = pageWidth; + height = pageHeight; + scale = "page-height"; + break; + case "FitR": + x = destArray[2]; + y = destArray[3]; + width = destArray[4] - x; + height = destArray[5] - y; + let hPadding = _ui_utils.SCROLLBAR_PADDING, + vPadding = _ui_utils.VERTICAL_PADDING; + if (this.removePageBorders) { + hPadding = vPadding = 0; + } + widthScale = (this.container.clientWidth - hPadding) / width / _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS; + heightScale = (this.container.clientHeight - vPadding) / height / _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS; + scale = Math.min(Math.abs(widthScale), Math.abs(heightScale)); + break; + default: + console.error(`scrollPageIntoView: "${destArray[1].name}" is not a valid destination type.`); + return; + } + if (!ignoreDestinationZoom) { + if (scale && scale !== this._currentScale) { + this.currentScaleValue = scale; + } else if (this._currentScale === _ui_utils.UNKNOWN_SCALE) { + this.currentScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + } + } + if (scale === "page-fit" && !destArray[4]) { + this.#scrollIntoView(pageView); + return; + } + const boundingRect = [pageView.viewport.convertToViewportPoint(x, y), pageView.viewport.convertToViewportPoint(x + width, y + height)]; + let left = Math.min(boundingRect[0][0], boundingRect[1][0]); + let top = Math.min(boundingRect[0][1], boundingRect[1][1]); + if (!allowNegativeOffset) { + left = Math.max(left, 0); + top = Math.max(top, 0); + } + this.#scrollIntoView(pageView, { + left, + top + }); + } + _updateLocation(firstPage) { + const currentScale = this._currentScale; + const currentScaleValue = this._currentScaleValue; + const normalizedScaleValue = parseFloat(currentScaleValue) === currentScale ? Math.round(currentScale * 10000) / 100 : currentScaleValue; + const pageNumber = firstPage.id; + const currentPageView = this._pages[pageNumber - 1]; + const container = this.container; + const topLeft = currentPageView.getPagePoint(container.scrollLeft - firstPage.x, container.scrollTop - firstPage.y); + const intLeft = Math.round(topLeft[0]); + const intTop = Math.round(topLeft[1]); + let pdfOpenParams = `#page=${pageNumber}`; + if (!this.isInPresentationMode) { + pdfOpenParams += `&zoom=${normalizedScaleValue},${intLeft},${intTop}`; + } + this._location = { + pageNumber, + scale: normalizedScaleValue, + top: intTop, + left: intLeft, + rotation: this._pagesRotation, + pdfOpenParams + }; + } + update() { + const visible = this._getVisiblePages(); + const visiblePages = visible.views, + numVisiblePages = visiblePages.length; + if (numVisiblePages === 0) { + return; + } + const newCacheSize = Math.max(DEFAULT_CACHE_SIZE, 2 * numVisiblePages + 1); + this.#buffer.resize(newCacheSize, visible.ids); + this.renderingQueue.renderHighestPriority(visible); + const isSimpleLayout = this._spreadMode === _ui_utils.SpreadMode.NONE && (this._scrollMode === _ui_utils.ScrollMode.PAGE || this._scrollMode === _ui_utils.ScrollMode.VERTICAL); + const currentId = this._currentPageNumber; + let stillFullyVisible = false; + for (const page of visiblePages) { + if (page.percent < 100) { + break; + } + if (page.id === currentId && isSimpleLayout) { + stillFullyVisible = true; + break; + } + } + this._setCurrentPageNumber(stillFullyVisible ? currentId : visiblePages[0].id); + this._updateLocation(visible.first); + this.eventBus.dispatch("updateviewarea", { + source: this, + location: this._location + }); + } + containsElement(element) { + return this.container.contains(element); + } + focus() { + this.container.focus(); + } + get _isContainerRtl() { + return getComputedStyle(this.container).direction === "rtl"; + } + get isInPresentationMode() { + return this.presentationModeState === _ui_utils.PresentationModeState.FULLSCREEN; + } + get isChangingPresentationMode() { + return this.presentationModeState === _ui_utils.PresentationModeState.CHANGING; + } + get isHorizontalScrollbarEnabled() { + return this.isInPresentationMode ? false : this.container.scrollWidth > this.container.clientWidth; + } + get isVerticalScrollbarEnabled() { + return this.isInPresentationMode ? false : this.container.scrollHeight > this.container.clientHeight; + } + _getVisiblePages() { + const views = this._scrollMode === _ui_utils.ScrollMode.PAGE ? this.#scrollModePageState.pages : this._pages, + horizontal = this._scrollMode === _ui_utils.ScrollMode.HORIZONTAL, + rtl = horizontal && this._isContainerRtl; + return (0, _ui_utils.getVisibleElements)({ + scrollEl: this.container, + views, + sortByVisibility: true, + horizontal, + rtl + }); + } + cleanup() { + for (const pageView of this._pages) { + if (pageView.renderingState !== _ui_utils.RenderingStates.FINISHED) { + pageView.reset(); + } + } + } + _cancelRendering() { + for (const pageView of this._pages) { + pageView.cancelRendering(); + } + } + async #ensurePdfPageLoaded(pageView) { + if (pageView.pdfPage) { + return pageView.pdfPage; + } + try { + const pdfPage = await this.pdfDocument.getPage(pageView.id); + if (!pageView.pdfPage) { + pageView.setPdfPage(pdfPage); + } + if (!this.linkService._cachedPageNumber?.(pdfPage.ref)) { + this.linkService.cachePageRef(pageView.id, pdfPage.ref); + } + return pdfPage; + } catch (reason) { + console.error("Unable to get page for page view", reason); + return null; + } + } + #getScrollAhead(visible) { + if (visible.first?.id === 1) { + return true; + } else if (visible.last?.id === this.pagesCount) { + return false; + } + switch (this._scrollMode) { + case _ui_utils.ScrollMode.PAGE: + return this.#scrollModePageState.scrollDown; + case _ui_utils.ScrollMode.HORIZONTAL: + return this.scroll.right; + } + return this.scroll.down; + } + forceRendering(currentlyVisiblePages) { + const visiblePages = currentlyVisiblePages || this._getVisiblePages(); + const scrollAhead = this.#getScrollAhead(visiblePages); + const preRenderExtra = this._spreadMode !== _ui_utils.SpreadMode.NONE && this._scrollMode !== _ui_utils.ScrollMode.HORIZONTAL; + const pageView = this.renderingQueue.getHighestPriority(visiblePages, this._pages, scrollAhead, preRenderExtra); + if (pageView) { + this.#ensurePdfPageLoaded(pageView).then(() => { + this.renderingQueue.renderView(pageView); + }); + return true; + } + return false; + } + get hasEqualPageSizes() { + const firstPageView = this._pages[0]; + for (let i = 1, ii = this._pages.length; i < ii; ++i) { + const pageView = this._pages[i]; + if (pageView.width !== firstPageView.width || pageView.height !== firstPageView.height) { + return false; + } + } + return true; + } + getPagesOverview() { + let initialOrientation; + return this._pages.map(pageView => { + const viewport = pageView.pdfPage.getViewport({ + scale: 1 + }); + const orientation = (0, _ui_utils.isPortraitOrientation)(viewport); + if (initialOrientation === undefined) { + initialOrientation = orientation; + } else if (this.enablePrintAutoRotate && orientation !== initialOrientation) { + return { + width: viewport.height, + height: viewport.width, + rotation: (viewport.rotation - 90) % 360 + }; + } + return { + width: viewport.width, + height: viewport.height, + rotation: viewport.rotation + }; + }); + } + get optionalContentConfigPromise() { + if (!this.pdfDocument) { + return Promise.resolve(null); + } + if (!this._optionalContentConfigPromise) { + console.error("optionalContentConfigPromise: Not initialized yet."); + return this.pdfDocument.getOptionalContentConfig(); + } + return this._optionalContentConfigPromise; + } + set optionalContentConfigPromise(promise) { + if (!(promise instanceof Promise)) { + throw new Error(`Invalid optionalContentConfigPromise: ${promise}`); + } + if (!this.pdfDocument) { + return; + } + if (!this._optionalContentConfigPromise) { + return; + } + this._optionalContentConfigPromise = promise; + this.refresh(false, { + optionalContentConfigPromise: promise + }); + this.eventBus.dispatch("optionalcontentconfigchanged", { + source: this, + promise + }); + } + get scrollMode() { + return this._scrollMode; + } + set scrollMode(mode) { + if (this._scrollMode === mode) { + return; + } + if (!(0, _ui_utils.isValidScrollMode)(mode)) { + throw new Error(`Invalid scroll mode: ${mode}`); + } + if (this.pagesCount > PagesCountLimit.FORCE_SCROLL_MODE_PAGE) { + return; + } + this._previousScrollMode = this._scrollMode; + this._scrollMode = mode; + this.eventBus.dispatch("scrollmodechanged", { + source: this, + mode + }); + this._updateScrollMode(this._currentPageNumber); + } + _updateScrollMode(pageNumber = null) { + const scrollMode = this._scrollMode, + viewer = this.viewer; + viewer.classList.toggle("scrollHorizontal", scrollMode === _ui_utils.ScrollMode.HORIZONTAL); + viewer.classList.toggle("scrollWrapped", scrollMode === _ui_utils.ScrollMode.WRAPPED); + if (!this.pdfDocument || !pageNumber) { + return; + } + if (scrollMode === _ui_utils.ScrollMode.PAGE) { + this.#ensurePageViewVisible(); + } else if (this._previousScrollMode === _ui_utils.ScrollMode.PAGE) { + this._updateSpreadMode(); + } + if (this._currentScaleValue && isNaN(this._currentScaleValue)) { + this.#setScale(this._currentScaleValue, { + noScroll: true + }); + } + this._setCurrentPageNumber(pageNumber, true); + this.update(); + } + get spreadMode() { + return this._spreadMode; + } + set spreadMode(mode) { + if (this._spreadMode === mode) { + return; + } + if (!(0, _ui_utils.isValidSpreadMode)(mode)) { + throw new Error(`Invalid spread mode: ${mode}`); + } + this._spreadMode = mode; + this.eventBus.dispatch("spreadmodechanged", { + source: this, + mode + }); + this._updateSpreadMode(this._currentPageNumber); + } + _updateSpreadMode(pageNumber = null) { + if (!this.pdfDocument) { + return; + } + const viewer = this.viewer, + pages = this._pages; + if (this._scrollMode === _ui_utils.ScrollMode.PAGE) { + this.#ensurePageViewVisible(); + } else { + viewer.textContent = ""; + if (this._spreadMode === _ui_utils.SpreadMode.NONE) { + for (const pageView of this._pages) { + viewer.append(pageView.div); + } + } else { + const parity = this._spreadMode - 1; + let spread = null; + for (let i = 0, ii = pages.length; i < ii; ++i) { + if (spread === null) { + spread = document.createElement("div"); + spread.className = "spread"; + viewer.append(spread); + } else if (i % 2 === parity) { + spread = spread.cloneNode(false); + viewer.append(spread); + } + spread.append(pages[i].div); + } + } + } + if (!pageNumber) { + return; + } + if (this._currentScaleValue && isNaN(this._currentScaleValue)) { + this.#setScale(this._currentScaleValue, { + noScroll: true + }); + } + this._setCurrentPageNumber(pageNumber, true); + this.update(); + } + _getPageAdvance(currentPageNumber, previous = false) { + switch (this._scrollMode) { + case _ui_utils.ScrollMode.WRAPPED: + { + const { + views + } = this._getVisiblePages(), + pageLayout = new Map(); + for (const { + id, + y, + percent, + widthPercent + } of views) { + if (percent === 0 || widthPercent < 100) { + continue; + } + let yArray = pageLayout.get(y); + if (!yArray) { + pageLayout.set(y, yArray ||= []); + } + yArray.push(id); + } + for (const yArray of pageLayout.values()) { + const currentIndex = yArray.indexOf(currentPageNumber); + if (currentIndex === -1) { + continue; + } + const numPages = yArray.length; + if (numPages === 1) { + break; + } + if (previous) { + for (let i = currentIndex - 1, ii = 0; i >= ii; i--) { + const currentId = yArray[i], + expectedId = yArray[i + 1] - 1; + if (currentId < expectedId) { + return currentPageNumber - expectedId; + } + } + } else { + for (let i = currentIndex + 1, ii = numPages; i < ii; i++) { + const currentId = yArray[i], + expectedId = yArray[i - 1] + 1; + if (currentId > expectedId) { + return expectedId - currentPageNumber; + } + } + } + if (previous) { + const firstId = yArray[0]; + if (firstId < currentPageNumber) { + return currentPageNumber - firstId + 1; + } + } else { + const lastId = yArray[numPages - 1]; + if (lastId > currentPageNumber) { + return lastId - currentPageNumber + 1; + } + } + break; + } + break; + } + case _ui_utils.ScrollMode.HORIZONTAL: + { + break; + } + case _ui_utils.ScrollMode.PAGE: + case _ui_utils.ScrollMode.VERTICAL: + { + if (this._spreadMode === _ui_utils.SpreadMode.NONE) { + break; + } + const parity = this._spreadMode - 1; + if (previous && currentPageNumber % 2 !== parity) { + break; + } else if (!previous && currentPageNumber % 2 === parity) { + break; + } + const { + views + } = this._getVisiblePages(), + expectedId = previous ? currentPageNumber - 1 : currentPageNumber + 1; + for (const { + id, + percent, + widthPercent + } of views) { + if (id !== expectedId) { + continue; + } + if (percent > 0 && widthPercent === 100) { + return 2; + } + break; + } + break; + } + } + return 1; + } + nextPage() { + const currentPageNumber = this._currentPageNumber, + pagesCount = this.pagesCount; + if (currentPageNumber >= pagesCount) { + return false; + } + const advance = this._getPageAdvance(currentPageNumber, false) || 1; + this.currentPageNumber = Math.min(currentPageNumber + advance, pagesCount); + return true; + } + previousPage() { + const currentPageNumber = this._currentPageNumber; + if (currentPageNumber <= 1) { + return false; + } + const advance = this._getPageAdvance(currentPageNumber, true) || 1; + this.currentPageNumber = Math.max(currentPageNumber - advance, 1); + return true; + } + increaseScale({ + drawingDelay, + scaleFactor, + steps + } = {}) { + if (!this.pdfDocument) { + return; + } + let newScale = this._currentScale; + if (scaleFactor > 1) { + newScale = Math.round(newScale * scaleFactor * 100) / 100; + } else { + steps ??= 1; + do { + newScale = Math.ceil((newScale * _ui_utils.DEFAULT_SCALE_DELTA).toFixed(2) * 10) / 10; + } while (--steps > 0 && newScale < _ui_utils.MAX_SCALE); + } + this.#setScale(Math.min(_ui_utils.MAX_SCALE, newScale), { + noScroll: false, + drawingDelay + }); + } + decreaseScale({ + drawingDelay, + scaleFactor, + steps + } = {}) { + if (!this.pdfDocument) { + return; + } + let newScale = this._currentScale; + if (scaleFactor > 0 && scaleFactor < 1) { + newScale = Math.round(newScale * scaleFactor * 100) / 100; + } else { + steps ??= 1; + do { + newScale = Math.floor((newScale / _ui_utils.DEFAULT_SCALE_DELTA).toFixed(2) * 10) / 10; + } while (--steps > 0 && newScale > _ui_utils.MIN_SCALE); + } + this.#setScale(Math.max(_ui_utils.MIN_SCALE, newScale), { + noScroll: false, + drawingDelay + }); + } + #updateContainerHeightCss(height = this.container.clientHeight) { + if (height !== this.#previousContainerHeight) { + this.#previousContainerHeight = height; + _ui_utils.docStyle.setProperty("--viewer-container-height", `${height}px`); + } + } + #resizeObserverCallback(entries) { + for (const entry of entries) { + if (entry.target === this.container) { + this.#updateContainerHeightCss(Math.floor(entry.borderBoxSize[0].blockSize)); + this.#containerTopLeft = null; + break; + } + } + } + get containerTopLeft() { + return this.#containerTopLeft ||= [this.container.offsetTop, this.container.offsetLeft]; + } + get annotationEditorMode() { + return this.#annotationEditorUIManager ? this.#annotationEditorMode : _pdfjsLib.AnnotationEditorType.DISABLE; + } + set annotationEditorMode(mode) { + if (!this.#annotationEditorUIManager) { + throw new Error(`The AnnotationEditor is not enabled.`); + } + if (this.#annotationEditorMode === mode) { + return; + } + if (!isValidAnnotationEditorMode(mode)) { + throw new Error(`Invalid AnnotationEditor mode: ${mode}`); + } + if (!this.pdfDocument) { + return; + } + this.#annotationEditorMode = mode; + this.eventBus.dispatch("annotationeditormodechanged", { + source: this, + mode + }); + this.#annotationEditorUIManager.updateMode(mode); + } + set annotationEditorParams({ + type, + value + }) { + if (!this.#annotationEditorUIManager) { + throw new Error(`The AnnotationEditor is not enabled.`); + } + this.#annotationEditorUIManager.updateParams(type, value); + } + refresh(noUpdate = false, updateArgs = Object.create(null)) { + if (!this.pdfDocument) { + return; + } + for (const pageView of this._pages) { + pageView.update(updateArgs); + } + if (this.#scaleTimeoutId !== null) { + clearTimeout(this.#scaleTimeoutId); + this.#scaleTimeoutId = null; + } + if (!noUpdate) { + this.update(); + } + } +} +exports.PDFViewer = PDFViewer; + +/***/ }), +/* 29 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.NullL10n = void 0; +exports.getL10nFallback = getL10nFallback; +const DEFAULT_L10N_STRINGS = { + of_pages: "of {{pagesCount}}", + page_of_pages: "({{pageNumber}} of {{pagesCount}})", + document_properties_kb: "{{size_kb}} KB ({{size_b}} bytes)", + document_properties_mb: "{{size_mb}} MB ({{size_b}} bytes)", + document_properties_date_string: "{{date}}, {{time}}", + document_properties_page_size_unit_inches: "in", + document_properties_page_size_unit_millimeters: "mm", + document_properties_page_size_orientation_portrait: "portrait", + document_properties_page_size_orientation_landscape: "landscape", + document_properties_page_size_name_a3: "A3", + document_properties_page_size_name_a4: "A4", + document_properties_page_size_name_letter: "Letter", + document_properties_page_size_name_legal: "Legal", + document_properties_page_size_dimension_string: "{{width}} × {{height}} {{unit}} ({{orientation}})", + document_properties_page_size_dimension_name_string: "{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})", + document_properties_linearized_yes: "Yes", + document_properties_linearized_no: "No", + additional_layers: "Additional Layers", + page_landmark: "Page {{page}}", + thumb_page_title: "Page {{page}}", + thumb_page_canvas: "Thumbnail of Page {{page}}", + find_reached_top: "Reached top of document, continued from bottom", + find_reached_bottom: "Reached end of document, continued from top", + "find_match_count[one]": "{{current}} of {{total}} match", + "find_match_count[other]": "{{current}} of {{total}} matches", + "find_match_count_limit[one]": "More than {{limit}} match", + "find_match_count_limit[other]": "More than {{limit}} matches", + find_not_found: "Phrase not found", + page_scale_width: "Page Width", + page_scale_fit: "Page Fit", + page_scale_auto: "Automatic Zoom", + page_scale_actual: "Actual Size", + page_scale_percent: "{{scale}}%", + loading_error: "An error occurred while loading the PDF.", + invalid_file_error: "Invalid or corrupted PDF file.", + missing_file_error: "Missing PDF file.", + unexpected_response_error: "Unexpected server response.", + rendering_error: "An error occurred while rendering the page.", + annotation_date_string: "{{date}}, {{time}}", + printing_not_supported: "Warning: Printing is not fully supported by this browser.", + printing_not_ready: "Warning: The PDF is not fully loaded for printing.", + web_fonts_disabled: "Web fonts are disabled: unable to use embedded PDF fonts.", + free_text2_default_content: "Start typing…", + editor_free_text2_aria_label: "Text Editor", + editor_ink2_aria_label: "Draw Editor", + editor_ink_canvas_aria_label: "User-created image" +}; +{ + DEFAULT_L10N_STRINGS.print_progress_percent = "{{progress}}%"; +} +function getL10nFallback(key, args) { + switch (key) { + case "find_match_count": + key = `find_match_count[${args.total === 1 ? "one" : "other"}]`; + break; + case "find_match_count_limit": + key = `find_match_count_limit[${args.limit === 1 ? "one" : "other"}]`; + break; + } + return DEFAULT_L10N_STRINGS[key] || ""; +} +function formatL10nValue(text, args) { + if (!args) { + return text; + } + return text.replaceAll(/\{\{\s*(\w+)\s*\}\}/g, (all, name) => { + return name in args ? args[name] : "{{" + name + "}}"; + }); +} +const NullL10n = { + async getLanguage() { + return "en-us"; + }, + async getDirection() { + return "ltr"; + }, + async get(key, args = null, fallback = getL10nFallback(key, args)) { + return formatL10nValue(fallback, args); + }, + async translate(element) {} +}; +exports.NullL10n = NullL10n; + +/***/ }), +/* 30 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFPageView = void 0; +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +var _annotation_editor_layer_builder = __webpack_require__(31); +var _annotation_layer_builder = __webpack_require__(32); +var _app_options = __webpack_require__(5); +var _l10n_utils = __webpack_require__(29); +var _pdf_link_service = __webpack_require__(7); +var _struct_tree_layer_builder = __webpack_require__(33); +var _text_accessibility = __webpack_require__(34); +var _text_highlighter = __webpack_require__(35); +var _text_layer_builder = __webpack_require__(36); +var _xfa_layer_builder = __webpack_require__(37); +const MAX_CANVAS_PIXELS = _app_options.compatibilityParams.maxCanvasPixels || 16777216; +const DEFAULT_LAYER_PROPERTIES = () => { + return null; +}; +class PDFPageView { + #annotationMode = _pdfjsLib.AnnotationMode.ENABLE_FORMS; + #layerProperties = null; + #loadingId = null; + #previousRotation = null; + #renderError = null; + #renderingState = _ui_utils.RenderingStates.INITIAL; + #textLayerMode = _ui_utils.TextLayerMode.ENABLE; + #useThumbnailCanvas = { + directDrawing: true, + initialOptionalContent: true, + regularAnnotations: true + }; + #viewportMap = new WeakMap(); + constructor(options) { + const container = options.container; + const defaultViewport = options.defaultViewport; + this.id = options.id; + this.renderingId = "page" + this.id; + this.#layerProperties = options.layerProperties || DEFAULT_LAYER_PROPERTIES; + this.pdfPage = null; + this.pageLabel = null; + this.rotation = 0; + this.scale = options.scale || _ui_utils.DEFAULT_SCALE; + this.viewport = defaultViewport; + this.pdfPageRotate = defaultViewport.rotation; + this._optionalContentConfigPromise = options.optionalContentConfigPromise || null; + this.hasRestrictedScaling = false; + this.#textLayerMode = options.textLayerMode ?? _ui_utils.TextLayerMode.ENABLE; + this.#annotationMode = options.annotationMode ?? _pdfjsLib.AnnotationMode.ENABLE_FORMS; + this.imageResourcesPath = options.imageResourcesPath || ""; + this.useOnlyCssZoom = options.useOnlyCssZoom || false; + this.isOffscreenCanvasSupported = options.isOffscreenCanvasSupported ?? true; + this.maxCanvasPixels = options.maxCanvasPixels || MAX_CANVAS_PIXELS; + this.pageColors = options.pageColors || null; + this.eventBus = options.eventBus; + this.renderingQueue = options.renderingQueue; + this.l10n = options.l10n || _l10n_utils.NullL10n; + this.renderTask = null; + this.resume = null; + this._isStandalone = !this.renderingQueue?.hasViewer(); + this._container = container; + this._annotationCanvasMap = null; + this.annotationLayer = null; + this.annotationEditorLayer = null; + this.textLayer = null; + this.zoomLayer = null; + this.xfaLayer = null; + this.structTreeLayer = null; + const div = document.createElement("div"); + div.className = "page"; + div.setAttribute("data-page-number", this.id); + div.setAttribute("role", "region"); + this.l10n.get("page_landmark", { + page: this.id + }).then(msg => { + div.setAttribute("aria-label", msg); + }); + this.div = div; + this.#setDimensions(); + container?.append(div); + if (this._isStandalone) { + container?.style.setProperty("--scale-factor", this.scale * _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS); + const { + optionalContentConfigPromise + } = options; + if (optionalContentConfigPromise) { + optionalContentConfigPromise.then(optionalContentConfig => { + if (optionalContentConfigPromise !== this._optionalContentConfigPromise) { + return; + } + this.#useThumbnailCanvas.initialOptionalContent = optionalContentConfig.hasInitialVisibility; + }); + } + } + } + get renderingState() { + return this.#renderingState; + } + set renderingState(state) { + if (state === this.#renderingState) { + return; + } + this.#renderingState = state; + if (this.#loadingId) { + clearTimeout(this.#loadingId); + this.#loadingId = null; + } + switch (state) { + case _ui_utils.RenderingStates.PAUSED: + this.div.classList.remove("loading"); + break; + case _ui_utils.RenderingStates.RUNNING: + this.div.classList.add("loadingIcon"); + this.#loadingId = setTimeout(() => { + this.div.classList.add("loading"); + this.#loadingId = null; + }, 0); + break; + case _ui_utils.RenderingStates.INITIAL: + case _ui_utils.RenderingStates.FINISHED: + this.div.classList.remove("loadingIcon", "loading"); + break; + } + } + #setDimensions() { + const { + viewport + } = this; + if (this.pdfPage) { + if (this.#previousRotation === viewport.rotation) { + return; + } + this.#previousRotation = viewport.rotation; + } + (0, _pdfjsLib.setLayerDimensions)(this.div, viewport, true, false); + } + setPdfPage(pdfPage) { + if (this._isStandalone && (this.pageColors?.foreground === "CanvasText" || this.pageColors?.background === "Canvas")) { + this._container?.style.setProperty("--hcm-highligh-filter", pdfPage.filterFactory.addHighlightHCMFilter("CanvasText", "Canvas", "HighlightText", "Highlight")); + } + this.pdfPage = pdfPage; + this.pdfPageRotate = pdfPage.rotate; + const totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = pdfPage.getViewport({ + scale: this.scale * _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS, + rotation: totalRotation + }); + this.#setDimensions(); + this.reset(); + } + destroy() { + this.reset(); + this.pdfPage?.cleanup(); + } + get _textHighlighter() { + return (0, _pdfjsLib.shadow)(this, "_textHighlighter", new _text_highlighter.TextHighlighter({ + pageIndex: this.id - 1, + eventBus: this.eventBus, + findController: this.#layerProperties().findController + })); + } + async #renderAnnotationLayer() { + let error = null; + try { + await this.annotationLayer.render(this.viewport, "display"); + } catch (ex) { + console.error(`#renderAnnotationLayer: "${ex}".`); + error = ex; + } finally { + this.eventBus.dispatch("annotationlayerrendered", { + source: this, + pageNumber: this.id, + error + }); + } + } + async #renderAnnotationEditorLayer() { + let error = null; + try { + await this.annotationEditorLayer.render(this.viewport, "display"); + } catch (ex) { + console.error(`#renderAnnotationEditorLayer: "${ex}".`); + error = ex; + } finally { + this.eventBus.dispatch("annotationeditorlayerrendered", { + source: this, + pageNumber: this.id, + error + }); + } + } + async #renderXfaLayer() { + let error = null; + try { + const result = await this.xfaLayer.render(this.viewport, "display"); + if (result?.textDivs && this._textHighlighter) { + this.#buildXfaTextContentItems(result.textDivs); + } + } catch (ex) { + console.error(`#renderXfaLayer: "${ex}".`); + error = ex; + } finally { + this.eventBus.dispatch("xfalayerrendered", { + source: this, + pageNumber: this.id, + error + }); + } + } + async #renderTextLayer() { + const { + pdfPage, + textLayer, + viewport + } = this; + if (!textLayer) { + return; + } + let error = null; + try { + if (!textLayer.renderingDone) { + const readableStream = pdfPage.streamTextContent({ + includeMarkedContent: true, + disableNormalization: true + }); + textLayer.setTextContentSource(readableStream); + } + await textLayer.render(viewport); + } catch (ex) { + if (ex instanceof _pdfjsLib.AbortException) { + return; + } + console.error(`#renderTextLayer: "${ex}".`); + error = ex; + } + this.eventBus.dispatch("textlayerrendered", { + source: this, + pageNumber: this.id, + numTextDivs: textLayer.numTextDivs, + error + }); + this.#renderStructTreeLayer(); + } + async #renderStructTreeLayer() { + if (!this.textLayer) { + return; + } + this.structTreeLayer ||= new _struct_tree_layer_builder.StructTreeLayerBuilder(); + const tree = await (!this.structTreeLayer.renderingDone ? this.pdfPage.getStructTree() : null); + const treeDom = this.structTreeLayer?.render(tree); + if (treeDom) { + this.canvas?.append(treeDom); + } + this.structTreeLayer?.show(); + } + async #buildXfaTextContentItems(textDivs) { + const text = await this.pdfPage.getTextContent(); + const items = []; + for (const item of text.items) { + items.push(item.str); + } + this._textHighlighter.setTextMapping(textDivs, items); + this._textHighlighter.enable(); + } + _resetZoomLayer(removeFromDOM = false) { + if (!this.zoomLayer) { + return; + } + const zoomLayerCanvas = this.zoomLayer.firstChild; + this.#viewportMap.delete(zoomLayerCanvas); + zoomLayerCanvas.width = 0; + zoomLayerCanvas.height = 0; + if (removeFromDOM) { + this.zoomLayer.remove(); + } + this.zoomLayer = null; + } + reset({ + keepZoomLayer = false, + keepAnnotationLayer = false, + keepAnnotationEditorLayer = false, + keepXfaLayer = false, + keepTextLayer = false + } = {}) { + this.cancelRendering({ + keepAnnotationLayer, + keepAnnotationEditorLayer, + keepXfaLayer, + keepTextLayer + }); + this.renderingState = _ui_utils.RenderingStates.INITIAL; + const div = this.div; + const childNodes = div.childNodes, + zoomLayerNode = keepZoomLayer && this.zoomLayer || null, + annotationLayerNode = keepAnnotationLayer && this.annotationLayer?.div || null, + annotationEditorLayerNode = keepAnnotationEditorLayer && this.annotationEditorLayer?.div || null, + xfaLayerNode = keepXfaLayer && this.xfaLayer?.div || null, + textLayerNode = keepTextLayer && this.textLayer?.div || null; + for (let i = childNodes.length - 1; i >= 0; i--) { + const node = childNodes[i]; + switch (node) { + case zoomLayerNode: + case annotationLayerNode: + case annotationEditorLayerNode: + case xfaLayerNode: + case textLayerNode: + continue; + } + node.remove(); + } + div.removeAttribute("data-loaded"); + if (annotationLayerNode) { + this.annotationLayer.hide(); + } + if (annotationEditorLayerNode) { + this.annotationEditorLayer.hide(); + } + if (xfaLayerNode) { + this.xfaLayer.hide(); + } + if (textLayerNode) { + this.textLayer.hide(); + } + this.structTreeLayer?.hide(); + if (!zoomLayerNode) { + if (this.canvas) { + this.#viewportMap.delete(this.canvas); + this.canvas.width = 0; + this.canvas.height = 0; + delete this.canvas; + } + this._resetZoomLayer(); + } + } + update({ + scale = 0, + rotation = null, + optionalContentConfigPromise = null, + drawingDelay = -1 + }) { + this.scale = scale || this.scale; + if (typeof rotation === "number") { + this.rotation = rotation; + } + if (optionalContentConfigPromise instanceof Promise) { + this._optionalContentConfigPromise = optionalContentConfigPromise; + optionalContentConfigPromise.then(optionalContentConfig => { + if (optionalContentConfigPromise !== this._optionalContentConfigPromise) { + return; + } + this.#useThumbnailCanvas.initialOptionalContent = optionalContentConfig.hasInitialVisibility; + }); + } + this.#useThumbnailCanvas.directDrawing = true; + const totalRotation = (this.rotation + this.pdfPageRotate) % 360; + this.viewport = this.viewport.clone({ + scale: this.scale * _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS, + rotation: totalRotation + }); + this.#setDimensions(); + if (this._isStandalone) { + this._container?.style.setProperty("--scale-factor", this.viewport.scale); + } + let isScalingRestricted = false; + if (this.canvas && this.maxCanvasPixels > 0) { + const { + width, + height + } = this.viewport; + const { + sx, + sy + } = this.outputScale; + if ((Math.floor(width) * sx | 0) * (Math.floor(height) * sy | 0) > this.maxCanvasPixels) { + isScalingRestricted = true; + } + } + const onlyCssZoom = this.useOnlyCssZoom || this.hasRestrictedScaling && isScalingRestricted; + const postponeDrawing = !onlyCssZoom && drawingDelay >= 0 && drawingDelay < 1000; + if (this.canvas) { + if (postponeDrawing || onlyCssZoom) { + if (postponeDrawing && this.renderingState !== _ui_utils.RenderingStates.FINISHED) { + this.cancelRendering({ + keepZoomLayer: true, + keepAnnotationLayer: true, + keepAnnotationEditorLayer: true, + keepXfaLayer: true, + keepTextLayer: true, + cancelExtraDelay: drawingDelay + }); + this.renderingState = _ui_utils.RenderingStates.FINISHED; + this.#useThumbnailCanvas.directDrawing = false; + } + this.cssTransform({ + target: this.canvas, + redrawAnnotationLayer: true, + redrawAnnotationEditorLayer: true, + redrawXfaLayer: true, + redrawTextLayer: !postponeDrawing, + hideTextLayer: postponeDrawing + }); + if (postponeDrawing) { + return; + } + this.eventBus.dispatch("pagerendered", { + source: this, + pageNumber: this.id, + cssTransform: true, + timestamp: performance.now(), + error: this.#renderError + }); + return; + } + if (!this.zoomLayer && !this.canvas.hidden) { + this.zoomLayer = this.canvas.parentNode; + this.zoomLayer.style.position = "absolute"; + } + } + if (this.zoomLayer) { + this.cssTransform({ + target: this.zoomLayer.firstChild + }); + } + this.reset({ + keepZoomLayer: true, + keepAnnotationLayer: true, + keepAnnotationEditorLayer: true, + keepXfaLayer: true, + keepTextLayer: true + }); + } + cancelRendering({ + keepAnnotationLayer = false, + keepAnnotationEditorLayer = false, + keepXfaLayer = false, + keepTextLayer = false, + cancelExtraDelay = 0 + } = {}) { + if (this.renderTask) { + this.renderTask.cancel(cancelExtraDelay); + this.renderTask = null; + } + this.resume = null; + if (this.textLayer && (!keepTextLayer || !this.textLayer.div)) { + this.textLayer.cancel(); + this.textLayer = null; + } + if (this.structTreeLayer && !this.textLayer) { + this.structTreeLayer = null; + } + if (this.annotationLayer && (!keepAnnotationLayer || !this.annotationLayer.div)) { + this.annotationLayer.cancel(); + this.annotationLayer = null; + this._annotationCanvasMap = null; + } + if (this.annotationEditorLayer && (!keepAnnotationEditorLayer || !this.annotationEditorLayer.div)) { + this.annotationEditorLayer.cancel(); + this.annotationEditorLayer = null; + } + if (this.xfaLayer && (!keepXfaLayer || !this.xfaLayer.div)) { + this.xfaLayer.cancel(); + this.xfaLayer = null; + this._textHighlighter?.disable(); + } + } + cssTransform({ + target, + redrawAnnotationLayer = false, + redrawAnnotationEditorLayer = false, + redrawXfaLayer = false, + redrawTextLayer = false, + hideTextLayer = false + }) { + if (!target.hasAttribute("zooming")) { + target.setAttribute("zooming", true); + const { + style + } = target; + style.width = style.height = ""; + } + const originalViewport = this.#viewportMap.get(target); + if (this.viewport !== originalViewport) { + const relativeRotation = this.viewport.rotation - originalViewport.rotation; + const absRotation = Math.abs(relativeRotation); + let scaleX = 1, + scaleY = 1; + if (absRotation === 90 || absRotation === 270) { + const { + width, + height + } = this.viewport; + scaleX = height / width; + scaleY = width / height; + } + target.style.transform = `rotate(${relativeRotation}deg) scale(${scaleX}, ${scaleY})`; + } + if (redrawAnnotationLayer && this.annotationLayer) { + this.#renderAnnotationLayer(); + } + if (redrawAnnotationEditorLayer && this.annotationEditorLayer) { + this.#renderAnnotationEditorLayer(); + } + if (redrawXfaLayer && this.xfaLayer) { + this.#renderXfaLayer(); + } + if (this.textLayer) { + if (hideTextLayer) { + this.textLayer.hide(); + this.structTreeLayer?.hide(); + } else if (redrawTextLayer) { + this.#renderTextLayer(); + } + } + } + get width() { + return this.viewport.width; + } + get height() { + return this.viewport.height; + } + getPagePoint(x, y) { + return this.viewport.convertToPdfPoint(x, y); + } + async #finishRenderTask(renderTask, error = null) { + if (renderTask === this.renderTask) { + this.renderTask = null; + } + if (error instanceof _pdfjsLib.RenderingCancelledException) { + this.#renderError = null; + return; + } + this.#renderError = error; + this.renderingState = _ui_utils.RenderingStates.FINISHED; + this._resetZoomLayer(true); + this.#useThumbnailCanvas.regularAnnotations = !renderTask.separateAnnots; + this.eventBus.dispatch("pagerendered", { + source: this, + pageNumber: this.id, + cssTransform: false, + timestamp: performance.now(), + error: this.#renderError + }); + if (error) { + throw error; + } + } + async draw() { + if (this.renderingState !== _ui_utils.RenderingStates.INITIAL) { + console.error("Must be in new state before drawing"); + this.reset(); + } + const { + div, + l10n, + pageColors, + pdfPage, + viewport + } = this; + if (!pdfPage) { + this.renderingState = _ui_utils.RenderingStates.FINISHED; + throw new Error("pdfPage is not loaded"); + } + this.renderingState = _ui_utils.RenderingStates.RUNNING; + const canvasWrapper = document.createElement("div"); + canvasWrapper.classList.add("canvasWrapper"); + div.append(canvasWrapper); + if (!this.textLayer && this.#textLayerMode !== _ui_utils.TextLayerMode.DISABLE && !pdfPage.isPureXfa) { + this._accessibilityManager ||= new _text_accessibility.TextAccessibilityManager(); + this.textLayer = new _text_layer_builder.TextLayerBuilder({ + highlighter: this._textHighlighter, + accessibilityManager: this._accessibilityManager, + isOffscreenCanvasSupported: this.isOffscreenCanvasSupported, + enablePermissions: this.#textLayerMode === _ui_utils.TextLayerMode.ENABLE_PERMISSIONS + }); + div.append(this.textLayer.div); + } + if (!this.annotationLayer && this.#annotationMode !== _pdfjsLib.AnnotationMode.DISABLE) { + const { + annotationStorage, + downloadManager, + enableScripting, + fieldObjectsPromise, + hasJSActionsPromise, + linkService + } = this.#layerProperties(); + this._annotationCanvasMap ||= new Map(); + this.annotationLayer = new _annotation_layer_builder.AnnotationLayerBuilder({ + pageDiv: div, + pdfPage, + annotationStorage, + imageResourcesPath: this.imageResourcesPath, + renderForms: this.#annotationMode === _pdfjsLib.AnnotationMode.ENABLE_FORMS, + linkService, + downloadManager, + l10n, + enableScripting, + hasJSActionsPromise, + fieldObjectsPromise, + annotationCanvasMap: this._annotationCanvasMap, + accessibilityManager: this._accessibilityManager + }); + } + const renderContinueCallback = cont => { + showCanvas?.(false); + if (this.renderingQueue && !this.renderingQueue.isHighestPriority(this)) { + this.renderingState = _ui_utils.RenderingStates.PAUSED; + this.resume = () => { + this.renderingState = _ui_utils.RenderingStates.RUNNING; + cont(); + }; + return; + } + cont(); + }; + const { + width, + height + } = viewport; + const canvas = document.createElement("canvas"); + canvas.setAttribute("role", "presentation"); + canvas.hidden = true; + const hasHCM = !!(pageColors?.background && pageColors?.foreground); + let showCanvas = isLastShow => { + if (!hasHCM || isLastShow) { + canvas.hidden = false; + showCanvas = null; + } + }; + canvasWrapper.append(canvas); + this.canvas = canvas; + const ctx = canvas.getContext("2d", { + alpha: false + }); + const outputScale = this.outputScale = new _ui_utils.OutputScale(); + if (this.useOnlyCssZoom) { + const actualSizeViewport = viewport.clone({ + scale: _pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS + }); + outputScale.sx *= actualSizeViewport.width / width; + outputScale.sy *= actualSizeViewport.height / height; + } + if (this.maxCanvasPixels > 0) { + const pixelsInViewport = width * height; + const maxScale = Math.sqrt(this.maxCanvasPixels / pixelsInViewport); + if (outputScale.sx > maxScale || outputScale.sy > maxScale) { + outputScale.sx = maxScale; + outputScale.sy = maxScale; + this.hasRestrictedScaling = true; + } else { + this.hasRestrictedScaling = false; + } + } + const sfx = (0, _ui_utils.approximateFraction)(outputScale.sx); + const sfy = (0, _ui_utils.approximateFraction)(outputScale.sy); + canvas.width = (0, _ui_utils.roundToDivide)(width * outputScale.sx, sfx[0]); + canvas.height = (0, _ui_utils.roundToDivide)(height * outputScale.sy, sfy[0]); + const { + style + } = canvas; + style.width = (0, _ui_utils.roundToDivide)(width, sfx[1]) + "px"; + style.height = (0, _ui_utils.roundToDivide)(height, sfy[1]) + "px"; + this.#viewportMap.set(canvas, viewport); + const transform = outputScale.scaled ? [outputScale.sx, 0, 0, outputScale.sy, 0, 0] : null; + const renderContext = { + canvasContext: ctx, + transform, + viewport, + annotationMode: this.#annotationMode, + optionalContentConfigPromise: this._optionalContentConfigPromise, + annotationCanvasMap: this._annotationCanvasMap, + pageColors + }; + const renderTask = this.renderTask = this.pdfPage.render(renderContext); + renderTask.onContinue = renderContinueCallback; + const resultPromise = renderTask.promise.then(async () => { + showCanvas?.(true); + await this.#finishRenderTask(renderTask); + this.#renderTextLayer(); + if (this.annotationLayer) { + await this.#renderAnnotationLayer(); + } + if (!this.annotationEditorLayer) { + const { + annotationEditorUIManager + } = this.#layerProperties(); + if (!annotationEditorUIManager) { + return; + } + this.annotationEditorLayer = new _annotation_editor_layer_builder.AnnotationEditorLayerBuilder({ + uiManager: annotationEditorUIManager, + pageDiv: div, + pdfPage, + l10n, + accessibilityManager: this._accessibilityManager, + annotationLayer: this.annotationLayer?.annotationLayer + }); + } + this.#renderAnnotationEditorLayer(); + }, error => { + if (!(error instanceof _pdfjsLib.RenderingCancelledException)) { + showCanvas?.(true); + } + return this.#finishRenderTask(renderTask, error); + }); + if (pdfPage.isPureXfa) { + if (!this.xfaLayer) { + const { + annotationStorage, + linkService + } = this.#layerProperties(); + this.xfaLayer = new _xfa_layer_builder.XfaLayerBuilder({ + pageDiv: div, + pdfPage, + annotationStorage, + linkService + }); + } else if (this.xfaLayer.div) { + div.append(this.xfaLayer.div); + } + this.#renderXfaLayer(); + } + div.setAttribute("data-loaded", true); + this.eventBus.dispatch("pagerender", { + source: this, + pageNumber: this.id + }); + return resultPromise; + } + setPageLabel(label) { + this.pageLabel = typeof label === "string" ? label : null; + if (this.pageLabel !== null) { + this.div.setAttribute("data-page-label", this.pageLabel); + } else { + this.div.removeAttribute("data-page-label"); + } + } + get thumbnailCanvas() { + const { + directDrawing, + initialOptionalContent, + regularAnnotations + } = this.#useThumbnailCanvas; + return directDrawing && initialOptionalContent && regularAnnotations ? this.canvas : null; + } +} +exports.PDFPageView = PDFPageView; + +/***/ }), +/* 31 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AnnotationEditorLayerBuilder = void 0; +var _pdfjsLib = __webpack_require__(4); +var _l10n_utils = __webpack_require__(29); +class AnnotationEditorLayerBuilder { + #annotationLayer = null; + #uiManager; + constructor(options) { + this.pageDiv = options.pageDiv; + this.pdfPage = options.pdfPage; + this.accessibilityManager = options.accessibilityManager; + this.l10n = options.l10n || _l10n_utils.NullL10n; + this.annotationEditorLayer = null; + this.div = null; + this._cancelled = false; + this.#uiManager = options.uiManager; + this.#annotationLayer = options.annotationLayer || null; + } + async render(viewport, intent = "display") { + if (intent !== "display") { + return; + } + if (this._cancelled) { + return; + } + const clonedViewport = viewport.clone({ + dontFlip: true + }); + if (this.div) { + this.annotationEditorLayer.update({ + viewport: clonedViewport + }); + this.show(); + return; + } + const div = this.div = document.createElement("div"); + div.className = "annotationEditorLayer"; + div.tabIndex = 0; + div.hidden = true; + this.pageDiv.append(div); + this.annotationEditorLayer = new _pdfjsLib.AnnotationEditorLayer({ + uiManager: this.#uiManager, + div, + accessibilityManager: this.accessibilityManager, + pageIndex: this.pdfPage.pageNumber - 1, + l10n: this.l10n, + viewport: clonedViewport, + annotationLayer: this.#annotationLayer + }); + const parameters = { + viewport: clonedViewport, + div, + annotations: null, + intent + }; + this.annotationEditorLayer.render(parameters); + this.show(); + } + cancel() { + this._cancelled = true; + if (!this.div) { + return; + } + this.pageDiv = null; + this.annotationEditorLayer.destroy(); + this.div.remove(); + } + hide() { + if (!this.div) { + return; + } + this.div.hidden = true; + } + show() { + if (!this.div || this.annotationEditorLayer.isEmpty) { + return; + } + this.div.hidden = false; + } +} +exports.AnnotationEditorLayerBuilder = AnnotationEditorLayerBuilder; + +/***/ }), +/* 32 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.AnnotationLayerBuilder = void 0; +var _pdfjsLib = __webpack_require__(4); +var _l10n_utils = __webpack_require__(29); +var _ui_utils = __webpack_require__(3); +class AnnotationLayerBuilder { + #onPresentationModeChanged = null; + constructor({ + pageDiv, + pdfPage, + linkService, + downloadManager, + annotationStorage = null, + imageResourcesPath = "", + renderForms = true, + l10n = _l10n_utils.NullL10n, + enableScripting = false, + hasJSActionsPromise = null, + fieldObjectsPromise = null, + annotationCanvasMap = null, + accessibilityManager = null + }) { + this.pageDiv = pageDiv; + this.pdfPage = pdfPage; + this.linkService = linkService; + this.downloadManager = downloadManager; + this.imageResourcesPath = imageResourcesPath; + this.renderForms = renderForms; + this.l10n = l10n; + this.annotationStorage = annotationStorage; + this.enableScripting = enableScripting; + this._hasJSActionsPromise = hasJSActionsPromise || Promise.resolve(false); + this._fieldObjectsPromise = fieldObjectsPromise || Promise.resolve(null); + this._annotationCanvasMap = annotationCanvasMap; + this._accessibilityManager = accessibilityManager; + this.annotationLayer = null; + this.div = null; + this._cancelled = false; + this._eventBus = linkService.eventBus; + } + async render(viewport, intent = "display") { + if (this.div) { + if (this._cancelled || !this.annotationLayer) { + return; + } + this.annotationLayer.update({ + viewport: viewport.clone({ + dontFlip: true + }) + }); + return; + } + const [annotations, hasJSActions, fieldObjects] = await Promise.all([this.pdfPage.getAnnotations({ + intent + }), this._hasJSActionsPromise, this._fieldObjectsPromise]); + if (this._cancelled) { + return; + } + const div = this.div = document.createElement("div"); + div.className = "annotationLayer"; + this.pageDiv.append(div); + if (annotations.length === 0) { + this.hide(); + return; + } + this.annotationLayer = new _pdfjsLib.AnnotationLayer({ + div, + accessibilityManager: this._accessibilityManager, + annotationCanvasMap: this._annotationCanvasMap, + l10n: this.l10n, + page: this.pdfPage, + viewport: viewport.clone({ + dontFlip: true + }) + }); + await this.annotationLayer.render({ + annotations, + imageResourcesPath: this.imageResourcesPath, + renderForms: this.renderForms, + linkService: this.linkService, + downloadManager: this.downloadManager, + annotationStorage: this.annotationStorage, + enableScripting: this.enableScripting, + hasJSActions, + fieldObjects + }); + if (this.linkService.isInPresentationMode) { + this.#updatePresentationModeState(_ui_utils.PresentationModeState.FULLSCREEN); + } + if (!this.#onPresentationModeChanged) { + this.#onPresentationModeChanged = evt => { + this.#updatePresentationModeState(evt.state); + }; + this._eventBus?._on("presentationmodechanged", this.#onPresentationModeChanged); + } + } + cancel() { + this._cancelled = true; + if (this.#onPresentationModeChanged) { + this._eventBus?._off("presentationmodechanged", this.#onPresentationModeChanged); + this.#onPresentationModeChanged = null; + } + } + hide() { + if (!this.div) { + return; + } + this.div.hidden = true; + } + #updatePresentationModeState(state) { + if (!this.div) { + return; + } + let disableFormElements = false; + switch (state) { + case _ui_utils.PresentationModeState.FULLSCREEN: + disableFormElements = true; + break; + case _ui_utils.PresentationModeState.NORMAL: + break; + default: + return; + } + for (const section of this.div.childNodes) { + if (section.hasAttribute("data-internal-link")) { + continue; + } + section.inert = disableFormElements; + } + } +} +exports.AnnotationLayerBuilder = AnnotationLayerBuilder; + +/***/ }), +/* 33 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.StructTreeLayerBuilder = void 0; +const PDF_ROLE_TO_HTML_ROLE = { + Document: null, + DocumentFragment: null, + Part: "group", + Sect: "group", + Div: "group", + Aside: "note", + NonStruct: "none", + P: null, + H: "heading", + Title: null, + FENote: "note", + Sub: "group", + Lbl: null, + Span: null, + Em: null, + Strong: null, + Link: "link", + Annot: "note", + Form: "form", + Ruby: null, + RB: null, + RT: null, + RP: null, + Warichu: null, + WT: null, + WP: null, + L: "list", + LI: "listitem", + LBody: null, + Table: "table", + TR: "row", + TH: "columnheader", + TD: "cell", + THead: "columnheader", + TBody: null, + TFoot: null, + Caption: null, + Figure: "figure", + Formula: null, + Artifact: null +}; +const HEADING_PATTERN = /^H(\d+)$/; +class StructTreeLayerBuilder { + #treeDom = undefined; + get renderingDone() { + return this.#treeDom !== undefined; + } + render(structTree) { + if (this.#treeDom !== undefined) { + return this.#treeDom; + } + const treeDom = this.#walk(structTree); + treeDom?.classList.add("structTree"); + return this.#treeDom = treeDom; + } + hide() { + if (this.#treeDom && !this.#treeDom.hidden) { + this.#treeDom.hidden = true; + } + } + show() { + if (this.#treeDom?.hidden) { + this.#treeDom.hidden = false; + } + } + #setAttributes(structElement, htmlElement) { + if (structElement.alt !== undefined) { + htmlElement.setAttribute("aria-label", structElement.alt); + } + if (structElement.id !== undefined) { + htmlElement.setAttribute("aria-owns", structElement.id); + } + if (structElement.lang !== undefined) { + htmlElement.setAttribute("lang", structElement.lang); + } + } + #walk(node) { + if (!node) { + return null; + } + const element = document.createElement("span"); + if ("role" in node) { + const { + role + } = node; + const match = role.match(HEADING_PATTERN); + if (match) { + element.setAttribute("role", "heading"); + element.setAttribute("aria-level", match[1]); + } else if (PDF_ROLE_TO_HTML_ROLE[role]) { + element.setAttribute("role", PDF_ROLE_TO_HTML_ROLE[role]); + } + } + this.#setAttributes(node, element); + if (node.children) { + if (node.children.length === 1 && "id" in node.children[0]) { + this.#setAttributes(node.children[0], element); + } else { + for (const kid of node.children) { + element.append(this.#walk(kid)); + } + } + } + return element; + } +} +exports.StructTreeLayerBuilder = StructTreeLayerBuilder; + +/***/ }), +/* 34 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TextAccessibilityManager = void 0; +var _ui_utils = __webpack_require__(3); +class TextAccessibilityManager { + #enabled = false; + #textChildren = null; + #textNodes = new Map(); + #waitingElements = new Map(); + setTextMapping(textDivs) { + this.#textChildren = textDivs; + } + static #compareElementPositions(e1, e2) { + const rect1 = e1.getBoundingClientRect(); + const rect2 = e2.getBoundingClientRect(); + if (rect1.width === 0 && rect1.height === 0) { + return +1; + } + if (rect2.width === 0 && rect2.height === 0) { + return -1; + } + const top1 = rect1.y; + const bot1 = rect1.y + rect1.height; + const mid1 = rect1.y + rect1.height / 2; + const top2 = rect2.y; + const bot2 = rect2.y + rect2.height; + const mid2 = rect2.y + rect2.height / 2; + if (mid1 <= top2 && mid2 >= bot1) { + return -1; + } + if (mid2 <= top1 && mid1 >= bot2) { + return +1; + } + const centerX1 = rect1.x + rect1.width / 2; + const centerX2 = rect2.x + rect2.width / 2; + return centerX1 - centerX2; + } + enable() { + if (this.#enabled) { + throw new Error("TextAccessibilityManager is already enabled."); + } + if (!this.#textChildren) { + throw new Error("Text divs and strings have not been set."); + } + this.#enabled = true; + this.#textChildren = this.#textChildren.slice(); + this.#textChildren.sort(TextAccessibilityManager.#compareElementPositions); + if (this.#textNodes.size > 0) { + const textChildren = this.#textChildren; + for (const [id, nodeIndex] of this.#textNodes) { + const element = document.getElementById(id); + if (!element) { + this.#textNodes.delete(id); + continue; + } + this.#addIdToAriaOwns(id, textChildren[nodeIndex]); + } + } + for (const [element, isRemovable] of this.#waitingElements) { + this.addPointerInTextLayer(element, isRemovable); + } + this.#waitingElements.clear(); + } + disable() { + if (!this.#enabled) { + return; + } + this.#waitingElements.clear(); + this.#textChildren = null; + this.#enabled = false; + } + removePointerInTextLayer(element) { + if (!this.#enabled) { + this.#waitingElements.delete(element); + return; + } + const children = this.#textChildren; + if (!children || children.length === 0) { + return; + } + const { + id + } = element; + const nodeIndex = this.#textNodes.get(id); + if (nodeIndex === undefined) { + return; + } + const node = children[nodeIndex]; + this.#textNodes.delete(id); + let owns = node.getAttribute("aria-owns"); + if (owns?.includes(id)) { + owns = owns.split(" ").filter(x => x !== id).join(" "); + if (owns) { + node.setAttribute("aria-owns", owns); + } else { + node.removeAttribute("aria-owns"); + node.setAttribute("role", "presentation"); + } + } + } + #addIdToAriaOwns(id, node) { + const owns = node.getAttribute("aria-owns"); + if (!owns?.includes(id)) { + node.setAttribute("aria-owns", owns ? `${owns} ${id}` : id); + } + node.removeAttribute("role"); + } + addPointerInTextLayer(element, isRemovable) { + const { + id + } = element; + if (!id) { + return; + } + if (!this.#enabled) { + this.#waitingElements.set(element, isRemovable); + return; + } + if (isRemovable) { + this.removePointerInTextLayer(element); + } + const children = this.#textChildren; + if (!children || children.length === 0) { + return; + } + const index = (0, _ui_utils.binarySearchFirstItem)(children, node => TextAccessibilityManager.#compareElementPositions(element, node) < 0); + const nodeIndex = Math.max(0, index - 1); + this.#addIdToAriaOwns(id, children[nodeIndex]); + this.#textNodes.set(id, nodeIndex); + } + moveElementInDOM(container, element, contentElement, isRemovable) { + this.addPointerInTextLayer(contentElement, isRemovable); + if (!container.hasChildNodes()) { + container.append(element); + return; + } + const children = Array.from(container.childNodes).filter(node => node !== element); + if (children.length === 0) { + return; + } + const elementToCompare = contentElement || element; + const index = (0, _ui_utils.binarySearchFirstItem)(children, node => TextAccessibilityManager.#compareElementPositions(elementToCompare, node) < 0); + if (index === 0) { + children[0].before(element); + } else { + children[index - 1].after(element); + } + } +} +exports.TextAccessibilityManager = TextAccessibilityManager; + +/***/ }), +/* 35 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TextHighlighter = void 0; +class TextHighlighter { + constructor({ + findController, + eventBus, + pageIndex + }) { + this.findController = findController; + this.matches = []; + this.eventBus = eventBus; + this.pageIdx = pageIndex; + this._onUpdateTextLayerMatches = null; + this.textDivs = null; + this.textContentItemsStr = null; + this.enabled = false; + } + setTextMapping(divs, texts) { + this.textDivs = divs; + this.textContentItemsStr = texts; + } + enable() { + if (!this.textDivs || !this.textContentItemsStr) { + throw new Error("Text divs and strings have not been set."); + } + if (this.enabled) { + throw new Error("TextHighlighter is already enabled."); + } + this.enabled = true; + if (!this._onUpdateTextLayerMatches) { + this._onUpdateTextLayerMatches = evt => { + if (evt.pageIndex === this.pageIdx || evt.pageIndex === -1) { + this._updateMatches(); + } + }; + this.eventBus._on("updatetextlayermatches", this._onUpdateTextLayerMatches); + } + this._updateMatches(); + } + disable() { + if (!this.enabled) { + return; + } + this.enabled = false; + if (this._onUpdateTextLayerMatches) { + this.eventBus._off("updatetextlayermatches", this._onUpdateTextLayerMatches); + this._onUpdateTextLayerMatches = null; + } + this._updateMatches(true); + } + _convertMatches(matches, matchesLength) { + if (!matches) { + return []; + } + const { + textContentItemsStr + } = this; + let i = 0, + iIndex = 0; + const end = textContentItemsStr.length - 1; + const result = []; + for (let m = 0, mm = matches.length; m < mm; m++) { + let matchIdx = matches[m]; + while (i !== end && matchIdx >= iIndex + textContentItemsStr[i].length) { + iIndex += textContentItemsStr[i].length; + i++; + } + if (i === textContentItemsStr.length) { + console.error("Could not find a matching mapping"); + } + const match = { + begin: { + divIdx: i, + offset: matchIdx - iIndex + } + }; + matchIdx += matchesLength[m]; + while (i !== end && matchIdx > iIndex + textContentItemsStr[i].length) { + iIndex += textContentItemsStr[i].length; + i++; + } + match.end = { + divIdx: i, + offset: matchIdx - iIndex + }; + result.push(match); + } + return result; + } + _renderMatches(matches) { + if (matches.length === 0) { + return; + } + const { + findController, + pageIdx + } = this; + const { + textContentItemsStr, + textDivs + } = this; + const isSelectedPage = pageIdx === findController.selected.pageIdx; + const selectedMatchIdx = findController.selected.matchIdx; + const highlightAll = findController.state.highlightAll; + let prevEnd = null; + const infinity = { + divIdx: -1, + offset: undefined + }; + function beginText(begin, className) { + const divIdx = begin.divIdx; + textDivs[divIdx].textContent = ""; + return appendTextToDiv(divIdx, 0, begin.offset, className); + } + function appendTextToDiv(divIdx, fromOffset, toOffset, className) { + let div = textDivs[divIdx]; + if (div.nodeType === Node.TEXT_NODE) { + const span = document.createElement("span"); + div.before(span); + span.append(div); + textDivs[divIdx] = span; + div = span; + } + const content = textContentItemsStr[divIdx].substring(fromOffset, toOffset); + const node = document.createTextNode(content); + if (className) { + const span = document.createElement("span"); + span.className = `${className} appended`; + span.append(node); + div.append(span); + return className.includes("selected") ? span.offsetLeft : 0; + } + div.append(node); + return 0; + } + let i0 = selectedMatchIdx, + i1 = i0 + 1; + if (highlightAll) { + i0 = 0; + i1 = matches.length; + } else if (!isSelectedPage) { + return; + } + let lastDivIdx = -1; + let lastOffset = -1; + for (let i = i0; i < i1; i++) { + const match = matches[i]; + const begin = match.begin; + if (begin.divIdx === lastDivIdx && begin.offset === lastOffset) { + continue; + } + lastDivIdx = begin.divIdx; + lastOffset = begin.offset; + const end = match.end; + const isSelected = isSelectedPage && i === selectedMatchIdx; + const highlightSuffix = isSelected ? " selected" : ""; + let selectedLeft = 0; + if (!prevEnd || begin.divIdx !== prevEnd.divIdx) { + if (prevEnd !== null) { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); + } + beginText(begin); + } else { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, begin.offset); + } + if (begin.divIdx === end.divIdx) { + selectedLeft = appendTextToDiv(begin.divIdx, begin.offset, end.offset, "highlight" + highlightSuffix); + } else { + selectedLeft = appendTextToDiv(begin.divIdx, begin.offset, infinity.offset, "highlight begin" + highlightSuffix); + for (let n0 = begin.divIdx + 1, n1 = end.divIdx; n0 < n1; n0++) { + textDivs[n0].className = "highlight middle" + highlightSuffix; + } + beginText(end, "highlight end" + highlightSuffix); + } + prevEnd = end; + if (isSelected) { + findController.scrollMatchIntoView({ + element: textDivs[begin.divIdx], + selectedLeft, + pageIndex: pageIdx, + matchIndex: selectedMatchIdx + }); + } + } + if (prevEnd) { + appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); + } + } + _updateMatches(reset = false) { + if (!this.enabled && !reset) { + return; + } + const { + findController, + matches, + pageIdx + } = this; + const { + textContentItemsStr, + textDivs + } = this; + let clearedUntilDivIdx = -1; + for (const match of matches) { + const begin = Math.max(clearedUntilDivIdx, match.begin.divIdx); + for (let n = begin, end = match.end.divIdx; n <= end; n++) { + const div = textDivs[n]; + div.textContent = textContentItemsStr[n]; + div.className = ""; + } + clearedUntilDivIdx = match.end.divIdx + 1; + } + if (!findController?.highlightMatches || reset) { + return; + } + const pageMatches = findController.pageMatches[pageIdx] || null; + const pageMatchesLength = findController.pageMatchesLength[pageIdx] || null; + this.matches = this._convertMatches(pageMatches, pageMatchesLength); + this._renderMatches(this.matches); + } +} +exports.TextHighlighter = TextHighlighter; + +/***/ }), +/* 36 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.TextLayerBuilder = void 0; +var _pdfjsLib = __webpack_require__(4); +var _ui_utils = __webpack_require__(3); +class TextLayerBuilder { + #enablePermissions = false; + #rotation = 0; + #scale = 0; + #textContentSource = null; + constructor({ + highlighter = null, + accessibilityManager = null, + isOffscreenCanvasSupported = true, + enablePermissions = false + }) { + this.textContentItemsStr = []; + this.renderingDone = false; + this.textDivs = []; + this.textDivProperties = new WeakMap(); + this.textLayerRenderTask = null; + this.highlighter = highlighter; + this.accessibilityManager = accessibilityManager; + this.isOffscreenCanvasSupported = isOffscreenCanvasSupported; + this.#enablePermissions = enablePermissions === true; + this.div = document.createElement("div"); + this.div.className = "textLayer"; + this.hide(); + } + #finishRendering() { + this.renderingDone = true; + const endOfContent = document.createElement("div"); + endOfContent.className = "endOfContent"; + this.div.append(endOfContent); + this.#bindMouse(); + } + get numTextDivs() { + return this.textDivs.length; + } + async render(viewport) { + if (!this.#textContentSource) { + throw new Error('No "textContentSource" parameter specified.'); + } + const scale = viewport.scale * (globalThis.devicePixelRatio || 1); + const { + rotation + } = viewport; + if (this.renderingDone) { + const mustRotate = rotation !== this.#rotation; + const mustRescale = scale !== this.#scale; + if (mustRotate || mustRescale) { + this.hide(); + (0, _pdfjsLib.updateTextLayer)({ + container: this.div, + viewport, + textDivs: this.textDivs, + textDivProperties: this.textDivProperties, + isOffscreenCanvasSupported: this.isOffscreenCanvasSupported, + mustRescale, + mustRotate + }); + this.#scale = scale; + this.#rotation = rotation; + } + this.show(); + return; + } + this.cancel(); + this.highlighter?.setTextMapping(this.textDivs, this.textContentItemsStr); + this.accessibilityManager?.setTextMapping(this.textDivs); + this.textLayerRenderTask = (0, _pdfjsLib.renderTextLayer)({ + textContentSource: this.#textContentSource, + container: this.div, + viewport, + textDivs: this.textDivs, + textDivProperties: this.textDivProperties, + textContentItemsStr: this.textContentItemsStr, + isOffscreenCanvasSupported: this.isOffscreenCanvasSupported + }); + await this.textLayerRenderTask.promise; + this.#finishRendering(); + this.#scale = scale; + this.#rotation = rotation; + this.show(); + this.accessibilityManager?.enable(); + } + hide() { + if (!this.div.hidden) { + this.highlighter?.disable(); + this.div.hidden = true; + } + } + show() { + if (this.div.hidden && this.renderingDone) { + this.div.hidden = false; + this.highlighter?.enable(); + } + } + cancel() { + if (this.textLayerRenderTask) { + this.textLayerRenderTask.cancel(); + this.textLayerRenderTask = null; + } + this.highlighter?.disable(); + this.accessibilityManager?.disable(); + this.textContentItemsStr.length = 0; + this.textDivs.length = 0; + this.textDivProperties = new WeakMap(); + } + setTextContentSource(source) { + this.cancel(); + this.#textContentSource = source; + } + #bindMouse() { + const { + div + } = this; + div.addEventListener("mousedown", evt => { + const end = div.querySelector(".endOfContent"); + if (!end) { + return; + } + let adjustTop = evt.target !== div; + adjustTop &&= getComputedStyle(end).getPropertyValue("-moz-user-select") !== "none"; + if (adjustTop) { + const divBounds = div.getBoundingClientRect(); + const r = Math.max(0, (evt.pageY - divBounds.top) / divBounds.height); + end.style.top = (r * 100).toFixed(2) + "%"; + } + end.classList.add("active"); + }); + div.addEventListener("mouseup", () => { + const end = div.querySelector(".endOfContent"); + if (!end) { + return; + } + end.style.top = ""; + end.classList.remove("active"); + }); + div.addEventListener("copy", event => { + if (!this.#enablePermissions) { + const selection = document.getSelection(); + event.clipboardData.setData("text/plain", (0, _ui_utils.removeNullCharacters)((0, _pdfjsLib.normalizeUnicode)(selection.toString()))); + } + event.preventDefault(); + event.stopPropagation(); + }); + } +} +exports.TextLayerBuilder = TextLayerBuilder; + +/***/ }), +/* 37 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.XfaLayerBuilder = void 0; +var _pdfjsLib = __webpack_require__(4); +class XfaLayerBuilder { + constructor({ + pageDiv, + pdfPage, + annotationStorage = null, + linkService, + xfaHtml = null + }) { + this.pageDiv = pageDiv; + this.pdfPage = pdfPage; + this.annotationStorage = annotationStorage; + this.linkService = linkService; + this.xfaHtml = xfaHtml; + this.div = null; + this._cancelled = false; + } + async render(viewport, intent = "display") { + if (intent === "print") { + const parameters = { + viewport: viewport.clone({ + dontFlip: true + }), + div: this.div, + xfaHtml: this.xfaHtml, + annotationStorage: this.annotationStorage, + linkService: this.linkService, + intent + }; + const div = document.createElement("div"); + this.pageDiv.append(div); + parameters.div = div; + return _pdfjsLib.XfaLayer.render(parameters); + } + const xfaHtml = await this.pdfPage.getXfa(); + if (this._cancelled || !xfaHtml) { + return { + textDivs: [] + }; + } + const parameters = { + viewport: viewport.clone({ + dontFlip: true + }), + div: this.div, + xfaHtml, + annotationStorage: this.annotationStorage, + linkService: this.linkService, + intent + }; + if (this.div) { + return _pdfjsLib.XfaLayer.update(parameters); + } + this.div = document.createElement("div"); + this.pageDiv.append(this.div); + parameters.div = this.div; + return _pdfjsLib.XfaLayer.render(parameters); + } + cancel() { + this._cancelled = true; + } + hide() { + if (!this.div) { + return; + } + this.div.hidden = true; + } +} +exports.XfaLayerBuilder = XfaLayerBuilder; + +/***/ }), +/* 38 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.SecondaryToolbar = void 0; +var _ui_utils = __webpack_require__(3); +var _pdf_viewer = __webpack_require__(28); +class SecondaryToolbar { + constructor(options, eventBus, externalServices) { + this.toolbar = options.toolbar; + this.toggleButton = options.toggleButton; + this.buttons = [{ + element: options.presentationModeButton, + eventName: "presentationmode", + close: true + }, { + element: options.printButton, + eventName: "print", + close: true + }, { + element: options.downloadButton, + eventName: "download", + close: true + }, { + element: options.viewBookmarkButton, + eventName: null, + close: true + }, { + element: options.firstPageButton, + eventName: "firstpage", + close: true + }, { + element: options.lastPageButton, + eventName: "lastpage", + close: true + }, { + element: options.pageRotateCwButton, + eventName: "rotatecw", + close: false + }, { + element: options.pageRotateCcwButton, + eventName: "rotateccw", + close: false + }, { + element: options.cursorSelectToolButton, + eventName: "switchcursortool", + eventDetails: { + tool: _ui_utils.CursorTool.SELECT + }, + close: true + }, { + element: options.cursorHandToolButton, + eventName: "switchcursortool", + eventDetails: { + tool: _ui_utils.CursorTool.HAND + }, + close: true + }, { + element: options.scrollPageButton, + eventName: "switchscrollmode", + eventDetails: { + mode: _ui_utils.ScrollMode.PAGE + }, + close: true + }, { + element: options.scrollVerticalButton, + eventName: "switchscrollmode", + eventDetails: { + mode: _ui_utils.ScrollMode.VERTICAL + }, + close: true + }, { + element: options.scrollHorizontalButton, + eventName: "switchscrollmode", + eventDetails: { + mode: _ui_utils.ScrollMode.HORIZONTAL + }, + close: true + }, { + element: options.scrollWrappedButton, + eventName: "switchscrollmode", + eventDetails: { + mode: _ui_utils.ScrollMode.WRAPPED + }, + close: true + }, { + element: options.spreadNoneButton, + eventName: "switchspreadmode", + eventDetails: { + mode: _ui_utils.SpreadMode.NONE + }, + close: true + }, { + element: options.spreadOddButton, + eventName: "switchspreadmode", + eventDetails: { + mode: _ui_utils.SpreadMode.ODD + }, + close: true + }, { + element: options.spreadEvenButton, + eventName: "switchspreadmode", + eventDetails: { + mode: _ui_utils.SpreadMode.EVEN + }, + close: true + }, { + element: options.documentPropertiesButton, + eventName: "documentproperties", + close: true + }]; + this.buttons.push({ + element: options.openFileButton, + eventName: "openfile", + close: true + }); + this.items = { + firstPage: options.firstPageButton, + lastPage: options.lastPageButton, + pageRotateCw: options.pageRotateCwButton, + pageRotateCcw: options.pageRotateCcwButton + }; + this.eventBus = eventBus; + this.externalServices = externalServices; + this.opened = false; + this.#bindClickListeners(); + this.#bindCursorToolsListener(options); + this.#bindScrollModeListener(options); + this.#bindSpreadModeListener(options); + this.reset(); + } + get isOpen() { + return this.opened; + } + setPageNumber(pageNumber) { + this.pageNumber = pageNumber; + this.#updateUIState(); + } + setPagesCount(pagesCount) { + this.pagesCount = pagesCount; + this.#updateUIState(); + } + reset() { + this.pageNumber = 0; + this.pagesCount = 0; + this.#updateUIState(); + this.eventBus.dispatch("secondarytoolbarreset", { + source: this + }); + } + #updateUIState() { + this.items.firstPage.disabled = this.pageNumber <= 1; + this.items.lastPage.disabled = this.pageNumber >= this.pagesCount; + this.items.pageRotateCw.disabled = this.pagesCount === 0; + this.items.pageRotateCcw.disabled = this.pagesCount === 0; + } + #bindClickListeners() { + this.toggleButton.addEventListener("click", this.toggle.bind(this)); + for (const { + element, + eventName, + close, + eventDetails + } of this.buttons) { + element.addEventListener("click", evt => { + if (eventName !== null) { + this.eventBus.dispatch(eventName, { + source: this, + ...eventDetails + }); + } + if (close) { + this.close(); + } + this.externalServices.reportTelemetry({ + type: "buttons", + data: { + id: element.id + } + }); + }); + } + } + #bindCursorToolsListener({ + cursorSelectToolButton, + cursorHandToolButton + }) { + this.eventBus._on("cursortoolchanged", ({ + tool + }) => { + (0, _ui_utils.toggleCheckedBtn)(cursorSelectToolButton, tool === _ui_utils.CursorTool.SELECT); + (0, _ui_utils.toggleCheckedBtn)(cursorHandToolButton, tool === _ui_utils.CursorTool.HAND); + }); + } + #bindScrollModeListener({ + scrollPageButton, + scrollVerticalButton, + scrollHorizontalButton, + scrollWrappedButton, + spreadNoneButton, + spreadOddButton, + spreadEvenButton + }) { + const scrollModeChanged = ({ + mode + }) => { + (0, _ui_utils.toggleCheckedBtn)(scrollPageButton, mode === _ui_utils.ScrollMode.PAGE); + (0, _ui_utils.toggleCheckedBtn)(scrollVerticalButton, mode === _ui_utils.ScrollMode.VERTICAL); + (0, _ui_utils.toggleCheckedBtn)(scrollHorizontalButton, mode === _ui_utils.ScrollMode.HORIZONTAL); + (0, _ui_utils.toggleCheckedBtn)(scrollWrappedButton, mode === _ui_utils.ScrollMode.WRAPPED); + const forceScrollModePage = this.pagesCount > _pdf_viewer.PagesCountLimit.FORCE_SCROLL_MODE_PAGE; + scrollPageButton.disabled = forceScrollModePage; + scrollVerticalButton.disabled = forceScrollModePage; + scrollHorizontalButton.disabled = forceScrollModePage; + scrollWrappedButton.disabled = forceScrollModePage; + const isHorizontal = mode === _ui_utils.ScrollMode.HORIZONTAL; + spreadNoneButton.disabled = isHorizontal; + spreadOddButton.disabled = isHorizontal; + spreadEvenButton.disabled = isHorizontal; + }; + this.eventBus._on("scrollmodechanged", scrollModeChanged); + this.eventBus._on("secondarytoolbarreset", evt => { + if (evt.source === this) { + scrollModeChanged({ + mode: _ui_utils.ScrollMode.VERTICAL + }); + } + }); + } + #bindSpreadModeListener({ + spreadNoneButton, + spreadOddButton, + spreadEvenButton + }) { + const spreadModeChanged = ({ + mode + }) => { + (0, _ui_utils.toggleCheckedBtn)(spreadNoneButton, mode === _ui_utils.SpreadMode.NONE); + (0, _ui_utils.toggleCheckedBtn)(spreadOddButton, mode === _ui_utils.SpreadMode.ODD); + (0, _ui_utils.toggleCheckedBtn)(spreadEvenButton, mode === _ui_utils.SpreadMode.EVEN); + }; + this.eventBus._on("spreadmodechanged", spreadModeChanged); + this.eventBus._on("secondarytoolbarreset", evt => { + if (evt.source === this) { + spreadModeChanged({ + mode: _ui_utils.SpreadMode.NONE + }); + } + }); + } + open() { + if (this.opened) { + return; + } + this.opened = true; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, true, this.toolbar); + } + close() { + if (!this.opened) { + return; + } + this.opened = false; + (0, _ui_utils.toggleExpandedBtn)(this.toggleButton, false, this.toolbar); + } + toggle() { + if (this.opened) { + this.close(); + } else { + this.open(); + } + } +} +exports.SecondaryToolbar = SecondaryToolbar; + +/***/ }), +/* 39 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.Toolbar = void 0; +var _ui_utils = __webpack_require__(3); +var _pdfjsLib = __webpack_require__(4); +const PAGE_NUMBER_LOADING_INDICATOR = "visiblePageIsLoading"; +class Toolbar { + #wasLocalized = false; + constructor(options, eventBus, l10n) { + this.toolbar = options.container; + this.eventBus = eventBus; + this.l10n = l10n; + this.buttons = [{ + element: options.previous, + eventName: "previouspage" + }, { + element: options.next, + eventName: "nextpage" + }, { + element: options.zoomIn, + eventName: "zoomin" + }, { + element: options.zoomOut, + eventName: "zoomout" + }, { + element: options.print, + eventName: "print" + }, { + element: options.download, + eventName: "download" + }, { + element: options.editorFreeTextButton, + eventName: "switchannotationeditormode", + eventDetails: { + get mode() { + const { + classList + } = options.editorFreeTextButton; + return classList.contains("toggled") ? _pdfjsLib.AnnotationEditorType.NONE : _pdfjsLib.AnnotationEditorType.FREETEXT; + } + } + }, { + element: options.editorInkButton, + eventName: "switchannotationeditormode", + eventDetails: { + get mode() { + const { + classList + } = options.editorInkButton; + return classList.contains("toggled") ? _pdfjsLib.AnnotationEditorType.NONE : _pdfjsLib.AnnotationEditorType.INK; + } + } + }]; + this.buttons.push({ + element: options.openFile, + eventName: "openfile" + }); + this.items = { + numPages: options.numPages, + pageNumber: options.pageNumber, + scaleSelect: options.scaleSelect, + customScaleOption: options.customScaleOption, + previous: options.previous, + next: options.next, + zoomIn: options.zoomIn, + zoomOut: options.zoomOut + }; + this.#bindListeners(options); + this.reset(); + } + setPageNumber(pageNumber, pageLabel) { + this.pageNumber = pageNumber; + this.pageLabel = pageLabel; + this.#updateUIState(false); + } + setPagesCount(pagesCount, hasPageLabels) { + this.pagesCount = pagesCount; + this.hasPageLabels = hasPageLabels; + this.#updateUIState(true); + } + setPageScale(pageScaleValue, pageScale) { + this.pageScaleValue = (pageScaleValue || pageScale).toString(); + this.pageScale = pageScale; + this.#updateUIState(false); + } + reset() { + this.pageNumber = 0; + this.pageLabel = null; + this.hasPageLabels = false; + this.pagesCount = 0; + this.pageScaleValue = _ui_utils.DEFAULT_SCALE_VALUE; + this.pageScale = _ui_utils.DEFAULT_SCALE; + this.#updateUIState(true); + this.updateLoadingIndicatorState(); + this.eventBus.dispatch("toolbarreset", { + source: this + }); + } + #bindListeners(options) { + const { + pageNumber, + scaleSelect + } = this.items; + const self = this; + for (const { + element, + eventName, + eventDetails + } of this.buttons) { + element.addEventListener("click", evt => { + if (eventName !== null) { + this.eventBus.dispatch(eventName, { + source: this, + ...eventDetails + }); + } + }); + } + pageNumber.addEventListener("click", function () { + this.select(); + }); + pageNumber.addEventListener("change", function () { + self.eventBus.dispatch("pagenumberchanged", { + source: self, + value: this.value + }); + }); + scaleSelect.addEventListener("change", function () { + if (this.value === "custom") { + return; + } + self.eventBus.dispatch("scalechanged", { + source: self, + value: this.value + }); + }); + scaleSelect.addEventListener("click", function (evt) { + const target = evt.target; + if (this.value === self.pageScaleValue && target.tagName.toUpperCase() === "OPTION") { + this.blur(); + } + }); + scaleSelect.oncontextmenu = _ui_utils.noContextMenuHandler; + this.eventBus._on("localized", () => { + this.#wasLocalized = true; + this.#adjustScaleWidth(); + this.#updateUIState(true); + }); + this.#bindEditorToolsListener(options); + } + #bindEditorToolsListener({ + editorFreeTextButton, + editorFreeTextParamsToolbar, + editorInkButton, + editorInkParamsToolbar + }) { + const editorModeChanged = ({ + mode + }) => { + (0, _ui_utils.toggleCheckedBtn)(editorFreeTextButton, mode === _pdfjsLib.AnnotationEditorType.FREETEXT, editorFreeTextParamsToolbar); + (0, _ui_utils.toggleCheckedBtn)(editorInkButton, mode === _pdfjsLib.AnnotationEditorType.INK, editorInkParamsToolbar); + const isDisable = mode === _pdfjsLib.AnnotationEditorType.DISABLE; + editorFreeTextButton.disabled = isDisable; + editorInkButton.disabled = isDisable; + }; + this.eventBus._on("annotationeditormodechanged", editorModeChanged); + this.eventBus._on("toolbarreset", evt => { + if (evt.source === this) { + editorModeChanged({ + mode: _pdfjsLib.AnnotationEditorType.DISABLE + }); + } + }); + } + #updateUIState(resetNumPages = false) { + if (!this.#wasLocalized) { + return; + } + const { + pageNumber, + pagesCount, + pageScaleValue, + pageScale, + items + } = this; + if (resetNumPages) { + if (this.hasPageLabels) { + items.pageNumber.type = "text"; + } else { + items.pageNumber.type = "number"; + this.l10n.get("of_pages", { + pagesCount + }).then(msg => { + items.numPages.textContent = msg; + }); + } + items.pageNumber.max = pagesCount; + } + if (this.hasPageLabels) { + items.pageNumber.value = this.pageLabel; + this.l10n.get("page_of_pages", { + pageNumber, + pagesCount + }).then(msg => { + items.numPages.textContent = msg; + }); + } else { + items.pageNumber.value = pageNumber; + } + items.previous.disabled = pageNumber <= 1; + items.next.disabled = pageNumber >= pagesCount; + items.zoomOut.disabled = pageScale <= _ui_utils.MIN_SCALE; + items.zoomIn.disabled = pageScale >= _ui_utils.MAX_SCALE; + this.l10n.get("page_scale_percent", { + scale: Math.round(pageScale * 10000) / 100 + }).then(msg => { + let predefinedValueFound = false; + for (const option of items.scaleSelect.options) { + if (option.value !== pageScaleValue) { + option.selected = false; + continue; + } + option.selected = true; + predefinedValueFound = true; + } + if (!predefinedValueFound) { + items.customScaleOption.textContent = msg; + items.customScaleOption.selected = true; + } + }); + } + updateLoadingIndicatorState(loading = false) { + const { + pageNumber + } = this.items; + pageNumber.classList.toggle(PAGE_NUMBER_LOADING_INDICATOR, loading); + } + async #adjustScaleWidth() { + const { + items, + l10n + } = this; + const predefinedValuesPromise = Promise.all([l10n.get("page_scale_auto"), l10n.get("page_scale_actual"), l10n.get("page_scale_fit"), l10n.get("page_scale_width")]); + await _ui_utils.animationStarted; + const style = getComputedStyle(items.scaleSelect); + const scaleSelectWidth = parseFloat(style.getPropertyValue("--scale-select-width")); + const canvas = document.createElement("canvas"); + const ctx = canvas.getContext("2d", { + alpha: false + }); + ctx.font = `${style.fontSize} ${style.fontFamily}`; + let maxWidth = 0; + for (const predefinedValue of await predefinedValuesPromise) { + const { + width + } = ctx.measureText(predefinedValue); + if (width > maxWidth) { + maxWidth = width; + } + } + maxWidth += 0.3 * scaleSelectWidth; + if (maxWidth > scaleSelectWidth) { + const container = items.scaleSelect.parentNode; + container.style.setProperty("--scale-select-width", `${maxWidth}px`); + } + canvas.width = 0; + canvas.height = 0; + } +} +exports.Toolbar = Toolbar; + +/***/ }), +/* 40 */ +/***/ ((__unused_webpack_module, exports) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.ViewHistory = void 0; +const DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20; +class ViewHistory { + constructor(fingerprint, cacheSize = DEFAULT_VIEW_HISTORY_CACHE_SIZE) { + this.fingerprint = fingerprint; + this.cacheSize = cacheSize; + this._initializedPromise = this._readFromStorage().then(databaseStr => { + const database = JSON.parse(databaseStr || "{}"); + let index = -1; + if (!Array.isArray(database.files)) { + database.files = []; + } else { + while (database.files.length >= this.cacheSize) { + database.files.shift(); + } + for (let i = 0, ii = database.files.length; i < ii; i++) { + const branch = database.files[i]; + if (branch.fingerprint === this.fingerprint) { + index = i; + break; + } + } + } + if (index === -1) { + index = database.files.push({ + fingerprint: this.fingerprint + }) - 1; + } + this.file = database.files[index]; + this.database = database; + }); + } + async _writeToStorage() { + const databaseStr = JSON.stringify(this.database); + localStorage.setItem("pdfjs.history", databaseStr); + } + async _readFromStorage() { + return localStorage.getItem("pdfjs.history"); + } + async set(name, val) { + await this._initializedPromise; + this.file[name] = val; + return this._writeToStorage(); + } + async setMultiple(properties) { + await this._initializedPromise; + for (const name in properties) { + this.file[name] = properties[name]; + } + return this._writeToStorage(); + } + async get(name, defaultValue) { + await this._initializedPromise; + const val = this.file[name]; + return val !== undefined ? val : defaultValue; + } + async getMultiple(properties) { + await this._initializedPromise; + const values = Object.create(null); + for (const name in properties) { + const val = this.file[name]; + values[name] = val !== undefined ? val : properties[name]; + } + return values; + } +} +exports.ViewHistory = ViewHistory; + +/***/ }), +/* 41 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.BasePreferences = void 0; +var _app_options = __webpack_require__(5); +class BasePreferences { + #defaults = Object.freeze({ + "annotationEditorMode": 0, + "annotationMode": 2, + "cursorToolOnLoad": 0, + "defaultZoomDelay": 400, + "defaultZoomValue": "", + "disablePageLabels": false, + "enablePermissions": false, + "enablePrintAutoRotate": true, + "enableScripting": true, + "externalLinkTarget": 0, + "historyUpdateUrl": false, + "ignoreDestinationZoom": false, + "forcePageColors": false, + "pageColorsBackground": "Canvas", + "pageColorsForeground": "CanvasText", + "pdfBugEnabled": false, + "sidebarViewOnLoad": -1, + "scrollModeOnLoad": -1, + "spreadModeOnLoad": -1, + "textLayerMode": 1, + "useOnlyCssZoom": false, + "viewerCssTheme": 0, + "viewOnLoad": 0, + "disableAutoFetch": false, + "disableFontFace": false, + "disableRange": false, + "disableStream": false, + "enableXfa": true + }); + #prefs = Object.create(null); + #initializedPromise = null; + constructor() { + if (this.constructor === BasePreferences) { + throw new Error("Cannot initialize BasePreferences."); + } + this.#initializedPromise = this._readFromStorage(this.#defaults).then(prefs => { + for (const name in this.#defaults) { + const prefValue = prefs?.[name]; + if (typeof prefValue === typeof this.#defaults[name]) { + this.#prefs[name] = prefValue; + } + } + }); + } + async _writeToStorage(prefObj) { + throw new Error("Not implemented: _writeToStorage"); + } + async _readFromStorage(prefObj) { + throw new Error("Not implemented: _readFromStorage"); + } + async reset() { + await this.#initializedPromise; + const prefs = this.#prefs; + this.#prefs = Object.create(null); + return this._writeToStorage(this.#defaults).catch(reason => { + this.#prefs = prefs; + throw reason; + }); + } + async set(name, value) { + await this.#initializedPromise; + const defaultValue = this.#defaults[name], + prefs = this.#prefs; + if (defaultValue === undefined) { + throw new Error(`Set preference: "${name}" is undefined.`); + } else if (value === undefined) { + throw new Error("Set preference: no value is specified."); + } + const valueType = typeof value, + defaultType = typeof defaultValue; + if (valueType !== defaultType) { + if (valueType === "number" && defaultType === "string") { + value = value.toString(); + } else { + throw new Error(`Set preference: "${value}" is a ${valueType}, expected a ${defaultType}.`); + } + } else { + if (valueType === "number" && !Number.isInteger(value)) { + throw new Error(`Set preference: "${value}" must be an integer.`); + } + } + this.#prefs[name] = value; + return this._writeToStorage(this.#prefs).catch(reason => { + this.#prefs = prefs; + throw reason; + }); + } + async get(name) { + await this.#initializedPromise; + const defaultValue = this.#defaults[name]; + if (defaultValue === undefined) { + throw new Error(`Get preference: "${name}" is undefined.`); + } + return this.#prefs[name] ?? defaultValue; + } + async getAll() { + await this.#initializedPromise; + const obj = Object.create(null); + for (const name in this.#defaults) { + obj[name] = this.#prefs[name] ?? this.#defaults[name]; + } + return obj; + } +} +exports.BasePreferences = BasePreferences; + +/***/ }), +/* 42 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.DownloadManager = void 0; +var _pdfjsLib = __webpack_require__(4); +; +function download(blobUrl, filename) { + const a = document.createElement("a"); + if (!a.click) { + throw new Error('DownloadManager: "a.click()" is not supported.'); + } + a.href = blobUrl; + a.target = "_parent"; + if ("download" in a) { + a.download = filename; + } + (document.body || document.documentElement).append(a); + a.click(); + a.remove(); +} +class DownloadManager { + #openBlobUrls = new WeakMap(); + downloadUrl(url, filename, _options) { + if (!(0, _pdfjsLib.createValidAbsoluteUrl)(url, "http://example.com")) { + console.error(`downloadUrl - not a valid URL: ${url}`); + return; + } + download(url + "#pdfjs.action=download", filename); + } + downloadData(data, filename, contentType) { + const blobUrl = URL.createObjectURL(new Blob([data], { + type: contentType + })); + download(blobUrl, filename); + } + openOrDownloadData(element, data, filename) { + const isPdfData = (0, _pdfjsLib.isPdfFile)(filename); + const contentType = isPdfData ? "application/pdf" : ""; + if (isPdfData) { + let blobUrl = this.#openBlobUrls.get(element); + if (!blobUrl) { + blobUrl = URL.createObjectURL(new Blob([data], { + type: contentType + })); + this.#openBlobUrls.set(element, blobUrl); + } + let viewerUrl; + viewerUrl = "?file=" + encodeURIComponent(blobUrl + "#" + filename); + try { + window.open(viewerUrl); + return true; + } catch (ex) { + console.error(`openOrDownloadData: ${ex}`); + URL.revokeObjectURL(blobUrl); + this.#openBlobUrls.delete(element); + } + } + this.downloadData(data, filename, contentType); + return false; + } + download(blob, url, filename, _options) { + const blobUrl = URL.createObjectURL(blob); + download(blobUrl, filename); + } +} +exports.DownloadManager = DownloadManager; + +/***/ }), +/* 43 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GenericL10n = void 0; +__webpack_require__(44); +var _l10n_utils = __webpack_require__(29); +const PARTIAL_LANG_CODES = { + en: "en-US", + es: "es-ES", + fy: "fy-NL", + ga: "ga-IE", + gu: "gu-IN", + hi: "hi-IN", + hy: "hy-AM", + nb: "nb-NO", + ne: "ne-NP", + nn: "nn-NO", + pa: "pa-IN", + pt: "pt-PT", + sv: "sv-SE", + zh: "zh-CN" +}; +function fixupLangCode(langCode) { + return PARTIAL_LANG_CODES[langCode?.toLowerCase()] || langCode; +} +class GenericL10n { + constructor(lang) { + const { + webL10n + } = document; + this._lang = lang; + this._ready = new Promise((resolve, reject) => { + webL10n.setLanguage(fixupLangCode(lang), () => { + resolve(webL10n); + }); + }); + } + async getLanguage() { + const l10n = await this._ready; + return l10n.getLanguage(); + } + async getDirection() { + const l10n = await this._ready; + return l10n.getDirection(); + } + async get(key, args = null, fallback = (0, _l10n_utils.getL10nFallback)(key, args)) { + const l10n = await this._ready; + return l10n.get(key, args, fallback); + } + async translate(element) { + const l10n = await this._ready; + return l10n.translate(element); + } +} +exports.GenericL10n = GenericL10n; + +/***/ }), +/* 44 */ +/***/ (() => { + + + +document.webL10n = function (window, document) { + var gL10nData = {}; + var gTextData = ''; + var gTextProp = 'textContent'; + var gLanguage = ''; + var gMacros = {}; + var gReadyState = 'loading'; + var gAsyncResourceLoading = true; + function getL10nResourceLinks() { + return document.querySelectorAll('link[type="application/l10n"]'); + } + function getL10nDictionary() { + var script = document.querySelector('script[type="application/l10n"]'); + return script ? JSON.parse(script.innerHTML) : null; + } + function getTranslatableChildren(element) { + return element ? element.querySelectorAll('*[data-l10n-id]') : []; + } + function getL10nAttributes(element) { + if (!element) return {}; + var l10nId = element.getAttribute('data-l10n-id'); + var l10nArgs = element.getAttribute('data-l10n-args'); + var args = {}; + if (l10nArgs) { + try { + args = JSON.parse(l10nArgs); + } catch (e) { + console.warn('could not parse arguments for #' + l10nId); + } + } + return { + id: l10nId, + args: args + }; + } + function xhrLoadText(url, onSuccess, onFailure) { + onSuccess = onSuccess || function _onSuccess(data) {}; + onFailure = onFailure || function _onFailure() {}; + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, gAsyncResourceLoading); + if (xhr.overrideMimeType) { + xhr.overrideMimeType('text/plain; charset=utf-8'); + } + xhr.onreadystatechange = function () { + if (xhr.readyState == 4) { + if (xhr.status == 200 || xhr.status === 0) { + onSuccess(xhr.responseText); + } else { + onFailure(); + } + } + }; + xhr.onerror = onFailure; + xhr.ontimeout = onFailure; + try { + xhr.send(null); + } catch (e) { + onFailure(); + } + } + function parseResource(href, lang, successCallback, failureCallback) { + var baseURL = href.replace(/[^\/]*$/, '') || './'; + function evalString(text) { + if (text.lastIndexOf('\\') < 0) return text; + return text.replace(/\\\\/g, '\\').replace(/\\n/g, '\n').replace(/\\r/g, '\r').replace(/\\t/g, '\t').replace(/\\b/g, '\b').replace(/\\f/g, '\f').replace(/\\{/g, '{').replace(/\\}/g, '}').replace(/\\"/g, '"').replace(/\\'/g, "'"); + } + function parseProperties(text, parsedPropertiesCallback) { + var dictionary = {}; + var reBlank = /^\s*|\s*$/; + var reComment = /^\s*#|^\s*$/; + var reSection = /^\s*\[(.*)\]\s*$/; + var reImport = /^\s*@import\s+url\((.*)\)\s*$/i; + var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; + function parseRawLines(rawText, extendedSyntax, parsedRawLinesCallback) { + var entries = rawText.replace(reBlank, '').split(/[\r\n]+/); + var currentLang = '*'; + var genericLang = lang.split('-', 1)[0]; + var skipLang = false; + var match = ''; + function nextEntry() { + while (true) { + if (!entries.length) { + parsedRawLinesCallback(); + return; + } + var line = entries.shift(); + if (reComment.test(line)) continue; + if (extendedSyntax) { + match = reSection.exec(line); + if (match) { + currentLang = match[1].toLowerCase(); + skipLang = currentLang !== '*' && currentLang !== lang && currentLang !== genericLang; + continue; + } else if (skipLang) { + continue; + } + match = reImport.exec(line); + if (match) { + loadImport(baseURL + match[1], nextEntry); + return; + } + } + var tmp = line.match(reSplit); + if (tmp && tmp.length == 3) { + dictionary[tmp[1]] = evalString(tmp[2]); + } + } + } + nextEntry(); + } + function loadImport(url, callback) { + xhrLoadText(url, function (content) { + parseRawLines(content, false, callback); + }, function () { + console.warn(url + ' not found.'); + callback(); + }); + } + parseRawLines(text, true, function () { + parsedPropertiesCallback(dictionary); + }); + } + xhrLoadText(href, function (response) { + gTextData += response; + parseProperties(response, function (data) { + for (var key in data) { + var id, + prop, + index = key.lastIndexOf('.'); + if (index > 0) { + id = key.substring(0, index); + prop = key.substring(index + 1); + } else { + id = key; + prop = gTextProp; + } + if (!gL10nData[id]) { + gL10nData[id] = {}; + } + gL10nData[id][prop] = data[key]; + } + if (successCallback) { + successCallback(); + } + }); + }, failureCallback); + } + function loadLocale(lang, callback) { + if (lang) { + lang = lang.toLowerCase(); + } + callback = callback || function _callback() {}; + clear(); + gLanguage = lang; + var langLinks = getL10nResourceLinks(); + var langCount = langLinks.length; + if (langCount === 0) { + var dict = getL10nDictionary(); + if (dict && dict.locales && dict.default_locale) { + console.log('using the embedded JSON directory, early way out'); + gL10nData = dict.locales[lang]; + if (!gL10nData) { + var defaultLocale = dict.default_locale.toLowerCase(); + for (var anyCaseLang in dict.locales) { + anyCaseLang = anyCaseLang.toLowerCase(); + if (anyCaseLang === lang) { + gL10nData = dict.locales[lang]; + break; + } else if (anyCaseLang === defaultLocale) { + gL10nData = dict.locales[defaultLocale]; + } + } + } + callback(); + } else { + console.log('no resource to load, early way out'); + } + gReadyState = 'complete'; + return; + } + var onResourceLoaded = null; + var gResourceCount = 0; + onResourceLoaded = function () { + gResourceCount++; + if (gResourceCount >= langCount) { + callback(); + gReadyState = 'complete'; + } + }; + function L10nResourceLink(link) { + var href = link.href; + this.load = function (lang, callback) { + parseResource(href, lang, callback, function () { + console.warn(href + ' not found.'); + console.warn('"' + lang + '" resource not found'); + gLanguage = ''; + callback(); + }); + }; + } + for (var i = 0; i < langCount; i++) { + var resource = new L10nResourceLink(langLinks[i]); + resource.load(lang, onResourceLoaded); + } + } + function clear() { + gL10nData = {}; + gTextData = ''; + gLanguage = ''; + } + function getPluralRules(lang) { + var locales2rules = { + 'af': 3, + 'ak': 4, + 'am': 4, + 'ar': 1, + 'asa': 3, + 'az': 0, + 'be': 11, + 'bem': 3, + 'bez': 3, + 'bg': 3, + 'bh': 4, + 'bm': 0, + 'bn': 3, + 'bo': 0, + 'br': 20, + 'brx': 3, + 'bs': 11, + 'ca': 3, + 'cgg': 3, + 'chr': 3, + 'cs': 12, + 'cy': 17, + 'da': 3, + 'de': 3, + 'dv': 3, + 'dz': 0, + 'ee': 3, + 'el': 3, + 'en': 3, + 'eo': 3, + 'es': 3, + 'et': 3, + 'eu': 3, + 'fa': 0, + 'ff': 5, + 'fi': 3, + 'fil': 4, + 'fo': 3, + 'fr': 5, + 'fur': 3, + 'fy': 3, + 'ga': 8, + 'gd': 24, + 'gl': 3, + 'gsw': 3, + 'gu': 3, + 'guw': 4, + 'gv': 23, + 'ha': 3, + 'haw': 3, + 'he': 2, + 'hi': 4, + 'hr': 11, + 'hu': 0, + 'id': 0, + 'ig': 0, + 'ii': 0, + 'is': 3, + 'it': 3, + 'iu': 7, + 'ja': 0, + 'jmc': 3, + 'jv': 0, + 'ka': 0, + 'kab': 5, + 'kaj': 3, + 'kcg': 3, + 'kde': 0, + 'kea': 0, + 'kk': 3, + 'kl': 3, + 'km': 0, + 'kn': 0, + 'ko': 0, + 'ksb': 3, + 'ksh': 21, + 'ku': 3, + 'kw': 7, + 'lag': 18, + 'lb': 3, + 'lg': 3, + 'ln': 4, + 'lo': 0, + 'lt': 10, + 'lv': 6, + 'mas': 3, + 'mg': 4, + 'mk': 16, + 'ml': 3, + 'mn': 3, + 'mo': 9, + 'mr': 3, + 'ms': 0, + 'mt': 15, + 'my': 0, + 'nah': 3, + 'naq': 7, + 'nb': 3, + 'nd': 3, + 'ne': 3, + 'nl': 3, + 'nn': 3, + 'no': 3, + 'nr': 3, + 'nso': 4, + 'ny': 3, + 'nyn': 3, + 'om': 3, + 'or': 3, + 'pa': 3, + 'pap': 3, + 'pl': 13, + 'ps': 3, + 'pt': 3, + 'rm': 3, + 'ro': 9, + 'rof': 3, + 'ru': 11, + 'rwk': 3, + 'sah': 0, + 'saq': 3, + 'se': 7, + 'seh': 3, + 'ses': 0, + 'sg': 0, + 'sh': 11, + 'shi': 19, + 'sk': 12, + 'sl': 14, + 'sma': 7, + 'smi': 7, + 'smj': 7, + 'smn': 7, + 'sms': 7, + 'sn': 3, + 'so': 3, + 'sq': 3, + 'sr': 11, + 'ss': 3, + 'ssy': 3, + 'st': 3, + 'sv': 3, + 'sw': 3, + 'syr': 3, + 'ta': 3, + 'te': 3, + 'teo': 3, + 'th': 0, + 'ti': 4, + 'tig': 3, + 'tk': 3, + 'tl': 4, + 'tn': 3, + 'to': 0, + 'tr': 0, + 'ts': 3, + 'tzm': 22, + 'uk': 11, + 'ur': 3, + 've': 3, + 'vi': 0, + 'vun': 3, + 'wa': 4, + 'wae': 3, + 'wo': 0, + 'xh': 3, + 'xog': 3, + 'yo': 0, + 'zh': 0, + 'zu': 3 + }; + function isIn(n, list) { + return list.indexOf(n) !== -1; + } + function isBetween(n, start, end) { + return start <= n && n <= end; + } + var pluralRules = { + '0': function (n) { + return 'other'; + }, + '1': function (n) { + if (isBetween(n % 100, 3, 10)) return 'few'; + if (n === 0) return 'zero'; + if (isBetween(n % 100, 11, 99)) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '2': function (n) { + if (n !== 0 && n % 10 === 0) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '3': function (n) { + if (n == 1) return 'one'; + return 'other'; + }, + '4': function (n) { + if (isBetween(n, 0, 1)) return 'one'; + return 'other'; + }, + '5': function (n) { + if (isBetween(n, 0, 2) && n != 2) return 'one'; + return 'other'; + }, + '6': function (n) { + if (n === 0) return 'zero'; + if (n % 10 == 1 && n % 100 != 11) return 'one'; + return 'other'; + }, + '7': function (n) { + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '8': function (n) { + if (isBetween(n, 3, 6)) return 'few'; + if (isBetween(n, 7, 10)) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '9': function (n) { + if (n === 0 || n != 1 && isBetween(n % 100, 1, 19)) return 'few'; + if (n == 1) return 'one'; + return 'other'; + }, + '10': function (n) { + if (isBetween(n % 10, 2, 9) && !isBetween(n % 100, 11, 19)) return 'few'; + if (n % 10 == 1 && !isBetween(n % 100, 11, 19)) return 'one'; + return 'other'; + }, + '11': function (n) { + if (isBetween(n % 10, 2, 4) && !isBetween(n % 100, 12, 14)) return 'few'; + if (n % 10 === 0 || isBetween(n % 10, 5, 9) || isBetween(n % 100, 11, 14)) return 'many'; + if (n % 10 == 1 && n % 100 != 11) return 'one'; + return 'other'; + }, + '12': function (n) { + if (isBetween(n, 2, 4)) return 'few'; + if (n == 1) return 'one'; + return 'other'; + }, + '13': function (n) { + if (isBetween(n % 10, 2, 4) && !isBetween(n % 100, 12, 14)) return 'few'; + if (n != 1 && isBetween(n % 10, 0, 1) || isBetween(n % 10, 5, 9) || isBetween(n % 100, 12, 14)) return 'many'; + if (n == 1) return 'one'; + return 'other'; + }, + '14': function (n) { + if (isBetween(n % 100, 3, 4)) return 'few'; + if (n % 100 == 2) return 'two'; + if (n % 100 == 1) return 'one'; + return 'other'; + }, + '15': function (n) { + if (n === 0 || isBetween(n % 100, 2, 10)) return 'few'; + if (isBetween(n % 100, 11, 19)) return 'many'; + if (n == 1) return 'one'; + return 'other'; + }, + '16': function (n) { + if (n % 10 == 1 && n != 11) return 'one'; + return 'other'; + }, + '17': function (n) { + if (n == 3) return 'few'; + if (n === 0) return 'zero'; + if (n == 6) return 'many'; + if (n == 2) return 'two'; + if (n == 1) return 'one'; + return 'other'; + }, + '18': function (n) { + if (n === 0) return 'zero'; + if (isBetween(n, 0, 2) && n !== 0 && n != 2) return 'one'; + return 'other'; + }, + '19': function (n) { + if (isBetween(n, 2, 10)) return 'few'; + if (isBetween(n, 0, 1)) return 'one'; + return 'other'; + }, + '20': function (n) { + if ((isBetween(n % 10, 3, 4) || n % 10 == 9) && !(isBetween(n % 100, 10, 19) || isBetween(n % 100, 70, 79) || isBetween(n % 100, 90, 99))) return 'few'; + if (n % 1000000 === 0 && n !== 0) return 'many'; + if (n % 10 == 2 && !isIn(n % 100, [12, 72, 92])) return 'two'; + if (n % 10 == 1 && !isIn(n % 100, [11, 71, 91])) return 'one'; + return 'other'; + }, + '21': function (n) { + if (n === 0) return 'zero'; + if (n == 1) return 'one'; + return 'other'; + }, + '22': function (n) { + if (isBetween(n, 0, 1) || isBetween(n, 11, 99)) return 'one'; + return 'other'; + }, + '23': function (n) { + if (isBetween(n % 10, 1, 2) || n % 20 === 0) return 'one'; + return 'other'; + }, + '24': function (n) { + if (isBetween(n, 3, 10) || isBetween(n, 13, 19)) return 'few'; + if (isIn(n, [2, 12])) return 'two'; + if (isIn(n, [1, 11])) return 'one'; + return 'other'; + } + }; + var index = locales2rules[lang.replace(/-.*$/, '')]; + if (!(index in pluralRules)) { + console.warn('plural form unknown for [' + lang + ']'); + return function () { + return 'other'; + }; + } + return pluralRules[index]; + } + gMacros.plural = function (str, param, key, prop) { + var n = parseFloat(param); + if (isNaN(n)) return str; + if (prop != gTextProp) return str; + if (!gMacros._pluralRules) { + gMacros._pluralRules = getPluralRules(gLanguage); + } + var index = '[' + gMacros._pluralRules(n) + ']'; + if (n === 0 && key + '[zero]' in gL10nData) { + str = gL10nData[key + '[zero]'][prop]; + } else if (n == 1 && key + '[one]' in gL10nData) { + str = gL10nData[key + '[one]'][prop]; + } else if (n == 2 && key + '[two]' in gL10nData) { + str = gL10nData[key + '[two]'][prop]; + } else if (key + index in gL10nData) { + str = gL10nData[key + index][prop]; + } else if (key + '[other]' in gL10nData) { + str = gL10nData[key + '[other]'][prop]; + } + return str; + }; + function getL10nData(key, args, fallback) { + var data = gL10nData[key]; + if (!data) { + console.warn('#' + key + ' is undefined.'); + if (!fallback) { + return null; + } + data = fallback; + } + var rv = {}; + for (var prop in data) { + var str = data[prop]; + str = substIndexes(str, args, key, prop); + str = substArguments(str, args, key); + rv[prop] = str; + } + return rv; + } + function substIndexes(str, args, key, prop) { + var reIndex = /\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/; + var reMatch = reIndex.exec(str); + if (!reMatch || !reMatch.length) return str; + var macroName = reMatch[1]; + var paramName = reMatch[2]; + var param; + if (args && paramName in args) { + param = args[paramName]; + } else if (paramName in gL10nData) { + param = gL10nData[paramName]; + } + if (macroName in gMacros) { + var macro = gMacros[macroName]; + str = macro(str, param, key, prop); + } + return str; + } + function substArguments(str, args, key) { + var reArgs = /\{\{\s*(.+?)\s*\}\}/g; + return str.replace(reArgs, function (matched_text, arg) { + if (args && arg in args) { + return args[arg]; + } + if (arg in gL10nData) { + return gL10nData[arg]; + } + console.log('argument {{' + arg + '}} for #' + key + ' is undefined.'); + return matched_text; + }); + } + function translateElement(element) { + var l10n = getL10nAttributes(element); + if (!l10n.id) return; + var data = getL10nData(l10n.id, l10n.args); + if (!data) { + console.warn('#' + l10n.id + ' is undefined.'); + return; + } + if (data[gTextProp]) { + if (getChildElementCount(element) === 0) { + element[gTextProp] = data[gTextProp]; + } else { + var children = element.childNodes; + var found = false; + for (var i = 0, l = children.length; i < l; i++) { + if (children[i].nodeType === 3 && /\S/.test(children[i].nodeValue)) { + if (found) { + children[i].nodeValue = ''; + } else { + children[i].nodeValue = data[gTextProp]; + found = true; + } + } + } + if (!found) { + var textNode = document.createTextNode(data[gTextProp]); + element.prepend(textNode); + } + } + delete data[gTextProp]; + } + for (var k in data) { + element[k] = data[k]; + } + } + function getChildElementCount(element) { + if (element.children) { + return element.children.length; + } + if (typeof element.childElementCount !== 'undefined') { + return element.childElementCount; + } + var count = 0; + for (var i = 0; i < element.childNodes.length; i++) { + count += element.nodeType === 1 ? 1 : 0; + } + return count; + } + function translateFragment(element) { + element = element || document.documentElement; + var children = getTranslatableChildren(element); + var elementCount = children.length; + for (var i = 0; i < elementCount; i++) { + translateElement(children[i]); + } + translateElement(element); + } + return { + get: function (key, args, fallbackString) { + var index = key.lastIndexOf('.'); + var prop = gTextProp; + if (index > 0) { + prop = key.substring(index + 1); + key = key.substring(0, index); + } + var fallback; + if (fallbackString) { + fallback = {}; + fallback[prop] = fallbackString; + } + var data = getL10nData(key, args, fallback); + if (data && prop in data) { + return data[prop]; + } + return '{{' + key + '}}'; + }, + getData: function () { + return gL10nData; + }, + getText: function () { + return gTextData; + }, + getLanguage: function () { + return gLanguage; + }, + setLanguage: function (lang, callback) { + loadLocale(lang, function () { + if (callback) callback(); + }); + }, + getDirection: function () { + var rtlList = ['ar', 'he', 'fa', 'ps', 'ur']; + var shortCode = gLanguage.split('-', 1)[0]; + return rtlList.indexOf(shortCode) >= 0 ? 'rtl' : 'ltr'; + }, + translate: translateFragment, + getReadyState: function () { + return gReadyState; + }, + ready: function (callback) { + if (!callback) { + return; + } else if (gReadyState == 'complete' || gReadyState == 'interactive') { + window.setTimeout(function () { + callback(); + }); + } else if (document.addEventListener) { + document.addEventListener('localized', function once() { + document.removeEventListener('localized', once); + callback(); + }); + } + } + }; +}(window, document); + +/***/ }), +/* 45 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.GenericScripting = void 0; +exports.docProperties = docProperties; +var _pdfjsLib = __webpack_require__(4); +async function docProperties(pdfDocument) { + const url = "", + baseUrl = url.split("#")[0]; + let { + info, + metadata, + contentDispositionFilename, + contentLength + } = await pdfDocument.getMetadata(); + if (!contentLength) { + const { + length + } = await pdfDocument.getDownloadInfo(); + contentLength = length; + } + return { + ...info, + baseURL: baseUrl, + filesize: contentLength, + filename: contentDispositionFilename || (0, _pdfjsLib.getPdfFilenameFromUrl)(url), + metadata: metadata?.getRaw(), + authors: metadata?.get("dc:creator"), + numPages: pdfDocument.numPages, + URL: url + }; +} +class GenericScripting { + constructor(sandboxBundleSrc) { + this._ready = (0, _pdfjsLib.loadScript)(sandboxBundleSrc, true).then(() => { + return window.pdfjsSandbox.QuickJSSandbox(); + }); + } + async createSandbox(data) { + const sandbox = await this._ready; + sandbox.create(data); + } + async dispatchEventInSandbox(event) { + const sandbox = await this._ready; + setTimeout(() => sandbox.dispatchEvent(event), 0); + } + async destroySandbox() { + const sandbox = await this._ready; + sandbox.nukeSandbox(); + } +} +exports.GenericScripting = GenericScripting; + +/***/ }), +/* 46 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.PDFPrintService = void 0; +var _pdfjsLib = __webpack_require__(4); +var _app = __webpack_require__(2); +var _print_utils = __webpack_require__(47); +let activeService = null; +let dialog = null; +let overlayManager = null; +function renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size, printResolution, optionalContentConfigPromise, printAnnotationStoragePromise) { + const scratchCanvas = activeService.scratchCanvas; + const PRINT_UNITS = printResolution / _pdfjsLib.PixelsPerInch.PDF; + scratchCanvas.width = Math.floor(size.width * PRINT_UNITS); + scratchCanvas.height = Math.floor(size.height * PRINT_UNITS); + const ctx = scratchCanvas.getContext("2d"); + ctx.save(); + ctx.fillStyle = "rgb(255, 255, 255)"; + ctx.fillRect(0, 0, scratchCanvas.width, scratchCanvas.height); + ctx.restore(); + return Promise.all([pdfDocument.getPage(pageNumber), printAnnotationStoragePromise]).then(function ([pdfPage, printAnnotationStorage]) { + const renderContext = { + canvasContext: ctx, + transform: [PRINT_UNITS, 0, 0, PRINT_UNITS, 0, 0], + viewport: pdfPage.getViewport({ + scale: 1, + rotation: size.rotation + }), + intent: "print", + annotationMode: _pdfjsLib.AnnotationMode.ENABLE_STORAGE, + optionalContentConfigPromise, + printAnnotationStorage + }; + return pdfPage.render(renderContext).promise; + }); +} +class PDFPrintService { + constructor(pdfDocument, pagesOverview, printContainer, printResolution, optionalContentConfigPromise = null, printAnnotationStoragePromise = null, l10n) { + this.pdfDocument = pdfDocument; + this.pagesOverview = pagesOverview; + this.printContainer = printContainer; + this._printResolution = printResolution || 150; + this._optionalContentConfigPromise = optionalContentConfigPromise || pdfDocument.getOptionalContentConfig(); + this._printAnnotationStoragePromise = printAnnotationStoragePromise || Promise.resolve(); + this.l10n = l10n; + this.currentPage = -1; + this.scratchCanvas = document.createElement("canvas"); + } + layout() { + this.throwIfInactive(); + const body = document.querySelector("body"); + body.setAttribute("data-pdfjsprinting", true); + const { + width, + height + } = this.pagesOverview[0]; + const hasEqualPageSizes = this.pagesOverview.every(size => size.width === width && size.height === height); + if (!hasEqualPageSizes) { + console.warn("Not all pages have the same size. The printed result may be incorrect!"); + } + this.pageStyleSheet = document.createElement("style"); + this.pageStyleSheet.textContent = `@page { size: ${width}pt ${height}pt;}`; + body.append(this.pageStyleSheet); + } + destroy() { + if (activeService !== this) { + return; + } + this.printContainer.textContent = ""; + const body = document.querySelector("body"); + body.removeAttribute("data-pdfjsprinting"); + if (this.pageStyleSheet) { + this.pageStyleSheet.remove(); + this.pageStyleSheet = null; + } + this.scratchCanvas.width = this.scratchCanvas.height = 0; + this.scratchCanvas = null; + activeService = null; + ensureOverlay().then(function () { + if (overlayManager.active === dialog) { + overlayManager.close(dialog); + } + }); + } + renderPages() { + if (this.pdfDocument.isPureXfa) { + (0, _print_utils.getXfaHtmlForPrinting)(this.printContainer, this.pdfDocument); + return Promise.resolve(); + } + const pageCount = this.pagesOverview.length; + const renderNextPage = (resolve, reject) => { + this.throwIfInactive(); + if (++this.currentPage >= pageCount) { + renderProgress(pageCount, pageCount, this.l10n); + resolve(); + return; + } + const index = this.currentPage; + renderProgress(index, pageCount, this.l10n); + renderPage(this, this.pdfDocument, index + 1, this.pagesOverview[index], this._printResolution, this._optionalContentConfigPromise, this._printAnnotationStoragePromise).then(this.useRenderedPage.bind(this)).then(function () { + renderNextPage(resolve, reject); + }, reject); + }; + return new Promise(renderNextPage); + } + useRenderedPage() { + this.throwIfInactive(); + const img = document.createElement("img"); + const scratchCanvas = this.scratchCanvas; + if ("toBlob" in scratchCanvas) { + scratchCanvas.toBlob(function (blob) { + img.src = URL.createObjectURL(blob); + }); + } else { + img.src = scratchCanvas.toDataURL(); + } + const wrapper = document.createElement("div"); + wrapper.className = "printedPage"; + wrapper.append(img); + this.printContainer.append(wrapper); + return new Promise(function (resolve, reject) { + img.onload = resolve; + img.onerror = reject; + }); + } + performPrint() { + this.throwIfInactive(); + return new Promise(resolve => { + setTimeout(() => { + if (!this.active) { + resolve(); + return; + } + print.call(window); + setTimeout(resolve, 20); + }, 0); + }); + } + get active() { + return this === activeService; + } + throwIfInactive() { + if (!this.active) { + throw new Error("This print request was cancelled or completed."); + } + } +} +exports.PDFPrintService = PDFPrintService; +const print = window.print; +window.print = function () { + if (activeService) { + console.warn("Ignored window.print() because of a pending print job."); + return; + } + ensureOverlay().then(function () { + if (activeService) { + overlayManager.open(dialog); + } + }); + try { + dispatchEvent("beforeprint"); + } finally { + if (!activeService) { + console.error("Expected print service to be initialized."); + ensureOverlay().then(function () { + if (overlayManager.active === dialog) { + overlayManager.close(dialog); + } + }); + return; + } + const activeServiceOnEntry = activeService; + activeService.renderPages().then(function () { + return activeServiceOnEntry.performPrint(); + }).catch(function () {}).then(function () { + if (activeServiceOnEntry.active) { + abort(); + } + }); + } +}; +function dispatchEvent(eventType) { + const event = new CustomEvent(eventType, { + bubbles: false, + cancelable: false, + detail: "custom" + }); + window.dispatchEvent(event); +} +function abort() { + if (activeService) { + activeService.destroy(); + dispatchEvent("afterprint"); + } +} +function renderProgress(index, total, l10n) { + dialog ||= document.getElementById("printServiceDialog"); + const progress = Math.round(100 * index / total); + const progressBar = dialog.querySelector("progress"); + const progressPerc = dialog.querySelector(".relative-progress"); + progressBar.value = progress; + l10n.get("print_progress_percent", { + progress + }).then(msg => { + progressPerc.textContent = msg; + }); +} +window.addEventListener("keydown", function (event) { + if (event.keyCode === 80 && (event.ctrlKey || event.metaKey) && !event.altKey && (!event.shiftKey || window.chrome || window.opera)) { + window.print(); + event.preventDefault(); + event.stopImmediatePropagation(); + } +}, true); +if ("onbeforeprint" in window) { + const stopPropagationIfNeeded = function (event) { + if (event.detail !== "custom") { + event.stopImmediatePropagation(); + } + }; + window.addEventListener("beforeprint", stopPropagationIfNeeded); + window.addEventListener("afterprint", stopPropagationIfNeeded); +} +let overlayPromise; +function ensureOverlay() { + if (!overlayPromise) { + overlayManager = _app.PDFViewerApplication.overlayManager; + if (!overlayManager) { + throw new Error("The overlay manager has not yet been initialized."); + } + dialog ||= document.getElementById("printServiceDialog"); + overlayPromise = overlayManager.register(dialog, true); + document.getElementById("printCancel").onclick = abort; + dialog.addEventListener("close", abort); + } + return overlayPromise; +} +_app.PDFPrintServiceFactory.instance = { + supportsPrinting: true, + createPrintService(pdfDocument, pagesOverview, printContainer, printResolution, optionalContentConfigPromise, printAnnotationStoragePromise, l10n) { + if (activeService) { + throw new Error("The print service is created and active."); + } + activeService = new PDFPrintService(pdfDocument, pagesOverview, printContainer, printResolution, optionalContentConfigPromise, printAnnotationStoragePromise, l10n); + return activeService; + } +}; + +/***/ }), +/* 47 */ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.getXfaHtmlForPrinting = getXfaHtmlForPrinting; +var _pdfjsLib = __webpack_require__(4); +var _pdf_link_service = __webpack_require__(7); +var _xfa_layer_builder = __webpack_require__(37); +function getXfaHtmlForPrinting(printContainer, pdfDocument) { + const xfaHtml = pdfDocument.allXfaHtml; + const linkService = new _pdf_link_service.SimpleLinkService(); + const scale = Math.round(_pdfjsLib.PixelsPerInch.PDF_TO_CSS_UNITS * 100) / 100; + for (const xfaPage of xfaHtml.children) { + const page = document.createElement("div"); + page.className = "xfaPrintedPage"; + printContainer.append(page); + const builder = new _xfa_layer_builder.XfaLayerBuilder({ + pageDiv: page, + pdfPage: null, + annotationStorage: pdfDocument.annotationStorage, + linkService, + xfaHtml: xfaPage + }); + const viewport = (0, _pdfjsLib.getXfaPageViewport)(xfaPage, { + scale + }); + builder.render(viewport, "print"); + } +} + +/***/ }) +/******/ ]); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +var __webpack_exports__ = {}; +// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. +(() => { +var exports = __webpack_exports__; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "PDFViewerApplication", ({ + enumerable: true, + get: function () { + return _app.PDFViewerApplication; + } +})); +exports.PDFViewerApplicationConstants = void 0; +Object.defineProperty(exports, "PDFViewerApplicationOptions", ({ + enumerable: true, + get: function () { + return _app_options.AppOptions; + } +})); +__webpack_require__(1); +__webpack_require__(46); +var _ui_utils = __webpack_require__(3); +var _app_options = __webpack_require__(5); +var _pdf_link_service = __webpack_require__(7); +var _app = __webpack_require__(2); +const pdfjsVersion = '3.8.162'; +const pdfjsBuild = '2c74323e3'; +const AppConstants = { + LinkTarget: _pdf_link_service.LinkTarget, + RenderingStates: _ui_utils.RenderingStates, + ScrollMode: _ui_utils.ScrollMode, + SpreadMode: _ui_utils.SpreadMode +}; +exports.PDFViewerApplicationConstants = AppConstants; +window.PDFViewerApplication = _app.PDFViewerApplication; +window.PDFViewerApplicationConstants = AppConstants; +window.PDFViewerApplicationOptions = _app_options.AppOptions; +function getViewerConfiguration() { + return { + appContainer: document.body, + mainContainer: document.getElementById("viewerContainer"), + viewerContainer: document.getElementById("viewer"), + toolbar: { + container: document.getElementById("toolbarViewer"), + numPages: document.getElementById("numPages"), + pageNumber: document.getElementById("pageNumber"), + scaleSelect: document.getElementById("scaleSelect"), + customScaleOption: document.getElementById("customScaleOption"), + previous: document.getElementById("previous"), + next: document.getElementById("next"), + zoomIn: document.getElementById("zoomIn"), + zoomOut: document.getElementById("zoomOut"), + viewFind: document.getElementById("viewFind"), + openFile: document.getElementById("openFile"), + // custom for seafile: 'seafile-pdf-print' only exists in 'pdf file view' page, not in 'shared/history/trash' file view pages + print: document.getElementById("seafile-pdf-print") || document.getElementById("print"), + editorFreeTextButton: document.getElementById("editorFreeText"), + editorFreeTextParamsToolbar: document.getElementById("editorFreeTextParamsToolbar"), + editorInkButton: document.getElementById("editorInk"), + editorInkParamsToolbar: document.getElementById("editorInkParamsToolbar"), + download: document.getElementById("download") + }, + secondaryToolbar: { + toolbar: document.getElementById("secondaryToolbar"), + toggleButton: document.getElementById("secondaryToolbarToggle"), + presentationModeButton: document.getElementById("presentationMode"), + openFileButton: document.getElementById("secondaryOpenFile"), + printButton: document.getElementById("secondaryPrint"), + downloadButton: document.getElementById("secondaryDownload"), + viewBookmarkButton: document.getElementById("viewBookmark"), + firstPageButton: document.getElementById("firstPage"), + lastPageButton: document.getElementById("lastPage"), + pageRotateCwButton: document.getElementById("pageRotateCw"), + pageRotateCcwButton: document.getElementById("pageRotateCcw"), + cursorSelectToolButton: document.getElementById("cursorSelectTool"), + cursorHandToolButton: document.getElementById("cursorHandTool"), + scrollPageButton: document.getElementById("scrollPage"), + scrollVerticalButton: document.getElementById("scrollVertical"), + scrollHorizontalButton: document.getElementById("scrollHorizontal"), + scrollWrappedButton: document.getElementById("scrollWrapped"), + spreadNoneButton: document.getElementById("spreadNone"), + spreadOddButton: document.getElementById("spreadOdd"), + spreadEvenButton: document.getElementById("spreadEven"), + documentPropertiesButton: document.getElementById("documentProperties") + }, + sidebar: { + outerContainer: document.getElementById("outerContainer"), + sidebarContainer: document.getElementById("sidebarContainer"), + toggleButton: document.getElementById("sidebarToggle"), + resizer: document.getElementById("sidebarResizer"), + thumbnailButton: document.getElementById("viewThumbnail"), + outlineButton: document.getElementById("viewOutline"), + attachmentsButton: document.getElementById("viewAttachments"), + layersButton: document.getElementById("viewLayers"), + thumbnailView: document.getElementById("thumbnailView"), + outlineView: document.getElementById("outlineView"), + attachmentsView: document.getElementById("attachmentsView"), + layersView: document.getElementById("layersView"), + outlineOptionsContainer: document.getElementById("outlineOptionsContainer"), + currentOutlineItemButton: document.getElementById("currentOutlineItem") + }, + findBar: { + bar: document.getElementById("findbar"), + toggleButton: document.getElementById("viewFind"), + findField: document.getElementById("findInput"), + highlightAllCheckbox: document.getElementById("findHighlightAll"), + caseSensitiveCheckbox: document.getElementById("findMatchCase"), + matchDiacriticsCheckbox: document.getElementById("findMatchDiacritics"), + entireWordCheckbox: document.getElementById("findEntireWord"), + findMsg: document.getElementById("findMsg"), + findResultsCount: document.getElementById("findResultsCount"), + findPreviousButton: document.getElementById("findPrevious"), + findNextButton: document.getElementById("findNext") + }, + passwordOverlay: { + dialog: document.getElementById("passwordDialog"), + label: document.getElementById("passwordText"), + input: document.getElementById("password"), + submitButton: document.getElementById("passwordSubmit"), + cancelButton: document.getElementById("passwordCancel") + }, + documentProperties: { + dialog: document.getElementById("documentPropertiesDialog"), + closeButton: document.getElementById("documentPropertiesClose"), + fields: { + fileName: document.getElementById("fileNameField"), + fileSize: document.getElementById("fileSizeField"), + title: document.getElementById("titleField"), + author: document.getElementById("authorField"), + subject: document.getElementById("subjectField"), + keywords: document.getElementById("keywordsField"), + creationDate: document.getElementById("creationDateField"), + modificationDate: document.getElementById("modificationDateField"), + creator: document.getElementById("creatorField"), + producer: document.getElementById("producerField"), + version: document.getElementById("versionField"), + pageCount: document.getElementById("pageCountField"), + pageSize: document.getElementById("pageSizeField"), + linearized: document.getElementById("linearizedField") + } + }, + annotationEditorParams: { + editorFreeTextFontSize: document.getElementById("editorFreeTextFontSize"), + editorFreeTextColor: document.getElementById("editorFreeTextColor"), + editorInkColor: document.getElementById("editorInkColor"), + editorInkThickness: document.getElementById("editorInkThickness"), + editorInkOpacity: document.getElementById("editorInkOpacity") + }, + printContainer: document.getElementById("printContainer"), + openFileInput: document.getElementById("fileInput"), + debuggerScriptPath: "./debugger.js" + }; +} +function webViewerLoad() { + const config = getViewerConfiguration(); + const event = new CustomEvent("webviewerloaded", { + bubbles: true, + cancelable: true, + detail: { + source: window + } + }); + try { + parent.document.dispatchEvent(event); + } catch (ex) { + console.error(`webviewerloaded: ${ex}`); + document.dispatchEvent(event); + } + _app.PDFViewerApplication.run(config); +} +document.blockUnblockOnload?.(true); +if (document.readyState === "interactive" || document.readyState === "complete") { + webViewerLoad(); +} else { + document.addEventListener("DOMContentLoaded", webViewerLoad, true); +} +})(); + +/******/ })() +; +//# sourceMappingURL=viewer.js.map diff --git a/media/js/pdf4/build/pdf.mjs b/media/js/pdf4/build/pdf.mjs deleted file mode 100644 index ff922debc5..0000000000 --- a/media/js/pdf4/build/pdf.mjs +++ /dev/null @@ -1,24827 +0,0 @@ -/** - * @licstart The following is the entire license notice for the - * JavaScript code in this page - * - * Copyright 2023 Mozilla Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @licend The above is the entire license notice for the - * JavaScript code in this page - */ - -/******/ var __webpack_modules__ = ({ - -/***/ 9306: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var tryToString = __webpack_require__(6823); - -var $TypeError = TypeError; - -// `Assert: IsCallable(argument) is true` -module.exports = function (argument) { - if (isCallable(argument)) return argument; - throw new $TypeError(tryToString(argument) + ' is not a function'); -}; - - -/***/ }), - -/***/ 3506: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPossiblePrototype = __webpack_require__(3925); - -var $String = String; -var $TypeError = TypeError; - -module.exports = function (argument) { - if (isPossiblePrototype(argument)) return argument; - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); -}; - - -/***/ }), - -/***/ 7080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var has = (__webpack_require__(4402).has); - -// Perform ? RequireInternalSlot(M, [[SetData]]) -module.exports = function (it) { - has(it); - return it; -}; - - -/***/ }), - -/***/ 679: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPrototypeOf = __webpack_require__(1625); - -var $TypeError = TypeError; - -module.exports = function (it, Prototype) { - if (isPrototypeOf(Prototype, it)) return it; - throw new $TypeError('Incorrect invocation'); -}; - - -/***/ }), - -/***/ 8551: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -var $String = String; -var $TypeError = TypeError; - -// `Assert: Type(argument) is Object` -module.exports = function (argument) { - if (isObject(argument)) return argument; - throw new $TypeError($String(argument) + ' is not an object'); -}; - - -/***/ }), - -/***/ 7811: -/***/ ((module) => { - - -// eslint-disable-next-line es/no-typed-arrays -- safe -module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; - - -/***/ }), - -/***/ 7394: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var classof = __webpack_require__(4576); - -var $TypeError = TypeError; - -// Includes -// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). -// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. -module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { - if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected'); - return O.byteLength; -}; - - -/***/ }), - -/***/ 3238: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var arrayBufferByteLength = __webpack_require__(7394); - -var slice = uncurryThis(ArrayBuffer.prototype.slice); - -module.exports = function (O) { - if (arrayBufferByteLength(O) !== 0) return false; - try { - slice(O, 0, 0); - return false; - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 5636: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var uncurryThis = __webpack_require__(9504); -var uncurryThisAccessor = __webpack_require__(6706); -var toIndex = __webpack_require__(7696); -var isDetached = __webpack_require__(3238); -var arrayBufferByteLength = __webpack_require__(7394); -var detachTransferable = __webpack_require__(4483); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var ArrayBuffer = global.ArrayBuffer; -var DataView = global.DataView; -var TypeError = global.TypeError; -var min = Math.min; -var ArrayBufferPrototype = ArrayBuffer.prototype; -var DataViewPrototype = DataView.prototype; -var slice = uncurryThis(ArrayBufferPrototype.slice); -var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); -var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); -var getInt8 = uncurryThis(DataViewPrototype.getInt8); -var setInt8 = uncurryThis(DataViewPrototype.setInt8); - -module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) { - var byteLength = arrayBufferByteLength(arrayBuffer); - var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); - var fixedLength = !isResizable || !isResizable(arrayBuffer); - var newBuffer; - if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached'); - if (PROPER_STRUCTURED_CLONE_TRANSFER) { - arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); - if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer; - } - if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) { - newBuffer = slice(arrayBuffer, 0, newByteLength); - } else { - var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined; - newBuffer = new ArrayBuffer(newByteLength, options); - var a = new DataView(arrayBuffer); - var b = new DataView(newBuffer); - var copyLength = min(newByteLength, byteLength); - for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); - } - if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer); - return newBuffer; -}; - - -/***/ }), - -/***/ 4644: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_ARRAY_BUFFER = __webpack_require__(7811); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var hasOwn = __webpack_require__(9297); -var classof = __webpack_require__(6955); -var tryToString = __webpack_require__(6823); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineBuiltInAccessor = __webpack_require__(2106); -var isPrototypeOf = __webpack_require__(1625); -var getPrototypeOf = __webpack_require__(2787); -var setPrototypeOf = __webpack_require__(2967); -var wellKnownSymbol = __webpack_require__(8227); -var uid = __webpack_require__(3392); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var Int8Array = global.Int8Array; -var Int8ArrayPrototype = Int8Array && Int8Array.prototype; -var Uint8ClampedArray = global.Uint8ClampedArray; -var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; -var TypedArray = Int8Array && getPrototypeOf(Int8Array); -var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); -var ObjectPrototype = Object.prototype; -var TypeError = global.TypeError; - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); -var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; -// Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; -var TYPED_ARRAY_TAG_REQUIRED = false; -var NAME, Constructor, Prototype; - -var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 -}; - -var BigIntArrayConstructorsList = { - BigInt64Array: 8, - BigUint64Array: 8 -}; - -var isView = function isView(it) { - if (!isObject(it)) return false; - var klass = classof(it); - return klass === 'DataView' - || hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var getTypedArrayConstructor = function (it) { - var proto = getPrototypeOf(it); - if (!isObject(proto)) return; - var state = getInternalState(proto); - return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); -}; - -var isTypedArray = function (it) { - if (!isObject(it)) return false; - var klass = classof(it); - return hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw new TypeError('Target is not a typed array'); -}; - -var aTypedArrayConstructor = function (C) { - if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; - throw new TypeError(tryToString(C) + ' is not a typed array constructor'); -}; - -var exportTypedArrayMethod = function (KEY, property, forced, options) { - if (!DESCRIPTORS) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { - delete TypedArrayConstructor.prototype[KEY]; - } catch (error) { - // old WebKit bug - some methods are non-configurable - try { - TypedArrayConstructor.prototype[KEY] = property; - } catch (error2) { /* empty */ } - } - } - if (!TypedArrayPrototype[KEY] || forced) { - defineBuiltIn(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); - } -}; - -var exportTypedArrayStaticMethod = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!DESCRIPTORS) return; - if (setPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { - delete TypedArrayConstructor[KEY]; - } catch (error) { /* empty */ } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); - } catch (error) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - defineBuiltIn(TypedArrayConstructor, KEY, property); - } - } -}; - -for (NAME in TypedArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; - else NATIVE_ARRAY_BUFFER_VIEWS = false; -} - -for (NAME in BigIntArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; -} - -// WebKit bug - typed arrays constructors prototype is Object.prototype -if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow -- safe - TypedArray = function TypedArray() { - throw new TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); - } -} - -if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); - } -} - -// WebKit bug - one more object in Uint8ClampedArray prototype chain -if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); -} - -if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { - TYPED_ARRAY_TAG_REQUIRED = true; - defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { - configurable: true, - get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } - }); - for (NAME in TypedArrayConstructorsList) if (global[NAME]) { - createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); - } -} - -module.exports = { - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportTypedArrayMethod: exportTypedArrayMethod, - exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, - getTypedArrayConstructor: getTypedArrayConstructor, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype -}; - - -/***/ }), - -/***/ 5370: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -module.exports = function (Constructor, list, $length) { - var index = 0; - var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); - var result = new Constructor(length); - while (length > index) result[index] = list[index++]; - return result; -}; - - -/***/ }), - -/***/ 9617: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIndexedObject = __webpack_require__(5397); -var toAbsoluteIndex = __webpack_require__(5610); -var lengthOfArrayLike = __webpack_require__(6198); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = lengthOfArrayLike(O); - if (length === 0) return !IS_INCLUDES && -1; - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el !== el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare -- NaN check - if (value !== value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ 4527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var isArray = __webpack_require__(4376); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Safari < 13 does not throw an error in this case -var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { - // makes no sense without proper strict mode support - if (this !== undefined) return true; - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).length = 1; - } catch (error) { - return error instanceof TypeError; - } -}(); - -module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { - if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { - throw new $TypeError('Cannot set read only .length'); - } return O.length = length; -} : function (O, length) { - return O.length = length; -}; - - -/***/ }), - -/***/ 7628: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed -module.exports = function (O, C) { - var len = lengthOfArrayLike(O); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = O[len - k - 1]; - return A; -}; - - -/***/ }), - -/***/ 9928: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); -var toIntegerOrInfinity = __webpack_require__(1291); - -var $RangeError = RangeError; - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with -module.exports = function (O, C, index, value) { - var len = lengthOfArrayLike(O); - var relativeIndex = toIntegerOrInfinity(index); - var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; - if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index'); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; - return A; -}; - - -/***/ }), - -/***/ 6319: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var anObject = __webpack_require__(8551); -var iteratorClose = __webpack_require__(9539); - -// call something on iterator step with safe closing on error -module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } -}; - - -/***/ }), - -/***/ 4576: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var toString = uncurryThis({}.toString); -var stringSlice = uncurryThis(''.slice); - -module.exports = function (it) { - return stringSlice(toString(it), 8, -1); -}; - - -/***/ }), - -/***/ 6955: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var TO_STRING_TAG_SUPPORT = __webpack_require__(2140); -var isCallable = __webpack_require__(4901); -var classofRaw = __webpack_require__(4576); -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var $Object = Object; - -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ 7740: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var ownKeys = __webpack_require__(5031); -var getOwnPropertyDescriptorModule = __webpack_require__(7347); -var definePropertyModule = __webpack_require__(4913); - -module.exports = function (target, source, exceptions) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { - defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - } -}; - - -/***/ }), - -/***/ 2211: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ 2529: -/***/ ((module) => { - - -// `CreateIterResultObject` abstract operation -// https://tc39.es/ecma262/#sec-createiterresultobject -module.exports = function (value, done) { - return { value: value, done: done }; -}; - - -/***/ }), - -/***/ 6699: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ 6980: -/***/ ((module) => { - - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ 4659: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = function (object, key, value) { - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); - else object[key] = value; -}; - - -/***/ }), - -/***/ 2106: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var makeBuiltIn = __webpack_require__(283); -var defineProperty = __webpack_require__(4913); - -module.exports = function (target, name, descriptor) { - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); - return defineProperty.f(target, name, descriptor); -}; - - -/***/ }), - -/***/ 6840: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var definePropertyModule = __webpack_require__(4913); -var makeBuiltIn = __webpack_require__(283); -var defineGlobalProperty = __webpack_require__(9433); - -module.exports = function (O, key, value, options) { - if (!options) options = {}; - var simple = options.enumerable; - var name = options.name !== undefined ? options.name : key; - if (isCallable(value)) makeBuiltIn(value, name, options); - if (options.global) { - if (simple) O[key] = value; - else defineGlobalProperty(key, value); - } else { - try { - if (!options.unsafe) delete O[key]; - else if (O[key]) simple = true; - } catch (error) { /* empty */ } - if (simple) O[key] = value; - else definePropertyModule.f(O, key, { - value: value, - enumerable: false, - configurable: !options.nonConfigurable, - writable: !options.nonWritable - }); - } return O; -}; - - -/***/ }), - -/***/ 6279: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); - -module.exports = function (target, src, options) { - for (var key in src) defineBuiltIn(target, key, src[key], options); - return target; -}; - - -/***/ }), - -/***/ 9433: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); - -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; - -module.exports = function (key, value) { - try { - defineProperty(global, key, { value: value, configurable: true, writable: true }); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ 3724: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; -}); - - -/***/ }), - -/***/ 4483: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var tryNodeRequire = __webpack_require__(9714); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var $ArrayBuffer = global.ArrayBuffer; -var $MessageChannel = global.MessageChannel; -var detach = false; -var WorkerThreads, channel, buffer, $detach; - -if (PROPER_STRUCTURED_CLONE_TRANSFER) { - detach = function (transferable) { - structuredClone(transferable, { transfer: [transferable] }); - }; -} else if ($ArrayBuffer) try { - if (!$MessageChannel) { - WorkerThreads = tryNodeRequire('worker_threads'); - if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel; - } - - if ($MessageChannel) { - channel = new $MessageChannel(); - buffer = new $ArrayBuffer(2); - - $detach = function (transferable) { - channel.port1.postMessage(null, [transferable]); - }; - - if (buffer.byteLength === 2) { - $detach(buffer); - if (buffer.byteLength === 0) detach = $detach; - } - } -} catch (error) { /* empty */ } - -module.exports = detach; - - -/***/ }), - -/***/ 4055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ 6837: -/***/ ((module) => { - - -var $TypeError = TypeError; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - -module.exports = function (it) { - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); - return it; -}; - - -/***/ }), - -/***/ 5002: -/***/ ((module) => { - - -module.exports = { - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } -}; - - -/***/ }), - -/***/ 7290: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -module.exports = !IS_DENO && !IS_NODE - && typeof window == 'object' - && typeof document == 'object'; - - -/***/ }), - -/***/ 516: -/***/ ((module) => { - - -/* global Deno -- Deno case */ -module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; - - -/***/ }), - -/***/ 9088: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var classof = __webpack_require__(4576); - -module.exports = classof(global.process) === 'process'; - - -/***/ }), - -/***/ 9392: -/***/ ((module) => { - - -module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - - -/***/ }), - -/***/ 7388: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var userAgent = __webpack_require__(9392); - -var process = global.process; -var Deno = global.Deno; -var versions = process && process.versions || Deno && Deno.version; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - // in old Chrome, versions of V8 isn't V8 = Chrome / 10 - // but their correct versions are not interesting for us - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); -} - -// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` -// so check `userAgent` even if `.v8` exists, but 0 -if (!version && userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = +match[1]; - } -} - -module.exports = version; - - -/***/ }), - -/***/ 8727: -/***/ ((module) => { - - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ 6193: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var $Error = Error; -var replace = uncurryThis(''.replace); - -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); -// eslint-disable-next-line redos/no-vulnerable -- safe -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); - -module.exports = function (stack, dropEntries) { - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); - } return stack; -}; - - -/***/ }), - -/***/ 6518: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var getOwnPropertyDescriptor = (__webpack_require__(7347).f); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineGlobalProperty = __webpack_require__(9433); -var copyConstructorProperties = __webpack_require__(7740); -var isForced = __webpack_require__(2796); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.dontCallGetSet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || defineGlobalProperty(TARGET, {}); - } else { - target = global[TARGET] && global[TARGET].prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.dontCallGetSet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty == typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - defineBuiltIn(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ 9039: -/***/ ((module) => { - - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 6080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(7476); -var aCallable = __webpack_require__(9306); -var NATIVE_BIND = __webpack_require__(616); - -var bind = uncurryThis(uncurryThis.bind); - -// optional / simple context binding -module.exports = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ 616: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - // eslint-disable-next-line es/no-function-prototype-bind -- safe - var test = (function () { /* empty */ }).bind(); - // eslint-disable-next-line no-prototype-builtins -- safe - return typeof test != 'function' || test.hasOwnProperty('prototype'); -}); - - -/***/ }), - -/***/ 9565: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var call = Function.prototype.call; - -module.exports = NATIVE_BIND ? call.bind(call) : function () { - return call.apply(call, arguments); -}; - - -/***/ }), - -/***/ 350: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var hasOwn = __webpack_require__(9297); - -var FunctionPrototype = Function.prototype; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; - -var EXISTS = hasOwn(FunctionPrototype, 'name'); -// additional protection from minified / mangled / dropped function names -var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; -var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); - -module.exports = { - EXISTS: EXISTS, - PROPER: PROPER, - CONFIGURABLE: CONFIGURABLE -}; - - -/***/ }), - -/***/ 6706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); - -module.exports = function (object, key, method) { - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 7476: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classofRaw = __webpack_require__(4576); -var uncurryThis = __webpack_require__(9504); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis(fn); -}; - - -/***/ }), - -/***/ 9504: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var FunctionPrototype = Function.prototype; -var call = FunctionPrototype.call; -var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); - -module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { - return function () { - return call.apply(fn, arguments); - }; -}; - - -/***/ }), - -/***/ 7751: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var aFunction = function (argument) { - return isCallable(argument) ? argument : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ 1767: -/***/ ((module) => { - - -// `GetIteratorDirect(obj)` abstract operation -// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect -module.exports = function (obj) { - return { - iterator: obj, - next: obj.next, - done: false - }; -}; - - -/***/ }), - -/***/ 8646: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var getIteratorMethod = __webpack_require__(851); - -module.exports = function (obj, stringHandling) { - if (!stringHandling || typeof obj !== 'string') anObject(obj); - var method = getIteratorMethod(obj); - return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj)); -}; - - -/***/ }), - -/***/ 851: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); -var getMethod = __webpack_require__(5966); -var isNullOrUndefined = __webpack_require__(4117); -var Iterators = __webpack_require__(6269); -var wellKnownSymbol = __webpack_require__(8227); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) - || getMethod(it, '@@iterator') - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ 81: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var getIteratorMethod = __webpack_require__(851); - -var $TypeError = TypeError; - -module.exports = function (argument, usingIterator) { - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); - throw new $TypeError(tryToString(argument) + ' is not iterable'); -}; - - -/***/ }), - -/***/ 5966: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var isNullOrUndefined = __webpack_require__(4117); - -// `GetMethod` abstract operation -// https://tc39.es/ecma262/#sec-getmethod -module.exports = function (V, P) { - var func = V[P]; - return isNullOrUndefined(func) ? undefined : aCallable(func); -}; - - -/***/ }), - -/***/ 3789: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var call = __webpack_require__(9565); -var toIntegerOrInfinity = __webpack_require__(1291); -var getIteratorDirect = __webpack_require__(1767); - -var INVALID_SIZE = 'Invalid size'; -var $RangeError = RangeError; -var $TypeError = TypeError; -var max = Math.max; - -var SetRecord = function (set, intSize) { - this.set = set; - this.size = max(intSize, 0); - this.has = aCallable(set.has); - this.keys = aCallable(set.keys); -}; - -SetRecord.prototype = { - getIterator: function () { - return getIteratorDirect(anObject(call(this.keys, this.set))); - }, - includes: function (it) { - return call(this.has, this.set, it); - } -}; - -// `GetSetRecord` abstract operation -// https://tc39.es/proposal-set-methods/#sec-getsetrecord -module.exports = function (obj) { - anObject(obj); - var numSize = +obj.size; - // NOTE: If size is undefined, then numSize will be NaN - // eslint-disable-next-line no-self-compare -- NaN check - if (numSize !== numSize) throw new $TypeError(INVALID_SIZE); - var intSize = toIntegerOrInfinity(numSize); - if (intSize < 0) throw new $RangeError(INVALID_SIZE); - return new SetRecord(obj, intSize); -}; - - -/***/ }), - -/***/ 4475: -/***/ (function(module) { - - -var check = function (it) { - return it && it.Math === Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line es/no-global-this -- safe - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - // eslint-disable-next-line no-restricted-globals -- safe - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - check(typeof this == 'object' && this) || - // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ 9297: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var toObject = __webpack_require__(8981); - -var hasOwnProperty = uncurryThis({}.hasOwnProperty); - -// `HasOwnProperty` abstract operation -// https://tc39.es/ecma262/#sec-hasownproperty -// eslint-disable-next-line es/no-object-hasown -- safe -module.exports = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty(toObject(it), key); -}; - - -/***/ }), - -/***/ 421: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ 5917: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); -var createElement = __webpack_require__(4055); - -// Thanks to IE8 for its funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a !== 7; -}); - - -/***/ }), - -/***/ 7055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var classof = __webpack_require__(4576); - -var $Object = Object; -var split = uncurryThis(''.split); - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins -- safe - return !$Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) === 'String' ? split(it, '') : $Object(it); -} : $Object; - - -/***/ }), - -/***/ 3167: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var setPrototypeOf = __webpack_require__(2967); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - isCallable(NewTarget = dummy.constructor) && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ 3706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var isCallable = __webpack_require__(4901); -var store = __webpack_require__(7629); - -var functionToString = uncurryThis(Function.toString); - -// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper -if (!isCallable(store.inspectSource)) { - store.inspectSource = function (it) { - return functionToString(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ 1181: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_WEAK_MAP = __webpack_require__(8622); -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); -var createNonEnumerableProperty = __webpack_require__(6699); -var hasOwn = __webpack_require__(9297); -var shared = __webpack_require__(7629); -var sharedKey = __webpack_require__(6119); -var hiddenKeys = __webpack_require__(421); - -var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var TypeError = global.TypeError; -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP || shared.state) { - var store = shared.state || (shared.state = new WeakMap()); - /* eslint-disable no-self-assign -- prototype methods protection */ - store.get = store.get; - store.has = store.has; - store.set = store.set; - /* eslint-enable no-self-assign -- prototype methods protection */ - set = function (it, metadata) { - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - store.set(it, metadata); - return metadata; - }; - get = function (it) { - return store.get(it) || {}; - }; - has = function (it) { - return store.has(it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return hasOwn(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return hasOwn(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ 4209: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); -var Iterators = __webpack_require__(6269); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ 4376: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(4576); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -// eslint-disable-next-line es/no-array-isarray -- safe -module.exports = Array.isArray || function isArray(argument) { - return classof(argument) === 'Array'; -}; - - -/***/ }), - -/***/ 1108: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -module.exports = function (it) { - var klass = classof(it); - return klass === 'BigInt64Array' || klass === 'BigUint64Array'; -}; - - -/***/ }), - -/***/ 4901: -/***/ ((module) => { - - -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot -var documentAll = typeof document == 'object' && document.all; - -// `IsCallable` abstract operation -// https://tc39.es/ecma262/#sec-iscallable -// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing -module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { - return typeof argument == 'function' || argument === documentAll; -} : function (argument) { - return typeof argument == 'function'; -}; - - -/***/ }), - -/***/ 2796: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value === POLYFILL ? true - : value === NATIVE ? false - : isCallable(detection) ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ 4117: -/***/ ((module) => { - - -// we can't use just `it == null` since of `document.all` special case -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec -module.exports = function (it) { - return it === null || it === undefined; -}; - - -/***/ }), - -/***/ 34: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); - -module.exports = function (it) { - return typeof it == 'object' ? it !== null : isCallable(it); -}; - - -/***/ }), - -/***/ 3925: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -module.exports = function (argument) { - return isObject(argument) || argument === null; -}; - - -/***/ }), - -/***/ 6395: -/***/ ((module) => { - - -module.exports = false; - - -/***/ }), - -/***/ 757: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var isCallable = __webpack_require__(4901); -var isPrototypeOf = __webpack_require__(1625); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var $Object = Object; - -module.exports = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - var $Symbol = getBuiltIn('Symbol'); - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); -}; - - -/***/ }), - -/***/ 507: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); - -module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { - var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; - var next = record.next; - var step, result; - while (!(step = call(next, iterator)).done) { - result = fn(step.value); - if (result !== undefined) return result; - } -}; - - -/***/ }), - -/***/ 2652: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var bind = __webpack_require__(6080); -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var isArrayIteratorMethod = __webpack_require__(4209); -var lengthOfArrayLike = __webpack_require__(6198); -var isPrototypeOf = __webpack_require__(1625); -var getIterator = __webpack_require__(81); -var getIteratorMethod = __webpack_require__(851); -var iteratorClose = __webpack_require__(9539); - -var $TypeError = TypeError; - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -var ResultPrototype = Result.prototype; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_RECORD = !!(options && options.IS_RECORD); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator, 'normal', condition); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_RECORD) { - iterator = iterable.iterator; - } else if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { - result = callFn(iterable[index]); - if (result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); - } - iterator = getIterator(iterable, iterFn); - } - - next = IS_RECORD ? iterable.next : iterator.next; - while (!(step = call(next, iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } - if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ 9539: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var getMethod = __webpack_require__(5966); - -module.exports = function (iterator, kind, value) { - var innerResult, innerError; - anObject(iterator); - try { - innerResult = getMethod(iterator, 'return'); - if (!innerResult) { - if (kind === 'throw') throw value; - return value; - } - innerResult = call(innerResult, iterator); - } catch (error) { - innerError = true; - innerResult = error; - } - if (kind === 'throw') throw value; - if (innerError) throw innerResult; - anObject(innerResult); - return value; -}; - - -/***/ }), - -/***/ 9462: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var create = __webpack_require__(2360); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIns = __webpack_require__(6279); -var wellKnownSymbol = __webpack_require__(8227); -var InternalStateModule = __webpack_require__(1181); -var getMethod = __webpack_require__(5966); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var createIterResultObject = __webpack_require__(2529); -var iteratorClose = __webpack_require__(9539); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var ITERATOR_HELPER = 'IteratorHelper'; -var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; -var setInternalState = InternalStateModule.set; - -var createIteratorProxyPrototype = function (IS_ITERATOR) { - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); - - return defineBuiltIns(create(IteratorPrototype), { - next: function next() { - var state = getInternalState(this); - // for simplification: - // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` - // for `%IteratorHelperPrototype%.next` - just a value - if (IS_ITERATOR) return state.nextHandler(); - try { - var result = state.done ? undefined : state.nextHandler(); - return createIterResultObject(result, state.done); - } catch (error) { - state.done = true; - throw error; - } - }, - 'return': function () { - var state = getInternalState(this); - var iterator = state.iterator; - state.done = true; - if (IS_ITERATOR) { - var returnMethod = getMethod(iterator, 'return'); - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); - } - if (state.inner) try { - iteratorClose(state.inner.iterator, 'normal'); - } catch (error) { - return iteratorClose(iterator, 'throw', error); - } - iteratorClose(iterator, 'normal'); - return createIterResultObject(undefined, true); - } - }); -}; - -var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); -var IteratorHelperPrototype = createIteratorProxyPrototype(false); - -createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); - -module.exports = function (nextHandler, IS_ITERATOR) { - var IteratorProxy = function Iterator(record, state) { - if (state) { - state.iterator = record.iterator; - state.next = record.next; - } else state = record; - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; - state.nextHandler = nextHandler; - state.counter = 0; - state.done = false; - setInternalState(this, state); - }; - - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; - - return IteratorProxy; -}; - - -/***/ }), - -/***/ 713: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var result = anObject(call(this.next, iterator)); - var done = this.done = !!result.done; - if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); -}); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -module.exports = function map(mapper) { - anObject(this); - aCallable(mapper); - return new IteratorProxy(getIteratorDirect(this), { - mapper: mapper - }); -}; - - -/***/ }), - -/***/ 7657: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var create = __webpack_require__(2360); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltIn = __webpack_require__(6840); -var wellKnownSymbol = __webpack_require__(8227); -var IS_PURE = __webpack_require__(6395); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -/* eslint-disable es/no-array-prototype-keys -- safe */ -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; -else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); - -// `%IteratorPrototype%[@@iterator]()` method -// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if (!isCallable(IteratorPrototype[ITERATOR])) { - defineBuiltIn(IteratorPrototype, ITERATOR, function () { - return this; - }); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ 6269: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 6198: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toLength = __webpack_require__(8014); - -// `LengthOfArrayLike` abstract operation -// https://tc39.es/ecma262/#sec-lengthofarraylike -module.exports = function (obj) { - return toLength(obj.length); -}; - - -/***/ }), - -/***/ 283: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var hasOwn = __webpack_require__(9297); -var DESCRIPTORS = __webpack_require__(3724); -var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE); -var inspectSource = __webpack_require__(3706); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var $String = String; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; -var stringSlice = uncurryThis(''.slice); -var replace = uncurryThis(''.replace); -var join = uncurryThis([].join); - -var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; -}); - -var TEMPLATE = String(String).split('String'); - -var makeBuiltIn = module.exports = function (value, name, options) { - if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; - } - if (options && options.getter) name = 'get ' + name; - if (options && options.setter) name = 'set ' + name; - if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); - else value.name = name; - } - if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); - } - try { - if (options && hasOwn(options, 'constructor') && options.constructor) { - if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); - // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable - } else if (value.prototype) value.prototype = undefined; - } catch (error) { /* empty */ } - var state = enforceInternalState(value); - if (!hasOwn(state, 'source')) { - state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); - } return value; -}; - -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -// eslint-disable-next-line no-extend-native -- required -Function.prototype.toString = makeBuiltIn(function toString() { - return isCallable(this) && getInternalState(this).source || inspectSource(this); -}, 'toString'); - - -/***/ }), - -/***/ 741: -/***/ ((module) => { - - -var ceil = Math.ceil; -var floor = Math.floor; - -// `Math.trunc` method -// https://tc39.es/ecma262/#sec-math.trunc -// eslint-disable-next-line es/no-math-trunc -- safe -module.exports = Math.trunc || function trunc(x) { - var n = +x; - return (n > 0 ? floor : ceil)(n); -}; - - -/***/ }), - -/***/ 6043: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); - -var $TypeError = TypeError; - -var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aCallable(resolve); - this.reject = aCallable(reject); -}; - -// `NewPromiseCapability` abstract operation -// https://tc39.es/ecma262/#sec-newpromisecapability -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - - -/***/ }), - -/***/ 2603: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toString = __webpack_require__(655); - -module.exports = function (argument, $default) { - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); -}; - - -/***/ }), - -/***/ 2360: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* global ActiveXObject -- old IE, WSH */ -var anObject = __webpack_require__(8551); -var definePropertiesModule = __webpack_require__(6801); -var enumBugKeys = __webpack_require__(8727); -var hiddenKeys = __webpack_require__(421); -var html = __webpack_require__(397); -var documentCreateElement = __webpack_require__(4055); -var sharedKey = __webpack_require__(6119); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - activeXDocument = new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = typeof document != 'undefined' - ? document.domain && activeXDocument - ? NullProtoObjectViaActiveX(activeXDocument) // old IE - : NullProtoObjectViaIFrame() - : NullProtoObjectViaActiveX(activeXDocument); // WSH - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -// eslint-disable-next-line es/no-object-create -- safe -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : definePropertiesModule.f(result, Properties); -}; - - -/***/ }), - -/***/ 6801: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var definePropertyModule = __webpack_require__(4913); -var anObject = __webpack_require__(8551); -var toIndexedObject = __webpack_require__(5397); -var objectKeys = __webpack_require__(1072); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -// eslint-disable-next-line es/no-object-defineproperties -- safe -exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); - return O; -}; - - -/***/ }), - -/***/ 4913: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var IE8_DOM_DEFINE = __webpack_require__(5917); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var anObject = __webpack_require__(8551); -var toPropertyKey = __webpack_require__(6969); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var $defineProperty = Object.defineProperty; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var ENUMERABLE = 'enumerable'; -var CONFIGURABLE = 'configurable'; -var WRITABLE = 'writable'; - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { - var current = $getOwnPropertyDescriptor(O, P); - if (current && current[WRITABLE]) { - O[P] = Attributes.value; - Attributes = { - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], - writable: false - }; - } - } return $defineProperty(O, P, Attributes); -} : $defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return $defineProperty(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ 7347: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var call = __webpack_require__(9565); -var propertyIsEnumerableModule = __webpack_require__(8773); -var createPropertyDescriptor = __webpack_require__(6980); -var toIndexedObject = __webpack_require__(5397); -var toPropertyKey = __webpack_require__(6969); -var hasOwn = __webpack_require__(9297); -var IE8_DOM_DEFINE = __webpack_require__(5917); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPropertyKey(P); - if (IE8_DOM_DEFINE) try { - return $getOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); -}; - - -/***/ }), - -/***/ 8480: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -// eslint-disable-next-line es/no-object-getownpropertynames -- safe -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ 3717: -/***/ ((__unused_webpack_module, exports) => { - - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ 2787: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var isCallable = __webpack_require__(4901); -var toObject = __webpack_require__(8981); -var sharedKey = __webpack_require__(6119); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211); - -var IE_PROTO = sharedKey('IE_PROTO'); -var $Object = Object; -var ObjectPrototype = $Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -// eslint-disable-next-line es/no-object-getprototypeof -- safe -module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { - var object = toObject(O); - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; - var constructor = object.constructor; - if (isCallable(constructor) && object instanceof constructor) { - return constructor.prototype; - } return object instanceof $Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ 1625: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -module.exports = uncurryThis({}.isPrototypeOf); - - -/***/ }), - -/***/ 1828: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); -var toIndexedObject = __webpack_require__(5397); -var indexOf = (__webpack_require__(9617).indexOf); -var hiddenKeys = __webpack_require__(421); - -var push = uncurryThis([].push); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); - // Don't enum bug & hidden keys - while (names.length > i) if (hasOwn(O, key = names[i++])) { - ~indexOf(result, key) || push(result, key); - } - return result; -}; - - -/***/ }), - -/***/ 1072: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -// eslint-disable-next-line es/no-object-keys -- safe -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ 8773: -/***/ ((__unused_webpack_module, exports) => { - - -var $propertyIsEnumerable = {}.propertyIsEnumerable; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : $propertyIsEnumerable; - - -/***/ }), - -/***/ 2967: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable no-proto -- safe */ -var uncurryThisAccessor = __webpack_require__(6706); -var isObject = __webpack_require__(34); -var requireObjectCoercible = __webpack_require__(7750); -var aPossiblePrototype = __webpack_require__(3506); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -// eslint-disable-next-line es/no-object-setprototypeof -- safe -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); - setter(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - requireObjectCoercible(O); - aPossiblePrototype(proto); - if (!isObject(O)) return O; - if (CORRECT_SETTER) setter(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ 4270: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); - -var $TypeError = TypeError; - -// `OrdinaryToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-ordinarytoprimitive -module.exports = function (input, pref) { - var fn, val; - if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; - if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - throw new $TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ 5031: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var getOwnPropertyNamesModule = __webpack_require__(8480); -var getOwnPropertySymbolsModule = __webpack_require__(3717); -var anObject = __webpack_require__(8551); - -var concat = uncurryThis([].concat); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ 8235: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); - -var $SyntaxError = SyntaxError; -var $parseInt = parseInt; -var fromCharCode = String.fromCharCode; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); - -var codePoints = { - '\\"': '"', - '\\\\': '\\', - '\\/': '/', - '\\b': '\b', - '\\f': '\f', - '\\n': '\n', - '\\r': '\r', - '\\t': '\t' -}; - -var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; -// eslint-disable-next-line regexp/no-control-character -- safe -var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; - -module.exports = function (source, i) { - var unterminated = true; - var value = ''; - while (i < source.length) { - var chr = at(source, i); - if (chr === '\\') { - var twoChars = slice(source, i, i + 2); - if (hasOwn(codePoints, twoChars)) { - value += codePoints[twoChars]; - i += 2; - } else if (twoChars === '\\u') { - i += 2; - var fourHexDigits = slice(source, i, i + 4); - if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i); - value += fromCharCode($parseInt(fourHexDigits, 16)); - i += 4; - } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); - } else if (chr === '"') { - unterminated = false; - i++; - break; - } else { - if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i); - value += chr; - i++; - } - } - if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i); - return { value: value, end: i }; -}; - - -/***/ }), - -/***/ 7750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isNullOrUndefined = __webpack_require__(4117); - -var $TypeError = TypeError; - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ 9286: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var SetHelpers = __webpack_require__(4402); -var iterate = __webpack_require__(8469); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; - -module.exports = function (set) { - var result = new Set(); - iterate(set, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 3440: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function difference(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = clone(O); - if (size(O) <= otherRec.size) iterateSet(O, function (e) { - if (otherRec.includes(e)) remove(result, e); - }); - else iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) remove(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4402: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -// eslint-disable-next-line es/no-set -- safe -var SetPrototype = Set.prototype; - -module.exports = { - // eslint-disable-next-line es/no-set -- safe - Set: Set, - add: uncurryThis(SetPrototype.add), - has: uncurryThis(SetPrototype.has), - remove: uncurryThis(SetPrototype['delete']), - proto: SetPrototype -}; - - -/***/ }), - -/***/ 8750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; -var has = SetHelpers.has; - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -module.exports = function intersection(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = new Set(); - - if (size(O) > otherRec.size) { - iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) add(result, e); - }); - } else { - iterateSet(O, function (e) { - if (otherRec.includes(e)) add(result, e); - }); - } - - return result; -}; - - -/***/ }), - -/***/ 4449: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isDisjointFrom` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom -module.exports = function isDisjointFrom(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) <= otherRec.size) return iterateSet(O, function (e) { - if (otherRec.includes(e)) return false; - }, true) !== false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 3838: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var size = __webpack_require__(5170); -var iterate = __webpack_require__(8469); -var getSetRecord = __webpack_require__(3789); - -// `Set.prototype.isSubsetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf -module.exports = function isSubsetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) > otherRec.size) return false; - return iterate(O, function (e) { - if (!otherRec.includes(e)) return false; - }, true) !== false; -}; - - -/***/ }), - -/***/ 8527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isSupersetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf -module.exports = function isSupersetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) < otherRec.size) return false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (!has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 8469: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var iterateSimple = __webpack_require__(507); -var SetHelpers = __webpack_require__(4402); - -var Set = SetHelpers.Set; -var SetPrototype = SetHelpers.proto; -var forEach = uncurryThis(SetPrototype.forEach); -var keys = uncurryThis(SetPrototype.keys); -var next = keys(new Set()).next; - -module.exports = function (set, fn, interruptible) { - return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); -}; - - -/***/ }), - -/***/ 4916: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -var createSetLike = function (size) { - return { - size: size, - has: function () { - return false; - }, - keys: function () { - return { - next: function () { - return { done: true }; - } - }; - } - }; -}; - -module.exports = function (name) { - var Set = getBuiltIn('Set'); - try { - new Set()[name](createSetLike(0)); - try { - // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it - // https://github.com/tc39/proposal-set-methods/pull/88 - new Set()[name](createSetLike(-1)); - return false; - } catch (error2) { - return true; - } - } catch (error) { - return false; - } -}; - - -/***/ }), - -/***/ 5170: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var SetHelpers = __webpack_require__(4402); - -module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { - return set.size; -}; - - -/***/ }), - -/***/ 3650: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -var add = SetHelpers.add; -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function symmetricDifference(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (e) { - if (has(O, e)) remove(result, e); - else add(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4204: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var add = (__webpack_require__(4402).add); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -module.exports = function union(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 6119: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var shared = __webpack_require__(5745); -var uid = __webpack_require__(3392); - -var keys = shared('keys'); - -module.exports = function (key) { - return keys[key] || (keys[key] = uid(key)); -}; - - -/***/ }), - -/***/ 7629: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_PURE = __webpack_require__(6395); -var globalThis = __webpack_require__(4475); -var defineGlobalProperty = __webpack_require__(9433); - -var SHARED = '__core-js_shared__'; -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); - -(store.versions || (store.versions = [])).push({ - version: '3.37.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE', - source: 'https://github.com/zloirock/core-js' -}); - - -/***/ }), - -/***/ 5745: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var store = __webpack_require__(7629); - -module.exports = function (key, value) { - return store[key] || (store[key] = value || {}); -}; - - -/***/ }), - -/***/ 1548: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var fails = __webpack_require__(9039); -var V8 = __webpack_require__(7388); -var IS_BROWSER = __webpack_require__(7290); -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -var structuredClone = global.structuredClone; - -module.exports = !!structuredClone && !fails(function () { - // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation - // https://github.com/zloirock/core-js/issues/679 - if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; - var buffer = new ArrayBuffer(8); - var clone = structuredClone(buffer, { transfer: [buffer] }); - return buffer.byteLength !== 0 || clone.byteLength !== 8; -}); - - -/***/ }), - -/***/ 4495: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__(7388); -var fails = __webpack_require__(9039); -var global = __webpack_require__(4475); - -var $String = global.String; - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - var symbol = Symbol('symbol detection'); - // Chrome 38 Symbol has incorrect toString conversion - // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances - // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, - // of course, fail. - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - !Symbol.sham && V8_VERSION && V8_VERSION < 41; -}); - - -/***/ }), - -/***/ 5610: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toIntegerOrInfinity(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ 5854: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); - -var $TypeError = TypeError; - -// `ToBigInt` abstract operation -// https://tc39.es/ecma262/#sec-tobigint -module.exports = function (argument) { - var prim = toPrimitive(argument, 'number'); - if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint"); - // eslint-disable-next-line es/no-bigint -- safe - return BigInt(prim); -}; - - -/***/ }), - -/***/ 7696: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); -var toLength = __webpack_require__(8014); - -var $RangeError = RangeError; - -// `ToIndex` abstract operation -// https://tc39.es/ecma262/#sec-toindex -module.exports = function (it) { - if (it === undefined) return 0; - var number = toIntegerOrInfinity(it); - var length = toLength(number); - if (number !== length) throw new $RangeError('Wrong length or index'); - return length; -}; - - -/***/ }), - -/***/ 5397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(7055); -var requireObjectCoercible = __webpack_require__(7750); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ 1291: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var trunc = __webpack_require__(741); - -// `ToIntegerOrInfinity` abstract operation -// https://tc39.es/ecma262/#sec-tointegerorinfinity -module.exports = function (argument) { - var number = +argument; - // eslint-disable-next-line no-self-compare -- NaN check - return number !== number || number === 0 ? 0 : trunc(number); -}; - - -/***/ }), - -/***/ 8014: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - var len = toIntegerOrInfinity(argument); - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ 8981: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var requireObjectCoercible = __webpack_require__(7750); - -var $Object = Object; - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return $Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ 2777: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isObject = __webpack_require__(34); -var isSymbol = __webpack_require__(757); -var getMethod = __webpack_require__(5966); -var ordinaryToPrimitive = __webpack_require__(4270); -var wellKnownSymbol = __webpack_require__(8227); - -var $TypeError = TypeError; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -module.exports = function (input, pref) { - if (!isObject(input) || isSymbol(input)) return input; - var exoticToPrim = getMethod(input, TO_PRIMITIVE); - var result; - if (exoticToPrim) { - if (pref === undefined) pref = 'default'; - result = call(exoticToPrim, input, pref); - if (!isObject(result) || isSymbol(result)) return result; - throw new $TypeError("Can't convert object to primitive value"); - } - if (pref === undefined) pref = 'number'; - return ordinaryToPrimitive(input, pref); -}; - - -/***/ }), - -/***/ 6969: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); -var isSymbol = __webpack_require__(757); - -// `ToPropertyKey` abstract operation -// https://tc39.es/ecma262/#sec-topropertykey -module.exports = function (argument) { - var key = toPrimitive(argument, 'string'); - return isSymbol(key) ? key : key + ''; -}; - - -/***/ }), - -/***/ 2140: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ 655: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -var $String = String; - -module.exports = function (argument) { - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); -}; - - -/***/ }), - -/***/ 9714: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_NODE = __webpack_require__(9088); - -module.exports = function (name) { - try { - // eslint-disable-next-line no-new-func -- safe - if (IS_NODE) return Function('return require("' + name + '")')(); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 6823: -/***/ ((module) => { - - -var $String = String; - -module.exports = function (argument) { - try { - return $String(argument); - } catch (error) { - return 'Object'; - } -}; - - -/***/ }), - -/***/ 3392: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var id = 0; -var postfix = Math.random(); -var toString = uncurryThis(1.0.toString); - -module.exports = function (key) { - return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); -}; - - -/***/ }), - -/***/ 7040: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(4495); - -module.exports = NATIVE_SYMBOL - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ 8686: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); - -// V8 ~ Chrome 36- -// https://bugs.chromium.org/p/v8/issues/detail?id=3334 -module.exports = DESCRIPTORS && fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(function () { /* empty */ }, 'prototype', { - value: 42, - writable: false - }).prototype !== 42; -}); - - -/***/ }), - -/***/ 2812: -/***/ ((module) => { - - -var $TypeError = TypeError; - -module.exports = function (passed, required) { - if (passed < required) throw new $TypeError('Not enough arguments'); - return passed; -}; - - -/***/ }), - -/***/ 8622: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var WeakMap = global.WeakMap; - -module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); - - -/***/ }), - -/***/ 8227: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var shared = __webpack_require__(5745); -var hasOwn = __webpack_require__(9297); -var uid = __webpack_require__(3392); -var NATIVE_SYMBOL = __webpack_require__(4495); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var Symbol = global.Symbol; -var WellKnownSymbolsStore = shared('wks'); -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!hasOwn(WellKnownSymbolsStore, name)) { - WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) - ? Symbol[name] - : createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ 6573: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var defineBuiltInAccessor = __webpack_require__(2106); -var isDetached = __webpack_require__(3238); - -var ArrayBufferPrototype = ArrayBuffer.prototype; - -if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { - defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { - configurable: true, - get: function detached() { - return isDetached(this); - } - }); -} - - -/***/ }), - -/***/ 7936: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transferToFixedLength` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transferToFixedLength: function transferToFixedLength() { - return $transfer(this, arguments.length ? arguments[0] : undefined, false); - } -}); - - -/***/ }), - -/***/ 8100: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transfer` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transfer: function transfer() { - return $transfer(this, arguments.length ? arguments[0] : undefined, true); - } -}); - - -/***/ }), - -/***/ 4114: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var toObject = __webpack_require__(8981); -var lengthOfArrayLike = __webpack_require__(6198); -var setArrayLength = __webpack_require__(4527); -var doesNotExceedSafeInteger = __webpack_require__(6837); -var fails = __webpack_require__(9039); - -var INCORRECT_TO_LENGTH = fails(function () { - return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; -}); - -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError -// https://bugs.chromium.org/p/v8/issues/detail?id=12681 -var properErrorOnNonWritableLength = function () { - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).push(); - } catch (error) { - return error instanceof TypeError; - } -}; - -var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); - -// `Array.prototype.push` method -// https://tc39.es/ecma262/#sec-array.prototype.push -$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - push: function push(item) { - var O = toObject(this); - var len = lengthOfArrayLike(O); - var argCount = arguments.length; - doesNotExceedSafeInteger(len + argCount); - for (var i = 0; i < argCount; i++) { - O[len] = arguments[i]; - len++; - } - setArrayLength(O, len); - return len; - } -}); - - -/***/ }), - -/***/ 4628: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var newPromiseCapabilityModule = __webpack_require__(6043); - -// `Promise.withResolvers` method -// https://github.com/tc39/proposal-promise-with-resolvers -$({ target: 'Promise', stat: true }, { - withResolvers: function withResolvers() { - var promiseCapability = newPromiseCapabilityModule.f(this); - return { - promise: promiseCapability.promise, - resolve: promiseCapability.resolve, - reject: promiseCapability.reject - }; - } -}); - - -/***/ }), - -/***/ 7642: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var difference = __webpack_require__(3440); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { - difference: difference -}); - - -/***/ }), - -/***/ 8004: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var fails = __webpack_require__(9039); -var intersection = __webpack_require__(8750); -var setMethodAcceptSetLike = __webpack_require__(4916); - -var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { - // eslint-disable-next-line es/no-array-from, es/no-set -- testing - return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2'; -}); - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { - intersection: intersection -}); - - -/***/ }), - -/***/ 3853: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isDisjointFrom = __webpack_require__(4449); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isDisjointFrom` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { - isDisjointFrom: isDisjointFrom -}); - - -/***/ }), - -/***/ 5876: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSubsetOf = __webpack_require__(3838); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSubsetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { - isSubsetOf: isSubsetOf -}); - - -/***/ }), - -/***/ 2475: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSupersetOf = __webpack_require__(8527); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSupersetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { - isSupersetOf: isSupersetOf -}); - - -/***/ }), - -/***/ 5024: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var symmetricDifference = __webpack_require__(3650); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { - symmetricDifference: symmetricDifference -}); - - -/***/ }), - -/***/ 1698: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var union = __webpack_require__(4204); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { - union: union -}); - - -/***/ }), - -/***/ 7467: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayToReversed = __webpack_require__(7628); -var ArrayBufferViewCore = __webpack_require__(4644); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; - -// `%TypedArray%.prototype.toReversed` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed -exportTypedArrayMethod('toReversed', function toReversed() { - return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); -}); - - -/***/ }), - -/***/ 4732: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var ArrayBufferViewCore = __webpack_require__(4644); -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); -var arrayFromConstructorAndList = __webpack_require__(5370); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); - -// `%TypedArray%.prototype.toSorted` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted -exportTypedArrayMethod('toSorted', function toSorted(compareFn) { - if (compareFn !== undefined) aCallable(compareFn); - var O = aTypedArray(this); - var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); - return sort(A, compareFn); -}); - - -/***/ }), - -/***/ 9577: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayWith = __webpack_require__(9928); -var ArrayBufferViewCore = __webpack_require__(4644); -var isBigIntArray = __webpack_require__(1108); -var toIntegerOrInfinity = __webpack_require__(1291); -var toBigInt = __webpack_require__(5854); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; - -var PROPER_ORDER = !!function () { - try { - // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing - new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); - } catch (error) { - // some early implementations, like WebKit, does not follow the final semantic - // https://github.com/tc39/proposal-change-array-by-copy/pull/86 - return error === 8; - } -}(); - -// `%TypedArray%.prototype.with` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with -exportTypedArrayMethod('with', { 'with': function (index, value) { - var O = aTypedArray(this); - var relativeIndex = toIntegerOrInfinity(index); - var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; - return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); -} }['with'], !PROPER_ORDER); - - -/***/ }), - -/***/ 8992: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var anInstance = __webpack_require__(679); -var anObject = __webpack_require__(8551); -var isCallable = __webpack_require__(4901); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltInAccessor = __webpack_require__(2106); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var hasOwn = __webpack_require__(9297); -var wellKnownSymbol = __webpack_require__(8227); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var CONSTRUCTOR = 'constructor'; -var ITERATOR = 'Iterator'; -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -var $TypeError = TypeError; -var NativeIterator = global[ITERATOR]; - -// FF56- have non-standard global helper `Iterator` -var FORCED = IS_PURE - || !isCallable(NativeIterator) - || NativeIterator.prototype !== IteratorPrototype - // FF44- non-standard `Iterator` passes previous tests - || !fails(function () { NativeIterator({}); }); - -var IteratorConstructor = function Iterator() { - anInstance(this, IteratorPrototype); - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); -}; - -var defineIteratorPrototypeAccessor = function (key, value) { - if (DESCRIPTORS) { - defineBuiltInAccessor(IteratorPrototype, key, { - configurable: true, - get: function () { - return value; - }, - set: function (replacement) { - anObject(this); - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); - if (hasOwn(this, key)) this[key] = replacement; - else createProperty(this, key, replacement); - } - }); - } else IteratorPrototype[key] = value; -}; - -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); - -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); -} - -IteratorConstructor.prototype = IteratorPrototype; - -// `Iterator` constructor -// https://github.com/tc39/proposal-iterator-helpers -$({ global: true, constructor: true, forced: FORCED }, { - Iterator: IteratorConstructor -}); - - -/***/ }), - -/***/ 3215: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.every` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - every: function every(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return !iterate(record, function (value, stop) { - if (!predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 4520: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); -var IS_PURE = __webpack_require__(6395); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var predicate = this.predicate; - var next = this.next; - var result, done, value; - while (true) { - result = anObject(call(next, iterator)); - done = this.done = !!result.done; - if (done) return; - value = result.value; - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; - } -}); - -// `Iterator.prototype.filter` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - filter: function filter(predicate) { - anObject(this); - aCallable(predicate); - return new IteratorProxy(getIteratorDirect(this), { - predicate: predicate - }); - } -}); - - -/***/ }), - -/***/ 670: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var getIteratorFlattenable = __webpack_require__(8646); -var createIteratorProxy = __webpack_require__(9462); -var iteratorClose = __webpack_require__(9539); -var IS_PURE = __webpack_require__(6395); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var mapper = this.mapper; - var result, inner; - - while (true) { - if (inner = this.inner) try { - result = anObject(call(inner.next, inner.iterator)); - if (!result.done) return result.value; - this.inner = null; - } catch (error) { iteratorClose(iterator, 'throw', error); } - - result = anObject(call(this.next, iterator)); - - if (this.done = !!result.done) return; - - try { - this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false); - } catch (error) { iteratorClose(iterator, 'throw', error); } - } -}); - -// `Iterator.prototype.flatMap` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - flatMap: function flatMap(mapper) { - anObject(this); - aCallable(mapper); - return new IteratorProxy(getIteratorDirect(this), { - mapper: mapper, - inner: null - }); - } -}); - - -/***/ }), - -/***/ 1454: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var map = __webpack_require__(713); -var IS_PURE = __webpack_require__(6395); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - map: map -}); - - -/***/ }), - -/***/ 7550: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.some` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - some: function some(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return iterate(record, function (value, stop) { - if (predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 8335: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var isArray = __webpack_require__(4376); -var hasOwn = __webpack_require__(9297); -var toString = __webpack_require__(655); -var lengthOfArrayLike = __webpack_require__(6198); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var parseJSONString = __webpack_require__(8235); -var NATIVE_SYMBOL = __webpack_require__(4495); - -var JSON = global.JSON; -var Number = global.Number; -var SyntaxError = global.SyntaxError; -var nativeParse = JSON && JSON.parse; -var enumerableOwnProperties = getBuiltIn('Object', 'keys'); -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); -var push = uncurryThis([].push); - -var IS_DIGIT = /^\d$/; -var IS_NON_ZERO_DIGIT = /^[1-9]$/; -var IS_NUMBER_START = /^(?:-|\d)$/; -var IS_WHITESPACE = /^[\t\n\r ]$/; - -var PRIMITIVE = 0; -var OBJECT = 1; - -var $parse = function (source, reviver) { - source = toString(source); - var context = new Context(source, 0, ''); - var root = context.parse(); - var value = root.value; - var endIndex = context.skip(IS_WHITESPACE, root.end); - if (endIndex < source.length) { - throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); - } - return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; -}; - -var internalize = function (holder, name, reviver, node) { - var val = holder[name]; - var unmodified = node && val === node.value; - var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; - var elementRecordsLen, keys, len, i, P; - if (isObject(val)) { - var nodeIsArray = isArray(val); - var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; - if (nodeIsArray) { - elementRecordsLen = nodes.length; - len = lengthOfArrayLike(val); - for (i = 0; i < len; i++) { - internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); - } - } else { - keys = enumerableOwnProperties(val); - len = lengthOfArrayLike(keys); - for (i = 0; i < len; i++) { - P = keys[i]; - internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); - } - } - } - return call(reviver, holder, name, val, context); -}; - -var internalizeProperty = function (object, key, value) { - if (DESCRIPTORS) { - var descriptor = getOwnPropertyDescriptor(object, key); - if (descriptor && !descriptor.configurable) return; - } - if (value === undefined) delete object[key]; - else createProperty(object, key, value); -}; - -var Node = function (value, end, source, nodes) { - this.value = value; - this.end = end; - this.source = source; - this.nodes = nodes; -}; - -var Context = function (source, index) { - this.source = source; - this.index = index; -}; - -// https://www.json.org/json-en.html -Context.prototype = { - fork: function (nextIndex) { - return new Context(this.source, nextIndex); - }, - parse: function () { - var source = this.source; - var i = this.skip(IS_WHITESPACE, this.index); - var fork = this.fork(i); - var chr = at(source, i); - if (exec(IS_NUMBER_START, chr)) return fork.number(); - switch (chr) { - case '{': - return fork.object(); - case '[': - return fork.array(); - case '"': - return fork.string(); - case 't': - return fork.keyword(true); - case 'f': - return fork.keyword(false); - case 'n': - return fork.keyword(null); - } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - }, - node: function (type, value, start, end, nodes) { - return new Node(value, end, type ? null : slice(this.source, start, end), nodes); - }, - object: function () { - var source = this.source; - var i = this.index + 1; - var expectKeypair = false; - var object = {}; - var nodes = {}; - while (i < source.length) { - i = this.until(['"', '}'], i); - if (at(source, i) === '}' && !expectKeypair) { - i++; - break; - } - // Parsing the key - var result = this.fork(i).string(); - var key = result.value; - i = result.end; - i = this.until([':'], i) + 1; - // Parsing value - i = this.skip(IS_WHITESPACE, i); - result = this.fork(i).parse(); - createProperty(nodes, key, result); - createProperty(object, key, result.value); - i = this.until([',', '}'], result.end); - var chr = at(source, i); - if (chr === ',') { - expectKeypair = true; - i++; - } else if (chr === '}') { - i++; - break; - } - } - return this.node(OBJECT, object, this.index, i, nodes); - }, - array: function () { - var source = this.source; - var i = this.index + 1; - var expectElement = false; - var array = []; - var nodes = []; - while (i < source.length) { - i = this.skip(IS_WHITESPACE, i); - if (at(source, i) === ']' && !expectElement) { - i++; - break; - } - var result = this.fork(i).parse(); - push(nodes, result); - push(array, result.value); - i = this.until([',', ']'], result.end); - if (at(source, i) === ',') { - expectElement = true; - i++; - } else if (at(source, i) === ']') { - i++; - break; - } - } - return this.node(OBJECT, array, this.index, i, nodes); - }, - string: function () { - var index = this.index; - var parsed = parseJSONString(this.source, this.index + 1); - return this.node(PRIMITIVE, parsed.value, index, parsed.end); - }, - number: function () { - var source = this.source; - var startIndex = this.index; - var i = startIndex; - if (at(source, i) === '-') i++; - if (at(source, i) === '0') i++; - else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); - else throw new SyntaxError('Failed to parse number at: ' + i); - if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i); - if (at(source, i) === 'e' || at(source, i) === 'E') { - i++; - if (at(source, i) === '+' || at(source, i) === '-') i++; - var exponentStartIndex = i; - i = this.skip(IS_DIGIT, i); - if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i); - } - return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); - }, - keyword: function (value) { - var keyword = '' + value; - var index = this.index; - var endIndex = index + keyword.length; - if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index); - return this.node(PRIMITIVE, value, index, endIndex); - }, - skip: function (regex, i) { - var source = this.source; - for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; - return i; - }, - until: function (array, i) { - i = this.skip(IS_WHITESPACE, i); - var chr = at(this.source, i); - for (var j = 0; j < array.length; j++) if (array[j] === chr) return i; - throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - } -}; - -var NO_SOURCE_SUPPORT = fails(function () { - var unsafeInt = '9007199254740993'; - var source; - nativeParse(unsafeInt, function (key, value, context) { - source = context.source; - }); - return source !== unsafeInt; -}); - -var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { - // Safari 9 bug - return 1 / nativeParse('-0 \t') !== -Infinity; -}); - -// `JSON.parse` method -// https://tc39.es/ecma262/#sec-json.parse -// https://github.com/tc39/proposal-json-parse-with-source -$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { - parse: function parse(text, reviver) { - return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); - } -}); - - -/***/ }), - -/***/ 3375: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(7642); - - -/***/ }), - -/***/ 9225: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(8004); - - -/***/ }), - -/***/ 3972: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(3853); - - -/***/ }), - -/***/ 9209: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5876); - - -/***/ }), - -/***/ 5714: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(2475); - - -/***/ }), - -/***/ 7561: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5024); - - -/***/ }), - -/***/ 6197: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(1698); - - -/***/ }), - -/***/ 4979: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var createPropertyDescriptor = __webpack_require__(6980); -var defineProperty = (__webpack_require__(4913).f); -var hasOwn = __webpack_require__(9297); -var anInstance = __webpack_require__(679); -var inheritIfRequired = __webpack_require__(3167); -var normalizeStringArgument = __webpack_require__(2603); -var DOMExceptionConstants = __webpack_require__(5002); -var clearErrorStack = __webpack_require__(6193); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var DOM_EXCEPTION = 'DOMException'; -var Error = getBuiltIn('Error'); -var NativeDOMException = getBuiltIn(DOM_EXCEPTION); - -var $DOMException = function DOMException() { - anInstance(this, DOMExceptionPrototype); - var argumentsLength = arguments.length; - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); - var that = new NativeDOMException(message, name); - var error = new Error(message); - error.name = DOM_EXCEPTION; - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); - inheritIfRequired(that, this, $DOMException); - return that; -}; - -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; - -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); - -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it -// https://github.com/Jarred-Sumner/bun/issues/399 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); - -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; - -// `DOMException` constructor patch for `.stack` where it's required -// https://webidl.spec.whatwg.org/#es-DOMException-specialness -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException -}); - -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; - -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { - if (!IS_PURE) { - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); - } - - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { - var constant = DOMExceptionConstants[key]; - var constantName = constant.s; - if (!hasOwn(PolyfilledDOMException, constantName)) { - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); - } - } -} - - -/***/ }), - -/***/ 4603: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var append = uncurryThis(URLSearchParamsPrototype.append); -var $delete = uncurryThis(URLSearchParamsPrototype['delete']); -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); -var push = uncurryThis([].push); -var params = new $URLSearchParams('a=1&a=2&b=3'); - -params['delete']('a', 1); -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -params['delete']('b', undefined); - -if (params + '' !== 'a=2') { - defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $delete(this, name); - var entries = []; - forEach(this, function (v, k) { // also validates `this` - push(entries, { key: k, value: v }); - }); - validateArgumentsLength(length, 1); - var key = toString(name); - var value = toString($value); - var index = 0; - var dindex = 0; - var found = false; - var entriesLength = entries.length; - var entry; - while (index < entriesLength) { - entry = entries[index++]; - if (found || entry.key === key) { - found = true; - $delete(this, entry.key); - } else dindex++; - } - while (dindex < entriesLength) { - entry = entries[dindex++]; - if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); - } - }, { enumerable: true, unsafe: true }); -} - - -/***/ }), - -/***/ 7566: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var getAll = uncurryThis(URLSearchParamsPrototype.getAll); -var $has = uncurryThis(URLSearchParamsPrototype.has); -var params = new $URLSearchParams('a=1'); - -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -if (params.has('a', 2) || !params.has('a', undefined)) { - defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $has(this, name); - var values = getAll(this, name); // also validates `this` - validateArgumentsLength(length, 1); - var value = toString($value); - var index = 0; - while (index < values.length) { - if (values[index++] === value) return true; - } return false; - }, { enumerable: true, unsafe: true }); -} - - -/***/ }), - -/***/ 8721: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var uncurryThis = __webpack_require__(9504); -var defineBuiltInAccessor = __webpack_require__(2106); - -var URLSearchParamsPrototype = URLSearchParams.prototype; -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); - -// `URLSearchParams.prototype.size` getter -// https://github.com/whatwg/url/pull/734 -if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { - defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { - get: function size() { - var count = 0; - forEach(this, function () { count++; }); - return count; - }, - configurable: true, - enumerable: true - }); -} - - -/***/ }), - -/***/ 6976: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - AnnotationLayer: () => (/* binding */ AnnotationLayer), - FreeTextAnnotationElement: () => (/* binding */ FreeTextAnnotationElement), - InkAnnotationElement: () => (/* binding */ InkAnnotationElement), - StampAnnotationElement: () => (/* binding */ StampAnnotationElement) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.flat-map.js -var esnext_iterator_flat_map = __webpack_require__(670); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js -var esnext_set_difference_v2 = __webpack_require__(3375); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js -var esnext_set_intersection_v2 = __webpack_require__(9225); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js -var esnext_set_is_disjoint_from_v2 = __webpack_require__(3972); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js -var esnext_set_is_subset_of_v2 = __webpack_require__(9209); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js -var esnext_set_is_superset_of_v2 = __webpack_require__(5714); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js -var esnext_set_symmetric_difference_v2 = __webpack_require__(7561); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js -var esnext_set_union_v2 = __webpack_require__(6197); -// EXTERNAL MODULE: ./src/shared/util.js -var util = __webpack_require__(4292); -// EXTERNAL MODULE: ./src/display/display_utils.js -var display_utils = __webpack_require__(5419); -// EXTERNAL MODULE: ./src/display/annotation_storage.js -var annotation_storage = __webpack_require__(9792); -;// CONCATENATED MODULE: ./src/shared/scripting_utils.js - -function makeColorComp(n) { - return Math.floor(Math.max(0, Math.min(1, n)) * 255).toString(16).padStart(2, "0"); -} -function scaleAndClamp(x) { - return Math.max(0, Math.min(255, 255 * x)); -} -class ColorConverters { - static CMYK_G([c, y, m, k]) { - return ["G", 1 - Math.min(1, 0.3 * c + 0.59 * m + 0.11 * y + k)]; - } - static G_CMYK([g]) { - return ["CMYK", 0, 0, 0, 1 - g]; - } - static G_RGB([g]) { - return ["RGB", g, g, g]; - } - static G_rgb([g]) { - g = scaleAndClamp(g); - return [g, g, g]; - } - static G_HTML([g]) { - const G = makeColorComp(g); - return `#${G}${G}${G}`; - } - static RGB_G([r, g, b]) { - return ["G", 0.3 * r + 0.59 * g + 0.11 * b]; - } - static RGB_rgb(color) { - return color.map(scaleAndClamp); - } - static RGB_HTML(color) { - return `#${color.map(makeColorComp).join("")}`; - } - static T_HTML() { - return "#00000000"; - } - static T_rgb() { - return [null]; - } - static CMYK_RGB([c, y, m, k]) { - return ["RGB", 1 - Math.min(1, c + k), 1 - Math.min(1, m + k), 1 - Math.min(1, y + k)]; - } - static CMYK_rgb([c, y, m, k]) { - return [scaleAndClamp(1 - Math.min(1, c + k)), scaleAndClamp(1 - Math.min(1, m + k)), scaleAndClamp(1 - Math.min(1, y + k))]; - } - static CMYK_HTML(components) { - const rgb = this.CMYK_RGB(components).slice(1); - return this.RGB_HTML(rgb); - } - static RGB_CMYK([r, g, b]) { - const c = 1 - r; - const m = 1 - g; - const y = 1 - b; - const k = Math.min(c, m, y); - return ["CMYK", c, m, y, k]; - } -} - -// EXTERNAL MODULE: ./src/display/xfa_layer.js -var xfa_layer = __webpack_require__(8284); -;// CONCATENATED MODULE: ./src/display/annotation_layer.js - - - - - - - - - - - - - - - - -const DEFAULT_TAB_INDEX = 1000; -const DEFAULT_FONT_SIZE = 9; -const GetElementsByNameSet = new WeakSet(); -function getRectDims(rect) { - return { - width: rect[2] - rect[0], - height: rect[3] - rect[1] - }; -} -class AnnotationElementFactory { - static create(parameters) { - const subtype = parameters.data.annotationType; - switch (subtype) { - case util.AnnotationType.LINK: - return new LinkAnnotationElement(parameters); - case util.AnnotationType.TEXT: - return new TextAnnotationElement(parameters); - case util.AnnotationType.WIDGET: - const fieldType = parameters.data.fieldType; - switch (fieldType) { - case "Tx": - return new TextWidgetAnnotationElement(parameters); - case "Btn": - if (parameters.data.radioButton) { - return new RadioButtonWidgetAnnotationElement(parameters); - } else if (parameters.data.checkBox) { - return new CheckboxWidgetAnnotationElement(parameters); - } - return new PushButtonWidgetAnnotationElement(parameters); - case "Ch": - return new ChoiceWidgetAnnotationElement(parameters); - case "Sig": - return new SignatureWidgetAnnotationElement(parameters); - } - return new WidgetAnnotationElement(parameters); - case util.AnnotationType.POPUP: - return new PopupAnnotationElement(parameters); - case util.AnnotationType.FREETEXT: - return new FreeTextAnnotationElement(parameters); - case util.AnnotationType.LINE: - return new LineAnnotationElement(parameters); - case util.AnnotationType.SQUARE: - return new SquareAnnotationElement(parameters); - case util.AnnotationType.CIRCLE: - return new CircleAnnotationElement(parameters); - case util.AnnotationType.POLYLINE: - return new PolylineAnnotationElement(parameters); - case util.AnnotationType.CARET: - return new CaretAnnotationElement(parameters); - case util.AnnotationType.INK: - return new InkAnnotationElement(parameters); - case util.AnnotationType.POLYGON: - return new PolygonAnnotationElement(parameters); - case util.AnnotationType.HIGHLIGHT: - return new HighlightAnnotationElement(parameters); - case util.AnnotationType.UNDERLINE: - return new UnderlineAnnotationElement(parameters); - case util.AnnotationType.SQUIGGLY: - return new SquigglyAnnotationElement(parameters); - case util.AnnotationType.STRIKEOUT: - return new StrikeOutAnnotationElement(parameters); - case util.AnnotationType.STAMP: - return new StampAnnotationElement(parameters); - case util.AnnotationType.FILEATTACHMENT: - return new FileAttachmentAnnotationElement(parameters); - default: - return new AnnotationElement(parameters); - } - } -} -class AnnotationElement { - #updates = null; - #hasBorder = false; - constructor(parameters, { - isRenderable = false, - ignoreBorder = false, - createQuadrilaterals = false - } = {}) { - this.isRenderable = isRenderable; - this.data = parameters.data; - this.layer = parameters.layer; - this.linkService = parameters.linkService; - this.downloadManager = parameters.downloadManager; - this.imageResourcesPath = parameters.imageResourcesPath; - this.renderForms = parameters.renderForms; - this.svgFactory = parameters.svgFactory; - this.annotationStorage = parameters.annotationStorage; - this.enableScripting = parameters.enableScripting; - this.hasJSActions = parameters.hasJSActions; - this._fieldObjects = parameters.fieldObjects; - this.parent = parameters.parent; - if (isRenderable) { - this.container = this._createContainer(ignoreBorder); - } - if (createQuadrilaterals) { - this._createQuadrilaterals(); - } - } - static _hasPopupData({ - titleObj, - contentsObj, - richText - }) { - return !!(titleObj?.str || contentsObj?.str || richText?.str); - } - get hasPopupData() { - return AnnotationElement._hasPopupData(this.data); - } - updateEdited(params) { - if (!this.container) { - return; - } - this.#updates ||= { - rect: this.data.rect.slice(0) - }; - const { - rect - } = params; - if (rect) { - this.#setRectEdited(rect); - } - } - resetEdited() { - if (!this.#updates) { - return; - } - this.#setRectEdited(this.#updates.rect); - this.#updates = null; - } - #setRectEdited(rect) { - const { - container: { - style - }, - data: { - rect: currentRect, - rotation - }, - parent: { - viewport: { - rawDims: { - pageWidth, - pageHeight, - pageX, - pageY - } - } - } - } = this; - currentRect?.splice(0, 4, ...rect); - const { - width, - height - } = getRectDims(rect); - style.left = `${100 * (rect[0] - pageX) / pageWidth}%`; - style.top = `${100 * (pageHeight - rect[3] + pageY) / pageHeight}%`; - if (rotation === 0) { - style.width = `${100 * width / pageWidth}%`; - style.height = `${100 * height / pageHeight}%`; - } else { - this.setRotation(rotation); - } - } - _createContainer(ignoreBorder) { - const { - data, - parent: { - page, - viewport - } - } = this; - const container = document.createElement("section"); - container.setAttribute("data-annotation-id", data.id); - if (!(this instanceof WidgetAnnotationElement)) { - container.tabIndex = DEFAULT_TAB_INDEX; - } - const { - style - } = container; - style.zIndex = this.parent.zIndex++; - if (data.popupRef) { - container.setAttribute("aria-haspopup", "dialog"); - } - if (data.alternativeText) { - container.title = data.alternativeText; - } - if (data.noRotate) { - container.classList.add("norotate"); - } - if (!data.rect || this instanceof PopupAnnotationElement) { - const { - rotation - } = data; - if (!data.hasOwnCanvas && rotation !== 0) { - this.setRotation(rotation, container); - } - return container; - } - const { - width, - height - } = getRectDims(data.rect); - if (!ignoreBorder && data.borderStyle.width > 0) { - style.borderWidth = `${data.borderStyle.width}px`; - const horizontalRadius = data.borderStyle.horizontalCornerRadius; - const verticalRadius = data.borderStyle.verticalCornerRadius; - if (horizontalRadius > 0 || verticalRadius > 0) { - const radius = `calc(${horizontalRadius}px * var(--scale-factor)) / calc(${verticalRadius}px * var(--scale-factor))`; - style.borderRadius = radius; - } else if (this instanceof RadioButtonWidgetAnnotationElement) { - const radius = `calc(${width}px * var(--scale-factor)) / calc(${height}px * var(--scale-factor))`; - style.borderRadius = radius; - } - switch (data.borderStyle.style) { - case util.AnnotationBorderStyleType.SOLID: - style.borderStyle = "solid"; - break; - case util.AnnotationBorderStyleType.DASHED: - style.borderStyle = "dashed"; - break; - case util.AnnotationBorderStyleType.BEVELED: - (0,util.warn)("Unimplemented border style: beveled"); - break; - case util.AnnotationBorderStyleType.INSET: - (0,util.warn)("Unimplemented border style: inset"); - break; - case util.AnnotationBorderStyleType.UNDERLINE: - style.borderBottomStyle = "solid"; - break; - default: - break; - } - const borderColor = data.borderColor || null; - if (borderColor) { - this.#hasBorder = true; - style.borderColor = util.Util.makeHexColor(borderColor[0] | 0, borderColor[1] | 0, borderColor[2] | 0); - } else { - style.borderWidth = 0; - } - } - const rect = util.Util.normalizeRect([data.rect[0], page.view[3] - data.rect[1] + page.view[1], data.rect[2], page.view[3] - data.rect[3] + page.view[1]]); - const { - pageWidth, - pageHeight, - pageX, - pageY - } = viewport.rawDims; - style.left = `${100 * (rect[0] - pageX) / pageWidth}%`; - style.top = `${100 * (rect[1] - pageY) / pageHeight}%`; - const { - rotation - } = data; - if (data.hasOwnCanvas || rotation === 0) { - style.width = `${100 * width / pageWidth}%`; - style.height = `${100 * height / pageHeight}%`; - } else { - this.setRotation(rotation, container); - } - return container; - } - setRotation(angle, container = this.container) { - if (!this.data.rect) { - return; - } - const { - pageWidth, - pageHeight - } = this.parent.viewport.rawDims; - const { - width, - height - } = getRectDims(this.data.rect); - let elementWidth, elementHeight; - if (angle % 180 === 0) { - elementWidth = 100 * width / pageWidth; - elementHeight = 100 * height / pageHeight; - } else { - elementWidth = 100 * height / pageWidth; - elementHeight = 100 * width / pageHeight; - } - container.style.width = `${elementWidth}%`; - container.style.height = `${elementHeight}%`; - container.setAttribute("data-main-rotation", (360 - angle) % 360); - } - get _commonActions() { - const setColor = (jsName, styleName, event) => { - const color = event.detail[jsName]; - const colorType = color[0]; - const colorArray = color.slice(1); - event.target.style[styleName] = ColorConverters[`${colorType}_HTML`](colorArray); - this.annotationStorage.setValue(this.data.id, { - [styleName]: ColorConverters[`${colorType}_rgb`](colorArray) - }); - }; - return (0,util.shadow)(this, "_commonActions", { - display: event => { - const { - display - } = event.detail; - const hidden = display % 2 === 1; - this.container.style.visibility = hidden ? "hidden" : "visible"; - this.annotationStorage.setValue(this.data.id, { - noView: hidden, - noPrint: display === 1 || display === 2 - }); - }, - print: event => { - this.annotationStorage.setValue(this.data.id, { - noPrint: !event.detail.print - }); - }, - hidden: event => { - const { - hidden - } = event.detail; - this.container.style.visibility = hidden ? "hidden" : "visible"; - this.annotationStorage.setValue(this.data.id, { - noPrint: hidden, - noView: hidden - }); - }, - focus: event => { - setTimeout(() => event.target.focus({ - preventScroll: false - }), 0); - }, - userName: event => { - event.target.title = event.detail.userName; - }, - readonly: event => { - event.target.disabled = event.detail.readonly; - }, - required: event => { - this._setRequired(event.target, event.detail.required); - }, - bgColor: event => { - setColor("bgColor", "backgroundColor", event); - }, - fillColor: event => { - setColor("fillColor", "backgroundColor", event); - }, - fgColor: event => { - setColor("fgColor", "color", event); - }, - textColor: event => { - setColor("textColor", "color", event); - }, - borderColor: event => { - setColor("borderColor", "borderColor", event); - }, - strokeColor: event => { - setColor("strokeColor", "borderColor", event); - }, - rotation: event => { - const angle = event.detail.rotation; - this.setRotation(angle); - this.annotationStorage.setValue(this.data.id, { - rotation: angle - }); - } - }); - } - _dispatchEventFromSandbox(actions, jsEvent) { - const commonActions = this._commonActions; - for (const name of Object.keys(jsEvent.detail)) { - const action = actions[name] || commonActions[name]; - action?.(jsEvent); - } - } - _setDefaultPropertiesFromJS(element) { - if (!this.enableScripting) { - return; - } - const storedData = this.annotationStorage.getRawValue(this.data.id); - if (!storedData) { - return; - } - const commonActions = this._commonActions; - for (const [actionName, detail] of Object.entries(storedData)) { - const action = commonActions[actionName]; - if (action) { - const eventProxy = { - detail: { - [actionName]: detail - }, - target: element - }; - action(eventProxy); - delete storedData[actionName]; - } - } - } - _createQuadrilaterals() { - if (!this.container) { - return; - } - const { - quadPoints - } = this.data; - if (!quadPoints) { - return; - } - const [rectBlX, rectBlY, rectTrX, rectTrY] = this.data.rect; - if (quadPoints.length === 1) { - const [, { - x: trX, - y: trY - }, { - x: blX, - y: blY - }] = quadPoints[0]; - if (rectTrX === trX && rectTrY === trY && rectBlX === blX && rectBlY === blY) { - return; - } - } - const { - style - } = this.container; - let svgBuffer; - if (this.#hasBorder) { - const { - borderColor, - borderWidth - } = style; - style.borderWidth = 0; - svgBuffer = ["url('data:image/svg+xml;utf8,", ``, ``]; - this.container.classList.add("hasBorder"); - } - const width = rectTrX - rectBlX; - const height = rectTrY - rectBlY; - const { - svgFactory - } = this; - const svg = svgFactory.createElement("svg"); - svg.classList.add("quadrilateralsContainer"); - svg.setAttribute("width", 0); - svg.setAttribute("height", 0); - const defs = svgFactory.createElement("defs"); - svg.append(defs); - const clipPath = svgFactory.createElement("clipPath"); - const id = `clippath_${this.data.id}`; - clipPath.setAttribute("id", id); - clipPath.setAttribute("clipPathUnits", "objectBoundingBox"); - defs.append(clipPath); - for (const [, { - x: trX, - y: trY - }, { - x: blX, - y: blY - }] of quadPoints) { - const rect = svgFactory.createElement("rect"); - const x = (blX - rectBlX) / width; - const y = (rectTrY - trY) / height; - const rectWidth = (trX - blX) / width; - const rectHeight = (trY - blY) / height; - rect.setAttribute("x", x); - rect.setAttribute("y", y); - rect.setAttribute("width", rectWidth); - rect.setAttribute("height", rectHeight); - clipPath.append(rect); - svgBuffer?.push(``); - } - if (this.#hasBorder) { - svgBuffer.push(`')`); - style.backgroundImage = svgBuffer.join(""); - } - this.container.append(svg); - this.container.style.clipPath = `url(#${id})`; - } - _createPopup() { - const { - container, - data - } = this; - container.setAttribute("aria-haspopup", "dialog"); - const popup = new PopupAnnotationElement({ - data: { - color: data.color, - titleObj: data.titleObj, - modificationDate: data.modificationDate, - contentsObj: data.contentsObj, - richText: data.richText, - parentRect: data.rect, - borderStyle: 0, - id: `popup_${data.id}`, - rotation: data.rotation - }, - parent: this.parent, - elements: [this] - }); - this.parent.div.append(popup.render()); - } - render() { - (0,util.unreachable)("Abstract method `AnnotationElement.render` called"); - } - _getElementsByName(name, skipId = null) { - const fields = []; - if (this._fieldObjects) { - const fieldObj = this._fieldObjects[name]; - if (fieldObj) { - for (const { - page, - id, - exportValues - } of fieldObj) { - if (page === -1) { - continue; - } - if (id === skipId) { - continue; - } - const exportValue = typeof exportValues === "string" ? exportValues : null; - const domElement = document.querySelector(`[data-element-id="${id}"]`); - if (domElement && !GetElementsByNameSet.has(domElement)) { - (0,util.warn)(`_getElementsByName - element not allowed: ${id}`); - continue; - } - fields.push({ - id, - exportValue, - domElement - }); - } - } - return fields; - } - for (const domElement of document.getElementsByName(name)) { - const { - exportValue - } = domElement; - const id = domElement.getAttribute("data-element-id"); - if (id === skipId) { - continue; - } - if (!GetElementsByNameSet.has(domElement)) { - continue; - } - fields.push({ - id, - exportValue, - domElement - }); - } - return fields; - } - show() { - if (this.container) { - this.container.hidden = false; - } - this.popup?.maybeShow(); - } - hide() { - if (this.container) { - this.container.hidden = true; - } - this.popup?.forceHide(); - } - getElementsToTriggerPopup() { - return this.container; - } - addHighlightArea() { - const triggers = this.getElementsToTriggerPopup(); - if (Array.isArray(triggers)) { - for (const element of triggers) { - element.classList.add("highlightArea"); - } - } else { - triggers.classList.add("highlightArea"); - } - } - get _isEditable() { - return false; - } - _editOnDoubleClick() { - if (!this._isEditable) { - return; - } - const { - annotationEditorType: mode, - data: { - id: editId - } - } = this; - this.container.addEventListener("dblclick", () => { - this.linkService.eventBus?.dispatch("switchannotationeditormode", { - source: this, - mode, - editId - }); - }); - } -} -class LinkAnnotationElement extends AnnotationElement { - constructor(parameters, options = null) { - super(parameters, { - isRenderable: true, - ignoreBorder: !!options?.ignoreBorder, - createQuadrilaterals: true - }); - this.isTooltipOnly = parameters.data.isTooltipOnly; - } - render() { - const { - data, - linkService - } = this; - const link = document.createElement("a"); - link.setAttribute("data-element-id", data.id); - let isBound = false; - if (data.url) { - linkService.addLinkAttributes(link, data.url, data.newWindow); - isBound = true; - } else if (data.action) { - this._bindNamedAction(link, data.action); - isBound = true; - } else if (data.attachment) { - this.#bindAttachment(link, data.attachment, data.attachmentDest); - isBound = true; - } else if (data.setOCGState) { - this.#bindSetOCGState(link, data.setOCGState); - isBound = true; - } else if (data.dest) { - this._bindLink(link, data.dest); - isBound = true; - } else { - if (data.actions && (data.actions.Action || data.actions["Mouse Up"] || data.actions["Mouse Down"]) && this.enableScripting && this.hasJSActions) { - this._bindJSAction(link, data); - isBound = true; - } - if (data.resetForm) { - this._bindResetFormAction(link, data.resetForm); - isBound = true; - } else if (this.isTooltipOnly && !isBound) { - this._bindLink(link, ""); - isBound = true; - } - } - this.container.classList.add("linkAnnotation"); - if (isBound) { - this.container.append(link); - } - return this.container; - } - #setInternalLink() { - this.container.setAttribute("data-internal-link", ""); - } - _bindLink(link, destination) { - link.href = this.linkService.getDestinationHash(destination); - link.onclick = () => { - if (destination) { - this.linkService.goToDestination(destination); - } - return false; - }; - if (destination || destination === "") { - this.#setInternalLink(); - } - } - _bindNamedAction(link, action) { - link.href = this.linkService.getAnchorUrl(""); - link.onclick = () => { - this.linkService.executeNamedAction(action); - return false; - }; - this.#setInternalLink(); - } - #bindAttachment(link, attachment, dest = null) { - link.href = this.linkService.getAnchorUrl(""); - link.onclick = () => { - this.downloadManager?.openOrDownloadData(attachment.content, attachment.filename, dest); - return false; - }; - this.#setInternalLink(); - } - #bindSetOCGState(link, action) { - link.href = this.linkService.getAnchorUrl(""); - link.onclick = () => { - this.linkService.executeSetOCGState(action); - return false; - }; - this.#setInternalLink(); - } - _bindJSAction(link, data) { - link.href = this.linkService.getAnchorUrl(""); - const map = new Map([["Action", "onclick"], ["Mouse Up", "onmouseup"], ["Mouse Down", "onmousedown"]]); - for (const name of Object.keys(data.actions)) { - const jsName = map.get(name); - if (!jsName) { - continue; - } - link[jsName] = () => { - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id: data.id, - name - } - }); - return false; - }; - } - if (!link.onclick) { - link.onclick = () => false; - } - this.#setInternalLink(); - } - _bindResetFormAction(link, resetForm) { - const otherClickAction = link.onclick; - if (!otherClickAction) { - link.href = this.linkService.getAnchorUrl(""); - } - this.#setInternalLink(); - if (!this._fieldObjects) { - (0,util.warn)(`_bindResetFormAction - "resetForm" action not supported, ` + "ensure that the `fieldObjects` parameter is provided."); - if (!otherClickAction) { - link.onclick = () => false; - } - return; - } - link.onclick = () => { - otherClickAction?.(); - const { - fields: resetFormFields, - refs: resetFormRefs, - include - } = resetForm; - const allFields = []; - if (resetFormFields.length !== 0 || resetFormRefs.length !== 0) { - const fieldIds = new Set(resetFormRefs); - for (const fieldName of resetFormFields) { - const fields = this._fieldObjects[fieldName] || []; - for (const { - id - } of fields) { - fieldIds.add(id); - } - } - for (const fields of Object.values(this._fieldObjects)) { - for (const field of fields) { - if (fieldIds.has(field.id) === include) { - allFields.push(field); - } - } - } - } else { - for (const fields of Object.values(this._fieldObjects)) { - allFields.push(...fields); - } - } - const storage = this.annotationStorage; - const allIds = []; - for (const field of allFields) { - const { - id - } = field; - allIds.push(id); - switch (field.type) { - case "text": - { - const value = field.defaultValue || ""; - storage.setValue(id, { - value - }); - break; - } - case "checkbox": - case "radiobutton": - { - const value = field.defaultValue === field.exportValues; - storage.setValue(id, { - value - }); - break; - } - case "combobox": - case "listbox": - { - const value = field.defaultValue || ""; - storage.setValue(id, { - value - }); - break; - } - default: - continue; - } - const domElement = document.querySelector(`[data-element-id="${id}"]`); - if (!domElement) { - continue; - } else if (!GetElementsByNameSet.has(domElement)) { - (0,util.warn)(`_bindResetFormAction - element not allowed: ${id}`); - continue; - } - domElement.dispatchEvent(new Event("resetform")); - } - if (this.enableScripting) { - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id: "app", - ids: allIds, - name: "ResetForm" - } - }); - } - return false; - }; - } -} -class TextAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true - }); - } - render() { - this.container.classList.add("textAnnotation"); - const image = document.createElement("img"); - image.src = this.imageResourcesPath + "annotation-" + this.data.name.toLowerCase() + ".svg"; - image.setAttribute("data-l10n-id", "pdfjs-text-annotation-type"); - image.setAttribute("data-l10n-args", JSON.stringify({ - type: this.data.name - })); - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this.container.append(image); - return this.container; - } -} -class WidgetAnnotationElement extends AnnotationElement { - render() { - return this.container; - } - showElementAndHideCanvas(element) { - if (this.data.hasOwnCanvas) { - if (element.previousSibling?.nodeName === "CANVAS") { - element.previousSibling.hidden = true; - } - element.hidden = false; - } - } - _getKeyModifier(event) { - return util.FeatureTest.platform.isMac ? event.metaKey : event.ctrlKey; - } - _setEventListener(element, elementData, baseName, eventName, valueGetter) { - if (baseName.includes("mouse")) { - element.addEventListener(baseName, event => { - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id: this.data.id, - name: eventName, - value: valueGetter(event), - shift: event.shiftKey, - modifier: this._getKeyModifier(event) - } - }); - }); - } else { - element.addEventListener(baseName, event => { - if (baseName === "blur") { - if (!elementData.focused || !event.relatedTarget) { - return; - } - elementData.focused = false; - } else if (baseName === "focus") { - if (elementData.focused) { - return; - } - elementData.focused = true; - } - if (!valueGetter) { - return; - } - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id: this.data.id, - name: eventName, - value: valueGetter(event) - } - }); - }); - } - } - _setEventListeners(element, elementData, names, getter) { - for (const [baseName, eventName] of names) { - if (eventName === "Action" || this.data.actions?.[eventName]) { - if (eventName === "Focus" || eventName === "Blur") { - elementData ||= { - focused: false - }; - } - this._setEventListener(element, elementData, baseName, eventName, getter); - if (eventName === "Focus" && !this.data.actions?.Blur) { - this._setEventListener(element, elementData, "blur", "Blur", null); - } else if (eventName === "Blur" && !this.data.actions?.Focus) { - this._setEventListener(element, elementData, "focus", "Focus", null); - } - } - } - } - _setBackgroundColor(element) { - const color = this.data.backgroundColor || null; - element.style.backgroundColor = color === null ? "transparent" : util.Util.makeHexColor(color[0], color[1], color[2]); - } - _setTextStyle(element) { - const TEXT_ALIGNMENT = ["left", "center", "right"]; - const { - fontColor - } = this.data.defaultAppearanceData; - const fontSize = this.data.defaultAppearanceData.fontSize || DEFAULT_FONT_SIZE; - const style = element.style; - let computedFontSize; - const BORDER_SIZE = 2; - const roundToOneDecimal = x => Math.round(10 * x) / 10; - if (this.data.multiLine) { - const height = Math.abs(this.data.rect[3] - this.data.rect[1] - BORDER_SIZE); - const numberOfLines = Math.round(height / (util.LINE_FACTOR * fontSize)) || 1; - const lineHeight = height / numberOfLines; - computedFontSize = Math.min(fontSize, roundToOneDecimal(lineHeight / util.LINE_FACTOR)); - } else { - const height = Math.abs(this.data.rect[3] - this.data.rect[1] - BORDER_SIZE); - computedFontSize = Math.min(fontSize, roundToOneDecimal(height / util.LINE_FACTOR)); - } - style.fontSize = `calc(${computedFontSize}px * var(--scale-factor))`; - style.color = util.Util.makeHexColor(fontColor[0], fontColor[1], fontColor[2]); - if (this.data.textAlignment !== null) { - style.textAlign = TEXT_ALIGNMENT[this.data.textAlignment]; - } - } - _setRequired(element, isRequired) { - if (isRequired) { - element.setAttribute("required", true); - } else { - element.removeAttribute("required"); - } - element.setAttribute("aria-required", isRequired); - } -} -class TextWidgetAnnotationElement extends WidgetAnnotationElement { - constructor(parameters) { - const isRenderable = parameters.renderForms || parameters.data.hasOwnCanvas || !parameters.data.hasAppearance && !!parameters.data.fieldValue; - super(parameters, { - isRenderable - }); - } - setPropertyOnSiblings(base, key, value, keyInStorage) { - const storage = this.annotationStorage; - for (const element of this._getElementsByName(base.name, base.id)) { - if (element.domElement) { - element.domElement[key] = value; - } - storage.setValue(element.id, { - [keyInStorage]: value - }); - } - } - render() { - const storage = this.annotationStorage; - const id = this.data.id; - this.container.classList.add("textWidgetAnnotation"); - let element = null; - if (this.renderForms) { - const storedData = storage.getValue(id, { - value: this.data.fieldValue - }); - let textContent = storedData.value || ""; - const maxLen = storage.getValue(id, { - charLimit: this.data.maxLen - }).charLimit; - if (maxLen && textContent.length > maxLen) { - textContent = textContent.slice(0, maxLen); - } - let fieldFormattedValues = storedData.formattedValue || this.data.textContent?.join("\n") || null; - if (fieldFormattedValues && this.data.comb) { - fieldFormattedValues = fieldFormattedValues.replaceAll(/\s+/g, ""); - } - const elementData = { - userValue: textContent, - formattedValue: fieldFormattedValues, - lastCommittedValue: null, - commitKey: 1, - focused: false - }; - if (this.data.multiLine) { - element = document.createElement("textarea"); - element.textContent = fieldFormattedValues ?? textContent; - if (this.data.doNotScroll) { - element.style.overflowY = "hidden"; - } - } else { - element = document.createElement("input"); - element.type = "text"; - element.setAttribute("value", fieldFormattedValues ?? textContent); - if (this.data.doNotScroll) { - element.style.overflowX = "hidden"; - } - } - if (this.data.hasOwnCanvas) { - element.hidden = true; - } - GetElementsByNameSet.add(element); - element.setAttribute("data-element-id", id); - element.disabled = this.data.readOnly; - element.name = this.data.fieldName; - element.tabIndex = DEFAULT_TAB_INDEX; - this._setRequired(element, this.data.required); - if (maxLen) { - element.maxLength = maxLen; - } - element.addEventListener("input", event => { - storage.setValue(id, { - value: event.target.value - }); - this.setPropertyOnSiblings(element, "value", event.target.value, "value"); - elementData.formattedValue = null; - }); - element.addEventListener("resetform", event => { - const defaultValue = this.data.defaultFieldValue ?? ""; - element.value = elementData.userValue = defaultValue; - elementData.formattedValue = null; - }); - let blurListener = event => { - const { - formattedValue - } = elementData; - if (formattedValue !== null && formattedValue !== undefined) { - event.target.value = formattedValue; - } - event.target.scrollLeft = 0; - }; - if (this.enableScripting && this.hasJSActions) { - element.addEventListener("focus", event => { - if (elementData.focused) { - return; - } - const { - target - } = event; - if (elementData.userValue) { - target.value = elementData.userValue; - } - elementData.lastCommittedValue = target.value; - elementData.commitKey = 1; - if (!this.data.actions?.Focus) { - elementData.focused = true; - } - }); - element.addEventListener("updatefromsandbox", jsEvent => { - this.showElementAndHideCanvas(jsEvent.target); - const actions = { - value(event) { - elementData.userValue = event.detail.value ?? ""; - storage.setValue(id, { - value: elementData.userValue.toString() - }); - event.target.value = elementData.userValue; - }, - formattedValue(event) { - const { - formattedValue - } = event.detail; - elementData.formattedValue = formattedValue; - if (formattedValue !== null && formattedValue !== undefined && event.target !== document.activeElement) { - event.target.value = formattedValue; - } - storage.setValue(id, { - formattedValue - }); - }, - selRange(event) { - event.target.setSelectionRange(...event.detail.selRange); - }, - charLimit: event => { - const { - charLimit - } = event.detail; - const { - target - } = event; - if (charLimit === 0) { - target.removeAttribute("maxLength"); - return; - } - target.setAttribute("maxLength", charLimit); - let value = elementData.userValue; - if (!value || value.length <= charLimit) { - return; - } - value = value.slice(0, charLimit); - target.value = elementData.userValue = value; - storage.setValue(id, { - value - }); - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id, - name: "Keystroke", - value, - willCommit: true, - commitKey: 1, - selStart: target.selectionStart, - selEnd: target.selectionEnd - } - }); - } - }; - this._dispatchEventFromSandbox(actions, jsEvent); - }); - element.addEventListener("keydown", event => { - elementData.commitKey = 1; - let commitKey = -1; - if (event.key === "Escape") { - commitKey = 0; - } else if (event.key === "Enter" && !this.data.multiLine) { - commitKey = 2; - } else if (event.key === "Tab") { - elementData.commitKey = 3; - } - if (commitKey === -1) { - return; - } - const { - value - } = event.target; - if (elementData.lastCommittedValue === value) { - return; - } - elementData.lastCommittedValue = value; - elementData.userValue = value; - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id, - name: "Keystroke", - value, - willCommit: true, - commitKey, - selStart: event.target.selectionStart, - selEnd: event.target.selectionEnd - } - }); - }); - const _blurListener = blurListener; - blurListener = null; - element.addEventListener("blur", event => { - if (!elementData.focused || !event.relatedTarget) { - return; - } - if (!this.data.actions?.Blur) { - elementData.focused = false; - } - const { - value - } = event.target; - elementData.userValue = value; - if (elementData.lastCommittedValue !== value) { - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id, - name: "Keystroke", - value, - willCommit: true, - commitKey: elementData.commitKey, - selStart: event.target.selectionStart, - selEnd: event.target.selectionEnd - } - }); - } - _blurListener(event); - }); - if (this.data.actions?.Keystroke) { - element.addEventListener("beforeinput", event => { - elementData.lastCommittedValue = null; - const { - data, - target - } = event; - const { - value, - selectionStart, - selectionEnd - } = target; - let selStart = selectionStart, - selEnd = selectionEnd; - switch (event.inputType) { - case "deleteWordBackward": - { - const match = value.substring(0, selectionStart).match(/\w*[^\w]*$/); - if (match) { - selStart -= match[0].length; - } - break; - } - case "deleteWordForward": - { - const match = value.substring(selectionStart).match(/^[^\w]*\w*/); - if (match) { - selEnd += match[0].length; - } - break; - } - case "deleteContentBackward": - if (selectionStart === selectionEnd) { - selStart -= 1; - } - break; - case "deleteContentForward": - if (selectionStart === selectionEnd) { - selEnd += 1; - } - break; - } - event.preventDefault(); - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id, - name: "Keystroke", - value, - change: data || "", - willCommit: false, - selStart, - selEnd - } - }); - }); - } - this._setEventListeners(element, elementData, [["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.value); - } - if (blurListener) { - element.addEventListener("blur", blurListener); - } - if (this.data.comb) { - const fieldWidth = this.data.rect[2] - this.data.rect[0]; - const combWidth = fieldWidth / maxLen; - element.classList.add("comb"); - element.style.letterSpacing = `calc(${combWidth}px * var(--scale-factor) - 1ch)`; - } - } else { - element = document.createElement("div"); - element.textContent = this.data.fieldValue; - element.style.verticalAlign = "middle"; - element.style.display = "table-cell"; - if (this.data.hasOwnCanvas) { - element.hidden = true; - } - } - this._setTextStyle(element); - this._setBackgroundColor(element); - this._setDefaultPropertiesFromJS(element); - this.container.append(element); - return this.container; - } -} -class SignatureWidgetAnnotationElement extends WidgetAnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: !!parameters.data.hasOwnCanvas - }); - } -} -class CheckboxWidgetAnnotationElement extends WidgetAnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: parameters.renderForms - }); - } - render() { - const storage = this.annotationStorage; - const data = this.data; - const id = data.id; - let value = storage.getValue(id, { - value: data.exportValue === data.fieldValue - }).value; - if (typeof value === "string") { - value = value !== "Off"; - storage.setValue(id, { - value - }); - } - this.container.classList.add("buttonWidgetAnnotation", "checkBox"); - const element = document.createElement("input"); - GetElementsByNameSet.add(element); - element.setAttribute("data-element-id", id); - element.disabled = data.readOnly; - this._setRequired(element, this.data.required); - element.type = "checkbox"; - element.name = data.fieldName; - if (value) { - element.setAttribute("checked", true); - } - element.setAttribute("exportValue", data.exportValue); - element.tabIndex = DEFAULT_TAB_INDEX; - element.addEventListener("change", event => { - const { - name, - checked - } = event.target; - for (const checkbox of this._getElementsByName(name, id)) { - const curChecked = checked && checkbox.exportValue === data.exportValue; - if (checkbox.domElement) { - checkbox.domElement.checked = curChecked; - } - storage.setValue(checkbox.id, { - value: curChecked - }); - } - storage.setValue(id, { - value: checked - }); - }); - element.addEventListener("resetform", event => { - const defaultValue = data.defaultFieldValue || "Off"; - event.target.checked = defaultValue === data.exportValue; - }); - if (this.enableScripting && this.hasJSActions) { - element.addEventListener("updatefromsandbox", jsEvent => { - const actions = { - value(event) { - event.target.checked = event.detail.value !== "Off"; - storage.setValue(id, { - value: event.target.checked - }); - } - }; - this._dispatchEventFromSandbox(actions, jsEvent); - }); - this._setEventListeners(element, null, [["change", "Validate"], ["change", "Action"], ["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.checked); - } - this._setBackgroundColor(element); - this._setDefaultPropertiesFromJS(element); - this.container.append(element); - return this.container; - } -} -class RadioButtonWidgetAnnotationElement extends WidgetAnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: parameters.renderForms - }); - } - render() { - this.container.classList.add("buttonWidgetAnnotation", "radioButton"); - const storage = this.annotationStorage; - const data = this.data; - const id = data.id; - let value = storage.getValue(id, { - value: data.fieldValue === data.buttonValue - }).value; - if (typeof value === "string") { - value = value !== data.buttonValue; - storage.setValue(id, { - value - }); - } - if (value) { - for (const radio of this._getElementsByName(data.fieldName, id)) { - storage.setValue(radio.id, { - value: false - }); - } - } - const element = document.createElement("input"); - GetElementsByNameSet.add(element); - element.setAttribute("data-element-id", id); - element.disabled = data.readOnly; - this._setRequired(element, this.data.required); - element.type = "radio"; - element.name = data.fieldName; - if (value) { - element.setAttribute("checked", true); - } - element.tabIndex = DEFAULT_TAB_INDEX; - element.addEventListener("change", event => { - const { - name, - checked - } = event.target; - for (const radio of this._getElementsByName(name, id)) { - storage.setValue(radio.id, { - value: false - }); - } - storage.setValue(id, { - value: checked - }); - }); - element.addEventListener("resetform", event => { - const defaultValue = data.defaultFieldValue; - event.target.checked = defaultValue !== null && defaultValue !== undefined && defaultValue === data.buttonValue; - }); - if (this.enableScripting && this.hasJSActions) { - const pdfButtonValue = data.buttonValue; - element.addEventListener("updatefromsandbox", jsEvent => { - const actions = { - value: event => { - const checked = pdfButtonValue === event.detail.value; - for (const radio of this._getElementsByName(event.target.name)) { - const curChecked = checked && radio.id === id; - if (radio.domElement) { - radio.domElement.checked = curChecked; - } - storage.setValue(radio.id, { - value: curChecked - }); - } - } - }; - this._dispatchEventFromSandbox(actions, jsEvent); - }); - this._setEventListeners(element, null, [["change", "Validate"], ["change", "Action"], ["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"]], event => event.target.checked); - } - this._setBackgroundColor(element); - this._setDefaultPropertiesFromJS(element); - this.container.append(element); - return this.container; - } -} -class PushButtonWidgetAnnotationElement extends LinkAnnotationElement { - constructor(parameters) { - super(parameters, { - ignoreBorder: parameters.data.hasAppearance - }); - } - render() { - const container = super.render(); - container.classList.add("buttonWidgetAnnotation", "pushButton"); - const linkElement = container.lastChild; - if (this.enableScripting && this.hasJSActions && linkElement) { - this._setDefaultPropertiesFromJS(linkElement); - linkElement.addEventListener("updatefromsandbox", jsEvent => { - this._dispatchEventFromSandbox({}, jsEvent); - }); - } - return container; - } -} -class ChoiceWidgetAnnotationElement extends WidgetAnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: parameters.renderForms - }); - } - render() { - this.container.classList.add("choiceWidgetAnnotation"); - const storage = this.annotationStorage; - const id = this.data.id; - const storedData = storage.getValue(id, { - value: this.data.fieldValue - }); - const selectElement = document.createElement("select"); - GetElementsByNameSet.add(selectElement); - selectElement.setAttribute("data-element-id", id); - selectElement.disabled = this.data.readOnly; - this._setRequired(selectElement, this.data.required); - selectElement.name = this.data.fieldName; - selectElement.tabIndex = DEFAULT_TAB_INDEX; - let addAnEmptyEntry = this.data.combo && this.data.options.length > 0; - if (!this.data.combo) { - selectElement.size = this.data.options.length; - if (this.data.multiSelect) { - selectElement.multiple = true; - } - } - selectElement.addEventListener("resetform", event => { - const defaultValue = this.data.defaultFieldValue; - for (const option of selectElement.options) { - option.selected = option.value === defaultValue; - } - }); - for (const option of this.data.options) { - const optionElement = document.createElement("option"); - optionElement.textContent = option.displayValue; - optionElement.value = option.exportValue; - if (storedData.value.includes(option.exportValue)) { - optionElement.setAttribute("selected", true); - addAnEmptyEntry = false; - } - selectElement.append(optionElement); - } - let removeEmptyEntry = null; - if (addAnEmptyEntry) { - const noneOptionElement = document.createElement("option"); - noneOptionElement.value = " "; - noneOptionElement.setAttribute("hidden", true); - noneOptionElement.setAttribute("selected", true); - selectElement.prepend(noneOptionElement); - removeEmptyEntry = () => { - noneOptionElement.remove(); - selectElement.removeEventListener("input", removeEmptyEntry); - removeEmptyEntry = null; - }; - selectElement.addEventListener("input", removeEmptyEntry); - } - const getValue = isExport => { - const name = isExport ? "value" : "textContent"; - const { - options, - multiple - } = selectElement; - if (!multiple) { - return options.selectedIndex === -1 ? null : options[options.selectedIndex][name]; - } - return Array.prototype.filter.call(options, option => option.selected).map(option => option[name]); - }; - let selectedValues = getValue(false); - const getItems = event => { - const options = event.target.options; - return Array.prototype.map.call(options, option => ({ - displayValue: option.textContent, - exportValue: option.value - })); - }; - if (this.enableScripting && this.hasJSActions) { - selectElement.addEventListener("updatefromsandbox", jsEvent => { - const actions = { - value(event) { - removeEmptyEntry?.(); - const value = event.detail.value; - const values = new Set(Array.isArray(value) ? value : [value]); - for (const option of selectElement.options) { - option.selected = values.has(option.value); - } - storage.setValue(id, { - value: getValue(true) - }); - selectedValues = getValue(false); - }, - multipleSelection(event) { - selectElement.multiple = true; - }, - remove(event) { - const options = selectElement.options; - const index = event.detail.remove; - options[index].selected = false; - selectElement.remove(index); - if (options.length > 0) { - const i = Array.prototype.findIndex.call(options, option => option.selected); - if (i === -1) { - options[0].selected = true; - } - } - storage.setValue(id, { - value: getValue(true), - items: getItems(event) - }); - selectedValues = getValue(false); - }, - clear(event) { - while (selectElement.length !== 0) { - selectElement.remove(0); - } - storage.setValue(id, { - value: null, - items: [] - }); - selectedValues = getValue(false); - }, - insert(event) { - const { - index, - displayValue, - exportValue - } = event.detail.insert; - const selectChild = selectElement.children[index]; - const optionElement = document.createElement("option"); - optionElement.textContent = displayValue; - optionElement.value = exportValue; - if (selectChild) { - selectChild.before(optionElement); - } else { - selectElement.append(optionElement); - } - storage.setValue(id, { - value: getValue(true), - items: getItems(event) - }); - selectedValues = getValue(false); - }, - items(event) { - const { - items - } = event.detail; - while (selectElement.length !== 0) { - selectElement.remove(0); - } - for (const item of items) { - const { - displayValue, - exportValue - } = item; - const optionElement = document.createElement("option"); - optionElement.textContent = displayValue; - optionElement.value = exportValue; - selectElement.append(optionElement); - } - if (selectElement.options.length > 0) { - selectElement.options[0].selected = true; - } - storage.setValue(id, { - value: getValue(true), - items: getItems(event) - }); - selectedValues = getValue(false); - }, - indices(event) { - const indices = new Set(event.detail.indices); - for (const option of event.target.options) { - option.selected = indices.has(option.index); - } - storage.setValue(id, { - value: getValue(true) - }); - selectedValues = getValue(false); - }, - editable(event) { - event.target.disabled = !event.detail.editable; - } - }; - this._dispatchEventFromSandbox(actions, jsEvent); - }); - selectElement.addEventListener("input", event => { - const exportValue = getValue(true); - const change = getValue(false); - storage.setValue(id, { - value: exportValue - }); - event.preventDefault(); - this.linkService.eventBus?.dispatch("dispatcheventinsandbox", { - source: this, - detail: { - id, - name: "Keystroke", - value: selectedValues, - change, - changeEx: exportValue, - willCommit: false, - commitKey: 1, - keyDown: false - } - }); - }); - this._setEventListeners(selectElement, null, [["focus", "Focus"], ["blur", "Blur"], ["mousedown", "Mouse Down"], ["mouseenter", "Mouse Enter"], ["mouseleave", "Mouse Exit"], ["mouseup", "Mouse Up"], ["input", "Action"], ["input", "Validate"]], event => event.target.value); - } else { - selectElement.addEventListener("input", function (event) { - storage.setValue(id, { - value: getValue(true) - }); - }); - } - if (this.data.combo) { - this._setTextStyle(selectElement); - } else {} - this._setBackgroundColor(selectElement); - this._setDefaultPropertiesFromJS(selectElement); - this.container.append(selectElement); - return this.container; - } -} -class PopupAnnotationElement extends AnnotationElement { - constructor(parameters) { - const { - data, - elements - } = parameters; - super(parameters, { - isRenderable: AnnotationElement._hasPopupData(data) - }); - this.elements = elements; - } - render() { - this.container.classList.add("popupAnnotation"); - const popup = new PopupElement({ - container: this.container, - color: this.data.color, - titleObj: this.data.titleObj, - modificationDate: this.data.modificationDate, - contentsObj: this.data.contentsObj, - richText: this.data.richText, - rect: this.data.rect, - parentRect: this.data.parentRect || null, - parent: this.parent, - elements: this.elements, - open: this.data.open - }); - const elementIds = []; - for (const element of this.elements) { - element.popup = popup; - elementIds.push(element.data.id); - element.addHighlightArea(); - } - this.container.setAttribute("aria-controls", elementIds.map(id => `${util.AnnotationPrefix}${id}`).join(",")); - return this.container; - } -} -class PopupElement { - #boundKeyDown = this.#keyDown.bind(this); - #boundHide = this.#hide.bind(this); - #boundShow = this.#show.bind(this); - #boundToggle = this.#toggle.bind(this); - #color = null; - #container = null; - #contentsObj = null; - #dateObj = null; - #elements = null; - #parent = null; - #parentRect = null; - #pinned = false; - #popup = null; - #rect = null; - #richText = null; - #titleObj = null; - #wasVisible = false; - constructor({ - container, - color, - elements, - titleObj, - modificationDate, - contentsObj, - richText, - parent, - rect, - parentRect, - open - }) { - this.#container = container; - this.#titleObj = titleObj; - this.#contentsObj = contentsObj; - this.#richText = richText; - this.#parent = parent; - this.#color = color; - this.#rect = rect; - this.#parentRect = parentRect; - this.#elements = elements; - this.#dateObj = display_utils.PDFDateString.toDateObject(modificationDate); - this.trigger = elements.flatMap(e => e.getElementsToTriggerPopup()); - for (const element of this.trigger) { - element.addEventListener("click", this.#boundToggle); - element.addEventListener("mouseenter", this.#boundShow); - element.addEventListener("mouseleave", this.#boundHide); - element.classList.add("popupTriggerArea"); - } - for (const element of elements) { - element.container?.addEventListener("keydown", this.#boundKeyDown); - } - this.#container.hidden = true; - if (open) { - this.#toggle(); - } - } - render() { - if (this.#popup) { - return; - } - const { - page: { - view - }, - viewport: { - rawDims: { - pageWidth, - pageHeight, - pageX, - pageY - } - } - } = this.#parent; - const popup = this.#popup = document.createElement("div"); - popup.className = "popup"; - if (this.#color) { - const baseColor = popup.style.outlineColor = util.Util.makeHexColor(...this.#color); - if (CSS.supports("background-color", "color-mix(in srgb, red 30%, white)")) { - popup.style.backgroundColor = `color-mix(in srgb, ${baseColor} 30%, white)`; - } else { - const BACKGROUND_ENLIGHT = 0.7; - popup.style.backgroundColor = util.Util.makeHexColor(...this.#color.map(c => Math.floor(BACKGROUND_ENLIGHT * (255 - c) + c))); - } - } - const header = document.createElement("span"); - header.className = "header"; - const title = document.createElement("h1"); - header.append(title); - ({ - dir: title.dir, - str: title.textContent - } = this.#titleObj); - popup.append(header); - if (this.#dateObj) { - const modificationDate = document.createElement("span"); - modificationDate.classList.add("popupDate"); - modificationDate.setAttribute("data-l10n-id", "pdfjs-annotation-date-string"); - modificationDate.setAttribute("data-l10n-args", JSON.stringify({ - date: this.#dateObj.toLocaleDateString(), - time: this.#dateObj.toLocaleTimeString() - })); - header.append(modificationDate); - } - const contentsObj = this.#contentsObj; - const richText = this.#richText; - if (richText?.str && (!contentsObj?.str || contentsObj.str === richText.str)) { - xfa_layer.XfaLayer.render({ - xfaHtml: richText.html, - intent: "richText", - div: popup - }); - popup.lastChild.classList.add("richText", "popupContent"); - } else { - const contents = this._formatContents(contentsObj); - popup.append(contents); - } - let useParentRect = !!this.#parentRect; - let rect = useParentRect ? this.#parentRect : this.#rect; - for (const element of this.#elements) { - if (!rect || util.Util.intersect(element.data.rect, rect) !== null) { - rect = element.data.rect; - useParentRect = true; - break; - } - } - const normalizedRect = util.Util.normalizeRect([rect[0], view[3] - rect[1] + view[1], rect[2], view[3] - rect[3] + view[1]]); - const HORIZONTAL_SPACE_AFTER_ANNOTATION = 5; - const parentWidth = useParentRect ? rect[2] - rect[0] + HORIZONTAL_SPACE_AFTER_ANNOTATION : 0; - const popupLeft = normalizedRect[0] + parentWidth; - const popupTop = normalizedRect[1]; - const { - style - } = this.#container; - style.left = `${100 * (popupLeft - pageX) / pageWidth}%`; - style.top = `${100 * (popupTop - pageY) / pageHeight}%`; - this.#container.append(popup); - } - _formatContents({ - str, - dir - }) { - const p = document.createElement("p"); - p.classList.add("popupContent"); - p.dir = dir; - const lines = str.split(/(?:\r\n?|\n)/); - for (let i = 0, ii = lines.length; i < ii; ++i) { - const line = lines[i]; - p.append(document.createTextNode(line)); - if (i < ii - 1) { - p.append(document.createElement("br")); - } - } - return p; - } - #keyDown(event) { - if (event.altKey || event.shiftKey || event.ctrlKey || event.metaKey) { - return; - } - if (event.key === "Enter" || event.key === "Escape" && this.#pinned) { - this.#toggle(); - } - } - #toggle() { - this.#pinned = !this.#pinned; - if (this.#pinned) { - this.#show(); - this.#container.addEventListener("click", this.#boundToggle); - this.#container.addEventListener("keydown", this.#boundKeyDown); - } else { - this.#hide(); - this.#container.removeEventListener("click", this.#boundToggle); - this.#container.removeEventListener("keydown", this.#boundKeyDown); - } - } - #show() { - if (!this.#popup) { - this.render(); - } - if (!this.isVisible) { - this.#container.hidden = false; - this.#container.style.zIndex = parseInt(this.#container.style.zIndex) + 1000; - } else if (this.#pinned) { - this.#container.classList.add("focused"); - } - } - #hide() { - this.#container.classList.remove("focused"); - if (this.#pinned || !this.isVisible) { - return; - } - this.#container.hidden = true; - this.#container.style.zIndex = parseInt(this.#container.style.zIndex) - 1000; - } - forceHide() { - this.#wasVisible = this.isVisible; - if (!this.#wasVisible) { - return; - } - this.#container.hidden = true; - } - maybeShow() { - if (!this.#wasVisible) { - return; - } - this.#wasVisible = false; - this.#container.hidden = false; - } - get isVisible() { - return this.#container.hidden === false; - } -} -class FreeTextAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - this.textContent = parameters.data.textContent; - this.textPosition = parameters.data.textPosition; - this.annotationEditorType = util.AnnotationEditorType.FREETEXT; - } - render() { - this.container.classList.add("freeTextAnnotation"); - if (this.textContent) { - const content = document.createElement("div"); - content.classList.add("annotationTextContent"); - content.setAttribute("role", "comment"); - for (const line of this.textContent) { - const lineSpan = document.createElement("span"); - lineSpan.textContent = line; - content.append(lineSpan); - } - this.container.append(content); - } - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this._editOnDoubleClick(); - return this.container; - } - get _isEditable() { - return this.data.hasOwnCanvas; - } -} -class LineAnnotationElement extends AnnotationElement { - #line = null; - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - } - render() { - this.container.classList.add("lineAnnotation"); - const data = this.data; - const { - width, - height - } = getRectDims(data.rect); - const svg = this.svgFactory.create(width, height, true); - const line = this.#line = this.svgFactory.createElement("svg:line"); - line.setAttribute("x1", data.rect[2] - data.lineCoordinates[0]); - line.setAttribute("y1", data.rect[3] - data.lineCoordinates[1]); - line.setAttribute("x2", data.rect[2] - data.lineCoordinates[2]); - line.setAttribute("y2", data.rect[3] - data.lineCoordinates[3]); - line.setAttribute("stroke-width", data.borderStyle.width || 1); - line.setAttribute("stroke", "transparent"); - line.setAttribute("fill", "transparent"); - svg.append(line); - this.container.append(svg); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } - getElementsToTriggerPopup() { - return this.#line; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } -} -class SquareAnnotationElement extends AnnotationElement { - #square = null; - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - } - render() { - this.container.classList.add("squareAnnotation"); - const data = this.data; - const { - width, - height - } = getRectDims(data.rect); - const svg = this.svgFactory.create(width, height, true); - const borderWidth = data.borderStyle.width; - const square = this.#square = this.svgFactory.createElement("svg:rect"); - square.setAttribute("x", borderWidth / 2); - square.setAttribute("y", borderWidth / 2); - square.setAttribute("width", width - borderWidth); - square.setAttribute("height", height - borderWidth); - square.setAttribute("stroke-width", borderWidth || 1); - square.setAttribute("stroke", "transparent"); - square.setAttribute("fill", "transparent"); - svg.append(square); - this.container.append(svg); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } - getElementsToTriggerPopup() { - return this.#square; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } -} -class CircleAnnotationElement extends AnnotationElement { - #circle = null; - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - } - render() { - this.container.classList.add("circleAnnotation"); - const data = this.data; - const { - width, - height - } = getRectDims(data.rect); - const svg = this.svgFactory.create(width, height, true); - const borderWidth = data.borderStyle.width; - const circle = this.#circle = this.svgFactory.createElement("svg:ellipse"); - circle.setAttribute("cx", width / 2); - circle.setAttribute("cy", height / 2); - circle.setAttribute("rx", width / 2 - borderWidth / 2); - circle.setAttribute("ry", height / 2 - borderWidth / 2); - circle.setAttribute("stroke-width", borderWidth || 1); - circle.setAttribute("stroke", "transparent"); - circle.setAttribute("fill", "transparent"); - svg.append(circle); - this.container.append(svg); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } - getElementsToTriggerPopup() { - return this.#circle; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } -} -class PolylineAnnotationElement extends AnnotationElement { - #polyline = null; - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - this.containerClassName = "polylineAnnotation"; - this.svgElementName = "svg:polyline"; - } - render() { - this.container.classList.add(this.containerClassName); - const data = this.data; - const { - width, - height - } = getRectDims(data.rect); - const svg = this.svgFactory.create(width, height, true); - let points = []; - for (const coordinate of data.vertices) { - const x = coordinate.x - data.rect[0]; - const y = data.rect[3] - coordinate.y; - points.push(x + "," + y); - } - points = points.join(" "); - const polyline = this.#polyline = this.svgFactory.createElement(this.svgElementName); - polyline.setAttribute("points", points); - polyline.setAttribute("stroke-width", data.borderStyle.width || 1); - polyline.setAttribute("stroke", "transparent"); - polyline.setAttribute("fill", "transparent"); - svg.append(polyline); - this.container.append(svg); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } - getElementsToTriggerPopup() { - return this.#polyline; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } -} -class PolygonAnnotationElement extends PolylineAnnotationElement { - constructor(parameters) { - super(parameters); - this.containerClassName = "polygonAnnotation"; - this.svgElementName = "svg:polygon"; - } -} -class CaretAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - } - render() { - this.container.classList.add("caretAnnotation"); - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } -} -class InkAnnotationElement extends AnnotationElement { - #polylines = []; - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - this.containerClassName = "inkAnnotation"; - this.svgElementName = "svg:polyline"; - this.annotationEditorType = util.AnnotationEditorType.INK; - } - render() { - this.container.classList.add(this.containerClassName); - const data = this.data; - const { - width, - height - } = getRectDims(data.rect); - const svg = this.svgFactory.create(width, height, true); - for (const inkList of data.inkLists) { - let points = []; - for (const coordinate of inkList) { - const x = coordinate.x - data.rect[0]; - const y = data.rect[3] - coordinate.y; - points.push(`${x},${y}`); - } - points = points.join(" "); - const polyline = this.svgFactory.createElement(this.svgElementName); - this.#polylines.push(polyline); - polyline.setAttribute("points", points); - polyline.setAttribute("stroke-width", data.borderStyle.width || 1); - polyline.setAttribute("stroke", "transparent"); - polyline.setAttribute("fill", "transparent"); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } - svg.append(polyline); - } - this.container.append(svg); - return this.container; - } - getElementsToTriggerPopup() { - return this.#polylines; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } -} -class HighlightAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true, - createQuadrilaterals: true - }); - } - render() { - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this.container.classList.add("highlightAnnotation"); - return this.container; - } -} -class UnderlineAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true, - createQuadrilaterals: true - }); - } - render() { - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this.container.classList.add("underlineAnnotation"); - return this.container; - } -} -class SquigglyAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true, - createQuadrilaterals: true - }); - } - render() { - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this.container.classList.add("squigglyAnnotation"); - return this.container; - } -} -class StrikeOutAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true, - createQuadrilaterals: true - }); - } - render() { - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - this.container.classList.add("strikeoutAnnotation"); - return this.container; - } -} -class StampAnnotationElement extends AnnotationElement { - constructor(parameters) { - super(parameters, { - isRenderable: true, - ignoreBorder: true - }); - } - render() { - this.container.classList.add("stampAnnotation"); - if (!this.data.popupRef && this.hasPopupData) { - this._createPopup(); - } - return this.container; - } -} -class FileAttachmentAnnotationElement extends AnnotationElement { - #trigger = null; - constructor(parameters) { - super(parameters, { - isRenderable: true - }); - const { - filename, - content - } = this.data.file; - this.filename = (0,display_utils.getFilenameFromUrl)(filename, true); - this.content = content; - this.linkService.eventBus?.dispatch("fileattachmentannotation", { - source: this, - filename, - content - }); - } - render() { - this.container.classList.add("fileAttachmentAnnotation"); - const { - container, - data - } = this; - let trigger; - if (data.hasAppearance || data.fillAlpha === 0) { - trigger = document.createElement("div"); - } else { - trigger = document.createElement("img"); - trigger.src = `${this.imageResourcesPath}annotation-${/paperclip/i.test(data.name) ? "paperclip" : "pushpin"}.svg`; - if (data.fillAlpha && data.fillAlpha < 1) { - trigger.style = `filter: opacity(${Math.round(data.fillAlpha * 100)}%);`; - } - } - trigger.addEventListener("dblclick", this.#download.bind(this)); - this.#trigger = trigger; - const { - isMac - } = util.FeatureTest.platform; - container.addEventListener("keydown", evt => { - if (evt.key === "Enter" && (isMac ? evt.metaKey : evt.ctrlKey)) { - this.#download(); - } - }); - if (!data.popupRef && this.hasPopupData) { - this._createPopup(); - } else { - trigger.classList.add("popupTriggerArea"); - } - container.append(trigger); - return container; - } - getElementsToTriggerPopup() { - return this.#trigger; - } - addHighlightArea() { - this.container.classList.add("highlightArea"); - } - #download() { - this.downloadManager?.openOrDownloadData(this.content, this.filename); - } -} -class AnnotationLayer { - #accessibilityManager = null; - #annotationCanvasMap = null; - #editableAnnotations = new Map(); - constructor({ - div, - accessibilityManager, - annotationCanvasMap, - annotationEditorUIManager, - page, - viewport - }) { - this.div = div; - this.#accessibilityManager = accessibilityManager; - this.#annotationCanvasMap = annotationCanvasMap; - this.page = page; - this.viewport = viewport; - this.zIndex = 0; - this._annotationEditorUIManager = annotationEditorUIManager; - } - #appendElement(element, id) { - const contentElement = element.firstChild || element; - contentElement.id = `${util.AnnotationPrefix}${id}`; - this.div.append(element); - this.#accessibilityManager?.moveElementInDOM(this.div, element, contentElement, false); - } - async render(params) { - const { - annotations - } = params; - const layer = this.div; - (0,display_utils.setLayerDimensions)(layer, this.viewport); - const popupToElements = new Map(); - const elementParams = { - data: null, - layer, - linkService: params.linkService, - downloadManager: params.downloadManager, - imageResourcesPath: params.imageResourcesPath || "", - renderForms: params.renderForms !== false, - svgFactory: new display_utils.DOMSVGFactory(), - annotationStorage: params.annotationStorage || new annotation_storage.AnnotationStorage(), - enableScripting: params.enableScripting === true, - hasJSActions: params.hasJSActions, - fieldObjects: params.fieldObjects, - parent: this, - elements: null - }; - for (const data of annotations) { - if (data.noHTML) { - continue; - } - const isPopupAnnotation = data.annotationType === util.AnnotationType.POPUP; - if (!isPopupAnnotation) { - const { - width, - height - } = getRectDims(data.rect); - if (width <= 0 || height <= 0) { - continue; - } - } else { - const elements = popupToElements.get(data.id); - if (!elements) { - continue; - } - elementParams.elements = elements; - } - elementParams.data = data; - const element = AnnotationElementFactory.create(elementParams); - if (!element.isRenderable) { - continue; - } - if (!isPopupAnnotation && data.popupRef) { - const elements = popupToElements.get(data.popupRef); - if (!elements) { - popupToElements.set(data.popupRef, [element]); - } else { - elements.push(element); - } - } - const rendered = element.render(); - if (data.hidden) { - rendered.style.visibility = "hidden"; - } - this.#appendElement(rendered, data.id); - if (element.annotationEditorType > 0) { - this.#editableAnnotations.set(element.data.id, element); - this._annotationEditorUIManager?.renderAnnotationElement(element); - } - } - this.#setAnnotationCanvasMap(); - } - update({ - viewport - }) { - const layer = this.div; - this.viewport = viewport; - (0,display_utils.setLayerDimensions)(layer, { - rotation: viewport.rotation - }); - this.#setAnnotationCanvasMap(); - layer.hidden = false; - } - #setAnnotationCanvasMap() { - if (!this.#annotationCanvasMap) { - return; - } - const layer = this.div; - for (const [id, canvas] of this.#annotationCanvasMap) { - const element = layer.querySelector(`[data-annotation-id="${id}"]`); - if (!element) { - continue; - } - canvas.className = "annotationContent"; - const { - firstChild - } = element; - if (!firstChild) { - element.append(canvas); - } else if (firstChild.nodeName === "CANVAS") { - firstChild.replaceWith(canvas); - } else if (!firstChild.classList.contains("annotationContent")) { - firstChild.before(canvas); - } else { - firstChild.after(canvas); - } - } - this.#annotationCanvasMap.clear(); - } - getEditableAnnotations() { - return Array.from(this.#editableAnnotations.values()); - } - getEditableAnnotation(id) { - return this.#editableAnnotations.get(id); - } -} - - -/***/ }), - -/***/ 9792: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AnnotationStorage: () => (/* binding */ AnnotationStorage), -/* harmony export */ PrintAnnotationStorage: () => (/* binding */ PrintAnnotationStorage), -/* harmony export */ SerializableEmpty: () => (/* binding */ SerializableEmpty) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1454); -/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4979); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4292); -/* harmony import */ var _editor_editor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(310); -/* harmony import */ var _shared_murmurhash3_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7651); - - - - - - -const SerializableEmpty = Object.freeze({ - map: null, - hash: "", - transfer: undefined -}); -class AnnotationStorage { - #modified = false; - #storage = new Map(); - constructor() { - this.onSetModified = null; - this.onResetModified = null; - this.onAnnotationEditor = null; - } - getValue(key, defaultValue) { - const value = this.#storage.get(key); - if (value === undefined) { - return defaultValue; - } - return Object.assign(defaultValue, value); - } - getRawValue(key) { - return this.#storage.get(key); - } - remove(key) { - this.#storage.delete(key); - if (this.#storage.size === 0) { - this.resetModified(); - } - if (typeof this.onAnnotationEditor === "function") { - for (const value of this.#storage.values()) { - if (value instanceof _editor_editor_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationEditor) { - return; - } - } - this.onAnnotationEditor(null); - } - } - setValue(key, value) { - const obj = this.#storage.get(key); - let modified = false; - if (obj !== undefined) { - for (const [entry, val] of Object.entries(value)) { - if (obj[entry] !== val) { - modified = true; - obj[entry] = val; - } - } - } else { - modified = true; - this.#storage.set(key, value); - } - if (modified) { - this.#setModified(); - } - if (value instanceof _editor_editor_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationEditor && typeof this.onAnnotationEditor === "function") { - this.onAnnotationEditor(value.constructor._type); - } - } - has(key) { - return this.#storage.has(key); - } - getAll() { - return this.#storage.size > 0 ? (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_3__.objectFromMap)(this.#storage) : null; - } - setAll(obj) { - for (const [key, val] of Object.entries(obj)) { - this.setValue(key, val); - } - } - get size() { - return this.#storage.size; - } - #setModified() { - if (!this.#modified) { - this.#modified = true; - if (typeof this.onSetModified === "function") { - this.onSetModified(); - } - } - } - resetModified() { - if (this.#modified) { - this.#modified = false; - if (typeof this.onResetModified === "function") { - this.onResetModified(); - } - } - } - get print() { - return new PrintAnnotationStorage(this); - } - get serializable() { - if (this.#storage.size === 0) { - return SerializableEmpty; - } - const map = new Map(), - hash = new _shared_murmurhash3_js__WEBPACK_IMPORTED_MODULE_5__.MurmurHash3_64(), - transfer = []; - const context = Object.create(null); - let hasBitmap = false; - for (const [key, val] of this.#storage) { - const serialized = val instanceof _editor_editor_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationEditor ? val.serialize(false, context) : val; - if (serialized) { - map.set(key, serialized); - hash.update(`${key}:${JSON.stringify(serialized)}`); - hasBitmap ||= !!serialized.bitmap; - } - } - if (hasBitmap) { - for (const value of map.values()) { - if (value.bitmap) { - transfer.push(value.bitmap); - } - } - } - return map.size > 0 ? { - map, - hash: hash.hexdigest(), - transfer - } : SerializableEmpty; - } - get editorStats() { - let stats = null; - const typeToEditor = new Map(); - for (const value of this.#storage.values()) { - if (!(value instanceof _editor_editor_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationEditor)) { - continue; - } - const editorStats = value.telemetryFinalData; - if (!editorStats) { - continue; - } - const { - type - } = editorStats; - if (!typeToEditor.has(type)) { - typeToEditor.set(type, Object.getPrototypeOf(value).constructor); - } - stats ||= Object.create(null); - const map = stats[type] ||= new Map(); - for (const [key, val] of Object.entries(editorStats)) { - if (key === "type") { - continue; - } - let counters = map.get(key); - if (!counters) { - counters = new Map(); - map.set(key, counters); - } - const count = counters.get(val) ?? 0; - counters.set(val, count + 1); - } - } - for (const [type, editor] of typeToEditor) { - stats[type] = editor.computeTelemetryFinalData(stats[type]); - } - return stats; - } -} -class PrintAnnotationStorage extends AnnotationStorage { - #serializable; - constructor(parent) { - super(); - const { - map, - hash, - transfer - } = parent.serializable; - const clone = structuredClone(map, transfer ? { - transfer - } : null); - this.#serializable = { - map: clone, - hash, - transfer - }; - } - get print() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_3__.unreachable)("Should not call PrintAnnotationStorage.print"); - } - get serializable() { - return this.#serializable; - } -} - - -/***/ }), - -/***/ 3831: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFDataRangeTransport: () => (/* binding */ PDFDataRangeTransport), -/* harmony export */ PDFWorker: () => (/* binding */ PDFWorker), -/* harmony export */ build: () => (/* binding */ build), -/* harmony export */ getDocument: () => (/* binding */ getDocument), -/* harmony export */ version: () => (/* binding */ version) -/* harmony export */ }); -/* unused harmony exports DefaultCanvasFactory, DefaultCMapReaderFactory, DefaultFilterFactory, DefaultStandardFontDataFactory, LoopbackPort, PDFDocumentLoadingTask, PDFDocumentProxy, PDFPageProxy, PDFWorkerUtil, RenderTask */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1454); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(6197); -/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(4979); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(8721); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(4292); -/* harmony import */ var _annotation_storage_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(9792); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(5419); -/* harmony import */ var _font_loader_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(10); -/* harmony import */ var display_node_utils__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(1573); -/* harmony import */ var _canvas_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(4923); -/* harmony import */ var _text_layer_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(6814); -/* harmony import */ var _worker_options_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(6164); -/* harmony import */ var _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(5178); -/* harmony import */ var _metadata_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(6062); -/* harmony import */ var _optional_content_config_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(5626); -/* harmony import */ var _transport_stream_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(585); -/* harmony import */ var display_fetch_stream__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(4094); -/* harmony import */ var display_network__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(7457); -/* harmony import */ var display_node_stream__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(4786); -/* harmony import */ var _xfa_text_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(2050); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([display_node_utils__WEBPACK_IMPORTED_MODULE_24__, display_node_stream__WEBPACK_IMPORTED_MODULE_33__]); -([display_node_utils__WEBPACK_IMPORTED_MODULE_24__, display_node_stream__WEBPACK_IMPORTED_MODULE_33__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const DEFAULT_RANGE_CHUNK_SIZE = 65536; -const RENDERING_CANCELLED_TIMEOUT = 100; -const DELAYED_CLEANUP_TIMEOUT = 5000; -const DefaultCanvasFactory = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS ? display_node_utils__WEBPACK_IMPORTED_MODULE_24__.NodeCanvasFactory : _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMCanvasFactory; -const DefaultCMapReaderFactory = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS ? display_node_utils__WEBPACK_IMPORTED_MODULE_24__.NodeCMapReaderFactory : _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMCMapReaderFactory; -const DefaultFilterFactory = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS ? display_node_utils__WEBPACK_IMPORTED_MODULE_24__.NodeFilterFactory : _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMFilterFactory; -const DefaultStandardFontDataFactory = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS ? display_node_utils__WEBPACK_IMPORTED_MODULE_24__.NodeStandardFontDataFactory : _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMStandardFontDataFactory; -function getDocument(src) { - if (typeof src === "string" || src instanceof URL) { - src = { - url: src - }; - } else if (src instanceof ArrayBuffer || ArrayBuffer.isView(src)) { - src = { - data: src - }; - } - if (typeof src !== "object") { - throw new Error("Invalid parameter in getDocument, need parameter object."); - } - if (!src.url && !src.data && !src.range) { - throw new Error("Invalid parameter object: need either .data, .range or .url"); - } - const task = new PDFDocumentLoadingTask(); - const { - docId - } = task; - const url = src.url ? getUrlProp(src.url) : null; - const data = src.data ? getDataProp(src.data) : null; - const httpHeaders = src.httpHeaders || null; - const withCredentials = src.withCredentials === true; - const password = src.password ?? null; - const rangeTransport = src.range instanceof PDFDataRangeTransport ? src.range : null; - const rangeChunkSize = Number.isInteger(src.rangeChunkSize) && src.rangeChunkSize > 0 ? src.rangeChunkSize : DEFAULT_RANGE_CHUNK_SIZE; - let worker = src.worker instanceof PDFWorker ? src.worker : null; - const verbosity = src.verbosity; - const docBaseUrl = typeof src.docBaseUrl === "string" && !(0,_display_utils_js__WEBPACK_IMPORTED_MODULE_22__.isDataScheme)(src.docBaseUrl) ? src.docBaseUrl : null; - const cMapUrl = typeof src.cMapUrl === "string" ? src.cMapUrl : null; - const cMapPacked = src.cMapPacked !== false; - const CMapReaderFactory = src.CMapReaderFactory || DefaultCMapReaderFactory; - const standardFontDataUrl = typeof src.standardFontDataUrl === "string" ? src.standardFontDataUrl : null; - const StandardFontDataFactory = src.StandardFontDataFactory || DefaultStandardFontDataFactory; - const ignoreErrors = src.stopAtErrors !== true; - const maxImageSize = Number.isInteger(src.maxImageSize) && src.maxImageSize > -1 ? src.maxImageSize : -1; - const isEvalSupported = src.isEvalSupported !== false; - const isOffscreenCanvasSupported = typeof src.isOffscreenCanvasSupported === "boolean" ? src.isOffscreenCanvasSupported : !_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS; - const canvasMaxAreaInBytes = Number.isInteger(src.canvasMaxAreaInBytes) ? src.canvasMaxAreaInBytes : -1; - const disableFontFace = typeof src.disableFontFace === "boolean" ? src.disableFontFace : _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS; - const fontExtraProperties = src.fontExtraProperties === true; - const enableXfa = src.enableXfa === true; - const ownerDocument = src.ownerDocument || globalThis.document; - const disableRange = src.disableRange === true; - const disableStream = src.disableStream === true; - const disableAutoFetch = src.disableAutoFetch === true; - const pdfBug = src.pdfBug === true; - const length = rangeTransport ? rangeTransport.length : src.length ?? NaN; - const useSystemFonts = typeof src.useSystemFonts === "boolean" ? src.useSystemFonts : !_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS && !disableFontFace; - const useWorkerFetch = typeof src.useWorkerFetch === "boolean" ? src.useWorkerFetch : CMapReaderFactory === _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMCMapReaderFactory && StandardFontDataFactory === _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.DOMStandardFontDataFactory && cMapUrl && standardFontDataUrl && (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_22__.isValidFetchUrl)(cMapUrl, document.baseURI) && (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_22__.isValidFetchUrl)(standardFontDataUrl, document.baseURI); - const canvasFactory = src.canvasFactory || new DefaultCanvasFactory({ - ownerDocument - }); - const filterFactory = src.filterFactory || new DefaultFilterFactory({ - docId, - ownerDocument - }); - const styleElement = null; - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.setVerbosityLevel)(verbosity); - const transportFactory = { - canvasFactory, - filterFactory - }; - if (!useWorkerFetch) { - transportFactory.cMapReaderFactory = new CMapReaderFactory({ - baseUrl: cMapUrl, - isCompressed: cMapPacked - }); - transportFactory.standardFontDataFactory = new StandardFontDataFactory({ - baseUrl: standardFontDataUrl - }); - } - if (!worker) { - const workerParams = { - verbosity, - port: _worker_options_js__WEBPACK_IMPORTED_MODULE_35__.GlobalWorkerOptions.workerPort - }; - worker = workerParams.port ? PDFWorker.fromPort(workerParams) : new PDFWorker(workerParams); - task._worker = worker; - } - const fetchDocParams = { - docId, - apiVersion: "4.2.67", - data, - password, - disableAutoFetch, - rangeChunkSize, - length, - docBaseUrl, - enableXfa, - evaluatorOptions: { - maxImageSize, - disableFontFace, - ignoreErrors, - isEvalSupported, - isOffscreenCanvasSupported, - canvasMaxAreaInBytes, - fontExtraProperties, - useSystemFonts, - cMapUrl: useWorkerFetch ? cMapUrl : null, - standardFontDataUrl: useWorkerFetch ? standardFontDataUrl : null - } - }; - const transportParams = { - ignoreErrors, - disableFontFace, - fontExtraProperties, - enableXfa, - ownerDocument, - disableAutoFetch, - pdfBug, - styleElement - }; - worker.promise.then(function () { - if (task.destroyed) { - throw new Error("Loading aborted"); - } - const workerIdPromise = _fetchDocument(worker, fetchDocParams); - const networkStreamPromise = new Promise(function (resolve) { - let networkStream; - if (rangeTransport) { - networkStream = new _transport_stream_js__WEBPACK_IMPORTED_MODULE_30__.PDFDataTransportStream(rangeTransport, { - disableRange, - disableStream - }); - } else if (!data) { - const createPDFNetworkStream = params => { - if (_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS) { - const isFetchSupported = function () { - return typeof fetch !== "undefined" && typeof Response !== "undefined" && "body" in Response.prototype; - }; - return isFetchSupported() && (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_22__.isValidFetchUrl)(params.url) ? new display_fetch_stream__WEBPACK_IMPORTED_MODULE_31__.PDFFetchStream(params) : new display_node_stream__WEBPACK_IMPORTED_MODULE_33__.PDFNodeStream(params); - } - return (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_22__.isValidFetchUrl)(params.url) ? new display_fetch_stream__WEBPACK_IMPORTED_MODULE_31__.PDFFetchStream(params) : new display_network__WEBPACK_IMPORTED_MODULE_32__.PDFNetworkStream(params); - }; - networkStream = createPDFNetworkStream({ - url, - length, - httpHeaders, - withCredentials, - rangeChunkSize, - disableRange, - disableStream - }); - } - resolve(networkStream); - }); - return Promise.all([workerIdPromise, networkStreamPromise]).then(function ([workerId, networkStream]) { - if (task.destroyed) { - throw new Error("Loading aborted"); - } - const messageHandler = new _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__.MessageHandler(docId, workerId, worker.port); - const transport = new WorkerTransport(messageHandler, task, networkStream, transportParams, transportFactory); - task._transport = transport; - messageHandler.send("Ready", null); - }); - }).catch(task._capability.reject); - return task; -} -async function _fetchDocument(worker, source) { - if (worker.destroyed) { - throw new Error("Worker was destroyed"); - } - const workerId = await worker.messageHandler.sendWithPromise("GetDocRequest", source, source.data ? [source.data.buffer] : null); - if (worker.destroyed) { - throw new Error("Worker was destroyed"); - } - return workerId; -} -function getUrlProp(val) { - if (val instanceof URL) { - return val.href; - } - try { - return new URL(val, window.location).href; - } catch { - if (_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS && typeof val === "string") { - return val; - } - } - throw new Error("Invalid PDF url data: " + "either string or URL-object is expected in the url property."); -} -function getDataProp(val) { - if (_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS && typeof Buffer !== "undefined" && val instanceof Buffer) { - throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`."); - } - if (val instanceof Uint8Array && val.byteLength === val.buffer.byteLength) { - return val; - } - if (typeof val === "string") { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.stringToBytes)(val); - } - if (val instanceof ArrayBuffer || ArrayBuffer.isView(val) || typeof val === "object" && !isNaN(val?.length)) { - return new Uint8Array(val); - } - throw new Error("Invalid PDF binary data: either TypedArray, " + "string, or array-like object is expected in the data property."); -} -function isRefProxy(ref) { - return typeof ref === "object" && Number.isInteger(ref?.num) && ref.num >= 0 && Number.isInteger(ref?.gen) && ref.gen >= 0; -} -class PDFDocumentLoadingTask { - static #docId = 0; - constructor() { - this._capability = Promise.withResolvers(); - this._transport = null; - this._worker = null; - this.docId = `d${PDFDocumentLoadingTask.#docId++}`; - this.destroyed = false; - this.onPassword = null; - this.onProgress = null; - } - get promise() { - return this._capability.promise; - } - async destroy() { - this.destroyed = true; - try { - if (this._worker?.port) { - this._worker._pendingDestroy = true; - } - await this._transport?.destroy(); - } catch (ex) { - if (this._worker?.port) { - delete this._worker._pendingDestroy; - } - throw ex; - } - this._transport = null; - if (this._worker) { - this._worker.destroy(); - this._worker = null; - } - } -} -class PDFDataRangeTransport { - constructor(length, initialData, progressiveDone = false, contentDispositionFilename = null) { - this.length = length; - this.initialData = initialData; - this.progressiveDone = progressiveDone; - this.contentDispositionFilename = contentDispositionFilename; - this._rangeListeners = []; - this._progressListeners = []; - this._progressiveReadListeners = []; - this._progressiveDoneListeners = []; - this._readyCapability = Promise.withResolvers(); - } - addRangeListener(listener) { - this._rangeListeners.push(listener); - } - addProgressListener(listener) { - this._progressListeners.push(listener); - } - addProgressiveReadListener(listener) { - this._progressiveReadListeners.push(listener); - } - addProgressiveDoneListener(listener) { - this._progressiveDoneListeners.push(listener); - } - onDataRange(begin, chunk) { - for (const listener of this._rangeListeners) { - listener(begin, chunk); - } - } - onDataProgress(loaded, total) { - this._readyCapability.promise.then(() => { - for (const listener of this._progressListeners) { - listener(loaded, total); - } - }); - } - onDataProgressiveRead(chunk) { - this._readyCapability.promise.then(() => { - for (const listener of this._progressiveReadListeners) { - listener(chunk); - } - }); - } - onDataProgressiveDone() { - this._readyCapability.promise.then(() => { - for (const listener of this._progressiveDoneListeners) { - listener(); - } - }); - } - transportReady() { - this._readyCapability.resolve(); - } - requestDataRange(begin, end) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange"); - } - abort() {} -} -class PDFDocumentProxy { - constructor(pdfInfo, transport) { - this._pdfInfo = pdfInfo; - this._transport = transport; - } - get annotationStorage() { - return this._transport.annotationStorage; - } - get filterFactory() { - return this._transport.filterFactory; - } - get numPages() { - return this._pdfInfo.numPages; - } - get fingerprints() { - return this._pdfInfo.fingerprints; - } - get isPureXfa() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.shadow)(this, "isPureXfa", !!this._transport._htmlForXfa); - } - get allXfaHtml() { - return this._transport._htmlForXfa; - } - getPage(pageNumber) { - return this._transport.getPage(pageNumber); - } - getPageIndex(ref) { - return this._transport.getPageIndex(ref); - } - getDestinations() { - return this._transport.getDestinations(); - } - getDestination(id) { - return this._transport.getDestination(id); - } - getPageLabels() { - return this._transport.getPageLabels(); - } - getPageLayout() { - return this._transport.getPageLayout(); - } - getPageMode() { - return this._transport.getPageMode(); - } - getViewerPreferences() { - return this._transport.getViewerPreferences(); - } - getOpenAction() { - return this._transport.getOpenAction(); - } - getAttachments() { - return this._transport.getAttachments(); - } - getJSActions() { - return this._transport.getDocJSActions(); - } - getOutline() { - return this._transport.getOutline(); - } - getOptionalContentConfig({ - intent = "display" - } = {}) { - const { - renderingIntent - } = this._transport.getRenderingIntent(intent); - return this._transport.getOptionalContentConfig(renderingIntent); - } - getPermissions() { - return this._transport.getPermissions(); - } - getMetadata() { - return this._transport.getMetadata(); - } - getMarkInfo() { - return this._transport.getMarkInfo(); - } - getData() { - return this._transport.getData(); - } - saveDocument() { - return this._transport.saveDocument(); - } - getDownloadInfo() { - return this._transport.downloadInfoCapability.promise; - } - cleanup(keepLoadedFonts = false) { - return this._transport.startCleanup(keepLoadedFonts || this.isPureXfa); - } - destroy() { - return this.loadingTask.destroy(); - } - cachedPageNumber(ref) { - return this._transport.cachedPageNumber(ref); - } - get loadingParams() { - return this._transport.loadingParams; - } - get loadingTask() { - return this._transport.loadingTask; - } - getFieldObjects() { - return this._transport.getFieldObjects(); - } - hasJSActions() { - return this._transport.hasJSActions(); - } - getCalculationOrderIds() { - return this._transport.getCalculationOrderIds(); - } -} -class PDFPageProxy { - #delayedCleanupTimeout = null; - #pendingCleanup = false; - constructor(pageIndex, pageInfo, transport, pdfBug = false) { - this._pageIndex = pageIndex; - this._pageInfo = pageInfo; - this._transport = transport; - this._stats = pdfBug ? new _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.StatTimer() : null; - this._pdfBug = pdfBug; - this.commonObjs = transport.commonObjs; - this.objs = new PDFObjects(); - this._maybeCleanupAfterRender = false; - this._intentStates = new Map(); - this.destroyed = false; - } - get pageNumber() { - return this._pageIndex + 1; - } - get rotate() { - return this._pageInfo.rotate; - } - get ref() { - return this._pageInfo.ref; - } - get userUnit() { - return this._pageInfo.userUnit; - } - get view() { - return this._pageInfo.view; - } - getViewport({ - scale, - rotation = this.rotate, - offsetX = 0, - offsetY = 0, - dontFlip = false - } = {}) { - return new _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.PageViewport({ - viewBox: this.view, - scale, - rotation, - offsetX, - offsetY, - dontFlip - }); - } - getAnnotations({ - intent = "display" - } = {}) { - const { - renderingIntent - } = this._transport.getRenderingIntent(intent); - return this._transport.getAnnotations(this._pageIndex, renderingIntent); - } - getJSActions() { - return this._transport.getPageJSActions(this._pageIndex); - } - get filterFactory() { - return this._transport.filterFactory; - } - get isPureXfa() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.shadow)(this, "isPureXfa", !!this._transport._htmlForXfa); - } - async getXfa() { - return this._transport._htmlForXfa?.children[this._pageIndex] || null; - } - render({ - canvasContext, - viewport, - intent = "display", - annotationMode = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE, - transform = null, - background = null, - optionalContentConfigPromise = null, - annotationCanvasMap = null, - pageColors = null, - printAnnotationStorage = null - }) { - this._stats?.time("Overall"); - const intentArgs = this._transport.getRenderingIntent(intent, annotationMode, printAnnotationStorage); - const { - renderingIntent, - cacheKey - } = intentArgs; - this.#pendingCleanup = false; - this.#abortDelayedCleanup(); - optionalContentConfigPromise ||= this._transport.getOptionalContentConfig(renderingIntent); - let intentState = this._intentStates.get(cacheKey); - if (!intentState) { - intentState = Object.create(null); - this._intentStates.set(cacheKey, intentState); - } - if (intentState.streamReaderCancelTimeout) { - clearTimeout(intentState.streamReaderCancelTimeout); - intentState.streamReaderCancelTimeout = null; - } - const intentPrint = !!(renderingIntent & _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.PRINT); - if (!intentState.displayReadyCapability) { - intentState.displayReadyCapability = Promise.withResolvers(); - intentState.operatorList = { - fnArray: [], - argsArray: [], - lastChunk: false, - separateAnnots: null - }; - this._stats?.time("Page Request"); - this._pumpOperatorList(intentArgs); - } - const complete = error => { - intentState.renderTasks.delete(internalRenderTask); - if (this._maybeCleanupAfterRender || intentPrint) { - this.#pendingCleanup = true; - } - this.#tryCleanup(!intentPrint); - if (error) { - internalRenderTask.capability.reject(error); - this._abortOperatorList({ - intentState, - reason: error instanceof Error ? error : new Error(error) - }); - } else { - internalRenderTask.capability.resolve(); - } - this._stats?.timeEnd("Rendering"); - this._stats?.timeEnd("Overall"); - }; - const internalRenderTask = new InternalRenderTask({ - callback: complete, - params: { - canvasContext, - viewport, - transform, - background - }, - objs: this.objs, - commonObjs: this.commonObjs, - annotationCanvasMap, - operatorList: intentState.operatorList, - pageIndex: this._pageIndex, - canvasFactory: this._transport.canvasFactory, - filterFactory: this._transport.filterFactory, - useRequestAnimationFrame: !intentPrint, - pdfBug: this._pdfBug, - pageColors - }); - (intentState.renderTasks ||= new Set()).add(internalRenderTask); - const renderTask = internalRenderTask.task; - Promise.all([intentState.displayReadyCapability.promise, optionalContentConfigPromise]).then(([transparency, optionalContentConfig]) => { - if (this.destroyed) { - complete(); - return; - } - this._stats?.time("Rendering"); - if (!(optionalContentConfig.renderingIntent & renderingIntent)) { - throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` " + "and `PDFDocumentProxy.getOptionalContentConfig` methods."); - } - internalRenderTask.initializeGraphics({ - transparency, - optionalContentConfig - }); - internalRenderTask.operatorListChanged(); - }).catch(complete); - return renderTask; - } - getOperatorList({ - intent = "display", - annotationMode = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE, - printAnnotationStorage = null - } = {}) { - function operatorListChanged() { - if (intentState.operatorList.lastChunk) { - intentState.opListReadCapability.resolve(intentState.operatorList); - intentState.renderTasks.delete(opListTask); - } - } - const intentArgs = this._transport.getRenderingIntent(intent, annotationMode, printAnnotationStorage, true); - let intentState = this._intentStates.get(intentArgs.cacheKey); - if (!intentState) { - intentState = Object.create(null); - this._intentStates.set(intentArgs.cacheKey, intentState); - } - let opListTask; - if (!intentState.opListReadCapability) { - opListTask = Object.create(null); - opListTask.operatorListChanged = operatorListChanged; - intentState.opListReadCapability = Promise.withResolvers(); - (intentState.renderTasks ||= new Set()).add(opListTask); - intentState.operatorList = { - fnArray: [], - argsArray: [], - lastChunk: false, - separateAnnots: null - }; - this._stats?.time("Page Request"); - this._pumpOperatorList(intentArgs); - } - return intentState.opListReadCapability.promise; - } - streamTextContent({ - includeMarkedContent = false, - disableNormalization = false - } = {}) { - const TEXT_CONTENT_CHUNK_SIZE = 100; - return this._transport.messageHandler.sendWithStream("GetTextContent", { - pageIndex: this._pageIndex, - includeMarkedContent: includeMarkedContent === true, - disableNormalization: disableNormalization === true - }, { - highWaterMark: TEXT_CONTENT_CHUNK_SIZE, - size(textContent) { - return textContent.items.length; - } - }); - } - getTextContent(params = {}) { - if (this._transport._htmlForXfa) { - return this.getXfa().then(xfa => _xfa_text_js__WEBPACK_IMPORTED_MODULE_34__.XfaText.textContent(xfa)); - } - const readableStream = this.streamTextContent(params); - return new Promise(function (resolve, reject) { - function pump() { - reader.read().then(function ({ - value, - done - }) { - if (done) { - resolve(textContent); - return; - } - Object.assign(textContent.styles, value.styles); - textContent.items.push(...value.items); - pump(); - }, reject); - } - const reader = readableStream.getReader(); - const textContent = { - items: [], - styles: Object.create(null) - }; - pump(); - }); - } - getStructTree() { - return this._transport.getStructTree(this._pageIndex); - } - _destroy() { - this.destroyed = true; - const waitOn = []; - for (const intentState of this._intentStates.values()) { - this._abortOperatorList({ - intentState, - reason: new Error("Page was destroyed."), - force: true - }); - if (intentState.opListReadCapability) { - continue; - } - for (const internalRenderTask of intentState.renderTasks) { - waitOn.push(internalRenderTask.completed); - internalRenderTask.cancel(); - } - } - this.objs.clear(); - this.#pendingCleanup = false; - this.#abortDelayedCleanup(); - return Promise.all(waitOn); - } - cleanup(resetStats = false) { - this.#pendingCleanup = true; - const success = this.#tryCleanup(false); - if (resetStats && success) { - this._stats &&= new _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.StatTimer(); - } - return success; - } - #tryCleanup(delayed = false) { - this.#abortDelayedCleanup(); - if (!this.#pendingCleanup || this.destroyed) { - return false; - } - if (delayed) { - this.#delayedCleanupTimeout = setTimeout(() => { - this.#delayedCleanupTimeout = null; - this.#tryCleanup(false); - }, DELAYED_CLEANUP_TIMEOUT); - return false; - } - for (const { - renderTasks, - operatorList - } of this._intentStates.values()) { - if (renderTasks.size > 0 || !operatorList.lastChunk) { - return false; - } - } - this._intentStates.clear(); - this.objs.clear(); - this.#pendingCleanup = false; - return true; - } - #abortDelayedCleanup() { - if (this.#delayedCleanupTimeout) { - clearTimeout(this.#delayedCleanupTimeout); - this.#delayedCleanupTimeout = null; - } - } - _startRenderPage(transparency, cacheKey) { - const intentState = this._intentStates.get(cacheKey); - if (!intentState) { - return; - } - this._stats?.timeEnd("Page Request"); - intentState.displayReadyCapability?.resolve(transparency); - } - _renderPageChunk(operatorListChunk, intentState) { - for (let i = 0, ii = operatorListChunk.length; i < ii; i++) { - intentState.operatorList.fnArray.push(operatorListChunk.fnArray[i]); - intentState.operatorList.argsArray.push(operatorListChunk.argsArray[i]); - } - intentState.operatorList.lastChunk = operatorListChunk.lastChunk; - intentState.operatorList.separateAnnots = operatorListChunk.separateAnnots; - for (const internalRenderTask of intentState.renderTasks) { - internalRenderTask.operatorListChanged(); - } - if (operatorListChunk.lastChunk) { - this.#tryCleanup(true); - } - } - _pumpOperatorList({ - renderingIntent, - cacheKey, - annotationStorageSerializable - }) { - const { - map, - transfer - } = annotationStorageSerializable; - const readableStream = this._transport.messageHandler.sendWithStream("GetOperatorList", { - pageIndex: this._pageIndex, - intent: renderingIntent, - cacheKey, - annotationStorage: map - }, transfer); - const reader = readableStream.getReader(); - const intentState = this._intentStates.get(cacheKey); - intentState.streamReader = reader; - const pump = () => { - reader.read().then(({ - value, - done - }) => { - if (done) { - intentState.streamReader = null; - return; - } - if (this._transport.destroyed) { - return; - } - this._renderPageChunk(value, intentState); - pump(); - }, reason => { - intentState.streamReader = null; - if (this._transport.destroyed) { - return; - } - if (intentState.operatorList) { - intentState.operatorList.lastChunk = true; - for (const internalRenderTask of intentState.renderTasks) { - internalRenderTask.operatorListChanged(); - } - this.#tryCleanup(true); - } - if (intentState.displayReadyCapability) { - intentState.displayReadyCapability.reject(reason); - } else if (intentState.opListReadCapability) { - intentState.opListReadCapability.reject(reason); - } else { - throw reason; - } - }); - }; - pump(); - } - _abortOperatorList({ - intentState, - reason, - force = false - }) { - if (!intentState.streamReader) { - return; - } - if (intentState.streamReaderCancelTimeout) { - clearTimeout(intentState.streamReaderCancelTimeout); - intentState.streamReaderCancelTimeout = null; - } - if (!force) { - if (intentState.renderTasks.size > 0) { - return; - } - if (reason instanceof _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.RenderingCancelledException) { - let delay = RENDERING_CANCELLED_TIMEOUT; - if (reason.extraDelay > 0 && reason.extraDelay < 1000) { - delay += reason.extraDelay; - } - intentState.streamReaderCancelTimeout = setTimeout(() => { - intentState.streamReaderCancelTimeout = null; - this._abortOperatorList({ - intentState, - reason, - force: true - }); - }, delay); - return; - } - } - intentState.streamReader.cancel(new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AbortException(reason.message)).catch(() => {}); - intentState.streamReader = null; - if (this._transport.destroyed) { - return; - } - for (const [curCacheKey, curIntentState] of this._intentStates) { - if (curIntentState === intentState) { - this._intentStates.delete(curCacheKey); - break; - } - } - this.cleanup(); - } - get stats() { - return this._stats; - } -} -class LoopbackPort { - #listeners = new Set(); - #deferred = Promise.resolve(); - postMessage(obj, transfer) { - const event = { - data: structuredClone(obj, transfer ? { - transfer - } : null) - }; - this.#deferred.then(() => { - for (const listener of this.#listeners) { - listener.call(this, event); - } - }); - } - addEventListener(name, listener) { - this.#listeners.add(listener); - } - removeEventListener(name, listener) { - this.#listeners.delete(listener); - } - terminate() { - this.#listeners.clear(); - } -} -const PDFWorkerUtil = { - isWorkerDisabled: false, - fakeWorkerId: 0 -}; -{ - if (_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.isNodeJS) { - PDFWorkerUtil.isWorkerDisabled = true; - _worker_options_js__WEBPACK_IMPORTED_MODULE_35__.GlobalWorkerOptions.workerSrc ||= "./pdf.worker.mjs"; - } - PDFWorkerUtil.isSameOrigin = function (baseUrl, otherUrl) { - let base; - try { - base = new URL(baseUrl); - if (!base.origin || base.origin === "null") { - return false; - } - } catch { - return false; - } - const other = new URL(otherUrl, base); - return base.origin === other.origin; - }; - PDFWorkerUtil.createCDNWrapper = function (url) { - const wrapper = `await import("${url}");`; - return URL.createObjectURL(new Blob([wrapper], { - type: "text/javascript" - })); - }; -} -class PDFWorker { - static #workerPorts; - constructor({ - name = null, - port = null, - verbosity = (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.getVerbosityLevel)() - } = {}) { - this.name = name; - this.destroyed = false; - this.verbosity = verbosity; - this._readyCapability = Promise.withResolvers(); - this._port = null; - this._webWorker = null; - this._messageHandler = null; - if (port) { - if (PDFWorker.#workerPorts?.has(port)) { - throw new Error("Cannot use more than one PDFWorker per port."); - } - (PDFWorker.#workerPorts ||= new WeakMap()).set(port, this); - this._initializeFromPort(port); - return; - } - this._initialize(); - } - get promise() { - return this._readyCapability.promise; - } - get port() { - return this._port; - } - get messageHandler() { - return this._messageHandler; - } - _initializeFromPort(port) { - this._port = port; - this._messageHandler = new _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__.MessageHandler("main", "worker", port); - this._messageHandler.on("ready", function () {}); - this._readyCapability.resolve(); - this._messageHandler.send("configure", { - verbosity: this.verbosity - }); - } - _initialize() { - if (!PDFWorkerUtil.isWorkerDisabled && !PDFWorker.#mainThreadWorkerMessageHandler) { - let { - workerSrc - } = PDFWorker; - try { - if (!PDFWorkerUtil.isSameOrigin(window.location.href, workerSrc)) { - workerSrc = PDFWorkerUtil.createCDNWrapper(new URL(workerSrc, window.location).href); - } - const worker = new Worker(workerSrc, { - type: "module" - }); - const messageHandler = new _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__.MessageHandler("main", "worker", worker); - const terminateEarly = () => { - worker.removeEventListener("error", onWorkerError); - messageHandler.destroy(); - worker.terminate(); - if (this.destroyed) { - this._readyCapability.reject(new Error("Worker was destroyed")); - } else { - this._setupFakeWorker(); - } - }; - const onWorkerError = () => { - if (!this._webWorker) { - terminateEarly(); - } - }; - worker.addEventListener("error", onWorkerError); - messageHandler.on("test", data => { - worker.removeEventListener("error", onWorkerError); - if (this.destroyed) { - terminateEarly(); - return; - } - if (data) { - this._messageHandler = messageHandler; - this._port = worker; - this._webWorker = worker; - this._readyCapability.resolve(); - messageHandler.send("configure", { - verbosity: this.verbosity - }); - } else { - this._setupFakeWorker(); - messageHandler.destroy(); - worker.terminate(); - } - }); - messageHandler.on("ready", data => { - worker.removeEventListener("error", onWorkerError); - if (this.destroyed) { - terminateEarly(); - return; - } - try { - sendTest(); - } catch { - this._setupFakeWorker(); - } - }); - const sendTest = () => { - const testObj = new Uint8Array(); - messageHandler.send("test", testObj, [testObj.buffer]); - }; - sendTest(); - return; - } catch { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.info)("The worker has been disabled."); - } - } - this._setupFakeWorker(); - } - _setupFakeWorker() { - if (!PDFWorkerUtil.isWorkerDisabled) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.warn)("Setting up fake worker."); - PDFWorkerUtil.isWorkerDisabled = true; - } - PDFWorker._setupFakeWorkerGlobal.then(WorkerMessageHandler => { - if (this.destroyed) { - this._readyCapability.reject(new Error("Worker was destroyed")); - return; - } - const port = new LoopbackPort(); - this._port = port; - const id = `fake${PDFWorkerUtil.fakeWorkerId++}`; - const workerHandler = new _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__.MessageHandler(id + "_worker", id, port); - WorkerMessageHandler.setup(workerHandler, port); - const messageHandler = new _shared_message_handler_js__WEBPACK_IMPORTED_MODULE_27__.MessageHandler(id, id + "_worker", port); - this._messageHandler = messageHandler; - this._readyCapability.resolve(); - messageHandler.send("configure", { - verbosity: this.verbosity - }); - }).catch(reason => { - this._readyCapability.reject(new Error(`Setting up fake worker failed: "${reason.message}".`)); - }); - } - destroy() { - this.destroyed = true; - if (this._webWorker) { - this._webWorker.terminate(); - this._webWorker = null; - } - PDFWorker.#workerPorts?.delete(this._port); - this._port = null; - if (this._messageHandler) { - this._messageHandler.destroy(); - this._messageHandler = null; - } - } - static fromPort(params) { - if (!params?.port) { - throw new Error("PDFWorker.fromPort - invalid method signature."); - } - const cachedPort = this.#workerPorts?.get(params.port); - if (cachedPort) { - if (cachedPort._pendingDestroy) { - throw new Error("PDFWorker.fromPort - the worker is being destroyed.\n" + "Please remember to await `PDFDocumentLoadingTask.destroy()`-calls."); - } - return cachedPort; - } - return new PDFWorker(params); - } - static get workerSrc() { - if (_worker_options_js__WEBPACK_IMPORTED_MODULE_35__.GlobalWorkerOptions.workerSrc) { - return _worker_options_js__WEBPACK_IMPORTED_MODULE_35__.GlobalWorkerOptions.workerSrc; - } - throw new Error('No "GlobalWorkerOptions.workerSrc" specified.'); - } - static get #mainThreadWorkerMessageHandler() { - try { - return globalThis.pdfjsWorker?.WorkerMessageHandler || null; - } catch { - return null; - } - } - static get _setupFakeWorkerGlobal() { - const loader = async () => { - if (this.#mainThreadWorkerMessageHandler) { - return this.#mainThreadWorkerMessageHandler; - } - const worker = await import( /*webpackIgnore: true*/this.workerSrc); - return worker.WorkerMessageHandler; - }; - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.shadow)(this, "_setupFakeWorkerGlobal", loader()); - } -} -class WorkerTransport { - #methodPromises = new Map(); - #pageCache = new Map(); - #pagePromises = new Map(); - #pageRefCache = new Map(); - #passwordCapability = null; - constructor(messageHandler, loadingTask, networkStream, params, factory) { - this.messageHandler = messageHandler; - this.loadingTask = loadingTask; - this.commonObjs = new PDFObjects(); - this.fontLoader = new _font_loader_js__WEBPACK_IMPORTED_MODULE_23__.FontLoader({ - ownerDocument: params.ownerDocument, - styleElement: params.styleElement - }); - this._params = params; - this.canvasFactory = factory.canvasFactory; - this.filterFactory = factory.filterFactory; - this.cMapReaderFactory = factory.cMapReaderFactory; - this.standardFontDataFactory = factory.standardFontDataFactory; - this.destroyed = false; - this.destroyCapability = null; - this._networkStream = networkStream; - this._fullReader = null; - this._lastProgress = null; - this.downloadInfoCapability = Promise.withResolvers(); - this.setupMessageHandler(); - } - #cacheSimpleMethod(name, data = null) { - const cachedPromise = this.#methodPromises.get(name); - if (cachedPromise) { - return cachedPromise; - } - const promise = this.messageHandler.sendWithPromise(name, data); - this.#methodPromises.set(name, promise); - return promise; - } - get annotationStorage() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.shadow)(this, "annotationStorage", new _annotation_storage_js__WEBPACK_IMPORTED_MODULE_21__.AnnotationStorage()); - } - getRenderingIntent(intent, annotationMode = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE, printAnnotationStorage = null, isOpList = false) { - let renderingIntent = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.DISPLAY; - let annotationStorageSerializable = _annotation_storage_js__WEBPACK_IMPORTED_MODULE_21__.SerializableEmpty; - switch (intent) { - case "any": - renderingIntent = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.ANY; - break; - case "display": - break; - case "print": - renderingIntent = _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.PRINT; - break; - default: - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.warn)(`getRenderingIntent - invalid intent: ${intent}`); - } - switch (annotationMode) { - case _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.DISABLE: - renderingIntent += _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.ANNOTATIONS_DISABLE; - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE: - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE_FORMS: - renderingIntent += _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.ANNOTATIONS_FORMS; - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AnnotationMode.ENABLE_STORAGE: - renderingIntent += _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.ANNOTATIONS_STORAGE; - const annotationStorage = renderingIntent & _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.PRINT && printAnnotationStorage instanceof _annotation_storage_js__WEBPACK_IMPORTED_MODULE_21__.PrintAnnotationStorage ? printAnnotationStorage : this.annotationStorage; - annotationStorageSerializable = annotationStorage.serializable; - break; - default: - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.warn)(`getRenderingIntent - invalid annotationMode: ${annotationMode}`); - } - if (isOpList) { - renderingIntent += _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.RenderingIntentFlag.OPLIST; - } - return { - renderingIntent, - cacheKey: `${renderingIntent}_${annotationStorageSerializable.hash}`, - annotationStorageSerializable - }; - } - destroy() { - if (this.destroyCapability) { - return this.destroyCapability.promise; - } - this.destroyed = true; - this.destroyCapability = Promise.withResolvers(); - this.#passwordCapability?.reject(new Error("Worker was destroyed during onPassword callback")); - const waitOn = []; - for (const page of this.#pageCache.values()) { - waitOn.push(page._destroy()); - } - this.#pageCache.clear(); - this.#pagePromises.clear(); - this.#pageRefCache.clear(); - if (this.hasOwnProperty("annotationStorage")) { - this.annotationStorage.resetModified(); - } - const terminated = this.messageHandler.sendWithPromise("Terminate", null); - waitOn.push(terminated); - Promise.all(waitOn).then(() => { - this.commonObjs.clear(); - this.fontLoader.clear(); - this.#methodPromises.clear(); - this.filterFactory.destroy(); - (0,_text_layer_js__WEBPACK_IMPORTED_MODULE_26__.cleanupTextLayer)(); - this._networkStream?.cancelAllRequests(new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.AbortException("Worker was terminated.")); - if (this.messageHandler) { - this.messageHandler.destroy(); - this.messageHandler = null; - } - this.destroyCapability.resolve(); - }, this.destroyCapability.reject); - return this.destroyCapability.promise; - } - setupMessageHandler() { - const { - messageHandler, - loadingTask - } = this; - messageHandler.on("GetReader", (data, sink) => { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.assert)(this._networkStream, "GetReader - no `IPDFStream` instance available."); - this._fullReader = this._networkStream.getFullReader(); - this._fullReader.onProgress = evt => { - this._lastProgress = { - loaded: evt.loaded, - total: evt.total - }; - }; - sink.onPull = () => { - this._fullReader.read().then(function ({ - value, - done - }) { - if (done) { - sink.close(); - return; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.assert)(value instanceof ArrayBuffer, "GetReader - expected an ArrayBuffer."); - sink.enqueue(new Uint8Array(value), 1, [value]); - }).catch(reason => { - sink.error(reason); - }); - }; - sink.onCancel = reason => { - this._fullReader.cancel(reason); - sink.ready.catch(readyReason => { - if (this.destroyed) { - return; - } - throw readyReason; - }); - }; - }); - messageHandler.on("ReaderHeadersReady", data => { - const headersCapability = Promise.withResolvers(); - const fullReader = this._fullReader; - fullReader.headersReady.then(() => { - if (!fullReader.isStreamingSupported || !fullReader.isRangeSupported) { - if (this._lastProgress) { - loadingTask.onProgress?.(this._lastProgress); - } - fullReader.onProgress = evt => { - loadingTask.onProgress?.({ - loaded: evt.loaded, - total: evt.total - }); - }; - } - headersCapability.resolve({ - isStreamingSupported: fullReader.isStreamingSupported, - isRangeSupported: fullReader.isRangeSupported, - contentLength: fullReader.contentLength - }); - }, headersCapability.reject); - return headersCapability.promise; - }); - messageHandler.on("GetRangeReader", (data, sink) => { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.assert)(this._networkStream, "GetRangeReader - no `IPDFStream` instance available."); - const rangeReader = this._networkStream.getRangeReader(data.begin, data.end); - if (!rangeReader) { - sink.close(); - return; - } - sink.onPull = () => { - rangeReader.read().then(function ({ - value, - done - }) { - if (done) { - sink.close(); - return; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.assert)(value instanceof ArrayBuffer, "GetRangeReader - expected an ArrayBuffer."); - sink.enqueue(new Uint8Array(value), 1, [value]); - }).catch(reason => { - sink.error(reason); - }); - }; - sink.onCancel = reason => { - rangeReader.cancel(reason); - sink.ready.catch(readyReason => { - if (this.destroyed) { - return; - } - throw readyReason; - }); - }; - }); - messageHandler.on("GetDoc", ({ - pdfInfo - }) => { - this._numPages = pdfInfo.numPages; - this._htmlForXfa = pdfInfo.htmlForXfa; - delete pdfInfo.htmlForXfa; - loadingTask._capability.resolve(new PDFDocumentProxy(pdfInfo, this)); - }); - messageHandler.on("DocException", function (ex) { - let reason; - switch (ex.name) { - case "PasswordException": - reason = new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.PasswordException(ex.message, ex.code); - break; - case "InvalidPDFException": - reason = new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.InvalidPDFException(ex.message); - break; - case "MissingPDFException": - reason = new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.MissingPDFException(ex.message); - break; - case "UnexpectedResponseException": - reason = new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.UnexpectedResponseException(ex.message, ex.status); - break; - case "UnknownErrorException": - reason = new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.UnknownErrorException(ex.message, ex.details); - break; - default: - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.unreachable)("DocException - expected a valid Error."); - } - loadingTask._capability.reject(reason); - }); - messageHandler.on("PasswordRequest", exception => { - this.#passwordCapability = Promise.withResolvers(); - if (loadingTask.onPassword) { - const updatePassword = password => { - if (password instanceof Error) { - this.#passwordCapability.reject(password); - } else { - this.#passwordCapability.resolve({ - password - }); - } - }; - try { - loadingTask.onPassword(updatePassword, exception.code); - } catch (ex) { - this.#passwordCapability.reject(ex); - } - } else { - this.#passwordCapability.reject(new _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.PasswordException(exception.message, exception.code)); - } - return this.#passwordCapability.promise; - }); - messageHandler.on("DataLoaded", data => { - loadingTask.onProgress?.({ - loaded: data.length, - total: data.length - }); - this.downloadInfoCapability.resolve(data); - }); - messageHandler.on("StartRenderPage", data => { - if (this.destroyed) { - return; - } - const page = this.#pageCache.get(data.pageIndex); - page._startRenderPage(data.transparency, data.cacheKey); - }); - messageHandler.on("commonobj", ([id, type, exportedData]) => { - if (this.destroyed) { - return null; - } - if (this.commonObjs.has(id)) { - return null; - } - switch (type) { - case "Font": - const params = this._params; - if ("error" in exportedData) { - const exportedError = exportedData.error; - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.warn)(`Error during font loading: ${exportedError}`); - this.commonObjs.resolve(id, exportedError); - break; - } - const inspectFont = params.pdfBug && globalThis.FontInspector?.enabled ? (font, url) => globalThis.FontInspector.fontAdded(font, url) : null; - const font = new _font_loader_js__WEBPACK_IMPORTED_MODULE_23__.FontFaceObject(exportedData, { - disableFontFace: params.disableFontFace, - ignoreErrors: params.ignoreErrors, - inspectFont - }); - this.fontLoader.bind(font).catch(() => messageHandler.sendWithPromise("FontFallback", { - id - })).finally(() => { - if (!params.fontExtraProperties && font.data) { - font.data = null; - } - this.commonObjs.resolve(id, font); - }); - break; - case "CopyLocalImage": - const { - imageRef - } = exportedData; - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.assert)(imageRef, "The imageRef must be defined."); - for (const pageProxy of this.#pageCache.values()) { - for (const [, data] of pageProxy.objs) { - if (data.ref !== imageRef) { - continue; - } - if (!data.dataLen) { - return null; - } - this.commonObjs.resolve(id, structuredClone(data)); - return data.dataLen; - } - } - break; - case "FontPath": - case "Image": - case "Pattern": - this.commonObjs.resolve(id, exportedData); - break; - default: - throw new Error(`Got unknown common object type ${type}`); - } - return null; - }); - messageHandler.on("obj", ([id, pageIndex, type, imageData]) => { - if (this.destroyed) { - return; - } - const pageProxy = this.#pageCache.get(pageIndex); - if (pageProxy.objs.has(id)) { - return; - } - if (pageProxy._intentStates.size === 0) { - imageData?.bitmap?.close(); - return; - } - switch (type) { - case "Image": - pageProxy.objs.resolve(id, imageData); - if (imageData?.dataLen > _shared_util_js__WEBPACK_IMPORTED_MODULE_20__.MAX_IMAGE_SIZE_TO_CACHE) { - pageProxy._maybeCleanupAfterRender = true; - } - break; - case "Pattern": - pageProxy.objs.resolve(id, imageData); - break; - default: - throw new Error(`Got unknown object type ${type}`); - } - }); - messageHandler.on("DocProgress", data => { - if (this.destroyed) { - return; - } - loadingTask.onProgress?.({ - loaded: data.loaded, - total: data.total - }); - }); - messageHandler.on("FetchBuiltInCMap", data => { - if (this.destroyed) { - return Promise.reject(new Error("Worker was destroyed.")); - } - if (!this.cMapReaderFactory) { - return Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.")); - } - return this.cMapReaderFactory.fetch(data); - }); - messageHandler.on("FetchStandardFontData", data => { - if (this.destroyed) { - return Promise.reject(new Error("Worker was destroyed.")); - } - if (!this.standardFontDataFactory) { - return Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")); - } - return this.standardFontDataFactory.fetch(data); - }); - } - getData() { - return this.messageHandler.sendWithPromise("GetData", null); - } - saveDocument() { - if (this.annotationStorage.size <= 0) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.warn)("saveDocument called while `annotationStorage` is empty, " + "please use the getData-method instead."); - } - const { - map, - transfer - } = this.annotationStorage.serializable; - return this.messageHandler.sendWithPromise("SaveDocument", { - isPureXfa: !!this._htmlForXfa, - numPages: this._numPages, - annotationStorage: map, - filename: this._fullReader?.filename ?? null - }, transfer).finally(() => { - this.annotationStorage.resetModified(); - }); - } - getPage(pageNumber) { - if (!Number.isInteger(pageNumber) || pageNumber <= 0 || pageNumber > this._numPages) { - return Promise.reject(new Error("Invalid page request.")); - } - const pageIndex = pageNumber - 1, - cachedPromise = this.#pagePromises.get(pageIndex); - if (cachedPromise) { - return cachedPromise; - } - const promise = this.messageHandler.sendWithPromise("GetPage", { - pageIndex - }).then(pageInfo => { - if (this.destroyed) { - throw new Error("Transport destroyed"); - } - if (pageInfo.refStr) { - this.#pageRefCache.set(pageInfo.refStr, pageNumber); - } - const page = new PDFPageProxy(pageIndex, pageInfo, this, this._params.pdfBug); - this.#pageCache.set(pageIndex, page); - return page; - }); - this.#pagePromises.set(pageIndex, promise); - return promise; - } - getPageIndex(ref) { - if (!isRefProxy(ref)) { - return Promise.reject(new Error("Invalid pageIndex request.")); - } - return this.messageHandler.sendWithPromise("GetPageIndex", { - num: ref.num, - gen: ref.gen - }); - } - getAnnotations(pageIndex, intent) { - return this.messageHandler.sendWithPromise("GetAnnotations", { - pageIndex, - intent - }); - } - getFieldObjects() { - return this.#cacheSimpleMethod("GetFieldObjects"); - } - hasJSActions() { - return this.#cacheSimpleMethod("HasJSActions"); - } - getCalculationOrderIds() { - return this.messageHandler.sendWithPromise("GetCalculationOrderIds", null); - } - getDestinations() { - return this.messageHandler.sendWithPromise("GetDestinations", null); - } - getDestination(id) { - if (typeof id !== "string") { - return Promise.reject(new Error("Invalid destination request.")); - } - return this.messageHandler.sendWithPromise("GetDestination", { - id - }); - } - getPageLabels() { - return this.messageHandler.sendWithPromise("GetPageLabels", null); - } - getPageLayout() { - return this.messageHandler.sendWithPromise("GetPageLayout", null); - } - getPageMode() { - return this.messageHandler.sendWithPromise("GetPageMode", null); - } - getViewerPreferences() { - return this.messageHandler.sendWithPromise("GetViewerPreferences", null); - } - getOpenAction() { - return this.messageHandler.sendWithPromise("GetOpenAction", null); - } - getAttachments() { - return this.messageHandler.sendWithPromise("GetAttachments", null); - } - getDocJSActions() { - return this.#cacheSimpleMethod("GetDocJSActions"); - } - getPageJSActions(pageIndex) { - return this.messageHandler.sendWithPromise("GetPageJSActions", { - pageIndex - }); - } - getStructTree(pageIndex) { - return this.messageHandler.sendWithPromise("GetStructTree", { - pageIndex - }); - } - getOutline() { - return this.messageHandler.sendWithPromise("GetOutline", null); - } - getOptionalContentConfig(renderingIntent) { - return this.#cacheSimpleMethod("GetOptionalContentConfig").then(data => new _optional_content_config_js__WEBPACK_IMPORTED_MODULE_29__.OptionalContentConfig(data, renderingIntent)); - } - getPermissions() { - return this.messageHandler.sendWithPromise("GetPermissions", null); - } - getMetadata() { - const name = "GetMetadata", - cachedPromise = this.#methodPromises.get(name); - if (cachedPromise) { - return cachedPromise; - } - const promise = this.messageHandler.sendWithPromise(name, null).then(results => ({ - info: results[0], - metadata: results[1] ? new _metadata_js__WEBPACK_IMPORTED_MODULE_28__.Metadata(results[1]) : null, - contentDispositionFilename: this._fullReader?.filename ?? null, - contentLength: this._fullReader?.contentLength ?? null - })); - this.#methodPromises.set(name, promise); - return promise; - } - getMarkInfo() { - return this.messageHandler.sendWithPromise("GetMarkInfo", null); - } - async startCleanup(keepLoadedFonts = false) { - if (this.destroyed) { - return; - } - await this.messageHandler.sendWithPromise("Cleanup", null); - for (const page of this.#pageCache.values()) { - const cleanupSuccessful = page.cleanup(); - if (!cleanupSuccessful) { - throw new Error(`startCleanup: Page ${page.pageNumber} is currently rendering.`); - } - } - this.commonObjs.clear(); - if (!keepLoadedFonts) { - this.fontLoader.clear(); - } - this.#methodPromises.clear(); - this.filterFactory.destroy(true); - (0,_text_layer_js__WEBPACK_IMPORTED_MODULE_26__.cleanupTextLayer)(); - } - cachedPageNumber(ref) { - if (!isRefProxy(ref)) { - return null; - } - const refStr = ref.gen === 0 ? `${ref.num}R` : `${ref.num}R${ref.gen}`; - return this.#pageRefCache.get(refStr) ?? null; - } - get loadingParams() { - const { - disableAutoFetch, - enableXfa - } = this._params; - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_20__.shadow)(this, "loadingParams", { - disableAutoFetch, - enableXfa - }); - } -} -const INITIAL_DATA = Symbol("INITIAL_DATA"); -class PDFObjects { - #objs = Object.create(null); - #ensureObj(objId) { - return this.#objs[objId] ||= { - ...Promise.withResolvers(), - data: INITIAL_DATA - }; - } - get(objId, callback = null) { - if (callback) { - const obj = this.#ensureObj(objId); - obj.promise.then(() => callback(obj.data)); - return null; - } - const obj = this.#objs[objId]; - if (!obj || obj.data === INITIAL_DATA) { - throw new Error(`Requesting object that isn't resolved yet ${objId}.`); - } - return obj.data; - } - has(objId) { - const obj = this.#objs[objId]; - return !!obj && obj.data !== INITIAL_DATA; - } - resolve(objId, data = null) { - const obj = this.#ensureObj(objId); - obj.data = data; - obj.resolve(); - } - clear() { - for (const objId in this.#objs) { - const { - data - } = this.#objs[objId]; - data?.bitmap?.close(); - } - this.#objs = Object.create(null); - } - *[Symbol.iterator]() { - for (const objId in this.#objs) { - const { - data - } = this.#objs[objId]; - if (data === INITIAL_DATA) { - continue; - } - yield [objId, data]; - } - } -} -class RenderTask { - #internalRenderTask = null; - constructor(internalRenderTask) { - this.#internalRenderTask = internalRenderTask; - this.onContinue = null; - } - get promise() { - return this.#internalRenderTask.capability.promise; - } - cancel(extraDelay = 0) { - this.#internalRenderTask.cancel(null, extraDelay); - } - get separateAnnots() { - const { - separateAnnots - } = this.#internalRenderTask.operatorList; - if (!separateAnnots) { - return false; - } - const { - annotationCanvasMap - } = this.#internalRenderTask; - return separateAnnots.form || separateAnnots.canvas && annotationCanvasMap?.size > 0; - } -} -class InternalRenderTask { - static #canvasInUse = new WeakSet(); - constructor({ - callback, - params, - objs, - commonObjs, - annotationCanvasMap, - operatorList, - pageIndex, - canvasFactory, - filterFactory, - useRequestAnimationFrame = false, - pdfBug = false, - pageColors = null - }) { - this.callback = callback; - this.params = params; - this.objs = objs; - this.commonObjs = commonObjs; - this.annotationCanvasMap = annotationCanvasMap; - this.operatorListIdx = null; - this.operatorList = operatorList; - this._pageIndex = pageIndex; - this.canvasFactory = canvasFactory; - this.filterFactory = filterFactory; - this._pdfBug = pdfBug; - this.pageColors = pageColors; - this.running = false; - this.graphicsReadyCallback = null; - this.graphicsReady = false; - this._useRequestAnimationFrame = useRequestAnimationFrame === true && typeof window !== "undefined"; - this.cancelled = false; - this.capability = Promise.withResolvers(); - this.task = new RenderTask(this); - this._cancelBound = this.cancel.bind(this); - this._continueBound = this._continue.bind(this); - this._scheduleNextBound = this._scheduleNext.bind(this); - this._nextBound = this._next.bind(this); - this._canvas = params.canvasContext.canvas; - } - get completed() { - return this.capability.promise.catch(function () {}); - } - initializeGraphics({ - transparency = false, - optionalContentConfig - }) { - if (this.cancelled) { - return; - } - if (this._canvas) { - if (InternalRenderTask.#canvasInUse.has(this._canvas)) { - throw new Error("Cannot use the same canvas during multiple render() operations. " + "Use different canvas or ensure previous operations were " + "cancelled or completed."); - } - InternalRenderTask.#canvasInUse.add(this._canvas); - } - if (this._pdfBug && globalThis.StepperManager?.enabled) { - this.stepper = globalThis.StepperManager.create(this._pageIndex); - this.stepper.init(this.operatorList); - this.stepper.nextBreakPoint = this.stepper.getNextBreakPoint(); - } - const { - canvasContext, - viewport, - transform, - background - } = this.params; - this.gfx = new _canvas_js__WEBPACK_IMPORTED_MODULE_25__.CanvasGraphics(canvasContext, this.commonObjs, this.objs, this.canvasFactory, this.filterFactory, { - optionalContentConfig - }, this.annotationCanvasMap, this.pageColors); - this.gfx.beginDrawing({ - transform, - viewport, - transparency, - background - }); - this.operatorListIdx = 0; - this.graphicsReady = true; - this.graphicsReadyCallback?.(); - } - cancel(error = null, extraDelay = 0) { - this.running = false; - this.cancelled = true; - this.gfx?.endDrawing(); - InternalRenderTask.#canvasInUse.delete(this._canvas); - this.callback(error || new _display_utils_js__WEBPACK_IMPORTED_MODULE_22__.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex + 1}`, extraDelay)); - } - operatorListChanged() { - if (!this.graphicsReady) { - this.graphicsReadyCallback ||= this._continueBound; - return; - } - this.stepper?.updateOperatorList(this.operatorList); - if (this.running) { - return; - } - this._continue(); - } - _continue() { - this.running = true; - if (this.cancelled) { - return; - } - if (this.task.onContinue) { - this.task.onContinue(this._scheduleNextBound); - } else { - this._scheduleNext(); - } - } - _scheduleNext() { - if (this._useRequestAnimationFrame) { - window.requestAnimationFrame(() => { - this._nextBound().catch(this._cancelBound); - }); - } else { - Promise.resolve().then(this._nextBound).catch(this._cancelBound); - } - } - async _next() { - if (this.cancelled) { - return; - } - this.operatorListIdx = this.gfx.executeOperatorList(this.operatorList, this.operatorListIdx, this._continueBound, this.stepper); - if (this.operatorListIdx === this.operatorList.argsArray.length) { - this.running = false; - if (this.operatorList.lastChunk) { - this.gfx.endDrawing(); - InternalRenderTask.#canvasInUse.delete(this._canvas); - this.callback(); - } - } - } -} -const version = "4.2.67"; -const build = "49b388101"; - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2583: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ BaseCMapReaderFactory: () => (/* binding */ BaseCMapReaderFactory), -/* harmony export */ BaseCanvasFactory: () => (/* binding */ BaseCanvasFactory), -/* harmony export */ BaseFilterFactory: () => (/* binding */ BaseFilterFactory), -/* harmony export */ BaseSVGFactory: () => (/* binding */ BaseSVGFactory), -/* harmony export */ BaseStandardFontDataFactory: () => (/* binding */ BaseStandardFontDataFactory) -/* harmony export */ }); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4292); - -class BaseFilterFactory { - constructor() { - if (this.constructor === BaseFilterFactory) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Cannot initialize BaseFilterFactory."); - } - } - addFilter(maps) { - return "none"; - } - addHCMFilter(fgColor, bgColor) { - return "none"; - } - addHighlightHCMFilter(filterName, fgColor, bgColor, newFgColor, newBgColor) { - return "none"; - } - destroy(keepHCM = false) {} -} -class BaseCanvasFactory { - constructor() { - if (this.constructor === BaseCanvasFactory) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Cannot initialize BaseCanvasFactory."); - } - } - create(width, height) { - if (width <= 0 || height <= 0) { - throw new Error("Invalid canvas size"); - } - const canvas = this._createCanvas(width, height); - return { - canvas, - context: canvas.getContext("2d") - }; - } - reset(canvasAndContext, width, height) { - if (!canvasAndContext.canvas) { - throw new Error("Canvas is not specified"); - } - if (width <= 0 || height <= 0) { - throw new Error("Invalid canvas size"); - } - canvasAndContext.canvas.width = width; - canvasAndContext.canvas.height = height; - } - destroy(canvasAndContext) { - if (!canvasAndContext.canvas) { - throw new Error("Canvas is not specified"); - } - canvasAndContext.canvas.width = 0; - canvasAndContext.canvas.height = 0; - canvasAndContext.canvas = null; - canvasAndContext.context = null; - } - _createCanvas(width, height) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Abstract method `_createCanvas` called."); - } -} -class BaseCMapReaderFactory { - constructor({ - baseUrl = null, - isCompressed = true - }) { - if (this.constructor === BaseCMapReaderFactory) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Cannot initialize BaseCMapReaderFactory."); - } - this.baseUrl = baseUrl; - this.isCompressed = isCompressed; - } - async fetch({ - name - }) { - if (!this.baseUrl) { - throw new Error('The CMap "baseUrl" parameter must be specified, ensure that ' + 'the "cMapUrl" and "cMapPacked" API parameters are provided.'); - } - if (!name) { - throw new Error("CMap name must be specified."); - } - const url = this.baseUrl + name + (this.isCompressed ? ".bcmap" : ""); - const compressionType = this.isCompressed ? _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.CMapCompressionType.BINARY : _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.CMapCompressionType.NONE; - return this._fetchData(url, compressionType).catch(reason => { - throw new Error(`Unable to load ${this.isCompressed ? "binary " : ""}CMap at: ${url}`); - }); - } - _fetchData(url, compressionType) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Abstract method `_fetchData` called."); - } -} -class BaseStandardFontDataFactory { - constructor({ - baseUrl = null - }) { - if (this.constructor === BaseStandardFontDataFactory) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Cannot initialize BaseStandardFontDataFactory."); - } - this.baseUrl = baseUrl; - } - async fetch({ - filename - }) { - if (!this.baseUrl) { - throw new Error('The standard font "baseUrl" parameter must be specified, ensure that ' + 'the "standardFontDataUrl" API parameter is provided.'); - } - if (!filename) { - throw new Error("Font filename must be specified."); - } - const url = `${this.baseUrl}${filename}`; - return this._fetchData(url).catch(reason => { - throw new Error(`Unable to load font data at: ${url}`); - }); - } - _fetchData(url) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Abstract method `_fetchData` called."); - } -} -class BaseSVGFactory { - constructor() { - if (this.constructor === BaseSVGFactory) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Cannot initialize BaseSVGFactory."); - } - } - create(width, height, skipDimensions = false) { - if (width <= 0 || height <= 0) { - throw new Error("Invalid SVG dimensions"); - } - const svg = this._createSVG("svg:svg"); - svg.setAttribute("version", "1.1"); - if (!skipDimensions) { - svg.setAttribute("width", `${width}px`); - svg.setAttribute("height", `${height}px`); - } - svg.setAttribute("preserveAspectRatio", "none"); - svg.setAttribute("viewBox", `0 0 ${width} ${height}`); - return svg; - } - createElement(type) { - if (typeof type !== "string") { - throw new Error("Invalid SVG element type"); - } - return this._createSVG(type); - } - _createSVG(type) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Abstract method `_createSVG` called."); - } -} - - -/***/ }), - -/***/ 4923: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - CanvasGraphics: () => (/* binding */ CanvasGraphics) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js -var es_array_buffer_detached = __webpack_require__(6573); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js -var es_array_buffer_transfer = __webpack_require__(8100); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js -var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-reversed.js -var es_typed_array_to_reversed = __webpack_require__(7467); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-sorted.js -var es_typed_array_to_sorted = __webpack_require__(4732); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js -var es_typed_array_with = __webpack_require__(9577); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js -var esnext_iterator_filter = __webpack_require__(4520); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./src/shared/util.js -var util = __webpack_require__(4292); -// EXTERNAL MODULE: ./src/display/display_utils.js -var display_utils = __webpack_require__(5419); -;// CONCATENATED MODULE: ./src/display/pattern_helper.js - - -const PathType = { - FILL: "Fill", - STROKE: "Stroke", - SHADING: "Shading" -}; -function applyBoundingBox(ctx, bbox) { - if (!bbox) { - return; - } - const width = bbox[2] - bbox[0]; - const height = bbox[3] - bbox[1]; - const region = new Path2D(); - region.rect(bbox[0], bbox[1], width, height); - ctx.clip(region); -} -class BaseShadingPattern { - constructor() { - if (this.constructor === BaseShadingPattern) { - (0,util.unreachable)("Cannot initialize BaseShadingPattern."); - } - } - getPattern() { - (0,util.unreachable)("Abstract method `getPattern` called."); - } -} -class RadialAxialShadingPattern extends BaseShadingPattern { - constructor(IR) { - super(); - this._type = IR[1]; - this._bbox = IR[2]; - this._colorStops = IR[3]; - this._p0 = IR[4]; - this._p1 = IR[5]; - this._r0 = IR[6]; - this._r1 = IR[7]; - this.matrix = null; - } - _createGradient(ctx) { - let grad; - if (this._type === "axial") { - grad = ctx.createLinearGradient(this._p0[0], this._p0[1], this._p1[0], this._p1[1]); - } else if (this._type === "radial") { - grad = ctx.createRadialGradient(this._p0[0], this._p0[1], this._r0, this._p1[0], this._p1[1], this._r1); - } - for (const colorStop of this._colorStops) { - grad.addColorStop(colorStop[0], colorStop[1]); - } - return grad; - } - getPattern(ctx, owner, inverse, pathType) { - let pattern; - if (pathType === PathType.STROKE || pathType === PathType.FILL) { - const ownerBBox = owner.current.getClippedPathBoundingBox(pathType, (0,display_utils.getCurrentTransform)(ctx)) || [0, 0, 0, 0]; - const width = Math.ceil(ownerBBox[2] - ownerBBox[0]) || 1; - const height = Math.ceil(ownerBBox[3] - ownerBBox[1]) || 1; - const tmpCanvas = owner.cachedCanvases.getCanvas("pattern", width, height, true); - const tmpCtx = tmpCanvas.context; - tmpCtx.clearRect(0, 0, tmpCtx.canvas.width, tmpCtx.canvas.height); - tmpCtx.beginPath(); - tmpCtx.rect(0, 0, tmpCtx.canvas.width, tmpCtx.canvas.height); - tmpCtx.translate(-ownerBBox[0], -ownerBBox[1]); - inverse = util.Util.transform(inverse, [1, 0, 0, 1, ownerBBox[0], ownerBBox[1]]); - tmpCtx.transform(...owner.baseTransform); - if (this.matrix) { - tmpCtx.transform(...this.matrix); - } - applyBoundingBox(tmpCtx, this._bbox); - tmpCtx.fillStyle = this._createGradient(tmpCtx); - tmpCtx.fill(); - pattern = ctx.createPattern(tmpCanvas.canvas, "no-repeat"); - const domMatrix = new DOMMatrix(inverse); - pattern.setTransform(domMatrix); - } else { - applyBoundingBox(ctx, this._bbox); - pattern = this._createGradient(ctx); - } - return pattern; - } -} -function drawTriangle(data, context, p1, p2, p3, c1, c2, c3) { - const coords = context.coords, - colors = context.colors; - const bytes = data.data, - rowSize = data.width * 4; - let tmp; - if (coords[p1 + 1] > coords[p2 + 1]) { - tmp = p1; - p1 = p2; - p2 = tmp; - tmp = c1; - c1 = c2; - c2 = tmp; - } - if (coords[p2 + 1] > coords[p3 + 1]) { - tmp = p2; - p2 = p3; - p3 = tmp; - tmp = c2; - c2 = c3; - c3 = tmp; - } - if (coords[p1 + 1] > coords[p2 + 1]) { - tmp = p1; - p1 = p2; - p2 = tmp; - tmp = c1; - c1 = c2; - c2 = tmp; - } - const x1 = (coords[p1] + context.offsetX) * context.scaleX; - const y1 = (coords[p1 + 1] + context.offsetY) * context.scaleY; - const x2 = (coords[p2] + context.offsetX) * context.scaleX; - const y2 = (coords[p2 + 1] + context.offsetY) * context.scaleY; - const x3 = (coords[p3] + context.offsetX) * context.scaleX; - const y3 = (coords[p3 + 1] + context.offsetY) * context.scaleY; - if (y1 >= y3) { - return; - } - const c1r = colors[c1], - c1g = colors[c1 + 1], - c1b = colors[c1 + 2]; - const c2r = colors[c2], - c2g = colors[c2 + 1], - c2b = colors[c2 + 2]; - const c3r = colors[c3], - c3g = colors[c3 + 1], - c3b = colors[c3 + 2]; - const minY = Math.round(y1), - maxY = Math.round(y3); - let xa, car, cag, cab; - let xb, cbr, cbg, cbb; - for (let y = minY; y <= maxY; y++) { - if (y < y2) { - const k = y < y1 ? 0 : (y1 - y) / (y1 - y2); - xa = x1 - (x1 - x2) * k; - car = c1r - (c1r - c2r) * k; - cag = c1g - (c1g - c2g) * k; - cab = c1b - (c1b - c2b) * k; - } else { - let k; - if (y > y3) { - k = 1; - } else if (y2 === y3) { - k = 0; - } else { - k = (y2 - y) / (y2 - y3); - } - xa = x2 - (x2 - x3) * k; - car = c2r - (c2r - c3r) * k; - cag = c2g - (c2g - c3g) * k; - cab = c2b - (c2b - c3b) * k; - } - let k; - if (y < y1) { - k = 0; - } else if (y > y3) { - k = 1; - } else { - k = (y1 - y) / (y1 - y3); - } - xb = x1 - (x1 - x3) * k; - cbr = c1r - (c1r - c3r) * k; - cbg = c1g - (c1g - c3g) * k; - cbb = c1b - (c1b - c3b) * k; - const x1_ = Math.round(Math.min(xa, xb)); - const x2_ = Math.round(Math.max(xa, xb)); - let j = rowSize * y + x1_ * 4; - for (let x = x1_; x <= x2_; x++) { - k = (xa - x) / (xa - xb); - if (k < 0) { - k = 0; - } else if (k > 1) { - k = 1; - } - bytes[j++] = car - (car - cbr) * k | 0; - bytes[j++] = cag - (cag - cbg) * k | 0; - bytes[j++] = cab - (cab - cbb) * k | 0; - bytes[j++] = 255; - } - } -} -function drawFigure(data, figure, context) { - const ps = figure.coords; - const cs = figure.colors; - let i, ii; - switch (figure.type) { - case "lattice": - const verticesPerRow = figure.verticesPerRow; - const rows = Math.floor(ps.length / verticesPerRow) - 1; - const cols = verticesPerRow - 1; - for (i = 0; i < rows; i++) { - let q = i * verticesPerRow; - for (let j = 0; j < cols; j++, q++) { - drawTriangle(data, context, ps[q], ps[q + 1], ps[q + verticesPerRow], cs[q], cs[q + 1], cs[q + verticesPerRow]); - drawTriangle(data, context, ps[q + verticesPerRow + 1], ps[q + 1], ps[q + verticesPerRow], cs[q + verticesPerRow + 1], cs[q + 1], cs[q + verticesPerRow]); - } - } - break; - case "triangles": - for (i = 0, ii = ps.length; i < ii; i += 3) { - drawTriangle(data, context, ps[i], ps[i + 1], ps[i + 2], cs[i], cs[i + 1], cs[i + 2]); - } - break; - default: - throw new Error("illegal figure"); - } -} -class MeshShadingPattern extends BaseShadingPattern { - constructor(IR) { - super(); - this._coords = IR[2]; - this._colors = IR[3]; - this._figures = IR[4]; - this._bounds = IR[5]; - this._bbox = IR[7]; - this._background = IR[8]; - this.matrix = null; - } - _createMeshCanvas(combinedScale, backgroundColor, cachedCanvases) { - const EXPECTED_SCALE = 1.1; - const MAX_PATTERN_SIZE = 3000; - const BORDER_SIZE = 2; - const offsetX = Math.floor(this._bounds[0]); - const offsetY = Math.floor(this._bounds[1]); - const boundsWidth = Math.ceil(this._bounds[2]) - offsetX; - const boundsHeight = Math.ceil(this._bounds[3]) - offsetY; - const width = Math.min(Math.ceil(Math.abs(boundsWidth * combinedScale[0] * EXPECTED_SCALE)), MAX_PATTERN_SIZE); - const height = Math.min(Math.ceil(Math.abs(boundsHeight * combinedScale[1] * EXPECTED_SCALE)), MAX_PATTERN_SIZE); - const scaleX = boundsWidth / width; - const scaleY = boundsHeight / height; - const context = { - coords: this._coords, - colors: this._colors, - offsetX: -offsetX, - offsetY: -offsetY, - scaleX: 1 / scaleX, - scaleY: 1 / scaleY - }; - const paddedWidth = width + BORDER_SIZE * 2; - const paddedHeight = height + BORDER_SIZE * 2; - const tmpCanvas = cachedCanvases.getCanvas("mesh", paddedWidth, paddedHeight, false); - const tmpCtx = tmpCanvas.context; - const data = tmpCtx.createImageData(width, height); - if (backgroundColor) { - const bytes = data.data; - for (let i = 0, ii = bytes.length; i < ii; i += 4) { - bytes[i] = backgroundColor[0]; - bytes[i + 1] = backgroundColor[1]; - bytes[i + 2] = backgroundColor[2]; - bytes[i + 3] = 255; - } - } - for (const figure of this._figures) { - drawFigure(data, figure, context); - } - tmpCtx.putImageData(data, BORDER_SIZE, BORDER_SIZE); - const canvas = tmpCanvas.canvas; - return { - canvas, - offsetX: offsetX - BORDER_SIZE * scaleX, - offsetY: offsetY - BORDER_SIZE * scaleY, - scaleX, - scaleY - }; - } - getPattern(ctx, owner, inverse, pathType) { - applyBoundingBox(ctx, this._bbox); - let scale; - if (pathType === PathType.SHADING) { - scale = util.Util.singularValueDecompose2dScale((0,display_utils.getCurrentTransform)(ctx)); - } else { - scale = util.Util.singularValueDecompose2dScale(owner.baseTransform); - if (this.matrix) { - const matrixScale = util.Util.singularValueDecompose2dScale(this.matrix); - scale = [scale[0] * matrixScale[0], scale[1] * matrixScale[1]]; - } - } - const temporaryPatternCanvas = this._createMeshCanvas(scale, pathType === PathType.SHADING ? null : this._background, owner.cachedCanvases); - if (pathType !== PathType.SHADING) { - ctx.setTransform(...owner.baseTransform); - if (this.matrix) { - ctx.transform(...this.matrix); - } - } - ctx.translate(temporaryPatternCanvas.offsetX, temporaryPatternCanvas.offsetY); - ctx.scale(temporaryPatternCanvas.scaleX, temporaryPatternCanvas.scaleY); - return ctx.createPattern(temporaryPatternCanvas.canvas, "no-repeat"); - } -} -class DummyShadingPattern extends BaseShadingPattern { - getPattern() { - return "hotpink"; - } -} -function getShadingPattern(IR) { - switch (IR[0]) { - case "RadialAxial": - return new RadialAxialShadingPattern(IR); - case "Mesh": - return new MeshShadingPattern(IR); - case "Dummy": - return new DummyShadingPattern(); - } - throw new Error(`Unknown IR type: ${IR[0]}`); -} -const PaintType = { - COLORED: 1, - UNCOLORED: 2 -}; -class TilingPattern { - static MAX_PATTERN_SIZE = 3000; - constructor(IR, color, ctx, canvasGraphicsFactory, baseTransform) { - this.operatorList = IR[2]; - this.matrix = IR[3] || [1, 0, 0, 1, 0, 0]; - this.bbox = IR[4]; - this.xstep = IR[5]; - this.ystep = IR[6]; - this.paintType = IR[7]; - this.tilingType = IR[8]; - this.color = color; - this.ctx = ctx; - this.canvasGraphicsFactory = canvasGraphicsFactory; - this.baseTransform = baseTransform; - } - createPatternCanvas(owner) { - const operatorList = this.operatorList; - const bbox = this.bbox; - const xstep = this.xstep; - const ystep = this.ystep; - const paintType = this.paintType; - const tilingType = this.tilingType; - const color = this.color; - const canvasGraphicsFactory = this.canvasGraphicsFactory; - (0,util.info)("TilingType: " + tilingType); - const x0 = bbox[0], - y0 = bbox[1], - x1 = bbox[2], - y1 = bbox[3]; - const matrixScale = util.Util.singularValueDecompose2dScale(this.matrix); - const curMatrixScale = util.Util.singularValueDecompose2dScale(this.baseTransform); - const combinedScale = [matrixScale[0] * curMatrixScale[0], matrixScale[1] * curMatrixScale[1]]; - const dimx = this.getSizeAndScale(xstep, this.ctx.canvas.width, combinedScale[0]); - const dimy = this.getSizeAndScale(ystep, this.ctx.canvas.height, combinedScale[1]); - const tmpCanvas = owner.cachedCanvases.getCanvas("pattern", dimx.size, dimy.size, true); - const tmpCtx = tmpCanvas.context; - const graphics = canvasGraphicsFactory.createCanvasGraphics(tmpCtx); - graphics.groupLevel = owner.groupLevel; - this.setFillAndStrokeStyleToContext(graphics, paintType, color); - let adjustedX0 = x0; - let adjustedY0 = y0; - let adjustedX1 = x1; - let adjustedY1 = y1; - if (x0 < 0) { - adjustedX0 = 0; - adjustedX1 += Math.abs(x0); - } - if (y0 < 0) { - adjustedY0 = 0; - adjustedY1 += Math.abs(y0); - } - tmpCtx.translate(-(dimx.scale * adjustedX0), -(dimy.scale * adjustedY0)); - graphics.transform(dimx.scale, 0, 0, dimy.scale, 0, 0); - tmpCtx.save(); - this.clipBbox(graphics, adjustedX0, adjustedY0, adjustedX1, adjustedY1); - graphics.baseTransform = (0,display_utils.getCurrentTransform)(graphics.ctx); - graphics.executeOperatorList(operatorList); - graphics.endDrawing(); - return { - canvas: tmpCanvas.canvas, - scaleX: dimx.scale, - scaleY: dimy.scale, - offsetX: adjustedX0, - offsetY: adjustedY0 - }; - } - getSizeAndScale(step, realOutputSize, scale) { - step = Math.abs(step); - const maxSize = Math.max(TilingPattern.MAX_PATTERN_SIZE, realOutputSize); - let size = Math.ceil(step * scale); - if (size >= maxSize) { - size = maxSize; - } else { - scale = size / step; - } - return { - scale, - size - }; - } - clipBbox(graphics, x0, y0, x1, y1) { - const bboxWidth = x1 - x0; - const bboxHeight = y1 - y0; - graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight); - graphics.current.updateRectMinMax((0,display_utils.getCurrentTransform)(graphics.ctx), [x0, y0, x1, y1]); - graphics.clip(); - graphics.endPath(); - } - setFillAndStrokeStyleToContext(graphics, paintType, color) { - const context = graphics.ctx, - current = graphics.current; - switch (paintType) { - case PaintType.COLORED: - const ctx = this.ctx; - context.fillStyle = ctx.fillStyle; - context.strokeStyle = ctx.strokeStyle; - current.fillColor = ctx.fillStyle; - current.strokeColor = ctx.strokeStyle; - break; - case PaintType.UNCOLORED: - const cssColor = util.Util.makeHexColor(color[0], color[1], color[2]); - context.fillStyle = cssColor; - context.strokeStyle = cssColor; - current.fillColor = cssColor; - current.strokeColor = cssColor; - break; - default: - throw new util.FormatError(`Unsupported paint type: ${paintType}`); - } - } - getPattern(ctx, owner, inverse, pathType) { - let matrix = inverse; - if (pathType !== PathType.SHADING) { - matrix = util.Util.transform(matrix, owner.baseTransform); - if (this.matrix) { - matrix = util.Util.transform(matrix, this.matrix); - } - } - const temporaryPatternCanvas = this.createPatternCanvas(owner); - let domMatrix = new DOMMatrix(matrix); - domMatrix = domMatrix.translate(temporaryPatternCanvas.offsetX, temporaryPatternCanvas.offsetY); - domMatrix = domMatrix.scale(1 / temporaryPatternCanvas.scaleX, 1 / temporaryPatternCanvas.scaleY); - const pattern = ctx.createPattern(temporaryPatternCanvas.canvas, "repeat"); - pattern.setTransform(domMatrix); - return pattern; - } -} - -;// CONCATENATED MODULE: ./src/shared/image_utils.js - - - - - - - -function convertToRGBA(params) { - switch (params.kind) { - case ImageKind.GRAYSCALE_1BPP: - return convertBlackAndWhiteToRGBA(params); - case ImageKind.RGB_24BPP: - return convertRGBToRGBA(params); - } - return null; -} -function convertBlackAndWhiteToRGBA({ - src, - srcPos = 0, - dest, - width, - height, - nonBlackColor = 0xffffffff, - inverseDecode = false -}) { - const black = util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; - const [zeroMapping, oneMapping] = inverseDecode ? [nonBlackColor, black] : [black, nonBlackColor]; - const widthInSource = width >> 3; - const widthRemainder = width & 7; - const srcLength = src.length; - dest = new Uint32Array(dest.buffer); - let destPos = 0; - for (let i = 0; i < height; i++) { - for (const max = srcPos + widthInSource; srcPos < max; srcPos++) { - const elem = srcPos < srcLength ? src[srcPos] : 255; - dest[destPos++] = elem & 0b10000000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1000000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b100000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b10000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1000 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b100 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b10 ? oneMapping : zeroMapping; - dest[destPos++] = elem & 0b1 ? oneMapping : zeroMapping; - } - if (widthRemainder === 0) { - continue; - } - const elem = srcPos < srcLength ? src[srcPos++] : 255; - for (let j = 0; j < widthRemainder; j++) { - dest[destPos++] = elem & 1 << 7 - j ? oneMapping : zeroMapping; - } - } - return { - srcPos, - destPos - }; -} -function convertRGBToRGBA({ - src, - srcPos = 0, - dest, - destPos = 0, - width, - height -}) { - let i = 0; - const len32 = src.length >> 2; - const src32 = new Uint32Array(src.buffer, srcPos, len32); - if (FeatureTest.isLittleEndian) { - for (; i < len32 - 2; i += 3, destPos += 4) { - const s1 = src32[i]; - const s2 = src32[i + 1]; - const s3 = src32[i + 2]; - dest[destPos] = s1 | 0xff000000; - dest[destPos + 1] = s1 >>> 24 | s2 << 8 | 0xff000000; - dest[destPos + 2] = s2 >>> 16 | s3 << 16 | 0xff000000; - dest[destPos + 3] = s3 >>> 8 | 0xff000000; - } - for (let j = i * 4, jj = src.length; j < jj; j += 3) { - dest[destPos++] = src[j] | src[j + 1] << 8 | src[j + 2] << 16 | 0xff000000; - } - } else { - for (; i < len32 - 2; i += 3, destPos += 4) { - const s1 = src32[i]; - const s2 = src32[i + 1]; - const s3 = src32[i + 2]; - dest[destPos] = s1 | 0xff; - dest[destPos + 1] = s1 << 24 | s2 >>> 8 | 0xff; - dest[destPos + 2] = s2 << 16 | s3 >>> 16 | 0xff; - dest[destPos + 3] = s3 << 8 | 0xff; - } - for (let j = i * 4, jj = src.length; j < jj; j += 3) { - dest[destPos++] = src[j] << 24 | src[j + 1] << 16 | src[j + 2] << 8 | 0xff; - } - } - return { - srcPos, - destPos - }; -} -function grayToRGBA(src, dest) { - if (FeatureTest.isLittleEndian) { - for (let i = 0, ii = src.length; i < ii; i++) { - dest[i] = src[i] * 0x10101 | 0xff000000; - } - } else { - for (let i = 0, ii = src.length; i < ii; i++) { - dest[i] = src[i] * 0x1010100 | 0x000000ff; - } - } -} - -;// CONCATENATED MODULE: ./src/display/canvas.js - - - - - - - - - - - - - - -const MIN_FONT_SIZE = 16; -const MAX_FONT_SIZE = 100; -const MAX_GROUP_SIZE = 4096; -const EXECUTION_TIME = 15; -const EXECUTION_STEPS = 10; -const MAX_SIZE_TO_COMPILE = 1000; -const FULL_CHUNK_HEIGHT = 16; -function mirrorContextOperations(ctx, destCtx) { - if (ctx._removeMirroring) { - throw new Error("Context is already forwarding operations."); - } - ctx.__originalSave = ctx.save; - ctx.__originalRestore = ctx.restore; - ctx.__originalRotate = ctx.rotate; - ctx.__originalScale = ctx.scale; - ctx.__originalTranslate = ctx.translate; - ctx.__originalTransform = ctx.transform; - ctx.__originalSetTransform = ctx.setTransform; - ctx.__originalResetTransform = ctx.resetTransform; - ctx.__originalClip = ctx.clip; - ctx.__originalMoveTo = ctx.moveTo; - ctx.__originalLineTo = ctx.lineTo; - ctx.__originalBezierCurveTo = ctx.bezierCurveTo; - ctx.__originalRect = ctx.rect; - ctx.__originalClosePath = ctx.closePath; - ctx.__originalBeginPath = ctx.beginPath; - ctx._removeMirroring = () => { - ctx.save = ctx.__originalSave; - ctx.restore = ctx.__originalRestore; - ctx.rotate = ctx.__originalRotate; - ctx.scale = ctx.__originalScale; - ctx.translate = ctx.__originalTranslate; - ctx.transform = ctx.__originalTransform; - ctx.setTransform = ctx.__originalSetTransform; - ctx.resetTransform = ctx.__originalResetTransform; - ctx.clip = ctx.__originalClip; - ctx.moveTo = ctx.__originalMoveTo; - ctx.lineTo = ctx.__originalLineTo; - ctx.bezierCurveTo = ctx.__originalBezierCurveTo; - ctx.rect = ctx.__originalRect; - ctx.closePath = ctx.__originalClosePath; - ctx.beginPath = ctx.__originalBeginPath; - delete ctx._removeMirroring; - }; - ctx.save = function ctxSave() { - destCtx.save(); - this.__originalSave(); - }; - ctx.restore = function ctxRestore() { - destCtx.restore(); - this.__originalRestore(); - }; - ctx.translate = function ctxTranslate(x, y) { - destCtx.translate(x, y); - this.__originalTranslate(x, y); - }; - ctx.scale = function ctxScale(x, y) { - destCtx.scale(x, y); - this.__originalScale(x, y); - }; - ctx.transform = function ctxTransform(a, b, c, d, e, f) { - destCtx.transform(a, b, c, d, e, f); - this.__originalTransform(a, b, c, d, e, f); - }; - ctx.setTransform = function ctxSetTransform(a, b, c, d, e, f) { - destCtx.setTransform(a, b, c, d, e, f); - this.__originalSetTransform(a, b, c, d, e, f); - }; - ctx.resetTransform = function ctxResetTransform() { - destCtx.resetTransform(); - this.__originalResetTransform(); - }; - ctx.rotate = function ctxRotate(angle) { - destCtx.rotate(angle); - this.__originalRotate(angle); - }; - ctx.clip = function ctxRotate(rule) { - destCtx.clip(rule); - this.__originalClip(rule); - }; - ctx.moveTo = function (x, y) { - destCtx.moveTo(x, y); - this.__originalMoveTo(x, y); - }; - ctx.lineTo = function (x, y) { - destCtx.lineTo(x, y); - this.__originalLineTo(x, y); - }; - ctx.bezierCurveTo = function (cp1x, cp1y, cp2x, cp2y, x, y) { - destCtx.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y); - this.__originalBezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y); - }; - ctx.rect = function (x, y, width, height) { - destCtx.rect(x, y, width, height); - this.__originalRect(x, y, width, height); - }; - ctx.closePath = function () { - destCtx.closePath(); - this.__originalClosePath(); - }; - ctx.beginPath = function () { - destCtx.beginPath(); - this.__originalBeginPath(); - }; -} -class CachedCanvases { - constructor(canvasFactory) { - this.canvasFactory = canvasFactory; - this.cache = Object.create(null); - } - getCanvas(id, width, height) { - let canvasEntry; - if (this.cache[id] !== undefined) { - canvasEntry = this.cache[id]; - this.canvasFactory.reset(canvasEntry, width, height); - } else { - canvasEntry = this.canvasFactory.create(width, height); - this.cache[id] = canvasEntry; - } - return canvasEntry; - } - delete(id) { - delete this.cache[id]; - } - clear() { - for (const id in this.cache) { - const canvasEntry = this.cache[id]; - this.canvasFactory.destroy(canvasEntry); - delete this.cache[id]; - } - } -} -function drawImageAtIntegerCoords(ctx, srcImg, srcX, srcY, srcW, srcH, destX, destY, destW, destH) { - const [a, b, c, d, tx, ty] = (0,display_utils.getCurrentTransform)(ctx); - if (b === 0 && c === 0) { - const tlX = destX * a + tx; - const rTlX = Math.round(tlX); - const tlY = destY * d + ty; - const rTlY = Math.round(tlY); - const brX = (destX + destW) * a + tx; - const rWidth = Math.abs(Math.round(brX) - rTlX) || 1; - const brY = (destY + destH) * d + ty; - const rHeight = Math.abs(Math.round(brY) - rTlY) || 1; - ctx.setTransform(Math.sign(a), 0, 0, Math.sign(d), rTlX, rTlY); - ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, 0, 0, rWidth, rHeight); - ctx.setTransform(a, b, c, d, tx, ty); - return [rWidth, rHeight]; - } - if (a === 0 && d === 0) { - const tlX = destY * c + tx; - const rTlX = Math.round(tlX); - const tlY = destX * b + ty; - const rTlY = Math.round(tlY); - const brX = (destY + destH) * c + tx; - const rWidth = Math.abs(Math.round(brX) - rTlX) || 1; - const brY = (destX + destW) * b + ty; - const rHeight = Math.abs(Math.round(brY) - rTlY) || 1; - ctx.setTransform(0, Math.sign(b), Math.sign(c), 0, rTlX, rTlY); - ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, 0, 0, rHeight, rWidth); - ctx.setTransform(a, b, c, d, tx, ty); - return [rHeight, rWidth]; - } - ctx.drawImage(srcImg, srcX, srcY, srcW, srcH, destX, destY, destW, destH); - const scaleX = Math.hypot(a, b); - const scaleY = Math.hypot(c, d); - return [scaleX * destW, scaleY * destH]; -} -function compileType3Glyph(imgData) { - const { - width, - height - } = imgData; - if (width > MAX_SIZE_TO_COMPILE || height > MAX_SIZE_TO_COMPILE) { - return null; - } - const POINT_TO_PROCESS_LIMIT = 1000; - const POINT_TYPES = new Uint8Array([0, 2, 4, 0, 1, 0, 5, 4, 8, 10, 0, 8, 0, 2, 1, 0]); - const width1 = width + 1; - let points = new Uint8Array(width1 * (height + 1)); - let i, j, j0; - const lineSize = width + 7 & ~7; - let data = new Uint8Array(lineSize * height), - pos = 0; - for (const elem of imgData.data) { - let mask = 128; - while (mask > 0) { - data[pos++] = elem & mask ? 0 : 255; - mask >>= 1; - } - } - let count = 0; - pos = 0; - if (data[pos] !== 0) { - points[0] = 1; - ++count; - } - for (j = 1; j < width; j++) { - if (data[pos] !== data[pos + 1]) { - points[j] = data[pos] ? 2 : 1; - ++count; - } - pos++; - } - if (data[pos] !== 0) { - points[j] = 2; - ++count; - } - for (i = 1; i < height; i++) { - pos = i * lineSize; - j0 = i * width1; - if (data[pos - lineSize] !== data[pos]) { - points[j0] = data[pos] ? 1 : 8; - ++count; - } - let sum = (data[pos] ? 4 : 0) + (data[pos - lineSize] ? 8 : 0); - for (j = 1; j < width; j++) { - sum = (sum >> 2) + (data[pos + 1] ? 4 : 0) + (data[pos - lineSize + 1] ? 8 : 0); - if (POINT_TYPES[sum]) { - points[j0 + j] = POINT_TYPES[sum]; - ++count; - } - pos++; - } - if (data[pos - lineSize] !== data[pos]) { - points[j0 + j] = data[pos] ? 2 : 4; - ++count; - } - if (count > POINT_TO_PROCESS_LIMIT) { - return null; - } - } - pos = lineSize * (height - 1); - j0 = i * width1; - if (data[pos] !== 0) { - points[j0] = 8; - ++count; - } - for (j = 1; j < width; j++) { - if (data[pos] !== data[pos + 1]) { - points[j0 + j] = data[pos] ? 4 : 8; - ++count; - } - pos++; - } - if (data[pos] !== 0) { - points[j0 + j] = 4; - ++count; - } - if (count > POINT_TO_PROCESS_LIMIT) { - return null; - } - const steps = new Int32Array([0, width1, -1, 0, -width1, 0, 0, 0, 1]); - const path = new Path2D(); - for (i = 0; count && i <= height; i++) { - let p = i * width1; - const end = p + width; - while (p < end && !points[p]) { - p++; - } - if (p === end) { - continue; - } - path.moveTo(p % width1, i); - const p0 = p; - let type = points[p]; - do { - const step = steps[type]; - do { - p += step; - } while (!points[p]); - const pp = points[p]; - if (pp !== 5 && pp !== 10) { - type = pp; - points[p] = 0; - } else { - type = pp & 0x33 * type >> 4; - points[p] &= type >> 2 | type << 2; - } - path.lineTo(p % width1, p / width1 | 0); - if (!points[p]) { - --count; - } - } while (p0 !== p); - --i; - } - data = null; - points = null; - const drawOutline = function (c) { - c.save(); - c.scale(1 / width, -1 / height); - c.translate(0, -height); - c.fill(path); - c.beginPath(); - c.restore(); - }; - return drawOutline; -} -class CanvasExtraState { - constructor(width, height) { - this.alphaIsShape = false; - this.fontSize = 0; - this.fontSizeScale = 1; - this.textMatrix = util.IDENTITY_MATRIX; - this.textMatrixScale = 1; - this.fontMatrix = util.FONT_IDENTITY_MATRIX; - this.leading = 0; - this.x = 0; - this.y = 0; - this.lineX = 0; - this.lineY = 0; - this.charSpacing = 0; - this.wordSpacing = 0; - this.textHScale = 1; - this.textRenderingMode = util.TextRenderingMode.FILL; - this.textRise = 0; - this.fillColor = "#000000"; - this.strokeColor = "#000000"; - this.patternFill = false; - this.fillAlpha = 1; - this.strokeAlpha = 1; - this.lineWidth = 1; - this.activeSMask = null; - this.transferMaps = "none"; - this.startNewPathAndClipBox([0, 0, width, height]); - } - clone() { - const clone = Object.create(this); - clone.clipBox = this.clipBox.slice(); - return clone; - } - setCurrentPoint(x, y) { - this.x = x; - this.y = y; - } - updatePathMinMax(transform, x, y) { - [x, y] = util.Util.applyTransform([x, y], transform); - this.minX = Math.min(this.minX, x); - this.minY = Math.min(this.minY, y); - this.maxX = Math.max(this.maxX, x); - this.maxY = Math.max(this.maxY, y); - } - updateRectMinMax(transform, rect) { - const p1 = util.Util.applyTransform(rect, transform); - const p2 = util.Util.applyTransform(rect.slice(2), transform); - const p3 = util.Util.applyTransform([rect[0], rect[3]], transform); - const p4 = util.Util.applyTransform([rect[2], rect[1]], transform); - this.minX = Math.min(this.minX, p1[0], p2[0], p3[0], p4[0]); - this.minY = Math.min(this.minY, p1[1], p2[1], p3[1], p4[1]); - this.maxX = Math.max(this.maxX, p1[0], p2[0], p3[0], p4[0]); - this.maxY = Math.max(this.maxY, p1[1], p2[1], p3[1], p4[1]); - } - updateScalingPathMinMax(transform, minMax) { - util.Util.scaleMinMax(transform, minMax); - this.minX = Math.min(this.minX, minMax[0]); - this.minY = Math.min(this.minY, minMax[1]); - this.maxX = Math.max(this.maxX, minMax[2]); - this.maxY = Math.max(this.maxY, minMax[3]); - } - updateCurvePathMinMax(transform, x0, y0, x1, y1, x2, y2, x3, y3, minMax) { - const box = util.Util.bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3, minMax); - if (minMax) { - return; - } - this.updateRectMinMax(transform, box); - } - getPathBoundingBox(pathType = PathType.FILL, transform = null) { - const box = [this.minX, this.minY, this.maxX, this.maxY]; - if (pathType === PathType.STROKE) { - if (!transform) { - (0,util.unreachable)("Stroke bounding box must include transform."); - } - const scale = util.Util.singularValueDecompose2dScale(transform); - const xStrokePad = scale[0] * this.lineWidth / 2; - const yStrokePad = scale[1] * this.lineWidth / 2; - box[0] -= xStrokePad; - box[1] -= yStrokePad; - box[2] += xStrokePad; - box[3] += yStrokePad; - } - return box; - } - updateClipFromPath() { - const intersect = util.Util.intersect(this.clipBox, this.getPathBoundingBox()); - this.startNewPathAndClipBox(intersect || [0, 0, 0, 0]); - } - isEmptyClip() { - return this.minX === Infinity; - } - startNewPathAndClipBox(box) { - this.clipBox = box; - this.minX = Infinity; - this.minY = Infinity; - this.maxX = 0; - this.maxY = 0; - } - getClippedPathBoundingBox(pathType = PathType.FILL, transform = null) { - return util.Util.intersect(this.clipBox, this.getPathBoundingBox(pathType, transform)); - } -} -function putBinaryImageData(ctx, imgData) { - if (typeof ImageData !== "undefined" && imgData instanceof ImageData) { - ctx.putImageData(imgData, 0, 0); - return; - } - const height = imgData.height, - width = imgData.width; - const partialChunkHeight = height % FULL_CHUNK_HEIGHT; - const fullChunks = (height - partialChunkHeight) / FULL_CHUNK_HEIGHT; - const totalChunks = partialChunkHeight === 0 ? fullChunks : fullChunks + 1; - const chunkImgData = ctx.createImageData(width, FULL_CHUNK_HEIGHT); - let srcPos = 0, - destPos; - const src = imgData.data; - const dest = chunkImgData.data; - let i, j, thisChunkHeight, elemsInThisChunk; - if (imgData.kind === util.ImageKind.GRAYSCALE_1BPP) { - const srcLength = src.byteLength; - const dest32 = new Uint32Array(dest.buffer, 0, dest.byteLength >> 2); - const dest32DataLength = dest32.length; - const fullSrcDiff = width + 7 >> 3; - const white = 0xffffffff; - const black = util.FeatureTest.isLittleEndian ? 0xff000000 : 0x000000ff; - for (i = 0; i < totalChunks; i++) { - thisChunkHeight = i < fullChunks ? FULL_CHUNK_HEIGHT : partialChunkHeight; - destPos = 0; - for (j = 0; j < thisChunkHeight; j++) { - const srcDiff = srcLength - srcPos; - let k = 0; - const kEnd = srcDiff > fullSrcDiff ? width : srcDiff * 8 - 7; - const kEndUnrolled = kEnd & ~7; - let mask = 0; - let srcByte = 0; - for (; k < kEndUnrolled; k += 8) { - srcByte = src[srcPos++]; - dest32[destPos++] = srcByte & 128 ? white : black; - dest32[destPos++] = srcByte & 64 ? white : black; - dest32[destPos++] = srcByte & 32 ? white : black; - dest32[destPos++] = srcByte & 16 ? white : black; - dest32[destPos++] = srcByte & 8 ? white : black; - dest32[destPos++] = srcByte & 4 ? white : black; - dest32[destPos++] = srcByte & 2 ? white : black; - dest32[destPos++] = srcByte & 1 ? white : black; - } - for (; k < kEnd; k++) { - if (mask === 0) { - srcByte = src[srcPos++]; - mask = 128; - } - dest32[destPos++] = srcByte & mask ? white : black; - mask >>= 1; - } - } - while (destPos < dest32DataLength) { - dest32[destPos++] = 0; - } - ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); - } - } else if (imgData.kind === util.ImageKind.RGBA_32BPP) { - j = 0; - elemsInThisChunk = width * FULL_CHUNK_HEIGHT * 4; - for (i = 0; i < fullChunks; i++) { - dest.set(src.subarray(srcPos, srcPos + elemsInThisChunk)); - srcPos += elemsInThisChunk; - ctx.putImageData(chunkImgData, 0, j); - j += FULL_CHUNK_HEIGHT; - } - if (i < totalChunks) { - elemsInThisChunk = width * partialChunkHeight * 4; - dest.set(src.subarray(srcPos, srcPos + elemsInThisChunk)); - ctx.putImageData(chunkImgData, 0, j); - } - } else if (imgData.kind === util.ImageKind.RGB_24BPP) { - thisChunkHeight = FULL_CHUNK_HEIGHT; - elemsInThisChunk = width * thisChunkHeight; - for (i = 0; i < totalChunks; i++) { - if (i >= fullChunks) { - thisChunkHeight = partialChunkHeight; - elemsInThisChunk = width * thisChunkHeight; - } - destPos = 0; - for (j = elemsInThisChunk; j--;) { - dest[destPos++] = src[srcPos++]; - dest[destPos++] = src[srcPos++]; - dest[destPos++] = src[srcPos++]; - dest[destPos++] = 255; - } - ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); - } - } else { - throw new Error(`bad image kind: ${imgData.kind}`); - } -} -function putBinaryImageMask(ctx, imgData) { - if (imgData.bitmap) { - ctx.drawImage(imgData.bitmap, 0, 0); - return; - } - const height = imgData.height, - width = imgData.width; - const partialChunkHeight = height % FULL_CHUNK_HEIGHT; - const fullChunks = (height - partialChunkHeight) / FULL_CHUNK_HEIGHT; - const totalChunks = partialChunkHeight === 0 ? fullChunks : fullChunks + 1; - const chunkImgData = ctx.createImageData(width, FULL_CHUNK_HEIGHT); - let srcPos = 0; - const src = imgData.data; - const dest = chunkImgData.data; - for (let i = 0; i < totalChunks; i++) { - const thisChunkHeight = i < fullChunks ? FULL_CHUNK_HEIGHT : partialChunkHeight; - ({ - srcPos - } = convertBlackAndWhiteToRGBA({ - src, - srcPos, - dest, - width, - height: thisChunkHeight, - nonBlackColor: 0 - })); - ctx.putImageData(chunkImgData, 0, i * FULL_CHUNK_HEIGHT); - } -} -function copyCtxState(sourceCtx, destCtx) { - const properties = ["strokeStyle", "fillStyle", "fillRule", "globalAlpha", "lineWidth", "lineCap", "lineJoin", "miterLimit", "globalCompositeOperation", "font", "filter"]; - for (const property of properties) { - if (sourceCtx[property] !== undefined) { - destCtx[property] = sourceCtx[property]; - } - } - if (sourceCtx.setLineDash !== undefined) { - destCtx.setLineDash(sourceCtx.getLineDash()); - destCtx.lineDashOffset = sourceCtx.lineDashOffset; - } -} -function resetCtxToDefault(ctx) { - ctx.strokeStyle = ctx.fillStyle = "#000000"; - ctx.fillRule = "nonzero"; - ctx.globalAlpha = 1; - ctx.lineWidth = 1; - ctx.lineCap = "butt"; - ctx.lineJoin = "miter"; - ctx.miterLimit = 10; - ctx.globalCompositeOperation = "source-over"; - ctx.font = "10px sans-serif"; - if (ctx.setLineDash !== undefined) { - ctx.setLineDash([]); - ctx.lineDashOffset = 0; - } - if (!util.isNodeJS) { - const { - filter - } = ctx; - if (filter !== "none" && filter !== "") { - ctx.filter = "none"; - } - } -} -function composeSMaskBackdrop(bytes, r0, g0, b0) { - const length = bytes.length; - for (let i = 3; i < length; i += 4) { - const alpha = bytes[i]; - if (alpha === 0) { - bytes[i - 3] = r0; - bytes[i - 2] = g0; - bytes[i - 1] = b0; - } else if (alpha < 255) { - const alpha_ = 255 - alpha; - bytes[i - 3] = bytes[i - 3] * alpha + r0 * alpha_ >> 8; - bytes[i - 2] = bytes[i - 2] * alpha + g0 * alpha_ >> 8; - bytes[i - 1] = bytes[i - 1] * alpha + b0 * alpha_ >> 8; - } - } -} -function composeSMaskAlpha(maskData, layerData, transferMap) { - const length = maskData.length; - const scale = 1 / 255; - for (let i = 3; i < length; i += 4) { - const alpha = transferMap ? transferMap[maskData[i]] : maskData[i]; - layerData[i] = layerData[i] * alpha * scale | 0; - } -} -function composeSMaskLuminosity(maskData, layerData, transferMap) { - const length = maskData.length; - for (let i = 3; i < length; i += 4) { - const y = maskData[i - 3] * 77 + maskData[i - 2] * 152 + maskData[i - 1] * 28; - layerData[i] = transferMap ? layerData[i] * transferMap[y >> 8] >> 8 : layerData[i] * y >> 16; - } -} -function genericComposeSMask(maskCtx, layerCtx, width, height, subtype, backdrop, transferMap, layerOffsetX, layerOffsetY, maskOffsetX, maskOffsetY) { - const hasBackdrop = !!backdrop; - const r0 = hasBackdrop ? backdrop[0] : 0; - const g0 = hasBackdrop ? backdrop[1] : 0; - const b0 = hasBackdrop ? backdrop[2] : 0; - const composeFn = subtype === "Luminosity" ? composeSMaskLuminosity : composeSMaskAlpha; - const PIXELS_TO_PROCESS = 1048576; - const chunkSize = Math.min(height, Math.ceil(PIXELS_TO_PROCESS / width)); - for (let row = 0; row < height; row += chunkSize) { - const chunkHeight = Math.min(chunkSize, height - row); - const maskData = maskCtx.getImageData(layerOffsetX - maskOffsetX, row + (layerOffsetY - maskOffsetY), width, chunkHeight); - const layerData = layerCtx.getImageData(layerOffsetX, row + layerOffsetY, width, chunkHeight); - if (hasBackdrop) { - composeSMaskBackdrop(maskData.data, r0, g0, b0); - } - composeFn(maskData.data, layerData.data, transferMap); - layerCtx.putImageData(layerData, layerOffsetX, row + layerOffsetY); - } -} -function composeSMask(ctx, smask, layerCtx, layerBox) { - const layerOffsetX = layerBox[0]; - const layerOffsetY = layerBox[1]; - const layerWidth = layerBox[2] - layerOffsetX; - const layerHeight = layerBox[3] - layerOffsetY; - if (layerWidth === 0 || layerHeight === 0) { - return; - } - genericComposeSMask(smask.context, layerCtx, layerWidth, layerHeight, smask.subtype, smask.backdrop, smask.transferMap, layerOffsetX, layerOffsetY, smask.offsetX, smask.offsetY); - ctx.save(); - ctx.globalAlpha = 1; - ctx.globalCompositeOperation = "source-over"; - ctx.setTransform(1, 0, 0, 1, 0, 0); - ctx.drawImage(layerCtx.canvas, 0, 0); - ctx.restore(); -} -function getImageSmoothingEnabled(transform, interpolate) { - if (interpolate) { - return true; - } - const scale = util.Util.singularValueDecompose2dScale(transform); - scale[0] = Math.fround(scale[0]); - scale[1] = Math.fround(scale[1]); - const actualScale = Math.fround((globalThis.devicePixelRatio || 1) * display_utils.PixelsPerInch.PDF_TO_CSS_UNITS); - return scale[0] <= actualScale && scale[1] <= actualScale; -} -const LINE_CAP_STYLES = ["butt", "round", "square"]; -const LINE_JOIN_STYLES = ["miter", "round", "bevel"]; -const NORMAL_CLIP = {}; -const EO_CLIP = {}; -class CanvasGraphics { - constructor(canvasCtx, commonObjs, objs, canvasFactory, filterFactory, { - optionalContentConfig, - markedContentStack = null - }, annotationCanvasMap, pageColors) { - this.ctx = canvasCtx; - this.current = new CanvasExtraState(this.ctx.canvas.width, this.ctx.canvas.height); - this.stateStack = []; - this.pendingClip = null; - this.pendingEOFill = false; - this.res = null; - this.xobjs = null; - this.commonObjs = commonObjs; - this.objs = objs; - this.canvasFactory = canvasFactory; - this.filterFactory = filterFactory; - this.groupStack = []; - this.processingType3 = null; - this.baseTransform = null; - this.baseTransformStack = []; - this.groupLevel = 0; - this.smaskStack = []; - this.smaskCounter = 0; - this.tempSMask = null; - this.suspendedCtx = null; - this.contentVisible = true; - this.markedContentStack = markedContentStack || []; - this.optionalContentConfig = optionalContentConfig; - this.cachedCanvases = new CachedCanvases(this.canvasFactory); - this.cachedPatterns = new Map(); - this.annotationCanvasMap = annotationCanvasMap; - this.viewportScale = 1; - this.outputScaleX = 1; - this.outputScaleY = 1; - this.pageColors = pageColors; - this._cachedScaleForStroking = [-1, 0]; - this._cachedGetSinglePixelWidth = null; - this._cachedBitmapsMap = new Map(); - } - getObject(data, fallback = null) { - if (typeof data === "string") { - return data.startsWith("g_") ? this.commonObjs.get(data) : this.objs.get(data); - } - return fallback; - } - beginDrawing({ - transform, - viewport, - transparency = false, - background = null - }) { - const width = this.ctx.canvas.width; - const height = this.ctx.canvas.height; - const savedFillStyle = this.ctx.fillStyle; - this.ctx.fillStyle = background || "#ffffff"; - this.ctx.fillRect(0, 0, width, height); - this.ctx.fillStyle = savedFillStyle; - if (transparency) { - const transparentCanvas = this.cachedCanvases.getCanvas("transparent", width, height); - this.compositeCtx = this.ctx; - this.transparentCanvas = transparentCanvas.canvas; - this.ctx = transparentCanvas.context; - this.ctx.save(); - this.ctx.transform(...(0,display_utils.getCurrentTransform)(this.compositeCtx)); - } - this.ctx.save(); - resetCtxToDefault(this.ctx); - if (transform) { - this.ctx.transform(...transform); - this.outputScaleX = transform[0]; - this.outputScaleY = transform[0]; - } - this.ctx.transform(...viewport.transform); - this.viewportScale = viewport.scale; - this.baseTransform = (0,display_utils.getCurrentTransform)(this.ctx); - } - executeOperatorList(operatorList, executionStartIdx, continueCallback, stepper) { - const argsArray = operatorList.argsArray; - const fnArray = operatorList.fnArray; - let i = executionStartIdx || 0; - const argsArrayLen = argsArray.length; - if (argsArrayLen === i) { - return i; - } - const chunkOperations = argsArrayLen - i > EXECUTION_STEPS && typeof continueCallback === "function"; - const endTime = chunkOperations ? Date.now() + EXECUTION_TIME : 0; - let steps = 0; - const commonObjs = this.commonObjs; - const objs = this.objs; - let fnId; - while (true) { - if (stepper !== undefined && i === stepper.nextBreakPoint) { - stepper.breakIt(i, continueCallback); - return i; - } - fnId = fnArray[i]; - if (fnId !== util.OPS.dependency) { - this[fnId].apply(this, argsArray[i]); - } else { - for (const depObjId of argsArray[i]) { - const objsPool = depObjId.startsWith("g_") ? commonObjs : objs; - if (!objsPool.has(depObjId)) { - objsPool.get(depObjId, continueCallback); - return i; - } - } - } - i++; - if (i === argsArrayLen) { - return i; - } - if (chunkOperations && ++steps > EXECUTION_STEPS) { - if (Date.now() > endTime) { - continueCallback(); - return i; - } - steps = 0; - } - } - } - #restoreInitialState() { - while (this.stateStack.length || this.inSMaskMode) { - this.restore(); - } - this.ctx.restore(); - if (this.transparentCanvas) { - this.ctx = this.compositeCtx; - this.ctx.save(); - this.ctx.setTransform(1, 0, 0, 1, 0, 0); - this.ctx.drawImage(this.transparentCanvas, 0, 0); - this.ctx.restore(); - this.transparentCanvas = null; - } - } - endDrawing() { - this.#restoreInitialState(); - this.cachedCanvases.clear(); - this.cachedPatterns.clear(); - for (const cache of this._cachedBitmapsMap.values()) { - for (const canvas of cache.values()) { - if (typeof HTMLCanvasElement !== "undefined" && canvas instanceof HTMLCanvasElement) { - canvas.width = canvas.height = 0; - } - } - cache.clear(); - } - this._cachedBitmapsMap.clear(); - this.#drawFilter(); - } - #drawFilter() { - if (this.pageColors) { - const hcmFilterId = this.filterFactory.addHCMFilter(this.pageColors.foreground, this.pageColors.background); - if (hcmFilterId !== "none") { - const savedFilter = this.ctx.filter; - this.ctx.filter = hcmFilterId; - this.ctx.drawImage(this.ctx.canvas, 0, 0); - this.ctx.filter = savedFilter; - } - } - } - _scaleImage(img, inverseTransform) { - const width = img.width; - const height = img.height; - let widthScale = Math.max(Math.hypot(inverseTransform[0], inverseTransform[1]), 1); - let heightScale = Math.max(Math.hypot(inverseTransform[2], inverseTransform[3]), 1); - let paintWidth = width, - paintHeight = height; - let tmpCanvasId = "prescale1"; - let tmpCanvas, tmpCtx; - while (widthScale > 2 && paintWidth > 1 || heightScale > 2 && paintHeight > 1) { - let newWidth = paintWidth, - newHeight = paintHeight; - if (widthScale > 2 && paintWidth > 1) { - newWidth = paintWidth >= 16384 ? Math.floor(paintWidth / 2) - 1 || 1 : Math.ceil(paintWidth / 2); - widthScale /= paintWidth / newWidth; - } - if (heightScale > 2 && paintHeight > 1) { - newHeight = paintHeight >= 16384 ? Math.floor(paintHeight / 2) - 1 || 1 : Math.ceil(paintHeight) / 2; - heightScale /= paintHeight / newHeight; - } - tmpCanvas = this.cachedCanvases.getCanvas(tmpCanvasId, newWidth, newHeight); - tmpCtx = tmpCanvas.context; - tmpCtx.clearRect(0, 0, newWidth, newHeight); - tmpCtx.drawImage(img, 0, 0, paintWidth, paintHeight, 0, 0, newWidth, newHeight); - img = tmpCanvas.canvas; - paintWidth = newWidth; - paintHeight = newHeight; - tmpCanvasId = tmpCanvasId === "prescale1" ? "prescale2" : "prescale1"; - } - return { - img, - paintWidth, - paintHeight - }; - } - _createMaskCanvas(img) { - const ctx = this.ctx; - const { - width, - height - } = img; - const fillColor = this.current.fillColor; - const isPatternFill = this.current.patternFill; - const currentTransform = (0,display_utils.getCurrentTransform)(ctx); - let cache, cacheKey, scaled, maskCanvas; - if ((img.bitmap || img.data) && img.count > 1) { - const mainKey = img.bitmap || img.data.buffer; - cacheKey = JSON.stringify(isPatternFill ? currentTransform : [currentTransform.slice(0, 4), fillColor]); - cache = this._cachedBitmapsMap.get(mainKey); - if (!cache) { - cache = new Map(); - this._cachedBitmapsMap.set(mainKey, cache); - } - const cachedImage = cache.get(cacheKey); - if (cachedImage && !isPatternFill) { - const offsetX = Math.round(Math.min(currentTransform[0], currentTransform[2]) + currentTransform[4]); - const offsetY = Math.round(Math.min(currentTransform[1], currentTransform[3]) + currentTransform[5]); - return { - canvas: cachedImage, - offsetX, - offsetY - }; - } - scaled = cachedImage; - } - if (!scaled) { - maskCanvas = this.cachedCanvases.getCanvas("maskCanvas", width, height); - putBinaryImageMask(maskCanvas.context, img); - } - let maskToCanvas = util.Util.transform(currentTransform, [1 / width, 0, 0, -1 / height, 0, 0]); - maskToCanvas = util.Util.transform(maskToCanvas, [1, 0, 0, 1, 0, -height]); - const [minX, minY, maxX, maxY] = util.Util.getAxialAlignedBoundingBox([0, 0, width, height], maskToCanvas); - const drawnWidth = Math.round(maxX - minX) || 1; - const drawnHeight = Math.round(maxY - minY) || 1; - const fillCanvas = this.cachedCanvases.getCanvas("fillCanvas", drawnWidth, drawnHeight); - const fillCtx = fillCanvas.context; - const offsetX = minX; - const offsetY = minY; - fillCtx.translate(-offsetX, -offsetY); - fillCtx.transform(...maskToCanvas); - if (!scaled) { - scaled = this._scaleImage(maskCanvas.canvas, (0,display_utils.getCurrentTransformInverse)(fillCtx)); - scaled = scaled.img; - if (cache && isPatternFill) { - cache.set(cacheKey, scaled); - } - } - fillCtx.imageSmoothingEnabled = getImageSmoothingEnabled((0,display_utils.getCurrentTransform)(fillCtx), img.interpolate); - drawImageAtIntegerCoords(fillCtx, scaled, 0, 0, scaled.width, scaled.height, 0, 0, width, height); - fillCtx.globalCompositeOperation = "source-in"; - const inverse = util.Util.transform((0,display_utils.getCurrentTransformInverse)(fillCtx), [1, 0, 0, 1, -offsetX, -offsetY]); - fillCtx.fillStyle = isPatternFill ? fillColor.getPattern(ctx, this, inverse, PathType.FILL) : fillColor; - fillCtx.fillRect(0, 0, width, height); - if (cache && !isPatternFill) { - this.cachedCanvases.delete("fillCanvas"); - cache.set(cacheKey, fillCanvas.canvas); - } - return { - canvas: fillCanvas.canvas, - offsetX: Math.round(offsetX), - offsetY: Math.round(offsetY) - }; - } - setLineWidth(width) { - if (width !== this.current.lineWidth) { - this._cachedScaleForStroking[0] = -1; - } - this.current.lineWidth = width; - this.ctx.lineWidth = width; - } - setLineCap(style) { - this.ctx.lineCap = LINE_CAP_STYLES[style]; - } - setLineJoin(style) { - this.ctx.lineJoin = LINE_JOIN_STYLES[style]; - } - setMiterLimit(limit) { - this.ctx.miterLimit = limit; - } - setDash(dashArray, dashPhase) { - const ctx = this.ctx; - if (ctx.setLineDash !== undefined) { - ctx.setLineDash(dashArray); - ctx.lineDashOffset = dashPhase; - } - } - setRenderingIntent(intent) {} - setFlatness(flatness) {} - setGState(states) { - for (const [key, value] of states) { - switch (key) { - case "LW": - this.setLineWidth(value); - break; - case "LC": - this.setLineCap(value); - break; - case "LJ": - this.setLineJoin(value); - break; - case "ML": - this.setMiterLimit(value); - break; - case "D": - this.setDash(value[0], value[1]); - break; - case "RI": - this.setRenderingIntent(value); - break; - case "FL": - this.setFlatness(value); - break; - case "Font": - this.setFont(value[0], value[1]); - break; - case "CA": - this.current.strokeAlpha = value; - break; - case "ca": - this.current.fillAlpha = value; - this.ctx.globalAlpha = value; - break; - case "BM": - this.ctx.globalCompositeOperation = value; - break; - case "SMask": - this.current.activeSMask = value ? this.tempSMask : null; - this.tempSMask = null; - this.checkSMaskState(); - break; - case "TR": - this.ctx.filter = this.current.transferMaps = this.filterFactory.addFilter(value); - break; - } - } - } - get inSMaskMode() { - return !!this.suspendedCtx; - } - checkSMaskState() { - const inSMaskMode = this.inSMaskMode; - if (this.current.activeSMask && !inSMaskMode) { - this.beginSMaskMode(); - } else if (!this.current.activeSMask && inSMaskMode) { - this.endSMaskMode(); - } - } - beginSMaskMode() { - if (this.inSMaskMode) { - throw new Error("beginSMaskMode called while already in smask mode"); - } - const drawnWidth = this.ctx.canvas.width; - const drawnHeight = this.ctx.canvas.height; - const cacheId = "smaskGroupAt" + this.groupLevel; - const scratchCanvas = this.cachedCanvases.getCanvas(cacheId, drawnWidth, drawnHeight); - this.suspendedCtx = this.ctx; - this.ctx = scratchCanvas.context; - const ctx = this.ctx; - ctx.setTransform(...(0,display_utils.getCurrentTransform)(this.suspendedCtx)); - copyCtxState(this.suspendedCtx, ctx); - mirrorContextOperations(ctx, this.suspendedCtx); - this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]); - } - endSMaskMode() { - if (!this.inSMaskMode) { - throw new Error("endSMaskMode called while not in smask mode"); - } - this.ctx._removeMirroring(); - copyCtxState(this.ctx, this.suspendedCtx); - this.ctx = this.suspendedCtx; - this.suspendedCtx = null; - } - compose(dirtyBox) { - if (!this.current.activeSMask) { - return; - } - if (!dirtyBox) { - dirtyBox = [0, 0, this.ctx.canvas.width, this.ctx.canvas.height]; - } else { - dirtyBox[0] = Math.floor(dirtyBox[0]); - dirtyBox[1] = Math.floor(dirtyBox[1]); - dirtyBox[2] = Math.ceil(dirtyBox[2]); - dirtyBox[3] = Math.ceil(dirtyBox[3]); - } - const smask = this.current.activeSMask; - const suspendedCtx = this.suspendedCtx; - composeSMask(suspendedCtx, smask, this.ctx, dirtyBox); - this.ctx.save(); - this.ctx.setTransform(1, 0, 0, 1, 0, 0); - this.ctx.clearRect(0, 0, this.ctx.canvas.width, this.ctx.canvas.height); - this.ctx.restore(); - } - save() { - if (this.inSMaskMode) { - copyCtxState(this.ctx, this.suspendedCtx); - this.suspendedCtx.save(); - } else { - this.ctx.save(); - } - const old = this.current; - this.stateStack.push(old); - this.current = old.clone(); - } - restore() { - if (this.stateStack.length === 0 && this.inSMaskMode) { - this.endSMaskMode(); - } - if (this.stateStack.length !== 0) { - this.current = this.stateStack.pop(); - if (this.inSMaskMode) { - this.suspendedCtx.restore(); - copyCtxState(this.suspendedCtx, this.ctx); - } else { - this.ctx.restore(); - } - this.checkSMaskState(); - this.pendingClip = null; - this._cachedScaleForStroking[0] = -1; - this._cachedGetSinglePixelWidth = null; - } - } - transform(a, b, c, d, e, f) { - this.ctx.transform(a, b, c, d, e, f); - this._cachedScaleForStroking[0] = -1; - this._cachedGetSinglePixelWidth = null; - } - constructPath(ops, args, minMax) { - const ctx = this.ctx; - const current = this.current; - let x = current.x, - y = current.y; - let startX, startY; - const currentTransform = (0,display_utils.getCurrentTransform)(ctx); - const isScalingMatrix = currentTransform[0] === 0 && currentTransform[3] === 0 || currentTransform[1] === 0 && currentTransform[2] === 0; - const minMaxForBezier = isScalingMatrix ? minMax.slice(0) : null; - for (let i = 0, j = 0, ii = ops.length; i < ii; i++) { - switch (ops[i] | 0) { - case util.OPS.rectangle: - x = args[j++]; - y = args[j++]; - const width = args[j++]; - const height = args[j++]; - const xw = x + width; - const yh = y + height; - ctx.moveTo(x, y); - if (width === 0 || height === 0) { - ctx.lineTo(xw, yh); - } else { - ctx.lineTo(xw, y); - ctx.lineTo(xw, yh); - ctx.lineTo(x, yh); - } - if (!isScalingMatrix) { - current.updateRectMinMax(currentTransform, [x, y, xw, yh]); - } - ctx.closePath(); - break; - case util.OPS.moveTo: - x = args[j++]; - y = args[j++]; - ctx.moveTo(x, y); - if (!isScalingMatrix) { - current.updatePathMinMax(currentTransform, x, y); - } - break; - case util.OPS.lineTo: - x = args[j++]; - y = args[j++]; - ctx.lineTo(x, y); - if (!isScalingMatrix) { - current.updatePathMinMax(currentTransform, x, y); - } - break; - case util.OPS.curveTo: - startX = x; - startY = y; - x = args[j + 4]; - y = args[j + 5]; - ctx.bezierCurveTo(args[j], args[j + 1], args[j + 2], args[j + 3], x, y); - current.updateCurvePathMinMax(currentTransform, startX, startY, args[j], args[j + 1], args[j + 2], args[j + 3], x, y, minMaxForBezier); - j += 6; - break; - case util.OPS.curveTo2: - startX = x; - startY = y; - ctx.bezierCurveTo(x, y, args[j], args[j + 1], args[j + 2], args[j + 3]); - current.updateCurvePathMinMax(currentTransform, startX, startY, x, y, args[j], args[j + 1], args[j + 2], args[j + 3], minMaxForBezier); - x = args[j + 2]; - y = args[j + 3]; - j += 4; - break; - case util.OPS.curveTo3: - startX = x; - startY = y; - x = args[j + 2]; - y = args[j + 3]; - ctx.bezierCurveTo(args[j], args[j + 1], x, y, x, y); - current.updateCurvePathMinMax(currentTransform, startX, startY, args[j], args[j + 1], x, y, x, y, minMaxForBezier); - j += 4; - break; - case util.OPS.closePath: - ctx.closePath(); - break; - } - } - if (isScalingMatrix) { - current.updateScalingPathMinMax(currentTransform, minMaxForBezier); - } - current.setCurrentPoint(x, y); - } - closePath() { - this.ctx.closePath(); - } - stroke(consumePath = true) { - const ctx = this.ctx; - const strokeColor = this.current.strokeColor; - ctx.globalAlpha = this.current.strokeAlpha; - if (this.contentVisible) { - if (typeof strokeColor === "object" && strokeColor?.getPattern) { - ctx.save(); - ctx.strokeStyle = strokeColor.getPattern(ctx, this, (0,display_utils.getCurrentTransformInverse)(ctx), PathType.STROKE); - this.rescaleAndStroke(false); - ctx.restore(); - } else { - this.rescaleAndStroke(true); - } - } - if (consumePath) { - this.consumePath(this.current.getClippedPathBoundingBox()); - } - ctx.globalAlpha = this.current.fillAlpha; - } - closeStroke() { - this.closePath(); - this.stroke(); - } - fill(consumePath = true) { - const ctx = this.ctx; - const fillColor = this.current.fillColor; - const isPatternFill = this.current.patternFill; - let needRestore = false; - if (isPatternFill) { - ctx.save(); - ctx.fillStyle = fillColor.getPattern(ctx, this, (0,display_utils.getCurrentTransformInverse)(ctx), PathType.FILL); - needRestore = true; - } - const intersect = this.current.getClippedPathBoundingBox(); - if (this.contentVisible && intersect !== null) { - if (this.pendingEOFill) { - ctx.fill("evenodd"); - this.pendingEOFill = false; - } else { - ctx.fill(); - } - } - if (needRestore) { - ctx.restore(); - } - if (consumePath) { - this.consumePath(intersect); - } - } - eoFill() { - this.pendingEOFill = true; - this.fill(); - } - fillStroke() { - this.fill(false); - this.stroke(false); - this.consumePath(); - } - eoFillStroke() { - this.pendingEOFill = true; - this.fillStroke(); - } - closeFillStroke() { - this.closePath(); - this.fillStroke(); - } - closeEOFillStroke() { - this.pendingEOFill = true; - this.closePath(); - this.fillStroke(); - } - endPath() { - this.consumePath(); - } - clip() { - this.pendingClip = NORMAL_CLIP; - } - eoClip() { - this.pendingClip = EO_CLIP; - } - beginText() { - this.current.textMatrix = util.IDENTITY_MATRIX; - this.current.textMatrixScale = 1; - this.current.x = this.current.lineX = 0; - this.current.y = this.current.lineY = 0; - } - endText() { - const paths = this.pendingTextPaths; - const ctx = this.ctx; - if (paths === undefined) { - ctx.beginPath(); - return; - } - ctx.save(); - ctx.beginPath(); - for (const path of paths) { - ctx.setTransform(...path.transform); - ctx.translate(path.x, path.y); - path.addToPath(ctx, path.fontSize); - } - ctx.restore(); - ctx.clip(); - ctx.beginPath(); - delete this.pendingTextPaths; - } - setCharSpacing(spacing) { - this.current.charSpacing = spacing; - } - setWordSpacing(spacing) { - this.current.wordSpacing = spacing; - } - setHScale(scale) { - this.current.textHScale = scale / 100; - } - setLeading(leading) { - this.current.leading = -leading; - } - setFont(fontRefName, size) { - const fontObj = this.commonObjs.get(fontRefName); - const current = this.current; - if (!fontObj) { - throw new Error(`Can't find font for ${fontRefName}`); - } - current.fontMatrix = fontObj.fontMatrix || util.FONT_IDENTITY_MATRIX; - if (current.fontMatrix[0] === 0 || current.fontMatrix[3] === 0) { - (0,util.warn)("Invalid font matrix for font " + fontRefName); - } - if (size < 0) { - size = -size; - current.fontDirection = -1; - } else { - current.fontDirection = 1; - } - this.current.font = fontObj; - this.current.fontSize = size; - if (fontObj.isType3Font) { - return; - } - const name = fontObj.loadedName || "sans-serif"; - const typeface = fontObj.systemFontInfo?.css || `"${name}", ${fontObj.fallbackName}`; - let bold = "normal"; - if (fontObj.black) { - bold = "900"; - } else if (fontObj.bold) { - bold = "bold"; - } - const italic = fontObj.italic ? "italic" : "normal"; - let browserFontSize = size; - if (size < MIN_FONT_SIZE) { - browserFontSize = MIN_FONT_SIZE; - } else if (size > MAX_FONT_SIZE) { - browserFontSize = MAX_FONT_SIZE; - } - this.current.fontSizeScale = size / browserFontSize; - this.ctx.font = `${italic} ${bold} ${browserFontSize}px ${typeface}`; - } - setTextRenderingMode(mode) { - this.current.textRenderingMode = mode; - } - setTextRise(rise) { - this.current.textRise = rise; - } - moveText(x, y) { - this.current.x = this.current.lineX += x; - this.current.y = this.current.lineY += y; - } - setLeadingMoveText(x, y) { - this.setLeading(-y); - this.moveText(x, y); - } - setTextMatrix(a, b, c, d, e, f) { - this.current.textMatrix = [a, b, c, d, e, f]; - this.current.textMatrixScale = Math.hypot(a, b); - this.current.x = this.current.lineX = 0; - this.current.y = this.current.lineY = 0; - } - nextLine() { - this.moveText(0, this.current.leading); - } - paintChar(character, x, y, patternTransform) { - const ctx = this.ctx; - const current = this.current; - const font = current.font; - const textRenderingMode = current.textRenderingMode; - const fontSize = current.fontSize / current.fontSizeScale; - const fillStrokeMode = textRenderingMode & util.TextRenderingMode.FILL_STROKE_MASK; - const isAddToPathSet = !!(textRenderingMode & util.TextRenderingMode.ADD_TO_PATH_FLAG); - const patternFill = current.patternFill && !font.missingFile; - let addToPath; - if (font.disableFontFace || isAddToPathSet || patternFill) { - addToPath = font.getPathGenerator(this.commonObjs, character); - } - if (font.disableFontFace || patternFill) { - ctx.save(); - ctx.translate(x, y); - ctx.beginPath(); - addToPath(ctx, fontSize); - if (patternTransform) { - ctx.setTransform(...patternTransform); - } - if (fillStrokeMode === util.TextRenderingMode.FILL || fillStrokeMode === util.TextRenderingMode.FILL_STROKE) { - ctx.fill(); - } - if (fillStrokeMode === util.TextRenderingMode.STROKE || fillStrokeMode === util.TextRenderingMode.FILL_STROKE) { - ctx.stroke(); - } - ctx.restore(); - } else { - if (fillStrokeMode === util.TextRenderingMode.FILL || fillStrokeMode === util.TextRenderingMode.FILL_STROKE) { - ctx.fillText(character, x, y); - } - if (fillStrokeMode === util.TextRenderingMode.STROKE || fillStrokeMode === util.TextRenderingMode.FILL_STROKE) { - ctx.strokeText(character, x, y); - } - } - if (isAddToPathSet) { - const paths = this.pendingTextPaths ||= []; - paths.push({ - transform: (0,display_utils.getCurrentTransform)(ctx), - x, - y, - fontSize, - addToPath - }); - } - } - get isFontSubpixelAAEnabled() { - const { - context: ctx - } = this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled", 10, 10); - ctx.scale(1.5, 1); - ctx.fillText("I", 0, 10); - const data = ctx.getImageData(0, 0, 10, 10).data; - let enabled = false; - for (let i = 3; i < data.length; i += 4) { - if (data[i] > 0 && data[i] < 255) { - enabled = true; - break; - } - } - return (0,util.shadow)(this, "isFontSubpixelAAEnabled", enabled); - } - showText(glyphs) { - const current = this.current; - const font = current.font; - if (font.isType3Font) { - return this.showType3Text(glyphs); - } - const fontSize = current.fontSize; - if (fontSize === 0) { - return undefined; - } - const ctx = this.ctx; - const fontSizeScale = current.fontSizeScale; - const charSpacing = current.charSpacing; - const wordSpacing = current.wordSpacing; - const fontDirection = current.fontDirection; - const textHScale = current.textHScale * fontDirection; - const glyphsLength = glyphs.length; - const vertical = font.vertical; - const spacingDir = vertical ? 1 : -1; - const defaultVMetrics = font.defaultVMetrics; - const widthAdvanceScale = fontSize * current.fontMatrix[0]; - const simpleFillText = current.textRenderingMode === util.TextRenderingMode.FILL && !font.disableFontFace && !current.patternFill; - ctx.save(); - ctx.transform(...current.textMatrix); - ctx.translate(current.x, current.y + current.textRise); - if (fontDirection > 0) { - ctx.scale(textHScale, -1); - } else { - ctx.scale(textHScale, 1); - } - let patternTransform; - if (current.patternFill) { - ctx.save(); - const pattern = current.fillColor.getPattern(ctx, this, (0,display_utils.getCurrentTransformInverse)(ctx), PathType.FILL); - patternTransform = (0,display_utils.getCurrentTransform)(ctx); - ctx.restore(); - ctx.fillStyle = pattern; - } - let lineWidth = current.lineWidth; - const scale = current.textMatrixScale; - if (scale === 0 || lineWidth === 0) { - const fillStrokeMode = current.textRenderingMode & util.TextRenderingMode.FILL_STROKE_MASK; - if (fillStrokeMode === util.TextRenderingMode.STROKE || fillStrokeMode === util.TextRenderingMode.FILL_STROKE) { - lineWidth = this.getSinglePixelWidth(); - } - } else { - lineWidth /= scale; - } - if (fontSizeScale !== 1.0) { - ctx.scale(fontSizeScale, fontSizeScale); - lineWidth /= fontSizeScale; - } - ctx.lineWidth = lineWidth; - if (font.isInvalidPDFjsFont) { - const chars = []; - let width = 0; - for (const glyph of glyphs) { - chars.push(glyph.unicode); - width += glyph.width; - } - ctx.fillText(chars.join(""), 0, 0); - current.x += width * widthAdvanceScale * textHScale; - ctx.restore(); - this.compose(); - return undefined; - } - let x = 0, - i; - for (i = 0; i < glyphsLength; ++i) { - const glyph = glyphs[i]; - if (typeof glyph === "number") { - x += spacingDir * glyph * fontSize / 1000; - continue; - } - let restoreNeeded = false; - const spacing = (glyph.isSpace ? wordSpacing : 0) + charSpacing; - const character = glyph.fontChar; - const accent = glyph.accent; - let scaledX, scaledY; - let width = glyph.width; - if (vertical) { - const vmetric = glyph.vmetric || defaultVMetrics; - const vx = -(glyph.vmetric ? vmetric[1] : width * 0.5) * widthAdvanceScale; - const vy = vmetric[2] * widthAdvanceScale; - width = vmetric ? -vmetric[0] : width; - scaledX = vx / fontSizeScale; - scaledY = (x + vy) / fontSizeScale; - } else { - scaledX = x / fontSizeScale; - scaledY = 0; - } - if (font.remeasure && width > 0) { - const measuredWidth = ctx.measureText(character).width * 1000 / fontSize * fontSizeScale; - if (width < measuredWidth && this.isFontSubpixelAAEnabled) { - const characterScaleX = width / measuredWidth; - restoreNeeded = true; - ctx.save(); - ctx.scale(characterScaleX, 1); - scaledX /= characterScaleX; - } else if (width !== measuredWidth) { - scaledX += (width - measuredWidth) / 2000 * fontSize / fontSizeScale; - } - } - if (this.contentVisible && (glyph.isInFont || font.missingFile)) { - if (simpleFillText && !accent) { - ctx.fillText(character, scaledX, scaledY); - } else { - this.paintChar(character, scaledX, scaledY, patternTransform); - if (accent) { - const scaledAccentX = scaledX + fontSize * accent.offset.x / fontSizeScale; - const scaledAccentY = scaledY - fontSize * accent.offset.y / fontSizeScale; - this.paintChar(accent.fontChar, scaledAccentX, scaledAccentY, patternTransform); - } - } - } - const charWidth = vertical ? width * widthAdvanceScale - spacing * fontDirection : width * widthAdvanceScale + spacing * fontDirection; - x += charWidth; - if (restoreNeeded) { - ctx.restore(); - } - } - if (vertical) { - current.y -= x; - } else { - current.x += x * textHScale; - } - ctx.restore(); - this.compose(); - return undefined; - } - showType3Text(glyphs) { - const ctx = this.ctx; - const current = this.current; - const font = current.font; - const fontSize = current.fontSize; - const fontDirection = current.fontDirection; - const spacingDir = font.vertical ? 1 : -1; - const charSpacing = current.charSpacing; - const wordSpacing = current.wordSpacing; - const textHScale = current.textHScale * fontDirection; - const fontMatrix = current.fontMatrix || util.FONT_IDENTITY_MATRIX; - const glyphsLength = glyphs.length; - const isTextInvisible = current.textRenderingMode === util.TextRenderingMode.INVISIBLE; - let i, glyph, width, spacingLength; - if (isTextInvisible || fontSize === 0) { - return; - } - this._cachedScaleForStroking[0] = -1; - this._cachedGetSinglePixelWidth = null; - ctx.save(); - ctx.transform(...current.textMatrix); - ctx.translate(current.x, current.y); - ctx.scale(textHScale, fontDirection); - for (i = 0; i < glyphsLength; ++i) { - glyph = glyphs[i]; - if (typeof glyph === "number") { - spacingLength = spacingDir * glyph * fontSize / 1000; - this.ctx.translate(spacingLength, 0); - current.x += spacingLength * textHScale; - continue; - } - const spacing = (glyph.isSpace ? wordSpacing : 0) + charSpacing; - const operatorList = font.charProcOperatorList[glyph.operatorListId]; - if (!operatorList) { - (0,util.warn)(`Type3 character "${glyph.operatorListId}" is not available.`); - continue; - } - if (this.contentVisible) { - this.processingType3 = glyph; - this.save(); - ctx.scale(fontSize, fontSize); - ctx.transform(...fontMatrix); - this.executeOperatorList(operatorList); - this.restore(); - } - const transformed = util.Util.applyTransform([glyph.width, 0], fontMatrix); - width = transformed[0] * fontSize + spacing; - ctx.translate(width, 0); - current.x += width * textHScale; - } - ctx.restore(); - this.processingType3 = null; - } - setCharWidth(xWidth, yWidth) {} - setCharWidthAndBounds(xWidth, yWidth, llx, lly, urx, ury) { - this.ctx.rect(llx, lly, urx - llx, ury - lly); - this.ctx.clip(); - this.endPath(); - } - getColorN_Pattern(IR) { - let pattern; - if (IR[0] === "TilingPattern") { - const color = IR[1]; - const baseTransform = this.baseTransform || (0,display_utils.getCurrentTransform)(this.ctx); - const canvasGraphicsFactory = { - createCanvasGraphics: ctx => new CanvasGraphics(ctx, this.commonObjs, this.objs, this.canvasFactory, this.filterFactory, { - optionalContentConfig: this.optionalContentConfig, - markedContentStack: this.markedContentStack - }) - }; - pattern = new TilingPattern(IR, color, this.ctx, canvasGraphicsFactory, baseTransform); - } else { - pattern = this._getPattern(IR[1], IR[2]); - } - return pattern; - } - setStrokeColorN() { - this.current.strokeColor = this.getColorN_Pattern(arguments); - } - setFillColorN() { - this.current.fillColor = this.getColorN_Pattern(arguments); - this.current.patternFill = true; - } - setStrokeRGBColor(r, g, b) { - const color = util.Util.makeHexColor(r, g, b); - this.ctx.strokeStyle = color; - this.current.strokeColor = color; - } - setFillRGBColor(r, g, b) { - const color = util.Util.makeHexColor(r, g, b); - this.ctx.fillStyle = color; - this.current.fillColor = color; - this.current.patternFill = false; - } - _getPattern(objId, matrix = null) { - let pattern; - if (this.cachedPatterns.has(objId)) { - pattern = this.cachedPatterns.get(objId); - } else { - pattern = getShadingPattern(this.getObject(objId)); - this.cachedPatterns.set(objId, pattern); - } - if (matrix) { - pattern.matrix = matrix; - } - return pattern; - } - shadingFill(objId) { - if (!this.contentVisible) { - return; - } - const ctx = this.ctx; - this.save(); - const pattern = this._getPattern(objId); - ctx.fillStyle = pattern.getPattern(ctx, this, (0,display_utils.getCurrentTransformInverse)(ctx), PathType.SHADING); - const inv = (0,display_utils.getCurrentTransformInverse)(ctx); - if (inv) { - const { - width, - height - } = ctx.canvas; - const [x0, y0, x1, y1] = util.Util.getAxialAlignedBoundingBox([0, 0, width, height], inv); - this.ctx.fillRect(x0, y0, x1 - x0, y1 - y0); - } else { - this.ctx.fillRect(-1e10, -1e10, 2e10, 2e10); - } - this.compose(this.current.getClippedPathBoundingBox()); - this.restore(); - } - beginInlineImage() { - (0,util.unreachable)("Should not call beginInlineImage"); - } - beginImageData() { - (0,util.unreachable)("Should not call beginImageData"); - } - paintFormXObjectBegin(matrix, bbox) { - if (!this.contentVisible) { - return; - } - this.save(); - this.baseTransformStack.push(this.baseTransform); - if (Array.isArray(matrix) && matrix.length === 6) { - this.transform(...matrix); - } - this.baseTransform = (0,display_utils.getCurrentTransform)(this.ctx); - if (bbox) { - const width = bbox[2] - bbox[0]; - const height = bbox[3] - bbox[1]; - this.ctx.rect(bbox[0], bbox[1], width, height); - this.current.updateRectMinMax((0,display_utils.getCurrentTransform)(this.ctx), bbox); - this.clip(); - this.endPath(); - } - } - paintFormXObjectEnd() { - if (!this.contentVisible) { - return; - } - this.restore(); - this.baseTransform = this.baseTransformStack.pop(); - } - beginGroup(group) { - if (!this.contentVisible) { - return; - } - this.save(); - if (this.inSMaskMode) { - this.endSMaskMode(); - this.current.activeSMask = null; - } - const currentCtx = this.ctx; - if (!group.isolated) { - (0,util.info)("TODO: Support non-isolated groups."); - } - if (group.knockout) { - (0,util.warn)("Knockout groups not supported."); - } - const currentTransform = (0,display_utils.getCurrentTransform)(currentCtx); - if (group.matrix) { - currentCtx.transform(...group.matrix); - } - if (!group.bbox) { - throw new Error("Bounding box is required."); - } - let bounds = util.Util.getAxialAlignedBoundingBox(group.bbox, (0,display_utils.getCurrentTransform)(currentCtx)); - const canvasBounds = [0, 0, currentCtx.canvas.width, currentCtx.canvas.height]; - bounds = util.Util.intersect(bounds, canvasBounds) || [0, 0, 0, 0]; - const offsetX = Math.floor(bounds[0]); - const offsetY = Math.floor(bounds[1]); - let drawnWidth = Math.max(Math.ceil(bounds[2]) - offsetX, 1); - let drawnHeight = Math.max(Math.ceil(bounds[3]) - offsetY, 1); - let scaleX = 1, - scaleY = 1; - if (drawnWidth > MAX_GROUP_SIZE) { - scaleX = drawnWidth / MAX_GROUP_SIZE; - drawnWidth = MAX_GROUP_SIZE; - } - if (drawnHeight > MAX_GROUP_SIZE) { - scaleY = drawnHeight / MAX_GROUP_SIZE; - drawnHeight = MAX_GROUP_SIZE; - } - this.current.startNewPathAndClipBox([0, 0, drawnWidth, drawnHeight]); - let cacheId = "groupAt" + this.groupLevel; - if (group.smask) { - cacheId += "_smask_" + this.smaskCounter++ % 2; - } - const scratchCanvas = this.cachedCanvases.getCanvas(cacheId, drawnWidth, drawnHeight); - const groupCtx = scratchCanvas.context; - groupCtx.scale(1 / scaleX, 1 / scaleY); - groupCtx.translate(-offsetX, -offsetY); - groupCtx.transform(...currentTransform); - if (group.smask) { - this.smaskStack.push({ - canvas: scratchCanvas.canvas, - context: groupCtx, - offsetX, - offsetY, - scaleX, - scaleY, - subtype: group.smask.subtype, - backdrop: group.smask.backdrop, - transferMap: group.smask.transferMap || null, - startTransformInverse: null - }); - } else { - currentCtx.setTransform(1, 0, 0, 1, 0, 0); - currentCtx.translate(offsetX, offsetY); - currentCtx.scale(scaleX, scaleY); - currentCtx.save(); - } - copyCtxState(currentCtx, groupCtx); - this.ctx = groupCtx; - this.setGState([["BM", "source-over"], ["ca", 1], ["CA", 1]]); - this.groupStack.push(currentCtx); - this.groupLevel++; - } - endGroup(group) { - if (!this.contentVisible) { - return; - } - this.groupLevel--; - const groupCtx = this.ctx; - const ctx = this.groupStack.pop(); - this.ctx = ctx; - this.ctx.imageSmoothingEnabled = false; - if (group.smask) { - this.tempSMask = this.smaskStack.pop(); - this.restore(); - } else { - this.ctx.restore(); - const currentMtx = (0,display_utils.getCurrentTransform)(this.ctx); - this.restore(); - this.ctx.save(); - this.ctx.setTransform(...currentMtx); - const dirtyBox = util.Util.getAxialAlignedBoundingBox([0, 0, groupCtx.canvas.width, groupCtx.canvas.height], currentMtx); - this.ctx.drawImage(groupCtx.canvas, 0, 0); - this.ctx.restore(); - this.compose(dirtyBox); - } - } - beginAnnotation(id, rect, transform, matrix, hasOwnCanvas) { - this.#restoreInitialState(); - resetCtxToDefault(this.ctx); - this.ctx.save(); - this.save(); - if (this.baseTransform) { - this.ctx.setTransform(...this.baseTransform); - } - if (Array.isArray(rect) && rect.length === 4) { - const width = rect[2] - rect[0]; - const height = rect[3] - rect[1]; - if (hasOwnCanvas && this.annotationCanvasMap) { - transform = transform.slice(); - transform[4] -= rect[0]; - transform[5] -= rect[1]; - rect = rect.slice(); - rect[0] = rect[1] = 0; - rect[2] = width; - rect[3] = height; - const [scaleX, scaleY] = util.Util.singularValueDecompose2dScale((0,display_utils.getCurrentTransform)(this.ctx)); - const { - viewportScale - } = this; - const canvasWidth = Math.ceil(width * this.outputScaleX * viewportScale); - const canvasHeight = Math.ceil(height * this.outputScaleY * viewportScale); - this.annotationCanvas = this.canvasFactory.create(canvasWidth, canvasHeight); - const { - canvas, - context - } = this.annotationCanvas; - this.annotationCanvasMap.set(id, canvas); - this.annotationCanvas.savedCtx = this.ctx; - this.ctx = context; - this.ctx.save(); - this.ctx.setTransform(scaleX, 0, 0, -scaleY, 0, height * scaleY); - resetCtxToDefault(this.ctx); - } else { - resetCtxToDefault(this.ctx); - this.ctx.rect(rect[0], rect[1], width, height); - this.ctx.clip(); - this.endPath(); - } - } - this.current = new CanvasExtraState(this.ctx.canvas.width, this.ctx.canvas.height); - this.transform(...transform); - this.transform(...matrix); - } - endAnnotation() { - if (this.annotationCanvas) { - this.ctx.restore(); - this.#drawFilter(); - this.ctx = this.annotationCanvas.savedCtx; - delete this.annotationCanvas.savedCtx; - delete this.annotationCanvas; - } - } - paintImageMaskXObject(img) { - if (!this.contentVisible) { - return; - } - const count = img.count; - img = this.getObject(img.data, img); - img.count = count; - const ctx = this.ctx; - const glyph = this.processingType3; - if (glyph) { - if (glyph.compiled === undefined) { - glyph.compiled = compileType3Glyph(img); - } - if (glyph.compiled) { - glyph.compiled(ctx); - return; - } - } - const mask = this._createMaskCanvas(img); - const maskCanvas = mask.canvas; - ctx.save(); - ctx.setTransform(1, 0, 0, 1, 0, 0); - ctx.drawImage(maskCanvas, mask.offsetX, mask.offsetY); - ctx.restore(); - this.compose(); - } - paintImageMaskXObjectRepeat(img, scaleX, skewX = 0, skewY = 0, scaleY, positions) { - if (!this.contentVisible) { - return; - } - img = this.getObject(img.data, img); - const ctx = this.ctx; - ctx.save(); - const currentTransform = (0,display_utils.getCurrentTransform)(ctx); - ctx.transform(scaleX, skewX, skewY, scaleY, 0, 0); - const mask = this._createMaskCanvas(img); - ctx.setTransform(1, 0, 0, 1, mask.offsetX - currentTransform[4], mask.offsetY - currentTransform[5]); - for (let i = 0, ii = positions.length; i < ii; i += 2) { - const trans = util.Util.transform(currentTransform, [scaleX, skewX, skewY, scaleY, positions[i], positions[i + 1]]); - const [x, y] = util.Util.applyTransform([0, 0], trans); - ctx.drawImage(mask.canvas, x, y); - } - ctx.restore(); - this.compose(); - } - paintImageMaskXObjectGroup(images) { - if (!this.contentVisible) { - return; - } - const ctx = this.ctx; - const fillColor = this.current.fillColor; - const isPatternFill = this.current.patternFill; - for (const image of images) { - const { - data, - width, - height, - transform - } = image; - const maskCanvas = this.cachedCanvases.getCanvas("maskCanvas", width, height); - const maskCtx = maskCanvas.context; - maskCtx.save(); - const img = this.getObject(data, image); - putBinaryImageMask(maskCtx, img); - maskCtx.globalCompositeOperation = "source-in"; - maskCtx.fillStyle = isPatternFill ? fillColor.getPattern(maskCtx, this, (0,display_utils.getCurrentTransformInverse)(ctx), PathType.FILL) : fillColor; - maskCtx.fillRect(0, 0, width, height); - maskCtx.restore(); - ctx.save(); - ctx.transform(...transform); - ctx.scale(1, -1); - drawImageAtIntegerCoords(ctx, maskCanvas.canvas, 0, 0, width, height, 0, -1, 1, 1); - ctx.restore(); - } - this.compose(); - } - paintImageXObject(objId) { - if (!this.contentVisible) { - return; - } - const imgData = this.getObject(objId); - if (!imgData) { - (0,util.warn)("Dependent image isn't ready yet"); - return; - } - this.paintInlineImageXObject(imgData); - } - paintImageXObjectRepeat(objId, scaleX, scaleY, positions) { - if (!this.contentVisible) { - return; - } - const imgData = this.getObject(objId); - if (!imgData) { - (0,util.warn)("Dependent image isn't ready yet"); - return; - } - const width = imgData.width; - const height = imgData.height; - const map = []; - for (let i = 0, ii = positions.length; i < ii; i += 2) { - map.push({ - transform: [scaleX, 0, 0, scaleY, positions[i], positions[i + 1]], - x: 0, - y: 0, - w: width, - h: height - }); - } - this.paintInlineImageXObjectGroup(imgData, map); - } - applyTransferMapsToCanvas(ctx) { - if (this.current.transferMaps !== "none") { - ctx.filter = this.current.transferMaps; - ctx.drawImage(ctx.canvas, 0, 0); - ctx.filter = "none"; - } - return ctx.canvas; - } - applyTransferMapsToBitmap(imgData) { - if (this.current.transferMaps === "none") { - return imgData.bitmap; - } - const { - bitmap, - width, - height - } = imgData; - const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", width, height); - const tmpCtx = tmpCanvas.context; - tmpCtx.filter = this.current.transferMaps; - tmpCtx.drawImage(bitmap, 0, 0); - tmpCtx.filter = "none"; - return tmpCanvas.canvas; - } - paintInlineImageXObject(imgData) { - if (!this.contentVisible) { - return; - } - const width = imgData.width; - const height = imgData.height; - const ctx = this.ctx; - this.save(); - if (!util.isNodeJS) { - const { - filter - } = ctx; - if (filter !== "none" && filter !== "") { - ctx.filter = "none"; - } - } - ctx.scale(1 / width, -1 / height); - let imgToPaint; - if (imgData.bitmap) { - imgToPaint = this.applyTransferMapsToBitmap(imgData); - } else if (typeof HTMLElement === "function" && imgData instanceof HTMLElement || !imgData.data) { - imgToPaint = imgData; - } else { - const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", width, height); - const tmpCtx = tmpCanvas.context; - putBinaryImageData(tmpCtx, imgData); - imgToPaint = this.applyTransferMapsToCanvas(tmpCtx); - } - const scaled = this._scaleImage(imgToPaint, (0,display_utils.getCurrentTransformInverse)(ctx)); - ctx.imageSmoothingEnabled = getImageSmoothingEnabled((0,display_utils.getCurrentTransform)(ctx), imgData.interpolate); - drawImageAtIntegerCoords(ctx, scaled.img, 0, 0, scaled.paintWidth, scaled.paintHeight, 0, -height, width, height); - this.compose(); - this.restore(); - } - paintInlineImageXObjectGroup(imgData, map) { - if (!this.contentVisible) { - return; - } - const ctx = this.ctx; - let imgToPaint; - if (imgData.bitmap) { - imgToPaint = imgData.bitmap; - } else { - const w = imgData.width; - const h = imgData.height; - const tmpCanvas = this.cachedCanvases.getCanvas("inlineImage", w, h); - const tmpCtx = tmpCanvas.context; - putBinaryImageData(tmpCtx, imgData); - imgToPaint = this.applyTransferMapsToCanvas(tmpCtx); - } - for (const entry of map) { - ctx.save(); - ctx.transform(...entry.transform); - ctx.scale(1, -1); - drawImageAtIntegerCoords(ctx, imgToPaint, entry.x, entry.y, entry.w, entry.h, 0, -1, 1, 1); - ctx.restore(); - } - this.compose(); - } - paintSolidColorImageMask() { - if (!this.contentVisible) { - return; - } - this.ctx.fillRect(0, 0, 1, 1); - this.compose(); - } - markPoint(tag) {} - markPointProps(tag, properties) {} - beginMarkedContent(tag) { - this.markedContentStack.push({ - visible: true - }); - } - beginMarkedContentProps(tag, properties) { - if (tag === "OC") { - this.markedContentStack.push({ - visible: this.optionalContentConfig.isVisible(properties) - }); - } else { - this.markedContentStack.push({ - visible: true - }); - } - this.contentVisible = this.isContentVisible(); - } - endMarkedContent() { - this.markedContentStack.pop(); - this.contentVisible = this.isContentVisible(); - } - beginCompat() {} - endCompat() {} - consumePath(clipBox) { - const isEmpty = this.current.isEmptyClip(); - if (this.pendingClip) { - this.current.updateClipFromPath(); - } - if (!this.pendingClip) { - this.compose(clipBox); - } - const ctx = this.ctx; - if (this.pendingClip) { - if (!isEmpty) { - if (this.pendingClip === EO_CLIP) { - ctx.clip("evenodd"); - } else { - ctx.clip(); - } - } - this.pendingClip = null; - } - this.current.startNewPathAndClipBox(this.current.clipBox); - ctx.beginPath(); - } - getSinglePixelWidth() { - if (!this._cachedGetSinglePixelWidth) { - const m = (0,display_utils.getCurrentTransform)(this.ctx); - if (m[1] === 0 && m[2] === 0) { - this._cachedGetSinglePixelWidth = 1 / Math.min(Math.abs(m[0]), Math.abs(m[3])); - } else { - const absDet = Math.abs(m[0] * m[3] - m[2] * m[1]); - const normX = Math.hypot(m[0], m[2]); - const normY = Math.hypot(m[1], m[3]); - this._cachedGetSinglePixelWidth = Math.max(normX, normY) / absDet; - } - } - return this._cachedGetSinglePixelWidth; - } - getScaleForStroking() { - if (this._cachedScaleForStroking[0] === -1) { - const { - lineWidth - } = this.current; - const { - a, - b, - c, - d - } = this.ctx.getTransform(); - let scaleX, scaleY; - if (b === 0 && c === 0) { - const normX = Math.abs(a); - const normY = Math.abs(d); - if (normX === normY) { - if (lineWidth === 0) { - scaleX = scaleY = 1 / normX; - } else { - const scaledLineWidth = normX * lineWidth; - scaleX = scaleY = scaledLineWidth < 1 ? 1 / scaledLineWidth : 1; - } - } else if (lineWidth === 0) { - scaleX = 1 / normX; - scaleY = 1 / normY; - } else { - const scaledXLineWidth = normX * lineWidth; - const scaledYLineWidth = normY * lineWidth; - scaleX = scaledXLineWidth < 1 ? 1 / scaledXLineWidth : 1; - scaleY = scaledYLineWidth < 1 ? 1 / scaledYLineWidth : 1; - } - } else { - const absDet = Math.abs(a * d - b * c); - const normX = Math.hypot(a, b); - const normY = Math.hypot(c, d); - if (lineWidth === 0) { - scaleX = normY / absDet; - scaleY = normX / absDet; - } else { - const baseArea = lineWidth * absDet; - scaleX = normY > baseArea ? normY / baseArea : 1; - scaleY = normX > baseArea ? normX / baseArea : 1; - } - } - this._cachedScaleForStroking[0] = scaleX; - this._cachedScaleForStroking[1] = scaleY; - } - return this._cachedScaleForStroking; - } - rescaleAndStroke(saveRestore) { - const { - ctx - } = this; - const { - lineWidth - } = this.current; - const [scaleX, scaleY] = this.getScaleForStroking(); - ctx.lineWidth = lineWidth || 1; - if (scaleX === 1 && scaleY === 1) { - ctx.stroke(); - return; - } - const dashes = ctx.getLineDash(); - if (saveRestore) { - ctx.save(); - } - ctx.scale(scaleX, scaleY); - if (dashes.length > 0) { - const scale = Math.max(scaleX, scaleY); - ctx.setLineDash(dashes.map(x => x / scale)); - ctx.lineDashOffset /= scale; - } - ctx.stroke(); - if (saveRestore) { - ctx.restore(); - } - } - isContentVisible() { - for (let i = this.markedContentStack.length - 1; i >= 0; i--) { - if (!this.markedContentStack[i].visible) { - return false; - } - } - return true; - } -} -for (const op in util.OPS) { - if (CanvasGraphics.prototype[op] !== undefined) { - CanvasGraphics.prototype[util.OPS[op]] = CanvasGraphics.prototype[op]; - } -} - - -/***/ }), - -/***/ 5419: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ DOMCMapReaderFactory: () => (/* binding */ DOMCMapReaderFactory), -/* harmony export */ DOMCanvasFactory: () => (/* binding */ DOMCanvasFactory), -/* harmony export */ DOMFilterFactory: () => (/* binding */ DOMFilterFactory), -/* harmony export */ DOMSVGFactory: () => (/* binding */ DOMSVGFactory), -/* harmony export */ DOMStandardFontDataFactory: () => (/* binding */ DOMStandardFontDataFactory), -/* harmony export */ PDFDateString: () => (/* binding */ PDFDateString), -/* harmony export */ PageViewport: () => (/* binding */ PageViewport), -/* harmony export */ PixelsPerInch: () => (/* binding */ PixelsPerInch), -/* harmony export */ RenderingCancelledException: () => (/* binding */ RenderingCancelledException), -/* harmony export */ StatTimer: () => (/* binding */ StatTimer), -/* harmony export */ fetchData: () => (/* binding */ fetchData), -/* harmony export */ getColorValues: () => (/* binding */ getColorValues), -/* harmony export */ getCurrentTransform: () => (/* binding */ getCurrentTransform), -/* harmony export */ getCurrentTransformInverse: () => (/* binding */ getCurrentTransformInverse), -/* harmony export */ getFilenameFromUrl: () => (/* binding */ getFilenameFromUrl), -/* harmony export */ getPdfFilenameFromUrl: () => (/* binding */ getPdfFilenameFromUrl), -/* harmony export */ getRGB: () => (/* binding */ getRGB), -/* harmony export */ getXfaPageViewport: () => (/* binding */ getXfaPageViewport), -/* harmony export */ isDataScheme: () => (/* binding */ isDataScheme), -/* harmony export */ isPdfFile: () => (/* binding */ isPdfFile), -/* harmony export */ isValidFetchUrl: () => (/* binding */ isValidFetchUrl), -/* harmony export */ noContextMenu: () => (/* binding */ noContextMenu), -/* harmony export */ setLayerDimensions: () => (/* binding */ setLayerDimensions) -/* harmony export */ }); -/* unused harmony export deprecated */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4520); -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1454); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(8721); -/* harmony import */ var _base_factory_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2583); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(4292); - - - - - - - - - - - - - - - -const SVG_NS = "http://www.w3.org/2000/svg"; -class PixelsPerInch { - static CSS = 96.0; - static PDF = 72.0; - static PDF_TO_CSS_UNITS = this.CSS / this.PDF; -} -class DOMFilterFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_13__.BaseFilterFactory { - #_cache; - #_defs; - #docId; - #document; - #_hcmCache; - #id = 0; - constructor({ - docId, - ownerDocument = globalThis.document - } = {}) { - super(); - this.#docId = docId; - this.#document = ownerDocument; - } - get #cache() { - return this.#_cache ||= new Map(); - } - get #hcmCache() { - return this.#_hcmCache ||= new Map(); - } - get #defs() { - if (!this.#_defs) { - const div = this.#document.createElement("div"); - const { - style - } = div; - style.visibility = "hidden"; - style.contain = "strict"; - style.width = style.height = 0; - style.position = "absolute"; - style.top = style.left = 0; - style.zIndex = -1; - const svg = this.#document.createElementNS(SVG_NS, "svg"); - svg.setAttribute("width", 0); - svg.setAttribute("height", 0); - this.#_defs = this.#document.createElementNS(SVG_NS, "defs"); - div.append(svg); - svg.append(this.#_defs); - this.#document.body.append(div); - } - return this.#_defs; - } - addFilter(maps) { - if (!maps) { - return "none"; - } - let value = this.#cache.get(maps); - if (value) { - return value; - } - let tableR, tableG, tableB, key; - if (maps.length === 1) { - const mapR = maps[0]; - const buffer = new Array(256); - for (let i = 0; i < 256; i++) { - buffer[i] = mapR[i] / 255; - } - key = tableR = tableG = tableB = buffer.join(","); - } else { - const [mapR, mapG, mapB] = maps; - const bufferR = new Array(256); - const bufferG = new Array(256); - const bufferB = new Array(256); - for (let i = 0; i < 256; i++) { - bufferR[i] = mapR[i] / 255; - bufferG[i] = mapG[i] / 255; - bufferB[i] = mapB[i] / 255; - } - tableR = bufferR.join(","); - tableG = bufferG.join(","); - tableB = bufferB.join(","); - key = `${tableR}${tableG}${tableB}`; - } - value = this.#cache.get(key); - if (value) { - this.#cache.set(maps, value); - return value; - } - const id = `g_${this.#docId}_transfer_map_${this.#id++}`; - const url = `url(#${id})`; - this.#cache.set(maps, url); - this.#cache.set(key, url); - const filter = this.#createFilter(id); - this.#addTransferMapConversion(tableR, tableG, tableB, filter); - return url; - } - addHCMFilter(fgColor, bgColor) { - const key = `${fgColor}-${bgColor}`; - const filterName = "base"; - let info = this.#hcmCache.get(filterName); - if (info?.key === key) { - return info.url; - } - if (info) { - info.filter?.remove(); - info.key = key; - info.url = "none"; - info.filter = null; - } else { - info = { - key, - url: "none", - filter: null - }; - this.#hcmCache.set(filterName, info); - } - if (!fgColor || !bgColor) { - return info.url; - } - const fgRGB = this.#getRGB(fgColor); - fgColor = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.makeHexColor(...fgRGB); - const bgRGB = this.#getRGB(bgColor); - bgColor = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.makeHexColor(...bgRGB); - this.#defs.style.color = ""; - if (fgColor === "#000000" && bgColor === "#ffffff" || fgColor === bgColor) { - return info.url; - } - const map = new Array(256); - for (let i = 0; i <= 255; i++) { - const x = i / 255; - map[i] = x <= 0.03928 ? x / 12.92 : ((x + 0.055) / 1.055) ** 2.4; - } - const table = map.join(","); - const id = `g_${this.#docId}_hcm_filter`; - const filter = info.filter = this.#createFilter(id); - this.#addTransferMapConversion(table, table, table, filter); - this.#addGrayConversion(filter); - const getSteps = (c, n) => { - const start = fgRGB[c] / 255; - const end = bgRGB[c] / 255; - const arr = new Array(n + 1); - for (let i = 0; i <= n; i++) { - arr[i] = start + i / n * (end - start); - } - return arr.join(","); - }; - this.#addTransferMapConversion(getSteps(0, 5), getSteps(1, 5), getSteps(2, 5), filter); - info.url = `url(#${id})`; - return info.url; - } - addHighlightHCMFilter(filterName, fgColor, bgColor, newFgColor, newBgColor) { - const key = `${fgColor}-${bgColor}-${newFgColor}-${newBgColor}`; - let info = this.#hcmCache.get(filterName); - if (info?.key === key) { - return info.url; - } - if (info) { - info.filter?.remove(); - info.key = key; - info.url = "none"; - info.filter = null; - } else { - info = { - key, - url: "none", - filter: null - }; - this.#hcmCache.set(filterName, info); - } - if (!fgColor || !bgColor) { - return info.url; - } - const [fgRGB, bgRGB] = [fgColor, bgColor].map(this.#getRGB.bind(this)); - let fgGray = Math.round(0.2126 * fgRGB[0] + 0.7152 * fgRGB[1] + 0.0722 * fgRGB[2]); - let bgGray = Math.round(0.2126 * bgRGB[0] + 0.7152 * bgRGB[1] + 0.0722 * bgRGB[2]); - let [newFgRGB, newBgRGB] = [newFgColor, newBgColor].map(this.#getRGB.bind(this)); - if (bgGray < fgGray) { - [fgGray, bgGray, newFgRGB, newBgRGB] = [bgGray, fgGray, newBgRGB, newFgRGB]; - } - this.#defs.style.color = ""; - const getSteps = (fg, bg, n) => { - const arr = new Array(256); - const step = (bgGray - fgGray) / n; - const newStart = fg / 255; - const newStep = (bg - fg) / (255 * n); - let prev = 0; - for (let i = 0; i <= n; i++) { - const k = Math.round(fgGray + i * step); - const value = newStart + i * newStep; - for (let j = prev; j <= k; j++) { - arr[j] = value; - } - prev = k + 1; - } - for (let i = prev; i < 256; i++) { - arr[i] = arr[prev - 1]; - } - return arr.join(","); - }; - const id = `g_${this.#docId}_hcm_${filterName}_filter`; - const filter = info.filter = this.#createFilter(id); - this.#addGrayConversion(filter); - this.#addTransferMapConversion(getSteps(newFgRGB[0], newBgRGB[0], 5), getSteps(newFgRGB[1], newBgRGB[1], 5), getSteps(newFgRGB[2], newBgRGB[2], 5), filter); - info.url = `url(#${id})`; - return info.url; - } - destroy(keepHCM = false) { - if (keepHCM && this.#hcmCache.size !== 0) { - return; - } - if (this.#_defs) { - this.#_defs.parentNode.parentNode.remove(); - this.#_defs = null; - } - if (this.#_cache) { - this.#_cache.clear(); - this.#_cache = null; - } - this.#id = 0; - } - #addGrayConversion(filter) { - const feColorMatrix = this.#document.createElementNS(SVG_NS, "feColorMatrix"); - feColorMatrix.setAttribute("type", "matrix"); - feColorMatrix.setAttribute("values", "0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"); - filter.append(feColorMatrix); - } - #createFilter(id) { - const filter = this.#document.createElementNS(SVG_NS, "filter"); - filter.setAttribute("color-interpolation-filters", "sRGB"); - filter.setAttribute("id", id); - this.#defs.append(filter); - return filter; - } - #appendFeFunc(feComponentTransfer, func, table) { - const feFunc = this.#document.createElementNS(SVG_NS, func); - feFunc.setAttribute("type", "discrete"); - feFunc.setAttribute("tableValues", table); - feComponentTransfer.append(feFunc); - } - #addTransferMapConversion(rTable, gTable, bTable, filter) { - const feComponentTransfer = this.#document.createElementNS(SVG_NS, "feComponentTransfer"); - filter.append(feComponentTransfer); - this.#appendFeFunc(feComponentTransfer, "feFuncR", rTable); - this.#appendFeFunc(feComponentTransfer, "feFuncG", gTable); - this.#appendFeFunc(feComponentTransfer, "feFuncB", bTable); - } - #getRGB(color) { - this.#defs.style.color = color; - return getRGB(getComputedStyle(this.#defs).getPropertyValue("color")); - } -} -class DOMCanvasFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_13__.BaseCanvasFactory { - constructor({ - ownerDocument = globalThis.document - } = {}) { - super(); - this._document = ownerDocument; - } - _createCanvas(width, height) { - const canvas = this._document.createElement("canvas"); - canvas.width = width; - canvas.height = height; - return canvas; - } -} -async function fetchData(url, type = "text") { - if (isValidFetchUrl(url, document.baseURI)) { - const response = await fetch(url); - if (!response.ok) { - throw new Error(response.statusText); - } - switch (type) { - case "arraybuffer": - return response.arrayBuffer(); - case "blob": - return response.blob(); - case "json": - return response.json(); - } - return response.text(); - } - return new Promise((resolve, reject) => { - const request = new XMLHttpRequest(); - request.open("GET", url, true); - request.responseType = type; - request.onreadystatechange = () => { - if (request.readyState !== XMLHttpRequest.DONE) { - return; - } - if (request.status === 200 || request.status === 0) { - switch (type) { - case "arraybuffer": - case "blob": - case "json": - resolve(request.response); - return; - } - resolve(request.responseText); - return; - } - reject(new Error(request.statusText)); - }; - request.send(null); - }); -} -class DOMCMapReaderFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_13__.BaseCMapReaderFactory { - _fetchData(url, compressionType) { - return fetchData(url, this.isCompressed ? "arraybuffer" : "text").then(data => ({ - cMapData: data instanceof ArrayBuffer ? new Uint8Array(data) : (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.stringToBytes)(data), - compressionType - })); - } -} -class DOMStandardFontDataFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_13__.BaseStandardFontDataFactory { - _fetchData(url) { - return fetchData(url, "arraybuffer").then(data => new Uint8Array(data)); - } -} -class DOMSVGFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_13__.BaseSVGFactory { - _createSVG(type) { - return document.createElementNS(SVG_NS, type); - } -} -class PageViewport { - constructor({ - viewBox, - scale, - rotation, - offsetX = 0, - offsetY = 0, - dontFlip = false - }) { - this.viewBox = viewBox; - this.scale = scale; - this.rotation = rotation; - this.offsetX = offsetX; - this.offsetY = offsetY; - const centerX = (viewBox[2] + viewBox[0]) / 2; - const centerY = (viewBox[3] + viewBox[1]) / 2; - let rotateA, rotateB, rotateC, rotateD; - rotation %= 360; - if (rotation < 0) { - rotation += 360; - } - switch (rotation) { - case 180: - rotateA = -1; - rotateB = 0; - rotateC = 0; - rotateD = 1; - break; - case 90: - rotateA = 0; - rotateB = 1; - rotateC = 1; - rotateD = 0; - break; - case 270: - rotateA = 0; - rotateB = -1; - rotateC = -1; - rotateD = 0; - break; - case 0: - rotateA = 1; - rotateB = 0; - rotateC = 0; - rotateD = -1; - break; - default: - throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees."); - } - if (dontFlip) { - rotateC = -rotateC; - rotateD = -rotateD; - } - let offsetCanvasX, offsetCanvasY; - let width, height; - if (rotateA === 0) { - offsetCanvasX = Math.abs(centerY - viewBox[1]) * scale + offsetX; - offsetCanvasY = Math.abs(centerX - viewBox[0]) * scale + offsetY; - width = (viewBox[3] - viewBox[1]) * scale; - height = (viewBox[2] - viewBox[0]) * scale; - } else { - offsetCanvasX = Math.abs(centerX - viewBox[0]) * scale + offsetX; - offsetCanvasY = Math.abs(centerY - viewBox[1]) * scale + offsetY; - width = (viewBox[2] - viewBox[0]) * scale; - height = (viewBox[3] - viewBox[1]) * scale; - } - this.transform = [rotateA * scale, rotateB * scale, rotateC * scale, rotateD * scale, offsetCanvasX - rotateA * scale * centerX - rotateC * scale * centerY, offsetCanvasY - rotateB * scale * centerX - rotateD * scale * centerY]; - this.width = width; - this.height = height; - } - get rawDims() { - const { - viewBox - } = this; - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.shadow)(this, "rawDims", { - pageWidth: viewBox[2] - viewBox[0], - pageHeight: viewBox[3] - viewBox[1], - pageX: viewBox[0], - pageY: viewBox[1] - }); - } - clone({ - scale = this.scale, - rotation = this.rotation, - offsetX = this.offsetX, - offsetY = this.offsetY, - dontFlip = false - } = {}) { - return new PageViewport({ - viewBox: this.viewBox.slice(), - scale, - rotation, - offsetX, - offsetY, - dontFlip - }); - } - convertToViewportPoint(x, y) { - return _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.applyTransform([x, y], this.transform); - } - convertToViewportRectangle(rect) { - const topLeft = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.applyTransform([rect[0], rect[1]], this.transform); - const bottomRight = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.applyTransform([rect[2], rect[3]], this.transform); - return [topLeft[0], topLeft[1], bottomRight[0], bottomRight[1]]; - } - convertToPdfPoint(x, y) { - return _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.applyInverseTransform([x, y], this.transform); - } -} -class RenderingCancelledException extends _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.BaseException { - constructor(msg, extraDelay = 0) { - super(msg, "RenderingCancelledException"); - this.extraDelay = extraDelay; - } -} -function isDataScheme(url) { - const ii = url.length; - let i = 0; - while (i < ii && url[i].trim() === "") { - i++; - } - return url.substring(i, i + 5).toLowerCase() === "data:"; -} -function isPdfFile(filename) { - return typeof filename === "string" && /\.pdf$/i.test(filename); -} -function getFilenameFromUrl(url, onlyStripPath = false) { - if (!onlyStripPath) { - [url] = url.split(/[#?]/, 1); - } - return url.substring(url.lastIndexOf("/") + 1); -} -function getPdfFilenameFromUrl(url, defaultFilename = "document.pdf") { - if (typeof url !== "string") { - return defaultFilename; - } - if (isDataScheme(url)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'); - return defaultFilename; - } - const reURI = /^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/; - const reFilename = /[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i; - const splitURI = reURI.exec(url); - let suggestedFilename = reFilename.exec(splitURI[1]) || reFilename.exec(splitURI[2]) || reFilename.exec(splitURI[3]); - if (suggestedFilename) { - suggestedFilename = suggestedFilename[0]; - if (suggestedFilename.includes("%")) { - try { - suggestedFilename = reFilename.exec(decodeURIComponent(suggestedFilename))[0]; - } catch {} - } - } - return suggestedFilename || defaultFilename; -} -class StatTimer { - started = Object.create(null); - times = []; - time(name) { - if (name in this.started) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.warn)(`Timer is already running for ${name}`); - } - this.started[name] = Date.now(); - } - timeEnd(name) { - if (!(name in this.started)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.warn)(`Timer has not been started for ${name}`); - } - this.times.push({ - name, - start: this.started[name], - end: Date.now() - }); - delete this.started[name]; - } - toString() { - const outBuf = []; - let longest = 0; - for (const { - name - } of this.times) { - longest = Math.max(name.length, longest); - } - for (const { - name, - start, - end - } of this.times) { - outBuf.push(`${name.padEnd(longest)} ${end - start}ms\n`); - } - return outBuf.join(""); - } -} -function isValidFetchUrl(url, baseUrl) { - try { - const { - protocol - } = baseUrl ? new URL(url, baseUrl) : new URL(url); - return protocol === "http:" || protocol === "https:"; - } catch { - return false; - } -} -function noContextMenu(e) { - e.preventDefault(); -} -function deprecated(details) { - console.log("Deprecated API usage: " + details); -} -let pdfDateStringRegex; -class PDFDateString { - static toDateObject(input) { - if (!input || typeof input !== "string") { - return null; - } - pdfDateStringRegex ||= new RegExp("^D:" + "(\\d{4})" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "(\\d{2})?" + "([Z|+|-])?" + "(\\d{2})?" + "'?" + "(\\d{2})?" + "'?"); - const matches = pdfDateStringRegex.exec(input); - if (!matches) { - return null; - } - const year = parseInt(matches[1], 10); - let month = parseInt(matches[2], 10); - month = month >= 1 && month <= 12 ? month - 1 : 0; - let day = parseInt(matches[3], 10); - day = day >= 1 && day <= 31 ? day : 1; - let hour = parseInt(matches[4], 10); - hour = hour >= 0 && hour <= 23 ? hour : 0; - let minute = parseInt(matches[5], 10); - minute = minute >= 0 && minute <= 59 ? minute : 0; - let second = parseInt(matches[6], 10); - second = second >= 0 && second <= 59 ? second : 0; - const universalTimeRelation = matches[7] || "Z"; - let offsetHour = parseInt(matches[8], 10); - offsetHour = offsetHour >= 0 && offsetHour <= 23 ? offsetHour : 0; - let offsetMinute = parseInt(matches[9], 10) || 0; - offsetMinute = offsetMinute >= 0 && offsetMinute <= 59 ? offsetMinute : 0; - if (universalTimeRelation === "-") { - hour += offsetHour; - minute += offsetMinute; - } else if (universalTimeRelation === "+") { - hour -= offsetHour; - minute -= offsetMinute; - } - return new Date(Date.UTC(year, month, day, hour, minute, second)); - } -} -function getXfaPageViewport(xfaPage, { - scale = 1, - rotation = 0 -}) { - const { - width, - height - } = xfaPage.attributes.style; - const viewBox = [0, 0, parseInt(width), parseInt(height)]; - return new PageViewport({ - viewBox, - scale, - rotation - }); -} -function getRGB(color) { - if (color.startsWith("#")) { - const colorRGB = parseInt(color.slice(1), 16); - return [(colorRGB & 0xff0000) >> 16, (colorRGB & 0x00ff00) >> 8, colorRGB & 0x0000ff]; - } - if (color.startsWith("rgb(")) { - return color.slice(4, -1).split(",").map(x => parseInt(x)); - } - if (color.startsWith("rgba(")) { - return color.slice(5, -1).split(",").map(x => parseInt(x)).slice(0, 3); - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_14__.warn)(`Not a valid color format: "${color}"`); - return [0, 0, 0]; -} -function getColorValues(colors) { - const span = document.createElement("span"); - span.style.visibility = "hidden"; - document.body.append(span); - for (const name of colors.keys()) { - span.style.color = name; - const computedColor = window.getComputedStyle(span).color; - colors.set(name, getRGB(computedColor)); - } - span.remove(); -} -function getCurrentTransform(ctx) { - const { - a, - b, - c, - d, - e, - f - } = ctx.getTransform(); - return [a, b, c, d, e, f]; -} -function getCurrentTransformInverse(ctx) { - const { - a, - b, - c, - d, - e, - f - } = ctx.getTransform().invertSelf(); - return [a, b, c, d, e, f]; -} -function setLayerDimensions(div, viewport, mustFlip = false, mustRotate = true) { - if (viewport instanceof PageViewport) { - const { - pageWidth, - pageHeight - } = viewport.rawDims; - const { - style - } = div; - const useRound = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.FeatureTest.isCSSRoundSupported; - const w = `var(--scale-factor) * ${pageWidth}px`, - h = `var(--scale-factor) * ${pageHeight}px`; - const widthStr = useRound ? `round(${w}, 1px)` : `calc(${w})`, - heightStr = useRound ? `round(${h}, 1px)` : `calc(${h})`; - if (!mustFlip || viewport.rotation % 180 === 0) { - style.width = widthStr; - style.height = heightStr; - } else { - style.width = heightStr; - style.height = widthStr; - } - } - if (mustRotate) { - div.setAttribute("data-main-rotation", viewport.rotation); - } -} - - -/***/ }), - -/***/ 4047: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ DrawLayer: () => (/* binding */ DrawLayer) -/* harmony export */ }); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5419); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4292); - - -class DrawLayer { - #parent = null; - #id = 0; - #mapping = new Map(); - #toUpdate = new Map(); - constructor({ - pageIndex - }) { - this.pageIndex = pageIndex; - } - setParent(parent) { - if (!this.#parent) { - this.#parent = parent; - return; - } - if (this.#parent !== parent) { - if (this.#mapping.size > 0) { - for (const root of this.#mapping.values()) { - root.remove(); - parent.append(root); - } - } - this.#parent = parent; - } - } - static get _svgFactory() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_1__.shadow)(this, "_svgFactory", new _display_utils_js__WEBPACK_IMPORTED_MODULE_0__.DOMSVGFactory()); - } - static #setBox(element, { - x = 0, - y = 0, - width = 1, - height = 1 - } = {}) { - const { - style - } = element; - style.top = `${100 * y}%`; - style.left = `${100 * x}%`; - style.width = `${100 * width}%`; - style.height = `${100 * height}%`; - } - #createSVG(box) { - const svg = DrawLayer._svgFactory.create(1, 1, true); - this.#parent.append(svg); - svg.setAttribute("aria-hidden", true); - DrawLayer.#setBox(svg, box); - return svg; - } - #createClipPath(defs, pathId) { - const clipPath = DrawLayer._svgFactory.createElement("clipPath"); - defs.append(clipPath); - const clipPathId = `clip_${pathId}`; - clipPath.setAttribute("id", clipPathId); - clipPath.setAttribute("clipPathUnits", "objectBoundingBox"); - const clipPathUse = DrawLayer._svgFactory.createElement("use"); - clipPath.append(clipPathUse); - clipPathUse.setAttribute("href", `#${pathId}`); - clipPathUse.classList.add("clip"); - return clipPathId; - } - highlight(outlines, color, opacity, isPathUpdatable = false) { - const id = this.#id++; - const root = this.#createSVG(outlines.box); - root.classList.add("highlight"); - if (outlines.free) { - root.classList.add("free"); - } - const defs = DrawLayer._svgFactory.createElement("defs"); - root.append(defs); - const path = DrawLayer._svgFactory.createElement("path"); - defs.append(path); - const pathId = `path_p${this.pageIndex}_${id}`; - path.setAttribute("id", pathId); - path.setAttribute("d", outlines.toSVGPath()); - if (isPathUpdatable) { - this.#toUpdate.set(id, path); - } - const clipPathId = this.#createClipPath(defs, pathId); - const use = DrawLayer._svgFactory.createElement("use"); - root.append(use); - root.setAttribute("fill", color); - root.setAttribute("fill-opacity", opacity); - use.setAttribute("href", `#${pathId}`); - this.#mapping.set(id, root); - return { - id, - clipPathId: `url(#${clipPathId})` - }; - } - highlightOutline(outlines) { - const id = this.#id++; - const root = this.#createSVG(outlines.box); - root.classList.add("highlightOutline"); - const defs = DrawLayer._svgFactory.createElement("defs"); - root.append(defs); - const path = DrawLayer._svgFactory.createElement("path"); - defs.append(path); - const pathId = `path_p${this.pageIndex}_${id}`; - path.setAttribute("id", pathId); - path.setAttribute("d", outlines.toSVGPath()); - path.setAttribute("vector-effect", "non-scaling-stroke"); - let maskId; - if (outlines.free) { - root.classList.add("free"); - const mask = DrawLayer._svgFactory.createElement("mask"); - defs.append(mask); - maskId = `mask_p${this.pageIndex}_${id}`; - mask.setAttribute("id", maskId); - mask.setAttribute("maskUnits", "objectBoundingBox"); - const rect = DrawLayer._svgFactory.createElement("rect"); - mask.append(rect); - rect.setAttribute("width", "1"); - rect.setAttribute("height", "1"); - rect.setAttribute("fill", "white"); - const use = DrawLayer._svgFactory.createElement("use"); - mask.append(use); - use.setAttribute("href", `#${pathId}`); - use.setAttribute("stroke", "none"); - use.setAttribute("fill", "black"); - use.setAttribute("fill-rule", "nonzero"); - use.classList.add("mask"); - } - const use1 = DrawLayer._svgFactory.createElement("use"); - root.append(use1); - use1.setAttribute("href", `#${pathId}`); - if (maskId) { - use1.setAttribute("mask", `url(#${maskId})`); - } - const use2 = use1.cloneNode(); - root.append(use2); - use1.classList.add("mainOutline"); - use2.classList.add("secondaryOutline"); - this.#mapping.set(id, root); - return id; - } - finalizeLine(id, line) { - const path = this.#toUpdate.get(id); - this.#toUpdate.delete(id); - this.updateBox(id, line.box); - path.setAttribute("d", line.toSVGPath()); - } - updateLine(id, line) { - const root = this.#mapping.get(id); - const defs = root.firstChild; - const path = defs.firstChild; - path.setAttribute("d", line.toSVGPath()); - } - removeFreeHighlight(id) { - this.remove(id); - this.#toUpdate.delete(id); - } - updatePath(id, line) { - this.#toUpdate.get(id).setAttribute("d", line.toSVGPath()); - } - updateBox(id, box) { - DrawLayer.#setBox(this.#mapping.get(id), box); - } - show(id, visible) { - this.#mapping.get(id).classList.toggle("hidden", !visible); - } - rotate(id, angle) { - this.#mapping.get(id).setAttribute("data-main-rotation", angle); - } - changeColor(id, color) { - this.#mapping.get(id).setAttribute("fill", color); - } - changeOpacity(id, opacity) { - this.#mapping.get(id).setAttribute("fill-opacity", opacity); - } - addClass(id, className) { - this.#mapping.get(id).classList.add(className); - } - removeClass(id, className) { - this.#mapping.get(id).classList.remove(className); - } - remove(id) { - if (this.#parent === null) { - return; - } - this.#mapping.get(id).remove(); - this.#mapping.delete(id); - } - destroy() { - this.#parent = null; - for (const root of this.#mapping.values()) { - root.remove(); - } - this.#mapping.clear(); - } -} - - -/***/ }), - -/***/ 9731: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - AnnotationEditorLayer: () => (/* binding */ AnnotationEditorLayer) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js -var esnext_set_difference_v2 = __webpack_require__(3375); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js -var esnext_set_intersection_v2 = __webpack_require__(9225); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js -var esnext_set_is_disjoint_from_v2 = __webpack_require__(3972); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js -var esnext_set_is_subset_of_v2 = __webpack_require__(9209); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js -var esnext_set_is_superset_of_v2 = __webpack_require__(5714); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js -var esnext_set_symmetric_difference_v2 = __webpack_require__(7561); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js -var esnext_set_union_v2 = __webpack_require__(6197); -// EXTERNAL MODULE: ./src/shared/util.js -var util = __webpack_require__(4292); -// EXTERNAL MODULE: ./src/display/editor/editor.js + 1 modules -var editor_editor = __webpack_require__(310); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.some.js -var esnext_iterator_some = __webpack_require__(7550); -// EXTERNAL MODULE: ./src/display/editor/tools.js -var tools = __webpack_require__(7830); -// EXTERNAL MODULE: ./src/display/annotation_layer.js + 1 modules -var annotation_layer = __webpack_require__(6976); -;// CONCATENATED MODULE: ./src/display/editor/freetext.js - - - - - - - -const EOL_PATTERN = /\r\n?|\n/g; -class FreeTextEditor extends editor_editor.AnnotationEditor { - #boundEditorDivBlur = this.editorDivBlur.bind(this); - #boundEditorDivFocus = this.editorDivFocus.bind(this); - #boundEditorDivInput = this.editorDivInput.bind(this); - #boundEditorDivKeydown = this.editorDivKeydown.bind(this); - #boundEditorDivPaste = this.editorDivPaste.bind(this); - #color; - #content = ""; - #editorDivId = `${this.id}-editor`; - #fontSize; - #initialData = null; - static _freeTextDefaultContent = ""; - static _internalPadding = 0; - static _defaultColor = null; - static _defaultFontSize = 10; - static get _keyboardManager() { - const proto = FreeTextEditor.prototype; - const arrowChecker = self => self.isEmpty(); - const small = tools.AnnotationEditorUIManager.TRANSLATE_SMALL; - const big = tools.AnnotationEditorUIManager.TRANSLATE_BIG; - return (0,util.shadow)(this, "_keyboardManager", new tools.KeyboardManager([[["ctrl+s", "mac+meta+s", "ctrl+p", "mac+meta+p"], proto.commitOrRemove, { - bubbles: true - }], [["ctrl+Enter", "mac+meta+Enter", "Escape", "mac+Escape"], proto.commitOrRemove], [["ArrowLeft", "mac+ArrowLeft"], proto._translateEmpty, { - args: [-small, 0], - checker: arrowChecker - }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], proto._translateEmpty, { - args: [-big, 0], - checker: arrowChecker - }], [["ArrowRight", "mac+ArrowRight"], proto._translateEmpty, { - args: [small, 0], - checker: arrowChecker - }], [["ctrl+ArrowRight", "mac+shift+ArrowRight"], proto._translateEmpty, { - args: [big, 0], - checker: arrowChecker - }], [["ArrowUp", "mac+ArrowUp"], proto._translateEmpty, { - args: [0, -small], - checker: arrowChecker - }], [["ctrl+ArrowUp", "mac+shift+ArrowUp"], proto._translateEmpty, { - args: [0, -big], - checker: arrowChecker - }], [["ArrowDown", "mac+ArrowDown"], proto._translateEmpty, { - args: [0, small], - checker: arrowChecker - }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], proto._translateEmpty, { - args: [0, big], - checker: arrowChecker - }]])); - } - static _type = "freetext"; - static _editorType = util.AnnotationEditorType.FREETEXT; - constructor(params) { - super({ - ...params, - name: "freeTextEditor" - }); - this.#color = params.color || FreeTextEditor._defaultColor || editor_editor.AnnotationEditor._defaultLineColor; - this.#fontSize = params.fontSize || FreeTextEditor._defaultFontSize; - } - static initialize(l10n, uiManager) { - editor_editor.AnnotationEditor.initialize(l10n, uiManager, { - strings: ["pdfjs-free-text-default-content"] - }); - const style = getComputedStyle(document.documentElement); - this._internalPadding = parseFloat(style.getPropertyValue("--freetext-padding")); - } - static updateDefaultParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.FREETEXT_SIZE: - FreeTextEditor._defaultFontSize = value; - break; - case util.AnnotationEditorParamsType.FREETEXT_COLOR: - FreeTextEditor._defaultColor = value; - break; - } - } - updateParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.FREETEXT_SIZE: - this.#updateFontSize(value); - break; - case util.AnnotationEditorParamsType.FREETEXT_COLOR: - this.#updateColor(value); - break; - } - } - static get defaultPropertiesToUpdate() { - return [[util.AnnotationEditorParamsType.FREETEXT_SIZE, FreeTextEditor._defaultFontSize], [util.AnnotationEditorParamsType.FREETEXT_COLOR, FreeTextEditor._defaultColor || editor_editor.AnnotationEditor._defaultLineColor]]; - } - get propertiesToUpdate() { - return [[util.AnnotationEditorParamsType.FREETEXT_SIZE, this.#fontSize], [util.AnnotationEditorParamsType.FREETEXT_COLOR, this.#color]]; - } - #updateFontSize(fontSize) { - const setFontsize = size => { - this.editorDiv.style.fontSize = `calc(${size}px * var(--scale-factor))`; - this.translate(0, -(size - this.#fontSize) * this.parentScale); - this.#fontSize = size; - this.#setEditorDimensions(); - }; - const savedFontsize = this.#fontSize; - this.addCommands({ - cmd: setFontsize.bind(this, fontSize), - undo: setFontsize.bind(this, savedFontsize), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.FREETEXT_SIZE, - overwriteIfSameType: true, - keepUndo: true - }); - } - #updateColor(color) { - const setColor = col => { - this.#color = this.editorDiv.style.color = col; - }; - const savedColor = this.#color; - this.addCommands({ - cmd: setColor.bind(this, color), - undo: setColor.bind(this, savedColor), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.FREETEXT_COLOR, - overwriteIfSameType: true, - keepUndo: true - }); - } - _translateEmpty(x, y) { - this._uiManager.translateSelectedEditors(x, y, true); - } - getInitialTranslation() { - const scale = this.parentScale; - return [-FreeTextEditor._internalPadding * scale, -(FreeTextEditor._internalPadding + this.#fontSize) * scale]; - } - rebuild() { - if (!this.parent) { - return; - } - super.rebuild(); - if (this.div === null) { - return; - } - if (!this.isAttachedToDOM) { - this.parent.add(this); - } - } - enableEditMode() { - if (this.isInEditMode()) { - return; - } - this.parent.setEditingState(false); - this.parent.updateToolbar(util.AnnotationEditorType.FREETEXT); - super.enableEditMode(); - this.overlayDiv.classList.remove("enabled"); - this.editorDiv.contentEditable = true; - this._isDraggable = false; - this.div.removeAttribute("aria-activedescendant"); - this.editorDiv.addEventListener("keydown", this.#boundEditorDivKeydown); - this.editorDiv.addEventListener("focus", this.#boundEditorDivFocus); - this.editorDiv.addEventListener("blur", this.#boundEditorDivBlur); - this.editorDiv.addEventListener("input", this.#boundEditorDivInput); - this.editorDiv.addEventListener("paste", this.#boundEditorDivPaste); - } - disableEditMode() { - if (!this.isInEditMode()) { - return; - } - this.parent.setEditingState(true); - super.disableEditMode(); - this.overlayDiv.classList.add("enabled"); - this.editorDiv.contentEditable = false; - this.div.setAttribute("aria-activedescendant", this.#editorDivId); - this._isDraggable = true; - this.editorDiv.removeEventListener("keydown", this.#boundEditorDivKeydown); - this.editorDiv.removeEventListener("focus", this.#boundEditorDivFocus); - this.editorDiv.removeEventListener("blur", this.#boundEditorDivBlur); - this.editorDiv.removeEventListener("input", this.#boundEditorDivInput); - this.editorDiv.removeEventListener("paste", this.#boundEditorDivPaste); - this.div.focus({ - preventScroll: true - }); - this.isEditing = false; - this.parent.div.classList.add("freetextEditing"); - } - focusin(event) { - if (!this._focusEventsAllowed) { - return; - } - super.focusin(event); - if (event.target !== this.editorDiv) { - this.editorDiv.focus(); - } - } - onceAdded() { - if (this.width) { - return; - } - this.enableEditMode(); - this.editorDiv.focus(); - if (this._initialOptions?.isCentered) { - this.center(); - } - this._initialOptions = null; - } - isEmpty() { - return !this.editorDiv || this.editorDiv.innerText.trim() === ""; - } - remove() { - this.isEditing = false; - if (this.parent) { - this.parent.setEditingState(true); - this.parent.div.classList.add("freetextEditing"); - } - super.remove(); - } - #extractText() { - const buffer = []; - this.editorDiv.normalize(); - for (const child of this.editorDiv.childNodes) { - buffer.push(FreeTextEditor.#getNodeContent(child)); - } - return buffer.join("\n"); - } - #setEditorDimensions() { - const [parentWidth, parentHeight] = this.parentDimensions; - let rect; - if (this.isAttachedToDOM) { - rect = this.div.getBoundingClientRect(); - } else { - const { - currentLayer, - div - } = this; - const savedDisplay = div.style.display; - const savedVisibility = div.classList.contains("hidden"); - div.classList.remove("hidden"); - div.style.display = "hidden"; - currentLayer.div.append(this.div); - rect = div.getBoundingClientRect(); - div.remove(); - div.style.display = savedDisplay; - div.classList.toggle("hidden", savedVisibility); - } - if (this.rotation % 180 === this.parentRotation % 180) { - this.width = rect.width / parentWidth; - this.height = rect.height / parentHeight; - } else { - this.width = rect.height / parentWidth; - this.height = rect.width / parentHeight; - } - this.fixAndSetPosition(); - } - commit() { - if (!this.isInEditMode()) { - return; - } - super.commit(); - this.disableEditMode(); - const savedText = this.#content; - const newText = this.#content = this.#extractText().trimEnd(); - if (savedText === newText) { - return; - } - const setText = text => { - this.#content = text; - if (!text) { - this.remove(); - return; - } - this.#setContent(); - this._uiManager.rebuild(this); - this.#setEditorDimensions(); - }; - this.addCommands({ - cmd: () => { - setText(newText); - }, - undo: () => { - setText(savedText); - }, - mustExec: false - }); - this.#setEditorDimensions(); - } - shouldGetKeyboardEvents() { - return this.isInEditMode(); - } - enterInEditMode() { - this.enableEditMode(); - this.editorDiv.focus(); - } - dblclick(event) { - this.enterInEditMode(); - } - keydown(event) { - if (event.target === this.div && event.key === "Enter") { - this.enterInEditMode(); - event.preventDefault(); - } - } - editorDivKeydown(event) { - FreeTextEditor._keyboardManager.exec(this, event); - } - editorDivFocus(event) { - this.isEditing = true; - } - editorDivBlur(event) { - this.isEditing = false; - } - editorDivInput(event) { - this.parent.div.classList.toggle("freetextEditing", this.isEmpty()); - } - disableEditing() { - this.editorDiv.setAttribute("role", "comment"); - this.editorDiv.removeAttribute("aria-multiline"); - } - enableEditing() { - this.editorDiv.setAttribute("role", "textbox"); - this.editorDiv.setAttribute("aria-multiline", true); - } - render() { - if (this.div) { - return this.div; - } - let baseX, baseY; - if (this.width) { - baseX = this.x; - baseY = this.y; - } - super.render(); - this.editorDiv = document.createElement("div"); - this.editorDiv.className = "internal"; - this.editorDiv.setAttribute("id", this.#editorDivId); - this.editorDiv.setAttribute("data-l10n-id", "pdfjs-free-text"); - this.enableEditing(); - editor_editor.AnnotationEditor._l10nPromise.get("pdfjs-free-text-default-content").then(msg => this.editorDiv?.setAttribute("default-content", msg)); - this.editorDiv.contentEditable = true; - const { - style - } = this.editorDiv; - style.fontSize = `calc(${this.#fontSize}px * var(--scale-factor))`; - style.color = this.#color; - this.div.append(this.editorDiv); - this.overlayDiv = document.createElement("div"); - this.overlayDiv.classList.add("overlay", "enabled"); - this.div.append(this.overlayDiv); - (0,tools.bindEvents)(this, this.div, ["dblclick", "keydown"]); - if (this.width) { - const [parentWidth, parentHeight] = this.parentDimensions; - if (this.annotationElementId) { - const { - position - } = this.#initialData; - let [tx, ty] = this.getInitialTranslation(); - [tx, ty] = this.pageTranslationToScreen(tx, ty); - const [pageWidth, pageHeight] = this.pageDimensions; - const [pageX, pageY] = this.pageTranslation; - let posX, posY; - switch (this.rotation) { - case 0: - posX = baseX + (position[0] - pageX) / pageWidth; - posY = baseY + this.height - (position[1] - pageY) / pageHeight; - break; - case 90: - posX = baseX + (position[0] - pageX) / pageWidth; - posY = baseY - (position[1] - pageY) / pageHeight; - [tx, ty] = [ty, -tx]; - break; - case 180: - posX = baseX - this.width + (position[0] - pageX) / pageWidth; - posY = baseY - (position[1] - pageY) / pageHeight; - [tx, ty] = [-tx, -ty]; - break; - case 270: - posX = baseX + (position[0] - pageX - this.height * pageHeight) / pageWidth; - posY = baseY + (position[1] - pageY - this.width * pageWidth) / pageHeight; - [tx, ty] = [-ty, tx]; - break; - } - this.setAt(posX * parentWidth, posY * parentHeight, tx, ty); - } else { - this.setAt(baseX * parentWidth, baseY * parentHeight, this.width * parentWidth, this.height * parentHeight); - } - this.#setContent(); - this._isDraggable = true; - this.editorDiv.contentEditable = false; - } else { - this._isDraggable = false; - this.editorDiv.contentEditable = true; - } - return this.div; - } - static #getNodeContent(node) { - return (node.nodeType === Node.TEXT_NODE ? node.nodeValue : node.innerText).replaceAll(EOL_PATTERN, ""); - } - editorDivPaste(event) { - const clipboardData = event.clipboardData || window.clipboardData; - const { - types - } = clipboardData; - if (types.length === 1 && types[0] === "text/plain") { - return; - } - event.preventDefault(); - const paste = FreeTextEditor.#deserializeContent(clipboardData.getData("text") || "").replaceAll(EOL_PATTERN, "\n"); - if (!paste) { - return; - } - const selection = window.getSelection(); - if (!selection.rangeCount) { - return; - } - this.editorDiv.normalize(); - selection.deleteFromDocument(); - const range = selection.getRangeAt(0); - if (!paste.includes("\n")) { - range.insertNode(document.createTextNode(paste)); - this.editorDiv.normalize(); - selection.collapseToStart(); - return; - } - const { - startContainer, - startOffset - } = range; - const bufferBefore = []; - const bufferAfter = []; - if (startContainer.nodeType === Node.TEXT_NODE) { - const parent = startContainer.parentElement; - bufferAfter.push(startContainer.nodeValue.slice(startOffset).replaceAll(EOL_PATTERN, "")); - if (parent !== this.editorDiv) { - let buffer = bufferBefore; - for (const child of this.editorDiv.childNodes) { - if (child === parent) { - buffer = bufferAfter; - continue; - } - buffer.push(FreeTextEditor.#getNodeContent(child)); - } - } - bufferBefore.push(startContainer.nodeValue.slice(0, startOffset).replaceAll(EOL_PATTERN, "")); - } else if (startContainer === this.editorDiv) { - let buffer = bufferBefore; - let i = 0; - for (const child of this.editorDiv.childNodes) { - if (i++ === startOffset) { - buffer = bufferAfter; - } - buffer.push(FreeTextEditor.#getNodeContent(child)); - } - } - this.#content = `${bufferBefore.join("\n")}${paste}${bufferAfter.join("\n")}`; - this.#setContent(); - const newRange = new Range(); - let beforeLength = bufferBefore.reduce((acc, line) => acc + line.length, 0); - for (const { - firstChild - } of this.editorDiv.childNodes) { - if (firstChild.nodeType === Node.TEXT_NODE) { - const length = firstChild.nodeValue.length; - if (beforeLength <= length) { - newRange.setStart(firstChild, beforeLength); - newRange.setEnd(firstChild, beforeLength); - break; - } - beforeLength -= length; - } - } - selection.removeAllRanges(); - selection.addRange(newRange); - } - #setContent() { - this.editorDiv.replaceChildren(); - if (!this.#content) { - return; - } - for (const line of this.#content.split("\n")) { - const div = document.createElement("div"); - div.append(line ? document.createTextNode(line) : document.createElement("br")); - this.editorDiv.append(div); - } - } - #serializeContent() { - return this.#content.replaceAll("\xa0", " "); - } - static #deserializeContent(content) { - return content.replaceAll(" ", "\xa0"); - } - get contentDiv() { - return this.editorDiv; - } - static deserialize(data, parent, uiManager) { - let initialData = null; - if (data instanceof annotation_layer.FreeTextAnnotationElement) { - const { - data: { - defaultAppearanceData: { - fontSize, - fontColor - }, - rect, - rotation, - id - }, - textContent, - textPosition, - parent: { - page: { - pageNumber - } - } - } = data; - if (!textContent || textContent.length === 0) { - return null; - } - initialData = data = { - annotationType: util.AnnotationEditorType.FREETEXT, - color: Array.from(fontColor), - fontSize, - value: textContent.join("\n"), - position: textPosition, - pageIndex: pageNumber - 1, - rect: rect.slice(0), - rotation, - id, - deleted: false - }; - } - const editor = super.deserialize(data, parent, uiManager); - editor.#fontSize = data.fontSize; - editor.#color = util.Util.makeHexColor(...data.color); - editor.#content = FreeTextEditor.#deserializeContent(data.value); - editor.annotationElementId = data.id || null; - editor.#initialData = initialData; - return editor; - } - serialize(isForCopying = false) { - if (this.isEmpty()) { - return null; - } - if (this.deleted) { - return { - pageIndex: this.pageIndex, - id: this.annotationElementId, - deleted: true - }; - } - const padding = FreeTextEditor._internalPadding * this.parentScale; - const rect = this.getRect(padding, padding); - const color = editor_editor.AnnotationEditor._colorManager.convert(this.isAttachedToDOM ? getComputedStyle(this.editorDiv).color : this.#color); - const serialized = { - annotationType: util.AnnotationEditorType.FREETEXT, - color, - fontSize: this.#fontSize, - value: this.#serializeContent(), - pageIndex: this.pageIndex, - rect, - rotation: this.rotation, - structTreeParentId: this._structTreeParentId - }; - if (isForCopying) { - return serialized; - } - if (this.annotationElementId && !this.#hasElementChanged(serialized)) { - return null; - } - serialized.id = this.annotationElementId; - return serialized; - } - #hasElementChanged(serialized) { - const { - value, - fontSize, - color, - pageIndex - } = this.#initialData; - return this._hasBeenMoved || serialized.value !== value || serialized.fontSize !== fontSize || serialized.color.some((c, i) => c !== color[i]) || serialized.pageIndex !== pageIndex; - } - renderAnnotationElement(annotation) { - const content = super.renderAnnotationElement(annotation); - if (this.deleted) { - return content; - } - const { - style - } = content; - style.fontSize = `calc(${this.#fontSize}px * var(--scale-factor))`; - style.color = this.#color; - content.replaceChildren(); - for (const line of this.#content.split("\n")) { - const div = document.createElement("div"); - div.append(line ? document.createTextNode(line) : document.createElement("br")); - content.append(div); - } - const padding = FreeTextEditor._internalPadding * this.parentScale; - annotation.updateEdited({ - rect: this.getRect(padding, padding) - }); - return content; - } - resetAnnotationElement(annotation) { - super.resetAnnotationElement(annotation); - annotation.resetEdited(); - } -} - -// EXTERNAL MODULE: ./src/display/editor/outliner.js -var editor_outliner = __webpack_require__(4061); -// EXTERNAL MODULE: ./src/display/editor/color_picker.js -var color_picker = __webpack_require__(2259); -// EXTERNAL MODULE: ./src/display/display_utils.js -var display_utils = __webpack_require__(5419); -;// CONCATENATED MODULE: ./src/display/editor/highlight.js - - - - - - - -class HighlightEditor extends editor_editor.AnnotationEditor { - #anchorNode = null; - #anchorOffset = 0; - #boxes; - #clipPathId = null; - #colorPicker = null; - #focusOutlines = null; - #focusNode = null; - #focusOffset = 0; - #highlightDiv = null; - #highlightOutlines = null; - #id = null; - #isFreeHighlight = false; - #boundKeydown = this.#keydown.bind(this); - #lastPoint = null; - #opacity; - #outlineId = null; - #text = ""; - #thickness; - #methodOfCreation = ""; - static _defaultColor = null; - static _defaultOpacity = 1; - static _defaultThickness = 12; - static _l10nPromise; - static _type = "highlight"; - static _editorType = util.AnnotationEditorType.HIGHLIGHT; - static _freeHighlightId = -1; - static _freeHighlight = null; - static _freeHighlightClipId = ""; - static get _keyboardManager() { - const proto = HighlightEditor.prototype; - return (0,util.shadow)(this, "_keyboardManager", new tools.KeyboardManager([[["ArrowLeft", "mac+ArrowLeft"], proto._moveCaret, { - args: [0] - }], [["ArrowRight", "mac+ArrowRight"], proto._moveCaret, { - args: [1] - }], [["ArrowUp", "mac+ArrowUp"], proto._moveCaret, { - args: [2] - }], [["ArrowDown", "mac+ArrowDown"], proto._moveCaret, { - args: [3] - }]])); - } - constructor(params) { - super({ - ...params, - name: "highlightEditor" - }); - this.color = params.color || HighlightEditor._defaultColor; - this.#thickness = params.thickness || HighlightEditor._defaultThickness; - this.#opacity = params.opacity || HighlightEditor._defaultOpacity; - this.#boxes = params.boxes || null; - this.#methodOfCreation = params.methodOfCreation || ""; - this.#text = params.text || ""; - this._isDraggable = false; - if (params.highlightId > -1) { - this.#isFreeHighlight = true; - this.#createFreeOutlines(params); - this.#addToDrawLayer(); - } else { - this.#anchorNode = params.anchorNode; - this.#anchorOffset = params.anchorOffset; - this.#focusNode = params.focusNode; - this.#focusOffset = params.focusOffset; - this.#createOutlines(); - this.#addToDrawLayer(); - this.rotate(this.rotation); - } - } - get telemetryInitialData() { - return { - action: "added", - type: this.#isFreeHighlight ? "free_highlight" : "highlight", - color: this._uiManager.highlightColorNames.get(this.color), - thickness: this.#thickness, - methodOfCreation: this.#methodOfCreation - }; - } - get telemetryFinalData() { - return { - type: "highlight", - color: this._uiManager.highlightColorNames.get(this.color) - }; - } - static computeTelemetryFinalData(data) { - return { - numberOfColors: data.get("color").size - }; - } - #createOutlines() { - const outliner = new editor_outliner.Outliner(this.#boxes, 0.001); - this.#highlightOutlines = outliner.getOutlines(); - ({ - x: this.x, - y: this.y, - width: this.width, - height: this.height - } = this.#highlightOutlines.box); - const outlinerForOutline = new editor_outliner.Outliner(this.#boxes, 0.0025, 0.001, this._uiManager.direction === "ltr"); - this.#focusOutlines = outlinerForOutline.getOutlines(); - const { - lastPoint - } = this.#focusOutlines.box; - this.#lastPoint = [(lastPoint[0] - this.x) / this.width, (lastPoint[1] - this.y) / this.height]; - } - #createFreeOutlines({ - highlightOutlines, - highlightId, - clipPathId - }) { - this.#highlightOutlines = highlightOutlines; - const extraThickness = 1.5; - this.#focusOutlines = highlightOutlines.getNewOutline(this.#thickness / 2 + extraThickness, 0.0025); - if (highlightId >= 0) { - this.#id = highlightId; - this.#clipPathId = clipPathId; - this.parent.drawLayer.finalizeLine(highlightId, highlightOutlines); - this.#outlineId = this.parent.drawLayer.highlightOutline(this.#focusOutlines); - } else if (this.parent) { - const angle = this.parent.viewport.rotation; - this.parent.drawLayer.updateLine(this.#id, highlightOutlines); - this.parent.drawLayer.updateBox(this.#id, HighlightEditor.#rotateBbox(this.#highlightOutlines.box, (angle - this.rotation + 360) % 360)); - this.parent.drawLayer.updateLine(this.#outlineId, this.#focusOutlines); - this.parent.drawLayer.updateBox(this.#outlineId, HighlightEditor.#rotateBbox(this.#focusOutlines.box, angle)); - } - const { - x, - y, - width, - height - } = highlightOutlines.box; - switch (this.rotation) { - case 0: - this.x = x; - this.y = y; - this.width = width; - this.height = height; - break; - case 90: - { - const [pageWidth, pageHeight] = this.parentDimensions; - this.x = y; - this.y = 1 - x; - this.width = width * pageHeight / pageWidth; - this.height = height * pageWidth / pageHeight; - break; - } - case 180: - this.x = 1 - x; - this.y = 1 - y; - this.width = width; - this.height = height; - break; - case 270: - { - const [pageWidth, pageHeight] = this.parentDimensions; - this.x = 1 - y; - this.y = x; - this.width = width * pageHeight / pageWidth; - this.height = height * pageWidth / pageHeight; - break; - } - } - const { - lastPoint - } = this.#focusOutlines.box; - this.#lastPoint = [(lastPoint[0] - x) / width, (lastPoint[1] - y) / height]; - } - static initialize(l10n, uiManager) { - editor_editor.AnnotationEditor.initialize(l10n, uiManager); - HighlightEditor._defaultColor ||= uiManager.highlightColors?.values().next().value || "#fff066"; - } - static updateDefaultParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.HIGHLIGHT_DEFAULT_COLOR: - HighlightEditor._defaultColor = value; - break; - case util.AnnotationEditorParamsType.HIGHLIGHT_THICKNESS: - HighlightEditor._defaultThickness = value; - break; - } - } - translateInPage(x, y) {} - get toolbarPosition() { - return this.#lastPoint; - } - updateParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.HIGHLIGHT_COLOR: - this.#updateColor(value); - break; - case util.AnnotationEditorParamsType.HIGHLIGHT_THICKNESS: - this.#updateThickness(value); - break; - } - } - static get defaultPropertiesToUpdate() { - return [[util.AnnotationEditorParamsType.HIGHLIGHT_DEFAULT_COLOR, HighlightEditor._defaultColor], [util.AnnotationEditorParamsType.HIGHLIGHT_THICKNESS, HighlightEditor._defaultThickness]]; - } - get propertiesToUpdate() { - return [[util.AnnotationEditorParamsType.HIGHLIGHT_COLOR, this.color || HighlightEditor._defaultColor], [util.AnnotationEditorParamsType.HIGHLIGHT_THICKNESS, this.#thickness || HighlightEditor._defaultThickness], [util.AnnotationEditorParamsType.HIGHLIGHT_FREE, this.#isFreeHighlight]]; - } - #updateColor(color) { - const setColor = col => { - this.color = col; - this.parent?.drawLayer.changeColor(this.#id, col); - this.#colorPicker?.updateColor(col); - }; - const savedColor = this.color; - this.addCommands({ - cmd: setColor.bind(this, color), - undo: setColor.bind(this, savedColor), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.HIGHLIGHT_COLOR, - overwriteIfSameType: true, - keepUndo: true - }); - this._reportTelemetry({ - action: "color_changed", - color: this._uiManager.highlightColorNames.get(color) - }, true); - } - #updateThickness(thickness) { - const savedThickness = this.#thickness; - const setThickness = th => { - this.#thickness = th; - this.#changeThickness(th); - }; - this.addCommands({ - cmd: setThickness.bind(this, thickness), - undo: setThickness.bind(this, savedThickness), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.INK_THICKNESS, - overwriteIfSameType: true, - keepUndo: true - }); - this._reportTelemetry({ - action: "thickness_changed", - thickness - }, true); - } - async addEditToolbar() { - const toolbar = await super.addEditToolbar(); - if (!toolbar) { - return null; - } - if (this._uiManager.highlightColors) { - this.#colorPicker = new color_picker.ColorPicker({ - editor: this - }); - toolbar.addColorPicker(this.#colorPicker); - } - return toolbar; - } - disableEditing() { - super.disableEditing(); - this.div.classList.toggle("disabled", true); - } - enableEditing() { - super.enableEditing(); - this.div.classList.toggle("disabled", false); - } - fixAndSetPosition() { - return super.fixAndSetPosition(this.#getRotation()); - } - getBaseTranslation() { - return [0, 0]; - } - getRect(tx, ty) { - return super.getRect(tx, ty, this.#getRotation()); - } - onceAdded() { - this.parent.addUndoableEditor(this); - this.div.focus(); - } - remove() { - this.#cleanDrawLayer(); - this._reportTelemetry({ - action: "deleted" - }); - super.remove(); - } - rebuild() { - if (!this.parent) { - return; - } - super.rebuild(); - if (this.div === null) { - return; - } - this.#addToDrawLayer(); - if (!this.isAttachedToDOM) { - this.parent.add(this); - } - } - setParent(parent) { - let mustBeSelected = false; - if (this.parent && !parent) { - this.#cleanDrawLayer(); - } else if (parent) { - this.#addToDrawLayer(parent); - mustBeSelected = !this.parent && this.div?.classList.contains("selectedEditor"); - } - super.setParent(parent); - this.show(this._isVisible); - if (mustBeSelected) { - this.select(); - } - } - #changeThickness(thickness) { - if (!this.#isFreeHighlight) { - return; - } - this.#createFreeOutlines({ - highlightOutlines: this.#highlightOutlines.getNewOutline(thickness / 2) - }); - this.fixAndSetPosition(); - const [parentWidth, parentHeight] = this.parentDimensions; - this.setDims(this.width * parentWidth, this.height * parentHeight); - } - #cleanDrawLayer() { - if (this.#id === null || !this.parent) { - return; - } - this.parent.drawLayer.remove(this.#id); - this.#id = null; - this.parent.drawLayer.remove(this.#outlineId); - this.#outlineId = null; - } - #addToDrawLayer(parent = this.parent) { - if (this.#id !== null) { - return; - } - ({ - id: this.#id, - clipPathId: this.#clipPathId - } = parent.drawLayer.highlight(this.#highlightOutlines, this.color, this.#opacity)); - this.#outlineId = parent.drawLayer.highlightOutline(this.#focusOutlines); - if (this.#highlightDiv) { - this.#highlightDiv.style.clipPath = this.#clipPathId; - } - } - static #rotateBbox({ - x, - y, - width, - height - }, angle) { - switch (angle) { - case 90: - return { - x: 1 - y - height, - y: x, - width: height, - height: width - }; - case 180: - return { - x: 1 - x - width, - y: 1 - y - height, - width, - height - }; - case 270: - return { - x: y, - y: 1 - x - width, - width: height, - height: width - }; - } - return { - x, - y, - width, - height - }; - } - rotate(angle) { - const { - drawLayer - } = this.parent; - let box; - if (this.#isFreeHighlight) { - angle = (angle - this.rotation + 360) % 360; - box = HighlightEditor.#rotateBbox(this.#highlightOutlines.box, angle); - } else { - box = HighlightEditor.#rotateBbox(this, angle); - } - drawLayer.rotate(this.#id, angle); - drawLayer.rotate(this.#outlineId, angle); - drawLayer.updateBox(this.#id, box); - drawLayer.updateBox(this.#outlineId, HighlightEditor.#rotateBbox(this.#focusOutlines.box, angle)); - } - render() { - if (this.div) { - return this.div; - } - const div = super.render(); - if (this.#text) { - div.setAttribute("aria-label", this.#text); - div.setAttribute("role", "mark"); - } - if (this.#isFreeHighlight) { - div.classList.add("free"); - } else { - this.div.addEventListener("keydown", this.#boundKeydown); - } - const highlightDiv = this.#highlightDiv = document.createElement("div"); - div.append(highlightDiv); - highlightDiv.setAttribute("aria-hidden", "true"); - highlightDiv.className = "internal"; - highlightDiv.style.clipPath = this.#clipPathId; - const [parentWidth, parentHeight] = this.parentDimensions; - this.setDims(this.width * parentWidth, this.height * parentHeight); - (0,tools.bindEvents)(this, this.#highlightDiv, ["pointerover", "pointerleave"]); - this.enableEditing(); - return div; - } - pointerover() { - this.parent.drawLayer.addClass(this.#outlineId, "hovered"); - } - pointerleave() { - this.parent.drawLayer.removeClass(this.#outlineId, "hovered"); - } - #keydown(event) { - HighlightEditor._keyboardManager.exec(this, event); - } - _moveCaret(direction) { - this.parent.unselect(this); - switch (direction) { - case 0: - case 2: - this.#setCaret(true); - break; - case 1: - case 3: - this.#setCaret(false); - break; - } - } - #setCaret(start) { - if (!this.#anchorNode) { - return; - } - const selection = window.getSelection(); - if (start) { - selection.setPosition(this.#anchorNode, this.#anchorOffset); - } else { - selection.setPosition(this.#focusNode, this.#focusOffset); - } - } - select() { - super.select(); - if (!this.#outlineId) { - return; - } - this.parent?.drawLayer.removeClass(this.#outlineId, "hovered"); - this.parent?.drawLayer.addClass(this.#outlineId, "selected"); - } - unselect() { - super.unselect(); - if (!this.#outlineId) { - return; - } - this.parent?.drawLayer.removeClass(this.#outlineId, "selected"); - if (!this.#isFreeHighlight) { - this.#setCaret(false); - } - } - get _mustFixPosition() { - return !this.#isFreeHighlight; - } - show(visible = this._isVisible) { - super.show(visible); - if (this.parent) { - this.parent.drawLayer.show(this.#id, visible); - this.parent.drawLayer.show(this.#outlineId, visible); - } - } - #getRotation() { - return this.#isFreeHighlight ? this.rotation : 0; - } - #serializeBoxes() { - if (this.#isFreeHighlight) { - return null; - } - const [pageWidth, pageHeight] = this.pageDimensions; - const boxes = this.#boxes; - const quadPoints = new Array(boxes.length * 8); - let i = 0; - for (const { - x, - y, - width, - height - } of boxes) { - const sx = x * pageWidth; - const sy = (1 - y - height) * pageHeight; - quadPoints[i] = quadPoints[i + 4] = sx; - quadPoints[i + 1] = quadPoints[i + 3] = sy; - quadPoints[i + 2] = quadPoints[i + 6] = sx + width * pageWidth; - quadPoints[i + 5] = quadPoints[i + 7] = sy + height * pageHeight; - i += 8; - } - return quadPoints; - } - #serializeOutlines(rect) { - return this.#highlightOutlines.serialize(rect, this.#getRotation()); - } - static startHighlighting(parent, isLTR, { - target: textLayer, - x, - y - }) { - const { - x: layerX, - y: layerY, - width: parentWidth, - height: parentHeight - } = textLayer.getBoundingClientRect(); - const pointerMove = e => { - this.#highlightMove(parent, e); - }; - const pointerDownOptions = { - capture: true, - passive: false - }; - const pointerDown = e => { - e.preventDefault(); - e.stopPropagation(); - }; - const pointerUpCallback = e => { - textLayer.removeEventListener("pointermove", pointerMove); - window.removeEventListener("blur", pointerUpCallback); - window.removeEventListener("pointerup", pointerUpCallback); - window.removeEventListener("pointerdown", pointerDown, pointerDownOptions); - window.removeEventListener("contextmenu", display_utils.noContextMenu); - this.#endHighlight(parent, e); - }; - window.addEventListener("blur", pointerUpCallback); - window.addEventListener("pointerup", pointerUpCallback); - window.addEventListener("pointerdown", pointerDown, pointerDownOptions); - window.addEventListener("contextmenu", display_utils.noContextMenu); - textLayer.addEventListener("pointermove", pointerMove); - this._freeHighlight = new editor_outliner.FreeOutliner({ - x, - y - }, [layerX, layerY, parentWidth, parentHeight], parent.scale, this._defaultThickness / 2, isLTR, 0.001); - ({ - id: this._freeHighlightId, - clipPathId: this._freeHighlightClipId - } = parent.drawLayer.highlight(this._freeHighlight, this._defaultColor, this._defaultOpacity, true)); - } - static #highlightMove(parent, event) { - if (this._freeHighlight.add(event)) { - parent.drawLayer.updatePath(this._freeHighlightId, this._freeHighlight); - } - } - static #endHighlight(parent, event) { - if (!this._freeHighlight.isEmpty()) { - parent.createAndAddNewEditor(event, false, { - highlightId: this._freeHighlightId, - highlightOutlines: this._freeHighlight.getOutlines(), - clipPathId: this._freeHighlightClipId, - methodOfCreation: "main_toolbar" - }); - } else { - parent.drawLayer.removeFreeHighlight(this._freeHighlightId); - } - this._freeHighlightId = -1; - this._freeHighlight = null; - this._freeHighlightClipId = ""; - } - static deserialize(data, parent, uiManager) { - const editor = super.deserialize(data, parent, uiManager); - const { - rect: [blX, blY, trX, trY], - color, - quadPoints - } = data; - editor.color = util.Util.makeHexColor(...color); - editor.#opacity = data.opacity; - const [pageWidth, pageHeight] = editor.pageDimensions; - editor.width = (trX - blX) / pageWidth; - editor.height = (trY - blY) / pageHeight; - const boxes = editor.#boxes = []; - for (let i = 0; i < quadPoints.length; i += 8) { - boxes.push({ - x: (quadPoints[4] - trX) / pageWidth, - y: (trY - (1 - quadPoints[i + 5])) / pageHeight, - width: (quadPoints[i + 2] - quadPoints[i]) / pageWidth, - height: (quadPoints[i + 5] - quadPoints[i + 1]) / pageHeight - }); - } - editor.#createOutlines(); - return editor; - } - serialize(isForCopying = false) { - if (this.isEmpty() || isForCopying) { - return null; - } - const rect = this.getRect(0, 0); - const color = editor_editor.AnnotationEditor._colorManager.convert(this.color); - return { - annotationType: util.AnnotationEditorType.HIGHLIGHT, - color, - opacity: this.#opacity, - thickness: this.#thickness, - quadPoints: this.#serializeBoxes(), - outlines: this.#serializeOutlines(rect), - pageIndex: this.pageIndex, - rect, - rotation: this.#getRotation(), - structTreeParentId: this._structTreeParentId - }; - } - static canCreateNewEmptyEditor() { - return false; - } -} - -;// CONCATENATED MODULE: ./src/display/editor/ink.js - - - - - - - -class InkEditor extends editor_editor.AnnotationEditor { - #baseHeight = 0; - #baseWidth = 0; - #boundCanvasPointermove = this.canvasPointermove.bind(this); - #boundCanvasPointerleave = this.canvasPointerleave.bind(this); - #boundCanvasPointerup = this.canvasPointerup.bind(this); - #boundCanvasPointerdown = this.canvasPointerdown.bind(this); - #canvasContextMenuTimeoutId = null; - #currentPath2D = new Path2D(); - #disableEditing = false; - #hasSomethingToDraw = false; - #isCanvasInitialized = false; - #observer = null; - #realWidth = 0; - #realHeight = 0; - #requestFrameCallback = null; - static _defaultColor = null; - static _defaultOpacity = 1; - static _defaultThickness = 1; - static _type = "ink"; - static _editorType = util.AnnotationEditorType.INK; - constructor(params) { - super({ - ...params, - name: "inkEditor" - }); - this.color = params.color || null; - this.thickness = params.thickness || null; - this.opacity = params.opacity || null; - this.paths = []; - this.bezierPath2D = []; - this.allRawPaths = []; - this.currentPath = []; - this.scaleFactor = 1; - this.translationX = this.translationY = 0; - this.x = 0; - this.y = 0; - this._willKeepAspectRatio = true; - } - static initialize(l10n, uiManager) { - editor_editor.AnnotationEditor.initialize(l10n, uiManager); - } - static updateDefaultParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.INK_THICKNESS: - InkEditor._defaultThickness = value; - break; - case util.AnnotationEditorParamsType.INK_COLOR: - InkEditor._defaultColor = value; - break; - case util.AnnotationEditorParamsType.INK_OPACITY: - InkEditor._defaultOpacity = value / 100; - break; - } - } - updateParams(type, value) { - switch (type) { - case util.AnnotationEditorParamsType.INK_THICKNESS: - this.#updateThickness(value); - break; - case util.AnnotationEditorParamsType.INK_COLOR: - this.#updateColor(value); - break; - case util.AnnotationEditorParamsType.INK_OPACITY: - this.#updateOpacity(value); - break; - } - } - static get defaultPropertiesToUpdate() { - return [[util.AnnotationEditorParamsType.INK_THICKNESS, InkEditor._defaultThickness], [util.AnnotationEditorParamsType.INK_COLOR, InkEditor._defaultColor || editor_editor.AnnotationEditor._defaultLineColor], [util.AnnotationEditorParamsType.INK_OPACITY, Math.round(InkEditor._defaultOpacity * 100)]]; - } - get propertiesToUpdate() { - return [[util.AnnotationEditorParamsType.INK_THICKNESS, this.thickness || InkEditor._defaultThickness], [util.AnnotationEditorParamsType.INK_COLOR, this.color || InkEditor._defaultColor || editor_editor.AnnotationEditor._defaultLineColor], [util.AnnotationEditorParamsType.INK_OPACITY, Math.round(100 * (this.opacity ?? InkEditor._defaultOpacity))]]; - } - #updateThickness(thickness) { - const setThickness = th => { - this.thickness = th; - this.#fitToContent(); - }; - const savedThickness = this.thickness; - this.addCommands({ - cmd: setThickness.bind(this, thickness), - undo: setThickness.bind(this, savedThickness), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.INK_THICKNESS, - overwriteIfSameType: true, - keepUndo: true - }); - } - #updateColor(color) { - const setColor = col => { - this.color = col; - this.#redraw(); - }; - const savedColor = this.color; - this.addCommands({ - cmd: setColor.bind(this, color), - undo: setColor.bind(this, savedColor), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.INK_COLOR, - overwriteIfSameType: true, - keepUndo: true - }); - } - #updateOpacity(opacity) { - const setOpacity = op => { - this.opacity = op; - this.#redraw(); - }; - opacity /= 100; - const savedOpacity = this.opacity; - this.addCommands({ - cmd: setOpacity.bind(this, opacity), - undo: setOpacity.bind(this, savedOpacity), - post: this._uiManager.updateUI.bind(this._uiManager, this), - mustExec: true, - type: util.AnnotationEditorParamsType.INK_OPACITY, - overwriteIfSameType: true, - keepUndo: true - }); - } - rebuild() { - if (!this.parent) { - return; - } - super.rebuild(); - if (this.div === null) { - return; - } - if (!this.canvas) { - this.#createCanvas(); - this.#createObserver(); - } - if (!this.isAttachedToDOM) { - this.parent.add(this); - this.#setCanvasDims(); - } - this.#fitToContent(); - } - remove() { - if (this.canvas === null) { - return; - } - if (!this.isEmpty()) { - this.commit(); - } - this.canvas.width = this.canvas.height = 0; - this.canvas.remove(); - this.canvas = null; - if (this.#canvasContextMenuTimeoutId) { - clearTimeout(this.#canvasContextMenuTimeoutId); - this.#canvasContextMenuTimeoutId = null; - } - this.#observer.disconnect(); - this.#observer = null; - super.remove(); - } - setParent(parent) { - if (!this.parent && parent) { - this._uiManager.removeShouldRescale(this); - } else if (this.parent && parent === null) { - this._uiManager.addShouldRescale(this); - } - super.setParent(parent); - } - onScaleChanging() { - const [parentWidth, parentHeight] = this.parentDimensions; - const width = this.width * parentWidth; - const height = this.height * parentHeight; - this.setDimensions(width, height); - } - enableEditMode() { - if (this.#disableEditing || this.canvas === null) { - return; - } - super.enableEditMode(); - this._isDraggable = false; - this.canvas.addEventListener("pointerdown", this.#boundCanvasPointerdown); - } - disableEditMode() { - if (!this.isInEditMode() || this.canvas === null) { - return; - } - super.disableEditMode(); - this._isDraggable = !this.isEmpty(); - this.div.classList.remove("editing"); - this.canvas.removeEventListener("pointerdown", this.#boundCanvasPointerdown); - } - onceAdded() { - this._isDraggable = !this.isEmpty(); - } - isEmpty() { - return this.paths.length === 0 || this.paths.length === 1 && this.paths[0].length === 0; - } - #getInitialBBox() { - const { - parentRotation, - parentDimensions: [width, height] - } = this; - switch (parentRotation) { - case 90: - return [0, height, height, width]; - case 180: - return [width, height, width, height]; - case 270: - return [width, 0, height, width]; - default: - return [0, 0, width, height]; - } - } - #setStroke() { - const { - ctx, - color, - opacity, - thickness, - parentScale, - scaleFactor - } = this; - ctx.lineWidth = thickness * parentScale / scaleFactor; - ctx.lineCap = "round"; - ctx.lineJoin = "round"; - ctx.miterLimit = 10; - ctx.strokeStyle = `${color}${(0,tools.opacityToHex)(opacity)}`; - } - #startDrawing(x, y) { - this.canvas.addEventListener("contextmenu", display_utils.noContextMenu); - this.canvas.addEventListener("pointerleave", this.#boundCanvasPointerleave); - this.canvas.addEventListener("pointermove", this.#boundCanvasPointermove); - this.canvas.addEventListener("pointerup", this.#boundCanvasPointerup); - this.canvas.removeEventListener("pointerdown", this.#boundCanvasPointerdown); - this.isEditing = true; - if (!this.#isCanvasInitialized) { - this.#isCanvasInitialized = true; - this.#setCanvasDims(); - this.thickness ||= InkEditor._defaultThickness; - this.color ||= InkEditor._defaultColor || editor_editor.AnnotationEditor._defaultLineColor; - this.opacity ??= InkEditor._defaultOpacity; - } - this.currentPath.push([x, y]); - this.#hasSomethingToDraw = false; - this.#setStroke(); - this.#requestFrameCallback = () => { - this.#drawPoints(); - if (this.#requestFrameCallback) { - window.requestAnimationFrame(this.#requestFrameCallback); - } - }; - window.requestAnimationFrame(this.#requestFrameCallback); - } - #draw(x, y) { - const [lastX, lastY] = this.currentPath.at(-1); - if (this.currentPath.length > 1 && x === lastX && y === lastY) { - return; - } - const currentPath = this.currentPath; - let path2D = this.#currentPath2D; - currentPath.push([x, y]); - this.#hasSomethingToDraw = true; - if (currentPath.length <= 2) { - path2D.moveTo(...currentPath[0]); - path2D.lineTo(x, y); - return; - } - if (currentPath.length === 3) { - this.#currentPath2D = path2D = new Path2D(); - path2D.moveTo(...currentPath[0]); - } - this.#makeBezierCurve(path2D, ...currentPath.at(-3), ...currentPath.at(-2), x, y); - } - #endPath() { - if (this.currentPath.length === 0) { - return; - } - const lastPoint = this.currentPath.at(-1); - this.#currentPath2D.lineTo(...lastPoint); - } - #stopDrawing(x, y) { - this.#requestFrameCallback = null; - x = Math.min(Math.max(x, 0), this.canvas.width); - y = Math.min(Math.max(y, 0), this.canvas.height); - this.#draw(x, y); - this.#endPath(); - let bezier; - if (this.currentPath.length !== 1) { - bezier = this.#generateBezierPoints(); - } else { - const xy = [x, y]; - bezier = [[xy, xy.slice(), xy.slice(), xy]]; - } - const path2D = this.#currentPath2D; - const currentPath = this.currentPath; - this.currentPath = []; - this.#currentPath2D = new Path2D(); - const cmd = () => { - this.allRawPaths.push(currentPath); - this.paths.push(bezier); - this.bezierPath2D.push(path2D); - this._uiManager.rebuild(this); - }; - const undo = () => { - this.allRawPaths.pop(); - this.paths.pop(); - this.bezierPath2D.pop(); - if (this.paths.length === 0) { - this.remove(); - } else { - if (!this.canvas) { - this.#createCanvas(); - this.#createObserver(); - } - this.#fitToContent(); - } - }; - this.addCommands({ - cmd, - undo, - mustExec: true - }); - } - #drawPoints() { - if (!this.#hasSomethingToDraw) { - return; - } - this.#hasSomethingToDraw = false; - const thickness = Math.ceil(this.thickness * this.parentScale); - const lastPoints = this.currentPath.slice(-3); - const x = lastPoints.map(xy => xy[0]); - const y = lastPoints.map(xy => xy[1]); - const xMin = Math.min(...x) - thickness; - const xMax = Math.max(...x) + thickness; - const yMin = Math.min(...y) - thickness; - const yMax = Math.max(...y) + thickness; - const { - ctx - } = this; - ctx.save(); - ctx.clearRect(0, 0, this.canvas.width, this.canvas.height); - for (const path of this.bezierPath2D) { - ctx.stroke(path); - } - ctx.stroke(this.#currentPath2D); - ctx.restore(); - } - #makeBezierCurve(path2D, x0, y0, x1, y1, x2, y2) { - const prevX = (x0 + x1) / 2; - const prevY = (y0 + y1) / 2; - const x3 = (x1 + x2) / 2; - const y3 = (y1 + y2) / 2; - path2D.bezierCurveTo(prevX + 2 * (x1 - prevX) / 3, prevY + 2 * (y1 - prevY) / 3, x3 + 2 * (x1 - x3) / 3, y3 + 2 * (y1 - y3) / 3, x3, y3); - } - #generateBezierPoints() { - const path = this.currentPath; - if (path.length <= 2) { - return [[path[0], path[0], path.at(-1), path.at(-1)]]; - } - const bezierPoints = []; - let i; - let [x0, y0] = path[0]; - for (i = 1; i < path.length - 2; i++) { - const [x1, y1] = path[i]; - const [x2, y2] = path[i + 1]; - const x3 = (x1 + x2) / 2; - const y3 = (y1 + y2) / 2; - const control1 = [x0 + 2 * (x1 - x0) / 3, y0 + 2 * (y1 - y0) / 3]; - const control2 = [x3 + 2 * (x1 - x3) / 3, y3 + 2 * (y1 - y3) / 3]; - bezierPoints.push([[x0, y0], control1, control2, [x3, y3]]); - [x0, y0] = [x3, y3]; - } - const [x1, y1] = path[i]; - const [x2, y2] = path[i + 1]; - const control1 = [x0 + 2 * (x1 - x0) / 3, y0 + 2 * (y1 - y0) / 3]; - const control2 = [x2 + 2 * (x1 - x2) / 3, y2 + 2 * (y1 - y2) / 3]; - bezierPoints.push([[x0, y0], control1, control2, [x2, y2]]); - return bezierPoints; - } - #redraw() { - if (this.isEmpty()) { - this.#updateTransform(); - return; - } - this.#setStroke(); - const { - canvas, - ctx - } = this; - ctx.setTransform(1, 0, 0, 1, 0, 0); - ctx.clearRect(0, 0, canvas.width, canvas.height); - this.#updateTransform(); - for (const path of this.bezierPath2D) { - ctx.stroke(path); - } - } - commit() { - if (this.#disableEditing) { - return; - } - super.commit(); - this.isEditing = false; - this.disableEditMode(); - this.setInForeground(); - this.#disableEditing = true; - this.div.classList.add("disabled"); - this.#fitToContent(true); - this.select(); - this.parent.addInkEditorIfNeeded(true); - this.moveInDOM(); - this.div.focus({ - preventScroll: true - }); - } - focusin(event) { - if (!this._focusEventsAllowed) { - return; - } - super.focusin(event); - this.enableEditMode(); - } - canvasPointerdown(event) { - if (event.button !== 0 || !this.isInEditMode() || this.#disableEditing) { - return; - } - this.setInForeground(); - event.preventDefault(); - if (!this.div.contains(document.activeElement)) { - this.div.focus({ - preventScroll: true - }); - } - this.#startDrawing(event.offsetX, event.offsetY); - } - canvasPointermove(event) { - event.preventDefault(); - this.#draw(event.offsetX, event.offsetY); - } - canvasPointerup(event) { - event.preventDefault(); - this.#endDrawing(event); - } - canvasPointerleave(event) { - this.#endDrawing(event); - } - #endDrawing(event) { - this.canvas.removeEventListener("pointerleave", this.#boundCanvasPointerleave); - this.canvas.removeEventListener("pointermove", this.#boundCanvasPointermove); - this.canvas.removeEventListener("pointerup", this.#boundCanvasPointerup); - this.canvas.addEventListener("pointerdown", this.#boundCanvasPointerdown); - if (this.#canvasContextMenuTimeoutId) { - clearTimeout(this.#canvasContextMenuTimeoutId); - } - this.#canvasContextMenuTimeoutId = setTimeout(() => { - this.#canvasContextMenuTimeoutId = null; - this.canvas.removeEventListener("contextmenu", display_utils.noContextMenu); - }, 10); - this.#stopDrawing(event.offsetX, event.offsetY); - this.addToAnnotationStorage(); - this.setInBackground(); - } - #createCanvas() { - this.canvas = document.createElement("canvas"); - this.canvas.width = this.canvas.height = 0; - this.canvas.className = "inkEditorCanvas"; - this.canvas.setAttribute("data-l10n-id", "pdfjs-ink-canvas"); - this.div.append(this.canvas); - this.ctx = this.canvas.getContext("2d"); - } - #createObserver() { - this.#observer = new ResizeObserver(entries => { - const rect = entries[0].contentRect; - if (rect.width && rect.height) { - this.setDimensions(rect.width, rect.height); - } - }); - this.#observer.observe(this.div); - } - get isResizable() { - return !this.isEmpty() && this.#disableEditing; - } - render() { - if (this.div) { - return this.div; - } - let baseX, baseY; - if (this.width) { - baseX = this.x; - baseY = this.y; - } - super.render(); - this.div.setAttribute("data-l10n-id", "pdfjs-ink"); - const [x, y, w, h] = this.#getInitialBBox(); - this.setAt(x, y, 0, 0); - this.setDims(w, h); - this.#createCanvas(); - if (this.width) { - const [parentWidth, parentHeight] = this.parentDimensions; - this.setAspectRatio(this.width * parentWidth, this.height * parentHeight); - this.setAt(baseX * parentWidth, baseY * parentHeight, this.width * parentWidth, this.height * parentHeight); - this.#isCanvasInitialized = true; - this.#setCanvasDims(); - this.setDims(this.width * parentWidth, this.height * parentHeight); - this.#redraw(); - this.div.classList.add("disabled"); - } else { - this.div.classList.add("editing"); - this.enableEditMode(); - } - this.#createObserver(); - return this.div; - } - #setCanvasDims() { - if (!this.#isCanvasInitialized) { - return; - } - const [parentWidth, parentHeight] = this.parentDimensions; - this.canvas.width = Math.ceil(this.width * parentWidth); - this.canvas.height = Math.ceil(this.height * parentHeight); - this.#updateTransform(); - } - setDimensions(width, height) { - const roundedWidth = Math.round(width); - const roundedHeight = Math.round(height); - if (this.#realWidth === roundedWidth && this.#realHeight === roundedHeight) { - return; - } - this.#realWidth = roundedWidth; - this.#realHeight = roundedHeight; - this.canvas.style.visibility = "hidden"; - const [parentWidth, parentHeight] = this.parentDimensions; - this.width = width / parentWidth; - this.height = height / parentHeight; - this.fixAndSetPosition(); - if (this.#disableEditing) { - this.#setScaleFactor(width, height); - } - this.#setCanvasDims(); - this.#redraw(); - this.canvas.style.visibility = "visible"; - this.fixDims(); - } - #setScaleFactor(width, height) { - const padding = this.#getPadding(); - const scaleFactorW = (width - padding) / this.#baseWidth; - const scaleFactorH = (height - padding) / this.#baseHeight; - this.scaleFactor = Math.min(scaleFactorW, scaleFactorH); - } - #updateTransform() { - const padding = this.#getPadding() / 2; - this.ctx.setTransform(this.scaleFactor, 0, 0, this.scaleFactor, this.translationX * this.scaleFactor + padding, this.translationY * this.scaleFactor + padding); - } - static #buildPath2D(bezier) { - const path2D = new Path2D(); - for (let i = 0, ii = bezier.length; i < ii; i++) { - const [first, control1, control2, second] = bezier[i]; - if (i === 0) { - path2D.moveTo(...first); - } - path2D.bezierCurveTo(control1[0], control1[1], control2[0], control2[1], second[0], second[1]); - } - return path2D; - } - static #toPDFCoordinates(points, rect, rotation) { - const [blX, blY, trX, trY] = rect; - switch (rotation) { - case 0: - for (let i = 0, ii = points.length; i < ii; i += 2) { - points[i] += blX; - points[i + 1] = trY - points[i + 1]; - } - break; - case 90: - for (let i = 0, ii = points.length; i < ii; i += 2) { - const x = points[i]; - points[i] = points[i + 1] + blX; - points[i + 1] = x + blY; - } - break; - case 180: - for (let i = 0, ii = points.length; i < ii; i += 2) { - points[i] = trX - points[i]; - points[i + 1] += blY; - } - break; - case 270: - for (let i = 0, ii = points.length; i < ii; i += 2) { - const x = points[i]; - points[i] = trX - points[i + 1]; - points[i + 1] = trY - x; - } - break; - default: - throw new Error("Invalid rotation"); - } - return points; - } - static #fromPDFCoordinates(points, rect, rotation) { - const [blX, blY, trX, trY] = rect; - switch (rotation) { - case 0: - for (let i = 0, ii = points.length; i < ii; i += 2) { - points[i] -= blX; - points[i + 1] = trY - points[i + 1]; - } - break; - case 90: - for (let i = 0, ii = points.length; i < ii; i += 2) { - const x = points[i]; - points[i] = points[i + 1] - blY; - points[i + 1] = x - blX; - } - break; - case 180: - for (let i = 0, ii = points.length; i < ii; i += 2) { - points[i] = trX - points[i]; - points[i + 1] -= blY; - } - break; - case 270: - for (let i = 0, ii = points.length; i < ii; i += 2) { - const x = points[i]; - points[i] = trY - points[i + 1]; - points[i + 1] = trX - x; - } - break; - default: - throw new Error("Invalid rotation"); - } - return points; - } - #serializePaths(s, tx, ty, rect) { - const paths = []; - const padding = this.thickness / 2; - const shiftX = s * tx + padding; - const shiftY = s * ty + padding; - for (const bezier of this.paths) { - const buffer = []; - const points = []; - for (let j = 0, jj = bezier.length; j < jj; j++) { - const [first, control1, control2, second] = bezier[j]; - if (first[0] === second[0] && first[1] === second[1] && jj === 1) { - const p0 = s * first[0] + shiftX; - const p1 = s * first[1] + shiftY; - buffer.push(p0, p1); - points.push(p0, p1); - break; - } - const p10 = s * first[0] + shiftX; - const p11 = s * first[1] + shiftY; - const p20 = s * control1[0] + shiftX; - const p21 = s * control1[1] + shiftY; - const p30 = s * control2[0] + shiftX; - const p31 = s * control2[1] + shiftY; - const p40 = s * second[0] + shiftX; - const p41 = s * second[1] + shiftY; - if (j === 0) { - buffer.push(p10, p11); - points.push(p10, p11); - } - buffer.push(p20, p21, p30, p31, p40, p41); - points.push(p20, p21); - if (j === jj - 1) { - points.push(p40, p41); - } - } - paths.push({ - bezier: InkEditor.#toPDFCoordinates(buffer, rect, this.rotation), - points: InkEditor.#toPDFCoordinates(points, rect, this.rotation) - }); - } - return paths; - } - #getBbox() { - let xMin = Infinity; - let xMax = -Infinity; - let yMin = Infinity; - let yMax = -Infinity; - for (const path of this.paths) { - for (const [first, control1, control2, second] of path) { - const bbox = util.Util.bezierBoundingBox(...first, ...control1, ...control2, ...second); - xMin = Math.min(xMin, bbox[0]); - yMin = Math.min(yMin, bbox[1]); - xMax = Math.max(xMax, bbox[2]); - yMax = Math.max(yMax, bbox[3]); - } - } - return [xMin, yMin, xMax, yMax]; - } - #getPadding() { - return this.#disableEditing ? Math.ceil(this.thickness * this.parentScale) : 0; - } - #fitToContent(firstTime = false) { - if (this.isEmpty()) { - return; - } - if (!this.#disableEditing) { - this.#redraw(); - return; - } - const bbox = this.#getBbox(); - const padding = this.#getPadding(); - this.#baseWidth = Math.max(editor_editor.AnnotationEditor.MIN_SIZE, bbox[2] - bbox[0]); - this.#baseHeight = Math.max(editor_editor.AnnotationEditor.MIN_SIZE, bbox[3] - bbox[1]); - const width = Math.ceil(padding + this.#baseWidth * this.scaleFactor); - const height = Math.ceil(padding + this.#baseHeight * this.scaleFactor); - const [parentWidth, parentHeight] = this.parentDimensions; - this.width = width / parentWidth; - this.height = height / parentHeight; - this.setAspectRatio(width, height); - const prevTranslationX = this.translationX; - const prevTranslationY = this.translationY; - this.translationX = -bbox[0]; - this.translationY = -bbox[1]; - this.#setCanvasDims(); - this.#redraw(); - this.#realWidth = width; - this.#realHeight = height; - this.setDims(width, height); - const unscaledPadding = firstTime ? padding / this.scaleFactor / 2 : 0; - this.translate(prevTranslationX - this.translationX - unscaledPadding, prevTranslationY - this.translationY - unscaledPadding); - } - static deserialize(data, parent, uiManager) { - if (data instanceof annotation_layer.InkAnnotationElement) { - return null; - } - const editor = super.deserialize(data, parent, uiManager); - editor.thickness = data.thickness; - editor.color = util.Util.makeHexColor(...data.color); - editor.opacity = data.opacity; - const [pageWidth, pageHeight] = editor.pageDimensions; - const width = editor.width * pageWidth; - const height = editor.height * pageHeight; - const scaleFactor = editor.parentScale; - const padding = data.thickness / 2; - editor.#disableEditing = true; - editor.#realWidth = Math.round(width); - editor.#realHeight = Math.round(height); - const { - paths, - rect, - rotation - } = data; - for (let { - bezier - } of paths) { - bezier = InkEditor.#fromPDFCoordinates(bezier, rect, rotation); - const path = []; - editor.paths.push(path); - let p0 = scaleFactor * (bezier[0] - padding); - let p1 = scaleFactor * (bezier[1] - padding); - for (let i = 2, ii = bezier.length; i < ii; i += 6) { - const p10 = scaleFactor * (bezier[i] - padding); - const p11 = scaleFactor * (bezier[i + 1] - padding); - const p20 = scaleFactor * (bezier[i + 2] - padding); - const p21 = scaleFactor * (bezier[i + 3] - padding); - const p30 = scaleFactor * (bezier[i + 4] - padding); - const p31 = scaleFactor * (bezier[i + 5] - padding); - path.push([[p0, p1], [p10, p11], [p20, p21], [p30, p31]]); - p0 = p30; - p1 = p31; - } - const path2D = this.#buildPath2D(path); - editor.bezierPath2D.push(path2D); - } - const bbox = editor.#getBbox(); - editor.#baseWidth = Math.max(editor_editor.AnnotationEditor.MIN_SIZE, bbox[2] - bbox[0]); - editor.#baseHeight = Math.max(editor_editor.AnnotationEditor.MIN_SIZE, bbox[3] - bbox[1]); - editor.#setScaleFactor(width, height); - return editor; - } - serialize() { - if (this.isEmpty()) { - return null; - } - const rect = this.getRect(0, 0); - const color = editor_editor.AnnotationEditor._colorManager.convert(this.ctx.strokeStyle); - return { - annotationType: util.AnnotationEditorType.INK, - color, - thickness: this.thickness, - opacity: this.opacity, - paths: this.#serializePaths(this.scaleFactor / this.parentScale, this.translationX, this.translationY, rect), - pageIndex: this.pageIndex, - rect, - rotation: this.rotation, - structTreeParentId: this._structTreeParentId - }; - } -} - -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js -var esnext_iterator_filter = __webpack_require__(4520); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js -var web_dom_exception_stack = __webpack_require__(4979); -;// CONCATENATED MODULE: ./src/display/editor/stamp.js - - - - - - - -class StampEditor extends editor_editor.AnnotationEditor { - #bitmap = null; - #bitmapId = null; - #bitmapPromise = null; - #bitmapUrl = null; - #bitmapFile = null; - #bitmapFileName = ""; - #canvas = null; - #observer = null; - #resizeTimeoutId = null; - #isSvg = false; - #hasBeenAddedInUndoStack = false; - static _type = "stamp"; - static _editorType = util.AnnotationEditorType.STAMP; - constructor(params) { - super({ - ...params, - name: "stampEditor" - }); - this.#bitmapUrl = params.bitmapUrl; - this.#bitmapFile = params.bitmapFile; - } - static initialize(l10n, uiManager) { - editor_editor.AnnotationEditor.initialize(l10n, uiManager); - } - static get supportedTypes() { - const types = ["apng", "avif", "bmp", "gif", "jpeg", "png", "svg+xml", "webp", "x-icon"]; - return (0,util.shadow)(this, "supportedTypes", types.map(type => `image/${type}`)); - } - static get supportedTypesStr() { - return (0,util.shadow)(this, "supportedTypesStr", this.supportedTypes.join(",")); - } - static isHandlingMimeForPasting(mime) { - return this.supportedTypes.includes(mime); - } - static paste(item, parent) { - parent.pasteEditor(util.AnnotationEditorType.STAMP, { - bitmapFile: item.getAsFile() - }); - } - #getBitmapFetched(data, fromId = false) { - if (!data) { - this.remove(); - return; - } - this.#bitmap = data.bitmap; - if (!fromId) { - this.#bitmapId = data.id; - this.#isSvg = data.isSvg; - } - if (data.file) { - this.#bitmapFileName = data.file.name; - } - this.#createCanvas(); - } - #getBitmapDone() { - this.#bitmapPromise = null; - this._uiManager.enableWaiting(false); - if (this.#canvas) { - this.div.focus(); - } - } - #getBitmap() { - if (this.#bitmapId) { - this._uiManager.enableWaiting(true); - this._uiManager.imageManager.getFromId(this.#bitmapId).then(data => this.#getBitmapFetched(data, true)).finally(() => this.#getBitmapDone()); - return; - } - if (this.#bitmapUrl) { - const url = this.#bitmapUrl; - this.#bitmapUrl = null; - this._uiManager.enableWaiting(true); - this.#bitmapPromise = this._uiManager.imageManager.getFromUrl(url).then(data => this.#getBitmapFetched(data)).finally(() => this.#getBitmapDone()); - return; - } - if (this.#bitmapFile) { - const file = this.#bitmapFile; - this.#bitmapFile = null; - this._uiManager.enableWaiting(true); - this.#bitmapPromise = this._uiManager.imageManager.getFromFile(file).then(data => this.#getBitmapFetched(data)).finally(() => this.#getBitmapDone()); - return; - } - const input = document.createElement("input"); - input.type = "file"; - input.accept = StampEditor.supportedTypesStr; - this.#bitmapPromise = new Promise(resolve => { - input.addEventListener("change", async () => { - if (!input.files || input.files.length === 0) { - this.remove(); - } else { - this._uiManager.enableWaiting(true); - const data = await this._uiManager.imageManager.getFromFile(input.files[0]); - this.#getBitmapFetched(data); - } - resolve(); - }); - input.addEventListener("cancel", () => { - this.remove(); - resolve(); - }); - }).finally(() => this.#getBitmapDone()); - input.click(); - } - remove() { - if (this.#bitmapId) { - this.#bitmap = null; - this._uiManager.imageManager.deleteId(this.#bitmapId); - this.#canvas?.remove(); - this.#canvas = null; - this.#observer?.disconnect(); - this.#observer = null; - if (this.#resizeTimeoutId) { - clearTimeout(this.#resizeTimeoutId); - this.#resizeTimeoutId = null; - } - } - super.remove(); - } - rebuild() { - if (!this.parent) { - if (this.#bitmapId) { - this.#getBitmap(); - } - return; - } - super.rebuild(); - if (this.div === null) { - return; - } - if (this.#bitmapId && this.#canvas === null) { - this.#getBitmap(); - } - if (!this.isAttachedToDOM) { - this.parent.add(this); - } - } - onceAdded() { - this._isDraggable = true; - this.div.focus(); - } - isEmpty() { - return !(this.#bitmapPromise || this.#bitmap || this.#bitmapUrl || this.#bitmapFile || this.#bitmapId); - } - get isResizable() { - return true; - } - render() { - if (this.div) { - return this.div; - } - let baseX, baseY; - if (this.width) { - baseX = this.x; - baseY = this.y; - } - super.render(); - this.div.hidden = true; - this.addAltTextButton(); - if (this.#bitmap) { - this.#createCanvas(); - } else { - this.#getBitmap(); - } - if (this.width) { - const [parentWidth, parentHeight] = this.parentDimensions; - this.setAt(baseX * parentWidth, baseY * parentHeight, this.width * parentWidth, this.height * parentHeight); - } - return this.div; - } - #createCanvas() { - const { - div - } = this; - let { - width, - height - } = this.#bitmap; - const [pageWidth, pageHeight] = this.pageDimensions; - const MAX_RATIO = 0.75; - if (this.width) { - width = this.width * pageWidth; - height = this.height * pageHeight; - } else if (width > MAX_RATIO * pageWidth || height > MAX_RATIO * pageHeight) { - const factor = Math.min(MAX_RATIO * pageWidth / width, MAX_RATIO * pageHeight / height); - width *= factor; - height *= factor; - } - const [parentWidth, parentHeight] = this.parentDimensions; - this.setDims(width * parentWidth / pageWidth, height * parentHeight / pageHeight); - this._uiManager.enableWaiting(false); - const canvas = this.#canvas = document.createElement("canvas"); - div.append(canvas); - div.hidden = false; - this.#drawBitmap(width, height); - this.#createObserver(); - if (!this.#hasBeenAddedInUndoStack) { - this.parent.addUndoableEditor(this); - this.#hasBeenAddedInUndoStack = true; - } - this._reportTelemetry({ - action: "inserted_image" - }); - if (this.#bitmapFileName) { - canvas.setAttribute("aria-label", this.#bitmapFileName); - } - } - #setDimensions(width, height) { - const [parentWidth, parentHeight] = this.parentDimensions; - this.width = width / parentWidth; - this.height = height / parentHeight; - this.setDims(width, height); - if (this._initialOptions?.isCentered) { - this.center(); - } else { - this.fixAndSetPosition(); - } - this._initialOptions = null; - if (this.#resizeTimeoutId !== null) { - clearTimeout(this.#resizeTimeoutId); - } - const TIME_TO_WAIT = 200; - this.#resizeTimeoutId = setTimeout(() => { - this.#resizeTimeoutId = null; - this.#drawBitmap(width, height); - }, TIME_TO_WAIT); - } - #scaleBitmap(width, height) { - const { - width: bitmapWidth, - height: bitmapHeight - } = this.#bitmap; - let newWidth = bitmapWidth; - let newHeight = bitmapHeight; - let bitmap = this.#bitmap; - while (newWidth > 2 * width || newHeight > 2 * height) { - const prevWidth = newWidth; - const prevHeight = newHeight; - if (newWidth > 2 * width) { - newWidth = newWidth >= 16384 ? Math.floor(newWidth / 2) - 1 : Math.ceil(newWidth / 2); - } - if (newHeight > 2 * height) { - newHeight = newHeight >= 16384 ? Math.floor(newHeight / 2) - 1 : Math.ceil(newHeight / 2); - } - const offscreen = new OffscreenCanvas(newWidth, newHeight); - const ctx = offscreen.getContext("2d"); - ctx.drawImage(bitmap, 0, 0, prevWidth, prevHeight, 0, 0, newWidth, newHeight); - bitmap = offscreen.transferToImageBitmap(); - } - return bitmap; - } - #drawBitmap(width, height) { - width = Math.ceil(width); - height = Math.ceil(height); - const canvas = this.#canvas; - if (!canvas || canvas.width === width && canvas.height === height) { - return; - } - canvas.width = width; - canvas.height = height; - const bitmap = this.#isSvg ? this.#bitmap : this.#scaleBitmap(width, height); - if (this._uiManager.hasMLManager && !this.hasAltText()) { - const offscreen = new OffscreenCanvas(width, height); - const ctx = offscreen.getContext("2d"); - ctx.drawImage(bitmap, 0, 0, bitmap.width, bitmap.height, 0, 0, width, height); - offscreen.convertToBlob().then(blob => { - const fileReader = new FileReader(); - fileReader.onload = () => { - const url = fileReader.result; - this._uiManager.mlGuess({ - service: "image-to-text", - request: { - imageData: url - } - }).then(response => { - const altText = response?.output || ""; - if (this.parent && altText && !this.hasAltText()) { - this.altTextData = { - altText, - decorative: false - }; - } - }); - }; - fileReader.readAsDataURL(blob); - }); - } - const ctx = canvas.getContext("2d"); - ctx.filter = this._uiManager.hcmFilter; - ctx.drawImage(bitmap, 0, 0, bitmap.width, bitmap.height, 0, 0, width, height); - } - getImageForAltText() { - return this.#canvas; - } - #serializeBitmap(toUrl) { - if (toUrl) { - if (this.#isSvg) { - const url = this._uiManager.imageManager.getSvgUrl(this.#bitmapId); - if (url) { - return url; - } - } - const canvas = document.createElement("canvas"); - ({ - width: canvas.width, - height: canvas.height - } = this.#bitmap); - const ctx = canvas.getContext("2d"); - ctx.drawImage(this.#bitmap, 0, 0); - return canvas.toDataURL(); - } - if (this.#isSvg) { - const [pageWidth, pageHeight] = this.pageDimensions; - const width = Math.round(this.width * pageWidth * display_utils.PixelsPerInch.PDF_TO_CSS_UNITS); - const height = Math.round(this.height * pageHeight * display_utils.PixelsPerInch.PDF_TO_CSS_UNITS); - const offscreen = new OffscreenCanvas(width, height); - const ctx = offscreen.getContext("2d"); - ctx.drawImage(this.#bitmap, 0, 0, this.#bitmap.width, this.#bitmap.height, 0, 0, width, height); - return offscreen.transferToImageBitmap(); - } - return structuredClone(this.#bitmap); - } - #createObserver() { - this.#observer = new ResizeObserver(entries => { - const rect = entries[0].contentRect; - if (rect.width && rect.height) { - this.#setDimensions(rect.width, rect.height); - } - }); - this.#observer.observe(this.div); - } - static deserialize(data, parent, uiManager) { - if (data instanceof annotation_layer.StampAnnotationElement) { - return null; - } - const editor = super.deserialize(data, parent, uiManager); - const { - rect, - bitmapUrl, - bitmapId, - isSvg, - accessibilityData - } = data; - if (bitmapId && uiManager.imageManager.isValidId(bitmapId)) { - editor.#bitmapId = bitmapId; - } else { - editor.#bitmapUrl = bitmapUrl; - } - editor.#isSvg = isSvg; - const [parentWidth, parentHeight] = editor.pageDimensions; - editor.width = (rect[2] - rect[0]) / parentWidth; - editor.height = (rect[3] - rect[1]) / parentHeight; - if (accessibilityData) { - editor.altTextData = accessibilityData; - } - return editor; - } - serialize(isForCopying = false, context = null) { - if (this.isEmpty()) { - return null; - } - const serialized = { - annotationType: util.AnnotationEditorType.STAMP, - bitmapId: this.#bitmapId, - pageIndex: this.pageIndex, - rect: this.getRect(0, 0), - rotation: this.rotation, - isSvg: this.#isSvg, - structTreeParentId: this._structTreeParentId - }; - if (isForCopying) { - serialized.bitmapUrl = this.#serializeBitmap(true); - serialized.accessibilityData = this.altTextData; - return serialized; - } - const { - decorative, - altText - } = this.altTextData; - if (!decorative && altText) { - serialized.accessibilityData = { - type: "Figure", - alt: altText - }; - } - if (context === null) { - return serialized; - } - context.stamps ||= new Map(); - const area = this.#isSvg ? (serialized.rect[2] - serialized.rect[0]) * (serialized.rect[3] - serialized.rect[1]) : null; - if (!context.stamps.has(this.#bitmapId)) { - context.stamps.set(this.#bitmapId, { - area, - serialized - }); - serialized.bitmap = this.#serializeBitmap(false); - } else if (this.#isSvg) { - const prevData = context.stamps.get(this.#bitmapId); - if (area > prevData.area) { - prevData.area = area; - prevData.serialized.bitmap.close(); - prevData.serialized.bitmap = this.#serializeBitmap(false); - } - } - return serialized; - } -} - -;// CONCATENATED MODULE: ./src/display/editor/annotation_editor_layer.js - - - - - - - - - - - - - - - -class AnnotationEditorLayer { - #accessibilityManager; - #allowClick = false; - #annotationLayer = null; - #boundPointerup = null; - #boundPointerdown = null; - #boundTextLayerPointerDown = null; - #editorFocusTimeoutId = null; - #editors = new Map(); - #hadPointerDown = false; - #isCleaningUp = false; - #isDisabling = false; - #textLayer = null; - #uiManager; - static _initialized = false; - static #editorTypes = new Map([FreeTextEditor, InkEditor, StampEditor, HighlightEditor].map(type => [type._editorType, type])); - constructor({ - uiManager, - pageIndex, - div, - accessibilityManager, - annotationLayer, - drawLayer, - textLayer, - viewport, - l10n - }) { - const editorTypes = [...AnnotationEditorLayer.#editorTypes.values()]; - if (!AnnotationEditorLayer._initialized) { - AnnotationEditorLayer._initialized = true; - for (const editorType of editorTypes) { - editorType.initialize(l10n, uiManager); - } - } - uiManager.registerEditorTypes(editorTypes); - this.#uiManager = uiManager; - this.pageIndex = pageIndex; - this.div = div; - this.#accessibilityManager = accessibilityManager; - this.#annotationLayer = annotationLayer; - this.viewport = viewport; - this.#textLayer = textLayer; - this.drawLayer = drawLayer; - this.#uiManager.addLayer(this); - } - get isEmpty() { - return this.#editors.size === 0; - } - get isInvisible() { - return this.isEmpty && this.#uiManager.getMode() === util.AnnotationEditorType.NONE; - } - updateToolbar(mode) { - this.#uiManager.updateToolbar(mode); - } - updateMode(mode = this.#uiManager.getMode()) { - this.#cleanup(); - switch (mode) { - case util.AnnotationEditorType.NONE: - this.disableTextSelection(); - this.togglePointerEvents(false); - this.toggleAnnotationLayerPointerEvents(true); - this.disableClick(); - return; - case util.AnnotationEditorType.INK: - this.addInkEditorIfNeeded(false); - this.disableTextSelection(); - this.togglePointerEvents(true); - this.disableClick(); - break; - case util.AnnotationEditorType.HIGHLIGHT: - this.enableTextSelection(); - this.togglePointerEvents(false); - this.disableClick(); - break; - default: - this.disableTextSelection(); - this.togglePointerEvents(true); - this.enableClick(); - } - this.toggleAnnotationLayerPointerEvents(false); - const { - classList - } = this.div; - for (const editorType of AnnotationEditorLayer.#editorTypes.values()) { - classList.toggle(`${editorType._type}Editing`, mode === editorType._editorType); - } - this.div.hidden = false; - } - hasTextLayer(textLayer) { - return textLayer === this.#textLayer?.div; - } - addInkEditorIfNeeded(isCommitting) { - if (this.#uiManager.getMode() !== util.AnnotationEditorType.INK) { - return; - } - if (!isCommitting) { - for (const editor of this.#editors.values()) { - if (editor.isEmpty()) { - editor.setInBackground(); - return; - } - } - } - const editor = this.createAndAddNewEditor({ - offsetX: 0, - offsetY: 0 - }, false); - editor.setInBackground(); - } - setEditingState(isEditing) { - this.#uiManager.setEditingState(isEditing); - } - addCommands(params) { - this.#uiManager.addCommands(params); - } - togglePointerEvents(enabled = false) { - this.div.classList.toggle("disabled", !enabled); - } - toggleAnnotationLayerPointerEvents(enabled = false) { - this.#annotationLayer?.div.classList.toggle("disabled", !enabled); - } - enable() { - this.div.tabIndex = 0; - this.togglePointerEvents(true); - const annotationElementIds = new Set(); - for (const editor of this.#editors.values()) { - editor.enableEditing(); - editor.show(true); - if (editor.annotationElementId) { - this.#uiManager.removeChangedExistingAnnotation(editor); - annotationElementIds.add(editor.annotationElementId); - } - } - if (!this.#annotationLayer) { - return; - } - const editables = this.#annotationLayer.getEditableAnnotations(); - for (const editable of editables) { - editable.hide(); - if (this.#uiManager.isDeletedAnnotationElement(editable.data.id)) { - continue; - } - if (annotationElementIds.has(editable.data.id)) { - continue; - } - const editor = this.deserialize(editable); - if (!editor) { - continue; - } - this.addOrRebuild(editor); - editor.enableEditing(); - } - } - disable() { - this.#isDisabling = true; - this.div.tabIndex = -1; - this.togglePointerEvents(false); - const changedAnnotations = new Map(); - const resetAnnotations = new Map(); - for (const editor of this.#editors.values()) { - editor.disableEditing(); - if (!editor.annotationElementId) { - continue; - } - if (editor.serialize() !== null) { - changedAnnotations.set(editor.annotationElementId, editor); - continue; - } else { - resetAnnotations.set(editor.annotationElementId, editor); - } - this.getEditableAnnotation(editor.annotationElementId)?.show(); - editor.remove(); - } - if (this.#annotationLayer) { - const editables = this.#annotationLayer.getEditableAnnotations(); - for (const editable of editables) { - const { - id - } = editable.data; - if (this.#uiManager.isDeletedAnnotationElement(id)) { - continue; - } - let editor = resetAnnotations.get(id); - if (editor) { - editor.resetAnnotationElement(editable); - editor.show(false); - editable.show(); - continue; - } - editor = changedAnnotations.get(id); - if (editor) { - this.#uiManager.addChangedExistingAnnotation(editor); - editor.renderAnnotationElement(editable); - editor.show(false); - } - editable.show(); - } - } - this.#cleanup(); - if (this.isEmpty) { - this.div.hidden = true; - } - const { - classList - } = this.div; - for (const editorType of AnnotationEditorLayer.#editorTypes.values()) { - classList.remove(`${editorType._type}Editing`); - } - this.disableTextSelection(); - this.toggleAnnotationLayerPointerEvents(true); - this.#isDisabling = false; - } - getEditableAnnotation(id) { - return this.#annotationLayer?.getEditableAnnotation(id) || null; - } - setActiveEditor(editor) { - const currentActive = this.#uiManager.getActive(); - if (currentActive === editor) { - return; - } - this.#uiManager.setActiveEditor(editor); - } - enableTextSelection() { - this.div.tabIndex = -1; - if (this.#textLayer?.div && !this.#boundTextLayerPointerDown) { - this.#boundTextLayerPointerDown = this.#textLayerPointerDown.bind(this); - this.#textLayer.div.addEventListener("pointerdown", this.#boundTextLayerPointerDown); - this.#textLayer.div.classList.add("highlighting"); - } - } - disableTextSelection() { - this.div.tabIndex = 0; - if (this.#textLayer?.div && this.#boundTextLayerPointerDown) { - this.#textLayer.div.removeEventListener("pointerdown", this.#boundTextLayerPointerDown); - this.#boundTextLayerPointerDown = null; - this.#textLayer.div.classList.remove("highlighting"); - } - } - #textLayerPointerDown(event) { - this.#uiManager.unselectAll(); - if (event.target === this.#textLayer.div) { - const { - isMac - } = util.FeatureTest.platform; - if (event.button !== 0 || event.ctrlKey && isMac) { - return; - } - this.#uiManager.showAllEditors("highlight", true, true); - this.#textLayer.div.classList.add("free"); - HighlightEditor.startHighlighting(this, this.#uiManager.direction === "ltr", event); - this.#textLayer.div.addEventListener("pointerup", () => { - this.#textLayer.div.classList.remove("free"); - }, { - once: true - }); - event.preventDefault(); - } - } - enableClick() { - if (this.#boundPointerdown) { - return; - } - this.#boundPointerdown = this.pointerdown.bind(this); - this.#boundPointerup = this.pointerup.bind(this); - this.div.addEventListener("pointerdown", this.#boundPointerdown); - this.div.addEventListener("pointerup", this.#boundPointerup); - } - disableClick() { - if (!this.#boundPointerdown) { - return; - } - this.div.removeEventListener("pointerdown", this.#boundPointerdown); - this.div.removeEventListener("pointerup", this.#boundPointerup); - this.#boundPointerdown = null; - this.#boundPointerup = null; - } - attach(editor) { - this.#editors.set(editor.id, editor); - const { - annotationElementId - } = editor; - if (annotationElementId && this.#uiManager.isDeletedAnnotationElement(annotationElementId)) { - this.#uiManager.removeDeletedAnnotationElement(editor); - } - } - detach(editor) { - this.#editors.delete(editor.id); - this.#accessibilityManager?.removePointerInTextLayer(editor.contentDiv); - if (!this.#isDisabling && editor.annotationElementId) { - this.#uiManager.addDeletedAnnotationElement(editor); - } - } - remove(editor) { - this.detach(editor); - this.#uiManager.removeEditor(editor); - editor.div.remove(); - editor.isAttachedToDOM = false; - if (!this.#isCleaningUp) { - this.addInkEditorIfNeeded(false); - } - } - changeParent(editor) { - if (editor.parent === this) { - return; - } - if (editor.parent && editor.annotationElementId) { - this.#uiManager.addDeletedAnnotationElement(editor.annotationElementId); - editor_editor.AnnotationEditor.deleteAnnotationElement(editor); - editor.annotationElementId = null; - } - this.attach(editor); - editor.parent?.detach(editor); - editor.setParent(this); - if (editor.div && editor.isAttachedToDOM) { - editor.div.remove(); - this.div.append(editor.div); - } - } - add(editor) { - if (editor.parent === this && editor.isAttachedToDOM) { - return; - } - this.changeParent(editor); - this.#uiManager.addEditor(editor); - this.attach(editor); - if (!editor.isAttachedToDOM) { - const div = editor.render(); - this.div.append(div); - editor.isAttachedToDOM = true; - } - editor.fixAndSetPosition(); - editor.onceAdded(); - this.#uiManager.addToAnnotationStorage(editor); - editor._reportTelemetry(editor.telemetryInitialData); - } - moveEditorInDOM(editor) { - if (!editor.isAttachedToDOM) { - return; - } - const { - activeElement - } = document; - if (editor.div.contains(activeElement) && !this.#editorFocusTimeoutId) { - editor._focusEventsAllowed = false; - this.#editorFocusTimeoutId = setTimeout(() => { - this.#editorFocusTimeoutId = null; - if (!editor.div.contains(document.activeElement)) { - editor.div.addEventListener("focusin", () => { - editor._focusEventsAllowed = true; - }, { - once: true - }); - activeElement.focus(); - } else { - editor._focusEventsAllowed = true; - } - }, 0); - } - editor._structTreeParentId = this.#accessibilityManager?.moveElementInDOM(this.div, editor.div, editor.contentDiv, true); - } - addOrRebuild(editor) { - if (editor.needsToBeRebuilt()) { - editor.parent ||= this; - editor.rebuild(); - editor.show(); - } else { - this.add(editor); - } - } - addUndoableEditor(editor) { - const cmd = () => editor._uiManager.rebuild(editor); - const undo = () => { - editor.remove(); - }; - this.addCommands({ - cmd, - undo, - mustExec: false - }); - } - getNextId() { - return this.#uiManager.getId(); - } - get #currentEditorType() { - return AnnotationEditorLayer.#editorTypes.get(this.#uiManager.getMode()); - } - #createNewEditor(params) { - const editorType = this.#currentEditorType; - return editorType ? new editorType.prototype.constructor(params) : null; - } - canCreateNewEmptyEditor() { - return this.#currentEditorType?.canCreateNewEmptyEditor(); - } - pasteEditor(mode, params) { - this.#uiManager.updateToolbar(mode); - this.#uiManager.updateMode(mode); - const { - offsetX, - offsetY - } = this.#getCenterPoint(); - const id = this.getNextId(); - const editor = this.#createNewEditor({ - parent: this, - id, - x: offsetX, - y: offsetY, - uiManager: this.#uiManager, - isCentered: true, - ...params - }); - if (editor) { - this.add(editor); - } - } - deserialize(data) { - return AnnotationEditorLayer.#editorTypes.get(data.annotationType ?? data.annotationEditorType)?.deserialize(data, this, this.#uiManager) || null; - } - createAndAddNewEditor(event, isCentered, data = {}) { - const id = this.getNextId(); - const editor = this.#createNewEditor({ - parent: this, - id, - x: event.offsetX, - y: event.offsetY, - uiManager: this.#uiManager, - isCentered, - ...data - }); - if (editor) { - this.add(editor); - } - return editor; - } - #getCenterPoint() { - const { - x, - y, - width, - height - } = this.div.getBoundingClientRect(); - const tlX = Math.max(0, x); - const tlY = Math.max(0, y); - const brX = Math.min(window.innerWidth, x + width); - const brY = Math.min(window.innerHeight, y + height); - const centerX = (tlX + brX) / 2 - x; - const centerY = (tlY + brY) / 2 - y; - const [offsetX, offsetY] = this.viewport.rotation % 180 === 0 ? [centerX, centerY] : [centerY, centerX]; - return { - offsetX, - offsetY - }; - } - addNewEditor() { - this.createAndAddNewEditor(this.#getCenterPoint(), true); - } - setSelected(editor) { - this.#uiManager.setSelected(editor); - } - toggleSelected(editor) { - this.#uiManager.toggleSelected(editor); - } - isSelected(editor) { - return this.#uiManager.isSelected(editor); - } - unselect(editor) { - this.#uiManager.unselect(editor); - } - pointerup(event) { - const { - isMac - } = util.FeatureTest.platform; - if (event.button !== 0 || event.ctrlKey && isMac) { - return; - } - if (event.target !== this.div) { - return; - } - if (!this.#hadPointerDown) { - return; - } - this.#hadPointerDown = false; - if (!this.#allowClick) { - this.#allowClick = true; - return; - } - if (this.#uiManager.getMode() === util.AnnotationEditorType.STAMP) { - this.#uiManager.unselectAll(); - return; - } - this.createAndAddNewEditor(event, false); - } - pointerdown(event) { - if (this.#uiManager.getMode() === util.AnnotationEditorType.HIGHLIGHT) { - this.enableTextSelection(); - } - if (this.#hadPointerDown) { - this.#hadPointerDown = false; - return; - } - const { - isMac - } = util.FeatureTest.platform; - if (event.button !== 0 || event.ctrlKey && isMac) { - return; - } - if (event.target !== this.div) { - return; - } - this.#hadPointerDown = true; - const editor = this.#uiManager.getActive(); - this.#allowClick = !editor || editor.isEmpty(); - } - findNewParent(editor, x, y) { - const layer = this.#uiManager.findParent(x, y); - if (layer === null || layer === this) { - return false; - } - layer.changeParent(editor); - return true; - } - destroy() { - if (this.#uiManager.getActive()?.parent === this) { - this.#uiManager.commitOrRemove(); - this.#uiManager.setActiveEditor(null); - } - if (this.#editorFocusTimeoutId) { - clearTimeout(this.#editorFocusTimeoutId); - this.#editorFocusTimeoutId = null; - } - for (const editor of this.#editors.values()) { - this.#accessibilityManager?.removePointerInTextLayer(editor.contentDiv); - editor.setParent(null); - editor.isAttachedToDOM = false; - editor.div.remove(); - } - this.div = null; - this.#editors.clear(); - this.#uiManager.removeLayer(this); - } - #cleanup() { - this.#isCleaningUp = true; - for (const editor of this.#editors.values()) { - if (editor.isEmpty()) { - editor.remove(); - } - } - this.#isCleaningUp = false; - } - render({ - viewport - }) { - this.viewport = viewport; - (0,display_utils.setLayerDimensions)(this.div, viewport); - for (const editor of this.#uiManager.getEditors(this.pageIndex)) { - this.add(editor); - editor.rebuild(); - } - this.updateMode(); - } - update({ - viewport - }) { - this.#uiManager.commitOrRemove(); - this.#cleanup(); - const oldRotation = this.viewport.rotation; - const rotation = viewport.rotation; - this.viewport = viewport; - (0,display_utils.setLayerDimensions)(this.div, { - rotation - }); - if (oldRotation !== rotation) { - for (const editor of this.#editors.values()) { - editor.rotate(rotation); - } - } - this.addInkEditorIfNeeded(false); - } - get pageDimensions() { - const { - pageWidth, - pageHeight - } = this.viewport.rawDims; - return [pageWidth, pageHeight]; - } - get scale() { - return this.#uiManager.viewParameters.realScale; - } -} - - -/***/ }), - -/***/ 2259: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ColorPicker: () => (/* binding */ ColorPicker) -/* harmony export */ }); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4292); -/* harmony import */ var _tools_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7830); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5419); - - - -class ColorPicker { - #boundKeyDown = this.#keyDown.bind(this); - #boundPointerDown = this.#pointerDown.bind(this); - #button = null; - #buttonSwatch = null; - #defaultColor; - #dropdown = null; - #dropdownWasFromKeyboard = false; - #isMainColorPicker = false; - #editor = null; - #eventBus; - #uiManager = null; - #type; - static get _keyboardManager() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.shadow)(this, "_keyboardManager", new _tools_js__WEBPACK_IMPORTED_MODULE_1__.KeyboardManager([[["Escape", "mac+Escape"], ColorPicker.prototype._hideDropdownFromKeyboard], [[" ", "mac+ "], ColorPicker.prototype._colorSelectFromKeyboard], [["ArrowDown", "ArrowRight", "mac+ArrowDown", "mac+ArrowRight"], ColorPicker.prototype._moveToNext], [["ArrowUp", "ArrowLeft", "mac+ArrowUp", "mac+ArrowLeft"], ColorPicker.prototype._moveToPrevious], [["Home", "mac+Home"], ColorPicker.prototype._moveToBeginning], [["End", "mac+End"], ColorPicker.prototype._moveToEnd]])); - } - constructor({ - editor = null, - uiManager = null - }) { - if (editor) { - this.#isMainColorPicker = false; - this.#type = _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.HIGHLIGHT_COLOR; - this.#editor = editor; - } else { - this.#isMainColorPicker = true; - this.#type = _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.HIGHLIGHT_DEFAULT_COLOR; - } - this.#uiManager = editor?._uiManager || uiManager; - this.#eventBus = this.#uiManager._eventBus; - this.#defaultColor = editor?.color || this.#uiManager?.highlightColors.values().next().value || "#FFFF98"; - } - renderButton() { - const button = this.#button = document.createElement("button"); - button.className = "colorPicker"; - button.tabIndex = "0"; - button.setAttribute("data-l10n-id", "pdfjs-editor-colorpicker-button"); - button.setAttribute("aria-haspopup", true); - button.addEventListener("click", this.#openDropdown.bind(this)); - button.addEventListener("keydown", this.#boundKeyDown); - const swatch = this.#buttonSwatch = document.createElement("span"); - swatch.className = "swatch"; - swatch.setAttribute("aria-hidden", true); - swatch.style.backgroundColor = this.#defaultColor; - button.append(swatch); - return button; - } - renderMainDropdown() { - const dropdown = this.#dropdown = this.#getDropdownRoot(); - dropdown.setAttribute("aria-orientation", "horizontal"); - dropdown.setAttribute("aria-labelledby", "highlightColorPickerLabel"); - return dropdown; - } - #getDropdownRoot() { - const div = document.createElement("div"); - div.addEventListener("contextmenu", _display_utils_js__WEBPACK_IMPORTED_MODULE_2__.noContextMenu); - div.className = "dropdown"; - div.role = "listbox"; - div.setAttribute("aria-multiselectable", false); - div.setAttribute("aria-orientation", "vertical"); - div.setAttribute("data-l10n-id", "pdfjs-editor-colorpicker-dropdown"); - for (const [name, color] of this.#uiManager.highlightColors) { - const button = document.createElement("button"); - button.tabIndex = "0"; - button.role = "option"; - button.setAttribute("data-color", color); - button.title = name; - button.setAttribute("data-l10n-id", `pdfjs-editor-colorpicker-${name}`); - const swatch = document.createElement("span"); - button.append(swatch); - swatch.className = "swatch"; - swatch.style.backgroundColor = color; - button.setAttribute("aria-selected", color === this.#defaultColor); - button.addEventListener("click", this.#colorSelect.bind(this, color)); - div.append(button); - } - div.addEventListener("keydown", this.#boundKeyDown); - return div; - } - #colorSelect(color, event) { - event.stopPropagation(); - this.#eventBus.dispatch("switchannotationeditorparams", { - source: this, - type: this.#type, - value: color - }); - } - _colorSelectFromKeyboard(event) { - if (event.target === this.#button) { - this.#openDropdown(event); - return; - } - const color = event.target.getAttribute("data-color"); - if (!color) { - return; - } - this.#colorSelect(color, event); - } - _moveToNext(event) { - if (!this.#isDropdownVisible) { - this.#openDropdown(event); - return; - } - if (event.target === this.#button) { - this.#dropdown.firstChild?.focus(); - return; - } - event.target.nextSibling?.focus(); - } - _moveToPrevious(event) { - if (event.target === this.#dropdown?.firstChild || event.target === this.#button) { - if (this.#isDropdownVisible) { - this._hideDropdownFromKeyboard(); - } - return; - } - if (!this.#isDropdownVisible) { - this.#openDropdown(event); - } - event.target.previousSibling?.focus(); - } - _moveToBeginning(event) { - if (!this.#isDropdownVisible) { - this.#openDropdown(event); - return; - } - this.#dropdown.firstChild?.focus(); - } - _moveToEnd(event) { - if (!this.#isDropdownVisible) { - this.#openDropdown(event); - return; - } - this.#dropdown.lastChild?.focus(); - } - #keyDown(event) { - ColorPicker._keyboardManager.exec(this, event); - } - #openDropdown(event) { - if (this.#isDropdownVisible) { - this.hideDropdown(); - return; - } - this.#dropdownWasFromKeyboard = event.detail === 0; - window.addEventListener("pointerdown", this.#boundPointerDown); - if (this.#dropdown) { - this.#dropdown.classList.remove("hidden"); - return; - } - const root = this.#dropdown = this.#getDropdownRoot(); - this.#button.append(root); - } - #pointerDown(event) { - if (this.#dropdown?.contains(event.target)) { - return; - } - this.hideDropdown(); - } - hideDropdown() { - this.#dropdown?.classList.add("hidden"); - window.removeEventListener("pointerdown", this.#boundPointerDown); - } - get #isDropdownVisible() { - return this.#dropdown && !this.#dropdown.classList.contains("hidden"); - } - _hideDropdownFromKeyboard() { - if (this.#isMainColorPicker) { - return; - } - if (!this.#isDropdownVisible) { - this.#editor?.unselect(); - return; - } - this.hideDropdown(); - this.#button.focus({ - preventScroll: true, - focusVisible: this.#dropdownWasFromKeyboard - }); - } - updateColor(color) { - if (this.#buttonSwatch) { - this.#buttonSwatch.style.backgroundColor = color; - } - if (!this.#dropdown) { - return; - } - const i = this.#uiManager.highlightColors.values(); - for (const child of this.#dropdown.children) { - child.setAttribute("aria-selected", i.next().value === color); - } - } - destroy() { - this.#button?.remove(); - this.#button = null; - this.#buttonSwatch = null; - this.#dropdown?.remove(); - this.#dropdown = null; - } -} - - -/***/ }), - -/***/ 310: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - AnnotationEditor: () => (/* binding */ AnnotationEditor) -}); - -// EXTERNAL MODULE: ./src/display/editor/tools.js -var tools = __webpack_require__(7830); -// EXTERNAL MODULE: ./src/shared/util.js -var util = __webpack_require__(4292); -// EXTERNAL MODULE: ./src/display/display_utils.js -var display_utils = __webpack_require__(5419); -;// CONCATENATED MODULE: ./src/display/editor/alt_text.js - -class AltText { - #altText = ""; - #altTextDecorative = false; - #altTextButton = null; - #altTextTooltip = null; - #altTextTooltipTimeout = null; - #altTextWasFromKeyBoard = false; - #editor = null; - static _l10nPromise = null; - constructor(editor) { - this.#editor = editor; - } - static initialize(l10nPromise) { - AltText._l10nPromise ||= l10nPromise; - } - async render() { - const altText = this.#altTextButton = document.createElement("button"); - altText.className = "altText"; - const msg = await AltText._l10nPromise.get("pdfjs-editor-alt-text-button-label"); - altText.textContent = msg; - altText.setAttribute("aria-label", msg); - altText.tabIndex = "0"; - altText.addEventListener("contextmenu", display_utils.noContextMenu); - altText.addEventListener("pointerdown", event => event.stopPropagation()); - const onClick = event => { - event.preventDefault(); - this.#editor._uiManager.editAltText(this.#editor); - }; - altText.addEventListener("click", onClick, { - capture: true - }); - altText.addEventListener("keydown", event => { - if (event.target === altText && event.key === "Enter") { - this.#altTextWasFromKeyBoard = true; - onClick(event); - } - }); - await this.#setState(); - return altText; - } - finish() { - if (!this.#altTextButton) { - return; - } - this.#altTextButton.focus({ - focusVisible: this.#altTextWasFromKeyBoard - }); - this.#altTextWasFromKeyBoard = false; - } - isEmpty() { - return !this.#altText && !this.#altTextDecorative; - } - get data() { - return { - altText: this.#altText, - decorative: this.#altTextDecorative - }; - } - set data({ - altText, - decorative - }) { - if (this.#altText === altText && this.#altTextDecorative === decorative) { - return; - } - this.#altText = altText; - this.#altTextDecorative = decorative; - this.#setState(); - } - toggle(enabled = false) { - if (!this.#altTextButton) { - return; - } - if (!enabled && this.#altTextTooltipTimeout) { - clearTimeout(this.#altTextTooltipTimeout); - this.#altTextTooltipTimeout = null; - } - this.#altTextButton.disabled = !enabled; - } - destroy() { - this.#altTextButton?.remove(); - this.#altTextButton = null; - this.#altTextTooltip = null; - } - async #setState() { - const button = this.#altTextButton; - if (!button) { - return; - } - if (!this.#altText && !this.#altTextDecorative) { - button.classList.remove("done"); - this.#altTextTooltip?.remove(); - return; - } - button.classList.add("done"); - AltText._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then(msg => { - button.setAttribute("aria-label", msg); - }); - let tooltip = this.#altTextTooltip; - if (!tooltip) { - this.#altTextTooltip = tooltip = document.createElement("span"); - tooltip.className = "tooltip"; - tooltip.setAttribute("role", "tooltip"); - const id = tooltip.id = `alt-text-tooltip-${this.#editor.id}`; - button.setAttribute("aria-describedby", id); - const DELAY_TO_SHOW_TOOLTIP = 100; - button.addEventListener("mouseenter", () => { - this.#altTextTooltipTimeout = setTimeout(() => { - this.#altTextTooltipTimeout = null; - this.#altTextTooltip.classList.add("show"); - this.#editor._reportTelemetry({ - action: "alt_text_tooltip" - }); - }, DELAY_TO_SHOW_TOOLTIP); - }); - button.addEventListener("mouseleave", () => { - if (this.#altTextTooltipTimeout) { - clearTimeout(this.#altTextTooltipTimeout); - this.#altTextTooltipTimeout = null; - } - this.#altTextTooltip?.classList.remove("show"); - }); - } - tooltip.innerText = this.#altTextDecorative ? await AltText._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip") : this.#altText; - if (!tooltip.parentNode) { - button.append(tooltip); - } - const element = this.#editor.getImageForAltText(); - element?.setAttribute("aria-describedby", tooltip.id); - } -} - -// EXTERNAL MODULE: ./src/display/editor/toolbar.js -var toolbar = __webpack_require__(4362); -;// CONCATENATED MODULE: ./src/display/editor/editor.js - - - - - -class AnnotationEditor { - #allResizerDivs = null; - #altText = null; - #disabled = false; - #keepAspectRatio = false; - #resizersDiv = null; - #savedDimensions = null; - #boundFocusin = this.focusin.bind(this); - #boundFocusout = this.focusout.bind(this); - #editToolbar = null; - #focusedResizerName = ""; - #hasBeenClicked = false; - #initialPosition = null; - #isEditing = false; - #isInEditMode = false; - #isResizerEnabledForKeyboard = false; - #moveInDOMTimeout = null; - #prevDragX = 0; - #prevDragY = 0; - #telemetryTimeouts = null; - _initialOptions = Object.create(null); - _isVisible = true; - _uiManager = null; - _focusEventsAllowed = true; - _l10nPromise = null; - #isDraggable = false; - #zIndex = AnnotationEditor._zIndex++; - static _borderLineWidth = -1; - static _colorManager = new tools.ColorManager(); - static _zIndex = 1; - static _telemetryTimeout = 1000; - static get _resizerKeyboardManager() { - const resize = AnnotationEditor.prototype._resizeWithKeyboard; - const small = tools.AnnotationEditorUIManager.TRANSLATE_SMALL; - const big = tools.AnnotationEditorUIManager.TRANSLATE_BIG; - return (0,util.shadow)(this, "_resizerKeyboardManager", new tools.KeyboardManager([[["ArrowLeft", "mac+ArrowLeft"], resize, { - args: [-small, 0] - }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], resize, { - args: [-big, 0] - }], [["ArrowRight", "mac+ArrowRight"], resize, { - args: [small, 0] - }], [["ctrl+ArrowRight", "mac+shift+ArrowRight"], resize, { - args: [big, 0] - }], [["ArrowUp", "mac+ArrowUp"], resize, { - args: [0, -small] - }], [["ctrl+ArrowUp", "mac+shift+ArrowUp"], resize, { - args: [0, -big] - }], [["ArrowDown", "mac+ArrowDown"], resize, { - args: [0, small] - }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], resize, { - args: [0, big] - }], [["Escape", "mac+Escape"], AnnotationEditor.prototype._stopResizingWithKeyboard]])); - } - constructor(parameters) { - if (this.constructor === AnnotationEditor) { - (0,util.unreachable)("Cannot initialize AnnotationEditor."); - } - this.parent = parameters.parent; - this.id = parameters.id; - this.width = this.height = null; - this.pageIndex = parameters.parent.pageIndex; - this.name = parameters.name; - this.div = null; - this._uiManager = parameters.uiManager; - this.annotationElementId = null; - this._willKeepAspectRatio = false; - this._initialOptions.isCentered = parameters.isCentered; - this._structTreeParentId = null; - const { - rotation, - rawDims: { - pageWidth, - pageHeight, - pageX, - pageY - } - } = this.parent.viewport; - this.rotation = rotation; - this.pageRotation = (360 + rotation - this._uiManager.viewParameters.rotation) % 360; - this.pageDimensions = [pageWidth, pageHeight]; - this.pageTranslation = [pageX, pageY]; - const [width, height] = this.parentDimensions; - this.x = parameters.x / width; - this.y = parameters.y / height; - this.isAttachedToDOM = false; - this.deleted = false; - } - get editorType() { - return Object.getPrototypeOf(this).constructor._type; - } - static get _defaultLineColor() { - return (0,util.shadow)(this, "_defaultLineColor", this._colorManager.getHexCode("CanvasText")); - } - static deleteAnnotationElement(editor) { - const fakeEditor = new FakeEditor({ - id: editor.parent.getNextId(), - parent: editor.parent, - uiManager: editor._uiManager - }); - fakeEditor.annotationElementId = editor.annotationElementId; - fakeEditor.deleted = true; - fakeEditor._uiManager.addToAnnotationStorage(fakeEditor); - } - static initialize(l10n, _uiManager, options) { - AnnotationEditor._l10nPromise ||= new Map(["pdfjs-editor-alt-text-button-label", "pdfjs-editor-alt-text-edit-button-label", "pdfjs-editor-alt-text-decorative-tooltip", "pdfjs-editor-resizer-label-topLeft", "pdfjs-editor-resizer-label-topMiddle", "pdfjs-editor-resizer-label-topRight", "pdfjs-editor-resizer-label-middleRight", "pdfjs-editor-resizer-label-bottomRight", "pdfjs-editor-resizer-label-bottomMiddle", "pdfjs-editor-resizer-label-bottomLeft", "pdfjs-editor-resizer-label-middleLeft"].map(str => [str, l10n.get(str.replaceAll(/([A-Z])/g, c => `-${c.toLowerCase()}`))])); - if (options?.strings) { - for (const str of options.strings) { - AnnotationEditor._l10nPromise.set(str, l10n.get(str)); - } - } - if (AnnotationEditor._borderLineWidth !== -1) { - return; - } - const style = getComputedStyle(document.documentElement); - AnnotationEditor._borderLineWidth = parseFloat(style.getPropertyValue("--outline-width")) || 0; - } - static updateDefaultParams(_type, _value) {} - static get defaultPropertiesToUpdate() { - return []; - } - static isHandlingMimeForPasting(mime) { - return false; - } - static paste(item, parent) { - (0,util.unreachable)("Not implemented"); - } - get propertiesToUpdate() { - return []; - } - get _isDraggable() { - return this.#isDraggable; - } - set _isDraggable(value) { - this.#isDraggable = value; - this.div?.classList.toggle("draggable", value); - } - get isEnterHandled() { - return true; - } - center() { - const [pageWidth, pageHeight] = this.pageDimensions; - switch (this.parentRotation) { - case 90: - this.x -= this.height * pageHeight / (pageWidth * 2); - this.y += this.width * pageWidth / (pageHeight * 2); - break; - case 180: - this.x += this.width / 2; - this.y += this.height / 2; - break; - case 270: - this.x += this.height * pageHeight / (pageWidth * 2); - this.y -= this.width * pageWidth / (pageHeight * 2); - break; - default: - this.x -= this.width / 2; - this.y -= this.height / 2; - break; - } - this.fixAndSetPosition(); - } - addCommands(params) { - this._uiManager.addCommands(params); - } - get currentLayer() { - return this._uiManager.currentLayer; - } - setInBackground() { - this.div.style.zIndex = 0; - } - setInForeground() { - this.div.style.zIndex = this.#zIndex; - } - setParent(parent) { - if (parent !== null) { - this.pageIndex = parent.pageIndex; - this.pageDimensions = parent.pageDimensions; - } else { - this.#stopResizing(); - } - this.parent = parent; - } - focusin(event) { - if (!this._focusEventsAllowed) { - return; - } - if (!this.#hasBeenClicked) { - this.parent.setSelected(this); - } else { - this.#hasBeenClicked = false; - } - } - focusout(event) { - if (!this._focusEventsAllowed) { - return; - } - if (!this.isAttachedToDOM) { - return; - } - const target = event.relatedTarget; - if (target?.closest(`#${this.id}`)) { - return; - } - event.preventDefault(); - if (!this.parent?.isMultipleSelection) { - this.commitOrRemove(); - } - } - commitOrRemove() { - if (this.isEmpty()) { - this.remove(); - } else { - this.commit(); - } - } - commit() { - this.addToAnnotationStorage(); - } - addToAnnotationStorage() { - this._uiManager.addToAnnotationStorage(this); - } - setAt(x, y, tx, ty) { - const [width, height] = this.parentDimensions; - [tx, ty] = this.screenToPageTranslation(tx, ty); - this.x = (x + tx) / width; - this.y = (y + ty) / height; - this.fixAndSetPosition(); - } - #translate([width, height], x, y) { - [x, y] = this.screenToPageTranslation(x, y); - this.x += x / width; - this.y += y / height; - this.fixAndSetPosition(); - } - translate(x, y) { - this.#translate(this.parentDimensions, x, y); - } - translateInPage(x, y) { - this.#initialPosition ||= [this.x, this.y]; - this.#translate(this.pageDimensions, x, y); - this.div.scrollIntoView({ - block: "nearest" - }); - } - drag(tx, ty) { - this.#initialPosition ||= [this.x, this.y]; - const [parentWidth, parentHeight] = this.parentDimensions; - this.x += tx / parentWidth; - this.y += ty / parentHeight; - if (this.parent && (this.x < 0 || this.x > 1 || this.y < 0 || this.y > 1)) { - const { - x, - y - } = this.div.getBoundingClientRect(); - if (this.parent.findNewParent(this, x, y)) { - this.x -= Math.floor(this.x); - this.y -= Math.floor(this.y); - } - } - let { - x, - y - } = this; - const [bx, by] = this.getBaseTranslation(); - x += bx; - y += by; - this.div.style.left = `${(100 * x).toFixed(2)}%`; - this.div.style.top = `${(100 * y).toFixed(2)}%`; - this.div.scrollIntoView({ - block: "nearest" - }); - } - get _hasBeenMoved() { - return !!this.#initialPosition && (this.#initialPosition[0] !== this.x || this.#initialPosition[1] !== this.y); - } - getBaseTranslation() { - const [parentWidth, parentHeight] = this.parentDimensions; - const { - _borderLineWidth - } = AnnotationEditor; - const x = _borderLineWidth / parentWidth; - const y = _borderLineWidth / parentHeight; - switch (this.rotation) { - case 90: - return [-x, y]; - case 180: - return [x, y]; - case 270: - return [x, -y]; - default: - return [-x, -y]; - } - } - get _mustFixPosition() { - return true; - } - fixAndSetPosition(rotation = this.rotation) { - const [pageWidth, pageHeight] = this.pageDimensions; - let { - x, - y, - width, - height - } = this; - width *= pageWidth; - height *= pageHeight; - x *= pageWidth; - y *= pageHeight; - if (this._mustFixPosition) { - switch (rotation) { - case 0: - x = Math.max(0, Math.min(pageWidth - width, x)); - y = Math.max(0, Math.min(pageHeight - height, y)); - break; - case 90: - x = Math.max(0, Math.min(pageWidth - height, x)); - y = Math.min(pageHeight, Math.max(width, y)); - break; - case 180: - x = Math.min(pageWidth, Math.max(width, x)); - y = Math.min(pageHeight, Math.max(height, y)); - break; - case 270: - x = Math.min(pageWidth, Math.max(height, x)); - y = Math.max(0, Math.min(pageHeight - width, y)); - break; - } - } - this.x = x /= pageWidth; - this.y = y /= pageHeight; - const [bx, by] = this.getBaseTranslation(); - x += bx; - y += by; - const { - style - } = this.div; - style.left = `${(100 * x).toFixed(2)}%`; - style.top = `${(100 * y).toFixed(2)}%`; - this.moveInDOM(); - } - static #rotatePoint(x, y, angle) { - switch (angle) { - case 90: - return [y, -x]; - case 180: - return [-x, -y]; - case 270: - return [-y, x]; - default: - return [x, y]; - } - } - screenToPageTranslation(x, y) { - return AnnotationEditor.#rotatePoint(x, y, this.parentRotation); - } - pageTranslationToScreen(x, y) { - return AnnotationEditor.#rotatePoint(x, y, 360 - this.parentRotation); - } - #getRotationMatrix(rotation) { - switch (rotation) { - case 90: - { - const [pageWidth, pageHeight] = this.pageDimensions; - return [0, -pageWidth / pageHeight, pageHeight / pageWidth, 0]; - } - case 180: - return [-1, 0, 0, -1]; - case 270: - { - const [pageWidth, pageHeight] = this.pageDimensions; - return [0, pageWidth / pageHeight, -pageHeight / pageWidth, 0]; - } - default: - return [1, 0, 0, 1]; - } - } - get parentScale() { - return this._uiManager.viewParameters.realScale; - } - get parentRotation() { - return (this._uiManager.viewParameters.rotation + this.pageRotation) % 360; - } - get parentDimensions() { - const { - parentScale, - pageDimensions: [pageWidth, pageHeight] - } = this; - const scaledWidth = pageWidth * parentScale; - const scaledHeight = pageHeight * parentScale; - return util.FeatureTest.isCSSRoundSupported ? [Math.round(scaledWidth), Math.round(scaledHeight)] : [scaledWidth, scaledHeight]; - } - setDims(width, height) { - const [parentWidth, parentHeight] = this.parentDimensions; - this.div.style.width = `${(100 * width / parentWidth).toFixed(2)}%`; - if (!this.#keepAspectRatio) { - this.div.style.height = `${(100 * height / parentHeight).toFixed(2)}%`; - } - } - fixDims() { - const { - style - } = this.div; - const { - height, - width - } = style; - const widthPercent = width.endsWith("%"); - const heightPercent = !this.#keepAspectRatio && height.endsWith("%"); - if (widthPercent && heightPercent) { - return; - } - const [parentWidth, parentHeight] = this.parentDimensions; - if (!widthPercent) { - style.width = `${(100 * parseFloat(width) / parentWidth).toFixed(2)}%`; - } - if (!this.#keepAspectRatio && !heightPercent) { - style.height = `${(100 * parseFloat(height) / parentHeight).toFixed(2)}%`; - } - } - getInitialTranslation() { - return [0, 0]; - } - #createResizers() { - if (this.#resizersDiv) { - return; - } - this.#resizersDiv = document.createElement("div"); - this.#resizersDiv.classList.add("resizers"); - const classes = this._willKeepAspectRatio ? ["topLeft", "topRight", "bottomRight", "bottomLeft"] : ["topLeft", "topMiddle", "topRight", "middleRight", "bottomRight", "bottomMiddle", "bottomLeft", "middleLeft"]; - for (const name of classes) { - const div = document.createElement("div"); - this.#resizersDiv.append(div); - div.classList.add("resizer", name); - div.setAttribute("data-resizer-name", name); - div.addEventListener("pointerdown", this.#resizerPointerdown.bind(this, name)); - div.addEventListener("contextmenu", display_utils.noContextMenu); - div.tabIndex = -1; - } - this.div.prepend(this.#resizersDiv); - } - #resizerPointerdown(name, event) { - event.preventDefault(); - const { - isMac - } = util.FeatureTest.platform; - if (event.button !== 0 || event.ctrlKey && isMac) { - return; - } - this.#altText?.toggle(false); - const boundResizerPointermove = this.#resizerPointermove.bind(this, name); - const savedDraggable = this._isDraggable; - this._isDraggable = false; - const pointerMoveOptions = { - passive: true, - capture: true - }; - this.parent.togglePointerEvents(false); - window.addEventListener("pointermove", boundResizerPointermove, pointerMoveOptions); - window.addEventListener("contextmenu", display_utils.noContextMenu); - const savedX = this.x; - const savedY = this.y; - const savedWidth = this.width; - const savedHeight = this.height; - const savedParentCursor = this.parent.div.style.cursor; - const savedCursor = this.div.style.cursor; - this.div.style.cursor = this.parent.div.style.cursor = window.getComputedStyle(event.target).cursor; - const pointerUpCallback = () => { - this.parent.togglePointerEvents(true); - this.#altText?.toggle(true); - this._isDraggable = savedDraggable; - window.removeEventListener("pointerup", pointerUpCallback); - window.removeEventListener("blur", pointerUpCallback); - window.removeEventListener("pointermove", boundResizerPointermove, pointerMoveOptions); - window.removeEventListener("contextmenu", display_utils.noContextMenu); - this.parent.div.style.cursor = savedParentCursor; - this.div.style.cursor = savedCursor; - this.#addResizeToUndoStack(savedX, savedY, savedWidth, savedHeight); - }; - window.addEventListener("pointerup", pointerUpCallback); - window.addEventListener("blur", pointerUpCallback); - } - #addResizeToUndoStack(savedX, savedY, savedWidth, savedHeight) { - const newX = this.x; - const newY = this.y; - const newWidth = this.width; - const newHeight = this.height; - if (newX === savedX && newY === savedY && newWidth === savedWidth && newHeight === savedHeight) { - return; - } - this.addCommands({ - cmd: () => { - this.width = newWidth; - this.height = newHeight; - this.x = newX; - this.y = newY; - const [parentWidth, parentHeight] = this.parentDimensions; - this.setDims(parentWidth * newWidth, parentHeight * newHeight); - this.fixAndSetPosition(); - }, - undo: () => { - this.width = savedWidth; - this.height = savedHeight; - this.x = savedX; - this.y = savedY; - const [parentWidth, parentHeight] = this.parentDimensions; - this.setDims(parentWidth * savedWidth, parentHeight * savedHeight); - this.fixAndSetPosition(); - }, - mustExec: true - }); - } - #resizerPointermove(name, event) { - const [parentWidth, parentHeight] = this.parentDimensions; - const savedX = this.x; - const savedY = this.y; - const savedWidth = this.width; - const savedHeight = this.height; - const minWidth = AnnotationEditor.MIN_SIZE / parentWidth; - const minHeight = AnnotationEditor.MIN_SIZE / parentHeight; - const round = x => Math.round(x * 10000) / 10000; - const rotationMatrix = this.#getRotationMatrix(this.rotation); - const transf = (x, y) => [rotationMatrix[0] * x + rotationMatrix[2] * y, rotationMatrix[1] * x + rotationMatrix[3] * y]; - const invRotationMatrix = this.#getRotationMatrix(360 - this.rotation); - const invTransf = (x, y) => [invRotationMatrix[0] * x + invRotationMatrix[2] * y, invRotationMatrix[1] * x + invRotationMatrix[3] * y]; - let getPoint; - let getOpposite; - let isDiagonal = false; - let isHorizontal = false; - switch (name) { - case "topLeft": - isDiagonal = true; - getPoint = (w, h) => [0, 0]; - getOpposite = (w, h) => [w, h]; - break; - case "topMiddle": - getPoint = (w, h) => [w / 2, 0]; - getOpposite = (w, h) => [w / 2, h]; - break; - case "topRight": - isDiagonal = true; - getPoint = (w, h) => [w, 0]; - getOpposite = (w, h) => [0, h]; - break; - case "middleRight": - isHorizontal = true; - getPoint = (w, h) => [w, h / 2]; - getOpposite = (w, h) => [0, h / 2]; - break; - case "bottomRight": - isDiagonal = true; - getPoint = (w, h) => [w, h]; - getOpposite = (w, h) => [0, 0]; - break; - case "bottomMiddle": - getPoint = (w, h) => [w / 2, h]; - getOpposite = (w, h) => [w / 2, 0]; - break; - case "bottomLeft": - isDiagonal = true; - getPoint = (w, h) => [0, h]; - getOpposite = (w, h) => [w, 0]; - break; - case "middleLeft": - isHorizontal = true; - getPoint = (w, h) => [0, h / 2]; - getOpposite = (w, h) => [w, h / 2]; - break; - } - const point = getPoint(savedWidth, savedHeight); - const oppositePoint = getOpposite(savedWidth, savedHeight); - let transfOppositePoint = transf(...oppositePoint); - const oppositeX = round(savedX + transfOppositePoint[0]); - const oppositeY = round(savedY + transfOppositePoint[1]); - let ratioX = 1; - let ratioY = 1; - let [deltaX, deltaY] = this.screenToPageTranslation(event.movementX, event.movementY); - [deltaX, deltaY] = invTransf(deltaX / parentWidth, deltaY / parentHeight); - if (isDiagonal) { - const oldDiag = Math.hypot(savedWidth, savedHeight); - ratioX = ratioY = Math.max(Math.min(Math.hypot(oppositePoint[0] - point[0] - deltaX, oppositePoint[1] - point[1] - deltaY) / oldDiag, 1 / savedWidth, 1 / savedHeight), minWidth / savedWidth, minHeight / savedHeight); - } else if (isHorizontal) { - ratioX = Math.max(minWidth, Math.min(1, Math.abs(oppositePoint[0] - point[0] - deltaX))) / savedWidth; - } else { - ratioY = Math.max(minHeight, Math.min(1, Math.abs(oppositePoint[1] - point[1] - deltaY))) / savedHeight; - } - const newWidth = round(savedWidth * ratioX); - const newHeight = round(savedHeight * ratioY); - transfOppositePoint = transf(...getOpposite(newWidth, newHeight)); - const newX = oppositeX - transfOppositePoint[0]; - const newY = oppositeY - transfOppositePoint[1]; - this.width = newWidth; - this.height = newHeight; - this.x = newX; - this.y = newY; - this.setDims(parentWidth * newWidth, parentHeight * newHeight); - this.fixAndSetPosition(); - } - altTextFinish() { - this.#altText?.finish(); - } - async addEditToolbar() { - if (this.#editToolbar || this.#isInEditMode) { - return this.#editToolbar; - } - this.#editToolbar = new toolbar.EditorToolbar(this); - this.div.append(this.#editToolbar.render()); - if (this.#altText) { - this.#editToolbar.addAltTextButton(await this.#altText.render()); - } - return this.#editToolbar; - } - removeEditToolbar() { - if (!this.#editToolbar) { - return; - } - this.#editToolbar.remove(); - this.#editToolbar = null; - this.#altText?.destroy(); - } - getClientDimensions() { - return this.div.getBoundingClientRect(); - } - async addAltTextButton() { - if (this.#altText) { - return; - } - AltText.initialize(AnnotationEditor._l10nPromise); - this.#altText = new AltText(this); - await this.addEditToolbar(); - } - get altTextData() { - return this.#altText?.data; - } - set altTextData(data) { - if (!this.#altText) { - return; - } - this.#altText.data = data; - } - hasAltText() { - return !this.#altText?.isEmpty(); - } - render() { - this.div = document.createElement("div"); - this.div.setAttribute("data-editor-rotation", (360 - this.rotation) % 360); - this.div.className = this.name; - this.div.setAttribute("id", this.id); - this.div.tabIndex = this.#disabled ? -1 : 0; - if (!this._isVisible) { - this.div.classList.add("hidden"); - } - this.setInForeground(); - this.div.addEventListener("focusin", this.#boundFocusin); - this.div.addEventListener("focusout", this.#boundFocusout); - const [parentWidth, parentHeight] = this.parentDimensions; - if (this.parentRotation % 180 !== 0) { - this.div.style.maxWidth = `${(100 * parentHeight / parentWidth).toFixed(2)}%`; - this.div.style.maxHeight = `${(100 * parentWidth / parentHeight).toFixed(2)}%`; - } - const [tx, ty] = this.getInitialTranslation(); - this.translate(tx, ty); - (0,tools.bindEvents)(this, this.div, ["pointerdown"]); - return this.div; - } - pointerdown(event) { - const { - isMac - } = util.FeatureTest.platform; - if (event.button !== 0 || event.ctrlKey && isMac) { - event.preventDefault(); - return; - } - this.#hasBeenClicked = true; - if (this._isDraggable) { - this.#setUpDragSession(event); - return; - } - this.#selectOnPointerEvent(event); - } - #selectOnPointerEvent(event) { - const { - isMac - } = util.FeatureTest.platform; - if (event.ctrlKey && !isMac || event.shiftKey || event.metaKey && isMac) { - this.parent.toggleSelected(this); - } else { - this.parent.setSelected(this); - } - } - #setUpDragSession(event) { - const isSelected = this._uiManager.isSelected(this); - this._uiManager.setUpDragSession(); - let pointerMoveOptions, pointerMoveCallback; - if (isSelected) { - this.div.classList.add("moving"); - pointerMoveOptions = { - passive: true, - capture: true - }; - this.#prevDragX = event.clientX; - this.#prevDragY = event.clientY; - pointerMoveCallback = e => { - const { - clientX: x, - clientY: y - } = e; - const [tx, ty] = this.screenToPageTranslation(x - this.#prevDragX, y - this.#prevDragY); - this.#prevDragX = x; - this.#prevDragY = y; - this._uiManager.dragSelectedEditors(tx, ty); - }; - window.addEventListener("pointermove", pointerMoveCallback, pointerMoveOptions); - } - const pointerUpCallback = () => { - window.removeEventListener("pointerup", pointerUpCallback); - window.removeEventListener("blur", pointerUpCallback); - if (isSelected) { - this.div.classList.remove("moving"); - window.removeEventListener("pointermove", pointerMoveCallback, pointerMoveOptions); - } - this.#hasBeenClicked = false; - if (!this._uiManager.endDragSession()) { - this.#selectOnPointerEvent(event); - } - }; - window.addEventListener("pointerup", pointerUpCallback); - window.addEventListener("blur", pointerUpCallback); - } - moveInDOM() { - if (this.#moveInDOMTimeout) { - clearTimeout(this.#moveInDOMTimeout); - } - this.#moveInDOMTimeout = setTimeout(() => { - this.#moveInDOMTimeout = null; - this.parent?.moveEditorInDOM(this); - }, 0); - } - _setParentAndPosition(parent, x, y) { - parent.changeParent(this); - this.x = x; - this.y = y; - this.fixAndSetPosition(); - } - getRect(tx, ty, rotation = this.rotation) { - const scale = this.parentScale; - const [pageWidth, pageHeight] = this.pageDimensions; - const [pageX, pageY] = this.pageTranslation; - const shiftX = tx / scale; - const shiftY = ty / scale; - const x = this.x * pageWidth; - const y = this.y * pageHeight; - const width = this.width * pageWidth; - const height = this.height * pageHeight; - switch (rotation) { - case 0: - return [x + shiftX + pageX, pageHeight - y - shiftY - height + pageY, x + shiftX + width + pageX, pageHeight - y - shiftY + pageY]; - case 90: - return [x + shiftY + pageX, pageHeight - y + shiftX + pageY, x + shiftY + height + pageX, pageHeight - y + shiftX + width + pageY]; - case 180: - return [x - shiftX - width + pageX, pageHeight - y + shiftY + pageY, x - shiftX + pageX, pageHeight - y + shiftY + height + pageY]; - case 270: - return [x - shiftY - height + pageX, pageHeight - y - shiftX - width + pageY, x - shiftY + pageX, pageHeight - y - shiftX + pageY]; - default: - throw new Error("Invalid rotation"); - } - } - getRectInCurrentCoords(rect, pageHeight) { - const [x1, y1, x2, y2] = rect; - const width = x2 - x1; - const height = y2 - y1; - switch (this.rotation) { - case 0: - return [x1, pageHeight - y2, width, height]; - case 90: - return [x1, pageHeight - y1, height, width]; - case 180: - return [x2, pageHeight - y1, width, height]; - case 270: - return [x2, pageHeight - y2, height, width]; - default: - throw new Error("Invalid rotation"); - } - } - onceAdded() {} - isEmpty() { - return false; - } - enableEditMode() { - this.#isInEditMode = true; - } - disableEditMode() { - this.#isInEditMode = false; - } - isInEditMode() { - return this.#isInEditMode; - } - shouldGetKeyboardEvents() { - return this.#isResizerEnabledForKeyboard; - } - needsToBeRebuilt() { - return this.div && !this.isAttachedToDOM; - } - rebuild() { - this.div?.addEventListener("focusin", this.#boundFocusin); - this.div?.addEventListener("focusout", this.#boundFocusout); - } - rotate(_angle) {} - serialize(isForCopying = false, context = null) { - (0,util.unreachable)("An editor must be serializable"); - } - static deserialize(data, parent, uiManager) { - const editor = new this.prototype.constructor({ - parent, - id: parent.getNextId(), - uiManager - }); - editor.rotation = data.rotation; - const [pageWidth, pageHeight] = editor.pageDimensions; - const [x, y, width, height] = editor.getRectInCurrentCoords(data.rect, pageHeight); - editor.x = x / pageWidth; - editor.y = y / pageHeight; - editor.width = width / pageWidth; - editor.height = height / pageHeight; - return editor; - } - get hasBeenModified() { - return !!this.annotationElementId && (this.deleted || this.serialize() !== null); - } - remove() { - this.div.removeEventListener("focusin", this.#boundFocusin); - this.div.removeEventListener("focusout", this.#boundFocusout); - if (!this.isEmpty()) { - this.commit(); - } - if (this.parent) { - this.parent.remove(this); - } else { - this._uiManager.removeEditor(this); - } - if (this.#moveInDOMTimeout) { - clearTimeout(this.#moveInDOMTimeout); - this.#moveInDOMTimeout = null; - } - this.#stopResizing(); - this.removeEditToolbar(); - if (this.#telemetryTimeouts) { - for (const timeout of this.#telemetryTimeouts.values()) { - clearTimeout(timeout); - } - this.#telemetryTimeouts = null; - } - this.parent = null; - } - get isResizable() { - return false; - } - makeResizable() { - if (this.isResizable) { - this.#createResizers(); - this.#resizersDiv.classList.remove("hidden"); - (0,tools.bindEvents)(this, this.div, ["keydown"]); - } - } - get toolbarPosition() { - return null; - } - keydown(event) { - if (!this.isResizable || event.target !== this.div || event.key !== "Enter") { - return; - } - this._uiManager.setSelected(this); - this.#savedDimensions = { - savedX: this.x, - savedY: this.y, - savedWidth: this.width, - savedHeight: this.height - }; - const children = this.#resizersDiv.children; - if (!this.#allResizerDivs) { - this.#allResizerDivs = Array.from(children); - const boundResizerKeydown = this.#resizerKeydown.bind(this); - const boundResizerBlur = this.#resizerBlur.bind(this); - for (const div of this.#allResizerDivs) { - const name = div.getAttribute("data-resizer-name"); - div.setAttribute("role", "spinbutton"); - div.addEventListener("keydown", boundResizerKeydown); - div.addEventListener("blur", boundResizerBlur); - div.addEventListener("focus", this.#resizerFocus.bind(this, name)); - AnnotationEditor._l10nPromise.get(`pdfjs-editor-resizer-label-${name}`).then(msg => div.setAttribute("aria-label", msg)); - } - } - const first = this.#allResizerDivs[0]; - let firstPosition = 0; - for (const div of children) { - if (div === first) { - break; - } - firstPosition++; - } - const nextFirstPosition = (360 - this.rotation + this.parentRotation) % 360 / 90 * (this.#allResizerDivs.length / 4); - if (nextFirstPosition !== firstPosition) { - if (nextFirstPosition < firstPosition) { - for (let i = 0; i < firstPosition - nextFirstPosition; i++) { - this.#resizersDiv.append(this.#resizersDiv.firstChild); - } - } else if (nextFirstPosition > firstPosition) { - for (let i = 0; i < nextFirstPosition - firstPosition; i++) { - this.#resizersDiv.firstChild.before(this.#resizersDiv.lastChild); - } - } - let i = 0; - for (const child of children) { - const div = this.#allResizerDivs[i++]; - const name = div.getAttribute("data-resizer-name"); - AnnotationEditor._l10nPromise.get(`pdfjs-editor-resizer-label-${name}`).then(msg => child.setAttribute("aria-label", msg)); - } - } - this.#setResizerTabIndex(0); - this.#isResizerEnabledForKeyboard = true; - this.#resizersDiv.firstChild.focus({ - focusVisible: true - }); - event.preventDefault(); - event.stopImmediatePropagation(); - } - #resizerKeydown(event) { - AnnotationEditor._resizerKeyboardManager.exec(this, event); - } - #resizerBlur(event) { - if (this.#isResizerEnabledForKeyboard && event.relatedTarget?.parentNode !== this.#resizersDiv) { - this.#stopResizing(); - } - } - #resizerFocus(name) { - this.#focusedResizerName = this.#isResizerEnabledForKeyboard ? name : ""; - } - #setResizerTabIndex(value) { - if (!this.#allResizerDivs) { - return; - } - for (const div of this.#allResizerDivs) { - div.tabIndex = value; - } - } - _resizeWithKeyboard(x, y) { - if (!this.#isResizerEnabledForKeyboard) { - return; - } - this.#resizerPointermove(this.#focusedResizerName, { - movementX: x, - movementY: y - }); - } - #stopResizing() { - this.#isResizerEnabledForKeyboard = false; - this.#setResizerTabIndex(-1); - if (this.#savedDimensions) { - const { - savedX, - savedY, - savedWidth, - savedHeight - } = this.#savedDimensions; - this.#addResizeToUndoStack(savedX, savedY, savedWidth, savedHeight); - this.#savedDimensions = null; - } - } - _stopResizingWithKeyboard() { - this.#stopResizing(); - this.div.focus(); - } - select() { - this.makeResizable(); - this.div?.classList.add("selectedEditor"); - if (!this.#editToolbar) { - this.addEditToolbar().then(() => { - if (this.div?.classList.contains("selectedEditor")) { - this.#editToolbar?.show(); - } - }); - return; - } - this.#editToolbar?.show(); - } - unselect() { - this.#resizersDiv?.classList.add("hidden"); - this.div?.classList.remove("selectedEditor"); - if (this.div?.contains(document.activeElement)) { - this._uiManager.currentLayer.div.focus({ - preventScroll: true - }); - } - this.#editToolbar?.hide(); - } - updateParams(type, value) {} - disableEditing() {} - enableEditing() {} - enterInEditMode() {} - getImageForAltText() { - return null; - } - get contentDiv() { - return this.div; - } - get isEditing() { - return this.#isEditing; - } - set isEditing(value) { - this.#isEditing = value; - if (!this.parent) { - return; - } - if (value) { - this.parent.setSelected(this); - this.parent.setActiveEditor(this); - } else { - this.parent.setActiveEditor(null); - } - } - setAspectRatio(width, height) { - this.#keepAspectRatio = true; - const aspectRatio = width / height; - const { - style - } = this.div; - style.aspectRatio = aspectRatio; - style.height = "auto"; - } - static get MIN_SIZE() { - return 16; - } - static canCreateNewEmptyEditor() { - return true; - } - get telemetryInitialData() { - return { - action: "added" - }; - } - get telemetryFinalData() { - return null; - } - _reportTelemetry(data, mustWait = false) { - if (mustWait) { - this.#telemetryTimeouts ||= new Map(); - const { - action - } = data; - let timeout = this.#telemetryTimeouts.get(action); - if (timeout) { - clearTimeout(timeout); - } - timeout = setTimeout(() => { - this._reportTelemetry(data); - this.#telemetryTimeouts.delete(action); - if (this.#telemetryTimeouts.size === 0) { - this.#telemetryTimeouts = null; - } - }, AnnotationEditor._telemetryTimeout); - this.#telemetryTimeouts.set(action, timeout); - return; - } - data.type ||= this.editorType; - this._uiManager._eventBus.dispatch("reporttelemetry", { - source: this, - details: { - type: "editing", - data - } - }); - } - show(visible = this._isVisible) { - this.div.classList.toggle("hidden", !visible); - this._isVisible = visible; - } - enable() { - if (this.div) { - this.div.tabIndex = 0; - } - this.#disabled = false; - } - disable() { - if (this.div) { - this.div.tabIndex = -1; - } - this.#disabled = true; - } - renderAnnotationElement(annotation) { - let content = annotation.container.querySelector(".annotationContent"); - if (!content) { - content = document.createElement("div"); - content.classList.add("annotationContent", this.editorType); - annotation.container.prepend(content); - } else if (content.nodeName === "CANVAS") { - const canvas = content; - content = document.createElement("div"); - content.classList.add("annotationContent", this.editorType); - canvas.before(content); - } - return content; - } - resetAnnotationElement(annotation) { - const { - firstChild - } = annotation.container; - if (firstChild.nodeName === "DIV" && firstChild.classList.contains("annotationContent")) { - firstChild.remove(); - } - } -} -class FakeEditor extends AnnotationEditor { - constructor(params) { - super(params); - this.annotationElementId = params.annotationElementId; - this.deleted = true; - } - serialize() { - return { - id: this.annotationElementId, - deleted: true, - pageIndex: this.pageIndex - }; - } -} - - -/***/ }), - -/***/ 4061: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ FreeOutliner: () => (/* binding */ FreeOutliner), -/* harmony export */ Outliner: () => (/* binding */ Outliner) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(6197); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(4292); - - - - - - - - - - - - - - - -class Outliner { - #box; - #verticalEdges = []; - #intervals = []; - constructor(boxes, borderWidth = 0, innerMargin = 0, isLTR = true) { - let minX = Infinity; - let maxX = -Infinity; - let minY = Infinity; - let maxY = -Infinity; - const NUMBER_OF_DIGITS = 4; - const EPSILON = 10 ** -NUMBER_OF_DIGITS; - for (const { - x, - y, - width, - height - } of boxes) { - const x1 = Math.floor((x - borderWidth) / EPSILON) * EPSILON; - const x2 = Math.ceil((x + width + borderWidth) / EPSILON) * EPSILON; - const y1 = Math.floor((y - borderWidth) / EPSILON) * EPSILON; - const y2 = Math.ceil((y + height + borderWidth) / EPSILON) * EPSILON; - const left = [x1, y1, y2, true]; - const right = [x2, y1, y2, false]; - this.#verticalEdges.push(left, right); - minX = Math.min(minX, x1); - maxX = Math.max(maxX, x2); - minY = Math.min(minY, y1); - maxY = Math.max(maxY, y2); - } - const bboxWidth = maxX - minX + 2 * innerMargin; - const bboxHeight = maxY - minY + 2 * innerMargin; - const shiftedMinX = minX - innerMargin; - const shiftedMinY = minY - innerMargin; - const lastEdge = this.#verticalEdges.at(isLTR ? -1 : -2); - const lastPoint = [lastEdge[0], lastEdge[2]]; - for (const edge of this.#verticalEdges) { - const [x, y1, y2] = edge; - edge[0] = (x - shiftedMinX) / bboxWidth; - edge[1] = (y1 - shiftedMinY) / bboxHeight; - edge[2] = (y2 - shiftedMinY) / bboxHeight; - } - this.#box = { - x: shiftedMinX, - y: shiftedMinY, - width: bboxWidth, - height: bboxHeight, - lastPoint - }; - } - getOutlines() { - this.#verticalEdges.sort((a, b) => a[0] - b[0] || a[1] - b[1] || a[2] - b[2]); - const outlineVerticalEdges = []; - for (const edge of this.#verticalEdges) { - if (edge[3]) { - outlineVerticalEdges.push(...this.#breakEdge(edge)); - this.#insert(edge); - } else { - this.#remove(edge); - outlineVerticalEdges.push(...this.#breakEdge(edge)); - } - } - return this.#getOutlines(outlineVerticalEdges); - } - #getOutlines(outlineVerticalEdges) { - const edges = []; - const allEdges = new Set(); - for (const edge of outlineVerticalEdges) { - const [x, y1, y2] = edge; - edges.push([x, y1, edge], [x, y2, edge]); - } - edges.sort((a, b) => a[1] - b[1] || a[0] - b[0]); - for (let i = 0, ii = edges.length; i < ii; i += 2) { - const edge1 = edges[i][2]; - const edge2 = edges[i + 1][2]; - edge1.push(edge2); - edge2.push(edge1); - allEdges.add(edge1); - allEdges.add(edge2); - } - const outlines = []; - let outline; - while (allEdges.size > 0) { - const edge = allEdges.values().next().value; - let [x, y1, y2, edge1, edge2] = edge; - allEdges.delete(edge); - let lastPointX = x; - let lastPointY = y1; - outline = [x, y2]; - outlines.push(outline); - while (true) { - let e; - if (allEdges.has(edge1)) { - e = edge1; - } else if (allEdges.has(edge2)) { - e = edge2; - } else { - break; - } - allEdges.delete(e); - [x, y1, y2, edge1, edge2] = e; - if (lastPointX !== x) { - outline.push(lastPointX, lastPointY, x, lastPointY === y1 ? y1 : y2); - lastPointX = x; - } - lastPointY = lastPointY === y1 ? y2 : y1; - } - outline.push(lastPointX, lastPointY); - } - return new HighlightOutline(outlines, this.#box); - } - #binarySearch(y) { - const array = this.#intervals; - let start = 0; - let end = array.length - 1; - while (start <= end) { - const middle = start + end >> 1; - const y1 = array[middle][0]; - if (y1 === y) { - return middle; - } - if (y1 < y) { - start = middle + 1; - } else { - end = middle - 1; - } - } - return end + 1; - } - #insert([, y1, y2]) { - const index = this.#binarySearch(y1); - this.#intervals.splice(index, 0, [y1, y2]); - } - #remove([, y1, y2]) { - const index = this.#binarySearch(y1); - for (let i = index; i < this.#intervals.length; i++) { - const [start, end] = this.#intervals[i]; - if (start !== y1) { - break; - } - if (start === y1 && end === y2) { - this.#intervals.splice(i, 1); - return; - } - } - for (let i = index - 1; i >= 0; i--) { - const [start, end] = this.#intervals[i]; - if (start !== y1) { - break; - } - if (start === y1 && end === y2) { - this.#intervals.splice(i, 1); - return; - } - } - } - #breakEdge(edge) { - const [x, y1, y2] = edge; - const results = [[x, y1, y2]]; - const index = this.#binarySearch(y2); - for (let i = 0; i < index; i++) { - const [start, end] = this.#intervals[i]; - for (let j = 0, jj = results.length; j < jj; j++) { - const [, y3, y4] = results[j]; - if (end <= y3 || y4 <= start) { - continue; - } - if (y3 >= start) { - if (y4 > end) { - results[j][1] = end; - } else { - if (jj === 1) { - return []; - } - results.splice(j, 1); - j--; - jj--; - } - continue; - } - results[j][2] = start; - if (y4 > end) { - results.push([x, end, y4]); - } - } - } - return results; - } -} -class Outline { - toSVGPath() { - throw new Error("Abstract method `toSVGPath` must be implemented."); - } - get box() { - throw new Error("Abstract getter `box` must be implemented."); - } - serialize(_bbox, _rotation) { - throw new Error("Abstract method `serialize` must be implemented."); - } - get free() { - return this instanceof FreeHighlightOutline; - } -} -class HighlightOutline extends Outline { - #box; - #outlines; - constructor(outlines, box) { - super(); - this.#outlines = outlines; - this.#box = box; - } - toSVGPath() { - const buffer = []; - for (const polygon of this.#outlines) { - let [prevX, prevY] = polygon; - buffer.push(`M${prevX} ${prevY}`); - for (let i = 2; i < polygon.length; i += 2) { - const x = polygon[i]; - const y = polygon[i + 1]; - if (x === prevX) { - buffer.push(`V${y}`); - prevY = y; - } else if (y === prevY) { - buffer.push(`H${x}`); - prevX = x; - } - } - buffer.push("Z"); - } - return buffer.join(" "); - } - serialize([blX, blY, trX, trY], _rotation) { - const outlines = []; - const width = trX - blX; - const height = trY - blY; - for (const outline of this.#outlines) { - const points = new Array(outline.length); - for (let i = 0; i < outline.length; i += 2) { - points[i] = blX + outline[i] * width; - points[i + 1] = trY - outline[i + 1] * height; - } - outlines.push(points); - } - return outlines; - } - get box() { - return this.#box; - } -} -class FreeOutliner { - #box; - #bottom = []; - #innerMargin; - #isLTR; - #top = []; - #last = new Float64Array(18); - #lastX; - #lastY; - #min; - #min_dist; - #scaleFactor; - #thickness; - #points = []; - static #MIN_DIST = 8; - static #MIN_DIFF = 2; - static #MIN = FreeOutliner.#MIN_DIST + FreeOutliner.#MIN_DIFF; - constructor({ - x, - y - }, box, scaleFactor, thickness, isLTR, innerMargin = 0) { - this.#box = box; - this.#thickness = thickness * scaleFactor; - this.#isLTR = isLTR; - this.#last.set([NaN, NaN, NaN, NaN, x, y], 6); - this.#innerMargin = innerMargin; - this.#min_dist = FreeOutliner.#MIN_DIST * scaleFactor; - this.#min = FreeOutliner.#MIN * scaleFactor; - this.#scaleFactor = scaleFactor; - this.#points.push(x, y); - } - get free() { - return true; - } - isEmpty() { - return isNaN(this.#last[8]); - } - #getLastCoords() { - const lastTop = this.#last.subarray(4, 6); - const lastBottom = this.#last.subarray(16, 18); - const [x, y, width, height] = this.#box; - return [(this.#lastX + (lastTop[0] - lastBottom[0]) / 2 - x) / width, (this.#lastY + (lastTop[1] - lastBottom[1]) / 2 - y) / height, (this.#lastX + (lastBottom[0] - lastTop[0]) / 2 - x) / width, (this.#lastY + (lastBottom[1] - lastTop[1]) / 2 - y) / height]; - } - add({ - x, - y - }) { - this.#lastX = x; - this.#lastY = y; - const [layerX, layerY, layerWidth, layerHeight] = this.#box; - let [x1, y1, x2, y2] = this.#last.subarray(8, 12); - const diffX = x - x2; - const diffY = y - y2; - const d = Math.hypot(diffX, diffY); - if (d < this.#min) { - return false; - } - const diffD = d - this.#min_dist; - const K = diffD / d; - const shiftX = K * diffX; - const shiftY = K * diffY; - let x0 = x1; - let y0 = y1; - x1 = x2; - y1 = y2; - x2 += shiftX; - y2 += shiftY; - this.#points?.push(x, y); - const nX = -shiftY / diffD; - const nY = shiftX / diffD; - const thX = nX * this.#thickness; - const thY = nY * this.#thickness; - this.#last.set(this.#last.subarray(2, 8), 0); - this.#last.set([x2 + thX, y2 + thY], 4); - this.#last.set(this.#last.subarray(14, 18), 12); - this.#last.set([x2 - thX, y2 - thY], 16); - if (isNaN(this.#last[6])) { - if (this.#top.length === 0) { - this.#last.set([x1 + thX, y1 + thY], 2); - this.#top.push(NaN, NaN, NaN, NaN, (x1 + thX - layerX) / layerWidth, (y1 + thY - layerY) / layerHeight); - this.#last.set([x1 - thX, y1 - thY], 14); - this.#bottom.push(NaN, NaN, NaN, NaN, (x1 - thX - layerX) / layerWidth, (y1 - thY - layerY) / layerHeight); - } - this.#last.set([x0, y0, x1, y1, x2, y2], 6); - return !this.isEmpty(); - } - this.#last.set([x0, y0, x1, y1, x2, y2], 6); - const angle = Math.abs(Math.atan2(y0 - y1, x0 - x1) - Math.atan2(shiftY, shiftX)); - if (angle < Math.PI / 2) { - [x1, y1, x2, y2] = this.#last.subarray(2, 6); - this.#top.push(NaN, NaN, NaN, NaN, ((x1 + x2) / 2 - layerX) / layerWidth, ((y1 + y2) / 2 - layerY) / layerHeight); - [x1, y1, x0, y0] = this.#last.subarray(14, 18); - this.#bottom.push(NaN, NaN, NaN, NaN, ((x0 + x1) / 2 - layerX) / layerWidth, ((y0 + y1) / 2 - layerY) / layerHeight); - return true; - } - [x0, y0, x1, y1, x2, y2] = this.#last.subarray(0, 6); - this.#top.push(((x0 + 5 * x1) / 6 - layerX) / layerWidth, ((y0 + 5 * y1) / 6 - layerY) / layerHeight, ((5 * x1 + x2) / 6 - layerX) / layerWidth, ((5 * y1 + y2) / 6 - layerY) / layerHeight, ((x1 + x2) / 2 - layerX) / layerWidth, ((y1 + y2) / 2 - layerY) / layerHeight); - [x2, y2, x1, y1, x0, y0] = this.#last.subarray(12, 18); - this.#bottom.push(((x0 + 5 * x1) / 6 - layerX) / layerWidth, ((y0 + 5 * y1) / 6 - layerY) / layerHeight, ((5 * x1 + x2) / 6 - layerX) / layerWidth, ((5 * y1 + y2) / 6 - layerY) / layerHeight, ((x1 + x2) / 2 - layerX) / layerWidth, ((y1 + y2) / 2 - layerY) / layerHeight); - return true; - } - toSVGPath() { - if (this.isEmpty()) { - return ""; - } - const top = this.#top; - const bottom = this.#bottom; - const lastTop = this.#last.subarray(4, 6); - const lastBottom = this.#last.subarray(16, 18); - const [x, y, width, height] = this.#box; - const [lastTopX, lastTopY, lastBottomX, lastBottomY] = this.#getLastCoords(); - if (isNaN(this.#last[6]) && !this.isEmpty()) { - return `M${(this.#last[2] - x) / width} ${(this.#last[3] - y) / height} L${(this.#last[4] - x) / width} ${(this.#last[5] - y) / height} L${lastTopX} ${lastTopY} L${lastBottomX} ${lastBottomY} L${(this.#last[16] - x) / width} ${(this.#last[17] - y) / height} L${(this.#last[14] - x) / width} ${(this.#last[15] - y) / height} Z`; - } - const buffer = []; - buffer.push(`M${top[4]} ${top[5]}`); - for (let i = 6; i < top.length; i += 6) { - if (isNaN(top[i])) { - buffer.push(`L${top[i + 4]} ${top[i + 5]}`); - } else { - buffer.push(`C${top[i]} ${top[i + 1]} ${top[i + 2]} ${top[i + 3]} ${top[i + 4]} ${top[i + 5]}`); - } - } - buffer.push(`L${(lastTop[0] - x) / width} ${(lastTop[1] - y) / height} L${lastTopX} ${lastTopY} L${lastBottomX} ${lastBottomY} L${(lastBottom[0] - x) / width} ${(lastBottom[1] - y) / height}`); - for (let i = bottom.length - 6; i >= 6; i -= 6) { - if (isNaN(bottom[i])) { - buffer.push(`L${bottom[i + 4]} ${bottom[i + 5]}`); - } else { - buffer.push(`C${bottom[i]} ${bottom[i + 1]} ${bottom[i + 2]} ${bottom[i + 3]} ${bottom[i + 4]} ${bottom[i + 5]}`); - } - } - buffer.push(`L${bottom[4]} ${bottom[5]} Z`); - return buffer.join(" "); - } - getOutlines() { - const top = this.#top; - const bottom = this.#bottom; - const last = this.#last; - const lastTop = last.subarray(4, 6); - const lastBottom = last.subarray(16, 18); - const [layerX, layerY, layerWidth, layerHeight] = this.#box; - const points = new Float64Array((this.#points?.length ?? 0) + 2); - for (let i = 0, ii = points.length - 2; i < ii; i += 2) { - points[i] = (this.#points[i] - layerX) / layerWidth; - points[i + 1] = (this.#points[i + 1] - layerY) / layerHeight; - } - points[points.length - 2] = (this.#lastX - layerX) / layerWidth; - points[points.length - 1] = (this.#lastY - layerY) / layerHeight; - const [lastTopX, lastTopY, lastBottomX, lastBottomY] = this.#getLastCoords(); - if (isNaN(last[6]) && !this.isEmpty()) { - const outline = new Float64Array(36); - outline.set([NaN, NaN, NaN, NaN, (last[2] - layerX) / layerWidth, (last[3] - layerY) / layerHeight, NaN, NaN, NaN, NaN, (last[4] - layerX) / layerWidth, (last[5] - layerY) / layerHeight, NaN, NaN, NaN, NaN, lastTopX, lastTopY, NaN, NaN, NaN, NaN, lastBottomX, lastBottomY, NaN, NaN, NaN, NaN, (last[16] - layerX) / layerWidth, (last[17] - layerY) / layerHeight, NaN, NaN, NaN, NaN, (last[14] - layerX) / layerWidth, (last[15] - layerY) / layerHeight], 0); - return new FreeHighlightOutline(outline, points, this.#box, this.#scaleFactor, this.#innerMargin, this.#isLTR); - } - const outline = new Float64Array(this.#top.length + 24 + this.#bottom.length); - let N = top.length; - for (let i = 0; i < N; i += 2) { - if (isNaN(top[i])) { - outline[i] = outline[i + 1] = NaN; - continue; - } - outline[i] = top[i]; - outline[i + 1] = top[i + 1]; - } - outline.set([NaN, NaN, NaN, NaN, (lastTop[0] - layerX) / layerWidth, (lastTop[1] - layerY) / layerHeight, NaN, NaN, NaN, NaN, lastTopX, lastTopY, NaN, NaN, NaN, NaN, lastBottomX, lastBottomY, NaN, NaN, NaN, NaN, (lastBottom[0] - layerX) / layerWidth, (lastBottom[1] - layerY) / layerHeight], N); - N += 24; - for (let i = bottom.length - 6; i >= 6; i -= 6) { - for (let j = 0; j < 6; j += 2) { - if (isNaN(bottom[i + j])) { - outline[N] = outline[N + 1] = NaN; - N += 2; - continue; - } - outline[N] = bottom[i + j]; - outline[N + 1] = bottom[i + j + 1]; - N += 2; - } - } - outline.set([NaN, NaN, NaN, NaN, bottom[4], bottom[5]], N); - return new FreeHighlightOutline(outline, points, this.#box, this.#scaleFactor, this.#innerMargin, this.#isLTR); - } -} -class FreeHighlightOutline extends Outline { - #box; - #bbox = null; - #innerMargin; - #isLTR; - #points; - #scaleFactor; - #outline; - constructor(outline, points, box, scaleFactor, innerMargin, isLTR) { - super(); - this.#outline = outline; - this.#points = points; - this.#box = box; - this.#scaleFactor = scaleFactor; - this.#innerMargin = innerMargin; - this.#isLTR = isLTR; - this.#computeMinMax(isLTR); - const { - x, - y, - width, - height - } = this.#bbox; - for (let i = 0, ii = outline.length; i < ii; i += 2) { - outline[i] = (outline[i] - x) / width; - outline[i + 1] = (outline[i + 1] - y) / height; - } - for (let i = 0, ii = points.length; i < ii; i += 2) { - points[i] = (points[i] - x) / width; - points[i + 1] = (points[i + 1] - y) / height; - } - } - toSVGPath() { - const buffer = [`M${this.#outline[4]} ${this.#outline[5]}`]; - for (let i = 6, ii = this.#outline.length; i < ii; i += 6) { - if (isNaN(this.#outline[i])) { - buffer.push(`L${this.#outline[i + 4]} ${this.#outline[i + 5]}`); - continue; - } - buffer.push(`C${this.#outline[i]} ${this.#outline[i + 1]} ${this.#outline[i + 2]} ${this.#outline[i + 3]} ${this.#outline[i + 4]} ${this.#outline[i + 5]}`); - } - buffer.push("Z"); - return buffer.join(" "); - } - serialize([blX, blY, trX, trY], rotation) { - const width = trX - blX; - const height = trY - blY; - let outline; - let points; - switch (rotation) { - case 0: - outline = this.#rescale(this.#outline, blX, trY, width, -height); - points = this.#rescale(this.#points, blX, trY, width, -height); - break; - case 90: - outline = this.#rescaleAndSwap(this.#outline, blX, blY, width, height); - points = this.#rescaleAndSwap(this.#points, blX, blY, width, height); - break; - case 180: - outline = this.#rescale(this.#outline, trX, blY, -width, height); - points = this.#rescale(this.#points, trX, blY, -width, height); - break; - case 270: - outline = this.#rescaleAndSwap(this.#outline, trX, trY, -width, -height); - points = this.#rescaleAndSwap(this.#points, trX, trY, -width, -height); - break; - } - return { - outline: Array.from(outline), - points: [Array.from(points)] - }; - } - #rescale(src, tx, ty, sx, sy) { - const dest = new Float64Array(src.length); - for (let i = 0, ii = src.length; i < ii; i += 2) { - dest[i] = tx + src[i] * sx; - dest[i + 1] = ty + src[i + 1] * sy; - } - return dest; - } - #rescaleAndSwap(src, tx, ty, sx, sy) { - const dest = new Float64Array(src.length); - for (let i = 0, ii = src.length; i < ii; i += 2) { - dest[i] = tx + src[i + 1] * sx; - dest[i + 1] = ty + src[i] * sy; - } - return dest; - } - #computeMinMax(isLTR) { - const outline = this.#outline; - let lastX = outline[4]; - let lastY = outline[5]; - let minX = lastX; - let minY = lastY; - let maxX = lastX; - let maxY = lastY; - let lastPointX = lastX; - let lastPointY = lastY; - const ltrCallback = isLTR ? Math.max : Math.min; - for (let i = 6, ii = outline.length; i < ii; i += 6) { - if (isNaN(outline[i])) { - minX = Math.min(minX, outline[i + 4]); - minY = Math.min(minY, outline[i + 5]); - maxX = Math.max(maxX, outline[i + 4]); - maxY = Math.max(maxY, outline[i + 5]); - if (lastPointY < outline[i + 5]) { - lastPointX = outline[i + 4]; - lastPointY = outline[i + 5]; - } else if (lastPointY === outline[i + 5]) { - lastPointX = ltrCallback(lastPointX, outline[i + 4]); - } - } else { - const bbox = _shared_util_js__WEBPACK_IMPORTED_MODULE_14__.Util.bezierBoundingBox(lastX, lastY, ...outline.slice(i, i + 6)); - minX = Math.min(minX, bbox[0]); - minY = Math.min(minY, bbox[1]); - maxX = Math.max(maxX, bbox[2]); - maxY = Math.max(maxY, bbox[3]); - if (lastPointY < bbox[3]) { - lastPointX = bbox[2]; - lastPointY = bbox[3]; - } else if (lastPointY === bbox[3]) { - lastPointX = ltrCallback(lastPointX, bbox[2]); - } - } - lastX = outline[i + 4]; - lastY = outline[i + 5]; - } - const x = minX - this.#innerMargin, - y = minY - this.#innerMargin, - width = maxX - minX + 2 * this.#innerMargin, - height = maxY - minY + 2 * this.#innerMargin; - this.#bbox = { - x, - y, - width, - height, - lastPoint: [lastPointX, lastPointY] - }; - } - get box() { - return this.#bbox; - } - getNewOutline(thickness, innerMargin) { - const { - x, - y, - width, - height - } = this.#bbox; - const [layerX, layerY, layerWidth, layerHeight] = this.#box; - const sx = width * layerWidth; - const sy = height * layerHeight; - const tx = x * layerWidth + layerX; - const ty = y * layerHeight + layerY; - const outliner = new FreeOutliner({ - x: this.#points[0] * sx + tx, - y: this.#points[1] * sy + ty - }, this.#box, this.#scaleFactor, thickness, this.#isLTR, innerMargin ?? this.#innerMargin); - for (let i = 2; i < this.#points.length; i += 2) { - outliner.add({ - x: this.#points[i] * sx + tx, - y: this.#points[i + 1] * sy + ty - }); - } - return outliner.getOutlines(); - } -} - - -/***/ }), - -/***/ 4362: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ EditorToolbar: () => (/* binding */ EditorToolbar), -/* harmony export */ HighlightToolbar: () => (/* binding */ HighlightToolbar) -/* harmony export */ }); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5419); - -class EditorToolbar { - #toolbar = null; - #colorPicker = null; - #editor; - #buttons = null; - constructor(editor) { - this.#editor = editor; - } - render() { - const editToolbar = this.#toolbar = document.createElement("div"); - editToolbar.className = "editToolbar"; - editToolbar.setAttribute("role", "toolbar"); - editToolbar.addEventListener("contextmenu", _display_utils_js__WEBPACK_IMPORTED_MODULE_0__.noContextMenu); - editToolbar.addEventListener("pointerdown", EditorToolbar.#pointerDown); - const buttons = this.#buttons = document.createElement("div"); - buttons.className = "buttons"; - editToolbar.append(buttons); - const position = this.#editor.toolbarPosition; - if (position) { - const { - style - } = editToolbar; - const x = this.#editor._uiManager.direction === "ltr" ? 1 - position[0] : position[0]; - style.insetInlineEnd = `${100 * x}%`; - style.top = `calc(${100 * position[1]}% + var(--editor-toolbar-vert-offset))`; - } - this.#addDeleteButton(); - return editToolbar; - } - static #pointerDown(e) { - e.stopPropagation(); - } - #focusIn(e) { - this.#editor._focusEventsAllowed = false; - e.preventDefault(); - e.stopPropagation(); - } - #focusOut(e) { - this.#editor._focusEventsAllowed = true; - e.preventDefault(); - e.stopPropagation(); - } - #addListenersToElement(element) { - element.addEventListener("focusin", this.#focusIn.bind(this), { - capture: true - }); - element.addEventListener("focusout", this.#focusOut.bind(this), { - capture: true - }); - element.addEventListener("contextmenu", _display_utils_js__WEBPACK_IMPORTED_MODULE_0__.noContextMenu); - } - hide() { - this.#toolbar.classList.add("hidden"); - this.#colorPicker?.hideDropdown(); - } - show() { - this.#toolbar.classList.remove("hidden"); - } - #addDeleteButton() { - const button = document.createElement("button"); - button.className = "delete"; - button.tabIndex = 0; - button.setAttribute("data-l10n-id", `pdfjs-editor-remove-${this.#editor.editorType}-button`); - this.#addListenersToElement(button); - button.addEventListener("click", e => { - this.#editor._uiManager.delete(); - }); - this.#buttons.append(button); - } - get #divider() { - const divider = document.createElement("div"); - divider.className = "divider"; - return divider; - } - addAltTextButton(button) { - this.#addListenersToElement(button); - this.#buttons.prepend(button, this.#divider); - } - addColorPicker(colorPicker) { - this.#colorPicker = colorPicker; - const button = colorPicker.renderButton(); - this.#addListenersToElement(button); - this.#buttons.prepend(button, this.#divider); - } - remove() { - this.#toolbar.remove(); - this.#colorPicker?.destroy(); - this.#colorPicker = null; - } -} -class HighlightToolbar { - #buttons = null; - #toolbar = null; - #uiManager; - constructor(uiManager) { - this.#uiManager = uiManager; - } - #render() { - const editToolbar = this.#toolbar = document.createElement("div"); - editToolbar.className = "editToolbar"; - editToolbar.setAttribute("role", "toolbar"); - editToolbar.addEventListener("contextmenu", _display_utils_js__WEBPACK_IMPORTED_MODULE_0__.noContextMenu); - const buttons = this.#buttons = document.createElement("div"); - buttons.className = "buttons"; - editToolbar.append(buttons); - this.#addHighlightButton(); - return editToolbar; - } - #getLastPoint(boxes, isLTR) { - let lastY = 0; - let lastX = 0; - for (const box of boxes) { - const y = box.y + box.height; - if (y < lastY) { - continue; - } - const x = box.x + (isLTR ? box.width : 0); - if (y > lastY) { - lastX = x; - lastY = y; - continue; - } - if (isLTR) { - if (x > lastX) { - lastX = x; - } - } else if (x < lastX) { - lastX = x; - } - } - return [isLTR ? 1 - lastX : lastX, lastY]; - } - show(parent, boxes, isLTR) { - const [x, y] = this.#getLastPoint(boxes, isLTR); - const { - style - } = this.#toolbar ||= this.#render(); - parent.append(this.#toolbar); - style.insetInlineEnd = `${100 * x}%`; - style.top = `calc(${100 * y}% + var(--editor-toolbar-vert-offset))`; - } - hide() { - this.#toolbar.remove(); - } - #addHighlightButton() { - const button = document.createElement("button"); - button.className = "highlightButton"; - button.tabIndex = 0; - button.setAttribute("data-l10n-id", `pdfjs-highlight-floating-button1`); - const span = document.createElement("span"); - button.append(span); - span.className = "visuallyHidden"; - span.setAttribute("data-l10n-id", "pdfjs-highlight-floating-button-label"); - button.addEventListener("contextmenu", _display_utils_js__WEBPACK_IMPORTED_MODULE_0__.noContextMenu); - button.addEventListener("click", () => { - this.#uiManager.highlightSelection("floating_button"); - }); - this.#buttons.append(button); - } -} - - -/***/ }), - -/***/ 7830: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AnnotationEditorUIManager: () => (/* binding */ AnnotationEditorUIManager), -/* harmony export */ ColorManager: () => (/* binding */ ColorManager), -/* harmony export */ KeyboardManager: () => (/* binding */ KeyboardManager), -/* harmony export */ bindEvents: () => (/* binding */ bindEvents), -/* harmony export */ opacityToHex: () => (/* binding */ opacityToHex) -/* harmony export */ }); -/* unused harmony export CommandManager */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_every_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(3215); -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(1454); -/* harmony import */ var core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(7550); -/* harmony import */ var core_js_modules_esnext_json_parse_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(8335); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(6197); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(4292); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(5419); -/* harmony import */ var _toolbar_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(4362); - - - - - - - - - - - - - - - - - - - - - - -function bindEvents(obj, element, names) { - for (const name of names) { - element.addEventListener(name, obj[name].bind(obj)); - } -} -function opacityToHex(opacity) { - return Math.round(Math.min(255, Math.max(1, 255 * opacity))).toString(16).padStart(2, "0"); -} -class IdManager { - #id = 0; - constructor() {} - get id() { - return `${_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorPrefix}${this.#id++}`; - } -} -class ImageManager { - #baseId = (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.getUuid)(); - #id = 0; - #cache = null; - static get _isSVGFittingCanvas() { - const svg = `data:image/svg+xml;charset=UTF-8,`; - const canvas = new OffscreenCanvas(1, 3); - const ctx = canvas.getContext("2d"); - const image = new Image(); - image.src = svg; - const promise = image.decode().then(() => { - ctx.drawImage(image, 0, 0, 1, 1, 0, 0, 1, 3); - return new Uint32Array(ctx.getImageData(0, 0, 1, 1).data.buffer)[0] === 0; - }); - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "_isSVGFittingCanvas", promise); - } - async #get(key, rawData) { - this.#cache ||= new Map(); - let data = this.#cache.get(key); - if (data === null) { - return null; - } - if (data?.bitmap) { - data.refCounter += 1; - return data; - } - try { - data ||= { - bitmap: null, - id: `image_${this.#baseId}_${this.#id++}`, - refCounter: 0, - isSvg: false - }; - let image; - if (typeof rawData === "string") { - data.url = rawData; - image = await (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_20__.fetchData)(rawData, "blob"); - } else { - image = data.file = rawData; - } - if (image.type === "image/svg+xml") { - const mustRemoveAspectRatioPromise = ImageManager._isSVGFittingCanvas; - const fileReader = new FileReader(); - const imageElement = new Image(); - const imagePromise = new Promise((resolve, reject) => { - imageElement.onload = () => { - data.bitmap = imageElement; - data.isSvg = true; - resolve(); - }; - fileReader.onload = async () => { - const url = data.svgUrl = fileReader.result; - imageElement.src = (await mustRemoveAspectRatioPromise) ? `${url}#svgView(preserveAspectRatio(none))` : url; - }; - imageElement.onerror = fileReader.onerror = reject; - }); - fileReader.readAsDataURL(image); - await imagePromise; - } else { - data.bitmap = await createImageBitmap(image); - } - data.refCounter = 1; - } catch (e) { - console.error(e); - data = null; - } - this.#cache.set(key, data); - if (data) { - this.#cache.set(data.id, data); - } - return data; - } - async getFromFile(file) { - const { - lastModified, - name, - size, - type - } = file; - return this.#get(`${lastModified}_${name}_${size}_${type}`, file); - } - async getFromUrl(url) { - return this.#get(url, url); - } - async getFromId(id) { - this.#cache ||= new Map(); - const data = this.#cache.get(id); - if (!data) { - return null; - } - if (data.bitmap) { - data.refCounter += 1; - return data; - } - if (data.file) { - return this.getFromFile(data.file); - } - return this.getFromUrl(data.url); - } - getSvgUrl(id) { - const data = this.#cache.get(id); - if (!data?.isSvg) { - return null; - } - return data.svgUrl; - } - deleteId(id) { - this.#cache ||= new Map(); - const data = this.#cache.get(id); - if (!data) { - return; - } - data.refCounter -= 1; - if (data.refCounter !== 0) { - return; - } - data.bitmap = null; - } - isValidId(id) { - return id.startsWith(`image_${this.#baseId}_`); - } -} -class CommandManager { - #commands = []; - #locked = false; - #maxSize; - #position = -1; - constructor(maxSize = 128) { - this.#maxSize = maxSize; - } - add({ - cmd, - undo, - post, - mustExec, - type = NaN, - overwriteIfSameType = false, - keepUndo = false - }) { - if (mustExec) { - cmd(); - } - if (this.#locked) { - return; - } - const save = { - cmd, - undo, - post, - type - }; - if (this.#position === -1) { - if (this.#commands.length > 0) { - this.#commands.length = 0; - } - this.#position = 0; - this.#commands.push(save); - return; - } - if (overwriteIfSameType && this.#commands[this.#position].type === type) { - if (keepUndo) { - save.undo = this.#commands[this.#position].undo; - } - this.#commands[this.#position] = save; - return; - } - const next = this.#position + 1; - if (next === this.#maxSize) { - this.#commands.splice(0, 1); - } else { - this.#position = next; - if (next < this.#commands.length) { - this.#commands.splice(next); - } - } - this.#commands.push(save); - } - undo() { - if (this.#position === -1) { - return; - } - this.#locked = true; - const { - undo, - post - } = this.#commands[this.#position]; - undo(); - post?.(); - this.#locked = false; - this.#position -= 1; - } - redo() { - if (this.#position < this.#commands.length - 1) { - this.#position += 1; - this.#locked = true; - const { - cmd, - post - } = this.#commands[this.#position]; - cmd(); - post?.(); - this.#locked = false; - } - } - hasSomethingToUndo() { - return this.#position !== -1; - } - hasSomethingToRedo() { - return this.#position < this.#commands.length - 1; - } - destroy() { - this.#commands = null; - } -} -class KeyboardManager { - constructor(callbacks) { - this.buffer = []; - this.callbacks = new Map(); - this.allKeys = new Set(); - const { - isMac - } = _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.FeatureTest.platform; - for (const [keys, callback, options = {}] of callbacks) { - for (const key of keys) { - const isMacKey = key.startsWith("mac+"); - if (isMac && isMacKey) { - this.callbacks.set(key.slice(4), { - callback, - options - }); - this.allKeys.add(key.split("+").at(-1)); - } else if (!isMac && !isMacKey) { - this.callbacks.set(key, { - callback, - options - }); - this.allKeys.add(key.split("+").at(-1)); - } - } - } - } - #serialize(event) { - if (event.altKey) { - this.buffer.push("alt"); - } - if (event.ctrlKey) { - this.buffer.push("ctrl"); - } - if (event.metaKey) { - this.buffer.push("meta"); - } - if (event.shiftKey) { - this.buffer.push("shift"); - } - this.buffer.push(event.key); - const str = this.buffer.join("+"); - this.buffer.length = 0; - return str; - } - exec(self, event) { - if (!this.allKeys.has(event.key)) { - return; - } - const info = this.callbacks.get(this.#serialize(event)); - if (!info) { - return; - } - const { - callback, - options: { - bubbles = false, - args = [], - checker = null - } - } = info; - if (checker && !checker(self, event)) { - return; - } - callback.bind(self, ...args, event)(); - if (!bubbles) { - event.stopPropagation(); - event.preventDefault(); - } - } -} -class ColorManager { - static _colorsMapping = new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]); - get _colors() { - const colors = new Map([["CanvasText", null], ["Canvas", null]]); - (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_20__.getColorValues)(colors); - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "_colors", colors); - } - convert(color) { - const rgb = (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_20__.getRGB)(color); - if (!window.matchMedia("(forced-colors: active)").matches) { - return rgb; - } - for (const [name, RGB] of this._colors) { - if (RGB.every((x, i) => x === rgb[i])) { - return ColorManager._colorsMapping.get(name); - } - } - return rgb; - } - getHexCode(name) { - const rgb = this._colors.get(name); - if (!rgb) { - return name; - } - return _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.Util.makeHexColor(...rgb); - } -} -class AnnotationEditorUIManager { - #activeEditor = null; - #allEditors = new Map(); - #allLayers = new Map(); - #altTextManager = null; - #annotationStorage = null; - #changedExistingAnnotations = null; - #commandManager = new CommandManager(); - #currentPageIndex = 0; - #deletedAnnotationsElementIds = new Set(); - #draggingEditors = null; - #editorTypes = null; - #editorsToRescale = new Set(); - #enableHighlightFloatingButton = false; - #filterFactory = null; - #focusMainContainerTimeoutId = null; - #highlightColors = null; - #highlightWhenShiftUp = false; - #highlightToolbar = null; - #idManager = new IdManager(); - #isEnabled = false; - #isWaiting = false; - #lastActiveElement = null; - #mainHighlightColorPicker = null; - #mlManager = null; - #mode = _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE; - #selectedEditors = new Set(); - #selectedTextNode = null; - #pageColors = null; - #showAllStates = null; - #boundBlur = this.blur.bind(this); - #boundFocus = this.focus.bind(this); - #boundCopy = this.copy.bind(this); - #boundCut = this.cut.bind(this); - #boundPaste = this.paste.bind(this); - #boundKeydown = this.keydown.bind(this); - #boundKeyup = this.keyup.bind(this); - #boundOnEditingAction = this.onEditingAction.bind(this); - #boundOnPageChanging = this.onPageChanging.bind(this); - #boundOnScaleChanging = this.onScaleChanging.bind(this); - #boundSelectionChange = this.#selectionChange.bind(this); - #boundOnRotationChanging = this.onRotationChanging.bind(this); - #previousStates = { - isEditing: false, - isEmpty: true, - hasSomethingToUndo: false, - hasSomethingToRedo: false, - hasSelectedEditor: false, - hasSelectedText: false - }; - #translation = [0, 0]; - #translationTimeoutId = null; - #container = null; - #viewer = null; - static TRANSLATE_SMALL = 1; - static TRANSLATE_BIG = 10; - static get _keyboardManager() { - const proto = AnnotationEditorUIManager.prototype; - const arrowChecker = self => self.#container.contains(document.activeElement) && document.activeElement.tagName !== "BUTTON" && self.hasSomethingToControl(); - const textInputChecker = (_self, { - target: el - }) => { - if (el instanceof HTMLInputElement) { - const { - type - } = el; - return type !== "text" && type !== "number"; - } - return true; - }; - const small = this.TRANSLATE_SMALL; - const big = this.TRANSLATE_BIG; - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "_keyboardManager", new KeyboardManager([[["ctrl+a", "mac+meta+a"], proto.selectAll, { - checker: textInputChecker - }], [["ctrl+z", "mac+meta+z"], proto.undo, { - checker: textInputChecker - }], [["ctrl+y", "ctrl+shift+z", "mac+meta+shift+z", "ctrl+shift+Z", "mac+meta+shift+Z"], proto.redo, { - checker: textInputChecker - }], [["Backspace", "alt+Backspace", "ctrl+Backspace", "shift+Backspace", "mac+Backspace", "mac+alt+Backspace", "mac+ctrl+Backspace", "Delete", "ctrl+Delete", "shift+Delete", "mac+Delete"], proto.delete, { - checker: textInputChecker - }], [["Enter", "mac+Enter"], proto.addNewEditorFromKeyboard, { - checker: (self, { - target: el - }) => !(el instanceof HTMLButtonElement) && self.#container.contains(el) && !self.isEnterHandled - }], [[" ", "mac+ "], proto.addNewEditorFromKeyboard, { - checker: (self, { - target: el - }) => !(el instanceof HTMLButtonElement) && self.#container.contains(document.activeElement) - }], [["Escape", "mac+Escape"], proto.unselectAll], [["ArrowLeft", "mac+ArrowLeft"], proto.translateSelectedEditors, { - args: [-small, 0], - checker: arrowChecker - }], [["ctrl+ArrowLeft", "mac+shift+ArrowLeft"], proto.translateSelectedEditors, { - args: [-big, 0], - checker: arrowChecker - }], [["ArrowRight", "mac+ArrowRight"], proto.translateSelectedEditors, { - args: [small, 0], - checker: arrowChecker - }], [["ctrl+ArrowRight", "mac+shift+ArrowRight"], proto.translateSelectedEditors, { - args: [big, 0], - checker: arrowChecker - }], [["ArrowUp", "mac+ArrowUp"], proto.translateSelectedEditors, { - args: [0, -small], - checker: arrowChecker - }], [["ctrl+ArrowUp", "mac+shift+ArrowUp"], proto.translateSelectedEditors, { - args: [0, -big], - checker: arrowChecker - }], [["ArrowDown", "mac+ArrowDown"], proto.translateSelectedEditors, { - args: [0, small], - checker: arrowChecker - }], [["ctrl+ArrowDown", "mac+shift+ArrowDown"], proto.translateSelectedEditors, { - args: [0, big], - checker: arrowChecker - }]])); - } - constructor(container, viewer, altTextManager, eventBus, pdfDocument, pageColors, highlightColors, enableHighlightFloatingButton, mlManager) { - this.#container = container; - this.#viewer = viewer; - this.#altTextManager = altTextManager; - this._eventBus = eventBus; - this._eventBus._on("editingaction", this.#boundOnEditingAction); - this._eventBus._on("pagechanging", this.#boundOnPageChanging); - this._eventBus._on("scalechanging", this.#boundOnScaleChanging); - this._eventBus._on("rotationchanging", this.#boundOnRotationChanging); - this.#addSelectionListener(); - this.#addKeyboardManager(); - this.#annotationStorage = pdfDocument.annotationStorage; - this.#filterFactory = pdfDocument.filterFactory; - this.#pageColors = pageColors; - this.#highlightColors = highlightColors || null; - this.#enableHighlightFloatingButton = enableHighlightFloatingButton; - this.#mlManager = mlManager || null; - this.viewParameters = { - realScale: _display_utils_js__WEBPACK_IMPORTED_MODULE_20__.PixelsPerInch.PDF_TO_CSS_UNITS, - rotation: 0 - }; - this.isShiftKeyDown = false; - } - destroy() { - this.#removeKeyboardManager(); - this.#removeFocusManager(); - this._eventBus._off("editingaction", this.#boundOnEditingAction); - this._eventBus._off("pagechanging", this.#boundOnPageChanging); - this._eventBus._off("scalechanging", this.#boundOnScaleChanging); - this._eventBus._off("rotationchanging", this.#boundOnRotationChanging); - for (const layer of this.#allLayers.values()) { - layer.destroy(); - } - this.#allLayers.clear(); - this.#allEditors.clear(); - this.#editorsToRescale.clear(); - this.#activeEditor = null; - this.#selectedEditors.clear(); - this.#commandManager.destroy(); - this.#altTextManager?.destroy(); - this.#highlightToolbar?.hide(); - this.#highlightToolbar = null; - if (this.#focusMainContainerTimeoutId) { - clearTimeout(this.#focusMainContainerTimeoutId); - this.#focusMainContainerTimeoutId = null; - } - if (this.#translationTimeoutId) { - clearTimeout(this.#translationTimeoutId); - this.#translationTimeoutId = null; - } - this.#removeSelectionListener(); - } - async mlGuess(data) { - return this.#mlManager?.guess(data) || null; - } - get hasMLManager() { - return !!this.#mlManager; - } - get hcmFilter() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "hcmFilter", this.#pageColors ? this.#filterFactory.addHCMFilter(this.#pageColors.foreground, this.#pageColors.background) : "none"); - } - get direction() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "direction", getComputedStyle(this.#container).direction); - } - get highlightColors() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "highlightColors", this.#highlightColors ? new Map(this.#highlightColors.split(",").map(pair => pair.split("=").map(x => x.trim()))) : null); - } - get highlightColorNames() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "highlightColorNames", this.highlightColors ? new Map(Array.from(this.highlightColors, e => e.reverse())) : null); - } - setMainHighlightColorPicker(colorPicker) { - this.#mainHighlightColorPicker = colorPicker; - } - editAltText(editor) { - this.#altTextManager?.editAltText(this, editor); - } - onPageChanging({ - pageNumber - }) { - this.#currentPageIndex = pageNumber - 1; - } - focusMainContainer() { - this.#container.focus(); - } - findParent(x, y) { - for (const layer of this.#allLayers.values()) { - const { - x: layerX, - y: layerY, - width, - height - } = layer.div.getBoundingClientRect(); - if (x >= layerX && x <= layerX + width && y >= layerY && y <= layerY + height) { - return layer; - } - } - return null; - } - disableUserSelect(value = false) { - this.#viewer.classList.toggle("noUserSelect", value); - } - addShouldRescale(editor) { - this.#editorsToRescale.add(editor); - } - removeShouldRescale(editor) { - this.#editorsToRescale.delete(editor); - } - onScaleChanging({ - scale - }) { - this.commitOrRemove(); - this.viewParameters.realScale = scale * _display_utils_js__WEBPACK_IMPORTED_MODULE_20__.PixelsPerInch.PDF_TO_CSS_UNITS; - for (const editor of this.#editorsToRescale) { - editor.onScaleChanging(); - } - } - onRotationChanging({ - pagesRotation - }) { - this.commitOrRemove(); - this.viewParameters.rotation = pagesRotation; - } - #getAnchorElementForSelection({ - anchorNode - }) { - return anchorNode.nodeType === Node.TEXT_NODE ? anchorNode.parentElement : anchorNode; - } - highlightSelection(methodOfCreation = "") { - const selection = document.getSelection(); - if (!selection || selection.isCollapsed) { - return; - } - const { - anchorNode, - anchorOffset, - focusNode, - focusOffset - } = selection; - const text = selection.toString(); - const anchorElement = this.#getAnchorElementForSelection(selection); - const textLayer = anchorElement.closest(".textLayer"); - const boxes = this.getSelectionBoxes(textLayer); - if (!boxes) { - return; - } - selection.empty(); - if (this.#mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE) { - this._eventBus.dispatch("showannotationeditorui", { - source: this, - mode: _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.HIGHLIGHT - }); - this.showAllEditors("highlight", true, true); - } - for (const layer of this.#allLayers.values()) { - if (layer.hasTextLayer(textLayer)) { - layer.createAndAddNewEditor({ - x: 0, - y: 0 - }, false, { - methodOfCreation, - boxes, - anchorNode, - anchorOffset, - focusNode, - focusOffset, - text - }); - break; - } - } - } - #displayHighlightToolbar() { - const selection = document.getSelection(); - if (!selection || selection.isCollapsed) { - return; - } - const anchorElement = this.#getAnchorElementForSelection(selection); - const textLayer = anchorElement.closest(".textLayer"); - const boxes = this.getSelectionBoxes(textLayer); - if (!boxes) { - return; - } - this.#highlightToolbar ||= new _toolbar_js__WEBPACK_IMPORTED_MODULE_21__.HighlightToolbar(this); - this.#highlightToolbar.show(textLayer, boxes, this.direction === "ltr"); - } - addToAnnotationStorage(editor) { - if (!editor.isEmpty() && this.#annotationStorage && !this.#annotationStorage.has(editor.id)) { - this.#annotationStorage.setValue(editor.id, editor); - } - } - #selectionChange() { - const selection = document.getSelection(); - if (!selection || selection.isCollapsed) { - if (this.#selectedTextNode) { - this.#highlightToolbar?.hide(); - this.#selectedTextNode = null; - this.#dispatchUpdateStates({ - hasSelectedText: false - }); - } - return; - } - const { - anchorNode - } = selection; - if (anchorNode === this.#selectedTextNode) { - return; - } - const anchorElement = this.#getAnchorElementForSelection(selection); - const textLayer = anchorElement.closest(".textLayer"); - if (!textLayer) { - if (this.#selectedTextNode) { - this.#highlightToolbar?.hide(); - this.#selectedTextNode = null; - this.#dispatchUpdateStates({ - hasSelectedText: false - }); - } - return; - } - this.#highlightToolbar?.hide(); - this.#selectedTextNode = anchorNode; - this.#dispatchUpdateStates({ - hasSelectedText: true - }); - if (this.#mode !== _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.HIGHLIGHT && this.#mode !== _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE) { - return; - } - if (this.#mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.HIGHLIGHT) { - this.showAllEditors("highlight", true, true); - } - this.#highlightWhenShiftUp = this.isShiftKeyDown; - if (!this.isShiftKeyDown) { - const pointerup = e => { - if (e.type === "pointerup" && e.button !== 0) { - return; - } - window.removeEventListener("pointerup", pointerup); - window.removeEventListener("blur", pointerup); - if (e.type === "pointerup") { - this.#onSelectEnd("main_toolbar"); - } - }; - window.addEventListener("pointerup", pointerup); - window.addEventListener("blur", pointerup); - } - } - #onSelectEnd(methodOfCreation = "") { - if (this.#mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.HIGHLIGHT) { - this.highlightSelection(methodOfCreation); - } else if (this.#enableHighlightFloatingButton) { - this.#displayHighlightToolbar(); - } - } - #addSelectionListener() { - document.addEventListener("selectionchange", this.#boundSelectionChange); - } - #removeSelectionListener() { - document.removeEventListener("selectionchange", this.#boundSelectionChange); - } - #addFocusManager() { - window.addEventListener("focus", this.#boundFocus); - window.addEventListener("blur", this.#boundBlur); - } - #removeFocusManager() { - window.removeEventListener("focus", this.#boundFocus); - window.removeEventListener("blur", this.#boundBlur); - } - blur() { - this.isShiftKeyDown = false; - if (this.#highlightWhenShiftUp) { - this.#highlightWhenShiftUp = false; - this.#onSelectEnd("main_toolbar"); - } - if (!this.hasSelection) { - return; - } - const { - activeElement - } = document; - for (const editor of this.#selectedEditors) { - if (editor.div.contains(activeElement)) { - this.#lastActiveElement = [editor, activeElement]; - editor._focusEventsAllowed = false; - break; - } - } - } - focus() { - if (!this.#lastActiveElement) { - return; - } - const [lastEditor, lastActiveElement] = this.#lastActiveElement; - this.#lastActiveElement = null; - lastActiveElement.addEventListener("focusin", () => { - lastEditor._focusEventsAllowed = true; - }, { - once: true - }); - lastActiveElement.focus(); - } - #addKeyboardManager() { - window.addEventListener("keydown", this.#boundKeydown); - window.addEventListener("keyup", this.#boundKeyup); - } - #removeKeyboardManager() { - window.removeEventListener("keydown", this.#boundKeydown); - window.removeEventListener("keyup", this.#boundKeyup); - } - #addCopyPasteListeners() { - document.addEventListener("copy", this.#boundCopy); - document.addEventListener("cut", this.#boundCut); - document.addEventListener("paste", this.#boundPaste); - } - #removeCopyPasteListeners() { - document.removeEventListener("copy", this.#boundCopy); - document.removeEventListener("cut", this.#boundCut); - document.removeEventListener("paste", this.#boundPaste); - } - addEditListeners() { - this.#addKeyboardManager(); - this.#addCopyPasteListeners(); - } - removeEditListeners() { - this.#removeKeyboardManager(); - this.#removeCopyPasteListeners(); - } - copy(event) { - event.preventDefault(); - this.#activeEditor?.commitOrRemove(); - if (!this.hasSelection) { - return; - } - const editors = []; - for (const editor of this.#selectedEditors) { - const serialized = editor.serialize(true); - if (serialized) { - editors.push(serialized); - } - } - if (editors.length === 0) { - return; - } - event.clipboardData.setData("application/pdfjs", JSON.stringify(editors)); - } - cut(event) { - this.copy(event); - this.delete(); - } - paste(event) { - event.preventDefault(); - const { - clipboardData - } = event; - for (const item of clipboardData.items) { - for (const editorType of this.#editorTypes) { - if (editorType.isHandlingMimeForPasting(item.type)) { - editorType.paste(item, this.currentLayer); - return; - } - } - } - let data = clipboardData.getData("application/pdfjs"); - if (!data) { - return; - } - try { - data = JSON.parse(data); - } catch (ex) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.warn)(`paste: "${ex.message}".`); - return; - } - if (!Array.isArray(data)) { - return; - } - this.unselectAll(); - const layer = this.currentLayer; - try { - const newEditors = []; - for (const editor of data) { - const deserializedEditor = layer.deserialize(editor); - if (!deserializedEditor) { - return; - } - newEditors.push(deserializedEditor); - } - const cmd = () => { - for (const editor of newEditors) { - this.#addEditorToLayer(editor); - } - this.#selectEditors(newEditors); - }; - const undo = () => { - for (const editor of newEditors) { - editor.remove(); - } - }; - this.addCommands({ - cmd, - undo, - mustExec: true - }); - } catch (ex) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.warn)(`paste: "${ex.message}".`); - } - } - keydown(event) { - if (!this.isShiftKeyDown && event.key === "Shift") { - this.isShiftKeyDown = true; - } - if (this.#mode !== _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE && !this.isEditorHandlingKeyboard) { - AnnotationEditorUIManager._keyboardManager.exec(this, event); - } - } - keyup(event) { - if (this.isShiftKeyDown && event.key === "Shift") { - this.isShiftKeyDown = false; - if (this.#highlightWhenShiftUp) { - this.#highlightWhenShiftUp = false; - this.#onSelectEnd("main_toolbar"); - } - } - } - onEditingAction({ - name - }) { - switch (name) { - case "undo": - case "redo": - case "delete": - case "selectAll": - this[name](); - break; - case "highlightSelection": - this.highlightSelection("context_menu"); - break; - } - } - #dispatchUpdateStates(details) { - const hasChanged = Object.entries(details).some(([key, value]) => this.#previousStates[key] !== value); - if (hasChanged) { - this._eventBus.dispatch("annotationeditorstateschanged", { - source: this, - details: Object.assign(this.#previousStates, details) - }); - if (this.#mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.HIGHLIGHT && details.hasSelectedEditor === false) { - this.#dispatchUpdateUI([[_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.HIGHLIGHT_FREE, true]]); - } - } - } - #dispatchUpdateUI(details) { - this._eventBus.dispatch("annotationeditorparamschanged", { - source: this, - details - }); - } - setEditingState(isEditing) { - if (isEditing) { - this.#addFocusManager(); - this.#addCopyPasteListeners(); - this.#dispatchUpdateStates({ - isEditing: this.#mode !== _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE, - isEmpty: this.#isEmpty(), - hasSomethingToUndo: this.#commandManager.hasSomethingToUndo(), - hasSomethingToRedo: this.#commandManager.hasSomethingToRedo(), - hasSelectedEditor: false - }); - } else { - this.#removeFocusManager(); - this.#removeCopyPasteListeners(); - this.#dispatchUpdateStates({ - isEditing: false - }); - this.disableUserSelect(false); - } - } - registerEditorTypes(types) { - if (this.#editorTypes) { - return; - } - this.#editorTypes = types; - for (const editorType of this.#editorTypes) { - this.#dispatchUpdateUI(editorType.defaultPropertiesToUpdate); - } - } - getId() { - return this.#idManager.id; - } - get currentLayer() { - return this.#allLayers.get(this.#currentPageIndex); - } - getLayer(pageIndex) { - return this.#allLayers.get(pageIndex); - } - get currentPageIndex() { - return this.#currentPageIndex; - } - addLayer(layer) { - this.#allLayers.set(layer.pageIndex, layer); - if (this.#isEnabled) { - layer.enable(); - } else { - layer.disable(); - } - } - removeLayer(layer) { - this.#allLayers.delete(layer.pageIndex); - } - updateMode(mode, editId = null, isFromKeyboard = false) { - if (this.#mode === mode) { - return; - } - this.#mode = mode; - if (mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE) { - this.setEditingState(false); - this.#disableAll(); - return; - } - this.setEditingState(true); - this.#enableAll(); - this.unselectAll(); - for (const layer of this.#allLayers.values()) { - layer.updateMode(mode); - } - if (!editId && isFromKeyboard) { - this.addNewEditorFromKeyboard(); - return; - } - if (!editId) { - return; - } - for (const editor of this.#allEditors.values()) { - if (editor.annotationElementId === editId) { - this.setSelected(editor); - editor.enterInEditMode(); - break; - } - } - } - addNewEditorFromKeyboard() { - if (this.currentLayer.canCreateNewEmptyEditor()) { - this.currentLayer.addNewEditor(); - } - } - updateToolbar(mode) { - if (mode === this.#mode) { - return; - } - this._eventBus.dispatch("switchannotationeditormode", { - source: this, - mode - }); - } - updateParams(type, value) { - if (!this.#editorTypes) { - return; - } - switch (type) { - case _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.CREATE: - this.currentLayer.addNewEditor(); - return; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.HIGHLIGHT_DEFAULT_COLOR: - this.#mainHighlightColorPicker?.updateColor(value); - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL: - this._eventBus.dispatch("reporttelemetry", { - source: this, - details: { - type: "editing", - data: { - type: "highlight", - action: "toggle_visibility" - } - } - }); - (this.#showAllStates ||= new Map()).set(type, value); - this.showAllEditors("highlight", value); - break; - } - for (const editor of this.#selectedEditors) { - editor.updateParams(type, value); - } - for (const editorType of this.#editorTypes) { - editorType.updateDefaultParams(type, value); - } - } - showAllEditors(type, visible, updateButton = false) { - for (const editor of this.#allEditors.values()) { - if (editor.editorType === type) { - editor.show(visible); - } - } - const state = this.#showAllStates?.get(_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL) ?? true; - if (state !== visible) { - this.#dispatchUpdateUI([[_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL, visible]]); - } - } - enableWaiting(mustWait = false) { - if (this.#isWaiting === mustWait) { - return; - } - this.#isWaiting = mustWait; - for (const layer of this.#allLayers.values()) { - if (mustWait) { - layer.disableClick(); - } else { - layer.enableClick(); - } - layer.div.classList.toggle("waiting", mustWait); - } - } - #enableAll() { - if (!this.#isEnabled) { - this.#isEnabled = true; - for (const layer of this.#allLayers.values()) { - layer.enable(); - } - for (const editor of this.#allEditors.values()) { - editor.enable(); - } - } - } - #disableAll() { - this.unselectAll(); - if (this.#isEnabled) { - this.#isEnabled = false; - for (const layer of this.#allLayers.values()) { - layer.disable(); - } - for (const editor of this.#allEditors.values()) { - editor.disable(); - } - } - } - getEditors(pageIndex) { - const editors = []; - for (const editor of this.#allEditors.values()) { - if (editor.pageIndex === pageIndex) { - editors.push(editor); - } - } - return editors; - } - getEditor(id) { - return this.#allEditors.get(id); - } - addEditor(editor) { - this.#allEditors.set(editor.id, editor); - } - removeEditor(editor) { - if (editor.div.contains(document.activeElement)) { - if (this.#focusMainContainerTimeoutId) { - clearTimeout(this.#focusMainContainerTimeoutId); - } - this.#focusMainContainerTimeoutId = setTimeout(() => { - this.focusMainContainer(); - this.#focusMainContainerTimeoutId = null; - }, 0); - } - this.#allEditors.delete(editor.id); - this.unselect(editor); - if (!editor.annotationElementId || !this.#deletedAnnotationsElementIds.has(editor.annotationElementId)) { - this.#annotationStorage?.remove(editor.id); - } - } - addDeletedAnnotationElement(editor) { - this.#deletedAnnotationsElementIds.add(editor.annotationElementId); - this.addChangedExistingAnnotation(editor); - editor.deleted = true; - } - isDeletedAnnotationElement(annotationElementId) { - return this.#deletedAnnotationsElementIds.has(annotationElementId); - } - removeDeletedAnnotationElement(editor) { - this.#deletedAnnotationsElementIds.delete(editor.annotationElementId); - this.removeChangedExistingAnnotation(editor); - editor.deleted = false; - } - #addEditorToLayer(editor) { - const layer = this.#allLayers.get(editor.pageIndex); - if (layer) { - layer.addOrRebuild(editor); - } else { - this.addEditor(editor); - this.addToAnnotationStorage(editor); - } - } - setActiveEditor(editor) { - if (this.#activeEditor === editor) { - return; - } - this.#activeEditor = editor; - if (editor) { - this.#dispatchUpdateUI(editor.propertiesToUpdate); - } - } - get #lastSelectedEditor() { - let ed = null; - for (ed of this.#selectedEditors) {} - return ed; - } - updateUI(editor) { - if (this.#lastSelectedEditor === editor) { - this.#dispatchUpdateUI(editor.propertiesToUpdate); - } - } - toggleSelected(editor) { - if (this.#selectedEditors.has(editor)) { - this.#selectedEditors.delete(editor); - editor.unselect(); - this.#dispatchUpdateStates({ - hasSelectedEditor: this.hasSelection - }); - return; - } - this.#selectedEditors.add(editor); - editor.select(); - this.#dispatchUpdateUI(editor.propertiesToUpdate); - this.#dispatchUpdateStates({ - hasSelectedEditor: true - }); - } - setSelected(editor) { - for (const ed of this.#selectedEditors) { - if (ed !== editor) { - ed.unselect(); - } - } - this.#selectedEditors.clear(); - this.#selectedEditors.add(editor); - editor.select(); - this.#dispatchUpdateUI(editor.propertiesToUpdate); - this.#dispatchUpdateStates({ - hasSelectedEditor: true - }); - } - isSelected(editor) { - return this.#selectedEditors.has(editor); - } - get firstSelectedEditor() { - return this.#selectedEditors.values().next().value; - } - unselect(editor) { - editor.unselect(); - this.#selectedEditors.delete(editor); - this.#dispatchUpdateStates({ - hasSelectedEditor: this.hasSelection - }); - } - get hasSelection() { - return this.#selectedEditors.size !== 0; - } - get isEnterHandled() { - return this.#selectedEditors.size === 1 && this.firstSelectedEditor.isEnterHandled; - } - undo() { - this.#commandManager.undo(); - this.#dispatchUpdateStates({ - hasSomethingToUndo: this.#commandManager.hasSomethingToUndo(), - hasSomethingToRedo: true, - isEmpty: this.#isEmpty() - }); - } - redo() { - this.#commandManager.redo(); - this.#dispatchUpdateStates({ - hasSomethingToUndo: true, - hasSomethingToRedo: this.#commandManager.hasSomethingToRedo(), - isEmpty: this.#isEmpty() - }); - } - addCommands(params) { - this.#commandManager.add(params); - this.#dispatchUpdateStates({ - hasSomethingToUndo: true, - hasSomethingToRedo: false, - isEmpty: this.#isEmpty() - }); - } - #isEmpty() { - if (this.#allEditors.size === 0) { - return true; - } - if (this.#allEditors.size === 1) { - for (const editor of this.#allEditors.values()) { - return editor.isEmpty(); - } - } - return false; - } - delete() { - this.commitOrRemove(); - if (!this.hasSelection) { - return; - } - const editors = [...this.#selectedEditors]; - const cmd = () => { - for (const editor of editors) { - editor.remove(); - } - }; - const undo = () => { - for (const editor of editors) { - this.#addEditorToLayer(editor); - } - }; - this.addCommands({ - cmd, - undo, - mustExec: true - }); - } - commitOrRemove() { - this.#activeEditor?.commitOrRemove(); - } - hasSomethingToControl() { - return this.#activeEditor || this.hasSelection; - } - #selectEditors(editors) { - for (const editor of this.#selectedEditors) { - editor.unselect(); - } - this.#selectedEditors.clear(); - for (const editor of editors) { - if (editor.isEmpty()) { - continue; - } - this.#selectedEditors.add(editor); - editor.select(); - } - this.#dispatchUpdateStates({ - hasSelectedEditor: this.hasSelection - }); - } - selectAll() { - for (const editor of this.#selectedEditors) { - editor.commit(); - } - this.#selectEditors(this.#allEditors.values()); - } - unselectAll() { - if (this.#activeEditor) { - this.#activeEditor.commitOrRemove(); - if (this.#mode !== _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE) { - return; - } - } - if (!this.hasSelection) { - return; - } - for (const editor of this.#selectedEditors) { - editor.unselect(); - } - this.#selectedEditors.clear(); - this.#dispatchUpdateStates({ - hasSelectedEditor: false - }); - } - translateSelectedEditors(x, y, noCommit = false) { - if (!noCommit) { - this.commitOrRemove(); - } - if (!this.hasSelection) { - return; - } - this.#translation[0] += x; - this.#translation[1] += y; - const [totalX, totalY] = this.#translation; - const editors = [...this.#selectedEditors]; - const TIME_TO_WAIT = 1000; - if (this.#translationTimeoutId) { - clearTimeout(this.#translationTimeoutId); - } - this.#translationTimeoutId = setTimeout(() => { - this.#translationTimeoutId = null; - this.#translation[0] = this.#translation[1] = 0; - this.addCommands({ - cmd: () => { - for (const editor of editors) { - if (this.#allEditors.has(editor.id)) { - editor.translateInPage(totalX, totalY); - } - } - }, - undo: () => { - for (const editor of editors) { - if (this.#allEditors.has(editor.id)) { - editor.translateInPage(-totalX, -totalY); - } - } - }, - mustExec: false - }); - }, TIME_TO_WAIT); - for (const editor of editors) { - editor.translateInPage(x, y); - } - } - setUpDragSession() { - if (!this.hasSelection) { - return; - } - this.disableUserSelect(true); - this.#draggingEditors = new Map(); - for (const editor of this.#selectedEditors) { - this.#draggingEditors.set(editor, { - savedX: editor.x, - savedY: editor.y, - savedPageIndex: editor.pageIndex, - newX: 0, - newY: 0, - newPageIndex: -1 - }); - } - } - endDragSession() { - if (!this.#draggingEditors) { - return false; - } - this.disableUserSelect(false); - const map = this.#draggingEditors; - this.#draggingEditors = null; - let mustBeAddedInUndoStack = false; - for (const [{ - x, - y, - pageIndex - }, value] of map) { - value.newX = x; - value.newY = y; - value.newPageIndex = pageIndex; - mustBeAddedInUndoStack ||= x !== value.savedX || y !== value.savedY || pageIndex !== value.savedPageIndex; - } - if (!mustBeAddedInUndoStack) { - return false; - } - const move = (editor, x, y, pageIndex) => { - if (this.#allEditors.has(editor.id)) { - const parent = this.#allLayers.get(pageIndex); - if (parent) { - editor._setParentAndPosition(parent, x, y); - } else { - editor.pageIndex = pageIndex; - editor.x = x; - editor.y = y; - } - } - }; - this.addCommands({ - cmd: () => { - for (const [editor, { - newX, - newY, - newPageIndex - }] of map) { - move(editor, newX, newY, newPageIndex); - } - }, - undo: () => { - for (const [editor, { - savedX, - savedY, - savedPageIndex - }] of map) { - move(editor, savedX, savedY, savedPageIndex); - } - }, - mustExec: true - }); - return true; - } - dragSelectedEditors(tx, ty) { - if (!this.#draggingEditors) { - return; - } - for (const editor of this.#draggingEditors.keys()) { - editor.drag(tx, ty); - } - } - rebuild(editor) { - if (editor.parent === null) { - const parent = this.getLayer(editor.pageIndex); - if (parent) { - parent.changeParent(editor); - parent.addOrRebuild(editor); - } else { - this.addEditor(editor); - this.addToAnnotationStorage(editor); - editor.rebuild(); - } - } else { - editor.parent.addOrRebuild(editor); - } - } - get isEditorHandlingKeyboard() { - return this.getActive()?.shouldGetKeyboardEvents() || this.#selectedEditors.size === 1 && this.firstSelectedEditor.shouldGetKeyboardEvents(); - } - isActive(editor) { - return this.#activeEditor === editor; - } - getActive() { - return this.#activeEditor; - } - getMode() { - return this.#mode; - } - get imageManager() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_19__.shadow)(this, "imageManager", new ImageManager()); - } - getSelectionBoxes(textLayer) { - if (!textLayer) { - return null; - } - const selection = document.getSelection(); - for (let i = 0, ii = selection.rangeCount; i < ii; i++) { - if (!textLayer.contains(selection.getRangeAt(i).commonAncestorContainer)) { - return null; - } - } - const { - x: layerX, - y: layerY, - width: parentWidth, - height: parentHeight - } = textLayer.getBoundingClientRect(); - let rotator; - switch (textLayer.getAttribute("data-main-rotation")) { - case "90": - rotator = (x, y, w, h) => ({ - x: (y - layerY) / parentHeight, - y: 1 - (x + w - layerX) / parentWidth, - width: h / parentHeight, - height: w / parentWidth - }); - break; - case "180": - rotator = (x, y, w, h) => ({ - x: 1 - (x + w - layerX) / parentWidth, - y: 1 - (y + h - layerY) / parentHeight, - width: w / parentWidth, - height: h / parentHeight - }); - break; - case "270": - rotator = (x, y, w, h) => ({ - x: 1 - (y + h - layerY) / parentHeight, - y: (x - layerX) / parentWidth, - width: h / parentHeight, - height: w / parentWidth - }); - break; - default: - rotator = (x, y, w, h) => ({ - x: (x - layerX) / parentWidth, - y: (y - layerY) / parentHeight, - width: w / parentWidth, - height: h / parentHeight - }); - break; - } - const boxes = []; - for (let i = 0, ii = selection.rangeCount; i < ii; i++) { - const range = selection.getRangeAt(i); - if (range.collapsed) { - continue; - } - for (const { - x, - y, - width, - height - } of range.getClientRects()) { - if (width === 0 || height === 0) { - continue; - } - boxes.push(rotator(x, y, width, height)); - } - } - return boxes.length === 0 ? null : boxes; - } - addChangedExistingAnnotation({ - annotationElementId, - id - }) { - (this.#changedExistingAnnotations ||= new Map()).set(annotationElementId, id); - } - removeChangedExistingAnnotation({ - annotationElementId - }) { - this.#changedExistingAnnotations?.delete(annotationElementId); - } - renderAnnotationElement(annotation) { - const editorId = this.#changedExistingAnnotations?.get(annotation.data.id); - if (!editorId) { - return; - } - const editor = this.#annotationStorage.getRawValue(editorId); - if (!editor) { - return; - } - if (this.#mode === _shared_util_js__WEBPACK_IMPORTED_MODULE_19__.AnnotationEditorType.NONE && !editor.hasBeenModified) { - return; - } - editor.renderAnnotationElement(annotation); - } -} - - -/***/ }), - -/***/ 4094: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFFetchStream: () => (/* binding */ PDFFetchStream) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9577); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4292); -/* harmony import */ var _network_utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(6490); - - - - - - - - - - -function createFetchOptions(headers, withCredentials, abortController) { - return { - method: "GET", - headers, - signal: abortController.signal, - mode: "cors", - credentials: withCredentials ? "include" : "same-origin", - redirect: "follow" - }; -} -function createHeaders(httpHeaders) { - const headers = new Headers(); - for (const property in httpHeaders) { - const value = httpHeaders[property]; - if (value === undefined) { - continue; - } - headers.append(property, value); - } - return headers; -} -function getArrayBuffer(val) { - if (val instanceof Uint8Array) { - return val.buffer; - } - if (val instanceof ArrayBuffer) { - return val; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_8__.warn)(`getArrayBuffer - unexpected data format: ${val}`); - return new Uint8Array(val).buffer; -} -class PDFFetchStream { - constructor(source) { - this.source = source; - this.isHttp = /^https?:/i.test(source.url); - this.httpHeaders = this.isHttp && source.httpHeaders || {}; - this._fullRequestReader = null; - this._rangeRequestReaders = []; - } - get _progressiveDataLength() { - return this._fullRequestReader?._loaded ?? 0; - } - getFullReader() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_8__.assert)(!this._fullRequestReader, "PDFFetchStream.getFullReader can only be called once."); - this._fullRequestReader = new PDFFetchStreamReader(this); - return this._fullRequestReader; - } - getRangeReader(begin, end) { - if (end <= this._progressiveDataLength) { - return null; - } - const reader = new PDFFetchStreamRangeReader(this, begin, end); - this._rangeRequestReaders.push(reader); - return reader; - } - cancelAllRequests(reason) { - this._fullRequestReader?.cancel(reason); - for (const reader of this._rangeRequestReaders.slice(0)) { - reader.cancel(reason); - } - } -} -class PDFFetchStreamReader { - constructor(stream) { - this._stream = stream; - this._reader = null; - this._loaded = 0; - this._filename = null; - const source = stream.source; - this._withCredentials = source.withCredentials || false; - this._contentLength = source.length; - this._headersCapability = Promise.withResolvers(); - this._disableRange = source.disableRange || false; - this._rangeChunkSize = source.rangeChunkSize; - if (!this._rangeChunkSize && !this._disableRange) { - this._disableRange = true; - } - this._abortController = new AbortController(); - this._isStreamingSupported = !source.disableStream; - this._isRangeSupported = !source.disableRange; - this._headers = createHeaders(this._stream.httpHeaders); - const url = source.url; - fetch(url, createFetchOptions(this._headers, this._withCredentials, this._abortController)).then(response => { - if (!(0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.validateResponseStatus)(response.status)) { - throw (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.createResponseStatusError)(response.status, url); - } - this._reader = response.body.getReader(); - this._headersCapability.resolve(); - const getResponseHeader = name => response.headers.get(name); - const { - allowRangeRequests, - suggestedLength - } = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.validateRangeRequestCapabilities)({ - getResponseHeader, - isHttp: this._stream.isHttp, - rangeChunkSize: this._rangeChunkSize, - disableRange: this._disableRange - }); - this._isRangeSupported = allowRangeRequests; - this._contentLength = suggestedLength || this._contentLength; - this._filename = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.extractFilenameFromHeader)(getResponseHeader); - if (!this._isStreamingSupported && this._isRangeSupported) { - this.cancel(new _shared_util_js__WEBPACK_IMPORTED_MODULE_8__.AbortException("Streaming is disabled.")); - } - }).catch(this._headersCapability.reject); - this.onProgress = null; - } - get headersReady() { - return this._headersCapability.promise; - } - get filename() { - return this._filename; - } - get contentLength() { - return this._contentLength; - } - get isRangeSupported() { - return this._isRangeSupported; - } - get isStreamingSupported() { - return this._isStreamingSupported; - } - async read() { - await this._headersCapability.promise; - const { - value, - done - } = await this._reader.read(); - if (done) { - return { - value, - done - }; - } - this._loaded += value.byteLength; - this.onProgress?.({ - loaded: this._loaded, - total: this._contentLength - }); - return { - value: getArrayBuffer(value), - done: false - }; - } - cancel(reason) { - this._reader?.cancel(reason); - this._abortController.abort(); - } -} -class PDFFetchStreamRangeReader { - constructor(stream, begin, end) { - this._stream = stream; - this._reader = null; - this._loaded = 0; - const source = stream.source; - this._withCredentials = source.withCredentials || false; - this._readCapability = Promise.withResolvers(); - this._isStreamingSupported = !source.disableStream; - this._abortController = new AbortController(); - this._headers = createHeaders(this._stream.httpHeaders); - this._headers.append("Range", `bytes=${begin}-${end - 1}`); - const url = source.url; - fetch(url, createFetchOptions(this._headers, this._withCredentials, this._abortController)).then(response => { - if (!(0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.validateResponseStatus)(response.status)) { - throw (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.createResponseStatusError)(response.status, url); - } - this._readCapability.resolve(); - this._reader = response.body.getReader(); - }).catch(this._readCapability.reject); - this.onProgress = null; - } - get isStreamingSupported() { - return this._isStreamingSupported; - } - async read() { - await this._readCapability.promise; - const { - value, - done - } = await this._reader.read(); - if (done) { - return { - value, - done - }; - } - this._loaded += value.byteLength; - this.onProgress?.({ - loaded: this._loaded - }); - return { - value: getArrayBuffer(value), - done: false - }; - } - cancel(reason) { - this._reader?.cancel(reason); - this._abortController.abort(); - } -} - - -/***/ }), - -/***/ 10: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ FontFaceObject: () => (/* binding */ FontFaceObject), -/* harmony export */ FontLoader: () => (/* binding */ FontLoader) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6197); -/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4979); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4292); - - - - - - - - - - -class FontLoader { - #systemFonts = new Set(); - constructor({ - ownerDocument = globalThis.document, - styleElement = null - }) { - this._document = ownerDocument; - this.nativeFontFaces = new Set(); - this.styleElement = null; - this.loadingRequests = []; - this.loadTestFontId = 0; - } - addNativeFontFace(nativeFontFace) { - this.nativeFontFaces.add(nativeFontFace); - this._document.fonts.add(nativeFontFace); - } - removeNativeFontFace(nativeFontFace) { - this.nativeFontFaces.delete(nativeFontFace); - this._document.fonts.delete(nativeFontFace); - } - insertRule(rule) { - if (!this.styleElement) { - this.styleElement = this._document.createElement("style"); - this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement); - } - const styleSheet = this.styleElement.sheet; - styleSheet.insertRule(rule, styleSheet.cssRules.length); - } - clear() { - for (const nativeFontFace of this.nativeFontFaces) { - this._document.fonts.delete(nativeFontFace); - } - this.nativeFontFaces.clear(); - this.#systemFonts.clear(); - if (this.styleElement) { - this.styleElement.remove(); - this.styleElement = null; - } - } - async loadSystemFont({ - systemFontInfo: info, - _inspectFont - }) { - if (!info || this.#systemFonts.has(info.loadedName)) { - return; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.assert)(!this.disableFontFace, "loadSystemFont shouldn't be called when `disableFontFace` is set."); - if (this.isFontLoadingAPISupported) { - const { - loadedName, - src, - style - } = info; - const fontFace = new FontFace(loadedName, src, style); - this.addNativeFontFace(fontFace); - try { - await fontFace.load(); - this.#systemFonts.add(loadedName); - _inspectFont?.(info); - } catch { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.warn)(`Cannot load system font: ${info.baseFontName}, installing it could help to improve PDF rendering.`); - this.removeNativeFontFace(fontFace); - } - return; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.unreachable)("Not implemented: loadSystemFont without the Font Loading API."); - } - async bind(font) { - if (font.attached || font.missingFile && !font.systemFontInfo) { - return; - } - font.attached = true; - if (font.systemFontInfo) { - await this.loadSystemFont(font); - return; - } - if (this.isFontLoadingAPISupported) { - const nativeFontFace = font.createNativeFontFace(); - if (nativeFontFace) { - this.addNativeFontFace(nativeFontFace); - try { - await nativeFontFace.loaded; - } catch (ex) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.warn)(`Failed to load font '${nativeFontFace.family}': '${ex}'.`); - font.disableFontFace = true; - throw ex; - } - } - return; - } - const rule = font.createFontFaceRule(); - if (rule) { - this.insertRule(rule); - if (this.isSyncFontLoadingSupported) { - return; - } - await new Promise(resolve => { - const request = this._queueLoadingCallback(resolve); - this._prepareFontLoadEvent(font, request); - }); - } - } - get isFontLoadingAPISupported() { - const hasFonts = !!this._document?.fonts; - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.shadow)(this, "isFontLoadingAPISupported", hasFonts); - } - get isSyncFontLoadingSupported() { - let supported = false; - if (_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.isNodeJS) { - supported = true; - } else if (typeof navigator !== "undefined" && typeof navigator?.userAgent === "string" && /Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent)) { - supported = true; - } - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.shadow)(this, "isSyncFontLoadingSupported", supported); - } - _queueLoadingCallback(callback) { - function completeRequest() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.assert)(!request.done, "completeRequest() cannot be called twice."); - request.done = true; - while (loadingRequests.length > 0 && loadingRequests[0].done) { - const otherRequest = loadingRequests.shift(); - setTimeout(otherRequest.callback, 0); - } - } - const { - loadingRequests - } = this; - const request = { - done: false, - complete: completeRequest, - callback - }; - loadingRequests.push(request); - return request; - } - get _loadTestFont() { - const testFont = atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQA" + "FQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAA" + "ALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgA" + "AAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1" + "AAsD6AAAAADOBO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EBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3" + "Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTj" + "FQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="); - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.shadow)(this, "_loadTestFont", testFont); - } - _prepareFontLoadEvent(font, request) { - function int32(data, offset) { - return data.charCodeAt(offset) << 24 | data.charCodeAt(offset + 1) << 16 | data.charCodeAt(offset + 2) << 8 | data.charCodeAt(offset + 3) & 0xff; - } - function spliceString(s, offset, remove, insert) { - const chunk1 = s.substring(0, offset); - const chunk2 = s.substring(offset + remove); - return chunk1 + insert + chunk2; - } - let i, ii; - const canvas = this._document.createElement("canvas"); - canvas.width = 1; - canvas.height = 1; - const ctx = canvas.getContext("2d"); - let called = 0; - function isFontReady(name, callback) { - if (++called > 30) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.warn)("Load test font never loaded."); - callback(); - return; - } - ctx.font = "30px " + name; - ctx.fillText(".", 0, 20); - const imageData = ctx.getImageData(0, 0, 1, 1); - if (imageData.data[3] > 0) { - callback(); - return; - } - setTimeout(isFontReady.bind(null, name, callback)); - } - const loadTestFontId = `lt${Date.now()}${this.loadTestFontId++}`; - let data = this._loadTestFont; - const COMMENT_OFFSET = 976; - data = spliceString(data, COMMENT_OFFSET, loadTestFontId.length, loadTestFontId); - const CFF_CHECKSUM_OFFSET = 16; - const XXXX_VALUE = 0x58585858; - let checksum = int32(data, CFF_CHECKSUM_OFFSET); - for (i = 0, ii = loadTestFontId.length - 3; i < ii; i += 4) { - checksum = checksum - XXXX_VALUE + int32(loadTestFontId, i) | 0; - } - if (i < loadTestFontId.length) { - checksum = checksum - XXXX_VALUE + int32(loadTestFontId + "XXX", i) | 0; - } - data = spliceString(data, CFF_CHECKSUM_OFFSET, 4, (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.string32)(checksum)); - const url = `url(data:font/opentype;base64,${btoa(data)});`; - const rule = `@font-face {font-family:"${loadTestFontId}";src:${url}}`; - this.insertRule(rule); - const div = this._document.createElement("div"); - div.style.visibility = "hidden"; - div.style.width = div.style.height = "10px"; - div.style.position = "absolute"; - div.style.top = div.style.left = "0px"; - for (const name of [font.loadedName, loadTestFontId]) { - const span = this._document.createElement("span"); - span.textContent = "Hi"; - span.style.fontFamily = name; - div.append(span); - } - this._document.body.append(div); - isFontReady(loadTestFontId, () => { - div.remove(); - request.complete(); - }); - } -} -class FontFaceObject { - constructor(translatedData, { - disableFontFace = false, - ignoreErrors = false, - inspectFont = null - }) { - this.compiledGlyphs = Object.create(null); - for (const i in translatedData) { - this[i] = translatedData[i]; - } - this.disableFontFace = disableFontFace === true; - this.ignoreErrors = ignoreErrors === true; - this._inspectFont = inspectFont; - } - createNativeFontFace() { - if (!this.data || this.disableFontFace) { - return null; - } - let nativeFontFace; - if (!this.cssFontInfo) { - nativeFontFace = new FontFace(this.loadedName, this.data, {}); - } else { - const css = { - weight: this.cssFontInfo.fontWeight - }; - if (this.cssFontInfo.italicAngle) { - css.style = `oblique ${this.cssFontInfo.italicAngle}deg`; - } - nativeFontFace = new FontFace(this.cssFontInfo.fontFamily, this.data, css); - } - this._inspectFont?.(this); - return nativeFontFace; - } - createFontFaceRule() { - if (!this.data || this.disableFontFace) { - return null; - } - const data = (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.bytesToString)(this.data); - const url = `url(data:${this.mimetype};base64,${btoa(data)});`; - let rule; - if (!this.cssFontInfo) { - rule = `@font-face {font-family:"${this.loadedName}";src:${url}}`; - } else { - let css = `font-weight: ${this.cssFontInfo.fontWeight};`; - if (this.cssFontInfo.italicAngle) { - css += `font-style: oblique ${this.cssFontInfo.italicAngle}deg;`; - } - rule = `@font-face {font-family:"${this.cssFontInfo.fontFamily}";${css}src:${url}}`; - } - this._inspectFont?.(this, url); - return rule; - } - getPathGenerator(objs, character) { - if (this.compiledGlyphs[character] !== undefined) { - return this.compiledGlyphs[character]; - } - let cmds; - try { - cmds = objs.get(this.loadedName + "_path_" + character); - } catch (ex) { - if (!this.ignoreErrors) { - throw ex; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.warn)(`getPathGenerator - ignoring character: "${ex}".`); - } - if (!Array.isArray(cmds) || cmds.length === 0) { - return this.compiledGlyphs[character] = function (c, size) {}; - } - const commands = []; - for (let i = 0, ii = cmds.length; i < ii;) { - switch (cmds[i++]) { - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.BEZIER_CURVE_TO: - { - const [a, b, c, d, e, f] = cmds.slice(i, i + 6); - commands.push(ctx => ctx.bezierCurveTo(a, b, c, d, e, f)); - i += 6; - } - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.MOVE_TO: - { - const [a, b] = cmds.slice(i, i + 2); - commands.push(ctx => ctx.moveTo(a, b)); - i += 2; - } - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.LINE_TO: - { - const [a, b] = cmds.slice(i, i + 2); - commands.push(ctx => ctx.lineTo(a, b)); - i += 2; - } - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.QUADRATIC_CURVE_TO: - { - const [a, b, c, d] = cmds.slice(i, i + 4); - commands.push(ctx => ctx.quadraticCurveTo(a, b, c, d)); - i += 4; - } - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.RESTORE: - commands.push(ctx => ctx.restore()); - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.SAVE: - commands.push(ctx => ctx.save()); - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.SCALE: - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_9__.assert)(commands.length === 2, "Scale command is only valid at the third position."); - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.TRANSFORM: - { - const [a, b, c, d, e, f] = cmds.slice(i, i + 6); - commands.push(ctx => ctx.transform(a, b, c, d, e, f)); - i += 6; - } - break; - case _shared_util_js__WEBPACK_IMPORTED_MODULE_9__.FontRenderOps.TRANSLATE: - { - const [a, b] = cmds.slice(i, i + 2); - commands.push(ctx => ctx.translate(a, b)); - i += 2; - } - break; - } - } - return this.compiledGlyphs[character] = function glyphDrawer(ctx, size) { - commands[0](ctx); - commands[1](ctx); - ctx.scale(size, -size); - for (let i = 2, ii = commands.length; i < ii; i++) { - commands[i](ctx); - } - }; - } -} - - -/***/ }), - -/***/ 6062: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Metadata: () => (/* binding */ Metadata) -/* harmony export */ }); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4292); - -class Metadata { - #metadataMap; - #data; - constructor({ - parsedData, - rawData - }) { - this.#metadataMap = parsedData; - this.#data = rawData; - } - getRaw() { - return this.#data; - } - get(name) { - return this.#metadataMap.get(name) ?? null; - } - getAll() { - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.objectFromMap)(this.#metadataMap); - } - has(name) { - return this.#metadataMap.has(name); - } -} - - -/***/ }), - -/***/ 7457: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFNetworkStream: () => (/* binding */ PDFNetworkStream) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4292); -/* harmony import */ var _network_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6490); - - - - -const OK_RESPONSE = 200; -const PARTIAL_CONTENT_RESPONSE = 206; -function getArrayBuffer(xhr) { - const data = xhr.response; - if (typeof data !== "string") { - return data; - } - return (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_2__.stringToBytes)(data).buffer; -} -class NetworkManager { - constructor(url, args = {}) { - this.url = url; - this.isHttp = /^https?:/i.test(url); - this.httpHeaders = this.isHttp && args.httpHeaders || Object.create(null); - this.withCredentials = args.withCredentials || false; - this.currXhrId = 0; - this.pendingRequests = Object.create(null); - } - requestRange(begin, end, listeners) { - const args = { - begin, - end - }; - for (const prop in listeners) { - args[prop] = listeners[prop]; - } - return this.request(args); - } - requestFull(listeners) { - return this.request(listeners); - } - request(args) { - const xhr = new XMLHttpRequest(); - const xhrId = this.currXhrId++; - const pendingRequest = this.pendingRequests[xhrId] = { - xhr - }; - xhr.open("GET", this.url); - xhr.withCredentials = this.withCredentials; - for (const property in this.httpHeaders) { - const value = this.httpHeaders[property]; - if (value === undefined) { - continue; - } - xhr.setRequestHeader(property, value); - } - if (this.isHttp && "begin" in args && "end" in args) { - xhr.setRequestHeader("Range", `bytes=${args.begin}-${args.end - 1}`); - pendingRequest.expectedStatus = PARTIAL_CONTENT_RESPONSE; - } else { - pendingRequest.expectedStatus = OK_RESPONSE; - } - xhr.responseType = "arraybuffer"; - if (args.onError) { - xhr.onerror = function (evt) { - args.onError(xhr.status); - }; - } - xhr.onreadystatechange = this.onStateChange.bind(this, xhrId); - xhr.onprogress = this.onProgress.bind(this, xhrId); - pendingRequest.onHeadersReceived = args.onHeadersReceived; - pendingRequest.onDone = args.onDone; - pendingRequest.onError = args.onError; - pendingRequest.onProgress = args.onProgress; - xhr.send(null); - return xhrId; - } - onProgress(xhrId, evt) { - const pendingRequest = this.pendingRequests[xhrId]; - if (!pendingRequest) { - return; - } - pendingRequest.onProgress?.(evt); - } - onStateChange(xhrId, evt) { - const pendingRequest = this.pendingRequests[xhrId]; - if (!pendingRequest) { - return; - } - const xhr = pendingRequest.xhr; - if (xhr.readyState >= 2 && pendingRequest.onHeadersReceived) { - pendingRequest.onHeadersReceived(); - delete pendingRequest.onHeadersReceived; - } - if (xhr.readyState !== 4) { - return; - } - if (!(xhrId in this.pendingRequests)) { - return; - } - delete this.pendingRequests[xhrId]; - if (xhr.status === 0 && this.isHttp) { - pendingRequest.onError?.(xhr.status); - return; - } - const xhrStatus = xhr.status || OK_RESPONSE; - const ok_response_on_range_request = xhrStatus === OK_RESPONSE && pendingRequest.expectedStatus === PARTIAL_CONTENT_RESPONSE; - if (!ok_response_on_range_request && xhrStatus !== pendingRequest.expectedStatus) { - pendingRequest.onError?.(xhr.status); - return; - } - const chunk = getArrayBuffer(xhr); - if (xhrStatus === PARTIAL_CONTENT_RESPONSE) { - const rangeHeader = xhr.getResponseHeader("Content-Range"); - const matches = /bytes (\d+)-(\d+)\/(\d+)/.exec(rangeHeader); - pendingRequest.onDone({ - begin: parseInt(matches[1], 10), - chunk - }); - } else if (chunk) { - pendingRequest.onDone({ - begin: 0, - chunk - }); - } else { - pendingRequest.onError?.(xhr.status); - } - } - getRequestXhr(xhrId) { - return this.pendingRequests[xhrId].xhr; - } - isPendingRequest(xhrId) { - return xhrId in this.pendingRequests; - } - abortRequest(xhrId) { - const xhr = this.pendingRequests[xhrId].xhr; - delete this.pendingRequests[xhrId]; - xhr.abort(); - } -} -class PDFNetworkStream { - constructor(source) { - this._source = source; - this._manager = new NetworkManager(source.url, { - httpHeaders: source.httpHeaders, - withCredentials: source.withCredentials - }); - this._rangeChunkSize = source.rangeChunkSize; - this._fullRequestReader = null; - this._rangeRequestReaders = []; - } - _onRangeRequestReaderClosed(reader) { - const i = this._rangeRequestReaders.indexOf(reader); - if (i >= 0) { - this._rangeRequestReaders.splice(i, 1); - } - } - getFullReader() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_2__.assert)(!this._fullRequestReader, "PDFNetworkStream.getFullReader can only be called once."); - this._fullRequestReader = new PDFNetworkStreamFullRequestReader(this._manager, this._source); - return this._fullRequestReader; - } - getRangeReader(begin, end) { - const reader = new PDFNetworkStreamRangeRequestReader(this._manager, begin, end); - reader.onClosed = this._onRangeRequestReaderClosed.bind(this); - this._rangeRequestReaders.push(reader); - return reader; - } - cancelAllRequests(reason) { - this._fullRequestReader?.cancel(reason); - for (const reader of this._rangeRequestReaders.slice(0)) { - reader.cancel(reason); - } - } -} -class PDFNetworkStreamFullRequestReader { - constructor(manager, source) { - this._manager = manager; - const args = { - onHeadersReceived: this._onHeadersReceived.bind(this), - onDone: this._onDone.bind(this), - onError: this._onError.bind(this), - onProgress: this._onProgress.bind(this) - }; - this._url = source.url; - this._fullRequestId = manager.requestFull(args); - this._headersReceivedCapability = Promise.withResolvers(); - this._disableRange = source.disableRange || false; - this._contentLength = source.length; - this._rangeChunkSize = source.rangeChunkSize; - if (!this._rangeChunkSize && !this._disableRange) { - this._disableRange = true; - } - this._isStreamingSupported = false; - this._isRangeSupported = false; - this._cachedChunks = []; - this._requests = []; - this._done = false; - this._storedError = undefined; - this._filename = null; - this.onProgress = null; - } - _onHeadersReceived() { - const fullRequestXhrId = this._fullRequestId; - const fullRequestXhr = this._manager.getRequestXhr(fullRequestXhrId); - const getResponseHeader = name => fullRequestXhr.getResponseHeader(name); - const { - allowRangeRequests, - suggestedLength - } = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_3__.validateRangeRequestCapabilities)({ - getResponseHeader, - isHttp: this._manager.isHttp, - rangeChunkSize: this._rangeChunkSize, - disableRange: this._disableRange - }); - if (allowRangeRequests) { - this._isRangeSupported = true; - } - this._contentLength = suggestedLength || this._contentLength; - this._filename = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_3__.extractFilenameFromHeader)(getResponseHeader); - if (this._isRangeSupported) { - this._manager.abortRequest(fullRequestXhrId); - } - this._headersReceivedCapability.resolve(); - } - _onDone(data) { - if (data) { - if (this._requests.length > 0) { - const requestCapability = this._requests.shift(); - requestCapability.resolve({ - value: data.chunk, - done: false - }); - } else { - this._cachedChunks.push(data.chunk); - } - } - this._done = true; - if (this._cachedChunks.length > 0) { - return; - } - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - } - _onError(status) { - this._storedError = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_3__.createResponseStatusError)(status, this._url); - this._headersReceivedCapability.reject(this._storedError); - for (const requestCapability of this._requests) { - requestCapability.reject(this._storedError); - } - this._requests.length = 0; - this._cachedChunks.length = 0; - } - _onProgress(evt) { - this.onProgress?.({ - loaded: evt.loaded, - total: evt.lengthComputable ? evt.total : this._contentLength - }); - } - get filename() { - return this._filename; - } - get isRangeSupported() { - return this._isRangeSupported; - } - get isStreamingSupported() { - return this._isStreamingSupported; - } - get contentLength() { - return this._contentLength; - } - get headersReady() { - return this._headersReceivedCapability.promise; - } - async read() { - if (this._storedError) { - throw this._storedError; - } - if (this._cachedChunks.length > 0) { - const chunk = this._cachedChunks.shift(); - return { - value: chunk, - done: false - }; - } - if (this._done) { - return { - value: undefined, - done: true - }; - } - const requestCapability = Promise.withResolvers(); - this._requests.push(requestCapability); - return requestCapability.promise; - } - cancel(reason) { - this._done = true; - this._headersReceivedCapability.reject(reason); - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - if (this._manager.isPendingRequest(this._fullRequestId)) { - this._manager.abortRequest(this._fullRequestId); - } - this._fullRequestReader = null; - } -} -class PDFNetworkStreamRangeRequestReader { - constructor(manager, begin, end) { - this._manager = manager; - const args = { - onDone: this._onDone.bind(this), - onError: this._onError.bind(this), - onProgress: this._onProgress.bind(this) - }; - this._url = manager.url; - this._requestId = manager.requestRange(begin, end, args); - this._requests = []; - this._queuedChunk = null; - this._done = false; - this._storedError = undefined; - this.onProgress = null; - this.onClosed = null; - } - _close() { - this.onClosed?.(this); - } - _onDone(data) { - const chunk = data.chunk; - if (this._requests.length > 0) { - const requestCapability = this._requests.shift(); - requestCapability.resolve({ - value: chunk, - done: false - }); - } else { - this._queuedChunk = chunk; - } - this._done = true; - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - this._close(); - } - _onError(status) { - this._storedError = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_3__.createResponseStatusError)(status, this._url); - for (const requestCapability of this._requests) { - requestCapability.reject(this._storedError); - } - this._requests.length = 0; - this._queuedChunk = null; - } - _onProgress(evt) { - if (!this.isStreamingSupported) { - this.onProgress?.({ - loaded: evt.loaded - }); - } - } - get isStreamingSupported() { - return false; - } - async read() { - if (this._storedError) { - throw this._storedError; - } - if (this._queuedChunk !== null) { - const chunk = this._queuedChunk; - this._queuedChunk = null; - return { - value: chunk, - done: false - }; - } - if (this._done) { - return { - value: undefined, - done: true - }; - } - const requestCapability = Promise.withResolvers(); - this._requests.push(requestCapability); - return requestCapability.promise; - } - cancel(reason) { - this._done = true; - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - if (this._manager.isPendingRequest(this._requestId)) { - this._manager.abortRequest(this._requestId); - } - this._close(); - } -} - - -/***/ }), - -/***/ 6490: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - createResponseStatusError: () => (/* binding */ createResponseStatusError), - extractFilenameFromHeader: () => (/* binding */ extractFilenameFromHeader), - validateRangeRequestCapabilities: () => (/* binding */ validateRangeRequestCapabilities), - validateResponseStatus: () => (/* binding */ validateResponseStatus) -}); - -// EXTERNAL MODULE: ./src/shared/util.js -var util = __webpack_require__(4292); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js -var web_dom_exception_stack = __webpack_require__(4979); -;// CONCATENATED MODULE: ./src/display/content_disposition.js - - - -function getFilenameFromContentDispositionHeader(contentDisposition) { - let needsEncodingFixup = true; - let tmp = toParamRegExp("filename\\*", "i").exec(contentDisposition); - if (tmp) { - tmp = tmp[1]; - let filename = rfc2616unquote(tmp); - filename = unescape(filename); - filename = rfc5987decode(filename); - filename = rfc2047decode(filename); - return fixupEncoding(filename); - } - tmp = rfc2231getparam(contentDisposition); - if (tmp) { - const filename = rfc2047decode(tmp); - return fixupEncoding(filename); - } - tmp = toParamRegExp("filename", "i").exec(contentDisposition); - if (tmp) { - tmp = tmp[1]; - let filename = rfc2616unquote(tmp); - filename = rfc2047decode(filename); - return fixupEncoding(filename); - } - function toParamRegExp(attributePattern, flags) { - return new RegExp("(?:^|;)\\s*" + attributePattern + "\\s*=\\s*" + "(" + '[^";\\s][^;\\s]*' + "|" + '"(?:[^"\\\\]|\\\\"?)+"?' + ")", flags); - } - function textdecode(encoding, value) { - if (encoding) { - if (!/^[\x00-\xFF]+$/.test(value)) { - return value; - } - try { - const decoder = new TextDecoder(encoding, { - fatal: true - }); - const buffer = (0,util.stringToBytes)(value); - value = decoder.decode(buffer); - needsEncodingFixup = false; - } catch {} - } - return value; - } - function fixupEncoding(value) { - if (needsEncodingFixup && /[\x80-\xff]/.test(value)) { - value = textdecode("utf-8", value); - if (needsEncodingFixup) { - value = textdecode("iso-8859-1", value); - } - } - return value; - } - function rfc2231getparam(contentDispositionStr) { - const matches = []; - let match; - const iter = toParamRegExp("filename\\*((?!0\\d)\\d+)(\\*?)", "ig"); - while ((match = iter.exec(contentDispositionStr)) !== null) { - let [, n, quot, part] = match; - n = parseInt(n, 10); - if (n in matches) { - if (n === 0) { - break; - } - continue; - } - matches[n] = [quot, part]; - } - const parts = []; - for (let n = 0; n < matches.length; ++n) { - if (!(n in matches)) { - break; - } - let [quot, part] = matches[n]; - part = rfc2616unquote(part); - if (quot) { - part = unescape(part); - if (n === 0) { - part = rfc5987decode(part); - } - } - parts.push(part); - } - return parts.join(""); - } - function rfc2616unquote(value) { - if (value.startsWith('"')) { - const parts = value.slice(1).split('\\"'); - for (let i = 0; i < parts.length; ++i) { - const quotindex = parts[i].indexOf('"'); - if (quotindex !== -1) { - parts[i] = parts[i].slice(0, quotindex); - parts.length = i + 1; - } - parts[i] = parts[i].replaceAll(/\\(.)/g, "$1"); - } - value = parts.join('"'); - } - return value; - } - function rfc5987decode(extvalue) { - const encodingend = extvalue.indexOf("'"); - if (encodingend === -1) { - return extvalue; - } - const encoding = extvalue.slice(0, encodingend); - const langvalue = extvalue.slice(encodingend + 1); - const value = langvalue.replace(/^[^']*'/, ""); - return textdecode(encoding, value); - } - function rfc2047decode(value) { - if (!value.startsWith("=?") || /[\x00-\x19\x80-\xff]/.test(value)) { - return value; - } - return value.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g, function (matches, charset, encoding, text) { - if (encoding === "q" || encoding === "Q") { - text = text.replaceAll("_", " "); - text = text.replaceAll(/=([0-9a-fA-F]{2})/g, function (match, hex) { - return String.fromCharCode(parseInt(hex, 16)); - }); - return textdecode(charset, text); - } - try { - text = atob(text); - } catch {} - return textdecode(charset, text); - }); - } - return ""; -} - -// EXTERNAL MODULE: ./src/display/display_utils.js -var display_utils = __webpack_require__(5419); -;// CONCATENATED MODULE: ./src/display/network_utils.js - - - -function validateRangeRequestCapabilities({ - getResponseHeader, - isHttp, - rangeChunkSize, - disableRange -}) { - const returnValues = { - allowRangeRequests: false, - suggestedLength: undefined - }; - const length = parseInt(getResponseHeader("Content-Length"), 10); - if (!Number.isInteger(length)) { - return returnValues; - } - returnValues.suggestedLength = length; - if (length <= 2 * rangeChunkSize) { - return returnValues; - } - if (disableRange || !isHttp) { - return returnValues; - } - if (getResponseHeader("Accept-Ranges") !== "bytes") { - return returnValues; - } - const contentEncoding = getResponseHeader("Content-Encoding") || "identity"; - if (contentEncoding !== "identity") { - return returnValues; - } - returnValues.allowRangeRequests = true; - return returnValues; -} -function extractFilenameFromHeader(getResponseHeader) { - const contentDisposition = getResponseHeader("Content-Disposition"); - if (contentDisposition) { - let filename = getFilenameFromContentDispositionHeader(contentDisposition); - if (filename.includes("%")) { - try { - filename = decodeURIComponent(filename); - } catch {} - } - if ((0,display_utils.isPdfFile)(filename)) { - return filename; - } - } - return null; -} -function createResponseStatusError(status, url) { - if (status === 404 || status === 0 && url.startsWith("file:")) { - return new util.MissingPDFException('Missing PDF "' + url + '".'); - } - return new util.UnexpectedResponseException(`Unexpected server response (${status}) while retrieving PDF "${url}".`, status); -} -function validateResponseStatus(status) { - return status === 200 || status === 206; -} - - -/***/ }), - -/***/ 4786: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFNodeStream: () => (/* binding */ PDFNodeStream) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9577); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4292); -/* harmony import */ var _network_utils_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(6490); - - - - - - - - - - -let fs, http, https, url; -if (_shared_util_js__WEBPACK_IMPORTED_MODULE_8__.isNodeJS) { - fs = await import( /*webpackIgnore: true*/"fs"); - http = await import( /*webpackIgnore: true*/"http"); - https = await import( /*webpackIgnore: true*/"https"); - url = await import( /*webpackIgnore: true*/"url"); -} -const fileUriRegex = /^file:\/\/\/[a-zA-Z]:\//; -function parseUrl(sourceUrl) { - const parsedUrl = url.parse(sourceUrl); - if (parsedUrl.protocol === "file:" || parsedUrl.host) { - return parsedUrl; - } - if (/^[a-z]:[/\\]/i.test(sourceUrl)) { - return url.parse(`file:///${sourceUrl}`); - } - if (!parsedUrl.host) { - parsedUrl.protocol = "file:"; - } - return parsedUrl; -} -class PDFNodeStream { - constructor(source) { - this.source = source; - this.url = parseUrl(source.url); - this.isHttp = this.url.protocol === "http:" || this.url.protocol === "https:"; - this.isFsUrl = this.url.protocol === "file:"; - this.httpHeaders = this.isHttp && source.httpHeaders || {}; - this._fullRequestReader = null; - this._rangeRequestReaders = []; - } - get _progressiveDataLength() { - return this._fullRequestReader?._loaded ?? 0; - } - getFullReader() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_8__.assert)(!this._fullRequestReader, "PDFNodeStream.getFullReader can only be called once."); - this._fullRequestReader = this.isFsUrl ? new PDFNodeStreamFsFullReader(this) : new PDFNodeStreamFullReader(this); - return this._fullRequestReader; - } - getRangeReader(start, end) { - if (end <= this._progressiveDataLength) { - return null; - } - const rangeReader = this.isFsUrl ? new PDFNodeStreamFsRangeReader(this, start, end) : new PDFNodeStreamRangeReader(this, start, end); - this._rangeRequestReaders.push(rangeReader); - return rangeReader; - } - cancelAllRequests(reason) { - this._fullRequestReader?.cancel(reason); - for (const reader of this._rangeRequestReaders.slice(0)) { - reader.cancel(reason); - } - } -} -class BaseFullReader { - constructor(stream) { - this._url = stream.url; - this._done = false; - this._storedError = null; - this.onProgress = null; - const source = stream.source; - this._contentLength = source.length; - this._loaded = 0; - this._filename = null; - this._disableRange = source.disableRange || false; - this._rangeChunkSize = source.rangeChunkSize; - if (!this._rangeChunkSize && !this._disableRange) { - this._disableRange = true; - } - this._isStreamingSupported = !source.disableStream; - this._isRangeSupported = !source.disableRange; - this._readableStream = null; - this._readCapability = Promise.withResolvers(); - this._headersCapability = Promise.withResolvers(); - } - get headersReady() { - return this._headersCapability.promise; - } - get filename() { - return this._filename; - } - get contentLength() { - return this._contentLength; - } - get isRangeSupported() { - return this._isRangeSupported; - } - get isStreamingSupported() { - return this._isStreamingSupported; - } - async read() { - await this._readCapability.promise; - if (this._done) { - return { - value: undefined, - done: true - }; - } - if (this._storedError) { - throw this._storedError; - } - const chunk = this._readableStream.read(); - if (chunk === null) { - this._readCapability = Promise.withResolvers(); - return this.read(); - } - this._loaded += chunk.length; - this.onProgress?.({ - loaded: this._loaded, - total: this._contentLength - }); - const buffer = new Uint8Array(chunk).buffer; - return { - value: buffer, - done: false - }; - } - cancel(reason) { - if (!this._readableStream) { - this._error(reason); - return; - } - this._readableStream.destroy(reason); - } - _error(reason) { - this._storedError = reason; - this._readCapability.resolve(); - } - _setReadableStream(readableStream) { - this._readableStream = readableStream; - readableStream.on("readable", () => { - this._readCapability.resolve(); - }); - readableStream.on("end", () => { - readableStream.destroy(); - this._done = true; - this._readCapability.resolve(); - }); - readableStream.on("error", reason => { - this._error(reason); - }); - if (!this._isStreamingSupported && this._isRangeSupported) { - this._error(new _shared_util_js__WEBPACK_IMPORTED_MODULE_8__.AbortException("streaming is disabled")); - } - if (this._storedError) { - this._readableStream.destroy(this._storedError); - } - } -} -class BaseRangeReader { - constructor(stream) { - this._url = stream.url; - this._done = false; - this._storedError = null; - this.onProgress = null; - this._loaded = 0; - this._readableStream = null; - this._readCapability = Promise.withResolvers(); - const source = stream.source; - this._isStreamingSupported = !source.disableStream; - } - get isStreamingSupported() { - return this._isStreamingSupported; - } - async read() { - await this._readCapability.promise; - if (this._done) { - return { - value: undefined, - done: true - }; - } - if (this._storedError) { - throw this._storedError; - } - const chunk = this._readableStream.read(); - if (chunk === null) { - this._readCapability = Promise.withResolvers(); - return this.read(); - } - this._loaded += chunk.length; - this.onProgress?.({ - loaded: this._loaded - }); - const buffer = new Uint8Array(chunk).buffer; - return { - value: buffer, - done: false - }; - } - cancel(reason) { - if (!this._readableStream) { - this._error(reason); - return; - } - this._readableStream.destroy(reason); - } - _error(reason) { - this._storedError = reason; - this._readCapability.resolve(); - } - _setReadableStream(readableStream) { - this._readableStream = readableStream; - readableStream.on("readable", () => { - this._readCapability.resolve(); - }); - readableStream.on("end", () => { - readableStream.destroy(); - this._done = true; - this._readCapability.resolve(); - }); - readableStream.on("error", reason => { - this._error(reason); - }); - if (this._storedError) { - this._readableStream.destroy(this._storedError); - } - } -} -function createRequestOptions(parsedUrl, headers) { - return { - protocol: parsedUrl.protocol, - auth: parsedUrl.auth, - host: parsedUrl.hostname, - port: parsedUrl.port, - path: parsedUrl.path, - method: "GET", - headers - }; -} -class PDFNodeStreamFullReader extends BaseFullReader { - constructor(stream) { - super(stream); - const handleResponse = response => { - if (response.statusCode === 404) { - const error = new _shared_util_js__WEBPACK_IMPORTED_MODULE_8__.MissingPDFException(`Missing PDF "${this._url}".`); - this._storedError = error; - this._headersCapability.reject(error); - return; - } - this._headersCapability.resolve(); - this._setReadableStream(response); - const getResponseHeader = name => this._readableStream.headers[name.toLowerCase()]; - const { - allowRangeRequests, - suggestedLength - } = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.validateRangeRequestCapabilities)({ - getResponseHeader, - isHttp: stream.isHttp, - rangeChunkSize: this._rangeChunkSize, - disableRange: this._disableRange - }); - this._isRangeSupported = allowRangeRequests; - this._contentLength = suggestedLength || this._contentLength; - this._filename = (0,_network_utils_js__WEBPACK_IMPORTED_MODULE_9__.extractFilenameFromHeader)(getResponseHeader); - }; - this._request = null; - if (this._url.protocol === "http:") { - this._request = http.request(createRequestOptions(this._url, stream.httpHeaders), handleResponse); - } else { - this._request = https.request(createRequestOptions(this._url, stream.httpHeaders), handleResponse); - } - this._request.on("error", reason => { - this._storedError = reason; - this._headersCapability.reject(reason); - }); - this._request.end(); - } -} -class PDFNodeStreamRangeReader extends BaseRangeReader { - constructor(stream, start, end) { - super(stream); - this._httpHeaders = {}; - for (const property in stream.httpHeaders) { - const value = stream.httpHeaders[property]; - if (value === undefined) { - continue; - } - this._httpHeaders[property] = value; - } - this._httpHeaders.Range = `bytes=${start}-${end - 1}`; - const handleResponse = response => { - if (response.statusCode === 404) { - const error = new _shared_util_js__WEBPACK_IMPORTED_MODULE_8__.MissingPDFException(`Missing PDF "${this._url}".`); - this._storedError = error; - return; - } - this._setReadableStream(response); - }; - this._request = null; - if (this._url.protocol === "http:") { - this._request = http.request(createRequestOptions(this._url, this._httpHeaders), handleResponse); - } else { - this._request = https.request(createRequestOptions(this._url, this._httpHeaders), handleResponse); - } - this._request.on("error", reason => { - this._storedError = reason; - }); - this._request.end(); - } -} -class PDFNodeStreamFsFullReader extends BaseFullReader { - constructor(stream) { - super(stream); - let path = decodeURIComponent(this._url.path); - if (fileUriRegex.test(this._url.href)) { - path = path.replace(/^\//, ""); - } - fs.promises.lstat(path).then(stat => { - this._contentLength = stat.size; - this._setReadableStream(fs.createReadStream(path)); - this._headersCapability.resolve(); - }, error => { - if (error.code === "ENOENT") { - error = new _shared_util_js__WEBPACK_IMPORTED_MODULE_8__.MissingPDFException(`Missing PDF "${path}".`); - } - this._storedError = error; - this._headersCapability.reject(error); - }); - } -} -class PDFNodeStreamFsRangeReader extends BaseRangeReader { - constructor(stream, start, end) { - super(stream); - let path = decodeURIComponent(this._url.path); - if (fileUriRegex.test(this._url.href)) { - path = path.replace(/^\//, ""); - } - this._setReadableStream(fs.createReadStream(path, { - start, - end: end - 1 - })); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }, 1); - -/***/ }), - -/***/ 1573: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ NodeCMapReaderFactory: () => (/* binding */ NodeCMapReaderFactory), -/* harmony export */ NodeCanvasFactory: () => (/* binding */ NodeCanvasFactory), -/* harmony export */ NodeFilterFactory: () => (/* binding */ NodeFilterFactory), -/* harmony export */ NodeStandardFontDataFactory: () => (/* binding */ NodeStandardFontDataFactory) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9577); -/* harmony import */ var _base_factory_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2583); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4292); - - - - - - - - -let fs, canvas, path2d; -if (_shared_util_js__WEBPACK_IMPORTED_MODULE_7__.isNodeJS) { - fs = await import( /*webpackIgnore: true*/"fs"); - try { - canvas = await import( /*webpackIgnore: true*/"canvas"); - } catch {} - try { - path2d = await import( /*webpackIgnore: true*/"path2d"); - } catch {} -} -{ - (function checkDOMMatrix() { - if (globalThis.DOMMatrix || !_shared_util_js__WEBPACK_IMPORTED_MODULE_7__.isNodeJS) { - return; - } - const DOMMatrix = canvas?.DOMMatrix; - if (DOMMatrix) { - globalThis.DOMMatrix = DOMMatrix; - } else { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_7__.warn)("Cannot polyfill `DOMMatrix`, rendering may be broken."); - } - })(); - (function checkPath2D() { - if (globalThis.Path2D || !_shared_util_js__WEBPACK_IMPORTED_MODULE_7__.isNodeJS) { - return; - } - const CanvasRenderingContext2D = canvas?.CanvasRenderingContext2D; - const applyPath2DToCanvasRenderingContext = path2d?.applyPath2DToCanvasRenderingContext; - const Path2D = path2d?.Path2D; - if (CanvasRenderingContext2D && applyPath2DToCanvasRenderingContext && Path2D) { - applyPath2DToCanvasRenderingContext(CanvasRenderingContext2D); - globalThis.Path2D = Path2D; - } else { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_7__.warn)("Cannot polyfill `Path2D`, rendering may be broken."); - } - })(); -} -const fetchData = function (url) { - return fs.promises.readFile(url).then(data => new Uint8Array(data)); -}; -class NodeFilterFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_6__.BaseFilterFactory {} -class NodeCanvasFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_6__.BaseCanvasFactory { - _createCanvas(width, height) { - return canvas.createCanvas(width, height); - } -} -class NodeCMapReaderFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_6__.BaseCMapReaderFactory { - _fetchData(url, compressionType) { - return fetchData(url).then(data => ({ - cMapData: data, - compressionType - })); - } -} -class NodeStandardFontDataFactory extends _base_factory_js__WEBPACK_IMPORTED_MODULE_6__.BaseStandardFontDataFactory { - _fetchData(url) { - return fetchData(url); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }, 1); - -/***/ }), - -/***/ 5626: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ OptionalContentConfig: () => (/* binding */ OptionalContentConfig) -/* harmony export */ }); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4292); -/* harmony import */ var _shared_murmurhash3_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7651); - - -const INTERNAL = Symbol("INTERNAL"); -class OptionalContentGroup { - #isDisplay = false; - #isPrint = false; - #userSet = false; - #visible = true; - constructor(renderingIntent, { - name, - intent, - usage - }) { - this.#isDisplay = !!(renderingIntent & _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.RenderingIntentFlag.DISPLAY); - this.#isPrint = !!(renderingIntent & _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.RenderingIntentFlag.PRINT); - this.name = name; - this.intent = intent; - this.usage = usage; - } - get visible() { - if (this.#userSet) { - return this.#visible; - } - if (!this.#visible) { - return false; - } - const { - print, - view - } = this.usage; - if (this.#isDisplay) { - return view?.viewState !== "OFF"; - } else if (this.#isPrint) { - return print?.printState !== "OFF"; - } - return true; - } - _setVisible(internal, visible, userSet = false) { - if (internal !== INTERNAL) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.unreachable)("Internal method `_setVisible` called."); - } - this.#userSet = userSet; - this.#visible = visible; - } -} -class OptionalContentConfig { - #cachedGetHash = null; - #groups = new Map(); - #initialHash = null; - #order = null; - constructor(data, renderingIntent = _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.RenderingIntentFlag.DISPLAY) { - this.renderingIntent = renderingIntent; - this.name = null; - this.creator = null; - if (data === null) { - return; - } - this.name = data.name; - this.creator = data.creator; - this.#order = data.order; - for (const group of data.groups) { - this.#groups.set(group.id, new OptionalContentGroup(renderingIntent, group)); - } - if (data.baseState === "OFF") { - for (const group of this.#groups.values()) { - group._setVisible(INTERNAL, false); - } - } - for (const on of data.on) { - this.#groups.get(on)._setVisible(INTERNAL, true); - } - for (const off of data.off) { - this.#groups.get(off)._setVisible(INTERNAL, false); - } - this.#initialHash = this.getHash(); - } - #evaluateVisibilityExpression(array) { - const length = array.length; - if (length < 2) { - return true; - } - const operator = array[0]; - for (let i = 1; i < length; i++) { - const element = array[i]; - let state; - if (Array.isArray(element)) { - state = this.#evaluateVisibilityExpression(element); - } else if (this.#groups.has(element)) { - state = this.#groups.get(element).visible; - } else { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${element}`); - return true; - } - switch (operator) { - case "And": - if (!state) { - return false; - } - break; - case "Or": - if (state) { - return true; - } - break; - case "Not": - return !state; - default: - return true; - } - } - return operator === "And"; - } - isVisible(group) { - if (this.#groups.size === 0) { - return true; - } - if (!group) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.info)("Optional content group not defined."); - return true; - } - if (group.type === "OCG") { - if (!this.#groups.has(group.id)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${group.id}`); - return true; - } - return this.#groups.get(group.id).visible; - } else if (group.type === "OCMD") { - if (group.expression) { - return this.#evaluateVisibilityExpression(group.expression); - } - if (!group.policy || group.policy === "AnyOn") { - for (const id of group.ids) { - if (!this.#groups.has(id)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${id}`); - return true; - } - if (this.#groups.get(id).visible) { - return true; - } - } - return false; - } else if (group.policy === "AllOn") { - for (const id of group.ids) { - if (!this.#groups.has(id)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${id}`); - return true; - } - if (!this.#groups.get(id).visible) { - return false; - } - } - return true; - } else if (group.policy === "AnyOff") { - for (const id of group.ids) { - if (!this.#groups.has(id)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${id}`); - return true; - } - if (!this.#groups.get(id).visible) { - return true; - } - } - return false; - } else if (group.policy === "AllOff") { - for (const id of group.ids) { - if (!this.#groups.has(id)) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${id}`); - return true; - } - if (this.#groups.get(id).visible) { - return false; - } - } - return true; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Unknown optional content policy ${group.policy}.`); - return true; - } - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Unknown group type ${group.type}.`); - return true; - } - setVisibility(id, visible = true) { - const group = this.#groups.get(id); - if (!group) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.warn)(`Optional content group not found: ${id}`); - return; - } - group._setVisible(INTERNAL, !!visible, true); - this.#cachedGetHash = null; - } - setOCGState({ - state, - preserveRB - }) { - let operator; - for (const elem of state) { - switch (elem) { - case "ON": - case "OFF": - case "Toggle": - operator = elem; - continue; - } - const group = this.#groups.get(elem); - if (!group) { - continue; - } - switch (operator) { - case "ON": - group._setVisible(INTERNAL, true); - break; - case "OFF": - group._setVisible(INTERNAL, false); - break; - case "Toggle": - group._setVisible(INTERNAL, !group.visible); - break; - } - } - this.#cachedGetHash = null; - } - get hasInitialVisibility() { - return this.#initialHash === null || this.getHash() === this.#initialHash; - } - getOrder() { - if (!this.#groups.size) { - return null; - } - if (this.#order) { - return this.#order.slice(); - } - return [...this.#groups.keys()]; - } - getGroups() { - return this.#groups.size > 0 ? (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_0__.objectFromMap)(this.#groups) : null; - } - getGroup(id) { - return this.#groups.get(id) || null; - } - getHash() { - if (this.#cachedGetHash !== null) { - return this.#cachedGetHash; - } - const hash = new _shared_murmurhash3_js__WEBPACK_IMPORTED_MODULE_1__.MurmurHash3_64(); - for (const [id, group] of this.#groups) { - hash.update(`${id}:${group.visible}`); - } - return this.#cachedGetHash = hash.hexdigest(); - } -} - - -/***/ }), - -/***/ 6814: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ cleanupTextLayer: () => (/* binding */ cleanupTextLayer), -/* harmony export */ renderTextLayer: () => (/* binding */ renderTextLayer), -/* harmony export */ updateTextLayer: () => (/* binding */ updateTextLayer) -/* harmony export */ }); -/* unused harmony export TextLayerRenderTask */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4292); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5419); - - - - -const MAX_TEXT_DIVS_TO_RENDER = 100000; -const DEFAULT_FONT_SIZE = 30; -const DEFAULT_FONT_ASCENT = 0.8; -const ascentCache = new Map(); -let _canvasContext = null; -function getCtx() { - if (!_canvasContext) { - const canvas = document.createElement("canvas"); - canvas.className = "hiddenCanvasElement"; - document.body.append(canvas); - _canvasContext = canvas.getContext("2d", { - alpha: false - }); - } - return _canvasContext; -} -function cleanupTextLayer() { - _canvasContext?.canvas.remove(); - _canvasContext = null; -} -function getAscent(fontFamily) { - const cachedAscent = ascentCache.get(fontFamily); - if (cachedAscent) { - return cachedAscent; - } - const ctx = getCtx(); - const savedFont = ctx.font; - ctx.canvas.width = ctx.canvas.height = DEFAULT_FONT_SIZE; - ctx.font = `${DEFAULT_FONT_SIZE}px ${fontFamily}`; - const metrics = ctx.measureText(""); - let ascent = metrics.fontBoundingBoxAscent; - let descent = Math.abs(metrics.fontBoundingBoxDescent); - if (ascent) { - const ratio = ascent / (ascent + descent); - ascentCache.set(fontFamily, ratio); - ctx.canvas.width = ctx.canvas.height = 0; - ctx.font = savedFont; - return ratio; - } - ctx.strokeStyle = "red"; - ctx.clearRect(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE); - ctx.strokeText("g", 0, 0); - let pixels = ctx.getImageData(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE).data; - descent = 0; - for (let i = pixels.length - 1 - 3; i >= 0; i -= 4) { - if (pixels[i] > 0) { - descent = Math.ceil(i / 4 / DEFAULT_FONT_SIZE); - break; - } - } - ctx.clearRect(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE); - ctx.strokeText("A", 0, DEFAULT_FONT_SIZE); - pixels = ctx.getImageData(0, 0, DEFAULT_FONT_SIZE, DEFAULT_FONT_SIZE).data; - ascent = 0; - for (let i = 0, ii = pixels.length; i < ii; i += 4) { - if (pixels[i] > 0) { - ascent = DEFAULT_FONT_SIZE - Math.floor(i / 4 / DEFAULT_FONT_SIZE); - break; - } - } - ctx.canvas.width = ctx.canvas.height = 0; - ctx.font = savedFont; - if (ascent) { - const ratio = ascent / (ascent + descent); - ascentCache.set(fontFamily, ratio); - return ratio; - } - ascentCache.set(fontFamily, DEFAULT_FONT_ASCENT); - return DEFAULT_FONT_ASCENT; -} -function appendText(task, geom, styles) { - const textDiv = document.createElement("span"); - const textDivProperties = { - angle: 0, - canvasWidth: 0, - hasText: geom.str !== "", - hasEOL: geom.hasEOL, - fontSize: 0 - }; - task._textDivs.push(textDiv); - const tx = _shared_util_js__WEBPACK_IMPORTED_MODULE_2__.Util.transform(task._transform, geom.transform); - let angle = Math.atan2(tx[1], tx[0]); - const style = styles[geom.fontName]; - if (style.vertical) { - angle += Math.PI / 2; - } - const fontFamily = task._fontInspectorEnabled && style.fontSubstitution || style.fontFamily; - const fontHeight = Math.hypot(tx[2], tx[3]); - const fontAscent = fontHeight * getAscent(fontFamily); - let left, top; - if (angle === 0) { - left = tx[4]; - top = tx[5] - fontAscent; - } else { - left = tx[4] + fontAscent * Math.sin(angle); - top = tx[5] - fontAscent * Math.cos(angle); - } - const scaleFactorStr = "calc(var(--scale-factor)*"; - const divStyle = textDiv.style; - if (task._container === task._rootContainer) { - divStyle.left = `${(100 * left / task._pageWidth).toFixed(2)}%`; - divStyle.top = `${(100 * top / task._pageHeight).toFixed(2)}%`; - } else { - divStyle.left = `${scaleFactorStr}${left.toFixed(2)}px)`; - divStyle.top = `${scaleFactorStr}${top.toFixed(2)}px)`; - } - divStyle.fontSize = `${scaleFactorStr}${fontHeight.toFixed(2)}px)`; - divStyle.fontFamily = fontFamily; - textDivProperties.fontSize = fontHeight; - textDiv.setAttribute("role", "presentation"); - textDiv.textContent = geom.str; - textDiv.dir = geom.dir; - if (task._fontInspectorEnabled) { - textDiv.dataset.fontName = style.fontSubstitutionLoadedName || geom.fontName; - } - if (angle !== 0) { - textDivProperties.angle = angle * (180 / Math.PI); - } - let shouldScaleText = false; - if (geom.str.length > 1) { - shouldScaleText = true; - } else if (geom.str !== " " && geom.transform[0] !== geom.transform[3]) { - const absScaleX = Math.abs(geom.transform[0]), - absScaleY = Math.abs(geom.transform[3]); - if (absScaleX !== absScaleY && Math.max(absScaleX, absScaleY) / Math.min(absScaleX, absScaleY) > 1.5) { - shouldScaleText = true; - } - } - if (shouldScaleText) { - textDivProperties.canvasWidth = style.vertical ? geom.height : geom.width; - } - task._textDivProperties.set(textDiv, textDivProperties); - if (task._isReadableStream) { - task._layoutText(textDiv); - } -} -function layout(params) { - const { - div, - scale, - properties, - ctx, - prevFontSize, - prevFontFamily - } = params; - const { - style - } = div; - let transform = ""; - if (properties.canvasWidth !== 0 && properties.hasText) { - const { - fontFamily - } = style; - const { - canvasWidth, - fontSize - } = properties; - if (prevFontSize !== fontSize || prevFontFamily !== fontFamily) { - ctx.font = `${fontSize * scale}px ${fontFamily}`; - params.prevFontSize = fontSize; - params.prevFontFamily = fontFamily; - } - const { - width - } = ctx.measureText(div.textContent); - if (width > 0) { - transform = `scaleX(${canvasWidth * scale / width})`; - } - } - if (properties.angle !== 0) { - transform = `rotate(${properties.angle}deg) ${transform}`; - } - if (transform.length > 0) { - style.transform = transform; - } -} -function render(task) { - if (task._canceled) { - return; - } - const textDivs = task._textDivs; - const capability = task._capability; - const textDivsLength = textDivs.length; - if (textDivsLength > MAX_TEXT_DIVS_TO_RENDER) { - capability.resolve(); - return; - } - if (!task._isReadableStream) { - for (const textDiv of textDivs) { - task._layoutText(textDiv); - } - } - capability.resolve(); -} -class TextLayerRenderTask { - constructor({ - textContentSource, - container, - viewport, - textDivs, - textDivProperties, - textContentItemsStr - }) { - this._textContentSource = textContentSource; - this._isReadableStream = textContentSource instanceof ReadableStream; - this._container = this._rootContainer = container; - this._textDivs = textDivs || []; - this._textContentItemsStr = textContentItemsStr || []; - this._fontInspectorEnabled = !!globalThis.FontInspector?.enabled; - this._reader = null; - this._textDivProperties = textDivProperties || new WeakMap(); - this._canceled = false; - this._capability = Promise.withResolvers(); - this._layoutTextParams = { - prevFontSize: null, - prevFontFamily: null, - div: null, - scale: viewport.scale * (globalThis.devicePixelRatio || 1), - properties: null, - ctx: getCtx() - }; - const { - pageWidth, - pageHeight, - pageX, - pageY - } = viewport.rawDims; - this._transform = [1, 0, 0, -1, -pageX, pageY + pageHeight]; - this._pageWidth = pageWidth; - this._pageHeight = pageHeight; - (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_3__.setLayerDimensions)(container, viewport); - this._capability.promise.finally(() => { - this._layoutTextParams = null; - }).catch(() => {}); - } - get promise() { - return this._capability.promise; - } - cancel() { - this._canceled = true; - if (this._reader) { - this._reader.cancel(new _shared_util_js__WEBPACK_IMPORTED_MODULE_2__.AbortException("TextLayer task cancelled.")).catch(() => {}); - this._reader = null; - } - this._capability.reject(new _shared_util_js__WEBPACK_IMPORTED_MODULE_2__.AbortException("TextLayer task cancelled.")); - } - _processItems(items, styleCache) { - for (const item of items) { - if (item.str === undefined) { - if (item.type === "beginMarkedContentProps" || item.type === "beginMarkedContent") { - const parent = this._container; - this._container = document.createElement("span"); - this._container.classList.add("markedContent"); - if (item.id !== null) { - this._container.setAttribute("id", `${item.id}`); - } - parent.append(this._container); - } else if (item.type === "endMarkedContent") { - this._container = this._container.parentNode; - } - continue; - } - this._textContentItemsStr.push(item.str); - appendText(this, item, styleCache); - } - } - _layoutText(textDiv) { - const textDivProperties = this._layoutTextParams.properties = this._textDivProperties.get(textDiv); - this._layoutTextParams.div = textDiv; - layout(this._layoutTextParams); - if (textDivProperties.hasText) { - this._container.append(textDiv); - } - if (textDivProperties.hasEOL) { - const br = document.createElement("br"); - br.setAttribute("role", "presentation"); - this._container.append(br); - } - } - _render() { - const { - promise, - resolve, - reject - } = Promise.withResolvers(); - let styleCache = Object.create(null); - if (this._isReadableStream) { - const pump = () => { - this._reader.read().then(({ - value, - done - }) => { - if (done) { - resolve(); - return; - } - Object.assign(styleCache, value.styles); - this._processItems(value.items, styleCache); - pump(); - }, reject); - }; - this._reader = this._textContentSource.getReader(); - pump(); - } else if (this._textContentSource) { - const { - items, - styles - } = this._textContentSource; - this._processItems(items, styles); - resolve(); - } else { - throw new Error('No "textContentSource" parameter specified.'); - } - promise.then(() => { - styleCache = null; - render(this); - }, this._capability.reject); - } -} -function renderTextLayer(params) { - const task = new TextLayerRenderTask(params); - task._render(); - return task; -} -function updateTextLayer({ - container, - viewport, - textDivs, - textDivProperties, - mustRotate = true, - mustRescale = true -}) { - if (mustRotate) { - (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_3__.setLayerDimensions)(container, { - rotation: viewport.rotation - }); - } - if (mustRescale) { - const ctx = getCtx(); - const scale = viewport.scale * (globalThis.devicePixelRatio || 1); - const params = { - prevFontSize: null, - prevFontFamily: null, - div: null, - scale, - properties: null, - ctx - }; - for (const div of textDivs) { - params.properties = textDivProperties.get(div); - params.div = div; - layout(params); - } - } -} - - -/***/ }), - -/***/ 585: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFDataTransportStream: () => (/* binding */ PDFDataTransportStream) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7550); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4292); -/* harmony import */ var _display_utils_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(5419); - - - - - - - - - - - - -class PDFDataTransportStream { - constructor(pdfDataRangeTransport, { - disableRange = false, - disableStream = false - }) { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_10__.assert)(pdfDataRangeTransport, 'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'); - const { - length, - initialData, - progressiveDone, - contentDispositionFilename - } = pdfDataRangeTransport; - this._queuedChunks = []; - this._progressiveDone = progressiveDone; - this._contentDispositionFilename = contentDispositionFilename; - if (initialData?.length > 0) { - const buffer = initialData instanceof Uint8Array && initialData.byteLength === initialData.buffer.byteLength ? initialData.buffer : new Uint8Array(initialData).buffer; - this._queuedChunks.push(buffer); - } - this._pdfDataRangeTransport = pdfDataRangeTransport; - this._isStreamingSupported = !disableStream; - this._isRangeSupported = !disableRange; - this._contentLength = length; - this._fullRequestReader = null; - this._rangeReaders = []; - pdfDataRangeTransport.addRangeListener((begin, chunk) => { - this._onReceiveData({ - begin, - chunk - }); - }); - pdfDataRangeTransport.addProgressListener((loaded, total) => { - this._onProgress({ - loaded, - total - }); - }); - pdfDataRangeTransport.addProgressiveReadListener(chunk => { - this._onReceiveData({ - chunk - }); - }); - pdfDataRangeTransport.addProgressiveDoneListener(() => { - this._onProgressiveDone(); - }); - pdfDataRangeTransport.transportReady(); - } - _onReceiveData({ - begin, - chunk - }) { - const buffer = chunk instanceof Uint8Array && chunk.byteLength === chunk.buffer.byteLength ? chunk.buffer : new Uint8Array(chunk).buffer; - if (begin === undefined) { - if (this._fullRequestReader) { - this._fullRequestReader._enqueue(buffer); - } else { - this._queuedChunks.push(buffer); - } - } else { - const found = this._rangeReaders.some(function (rangeReader) { - if (rangeReader._begin !== begin) { - return false; - } - rangeReader._enqueue(buffer); - return true; - }); - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_10__.assert)(found, "_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found."); - } - } - get _progressiveDataLength() { - return this._fullRequestReader?._loaded ?? 0; - } - _onProgress(evt) { - if (evt.total === undefined) { - this._rangeReaders[0]?.onProgress?.({ - loaded: evt.loaded - }); - } else { - this._fullRequestReader?.onProgress?.({ - loaded: evt.loaded, - total: evt.total - }); - } - } - _onProgressiveDone() { - this._fullRequestReader?.progressiveDone(); - this._progressiveDone = true; - } - _removeRangeReader(reader) { - const i = this._rangeReaders.indexOf(reader); - if (i >= 0) { - this._rangeReaders.splice(i, 1); - } - } - getFullReader() { - (0,_shared_util_js__WEBPACK_IMPORTED_MODULE_10__.assert)(!this._fullRequestReader, "PDFDataTransportStream.getFullReader can only be called once."); - const queuedChunks = this._queuedChunks; - this._queuedChunks = null; - return new PDFDataTransportStreamReader(this, queuedChunks, this._progressiveDone, this._contentDispositionFilename); - } - getRangeReader(begin, end) { - if (end <= this._progressiveDataLength) { - return null; - } - const reader = new PDFDataTransportStreamRangeReader(this, begin, end); - this._pdfDataRangeTransport.requestDataRange(begin, end); - this._rangeReaders.push(reader); - return reader; - } - cancelAllRequests(reason) { - this._fullRequestReader?.cancel(reason); - for (const reader of this._rangeReaders.slice(0)) { - reader.cancel(reason); - } - this._pdfDataRangeTransport.abort(); - } -} -class PDFDataTransportStreamReader { - constructor(stream, queuedChunks, progressiveDone = false, contentDispositionFilename = null) { - this._stream = stream; - this._done = progressiveDone || false; - this._filename = (0,_display_utils_js__WEBPACK_IMPORTED_MODULE_11__.isPdfFile)(contentDispositionFilename) ? contentDispositionFilename : null; - this._queuedChunks = queuedChunks || []; - this._loaded = 0; - for (const chunk of this._queuedChunks) { - this._loaded += chunk.byteLength; - } - this._requests = []; - this._headersReady = Promise.resolve(); - stream._fullRequestReader = this; - this.onProgress = null; - } - _enqueue(chunk) { - if (this._done) { - return; - } - if (this._requests.length > 0) { - const requestCapability = this._requests.shift(); - requestCapability.resolve({ - value: chunk, - done: false - }); - } else { - this._queuedChunks.push(chunk); - } - this._loaded += chunk.byteLength; - } - get headersReady() { - return this._headersReady; - } - get filename() { - return this._filename; - } - get isRangeSupported() { - return this._stream._isRangeSupported; - } - get isStreamingSupported() { - return this._stream._isStreamingSupported; - } - get contentLength() { - return this._stream._contentLength; - } - async read() { - if (this._queuedChunks.length > 0) { - const chunk = this._queuedChunks.shift(); - return { - value: chunk, - done: false - }; - } - if (this._done) { - return { - value: undefined, - done: true - }; - } - const requestCapability = Promise.withResolvers(); - this._requests.push(requestCapability); - return requestCapability.promise; - } - cancel(reason) { - this._done = true; - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - } - progressiveDone() { - if (this._done) { - return; - } - this._done = true; - } -} -class PDFDataTransportStreamRangeReader { - constructor(stream, begin, end) { - this._stream = stream; - this._begin = begin; - this._end = end; - this._queuedChunk = null; - this._requests = []; - this._done = false; - this.onProgress = null; - } - _enqueue(chunk) { - if (this._done) { - return; - } - if (this._requests.length === 0) { - this._queuedChunk = chunk; - } else { - const requestsCapability = this._requests.shift(); - requestsCapability.resolve({ - value: chunk, - done: false - }); - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - } - this._done = true; - this._stream._removeRangeReader(this); - } - get isStreamingSupported() { - return false; - } - async read() { - if (this._queuedChunk) { - const chunk = this._queuedChunk; - this._queuedChunk = null; - return { - value: chunk, - done: false - }; - } - if (this._done) { - return { - value: undefined, - done: true - }; - } - const requestCapability = Promise.withResolvers(); - this._requests.push(requestCapability); - return requestCapability.promise; - } - cancel(reason) { - this._done = true; - for (const requestCapability of this._requests) { - requestCapability.resolve({ - value: undefined, - done: true - }); - } - this._requests.length = 0; - this._stream._removeRangeReader(this); - } -} - - -/***/ }), - -/***/ 6164: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ GlobalWorkerOptions: () => (/* binding */ GlobalWorkerOptions) -/* harmony export */ }); -class GlobalWorkerOptions { - static #port = null; - static #src = ""; - static get workerPort() { - return this.#port; - } - static set workerPort(val) { - if (!(typeof Worker !== "undefined" && val instanceof Worker) && val !== null) { - throw new Error("Invalid `workerPort` type."); - } - this.#port = val; - } - static get workerSrc() { - return this.#src; - } - static set workerSrc(val) { - if (typeof val !== "string") { - throw new Error("Invalid `workerSrc` type."); - } - this.#src = val; - } -} - - -/***/ }), - -/***/ 8284: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ XfaLayer: () => (/* binding */ XfaLayer) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var _xfa_text_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2050); - - -class XfaLayer { - static setupStorage(html, id, element, storage, intent) { - const storedData = storage.getValue(id, { - value: null - }); - switch (element.name) { - case "textarea": - if (storedData.value !== null) { - html.textContent = storedData.value; - } - if (intent === "print") { - break; - } - html.addEventListener("input", event => { - storage.setValue(id, { - value: event.target.value - }); - }); - break; - case "input": - if (element.attributes.type === "radio" || element.attributes.type === "checkbox") { - if (storedData.value === element.attributes.xfaOn) { - html.setAttribute("checked", true); - } else if (storedData.value === element.attributes.xfaOff) { - html.removeAttribute("checked"); - } - if (intent === "print") { - break; - } - html.addEventListener("change", event => { - storage.setValue(id, { - value: event.target.checked ? event.target.getAttribute("xfaOn") : event.target.getAttribute("xfaOff") - }); - }); - } else { - if (storedData.value !== null) { - html.setAttribute("value", storedData.value); - } - if (intent === "print") { - break; - } - html.addEventListener("input", event => { - storage.setValue(id, { - value: event.target.value - }); - }); - } - break; - case "select": - if (storedData.value !== null) { - html.setAttribute("value", storedData.value); - for (const option of element.children) { - if (option.attributes.value === storedData.value) { - option.attributes.selected = true; - } else if (option.attributes.hasOwnProperty("selected")) { - delete option.attributes.selected; - } - } - } - html.addEventListener("input", event => { - const options = event.target.options; - const value = options.selectedIndex === -1 ? "" : options[options.selectedIndex].value; - storage.setValue(id, { - value - }); - }); - break; - } - } - static setAttributes({ - html, - element, - storage = null, - intent, - linkService - }) { - const { - attributes - } = element; - const isHTMLAnchorElement = html instanceof HTMLAnchorElement; - if (attributes.type === "radio") { - attributes.name = `${attributes.name}-${intent}`; - } - for (const [key, value] of Object.entries(attributes)) { - if (value === null || value === undefined) { - continue; - } - switch (key) { - case "class": - if (value.length) { - html.setAttribute(key, value.join(" ")); - } - break; - case "dataId": - break; - case "id": - html.setAttribute("data-element-id", value); - break; - case "style": - Object.assign(html.style, value); - break; - case "textContent": - html.textContent = value; - break; - default: - if (!isHTMLAnchorElement || key !== "href" && key !== "newWindow") { - html.setAttribute(key, value); - } - } - } - if (isHTMLAnchorElement) { - linkService.addLinkAttributes(html, attributes.href, attributes.newWindow); - } - if (storage && attributes.dataId) { - this.setupStorage(html, attributes.dataId, element, storage); - } - } - static render(parameters) { - const storage = parameters.annotationStorage; - const linkService = parameters.linkService; - const root = parameters.xfaHtml; - const intent = parameters.intent || "display"; - const rootHtml = document.createElement(root.name); - if (root.attributes) { - this.setAttributes({ - html: rootHtml, - element: root, - intent, - linkService - }); - } - const isNotForRichText = intent !== "richText"; - const rootDiv = parameters.div; - rootDiv.append(rootHtml); - if (parameters.viewport) { - const transform = `matrix(${parameters.viewport.transform.join(",")})`; - rootDiv.style.transform = transform; - } - if (isNotForRichText) { - rootDiv.setAttribute("class", "xfaLayer xfaFont"); - } - const textDivs = []; - if (root.children.length === 0) { - if (root.value) { - const node = document.createTextNode(root.value); - rootHtml.append(node); - if (isNotForRichText && _xfa_text_js__WEBPACK_IMPORTED_MODULE_1__.XfaText.shouldBuildText(root.name)) { - textDivs.push(node); - } - } - return { - textDivs - }; - } - const stack = [[root, -1, rootHtml]]; - while (stack.length > 0) { - const [parent, i, html] = stack.at(-1); - if (i + 1 === parent.children.length) { - stack.pop(); - continue; - } - const child = parent.children[++stack.at(-1)[1]]; - if (child === null) { - continue; - } - const { - name - } = child; - if (name === "#text") { - const node = document.createTextNode(child.value); - textDivs.push(node); - html.append(node); - continue; - } - const childHtml = child?.attributes?.xmlns ? document.createElementNS(child.attributes.xmlns, name) : document.createElement(name); - html.append(childHtml); - if (child.attributes) { - this.setAttributes({ - html: childHtml, - element: child, - storage, - intent, - linkService - }); - } - if (child.children?.length > 0) { - stack.push([child, -1, childHtml]); - } else if (child.value) { - const node = document.createTextNode(child.value); - if (isNotForRichText && _xfa_text_js__WEBPACK_IMPORTED_MODULE_1__.XfaText.shouldBuildText(name)) { - textDivs.push(node); - } - childHtml.append(node); - } - } - for (const el of rootDiv.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea")) { - el.setAttribute("readOnly", true); - } - return { - textDivs - }; - } - static update(parameters) { - const transform = `matrix(${parameters.viewport.transform.join(",")})`; - parameters.div.style.transform = transform; - parameters.div.hidden = false; - } -} - - -/***/ }), - -/***/ 2050: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ XfaText: () => (/* binding */ XfaText) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); - -class XfaText { - static textContent(xfa) { - const items = []; - const output = { - items, - styles: Object.create(null) - }; - function walk(node) { - if (!node) { - return; - } - let str = null; - const name = node.name; - if (name === "#text") { - str = node.value; - } else if (!XfaText.shouldBuildText(name)) { - return; - } else if (node?.attributes?.textContent) { - str = node.attributes.textContent; - } else if (node.value) { - str = node.value; - } - if (str !== null) { - items.push({ - str - }); - } - if (!node.children) { - return; - } - for (const child of node.children) { - walk(child); - } - } - walk(xfa); - return output; - } - static shouldBuildText(name) { - return !(name === "textarea" || name === "input" || name === "option" || name === "select"); - } -} - - -/***/ }), - -/***/ 1228: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AbortException: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AbortException), -/* harmony export */ AnnotationEditorLayer: () => (/* reexport safe */ _display_editor_annotation_editor_layer_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationEditorLayer), -/* harmony export */ AnnotationEditorParamsType: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType), -/* harmony export */ AnnotationEditorType: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType), -/* harmony export */ AnnotationEditorUIManager: () => (/* reexport safe */ _display_editor_tools_js__WEBPACK_IMPORTED_MODULE_5__.AnnotationEditorUIManager), -/* harmony export */ AnnotationLayer: () => (/* reexport safe */ _display_annotation_layer_js__WEBPACK_IMPORTED_MODULE_6__.AnnotationLayer), -/* harmony export */ AnnotationMode: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.AnnotationMode), -/* harmony export */ CMapCompressionType: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.CMapCompressionType), -/* harmony export */ ColorPicker: () => (/* reexport safe */ _display_editor_color_picker_js__WEBPACK_IMPORTED_MODULE_7__.ColorPicker), -/* harmony export */ DOMSVGFactory: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.DOMSVGFactory), -/* harmony export */ DrawLayer: () => (/* reexport safe */ _display_draw_layer_js__WEBPACK_IMPORTED_MODULE_8__.DrawLayer), -/* harmony export */ FeatureTest: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.FeatureTest), -/* harmony export */ GlobalWorkerOptions: () => (/* reexport safe */ _display_worker_options_js__WEBPACK_IMPORTED_MODULE_11__.GlobalWorkerOptions), -/* harmony export */ ImageKind: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.ImageKind), -/* harmony export */ InvalidPDFException: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.InvalidPDFException), -/* harmony export */ MissingPDFException: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.MissingPDFException), -/* harmony export */ OPS: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.OPS), -/* harmony export */ Outliner: () => (/* reexport safe */ _display_editor_outliner_js__WEBPACK_IMPORTED_MODULE_9__.Outliner), -/* harmony export */ PDFDataRangeTransport: () => (/* reexport safe */ _display_api_js__WEBPACK_IMPORTED_MODULE_1__.PDFDataRangeTransport), -/* harmony export */ PDFDateString: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.PDFDateString), -/* harmony export */ PDFWorker: () => (/* reexport safe */ _display_api_js__WEBPACK_IMPORTED_MODULE_1__.PDFWorker), -/* harmony export */ PasswordResponses: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.PasswordResponses), -/* harmony export */ PermissionFlag: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.PermissionFlag), -/* harmony export */ PixelsPerInch: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.PixelsPerInch), -/* harmony export */ RenderingCancelledException: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingCancelledException), -/* harmony export */ UnexpectedResponseException: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.UnexpectedResponseException), -/* harmony export */ Util: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.Util), -/* harmony export */ VerbosityLevel: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.VerbosityLevel), -/* harmony export */ XfaLayer: () => (/* reexport safe */ _display_xfa_layer_js__WEBPACK_IMPORTED_MODULE_10__.XfaLayer), -/* harmony export */ build: () => (/* reexport safe */ _display_api_js__WEBPACK_IMPORTED_MODULE_1__.build), -/* harmony export */ createValidAbsoluteUrl: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.createValidAbsoluteUrl), -/* harmony export */ fetchData: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.fetchData), -/* harmony export */ getDocument: () => (/* reexport safe */ _display_api_js__WEBPACK_IMPORTED_MODULE_1__.getDocument), -/* harmony export */ getFilenameFromUrl: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.getFilenameFromUrl), -/* harmony export */ getPdfFilenameFromUrl: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.getPdfFilenameFromUrl), -/* harmony export */ getXfaPageViewport: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.getXfaPageViewport), -/* harmony export */ isDataScheme: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.isDataScheme), -/* harmony export */ isPdfFile: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.isPdfFile), -/* harmony export */ noContextMenu: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.noContextMenu), -/* harmony export */ normalizeUnicode: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.normalizeUnicode), -/* harmony export */ renderTextLayer: () => (/* reexport safe */ _display_text_layer_js__WEBPACK_IMPORTED_MODULE_3__.renderTextLayer), -/* harmony export */ setLayerDimensions: () => (/* reexport safe */ _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__.setLayerDimensions), -/* harmony export */ shadow: () => (/* reexport safe */ _shared_util_js__WEBPACK_IMPORTED_MODULE_0__.shadow), -/* harmony export */ updateTextLayer: () => (/* reexport safe */ _display_text_layer_js__WEBPACK_IMPORTED_MODULE_3__.updateTextLayer), -/* harmony export */ version: () => (/* reexport safe */ _display_api_js__WEBPACK_IMPORTED_MODULE_1__.version) -/* harmony export */ }); -/* harmony import */ var _shared_util_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4292); -/* harmony import */ var _display_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3831); -/* harmony import */ var _display_display_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5419); -/* harmony import */ var _display_text_layer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6814); -/* harmony import */ var _display_editor_annotation_editor_layer_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9731); -/* harmony import */ var _display_editor_tools_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7830); -/* harmony import */ var _display_annotation_layer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(6976); -/* harmony import */ var _display_editor_color_picker_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2259); -/* harmony import */ var _display_draw_layer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4047); -/* harmony import */ var _display_worker_options_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6164); -/* harmony import */ var _display_editor_outliner_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(4061); -/* harmony import */ var _display_xfa_layer_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8284); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_display_api_js__WEBPACK_IMPORTED_MODULE_1__]); -_display_api_js__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - - - - - - - - - -const pdfjsVersion = "4.2.67"; -const pdfjsBuild = "49b388101"; - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 5178: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ MessageHandler: () => (/* binding */ MessageHandler) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4628); -/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4292); - - -const CallbackKind = { - UNKNOWN: 0, - DATA: 1, - ERROR: 2 -}; -const StreamKind = { - UNKNOWN: 0, - CANCEL: 1, - CANCEL_COMPLETE: 2, - CLOSE: 3, - ENQUEUE: 4, - ERROR: 5, - PULL: 6, - PULL_COMPLETE: 7, - START_COMPLETE: 8 -}; -function wrapReason(reason) { - if (!(reason instanceof Error || typeof reason === "object" && reason !== null)) { - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'); - } - switch (reason.name) { - case "AbortException": - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.AbortException(reason.message); - case "MissingPDFException": - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.MissingPDFException(reason.message); - case "PasswordException": - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.PasswordException(reason.message, reason.code); - case "UnexpectedResponseException": - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.UnexpectedResponseException(reason.message, reason.status); - case "UnknownErrorException": - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.UnknownErrorException(reason.message, reason.details); - default: - return new _util_js__WEBPACK_IMPORTED_MODULE_1__.UnknownErrorException(reason.message, reason.toString()); - } -} -class MessageHandler { - constructor(sourceName, targetName, comObj) { - this.sourceName = sourceName; - this.targetName = targetName; - this.comObj = comObj; - this.callbackId = 1; - this.streamId = 1; - this.streamSinks = Object.create(null); - this.streamControllers = Object.create(null); - this.callbackCapabilities = Object.create(null); - this.actionHandler = Object.create(null); - this._onComObjOnMessage = event => { - const data = event.data; - if (data.targetName !== this.sourceName) { - return; - } - if (data.stream) { - this.#processStreamMessage(data); - return; - } - if (data.callback) { - const callbackId = data.callbackId; - const capability = this.callbackCapabilities[callbackId]; - if (!capability) { - throw new Error(`Cannot resolve callback ${callbackId}`); - } - delete this.callbackCapabilities[callbackId]; - if (data.callback === CallbackKind.DATA) { - capability.resolve(data.data); - } else if (data.callback === CallbackKind.ERROR) { - capability.reject(wrapReason(data.reason)); - } else { - throw new Error("Unexpected callback case"); - } - return; - } - const action = this.actionHandler[data.action]; - if (!action) { - throw new Error(`Unknown action from worker: ${data.action}`); - } - if (data.callbackId) { - const cbSourceName = this.sourceName; - const cbTargetName = data.sourceName; - new Promise(function (resolve) { - resolve(action(data.data)); - }).then(function (result) { - comObj.postMessage({ - sourceName: cbSourceName, - targetName: cbTargetName, - callback: CallbackKind.DATA, - callbackId: data.callbackId, - data: result - }); - }, function (reason) { - comObj.postMessage({ - sourceName: cbSourceName, - targetName: cbTargetName, - callback: CallbackKind.ERROR, - callbackId: data.callbackId, - reason: wrapReason(reason) - }); - }); - return; - } - if (data.streamId) { - this.#createStreamSink(data); - return; - } - action(data.data); - }; - comObj.addEventListener("message", this._onComObjOnMessage); - } - on(actionName, handler) { - const ah = this.actionHandler; - if (ah[actionName]) { - throw new Error(`There is already an actionName called "${actionName}"`); - } - ah[actionName] = handler; - } - send(actionName, data, transfers) { - this.comObj.postMessage({ - sourceName: this.sourceName, - targetName: this.targetName, - action: actionName, - data - }, transfers); - } - sendWithPromise(actionName, data, transfers) { - const callbackId = this.callbackId++; - const capability = Promise.withResolvers(); - this.callbackCapabilities[callbackId] = capability; - try { - this.comObj.postMessage({ - sourceName: this.sourceName, - targetName: this.targetName, - action: actionName, - callbackId, - data - }, transfers); - } catch (ex) { - capability.reject(ex); - } - return capability.promise; - } - sendWithStream(actionName, data, queueingStrategy, transfers) { - const streamId = this.streamId++, - sourceName = this.sourceName, - targetName = this.targetName, - comObj = this.comObj; - return new ReadableStream({ - start: controller => { - const startCapability = Promise.withResolvers(); - this.streamControllers[streamId] = { - controller, - startCall: startCapability, - pullCall: null, - cancelCall: null, - isClosed: false - }; - comObj.postMessage({ - sourceName, - targetName, - action: actionName, - streamId, - data, - desiredSize: controller.desiredSize - }, transfers); - return startCapability.promise; - }, - pull: controller => { - const pullCapability = Promise.withResolvers(); - this.streamControllers[streamId].pullCall = pullCapability; - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.PULL, - streamId, - desiredSize: controller.desiredSize - }); - return pullCapability.promise; - }, - cancel: reason => { - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.assert)(reason instanceof Error, "cancel must have a valid reason"); - const cancelCapability = Promise.withResolvers(); - this.streamControllers[streamId].cancelCall = cancelCapability; - this.streamControllers[streamId].isClosed = true; - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.CANCEL, - streamId, - reason: wrapReason(reason) - }); - return cancelCapability.promise; - } - }, queueingStrategy); - } - #createStreamSink(data) { - const streamId = data.streamId, - sourceName = this.sourceName, - targetName = data.sourceName, - comObj = this.comObj; - const self = this, - action = this.actionHandler[data.action]; - const streamSink = { - enqueue(chunk, size = 1, transfers) { - if (this.isCancelled) { - return; - } - const lastDesiredSize = this.desiredSize; - this.desiredSize -= size; - if (lastDesiredSize > 0 && this.desiredSize <= 0) { - this.sinkCapability = Promise.withResolvers(); - this.ready = this.sinkCapability.promise; - } - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.ENQUEUE, - streamId, - chunk - }, transfers); - }, - close() { - if (this.isCancelled) { - return; - } - this.isCancelled = true; - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.CLOSE, - streamId - }); - delete self.streamSinks[streamId]; - }, - error(reason) { - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.assert)(reason instanceof Error, "error must have a valid reason"); - if (this.isCancelled) { - return; - } - this.isCancelled = true; - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.ERROR, - streamId, - reason: wrapReason(reason) - }); - }, - sinkCapability: Promise.withResolvers(), - onPull: null, - onCancel: null, - isCancelled: false, - desiredSize: data.desiredSize, - ready: null - }; - streamSink.sinkCapability.resolve(); - streamSink.ready = streamSink.sinkCapability.promise; - this.streamSinks[streamId] = streamSink; - new Promise(function (resolve) { - resolve(action(data.data, streamSink)); - }).then(function () { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.START_COMPLETE, - streamId, - success: true - }); - }, function (reason) { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.START_COMPLETE, - streamId, - reason: wrapReason(reason) - }); - }); - } - #processStreamMessage(data) { - const streamId = data.streamId, - sourceName = this.sourceName, - targetName = data.sourceName, - comObj = this.comObj; - const streamController = this.streamControllers[streamId], - streamSink = this.streamSinks[streamId]; - switch (data.stream) { - case StreamKind.START_COMPLETE: - if (data.success) { - streamController.startCall.resolve(); - } else { - streamController.startCall.reject(wrapReason(data.reason)); - } - break; - case StreamKind.PULL_COMPLETE: - if (data.success) { - streamController.pullCall.resolve(); - } else { - streamController.pullCall.reject(wrapReason(data.reason)); - } - break; - case StreamKind.PULL: - if (!streamSink) { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.PULL_COMPLETE, - streamId, - success: true - }); - break; - } - if (streamSink.desiredSize <= 0 && data.desiredSize > 0) { - streamSink.sinkCapability.resolve(); - } - streamSink.desiredSize = data.desiredSize; - new Promise(function (resolve) { - resolve(streamSink.onPull?.()); - }).then(function () { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.PULL_COMPLETE, - streamId, - success: true - }); - }, function (reason) { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.PULL_COMPLETE, - streamId, - reason: wrapReason(reason) - }); - }); - break; - case StreamKind.ENQUEUE: - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.assert)(streamController, "enqueue should have stream controller"); - if (streamController.isClosed) { - break; - } - streamController.controller.enqueue(data.chunk); - break; - case StreamKind.CLOSE: - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.assert)(streamController, "close should have stream controller"); - if (streamController.isClosed) { - break; - } - streamController.isClosed = true; - streamController.controller.close(); - this.#deleteStreamController(streamController, streamId); - break; - case StreamKind.ERROR: - (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.assert)(streamController, "error should have stream controller"); - streamController.controller.error(wrapReason(data.reason)); - this.#deleteStreamController(streamController, streamId); - break; - case StreamKind.CANCEL_COMPLETE: - if (data.success) { - streamController.cancelCall.resolve(); - } else { - streamController.cancelCall.reject(wrapReason(data.reason)); - } - this.#deleteStreamController(streamController, streamId); - break; - case StreamKind.CANCEL: - if (!streamSink) { - break; - } - new Promise(function (resolve) { - resolve(streamSink.onCancel?.(wrapReason(data.reason))); - }).then(function () { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.CANCEL_COMPLETE, - streamId, - success: true - }); - }, function (reason) { - comObj.postMessage({ - sourceName, - targetName, - stream: StreamKind.CANCEL_COMPLETE, - streamId, - reason: wrapReason(reason) - }); - }); - streamSink.sinkCapability.reject(wrapReason(data.reason)); - streamSink.isCancelled = true; - delete this.streamSinks[streamId]; - break; - default: - throw new Error("Unexpected stream case"); - } - } - async #deleteStreamController(streamController, streamId) { - await Promise.allSettled([streamController.startCall?.promise, streamController.pullCall?.promise, streamController.cancelCall?.promise]); - delete this.streamControllers[streamId]; - } - destroy() { - this.comObj.removeEventListener("message", this._onComObjOnMessage); - } -} - - -/***/ }), - -/***/ 7651: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ MurmurHash3_64: () => (/* binding */ MurmurHash3_64) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9577); - - - - - - -const SEED = 0xc3d2e1f0; -const MASK_HIGH = 0xffff0000; -const MASK_LOW = 0xffff; -class MurmurHash3_64 { - constructor(seed) { - this.h1 = seed ? seed & 0xffffffff : SEED; - this.h2 = seed ? seed & 0xffffffff : SEED; - } - update(input) { - let data, length; - if (typeof input === "string") { - data = new Uint8Array(input.length * 2); - length = 0; - for (let i = 0, ii = input.length; i < ii; i++) { - const code = input.charCodeAt(i); - if (code <= 0xff) { - data[length++] = code; - } else { - data[length++] = code >>> 8; - data[length++] = code & 0xff; - } - } - } else if (ArrayBuffer.isView(input)) { - data = input.slice(); - length = data.byteLength; - } else { - throw new Error("Invalid data format, must be a string or TypedArray."); - } - const blockCounts = length >> 2; - const tailLength = length - blockCounts * 4; - const dataUint32 = new Uint32Array(data.buffer, 0, blockCounts); - let k1 = 0, - k2 = 0; - let h1 = this.h1, - h2 = this.h2; - const C1 = 0xcc9e2d51, - C2 = 0x1b873593; - const C1_LOW = C1 & MASK_LOW, - C2_LOW = C2 & MASK_LOW; - for (let i = 0; i < blockCounts; i++) { - if (i & 1) { - k1 = dataUint32[i]; - k1 = k1 * C1 & MASK_HIGH | k1 * C1_LOW & MASK_LOW; - k1 = k1 << 15 | k1 >>> 17; - k1 = k1 * C2 & MASK_HIGH | k1 * C2_LOW & MASK_LOW; - h1 ^= k1; - h1 = h1 << 13 | h1 >>> 19; - h1 = h1 * 5 + 0xe6546b64; - } else { - k2 = dataUint32[i]; - k2 = k2 * C1 & MASK_HIGH | k2 * C1_LOW & MASK_LOW; - k2 = k2 << 15 | k2 >>> 17; - k2 = k2 * C2 & MASK_HIGH | k2 * C2_LOW & MASK_LOW; - h2 ^= k2; - h2 = h2 << 13 | h2 >>> 19; - h2 = h2 * 5 + 0xe6546b64; - } - } - k1 = 0; - switch (tailLength) { - case 3: - k1 ^= data[blockCounts * 4 + 2] << 16; - case 2: - k1 ^= data[blockCounts * 4 + 1] << 8; - case 1: - k1 ^= data[blockCounts * 4]; - k1 = k1 * C1 & MASK_HIGH | k1 * C1_LOW & MASK_LOW; - k1 = k1 << 15 | k1 >>> 17; - k1 = k1 * C2 & MASK_HIGH | k1 * C2_LOW & MASK_LOW; - if (blockCounts & 1) { - h1 ^= k1; - } else { - h2 ^= k1; - } - } - this.h1 = h1; - this.h2 = h2; - } - hexdigest() { - let h1 = this.h1, - h2 = this.h2; - h1 ^= h2 >>> 1; - h1 = h1 * 0xed558ccd & MASK_HIGH | h1 * 0x8ccd & MASK_LOW; - h2 = h2 * 0xff51afd7 & MASK_HIGH | ((h2 << 16 | h1 >>> 16) * 0xafd7ed55 & MASK_HIGH) >>> 16; - h1 ^= h2 >>> 1; - h1 = h1 * 0x1a85ec53 & MASK_HIGH | h1 * 0xec53 & MASK_LOW; - h2 = h2 * 0xc4ceb9fe & MASK_HIGH | ((h2 << 16 | h1 >>> 16) * 0xb9fe1a85 & MASK_HIGH) >>> 16; - h1 ^= h2 >>> 1; - return (h1 >>> 0).toString(16).padStart(8, "0") + (h2 >>> 0).toString(16).padStart(8, "0"); - } -} - - -/***/ }), - -/***/ 4292: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AbortException: () => (/* binding */ AbortException), -/* harmony export */ AnnotationBorderStyleType: () => (/* binding */ AnnotationBorderStyleType), -/* harmony export */ AnnotationEditorParamsType: () => (/* binding */ AnnotationEditorParamsType), -/* harmony export */ AnnotationEditorPrefix: () => (/* binding */ AnnotationEditorPrefix), -/* harmony export */ AnnotationEditorType: () => (/* binding */ AnnotationEditorType), -/* harmony export */ AnnotationMode: () => (/* binding */ AnnotationMode), -/* harmony export */ AnnotationPrefix: () => (/* binding */ AnnotationPrefix), -/* harmony export */ AnnotationType: () => (/* binding */ AnnotationType), -/* harmony export */ BaseException: () => (/* binding */ BaseException), -/* harmony export */ CMapCompressionType: () => (/* binding */ CMapCompressionType), -/* harmony export */ FONT_IDENTITY_MATRIX: () => (/* binding */ FONT_IDENTITY_MATRIX), -/* harmony export */ FeatureTest: () => (/* binding */ FeatureTest), -/* harmony export */ FontRenderOps: () => (/* binding */ FontRenderOps), -/* harmony export */ FormatError: () => (/* binding */ FormatError), -/* harmony export */ IDENTITY_MATRIX: () => (/* binding */ IDENTITY_MATRIX), -/* harmony export */ ImageKind: () => (/* binding */ ImageKind), -/* harmony export */ InvalidPDFException: () => (/* binding */ InvalidPDFException), -/* harmony export */ LINE_FACTOR: () => (/* binding */ LINE_FACTOR), -/* harmony export */ MAX_IMAGE_SIZE_TO_CACHE: () => (/* binding */ MAX_IMAGE_SIZE_TO_CACHE), -/* harmony export */ MissingPDFException: () => (/* binding */ MissingPDFException), -/* harmony export */ OPS: () => (/* binding */ OPS), -/* harmony export */ PasswordException: () => (/* binding */ PasswordException), -/* harmony export */ PasswordResponses: () => (/* binding */ PasswordResponses), -/* harmony export */ PermissionFlag: () => (/* binding */ PermissionFlag), -/* harmony export */ RenderingIntentFlag: () => (/* binding */ RenderingIntentFlag), -/* harmony export */ TextRenderingMode: () => (/* binding */ TextRenderingMode), -/* harmony export */ UnexpectedResponseException: () => (/* binding */ UnexpectedResponseException), -/* harmony export */ UnknownErrorException: () => (/* binding */ UnknownErrorException), -/* harmony export */ Util: () => (/* binding */ Util), -/* harmony export */ VerbosityLevel: () => (/* binding */ VerbosityLevel), -/* harmony export */ assert: () => (/* binding */ assert), -/* harmony export */ bytesToString: () => (/* binding */ bytesToString), -/* harmony export */ createValidAbsoluteUrl: () => (/* binding */ createValidAbsoluteUrl), -/* harmony export */ getUuid: () => (/* binding */ getUuid), -/* harmony export */ getVerbosityLevel: () => (/* binding */ getVerbosityLevel), -/* harmony export */ info: () => (/* binding */ info), -/* harmony export */ isNodeJS: () => (/* binding */ isNodeJS), -/* harmony export */ normalizeUnicode: () => (/* binding */ normalizeUnicode), -/* harmony export */ objectFromMap: () => (/* binding */ objectFromMap), -/* harmony export */ setVerbosityLevel: () => (/* binding */ setVerbosityLevel), -/* harmony export */ shadow: () => (/* binding */ shadow), -/* harmony export */ string32: () => (/* binding */ string32), -/* harmony export */ stringToBytes: () => (/* binding */ stringToBytes), -/* harmony export */ unreachable: () => (/* binding */ unreachable), -/* harmony export */ warn: () => (/* binding */ warn) -/* harmony export */ }); -/* unused harmony exports AnnotationActionEventType, AnnotationFieldFlag, AnnotationFlag, AnnotationReplyType, BASELINE_FACTOR, DocumentActionEventType, getModificationDate, isArrayEqual, LINE_DESCENT_FACTOR, objectSize, PageActionEventType, stringToPDFString, stringToUTF8String, utf8StringToString */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_array_buffer_detached_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6573); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8100); -/* harmony import */ var core_js_modules_es_array_buffer_transfer_to_fixed_length_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7936); -/* harmony import */ var core_js_modules_es_typed_array_to_reversed_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7467); -/* harmony import */ var core_js_modules_es_typed_array_to_sorted_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4732); -/* harmony import */ var core_js_modules_es_typed_array_with_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9577); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8721); - - - - - - - - - - -const isNodeJS = typeof process === "object" && process + "" === "[object process]" && !process.versions.nw && !(process.versions.electron && process.type && process.type !== "browser"); -const IDENTITY_MATRIX = [1, 0, 0, 1, 0, 0]; -const FONT_IDENTITY_MATRIX = [0.001, 0, 0, 0.001, 0, 0]; -const MAX_IMAGE_SIZE_TO_CACHE = 10e6; -const LINE_FACTOR = 1.35; -const LINE_DESCENT_FACTOR = 0.35; -const BASELINE_FACTOR = LINE_DESCENT_FACTOR / LINE_FACTOR; -const RenderingIntentFlag = { - ANY: 0x01, - DISPLAY: 0x02, - PRINT: 0x04, - SAVE: 0x08, - ANNOTATIONS_FORMS: 0x10, - ANNOTATIONS_STORAGE: 0x20, - ANNOTATIONS_DISABLE: 0x40, - OPLIST: 0x100 -}; -const AnnotationMode = { - DISABLE: 0, - ENABLE: 1, - ENABLE_FORMS: 2, - ENABLE_STORAGE: 3 -}; -const AnnotationEditorPrefix = "pdfjs_internal_editor_"; -const AnnotationEditorType = { - DISABLE: -1, - NONE: 0, - FREETEXT: 3, - HIGHLIGHT: 9, - STAMP: 13, - INK: 15 -}; -const AnnotationEditorParamsType = { - RESIZE: 1, - CREATE: 2, - FREETEXT_SIZE: 11, - FREETEXT_COLOR: 12, - FREETEXT_OPACITY: 13, - INK_COLOR: 21, - INK_THICKNESS: 22, - INK_OPACITY: 23, - HIGHLIGHT_COLOR: 31, - HIGHLIGHT_DEFAULT_COLOR: 32, - HIGHLIGHT_THICKNESS: 33, - HIGHLIGHT_FREE: 34, - HIGHLIGHT_SHOW_ALL: 35 -}; -const PermissionFlag = { - PRINT: 0x04, - MODIFY_CONTENTS: 0x08, - COPY: 0x10, - MODIFY_ANNOTATIONS: 0x20, - FILL_INTERACTIVE_FORMS: 0x100, - COPY_FOR_ACCESSIBILITY: 0x200, - ASSEMBLE: 0x400, - PRINT_HIGH_QUALITY: 0x800 -}; -const TextRenderingMode = { - FILL: 0, - STROKE: 1, - FILL_STROKE: 2, - INVISIBLE: 3, - FILL_ADD_TO_PATH: 4, - STROKE_ADD_TO_PATH: 5, - FILL_STROKE_ADD_TO_PATH: 6, - ADD_TO_PATH: 7, - FILL_STROKE_MASK: 3, - ADD_TO_PATH_FLAG: 4 -}; -const ImageKind = { - GRAYSCALE_1BPP: 1, - RGB_24BPP: 2, - RGBA_32BPP: 3 -}; -const AnnotationType = { - TEXT: 1, - LINK: 2, - FREETEXT: 3, - LINE: 4, - SQUARE: 5, - CIRCLE: 6, - POLYGON: 7, - POLYLINE: 8, - HIGHLIGHT: 9, - UNDERLINE: 10, - SQUIGGLY: 11, - STRIKEOUT: 12, - STAMP: 13, - CARET: 14, - INK: 15, - POPUP: 16, - FILEATTACHMENT: 17, - SOUND: 18, - MOVIE: 19, - WIDGET: 20, - SCREEN: 21, - PRINTERMARK: 22, - TRAPNET: 23, - WATERMARK: 24, - THREED: 25, - REDACT: 26 -}; -const AnnotationReplyType = { - GROUP: "Group", - REPLY: "R" -}; -const AnnotationFlag = { - INVISIBLE: 0x01, - HIDDEN: 0x02, - PRINT: 0x04, - NOZOOM: 0x08, - NOROTATE: 0x10, - NOVIEW: 0x20, - READONLY: 0x40, - LOCKED: 0x80, - TOGGLENOVIEW: 0x100, - LOCKEDCONTENTS: 0x200 -}; -const AnnotationFieldFlag = { - READONLY: 0x0000001, - REQUIRED: 0x0000002, - NOEXPORT: 0x0000004, - MULTILINE: 0x0001000, - PASSWORD: 0x0002000, - NOTOGGLETOOFF: 0x0004000, - RADIO: 0x0008000, - PUSHBUTTON: 0x0010000, - COMBO: 0x0020000, - EDIT: 0x0040000, - SORT: 0x0080000, - FILESELECT: 0x0100000, - MULTISELECT: 0x0200000, - DONOTSPELLCHECK: 0x0400000, - DONOTSCROLL: 0x0800000, - COMB: 0x1000000, - RICHTEXT: 0x2000000, - RADIOSINUNISON: 0x2000000, - COMMITONSELCHANGE: 0x4000000 -}; -const AnnotationBorderStyleType = { - SOLID: 1, - DASHED: 2, - BEVELED: 3, - INSET: 4, - UNDERLINE: 5 -}; -const AnnotationActionEventType = { - E: "Mouse Enter", - X: "Mouse Exit", - D: "Mouse Down", - U: "Mouse Up", - Fo: "Focus", - Bl: "Blur", - PO: "PageOpen", - PC: "PageClose", - PV: "PageVisible", - PI: "PageInvisible", - K: "Keystroke", - F: "Format", - V: "Validate", - C: "Calculate" -}; -const DocumentActionEventType = { - WC: "WillClose", - WS: "WillSave", - DS: "DidSave", - WP: "WillPrint", - DP: "DidPrint" -}; -const PageActionEventType = { - O: "PageOpen", - C: "PageClose" -}; -const VerbosityLevel = { - ERRORS: 0, - WARNINGS: 1, - INFOS: 5 -}; -const CMapCompressionType = { - NONE: 0, - BINARY: 1 -}; -const OPS = { - dependency: 1, - setLineWidth: 2, - setLineCap: 3, - setLineJoin: 4, - setMiterLimit: 5, - setDash: 6, - setRenderingIntent: 7, - setFlatness: 8, - setGState: 9, - save: 10, - restore: 11, - transform: 12, - moveTo: 13, - lineTo: 14, - curveTo: 15, - curveTo2: 16, - curveTo3: 17, - closePath: 18, - rectangle: 19, - stroke: 20, - closeStroke: 21, - fill: 22, - eoFill: 23, - fillStroke: 24, - eoFillStroke: 25, - closeFillStroke: 26, - closeEOFillStroke: 27, - endPath: 28, - clip: 29, - eoClip: 30, - beginText: 31, - endText: 32, - setCharSpacing: 33, - setWordSpacing: 34, - setHScale: 35, - setLeading: 36, - setFont: 37, - setTextRenderingMode: 38, - setTextRise: 39, - moveText: 40, - setLeadingMoveText: 41, - setTextMatrix: 42, - nextLine: 43, - showText: 44, - showSpacedText: 45, - nextLineShowText: 46, - nextLineSetSpacingShowText: 47, - setCharWidth: 48, - setCharWidthAndBounds: 49, - setStrokeColorSpace: 50, - setFillColorSpace: 51, - setStrokeColor: 52, - setStrokeColorN: 53, - setFillColor: 54, - setFillColorN: 55, - setStrokeGray: 56, - setFillGray: 57, - setStrokeRGBColor: 58, - setFillRGBColor: 59, - setStrokeCMYKColor: 60, - setFillCMYKColor: 61, - shadingFill: 62, - beginInlineImage: 63, - beginImageData: 64, - endInlineImage: 65, - paintXObject: 66, - markPoint: 67, - markPointProps: 68, - beginMarkedContent: 69, - beginMarkedContentProps: 70, - endMarkedContent: 71, - beginCompat: 72, - endCompat: 73, - paintFormXObjectBegin: 74, - paintFormXObjectEnd: 75, - beginGroup: 76, - endGroup: 77, - beginAnnotation: 80, - endAnnotation: 81, - paintImageMaskXObject: 83, - paintImageMaskXObjectGroup: 84, - paintImageXObject: 85, - paintInlineImageXObject: 86, - paintInlineImageXObjectGroup: 87, - paintImageXObjectRepeat: 88, - paintImageMaskXObjectRepeat: 89, - paintSolidColorImageMask: 90, - constructPath: 91 -}; -const PasswordResponses = { - NEED_PASSWORD: 1, - INCORRECT_PASSWORD: 2 -}; -let verbosity = VerbosityLevel.WARNINGS; -function setVerbosityLevel(level) { - if (Number.isInteger(level)) { - verbosity = level; - } -} -function getVerbosityLevel() { - return verbosity; -} -function info(msg) { - if (verbosity >= VerbosityLevel.INFOS) { - console.log(`Info: ${msg}`); - } -} -function warn(msg) { - if (verbosity >= VerbosityLevel.WARNINGS) { - console.log(`Warning: ${msg}`); - } -} -function unreachable(msg) { - throw new Error(msg); -} -function assert(cond, msg) { - if (!cond) { - unreachable(msg); - } -} -function _isValidProtocol(url) { - switch (url?.protocol) { - case "http:": - case "https:": - case "ftp:": - case "mailto:": - case "tel:": - return true; - default: - return false; - } -} -function createValidAbsoluteUrl(url, baseUrl = null, options = null) { - if (!url) { - return null; - } - try { - if (options && typeof url === "string") { - if (options.addDefaultProtocol && url.startsWith("www.")) { - const dots = url.match(/\./g); - if (dots?.length >= 2) { - url = `http://${url}`; - } - } - if (options.tryConvertEncoding) { - try { - url = stringToUTF8String(url); - } catch {} - } - } - const absoluteUrl = baseUrl ? new URL(url, baseUrl) : new URL(url); - if (_isValidProtocol(absoluteUrl)) { - return absoluteUrl; - } - } catch {} - return null; -} -function shadow(obj, prop, value, nonSerializable = false) { - Object.defineProperty(obj, prop, { - value, - enumerable: !nonSerializable, - configurable: true, - writable: false - }); - return value; -} -const BaseException = function BaseExceptionClosure() { - function BaseException(message, name) { - if (this.constructor === BaseException) { - unreachable("Cannot initialize BaseException."); - } - this.message = message; - this.name = name; - } - BaseException.prototype = new Error(); - BaseException.constructor = BaseException; - return BaseException; -}(); -class PasswordException extends BaseException { - constructor(msg, code) { - super(msg, "PasswordException"); - this.code = code; - } -} -class UnknownErrorException extends BaseException { - constructor(msg, details) { - super(msg, "UnknownErrorException"); - this.details = details; - } -} -class InvalidPDFException extends BaseException { - constructor(msg) { - super(msg, "InvalidPDFException"); - } -} -class MissingPDFException extends BaseException { - constructor(msg) { - super(msg, "MissingPDFException"); - } -} -class UnexpectedResponseException extends BaseException { - constructor(msg, status) { - super(msg, "UnexpectedResponseException"); - this.status = status; - } -} -class FormatError extends BaseException { - constructor(msg) { - super(msg, "FormatError"); - } -} -class AbortException extends BaseException { - constructor(msg) { - super(msg, "AbortException"); - } -} -function bytesToString(bytes) { - if (typeof bytes !== "object" || bytes?.length === undefined) { - unreachable("Invalid argument for bytesToString"); - } - const length = bytes.length; - const MAX_ARGUMENT_COUNT = 8192; - if (length < MAX_ARGUMENT_COUNT) { - return String.fromCharCode.apply(null, bytes); - } - const strBuf = []; - for (let i = 0; i < length; i += MAX_ARGUMENT_COUNT) { - const chunkEnd = Math.min(i + MAX_ARGUMENT_COUNT, length); - const chunk = bytes.subarray(i, chunkEnd); - strBuf.push(String.fromCharCode.apply(null, chunk)); - } - return strBuf.join(""); -} -function stringToBytes(str) { - if (typeof str !== "string") { - unreachable("Invalid argument for stringToBytes"); - } - const length = str.length; - const bytes = new Uint8Array(length); - for (let i = 0; i < length; ++i) { - bytes[i] = str.charCodeAt(i) & 0xff; - } - return bytes; -} -function string32(value) { - return String.fromCharCode(value >> 24 & 0xff, value >> 16 & 0xff, value >> 8 & 0xff, value & 0xff); -} -function objectSize(obj) { - return Object.keys(obj).length; -} -function objectFromMap(map) { - const obj = Object.create(null); - for (const [key, value] of map) { - obj[key] = value; - } - return obj; -} -function isLittleEndian() { - const buffer8 = new Uint8Array(4); - buffer8[0] = 1; - const view32 = new Uint32Array(buffer8.buffer, 0, 1); - return view32[0] === 1; -} -function isEvalSupported() { - try { - new Function(""); - return true; - } catch { - return false; - } -} -class FeatureTest { - static get isLittleEndian() { - return shadow(this, "isLittleEndian", isLittleEndian()); - } - static get isEvalSupported() { - return shadow(this, "isEvalSupported", isEvalSupported()); - } - static get isOffscreenCanvasSupported() { - return shadow(this, "isOffscreenCanvasSupported", typeof OffscreenCanvas !== "undefined"); - } - static get platform() { - if (typeof navigator !== "undefined" && typeof navigator?.platform === "string") { - return shadow(this, "platform", { - isMac: navigator.platform.includes("Mac") - }); - } - return shadow(this, "platform", { - isMac: false - }); - } - static get isCSSRoundSupported() { - return shadow(this, "isCSSRoundSupported", globalThis.CSS?.supports?.("width: round(1.5px, 1px)")); - } -} -const hexNumbers = Array.from(Array(256).keys(), n => n.toString(16).padStart(2, "0")); -class Util { - static makeHexColor(r, g, b) { - return `#${hexNumbers[r]}${hexNumbers[g]}${hexNumbers[b]}`; - } - static scaleMinMax(transform, minMax) { - let temp; - if (transform[0]) { - if (transform[0] < 0) { - temp = minMax[0]; - minMax[0] = minMax[2]; - minMax[2] = temp; - } - minMax[0] *= transform[0]; - minMax[2] *= transform[0]; - if (transform[3] < 0) { - temp = minMax[1]; - minMax[1] = minMax[3]; - minMax[3] = temp; - } - minMax[1] *= transform[3]; - minMax[3] *= transform[3]; - } else { - temp = minMax[0]; - minMax[0] = minMax[1]; - minMax[1] = temp; - temp = minMax[2]; - minMax[2] = minMax[3]; - minMax[3] = temp; - if (transform[1] < 0) { - temp = minMax[1]; - minMax[1] = minMax[3]; - minMax[3] = temp; - } - minMax[1] *= transform[1]; - minMax[3] *= transform[1]; - if (transform[2] < 0) { - temp = minMax[0]; - minMax[0] = minMax[2]; - minMax[2] = temp; - } - minMax[0] *= transform[2]; - minMax[2] *= transform[2]; - } - minMax[0] += transform[4]; - minMax[1] += transform[5]; - minMax[2] += transform[4]; - minMax[3] += transform[5]; - } - static transform(m1, m2) { - return [m1[0] * m2[0] + m1[2] * m2[1], m1[1] * m2[0] + m1[3] * m2[1], m1[0] * m2[2] + m1[2] * m2[3], m1[1] * m2[2] + m1[3] * m2[3], m1[0] * m2[4] + m1[2] * m2[5] + m1[4], m1[1] * m2[4] + m1[3] * m2[5] + m1[5]]; - } - static applyTransform(p, m) { - const xt = p[0] * m[0] + p[1] * m[2] + m[4]; - const yt = p[0] * m[1] + p[1] * m[3] + m[5]; - return [xt, yt]; - } - static applyInverseTransform(p, m) { - const d = m[0] * m[3] - m[1] * m[2]; - const xt = (p[0] * m[3] - p[1] * m[2] + m[2] * m[5] - m[4] * m[3]) / d; - const yt = (-p[0] * m[1] + p[1] * m[0] + m[4] * m[1] - m[5] * m[0]) / d; - return [xt, yt]; - } - static getAxialAlignedBoundingBox(r, m) { - const p1 = this.applyTransform(r, m); - const p2 = this.applyTransform(r.slice(2, 4), m); - const p3 = this.applyTransform([r[0], r[3]], m); - const p4 = this.applyTransform([r[2], r[1]], m); - return [Math.min(p1[0], p2[0], p3[0], p4[0]), Math.min(p1[1], p2[1], p3[1], p4[1]), Math.max(p1[0], p2[0], p3[0], p4[0]), Math.max(p1[1], p2[1], p3[1], p4[1])]; - } - static inverseTransform(m) { - const d = m[0] * m[3] - m[1] * m[2]; - return [m[3] / d, -m[1] / d, -m[2] / d, m[0] / d, (m[2] * m[5] - m[4] * m[3]) / d, (m[4] * m[1] - m[5] * m[0]) / d]; - } - static singularValueDecompose2dScale(m) { - const transpose = [m[0], m[2], m[1], m[3]]; - const a = m[0] * transpose[0] + m[1] * transpose[2]; - const b = m[0] * transpose[1] + m[1] * transpose[3]; - const c = m[2] * transpose[0] + m[3] * transpose[2]; - const d = m[2] * transpose[1] + m[3] * transpose[3]; - const first = (a + d) / 2; - const second = Math.sqrt((a + d) ** 2 - 4 * (a * d - c * b)) / 2; - const sx = first + second || 1; - const sy = first - second || 1; - return [Math.sqrt(sx), Math.sqrt(sy)]; - } - static normalizeRect(rect) { - const r = rect.slice(0); - if (rect[0] > rect[2]) { - r[0] = rect[2]; - r[2] = rect[0]; - } - if (rect[1] > rect[3]) { - r[1] = rect[3]; - r[3] = rect[1]; - } - return r; - } - static intersect(rect1, rect2) { - const xLow = Math.max(Math.min(rect1[0], rect1[2]), Math.min(rect2[0], rect2[2])); - const xHigh = Math.min(Math.max(rect1[0], rect1[2]), Math.max(rect2[0], rect2[2])); - if (xLow > xHigh) { - return null; - } - const yLow = Math.max(Math.min(rect1[1], rect1[3]), Math.min(rect2[1], rect2[3])); - const yHigh = Math.min(Math.max(rect1[1], rect1[3]), Math.max(rect2[1], rect2[3])); - if (yLow > yHigh) { - return null; - } - return [xLow, yLow, xHigh, yHigh]; - } - static #getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, t, minMax) { - if (t <= 0 || t >= 1) { - return; - } - const mt = 1 - t; - const tt = t * t; - const ttt = tt * t; - const x = mt * (mt * (mt * x0 + 3 * t * x1) + 3 * tt * x2) + ttt * x3; - const y = mt * (mt * (mt * y0 + 3 * t * y1) + 3 * tt * y2) + ttt * y3; - minMax[0] = Math.min(minMax[0], x); - minMax[1] = Math.min(minMax[1], y); - minMax[2] = Math.max(minMax[2], x); - minMax[3] = Math.max(minMax[3], y); - } - static #getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, a, b, c, minMax) { - if (Math.abs(a) < 1e-12) { - if (Math.abs(b) >= 1e-12) { - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, -c / b, minMax); - } - return; - } - const delta = b ** 2 - 4 * c * a; - if (delta < 0) { - return; - } - const sqrtDelta = Math.sqrt(delta); - const a2 = 2 * a; - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, (-b + sqrtDelta) / a2, minMax); - this.#getExtremumOnCurve(x0, x1, x2, x3, y0, y1, y2, y3, (-b - sqrtDelta) / a2, minMax); - } - static bezierBoundingBox(x0, y0, x1, y1, x2, y2, x3, y3, minMax) { - if (minMax) { - minMax[0] = Math.min(minMax[0], x0, x3); - minMax[1] = Math.min(minMax[1], y0, y3); - minMax[2] = Math.max(minMax[2], x0, x3); - minMax[3] = Math.max(minMax[3], y0, y3); - } else { - minMax = [Math.min(x0, x3), Math.min(y0, y3), Math.max(x0, x3), Math.max(y0, y3)]; - } - this.#getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, 3 * (-x0 + 3 * (x1 - x2) + x3), 6 * (x0 - 2 * x1 + x2), 3 * (x1 - x0), minMax); - this.#getExtremum(x0, x1, x2, x3, y0, y1, y2, y3, 3 * (-y0 + 3 * (y1 - y2) + y3), 6 * (y0 - 2 * y1 + y2), 3 * (y1 - y0), minMax); - return minMax; - } -} -const PDFStringTranslateTable = (/* unused pure expression or super */ null && ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2d8, 0x2c7, 0x2c6, 0x2d9, 0x2dd, 0x2db, 0x2da, 0x2dc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x2022, 0x2020, 0x2021, 0x2026, 0x2014, 0x2013, 0x192, 0x2044, 0x2039, 0x203a, 0x2212, 0x2030, 0x201e, 0x201c, 0x201d, 0x2018, 0x2019, 0x201a, 0x2122, 0xfb01, 0xfb02, 0x141, 0x152, 0x160, 0x178, 0x17d, 0x131, 0x142, 0x153, 0x161, 0x17e, 0, 0x20ac])); -function stringToPDFString(str) { - if (str[0] >= "\xEF") { - let encoding; - if (str[0] === "\xFE" && str[1] === "\xFF") { - encoding = "utf-16be"; - if (str.length % 2 === 1) { - str = str.slice(0, -1); - } - } else if (str[0] === "\xFF" && str[1] === "\xFE") { - encoding = "utf-16le"; - if (str.length % 2 === 1) { - str = str.slice(0, -1); - } - } else if (str[0] === "\xEF" && str[1] === "\xBB" && str[2] === "\xBF") { - encoding = "utf-8"; - } - if (encoding) { - try { - const decoder = new TextDecoder(encoding, { - fatal: true - }); - const buffer = stringToBytes(str); - const decoded = decoder.decode(buffer); - if (!decoded.includes("\x1b")) { - return decoded; - } - return decoded.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g, ""); - } catch (ex) { - warn(`stringToPDFString: "${ex}".`); - } - } - } - const strBuf = []; - for (let i = 0, ii = str.length; i < ii; i++) { - const charCode = str.charCodeAt(i); - if (charCode === 0x1b) { - while (++i < ii && str.charCodeAt(i) !== 0x1b) {} - continue; - } - const code = PDFStringTranslateTable[charCode]; - strBuf.push(code ? String.fromCharCode(code) : str.charAt(i)); - } - return strBuf.join(""); -} -function stringToUTF8String(str) { - return decodeURIComponent(escape(str)); -} -function utf8StringToString(str) { - return unescape(encodeURIComponent(str)); -} -function isArrayEqual(arr1, arr2) { - if (arr1.length !== arr2.length) { - return false; - } - for (let i = 0, ii = arr1.length; i < ii; i++) { - if (arr1[i] !== arr2[i]) { - return false; - } - } - return true; -} -function getModificationDate(date = new Date()) { - const buffer = [date.getUTCFullYear().toString(), (date.getUTCMonth() + 1).toString().padStart(2, "0"), date.getUTCDate().toString().padStart(2, "0"), date.getUTCHours().toString().padStart(2, "0"), date.getUTCMinutes().toString().padStart(2, "0"), date.getUTCSeconds().toString().padStart(2, "0")]; - return buffer.join(""); -} -let NormalizeRegex = null; -let NormalizationMap = null; -function normalizeUnicode(str) { - if (!NormalizeRegex) { - NormalizeRegex = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu; - NormalizationMap = new Map([["ſt", "ſt"]]); - } - return str.replaceAll(NormalizeRegex, (_, p1, p2) => p1 ? p1.normalize("NFKC") : NormalizationMap.get(p2)); -} -function getUuid() { - if (typeof crypto !== "undefined" && typeof crypto?.randomUUID === "function") { - return crypto.randomUUID(); - } - const buf = new Uint8Array(32); - if (typeof crypto !== "undefined" && typeof crypto?.getRandomValues === "function") { - crypto.getRandomValues(buf); - } else { - for (let i = 0; i < 32; i++) { - buf[i] = Math.floor(Math.random() * 255); - } - } - return bytesToString(buf); -} -const AnnotationPrefix = "pdfjs_internal_id_"; -const FontRenderOps = { - BEZIER_CURVE_TO: 0, - MOVE_TO: 1, - LINE_TO: 2, - QUADRATIC_CURVE_TO: 3, - RESTORE: 4, - SAVE: 5, - SCALE: 6, - TRANSFORM: 7, - TRANSLATE: 8 -}; - - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/async module */ -/******/ (() => { -/******/ var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__"; -/******/ var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__"; -/******/ var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__"; -/******/ var resolveQueue = (queue) => { -/******/ if(queue && queue.d < 1) { -/******/ queue.d = 1; -/******/ queue.forEach((fn) => (fn.r--)); -/******/ queue.forEach((fn) => (fn.r-- ? fn.r++ : fn())); -/******/ } -/******/ } -/******/ var wrapDeps = (deps) => (deps.map((dep) => { -/******/ if(dep !== null && typeof dep === "object") { -/******/ if(dep[webpackQueues]) return dep; -/******/ if(dep.then) { -/******/ var queue = []; -/******/ queue.d = 0; -/******/ dep.then((r) => { -/******/ obj[webpackExports] = r; -/******/ resolveQueue(queue); -/******/ }, (e) => { -/******/ obj[webpackError] = e; -/******/ resolveQueue(queue); -/******/ }); -/******/ var obj = {}; -/******/ obj[webpackQueues] = (fn) => (fn(queue)); -/******/ return obj; -/******/ } -/******/ } -/******/ var ret = {}; -/******/ ret[webpackQueues] = x => {}; -/******/ ret[webpackExports] = dep; -/******/ return ret; -/******/ })); -/******/ __webpack_require__.a = (module, body, hasAwait) => { -/******/ var queue; -/******/ hasAwait && ((queue = []).d = -1); -/******/ var depQueues = new Set(); -/******/ var exports = module.exports; -/******/ var currentDeps; -/******/ var outerResolve; -/******/ var reject; -/******/ var promise = new Promise((resolve, rej) => { -/******/ reject = rej; -/******/ outerResolve = resolve; -/******/ }); -/******/ promise[webpackExports] = exports; -/******/ promise[webpackQueues] = (fn) => (queue && fn(queue), depQueues.forEach(fn), promise["catch"](x => {})); -/******/ module.exports = promise; -/******/ body((deps) => { -/******/ currentDeps = wrapDeps(deps); -/******/ var fn; -/******/ var getResult = () => (currentDeps.map((d) => { -/******/ if(d[webpackError]) throw d[webpackError]; -/******/ return d[webpackExports]; -/******/ })) -/******/ var promise = new Promise((resolve) => { -/******/ fn = () => (resolve(getResult)); -/******/ fn.r = 0; -/******/ var fnQueue = (q) => (q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))); -/******/ currentDeps.map((dep) => (dep[webpackQueues](fnQueue))); -/******/ }); -/******/ return fn.r ? promise : getResult(); -/******/ }, (err) => ((err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue))); -/******/ queue && queue.d < 0 && (queue.d = 0); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module used 'module' so it can't be inlined -/******/ var __webpack_exports__ = __webpack_require__(1228); -/******/ __webpack_exports__ = globalThis.pdfjsLib = await (globalThis.pdfjsLibPromise = __webpack_exports__); -/******/ var __webpack_exports__AbortException = __webpack_exports__.AbortException; -/******/ var __webpack_exports__AnnotationEditorLayer = __webpack_exports__.AnnotationEditorLayer; -/******/ var __webpack_exports__AnnotationEditorParamsType = __webpack_exports__.AnnotationEditorParamsType; -/******/ var __webpack_exports__AnnotationEditorType = __webpack_exports__.AnnotationEditorType; -/******/ var __webpack_exports__AnnotationEditorUIManager = __webpack_exports__.AnnotationEditorUIManager; -/******/ var __webpack_exports__AnnotationLayer = __webpack_exports__.AnnotationLayer; -/******/ var __webpack_exports__AnnotationMode = __webpack_exports__.AnnotationMode; -/******/ var __webpack_exports__CMapCompressionType = __webpack_exports__.CMapCompressionType; -/******/ var __webpack_exports__ColorPicker = __webpack_exports__.ColorPicker; -/******/ var __webpack_exports__DOMSVGFactory = __webpack_exports__.DOMSVGFactory; -/******/ var __webpack_exports__DrawLayer = __webpack_exports__.DrawLayer; -/******/ var __webpack_exports__FeatureTest = __webpack_exports__.FeatureTest; -/******/ var __webpack_exports__GlobalWorkerOptions = __webpack_exports__.GlobalWorkerOptions; -/******/ var __webpack_exports__ImageKind = __webpack_exports__.ImageKind; -/******/ var __webpack_exports__InvalidPDFException = __webpack_exports__.InvalidPDFException; -/******/ var __webpack_exports__MissingPDFException = __webpack_exports__.MissingPDFException; -/******/ var __webpack_exports__OPS = __webpack_exports__.OPS; -/******/ var __webpack_exports__Outliner = __webpack_exports__.Outliner; -/******/ var __webpack_exports__PDFDataRangeTransport = __webpack_exports__.PDFDataRangeTransport; -/******/ var __webpack_exports__PDFDateString = __webpack_exports__.PDFDateString; -/******/ var __webpack_exports__PDFWorker = __webpack_exports__.PDFWorker; -/******/ var __webpack_exports__PasswordResponses = __webpack_exports__.PasswordResponses; -/******/ var __webpack_exports__PermissionFlag = __webpack_exports__.PermissionFlag; -/******/ var __webpack_exports__PixelsPerInch = __webpack_exports__.PixelsPerInch; -/******/ var __webpack_exports__RenderingCancelledException = __webpack_exports__.RenderingCancelledException; -/******/ var __webpack_exports__UnexpectedResponseException = __webpack_exports__.UnexpectedResponseException; -/******/ var __webpack_exports__Util = __webpack_exports__.Util; -/******/ var __webpack_exports__VerbosityLevel = __webpack_exports__.VerbosityLevel; -/******/ var __webpack_exports__XfaLayer = __webpack_exports__.XfaLayer; -/******/ var __webpack_exports__build = __webpack_exports__.build; -/******/ var __webpack_exports__createValidAbsoluteUrl = __webpack_exports__.createValidAbsoluteUrl; -/******/ var __webpack_exports__fetchData = __webpack_exports__.fetchData; -/******/ var __webpack_exports__getDocument = __webpack_exports__.getDocument; -/******/ var __webpack_exports__getFilenameFromUrl = __webpack_exports__.getFilenameFromUrl; -/******/ var __webpack_exports__getPdfFilenameFromUrl = __webpack_exports__.getPdfFilenameFromUrl; -/******/ var __webpack_exports__getXfaPageViewport = __webpack_exports__.getXfaPageViewport; -/******/ var __webpack_exports__isDataScheme = __webpack_exports__.isDataScheme; -/******/ var __webpack_exports__isPdfFile = __webpack_exports__.isPdfFile; -/******/ var __webpack_exports__noContextMenu = __webpack_exports__.noContextMenu; -/******/ var __webpack_exports__normalizeUnicode = __webpack_exports__.normalizeUnicode; -/******/ var __webpack_exports__renderTextLayer = __webpack_exports__.renderTextLayer; -/******/ var __webpack_exports__setLayerDimensions = __webpack_exports__.setLayerDimensions; -/******/ var __webpack_exports__shadow = __webpack_exports__.shadow; -/******/ var __webpack_exports__updateTextLayer = __webpack_exports__.updateTextLayer; -/******/ var __webpack_exports__version = __webpack_exports__.version; -/******/ export { __webpack_exports__AbortException as AbortException, __webpack_exports__AnnotationEditorLayer as AnnotationEditorLayer, __webpack_exports__AnnotationEditorParamsType as AnnotationEditorParamsType, __webpack_exports__AnnotationEditorType as AnnotationEditorType, __webpack_exports__AnnotationEditorUIManager as AnnotationEditorUIManager, __webpack_exports__AnnotationLayer as AnnotationLayer, __webpack_exports__AnnotationMode as AnnotationMode, __webpack_exports__CMapCompressionType as CMapCompressionType, __webpack_exports__ColorPicker as ColorPicker, __webpack_exports__DOMSVGFactory as DOMSVGFactory, __webpack_exports__DrawLayer as DrawLayer, __webpack_exports__FeatureTest as FeatureTest, __webpack_exports__GlobalWorkerOptions as GlobalWorkerOptions, __webpack_exports__ImageKind as ImageKind, __webpack_exports__InvalidPDFException as InvalidPDFException, __webpack_exports__MissingPDFException as MissingPDFException, __webpack_exports__OPS as OPS, __webpack_exports__Outliner as Outliner, __webpack_exports__PDFDataRangeTransport as PDFDataRangeTransport, __webpack_exports__PDFDateString as PDFDateString, __webpack_exports__PDFWorker as PDFWorker, __webpack_exports__PasswordResponses as PasswordResponses, __webpack_exports__PermissionFlag as PermissionFlag, __webpack_exports__PixelsPerInch as PixelsPerInch, __webpack_exports__RenderingCancelledException as RenderingCancelledException, __webpack_exports__UnexpectedResponseException as UnexpectedResponseException, __webpack_exports__Util as Util, __webpack_exports__VerbosityLevel as VerbosityLevel, __webpack_exports__XfaLayer as XfaLayer, __webpack_exports__build as build, __webpack_exports__createValidAbsoluteUrl as createValidAbsoluteUrl, __webpack_exports__fetchData as fetchData, __webpack_exports__getDocument as getDocument, __webpack_exports__getFilenameFromUrl as getFilenameFromUrl, __webpack_exports__getPdfFilenameFromUrl as getPdfFilenameFromUrl, __webpack_exports__getXfaPageViewport as getXfaPageViewport, __webpack_exports__isDataScheme as isDataScheme, __webpack_exports__isPdfFile as isPdfFile, __webpack_exports__noContextMenu as noContextMenu, __webpack_exports__normalizeUnicode as normalizeUnicode, __webpack_exports__renderTextLayer as renderTextLayer, __webpack_exports__setLayerDimensions as setLayerDimensions, __webpack_exports__shadow as shadow, __webpack_exports__updateTextLayer as updateTextLayer, __webpack_exports__version as version }; -/******/ diff --git a/media/js/pdf4/build/pdf.sandbox.mjs b/media/js/pdf4/build/pdf.sandbox.mjs deleted file mode 100644 index bf0ae6d5cc..0000000000 --- a/media/js/pdf4/build/pdf.sandbox.mjs +++ /dev/null @@ -1,3794 +0,0 @@ -/** - * @licstart The following is the entire license notice for the - * JavaScript code in this page - * - * Copyright 2023 Mozilla Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @licend The above is the entire license notice for the - * JavaScript code in this page - */ - -/******/ var __webpack_modules__ = ({ - -/***/ 9306: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var tryToString = __webpack_require__(6823); - -var $TypeError = TypeError; - -// `Assert: IsCallable(argument) is true` -module.exports = function (argument) { - if (isCallable(argument)) return argument; - throw new $TypeError(tryToString(argument) + ' is not a function'); -}; - - -/***/ }), - -/***/ 3506: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPossiblePrototype = __webpack_require__(3925); - -var $String = String; -var $TypeError = TypeError; - -module.exports = function (argument) { - if (isPossiblePrototype(argument)) return argument; - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); -}; - - -/***/ }), - -/***/ 679: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPrototypeOf = __webpack_require__(1625); - -var $TypeError = TypeError; - -module.exports = function (it, Prototype) { - if (isPrototypeOf(Prototype, it)) return it; - throw new $TypeError('Incorrect invocation'); -}; - - -/***/ }), - -/***/ 8551: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -var $String = String; -var $TypeError = TypeError; - -// `Assert: Type(argument) is Object` -module.exports = function (argument) { - if (isObject(argument)) return argument; - throw new $TypeError($String(argument) + ' is not an object'); -}; - - -/***/ }), - -/***/ 7811: -/***/ ((module) => { - - -// eslint-disable-next-line es/no-typed-arrays -- safe -module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; - - -/***/ }), - -/***/ 7394: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var classof = __webpack_require__(4576); - -var $TypeError = TypeError; - -// Includes -// - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). -// - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. -module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { - if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected'); - return O.byteLength; -}; - - -/***/ }), - -/***/ 3238: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var arrayBufferByteLength = __webpack_require__(7394); - -var slice = uncurryThis(ArrayBuffer.prototype.slice); - -module.exports = function (O) { - if (arrayBufferByteLength(O) !== 0) return false; - try { - slice(O, 0, 0); - return false; - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 5636: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var uncurryThis = __webpack_require__(9504); -var uncurryThisAccessor = __webpack_require__(6706); -var toIndex = __webpack_require__(7696); -var isDetached = __webpack_require__(3238); -var arrayBufferByteLength = __webpack_require__(7394); -var detachTransferable = __webpack_require__(4483); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var ArrayBuffer = global.ArrayBuffer; -var DataView = global.DataView; -var TypeError = global.TypeError; -var min = Math.min; -var ArrayBufferPrototype = ArrayBuffer.prototype; -var DataViewPrototype = DataView.prototype; -var slice = uncurryThis(ArrayBufferPrototype.slice); -var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); -var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); -var getInt8 = uncurryThis(DataViewPrototype.getInt8); -var setInt8 = uncurryThis(DataViewPrototype.setInt8); - -module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) { - var byteLength = arrayBufferByteLength(arrayBuffer); - var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); - var fixedLength = !isResizable || !isResizable(arrayBuffer); - var newBuffer; - if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached'); - if (PROPER_STRUCTURED_CLONE_TRANSFER) { - arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); - if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer; - } - if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) { - newBuffer = slice(arrayBuffer, 0, newByteLength); - } else { - var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined; - newBuffer = new ArrayBuffer(newByteLength, options); - var a = new DataView(arrayBuffer); - var b = new DataView(newBuffer); - var copyLength = min(newByteLength, byteLength); - for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); - } - if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer); - return newBuffer; -}; - - -/***/ }), - -/***/ 4644: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_ARRAY_BUFFER = __webpack_require__(7811); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var hasOwn = __webpack_require__(9297); -var classof = __webpack_require__(6955); -var tryToString = __webpack_require__(6823); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineBuiltInAccessor = __webpack_require__(2106); -var isPrototypeOf = __webpack_require__(1625); -var getPrototypeOf = __webpack_require__(2787); -var setPrototypeOf = __webpack_require__(2967); -var wellKnownSymbol = __webpack_require__(8227); -var uid = __webpack_require__(3392); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var Int8Array = global.Int8Array; -var Int8ArrayPrototype = Int8Array && Int8Array.prototype; -var Uint8ClampedArray = global.Uint8ClampedArray; -var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; -var TypedArray = Int8Array && getPrototypeOf(Int8Array); -var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); -var ObjectPrototype = Object.prototype; -var TypeError = global.TypeError; - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); -var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; -// Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; -var TYPED_ARRAY_TAG_REQUIRED = false; -var NAME, Constructor, Prototype; - -var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 -}; - -var BigIntArrayConstructorsList = { - BigInt64Array: 8, - BigUint64Array: 8 -}; - -var isView = function isView(it) { - if (!isObject(it)) return false; - var klass = classof(it); - return klass === 'DataView' - || hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var getTypedArrayConstructor = function (it) { - var proto = getPrototypeOf(it); - if (!isObject(proto)) return; - var state = getInternalState(proto); - return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); -}; - -var isTypedArray = function (it) { - if (!isObject(it)) return false; - var klass = classof(it); - return hasOwn(TypedArrayConstructorsList, klass) - || hasOwn(BigIntArrayConstructorsList, klass); -}; - -var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw new TypeError('Target is not a typed array'); -}; - -var aTypedArrayConstructor = function (C) { - if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; - throw new TypeError(tryToString(C) + ' is not a typed array constructor'); -}; - -var exportTypedArrayMethod = function (KEY, property, forced, options) { - if (!DESCRIPTORS) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { - delete TypedArrayConstructor.prototype[KEY]; - } catch (error) { - // old WebKit bug - some methods are non-configurable - try { - TypedArrayConstructor.prototype[KEY] = property; - } catch (error2) { /* empty */ } - } - } - if (!TypedArrayPrototype[KEY] || forced) { - defineBuiltIn(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); - } -}; - -var exportTypedArrayStaticMethod = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!DESCRIPTORS) return; - if (setPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { - delete TypedArrayConstructor[KEY]; - } catch (error) { /* empty */ } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); - } catch (error) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - defineBuiltIn(TypedArrayConstructor, KEY, property); - } - } -}; - -for (NAME in TypedArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; - else NATIVE_ARRAY_BUFFER_VIEWS = false; -} - -for (NAME in BigIntArrayConstructorsList) { - Constructor = global[NAME]; - Prototype = Constructor && Constructor.prototype; - if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; -} - -// WebKit bug - typed arrays constructors prototype is Object.prototype -if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow -- safe - TypedArray = function TypedArray() { - throw new TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); - } -} - -if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); - } -} - -// WebKit bug - one more object in Uint8ClampedArray prototype chain -if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); -} - -if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { - TYPED_ARRAY_TAG_REQUIRED = true; - defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { - configurable: true, - get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } - }); - for (NAME in TypedArrayConstructorsList) if (global[NAME]) { - createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); - } -} - -module.exports = { - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportTypedArrayMethod: exportTypedArrayMethod, - exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, - getTypedArrayConstructor: getTypedArrayConstructor, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype -}; - - -/***/ }), - -/***/ 5370: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -module.exports = function (Constructor, list, $length) { - var index = 0; - var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); - var result = new Constructor(length); - while (length > index) result[index] = list[index++]; - return result; -}; - - -/***/ }), - -/***/ 9617: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIndexedObject = __webpack_require__(5397); -var toAbsoluteIndex = __webpack_require__(5610); -var lengthOfArrayLike = __webpack_require__(6198); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = lengthOfArrayLike(O); - if (length === 0) return !IS_INCLUDES && -1; - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el !== el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare -- NaN check - if (value !== value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ 4527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var isArray = __webpack_require__(4376); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Safari < 13 does not throw an error in this case -var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { - // makes no sense without proper strict mode support - if (this !== undefined) return true; - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).length = 1; - } catch (error) { - return error instanceof TypeError; - } -}(); - -module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { - if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { - throw new $TypeError('Cannot set read only .length'); - } return O.length = length; -} : function (O, length) { - return O.length = length; -}; - - -/***/ }), - -/***/ 7628: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed -module.exports = function (O, C) { - var len = lengthOfArrayLike(O); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = O[len - k - 1]; - return A; -}; - - -/***/ }), - -/***/ 9928: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var lengthOfArrayLike = __webpack_require__(6198); -var toIntegerOrInfinity = __webpack_require__(1291); - -var $RangeError = RangeError; - -// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with -// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with -module.exports = function (O, C, index, value) { - var len = lengthOfArrayLike(O); - var relativeIndex = toIntegerOrInfinity(index); - var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; - if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index'); - var A = new C(len); - var k = 0; - for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; - return A; -}; - - -/***/ }), - -/***/ 4576: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var toString = uncurryThis({}.toString); -var stringSlice = uncurryThis(''.slice); - -module.exports = function (it) { - return stringSlice(toString(it), 8, -1); -}; - - -/***/ }), - -/***/ 6955: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var TO_STRING_TAG_SUPPORT = __webpack_require__(2140); -var isCallable = __webpack_require__(4901); -var classofRaw = __webpack_require__(4576); -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var $Object = Object; - -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ 7740: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var ownKeys = __webpack_require__(5031); -var getOwnPropertyDescriptorModule = __webpack_require__(7347); -var definePropertyModule = __webpack_require__(4913); - -module.exports = function (target, source, exceptions) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { - defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - } -}; - - -/***/ }), - -/***/ 2211: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ 6699: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ 6980: -/***/ ((module) => { - - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ 4659: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = function (object, key, value) { - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); - else object[key] = value; -}; - - -/***/ }), - -/***/ 2106: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var makeBuiltIn = __webpack_require__(283); -var defineProperty = __webpack_require__(4913); - -module.exports = function (target, name, descriptor) { - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); - return defineProperty.f(target, name, descriptor); -}; - - -/***/ }), - -/***/ 6840: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var definePropertyModule = __webpack_require__(4913); -var makeBuiltIn = __webpack_require__(283); -var defineGlobalProperty = __webpack_require__(9433); - -module.exports = function (O, key, value, options) { - if (!options) options = {}; - var simple = options.enumerable; - var name = options.name !== undefined ? options.name : key; - if (isCallable(value)) makeBuiltIn(value, name, options); - if (options.global) { - if (simple) O[key] = value; - else defineGlobalProperty(key, value); - } else { - try { - if (!options.unsafe) delete O[key]; - else if (O[key]) simple = true; - } catch (error) { /* empty */ } - if (simple) O[key] = value; - else definePropertyModule.f(O, key, { - value: value, - enumerable: false, - configurable: !options.nonConfigurable, - writable: !options.nonWritable - }); - } return O; -}; - - -/***/ }), - -/***/ 9433: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); - -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; - -module.exports = function (key, value) { - try { - defineProperty(global, key, { value: value, configurable: true, writable: true }); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ 3724: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; -}); - - -/***/ }), - -/***/ 4483: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var tryNodeRequire = __webpack_require__(9714); -var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(1548); - -var structuredClone = global.structuredClone; -var $ArrayBuffer = global.ArrayBuffer; -var $MessageChannel = global.MessageChannel; -var detach = false; -var WorkerThreads, channel, buffer, $detach; - -if (PROPER_STRUCTURED_CLONE_TRANSFER) { - detach = function (transferable) { - structuredClone(transferable, { transfer: [transferable] }); - }; -} else if ($ArrayBuffer) try { - if (!$MessageChannel) { - WorkerThreads = tryNodeRequire('worker_threads'); - if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel; - } - - if ($MessageChannel) { - channel = new $MessageChannel(); - buffer = new $ArrayBuffer(2); - - $detach = function (transferable) { - channel.port1.postMessage(null, [transferable]); - }; - - if (buffer.byteLength === 2) { - $detach(buffer); - if (buffer.byteLength === 0) detach = $detach; - } - } -} catch (error) { /* empty */ } - -module.exports = detach; - - -/***/ }), - -/***/ 4055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ 6837: -/***/ ((module) => { - - -var $TypeError = TypeError; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - -module.exports = function (it) { - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); - return it; -}; - - -/***/ }), - -/***/ 5002: -/***/ ((module) => { - - -module.exports = { - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } -}; - - -/***/ }), - -/***/ 7290: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -module.exports = !IS_DENO && !IS_NODE - && typeof window == 'object' - && typeof document == 'object'; - - -/***/ }), - -/***/ 516: -/***/ ((module) => { - - -/* global Deno -- Deno case */ -module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; - - -/***/ }), - -/***/ 9088: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var classof = __webpack_require__(4576); - -module.exports = classof(global.process) === 'process'; - - -/***/ }), - -/***/ 9392: -/***/ ((module) => { - - -module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - - -/***/ }), - -/***/ 7388: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var userAgent = __webpack_require__(9392); - -var process = global.process; -var Deno = global.Deno; -var versions = process && process.versions || Deno && Deno.version; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - // in old Chrome, versions of V8 isn't V8 = Chrome / 10 - // but their correct versions are not interesting for us - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); -} - -// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` -// so check `userAgent` even if `.v8` exists, but 0 -if (!version && userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = +match[1]; - } -} - -module.exports = version; - - -/***/ }), - -/***/ 8727: -/***/ ((module) => { - - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ 6193: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var $Error = Error; -var replace = uncurryThis(''.replace); - -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); -// eslint-disable-next-line redos/no-vulnerable -- safe -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); - -module.exports = function (stack, dropEntries) { - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); - } return stack; -}; - - -/***/ }), - -/***/ 6518: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var getOwnPropertyDescriptor = (__webpack_require__(7347).f); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineGlobalProperty = __webpack_require__(9433); -var copyConstructorProperties = __webpack_require__(7740); -var isForced = __webpack_require__(2796); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.dontCallGetSet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || defineGlobalProperty(TARGET, {}); - } else { - target = global[TARGET] && global[TARGET].prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.dontCallGetSet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty == typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - defineBuiltIn(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ 9039: -/***/ ((module) => { - - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 6080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(7476); -var aCallable = __webpack_require__(9306); -var NATIVE_BIND = __webpack_require__(616); - -var bind = uncurryThis(uncurryThis.bind); - -// optional / simple context binding -module.exports = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ 616: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - // eslint-disable-next-line es/no-function-prototype-bind -- safe - var test = (function () { /* empty */ }).bind(); - // eslint-disable-next-line no-prototype-builtins -- safe - return typeof test != 'function' || test.hasOwnProperty('prototype'); -}); - - -/***/ }), - -/***/ 9565: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var call = Function.prototype.call; - -module.exports = NATIVE_BIND ? call.bind(call) : function () { - return call.apply(call, arguments); -}; - - -/***/ }), - -/***/ 350: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var hasOwn = __webpack_require__(9297); - -var FunctionPrototype = Function.prototype; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; - -var EXISTS = hasOwn(FunctionPrototype, 'name'); -// additional protection from minified / mangled / dropped function names -var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; -var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); - -module.exports = { - EXISTS: EXISTS, - PROPER: PROPER, - CONFIGURABLE: CONFIGURABLE -}; - - -/***/ }), - -/***/ 6706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); - -module.exports = function (object, key, method) { - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 7476: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classofRaw = __webpack_require__(4576); -var uncurryThis = __webpack_require__(9504); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis(fn); -}; - - -/***/ }), - -/***/ 9504: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var FunctionPrototype = Function.prototype; -var call = FunctionPrototype.call; -var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); - -module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { - return function () { - return call.apply(fn, arguments); - }; -}; - - -/***/ }), - -/***/ 7751: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var aFunction = function (argument) { - return isCallable(argument) ? argument : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ 1767: -/***/ ((module) => { - - -// `GetIteratorDirect(obj)` abstract operation -// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect -module.exports = function (obj) { - return { - iterator: obj, - next: obj.next, - done: false - }; -}; - - -/***/ }), - -/***/ 851: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); -var getMethod = __webpack_require__(5966); -var isNullOrUndefined = __webpack_require__(4117); -var Iterators = __webpack_require__(6269); -var wellKnownSymbol = __webpack_require__(8227); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) - || getMethod(it, '@@iterator') - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ 81: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var getIteratorMethod = __webpack_require__(851); - -var $TypeError = TypeError; - -module.exports = function (argument, usingIterator) { - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); - throw new $TypeError(tryToString(argument) + ' is not iterable'); -}; - - -/***/ }), - -/***/ 5966: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var isNullOrUndefined = __webpack_require__(4117); - -// `GetMethod` abstract operation -// https://tc39.es/ecma262/#sec-getmethod -module.exports = function (V, P) { - var func = V[P]; - return isNullOrUndefined(func) ? undefined : aCallable(func); -}; - - -/***/ }), - -/***/ 4475: -/***/ (function(module) { - - -var check = function (it) { - return it && it.Math === Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line es/no-global-this -- safe - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - // eslint-disable-next-line no-restricted-globals -- safe - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - check(typeof this == 'object' && this) || - // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ 9297: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var toObject = __webpack_require__(8981); - -var hasOwnProperty = uncurryThis({}.hasOwnProperty); - -// `HasOwnProperty` abstract operation -// https://tc39.es/ecma262/#sec-hasownproperty -// eslint-disable-next-line es/no-object-hasown -- safe -module.exports = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty(toObject(it), key); -}; - - -/***/ }), - -/***/ 421: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ 5917: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); -var createElement = __webpack_require__(4055); - -// Thanks to IE8 for its funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a !== 7; -}); - - -/***/ }), - -/***/ 7055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var classof = __webpack_require__(4576); - -var $Object = Object; -var split = uncurryThis(''.split); - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins -- safe - return !$Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) === 'String' ? split(it, '') : $Object(it); -} : $Object; - - -/***/ }), - -/***/ 3167: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var setPrototypeOf = __webpack_require__(2967); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - isCallable(NewTarget = dummy.constructor) && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ 3706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var isCallable = __webpack_require__(4901); -var store = __webpack_require__(7629); - -var functionToString = uncurryThis(Function.toString); - -// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper -if (!isCallable(store.inspectSource)) { - store.inspectSource = function (it) { - return functionToString(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ 1181: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_WEAK_MAP = __webpack_require__(8622); -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); -var createNonEnumerableProperty = __webpack_require__(6699); -var hasOwn = __webpack_require__(9297); -var shared = __webpack_require__(7629); -var sharedKey = __webpack_require__(6119); -var hiddenKeys = __webpack_require__(421); - -var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var TypeError = global.TypeError; -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP || shared.state) { - var store = shared.state || (shared.state = new WeakMap()); - /* eslint-disable no-self-assign -- prototype methods protection */ - store.get = store.get; - store.has = store.has; - store.set = store.set; - /* eslint-enable no-self-assign -- prototype methods protection */ - set = function (it, metadata) { - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - store.set(it, metadata); - return metadata; - }; - get = function (it) { - return store.get(it) || {}; - }; - has = function (it) { - return store.has(it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return hasOwn(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return hasOwn(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ 4209: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); -var Iterators = __webpack_require__(6269); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ 4376: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(4576); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -// eslint-disable-next-line es/no-array-isarray -- safe -module.exports = Array.isArray || function isArray(argument) { - return classof(argument) === 'Array'; -}; - - -/***/ }), - -/***/ 1108: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -module.exports = function (it) { - var klass = classof(it); - return klass === 'BigInt64Array' || klass === 'BigUint64Array'; -}; - - -/***/ }), - -/***/ 4901: -/***/ ((module) => { - - -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot -var documentAll = typeof document == 'object' && document.all; - -// `IsCallable` abstract operation -// https://tc39.es/ecma262/#sec-iscallable -// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing -module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { - return typeof argument == 'function' || argument === documentAll; -} : function (argument) { - return typeof argument == 'function'; -}; - - -/***/ }), - -/***/ 2796: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value === POLYFILL ? true - : value === NATIVE ? false - : isCallable(detection) ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ 4117: -/***/ ((module) => { - - -// we can't use just `it == null` since of `document.all` special case -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec -module.exports = function (it) { - return it === null || it === undefined; -}; - - -/***/ }), - -/***/ 34: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); - -module.exports = function (it) { - return typeof it == 'object' ? it !== null : isCallable(it); -}; - - -/***/ }), - -/***/ 3925: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -module.exports = function (argument) { - return isObject(argument) || argument === null; -}; - - -/***/ }), - -/***/ 6395: -/***/ ((module) => { - - -module.exports = false; - - -/***/ }), - -/***/ 757: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var isCallable = __webpack_require__(4901); -var isPrototypeOf = __webpack_require__(1625); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var $Object = Object; - -module.exports = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - var $Symbol = getBuiltIn('Symbol'); - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); -}; - - -/***/ }), - -/***/ 2652: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var bind = __webpack_require__(6080); -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var isArrayIteratorMethod = __webpack_require__(4209); -var lengthOfArrayLike = __webpack_require__(6198); -var isPrototypeOf = __webpack_require__(1625); -var getIterator = __webpack_require__(81); -var getIteratorMethod = __webpack_require__(851); -var iteratorClose = __webpack_require__(9539); - -var $TypeError = TypeError; - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -var ResultPrototype = Result.prototype; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_RECORD = !!(options && options.IS_RECORD); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator, 'normal', condition); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_RECORD) { - iterator = iterable.iterator; - } else if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { - result = callFn(iterable[index]); - if (result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); - } - iterator = getIterator(iterable, iterFn); - } - - next = IS_RECORD ? iterable.next : iterator.next; - while (!(step = call(next, iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } - if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ 9539: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var getMethod = __webpack_require__(5966); - -module.exports = function (iterator, kind, value) { - var innerResult, innerError; - anObject(iterator); - try { - innerResult = getMethod(iterator, 'return'); - if (!innerResult) { - if (kind === 'throw') throw value; - return value; - } - innerResult = call(innerResult, iterator); - } catch (error) { - innerError = true; - innerResult = error; - } - if (kind === 'throw') throw value; - if (innerError) throw innerResult; - anObject(innerResult); - return value; -}; - - -/***/ }), - -/***/ 7657: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var create = __webpack_require__(2360); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltIn = __webpack_require__(6840); -var wellKnownSymbol = __webpack_require__(8227); -var IS_PURE = __webpack_require__(6395); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -/* eslint-disable es/no-array-prototype-keys -- safe */ -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; -else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); - -// `%IteratorPrototype%[@@iterator]()` method -// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if (!isCallable(IteratorPrototype[ITERATOR])) { - defineBuiltIn(IteratorPrototype, ITERATOR, function () { - return this; - }); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ 6269: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 6198: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toLength = __webpack_require__(8014); - -// `LengthOfArrayLike` abstract operation -// https://tc39.es/ecma262/#sec-lengthofarraylike -module.exports = function (obj) { - return toLength(obj.length); -}; - - -/***/ }), - -/***/ 283: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var hasOwn = __webpack_require__(9297); -var DESCRIPTORS = __webpack_require__(3724); -var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE); -var inspectSource = __webpack_require__(3706); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var $String = String; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; -var stringSlice = uncurryThis(''.slice); -var replace = uncurryThis(''.replace); -var join = uncurryThis([].join); - -var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; -}); - -var TEMPLATE = String(String).split('String'); - -var makeBuiltIn = module.exports = function (value, name, options) { - if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; - } - if (options && options.getter) name = 'get ' + name; - if (options && options.setter) name = 'set ' + name; - if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); - else value.name = name; - } - if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); - } - try { - if (options && hasOwn(options, 'constructor') && options.constructor) { - if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); - // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable - } else if (value.prototype) value.prototype = undefined; - } catch (error) { /* empty */ } - var state = enforceInternalState(value); - if (!hasOwn(state, 'source')) { - state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); - } return value; -}; - -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -// eslint-disable-next-line no-extend-native -- required -Function.prototype.toString = makeBuiltIn(function toString() { - return isCallable(this) && getInternalState(this).source || inspectSource(this); -}, 'toString'); - - -/***/ }), - -/***/ 741: -/***/ ((module) => { - - -var ceil = Math.ceil; -var floor = Math.floor; - -// `Math.trunc` method -// https://tc39.es/ecma262/#sec-math.trunc -// eslint-disable-next-line es/no-math-trunc -- safe -module.exports = Math.trunc || function trunc(x) { - var n = +x; - return (n > 0 ? floor : ceil)(n); -}; - - -/***/ }), - -/***/ 2603: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toString = __webpack_require__(655); - -module.exports = function (argument, $default) { - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); -}; - - -/***/ }), - -/***/ 2360: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* global ActiveXObject -- old IE, WSH */ -var anObject = __webpack_require__(8551); -var definePropertiesModule = __webpack_require__(6801); -var enumBugKeys = __webpack_require__(8727); -var hiddenKeys = __webpack_require__(421); -var html = __webpack_require__(397); -var documentCreateElement = __webpack_require__(4055); -var sharedKey = __webpack_require__(6119); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - activeXDocument = new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = typeof document != 'undefined' - ? document.domain && activeXDocument - ? NullProtoObjectViaActiveX(activeXDocument) // old IE - : NullProtoObjectViaIFrame() - : NullProtoObjectViaActiveX(activeXDocument); // WSH - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -// eslint-disable-next-line es/no-object-create -- safe -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : definePropertiesModule.f(result, Properties); -}; - - -/***/ }), - -/***/ 6801: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var definePropertyModule = __webpack_require__(4913); -var anObject = __webpack_require__(8551); -var toIndexedObject = __webpack_require__(5397); -var objectKeys = __webpack_require__(1072); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -// eslint-disable-next-line es/no-object-defineproperties -- safe -exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); - return O; -}; - - -/***/ }), - -/***/ 4913: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var IE8_DOM_DEFINE = __webpack_require__(5917); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var anObject = __webpack_require__(8551); -var toPropertyKey = __webpack_require__(6969); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var $defineProperty = Object.defineProperty; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var ENUMERABLE = 'enumerable'; -var CONFIGURABLE = 'configurable'; -var WRITABLE = 'writable'; - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { - var current = $getOwnPropertyDescriptor(O, P); - if (current && current[WRITABLE]) { - O[P] = Attributes.value; - Attributes = { - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], - writable: false - }; - } - } return $defineProperty(O, P, Attributes); -} : $defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return $defineProperty(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ 7347: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var call = __webpack_require__(9565); -var propertyIsEnumerableModule = __webpack_require__(8773); -var createPropertyDescriptor = __webpack_require__(6980); -var toIndexedObject = __webpack_require__(5397); -var toPropertyKey = __webpack_require__(6969); -var hasOwn = __webpack_require__(9297); -var IE8_DOM_DEFINE = __webpack_require__(5917); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPropertyKey(P); - if (IE8_DOM_DEFINE) try { - return $getOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); -}; - - -/***/ }), - -/***/ 8480: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -// eslint-disable-next-line es/no-object-getownpropertynames -- safe -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ 3717: -/***/ ((__unused_webpack_module, exports) => { - - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ 2787: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var isCallable = __webpack_require__(4901); -var toObject = __webpack_require__(8981); -var sharedKey = __webpack_require__(6119); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211); - -var IE_PROTO = sharedKey('IE_PROTO'); -var $Object = Object; -var ObjectPrototype = $Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -// eslint-disable-next-line es/no-object-getprototypeof -- safe -module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { - var object = toObject(O); - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; - var constructor = object.constructor; - if (isCallable(constructor) && object instanceof constructor) { - return constructor.prototype; - } return object instanceof $Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ 1625: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -module.exports = uncurryThis({}.isPrototypeOf); - - -/***/ }), - -/***/ 1828: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); -var toIndexedObject = __webpack_require__(5397); -var indexOf = (__webpack_require__(9617).indexOf); -var hiddenKeys = __webpack_require__(421); - -var push = uncurryThis([].push); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); - // Don't enum bug & hidden keys - while (names.length > i) if (hasOwn(O, key = names[i++])) { - ~indexOf(result, key) || push(result, key); - } - return result; -}; - - -/***/ }), - -/***/ 1072: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -// eslint-disable-next-line es/no-object-keys -- safe -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ 8773: -/***/ ((__unused_webpack_module, exports) => { - - -var $propertyIsEnumerable = {}.propertyIsEnumerable; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : $propertyIsEnumerable; - - -/***/ }), - -/***/ 2967: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable no-proto -- safe */ -var uncurryThisAccessor = __webpack_require__(6706); -var isObject = __webpack_require__(34); -var requireObjectCoercible = __webpack_require__(7750); -var aPossiblePrototype = __webpack_require__(3506); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -// eslint-disable-next-line es/no-object-setprototypeof -- safe -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); - setter(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - requireObjectCoercible(O); - aPossiblePrototype(proto); - if (!isObject(O)) return O; - if (CORRECT_SETTER) setter(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ 4270: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); - -var $TypeError = TypeError; - -// `OrdinaryToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-ordinarytoprimitive -module.exports = function (input, pref) { - var fn, val; - if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; - if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - throw new $TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ 5031: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var getOwnPropertyNamesModule = __webpack_require__(8480); -var getOwnPropertySymbolsModule = __webpack_require__(3717); -var anObject = __webpack_require__(8551); - -var concat = uncurryThis([].concat); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ 8235: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); - -var $SyntaxError = SyntaxError; -var $parseInt = parseInt; -var fromCharCode = String.fromCharCode; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); - -var codePoints = { - '\\"': '"', - '\\\\': '\\', - '\\/': '/', - '\\b': '\b', - '\\f': '\f', - '\\n': '\n', - '\\r': '\r', - '\\t': '\t' -}; - -var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; -// eslint-disable-next-line regexp/no-control-character -- safe -var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; - -module.exports = function (source, i) { - var unterminated = true; - var value = ''; - while (i < source.length) { - var chr = at(source, i); - if (chr === '\\') { - var twoChars = slice(source, i, i + 2); - if (hasOwn(codePoints, twoChars)) { - value += codePoints[twoChars]; - i += 2; - } else if (twoChars === '\\u') { - i += 2; - var fourHexDigits = slice(source, i, i + 4); - if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i); - value += fromCharCode($parseInt(fourHexDigits, 16)); - i += 4; - } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); - } else if (chr === '"') { - unterminated = false; - i++; - break; - } else { - if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i); - value += chr; - i++; - } - } - if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i); - return { value: value, end: i }; -}; - - -/***/ }), - -/***/ 7750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isNullOrUndefined = __webpack_require__(4117); - -var $TypeError = TypeError; - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ 6119: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var shared = __webpack_require__(5745); -var uid = __webpack_require__(3392); - -var keys = shared('keys'); - -module.exports = function (key) { - return keys[key] || (keys[key] = uid(key)); -}; - - -/***/ }), - -/***/ 7629: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_PURE = __webpack_require__(6395); -var globalThis = __webpack_require__(4475); -var defineGlobalProperty = __webpack_require__(9433); - -var SHARED = '__core-js_shared__'; -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); - -(store.versions || (store.versions = [])).push({ - version: '3.37.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE', - source: 'https://github.com/zloirock/core-js' -}); - - -/***/ }), - -/***/ 5745: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var store = __webpack_require__(7629); - -module.exports = function (key, value) { - return store[key] || (store[key] = value || {}); -}; - - -/***/ }), - -/***/ 1548: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var fails = __webpack_require__(9039); -var V8 = __webpack_require__(7388); -var IS_BROWSER = __webpack_require__(7290); -var IS_DENO = __webpack_require__(516); -var IS_NODE = __webpack_require__(9088); - -var structuredClone = global.structuredClone; - -module.exports = !!structuredClone && !fails(function () { - // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation - // https://github.com/zloirock/core-js/issues/679 - if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; - var buffer = new ArrayBuffer(8); - var clone = structuredClone(buffer, { transfer: [buffer] }); - return buffer.byteLength !== 0 || clone.byteLength !== 8; -}); - - -/***/ }), - -/***/ 4495: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__(7388); -var fails = __webpack_require__(9039); -var global = __webpack_require__(4475); - -var $String = global.String; - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - var symbol = Symbol('symbol detection'); - // Chrome 38 Symbol has incorrect toString conversion - // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances - // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, - // of course, fail. - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - !Symbol.sham && V8_VERSION && V8_VERSION < 41; -}); - - -/***/ }), - -/***/ 5610: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toIntegerOrInfinity(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ 5854: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); - -var $TypeError = TypeError; - -// `ToBigInt` abstract operation -// https://tc39.es/ecma262/#sec-tobigint -module.exports = function (argument) { - var prim = toPrimitive(argument, 'number'); - if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint"); - // eslint-disable-next-line es/no-bigint -- safe - return BigInt(prim); -}; - - -/***/ }), - -/***/ 7696: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); -var toLength = __webpack_require__(8014); - -var $RangeError = RangeError; - -// `ToIndex` abstract operation -// https://tc39.es/ecma262/#sec-toindex -module.exports = function (it) { - if (it === undefined) return 0; - var number = toIntegerOrInfinity(it); - var length = toLength(number); - if (number !== length) throw new $RangeError('Wrong length or index'); - return length; -}; - - -/***/ }), - -/***/ 5397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(7055); -var requireObjectCoercible = __webpack_require__(7750); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ 1291: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var trunc = __webpack_require__(741); - -// `ToIntegerOrInfinity` abstract operation -// https://tc39.es/ecma262/#sec-tointegerorinfinity -module.exports = function (argument) { - var number = +argument; - // eslint-disable-next-line no-self-compare -- NaN check - return number !== number || number === 0 ? 0 : trunc(number); -}; - - -/***/ }), - -/***/ 8014: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - var len = toIntegerOrInfinity(argument); - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ 8981: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var requireObjectCoercible = __webpack_require__(7750); - -var $Object = Object; - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return $Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ 2777: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isObject = __webpack_require__(34); -var isSymbol = __webpack_require__(757); -var getMethod = __webpack_require__(5966); -var ordinaryToPrimitive = __webpack_require__(4270); -var wellKnownSymbol = __webpack_require__(8227); - -var $TypeError = TypeError; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -module.exports = function (input, pref) { - if (!isObject(input) || isSymbol(input)) return input; - var exoticToPrim = getMethod(input, TO_PRIMITIVE); - var result; - if (exoticToPrim) { - if (pref === undefined) pref = 'default'; - result = call(exoticToPrim, input, pref); - if (!isObject(result) || isSymbol(result)) return result; - throw new $TypeError("Can't convert object to primitive value"); - } - if (pref === undefined) pref = 'number'; - return ordinaryToPrimitive(input, pref); -}; - - -/***/ }), - -/***/ 6969: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); -var isSymbol = __webpack_require__(757); - -// `ToPropertyKey` abstract operation -// https://tc39.es/ecma262/#sec-topropertykey -module.exports = function (argument) { - var key = toPrimitive(argument, 'string'); - return isSymbol(key) ? key : key + ''; -}; - - -/***/ }), - -/***/ 2140: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ 655: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -var $String = String; - -module.exports = function (argument) { - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); -}; - - -/***/ }), - -/***/ 9714: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_NODE = __webpack_require__(9088); - -module.exports = function (name) { - try { - // eslint-disable-next-line no-new-func -- safe - if (IS_NODE) return Function('return require("' + name + '")')(); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 6823: -/***/ ((module) => { - - -var $String = String; - -module.exports = function (argument) { - try { - return $String(argument); - } catch (error) { - return 'Object'; - } -}; - - -/***/ }), - -/***/ 3392: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var id = 0; -var postfix = Math.random(); -var toString = uncurryThis(1.0.toString); - -module.exports = function (key) { - return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); -}; - - -/***/ }), - -/***/ 7040: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(4495); - -module.exports = NATIVE_SYMBOL - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ 8686: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); - -// V8 ~ Chrome 36- -// https://bugs.chromium.org/p/v8/issues/detail?id=3334 -module.exports = DESCRIPTORS && fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(function () { /* empty */ }, 'prototype', { - value: 42, - writable: false - }).prototype !== 42; -}); - - -/***/ }), - -/***/ 8622: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var WeakMap = global.WeakMap; - -module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); - - -/***/ }), - -/***/ 8227: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var shared = __webpack_require__(5745); -var hasOwn = __webpack_require__(9297); -var uid = __webpack_require__(3392); -var NATIVE_SYMBOL = __webpack_require__(4495); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var Symbol = global.Symbol; -var WellKnownSymbolsStore = shared('wks'); -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!hasOwn(WellKnownSymbolsStore, name)) { - WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) - ? Symbol[name] - : createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ 6573: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var defineBuiltInAccessor = __webpack_require__(2106); -var isDetached = __webpack_require__(3238); - -var ArrayBufferPrototype = ArrayBuffer.prototype; - -if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { - defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { - configurable: true, - get: function detached() { - return isDetached(this); - } - }); -} - - -/***/ }), - -/***/ 7936: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transferToFixedLength` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transferToFixedLength: function transferToFixedLength() { - return $transfer(this, arguments.length ? arguments[0] : undefined, false); - } -}); - - -/***/ }), - -/***/ 8100: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var $transfer = __webpack_require__(5636); - -// `ArrayBuffer.prototype.transfer` method -// https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer -if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { - transfer: function transfer() { - return $transfer(this, arguments.length ? arguments[0] : undefined, true); - } -}); - - -/***/ }), - -/***/ 4114: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var toObject = __webpack_require__(8981); -var lengthOfArrayLike = __webpack_require__(6198); -var setArrayLength = __webpack_require__(4527); -var doesNotExceedSafeInteger = __webpack_require__(6837); -var fails = __webpack_require__(9039); - -var INCORRECT_TO_LENGTH = fails(function () { - return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; -}); - -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError -// https://bugs.chromium.org/p/v8/issues/detail?id=12681 -var properErrorOnNonWritableLength = function () { - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).push(); - } catch (error) { - return error instanceof TypeError; - } -}; - -var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); - -// `Array.prototype.push` method -// https://tc39.es/ecma262/#sec-array.prototype.push -$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - push: function push(item) { - var O = toObject(this); - var len = lengthOfArrayLike(O); - var argCount = arguments.length; - doesNotExceedSafeInteger(len + argCount); - for (var i = 0; i < argCount; i++) { - O[len] = arguments[i]; - len++; - } - setArrayLength(O, len); - return len; - } -}); - - -/***/ }), - -/***/ 7467: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayToReversed = __webpack_require__(7628); -var ArrayBufferViewCore = __webpack_require__(4644); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; - -// `%TypedArray%.prototype.toReversed` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed -exportTypedArrayMethod('toReversed', function toReversed() { - return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); -}); - - -/***/ }), - -/***/ 4732: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var ArrayBufferViewCore = __webpack_require__(4644); -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); -var arrayFromConstructorAndList = __webpack_require__(5370); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; -var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); - -// `%TypedArray%.prototype.toSorted` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted -exportTypedArrayMethod('toSorted', function toSorted(compareFn) { - if (compareFn !== undefined) aCallable(compareFn); - var O = aTypedArray(this); - var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); - return sort(A, compareFn); -}); - - -/***/ }), - -/***/ 9577: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var arrayWith = __webpack_require__(9928); -var ArrayBufferViewCore = __webpack_require__(4644); -var isBigIntArray = __webpack_require__(1108); -var toIntegerOrInfinity = __webpack_require__(1291); -var toBigInt = __webpack_require__(5854); - -var aTypedArray = ArrayBufferViewCore.aTypedArray; -var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; -var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; - -var PROPER_ORDER = !!function () { - try { - // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing - new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); - } catch (error) { - // some early implementations, like WebKit, does not follow the final semantic - // https://github.com/tc39/proposal-change-array-by-copy/pull/86 - return error === 8; - } -}(); - -// `%TypedArray%.prototype.with` method -// https://tc39.es/ecma262/#sec-%typedarray%.prototype.with -exportTypedArrayMethod('with', { 'with': function (index, value) { - var O = aTypedArray(this); - var relativeIndex = toIntegerOrInfinity(index); - var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; - return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); -} }['with'], !PROPER_ORDER); - - -/***/ }), - -/***/ 8992: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var anInstance = __webpack_require__(679); -var anObject = __webpack_require__(8551); -var isCallable = __webpack_require__(4901); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltInAccessor = __webpack_require__(2106); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var hasOwn = __webpack_require__(9297); -var wellKnownSymbol = __webpack_require__(8227); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var CONSTRUCTOR = 'constructor'; -var ITERATOR = 'Iterator'; -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -var $TypeError = TypeError; -var NativeIterator = global[ITERATOR]; - -// FF56- have non-standard global helper `Iterator` -var FORCED = IS_PURE - || !isCallable(NativeIterator) - || NativeIterator.prototype !== IteratorPrototype - // FF44- non-standard `Iterator` passes previous tests - || !fails(function () { NativeIterator({}); }); - -var IteratorConstructor = function Iterator() { - anInstance(this, IteratorPrototype); - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); -}; - -var defineIteratorPrototypeAccessor = function (key, value) { - if (DESCRIPTORS) { - defineBuiltInAccessor(IteratorPrototype, key, { - configurable: true, - get: function () { - return value; - }, - set: function (replacement) { - anObject(this); - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); - if (hasOwn(this, key)) this[key] = replacement; - else createProperty(this, key, replacement); - } - }); - } else IteratorPrototype[key] = value; -}; - -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); - -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); -} - -IteratorConstructor.prototype = IteratorPrototype; - -// `Iterator` constructor -// https://github.com/tc39/proposal-iterator-helpers -$({ global: true, constructor: true, forced: FORCED }, { - Iterator: IteratorConstructor -}); - - -/***/ }), - -/***/ 3215: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.every` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - every: function every(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return !iterate(record, function (value, stop) { - if (!predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 8335: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var isArray = __webpack_require__(4376); -var hasOwn = __webpack_require__(9297); -var toString = __webpack_require__(655); -var lengthOfArrayLike = __webpack_require__(6198); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var parseJSONString = __webpack_require__(8235); -var NATIVE_SYMBOL = __webpack_require__(4495); - -var JSON = global.JSON; -var Number = global.Number; -var SyntaxError = global.SyntaxError; -var nativeParse = JSON && JSON.parse; -var enumerableOwnProperties = getBuiltIn('Object', 'keys'); -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); -var push = uncurryThis([].push); - -var IS_DIGIT = /^\d$/; -var IS_NON_ZERO_DIGIT = /^[1-9]$/; -var IS_NUMBER_START = /^(?:-|\d)$/; -var IS_WHITESPACE = /^[\t\n\r ]$/; - -var PRIMITIVE = 0; -var OBJECT = 1; - -var $parse = function (source, reviver) { - source = toString(source); - var context = new Context(source, 0, ''); - var root = context.parse(); - var value = root.value; - var endIndex = context.skip(IS_WHITESPACE, root.end); - if (endIndex < source.length) { - throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); - } - return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; -}; - -var internalize = function (holder, name, reviver, node) { - var val = holder[name]; - var unmodified = node && val === node.value; - var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; - var elementRecordsLen, keys, len, i, P; - if (isObject(val)) { - var nodeIsArray = isArray(val); - var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; - if (nodeIsArray) { - elementRecordsLen = nodes.length; - len = lengthOfArrayLike(val); - for (i = 0; i < len; i++) { - internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); - } - } else { - keys = enumerableOwnProperties(val); - len = lengthOfArrayLike(keys); - for (i = 0; i < len; i++) { - P = keys[i]; - internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); - } - } - } - return call(reviver, holder, name, val, context); -}; - -var internalizeProperty = function (object, key, value) { - if (DESCRIPTORS) { - var descriptor = getOwnPropertyDescriptor(object, key); - if (descriptor && !descriptor.configurable) return; - } - if (value === undefined) delete object[key]; - else createProperty(object, key, value); -}; - -var Node = function (value, end, source, nodes) { - this.value = value; - this.end = end; - this.source = source; - this.nodes = nodes; -}; - -var Context = function (source, index) { - this.source = source; - this.index = index; -}; - -// https://www.json.org/json-en.html -Context.prototype = { - fork: function (nextIndex) { - return new Context(this.source, nextIndex); - }, - parse: function () { - var source = this.source; - var i = this.skip(IS_WHITESPACE, this.index); - var fork = this.fork(i); - var chr = at(source, i); - if (exec(IS_NUMBER_START, chr)) return fork.number(); - switch (chr) { - case '{': - return fork.object(); - case '[': - return fork.array(); - case '"': - return fork.string(); - case 't': - return fork.keyword(true); - case 'f': - return fork.keyword(false); - case 'n': - return fork.keyword(null); - } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - }, - node: function (type, value, start, end, nodes) { - return new Node(value, end, type ? null : slice(this.source, start, end), nodes); - }, - object: function () { - var source = this.source; - var i = this.index + 1; - var expectKeypair = false; - var object = {}; - var nodes = {}; - while (i < source.length) { - i = this.until(['"', '}'], i); - if (at(source, i) === '}' && !expectKeypair) { - i++; - break; - } - // Parsing the key - var result = this.fork(i).string(); - var key = result.value; - i = result.end; - i = this.until([':'], i) + 1; - // Parsing value - i = this.skip(IS_WHITESPACE, i); - result = this.fork(i).parse(); - createProperty(nodes, key, result); - createProperty(object, key, result.value); - i = this.until([',', '}'], result.end); - var chr = at(source, i); - if (chr === ',') { - expectKeypair = true; - i++; - } else if (chr === '}') { - i++; - break; - } - } - return this.node(OBJECT, object, this.index, i, nodes); - }, - array: function () { - var source = this.source; - var i = this.index + 1; - var expectElement = false; - var array = []; - var nodes = []; - while (i < source.length) { - i = this.skip(IS_WHITESPACE, i); - if (at(source, i) === ']' && !expectElement) { - i++; - break; - } - var result = this.fork(i).parse(); - push(nodes, result); - push(array, result.value); - i = this.until([',', ']'], result.end); - if (at(source, i) === ',') { - expectElement = true; - i++; - } else if (at(source, i) === ']') { - i++; - break; - } - } - return this.node(OBJECT, array, this.index, i, nodes); - }, - string: function () { - var index = this.index; - var parsed = parseJSONString(this.source, this.index + 1); - return this.node(PRIMITIVE, parsed.value, index, parsed.end); - }, - number: function () { - var source = this.source; - var startIndex = this.index; - var i = startIndex; - if (at(source, i) === '-') i++; - if (at(source, i) === '0') i++; - else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); - else throw new SyntaxError('Failed to parse number at: ' + i); - if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i); - if (at(source, i) === 'e' || at(source, i) === 'E') { - i++; - if (at(source, i) === '+' || at(source, i) === '-') i++; - var exponentStartIndex = i; - i = this.skip(IS_DIGIT, i); - if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i); - } - return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); - }, - keyword: function (value) { - var keyword = '' + value; - var index = this.index; - var endIndex = index + keyword.length; - if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index); - return this.node(PRIMITIVE, value, index, endIndex); - }, - skip: function (regex, i) { - var source = this.source; - for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; - return i; - }, - until: function (array, i) { - i = this.skip(IS_WHITESPACE, i); - var chr = at(this.source, i); - for (var j = 0; j < array.length; j++) if (array[j] === chr) return i; - throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - } -}; - -var NO_SOURCE_SUPPORT = fails(function () { - var unsafeInt = '9007199254740993'; - var source; - nativeParse(unsafeInt, function (key, value, context) { - source = context.source; - }); - return source !== unsafeInt; -}); - -var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { - // Safari 9 bug - return 1 / nativeParse('-0 \t') !== -Infinity; -}); - -// `JSON.parse` method -// https://tc39.es/ecma262/#sec-json.parse -// https://github.com/tc39/proposal-json-parse-with-source -$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { - parse: function parse(text, reviver) { - return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); - } -}); - - -/***/ }), - -/***/ 4979: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var createPropertyDescriptor = __webpack_require__(6980); -var defineProperty = (__webpack_require__(4913).f); -var hasOwn = __webpack_require__(9297); -var anInstance = __webpack_require__(679); -var inheritIfRequired = __webpack_require__(3167); -var normalizeStringArgument = __webpack_require__(2603); -var DOMExceptionConstants = __webpack_require__(5002); -var clearErrorStack = __webpack_require__(6193); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var DOM_EXCEPTION = 'DOMException'; -var Error = getBuiltIn('Error'); -var NativeDOMException = getBuiltIn(DOM_EXCEPTION); - -var $DOMException = function DOMException() { - anInstance(this, DOMExceptionPrototype); - var argumentsLength = arguments.length; - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); - var that = new NativeDOMException(message, name); - var error = new Error(message); - error.name = DOM_EXCEPTION; - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); - inheritIfRequired(that, this, $DOMException); - return that; -}; - -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; - -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); - -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it -// https://github.com/Jarred-Sumner/bun/issues/399 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); - -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; - -// `DOMException` constructor patch for `.stack` where it's required -// https://webidl.spec.whatwg.org/#es-DOMException-specialness -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException -}); - -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; - -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { - if (!IS_PURE) { - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); - } - - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { - var constant = DOMExceptionConstants[key]; - var constantName = constant.s; - if (!hasOwn(PolyfilledDOMException, constantName)) { - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); - } - } -} - - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/************************************************************************/ -var __webpack_exports__ = globalThis.pdfjsSandbox = {}; -// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. -(() => { - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - QuickJSSandbox: () => (/* binding */ QuickJSSandbox) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.detached.js -var es_array_buffer_detached = __webpack_require__(6573); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer.js -var es_array_buffer_transfer = __webpack_require__(8100); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array-buffer.transfer-to-fixed-length.js -var es_array_buffer_transfer_to_fixed_length = __webpack_require__(7936); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-reversed.js -var es_typed_array_to_reversed = __webpack_require__(7467); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.to-sorted.js -var es_typed_array_to_sorted = __webpack_require__(4732); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.typed-array.with.js -var es_typed_array_with = __webpack_require__(9577); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.every.js -var esnext_iterator_every = __webpack_require__(3215); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.json.parse.js -var esnext_json_parse = __webpack_require__(8335); -// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-exception.stack.js -var web_dom_exception_stack = __webpack_require__(4979); -;// CONCATENATED MODULE: ./external/quickjs/quickjs-eval.js -var Module=(()=>{var _scriptDir=typeof document!=='undefined'&&document.currentScript?document.currentScript.src:undefined;return function(moduleArg={}){var d=moduleArg,k,n;d.ready=new Promise((a,b)=>{k=a;n=b;});var p=Object.assign({},d),q="";"undefined"!=typeof document&&document.currentScript&&(q=document.currentScript.src);_scriptDir&&(q=_scriptDir);q.startsWith("blob:")?q="":q=q.substr(0,q.replace(/[?#].*/,"").lastIndexOf("/")+1);var aa=d.print||console.log.bind(console),u=d.printErr||console.error.bind(console);Object.assign(d,p);p=null;var v;d.wasmBinary&&(v=d.wasmBinary);"object"!=typeof WebAssembly&&w("no native wasm support detected");var x,y=!1,z,A,B,C;function D(){var a=x.buffer;d.HEAP8=z=new Int8Array(a);d.HEAP16=new Int16Array(a);d.HEAPU8=A=new Uint8Array(a);d.HEAPU16=new Uint16Array(a);d.HEAP32=B=new Int32Array(a);d.HEAPU32=C=new Uint32Array(a);d.HEAPF32=new Float32Array(a);d.HEAPF64=new Float64Array(a);}var E=[],F=[],G=[];function ba(){var a=d.preRun.shift();E.unshift(a);}var H=0,I=null,J=null;function w(a){d.onAbort?.(a);a="Aborted("+a+")";u(a);y=!0;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");n(a);throw a;}var K=a=>a.startsWith("data:application/octet-stream;base64,"),L;L="data:application/octet-stream;base64,AGFzbQEAAAABzgZtYAJ/fwBgA39/fwF/YAR/fn9/AX5gAn9/AX9gBX9+f39/AX5gAX8Bf2ADf39/AGAEf39/fwF/YAJ/fgF+YAF/AGABfAF8YAV/f39/fwF/YAJ/fgBgAn9+AX9gAn9/AX5gA39/fgF/YAN/fn8BfmAGf35/f39/AX5gA39+fwBgA39+fwF/YAZ/f39/f38Bf2AEf39/fwBgBn9+fn9/fwF+YAR/f35/AX9gA39+fgF+YAN/f38BfmADf35+AX9gBH9/f38BfmAFf35+fn4AYAJ8fAF8YAF/AX5gBH9/f34Bf2AFf35+f38BfmAFf39/f38AYAd/fn9+fn5/AX9gBX9/f35+AX9gB39/f39/f38Bf2AAAGAFf35/fn8Bf2AEf35+fwBgBH9+fn8BfmAFf35+fn8Bf2AFf39/f38BfmAEf39+fgF/YAF+AX9gBH9+f34BfmAEf35/fwBgBH9+fn8Bf2AJf39/f39/f39/AX9gCH9/f39/f39/AX9gA39+fgBgBH9+f38Bf2AGf35/fn5/AX9gBX9+fn9/AGABfgF+YAd/fn9/f39/AX5gAX8BfGADf39+AGAEf35/fgF/YAV/f35/fwF/YAR/fn5+AX9gBn9/f39/fwF+YAN+f38Bf2AHf39/f39/fwBg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GCyADKQMIIgRCgICAgAh8Qv////8PWARAIARC/////w+DIQQMBQtCgICAgMB+IAS5vSIEQoCAgIDAgYD8/wB9IARC////////////AINCgICAgICAgPj/AFYbIQQMBAtCgICAgMB+IAMpAwgiBEKAgICAwIGA/P8AfSAEQv///////////wCDQoCAgICAgID4/wBWGyEEDAMLIAAgASAGQQIgAyAHEIADGgwDCxABAAsgAzUCCCEECyAAIAEgBiAEIAcQFRoLIAAgBhAQIApBAWohCgwBCwsgCUHgAGokAAuMAgICfgF/AkACQAJAAkACQAJAAkACQAJAQQcgAUIgiKciBCAEQQdrQW5JG0EKag4SAgAGBAAAAAAAAQMFAAAAAAEDAAsgAEGbHkEAEBJCgICAgOAADwsgBEF1SQ0GIAGnIgAgACgCAEEBajYCAAwGCyAAQSEQhgEhAgwECyAAQQQQhgEhAgwDCyAAIABBBRCGASICQTAgAacpAgRC/////weDQQAQFRoMAgsgAEEGEIYBIQIMAQsgAEEHEIYBIQILQoCAgIDgACEDIAJCgICAgHCDQoCAgIDgAFIEfiAEQXVPBEAgAaciBCAEKAIAQQFqNgIACyAAIAIgARC9ASACBUKAgICA4AALDwsgAQsyAQF/AkAgAUIgiKdBdUkNACABpyICIAIoAgAiAkEBazYCACACQQFKDQAgACABEJcFCwsLACAAQeweQQAQEgujBAELfyAAKAIAIQUjAEEQayIIIAI2AgxBfyEJAkADQAJAIAggAiIDQQRqIgI2AgwgAygCACIHQX9GDQAgACgCBCEKA0AgASIEIApODQMgBCAEIAVqIgwtAAAiBkECdEHgrgFqIg0tAABqIgEgCkoNAyAGQcYBRgRAIAwoAAEhCQwBCwsgBiAHRwRAIAdBGHYgBkYgBiAHQRB2Qf8BcUZyIAYgB0H/AXFGckUgBiAHQQh2Qf8BcUdxIAZFIAdBgAJJcnINAyAAIAY2AhALIARBAWohBAJAAkACQAJAAkACQAJAAkAgDS0AA0EFaw4YAAkACQkBCQkBCQkBAQECAgICBAUGBwkDCQsgBCAFai0AACEEIAggA0EIaiICNgIMIAMoAgQiA0F/RgRAIAAgBDYCFAwJCyADIARGDQgMCQsgBCAFai8AACEEIAggA0EIaiICNgIMIAMoAgQiA0F/RgRAIAAgBDYCFAwICyADIARGDQcMCAsgACAEIAVqKAAANgIYDAYLIAAgBCAFaiIDKAAANgIYIAAgAy8ABDYCHAwFCyAAIAQgBWooAAA2AiAMBAsgACAEIAVqIgMoAAA2AiAgACADLQAENgIcDAMLIAAgBCAFaiIDKAAANgIgIAAgAy8ABDYCHAwCCyAAIAQgBWoiAygAADYCICAAIAMoAAQ2AhggACADLQAINgIcDAELCyAAIAk2AgwgACABNgIIQQEhCwsgCwskAQF/IAAoAhAiAkEQaiABIAIoAgARAwAiAUUEQCAAEHALIAELCwAgACABQQAQjQQLJwEBfyMAQRBrIgIkACACIAE7AQ4gACACQQ5qQQIQchogAkEQaiQAC9QBAgR/An5BfyECAkACQAJAAkACQAJAAkAgAUIgiKciA0EKag4RAwUFAgUFBQUFBAABAQEFBQYFCyABp0EARw8LIAGnDwsgAacpAgQhByAAIAEQDCAHQv////8Hg0IAUg8LIAGnKAIMIQQgACABEAwgBEH/////B2pBfkkPCyABpywABSEFIAAgARAMIAVBAE4PCyADQQdrQW1NBEAgAUKAgICAwIGA/P8AfEL///////////8Ag0IBfUKAgICAgICA+P8AVA8LIAAgARAMQQEhAgsgAgs/AQJ/IwBBEGsiAiQAAn8gASAAKAIQRwRAIAIgATYCACAAQcyQASACEBNBfwwBCyAAEA8LIQMgAkEQaiQAIAMLCwAgACABQQEQ6QULGQAgAEEAEFAaIABCgICAgPD/////ADcCBAvDCgIFfxF+IwBB4ABrIgUkACAEQv///////z+DIQwgAiAEhUKAgICAgICAgIB/gyEKIAJC////////P4MiDUIgiCEOIARCMIinQf//AXEhBwJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAdB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiC0KAgICAgIDA//8AVCALQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQoMAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhCiADIQEMAgsgASALQoCAgICAgMD//wCFhFAEQCACIAOEUARAQoCAgICAgOD//wAhCkIAIQEMAwsgCkKAgICAgIDA//8AhCEKQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAIAEgC4QhGUIAIQEgGVAEQEKAgICAgIDg//8AIQoMAwsgCkKAgICAgIDA//8AhCEKDAILIAEgC4RQBEBCACEBDAILIAIgA4RQBEBCACEBDAILIAtC////////P1gEQCAFQdAAaiABIA0gASANIA1QIgYbeSAGQQZ0rXynIgZBD2sQYkEQIAZrIQYgBSkDWCINQiCIIQ4gBSkDUCEBCyACQv///////z9WDQAgBUFAayADIAwgAyAMIAxQIggbeSAIQQZ0rXynIghBD2sQYiAGIAhrQRBqIQYgBSkDSCEMIAUpA0AhAwsgA0IPhiILQoCA/v8PgyICIAFCIIgiBH4iECALQiCIIhMgAUL/////D4MiAX58Ig9CIIYiESABIAJ+fCILIBFUrSACIA1C/////w+DIg1+IhUgBCATfnwiESAMQg+GIhIgA0IxiIRC/////w+DIgMgAX58IhQgDyAQVK1CIIYgD0IgiIR8Ig8gAiAOQoCABIQiDH4iFiANIBN+fCIOIBJCIIhCgICAgAiEIgIgAX58IhAgAyAEfnwiEkIghnwiF3whASAHIAlqIAZqQf//AGshBgJAIAIgBH4iGCAMIBN+fCIEIBhUrSAEIAQgAyANfnwiBFatfCACIAx+fCAEIAQgESAVVK0gESAUVq18fCIEVq18IAMgDH4iAyACIA1+fCICIANUrUIghiACQiCIhHwgBCACQiCGfCICIARUrXwgAiACIBAgElatIA4gFlStIA4gEFatfHxCIIYgEkIgiIR8IgJWrXwgAiACIA8gFFStIA8gF1atfHwiAlatfCIEQoCAgICAgMAAg1BFBEAgBkEBaiEGDAELIAtCP4ghGiAEQgGGIAJCP4iEIQQgAkIBhiABQj+IhCECIAtCAYYhCyAaIAFCAYaEIQELIAZB//8BTgRAIApCg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AAoAhAiAEEQaiABIAAoAgQRAAALCywBAX8gACgCECICQRBqIAEgAigCABEDACICBEAgAkEAIAEQLA8LIAAQcCACC20BAX8jAEGAAmsiBSQAIARBgMAEcSACIANMckUEQCAFIAFB/wFxIAIgA2siA0GAAiADQYACSSIBGxAsGiABRQRAA0AgACAFQYACEFcgA0GAAmsiA0H/AUsNAAsLIAAgBSADEFcLIAVBgAJqJAALvgECAn4BfwJAAkAgAUKAgICAcINCgICAgDBRBEAgACgCKCACQQN0aikDACIDQiCIp0F0Sw0BDAILIAAgAUE8IAFBABARIgNCgICAgHCDQoCAgIDgAFEEQCADDwsgA0L/////b1YNASAAIAMQDCAAIAEQ/AIiBUUEQEKAgICA4AAPCyAFKAIoIAJBA3RqKQMAIgNCIIinQXVJDQELIAOnIgUgBSgCAEEBajYCAAsgACADIAIQRyEEIAAgAxAMIAQLDAAgAEHZ6gBBABASCw0AIAAgASABED0Q6gELdQEBfiAAIAEgBH4gAiADfnwgA0IgiCICIAFCIIgiBH58IANC/////w+DIgMgAUL/////D4MiAX4iBUIgiCADIAR+fCIDQiCIfCABIAJ+IANC/////w+DfCIBQiCIfDcDCCAAIAVC/////w+DIAFCIIaENwMAC1ABAX4CQCADQcAAcQRAIAEgA0FAaq2GIQJCACEBDAELIANFDQAgAiADrSIEhiABQcAAIANrrYiEIQIgASAEhiEBCyAAIAE3AwAgACACNwMIC2QAAkACQCABQQBIDQAgACgCrAIgAUwNACAAKAKkAiABQRRsaiIAIAAoAgAgAmoiADYCACAAQQBIDQEgAA8LQdwXQajsAEHzpwFBr8MAEAAAC0HphQFBqOwAQfanAUGvwwAQAAALcAECfyAEIAMoAgBKBH8jAEEQayIFJAAgACABKAIAIAQgAygCAEEDbEECbSIAIAAgBEgbIgAgAmwgBUEMahCnASIEBH8gAyAFKAIMIAJuIABqNgIAIAEgBDYCAEEABUF/CyEGIAVBEGokACAGBUEACwsLACAAIAFBARDaBQtjAQF/IAJCIIinQXVPBEAgAqciBiAGKAIAQQF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CgICAgICAIIQhBAwCCyABIApCgICAgICAwP//AIWEUARAQoCAgICAgOD//wAgAiABIAOFIAIgBIVCgICAgICAgICAf4WEUCIFGyEEQgAgASAFGyEDDAILIAMgCUKAgICAgIDA//8AhYRQDQEgASAKhFAEQCADIAmEQgBSDQIgASADgyEDIAIgBIMhBAwCCyADIAmEUEUNACABIQMgAiEEDAELIAMgASABIANUIAkgClYgCSAKURsiCBshCiAEIAIgCBsiDEL///////8/gyEJIAIgBCAIGyILQjCIp0H//wFxIQcgDEIwiKdB//8BcSIFRQRAIAZB4ABqIAogCSAKIAkgCVAiBRt5IAVBBnStfKciBUEPaxBiIAYpA2ghCSAGKQNgIQpBECAFayEFCyABIAMgCBshAyALQv///////z+DIQEgBwR+IAEFIAZB0ABqIAMgASADIAEgAVAiBxt5IAdBBnStfKciB0EPaxBiQRAgB2shByAGKQNQIQMgBikDWAtCA4YgA0I9iIRCgICAgICAgASEIQEgCUIDhiAKQj2IhCENIAIgBIUhBAJ+IANCA4YiAiAFIAdGDQAaIAUgB2siB0H/AEsEQEIAIQFCAQwBCyAGQUBrIAIgAUGAASAHaxBiIAZBMGogAiABIAcQjQIgBikDOCEBIAYpAzAgBikDQCAGKQNIhEIAUq2ECyEJIA1CgICAgICAgASEIQsgCkIDhiEKAkAgBEIAUwRAQgAhA0IAIQQgCSAKhSABIAuFhFANAiAKIAl9IQIgCyABfSAJIApWrX0iBEL/////////A1YNASAGQSBqIAIgBCACIAQgBFAiBxt5IAdBBnStfKdBDGsiBxBiIAUgB2shBSAGKQMoIQQgBikDICECDAELIAkgCnwiAiAJVK0gASALfHwiBEKAgICAgICACINQDQAgCUIBgyAEQj+GIAJCAYiEhCECIAVBAWohBSAEQgGIIQQLIAxCgICAgICAgICAf4MhAyAFQf//AU4EQCADQoCAgICAgMD//wCEIQRCACEDDAELQQAhBwJAIAVBAEoEQCAFIQcMAQsgBkEQaiACIAQgBUH/AGoQYiAGIAIgBEEBIAVrEI0CIAYpAwAgBikDECAGKQ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gCACABEAwgAw8LIAAgAaciAEEAIAAoAgRB/////wdxEEsLC54CAgN/AX4gAiABKQIEIgenQf////8HcSADR3JFBEAgASABKAIAQQFqNgIAIAGtQoCAgICQf4QPCyABQRBqIQUgB0KAgICACINQIAMgAmsiBEEATHJFBEAgAyACIAIgA0gbIQZBACEDIAIhAQNAIAEgBkZFBEAgBSABQQF0ai8BACADciEDIAFBAWohAQwBCwsgA0H//wNxQYACTwRAIAAgBSACQQF0aiAEEJIDDwtBACEBIAAgBEEAEOkBIgBFBEBCgICAgOAADwsgAEEQaiEDA0AgASAERkUEQCABIANqIAUgASACakEBdGotAAA6AAAgAUEBaiEBDAELCyADIARqQQA6AAAgAK1CgICAgJB/hA8LIAAgAiAFaiAEEJwDC0QBAn8CQCAAQoCAgIBwVA0AIACnIgMvAQZBAkcNACADLQAFQQhxRQ0AIAIgAygCKDYCACABIAMoAiQ2AgBBASEECyAEC9UBAgJ/A34CfyACRQRAQoCAgIAwIQVBAAwBCyAAKAIQIgMpA4ABIQUgA0KAgICAIDcDgAFBfwshAwJAIAAgAUEGIAFBABARIgdCgICAgHCDIgZCgICAgCBRIAZCgICAgDBRckUEQEF/IQQgBkKAgICA4ABRDQEgACAHIAFBAEEAEDYhAQJ/IAMgAg0AGkF/IAFCgICAgHCDQoCAgIDgAFENABogAyABQv////9vVg0AGiAAECJBfwshBCAAIAEQDAwBCyADIQQLIAIEQCAAIAUQmAELIAQLxQECAX4CfyMAQRBrIgUkAEKAgICA4AAhBAJAAkAgACABIAJBAEEAIAVBDGoQkQUiAUKAgICAcINCgICAgOAAUQ0AIAUoAgwiBkECRwRAIAMgBjYCACABIQQMAgsgACABQeoAIAFBABARIgJCgICAgHCDQoCAgIDgAFENACADIAAgAhAnIgM2AgBCgICAgDAhBCADRQRAIAAgAUHBACABQQAQESEECyAAIAEQDAwBCyAAIAEQDCADQQA2AgALIAVBEGokACAEC4gDAgJ+An8jAEEQayIGJAACQCABQoCAgIBwVARAIAEhAwwBCyACQW9x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EK0CIgMgACAHQQhqIAIQrQIiBRC9AiEEIAMgBkYEQCAGEBkLIAUgB0EIaiIDRw0AIAMQGQsgACABEAwgACACEAwLIAdBMGokACAECy8BAX8jAEHQAGsiAyQAIAMgACADQRBqIAEQgQE2AgAgACACIAMQEiADQdAAaiQACw0AIAAgASABED0QnQMLHQEBfyAAIAFB/wFxEA4gACgCBCEDIAAgAhAbIAMLEgAgACABIAIgAyAEQZQDELEDC1IBAX8gACgCDCIDRQRAQQAPCyAAIAAoAghB/////wNBgYCAgHwgASABQYGAgIB8TBsiASABQf////8DThtqNgIIIABB/////wMgAiADQQAQ3AILHwEBfyAAKAIMIgNFBEBBAA8LIAAgASACIANBABDcAgsgACABQgA3AgwgAUKAgICAgICAgIB/NwIEIAEgADYCAAtmAQF/An9BACAAKAIIIgIgAU8NABpBfyAAKAIMDQAaIAAoAhQgACgCACACQQNsQQF2IgIgASABIAJJGyIBIAAoAhARAQAiAkUEQCAAQQE2AgxBfw8LIAAgATYCCCAAIAI2AgBBAAsLZwECfwJAIAFCgICAgHBUDQAgAaciAy8BBkEEayIEQR1LQQEgBHRBz4CAgAJxRXINACAAIAMpAyAQDCADIAI3AyAPCyAAIAIQDCABQoCAgIBwg0KAgICA4ABSBEAgAEHu0gBBABASCwshAQF/IAAgASAAIAIQtgEiAiADIAQQFSEFIAAgAhAQIAULRwIBfgF/IAApA8ABIQQgAUIgiKdBdU8EQCABpyIFIAUoAgBBAWo2AgALIAAgBCACIAFBAxC+ARogACABIAMQrAQgACABEAwLhAEBAX8CQCACRSABQoCAgIBwg0KAgICAkH9SckUEQCABpyIDIAMoAgBBAWo2AgBBBCECIAAoAgAgAxCRBCIDQQBKDQELIAFCIIinQXVPBEAgAaciAiACKAIAQQFqNgIAC0ECIQIgACABEMcDIgNBAE4NAEF/DwsgACACEA0gACADEDhBAAv8AgACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAFBxwBrDgQBDQ0CAAsgAUE8RwRAIAFBvwF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AIsIAYoAjQgBigCPEEBIAwQwQELIAAoAhBB3QBGDQAgB0Glf0YEQEGQ0wAhCAwECyAAQSwQKEUNAQwFCwsgAEGFARANIAAoAkAiASABKAKwAigCADYCsAIgABAPDQMLAkAgBUUNACAAKAIQQT1HDQBBfyEHIABB7ABBfxAYIQEgABAPDQQgACAKEBogAwRAIABBDhANCyAAEFMNBCAAQewAIAsQGBogACABEBpBASEHDAQLIANFBEAgAEHDPUEAEBMMAwsgACgCQCgCgAIgDWpBswEgDiANaxAsGiAAKAJAKAKkAiAKQRRsaiIAIAAoAgBBAWs2AgBBACEHDAMLIAAgCEEAEBMMAQsgACgCACAGKAI0EBALQX8hBwsgBkFAayQAIAcLKwAgACgCQCgCpAFBAE4EQCAAQQYQDSAAQdkAEA0gACAAKAJALwGkARAUCwsTACAAIAEgAiADIARBAEEAEN0BC6YBAQF/IwBBEGsiAyQAIAMgAjcDCAJAIAAgAUGHASABQQAQESICQoCAgIBwg0KAgICA4ABRDQAgACACEDUEQCAAIAIgAUEBIANBCGoQNiICQv////9vViACQoCAgICwf4NCgICAgCBRcg0BIAAgAhAMIABBpcEAQQAQEkKAgICA4AAhAgwBCyAAIAIQDCAAIAEgACADQQhqEIoFIQILIANBEGokACACC6MBAgN/AX4gAEEQaiECIAEoAgAiBEEBaiEDAkAgACkCBCIFQoCAgIAIg1BFBEAgAiAEQQF0ai8BACIAQYD4A3FBgLADRyADIAWnQf////8HcU5yDQEgAiADQQF0ai8BACICQYD4A3FBgLgDRw0BIABBCnRBgPg/cSACQf8HcXJBgIAEaiEAIARBAmohAwwBCyACIARqLQAAIQALIAEgAzYCACAACxIAIAFB2AFOBEAgACABEIYFCwthACAAIAEgAkKAgICACHxC/////w9YBH4gAkL/////D4MFQoCAgIDAfiACub0iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsgAyAEQQdyEJQBCzkAIABB/wBNBEAgAEEDdkH8////AXFBsP8BaigCACAAdkEBcQ8LIABBfnFBjMA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IQRBrIgcpAwAhNSAHIAhBGGsiBykDADcDACAGIDU3AwAgAUIgiKdBdU8EQCABpyIGIAYoAgBBAWo2AgALIAcgATcDACAIQQhqIQcM2wELIAggCEEIayIGKQMAIgE3AwAgCEEQayIHKQMAITUgByAIQRhrIgcpAwA3AwAgBiA1NwMAIAcgCEEgayIGKQMANwMAIAFCIIinQXVPBEAgAaciByAHKAIAQQFqNgIACyAGIAE3AwAgCEEIaiEHDNoBCyAIQRBrIgYpAwAhASAGIAhBGGsiBikDADcDACAGIAE3AwAM0wELIAhBGGsiBikDACEBIAYgCEEQayIGKQMANwMAIAhBCGsiBykDACE1IAcgATcDACAGIDU3AwAM0gELIAhBIGsiBikDACEBIAYgCEEYayIGKQMANwMAIAhBEGsiBykDACE1IAcgCEEIayIHKQMANwMAIAYgNTcDACAHIAE3AwAM0QELIAhBKGsiBikDACEBIAYgCEEgayIGKQMANwMAIAhBGGsiBykDACE1IAcgCEEQayIHKQMANwMAIAYgNTcDACAHIAhBCGsiBikDADcDACAGIAE3AwAM0AELIAhBCGsiBikDACEBIAYgCEEQayIGKQMANwMAIAhBGGsiBykDACE1IAcgATcDACAGIDU3AwAMzwELIAhBEGsiBikDACEBIAYgCEEYayIGKQMANwMAIAhBIGsiBykDACE1IAcgATcDACAGIDU3AwAMzgELIAhBEGsiBikDACEBIAYgCEEYayIGKQMANwMAIAhBIGsiBykDACE1IAcgCEEoayIHKQMANwMAIAYgNTcDACAHIAE3AwAMzQELIAhBCGsiBikDACEBIAYgCEEQayIGKQMANwMAIAYgATcDAAzMAQsgCEEgayIGKQMAIQEgBiAIQRBrIgYpAwA3AwAgCEEIayIHKQMAITUgByAIQRhrIgcpAwA3AwAgBiABNwMAIAcgNTcDAAzLAQsgEigCNCAMKAAAQQN0aikDACIBQiCIp0F1TwRAIAGnIgcgBygCAEEBajYCAAsgCCAJIAEgEyAUEIAEIgE3AwAgCEEIaiEHIAZBBWohDCABQoCAgIBwg0KAgICA4ABSDdABDNIBCyAKQe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DgAFENbCAHKQMAITUCfiAKQQJxBEAgCSABIDVBAEEAEDYMAQsgCSABIDVBASAIQQhrEDYLIgFCgICAgHCDQoCAgIDgAFENbCAJIAhBCGsiBikDABAMIAYgATcDAEKAgICAEAs3AwAgCEEIaiEHDGcLAn8gCEEIayIGKQMAIgFC/////z9YBEAgAadBAEcMAQsgCSABECcLIQcgBiAHRa1CgICAgBCENwMADGALIAZBBWohDCAJIAhBCGsiBykDACIBIAYoAAEgAUEAEBEiAUKAgICAcINCgICAgOAAUQ1pIAkgBykDABAMIAcgATcDAAxfCyAGQQVqIQwgCSAIQQhrKQMAIgEgBigAASABQQAQESIBQoCAgIBwg0KAgICA4ABRDWggCCABNwMAIAhBCGohBwxkCyAJIAhBEGsiBykDACIBIAYoAAEgCEEIaykDACABQYCAAhDQASEsIAkgBykDABAMIAZBBWohDCAsQQBODWMMTwsgBkEFaiEMIAkgBigAARDNBSIBQoCAgIBwg0KAgICA4ABRDWYgCCABNwMAIAhBCGohBwxiCyAIQQhrIQcCQCAIQRBrIgopAwAiAUL/////b1gEQCAJECJCgICAgOAAITUMAQsgBykDACI1QoCAgIBwg0KAgICAgH9SBEAgCRD8A0KAgICA4AAhNQwBCyAJIDUQiAIhCCABpyINKAIQIgtBMGohDyALIAggCygCGHFBf3NBAnRqKAIAIQsCQANAIAsEQCAPIAtBAWtBA3QiC2oiECgCBCAIRg0CIBAoAgBB////H3EhCwwBCwsgCSAIEMcFQoCAgIDgACE1DAELIA0oAhQgC2opAwAiNUIgiKdBdUkNACA1pyIIIAgoAgBBAWo2AgALIAkgBykDABAMIAkgCikDABAMIAogNTcDACA1QoCAgIBwg0KAgICA4ABSDWEMTQsgCEEQaykDACEBIAhBCGshCgJAAkAgCEEYayIHKQMAIjVC/////29YBEAgCRAiDAELIAopAwAiNkKAgICAcINCgICAgIB/UgRAIAkQ/AMMAQsgCSA2EIgCIQggNaciDSgCECILQTBqIQ8gCyAIIAsoAhhxQX9zQQJ0aigCACELA0AgCwRAIA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IAcgAUKAgICAwIGA/P8AfDcDACAHIDVCgICAgMCBgPz/AHw3AwgMAQsgCSA1EGUiNUKAgICAcINCgICAgOAAUQ0FIAkgARBlIgFCgICAgHCDQoCAgIDgAFEEQCA1IQEMBgtBByABQiCIpyIPIA9BB2tBbkkbIg9BByA1QiCIpyIQIBBBB2tBbkkbIhByRQRAIAGnIQ0gNachDyALAn4CQAJAAkACQAJAAkACQAJAIApBmwFrDgYAAQILBAMLCyABxCA1xH4iAUIAUg0EIA0gD3JBAE4NBSALQoCAgIDA/v8DNwMADA0LIAtCgICAgMB+IA+3IA23o70iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGzcDAAwMCyANQQBKIA9BAE5xRQRAIAsCfiAPtyANtxCZBCI8vSIBAn8gPJlEAAAAAAAA4EFjBEAgPKoMAQtBgICAgHgLIgq3vVEEQCAKrQwBC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGws3AwAMDAsgDyANcK0hAQwCCyAPtyE8IAsCfgJ8IA23Ij29QoCAgICAgID4/wCDQoCAgICAgID4/wBRBEBEAAAAAAAA+H8gPJlEAAAAAAAA8D9hDQEaCyA8ID0QowMLIjy9IgECfyA8mUQAAAAAAADgQWMEQCA8qgwBC0GAgICAeAsiCre9UQRAIAqtDAELQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbCzcDAAwKCyA1xCABxH0hAQsgAUKAgICACHxC/////w9WDQEgASE2CyA2Qv////8PgwwBC0KAgICAwH4gAbm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLNwMADAULIBBBdkcgD0F2R3FFBEAgCSAKIAsgNSABIAkoAhAoAqwCESMADQcMBQsgCSAHQQhqIDUQbQ0FIAkgByABEG0NBgsCQAJAAkACQCAKQZsBaw4GAAECBAUDBAsgBysDCCAHKwMAogwFCyAHKwMIIAcrAwCjDAQLIAcrAwggBysDABCZBAwDCyAHKwMIITwgBysDACI9vUKAgICAgICA+P8Ag0KAgICAgICA+P8AUQRARAAAAAAAAPh/IDyZRAAAAAAAAPA/YQ0DGgsgPCA9EKMDDAILEAEACyAHKwMIIAcrAwChCyE8IAtCgICAgMB+IDy9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhs3AwALQQAMAgsgCSABEAwLIAtCgICAgDA3AwAgDUKAgICAMDcDAEF/CyEwIAdBEGokACAwDUsgCEEIayEHDEcLIAhBBGsoAgAiB0UgB0EHa0FuSXINQCAIIQcgCSAIQY4BEOEBRQ1GDEoLAkACfCAIQQhrIgcpAwAiAUIgiKciCkUEQEQAAAAAAAAAgCABpyIGRQ0BGkQAAAAAAADgQSAGQYCAgIB4Rg0BGiAHQgAgAX1C/////w+DNwMADEILIApBB2tBbUsNASABQoCAgIDA/v8Dfb8LITwgB0KAgICAwH4gPL0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGzcDAAxACyAIIQcgCSAIQY0BEOEBRQ1FDEkLIAhBCGsiBykDACIBQv////8PViABQv////8HUXJFBEAgByABQgF8Qv////8PgzcDAAw/CyAIIQcgCSAIQZABEOEBRQ1EDEgLIAhBCGsiBykDACIBQv////8PViABQoCAgIAIUXJFBEAgByABQgF9Qv////8PgzcDAAw+CyAIIQcgCSAIQY8BEOEBRQ1DDEcLIAkgCEEIayIHKQMAEGUiAUKAgICAcINCgICAgOAAUQRAIAdCgICAgDA3AwAMRwsgByABNwMAIAFCIIinQXVPBEAgAaciByAHKAIAQQFqNgIACyAIIAE3AwAgCSAIQQhqIgcgCkECaxDhAUUNQgxGCyAGQQJqIQwgESAGLQABQQN0aiIHKQMAIgFC/////w9WIAFC/////wdRckUEQCAHIAFCAXxC/////w+DNwMADDwLIAFCIIinQXVPBEAgAaciCiAKKAIAQQFqNgIACyAOIAE3A2AgCSAiQZABEOEBDUUgCSAHIA4pA2AQHQw7CyAGQQJqIQwgESAGLQABQQN0aiIHKQMAIgFC/////w9WIAFCgICAgAhRckUEQCAHIAFCAX1C/////w+DNwMADDsLIAFCIIinQXVPBEAgAaciCiAKKAIAQQFqNgIACyAOIAE3A2AgCSAiQY8BEOEBDUQgCSAHIA4pA2AQHQw6CyAIQQhrIgcpAwAiAUL/////D1gEQCAHIAFC/////w+FNwMADDoLIAghByMAQRBrIgokAAJ/AkACQCAJIAhBCGsiCykDABBlIgFCgICAgHCDIjVCgICAgOAAUQ0AIDVCgICAgOB+UQRAIAkgC0GWASABIAkoAhAoAqgCER8ADQEMAgsgCSAKQQxqIAEQlQENACALIAo1AgxC/////w+FNwMADAELIAtCgICAgDA3AwBBfwwBC0EACyExIApBEGokACAxRQ0/DEMLIAhBCGsiBykDACIBIAhBEGsiCikDACI1hEL/////D1gEQCAKIDWnIAGndK03AwAMPwsgCSAIQaEBELUCRQ0+DEILIAhBCGsiBykDACIBIAhBEGsiCikDACI1hEL/////D1gEQCAKAn4gNacgAad2IgZBAE4EQCAGrQwBC0KAgICAwH4gBri9IgFCgICAgMCBgPz/AH0gAUKAgICAgICA+P8AVhsLNwMADD4LIwBBEGsiCiQAIAhBCGsiDSkDACEBAn8CQAJAIAkgCEEQayILKQMAEGUiNUKAgICAcIMiNkKAgICA4ABRDQAgCSABEGUiAUKAgICAcIMiN0KAgICA4ABRBEAgNSEBDAELIDZCgICAgOB+UiA3QoCAgIDgflJxDQEgCUGlgAFBABASIAkgNRAMCyAJIAEQDCALQoCAgIAwNwMAIA1CgICAgDA3AwBBfwwBCyAJIApBDGogNRCVARogCSAKQQhqIAEQlQEaIAsCfiAKKAIMIAooAgh2IgtBAE4EQCALrQwBC0KAgICAwH4gC7i9IgFCgICAgMCBgPz/AH0gAUKAgICAgICA+P8AVhsLNwMAQQALITIgCkEQaiQAIDJFDT0MQQsgCEEIayIHKQMAIgEgCEEQayIKKQMAIjWEQv////8PWARAIAogNacgAad1rTcDAAw9CyAJIAhBogEQtQJFDTwMQAsgCEEIayIHKQMAIgEgCEE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gCCCAAKAIEEQAAC0KAgICA4AALIQggBEEgaiQAIAgL2wECAX8CfkEBIQQCQCAAQgBSIAFC////////////AIMiBUKAgICAgIDA//8AViAFQoCAgICAgMD//wBRGw0AIAJCAFIgA0L///////////8AgyIGQoCAgICAgMD//wBWIAZCgICAgICAwP//AFEbDQAgACAChCAFIAaEhFAEQEEADwsgASADg0IAWQRAQX8hBCAAIAJUIAEgA1MgASADURsNASAAIAKFIAEgA4WEQgBSDwtBfyEEIAAgAlYgASADVSABIANRGw0AIAAgAoUgASADhYRCAFIhBAsgBAuhAgEFfwNAAkACQAJAAkACfyACIAdMIgkgBCAGTHJFBEAgASAHQQJ0aigCACIIIAMgBkECdGooAgAiCUkEQCAIDAILIAggCUcNAyAGQQFqIQYgB0EBaiEHIAghCQwECyAJDQEgASAHQQJ0aigCAAshCSAHQQFqIQcMAgsgBCAGTA0CIAMgBkECdGooAgAhCQsgBkEBaiEGCwJ/AkACQAJAAkAgBQ4DAwABAgsgBiAHcUEBcQwDCyAGIAdzQQFxDAILEAEACyAGIAdyQQFxCyAAKAIAIghBAXFGDQEgACgCBCAITARAIAAgCEEBahDRAgRAQX8PCyAAKAIAIQgLIAAgCEEBajYCACAAKAIIIAhBAnRqIAk2AgAMAQsLIAAQmAZBAAvmAQAgAAJ/IAEoAggiAEH+////B04EQEEAIAJBAXENARpB/////wcgAEH+////B0cNARogASgCBEH/////B2oMAQtBACAAQQBMDQAaIABBH00EQEEAIAEoAhAgASgCDEECdGpBBGsoAgBBICAAa3YiAGsgACABKAIEGwwBCyACQQFxRQRAQf////8HIAEoAgRFDQEaQYCAgIB4IABBIEcNARogASgCECABKAIMQQJ0akEEaygCABpBgICAgHgMAQtBACABKAIQIAEoAgwiAiACQQV0IABrEHEiAGsgACABKAIEGws2AgALEgAgACABIAIgAyAEQZMDELEDCw4AIABBACABQRByELoBC58BAgR/An4gAzUCACEJA0AgAiAFRkUEQCAAIAVBAnQiB2ogBq0gASAHajUCACAJfnwiCj4CACAFQQ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ACLQAAQTBrIgFBB0sEQCAFIQMMAgsgBkECaiECIAEgBUEDdHIiA0EfSw0BIAYtAAJBMGsiAUEHSw0BIAZBA2ohAiABIANBA3RyIQMMAQsgBSECCyAAIAI2AgAgAyEECyAEC6MBAQV/IAAoAgBBCGohAyACIgZBB3EhB0EgIQUDQCADKAIUIgQgASAFaiICSQRAIAMoAgxFBEAgACgCACEEIANCADcCDCADQoCAgICAgICAgH83AgQgAyAENgIACyADIAIQqwQgAyACNgIUIAIhBAsgACADEEkaIABBADYCBCAAIAEgByAEELYDRQRAIAVBAXYgBWohBQwBCwsgACABIAYQugEaC1ABA38gAkEAIAJBAEobIQICQANAIAIgBEYNASAAIARBAnRqIgMgAygCACIDIAFrNgIAIARBAWohBCABIANLIQVBASEBIAUNAAtBACEBCyABCysBAn8gAkEFdSIDQQBIIAEgA01yBH9BAAUgACADQQJ0aigCACACdkEBcQsLwgEBB38gACgCDCIEIQMCQANAIAMEQCAAKAIQIgcgA0ECdGpBBGsiBSgCAA0CIANBAWshAwwBCwsgAEGAgICAeDYCCCAAQQAQUBpBAA8LIAAgACgCCCADIARrQQV0ajYCCCAFKAIAZyIFBEBBICAFayEIQQAhBANAIAMgBEZFBEAgByAEQQJ0aiIJIAYgCHYgCSgCACIGIAV0cjYCACAEQQFqIQQMAQsLIAAgACgCCCAFazYCCAsgACABIAIgA0EAENwCCycBAn8gAUIAUwRAIABCACABfRAyIQMgAEEBNgIEIAMPCyAAIAEQMgskACAAQgA3AgAgACABNgIUIABCADcCCCAAIAJBhwMgAhs2AhALYwEBfwJAIAFCIIinIgJFIAJBC2pBEUtyDQACQCABQoCAgIBwVA0AIAGnIgIvAQZBBEcNACACKQMgIgFCIIinIgJFIAJBC2pBEUtyDQELIABBqzVBABASQoCAgIDgACEBCyABC80CAQJ/IwBBEGsiAyQAIAMgAjcDCAJAAkAgACABEMwBIgRBAEgNACAERQRAIABCgICAgDBBASADQQhqEOACIQEMAgsgACABQT0gAUEAEBEiAkKAgICAcINC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UpAgQiCkL/////B4NQDQAgAaciAykCBCELAkAgAygCAEEBRyAKIAuFQoCAgIAIg0IAUnINACADIAAoAhAoAgwRBQAgBSkCBCIKpyIEQf////8HcSIHIAMpAgQiC6ciBkH/////B3EiCGogBEEfdnQgBkEfdiIJQRFzakkNACAFQRBqIQYgA0EQaiEEIAkEQCAEIAhBAXRqIAYgB0EBdBAeGiADIAMpAgQiCiAFKQIEfEL/////B4MgCkKAgICAeIOENwIEDAILIAQgCGogBiAHEB4aIAMgAykCBCIKIAUpAgR8Qv////8HgyILIApCgICAgHiDhDcCBCAEIAunakEAOgAADAELAn4CQAJAIAunQf////8HcSAKp0H/////B3FqIgdBgICAgARPBEAgAEHkyABBABA6DAELIAAgByAKIAuEpyIGQR92EOkBIggNAQtCgICAgOAADAELIAhBEGohBAJAIAZBAE4EQCAEIANBEGogAygCBEH/////B3EQHiIEIAMoAgRB/////wdxaiAFQRBqIAUoAgRB/////wdxEB4aIAQgB2pBADoAAAwBCyAEIAMgAygCBEH/////B3EQkwUgBCADKAIEQQF0aiAFIAUoAgRB/////wdxEJMFCyAIrUKAgICAkH+ECyEKIAAgARAMDAELIAEhCgsgACACEAwgCgsPACAAIAFCgICAgDAQggILCwAgAEGfCUEAEBILjgIBA38jAEEQayIFJAAgBSAAOQMIIAUgAUEBayIHNgIAIAZBgAFB9t8AIAUQSBogAyAGLQAAQS1GNgIAIAQgBi0AAToAACABQQJOBEAgBEEBaiAGQQNqIAcQHhoLIAEgBGpBADoAACACIQkgASAGaiABQQFKakECaiEBA0AgASICQQFqIQEgAiwAACIDEI8GDQALQQEhBAJAAkACQCADQf8BcUEraw4DAQIAAgtBACEECyABLAAAIQMgASECC0EAIQEgA0EwayIDQQlNBEADQCABQQpsIANrIQEgAiwAASEIIAJBAWohAiAIQTBrIgNBCkkNAAsLIAlBACABayABIAQbQQFqNgIAIAVBEGokAAuADAIHfwV+IwBBoANrIgUkAAJAIAG9IgxCgICAgICAgPj/AINCgICAgICAgPj/AFEEQ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XIhAgsgBSgCHCEGAkAgBEEEcQ0AIAMgBkggBkEATHJFBEAgBiAHTgRAQQAhAyAGIAdrIgRBACAEQQBKGyEEIAIgBUGgAWogBxAeIAdqIQIDQCADIARHBEAgAkEwOgAAIANBAWohAyACQQFqIQIMAQsLIAJBADoAAAwDCyACIAVBoAFqIAYQHiAGaiICQS46AABBACEDIAcgBmsiBEEAIARBAEobIQQDQCACQQFqIQIgAyAERwRAIAIgBUGgAWogAyAGamotAAA6AAAgA0EBaiEDDAELCyACQQA6AAAMAgsgBkEFakEFSw0AIAJBsNwAOwAAQQAhA0EAIAZrIQQgAkECaiECA0AgAyAERwRAIAJBMDoAACADQQFqIQMgAkEBaiECDAELCyACIAVBoAFqIAcQHiAHakEAOgAADAELIAIgBS0AoAE6AAACQCAHQQJIBEAgAkEBaiECDAELIAJBLjoAASACQQJqIQJBASEDA0AgAyAHRg0BIAIgBUGgAWogA2otAAA6AAAgA0EBaiEDIAJBAWohAgwACwALIAJB5QA6AAAgBkEBayEDIAZBAEwEfyACQQFqBSACQSs6AAEgAkECagshAiAFIAM2AgAjAEEQayIEJAAgBCAFNgIMIwBBoAFrIgMkACADQQhqIgdBgNIEQZABEB4aIAMgAjYCNCADIAI2AhwgA0H/////B0F+IAJrIgYgBkH/////B0sbIgY2AjggAyACIAZqIgY2AiQgAyAGNgIYIAdB7usAIAUQkwQgAkF+RwRAIAMoAhwiAiACIAMoAhhGa0EAOgAACyADQaABaiQAIARBEGokAAsgACAFQaACahBgIRAgBUGgA2okACAQCykBAX8gAUIgiKdBdU8EQCABpyIDIAMoAgBBAWo2AgALIAAgASACEJIBC00BAX8CQCAAIAEgACgCBEH/////B3EiACABKAIEQf////8HcSICIAAgAkgbEOoFIgENAEEAIQEgACACRg0AQX9BASAAIAJJGyEBCyABCwoAIAAgARC1A0ULiwMCA38BfCMAQSBrIgQkAAJAAkACQAJAAkAgAkIgiKciBUEDTwRAIAVBdkcNASAEQRxqIAKnQQRqIgNBARDtASAAKALYASAE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AgxBACEDCyAFQRBqJAAgAwsqAQF/IAAoAhAiA0EQaiABIAIgAygCCBEBACIBIAJFckUEQCAAEHALIAELgQECAn8BfgJAIAEpAgQiBEL//////////79/VgRAIAEoAgwhAAwBCyAAKAI0IARCIIinIAAoAiRBAWtxQQJ0aiECIAAoAjghAwNAIAMgAigCACIAQQJ0aigCACICIAFGDQEgAkEMaiECIAANAAtBxocBQajsAEH/FEH4DhAAAAsgAAupBwIJfwF+AkACQAJAAn8gAkECTARAIAIgASkCBCIMQj6Ip0YEQCAAIAEQxgIiBEHXAUoNBSABIAEoAgBBAWs2AgAgBA8LIAAoAjQgACgCJEEBayABIAIQ6wVB/////wNxIgdxIgpBAnRqIQMgDKdB/////wdxIQUDQCACIAMoAgAiBEUNAhoCQCAAKAI4IARBAnRqKAIAIgMpAgQiDKdB/////wdxIAVHIAxCPoinIAJHciAMQiCIp0H/////A3EgB0dyDQAgAyABIAUQ6gUNACAEQdgBSA0EIAMgAygCAEEBajYCAAwECyADQQxqIQMMAAsACyACQQNHIQdBAwshBQJAIAAoAjwNAEEAIQQgAEEQaiILIAAoAjhB0wEgACgCLEEDbEECbSICIAJB0wFMGyICQQJ0IAAoAggRAQAiCEUNASAAKAIsIgkhAyAJRQRAIAtBECAAKAIAEQMAIgZFBEAgCyAIIAAoAgQRAAAMAwsgBkKAgICAgICAgEA3AgQgBkEBNgIAIAZBADYADCAIIAY2AgAgACAAKAIoQQFqNgIoQQEhAwsgACADNgI8IAAgCDYCOCAAIAI2AiwgCSACIAIgCUkbIQQgAkEBayEGA0AgAyAERg0BIAAoAjggA0ECdGpBASADQQFqIgJBAXRBAXIgAyAGRhs2AgAgAiEDDAALAAsCQCABBEAgASkCBCIMQv//////////P1gEQCABIAwgBa1CPoaENwIEDAILIABBEGogDKciAkEfdSACQf////8HcSACQR92dGpBEWogACgCABEDACICRQRAQQAhBAwECyACQQE2AgAgAiACKQIEQv////93gyABKQIEQoCAgIAIg4QiDDcCBCACIAxCgICAgHiDIAE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ACKAIEEQAAIAAgASgCcBAQQQAhAgNAIAEoAnQhAyACIAEoAnxORQRAIAAgAyACQQR0aigCABAQIAJBAWohAgwBCwsgACgCECICQRBqIAMgAigCBBEAAEEAIQIDQCABKAKAASEDIAIgASgCiAFORQRAIAAgAyACQQR0aigCABAQIAJBAWohAgwBCwsgACgCECICQRBqIAMgAigCBBEAAEEAIQIDQCABKAL8ASEDIAIgASgC9AFORQRAIAAgAyACQQR0aigCDBAQIAJBAWohAgwBCwsgACgCECICQRBqIAMgAigCBBEAAEEAIQIDQCABKALIAiEDIAIgASgCwAJORQRAIAAgAyACQQN0aigCBBAQIAJBAWohAgwBCwsgACgCECICQRBqIAMgAigCBBEAACABKALMASICIAFB0AFqRwRAIAAoAhAiA0EQaiACIAMoAgQRAAALIAAgASgC7AIQECABQfQCahCJASAAKAIQIgJBEGogASgCjAMgAigCBBEAACABKAIEBEAgASgCGCICIAEoAhwiAzYCBCADIAI2AgAgAUIANwIYCyAAKAIQIgBBEGogASAAKAIEEQAAC4wBAQJ/AkADQCABQoCAgIBwVA0BAkACQAJAAkACQAJAIAGnIgIvAQYiA0EMaw4FBQEDBwEACyADQSxGDQEgA0Ewaw4FAAYGBgAGCyACKAIgKAIwDwsgAigCICICRQ0EIAItABFFDQEgABC4AkEADwsgAigCICECCyACKQMAIQEMAQsLIAIoAiAhAAsgAAuLAQIEfgF/IAAQOyIEQoCAgIBwg0KAgICA4ABSBEAgAUEAIAFBAEobrSEGA0AgAyAGUQRAIAQPCyACIAOnQQN0aikDACIFQiCIp0F1TwRAIAWnIgEgASgCAEEBajYCAAsgACAEIAMgBUEAEMgBIQcgA0IBfCEDIAdBAE4NAAsgACAEEAwLQoCAgIDgAAsRACAAIAEgAiADIARBAhD+AwuTBgEHfyMAQSBrIgckACAHIAM2AhwCfwJAIAAoAgAgB0EEakEgED4NACABQeAARyEKAkACQANAIAMgACgCPCILTw0BAkAgAy0AACIGQR9LDQAgACgCQEUEQEHTyQAhBiACDQQMBQsgCkU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gAFENABogACgCECABp0EBEMcCCyEEIAJBMGokACAECz0BAX8gASAAKALgASABKAIUQSAgACgC1AFrdkECdGoiAigCADYCKCACIAE2AgAgACAAKALcAUEBajYC3AELQwACf0EAIAIoAgAoAgBBGnYgA0YNABpBfyAAIAEgAhDTAQ0AGiACKAIAIgAgACgCAEH///8fcSADQRp0cjYCAEEACwu8AQEEf0F/IQICQCAAIAFBABDTAQ0AIAEoAigiBCABKAIQIgMoAiBqIgUgAygCHEsEQCAAIAFBEGogASAFENYFDQELIAEoAiQhA0EAIQIDQCACIARGRQRAIAAgASACQYCAgIB4ckEHEHcgAykDADcDACACQQFqIQIgA0EIaiEDDAELCyAAKAIQIgBBEGogASgCJCAAKAIEEQAAQQAhAiABQQA2AiggAUIANwMgIAEgAS0ABUH3AXE6AAULIAILeQEDfwJAAkAgAEEBcSICDQAgAUGBAnFBgQJGIAFBgAhxQQAgACABc0EEcRtyDQEgAiABQYD0AHFFcg0AIABBMHEiAkEQRiABQYAwcSIEQQBHcw0BIABBAnEgAUGCBHFBggRHciACQRBGcg0AIARFDQELQQEhAwsgAwuBAgEEfyAAQoCAgIBwg0KAgICA4ABRBH9BtNQEKAIAKAIQIgIpA4ABIQAgAkKAgICAIDcDgAFBtNQEKAIAIABBsNcAEOgDIQJBtNQEKAIAIQMCQCACRQRAIAMgABAMDAELIAMgAEHxxQAQ6AMhA0G01AQoAgAhBCADRQRAIAQgAhAxQbTUBCgCACAAEAwMAQsgBCAAQcjaABDoAyEEQbTUBCgCACEFIARFBEAgBSACEDFBtNQEKAIAIAMQMUG01AQoAgAgABAMDAELIAUgABAMIAIgBCADIAEQC0G01AQoAgAgAhAxQbTUBCgCACADEDFBtNQEKAIAIAQQMQtBAQVBAAsLYQIBfwF+AkAgAUEASA0AAkACQAJAIAAoAhAoAjggAUECdGooAgApAgQiA0I+iKdBAWsOAwMCAAELQQEhAgJAIANCIIinQf////8DcQ4CAwABC0ECDwsQAQALQQEhAgsgAgszACAAIAJBARDpASIARQ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gALIAUgATcDQCACQiCIp0F1TwRAIAKnIgAgACgCAEEBajYCAAsgBSAKNgJcIAUgAzYCGCAFIAI3AxAgBSAJIApBA3RqIgA2AkwgBSAAIAcvASoiC0EDdGo2AmRBACEGIANBACADQQBKGyEHA0AgBiAHRwRAIAQgBkEDdCIIaikDACIBQiCIp0F1TwRAIAGnIgAgACgCAEEBajYCAAsgCCAJaiABNwMAIAZBAWohBgwBCwsgAyAKIAtqIgAgACADSBshAANAIAAgA0ZFBEAgCSADQQN0akKAgICAMDcDACADQQFqIQMMAQsLIAVCgICAgDA3AzAgBUKAgICAMDcDKCAFQQA2AiAgBQVBAAsLowMCB34BfyMAQRBrIgwkAAJ+AkAgACAMQQhqIAAgARAgIgUQLw0AIAwpAwgiASACrCIHfCIGQoCAgICAgIAQWQRAIABB9MgAQQAQEgwBCwJAIARFIAJBAExyRQRAIAAgBSAHQgAgAUF/EPMCDQIMAQsgASEICyACQQAgAkEAShutIQlCACEBA0AgASAJUgRAIAMgAadBA3RqKQMAIgdCIIinQXVPBEAgB6ciAiACKAIAQQFqNgIACyABIAh8IQogAUIBfCEBIAAgBSAKIAcQe0EATg0BDAILCyAAIAVBMCAGQoCAgIAIfCIIQv////8PWAR+IAZC/////w+DBUKAgICAwH4gBrm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLEDlBAEgNACAAIAUQDCAGQv////8PgyAIQv////8PWA0BGkKAgICAwH4gBrm9IgFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsMAQsgACAFEAxCgICAgOAACyELIAxBEGokACALCxUBAn4gACABEIcFIQMgACABEAwgAwv5DgIKfgR/IwBBEGsiECQAIBAgAjcDCAJAAkACfgJAAkACQAJAAkACQAJAAkACQAJAQQcgAkIgiKciDiAOQQdrQW5JGyIOQQdqDg8EAwMDAwMABQUFAwMDAwECCwJAAkACQAJAIAKnIg4vAQYiD0EEaw4DAQACAwtCgICAgDAhByAAIAIQNCICQoC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AgICA4AAhBAwBCyAFIQQLIAZBEGokACAEC6gBAQZ/AkAgASgCVCICQYD+A3ENACABIAJBgAJyNgJUA0AgASgCFCADTARAQQAPCyABKAIQIANBA3RqIgcoAgAhBEF/IQYgACABKAIEEI8EIgJFDQECQCAAIAQQjwQiBEUEQEEAIQUMAQsgACACIAQQuQUhBSAAIAIQMSAEIQILIAAgAhAxIAVFDQEgByAFNgIEIANBAWohAyAAIAUQ+QNBAE4NAAsLIAYLiAEBAn9BjQEhAgJAAkACQAJAAkACQAJAAkACQAJAQQcgAUIgiKciAyADQQdrQW5JG0EKag4SCQgHAggICAgIAwABBgQICAgACAtBxwAPC0HIAA8LQckADwsgAacsAAVBAE4NAQtBxgAPC0EbIQIgACABEDUNAwtBygAPC0HLAA8LQc0AIQILIAILbQECfwJAIAFCgICAgHBUDQAgAaciAy8BBhDgAUUNACADKAIgLQARQQhxRQ0AIAMoAigiBARAIAAgBK1CgICAgHCEEAwLQQAhACACQoCAgIBwWgRAIAKnIgAgACgCAEEBajYCAAsgAyAANgIoCwsMACAAQZHBAEEAEBILzAICBn8BfiMAQRBrIgYkAAJAIAJC/////29YBEAgAEGrH0EAEBIMAQsgACAGQQxqIAIQygENACAGKAIMIgRBgIAETwRAIABBoyFBABA6DAELIABBASAEIARBAU0bQQN0EFwiBUUNAAJAAkAgAqciBy8BBiIDQQhHIANBAkdxDQAgBy0ABUEIcUUNACAEIAcoAihHDQBBACEDA0AgAyAERg0CIANBA3QiCCAHKAIkaikDACICQiCIp0F1TwRAIAKnIgAgACgCAEEBajYCAAsgBSAIaiACNwMAIANBAWohAwwACwALQQAhAwNAIAMgBEYNASAAIAIgAxCmASIJQoCAgIBwg0KAgICA4ABRBEAgACAFIAMQhgNBACEDDAMFIAUgA0EDdGogCTcDACADQQFqIQMMAQsACwALIAEgBDYCACAFIQMLIAZBEGokACADC5wCAgJ/AX4CfkKAgICA4AAgABB2DQAaAkACQCABQoCAgIBwWgRAIAGnIgctAAVBEHFFBEAgAEG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IMAgsgAiACLQAFQf4BcToABUEBIQIMAQtBACECCyAEQRBqJAAgAgt7AgJ/AX5BiAIhAkKAgICAICEEAkACQAJAAkACQAJAAkBBByABQiCIpyIDIANBB2tBbkkbIgNBCmoODAUGBAMGBgYGBgYBAgALIANBB0cNBQtBICECDAMLQTAhAgwCC0EoIQIMAQtBOCECCyAAKAIoIAJqKQMAIQQLIAQLYAEBfCAAKQIEQv//////////P1gEQCABIAErAwhEAAAAAAAA8D8gACgCALciAqOgOQMIIAEgASsDECAAKAIEIgBBH3UgAEH/////B3EgAEEfdnRqQRFquCACo6A5AxALC/gCAgF+A38jAEEwayIEJABB9e8AIQVCgICAgOAAIQMCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQEEHIAFCIIinIgYgBkEHa0FuSRtBCmoOEggJBgAJCQkJCgUBAgMECQkMBwkLIAZBdUkNCiABpyIAIAAoAgBBAWo2AgAMCgsgBCABPgIAIARBEGoiBUEgQe7rACAEEEgaDAgLIABBA0ECIAGnGxApIQMMCQsgAEEBECkhAwwICyAAQcYAECkhAwwHCyAAIAFBABC7AiIBQoCAgIBwg0KAgICA4ABRBEAgASEDDAcLIAAgASACEI0EIQMgACABEAwMBgsgAgRAIAZBdUkNBSABpyIAIAAoAgBBAWo2AgAMBQsgAEGNyQBBABASDAULIAAgAUKAgICAwIGA/P8AfL9BCkEAQQAQugIhAwwECyAAIAEgACgCECgCoAIRCAAhAwwDC0Hi7wAhBQsgACAFEGAhAwwBCyABIQMLIARBMGokACADCzcAIAAgASACIAMCf0EAIAAoAhAiAC0AiAENABpBASAAKAKMASIARQ0AGiAAKQMIEJYDRQsQ5AULMQIBfwF+IAAgARApIgNCgICAgHCDQoCAgIDgAFIEQCAAIAMQqAEhAiAAIAMQDAsgAgtGAQF/IAEgASgCACICQQFrNgIAIAJBAUwEQCABKQIEQoCAgICAgICAwABaBEAgACABEJsDDwsgAEEQaiABIAAoAgQRAAALC1kBA38jAEEQayICJAAgACgCECEAAn8CQCACQQxqIA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9qQQNuQQFqQQAQqwMgACAAIAMgAUEAEIgBGiAEEBkgAxAZIAJBMGokAAsPACAAIAEgAkEAQQMQ9AELvQECBH8BfiAAIABBH3UiA3MgA2shAyAAQR92RSEFQQACfyABIAFBAWsiBHFFBEBBICAEZyIGayEEIAIEQEEfIAZrQQAgBRsgA2ogBG4MAgsgBEEAIAFBAk8bIANsDAELIAFBAmshASAFAn4gAgRAIAOtIgcgAUEDdCIBQZT4AWo1AgB+QiCIIAFBkPgBajUCACAHfnxCH4gMAQsgAUECdEGw+gFqNQIAIAOtfkIdiAunagsiAWsgASAAQQBIGwtAAQN/QQEgAEG+/gFqLQAAIgEgAUEBTRshA0EBIQIgACEBA0AgAiADRkUEQCACQQFqIQIgACABbCEBDAELCyABC1ABAn8DQCABLAAAIgQEQCAEIAAsAAAiA0EgciADIANBwQBrQRpJG0cEQEEADwUgAUEBaiEBIABBAWohAAwCCwALCyACBEAgAiAANgIAC0EBC4cDAgN+BH8CQCABKAIIIgZB/v///wdOBEBBASEHIAJBAXENAUL///////////8AIQMgBkH+////B0cNASABNAIEQv///////////wB8IQMMAQsgBkEATARADAELIAZBP00EQCABKAIQIAEoAgwiCEECdGoiCUEEaygCACECQgAgBkEgTQR+IAJBICAGa3atBSAIQQJPBH4gCUEIazUCAAVCAAsgAq1CIIaEQcAAIAZrrYgLIgN9IAMgASgCBBshAwwBCyACQQFxRQRAIAEoAgRFBEBC////////////ACEDQQEhBwwCC0KAgICAgICAgIB/IQNBASEHIAZBwABHDQEgASgCECABKAIMIgFBAnRqIgJBBGs1AgBCIIYhBCABQQJPBH4gAkEIazUCAAVCAAsgBIRCgICAgICAgICAf1IhBwwBC0IAIAEoAhAiCCABKAIMIgIgAkEFdCAGayIGEHGtIAggAiAGQSBqEHGtQiCGhCIDfSADIAEoAgQbIQMLIAAgAzcDACAHC60CAgJ/An4jAEEgayICJAACQCAAKAIIQf////8HRgRAQoCAgICAgID8/wAhBAwBCyAAKAIAIQMgAkIANwIYIAJCgIC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kCayIGQQBODQAgAUEBIAMQmQIaIAIgASADQQIQvQQgBmogAkEBIAMQ2wJqIQYLIAUgBjYCAEEAIQYLIAhBEGokACAGC5gBAQJ/IAAgAUH/AXEgAUEIdkH/AXEgAUEXdkH+A3FBwPoBai8BACIAQQF0IgJBf3NBACABQRB2IAAgAGxrIgEgAksiAhsgAWpBCHRyIgEgACACaiICQQF0IgNuIgAgAGxrIAEgACADbGtBCHRqIgFBH3UgAkEIdCAAaiIAQQFrIgJBAXRBAXJxIAFqNgIAIAIgACABQQBIGws5AQJ/IwBBEGsiASQAIAAEfyABQQxqIAAgAGciAEEecXQQuAQgAEEBdnYFQQALIQIgAUEQaiQAIAILsgQBBn8jAEEwayIEJAACQAJAIAAgAkYgACADRnJFBEAgASACRiABIANGcg0BIAAgAUYNAgJAAkAgAigCDCIFBEAgAygCDCIGDQELQQAhBSAAQQAQgAECQCACKAIIIgBB/////wdHBEAgAygCCCIDQf////8HRw0BCyABECoMAgsgAEH+////B0cgA0GAgICAeEdxRQRAIAEQKkEBIQUMAgsgASACEEkaIAFB/////wNBARC6ASEFDAELIAIoAgQgAygCBHMhByAEIAIoAggiCDYCJCACKAIQIQkgBCAFNgIoIAQgCTYCLCAEQQA2AiAgBCADKAIIIgU2AhAgAygCECEDIAQgBjYCFCAEIAM2AhggBEEANgIMAkAgBEEcaiIDIARBCGoQ8gFBAEgEQCAAQgAQMhogASADEEkaDAELIAAgBEEcaiIDIARBCGoiBkEBIAggBWsiBSAFQQFMG0EBakEBEIgBGiAAQQEQ7wEaIAEgACAGQf////8DQQEQQBogASADIAFB/////wNBARDuARoLAkAgACgCCEH/////B0YNACABKAIIQf////8HRg0AAkAgASgCDEUNAAsgASABKAIEIAIoAgRzNgIEIAAgBzYCBCABQf////8DQQEQugEhBQwBCyAAECogARAqQSAhBQsgBEEwaiQAIAUPC0HU7QBB2OwAQd8NQe/AABAAAAtBw+0AQdjsAEHgDUHvwAAQAAALQaY2QdjsAEHhDUHvwAAQAAALVQEB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oAgAiAygCACACQQAgAygCBBEBABoLIAAgASkCADcCACAAIAEoAhA2AhAgACABKQIINwIICwv0AQIDfgF/AkAgAykDACIEQoCAgIBwWgRAIAMpAwgiBUL/////b1YNAQsgABAiQoCAgIDgAA8LQoCAgIDgACEGIABCgICAgCBBLBBHIgFCgICAgHCDQoCAgIDgAFIEfiAAQRgQJCICRQRAIAAgARAMQoCAgIDgAA8LIASnIgMgAygCAEEBajYCACACIAQ3AwAgBaciByAHKAIAQQFqNgIAIAIgBTcDCCAAIAQQNSEAIAJBADoAESACIAA6ABAgAUKAgICAcFoEQCABpyIAIAI2AiAgACAALQAFQe8BcSADLQAFQRBxcjoABQsgAQVCgICAgOAACwsbACAAEBkgAEIANwIQIABCADcCCCAAQgA3AgALCQAgASACEPgFCxMAIABBEGogASACIAAoAggRAQALqAECAX8CfiAAvSIEQv///////////wCDQoGAgICAgID4/wBaBEAgAb1C////////////AINCgYCAgICAgPj/AFQPC0F/IQICQCAAIAFjDQAgAb0iA0L///////////8Ag0KAgICAgICA+P8AVg0AQQEhAiAAIAFkDQBBACECIABEAAAAAAAAAABiDQAgBEIAUwRAIANCP4enQX9zDwsgA0I/iKchAgsgAgvKBQIFfwN+IwBBMGsiAiQAIAIgATcDECACQQA2AgwgAiAANgIIIAIgAykDACIKNwMYAkACQCAKQoCAgIBwgyILQoCAgIAwUgRAQoCAgIDgACEJIAAgChBVDQELQoCAgIDgACEJIAAgARCKASIFQQBIDQACQCAFQQJJDQAgAaciAy8BBkEVayIEQf//A3FBC08NAiACIARBAnRB/P8PcSIEQZz1AWooAgA2AiBBASADLwEGQcqeAWotAAAiBnQhCCADKAIkIQcgC0KAgICAMFIEQCAAIAVBAnQQJCIERQ0CQQAhAwNAIAMgBUZFBEAgBCADQQJ0aiADNgIAIANBAWohAwwBCwsgAiAINgIoIAIgBzYCJCAEIAVBBEHLACACQQhqENcBAkACQAJAAkAgAigCDA4CAAEDCyAAIAUgBnQiAxAkIgYNAQsgACgCECIAQRBqIAQgACgCBBEAAAwECyAGIAcgAxAeIQZBACEDAkACQAJAAkACQCAIQQFrDggAAQkCCQkJAwkLA0AgAyAFRg0EIAMgB2ogBiAEIANBAnRqKAIAai0AADoAACADQQFqIQMMAAsACwNAIAMgBUYNAyAHIANBAXRqIAYgBCADQQJ0aigCAEEBdGovAQA7AQAgA0EBaiEDDAALAAsDQCADIAVGDQIgByADQQJ0IghqIAYgBCAIaigCAEECdGooAgA2AgAgA0EBaiEDDAALAAsDQCADIAVGDQEgByADQQN0aiAGIAQgA0ECdGooAgBBA3RqKQMANwMAIANBAWohAwwACwALIAAoAhAiA0EQaiAGIAMoAgQRAAALIAAoAhAiAEEQaiAEIAAoAgQRAAAMAQsgByAFIAggBEHI9QFqKAIAIAJBCGoQ1wEgAigCDA0BCyABQiCIp0F1TwRAIAGnIgAgACgCAEEBajYCAAsgASEJCyACQTBqJAAgCQ8LEAEAC+cCAQF+IAAgARCKASICQQBIBEBCgICAgOAADwsCQCACRQ0AAkACQAJAAkACQCABpyIALwEGQcqeAWotAAAOBAABAgMECyAAKAIkIgAgAmohAgNAIAAgAkEBayICTw0FIAAtAAAhAyAAIAItAAA6AAAgAiADOgAAIABBAWohAAwACwALIAAoAiQiACACQQF0aiECA0AgACACQQJrIgJPDQQgAC8BACEDIAAgAi8BADsBACACIAM7AQAgAEECaiEADAALAAsgACgCJCIAIAJBAnRqIQIDQCAAIAJBBGsiAk8NAyAAKAIAIQMgACACKAIANgIAIAIgAzYCACAAQQRqIQAMAAsACyAAKAIkIgAgAkEDdGohAgNAIAAgAkEIayICTw0CIAApAwAhBCAAIAIpAwA3AwAgAiAENwMAIABBCGohAAwACwALEAEACyABQiCIp0F1TwRAIAGnIgAgACgCAEEBajYCAAsgAQtRAgF/AX5CgICAgOAAIQQgACABIAIQayIDBH4gAygCICIDKAIMKAIgLQAEBEAgAkUEQEIADwsgABBfQoCAgIDgAA8LIAM1AhAFQoCAgIDgAAsLNwAgACABIAIQayIARQRAQoCAgIDgAA8LIAAoAiAoAgwiACAAKAIAQQFqNgIAIACtQoCAgIBwhAsMACAAKAIQIAEQ5wML2gEBAn4CQAJAIAJFBEAgAUKAgICAcIMhBSAAQS8QKSEEDAELAn4gAUKAgICAcIMiBUKAgICAMFIgAykDACIEQoCAgIBwg0KAgICAgH9SckUEQCAAQbmMASAAIAAoAhAgBKcQxgIQKUGrjAEQsgEMAQsgACAEECULIgRCgICAgHCDQoCAgIDgAFENAQsgBUKAgICAMFENACAAIAFBBRBeIgFCgICAgHCDQoCAgIDgAFIEQCAAIAEgBBC9ASAAIAFBMCAEpykCBEL/////B4NBABAVGgsgASEECyAEC0YBAX8CQCAAKAIIIAJqIgMgACgCDEoEQCAAIAMgARDEAg0BCwNAIAJBAEwEQEEADwsgAkEBayECIAAgARCHAUUNAAsLQX8LlQECBX8BfiABKQIEIginQf////8HcSIDRQRAIAIPCyAAKAIEQf////8HcSEHAn8gCEKAgICACINQRQRAIAEvARAMAQsgAS0AEAshBSADQQFrIQYgByADayEEAkADQCACIARKDQEgACAFIAIQoAEiA0EASCADIARKcg0BIAAgASADQQFqIgJBASAGELwDDQALIAMPC0F/C6cBAgN/AX4CQAJAIAAgARD2AyIDQQBIDQAgA0UNAUGbHiECIAAgACABQe4AIAFBABARIgVCgICAgHCDIgFCgICAgCBRIAFCgICAgDBRcgR/QZseBSABQoCAgIDgAFENASAAIAUQNCIBQoCAgIBwg0KAgICA4ABRDQFBACECIAGnQecAQQAQoAEhBCAAIAEQDCAEQQBODQJB2ssAC0EAEBILQX8hAgsgAguhAQIDfwF+AkACQCAAKQIEIgRCgICAgAiDUA0AIABBEGohAiAEp0H/////B3EhA0EAIQADQCAAIANODQECQCACIABBAXRqLwEAIgFBgPADcUGAsANHBEAgACEBDAELIAFB/7cDSw0DIABBAWoiASADTg0DIAIgAUEBdGovAQBBgEBrQf//A3FBgPgDSQ0DCyABQQFqIQAMAAsAC0F/IQALIAALVQEBfwJAAkACQCABQiCIp0EBag4DAAECAQsgAaciAi8BBkE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/IQMMAQtBfyEDIAAgAhAgIglCgICAgHCDQoCAgIDgAFENACAAIARBDGogBEEIaiAJp0ETEH0hA0KAgICAMCECIAQoAgghBiAEKAIMIQcCQAJAIANBAEgNAANAIAUgBkYEQEEAIQMMAwsgACACEAwgACAJIAcgBUEDdGoiCCgCBCAJQQAQESICQoCAgIBwg0KAgICA4ABRDQFBfyEDIAVBAWohBSAAIAEgCCgCBCACQYCAARDZBEEATg0ACwwBC0F/IQMLIAAgByAGEFsgACAJEAwgACACEAwLIARBEGokACADC0gBAn8jAEEQayICJABBfyEDAkAgACACQQxqIAEQswENACACKAIMIgNBJWtBXEsNACAAQYSBAUEAEERBfyEDCyACQRBqJAAgAwt1AQF/AkAgAUKAgICAcINCgICAgOB+UQRADAELAkAgAUKAgICAcFQNACABpyICLwEGQSFHDQAgAikDICIBQoCAgIBwg0KAgICA4H5SDQAMAQsgAEGTGkEAEBJCgICAgOAADwsgAaciACAAKAIAQQFqNgIAIAELvwEBAX8gASADai0AAEE8RgRAIAAgBEH/AXEQDiAAIAVB//8DcRAmIANBAWohAwsgASACKAIEIgBBBWsiAmoiBi0AAEG2AUYEQCAAIAFqLQAAQRZGBEAgBkEROgAAIABBBGshAgsgAEECaiEAIAEgAmoiBiAFOwABIAYgBEEBajoAACACQQNqIQIDQCAAIAJMRQRAIAEgAmpBswE6AAAgAkEBaiECDAELCyADDwtBvMMAQajsAEGz6gFBiM0AEAAAC84CAgd/AX4jAEEwayICJAACQAJAIAMpAwAiAUL/////b1gEQCABQiCIp0F1SQ0BIAGnIgAgACgCAEEBajYCAAwBC0KAgICA4AAhDCAAIAEQigQiA0EASA0BIANFBEAgAEHt0ABBABASDAILIAAgAkEsaiACQShqIAGnIgZBAxB9DQEgAigCLCEHIAIoAighCEEAIQMCQANAIAMgCEcEQCAHIANBA3RqKAIEIQlBgIIBIQUCQCAERQ0AIAAgAkEIaiIKIAYgCRBDIgtBAEgNAyALRQ0AIAIoAgghBSAAIAoQRkGAhgFBgIIBIA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DAELIAAgBiAIEFtBACEGIAAgAhBSIg5CgICAgHCDQoCAgIDgAFENACAEIA03AxggBCAONwMQIAAgAyABQQIgBEEQahAcIQEgACAOEAwgACANEAwMAQsgACAGIAQoAgwQWyAAIA0QDEKAgICA4AAhAQsgBEEgaiQAIAELMAEBfyAAKAI4IAFBAnRqKAIAIgEgASgCACICQQFrNgIAIAJBAUwEQCAAIAEQmwMLC44DAQR/IwBBQGoiAyQAAkAgACABEEoiAUKAgICAcINCgICAgOAAUQ0AAkAgACADQSRqIgIgAaciBCgCBEH/////B3FBAmoQPg0AIAJBIhA8DQBBACECIANBADYCPANAIAQoAgRB/////wdxIAJKBEACQAJAAkACQAJAAkACQAJAAkACQCAEIANBPGoQxgEiAkEIaw4GBQIEAQYDAAsgAkEiRiACQdwARnINBgsgAkGA8P8AcUGAsANHIAJBIE9xDQYgAyACNgIAIANBEGoiAkEQQf4PIAMQSBogA0EkaiACEIMBDQoMBwtB9AAhAgwEC0HyACECDAMLQe4AIQIMAgtB4gAhAgwBC0HmACECCyADQSRqIgVB3AAQPA0EIAUgAhA8RQ0BDAQLIANBJGogAhCxAQ0DCyADKAI8IQIMAQsLIANBJGoiAkEiEDwNACAAIAEQDCACEDchAQwBCyAAIAEQDCADKAIkKAIQIgBBEGogAygCKCAAKAIEEQAAQoCAgIDgACEBCyADQUBrJAAgAQvdBgIMfwd+IwBBMGsiAiQAAn4CQAJAIAEpAygiDkKAgICAcINCgICAgJB/UQRAIAEpAwgiEEKAgICAcINCgICAgJB/UQ0BCyAAQcbJAEEAEBIMAQsgASkDICESIAEpAxghDyABKQMAIRMgACACQQxqQQAQPhogAkEANgIkAkAgD0KAgICAcINCgICAgDBSBEAgACACQSRqIA8QygENAQsgACACQShqIBMQygENACAAIAJBLGogASkDEBB1QQBIDQAgEKchCCASQoCAgIBwgyEQIAIoAiwiDCACKAIoaiENIA6nIgRBEGohByAEKAIEQf////8HcSEKIAIoAiQhC0EAIQEDQAJAAkACQCAEQSQgARCgASIG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gBiAEIANBoARqECNFDQELAkAgAygCqAYiBUEASARAIAMoAtgGIQUMAQsgAyAFNgLYBgsgASADKALEBiAFEC4gA0HABmoiBEGUAUGTASADKAKsBkF9cUGQAUYbEA4gBCACQf8BcRAODA8LIANCjoCAgHA3ApQEIAMgAjYCkAQgA0KRgICAkAs3A4gEIANChICAgOATNwOABCADQZwGaiAEIANBgARqECMEQAJAIAMoAqgGIgVBAEgEQCADKALYBiEFDAELIAMgBTYC2AYLIAEgAygCxAYgBRAuAkAgAygCvAZBL0YEQCADQcAGakHBARAODAELIANBwAZqIgRBBBAOIAQgAygCvAYQGwsgA0HABmoiBEGVARAOIAQgAkH/AXEQDgwPCyADQo6AgIBwNwL0AyADIAI2AvADIANCkYCAgJALNwPoAyADQoGAgIDgEzcD4AMgA0GcBmogBCADQeADahAjBEACQCADKAKoBiIFQQBIBEAgAygC2AYhBQwBCyADIAU2AtgGCyABIAMoAsQGIAUQLiADQcAGaiIEIAMoArQGEM4DIARBlQEQDiAEIAJB/wFxEA4MDwsgA0KOgICAcDcD2AMgAyACNgLUAyADQdkANgLQAyADQp6BgICQAjcDyAMgA0LYtvmCcDcDwAMgA0GcBmogBCADQcADahAjBEACQCADKAKoBiIFQQBIBEAgAygC2AYhBQwBCyADIAU2AtgGCyABIAMoAsQGIAUQLiADQcAGaiIEIAMoAqwGIAMoArAGEFkgBEGVARAOIAQgAkH/AXEQDgwPCyABIAMoAsQGIAMoAtgGEC4gA0HABmpB2AAgAhBZIAQhAgwSCyAGLwABIQIgASADKALEBiADKALYBhAuIANBwAZqIAUgAhBZIAQhAgwRCyADIAYvAAEiAjYC5AQgA0F/NgLoBCADIAVBAWs2AuAEIANBnAZqIAQgA0HgBGoQIwRAAkAgAygCqAYiBEEASARAIAMoAtgGIQQMAQsgAyAENgLYBgsgASADKALEBiAEEC4gA0HABmogBUEBaiACEFkMDQsgASADKALEBiADKALYBhAuIANBwAZqIAUgAhBZIAQhAgwQCyABIAogCCAEIANB2AZqEKUCIQ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acgBTYCIAsgACAJQS9BARCYAyABIANBA3RqIAk3AwAgA0EBaiEDDAALAAt/AQV/IABBEGohBCABQQxqIQUgASgCECECA0AgAiAFRkUEQCACKAIEIQYgACACKQMQECEgACACKQMYECEgACACKQMgECEgACACKQMoECEgBCACIAAoAgQRAAAgBiECDAELCyABKAIIIgMEQCAAIAMQzgELIAQgASAAKAIEEQAAC+EDAgR/An4jAEFAaiICJAAgAiAAIAEQsQIiBjcDOAJAAkAgASgCIARAIAZCgICAgHCDQoCAgIDgAFENASAAIAEpAyhCgICAgDBBASACQThqEBwhBiAAIAIpAzgQDCAAIAYQDAwCCyACIAEoAmRBCGsiAykDADcDKCADQoCAgIAwNwMAIAAgBhAMQQAhAyAAIAApA1AgACACQShqQQAQ3gEhBiAAIAIpAygQDCAGQoCAgIBwg0KAgICA4ABRDQADQAJAIANBAkcEQCACQRBqIANBA3RqIAAgACkDMCADQTFqEEciBzcDACAHQoCAgIBwg0KAgICA4ABSDQEgA0EBRgRAIAAgAikDEBAMCyAAIAYQDAwDCyACQoCAgIAwNwMIIAJCgICAgDA3AwAgACAGIAJBEGogAhCpAiEFIAAgBhAMQQAhAwNAIANBAkZFBEAgACACQRBqIANBA3RqKQMAEAwgA0EBaiEDDAELCyAFDQIMAwsgASABKAIAQQFqNgIAIAenIAE2AiAgA0EBaiEDDAALAAsgACgCECIDKQOAASEGIANCgICAgCA3A4ABIAIgBjcDMCAAIAEpAzBCgICAgDBBASACQTBqEBwhBiAAIAIpAzAQDCAAIAYQDAsgAkFAayQAC5UDAgh/AX4jAEEwayIGJAACQCABQoCAgIBwVA0AIAGnIgQvAQZBLUcNACAEKAIgIgRFDQAgBCgCAA0AIAJCIIinQXVPBEAgAqciBSAFKAIAQQFqNgIACyAAIARBGGogAhAdIAQgA0EBaiIFNgIAAkAgBUECRw0AIAQoAhQNACAAKAIQIgUoApgBIgdFDQAgACABIAJBACAFKAKcASAHETUACyAEQQRqIgcgA0EDdGoiCCgCBCEEIANBAEetQoCA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ACQiCIpyIEIARBB2tBbkkbIgRyRQRAIAUCfiADxCACxHwiAkKAgICACHxC/////w9YBEAgAkL/////D4MMAQtCgICAgMB+IAK5vSICQoCAgIDAgYD8/wB9IAJC////////////AINCgICAgICAgPj/AFYbCzcDAAwBCyAEQXZHIAFBdkdxRQRAIABBngEgBSACIAMgACgCECgCrAIRIwANAwwBCyAAIAZBCGogAhBtBEAgACADEAwMAwsgACAGIAMQbQ0CIAVCgICAgMB+IAYrAwggBisDAKC9IgJCgICAgMCBgPz/AH0gAkL///////////8Ag0KAgICAgICA+P8AVhs3AwALQQAhAQwCCyAAIAMQDAsgBUKAgICAMDcDACAHQoCAgIAwNwMAQX8hAQsgBkEQaiQAIAELtAMBCH8jAEEQayIEJAAgACAAKQOAARAhIABBEGohAyAAQaABaiEFIAAoAqQBIQEDQCABIAVHBEAgASgCBCEIIAFBGGohB0EAIQIDQCABKAIQIAJKBEAgACAHIAJBA3RqKQMAECEgAkEBaiECDAELCyADIAEgACgCBBEAACAIIQEMAQsLIAAgBTYCpAEgACAAQaABajYCoAEgABCdBSAAKAJUIABB0ABqRgRAQQAhAgNAAkAgACgCRCEBIAIgACgCQE4NACABIAJBGGxqIgEoAgAEQCAAIAEoAgQQxwELIAJBAWohAgwBCwsgAyABIAAoAgQRAAAgAEHkAWoiAUEIahDBBCABQSBqEMEEQQAhAgNAAkAgACgCOCEBIAIgACgCLE4NACABIAJBAnRqKAIAIgFBAXFFBEAgAyABIAAoAgQRAAALIAJBAWohAgwBCwsgAyABIAAoAgQRAAAgAyAAKAI0IAAoAgQRAAAgAyAAKALgASAAKAIEEQAAIAQgAykCCDcDCCAEIAMpAgA3AwAgBCAAIAAoAgQRAAAgBEEQaiQADwtBuogBQajsAEHHD0Hd0wAQAAALjgMBC38jAEEwayIHJAACQCACQoCAgIBwVA0AQRMhBQJAIAKnIgotAAVBBHFFDQAgACgCECgCRCAKLwEGQRhsaigCFCIIRQ0AQQNBEyAIKAIEGyEFC0F/IQkgACAHQSx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5cmooAgAhAwNAIANFDQMgBSADQQFrIgNBA3RqIgYoAgRBygFHBEAgBigCAEH///8fcSEDDAELCyABQoCAgIBwVA0AIAQoAhQgA0EDdGopAwAiAkKAgICAcINCgICAgIB/UQ0BCyAAECIMAgsgACACEIgCIQMgAacoAhAiAEEwaiEEIAAgAyAAKAIYcUF/c0ECdGooAgAhAANAIABFBEBBAA8LIAQgAEEDdGoiBUEIayEAIAMgBUEEaygCAEYEQCAAQQBHDwUgACgCAEH///8fcSEADAELAAsACyAAQZ3kAEEAEBILQX8LRAEBfyAAQeQBaiECIABB4AFqIQADfyAAIAIoAgAiAkYEQEEADwsgASACQQRrKAIARgR/IAJBCGsFIAJBBGohAgwBCwsLiQECA38BfgJAIAAoAhAoAowBIgJFDQADQCABQQBMBEADQCACKQMIIgRCgICAgHBUDQMgBKciAS8BBhDgAUUNAyABKAIgIgEvABEiA0GAwABxRQRAIANBgAhxRQ0EIAAgASgCQBAWDwsgAigCACICDQAMAwsACyABQQFrIQEgAigCACICDQALC0EACykBAX8gAkIgiKdBdU8EQCACpyIDIAMoAgBBAWo2AgALIAAgASACEIUEC/QBAwF+An8BfANAAkBBfyEEAkACQAJAQQcgAkIgiKciBSAFQQdrQW5JGw4IAAAAAAICAwECCyACxCEDQQAhBAwCC0EAIQQgAkKAgICAwIGA/P8AfCICQv///////////wCDQoCAgICAgID4/wBWDQFCgICAgICAgICAfyEDIAK/IgZEAAAAAAAA4MNjDQFC////////////ACEDIAZEAAAAAAAA4ENkDQEgBplEAAAAAAAA4ENjBEAgBrAhAwwCC0KAgICAgICAgIB/IQMMAQsgACACEJYBIgJCgICAgHCDQoCAgIDgAFINAQsLIAEgAzcDACAEC+YBAgN/AXwDQAJAQX8hBAJAAkACQEEHIAJCIIinIgUgBUEHa0FuSRsOCAAAAAACAgMBAgsgAqchA0EAIQQMAgtBACEEIAJCgICAgMCBgPz/AHwiAkL///////////8Ag0KAgICAgICA+P8AVgRADAILQYCAgIB4IQMgAr8iBkQAAA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AJBAnRrIAYQHhoLIAAoAhAiAEEQaiAFIAUoAhhBf3NBAnRqIAAoAgQRAAAgASAENgIAIAQgBzYCHEEADwtBfwvbAQEDfwJAIAAgASgCGEEBakECdCICIAEoAhxBA3RqQTBqIgMQJCIERQRAQQAhAgwBCyAEIAEgASgCGEF/c0ECdGogAxAeIAJqIgJBATYCACAAKAIQIQEgAkECOgAEIAEoAlAiAyACQQhqIgQ2AgQgAiABQdAAajYCDCACIAM2AgggASAENgJQQQAhASACQQA6ABAgAigCLCIDBEAgAyADKAIAQQFqNgIACyACQTBqIQMDQCABIAIoAiBPDQEgACADKAIEEBYaIANBCGohAyABQQFqIQEMAAsACyACC2YBA38jAEEQayIDJAAgACABKAIkIAIgASgCIEEDbEEBdiIAIAAgAkgbIgBBA3QgA0EMahCnASICBH8gAygCDCEEIAEgAjYCJCABIARBA3YgAGo2AiBBAAVBfwshBSADQRBqJAAgBQtsAgN/AXwjAEEQayICJAACfyABQiCIpyIDBEBBACADQQtqQRJJDQEaC0F/IAAgAkEIaiABEEINABogAisDCCIFvUKAgICAgICA+P8Ag0KAgICAgICA+P8AUiAFnCAFYXELIQQgAkEQaiQAIAQL9QICA38BfiMAQRBrIgMkAAJAAkACQAJAAkADQAJAQoCAgIDAfiEGAkACQAJAQQcgAUIgiKciBCAEQQdrQW5JG0EKag4SAAYFAwYGBgYGAgcBAQkGBgcHBgsgAkEBRg0GIAAgARAMIABB6zRBABASDAcLIAFC/////w+DIQYMBwtCgICAgOAAIQYgACABQQEQkgEiAUKAgICAcINCgICAgOAAUg0BDAYLCyAAIANBCGogARDfASECIAAgARAMIAJFDQMgAyACIAIQ/gEiBGoiBTYCDEIAIQYCQCAEIAMoAghGDQAgACAFIANBDGpBAEEEEIACIgZCgICAgHCDQoCAgIDgAFENACADIAMoAgwQ/gEgAygCDGoiBDYCDCADKAIIIAQgAmtGDQAgACAGEAxCgICAgMB+IQYLIAAgAhAxDAQLIAAgARAMIABBizVBABASDAILIAAgARAMDAILIAE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AAALIAghBwsgBUEQaiQAIAcLDQAgACgCAEF8cRCeAwufAgIEfwF+AkAgACACEDVFDQAgAqciBS8BBkEORgRAIAAgASAFKAIgKQMAEOIFDwsgAUKAgICAcFQNAAJAIAAgAkE8IAJBABARIgdC/////29YBEBBfyEEIAdCgICAgHCDQoCAgIDgAFENASAAQcweQQAQEgwBCyABpyEDIAenIQYDQAJAIAMoAhAoAiwiBUUEQCADLwEGQSxHDQMgAyADKAIAQQFqNgIAIAOtQoCAgIBwhCEBAkADQCAAIAEQwgIiAUKAgICAcIMiAkKAgICAIFENBSACQoCAgIDgAFENASABpyAGRgRAIAAgARAMDAQLIAAQdkUNAAsgACABEAwLQX8hBAwDCyAFIgMgBkcNAQsLQQEhBAsgACAHEAwLIAQLowECAn8CfiMAQRBrIgMkACADIAE3AwgCfwJAIAJCgICAgHBaBEAgACACQdQBIAJBABARIgZCgICAgHCDIgVCgICAgCBRIAVCgICAgDBRckUEQEF/IAVCgICAgOAAUQ0DGiAAIAAgBiACQQEgA0EIahA2ECcMAwsgACACEDUNAQsgAEH84gBBABASQX8MAQsgACABIAIQ4QULIQQgA0EQaiQAIAQLmgUBCX8jAEEQayICJAAgAkEANgIMIAJCADcDACACQX82AggCQAJAIAJBwAJByJsBKAIAEQMAIgQEQCAEQQBBwAIQLCIAQdCbASkCADcCCCAAQcibASkCADcCACAAKAIMRQRAIABBATYCDAsgACACKQMANwMQIAAgAikDCDcDGCAAQYCAEDYCbCAAQeQBaiIBQQhqQQBBNBAsGiABIAA2AgAgAUECNgIEIABBAzYCuAIgAEEENgK0AiAAQQU2AqwCIABBBjYCqAIgAEEHNgKkAiAAQQg2AqACIAAgAEGgAWoiATYCpAEgACABNgKgASAAQQA6AGggACAAQdgAaiIBNgJcIAAgATYCWCAAIABB0ABqIgE2AlQgACABNgJQIAAgAEHIAGoiATYCTCAAIAE2AkggAEEANgI0IABBADYCJCAAQQA2AjwgAEIANwMoAkAgAEGAAhDVBQ0AIABBEGohCEHwngEhA0E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UgA0HQAGokACAFDwtBps4AQajsAEGfGEH8zwAQAAALqwECAX4CfyABKQIEQoCAgIAIgyEDIAAtAAdBgAFxRQRAIANQBEAgAEEQaiABQRBqIAIQaA8LQQAgAUEQaiAAQRBqIAIQmgVrDwsgAUEQaiEEIABBEGohACADUARAIAAgBCACEJoFDwsgAkEAIAJBAEobIQVBACEBA0AgASAFRgRAQQAPCyABQQF0IQIgAUEBaiEBIAAgAmovAQAgAiAEai8BAGsiAkUNAAsgAgtsAgJ/AX4gAEEQaiECIAApAgQiBKchAAJAIARCgICAgAiDUEUEQCAAQf////8HcSEDQQAhAANAIAAgA0YNAiACIABBAXRqLwEAIAFBhwJsaiEBIABBAWohAAwACwALIAIgACABEO4FIQELIAELcAICfwF+IwBBEGsiAiQAAkAgAUEATgRAIAFBgICAgHhyIQMMAQsgAiABNgIAIAJBBWoiAUELQcURIAIQSBogACABEGAiBEKAgICAcINCgICAgOAAUQ0AIAAoAhAgBKdBARDHAiEDCyACQRBqJAAgAwvTAQIFfwF+AkAgASkCBCIHp0H/////B3EiBEELa0F2SQ0AAn8gB0KAgICACINQIgZFBEAgAS8BEAwBCyABLQAQCyIDQTBrIgJBCUsNAAJ/AkAgA0EwRwRAIAFBEGohBUEBIQEDQCABIARGDQICfyAGRQRAIAUgAUEBdGovAQAMAQsgASAFai0AAAtBMGsiA0EJSw0EIAFBAWohASADrSACrUIKfnwiB6chAiAHQoCAgIAQVA0ACwwDC0EAIgIgBEEBRw0BGgsgACACNgIAQQELDwtBAAssAQF/A0AgASADRkUEQCAAIANqLQAAIAJBhwJsaiECIANBAWohAwwBCwsgAgteAQF/AkAgAUKAgICAcFQNACABpyIELwEGIANHDQAgBCgCICIERQ0AIAQpAwAiAUKAgICAYFoEQCAAIAGnIAIRAAALIAQpAwgiAUKAgICAYFQNACAAIAGnIAIRAAALC0oBAX8CQCABQoCAgIBwVA0AIAGnIgMvAQYgAkcNACADKAIgIgNFDQAgACADKQMAECEgACADKQMIECEgAEEQaiADIAAoAgQRAAALCzgBAX8gAEEwayIEQQpPBH8gAEHBAGsgA00EQCAAQTdrDwsgAiAAQdcAayAAQeEAayABTxsFIAQLC6IDAQJ/IAAgASgCBBAQA0AgASgCECEDIAIgASgCFE5FBEAgACADIAJBA3RqKAIAEBAgAkEBaiECDAELCyAAKAIQIgJBEGogAyACKAIEEQAAQQAhAgNAAkAgASgCHCEDIAIgASgCIE4NACADIAJBFGxqIgMoAghFBEAgACgCECADKAIEEOUBCyAAIAMoAhAQECAAIAMoAgwQECACQQFqIQIMAQsLIAAoAhAiAkEQaiADIAIoAgQRAAAgACgCECICQRBqIAEoAiggAigCBBEAAEEAIQIDQCABKAI0IQMgAiABKAI4TkUEQCAAIAMgAkEMbGooAgQQECACQQFqIQIMAQsLIAAoAhAiAkEQaiADIAIoAgQRAAAgACgCECICQRBqIAEoAmQgAigCBBEAACAAIAEpA0AQDCAAIAEpA0gQDCAAIAEpA6gBEAwgACABKQOwARAMIAAgASkDiAEQDCAAIAEpA5ABEAwgACABKQOYARAMIAEoAggiAiABKAIMIgM2AgQgAyACNgIAIAFCADcCCCAAKAIQIgBBEGogASAAKAIEEQAAC9IDAgJ+An8jAEEgayIEJAACQCABQv///////////wCDIgNCgICAgICAwIA8fSADQoCAgICAgMD/wwB9VARAIAFCBIYgAEI8iIQhAyAAQv//////////D4MiAEKBgICAgICAgAhaBEAgA0KBgICAgICAgMAAfCECDAILIANCgICAgICAgIBAfSECIABCgICAgICAgIAIUg0BIAIgA0IBg3whAgwBCyAAUCADQoCAgICAgMD//wBUIANCgICAgICAwP//AFEbRQRAIAFCBIYgAEI8iIRC/////////wODQoCAgICAgID8/wCEIQIMAQtCgICAgICAgPj/ACECIANC////////v//DAFYNAEIAIQIgA0IwiKciBUGR9wBJDQAgBEEQaiAAIAFC////////P4NCgICAgICAwACEIgIgBUGB9wBrEGIgBCAAIAJBgfgAIAVrEI0CIAQpAwhCBIYgBCkDACIAQjyIhCECIAQpAxAgBCkDGIRCAFKtIABC//////////8Pg4QiAEKBgICAgICAgAhaBEAgAkIBfCECDAELIABCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgBEEgaiQAIAIgAUKAgICAgICAgIB/g4S/C6oPAgV/D34jAEHQAmsiBSQAIARC////////P4MhCiACQv///////z+DIQsgAiAEhUKAgICAgICAgIB/gyEMIARCMIinQf//AXEhCAJAAkAgAkIwiKdB//8BcSIJQf//AWtBgoB+TwRAIAhB//8Ba0GBgH5LDQELIAFQIAJC////////////AIMiDUKAgICAgIDA//8AVCANQoCAgICAgMD//wBRG0UEQCACQoCAgICAgCCEIQwMAgsgA1AgBEL///////////8AgyICQoCAgICAgMD//wBUIAJCgICAgICAwP//AFEbRQRAIARCgICAgICAIIQhDCADIQEMAgsgASANQoCAgICAgMD//wCFhFAEQCADIAJCgICAgICAwP//AIWEUARAQgAhAUKAgICAgIDg//8AIQwMAwsgDEKAgICAgIDA//8AhCEMQgAhAQwCCyADIAJCgICAgICAwP//AIWEUARAQgAhAQwCCyABIA2EUARAQoCAgICAgOD//wAgDCACIAOEUBshDEIAIQEMAgsgAiADhFAEQCAMQoCAgICAgMD//wCEIQxCACEBDAILIA1C////////P1gEQCAFQcACaiABIAsgASALIAtQIgYbeSAGQQZ0rXynIgZBD2sQYkEQIAZrIQYgBSkDyAIhCyAFKQPAAiEBCyACQv///////z9WDQAgBUGwAmogAyAKIAMgCiAKUCIHG3kgB0EGdK18pyIHQQ9rEGIgBiAHakEQayEGIAUpA7gCIQogBSkDsAIhAwsgBUGgAmogCkKAgICAgIDAAIQiEkIPhiADQjGIhCICQgBCgICAgLDmvIL1ACACfSIEQgAQYSAFQZACakIAIAUpA6gCfUIAIARCABBhIAVBgAJqIAUpA5gCQgGGIAUpA5ACQj+IhCIEQgAgAkIAEGEgBUHwAWogBEIAQgAgBSkDiAJ9QgAQYSAFQeABaiAFKQP4AUIBhiAFKQPwAUI/iIQiBEIAIAJCABBhIAVB0AFqIARCAEIAIAUpA+gBfUIAEGEgBUHAAWogBSkD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////z+DIAatQjCGhCEKIAtCAYYMAQsgBkGPf0wEQEIAIQEMAgsgBUFAayACIARBASAGaxCNAiAFQTBqIA0gFSAGQfAAahBiIAVBIGogAyASIAUpA0AiAiAFKQNIIgoQYSAFKQM4IAUpAyhCAYYgBSkDICIBQj+IhH0gBSkDMCIEIAFCAYYiDVStfSEBIAQgDX0LIQQgBUEQaiADIBJCA0IAEGEgBSADIBJCBUIAEGEgCiACIAIgAyAEIAJCAYMiBHwiA1QgASADIARUrXwiASASViABIBJRG618IgJWrXwiBCACIAIgBEKAgICAgIDA//8AVCADIAUpAxBWIAEgBSkDGCIEViABIARRG3GtfCICVq18IgQgAiAEQoCAgICAgMD//wBUIAMgBSkDAFYgASAFKQMIIgNWIAEgA1Ebca18IgEgAlStfCAMhCEMCyAAIAE3AwAgACAMNwMIIAVB0AJqJAALwAECAX8CfkF/IQMCQCAAQgBSIAFC////////////AIMiBEKAgICAgIDA//8AViAEQoCAgICAgMD//wBRGw0AIAJC////////////AIMiBUKAgICAgIDA//8AViAFQoCAgICAgMD//wBScQ0AIAAgBCAFhIRQBEBBAA8LIAEgAoNCAFkEQCABIAJSIAEgAlNxDQEgACABIAKFhEIAUg8LIABCAFIgASACVSABIAJRGw0AIAAgASAChYRCAFIhAwsgAwtAAQN/IABB4AFqIQQgACgC5AEhAwNAIAQgAyICRwRAIAIoAgQhAyABBEAgAi0ATQ0CCyAAIAJBCGsQ8gUMAQsLC7QLAQZ/IAAgAWohBQJAAkAgACgCBCICQQFxDQAgAkECcUUNASAAKAIAIgIgAWohAQJAAkACQCAAIAJrIgBB2N4EKAIARwRAIAAoAgwhAyACQf8BTQRAIAJBA3YhAiAAKAIIIgQgA0cNAkHE3gRBxN4EKAIAQX4gAndxNgIADAULIAAoAhghBiAAIANHBEBB1N4EKAIAGiAAKAIIIgIgAzYCDCADIAI2AggMBAsgACgCFCIEBH8gAEEUagUgACgCECIERQ0DIABBEGoLIQIDQCACIQcgBCIDQRRqIQIgAygCFCIEDQAg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AAgESkDACEXIBAgESkDCDcDCCAQIBc3AwAgEUGgAWokACAQKQMAIBApAwgQ8wUhHyAQQRBqJAAgHwv9AwIEfwF+AkACQAJ/AkACQAJ/IAAoAgQiASAAKAJoRwRAIAAgAUEBajYCBCABLQAADAELIAAQTwsiAUEraw4DAAEAAQsgAUEtRgJ/IAAoAgQiASAAKAJoRwRAIAAgAUEBajYCBCABLQAADAELIAAQTwsiAUE6ayICQXVLDQEaIAApA3BCAFMNAiAAIAAoAgRBAWs2AgQMAgsgAUE6ayECQQALIQMgAkF2SQ0AAkAgAUEwa0EKTw0AQQAhAgNAIAEgAkEKbGpBMGsiAkHMmbPmAEgCfyAAKAIEIgEgACgCaEcEQCAAIAFBAWo2AgQgAS0AAAwBCyAAEE8LIgFBMGsiBEEJTXENAAsgAqwhBSAEQQpPDQADQCABrSAFQgp+fCEFAn8gACgCBCIBIAAoAmhHBEAgACABQQFqNgIEIAEtAAAMAQsgABBPCyIBQTBrIgJBCU0gBUIwfSIFQq6PhdfHwuujAVNxDQALIAJBCk8NAANAAn8gACgCBCIBIAAoAmhHBEAgACABQQFqNgIEIAEtAAAMAQsgABBPC0Ewa0EKSQ0ACwsgACkDcEIAWQRAIAAgACgCBEEBazYCBAtCACAFfSAFIAMbIQUMAQtCgICAgICAgICAfyEFIAApA3BCAFMNACAAIAAoAgRBAWs2AgRCgICAgICAgICAfw8LIAULygYCBX8EfiMAQYABayIFJAACQAJAAkAgAyAEQgBCABDrAUUNAAJ/IARC////////P4MhCwJ/IARCMIinQf//AXEiBkH//wFHBEBBBCAGDQEaQQJBAyADIAuEUBsMAgsgAyALhFALCyEJIAJCMIinIghB//8BcSIHQf//AUYNACAJDQELIAVBEGogASACIAMgBBArIAUgBSkDECICIAUpAxgiASACIAEQ9AUgBSkDCCECIAUpAwAhBAwBCyABIAJC////////////AIMiCyADIARC////////////AIMiChDrAUEATARAIAEgCyADIAoQ6wEEQCABIQQMAgsgBUHwAGogASACQgBCABArIAUpA3ghAiAFKQNwIQQMAQsgBEIwiKdB//8BcSEGIAcEfiABBSAFQeAAaiABIAtCAEKAgICAgIDAu8AAECsgBSkDaCILQjCIp0H4AGshByAFKQNgCyEEIAZFBEAgBUHQAGogAyAKQgBCgICAgICAwLvAABArIAUpA1giCkIwiKdB+ABrIQYgBSkDUCEDCyAKQv///////z+DQoCAgICAgMAAhCEMIAtC////////P4NCgICAgICAwACEIQsgBiAHSARAA0ACfiALIAx9IAMgBFatfSIKQgBZBEAgCiAEIAN9IgSEUARAIAVBIGogASACQgBCABArIAUpAyghAiAFKQMgIQQMBQsgCkIBhiAEQj+IhAwBCyALQgGGIARCP4iECyELIARCAYYhBCAHQQFrIgcgBkoNAAsgBiEHCwJAIAsgDH0gAyAEVq19IgpCAFMEQCALIQoMAQsgCiAEIAN9IgSEQgBSDQAgBUEwaiABIAJCAEIAECsgBSkDOCECIAUpAzAhBAwBCyAKQv///////z9YBEADQCAEQj+IIQ0gB0EBayEHIARCAYYhBCANIApCAYaEIgpCgICAgICAwABUDQALCyAIQYCAAnEhBiAHQQBMBEAgBUFAayAEIApC////////P4MgB0H4AGogBnKtQjCGhEIAQoCAgICAgMDDPxArIAUpA0ghAiAFKQNAIQQMAQsgCkL///////8/gyAGIAdyrUIwhoQhAgsgACAENwMAIAAgAjcDCCAFQYABaiQAC78CAQF/IwBB0ABrIgQkAAJAIANBgIABTgRAIARBIGogASACQgBCgICAgICAgP//ABArIAQpAyghAiAEKQMgIQEgA0H//wFJBEAgA0H//wBrIQMMAgsgBEEQaiABIAJCAEKAgICAgICA//8AECtB/f8CIAMgA0H9/wJOG0H+/wFrIQMgBCkDGCECIAQpAxAhAQwBCyADQYGAf0oNACAEQUBrIAEgAkIAQoCAgICAgIA5ECsgBCkDSCECIAQpA0AhASADQfSAfksEQCADQY3/AGohAwwBCyAEQTBqIAEgAkIAQoCAgICAgIA5ECtB6IF9IAMgA0HogX1MG0Ga/gFqIQMgBCkDOCECIAQpAzAhAQsgBCABIAJCACADQf//AGqtQj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BkEAIAZBAEobIQQgAkEEahAZIAJBHGoQGQNAIAMgBEcEQCAAIAAgACABQeAPEEAaIANBAWohAwwBCwsgACAIQeEPELkBGiACQTBqJAAMAQtB6e0AQdjsAEHUIUGzxAAQAAALCyAFQQxqEBkgBUEgaiQAQRALrwEBAn8jAEEgayIEJAAgACgCACEFIARBCGogA0EAEO0BIAAgASAEKAIIIgEgAUEfdSIBcyABayIBIAJBwAAgAUEBa2dBAXRrQQAgAUECTxtqQQhqIgJB4A8QrwMhASADKAIEBEAgBEIANwIYIARCgICAgICAgICAfzcCECAEIAU2AgwgBEEMaiIDQgEQMhogACADIAAgAkHgDxCIASABciEBIAMQGQsgBEEgaiQAIAELkAYCCH8BfiMAQfAAayIDJAAgACABRwRAIAAoAgAhBCADQgA3AmggA0KAgICAgICAgIB/NwJgIAMgBDYCXCADQdwAaiIFIAEQSRogA0IANwJUIANCgICAgICAgICAfzcCTCADIAQ2AkggAygCZCEGIANBADYCZCADQcgAaiIBQqrVqtUKEDIaIANBADYCUCAFIAEQrAIEQCADIAMoAmRBAWo2AmQgBkEBayEGCyADQcgAahAZIAJBAWpBAXYQuQQhBSADQgA3AlQgA0KAgICAgICAgIB/NwJMIAMgBDYCSCADQgA3AkAgA0KAgICAgICAgIB/NwI4IAMgBDYCNCADQdwAaiIBIAFCf0H/////A0EAEHoaIAVBACAFQQBKGyEJIAIgBWogAiAFQQF0bkEBaiIKQQF0akEgaiECQQAhAQNAIAEgCUZFBEAgA0HIAGoiByADQdwAaiIIQgEgAkEAEHoaIANBNGoiCyAHIAJBBhC1BCAHIAtCASACQQAQehogCCAIIAcgAkEAEIgBGiABQQFqIQEMAQsLIANCADcCLCADQoCAgICAgICAgH83AiQgAyAENgIgIANCADcCGCADQoCAgICAgICAgH83AhAgAyAENgIMIANBIGoiASADQdwAaiIEQgIgAkEAEHoaIAEgBCABIAJBABCIARogA0EMaiABIAEgAkEAEEAaIABCABAyGiAKrSEMA0AgDKdBAExFBEAgA0HIAGoiAUI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QcgBiAINwMQIAYgAjcDCCAGIAc3AwAgACABIAUpAwhBAyAGEBwhBwsgACABEAwgACAIEAwMAgsgASEHCyAAIAgQDCAAIAkQDAsgBkEgaiQAIAcLWgECfiACQQR2IQIDQCACBEAgACkDACEDIAAgASkDADcDACAAKQMIIQQgACABKQMINwMIIAEgBDcDCCABIAM3AwAgAUEQaiEBIABBEGohACACQQFrIQIMAQsLCzQBAn4gACkDACEDIAAgASkDADcDACAAKQMIIQQgACABKQMINwMIIAEgBDcDCCABIAM3AwALhAUCBH4BfyADKQMIIQYCQCAAIAMpAwAiBBD2AyICQQBOBEACQCABQoCAgIBwg0KAgICAMFINACAAKAIQKAKMASkDCCEBIAJFIAZCgICAgHCDQoCAgIAwUnINACAAIARBPSAEQQAQESIFQoCAgIBwg0KAgICA4ABRBEAgBQ8LIAAgBSABEE0hCCAAIAUQDCAIRQ0AIARCIIinQXVJDQIgBKciACAAKAIAQQFqNgIADAILAkACQAJAAkACQCAEQoCAgIBwVA0AIASnIgMvAQZBEkcNACADKAIgIgIgAigCAEEBajYCACACrUKAgICAkH+EIQUgBkKAgICAcINCgICAgDBSDQEgAygCJCICIAIoAgBBAWo2AgAgAq1CgICAgJB/hCEEDAMLAkACQAJAIAIEQCAAIARB7QAgBEEAEBEiBUKAgICAcINCgICAgOAAUQRAQoCAgIAwIQYMCAsgBkKAgICAcINCgICAgDBRBEAgACAEQe4AIARBABARIgZCgICAgHCDQoCAgIDgAFINBAwICyAFIQQgBkIgiKdBdEsNAQwDCyAEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgBkIgiKdBdUkNAQsgBqciAiACKAIAQQFqNgIACyAEIQULIAVCgICAgHCDQoCAgIAwUQRAIABBLxApIQUMAgsgACAFECUhByAAIAUQDCAHIgVCgICAgHCDQoCAgIDgAFENAwwBCyAAIAYQJSIGQoCAgIBwg0KAgICA4ABRDQILIAAgBSAGELkDIgRCgICAgHCDQoCAgIDgAFENASAAIAYQDAsgACABIAUgBBDLBQ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CAXwhCCARQQBODQALCwwBC0KAgICAMCEFCyAAIAUQDEKAgICA4AAhBQsgACAHEAwgACAGEAwgACAJEAwgDUEwaiQAIAULDwAgACsDACABKwMAEMQECzkBAX5CgICAgMB+IAEpAwAiAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsRACAAKgIAuyABKgIAuxDEBAs7AQF+QoCAgIDAfiABKgIAu70iAkKAgICAwIGA/P8AfSACQv///////////wCDQoCAgICAgID4/wBWGwsZAQJ+IAEpAwAiAyAAKQMAIgRUIAMgBFZrCwwAIAAgASkDABCIBAsZAQJ+IAEpAwAiAyAAKQMAIgRTIAMgBFVrCwwAIAAgASkDABC/AgsXACABKAIAIgEgACgCACIASSAAIAFJaws9AQF+IAEoAgAiAEEATgRAIACtDwtCgICAgMB+IAC4vSICQoCAgIDAgYD8/wB9IAJCgICAgICAgPj/AFYbC9sFAwV/A34BfCMAQUBqIgUkAAJAAnwCQAJAAkACQAJAIAJBACABQoCAgIBwgyILQoCAgIAwUhsiAg4CAgABCwJAIAMpAwAiCUKAgICAcFQNACAJpyIELwEGQQpHDQAgBCkDICIKQiCIpyIEQQAgBEELakESSRsNACAAIAUgChBCDQMMBAsgBSAAIAlBAhC7AiIJNwM4IAlCgICAgHCDQoCAgICQf1EEQCAAIAEgBCAFQThqEKkFIQogACAJEAwgCkKAgICAcINCgICAgOAAUQ0DIAAgBSAKEG1FDQQMAwsgACAFIAkQbUUNAwwCCyAFQQBBOBAsIgZCgICAgICAgPg/NwMQQQcgAiACQQdOGyIHQQAgB0EAShshAgNAAkAgAiAERwRAIAAgBkE4aiADIARBA3QiCGopAwAQQg0EIAYrAzgiDL1CgICAgICAgPj/AINCgICAgICAgPj/AFINASAEIQILRAAAAAAAAPh/IAIgB0cNBRogBkEBEOsDDAULIAYgCGogDJ05AwACQCAEDQAgBisDACIMRAAAAAAAAAAAZkUgDEQAAAAAAABZQGNFcg0AIAYgDEQAAAAAALCdQKA5AwALIARBAWohBAwACwAL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AEKAgICAMEEBIAJBCGoQygQhBCAAIAEQDAsgAkEQaiQAIAQLLQBCgICAgOAAIAAgAykDACADKQMIQQAQiQIiAEEAR61CgICAgBCEIABBAEgbC6ABAQN+IAMpAwAiBSEEIAJBBE4EQCADKQMYIQQLIAVC/////29YBEAgABAiQoCAgIDgAA8LIAMpAxAhAUKAgICA4AAhBgJAIAAgAykDCBAwIgJFDQAgAUIgiKdBdU8EQCABpyIDIAMoAgBBAWo2AgALIAAgBSACIAEgBEEAENABIQMgACACEBAgA0EASA0AIANBAEetQoCAgIAQhCEGCyAGCyoAIAMpAwAiAUL/////b1gEQCAAECJCgICAgOAADwsgACABQQNBABCyAgtjAQF+IAMpAwAiBEL/////b1gEQCAAECJCgICAgOAADwtCgICAgOAAIQECQCAAIAMpAwgQMCICRQ0AIAAgBCACEG4hAyAAIAIQECADQQBIDQAgA0EAR61CgICAgBCEIQELIAELYwEDfgJAAkAgAykDACIBQv////9vWARAIAAQIgwBCyADKQMIIQUgASEEIAJBA04EQCADKQMQIQQLIAAgBRAwIgINAQtCgICAgOAADwsgACABIAIgBEEAEBEhBiAAIAIQECAGC2YBAX4gAykDACIEQv////9vWARAIAAQIkKAgICA4AAPC0KAgICA4AAhAQJAIAAgAykDCBAwIgJFDQAgACAEIAJBABDNASEDIAAgAhAQIANBAEgNACADQQBHrUKAgICAEIQhAQsgAQuaAQIBfwJ+IwBBEGsiBCQAIAMpAwghBSADKQMAIgYhAQJAAkACQAJAIAJBA0gNACADKQMQIgFCgICAgHBaBEAgAactAAVBEHENAQsgAEGdLEEAEBIMAQsgACAEQQxqIAUQ/QMiAg0BC0KAgICA4AAhAQwBCyAAIAYgASAEKAIMIgMgAhD+AiEBIAAgAiADEIYDCyAEQRBqJAAgAQt5AQF/IAFCgICAgHCDQoCAgIAwUgRAIABBnSxBABASQoCAgIDgAA8LAn4CQCACRQ0AIAMpAwAiAUKAgICAcINCgICAgDBRDQBCgICAgOAAIAAgARAlIgFCgICAgHCDQoCAgIDg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OACAAIABEAAAAAAAA8L9EAAAAAAAA8D8gAEQAAAAAAAAAAGMbIAC9Qv///////////wCDQoCAgICAgID4/wBWGyAARAAAAAAAAAAAYRsLgwECAn4BfyAAvSIBQjSIp0H/D3EiA0H+B00EQCABQoCAgICAgICAgH+DIQIgA0H+B0cgAUKAgICAgICA8L9/UXJFBEAgAkKAgICAgICA+D+Evw8LIAK/DwsgA0GyCE0EfCABQj+HIAF8QgFBswggA2uthiIBQgGIfEIAIAF9g78FIAALC4IFAwJ8BX8CfiMAQRBrIgkkAAJ+QoCAgIDA/v/7/wBCgICAgMD+/3sgBBsgAkUNABoCfCADKQMAIgFC/////w9YBEBBASACIAJBAUwbIQogAachCEEBIQcDQCAHIApHBEAgCLcgAyAHQQN0aikDACIBQoCAgIAQWg0DGiAIIAGnIgsgCCALShsgCCALIAggC0gbIAQbIQggB0EBaiEHDAELCyAIrQwCC0KAgICA4AAgACAJQQhqIAEQQg0BGkEBIQcgCSsDCAshBSAHIAIgAiAHSBshAgNAIAIgB0cEQEKAgICA4AAgACAJIAMgB0EDdGopAwAQQg0CGgJAIAW9IgxC////////////AINCgICAgICAgPj/AFYNACAJKwMAIga9IgFC////////////AINCgICAgICAgPj/AFYEQCAGIQUMAQsgBUQAAAAAAAAAAGEgBkQAAAAAAAAAAGFxIQogBARAIAoEQCABIAyDvyEFDAILIAUgBSAGpSAGvUL///////////8Ag0KAgICAgICA+P8AVhsgBiAFvUL///////////8Ag0KAgICAgICA+P8AWBshBQwBCyAKBEAgASAMhL8hBQwBCyAFIAUgBqQgBr1C////////////AINCgICAgICAgPj/AFYbIAYgBb1C////////////AINCgICAgICAgPj/AFgbIQULIAdBAWohBwwBCwsgBb0iAQJ/IAWZRAAAAAAAAOBBYwRAIAWqDAELQYCAgIB4CyIAt71RBEAgAK0MAQtCgICAgMB+IAFCgICAgMCBgPz/AH0gAUL///////////8Ag0KAgICAgICA+P8AVhsLIQ0gCUEQaiQAIA0L4wECAX4CfyMAQRBrIgIkAAJ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UQSxogA0EBayEDDAALAAsgAkEIagJ/IAQtAAdBgAFxBEAgBC8BEAwBCyAELQAQCyADEMsEGgsgACABEAwgAkEIahA3IQcMAgsgACABEAwMAQsgASEHCyACQSBqJAAgBwtYAQF+IAAgAykDABDkAUEAR61CgICAgBCEIQQgAUKAgICAcINCgICAgDBRBEAgBA8LIAAgAUEGEF4iAUKAgICAcINCgICAgOAAUgRAIAAgASAEEL0BCyABC8EBAgJ/An4jAEEQayIEJABCgICAgOAAIQYCQCAAIAEQSiIBQoCAgIBwg0KAgICA4ABRBEAgASEGDAELAkAgACAEQQxqIAMpAwAgAaciBSgCBEH/////B3EiAiACEFYNACAEIAI2AgggAykDCCIHQoCAgIBwg0KAgICAMFIEQCAAIARBCGogByACIAIQVg0BIAQoAgghAgsgACAFIAQoAgwiAyACIAMgAiADShsQjgEhBgsgACABEAwLIARBEGokACAGC8ABAgN/An4jAEEQayICJABCgICAgOAAIQcCQCAAIAEQSiIBQoCAgIBwg0KAgICA4ABRBEAgASEHDAELAkAgACACQQxqIAMpAwAgAaciBigCBEH/////B3EiBCAEEFYNACACIAQgAigCDCIFayIENgIIIAAgBiAFIAMpAwgiCEKAgICAcINCgICAgDBSBH8gACACQQhqIAggBEEAEFYNASACKAIIBSAECyAFahCOASEHCyAAIAEQDAsgAkEQaiQAIAcL0wECAn8CfiMAQRBrIgIkAEKAgICA4AAhBgJAIAAgARBKIgFCgICAgHCDQoCAgIDgAFEEQCABIQYMAQsCQCAAIAJBDGogAykDACABpyIFKAIEQf////8HcUEAEFYNACACIAUoAgRB/////wdxIgQ2AgggAykDCCIHQoCAgIBwg0KAgICAMFIEQCAAIAJBCGogByAEQQAQVg0BIAIoAgghBAsgACAFIAIoAgwiAyAEIAMgBEgbIAMgBCADIARKGxCOASEGCyAAIAEQDAsgAkEQaiQAIAYLoQUCC34DfyMAQRBrIgIkAAJAIAFCgICAgBCEQoCAgIBwg0KAgICAMFEEQCAAQZseQQAQEkKAgICA4AAhBwwBCyADKQM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AgIDgACEGIAdCgICAgHCDQoCAgIDgAFENACACIAU3AxACQAJAAn8gBEHOAUcEQEKAgICAMCEBQQEMAQsgAEH2ywAQYCIBQoCAgIBwg0KAgICA4ABRDQEgAiABNwMYQQILIQMgACAAKQNIIAMgAkEQahCjASEFIAAgARAMIAVCgICAgHCDQoCAgIDgAFINAQsgACAHEAwMAQsgACAFIARBASACQQhqEKcCIQYgACACKQMIEAwLIAJBMGokACAGC4sDAgd/A34jAEEQayIGJAACQCAAIAEQSiIMQoCAgIBwg0KAgICA4ABRBEAgDCEBDAELAkAgACADKQMAEPYDIgUEQEKAgICA4AAhAUKAgICAMCENIAVBAEwNASAAQfrkAEEAEBIMAQtCgICAgOAAIQEgACADKQMAECUiDUKAgICAcINCgICAgOAAUQ0AIA2nIgcoAgQhCCAGIAynIgkoAgRB/////wdxIgVBACAEQQJGGzYCDAJAIAJBAkgNACADKQMIIg5CgICAgHCDQoCAgIAwUQ0AIAAgBkEMaiAOIAVBABBWDQELIAUgCEH/////B3EiBWshAiAGKAIMIQMCQAJAAkAgBA4CAgABCyACIANIIQpCgICAgBAhASADIQIgCkUNAQwCCyADIAVrIgMhAgtCgICAgBAhASADQQBIIAIgA0hyDQADQCAJIAcgA0EAIAUQvANFBEBCgYCAgBAhAQwCCyACIANHIQsgA0EBaiEDIAsNAAsLIAAgDBAMIAAgDRAMCyAGQRBqJAAgAQurAwMHfwJ+AXwjAEEQayIFJABCgICAgOAAIQwCQCAAIAEQSiIBQoCAgIBwg0KAgICA4ABRBEAgASEMDAELAkAgACADKQMAECUiDUKAgICAcINCgICAgOAAUQ0AIA2nIgkoAgRB/////wdxIQYgAaciCigCBEH/////B3EhBwJAIAQEQCAFIAcgBmsiCzYCDEF/IQhBACEEIAJBAkgNASAAIAUgAykDCBBCDQIgBSsDACIOvUL///////////8Ag0KAgICAgICA+P8AVg0BIA5EAAAAAAAAAABlBEAgBUEANgIMDAILIA4gC7djRQ0BIAUCfyAOmUQAAAAAAADgQWMEQCAO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ASAAIA43A9gBIABBxic2AtABIANBg5YBIABB0AFqEKoBCwJAIAcpA3giDlANACAAIAcpA4ABNwPAASAAIA43A7gBIABB/iQ2ArABIANBrJMBIABBsAFqEJoBIAcpA3ghDiAAIAcpA4gBIg83A6ABIAAgD7kgDrmjOQOoASAAIA43A5gBIABBrtwANgKQASADQbGUASAAQZABahCqASAHKQOQASIOUA0AIAAgBykDmAEiDzcDgAEgACAONwN4IAAgD7kgDrmjOQOIASAAQbzTADYCcCADQbGUASAAQfAAahCqAQsgBykDoAEiDlBFBEAgACAONwNoIABBkSU2AmAgA0GfkwEgAEHgAGoQmgELAkAgBykDqAEiDlANACAAIA43A1ggAEHMIDYCUCADQZ+TASAAQdAAahCaASAHKQOwASIOUA0AIAAgDjcDSCAAQcUgNgJAIANBn5MBIABBQGsQmgEgBykDsAEhDyAAIAcpA7gBIg5CA4Y3AzAgACAOuSAPuaM5AzggACAONwMoIABB4CE2AiAgA0HfkwEgAEEgahCqAQsgBykDwAEiDlBFBEAgACAHKQPIATcDECAAIA43AwggAEGEIjYCACADQayTASAAEJoBCyAAQcAGaiQAIAMoAkwaIAMQogMaIAMgAygCDBEFABogAy0AAEEBcUUEQCADKAI4IQAgAygCNCIBBEAgASAANgI4CyAABEAgACABNgI0CyADQZjVBCgCAEYEQEGY1QQgADYCAAsgAygCYBDUASADENQBCyAMEAogDBDUAQsgB0HQAWokAAsJACAAIAEQzwQLLAAgACABEM8EIgFCgICAgHCDQoCAgIDgAFIEfiAAQQNBAiABpxsQKQUgAQsLkAECAXwBfiMAQRBrIgIkAAJ+IAMpAwAiAUIgiKciAwRAQoCAgIAQIANBC2pBEkkNARoLQoCAgIDgACAAIAJBCGogARBCDQAaIAIrAwgiBJlE////////P0NlIAS9QoCAgICAgID4/wCDQoCAgICAgID4/wBSIAScIARhcXGtQoCAgIAQhAshBSACQRBqJAAgBQsmAEKAgICA4AAgACADKQMAENkFIgBBAEetQoCAgIAQhCAAQQBIGwsvAQF+An4gAygCBCICBEBCgICAgBAiBCACQQtqQRJJDQEaCyAAIAQgAyADENIECwsvAQF+An4gAygCBCICBEBCgICAgBAiBCACQQtqQRJJDQEaCyAAIAQgAyADENMECwsJACAAIAEQngILowECAn4BfyMAQRBrIgIkAAJ+IAAgARCeAiIFQoCAgIBwg0KAgICA4ABRBEAgBQwBC0EKIQcCQAJAIAQNACADKQMAIgFCgICAgHCDQoCAgIAwUQ0AIAAgARDbBCIHQQBIDQELQoCAgIDgACAAIAJBCGogBRBtDQEaIAAgAisDCCAHQQBBABC6AgwBCyAAIAUQDEKAgICA4AALIQYgAkEQaiQAIAYLkAICAX4BfCMAQRBrIgIkAEKAgICA4AAhBAJAIAAgARCeAiIBQoCAgIBwg0KAgICA4ABRBEAgASEEDAELIAAgAiABEG0NAAJAAkAgAykDACIBQoCAgIBwg0KAgICAMFEEQCACKwMAIgW9IQEMAQsgACACQQxqIAEQswENAiACKwMAIgW9IgFCgICAgICAgPj/AINCgICAgICAgPj/AFINAQsgAEKAgICAwH4gAUKAgICAwIGA/P8AfSAFvUL///////////8Ag0KAgICAgICA+P8AVhsQNCEEDAELIAIoAgwiA0HlAGtBm39NBEAgAEHrIUEAEEQMAQsgACAFQQogA0EBELoCIQQLIAJBEGokACAEC80BAgF+AnwjAEEQayICJABCgICAgOAAIQQCQCAAIAEQngIiAUKAgICAcINCgICAgOAAUQRAIAEhBAwBCyAAIAIgARBtDQAgACACQQxqIAMpAwAQswENACACKAIMIgNB5QBPBEAgAEHrIUEAEEQMAQsgAisDACIFmSIGRFDv4tbkGktEZgRAIABCgICAgMB+IAW9QoCAgIDAgYD8/wB9IAa9QoCAgICAgID4/wBWGxA0IQQMAQsgACAFQQogA0ECELoCIQQLIAJBEGokACAEC4sCAwF+AX8BfCMAQRBrIgIkAEKAgICA4AAhBAJAIAAgARCeAiIBQoCAgIBwg0KAgICA4ABRBEAgASEEDAELIAAgAiABEG0NACAAIAJBDGogAykDABCzAQ0AIAIrAwAiBr0iAUKAgICAgICA+P8Ag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DEAUgAQsgDikDGH0iAUIAIAFCAFUbIQdBACECCyAAIAogB0KAgICACHxC/////w9YBH4gB0L/////D4MFQoCAgIDAfiAHub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsiBRCfAiEBIAAgBRAMAkAgAUKAgICAcINCgICAgOAAUQ0AIA4pAxgiDSAHfCELAkACQCAKIA5BDGogDkEIahCPAUUgAUKAgICAcFRyDQAgAaciDy8BBkECRw0AIA0hBSAPLQAFQQhxRQ0BIAUgCyAONQIIIgggCCALVRsiCCAFIAhVGyAFfSEJIA4oAgwhEANAIAkgDFENAiAQIAWnQQN0aikDACIIQiCIp0F1TwRAIAinIg8gDygCAEEBajYCAAsgACABIAwgCEGAgAEQyAFBAEgNAyAMQgF8IQwgBUIBfCEFDAALAAsgDSEFCyAFIAsgBSALVRshCANAIAUgCFIEQCAAIAogBSAOQShqEFQiD0EASA0CIA8EQCAAIAEgCSAOKQMoQYCAARDIAUEASA0DCyAJQgF8IQkgBUIBfCEFDAELCyAAIAFBMCAJQoCAgIAIWgR+QoCAgIDAfiAJub0iBUKAgICAwIGA/P8AfSAFQv///////////wCDQoCAgICAgID4/wBWGwUgCQsQOUEASA0AIAQEQCAGIAKtIgt8IAd9IQwCQCAHIAtRDQAgACAKIAsgDXwgByANfCIFIAYgBX1Bf0EBIAcgC1MbEPMCQQBIDQIDQCAGIAxXDQEgACAKIAZCAX0iBhCFAkEATg0ACwwCCyADQRBqIQNCACEFA0AgBSALUgRAIAMgBadBA3RqKQMAIghCIIinQXVPBEAgCKciAiACKAIAQQFqNgIACyAFIA18IQYgBUIBfCEFIAAgCiAGIAgQe0EATg0BDAMLCyAMQoCAgIAIfEL/////D1gEfiAMQv////8PgwVCgICAgMB+IAy5vSIFQoCAgIDAgYD8/wB9IAVC////////////AINCgICAgICAgPj/AFYbCyEJIAEhBSAAIApBMCAJEDlBAEgNAgsgCiEFDAILIAEhBQsgACAKEAxCgICAgOAAIQELIAAgBRAMIA5BMG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tCgICAgHCDQoCAgIDgAFINAQwDCyAAIAEgCiAFQThqEFQiAkEASARAIAUpAzghCwwDCyACRQ0BCyAKQoCAgIAIfEL/////D1gEfiAKQv////8PgwVCgICAgMB+IAq5vSILQoCAgIDAgYD8/wB9IAtC////////////AINCgICAgICAgPj/AFYbCyENIAUpAzghCiANQoCAgIBwg0KAgICA4ABRBEAgCiELDAILIAUgATcDKCAFIA03AyAgBSAKNwMYIAUgCTcDEEKAgICAMCELIAAgD0KAgICAMEEEIAVBEGoQHCEOIAAgDRAMIAAgChAMIAVCgICAgDA3AzggDkKAgICAcINCgICAgOAAUQ0BIAAgCRAMIA4hCQsgCEIBfCEIDAELCyAFIAk3AzALIAAgBSkDMBAMIAAgCxAMQoCAgIDgACEJCyAAIAEQDCAFQUBrJAAgCQvlCAIDfwp+IwBBMGsiBSQAQoCAgIAwIQggBUKAgICAMDcDKAJAAkACQCAEQQhxIgcEQCABQiCIp0F1TwRAIAGnIgYgBigCAEEBajYCAAsgBSAAIAEQigEiBqw3AwggBkEATg0BQoCAgIDgACEJDAILQoCAgIDgACEJIAAgBUEIaiAAIAEQICIBEC8NAQsgAykDACEQQoCAgIAwIQ8gAkECTgRAIAMpAwghDwtCgICAgOAAIQkgACAQEFUNAAJAAkACQAJAAkACQAJAIAQODQUABgECBgYGBQAGAwQGC0KAgICAECEIDAULIAAgAQJ+IAUpAwgiCEKAgICACHxC/////w9YBEAgCEL/////D4MMAQtCgICAgMB+IAi5vSIIQoCAgIDAgYD8/wB9IAhC////////////AINCgICAgICAgPj/AFYbCxCfAiIIQoCAgIBwg0KAgICA4ABSDQQMBQsgACABQgAQnwIiCEKAgICAcINCgICAgOAAUg0DDAQLIAUgATcDECAFIAU1Agg3AxggAEECIAVBEGoQ4QIiCEKAgICAcINCgICAgOAAUg0CDAMLIAAQOyIIQoCAgIBwg0KAgICA4ABSDQFCgICAgOAAIQgMAgtCgYCAgBAhCAsgBSkDCCIJQgAgCUIAVRshEQNAIAogEVIEQAJAA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RyIFQoCAgIBwg0KAgICA4ABRDQAgBaciCSABQoCAgIBwWgR/IAGnLQAFQRBxBUEACyAJLQAFQe8BcXI6AAUCQCAAQQEgAiACQQFMGyIKQQFrIghBA3RBGGoQJCIHRQ0AIAFCIIinQXVPBEAgAaciAiACKAIAQQFqNgIACyAHIAE3AwAgAykDACIEQiCIp0F1TwRAIASnIgIgAigCAEEBajYCAAsgByAINgIQIAcgBDcDCCAHQRhqIQtBACECA0AgAiAIRwRAIAMgAkEBaiIMQQN0aikDACIEQiCIp0F1TwRAIASnIg0gDSgCAEEBajYCAAsgCyACQQN0aiAENwMAIAwhAgwBCwsgCSAHNgIgAn8gAUL/////b1gEQCAAECJBfwwBCyAAQQAgAadBMBBDCyICQQBIDQACQCACRQ0AIAAgAUEwIAFBABARIgRCgICAgHCDQoCAgIDgAFENASAEQv////8PWARAIASnIgIgCGtBACACIApOG60hBgwBCyAEQiCIp0EHa0FtTQRAAkAgBEKAgICAwIGA/P8AfCIEQv///////////wCDQoCAgICAgID4/wBWDQAgBL+dIg8gCLciEGUNACAPIBChIQ4LIA69IgQCfyAOmUQAAAAAAADgQWMEQCAOqgwBC0GAgICAeAsiAre9UQRAIAKtIQYMAgtCgICAgMB+IARCgICAgMCBgPz/AH0gBEL///////////8Ag0KAgICAgICA+P8AVhshBgwBCyAAIAQQDAsgACAFQTAgBkEBEBUaIABBgJIBIAAgAUE3IAFBABARIgFCgICAgHCDIgRCgICAgJB/UgR+IARCgICAgOAAUQ0BIAAgARAMIABBLxApBSABC0HslgEQsgEiAUKAgICAcINCgICAgOAAUQ0AIAAgBUE3IAFBARAVGiAFDwsgACAFEAwLQoCAgIDgAAswACACQQBMBEAgACABQoCAgIAwQQBBABAcDwsgACABIAMpAwAgAkEBayADQQhqEBwLgwICAX4BfyMAQSBrIgIkAEKAgICA4AAhBQJAAkAgACABECAiAUKAgICAcINCgICAgOAAUQ0AIAAgAykDABAwIgNFDQADQCAAIAIgAacgAxBDIgZBAE4EQCAGBEBC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VBDnQQ2QQhAyAAIAIQECADQQBIDQAgBARAIANBAEetQoCAgIAQhA8LIAGnIgAgACgCAEEBajYCACABIQULIAULQQAgACADKQMAIgEgAykDCEEBEIkCQQBIBEBCgICAgOAADwsgAUIgiKdBdU8EQCABpyIAIAAoAgBBAWo2AgALIAELXQACQCABQoCAgIBwg0KAgICAMFENACAAKAIQKAKMASgCCCABp0YNACAAIAFBARBeDwsgAykDACIBQiCIpyICQQtqQRFLIAJBfnFBAkdyRQRAIAAQMw8LIAAgARAgCzYAIAMpAwAiAUIgiKciAkF/RiAERSACQX5xQQJHcXJFBEAgABAiQoCAgIDgAA8LIAAgARDoAQuJAQEBfiADKQMAIgFC/////29WIAFCgICAgHCDQoCAgIAgUXJFBEAgAEHe0gBBABASQoCAgIDgAA8LAkAgACABEEEiAUKAgICAcINCgICAgOAAUgRAIAMpAwgiBEKAgICAcINCgICAgDBRDQEgACABIAQQ2gRFDQEgACABEAwLQoCAgIDgAA8LIAELnwIBA34gAUL/////b1gEQCAAECJCgICAgOAADwtCgICAgOAAIQUCfiAAIAFBNyABQQAQESIEQoCAgIBwg0KAgICAMFEEQCAAQZQBECkMAQsgACAEEDQLIgRCgICAgHCDIgZCgICAgOAAUgR+An4gACABQTMgAUEAEBEiAUKAgICAcINCgICAgDBRBEAgAEEvECkMAQsgACABEDQLIgFCgICAgHCDIgVCgICAgOAAUQRAIAAgBBAMQoCAgIDgAA8LAkAgBkKAgICAkH9RBEAgBKcoAgRB/////wdxRQ0BCyAFQoCAgICQf1EEQCABpygCBEH/////B3FFDQELIABB7JYBIARBpJIBELIBIQQLIAAgBCABELYCBUKAgICA4AALC5UCAgF+An8jAEEwayICJABCgICAgOAAIQECQCAAIAJBKGogAykDABCkAQ0AIAAQ4gEiBUKAgICAcINCgICAgOAAUQ0AIAAgAkEUaiADKQMIEK4CIgZFBEAgACAFEAwMAQsgACgC2AEgAhC7ASACQgEQMhogAiACKQMoIgGnIgdBARC5ARogAiACQn9B/////wNBARB6GiA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gAgAiAAIAAQPUHR/wAQsgUiAyABEJADBEBBtNQEKAIAIAMQDEEADwtBuNQEIAM3AwBBAQvsAgIDfwF8IwBB0ABrIgQkACAEQRBqQQBBOBAsGiAEQoCAgICAgID4PzcDIEKAgICAwH4hAQJAIAJFDQBBByACIAJBB04bIgJBACACQQBKGyECA0AgAiAFRwRAIAAgBEEIaiADIAVBA3QiBmopAwAQQgRAQoCAgIDgACEBDAMLIAQrAwgiB71CgICAgICAgPj/AINCgICAgICAgPj/AFENAiAEQRBqIAZqIAedOQMAAkAgBQ0AIAQrAxAiB0QAAAAAAAAAAGZFIAdEAAAAAAAAWUBjRXINACAEIAdEAAAAAACwnUCgOQMQCyAFQQFqIQUMAQsLIARBEGpBABDrAyIHvSIBAn8gB5lEAAAAAAAA4EFjBEAgB6oMAQtBgICAgHgLIgW3vVEEQCAFrSEBDAELQoCAgIDAfiABQoCAgIDAgYD8/wB9IAFC////////////AINCgICAgICAgPj/AFYbIQELIARB0ABqJAAgAQtWABCoBSIBQoCAgIAIfEL/////D1gEQCABQv////8Pgw8LQoCAgIDAfiABub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwvvAQEDfiMAQRBrIgIkAEKAgICA4AAhBAJAIAAgACABECAiAUEBELsCIgVCgICAgHCDQoCAgIDgAFENACAFQiCIpyIDQQAgA0ELakESSRtFBEAgACACQQhqIAUQQkEASA0BQoCAgIAgIQQgAikDCEKAgICAgICA+P8Ag0KAgICAgICA+P8AUQ0BC0KAgICA4AAhBCAAIAFB48oAEIcCIgZCgICAgHCDQoCAgIDgAFENACAAIAYQNUUEQCAAQergAEEAEBIgACAGEAwMAQsgACAGIAFBAEEAEDYhBAsgACABEAwgACAFEAwgAkEQaiQAIAQLjAIDAXwBfgF/IwBBEGsiAiQAQoCAgIDgACEFAkAgACACQQhqIgYgARCmAg0AIAAgBiADKQMAEEINACACAn4gAisDCCIEvUKAgICAgICA+P8Ag0KAgICAgICA+P8AUgRAIASdIgREA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AgOAADwsgAUIgiKdBdU8EQCABpyIAIAAoAgBBAWo2AgALIAJBADYCDCACIARBAnU2AgggAiABNwMAIAVCgICAgHBaBEAgBacgAjYCIAsgBQVCgICAgOAACwvSAgIDfgN/IwBBIGsiCCQAQoCAgIDgACEFAkAgACABIARBImoQWiIJRQ0AIAMpAwAhB0KAgICAMCEGIAJBAk4EQCADKQMIIQYLIAAgBxBVDQAgCUEEaiEKIAkoAgghAwNAIAMgCkYEQEKAgICAMCEFDAILIANBDGsoAgAEQCADKAIEIQMFIANBEGsiAiACKAIAQQFqNgIAIAMpAxAiBUIgiKdBdU8EQCAFpyIJIAkoAgBBAWo2AgALIAggBTcDCAJAIAQNACADKQMYIgVCIIinQXVJDQAgBaciCSAJKAIAQQFqNgIACyAIIAE3AxAgCCAFNwMAIAAgByAGQQMgCBAcIQUgACAIKQMAEAwgBEUEQCAAIAgpAwgQDAsgAygCBCEDIAAoAhAgAhDiAyAFQoCAgIBwg0KAgICA4ABRDQIgACAFEAwLDAALAAsgCEEgaiQAIAULVAAgACABIAJBImoQWiIARQRAQoCAgIDgAA8LIAAoAgwiAEEATgRAIACtDwtCgICAgMB+IAC4vSIBQoCAgIDAgYD8/wB9IAFCgICAgICAgPj/AFYbC1kBAX8gACABIARBImoQWiICRQRAQoCAgIDgAA8LIAJBBGohAyACKAIIIQQDfiADIARGBH5CgICAgDAFIARBEGshBSAEKAIEIQQgACgCECACIAUQgAUMAQsLC3UAIAAgASAEQSJqEFoiAkUEQEKAgICA4AAPCyAAIAIgAykDACIBQgAgAUIgiKdBB2tBbk8bIAEgAUKAgICAwIGA/P8AfEL///////////8Ag1AbEPICIgNFBEBCgICAgBAPCyAAKAIQIAIgAxCABUKBgICAEAthACAAIAEgBEEiahBaIgJFBEBCgICAgOAADwsgACACIAMpAwAiAUIAIAFCIIinQQdrQW5PGyABIAFCgICAgMCBgPz/AHxC////////////AINQGxDyAkEAR61CgICAgBCECwgAQoCAgIAwC0oAAkAgBSkDACIBQoCAgI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FCgICAgHCDIgdCgICAgOAAUg0BC0KAgICAMCEHDAELIAdCgICAgCBRBEAgAkEBNgIYQoCAgIAwIQFBAQwDCyACKAIQBEAgACAAIAFCABBOEDQiB0KAgICAcIMiCUKAgICA4ABRDQECQCAJQoCAgICQf1INACAHpygCBEH/////B3ENACAAIANBCGogACAIQdYAIAhBABAREKEBQQBIDQIgACAIQdYAAn4gBqcgAykDCCACKAIUEPQCIgZCgICAgAh8Qv////8PWARAIAZC/////w+DDAELQoCAgIDAfiAGub0iBkKAgICAwIGA/P8AfSAGQv///////////wCDQoCAgICAgID4/wBWGwsQOUEASA0CCyAAIAcQDAwCCyACQQE2AhgMAQsgACABEAwgACAHEAxCgICAgOAAIQELQQALNgIAIANBEGokACABCyAAIAFCIIinQXVPBEAgAaciACAAKAIAQQFqNgIACyABC/EHAgR/C34jAEEwayIEJAACQCABQv////9vWARAIAAQIkKAgICA4AAhAQwBC0KAgICAMCEIAkACQCAAIAMpAwAQJSIPQoCAgIBwg0KAgICA4ABRBEBCgICAgDAhDEKAgICAMCEBQoCAgIAwIQ1CgICAgDAhEAwBCyAAIAEgACkDSBD9ASIQQoCAgIBwg0KAgICA4ABRBEBCgICAgDAhDEKAgICAMCEBQoCAgIAwIQ0MAQsCQAJAIAAgACABQe4AIAFBABAREDQiDUKAgICAcINCgICAgOAAUQ0AIA2nIgJB9QBBABCgASEGIAJB+QBBABCgAUEASARAIABB7JYBIA1B0A4QsgEiDUKAgICAcINCgICAgOAAUQ0BCyAEIA03AyggBCABNwMgIAAgEEECIARBIGoQowEiDEKAgICAcINCgICAgOAAUQ0BIAAQOyIBQoCAgIBwg0KAgICA4ABRBEBCgICAgOAAIQEMAwtBfyECAkAgAykDCCIJQoCAgIBwg0KAgICAMFENACAAIARBHGogCRB1QQBIDQMgBCgCHCICDQAMBAsCQAJAIA+nIgcpAgQiCKdB/////wdxIgUEQCAGQX9zQR92IQYgCEL/////B4MhESACrSESQgAhCUKAgICAMCEIQQAhAgNAIAKtIQogAiEDA0AgAyAFTw0DIAAgDEHWACADrSIOEDlBAEgNByAAIAgQDAJAIAAgDCAPEMUBIghCgICAgHCDIgtCgICAgCBRDQAgC0KAgICA4ABRDQggACAEQRBqIAAgDEHWACAMQQAQERChAQ0IIAQgBCkDECILIBEgCyARUxsiCzcDECAKIAtRDQAgACAHIAIgAxCOASIKQoCAgIBwg0KAgICA4ABRDQggACABIAkgChBnQQBIDQggCUIBfCIKIBJRDQkgACAEQQhqIAgQLw0IIAunIQJCASELIAlCASAEKQMIIg4gDkIBVxt8IQkDQCAJIApRDQMgACAAIAggCxBsEDQiDkKAgICAcINCgICAgOAAUQ0JIAAgASAKIA4QZ0EASA0JIAtCAXwhCyAKQgF8IgogElINAAsMCQsgByAOIAYQ9AKnIQMMAAsACwALIAAgDCAPEMUBIghCgICAgHCDIglCgICAgCBSDQFCACEJQQAhAgsgACAHIAIgBSACIAVJGyAFEI4BIgpCgICAgHCDQoCAgIDgAFENAyAAIAEgCSAKEGdBAEgNAwwECyAJQoCAgIDgAFINAwwCC0KAgICAMCEMC0KAgICAMCEBCyAAIAEQDEKAgICA4AAhAQsgACAPEAwgACAQEAwgACAMEAwgACANEAwgACAIEAwLIARBMGokACABC+ACAQd+IAFC/////29YBEAgABAiQoCAgIDgAA8LQoCAgIDgACEIQoCAgIAwIQYCQAJAAkAgACADKQMAECUiB0KAgICAcINCgICAgOAAUQRAQoCAgIAwIQQMAQsgACABQdYAIAFBABARIgRCgICAgHCDQoCAgIDgAFENACAAIARCABBNRQRAIAAgAUHWAEIAEDlBAEgNAQsgACABIAcQxQEiBUKAgICAcIMiCUKAgICA4ABRDQEgACABQdYAIAFBABARIgZCgICAgHCDQoCAgIDgAFENAQJAIAAgBiAEEE0EQCAAIAQQDAwBCyAAIAFB1gAgBBA5QQBODQBCgICAgDAhBAwCCyAAIAcQDCAAIAYQDEL/////DyEIIAlCgICAgCBRDQIgACAFQdgAIAVBABARIQogACAFEAwgCg8LQoCAgIAwIQULIAAgBRAMIAAgBxAMIAAgBhAMIAAgBBAMCyAIC84EAgZ+AX8jAEEgayICJAACQCABQv////9vWARAIAAQIkKAgICA4AAhBwwBC0KAgICA4AAhB0KAgICAMCEIAkAgACADKQMAECUiCUKAgICAcINCgICAgOAAUQRAQoCAgIAwIQRCgICAgDAhBUKAgICAMCEGDAELAkACQCAAIAEgACkDSBD9ASIGQoCAgIBwg0KAgICA4ABRBEBCgICAgDAhBAwBCyAAIAAgAUHuACABQQAQERA0IgRCgICAgHCDQoCAgIDgAFINAQtCgICAgDAhBQwBCyACIAQ3AxggAiABNwMQIAAgBkECIAJBEGoQowEiBUKAgICAcINCgICAgOAAUQ0AIAAgAkEIaiAAIAFB1gAgAUEAEBEQoQENACAAIAVB1gACfiACKQMIIgFCgICAgAh8Qv////8PWARAIAFC/////w+DDAELQoCAgIDAfiABub0iAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGwsQOUEASA0AQoCAgIDgACEIIABBKhCGASIBQoCAgIBwg0KAgICA4ABRDQAgAEEgECQiA0UEQCABIQgMAQsgAyAJNwMIIAMgBTcDACADIASnIgpB5wBBABCgAUF/c0EfdjYCECAKQfUAQQAQoAEhCiADQQA2AhggAyAKQX9zQR92NgIUIAFCgICAgHBaBEAgAacgAzYCIAsgACAGEAwgACAEEAwgASEHDAELIAAgCRAMIAAgBhAMIAAgBBAMIAAgBRAMIAAgCBAMCyACQSBqJAAgBwv+BAIIfgJ/IwBBEGsiAiQAAkAgAUL/////b1gEQCAAECJCgICAgOAAIQcMAQtCgICAgOAAIQdCgICAgDAhBQJAAkACQCAAIAMpAwAQJSIJQoCAgIBwg0KAgICA4ABRBEBCgICAgDAhCAwBCyAAIAFB7gAgAUEAEBEiCEKAgICAcINCgICAgOAAUQ0AIAAgCBA0IghCgICAgHCDQoCAgIDgAFENACAIp0HnAEEAEKABQX9GBEAgACABIAkQxQEhBwwDCyAAIAAgAUHwACABQQAQERAnIgxBAEgNACAAIAFB1gBCABA5QQBIDQAgABA7IgZCgICAgHCDQoCAgIDgAFEEQEKAgICA4AAhBgwCCyAJpyENA0ACQCAAIAUQDCAAIAEgCRDFASIFQoCAgIBwgyIEQoCAgIAgUQ0AIARCgICAgOAAUQ0DAkAgACAAIAVCABBOEDQiBEKAgICAcIMiC0KAgICAkH9SBEBBACEDIAtCgICAgOAAUQ0FDAELIASnKAIEQf////8HcUUhAwsgACAGIAogBBB7QQBIDQMgCkIBfCEKIANFDQEgACACQQhqIAAgAUHWACABQQAQERChAUEASA0DIAAgAUHWAAJ+IA0gAikDCCAMEPQCIgRCgICAgAh8Qv////8PWARAIARC/////w+DDAELQoCAgIDAfiAEub0iBEKAgICAwIGA/P8AfSAEQv///////////wCDQoCAgICAgID4/wBWGwsQOUEATg0BDAMLCyAKpwRAIAYhBwwDCyAAIAYQDEKAgICAICEHDAILQoCAgIAwIQYLIAAgBhAMCyAAIAUQDCAAIAgQDCAAIAkQDAsgAkEQaiQAIAcLjgEBAn8gASgCACICQQBKBEAgASACQQFrIgI2AgACQCACDQAgAS0ABEHwAXFBEEcNACABKAIIIgIgASgCDCIDNgIEIAMgAjYCACABQQA2AgggACgCYCICIAFBCGoiAzYCBCABIABB4ABqNgIMIAEgAjYCCCAAIAM2AmALDwtB5oQBQajsAEHWLEHN4wAQAAAL8BQCDn8OfiMAQZABayIEJAACQCABQv////9vWARAIAAQIkKAgICA4AAhFQwBCyADKQMIIR4gACAEQThqQQAQPhogBEEANgIwIARCgICAgMAANwMoIAQgADYCACAEIARBCGoiBzYCBEKAgICA4AAhFUKAgICAMCEWQoCAgIAwIRdCgICAgDAhE0KAgICAMCEUQoCAgIAwIR1CgICAgDAhHAJAAkAgACADKQMAECUiGEKAgICAcINCgICAgOAAUQ0AIAAgHhA1IglFBEAgACAeECUiHUKAgICAcINCgICAgOAAUQ0BIB2nIQULAkACQCAAIAFB7gAgAUEAEBEiHEKAgICAcINCgICAgOAAUQ0AIAAgHBA0IhxCgICAgHCDQoCAgIDgAFENACAcp0HnAEE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QcYARw0AIAJBA0ECIAItAAJBywBGIgMbai0AACIFQcMAa0H/AXFBAUsNACAEKAIEIAJBA2ogAkECaiADGyACa0EBakYNAgsgACACEDEgAEGywABBABBECyAAIAEQDAwCCyAAIAIQMSAFIANBAXRqQcMAawsQ2gMhAyAAIAEQDCADQQBODQELQoCAgIDgACEBDAELIAQoAgAhBUKAgICA4AAhAQJAIAAgBEEIaiADED4NAEEAIQICQANAIAIgA0YNASACQQJ0IQYgAkEBaiECIARBCGogBSAGaigCABCxAUUNAAsgBCgCCCgCECICQRBqIAQoAgwgAigCBBEAAAwBCyAEQQhqEDchAQsgACgCECIAQRBqIAUgACgCBBEAAAsgBEEgaiQAIAELgQICA38BfgJAAkAgAkEATg0AIAGnKQMgIgpCgICAgHCDQoCAgICQf1INACACQf////8HcSIIIAqnIgcpAgQiCqdB/////wdxTw0AAkBBBCAGEI8DRQ0AQQEhAiAGQYDAAHFFDQIgA0KAgICAcINCgICAgJB/Ug0AIAOnIgkpAgQiAUL/////B4NCAVINACAHQRBqIQcCfyAKQoCAgIAIg1BFBEAgByAIQQF0ai8BAAwBCyAHIAhqLQAACwJ/IAFCgICAgAiDUEUEQCAJLwEQDAELIAktABALRg0CCyAAIAZB79gAEHwPCyAAIAEgAiADIAQgBSAGQYCACHIQaiECCyACC0YAAn8CQCACQQBODQAgAacpAyAiAUKAgICAcINCgICAgJB/Ug0AQQAgAkH/////B3EgAacoAgRB/////wdxSQ0BGgtBAQsLswEBAn8CQCADQQBODQAgAqcpAyAiAkKAgICAcINCgICAgJB/Ug0AIANB/////wdxIgMgAqciBCkCBCICp0H/////B3FPDQBBASEFIAFFDQAgBEEQaiEEAn8gAkKAgICACINQRQRAIAQgA0EBdGovAQAMAQsgAyAEai0AAAshAyABQQQ2AgAgACADQf//A3EQlAMhAiABQoCAgIAwNwMYIAFCgICAgDA3AxAgASACNwMICyAFCx8BAn4gACgCACkDeCIDIAEoAgApA3giBFUgAyAEU2sLbwECfyABIAEoAgAiAkEBajY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pygCICIDRQ0AIAMoAgQiA0UNACAAIAMgAhEAAAsLPwEBfwJAIAFCgICAgHBUDQAgAaciAi8BBkErRw0AIAIoAiAiAkUNACAAIAIQ5wMgAEEQaiACIAAoAgQRAAALC0cBAX8CQCABpygCICIDRQ0AIAMpAwAiAUKAgICAYFoEQCAAIAGnIAIRAAALIAMpAwgiAUKAgICAYFQNACAAIAGnIAIRAAALCzABAX8gAacoAiAiAgRAIAAgAikDABAhIAAgAikDCBAhIABBEGogAiAAKAIEEQAACwsnAQF/IAGnKAIgIgIEQCAAIAIpAwAQISAAQRBqIAIgACgCBBEAAAsLWgECfyABpygCICICBEACQCACKQMAIgFCgICAgHBUDQAgAactAAVBAnENACACKAIMIgNFDQAgACADEOIDIAIpAwAhAQsgACABECEgAEEQaiACIAAoAgQRAAALC3gBA38CQCABpygCICIERQ0AIARBCGohAyAEQQRqIQUDQCADKAIAIgMgBUYNAQJAIAQoAgANACADKQMQIgFCgICAgGBUDQAgACABpyACEQAACyADKQMYIgFCgICAgGBaBEAgACABpyACEQAACyADQQRqIQMMAAsACwuaAQEHfyABpygCICIDBEAgAEEQaiEEIANBBGohBiADKAIIIQIDQCACIAZHBEAgAigCBCEIIAJBEGshBSACQQxrKAIARQRAAkAgAygCAARAIAUQnAUMAQsgACACKQMQECELIAAgAikDGBAhCyAEIAUgACgCBBEAACAIIQIMAQsLIAQgAygCECAAKAIEEQAAIAQgAyAAKAIEEQAACwsbAQF/IAGnKAIgIgMEQCAAIAMoAgwgAhEAAAsLUgEDfyABpygCICICBEAgAigCBCIDBEAgAigCACIEIAM2AgQgAyAENgIAIAJCADcCAAsgACACNQIMQoCAgIBwhBAhIABBEGogAiAAKAIEEQAACwupAQEGfyABpygCICIDBEAgA0EMaiEFIAMoAhAhAgNAIAIgBUcEQCACKAIEIQcgAkIANwIAIAIoAgghBCAHIQIgBC8BBkEgRg0BIARCADcCJAwBCwsCQAJAIAMtAAVFDQAgACgCyAEiAkUNACAAKALQASADKAIIIAIRAAAMAQsgAygCGCICRQ0AIAAgAygCFCADKAIIIAIRBgALIABBEGogAyAAKAIEEQAACwspAQF/IAAgAaciAjUCJEKAgICAkH+EECEgACACNQIgQoCAgICQf4QQIQshACABpygCICkDACIBQoCAgIBgWgRAIAAgAacgAhEAAAsLaQEDfyAAIAGnKAIgIgIpAwAQISACLQARRQRAA0AgAigCFCEEIAMgAigCDE9FBEAgACAEIANBA3RqKAIEEMcBIANBAWohAwwBCwsgAEEQaiAEIAAoAgQRAAALIABBEGogAiAAKAIEEQAAC2wBA38CQCABQoCAgIBwVA0AIAGnIgMvAQZBD0cNACADKAIgIgRFDQAgBEEIaiEFQQAhAwNAIAMgBC0ABU8NASAFIANBA3RqKQMAIgFCgICAgGBaBEAgACABpyACEQAACyADQQFqIQMMAAsACwtqAQN/AkAgAUKAgICAcFQNACABpyICLwEGQQ9HDQAgAigCICIDRQ0AIANBCGohBEEAIQIDQCACIAMtAAVPRQRAIAAgBCACQQN0aikDABAhIAJBAWohAgwBCwsgAEEQaiADIAAoAgQRAAALC38BA38gAacoAiAiBCkDACIBQoCAgIBgWgRAIAAgAacgAhEAAAsgBCkDCCIBQoCAgIBgWgRAIAAgAacgAhEAAAsgBEEYaiEFA0AgBCgCECADSgRAIAUgA0EDdGopAwAiAUKAgICAYFoEQCAAIAGnIAIRAAALIANBAWohAwwBCwsLWQEDfyAAIAGnKAIgIgIpAwAQISAAIAIpAwgQISACQRhqIQQDQCADIAIoAhBORQRAIAAgBCADQQN0aikDABAhIANBAWohAwwBCwsgAEEQaiACIAAoAgQRAAALcgEEfyABpyIDKAIgIQQgAygCJCEFIAMoAigiAwRAIAAgAyACEQAACyAEBEACQCAFRQ0AQQAhAwNAIAMgBCgCPE4NASAFIANBAnRqKAIAIgYEQCAAIAYgAhEAAAsgA0EBaiEDDAALAAsgACAEIAIRAAALC3wBA38gAaciAigCKCIDBEAgACADrUKAgICAcIQQIQsgAigCICIDBEAgAigCJCIEBEBBACECA0AgAiADKAI8TkUEQCAA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CECIAtBAkcNCgwLCyAFQQFxDQBCgICAgDAhAiALQQNGDQoLIAcgAiADIAAgCC4BKiAEEQQAIQEMCwsgByACIAQRCAAhAQwKCyAHIAIgACkDACAEERgAIQEMCQsgByACIAguASogBBEQACEBDAgLIAcgAiAAKQMAIAguASogBBEoACEBDAcLIAcgBkEIaiAAKQMAEEINBSAGKwMIIAQRCgAiD70iAQJ/IA+ZRAAAAAAAAOBBYwRAIA+qDAELQYCAgIB4CyIAt71RBEAgAK0hAQwHC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGyEBDAYLQoCAgIDgACEBIAcgBkEIaiAAKQMAEEINBSAHIAYgACkDCBBCDQUgBisDCCAGKwMAIAQRHQAiD70iAQJ/IA+ZRAAAAAAAAOBBYwRAIA+qDAELQYCAgIB4CyIAt71RBEAgAK0hAQwGC0KAgICAwH4gAUKAgICAwIGA/P8AfSABQv///////////wCDQoCAgICAgID4/wBWGyEBDAULIAcgAiADIAAgBkEIaiAILgEqIAQREQAiAUKAgICAcINCgICAgOAAUQ0EIAYoAggiAEECRg0EIAcgASAAEIIDIQEMBAsQAQALIAcgAiADIAAgBBECACEBDAILIAdBmRFBABASC0KAgICA4AAhAQsgDCAGKAIQNgKMASAGQUBrJAAgAQvVAQEGfyMAIgUhCwJAIAFCgICAgHBUDQAgAaciBi8BBkEPRw0AIAYoAiAhBwsgACACIAMgAyAHLQAEIgBIBH9BACEGIANBACADQQBKGyEJIAUgAEEDdEEPakHwH3FrIgUkAAN/IAYgCUYEfyADIQQDfyAAIARGBH8gBQUgBSAEQQN0akKAgICAMDcDACAEQQFqIQQMAQsLBSAFIAZBA3QiCmogBCAKaikDADcDACAGQQFqIQYMAQsLBSAECyAHLwEGIAdBCGogBygCABERACEBIAskACABCw4AIAAQqwJCgICAgOAACwkAQoCAgIDAfgsPACAAIAMQDCAAEKsCQX8LFQAgACADEAwgACAEEAwgABCrAkF/C2gBAX8jAEEQayIDJAAgASgCBCE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JzGBBwQVTPPFxjyvC8+8/0XSeAFedvSqAcFIP//8+JwoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFGAAAADUAAABxAAAAa////877//+Sv///AAAAAAAAAAAZAAoAGRkZAAAAAAUAAAAAAAAJAAAAAAsAAAAAAAAAABkAEQoZGRkDCgcAAQAJCxgAAAkGCwAACwAGGQAAABkZGQBB8c4ECyEOAAAAAAAAAAAZAAoNGRkZAA0AAAIACQ4AAAAJAA4AAA4AQavPBAsBDABBt88ECxUTAAAAABMAAAAACQwAAAAAAAwAAAwAQeXPBAsBEABB8c8ECxUPAAAABA8AAAAACRAAAAAAABAAABAAQZ/QBAsBEgBBq9AECx4RAAAAABEAAAAACRIAAAAAABIAABIAABoAAAAaGhoAQeLQBAsOGgAAABoaGgAAAAAAAAkAQZPRBAsBFABBn9EECxUXAAAAABcAAAAACRQAAAAAABQAABQAQc3RBAsBFgBB2dEECycVAAAAABUAAAAACRYAAAAAABYAABYAADAxMjM0NTY3ODlBQkNERUYAQaTSBAsCpgEAQczSBAsI//////////8AQZDTBAsBBQBBnNMECwKhAQBBtNMECw6iAQAAowEAACgrAQAABABBzNMECwEBAEHc0wQLBf////8KAEGg1AQLB5ApAQBAMQI=";if(!K(L)){var M=L;L=d.locateFile?d.locateFile(M,q):q+M;}function ca(){var a=L;return Promise.resolve().then(()=>{if(a==L&&v)var b=new Uint8Array(v);else{if(K(a)){b=atob(a.slice(37));for(var c=new Uint8Array(b.length),e=0;eWebAssembly.instantiate(c,a)).then(c=>c).then(b,c=>{u(`failed to asynchronously prepare wasm: ${c}`);w(c);});}function ea(a,b){return da(a,b);}var N=a=>{for(;0{for(var c=b+NaN,e=b;a[e]&&!(e>=c);)++e;if(16f?c+=String.fromCharCode(f):(f-=65536,c+=String.fromCharCode(55296|f>>10,56320|f&1023));}}else c+=String.fromCharCode(f);}return c;},fa=[0,31,60,91,121,152,182,213,244,274,305,335],ha=[0,31,59,90,120,151,181,212,243,273,304,334],Q=a=>{for(var b=0,c=0;c=e?b++:2047>=e?b+=2:55296<=e&&57343>=e?(b+=4,++c):b+=3;}return b;},R=(a,b,c)=>{var e=A;if(0=g){var l=a.charCodeAt(++f);g=65536+((g&1023)<<10)|l&1023;}if(127>=g){if(b>=c)break;e[b++]=g;}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6;}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12;}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63;}e[b++]=128|g>>6&63;}e[b++]=128|g&63;}}e[b]=0;}},T=a=>{var b=Q(a)+1,c=S(b);c&&R(a,c,b);return c;};function U(){}var ia=[null,[],[]],ka=(a,b,c,e)=>{var f={string:h=>{var r=0;if(null!==h&&void 0!==h&&0!==h){r=Q(h)+1;var Y=V(r);R(h,Y,r);r=Y;}return r;},array:h=>{var r=V(h.length);z.set(h,r);return r;}};a=d["_"+a];var g=[],l=0;if(e)for(var m=0;m{a=a?P(A,a):"";b=null!==b?JSON.parse(b?P(A,b):""):[];try{const e=d.externalCall(a,b);return e?T(e):null;}catch(e){return d.HEAPU8[c]=1,T(e.message);}};var la={a:(a,b,c,e)=>{w(`Assertion failed: ${a?P(A,a):""}, at: `+[b?b?P(A,b):"":"unknown filename",c,e?e?P(A,e):"":"unknown function"]);},i:function(a,b,c){a=new Date(1E3*(b+2097152>>>0<4194305-!!a?(a>>>0)+4294967296*b:NaN));B[c>>2]=a.getSeconds();B[c+4>>2]=a.getMinutes();B[c+8>>2]=a.getHours();B[c+12>>2]=a.getDate();B[c+16>>2]=a.getMonth();B[c+20>>2]=a.getFullYear()-1900;B[c+24>>2]=a.getDay();b=a.getFullYear();B[c+28>>2]=(0!==b%4||0===b%100&&0!==b%400?ha:fa)[a.getMonth()]+a.getDate()-1|0;B[c+36>>2]=-(60*a.getTimezoneOffset());b=new Date(a.getFullYear(),6,1).getTimezoneOffset();var e=new Date(a.getFullYear(),0,1).getTimezoneOffset();B[c+32>>2]=(b!=e&&a.getTimezoneOffset()==Math.min(e,b))|0;},d:(a,b,c)=>{function e(t){return(t=t.toTimeString().match(/\(([A-Za-z ]+)\)$/))?t[1]:"GMT";}var f=new Date().getFullYear(),g=new Date(f,0,1),l=new Date(f,6,1);f=g.getTimezoneOffset();var m=l.getTimezoneOffset();C[a>>2]=60*Math.max(f,m);B[b>>2]=Number(f!=m);a=e(g);b=e(l);a=T(a);b=T(b);m>2]=a,C[c+4>>2]=b):(C[c>>2]=b,C[c+4>>2]=a);},b:()=>{w("");},g:U,f:function(a,b){a=a?P(A,a):"";let c;try{c=window.JSON.parse(a);}catch(e){c=a;}0!==b?window.alert(a):window.console.log("DUMP",c);},e:()=>Date.now(),j:a=>{var b=A.length;a>>>=0;if(2147483648=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);var f=Math;e=Math.max(a,e);a:{f=(f.min.call(f,2147483648,e+(65536-e%65536)%65536)-x.buffer.byteLength+65535)/65536;try{x.grow(f);D();var g=1;break a;}catch(l){}g=void 0;}if(g)return!0;}return!1;},c:(a,b,c,e)=>{for(var f=0,g=0;g>2],m=C[b+4>>2];b+=8;for(var t=0;t>2]=f;return 0;},k:function(a){a=a?P(A,a):"";window.console.log(a);},h:function(a){a=a?P(A,a):"";return Date.parse(a);},l:function(a,b,c,e){a=a?P(A,a):"";b=b?P(A,b):"";c=c?P(A,c):"";c=`Quickjs -- ${a}: ${b}\n${c}`;0!==e?window.alert(c):window.console.error(c);}},X=function(){function a(c){X=c.exports;x=X.m;D();F.unshift(X.n);H--;d.monitorRunDependencies?.(H);0==H&&(null!==I&&(clearInterval(I),I=null),J&&(c=J,J=null,c()));return X;}var b={a:la};H++;d.monitorRunDependencies?.(H);if(d.instantiateWasm)try{return d.instantiateWasm(b,a);}catch(c){u(`Module.instantiateWasm callback failed with error: ${c}`),n(c);}ea(b,function(c){a(c.instance);}).catch(n);return{};}();d._evalInSandbox=(a,b)=>(d._evalInSandbox=X.o)(a,b);d._nukeSandbox=()=>(d._nukeSandbox=X.p)();d._init=(a,b)=>(d._init=X.q)(a,b);d._commFun=(a,b)=>(d._commFun=X.r)(a,b);d._dumpMemoryUse=()=>(d._dumpMemoryUse=X.s)();var S=a=>(S=X.t)(a);d._free=a=>(d._free=X.u)(a);var W=()=>(W=X.w)(),ja=a=>(ja=X.x)(a),V=a=>(V=X.y)(a);d.ccall=ka;d.cwrap=(a,b,c,e)=>{var f=!c||c.every(g=>"number"===g||"boolean"===g);return"string"!==b&&f&&!e?d["_"+a]:function(){return ka(a,b,c,arguments,e);};};d.stringToNewUTF8=T;var Z;J=function ma(){Z||na();Z||(J=ma);};function na(){function a(){if(!Z&&(Z=!0,d.calledRun=!0,!y)){N(F);k(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var b=d.postRun.shift();G.unshift(b);}N(G);}}if(!(0 { - if (typeof callbackId !== "number" || typeof nMilliseconds !== "number") { - return; - } - if (callbackId === 0) { - this.win.clearTimeout(this.timeoutIds.get(callbackId)); - } - const id = this.win.setTimeout(() => { - this.timeoutIds.delete(callbackId); - this.callSandboxFunction("timeoutCb", { - callbackId, - interval: false - }); - }, nMilliseconds); - this.timeoutIds.set(callbackId, id); - }, - clearTimeout: callbackId => { - this.win.clearTimeout(this.timeoutIds.get(callbackId)); - this.timeoutIds.delete(callbackId); - }, - setInterval: (callbackId, nMilliseconds) => { - if (typeof callbackId !== "number" || typeof nMilliseconds !== "number") { - return; - } - const id = this.win.setInterval(() => { - this.callSandboxFunction("timeoutCb", { - callbackId, - interval: true - }); - }, nMilliseconds); - this.timeoutIds.set(callbackId, id); - }, - clearInterval: callbackId => { - this.win.clearInterval(this.timeoutIds.get(callbackId)); - this.timeoutIds.delete(callbackId); - }, - alert: cMsg => { - if (typeof cMsg !== "string") { - return; - } - this.win.alert(cMsg); - }, - confirm: cMsg => { - if (typeof cMsg !== "string") { - return false; - } - return this.win.confirm(cMsg); - }, - prompt: (cQuestion, cDefault) => { - if (typeof cQuestion !== "string" || typeof cDefault !== "string") { - return null; - } - return this.win.prompt(cQuestion, cDefault); - }, - parseURL: cUrl => { - const url = new this.win.URL(cUrl); - const props = ["hash", "host", "hostname", "href", "origin", "password", "pathname", "port", "protocol", "search", "searchParams", "username"]; - return Object.fromEntries(props.map(name => [name, url[name].toString()])); - }, - send: data => { - if (!data) { - return; - } - const event = new this.win.CustomEvent("updatefromsandbox", { - detail: this.importValueFromSandbox(data) - }); - this.win.dispatchEvent(event); - } - }; - Object.setPrototypeOf(externals, null); - return (name, args) => { - try { - const result = externals[name](...args); - return this.exportValueToSandbox(result); - } catch (error) { - throw this.createErrorForSandbox(error?.toString() ?? ""); - } - }; - } -} -;// CONCATENATED MODULE: ./src/pdf.sandbox.js - - - -const pdfjsVersion = "4.2.67"; -const pdfjsBuild = "49b388101"; -class SandboxSupport extends SandboxSupportBase { - exportValueToSandbox(val) { - return JSON.stringify(val); - } - importValueFromSandbox(val) { - return val; - } - createErrorForSandbox(errorMessage) { - return new Error(errorMessage); - } -} -class Sandbox { - constructor(win, module) { - this.support = new SandboxSupport(win, this); - module.externalCall = this.support.createSandboxExternals(); - this._module = module; - this._alertOnError = 0; - } - create(data) { - const code = ["/******/ var __webpack_modules__ = ({\n\n/***/ 9306:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isCallable = __webpack_require__(4901);\nvar tryToString = __webpack_require__(6823);\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n\n\n/***/ }),\n\n/***/ 7080:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar has = (__webpack_require__(4402).has);\n\n// Perform ? RequireInternalSlot(M, [[SetData]])\nmodule.exports = function (it) {\n has(it);\n return it;\n};\n\n\n/***/ }),\n\n/***/ 679:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isPrototypeOf = __webpack_require__(1625);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n\n\n/***/ }),\n\n/***/ 8551:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isObject = __webpack_require__(34);\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n\n\n/***/ }),\n\n/***/ 9617:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar toIndexedObject = __webpack_require__(5397);\nvar toAbsoluteIndex = __webpack_require__(5610);\nvar lengthOfArrayLike = __webpack_require__(6198);\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n\n\n/***/ }),\n\n/***/ 4527:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar isArray = __webpack_require__(4376);\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n\n\n/***/ }),\n\n/***/ 6319:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar anObject = __webpack_require__(8551);\nvar iteratorClose = __webpack_require__(9539);\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n\n\n/***/ }),\n\n/***/ 4576:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n\n\n/***/ }),\n\n/***/ 6955:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(2140);\nvar isCallable = __webpack_require__(4901);\nvar classofRaw = __webpack_require__(4576);\nvar wellKnownSymbol = __webpack_require__(8227);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n\n\n/***/ }),\n\n/***/ 7740:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar hasOwn = __webpack_require__(9297);\nvar ownKeys = __webpack_require__(5031);\nvar getOwnPropertyDescriptorModule = __webpack_require__(7347);\nvar definePropertyModule = __webpack_require__(4913);\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\n\n/***/ }),\n\n/***/ 2211:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar fails = __webpack_require__(9039);\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n/***/ }),\n\n/***/ 2529:\n/***/ ((module) => {\n\n\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n\n\n/***/ }),\n\n/***/ 6699:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar definePropertyModule = __webpack_require__(4913);\nvar createPropertyDescriptor = __webpack_require__(6980);\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n/***/ }),\n\n/***/ 6980:\n/***/ ((module) => {\n\n\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n/***/ }),\n\n/***/ 4659:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar definePropertyModule = __webpack_require__(4913);\nvar createPropertyDescriptor = __webpack_require__(6980);\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n\n\n/***/ }),\n\n/***/ 2106:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar makeBuiltIn = __webpack_require__(283);\nvar defineProperty = __webpack_require__(4913);\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n\n\n/***/ }),\n\n/***/ 6840:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isCallable = __webpack_require__(4901);\nvar definePropertyModule = __webpack_require__(4913);\nvar makeBuiltIn = __webpack_require__(283);\nvar defineGlobalProperty = __webpack_require__(9433);\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n\n\n/***/ }),\n\n/***/ 6279:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar defineBuiltIn = __webpack_require__(6840);\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n\n\n/***/ }),\n\n/***/ 9433:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n\n\n/***/ }),\n\n/***/ 3724:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar fails = __webpack_require__(9039);\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n\n\n/***/ }),\n\n/***/ 4055:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar isObject = __webpack_require__(34);\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n\n\n/***/ }),\n\n/***/ 6837:\n/***/ ((module) => {\n\n\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n\n\n/***/ }),\n\n/***/ 9392:\n/***/ ((module) => {\n\n\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n\n\n/***/ }),\n\n/***/ 7388:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar userAgent = __webpack_require__(9392);\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n\n\n/***/ }),\n\n/***/ 8727:\n/***/ ((module) => {\n\n\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n\n\n/***/ }),\n\n/***/ 6518:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar getOwnPropertyDescriptor = (__webpack_require__(7347).f);\nvar createNonEnumerableProperty = __webpack_require__(6699);\nvar defineBuiltIn = __webpack_require__(6840);\nvar defineGlobalProperty = __webpack_require__(9433);\nvar copyConstructorProperties = __webpack_require__(7740);\nvar isForced = __webpack_require__(2796);\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n\n\n/***/ }),\n\n/***/ 9039:\n/***/ ((module) => {\n\n\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n\n\n/***/ }),\n\n/***/ 6080:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(7476);\nvar aCallable = __webpack_require__(9306);\nvar NATIVE_BIND = __webpack_require__(616);\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n/***/ }),\n\n/***/ 616:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar fails = __webpack_require__(9039);\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n\n\n/***/ }),\n\n/***/ 9565:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar NATIVE_BIND = __webpack_require__(616);\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n\n\n/***/ }),\n\n/***/ 350:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar hasOwn = __webpack_require__(9297);\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n\n\n/***/ }),\n\n/***/ 6706:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar aCallable = __webpack_require__(9306);\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n\n\n/***/ }),\n\n/***/ 7476:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar classofRaw = __webpack_require__(4576);\nvar uncurryThis = __webpack_require__(9504);\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n\n\n/***/ }),\n\n/***/ 9504:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar NATIVE_BIND = __webpack_require__(616);\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n\n\n/***/ }),\n\n/***/ 7751:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar isCallable = __webpack_require__(4901);\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n\n\n/***/ }),\n\n/***/ 1767:\n/***/ ((module) => {\n\n\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect\nmodule.exports = function (obj) {\n return {\n iterator: obj,\n next: obj.next,\n done: false\n };\n};\n\n\n/***/ }),\n\n/***/ 851:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar classof = __webpack_require__(6955);\nvar getMethod = __webpack_require__(5966);\nvar isNullOrUndefined = __webpack_require__(4117);\nvar Iterators = __webpack_require__(6269);\nvar wellKnownSymbol = __webpack_require__(8227);\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n\n\n/***/ }),\n\n/***/ 81:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar tryToString = __webpack_require__(6823);\nvar getIteratorMethod = __webpack_require__(851);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n\n\n/***/ }),\n\n/***/ 5966:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aCallable = __webpack_require__(9306);\nvar isNullOrUndefined = __webpack_require__(4117);\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n\n\n/***/ }),\n\n/***/ 3789:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar call = __webpack_require__(9565);\nvar toIntegerOrInfinity = __webpack_require__(1291);\nvar getIteratorDirect = __webpack_require__(1767);\n\nvar INVALID_SIZE = 'Invalid size';\nvar $RangeError = RangeError;\nvar $TypeError = TypeError;\nvar max = Math.max;\n\nvar SetRecord = function (set, intSize) {\n this.set = set;\n this.size = max(intSize, 0);\n this.has = aCallable(set.has);\n this.keys = aCallable(set.keys);\n};\n\nSetRecord.prototype = {\n getIterator: function () {\n return getIteratorDirect(anObject(call(this.keys, this.set)));\n },\n includes: function (it) {\n return call(this.has, this.set, it);\n }\n};\n\n// `GetSetRecord` abstract operation\n// https://tc39.es/proposal-set-methods/#sec-getsetrecord\nmodule.exports = function (obj) {\n anObject(obj);\n var numSize = +obj.size;\n // NOTE: If size is undefined, then numSize will be NaN\n // eslint-disable-next-line no-self-compare -- NaN check\n if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);\n var intSize = toIntegerOrInfinity(numSize);\n if (intSize < 0) throw new $RangeError(INVALID_SIZE);\n return new SetRecord(obj, intSize);\n};\n\n\n/***/ }),\n\n/***/ 4475:\n/***/ (function(module) {\n\n\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n\n\n/***/ }),\n\n/***/ 9297:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar toObject = __webpack_require__(8981);\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n\n\n/***/ }),\n\n/***/ 421:\n/***/ ((module) => {\n\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ 397:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar getBuiltIn = __webpack_require__(7751);\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n\n\n/***/ }),\n\n/***/ 5917:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar fails = __webpack_require__(9039);\nvar createElement = __webpack_require__(4055);\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n\n\n/***/ }),\n\n/***/ 7055:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar fails = __webpack_require__(9039);\nvar classof = __webpack_require__(4576);\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n\n\n/***/ }),\n\n/***/ 3706:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar isCallable = __webpack_require__(4901);\nvar store = __webpack_require__(7629);\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n\n\n/***/ }),\n\n/***/ 1181:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar NATIVE_WEAK_MAP = __webpack_require__(8622);\nvar global = __webpack_require__(4475);\nvar isObject = __webpack_require__(34);\nvar createNonEnumerableProperty = __webpack_require__(6699);\nvar hasOwn = __webpack_require__(9297);\nvar shared = __webpack_require__(7629);\nvar sharedKey = __webpack_require__(6119);\nvar hiddenKeys = __webpack_require__(421);\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n\n\n/***/ }),\n\n/***/ 4209:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar wellKnownSymbol = __webpack_require__(8227);\nvar Iterators = __webpack_require__(6269);\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n\n\n/***/ }),\n\n/***/ 4376:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar classof = __webpack_require__(4576);\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n\n\n/***/ }),\n\n/***/ 4901:\n/***/ ((module) => {\n\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n\n\n/***/ }),\n\n/***/ 2796:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar fails = __webpack_require__(9039);\nvar isCallable = __webpack_require__(4901);\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n\n\n/***/ }),\n\n/***/ 4117:\n/***/ ((module) => {\n\n\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n\n\n/***/ }),\n\n/***/ 34:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isCallable = __webpack_require__(4901);\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n\n\n/***/ }),\n\n/***/ 6395:\n/***/ ((module) => {\n\n\nmodule.exports = false;\n\n\n/***/ }),\n\n/***/ 757:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar getBuiltIn = __webpack_require__(7751);\nvar isCallable = __webpack_require__(4901);\nvar isPrototypeOf = __webpack_require__(1625);\nvar USE_SYMBOL_AS_UID = __webpack_require__(7040);\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n\n\n/***/ }),\n\n/***/ 507:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\n\nmodule.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {\n var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;\n var next = record.next;\n var step, result;\n while (!(step = call(next, iterator)).done) {\n result = fn(step.value);\n if (result !== undefined) return result;\n }\n};\n\n\n/***/ }),\n\n/***/ 2652:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar bind = __webpack_require__(6080);\nvar call = __webpack_require__(9565);\nvar anObject = __webpack_require__(8551);\nvar tryToString = __webpack_require__(6823);\nvar isArrayIteratorMethod = __webpack_require__(4209);\nvar lengthOfArrayLike = __webpack_require__(6198);\nvar isPrototypeOf = __webpack_require__(1625);\nvar getIterator = __webpack_require__(81);\nvar getIteratorMethod = __webpack_require__(851);\nvar iteratorClose = __webpack_require__(9539);\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n\n\n/***/ }),\n\n/***/ 9539:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar anObject = __webpack_require__(8551);\nvar getMethod = __webpack_require__(5966);\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n\n\n/***/ }),\n\n/***/ 9462:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar create = __webpack_require__(2360);\nvar createNonEnumerableProperty = __webpack_require__(6699);\nvar defineBuiltIns = __webpack_require__(6279);\nvar wellKnownSymbol = __webpack_require__(8227);\nvar InternalStateModule = __webpack_require__(1181);\nvar getMethod = __webpack_require__(5966);\nvar IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);\nvar createIterResultObject = __webpack_require__(2529);\nvar iteratorClose = __webpack_require__(9539);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n return defineBuiltIns(create(IteratorPrototype), {\n next: function next() {\n var state = getInternalState(this);\n // for simplification:\n // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`\n // for `%IteratorHelperPrototype%.next` - just a value\n if (IS_ITERATOR) return state.nextHandler();\n try {\n var result = state.done ? undefined : state.nextHandler();\n return createIterResultObject(result, state.done);\n } catch (error) {\n state.done = true;\n throw error;\n }\n },\n 'return': function () {\n var state = getInternalState(this);\n var iterator = state.iterator;\n state.done = true;\n if (IS_ITERATOR) {\n var returnMethod = getMethod(iterator, 'return');\n return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n }\n if (state.inner) try {\n iteratorClose(state.inner.iterator, 'normal');\n } catch (error) {\n return iteratorClose(iterator, 'throw', error);\n }\n iteratorClose(iterator, 'normal');\n return createIterResultObject(undefined, true);\n }\n });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR) {\n var IteratorProxy = function Iterator(record, state) {\n if (state) {\n state.iterator = record.iterator;\n state.next = record.next;\n } else state = record;\n state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n state.nextHandler = nextHandler;\n state.counter = 0;\n state.done = false;\n setInternalState(this, state);\n };\n\n IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n return IteratorProxy;\n};\n\n\n/***/ }),\n\n/***/ 713:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\nvar createIteratorProxy = __webpack_require__(9462);\nvar callWithSafeIterationClosing = __webpack_require__(6319);\n\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var result = anObject(call(this.next, iterator));\n var done = this.done = !!result.done;\n if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);\n});\n\n// `Iterator.prototype.map` method\n// https://github.com/tc39/proposal-iterator-helpers\nmodule.exports = function map(mapper) {\n anObject(this);\n aCallable(mapper);\n return new IteratorProxy(getIteratorDirect(this), {\n mapper: mapper\n });\n};\n\n\n/***/ }),\n\n/***/ 7657:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar fails = __webpack_require__(9039);\nvar isCallable = __webpack_require__(4901);\nvar isObject = __webpack_require__(34);\nvar create = __webpack_require__(2360);\nvar getPrototypeOf = __webpack_require__(2787);\nvar defineBuiltIn = __webpack_require__(6840);\nvar wellKnownSymbol = __webpack_require__(8227);\nvar IS_PURE = __webpack_require__(6395);\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n\n\n/***/ }),\n\n/***/ 6269:\n/***/ ((module) => {\n\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ 6198:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar toLength = __webpack_require__(8014);\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n\n\n/***/ }),\n\n/***/ 283:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar fails = __webpack_require__(9039);\nvar isCallable = __webpack_require__(4901);\nvar hasOwn = __webpack_require__(9297);\nvar DESCRIPTORS = __webpack_require__(3724);\nvar CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);\nvar inspectSource = __webpack_require__(3706);\nvar InternalStateModule = __webpack_require__(1181);\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n\n\n/***/ }),\n\n/***/ 741:\n/***/ ((module) => {\n\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n\n\n/***/ }),\n\n/***/ 2360:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = __webpack_require__(8551);\nvar definePropertiesModule = __webpack_require__(6801);\nvar enumBugKeys = __webpack_require__(8727);\nvar hiddenKeys = __webpack_require__(421);\nvar html = __webpack_require__(397);\nvar documentCreateElement = __webpack_require__(4055);\nvar sharedKey = __webpack_require__(6119);\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n\n\n/***/ }),\n\n/***/ 6801:\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);\nvar definePropertyModule = __webpack_require__(4913);\nvar anObject = __webpack_require__(8551);\nvar toIndexedObject = __webpack_require__(5397);\nvar objectKeys = __webpack_require__(1072);\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n\n\n/***/ }),\n\n/***/ 4913:\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar IE8_DOM_DEFINE = __webpack_require__(5917);\nvar V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);\nvar anObject = __webpack_require__(8551);\nvar toPropertyKey = __webpack_require__(6969);\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n/***/ }),\n\n/***/ 7347:\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar call = __webpack_require__(9565);\nvar propertyIsEnumerableModule = __webpack_require__(8773);\nvar createPropertyDescriptor = __webpack_require__(6980);\nvar toIndexedObject = __webpack_require__(5397);\nvar toPropertyKey = __webpack_require__(6969);\nvar hasOwn = __webpack_require__(9297);\nvar IE8_DOM_DEFINE = __webpack_require__(5917);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n\n\n/***/ }),\n\n/***/ 8480:\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\nvar internalObjectKeys = __webpack_require__(1828);\nvar enumBugKeys = __webpack_require__(8727);\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n\n\n/***/ }),\n\n/***/ 3717:\n/***/ ((__unused_webpack_module, exports) => {\n\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n\n\n/***/ }),\n\n/***/ 2787:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar hasOwn = __webpack_require__(9297);\nvar isCallable = __webpack_require__(4901);\nvar toObject = __webpack_require__(8981);\nvar sharedKey = __webpack_require__(6119);\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211);\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n\n\n/***/ }),\n\n/***/ 1625:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n\n\n/***/ }),\n\n/***/ 1828:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar hasOwn = __webpack_require__(9297);\nvar toIndexedObject = __webpack_require__(5397);\nvar indexOf = (__webpack_require__(9617).indexOf);\nvar hiddenKeys = __webpack_require__(421);\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n\n\n/***/ }),\n\n/***/ 1072:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar internalObjectKeys = __webpack_require__(1828);\nvar enumBugKeys = __webpack_require__(8727);\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n\n\n/***/ }),\n\n/***/ 8773:\n/***/ ((__unused_webpack_module, exports) => {\n\n\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n\n\n/***/ }),\n\n/***/ 4270:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar isCallable = __webpack_require__(4901);\nvar isObject = __webpack_require__(34);\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n\n\n/***/ }),\n\n/***/ 5031:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar getBuiltIn = __webpack_require__(7751);\nvar uncurryThis = __webpack_require__(9504);\nvar getOwnPropertyNamesModule = __webpack_require__(8480);\nvar getOwnPropertySymbolsModule = __webpack_require__(3717);\nvar anObject = __webpack_require__(8551);\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n\n\n/***/ }),\n\n/***/ 7979:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar anObject = __webpack_require__(8551);\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n/***/ }),\n\n/***/ 7750:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar isNullOrUndefined = __webpack_require__(4117);\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n/***/ }),\n\n/***/ 9286:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar SetHelpers = __webpack_require__(4402);\nvar iterate = __webpack_require__(8469);\n\nvar Set = SetHelpers.Set;\nvar add = SetHelpers.add;\n\nmodule.exports = function (set) {\n var result = new Set();\n iterate(set, function (it) {\n add(result, it);\n });\n return result;\n};\n\n\n/***/ }),\n\n/***/ 3440:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar SetHelpers = __webpack_require__(4402);\nvar clone = __webpack_require__(9286);\nvar size = __webpack_require__(5170);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSet = __webpack_require__(8469);\nvar iterateSimple = __webpack_require__(507);\n\nvar has = SetHelpers.has;\nvar remove = SetHelpers.remove;\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function difference(other) {\n var O = aSet(this);\n var otherRec = getSetRecord(other);\n var result = clone(O);\n if (size(O) <= otherRec.size) iterateSet(O, function (e) {\n if (otherRec.includes(e)) remove(result, e);\n });\n else iterateSimple(otherRec.getIterator(), function (e) {\n if (has(O, e)) remove(result, e);\n });\n return result;\n};\n\n\n/***/ }),\n\n/***/ 4402:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\n\n// eslint-disable-next-line es/no-set -- safe\nvar SetPrototype = Set.prototype;\n\nmodule.exports = {\n // eslint-disable-next-line es/no-set -- safe\n Set: Set,\n add: uncurryThis(SetPrototype.add),\n has: uncurryThis(SetPrototype.has),\n remove: uncurryThis(SetPrototype['delete']),\n proto: SetPrototype\n};\n\n\n/***/ }),\n\n/***/ 8750:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar SetHelpers = __webpack_require__(4402);\nvar size = __webpack_require__(5170);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSet = __webpack_require__(8469);\nvar iterateSimple = __webpack_require__(507);\n\nvar Set = SetHelpers.Set;\nvar add = SetHelpers.add;\nvar has = SetHelpers.has;\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function intersection(other) {\n var O = aSet(this);\n var otherRec = getSetRecord(other);\n var result = new Set();\n\n if (size(O) > otherRec.size) {\n iterateSimple(otherRec.getIterator(), function (e) {\n if (has(O, e)) add(result, e);\n });\n } else {\n iterateSet(O, function (e) {\n if (otherRec.includes(e)) add(result, e);\n });\n }\n\n return result;\n};\n\n\n/***/ }),\n\n/***/ 4449:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar has = (__webpack_require__(4402).has);\nvar size = __webpack_require__(5170);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSet = __webpack_require__(8469);\nvar iterateSimple = __webpack_require__(507);\nvar iteratorClose = __webpack_require__(9539);\n\n// `Set.prototype.isDisjointFrom` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom\nmodule.exports = function isDisjointFrom(other) {\n var O = aSet(this);\n var otherRec = getSetRecord(other);\n if (size(O) <= otherRec.size) return iterateSet(O, function (e) {\n if (otherRec.includes(e)) return false;\n }, true) !== false;\n var iterator = otherRec.getIterator();\n return iterateSimple(iterator, function (e) {\n if (has(O, e)) return iteratorClose(iterator, 'normal', false);\n }) !== false;\n};\n\n\n/***/ }),\n\n/***/ 3838:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar size = __webpack_require__(5170);\nvar iterate = __webpack_require__(8469);\nvar getSetRecord = __webpack_require__(3789);\n\n// `Set.prototype.isSubsetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf\nmodule.exports = function isSubsetOf(other) {\n var O = aSet(this);\n var otherRec = getSetRecord(other);\n if (size(O) > otherRec.size) return false;\n return iterate(O, function (e) {\n if (!otherRec.includes(e)) return false;\n }, true) !== false;\n};\n\n\n/***/ }),\n\n/***/ 8527:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar has = (__webpack_require__(4402).has);\nvar size = __webpack_require__(5170);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSimple = __webpack_require__(507);\nvar iteratorClose = __webpack_require__(9539);\n\n// `Set.prototype.isSupersetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf\nmodule.exports = function isSupersetOf(other) {\n var O = aSet(this);\n var otherRec = getSetRecord(other);\n if (size(O) < otherRec.size) return false;\n var iterator = otherRec.getIterator();\n return iterateSimple(iterator, function (e) {\n if (!has(O, e)) return iteratorClose(iterator, 'normal', false);\n }) !== false;\n};\n\n\n/***/ }),\n\n/***/ 8469:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\nvar iterateSimple = __webpack_require__(507);\nvar SetHelpers = __webpack_require__(4402);\n\nvar Set = SetHelpers.Set;\nvar SetPrototype = SetHelpers.proto;\nvar forEach = uncurryThis(SetPrototype.forEach);\nvar keys = uncurryThis(SetPrototype.keys);\nvar next = keys(new Set()).next;\n\nmodule.exports = function (set, fn, interruptible) {\n return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);\n};\n\n\n/***/ }),\n\n/***/ 4916:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar getBuiltIn = __webpack_require__(7751);\n\nvar createSetLike = function (size) {\n return {\n size: size,\n has: function () {\n return false;\n },\n keys: function () {\n return {\n next: function () {\n return { done: true };\n }\n };\n }\n };\n};\n\nmodule.exports = function (name) {\n var Set = getBuiltIn('Set');\n try {\n new Set()[name](createSetLike(0));\n try {\n // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it\n // https://github.com/tc39/proposal-set-methods/pull/88\n new Set()[name](createSetLike(-1));\n return false;\n } catch (error2) {\n return true;\n }\n } catch (error) {\n return false;\n }\n};\n\n\n/***/ }),\n\n/***/ 5170:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThisAccessor = __webpack_require__(6706);\nvar SetHelpers = __webpack_require__(4402);\n\nmodule.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {\n return set.size;\n};\n\n\n/***/ }),\n\n/***/ 3650:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar SetHelpers = __webpack_require__(4402);\nvar clone = __webpack_require__(9286);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSimple = __webpack_require__(507);\n\nvar add = SetHelpers.add;\nvar has = SetHelpers.has;\nvar remove = SetHelpers.remove;\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function symmetricDifference(other) {\n var O = aSet(this);\n var keysIter = getSetRecord(other).getIterator();\n var result = clone(O);\n iterateSimple(keysIter, function (e) {\n if (has(O, e)) remove(result, e);\n else add(result, e);\n });\n return result;\n};\n\n\n/***/ }),\n\n/***/ 4204:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar aSet = __webpack_require__(7080);\nvar add = (__webpack_require__(4402).add);\nvar clone = __webpack_require__(9286);\nvar getSetRecord = __webpack_require__(3789);\nvar iterateSimple = __webpack_require__(507);\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function union(other) {\n var O = aSet(this);\n var keysIter = getSetRecord(other).getIterator();\n var result = clone(O);\n iterateSimple(keysIter, function (it) {\n add(result, it);\n });\n return result;\n};\n\n\n/***/ }),\n\n/***/ 6119:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar shared = __webpack_require__(5745);\nvar uid = __webpack_require__(3392);\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n\n\n/***/ }),\n\n/***/ 7629:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar IS_PURE = __webpack_require__(6395);\nvar globalThis = __webpack_require__(4475);\nvar defineGlobalProperty = __webpack_require__(9433);\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.37.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '\xA9 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n\n\n/***/ }),\n\n/***/ 5745:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar store = __webpack_require__(7629);\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n\n\n/***/ }),\n\n/***/ 4495:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = __webpack_require__(7388);\nvar fails = __webpack_require__(9039);\nvar global = __webpack_require__(4475);\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n\n\n/***/ }),\n\n/***/ 5610:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar toIntegerOrInfinity = __webpack_require__(1291);\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n\n\n/***/ }),\n\n/***/ 5397:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = __webpack_require__(7055);\nvar requireObjectCoercible = __webpack_require__(7750);\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n\n\n/***/ }),\n\n/***/ 1291:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar trunc = __webpack_require__(741);\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n\n\n/***/ }),\n\n/***/ 8014:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar toIntegerOrInfinity = __webpack_require__(1291);\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n\n\n/***/ }),\n\n/***/ 8981:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar requireObjectCoercible = __webpack_require__(7750);\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n\n\n/***/ }),\n\n/***/ 2777:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar call = __webpack_require__(9565);\nvar isObject = __webpack_require__(34);\nvar isSymbol = __webpack_require__(757);\nvar getMethod = __webpack_require__(5966);\nvar ordinaryToPrimitive = __webpack_require__(4270);\nvar wellKnownSymbol = __webpack_require__(8227);\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n\n\n/***/ }),\n\n/***/ 6969:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar toPrimitive = __webpack_require__(2777);\nvar isSymbol = __webpack_require__(757);\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n\n\n/***/ }),\n\n/***/ 2140:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar wellKnownSymbol = __webpack_require__(8227);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n\n\n/***/ }),\n\n/***/ 6823:\n/***/ ((module) => {\n\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n\n\n/***/ }),\n\n/***/ 3392:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar uncurryThis = __webpack_require__(9504);\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n\n\n/***/ }),\n\n/***/ 7040:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = __webpack_require__(4495);\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n\n\n/***/ }),\n\n/***/ 8686:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar DESCRIPTORS = __webpack_require__(3724);\nvar fails = __webpack_require__(9039);\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n\n\n/***/ }),\n\n/***/ 8622:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar isCallable = __webpack_require__(4901);\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n\n\n/***/ }),\n\n/***/ 8227:\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar shared = __webpack_require__(5745);\nvar hasOwn = __webpack_require__(9297);\nvar uid = __webpack_require__(3392);\nvar NATIVE_SYMBOL = __webpack_require__(4495);\nvar USE_SYMBOL_AS_UID = __webpack_require__(7040);\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n\n\n/***/ }),\n\n/***/ 4114:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar toObject = __webpack_require__(8981);\nvar lengthOfArrayLike = __webpack_require__(6198);\nvar setArrayLength = __webpack_require__(4527);\nvar doesNotExceedSafeInteger = __webpack_require__(6837);\nvar fails = __webpack_require__(9039);\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n\n\n/***/ }),\n\n/***/ 9479:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar global = __webpack_require__(4475);\nvar DESCRIPTORS = __webpack_require__(3724);\nvar defineBuiltInAccessor = __webpack_require__(2106);\nvar regExpFlags = __webpack_require__(7979);\nvar fails = __webpack_require__(9039);\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError\nvar RegExp = global.RegExp;\nvar RegExpPrototype = RegExp.prototype;\n\nvar FORCED = DESCRIPTORS && fails(function () {\n var INDICES_SUPPORT = true;\n try {\n RegExp('.', 'd');\n } catch (error) {\n INDICES_SUPPORT = false;\n }\n\n var O = {};\n // modern V8 bug\n var calls = '';\n var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';\n\n var addGetter = function (key, chr) {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(O, key, { get: function () {\n calls += chr;\n return true;\n } });\n };\n\n var pairs = {\n dotAll: 's',\n global: 'g',\n ignoreCase: 'i',\n multiline: 'm',\n sticky: 'y'\n };\n\n if (INDICES_SUPPORT) pairs.hasIndices = 'd';\n\n for (var key in pairs) addGetter(key, pairs[key]);\n\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);\n\n return result !== expected || calls !== expected;\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});\n\n\n/***/ }),\n\n/***/ 7642:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar difference = __webpack_require__(3440);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, {\n difference: difference\n});\n\n\n/***/ }),\n\n/***/ 8004:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar fails = __webpack_require__(9039);\nvar intersection = __webpack_require__(8750);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\nvar INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {\n // eslint-disable-next-line es/no-array-from, es/no-set -- testing\n return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';\n});\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {\n intersection: intersection\n});\n\n\n/***/ }),\n\n/***/ 3853:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar isDisjointFrom = __webpack_require__(4449);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.isDisjointFrom` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, {\n isDisjointFrom: isDisjointFrom\n});\n\n\n/***/ }),\n\n/***/ 5876:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar isSubsetOf = __webpack_require__(3838);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.isSubsetOf` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, {\n isSubsetOf: isSubsetOf\n});\n\n\n/***/ }),\n\n/***/ 2475:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar isSupersetOf = __webpack_require__(8527);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.isSupersetOf` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {\n isSupersetOf: isSupersetOf\n});\n\n\n/***/ }),\n\n/***/ 5024:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar symmetricDifference = __webpack_require__(3650);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {\n symmetricDifference: symmetricDifference\n});\n\n\n/***/ }),\n\n/***/ 1698:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar union = __webpack_require__(4204);\nvar setMethodAcceptSetLike = __webpack_require__(4916);\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {\n union: union\n});\n\n\n/***/ }),\n\n/***/ 8992:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar global = __webpack_require__(4475);\nvar anInstance = __webpack_require__(679);\nvar anObject = __webpack_require__(8551);\nvar isCallable = __webpack_require__(4901);\nvar getPrototypeOf = __webpack_require__(2787);\nvar defineBuiltInAccessor = __webpack_require__(2106);\nvar createProperty = __webpack_require__(4659);\nvar fails = __webpack_require__(9039);\nvar hasOwn = __webpack_require__(9297);\nvar wellKnownSymbol = __webpack_require__(8227);\nvar IteratorPrototype = (__webpack_require__(7657).IteratorPrototype);\nvar DESCRIPTORS = __webpack_require__(3724);\nvar IS_PURE = __webpack_require__(6395);\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = global[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n || !isCallable(NativeIterator)\n || NativeIterator.prototype !== IteratorPrototype\n // FF44- non-standard `Iterator` passes previous tests\n || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorPrototype);\n if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n if (DESCRIPTORS) {\n defineBuiltInAccessor(IteratorPrototype, key, {\n configurable: true,\n get: function () {\n return value;\n },\n set: function (replacement) {\n anObject(this);\n if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n if (hasOwn(this, key)) this[key] = replacement;\n else createProperty(this, key, replacement);\n }\n });\n } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://github.com/tc39/proposal-iterator-helpers\n$({ global: true, constructor: true, forced: FORCED }, {\n Iterator: IteratorConstructor\n});\n\n\n/***/ }),\n\n/***/ 3215:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar iterate = __webpack_require__(2652);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\n\n// `Iterator.prototype.every` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true }, {\n every: function every(predicate) {\n anObject(this);\n aCallable(predicate);\n var record = getIteratorDirect(this);\n var counter = 0;\n return !iterate(record, function (value, stop) {\n if (!predicate(value, counter++)) return stop();\n }, { IS_RECORD: true, INTERRUPTED: true }).stopped;\n }\n});\n\n\n/***/ }),\n\n/***/ 4520:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar call = __webpack_require__(9565);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\nvar createIteratorProxy = __webpack_require__(9462);\nvar callWithSafeIterationClosing = __webpack_require__(6319);\nvar IS_PURE = __webpack_require__(6395);\n\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var predicate = this.predicate;\n var next = this.next;\n var result, done, value;\n while (true) {\n result = anObject(call(next, iterator));\n done = this.done = !!result.done;\n if (done) return;\n value = result.value;\n if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;\n }\n});\n\n// `Iterator.prototype.filter` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {\n filter: function filter(predicate) {\n anObject(this);\n aCallable(predicate);\n return new IteratorProxy(getIteratorDirect(this), {\n predicate: predicate\n });\n }\n});\n\n\n/***/ }),\n\n/***/ 3949:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar iterate = __webpack_require__(2652);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\n\n// `Iterator.prototype.forEach` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true }, {\n forEach: function forEach(fn) {\n anObject(this);\n aCallable(fn);\n var record = getIteratorDirect(this);\n var counter = 0;\n iterate(record, function (value) {\n fn(value, counter++);\n }, { IS_RECORD: true });\n }\n});\n\n\n/***/ }),\n\n/***/ 1454:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar map = __webpack_require__(713);\nvar IS_PURE = __webpack_require__(6395);\n\n// `Iterator.prototype.map` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {\n map: map\n});\n\n\n/***/ }),\n\n/***/ 8872:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar iterate = __webpack_require__(2652);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\n\nvar $TypeError = TypeError;\n\n// `Iterator.prototype.reduce` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true }, {\n reduce: function reduce(reducer /* , initialValue */) {\n anObject(this);\n aCallable(reducer);\n var record = getIteratorDirect(this);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n var counter = 0;\n iterate(record, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = reducer(accumulator, value, counter);\n }\n counter++;\n }, { IS_RECORD: true });\n if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');\n return accumulator;\n }\n});\n\n\n/***/ }),\n\n/***/ 7550:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\nvar $ = __webpack_require__(6518);\nvar iterate = __webpack_require__(2652);\nvar aCallable = __webpack_require__(9306);\nvar anObject = __webpack_require__(8551);\nvar getIteratorDirect = __webpack_require__(1767);\n\n// `Iterator.prototype.some` method\n// https://github.com/tc39/proposal-iterator-helpers\n$({ target: 'Iterator', proto: true, real: true }, {\n some: function some(predicate) {\n anObject(this);\n aCallable(predicate);\n var record = getIteratorDirect(this);\n var counter = 0;\n return iterate(record, function (value, stop) {\n if (predicate(value, counter++)) return stop();\n }, { IS_RECORD: true, INTERRUPTED: true }).stopped;\n }\n});\n\n\n/***/ }),\n\n/***/ 3375:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(7642);\n\n\n/***/ }),\n\n/***/ 9225:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(8004);\n\n\n/***/ }),\n\n/***/ 3972:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(3853);\n\n\n/***/ }),\n\n/***/ 9209:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(5876);\n\n\n/***/ }),\n\n/***/ 5714:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(2475);\n\n\n/***/ }),\n\n/***/ 7561:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(5024);\n\n\n/***/ }),\n\n/***/ 6197:\n/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {\n\n\n// TODO: Remove from `core-js@4`\n__webpack_require__(1698);\n\n\n/***/ })\n\n/******/ });\n/************************************************************************/\n/******/ // The module cache\n/******/ var __webpack_module_cache__ = {};\n/******/ \n/******/ // The require function\n/******/ function __webpack_require__(moduleId) {\n/******/ \t// Check if module is in cache\n/******/ \tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \tif (cachedModule !== undefined) {\n/******/ \t\treturn cachedModule.exports;\n/******/ \t}\n/******/ \t// Create a new module (and put it into the cache)\n/******/ \tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t// no module.id needed\n/******/ \t\t// no module.loaded needed\n/******/ \t\texports: {}\n/******/ \t};\n/******/ \n/******/ \t// Execute the module function\n/******/ \t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/ \n/******/ \t// Return the exports of the module\n/******/ \treturn module.exports;\n/******/ }\n/******/ \n/************************************************************************/\nvar __webpack_exports__ = globalThis.pdfjsSandbox = {};\n// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.\n(() => {\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js\nvar es_array_push = __webpack_require__(4114);\n;// CONCATENATED MODULE: ./src/scripting_api/constants.js\nconst Border = Object.freeze({\n s: \"solid\",\n d: \"dashed\",\n b: \"beveled\",\n i: \"inset\",\n u: \"underline\"\n});\nconst Cursor = Object.freeze({\n visible: 0,\n hidden: 1,\n delay: 2\n});\nconst Display = Object.freeze({\n visible: 0,\n hidden: 1,\n noPrint: 2,\n noView: 3\n});\nconst Font = Object.freeze({\n Times: \"Times-Roman\",\n TimesB: \"Times-Bold\",\n TimesI: \"Times-Italic\",\n TimesBI: \"Times-BoldItalic\",\n Helv: \"Helvetica\",\n HelvB: \"Helvetica-Bold\",\n HelvI: \"Helvetica-Oblique\",\n HelvBI: \"Helvetica-BoldOblique\",\n Cour: \"Courier\",\n CourB: \"Courier-Bold\",\n CourI: \"Courier-Oblique\",\n CourBI: \"Courier-BoldOblique\",\n Symbol: \"Symbol\",\n ZapfD: \"ZapfDingbats\",\n KaGo: \"HeiseiKakuGo-W5-UniJIS-UCS2-H\",\n KaMi: \"HeiseiMin-W3-UniJIS-UCS2-H\"\n});\nconst Highlight = Object.freeze({\n n: \"none\",\n i: \"invert\",\n p: \"push\",\n o: \"outline\"\n});\nconst Position = Object.freeze({\n textOnly: 0,\n iconOnly: 1,\n iconTextV: 2,\n textIconV: 3,\n iconTextH: 4,\n textIconH: 5,\n overlay: 6\n});\nconst ScaleHow = Object.freeze({\n proportional: 0,\n anamorphic: 1\n});\nconst ScaleWhen = Object.freeze({\n always: 0,\n never: 1,\n tooBig: 2,\n tooSmall: 3\n});\nconst Style = Object.freeze({\n ch: \"check\",\n cr: \"cross\",\n di: \"diamond\",\n ci: \"circle\",\n st: \"star\",\n sq: \"square\"\n});\nconst Trans = Object.freeze({\n blindsH: \"BlindsHorizontal\",\n blindsV: \"BlindsVertical\",\n boxI: \"BoxIn\",\n boxO: \"BoxOut\",\n dissolve: \"Dissolve\",\n glitterD: \"GlitterDown\",\n glitterR: \"GlitterRight\",\n glitterRD: \"GlitterRightDown\",\n random: \"Random\",\n replace: \"Replace\",\n splitHI: \"SplitHorizontalIn\",\n splitHO: \"SplitHorizontalOut\",\n splitVI: \"SplitVerticalIn\",\n splitVO: \"SplitVerticalOut\",\n wipeD: \"WipeDown\",\n wipeL: \"WipeLeft\",\n wipeR: \"WipeRight\",\n wipeU: \"WipeUp\"\n});\nconst ZoomType = Object.freeze({\n none: \"NoVary\",\n fitP: \"FitPage\",\n fitW: \"FitWidth\",\n fitH: \"FitHeight\",\n fitV: \"FitVisibleWidth\",\n pref: \"Preferred\",\n refW: \"ReflowWidth\"\n});\nconst GlobalConstants = Object.freeze({\n IDS_GREATER_THAN: \"Invalid value: must be greater than or equal to % s.\",\n IDS_GT_AND_LT: \"Invalid value: must be greater than or equal to % s \" + \"and less than or equal to % s.\",\n IDS_LESS_THAN: \"Invalid value: must be less than or equal to % s.\",\n IDS_INVALID_MONTH: \"** Invalid **\",\n IDS_INVALID_DATE: \"Invalid date / time: please ensure that the date / time exists. Field\",\n IDS_INVALID_DATE2: \" should match format \",\n IDS_INVALID_VALUE: \"The value entered does not match the format of the field\",\n IDS_AM: \"am\",\n IDS_PM: \"pm\",\n IDS_MONTH_INFO: \"January[1] February[2] March[3] April[4] May[5] \" + \"June[6] July[7] August[8] September[9] October[10] \" + \"November[11] December[12] Sept[9] Jan[1] Feb[2] Mar[3] \" + \"Apr[4] Jun[6] Jul[7] Aug[8] Sep[9] Oct[10] Nov[11] Dec[12]\",\n IDS_STARTUP_CONSOLE_MSG: \"** ^ _ ^ **\",\n RE_NUMBER_ENTRY_DOT_SEP: [\"[+-]?\\\\d*\\\\.?\\\\d*\"],\n RE_NUMBER_COMMIT_DOT_SEP: [\"[+-]?\\\\d+(\\\\.\\\\d+)?\", \"[+-]?\\\\.\\\\d+\", \"[+-]?\\\\d+\\\\.\"],\n RE_NUMBER_ENTRY_COMMA_SEP: [\"[+-]?\\\\d*,?\\\\d*\"],\n RE_NUMBER_COMMIT_COMMA_SEP: [\"[+-]?\\\\d+([.,]\\\\d+)?\", \"[+-]?[.,]\\\\d+\", \"[+-]?\\\\d+[.,]\"],\n RE_ZIP_ENTRY: [\"\\\\d{0,5}\"],\n RE_ZIP_COMMIT: [\"\\\\d{5}\"],\n RE_ZIP4_ENTRY: [\"\\\\d{0,5}(\\\\.|[- ])?\\\\d{0,4}\"],\n RE_ZIP4_COMMIT: [\"\\\\d{5}(\\\\.|[- ])?\\\\d{4}\"],\n RE_PHONE_ENTRY: [\"\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}\", \"\\\\(\\\\d{0,3}\", \"\\\\(\\\\d{0,3}\\\\)(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}\", \"\\\\(\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}\", \"\\\\d{0,3}\\\\)(\\\\.|[- ])?\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,4}\", \"011(\\\\.|[- \\\\d])*\"],\n RE_PHONE_COMMIT: [\"\\\\d{3}(\\\\.|[- ])?\\\\d{4}\", \"\\\\d{3}(\\\\.|[- ])?\\\\d{3}(\\\\.|[- ])?\\\\d{4}\", \"\\\\(\\\\d{3}\\\\)(\\\\.|[- ])?\\\\d{3}(\\\\.|[- ])?\\\\d{4}\", \"011(\\\\.|[- \\\\d])*\"],\n RE_SSN_ENTRY: [\"\\\\d{0,3}(\\\\.|[- ])?\\\\d{0,2}(\\\\.|[- ])?\\\\d{0,4}\"],\n RE_SSN_COMMIT: [\"\\\\d{3}(\\\\.|[- ])?\\\\d{2}(\\\\.|[- ])?\\\\d{4}\"]\n});\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js\nvar esnext_iterator_constructor = __webpack_require__(8992);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.every.js\nvar esnext_iterator_every = __webpack_require__(3215);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js\nvar esnext_iterator_for_each = __webpack_require__(3949);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.some.js\nvar esnext_iterator_some = __webpack_require__(7550);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js\nvar esnext_set_difference_v2 = __webpack_require__(3375);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js\nvar esnext_set_intersection_v2 = __webpack_require__(9225);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js\nvar esnext_set_is_disjoint_from_v2 = __webpack_require__(3972);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js\nvar esnext_set_is_subset_of_v2 = __webpack_require__(9209);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js\nvar esnext_set_is_superset_of_v2 = __webpack_require__(5714);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js\nvar esnext_set_symmetric_difference_v2 = __webpack_require__(7561);\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js\nvar esnext_set_union_v2 = __webpack_require__(6197);\n;// CONCATENATED MODULE: ./src/scripting_api/common.js\nconst FieldType = {\n none: 0,\n number: 1,\n percent: 2,\n date: 3,\n time: 4\n};\nfunction createActionsMap(actions) {\n const actionsMap = new Map();\n if (actions) {\n for (const [eventType, actionsForEvent] of Object.entries(actions)) {\n actionsMap.set(eventType, actionsForEvent);\n }\n }\n return actionsMap;\n}\nfunction getFieldType(actions) {\n let format = actions.get(\"Format\");\n if (!format) {\n return FieldType.none;\n }\n format = format[0];\n format = format.trim();\n if (format.startsWith(\"AFNumber_\")) {\n return FieldType.number;\n }\n if (format.startsWith(\"AFPercent_\")) {\n return FieldType.percent;\n }\n if (format.startsWith(\"AFDate_\")) {\n return FieldType.date;\n }\n if (format.startsWith(\"AFTime_\")) {\n return FieldType.time;\n }\n return FieldType.none;\n}\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js\nvar esnext_iterator_map = __webpack_require__(1454);\n;// CONCATENATED MODULE: ./src/shared/scripting_utils.js\n\nfunction makeColorComp(n) {\n return Math.floor(Math.max(0, Math.min(1, n)) * 255).toString(16).padStart(2, \"0\");\n}\nfunction scaleAndClamp(x) {\n return Math.max(0, Math.min(255, 255 * x));\n}\nclass ColorConverters {\n static CMYK_G([c, y, m, k]) {\n return [\"G\", 1 - Math.min(1, 0.3 * c + 0.59 * m + 0.11 * y + k)];\n }\n static G_CMYK([g]) {\n return [\"CMYK\", 0, 0, 0, 1 - g];\n }\n static G_RGB([g]) {\n return [\"RGB\", g, g, g];\n }\n static G_rgb([g]) {\n g = scaleAndClamp(g);\n return [g, g, g];\n }\n static G_HTML([g]) {\n const G = makeColorComp(g);\n return `#${G}${G}${G}`;\n }\n static RGB_G([r, g, b]) {\n return [\"G\", 0.3 * r + 0.59 * g + 0.11 * b];\n }\n static RGB_rgb(color) {\n return color.map(scaleAndClamp);\n }\n static RGB_HTML(color) {\n return `#${color.map(makeColorComp).join(\"\")}`;\n }\n static T_HTML() {\n return \"#00000000\";\n }\n static T_rgb() {\n return [null];\n }\n static CMYK_RGB([c, y, m, k]) {\n return [\"RGB\", 1 - Math.min(1, c + k), 1 - Math.min(1, m + k), 1 - Math.min(1, y + k)];\n }\n static CMYK_rgb([c, y, m, k]) {\n return [scaleAndClamp(1 - Math.min(1, c + k)), scaleAndClamp(1 - Math.min(1, m + k)), scaleAndClamp(1 - Math.min(1, y + k))];\n }\n static CMYK_HTML(components) {\n const rgb = this.CMYK_RGB(components).slice(1);\n return this.RGB_HTML(rgb);\n }\n static RGB_CMYK([r, g, b]) {\n const c = 1 - r;\n const m = 1 - g;\n const y = 1 - b;\n const k = Math.min(c, m, y);\n return [\"CMYK\", c, m, y, k];\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/pdf_object.js\nclass PDFObject {\n constructor(data) {\n this._expandos = Object.create(null);\n this._send = data.send || null;\n this._id = data.id || null;\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/color.js\n\n\n\n\nclass Color extends PDFObject {\n constructor() {\n super({});\n this.transparent = [\"T\"];\n this.black = [\"G\", 0];\n this.white = [\"G\", 1];\n this.red = [\"RGB\", 1, 0, 0];\n this.green = [\"RGB\", 0, 1, 0];\n this.blue = [\"RGB\", 0, 0, 1];\n this.cyan = [\"CMYK\", 1, 0, 0, 0];\n this.magenta = [\"CMYK\", 0, 1, 0, 0];\n this.yellow = [\"CMYK\", 0, 0, 1, 0];\n this.dkGray = [\"G\", 0.25];\n this.gray = [\"G\", 0.5];\n this.ltGray = [\"G\", 0.75];\n }\n static _isValidSpace(cColorSpace) {\n return typeof cColorSpace === \"string\" && (cColorSpace === \"T\" || cColorSpace === \"G\" || cColorSpace === \"RGB\" || cColorSpace === \"CMYK\");\n }\n static _isValidColor(colorArray) {\n if (!Array.isArray(colorArray) || colorArray.length === 0) {\n return false;\n }\n const space = colorArray[0];\n if (!Color._isValidSpace(space)) {\n return false;\n }\n switch (space) {\n case \"T\":\n if (colorArray.length !== 1) {\n return false;\n }\n break;\n case \"G\":\n if (colorArray.length !== 2) {\n return false;\n }\n break;\n case \"RGB\":\n if (colorArray.length !== 4) {\n return false;\n }\n break;\n case \"CMYK\":\n if (colorArray.length !== 5) {\n return false;\n }\n break;\n default:\n return false;\n }\n return colorArray.slice(1).every(c => typeof c === \"number\" && c >= 0 && c <= 1);\n }\n static _getCorrectColor(colorArray) {\n return Color._isValidColor(colorArray) ? colorArray : [\"G\", 0];\n }\n convert(colorArray, cColorSpace) {\n if (!Color._isValidSpace(cColorSpace)) {\n return this.black;\n }\n if (cColorSpace === \"T\") {\n return [\"T\"];\n }\n colorArray = Color._getCorrectColor(colorArray);\n if (colorArray[0] === cColorSpace) {\n return colorArray;\n }\n if (colorArray[0] === \"T\") {\n return this.convert(this.black, cColorSpace);\n }\n return ColorConverters[`${colorArray[0]}_${cColorSpace}`](colorArray.slice(1));\n }\n equal(colorArray1, colorArray2) {\n colorArray1 = Color._getCorrectColor(colorArray1);\n colorArray2 = Color._getCorrectColor(colorArray2);\n if (colorArray1[0] === \"T\" || colorArray2[0] === \"T\") {\n return colorArray1[0] === \"T\" && colorArray2[0] === \"T\";\n }\n if (colorArray1[0] !== colorArray2[0]) {\n colorArray2 = this.convert(colorArray2, colorArray1[0]);\n }\n return colorArray1.slice(1).every((c, i) => c === colorArray2[i + 1]);\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/field.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass Field extends PDFObject {\n constructor(data) {\n super(data);\n this.alignment = data.alignment || \"left\";\n this.borderStyle = data.borderStyle || \"\";\n this.buttonAlignX = data.buttonAlignX || 50;\n this.buttonAlignY = data.buttonAlignY || 50;\n this.buttonFitBounds = data.buttonFitBounds;\n this.buttonPosition = data.buttonPosition;\n this.buttonScaleHow = data.buttonScaleHow;\n this.ButtonScaleWhen = data.buttonScaleWhen;\n this.calcOrderIndex = data.calcOrderIndex;\n this.comb = data.comb;\n this.commitOnSelChange = data.commitOnSelChange;\n this.currentValueIndices = data.currentValueIndices;\n this.defaultStyle = data.defaultStyle;\n this.defaultValue = data.defaultValue;\n this.doNotScroll = data.doNotScroll;\n this.doNotSpellCheck = data.doNotSpellCheck;\n this.delay = data.delay;\n this.display = data.display;\n this.doc = data.doc.wrapped;\n this.editable = data.editable;\n this.exportValues = data.exportValues;\n this.fileSelect = data.fileSelect;\n this.hidden = data.hidden;\n this.highlight = data.highlight;\n this.lineWidth = data.lineWidth;\n this.multiline = data.multiline;\n this.multipleSelection = !!data.multipleSelection;\n this.name = data.name;\n this.password = data.password;\n this.print = data.print;\n this.radiosInUnison = data.radiosInUnison;\n this.readonly = data.readonly;\n this.rect = data.rect;\n this.required = data.required;\n this.richText = data.richText;\n this.richValue = data.richValue;\n this.style = data.style;\n this.submitName = data.submitName;\n this.textFont = data.textFont;\n this.textSize = data.textSize;\n this.type = data.type;\n this.userName = data.userName;\n this._actions = createActionsMap(data.actions);\n this._browseForFileToSubmit = data.browseForFileToSubmit || null;\n this._buttonCaption = null;\n this._buttonIcon = null;\n this._charLimit = data.charLimit;\n this._children = null;\n this._currentValueIndices = data.currentValueIndices || 0;\n this._document = data.doc;\n this._fieldPath = data.fieldPath;\n this._fillColor = data.fillColor || [\"T\"];\n this._isChoice = Array.isArray(data.items);\n this._items = data.items || [];\n this._hasValue = data.hasOwnProperty(\"value\");\n this._page = data.page || 0;\n this._strokeColor = data.strokeColor || [\"G\", 0];\n this._textColor = data.textColor || [\"G\", 0];\n this._value = null;\n this._kidIds = data.kidIds || null;\n this._fieldType = getFieldType(this._actions);\n this._siblings = data.siblings || null;\n this._rotation = data.rotation || 0;\n this._globalEval = data.globalEval;\n this._appObjects = data.appObjects;\n this.value = data.value || \"\";\n }\n get currentValueIndices() {\n if (!this._isChoice) {\n return 0;\n }\n return this._currentValueIndices;\n }\n set currentValueIndices(indices) {\n if (!this._isChoice) {\n return;\n }\n if (!Array.isArray(indices)) {\n indices = [indices];\n }\n if (!indices.every(i => typeof i === \"number\" && Number.isInteger(i) && i >= 0 && i < this.numItems)) {\n return;\n }\n indices.sort();\n if (this.multipleSelection) {\n this._currentValueIndices = indices;\n this._value = [];\n indices.forEach(i => {\n this._value.push(this._items[i].displayValue);\n });\n } else if (indices.length > 0) {\n indices = indices.splice(1, indices.length - 1);\n this._currentValueIndices = indices[0];\n this._value = this._items[this._currentValueIndices];\n }\n this._send({\n id: this._id,\n indices\n });\n }\n get fillColor() {\n return this._fillColor;\n }\n set fillColor(color) {\n if (Color._isValidColor(color)) {\n this._fillColor = color;\n }\n }\n get bgColor() {\n return this.fillColor;\n }\n set bgColor(color) {\n this.fillColor = color;\n }\n get charLimit() {\n return this._charLimit;\n }\n set charLimit(limit) {\n if (typeof limit !== \"number\") {\n throw new Error(\"Invalid argument value\");\n }\n this._charLimit = Math.max(0, Math.floor(limit));\n }\n get numItems() {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n return this._items.length;\n }\n set numItems(_) {\n throw new Error(\"field.numItems is read-only\");\n }\n get strokeColor() {\n return this._strokeColor;\n }\n set strokeColor(color) {\n if (Color._isValidColor(color)) {\n this._strokeColor = color;\n }\n }\n get borderColor() {\n return this.strokeColor;\n }\n set borderColor(color) {\n this.strokeColor = color;\n }\n get page() {\n return this._page;\n }\n set page(_) {\n throw new Error(\"field.page is read-only\");\n }\n get rotation() {\n return this._rotation;\n }\n set rotation(angle) {\n angle = Math.floor(angle);\n if (angle % 90 !== 0) {\n throw new Error(\"Invalid rotation: must be a multiple of 90\");\n }\n angle %= 360;\n if (angle < 0) {\n angle += 360;\n }\n this._rotation = angle;\n }\n get textColor() {\n return this._textColor;\n }\n set textColor(color) {\n if (Color._isValidColor(color)) {\n this._textColor = color;\n }\n }\n get fgColor() {\n return this.textColor;\n }\n set fgColor(color) {\n this.textColor = color;\n }\n get value() {\n return this._value;\n }\n set value(value) {\n if (this._isChoice) {\n this._setChoiceValue(value);\n return;\n }\n if (value === \"\" || typeof value !== \"string\" || this._fieldType >= FieldType.date) {\n this._originalValue = undefined;\n this._value = value;\n return;\n }\n this._originalValue = value;\n const _value = value.trim().replace(\",\", \".\");\n this._value = !isNaN(_value) ? parseFloat(_value) : value;\n }\n _getValue() {\n return this._originalValue ?? this.value;\n }\n _setChoiceValue(value) {\n if (this.multipleSelection) {\n if (!Array.isArray(value)) {\n value = [value];\n }\n const values = new Set(value);\n if (Array.isArray(this._currentValueIndices)) {\n this._currentValueIndices.length = 0;\n this._value.length = 0;\n } else {\n this._currentValueIndices = [];\n this._value = [];\n }\n this._items.forEach((item, i) => {\n if (values.has(item.exportValue)) {\n this._currentValueIndices.push(i);\n this._value.push(item.exportValue);\n }\n });\n } else {\n if (Array.isArray(value)) {\n value = value[0];\n }\n const index = this._items.findIndex(({\n exportValue\n }) => value === exportValue);\n if (index !== -1) {\n this._currentValueIndices = index;\n this._value = this._items[index].exportValue;\n }\n }\n }\n get valueAsString() {\n return (this._value ?? \"\").toString();\n }\n set valueAsString(_) {}\n browseForFileToSubmit() {\n if (this._browseForFileToSubmit) {\n this._browseForFileToSubmit();\n }\n }\n buttonGetCaption(nFace = 0) {\n if (this._buttonCaption) {\n return this._buttonCaption[nFace];\n }\n return \"\";\n }\n buttonGetIcon(nFace = 0) {\n if (this._buttonIcon) {\n return this._buttonIcon[nFace];\n }\n return null;\n }\n buttonImportIcon(cPath = null, nPave = 0) {}\n buttonSetCaption(cCaption, nFace = 0) {\n if (!this._buttonCaption) {\n this._buttonCaption = [\"\", \"\", \"\"];\n }\n this._buttonCaption[nFace] = cCaption;\n }\n buttonSetIcon(oIcon, nFace = 0) {\n if (!this._buttonIcon) {\n this._buttonIcon = [null, null, null];\n }\n this._buttonIcon[nFace] = oIcon;\n }\n checkThisBox(nWidget, bCheckIt = true) {}\n clearItems() {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n this._items = [];\n this._send({\n id: this._id,\n clear: null\n });\n }\n deleteItemAt(nIdx = null) {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n if (!this.numItems) {\n return;\n }\n if (nIdx === null) {\n nIdx = Array.isArray(this._currentValueIndices) ? this._currentValueIndices[0] : this._currentValueIndices;\n nIdx ||= 0;\n }\n if (nIdx < 0 || nIdx >= this.numItems) {\n nIdx = this.numItems - 1;\n }\n this._items.splice(nIdx, 1);\n if (Array.isArray(this._currentValueIndices)) {\n let index = this._currentValueIndices.findIndex(i => i >= nIdx);\n if (index !== -1) {\n if (this._currentValueIndices[index] === nIdx) {\n this._currentValueIndices.splice(index, 1);\n }\n for (const ii = this._currentValueIndices.length; index < ii; index++) {\n --this._currentValueIndices[index];\n }\n }\n } else if (this._currentValueIndices === nIdx) {\n this._currentValueIndices = this.numItems > 0 ? 0 : -1;\n } else if (this._currentValueIndices > nIdx) {\n --this._currentValueIndices;\n }\n this._send({\n id: this._id,\n remove: nIdx\n });\n }\n getItemAt(nIdx = -1, bExportValue = false) {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n if (nIdx < 0 || nIdx >= this.numItems) {\n nIdx = this.numItems - 1;\n }\n const item = this._items[nIdx];\n return bExportValue ? item.exportValue : item.displayValue;\n }\n getArray() {\n if (this._kidIds) {\n const array = [];\n const fillArrayWithKids = kidIds => {\n for (const id of kidIds) {\n const obj = this._appObjects[id];\n if (!obj) {\n continue;\n }\n if (obj.obj._hasValue) {\n array.push(obj.wrapped);\n }\n if (obj.obj._kidIds) {\n fillArrayWithKids(obj.obj._kidIds);\n }\n }\n };\n fillArrayWithKids(this._kidIds);\n return array;\n }\n if (this._children === null) {\n this._children = this._document.obj._getTerminalChildren(this._fieldPath);\n }\n return this._children;\n }\n getLock() {\n return undefined;\n }\n isBoxChecked(nWidget) {\n return false;\n }\n isDefaultChecked(nWidget) {\n return false;\n }\n insertItemAt(cName, cExport = undefined, nIdx = 0) {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n if (!cName) {\n return;\n }\n if (nIdx < 0 || nIdx > this.numItems) {\n nIdx = this.numItems;\n }\n if (this._items.some(({\n displayValue\n }) => displayValue === cName)) {\n return;\n }\n if (cExport === undefined) {\n cExport = cName;\n }\n const data = {\n displayValue: cName,\n exportValue: cExport\n };\n this._items.splice(nIdx, 0, data);\n if (Array.isArray(this._currentValueIndices)) {\n let index = this._currentValueIndices.findIndex(i => i >= nIdx);\n if (index !== -1) {\n for (const ii = this._currentValueIndices.length; index < ii; index++) {\n ++this._currentValueIndices[index];\n }\n }\n } else if (this._currentValueIndices >= nIdx) {\n ++this._currentValueIndices;\n }\n this._send({\n id: this._id,\n insert: {\n index: nIdx,\n ...data\n }\n });\n }\n setAction(cTrigger, cScript) {\n if (typeof cTrigger !== \"string\" || typeof cScript !== \"string\") {\n return;\n }\n if (!(cTrigger in this._actions)) {\n this._actions[cTrigger] = [];\n }\n this._actions[cTrigger].push(cScript);\n }\n setFocus() {\n this._send({\n id: this._id,\n focus: true\n });\n }\n setItems(oArray) {\n if (!this._isChoice) {\n throw new Error(\"Not a choice widget\");\n }\n this._items.length = 0;\n for (const element of oArray) {\n let displayValue, exportValue;\n if (Array.isArray(element)) {\n displayValue = element[0]?.toString() || \"\";\n exportValue = element[1]?.toString() || \"\";\n } else {\n displayValue = exportValue = element?.toString() || \"\";\n }\n this._items.push({\n displayValue,\n exportValue\n });\n }\n this._currentValueIndices = 0;\n this._send({\n id: this._id,\n items: this._items\n });\n }\n setLock() {}\n signatureGetModifications() {}\n signatureGetSeedValue() {}\n signatureInfo() {}\n signatureSetSeedValue() {}\n signatureSign() {}\n signatureValidate() {}\n _isButton() {\n return false;\n }\n _reset() {\n this.value = this.defaultValue;\n }\n _runActions(event) {\n const eventName = event.name;\n if (!this._actions.has(eventName)) {\n return false;\n }\n const actions = this._actions.get(eventName);\n try {\n for (const action of actions) {\n this._globalEval(action);\n }\n } catch (error) {\n event.rc = false;\n throw error;\n }\n return true;\n }\n}\nclass RadioButtonField extends Field {\n constructor(otherButtons, data) {\n super(data);\n this.exportValues = [this.exportValues];\n this._radioIds = [this._id];\n this._radioActions = [this._actions];\n for (const radioData of otherButtons) {\n this.exportValues.push(radioData.exportValues);\n this._radioIds.push(radioData.id);\n this._radioActions.push(createActionsMap(radioData.actions));\n if (this._value === radioData.exportValues) {\n this._id = radioData.id;\n }\n }\n this._hasBeenInitialized = true;\n this._value = data.value || \"\";\n }\n get value() {\n return this._value;\n }\n set value(value) {\n if (!this._hasBeenInitialized) {\n return;\n }\n if (value === null || value === undefined) {\n this._value = \"\";\n }\n const i = this.exportValues.indexOf(value);\n if (0 <= i && i < this._radioIds.length) {\n this._id = this._radioIds[i];\n this._value = value;\n } else if (value === \"Off\" && this._radioIds.length === 2) {\n const nextI = (1 + this._radioIds.indexOf(this._id)) % 2;\n this._id = this._radioIds[nextI];\n this._value = this.exportValues[nextI];\n }\n }\n checkThisBox(nWidget, bCheckIt = true) {\n if (nWidget < 0 || nWidget >= this._radioIds.length || !bCheckIt) {\n return;\n }\n this._id = this._radioIds[nWidget];\n this._value = this.exportValues[nWidget];\n this._send({\n id: this._id,\n value: this._value\n });\n }\n isBoxChecked(nWidget) {\n return nWidget >= 0 && nWidget < this._radioIds.length && this._id === this._radioIds[nWidget];\n }\n isDefaultChecked(nWidget) {\n return nWidget >= 0 && nWidget < this.exportValues.length && this.defaultValue === this.exportValues[nWidget];\n }\n _getExportValue(state) {\n const i = this._radioIds.indexOf(this._id);\n return this.exportValues[i];\n }\n _runActions(event) {\n const i = this._radioIds.indexOf(this._id);\n this._actions = this._radioActions[i];\n return super._runActions(event);\n }\n _isButton() {\n return true;\n }\n}\nclass CheckboxField extends RadioButtonField {\n get value() {\n return this._value;\n }\n set value(value) {\n if (!value || value === \"Off\") {\n this._value = \"Off\";\n } else {\n super.value = value;\n }\n }\n _getExportValue(state) {\n return state ? super._getExportValue(state) : \"Off\";\n }\n isBoxChecked(nWidget) {\n if (this._value === \"Off\") {\n return false;\n }\n return super.isBoxChecked(nWidget);\n }\n isDefaultChecked(nWidget) {\n if (this.defaultValue === \"Off\") {\n return this._value === \"Off\";\n }\n return super.isDefaultChecked(nWidget);\n }\n checkThisBox(nWidget, bCheckIt = true) {\n if (nWidget < 0 || nWidget >= this._radioIds.length) {\n return;\n }\n this._id = this._radioIds[nWidget];\n this._value = bCheckIt ? this.exportValues[nWidget] : \"Off\";\n this._send({\n id: this._id,\n value: this._value\n });\n }\n}\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.reduce.js\nvar esnext_iterator_reduce = __webpack_require__(8872);\n;// CONCATENATED MODULE: ./src/scripting_api/aform.js\n\n\n\n\nclass AForm {\n constructor(document, app, util, color) {\n this._document = document;\n this._app = app;\n this._util = util;\n this._color = color;\n this._dateFormats = [\"m/d\", \"m/d/yy\", \"mm/dd/yy\", \"mm/yy\", \"d-mmm\", \"d-mmm-yy\", \"dd-mmm-yy\", \"yy-mm-dd\", \"mmm-yy\", \"mmmm-yy\", \"mmm d, yyyy\", \"mmmm d, yyyy\", \"m/d/yy h:MM tt\", \"m/d/yy HH:MM\"];\n this._timeFormats = [\"HH:MM\", \"h:MM tt\", \"HH:MM:ss\", \"h:MM:ss tt\"];\n this._dateActionsCache = new Map();\n this._emailRegex = new RegExp(\"^[a-zA-Z0-9.!#$%&'*+\\\\/=?^_`{|}~-]+\" + \"@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\" + \"(?:\\\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$\");\n }\n _mkTargetName(event) {\n return event.target ? `[ ${event.target.name} ]` : \"\";\n }\n _tryToGuessDate(cFormat, cDate) {\n let actions = this._dateActionsCache.get(cFormat);\n if (!actions) {\n actions = [];\n this._dateActionsCache.set(cFormat, actions);\n cFormat.replaceAll(/(d+)|(m+)|(y+)|(H+)|(M+)|(s+)/g, function (match, d, m, y, H, M, s) {\n if (d) {\n actions.push((n, date) => {\n if (n >= 1 && n <= 31) {\n date.setDate(n);\n return true;\n }\n return false;\n });\n } else if (m) {\n actions.push((n, date) => {\n if (n >= 1 && n <= 12) {\n date.setMonth(n - 1);\n return true;\n }\n return false;\n });\n } else if (y) {\n actions.push((n, date) => {\n if (n < 50) {\n n += 2000;\n } else if (n < 100) {\n n += 1900;\n }\n date.setYear(n);\n return true;\n });\n } else if (H) {\n actions.push((n, date) => {\n if (n >= 0 && n <= 23) {\n date.setHours(n);\n return true;\n }\n return false;\n });\n } else if (M) {\n actions.push((n, date) => {\n if (n >= 0 && n <= 59) {\n date.setMinutes(n);\n return true;\n }\n return false;\n });\n } else if (s) {\n actions.push((n, date) => {\n if (n >= 0 && n <= 59) {\n date.setSeconds(n);\n return true;\n }\n return false;\n });\n }\n return \"\";\n });\n }\n const number = /\\d+/g;\n let i = 0;\n let array;\n const date = new Date();\n while ((array = number.exec(cDate)) !== null) {\n if (i < actions.length) {\n if (!actions[i++](parseInt(array[0]), date)) {\n return null;\n }\n } else {\n break;\n }\n }\n if (i === 0) {\n return null;\n }\n return date;\n }\n _parseDate(cFormat, cDate) {\n let date = null;\n try {\n date = this._util.scand(cFormat, cDate);\n } catch {}\n if (!date) {\n date = Date.parse(cDate);\n date = isNaN(date) ? this._tryToGuessDate(cFormat, cDate) : new Date(date);\n }\n return date;\n }\n AFMergeChange(event = globalThis.event) {\n if (event.willCommit) {\n return event.value.toString();\n }\n return this._app._eventDispatcher.mergeChange(event);\n }\n AFParseDateEx(cString, cOrder) {\n return this._parseDate(cOrder, cString);\n }\n AFExtractNums(str) {\n if (typeof str === \"number\") {\n return [str];\n }\n if (!str || typeof str !== \"string\") {\n return null;\n }\n const first = str.charAt(0);\n if (first === \".\" || first === \",\") {\n str = `0${str}`;\n }\n const numbers = str.match(/(\\d+)/g);\n if (numbers.length === 0) {\n return null;\n }\n return numbers;\n }\n AFMakeNumber(str) {\n if (typeof str === \"number\") {\n return str;\n }\n if (typeof str !== \"string\") {\n return null;\n }\n str = str.trim().replace(\",\", \".\");\n const number = parseFloat(str);\n if (isNaN(number) || !isFinite(number)) {\n return null;\n }\n return number;\n }\n AFMakeArrayFromList(string) {\n if (typeof string === \"string\") {\n return string.split(/, ?/g);\n }\n return string;\n }\n AFNumber_Format(nDec, sepStyle, negStyle, currStyle, strCurrency, bCurrencyPrepend) {\n const event = globalThis.event;\n let value = this.AFMakeNumber(event.value);\n if (value === null) {\n event.value = \"\";\n return;\n }\n const sign = Math.sign(value);\n const buf = [];\n let hasParen = false;\n if (sign === -1 && bCurrencyPrepend && negStyle === 0) {\n buf.push(\"-\");\n }\n if ((negStyle === 2 || negStyle === 3) && sign === -1) {\n buf.push(\"(\");\n hasParen = true;\n }\n if (bCurrencyPrepend) {\n buf.push(strCurrency);\n }\n sepStyle = Math.min(Math.max(0, Math.floor(sepStyle)), 4);\n buf.push(\"%,\", sepStyle, \".\", nDec.toString(), \"f\");\n if (!bCurrencyPrepend) {\n buf.push(strCurrency);\n }\n if (hasParen) {\n buf.push(\")\");\n }\n if (negStyle === 1 || negStyle === 3) {\n event.target.textColor = sign === 1 ? this._color.black : this._color.red;\n }\n if ((negStyle !== 0 || bCurrencyPrepend) && sign === -1) {\n value = -value;\n }\n const formatStr = buf.join(\"\");\n event.value = this._util.printf(formatStr, value);\n }\n AFNumber_Keystroke(nDec, sepStyle, negStyle, currStyle, strCurrency, bCurrencyPrepend) {\n const event = globalThis.event;\n let value = this.AFMergeChange(event);\n if (!value) {\n return;\n }\n value = value.trim();\n let pattern;\n if (sepStyle > 1) {\n pattern = event.willCommit ? /^[+-]?(\\d+(,\\d*)?|,\\d+)$/ : /^[+-]?\\d*,?\\d*$/;\n } else {\n pattern = event.willCommit ? /^[+-]?(\\d+(\\.\\d*)?|\\.\\d+)$/ : /^[+-]?\\d*\\.?\\d*$/;\n }\n if (!pattern.test(value)) {\n if (event.willCommit) {\n const err = `${GlobalConstants.IDS_INVALID_VALUE} ${this._mkTargetName(event)}`;\n this._app.alert(err);\n }\n event.rc = false;\n }\n if (event.willCommit && sepStyle > 1) {\n event.value = parseFloat(value.replace(\",\", \".\"));\n }\n }\n AFPercent_Format(nDec, sepStyle, percentPrepend = false) {\n if (typeof nDec !== \"number\") {\n return;\n }\n if (typeof sepStyle !== \"number\") {\n return;\n }\n if (nDec < 0) {\n throw new Error(\"Invalid nDec value in AFPercent_Format\");\n }\n const event = globalThis.event;\n if (nDec > 512) {\n event.value = \"%\";\n return;\n }\n nDec = Math.floor(nDec);\n sepStyle = Math.min(Math.max(0, Math.floor(sepStyle)), 4);\n let value = this.AFMakeNumber(event.value);\n if (value === null) {\n event.value = \"%\";\n return;\n }\n const formatStr = `%,${sepStyle}.${nDec}f`;\n value = this._util.printf(formatStr, value * 100);\n event.value = percentPrepend ? `%${value}` : `${value}%`;\n }\n AFPercent_Keystroke(nDec, sepStyle) {\n this.AFNumber_Keystroke(nDec, sepStyle, 0, 0, \"\", true);\n }\n AFDate_FormatEx(cFormat) {\n const event = globalThis.event;\n const value = event.value;\n if (!value) {\n return;\n }\n const date = this._parseDate(cFormat, value);\n if (date !== null) {\n event.value = this._util.printd(cFormat, date);\n }\n }\n AFDate_Format(pdf) {\n if (pdf >= 0 && pdf < this._dateFormats.length) {\n this.AFDate_FormatEx(this._dateFormats[pdf]);\n }\n }\n AFDate_KeystrokeEx(cFormat) {\n const event = globalThis.event;\n if (!event.willCommit) {\n return;\n }\n const value = this.AFMergeChange(event);\n if (!value) {\n return;\n }\n if (this._parseDate(cFormat, value) === null) {\n const invalid = GlobalConstants.IDS_INVALID_DATE;\n const invalid2 = GlobalConstants.IDS_INVALID_DATE2;\n const err = `${invalid} ${this._mkTargetName(event)}${invalid2}${cFormat}`;\n this._app.alert(err);\n event.rc = false;\n }\n }\n AFDate_Keystroke(pdf) {\n if (pdf >= 0 && pdf < this._dateFormats.length) {\n this.AFDate_KeystrokeEx(this._dateFormats[pdf]);\n }\n }\n AFRange_Validate(bGreaterThan, nGreaterThan, bLessThan, nLessThan) {\n const event = globalThis.event;\n if (!event.value) {\n return;\n }\n const value = this.AFMakeNumber(event.value);\n if (value === null) {\n return;\n }\n bGreaterThan = !!bGreaterThan;\n bLessThan = !!bLessThan;\n if (bGreaterThan) {\n nGreaterThan = this.AFMakeNumber(nGreaterThan);\n if (nGreaterThan === null) {\n return;\n }\n }\n if (bLessThan) {\n nLessThan = this.AFMakeNumber(nLessThan);\n if (nLessThan === null) {\n return;\n }\n }\n let err = \"\";\n if (bGreaterThan && bLessThan) {\n if (value < nGreaterThan || value > nLessThan) {\n err = this._util.printf(GlobalConstants.IDS_GT_AND_LT, nGreaterThan, nLessThan);\n }\n } else if (bGreaterThan) {\n if (value < nGreaterThan) {\n err = this._util.printf(GlobalConstants.IDS_GREATER_THAN, nGreaterThan);\n }\n } else if (value > nLessThan) {\n err = this._util.printf(GlobalConstants.IDS_LESS_THAN, nLessThan);\n }\n if (err) {\n this._app.alert(err);\n event.rc = false;\n }\n }\n AFSimple(cFunction, nValue1, nValue2) {\n const value1 = this.AFMakeNumber(nValue1);\n if (value1 === null) {\n throw new Error(\"Invalid nValue1 in AFSimple\");\n }\n const value2 = this.AFMakeNumber(nValue2);\n if (value2 === null) {\n throw new Error(\"Invalid nValue2 in AFSimple\");\n }\n switch (cFunction) {\n case \"AVG\":\n return (value1 + value2) / 2;\n case \"SUM\":\n return value1 + value2;\n case \"PRD\":\n return value1 * value2;\n case \"MIN\":\n return Math.min(value1, value2);\n case \"MAX\":\n return Math.max(value1, value2);\n }\n throw new Error(\"Invalid cFunction in AFSimple\");\n }\n AFSimple_Calculate(cFunction, cFields) {\n const actions = {\n AVG: args => args.reduce((acc, value) => acc + value, 0) / args.length,\n SUM: args => args.reduce((acc, value) => acc + value, 0),\n PRD: args => args.reduce((acc, value) => acc * value, 1),\n MIN: args => args.reduce((acc, value) => Math.min(acc, value), Number.MAX_VALUE),\n MAX: args => args.reduce((acc, value) => Math.max(acc, value), Number.MIN_VALUE)\n };\n if (!(cFunction in actions)) {\n throw new TypeError(\"Invalid function in AFSimple_Calculate\");\n }\n const event = globalThis.event;\n const values = [];\n cFields = this.AFMakeArrayFromList(cFields);\n for (const cField of cFields) {\n const field = this._document.getField(cField);\n if (!field) {\n continue;\n }\n for (const child of field.getArray()) {\n const number = this.AFMakeNumber(child.value);\n if (number !== null) {\n values.push(number);\n }\n }\n }\n if (values.length === 0) {\n event.value = cFunction === \"PRD\" ? 1 : 0;\n return;\n }\n const res = actions[cFunction](values);\n event.value = Math.round(1e6 * res) / 1e6;\n }\n AFSpecial_Format(psf) {\n const event = globalThis.event;\n if (!event.value) {\n return;\n }\n psf = this.AFMakeNumber(psf);\n let formatStr;\n switch (psf) {\n case 0:\n formatStr = \"99999\";\n break;\n case 1:\n formatStr = \"99999-9999\";\n break;\n case 2:\n formatStr = this._util.printx(\"9999999999\", event.value).length >= 10 ? \"(999) 999-9999\" : \"999-9999\";\n break;\n case 3:\n formatStr = \"999-99-9999\";\n break;\n default:\n throw new Error(\"Invalid psf in AFSpecial_Format\");\n }\n event.value = this._util.printx(formatStr, event.value);\n }\n AFSpecial_KeystrokeEx(cMask) {\n if (!cMask) {\n return;\n }\n const event = globalThis.event;\n const value = this.AFMergeChange(event);\n if (!value) {\n return;\n }\n const checkers = new Map([[\"9\", char => char >= \"0\" && char <= \"9\"], [\"A\", char => \"a\" <= char && char <= \"z\" || \"A\" <= char && char <= \"Z\"], [\"O\", char => \"a\" <= char && char <= \"z\" || \"A\" <= char && char <= \"Z\" || \"0\" <= char && char <= \"9\"], [\"X\", char => true]]);\n function _checkValidity(_value, _cMask) {\n for (let i = 0, ii = _value.length; i < ii; i++) {\n const mask = _cMask.charAt(i);\n const char = _value.charAt(i);\n const checker = checkers.get(mask);\n if (checker) {\n if (!checker(char)) {\n return false;\n }\n } else if (mask !== char) {\n return false;\n }\n }\n return true;\n }\n const err = `${GlobalConstants.IDS_INVALID_VALUE} = \"${cMask}\"`;\n if (value.length > cMask.length) {\n this._app.alert(err);\n event.rc = false;\n return;\n }\n if (event.willCommit) {\n if (value.length < cMask.length) {\n this._app.alert(err);\n event.rc = false;\n return;\n }\n if (!_checkValidity(value, cMask)) {\n this._app.alert(err);\n event.rc = false;\n return;\n }\n event.value += cMask.substring(value.length);\n return;\n }\n if (value.length < cMask.length) {\n cMask = cMask.substring(0, value.length);\n }\n if (!_checkValidity(value, cMask)) {\n this._app.alert(err);\n event.rc = false;\n }\n }\n AFSpecial_Keystroke(psf) {\n const event = globalThis.event;\n psf = this.AFMakeNumber(psf);\n let formatStr;\n switch (psf) {\n case 0:\n formatStr = \"99999\";\n break;\n case 1:\n formatStr = \"99999-9999\";\n break;\n case 2:\n const value = this.AFMergeChange(event);\n formatStr = value.length > 8 || value.startsWith(\"(\") ? \"(999) 999-9999\" : \"999-9999\";\n break;\n case 3:\n formatStr = \"999-99-9999\";\n break;\n default:\n throw new Error(\"Invalid psf in AFSpecial_Keystroke\");\n }\n this.AFSpecial_KeystrokeEx(formatStr);\n }\n AFTime_FormatEx(cFormat) {\n this.AFDate_FormatEx(cFormat);\n }\n AFTime_Format(pdf) {\n if (pdf >= 0 && pdf < this._timeFormats.length) {\n this.AFDate_FormatEx(this._timeFormats[pdf]);\n }\n }\n AFTime_KeystrokeEx(cFormat) {\n this.AFDate_KeystrokeEx(cFormat);\n }\n AFTime_Keystroke(pdf) {\n if (pdf >= 0 && pdf < this._timeFormats.length) {\n this.AFDate_KeystrokeEx(this._timeFormats[pdf]);\n }\n }\n eMailValidate(str) {\n return this._emailRegex.test(str);\n }\n AFExactMatch(rePatterns, str) {\n if (rePatterns instanceof RegExp) {\n return str.match(rePatterns)?.[0] === str || 0;\n }\n return rePatterns.findIndex(re => str.match(re)?.[0] === str) + 1;\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/app_utils.js\nconst VIEWER_TYPE = \"PDF.js\";\nconst VIEWER_VARIATION = \"Full\";\nconst VIEWER_VERSION = 21.00720099;\nconst FORMS_VERSION = 21.00720099;\nconst USERACTIVATION_CALLBACKID = 0;\nconst USERACTIVATION_MAXTIME_VALIDITY = 5000;\nfunction serializeError(error) {\n const value = `${error.toString()}\\n${error.stack}`;\n return {\n command: \"error\",\n value\n };\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/event.js\n\nclass Event {\n constructor(data) {\n this.change = data.change || \"\";\n this.changeEx = data.changeEx || null;\n this.commitKey = data.commitKey || 0;\n this.fieldFull = data.fieldFull || false;\n this.keyDown = data.keyDown || false;\n this.modifier = data.modifier || false;\n this.name = data.name;\n this.rc = true;\n this.richChange = data.richChange || [];\n this.richChangeEx = data.richChangeEx || [];\n this.richValue = data.richValue || [];\n this.selEnd = data.selEnd ?? -1;\n this.selStart = data.selStart ?? -1;\n this.shift = data.shift || false;\n this.source = data.source || null;\n this.target = data.target || null;\n this.targetName = \"\";\n this.type = \"Field\";\n this.value = data.value || \"\";\n this.willCommit = data.willCommit || false;\n }\n}\nclass EventDispatcher {\n constructor(document, calculationOrder, objects, externalCall) {\n this._document = document;\n this._calculationOrder = calculationOrder;\n this._objects = objects;\n this._externalCall = externalCall;\n this._document.obj._eventDispatcher = this;\n this._isCalculating = false;\n }\n mergeChange(event) {\n let value = event.value;\n if (Array.isArray(value)) {\n return value;\n }\n if (typeof value !== \"string\") {\n value = value.toString();\n }\n const prefix = event.selStart >= 0 ? value.substring(0, event.selStart) : \"\";\n const postfix = event.selEnd >= 0 && event.selEnd <= value.length ? value.substring(event.selEnd) : \"\";\n return `${prefix}${event.change}${postfix}`;\n }\n userActivation() {\n this._document.obj._userActivation = true;\n this._externalCall(\"setTimeout\", [USERACTIVATION_CALLBACKID, USERACTIVATION_MAXTIME_VALIDITY]);\n }\n dispatch(baseEvent) {\n const id = baseEvent.id;\n if (!(id in this._objects)) {\n let event;\n if (id === \"doc\" || id === \"page\") {\n event = globalThis.event = new Event(baseEvent);\n event.source = event.target = this._document.wrapped;\n event.name = baseEvent.name;\n }\n if (id === \"doc\") {\n const eventName = event.name;\n if (eventName === \"Open\") {\n this.userActivation();\n this._document.obj._initActions();\n this.formatAll();\n }\n if (![\"DidPrint\", \"DidSave\", \"WillPrint\", \"WillSave\"].includes(eventName)) {\n this.userActivation();\n }\n this._document.obj._dispatchDocEvent(event.name);\n } else if (id === \"page\") {\n this.userActivation();\n this._document.obj._dispatchPageEvent(event.name, baseEvent.actions, baseEvent.pageNumber);\n } else if (id === \"app\" && baseEvent.name === \"ResetForm\") {\n this.userActivation();\n for (const fieldId of baseEvent.ids) {\n const obj = this._objects[fieldId];\n obj?.obj._reset();\n }\n }\n return;\n }\n const name = baseEvent.name;\n const source = this._objects[id];\n const event = globalThis.event = new Event(baseEvent);\n let savedChange;\n this.userActivation();\n if (source.obj._isButton()) {\n source.obj._id = id;\n event.value = source.obj._getExportValue(event.value);\n if (name === \"Action\") {\n source.obj._value = event.value;\n }\n }\n switch (name) {\n case \"Keystroke\":\n savedChange = {\n value: event.value,\n changeEx: event.changeEx,\n change: event.change,\n selStart: event.selStart,\n selEnd: event.selEnd\n };\n break;\n case \"Blur\":\n case \"Focus\":\n Object.defineProperty(event, \"value\", {\n configurable: false,\n writable: false,\n enumerable: true,\n value: event.value\n });\n break;\n case \"Validate\":\n this.runValidation(source, event);\n return;\n case \"Action\":\n this.runActions(source, source, event, name);\n this.runCalculate(source, event);\n return;\n }\n this.runActions(source, source, event, name);\n if (name !== \"Keystroke\") {\n return;\n }\n if (event.rc) {\n if (event.willCommit) {\n this.runValidation(source, event);\n } else {\n if (source.obj._isChoice) {\n source.obj.value = savedChange.changeEx;\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value: source.obj.value\n });\n return;\n }\n const value = source.obj.value = this.mergeChange(event);\n let selStart, selEnd;\n if (event.selStart !== savedChange.selStart || event.selEnd !== savedChange.selEnd) {\n selStart = event.selStart;\n selEnd = event.selEnd;\n } else {\n selEnd = selStart = savedChange.selStart + event.change.length;\n }\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value,\n selRange: [selStart, selEnd]\n });\n }\n } else if (!event.willCommit) {\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value: savedChange.value,\n selRange: [savedChange.selStart, savedChange.selEnd]\n });\n } else {\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value: \"\",\n formattedValue: null,\n selRange: [0, 0]\n });\n }\n }\n formatAll() {\n const event = globalThis.event = new Event({});\n for (const source of Object.values(this._objects)) {\n event.value = source.obj._getValue();\n this.runActions(source, source, event, \"Format\");\n }\n }\n runValidation(source, event) {\n const didValidateRun = this.runActions(source, source, event, \"Validate\");\n if (event.rc) {\n source.obj.value = event.value;\n this.runCalculate(source, event);\n const savedValue = event.value = source.obj._getValue();\n let formattedValue = null;\n if (this.runActions(source, source, event, \"Format\")) {\n formattedValue = event.value?.toString?.();\n }\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value: savedValue,\n formattedValue\n });\n event.value = savedValue;\n } else if (didValidateRun) {\n source.obj._send({\n id: source.obj._id,\n siblings: source.obj._siblings,\n value: \"\",\n formattedValue: null,\n selRange: [0, 0],\n focus: true\n });\n }\n }\n runActions(source, target, event, eventName) {\n event.source = source.wrapped;\n event.target = target.wrapped;\n event.name = eventName;\n event.targetName = target.obj.name;\n event.rc = true;\n return target.obj._runActions(event);\n }\n calculateNow() {\n if (!this._calculationOrder || this._isCalculating || !this._document.obj.calculate) {\n return;\n }\n this._isCalculating = true;\n const first = this._calculationOrder[0];\n const source = this._objects[first];\n globalThis.event = new Event({});\n try {\n this.runCalculate(source, globalThis.event);\n } catch (error) {\n this._isCalculating = false;\n throw error;\n }\n this._isCalculating = false;\n }\n runCalculate(source, event) {\n if (!this._calculationOrder || !this._document.obj.calculate) {\n return;\n }\n for (const targetId of this._calculationOrder) {\n if (!(targetId in this._objects)) {\n continue;\n }\n if (!this._document.obj.calculate) {\n break;\n }\n event.value = null;\n const target = this._objects[targetId];\n let savedValue = target.obj._getValue();\n this.runActions(source, target, event, \"Calculate\");\n if (!event.rc) {\n continue;\n }\n if (event.value !== null) {\n target.obj.value = event.value;\n } else {\n event.value = target.obj._getValue();\n }\n this.runActions(target, target, event, \"Validate\");\n if (!event.rc) {\n if (target.obj._getValue() !== savedValue) {\n target.wrapped.value = savedValue;\n }\n continue;\n }\n if (event.value === null) {\n event.value = target.obj._getValue();\n }\n savedValue = target.obj._getValue();\n let formattedValue = null;\n if (this.runActions(target, target, event, \"Format\")) {\n formattedValue = event.value?.toString?.();\n }\n target.obj._send({\n id: target.obj._id,\n siblings: target.obj._siblings,\n value: savedValue,\n formattedValue\n });\n }\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/fullscreen.js\n\n\nclass FullScreen extends PDFObject {\n constructor(data) {\n super(data);\n this._backgroundColor = [];\n this._clickAdvances = true;\n this._cursor = Cursor.hidden;\n this._defaultTransition = \"\";\n this._escapeExits = true;\n this._isFullScreen = true;\n this._loop = false;\n this._timeDelay = 3600;\n this._usePageTiming = false;\n this._useTimer = false;\n }\n get backgroundColor() {\n return this._backgroundColor;\n }\n set backgroundColor(_) {}\n get clickAdvances() {\n return this._clickAdvances;\n }\n set clickAdvances(_) {}\n get cursor() {\n return this._cursor;\n }\n set cursor(_) {}\n get defaultTransition() {\n return this._defaultTransition;\n }\n set defaultTransition(_) {}\n get escapeExits() {\n return this._escapeExits;\n }\n set escapeExits(_) {}\n get isFullScreen() {\n return this._isFullScreen;\n }\n set isFullScreen(_) {}\n get loop() {\n return this._loop;\n }\n set loop(_) {}\n get timeDelay() {\n return this._timeDelay;\n }\n set timeDelay(_) {}\n get transitions() {\n return [\"Replace\", \"WipeRight\", \"WipeLeft\", \"WipeDown\", \"WipeUp\", \"SplitHorizontalIn\", \"SplitHorizontalOut\", \"SplitVerticalIn\", \"SplitVerticalOut\", \"BlindsHorizontal\", \"BlindsVertical\", \"BoxIn\", \"BoxOut\", \"GlitterRight\", \"GlitterDown\", \"GlitterRightDown\", \"Dissolve\", \"Random\"];\n }\n set transitions(_) {\n throw new Error(\"fullscreen.transitions is read-only\");\n }\n get usePageTiming() {\n return this._usePageTiming;\n }\n set usePageTiming(_) {}\n get useTimer() {\n return this._useTimer;\n }\n set useTimer(_) {}\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/thermometer.js\n\nclass Thermometer extends PDFObject {\n constructor(data) {\n super(data);\n this._cancelled = false;\n this._duration = 100;\n this._text = \"\";\n this._value = 0;\n }\n get cancelled() {\n return this._cancelled;\n }\n set cancelled(_) {\n throw new Error(\"thermometer.cancelled is read-only\");\n }\n get duration() {\n return this._duration;\n }\n set duration(val) {\n this._duration = val;\n }\n get text() {\n return this._text;\n }\n set text(val) {\n this._text = val;\n }\n get value() {\n return this._value;\n }\n set value(val) {\n this._value = val;\n }\n begin() {}\n end() {}\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/app.js\n\n\n\n\n\n\nclass App extends PDFObject {\n constructor(data) {\n super(data);\n this._constants = null;\n this._focusRect = true;\n this._fs = null;\n this._language = App._getLanguage(data.language);\n this._openInPlace = false;\n this._platform = App._getPlatform(data.platform);\n this._runtimeHighlight = false;\n this._runtimeHighlightColor = [\"T\"];\n this._thermometer = null;\n this._toolbar = false;\n this._document = data._document;\n this._proxyHandler = data.proxyHandler;\n this._objects = Object.create(null);\n this._eventDispatcher = new EventDispatcher(this._document, data.calculationOrder, this._objects, data.externalCall);\n this._timeoutIds = new WeakMap();\n if (typeof FinalizationRegistry !== \"undefined\") {\n this._timeoutIdsRegistry = new FinalizationRegistry(this._cleanTimeout.bind(this));\n } else {\n this._timeoutIdsRegistry = null;\n }\n this._timeoutCallbackIds = new Map();\n this._timeoutCallbackId = USERACTIVATION_CALLBACKID + 1;\n this._globalEval = data.globalEval;\n this._externalCall = data.externalCall;\n }\n _dispatchEvent(pdfEvent) {\n this._eventDispatcher.dispatch(pdfEvent);\n }\n _registerTimeoutCallback(cExpr) {\n const id = this._timeoutCallbackId++;\n this._timeoutCallbackIds.set(id, cExpr);\n return id;\n }\n _unregisterTimeoutCallback(id) {\n this._timeoutCallbackIds.delete(id);\n }\n _evalCallback({\n callbackId,\n interval\n }) {\n if (callbackId === USERACTIVATION_CALLBACKID) {\n this._document.obj._userActivation = false;\n return;\n }\n const expr = this._timeoutCallbackIds.get(callbackId);\n if (!interval) {\n this._unregisterTimeoutCallback(callbackId);\n }\n if (expr) {\n this._globalEval(expr);\n }\n }\n _registerTimeout(callbackId, interval) {\n const timeout = Object.create(null);\n const id = {\n callbackId,\n interval\n };\n this._timeoutIds.set(timeout, id);\n this._timeoutIdsRegistry?.register(timeout, id);\n return timeout;\n }\n _unregisterTimeout(timeout) {\n this._timeoutIdsRegistry?.unregister(timeout);\n const data = this._timeoutIds.get(timeout);\n if (!data) {\n return;\n }\n this._timeoutIds.delete(timeout);\n this._cleanTimeout(data);\n }\n _cleanTimeout({\n callbackId,\n interval\n }) {\n this._unregisterTimeoutCallback(callbackId);\n if (interval) {\n this._externalCall(\"clearInterval\", [callbackId]);\n } else {\n this._externalCall(\"clearTimeout\", [callbackId]);\n }\n }\n static _getPlatform(platform) {\n if (typeof platform === \"string\") {\n platform = platform.toLowerCase();\n if (platform.includes(\"win\")) {\n return \"WIN\";\n } else if (platform.includes(\"mac\")) {\n return \"MAC\";\n }\n }\n return \"UNIX\";\n }\n static _getLanguage(language) {\n const [main, sub] = language.toLowerCase().split(/[-_]/);\n switch (main) {\n case \"zh\":\n if (sub === \"cn\" || sub === \"sg\") {\n return \"CHS\";\n }\n return \"CHT\";\n case \"da\":\n return \"DAN\";\n case \"de\":\n return \"DEU\";\n case \"es\":\n return \"ESP\";\n case \"fr\":\n return \"FRA\";\n case \"it\":\n return \"ITA\";\n case \"ko\":\n return \"KOR\";\n case \"ja\":\n return \"JPN\";\n case \"nl\":\n return \"NLD\";\n case \"no\":\n return \"NOR\";\n case \"pt\":\n if (sub === \"br\") {\n return \"PTB\";\n }\n return \"ENU\";\n case \"fi\":\n return \"SUO\";\n case \"SV\":\n return \"SVE\";\n default:\n return \"ENU\";\n }\n }\n get activeDocs() {\n return [this._document.wrapped];\n }\n set activeDocs(_) {\n throw new Error(\"app.activeDocs is read-only\");\n }\n get calculate() {\n return this._document.obj.calculate;\n }\n set calculate(calculate) {\n this._document.obj.calculate = calculate;\n }\n get constants() {\n if (!this._constants) {\n this._constants = Object.freeze({\n align: Object.freeze({\n left: 0,\n center: 1,\n right: 2,\n top: 3,\n bottom: 4\n })\n });\n }\n return this._constants;\n }\n set constants(_) {\n throw new Error(\"app.constants is read-only\");\n }\n get focusRect() {\n return this._focusRect;\n }\n set focusRect(val) {\n this._focusRect = val;\n }\n get formsVersion() {\n return FORMS_VERSION;\n }\n set formsVersion(_) {\n throw new Error(\"app.formsVersion is read-only\");\n }\n get fromPDFConverters() {\n return [];\n }\n set fromPDFConverters(_) {\n throw new Error(\"app.fromPDFConverters is read-only\");\n }\n get fs() {\n if (this._fs === null) {\n this._fs = new Proxy(new FullScreen({\n send: this._send\n }), this._proxyHandler);\n }\n return this._fs;\n }\n set fs(_) {\n throw new Error(\"app.fs is read-only\");\n }\n get language() {\n return this._language;\n }\n set language(_) {\n throw new Error(\"app.language is read-only\");\n }\n get media() {\n return undefined;\n }\n set media(_) {\n throw new Error(\"app.media is read-only\");\n }\n get monitors() {\n return [];\n }\n set monitors(_) {\n throw new Error(\"app.monitors is read-only\");\n }\n get numPlugins() {\n return 0;\n }\n set numPlugins(_) {\n throw new Error(\"app.numPlugins is read-only\");\n }\n get openInPlace() {\n return this._openInPlace;\n }\n set openInPlace(val) {\n this._openInPlace = val;\n }\n get platform() {\n return this._platform;\n }\n set platform(_) {\n throw new Error(\"app.platform is read-only\");\n }\n get plugins() {\n return [];\n }\n set plugins(_) {\n throw new Error(\"app.plugins is read-only\");\n }\n get printColorProfiles() {\n return [];\n }\n set printColorProfiles(_) {\n throw new Error(\"app.printColorProfiles is read-only\");\n }\n get printerNames() {\n return [];\n }\n set printerNames(_) {\n throw new Error(\"app.printerNames is read-only\");\n }\n get runtimeHighlight() {\n return this._runtimeHighlight;\n }\n set runtimeHighlight(val) {\n this._runtimeHighlight = val;\n }\n get runtimeHighlightColor() {\n return this._runtimeHighlightColor;\n }\n set runtimeHighlightColor(val) {\n if (Color._isValidColor(val)) {\n this._runtimeHighlightColor = val;\n }\n }\n get thermometer() {\n if (this._thermometer === null) {\n this._thermometer = new Proxy(new Thermometer({\n send: this._send\n }), this._proxyHandler);\n }\n return this._thermometer;\n }\n set thermometer(_) {\n throw new Error(\"app.thermometer is read-only\");\n }\n get toolbar() {\n return this._toolbar;\n }\n set toolbar(val) {\n this._toolbar = val;\n }\n get toolbarHorizontal() {\n return this.toolbar;\n }\n set toolbarHorizontal(value) {\n this.toolbar = value;\n }\n get toolbarVertical() {\n return this.toolbar;\n }\n set toolbarVertical(value) {\n this.toolbar = value;\n }\n get viewerType() {\n return VIEWER_TYPE;\n }\n set viewerType(_) {\n throw new Error(\"app.viewerType is read-only\");\n }\n get viewerVariation() {\n return VIEWER_VARIATION;\n }\n set viewerVariation(_) {\n throw new Error(\"app.viewerVariation is read-only\");\n }\n get viewerVersion() {\n return VIEWER_VERSION;\n }\n set viewerVersion(_) {\n throw new Error(\"app.viewerVersion is read-only\");\n }\n addMenuItem() {}\n addSubMenu() {}\n addToolButton() {}\n alert(cMsg, nIcon = 0, nType = 0, cTitle = \"PDF.js\", oDoc = null, oCheckbox = null) {\n if (!this._document.obj._userActivation) {\n return 0;\n }\n this._document.obj._userActivation = false;\n if (cMsg && typeof cMsg === \"object\") {\n nType = cMsg.nType;\n cMsg = cMsg.cMsg;\n }\n cMsg = (cMsg || \"\").toString();\n nType = typeof nType !== \"number\" || isNaN(nType) || nType < 0 || nType > 3 ? 0 : nType;\n if (nType >= 2) {\n return this._externalCall(\"confirm\", [cMsg]) ? 4 : 3;\n }\n this._externalCall(\"alert\", [cMsg]);\n return 1;\n }\n beep() {}\n beginPriv() {}\n browseForDoc() {}\n clearInterval(oInterval) {\n this._unregisterTimeout(oInterval);\n }\n clearTimeOut(oTime) {\n this._unregisterTimeout(oTime);\n }\n endPriv() {}\n execDialog() {}\n execMenuItem(item) {\n if (!this._document.obj._userActivation) {\n return;\n }\n this._document.obj._userActivation = false;\n switch (item) {\n case \"SaveAs\":\n if (this._document.obj._disableSaving) {\n return;\n }\n this._send({\n command: item\n });\n break;\n case \"FirstPage\":\n case \"LastPage\":\n case \"NextPage\":\n case \"PrevPage\":\n case \"ZoomViewIn\":\n case \"ZoomViewOut\":\n this._send({\n command: item\n });\n break;\n case \"FitPage\":\n this._send({\n command: \"zoom\",\n value: \"page-fit\"\n });\n break;\n case \"Print\":\n if (this._document.obj._disablePrinting) {\n return;\n }\n this._send({\n command: \"print\"\n });\n break;\n }\n }\n getNthPlugInName() {}\n getPath() {}\n goBack() {}\n goForward() {}\n hideMenuItem() {}\n hideToolbarButton() {}\n launchURL() {}\n listMenuItems() {}\n listToolbarButtons() {}\n loadPolicyFile() {}\n mailGetAddrs() {}\n mailMsg() {}\n newDoc() {}\n newCollection() {}\n newFDF() {}\n openDoc() {}\n openFDF() {}\n popUpMenu() {}\n popUpMenuEx() {}\n removeToolButton() {}\n response(cQuestion, cTitle = \"\", cDefault = \"\", bPassword = \"\", cLabel = \"\") {\n if (cQuestion && typeof cQuestion === \"object\") {\n cDefault = cQuestion.cDefault;\n cQuestion = cQuestion.cQuestion;\n }\n cQuestion = (cQuestion || \"\").toString();\n cDefault = (cDefault || \"\").toString();\n return this._externalCall(\"prompt\", [cQuestion, cDefault || \"\"]);\n }\n setInterval(cExpr, nMilliseconds = 0) {\n if (cExpr && typeof cExpr === \"object\") {\n nMilliseconds = cExpr.nMilliseconds || 0;\n cExpr = cExpr.cExpr;\n }\n if (typeof cExpr !== \"string\") {\n throw new TypeError(\"First argument of app.setInterval must be a string\");\n }\n if (typeof nMilliseconds !== \"number\") {\n throw new TypeError(\"Second argument of app.setInterval must be a number\");\n }\n const callbackId = this._registerTimeoutCallback(cExpr);\n this._externalCall(\"setInterval\", [callbackId, nMilliseconds]);\n return this._registerTimeout(callbackId, true);\n }\n setTimeOut(cExpr, nMilliseconds = 0) {\n if (cExpr && typeof cExpr === \"object\") {\n nMilliseconds = cExpr.nMilliseconds || 0;\n cExpr = cExpr.cExpr;\n }\n if (typeof cExpr !== \"string\") {\n throw new TypeError(\"First argument of app.setTimeOut must be a string\");\n }\n if (typeof nMilliseconds !== \"number\") {\n throw new TypeError(\"Second argument of app.setTimeOut must be a number\");\n }\n const callbackId = this._registerTimeoutCallback(cExpr);\n this._externalCall(\"setTimeout\", [callbackId, nMilliseconds]);\n return this._registerTimeout(callbackId, false);\n }\n trustedFunction() {}\n trustPropagatorFunction() {}\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/console.js\n\nclass Console extends PDFObject {\n clear() {\n this._send({\n id: \"clear\"\n });\n }\n hide() {}\n println(msg) {\n if (typeof msg === \"string\") {\n this._send({\n command: \"println\",\n value: \"PDF.js Console:: \" + msg\n });\n }\n }\n show() {}\n}\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.flags.js\nvar es_regexp_flags = __webpack_require__(9479);\n;// CONCATENATED MODULE: ./src/scripting_api/print_params.js\n\nclass PrintParams {\n constructor(data) {\n this.binaryOk = true;\n this.bitmapDPI = 150;\n this.booklet = {\n binding: 0,\n duplexMode: 0,\n subsetFrom: 0,\n subsetTo: -1\n };\n this.colorOverride = 0;\n this.colorProfile = \"\";\n this.constants = Object.freeze({\n bookletBindings: Object.freeze({\n Left: 0,\n Right: 1,\n LeftTall: 2,\n RightTall: 3\n }),\n bookletDuplexMode: Object.freeze({\n BothSides: 0,\n FrontSideOnly: 1,\n BasicSideOnly: 2\n }),\n colorOverrides: Object.freeze({\n auto: 0,\n gray: 1,\n mono: 2\n }),\n fontPolicies: Object.freeze({\n everyPage: 0,\n jobStart: 1,\n pageRange: 2\n }),\n handling: Object.freeze({\n none: 0,\n fit: 1,\n shrink: 2,\n tileAll: 3,\n tileLarge: 4,\n nUp: 5,\n booklet: 6\n }),\n interactionLevel: Object.freeze({\n automatic: 0,\n full: 1,\n silent: 2\n }),\n nUpPageOrders: Object.freeze({\n Horizontal: 0,\n HorizontalReversed: 1,\n Vertical: 2\n }),\n printContents: Object.freeze({\n doc: 0,\n docAndComments: 1,\n formFieldsOnly: 2\n }),\n flagValues: Object.freeze({\n applyOverPrint: 1,\n applySoftProofSettings: 1 << 1,\n applyWorkingColorSpaces: 1 << 2,\n emitHalftones: 1 << 3,\n emitPostScriptXObjects: 1 << 4,\n emitFormsAsPSForms: 1 << 5,\n maxJP2KRes: 1 << 6,\n setPageSize: 1 << 7,\n suppressBG: 1 << 8,\n suppressCenter: 1 << 9,\n suppressCJKFontSubst: 1 << 10,\n suppressCropClip: 1 << 1,\n suppressRotate: 1 << 12,\n suppressTransfer: 1 << 13,\n suppressUCR: 1 << 14,\n useTrapAnnots: 1 << 15,\n usePrintersMarks: 1 << 16\n }),\n rasterFlagValues: Object.freeze({\n textToOutline: 1,\n strokesToOutline: 1 << 1,\n allowComplexClip: 1 << 2,\n preserveOverprint: 1 << 3\n }),\n subsets: Object.freeze({\n all: 0,\n even: 1,\n odd: 2\n }),\n tileMarks: Object.freeze({\n none: 0,\n west: 1,\n east: 2\n }),\n usages: Object.freeze({\n auto: 0,\n use: 1,\n noUse: 2\n })\n });\n this.downloadFarEastFonts = false;\n this.fileName = \"\";\n this.firstPage = 0;\n this.flags = 0;\n this.fontPolicy = 0;\n this.gradientDPI = 150;\n this.interactive = 1;\n this.lastPage = data.lastPage;\n this.npUpAutoRotate = false;\n this.npUpNumPagesH = 2;\n this.npUpNumPagesV = 2;\n this.npUpPageBorder = false;\n this.npUpPageOrder = 0;\n this.pageHandling = 0;\n this.pageSubset = 0;\n this.printAsImage = false;\n this.printContent = 0;\n this.printerName = \"\";\n this.psLevel = 0;\n this.rasterFlags = 0;\n this.reversePages = false;\n this.tileLabel = false;\n this.tileMark = 0;\n this.tileOverlap = 0;\n this.tileScale = 1.0;\n this.transparencyLevel = 75;\n this.usePrinterCRD = 0;\n this.useT1Conversion = 0;\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/doc.js\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst DOC_EXTERNAL = false;\nclass InfoProxyHandler {\n static get(obj, prop) {\n return obj[prop.toLowerCase()];\n }\n static set(obj, prop, value) {\n throw new Error(`doc.info.${prop} is read-only`);\n }\n}\nclass Doc extends PDFObject {\n constructor(data) {\n super(data);\n this._expandos = globalThis;\n this._baseURL = data.baseURL || \"\";\n this._calculate = true;\n this._delay = false;\n this._dirty = false;\n this._disclosed = false;\n this._media = undefined;\n this._metadata = data.metadata || \"\";\n this._noautocomplete = undefined;\n this._nocache = undefined;\n this._spellDictionaryOrder = [];\n this._spellLanguageOrder = [];\n this._printParams = null;\n this._fields = new Map();\n this._fieldNames = [];\n this._event = null;\n this._author = data.Author || \"\";\n this._creator = data.Creator || \"\";\n this._creationDate = this._getDate(data.CreationDate) || null;\n this._docID = data.docID || [\"\", \"\"];\n this._documentFileName = data.filename || \"\";\n this._filesize = data.filesize || 0;\n this._keywords = data.Keywords || \"\";\n this._layout = data.layout || \"\";\n this._modDate = this._getDate(data.ModDate) || null;\n this._numFields = 0;\n this._numPages = data.numPages || 1;\n this._pageNum = data.pageNum || 0;\n this._producer = data.Producer || \"\";\n this._securityHandler = data.EncryptFilterName || null;\n this._subject = data.Subject || \"\";\n this._title = data.Title || \"\";\n this._URL = data.URL || \"\";\n this._info = new Proxy({\n title: this._title,\n author: this._author,\n authors: data.authors || [this._author],\n subject: this._subject,\n keywords: this._keywords,\n creator: this._creator,\n producer: this._producer,\n creationdate: this._creationDate,\n moddate: this._modDate,\n trapped: data.Trapped || \"Unknown\"\n }, InfoProxyHandler);\n this._zoomType = ZoomType.none;\n this._zoom = data.zoom || 100;\n this._actions = createActionsMap(data.actions);\n this._globalEval = data.globalEval;\n this._pageActions = new Map();\n this._userActivation = false;\n this._disablePrinting = false;\n this._disableSaving = false;\n }\n _initActions() {\n const dontRun = new Set([\"WillClose\", \"WillSave\", \"DidSave\", \"WillPrint\", \"DidPrint\", \"OpenAction\"]);\n this._disableSaving = true;\n for (const actionName of this._actions.keys()) {\n if (!dontRun.has(actionName)) {\n this._runActions(actionName);\n }\n }\n this._runActions(\"OpenAction\");\n this._disableSaving = false;\n }\n _dispatchDocEvent(name) {\n switch (name) {\n case \"Open\":\n this._disableSaving = true;\n this._runActions(\"OpenAction\");\n this._disableSaving = false;\n break;\n case \"WillPrint\":\n this._disablePrinting = true;\n try {\n this._runActions(name);\n } catch (error) {\n this._send(serializeError(error));\n }\n this._send({\n command: \"WillPrintFinished\"\n });\n this._disablePrinting = false;\n break;\n case \"WillSave\":\n this._disableSaving = true;\n this._runActions(name);\n this._disableSaving = false;\n break;\n default:\n this._runActions(name);\n }\n }\n _dispatchPageEvent(name, actions, pageNumber) {\n if (name === \"PageOpen\") {\n if (!this._pageActions.has(pageNumber)) {\n this._pageActions.set(pageNumber, createActionsMap(actions));\n }\n this._pageNum = pageNumber - 1;\n }\n actions = this._pageActions.get(pageNumber)?.get(name);\n if (actions) {\n for (const action of actions) {\n this._globalEval(action);\n }\n }\n }\n _runActions(name) {\n const actions = this._actions.get(name);\n if (actions) {\n for (const action of actions) {\n this._globalEval(action);\n }\n }\n }\n _addField(name, field) {\n this._fields.set(name, field);\n this._fieldNames.push(name);\n this._numFields++;\n }\n _getDate(date) {\n if (!date || date.length < 15 || !date.startsWith(\"D:\")) {\n return date;\n }\n date = date.substring(2);\n const year = date.substring(0, 4);\n const month = date.substring(4, 6);\n const day = date.substring(6, 8);\n const hour = date.substring(8, 10);\n const minute = date.substring(10, 12);\n const o = date.charAt(12);\n let second, offsetPos;\n if (o === \"Z\" || o === \"+\" || o === \"-\") {\n second = \"00\";\n offsetPos = 12;\n } else {\n second = date.substring(12, 14);\n offsetPos = 14;\n }\n const offset = date.substring(offsetPos).replaceAll(\"'\", \"\");\n return new Date(`${year}-${month}-${day}T${hour}:${minute}:${second}${offset}`);\n }\n get author() {\n return this._author;\n }\n set author(_) {\n throw new Error(\"doc.author is read-only\");\n }\n get baseURL() {\n return this._baseURL;\n }\n set baseURL(baseURL) {\n this._baseURL = baseURL;\n }\n get bookmarkRoot() {\n return undefined;\n }\n set bookmarkRoot(_) {\n throw new Error(\"doc.bookmarkRoot is read-only\");\n }\n get calculate() {\n return this._calculate;\n }\n set calculate(calculate) {\n this._calculate = calculate;\n }\n get creator() {\n return this._creator;\n }\n set creator(_) {\n throw new Error(\"doc.creator is read-only\");\n }\n get dataObjects() {\n return [];\n }\n set dataObjects(_) {\n throw new Error(\"doc.dataObjects is read-only\");\n }\n get delay() {\n return this._delay;\n }\n set delay(delay) {\n this._delay = delay;\n }\n get dirty() {\n return this._dirty;\n }\n set dirty(dirty) {\n this._dirty = dirty;\n }\n get disclosed() {\n return this._disclosed;\n }\n set disclosed(disclosed) {\n this._disclosed = disclosed;\n }\n get docID() {\n return this._docID;\n }\n set docID(_) {\n throw new Error(\"doc.docID is read-only\");\n }\n get documentFileName() {\n return this._documentFileName;\n }\n set documentFileName(_) {\n throw new Error(\"doc.documentFileName is read-only\");\n }\n get dynamicXFAForm() {\n return false;\n }\n set dynamicXFAForm(_) {\n throw new Error(\"doc.dynamicXFAForm is read-only\");\n }\n get external() {\n return DOC_EXTERNAL;\n }\n set external(_) {\n throw new Error(\"doc.external is read-only\");\n }\n get filesize() {\n return this._filesize;\n }\n set filesize(_) {\n throw new Error(\"doc.filesize is read-only\");\n }\n get hidden() {\n return false;\n }\n set hidden(_) {\n throw new Error(\"doc.hidden is read-only\");\n }\n get hostContainer() {\n return undefined;\n }\n set hostContainer(_) {\n throw new Error(\"doc.hostContainer is read-only\");\n }\n get icons() {\n return undefined;\n }\n set icons(_) {\n throw new Error(\"doc.icons is read-only\");\n }\n get info() {\n return this._info;\n }\n set info(_) {\n throw new Error(\"doc.info is read-only\");\n }\n get innerAppWindowRect() {\n return [0, 0, 0, 0];\n }\n set innerAppWindowRect(_) {\n throw new Error(\"doc.innerAppWindowRect is read-only\");\n }\n get innerDocWindowRect() {\n return [0, 0, 0, 0];\n }\n set innerDocWindowRect(_) {\n throw new Error(\"doc.innerDocWindowRect is read-only\");\n }\n get isModal() {\n return false;\n }\n set isModal(_) {\n throw new Error(\"doc.isModal is read-only\");\n }\n get keywords() {\n return this._keywords;\n }\n set keywords(_) {\n throw new Error(\"doc.keywords is read-only\");\n }\n get layout() {\n return this._layout;\n }\n set layout(value) {\n if (!this._userActivation) {\n return;\n }\n this._userActivation = false;\n if (typeof value !== \"string\") {\n return;\n }\n if (value !== \"SinglePage\" && value !== \"OneColumn\" && value !== \"TwoColumnLeft\" && value !== \"TwoPageLeft\" && value !== \"TwoColumnRight\" && value !== \"TwoPageRight\") {\n value = \"SinglePage\";\n }\n this._send({\n command: \"layout\",\n value\n });\n this._layout = value;\n }\n get media() {\n return this._media;\n }\n set media(media) {\n this._media = media;\n }\n get metadata() {\n return this._metadata;\n }\n set metadata(metadata) {\n this._metadata = metadata;\n }\n get modDate() {\n return this._modDate;\n }\n set modDate(_) {\n throw new Error(\"doc.modDate is read-only\");\n }\n get mouseX() {\n return 0;\n }\n set mouseX(_) {\n throw new Error(\"doc.mouseX is read-only\");\n }\n get mouseY() {\n return 0;\n }\n set mouseY(_) {\n throw new Error(\"doc.mouseY is read-only\");\n }\n get noautocomplete() {\n return this._noautocomplete;\n }\n set noautocomplete(noautocomplete) {\n this._noautocomplete = noautocomplete;\n }\n get nocache() {\n return this._nocache;\n }\n set nocache(nocache) {\n this._nocache = nocache;\n }\n get numFields() {\n return this._numFields;\n }\n set numFields(_) {\n throw new Error(\"doc.numFields is read-only\");\n }\n get numPages() {\n return this._numPages;\n }\n set numPages(_) {\n throw new Error(\"doc.numPages is read-only\");\n }\n get numTemplates() {\n return 0;\n }\n set numTemplates(_) {\n throw new Error(\"doc.numTemplates is read-only\");\n }\n get outerAppWindowRect() {\n return [0, 0, 0, 0];\n }\n set outerAppWindowRect(_) {\n throw new Error(\"doc.outerAppWindowRect is read-only\");\n }\n get outerDocWindowRect() {\n return [0, 0, 0, 0];\n }\n set outerDocWindowRect(_) {\n throw new Error(\"doc.outerDocWindowRect is read-only\");\n }\n get pageNum() {\n return this._pageNum;\n }\n set pageNum(value) {\n if (!this._userActivation) {\n return;\n }\n this._userActivation = false;\n if (typeof value !== \"number\" || value < 0 || value >= this._numPages) {\n return;\n }\n this._send({\n command: \"page-num\",\n value\n });\n this._pageNum = value;\n }\n get pageWindowRect() {\n return [0, 0, 0, 0];\n }\n set pageWindowRect(_) {\n throw new Error(\"doc.pageWindowRect is read-only\");\n }\n get path() {\n return \"\";\n }\n set path(_) {\n throw new Error(\"doc.path is read-only\");\n }\n get permStatusReady() {\n return true;\n }\n set permStatusReady(_) {\n throw new Error(\"doc.permStatusReady is read-only\");\n }\n get producer() {\n return this._producer;\n }\n set producer(_) {\n throw new Error(\"doc.producer is read-only\");\n }\n get requiresFullSave() {\n return false;\n }\n set requiresFullSave(_) {\n throw new Error(\"doc.requiresFullSave is read-only\");\n }\n get securityHandler() {\n return this._securityHandler;\n }\n set securityHandler(_) {\n throw new Error(\"doc.securityHandler is read-only\");\n }\n get selectedAnnots() {\n return [];\n }\n set selectedAnnots(_) {\n throw new Error(\"doc.selectedAnnots is read-only\");\n }\n get sounds() {\n return [];\n }\n set sounds(_) {\n throw new Error(\"doc.sounds is read-only\");\n }\n get spellDictionaryOrder() {\n return this._spellDictionaryOrder;\n }\n set spellDictionaryOrder(spellDictionaryOrder) {\n this._spellDictionaryOrder = spellDictionaryOrder;\n }\n get spellLanguageOrder() {\n return this._spellLanguageOrder;\n }\n set spellLanguageOrder(spellLanguageOrder) {\n this._spellLanguageOrder = spellLanguageOrder;\n }\n get subject() {\n return this._subject;\n }\n set subject(_) {\n throw new Error(\"doc.subject is read-only\");\n }\n get templates() {\n return [];\n }\n set templates(_) {\n throw new Error(\"doc.templates is read-only\");\n }\n get title() {\n return this._title;\n }\n set title(_) {\n throw new Error(\"doc.title is read-only\");\n }\n get URL() {\n return this._URL;\n }\n set URL(_) {\n throw new Error(\"doc.URL is read-only\");\n }\n get viewState() {\n return undefined;\n }\n set viewState(_) {\n throw new Error(\"doc.viewState is read-only\");\n }\n get xfa() {\n return this._xfa;\n }\n set xfa(_) {\n throw new Error(\"doc.xfa is read-only\");\n }\n get XFAForeground() {\n return false;\n }\n set XFAForeground(_) {\n throw new Error(\"doc.XFAForeground is read-only\");\n }\n get zoomType() {\n return this._zoomType;\n }\n set zoomType(type) {\n if (!this._userActivation) {\n return;\n }\n this._userActivation = false;\n if (typeof type !== \"string\") {\n return;\n }\n switch (type) {\n case ZoomType.none:\n this._send({\n command: \"zoom\",\n value: 1\n });\n break;\n case ZoomType.fitP:\n this._send({\n command: \"zoom\",\n value: \"page-fit\"\n });\n break;\n case ZoomType.fitW:\n this._send({\n command: \"zoom\",\n value: \"page-width\"\n });\n break;\n case ZoomType.fitH:\n this._send({\n command: \"zoom\",\n value: \"page-height\"\n });\n break;\n case ZoomType.fitV:\n this._send({\n command: \"zoom\",\n value: \"auto\"\n });\n break;\n case ZoomType.pref:\n case ZoomType.refW:\n break;\n default:\n return;\n }\n this._zoomType = type;\n }\n get zoom() {\n return this._zoom;\n }\n set zoom(value) {\n if (!this._userActivation) {\n return;\n }\n this._userActivation = false;\n if (typeof value !== \"number\" || value < 8.33 || value > 6400) {\n return;\n }\n this._send({\n command: \"zoom\",\n value: value / 100\n });\n }\n addAnnot() {}\n addField() {}\n addIcon() {}\n addLink() {}\n addRecipientListCryptFilter() {}\n addRequirement() {}\n addScript() {}\n addThumbnails() {}\n addWatermarkFromFile() {}\n addWatermarkFromText() {}\n addWeblinks() {}\n bringToFront() {}\n calculateNow() {\n this._eventDispatcher.calculateNow();\n }\n closeDoc() {}\n colorConvertPage() {}\n createDataObject() {}\n createTemplate() {}\n deletePages() {}\n deleteSound() {}\n embedDocAsDataObject() {}\n embedOutputIntent() {}\n encryptForRecipients() {}\n encryptUsingPolicy() {}\n exportAsFDF() {}\n exportAsFDFStr() {}\n exportAsText() {}\n exportAsXFDF() {}\n exportAsXFDFStr() {}\n exportDataObject() {}\n exportXFAData() {}\n extractPages() {}\n flattenPages() {}\n getAnnot() {}\n getAnnots() {}\n getAnnot3D() {}\n getAnnots3D() {}\n getColorConvertAction() {}\n getDataObject() {}\n getDataObjectContents() {}\n _getField(cName) {\n if (cName && typeof cName === \"object\") {\n cName = cName.cName;\n }\n if (typeof cName !== \"string\") {\n throw new TypeError(\"Invalid field name: must be a string\");\n }\n const searchedField = this._fields.get(cName);\n if (searchedField) {\n return searchedField;\n }\n const parts = cName.split(\"#\");\n let childIndex = NaN;\n if (parts.length === 2) {\n childIndex = Math.floor(parseFloat(parts[1]));\n cName = parts[0];\n }\n for (const [name, field] of this._fields.entries()) {\n if (name.endsWith(cName)) {\n if (!isNaN(childIndex)) {\n const children = this._getChildren(name);\n if (childIndex < 0 || childIndex >= children.length) {\n childIndex = 0;\n }\n if (childIndex < children.length) {\n this._fields.set(cName, children[childIndex]);\n return children[childIndex];\n }\n }\n this._fields.set(cName, field);\n return field;\n }\n }\n return null;\n }\n getField(cName) {\n const field = this._getField(cName);\n if (!field) {\n return null;\n }\n return field.wrapped;\n }\n _getChildren(fieldName) {\n const len = fieldName.length;\n const children = [];\n const pattern = /^\\.[^.]+$/;\n for (const [name, field] of this._fields.entries()) {\n if (name.startsWith(fieldName)) {\n const finalPart = name.slice(len);\n if (pattern.test(finalPart)) {\n children.push(field);\n }\n }\n }\n return children;\n }\n _getTerminalChildren(fieldName) {\n const children = [];\n const len = fieldName.length;\n for (const [name, field] of this._fields.entries()) {\n if (name.startsWith(fieldName)) {\n const finalPart = name.slice(len);\n if (field.obj._hasValue && (finalPart === \"\" || finalPart.startsWith(\".\"))) {\n children.push(field.wrapped);\n }\n }\n }\n return children;\n }\n getIcon() {}\n getLegalWarnings() {}\n getLinks() {}\n getNthFieldName(nIndex) {\n if (nIndex && typeof nIndex === \"object\") {\n nIndex = nIndex.nIndex;\n }\n if (typeof nIndex !== \"number\") {\n throw new TypeError(\"Invalid field index: must be a number\");\n }\n if (0 <= nIndex && nIndex < this.numFields) {\n return this._fieldNames[Math.trunc(nIndex)];\n }\n return null;\n }\n getNthTemplate() {\n return null;\n }\n getOCGs() {}\n getOCGOrder() {}\n getPageBox() {}\n getPageLabel() {}\n getPageNthWord() {}\n getPageNthWordQuads() {}\n getPageNumWords() {}\n getPageRotation() {}\n getPageTransition() {}\n getPrintParams() {\n return this._printParams ||= new PrintParams({\n lastPage: this._numPages - 1\n });\n }\n getSound() {}\n getTemplate() {}\n getURL() {}\n gotoNamedDest() {}\n importAnFDF() {}\n importAnXFDF() {}\n importDataObject() {}\n importIcon() {}\n importSound() {}\n importTextData() {}\n importXFAData() {}\n insertPages() {}\n mailDoc() {}\n mailForm() {}\n movePage() {}\n newPage() {}\n openDataObject() {}\n print(bUI = true, nStart = 0, nEnd = -1, bSilent = false, bShrinkToFit = false, bPrintAsImage = false, bReverse = false, bAnnotations = true, printParams = null) {\n if (this._disablePrinting || !this._userActivation) {\n return;\n }\n this._userActivation = false;\n if (bUI && typeof bUI === \"object\") {\n nStart = bUI.nStart;\n nEnd = bUI.nEnd;\n bSilent = bUI.bSilent;\n bShrinkToFit = bUI.bShrinkToFit;\n bPrintAsImage = bUI.bPrintAsImage;\n bReverse = bUI.bReverse;\n bAnnotations = bUI.bAnnotations;\n printParams = bUI.printParams;\n bUI = bUI.bUI;\n }\n if (printParams) {\n nStart = printParams.firstPage;\n nEnd = printParams.lastPage;\n }\n nStart = typeof nStart === \"number\" ? Math.max(0, Math.trunc(nStart)) : 0;\n nEnd = typeof nEnd === \"number\" ? Math.max(0, Math.trunc(nEnd)) : -1;\n this._send({\n command: \"print\",\n start: nStart,\n end: nEnd\n });\n }\n removeDataObject() {}\n removeField() {}\n removeIcon() {}\n removeLinks() {}\n removeRequirement() {}\n removeScript() {}\n removeTemplate() {}\n removeThumbnails() {}\n removeWeblinks() {}\n replacePages() {}\n resetForm(aFields = null) {\n if (aFields && typeof aFields === \"object\" && !Array.isArray(aFields)) {\n aFields = aFields.aFields;\n }\n if (aFields && !Array.isArray(aFields)) {\n aFields = [aFields];\n }\n let mustCalculate = false;\n let fieldsToReset;\n if (aFields) {\n fieldsToReset = [];\n for (const fieldName of aFields) {\n if (!fieldName) {\n continue;\n }\n if (typeof fieldName !== \"string\") {\n fieldsToReset = null;\n break;\n }\n const field = this._getField(fieldName);\n if (!field) {\n continue;\n }\n fieldsToReset.push(field);\n mustCalculate = true;\n }\n }\n if (!fieldsToReset) {\n fieldsToReset = this._fields.values();\n mustCalculate = this._fields.size !== 0;\n }\n for (const field of fieldsToReset) {\n field.obj.value = field.obj.defaultValue;\n this._send({\n id: field.obj._id,\n siblings: field.obj._siblings,\n value: field.obj.defaultValue,\n formattedValue: null,\n selRange: [0, 0]\n });\n }\n if (mustCalculate) {\n this.calculateNow();\n }\n }\n saveAs() {}\n scroll() {}\n selectPageNthWord() {}\n setAction() {}\n setDataObjectContents() {}\n setOCGOrder() {}\n setPageAction() {}\n setPageBoxes() {}\n setPageLabels() {}\n setPageRotations() {}\n setPageTabOrder() {}\n setPageTransitions() {}\n spawnPageFromTemplate() {}\n submitForm() {}\n syncAnnotScan() {}\n}\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js\nvar esnext_iterator_filter = __webpack_require__(4520);\n;// CONCATENATED MODULE: ./src/scripting_api/proxy.js\n\n\n\n\n\n\n\n\n\n\nclass ProxyHandler {\n constructor() {\n this.nosend = new Set([\"delay\"]);\n }\n get(obj, prop) {\n if (prop in obj._expandos) {\n const val = obj._expandos[prop];\n if (typeof val === \"function\") {\n return val.bind(obj);\n }\n return val;\n }\n if (typeof prop === \"string\" && !prop.startsWith(\"_\") && prop in obj) {\n const val = obj[prop];\n if (typeof val === \"function\") {\n return val.bind(obj);\n }\n return val;\n }\n return undefined;\n }\n set(obj, prop, value) {\n if (obj._kidIds) {\n obj._kidIds.forEach(id => {\n obj._appObjects[id].wrapped[prop] = value;\n });\n }\n if (typeof prop === \"string\" && !prop.startsWith(\"_\") && prop in obj) {\n const old = obj[prop];\n obj[prop] = value;\n if (!this.nosend.has(prop) && obj._send && obj._id !== null && typeof old !== \"function\") {\n const data = {\n id: obj._id\n };\n data[prop] = prop === \"value\" ? obj._getValue() : obj[prop];\n if (!obj._siblings) {\n obj._send(data);\n } else {\n data.siblings = obj._siblings;\n obj._send(data);\n }\n }\n } else {\n obj._expandos[prop] = value;\n }\n return true;\n }\n has(obj, prop) {\n return prop in obj._expandos || typeof prop === \"string\" && !prop.startsWith(\"_\") && prop in obj;\n }\n getPrototypeOf(obj) {\n return null;\n }\n setPrototypeOf(obj, proto) {\n return false;\n }\n isExtensible(obj) {\n return true;\n }\n preventExtensions(obj) {\n return false;\n }\n getOwnPropertyDescriptor(obj, prop) {\n if (prop in obj._expandos) {\n return {\n configurable: true,\n enumerable: true,\n value: obj._expandos[prop]\n };\n }\n if (typeof prop === \"string\" && !prop.startsWith(\"_\") && prop in obj) {\n return {\n configurable: true,\n enumerable: true,\n value: obj[prop]\n };\n }\n return undefined;\n }\n defineProperty(obj, key, descriptor) {\n Object.defineProperty(obj._expandos, key, descriptor);\n return true;\n }\n deleteProperty(obj, prop) {\n if (prop in obj._expandos) {\n delete obj._expandos[prop];\n }\n }\n ownKeys(obj) {\n const fromExpandos = Reflect.ownKeys(obj._expandos);\n const fromObj = Reflect.ownKeys(obj).filter(k => !k.startsWith(\"_\"));\n return fromExpandos.concat(fromObj);\n }\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/util.js\n\n\n\n\n\nclass Util extends PDFObject {\n constructor(data) {\n super(data);\n this._scandCache = new Map();\n this._months = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n this._days = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"];\n this.MILLISECONDS_IN_DAY = 86400000;\n this.MILLISECONDS_IN_WEEK = 604800000;\n this._externalCall = data.externalCall;\n }\n printf(...args) {\n if (args.length === 0) {\n throw new Error(\"Invalid number of params in printf\");\n }\n if (typeof args[0] !== \"string\") {\n throw new TypeError(\"First argument of printf must be a string\");\n }\n const pattern = /%(,[0-4])?([+ 0#]+)?(\\d+)?(\\.\\d+)?(.)/g;\n const PLUS = 1;\n const SPACE = 2;\n const ZERO = 4;\n const HASH = 8;\n let i = 0;\n return args[0].replaceAll(pattern, function (match, nDecSep, cFlags, nWidth, nPrecision, cConvChar) {\n if (cConvChar !== \"d\" && cConvChar !== \"f\" && cConvChar !== \"s\" && cConvChar !== \"x\") {\n const buf = [\"%\"];\n for (const str of [nDecSep, cFlags, nWidth, nPrecision, cConvChar]) {\n if (str) {\n buf.push(str);\n }\n }\n return buf.join(\"\");\n }\n i++;\n if (i === args.length) {\n throw new Error(\"Not enough arguments in printf\");\n }\n const arg = args[i];\n if (cConvChar === \"s\") {\n return arg.toString();\n }\n let flags = 0;\n if (cFlags) {\n for (const flag of cFlags) {\n switch (flag) {\n case \"+\":\n flags |= PLUS;\n break;\n case \" \":\n flags |= SPACE;\n break;\n case \"0\":\n flags |= ZERO;\n break;\n case \"#\":\n flags |= HASH;\n break;\n }\n }\n }\n cFlags = flags;\n if (nWidth) {\n nWidth = parseInt(nWidth);\n }\n let intPart = Math.trunc(arg);\n if (cConvChar === \"x\") {\n let hex = Math.abs(intPart).toString(16).toUpperCase();\n if (nWidth !== undefined) {\n hex = hex.padStart(nWidth, cFlags & ZERO ? \"0\" : \" \");\n }\n if (cFlags & HASH) {\n hex = `0x${hex}`;\n }\n return hex;\n }\n if (nPrecision) {\n nPrecision = parseInt(nPrecision.substring(1));\n }\n nDecSep = nDecSep ? nDecSep.substring(1) : \"0\";\n const separators = {\n 0: [\",\", \".\"],\n 1: [\"\", \".\"],\n 2: [\".\", \",\"],\n 3: [\"\", \",\"],\n 4: [\"'\", \".\"]\n };\n const [thousandSep, decimalSep] = separators[nDecSep];\n let decPart = \"\";\n if (cConvChar === \"f\") {\n decPart = nPrecision !== undefined ? Math.abs(arg - intPart).toFixed(nPrecision) : Math.abs(arg - intPart).toString();\n if (decPart.length > 2) {\n decPart = `${decimalSep}${decPart.substring(2)}`;\n } else {\n if (decPart === \"1\") {\n intPart += Math.sign(arg);\n }\n decPart = cFlags & HASH ? \".\" : \"\";\n }\n }\n let sign = \"\";\n if (intPart < 0) {\n sign = \"-\";\n intPart = -intPart;\n } else if (cFlags & PLUS) {\n sign = \"+\";\n } else if (cFlags & SPACE) {\n sign = \" \";\n }\n if (thousandSep && intPart >= 1000) {\n const buf = [];\n while (true) {\n buf.push((intPart % 1000).toString().padStart(3, \"0\"));\n intPart = Math.trunc(intPart / 1000);\n if (intPart < 1000) {\n buf.push(intPart.toString());\n break;\n }\n }\n intPart = buf.reverse().join(thousandSep);\n } else {\n intPart = intPart.toString();\n }\n let n = `${intPart}${decPart}`;\n if (nWidth !== undefined) {\n n = n.padStart(nWidth - sign.length, cFlags & ZERO ? \"0\" : \" \");\n }\n return `${sign}${n}`;\n });\n }\n iconStreamFromIcon() {}\n printd(cFormat, oDate) {\n switch (cFormat) {\n case 0:\n return this.printd(\"D:yyyymmddHHMMss\", oDate);\n case 1:\n return this.printd(\"yyyy.mm.dd HH:MM:ss\", oDate);\n case 2:\n return this.printd(\"m/d/yy h:MM:ss tt\", oDate);\n }\n const handlers = {\n mmmm: data => this._months[data.month],\n mmm: data => this._months[data.month].substring(0, 3),\n mm: data => (data.month + 1).toString().padStart(2, \"0\"),\n m: data => (data.month + 1).toString(),\n dddd: data => this._days[data.dayOfWeek],\n ddd: data => this._days[data.dayOfWeek].substring(0, 3),\n dd: data => data.day.toString().padStart(2, \"0\"),\n d: data => data.day.toString(),\n yyyy: data => data.year.toString(),\n yy: data => (data.year % 100).toString().padStart(2, \"0\"),\n HH: data => data.hours.toString().padStart(2, \"0\"),\n H: data => data.hours.toString(),\n hh: data => (1 + (data.hours + 11) % 12).toString().padStart(2, \"0\"),\n h: data => (1 + (data.hours + 11) % 12).toString(),\n MM: data => data.minutes.toString().padStart(2, \"0\"),\n M: data => data.minutes.toString(),\n ss: data => data.seconds.toString().padStart(2, \"0\"),\n s: data => data.seconds.toString(),\n tt: data => data.hours < 12 ? \"am\" : \"pm\",\n t: data => data.hours < 12 ? \"a\" : \"p\"\n };\n const data = {\n year: oDate.getFullYear(),\n month: oDate.getMonth(),\n day: oDate.getDate(),\n dayOfWeek: oDate.getDay(),\n hours: oDate.getHours(),\n minutes: oDate.getMinutes(),\n seconds: oDate.getSeconds()\n };\n const patterns = /(mmmm|mmm|mm|m|dddd|ddd|dd|d|yyyy|yy|HH|H|hh|h|MM|M|ss|s|tt|t|\\\\.)/g;\n return cFormat.replaceAll(patterns, function (match, pattern) {\n if (pattern in handlers) {\n return handlers[pattern](data);\n }\n return pattern.charCodeAt(1);\n });\n }\n printx(cFormat, cSource) {\n cSource = (cSource ?? \"\").toString();\n const handlers = [x => x, x => x.toUpperCase(), x => x.toLowerCase()];\n const buf = [];\n let i = 0;\n const ii = cSource.length;\n let currCase = handlers[0];\n let escaped = false;\n for (const command of cFormat) {\n if (escaped) {\n buf.push(command);\n escaped = false;\n continue;\n }\n if (i >= ii) {\n break;\n }\n switch (command) {\n case \"?\":\n buf.push(currCase(cSource.charAt(i++)));\n break;\n case \"X\":\n while (i < ii) {\n const char = cSource.charAt(i++);\n if (\"a\" <= char && char <= \"z\" || \"A\" <= char && char <= \"Z\" || \"0\" <= char && char <= \"9\") {\n buf.push(currCase(char));\n break;\n }\n }\n break;\n case \"A\":\n while (i < ii) {\n const char = cSource.charAt(i++);\n if (\"a\" <= char && char <= \"z\" || \"A\" <= char && char <= \"Z\") {\n buf.push(currCase(char));\n break;\n }\n }\n break;\n case \"9\":\n while (i < ii) {\n const char = cSource.charAt(i++);\n if (\"0\" <= char && char <= \"9\") {\n buf.push(char);\n break;\n }\n }\n break;\n case \"*\":\n while (i < ii) {\n buf.push(currCase(cSource.charAt(i++)));\n }\n break;\n case \"\\\\\":\n escaped = true;\n break;\n case \">\":\n currCase = handlers[1];\n break;\n case \"<\":\n currCase = handlers[2];\n break;\n case \"=\":\n currCase = handlers[0];\n break;\n default:\n buf.push(command);\n }\n }\n return buf.join(\"\");\n }\n scand(cFormat, cDate) {\n if (typeof cDate !== \"string\") {\n return new Date(cDate);\n }\n if (cDate === \"\") {\n return new Date();\n }\n switch (cFormat) {\n case 0:\n return this.scand(\"D:yyyymmddHHMMss\", cDate);\n case 1:\n return this.scand(\"yyyy.mm.dd HH:MM:ss\", cDate);\n case 2:\n return this.scand(\"m/d/yy h:MM:ss tt\", cDate);\n }\n if (!this._scandCache.has(cFormat)) {\n const months = this._months;\n const days = this._days;\n const handlers = {\n mmmm: {\n pattern: `(${months.join(\"|\")})`,\n action: (value, data) => {\n data.month = months.indexOf(value);\n }\n },\n mmm: {\n pattern: `(${months.map(month => month.substring(0, 3)).join(\"|\")})`,\n action: (value, data) => {\n data.month = months.findIndex(month => month.substring(0, 3) === value);\n }\n },\n mm: {\n pattern: `(\\\\d{2})`,\n action: (value, data) => {\n data.month = parseInt(value) - 1;\n }\n },\n m: {\n pattern: `(\\\\d{1,2})`,\n action: (value, data) => {\n data.month = parseInt(value) - 1;\n }\n },\n dddd: {\n pattern: `(${days.join(\"|\")})`,\n action: (value, data) => {\n data.day = days.indexOf(value);\n }\n },\n ddd: {\n pattern: `(${days.map(day => day.substring(0, 3)).join(\"|\")})`,\n action: (value, data) => {\n data.day = days.findIndex(day => day.substring(0, 3) === value);\n }\n },\n dd: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.day = parseInt(value);\n }\n },\n d: {\n pattern: \"(\\\\d{1,2})\",\n action: (value, data) => {\n data.day = parseInt(value);\n }\n },\n yyyy: {\n pattern: \"(\\\\d{4})\",\n action: (value, data) => {\n data.year = parseInt(value);\n }\n },\n yy: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.year = 2000 + parseInt(value);\n }\n },\n HH: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.hours = parseInt(value);\n }\n },\n H: {\n pattern: \"(\\\\d{1,2})\",\n action: (value, data) => {\n data.hours = parseInt(value);\n }\n },\n hh: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.hours = parseInt(value);\n }\n },\n h: {\n pattern: \"(\\\\d{1,2})\",\n action: (value, data) => {\n data.hours = parseInt(value);\n }\n },\n MM: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.minutes = parseInt(value);\n }\n },\n M: {\n pattern: \"(\\\\d{1,2})\",\n action: (value, data) => {\n data.minutes = parseInt(value);\n }\n },\n ss: {\n pattern: \"(\\\\d{2})\",\n action: (value, data) => {\n data.seconds = parseInt(value);\n }\n },\n s: {\n pattern: \"(\\\\d{1,2})\",\n action: (value, data) => {\n data.seconds = parseInt(value);\n }\n },\n tt: {\n pattern: \"([aApP][mM])\",\n action: (value, data) => {\n const char = value.charAt(0);\n data.am = char === \"a\" || char === \"A\";\n }\n },\n t: {\n pattern: \"([aApP])\",\n action: (value, data) => {\n data.am = value === \"a\" || value === \"A\";\n }\n }\n };\n const escapedFormat = cFormat.replaceAll(/[.*+\\-?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n const patterns = /(mmmm|mmm|mm|m|dddd|ddd|dd|d|yyyy|yy|HH|H|hh|h|MM|M|ss|s|tt|t)/g;\n const actions = [];\n const re = escapedFormat.replaceAll(patterns, function (match, patternElement) {\n const {\n pattern,\n action\n } = handlers[patternElement];\n actions.push(action);\n return pattern;\n });\n this._scandCache.set(cFormat, [re, actions]);\n }\n const [re, actions] = this._scandCache.get(cFormat);\n const matches = new RegExp(`^${re}$`, \"g\").exec(cDate);\n if (!matches || matches.length !== actions.length + 1) {\n return null;\n }\n const data = {\n year: 2000,\n month: 0,\n day: 1,\n hours: 0,\n minutes: 0,\n seconds: 0,\n am: null\n };\n actions.forEach((action, i) => action(matches[i + 1], data));\n if (data.am !== null) {\n data.hours = data.hours % 12 + (data.am ? 0 : 12);\n }\n return new Date(data.year, data.month, data.day, data.hours, data.minutes, data.seconds);\n }\n spansToXML() {}\n stringFromStream() {}\n xmlToSpans() {}\n}\n\n;// CONCATENATED MODULE: ./src/scripting_api/initialization.js\n\n\n\n\n\n\n\n\n\n\n\nfunction initSandbox(params) {\n delete globalThis.pdfjsScripting;\n const externalCall = globalThis.callExternalFunction;\n delete globalThis.callExternalFunction;\n const globalEval = code => globalThis.eval(code);\n const send = data => externalCall(\"send\", [data]);\n const proxyHandler = new ProxyHandler();\n const {\n data\n } = params;\n const doc = new Doc({\n send,\n globalEval,\n ...data.docInfo\n });\n const _document = {\n obj: doc,\n wrapped: new Proxy(doc, proxyHandler)\n };\n const app = new App({\n send,\n globalEval,\n externalCall,\n _document,\n calculationOrder: data.calculationOrder,\n proxyHandler,\n ...data.appInfo\n });\n const util = new Util({\n externalCall\n });\n const appObjects = app._objects;\n if (data.objects) {\n const annotations = [];\n for (const [name, objs] of Object.entries(data.objects)) {\n annotations.length = 0;\n let container = null;\n for (const obj of objs) {\n if (obj.type !== \"\") {\n annotations.push(obj);\n } else {\n container = obj;\n }\n }\n let obj = container;\n if (annotations.length > 0) {\n obj = annotations[0];\n obj.send = send;\n }\n obj.globalEval = globalEval;\n obj.doc = _document;\n obj.fieldPath = name;\n obj.appObjects = appObjects;\n let field;\n switch (obj.type) {\n case \"radiobutton\":\n {\n const otherButtons = annotations.slice(1);\n field = new RadioButtonField(otherButtons, obj);\n break;\n }\n case \"checkbox\":\n {\n const otherButtons = annotations.slice(1);\n field = new CheckboxField(otherButtons, obj);\n break;\n }\n case \"text\":\n if (annotations.length <= 1) {\n field = new Field(obj);\n break;\n }\n obj.siblings = annotations.map(x => x.id).slice(1);\n field = new Field(obj);\n break;\n default:\n field = new Field(obj);\n }\n const wrapped = new Proxy(field, proxyHandler);\n const _object = {\n obj: field,\n wrapped\n };\n doc._addField(name, _object);\n for (const object of objs) {\n appObjects[object.id] = _object;\n }\n if (container) {\n appObjects[container.id] = _object;\n }\n }\n }\n const color = new Color();\n globalThis.event = null;\n globalThis.global = Object.create(null);\n globalThis.app = new Proxy(app, proxyHandler);\n globalThis.color = new Proxy(color, proxyHandler);\n globalThis.console = new Proxy(new Console({\n send\n }), proxyHandler);\n globalThis.util = new Proxy(util, proxyHandler);\n globalThis.border = Border;\n globalThis.cursor = Cursor;\n globalThis.display = Display;\n globalThis.font = Font;\n globalThis.highlight = Highlight;\n globalThis.position = Position;\n globalThis.scaleHow = ScaleHow;\n globalThis.scaleWhen = ScaleWhen;\n globalThis.style = Style;\n globalThis.trans = Trans;\n globalThis.zoomtype = ZoomType;\n globalThis.ADBE = {\n Reader_Value_Asked: true,\n Viewer_Value_Asked: true\n };\n const aform = new AForm(doc, app, util, color);\n for (const name of Object.getOwnPropertyNames(AForm.prototype)) {\n if (name !== \"constructor\" && !name.startsWith(\"_\")) {\n globalThis[name] = aform[name].bind(aform);\n }\n }\n for (const [name, value] of Object.entries(GlobalConstants)) {\n Object.defineProperty(globalThis, name, {\n value,\n writable: false\n });\n }\n Object.defineProperties(globalThis, {\n ColorConvert: {\n value: color.convert.bind(color),\n writable: true\n },\n ColorEqual: {\n value: color.equal.bind(color),\n writable: true\n }\n });\n const properties = Object.create(null);\n for (const name of Object.getOwnPropertyNames(Doc.prototype)) {\n if (name === \"constructor\" || name.startsWith(\"_\")) {\n continue;\n }\n const descriptor = Object.getOwnPropertyDescriptor(Doc.prototype, name);\n if (descriptor.get) {\n properties[name] = {\n get: descriptor.get.bind(doc),\n set: descriptor.set.bind(doc)\n };\n } else {\n properties[name] = {\n value: Doc.prototype[name].bind(doc)\n };\n }\n }\n Object.defineProperties(globalThis, properties);\n const functions = {\n dispatchEvent: app._dispatchEvent.bind(app),\n timeoutCb: app._evalCallback.bind(app)\n };\n return (name, args) => {\n try {\n functions[name](args);\n } catch (error) {\n send(serializeError(error));\n }\n };\n}\n\n;// CONCATENATED MODULE: ./src/pdf.scripting.js\n\nconst pdfjsVersion = \"4.2.67\";\nconst pdfjsBuild = \"49b388101\";\nglobalThis.pdfjsScripting = {\n initSandbox: initSandbox\n};\n})();\n\n"]; - code.push("delete dump;"); - let success = false; - let buf = 0; - try { - const sandboxData = JSON.stringify(data); - code.push(`pdfjsScripting.initSandbox({ data: ${sandboxData} })`); - buf = this._module.stringToNewUTF8(code.join("\n")); - success = !!this._module.ccall("init", "number", ["number", "number"], [buf, this._alertOnError]); - } catch (error) { - console.error(error); - } finally { - if (buf) { - this._module.ccall("free", "number", ["number"], [buf]); - } - } - if (success) { - this.support.commFun = this._module.cwrap("commFun", null, ["string", "string"]); - } else { - this.nukeSandbox(); - throw new Error("Cannot start sandbox"); - } - } - dispatchEvent(event) { - this.support?.callSandboxFunction("dispatchEvent", event); - } - dumpMemoryUse() { - this._module?.ccall("dumpMemoryUse", null, []); - } - nukeSandbox() { - if (this._module !== null) { - this.support.destroy(); - this.support = null; - this._module.ccall("nukeSandbox", null, []); - this._module = null; - } - } - evalForTesting(code, key) { - throw new Error("Not implemented: evalForTesting"); - } -} -function QuickJSSandbox() { - return quickjs_eval().then(module => new Sandbox(window, module)); -} - -})(); - -var __webpack_exports__QuickJSSandbox = __webpack_exports__.QuickJSSandbox; -export { __webpack_exports__QuickJSSandbox as QuickJSSandbox }; diff --git a/media/js/pdf4/web/images/altText_add.svg b/media/js/pdf4/web/images/altText_add.svg deleted file mode 100644 index 3451b536ce..0000000000 --- a/media/js/pdf4/web/images/altText_add.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/media/js/pdf4/web/images/altText_done.svg b/media/js/pdf4/web/images/altText_done.svg deleted file mode 100644 index f54924ebf9..0000000000 --- a/media/js/pdf4/web/images/altText_done.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/media/js/pdf4/web/images/cursor-editorFreeHighlight.svg b/media/js/pdf4/web/images/cursor-editorFreeHighlight.svg deleted file mode 100644 index 513f6bdfda..0000000000 --- a/media/js/pdf4/web/images/cursor-editorFreeHighlight.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/media/js/pdf4/web/images/cursor-editorTextHighlight.svg b/media/js/pdf4/web/images/cursor-editorTextHighlight.svg deleted file mode 100644 index 800340cb5b..0000000000 --- a/media/js/pdf4/web/images/cursor-editorTextHighlight.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/media/js/pdf4/web/images/editor-toolbar-delete.svg b/media/js/pdf4/web/images/editor-toolbar-delete.svg deleted file mode 100644 index f84520d85a..0000000000 --- a/media/js/pdf4/web/images/editor-toolbar-delete.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/media/js/pdf4/web/images/toolbarButton-editorFreeText.svg b/media/js/pdf4/web/images/toolbarButton-editorFreeText.svg deleted file mode 100644 index 13a67bd9b6..0000000000 --- a/media/js/pdf4/web/images/toolbarButton-editorFreeText.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/media/js/pdf4/web/images/toolbarButton-editorHighlight.svg b/media/js/pdf4/web/images/toolbarButton-editorHighlight.svg deleted file mode 100644 index b3cd7fda9c..0000000000 --- a/media/js/pdf4/web/images/toolbarButton-editorHighlight.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/media/js/pdf4/web/images/toolbarButton-editorStamp.svg b/media/js/pdf4/web/images/toolbarButton-editorStamp.svg deleted file mode 100644 index a1fef4922d..0000000000 --- a/media/js/pdf4/web/images/toolbarButton-editorStamp.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/media/js/pdf4/web/locale/ach/viewer.ftl b/media/js/pdf4/web/locale/ach/viewer.ftl deleted file mode 100644 index 36769b7084..0000000000 --- a/media/js/pdf4/web/locale/ach/viewer.ftl +++ /dev/null @@ -1,225 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pot buk mukato -pdfjs-previous-button-label = Mukato -pdfjs-next-button = - .title = Pot buk malubo -pdfjs-next-button-label = Malubo -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pot buk -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = pi { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } me { $pagesCount }) -pdfjs-zoom-out-button = - .title = Jwik Matidi -pdfjs-zoom-out-button-label = Jwik Matidi -pdfjs-zoom-in-button = - .title = Kwot Madit -pdfjs-zoom-in-button-label = Kwot Madit -pdfjs-zoom-select = - .title = Kwoti -pdfjs-presentation-mode-button = - .title = Lokke i kit me tyer -pdfjs-presentation-mode-button-label = Kit me tyer -pdfjs-open-file-button = - .title = Yab Pwail -pdfjs-open-file-button-label = Yab -pdfjs-print-button = - .title = Go -pdfjs-print-button-label = Go - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Gintic -pdfjs-tools-button-label = Gintic -pdfjs-first-page-button = - .title = Cit i pot buk mukwongo -pdfjs-first-page-button-label = Cit i pot buk mukwongo -pdfjs-last-page-button = - .title = Cit i pot buk magiko -pdfjs-last-page-button-label = Cit i pot buk magiko -pdfjs-page-rotate-cw-button = - .title = Wire i tung lacuc -pdfjs-page-rotate-cw-button-label = Wire i tung lacuc -pdfjs-page-rotate-ccw-button = - .title = Wire i tung lacam -pdfjs-page-rotate-ccw-button-label = Wire i tung lacam -pdfjs-cursor-text-select-tool-button = - .title = Cak gitic me yero coc -pdfjs-cursor-text-select-tool-button-label = Gitic me yero coc -pdfjs-cursor-hand-tool-button = - .title = Cak gitic me cing -pdfjs-cursor-hand-tool-button-label = Gitic cing - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Jami me gin acoya… -pdfjs-document-properties-button-label = Jami me gin acoya… -pdfjs-document-properties-file-name = Nying pwail: -pdfjs-document-properties-file-size = Dit pa pwail: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Wiye: -pdfjs-document-properties-author = Ngat mucoyo: -pdfjs-document-properties-subject = Subjek: -pdfjs-document-properties-keywords = Lok mapire tek: -pdfjs-document-properties-creation-date = Nino dwe me cwec: -pdfjs-document-properties-modification-date = Nino dwe me yub: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Lacwec: -pdfjs-document-properties-producer = Layub PDF: -pdfjs-document-properties-version = Kit PDF: -pdfjs-document-properties-page-count = Kwan me pot buk: -pdfjs-document-properties-page-size = Dit pa potbuk: -pdfjs-document-properties-page-size-unit-inches = i -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = atir -pdfjs-document-properties-page-size-orientation-landscape = arii -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Waraga -pdfjs-document-properties-page-size-name-legal = Cik - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = Eyo -pdfjs-document-properties-linearized-no = Pe -pdfjs-document-properties-close-button = Lor - -## Print - -pdfjs-print-progress-message = Yubo coc me agoya… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Juki -pdfjs-printing-not-supported = Ciko: Layeny ma pe teno goyo liweng. -pdfjs-printing-not-ready = Ciko: PDF pe ocane weng me agoya. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Lok gintic ma inget -pdfjs-toggle-sidebar-button-label = Lok gintic ma inget -pdfjs-document-outline-button = - .title = Nyut Wiyewiye me Gin acoya (dii-kiryo me yaro/kano jami weng) -pdfjs-document-outline-button-label = Pek pa gin acoya -pdfjs-attachments-button = - .title = Nyut twec -pdfjs-attachments-button-label = Twec -pdfjs-thumbs-button = - .title = Nyut cal -pdfjs-thumbs-button-label = Cal -pdfjs-findbar-button = - .title = Nong iye gin acoya -pdfjs-findbar-button-label = Nong - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pot buk { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Cal me pot buk { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Nong - .placeholder = Nong i dokumen… -pdfjs-find-previous-button = - .title = Nong timme pa lok mukato -pdfjs-find-previous-button-label = Mukato -pdfjs-find-next-button = - .title = Nong timme pa lok malubo -pdfjs-find-next-button-label = Malubo -pdfjs-find-highlight-checkbox = Ket Lanyut I Weng -pdfjs-find-match-case-checkbox-label = Lok marwate -pdfjs-find-reached-top = Oo iwi gin acoya, omede ki i tere -pdfjs-find-reached-bottom = Oo i agiki me gin acoya, omede ki iwiye -pdfjs-find-not-found = Lok pe ononge - -## Predefined zoom values - -pdfjs-page-scale-width = Lac me iye pot buk -pdfjs-page-scale-fit = Porre me pot buk -pdfjs-page-scale-auto = Kwot pire kene -pdfjs-page-scale-actual = Dite kikome -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Bal otime kun cano PDF. -pdfjs-invalid-file-error = Pwail me PDF ma pe atir onyo obale woko. -pdfjs-missing-file-error = Pwail me PDF tye ka rem. -pdfjs-unexpected-response-error = Lagam mape kigeno pa lapok tic. -pdfjs-rendering-error = Bal otime i kare me nyuto pot buk. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Lok angea manok] - -## Password - -pdfjs-password-label = Ket mung me donyo me yabo pwail me PDF man. -pdfjs-password-invalid = Mung me donyo pe atir. Tim ber i tem doki. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Juki -pdfjs-web-fonts-disabled = Kijuko dit pa coc me kakube woko: pe romo tic ki dit pa coc me PDF ma kiketo i kine. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/af/viewer.ftl b/media/js/pdf4/web/locale/af/viewer.ftl deleted file mode 100644 index 7c4346fe01..0000000000 --- a/media/js/pdf4/web/locale/af/viewer.ftl +++ /dev/null @@ -1,212 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Vorige bladsy -pdfjs-previous-button-label = Vorige -pdfjs-next-button = - .title = Volgende bladsy -pdfjs-next-button-label = Volgende -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Bladsy -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = van { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } van { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoem uit -pdfjs-zoom-out-button-label = Zoem uit -pdfjs-zoom-in-button = - .title = Zoem in -pdfjs-zoom-in-button-label = Zoem in -pdfjs-zoom-select = - .title = Zoem -pdfjs-presentation-mode-button = - .title = Wissel na voorleggingsmodus -pdfjs-presentation-mode-button-label = Voorleggingsmodus -pdfjs-open-file-button = - .title = Open lêer -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Druk -pdfjs-print-button-label = Druk - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Nutsgoed -pdfjs-tools-button-label = Nutsgoed -pdfjs-first-page-button = - .title = Gaan na eerste bladsy -pdfjs-first-page-button-label = Gaan na eerste bladsy -pdfjs-last-page-button = - .title = Gaan na laaste bladsy -pdfjs-last-page-button-label = Gaan na laaste bladsy -pdfjs-page-rotate-cw-button = - .title = Roteer kloksgewys -pdfjs-page-rotate-cw-button-label = Roteer kloksgewys -pdfjs-page-rotate-ccw-button = - .title = Roteer anti-kloksgewys -pdfjs-page-rotate-ccw-button-label = Roteer anti-kloksgewys -pdfjs-cursor-text-select-tool-button = - .title = Aktiveer gereedskap om teks te merk -pdfjs-cursor-text-select-tool-button-label = Teksmerkgereedskap -pdfjs-cursor-hand-tool-button = - .title = Aktiveer handjie -pdfjs-cursor-hand-tool-button-label = Handjie - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumenteienskappe… -pdfjs-document-properties-button-label = Dokumenteienskappe… -pdfjs-document-properties-file-name = Lêernaam: -pdfjs-document-properties-file-size = Lêergrootte: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kG ({ $size_b } grepe) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MG ({ $size_b } grepe) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Outeur: -pdfjs-document-properties-subject = Onderwerp: -pdfjs-document-properties-keywords = Sleutelwoorde: -pdfjs-document-properties-creation-date = Skeppingsdatum: -pdfjs-document-properties-modification-date = Wysigingsdatum: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Skepper: -pdfjs-document-properties-producer = PDF-vervaardiger: -pdfjs-document-properties-version = PDF-weergawe: -pdfjs-document-properties-page-count = Aantal bladsye: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = Sluit - -## Print - -pdfjs-print-progress-message = Berei tans dokument voor om te druk… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Kanselleer -pdfjs-printing-not-supported = Waarskuwing: Dié blaaier ondersteun nie drukwerk ten volle nie. -pdfjs-printing-not-ready = Waarskuwing: Die PDF is nog nie volledig gelaai vir drukwerk nie. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Sypaneel aan/af -pdfjs-toggle-sidebar-button-label = Sypaneel aan/af -pdfjs-document-outline-button = - .title = Wys dokumentskema (dubbelklik om alle items oop/toe te vou) -pdfjs-document-outline-button-label = Dokumentoorsig -pdfjs-attachments-button = - .title = Wys aanhegsels -pdfjs-attachments-button-label = Aanhegsels -pdfjs-thumbs-button = - .title = Wys duimnaels -pdfjs-thumbs-button-label = Duimnaels -pdfjs-findbar-button = - .title = Soek in dokument -pdfjs-findbar-button-label = Vind - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Bladsy { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Duimnael van bladsy { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Vind - .placeholder = Soek in dokument… -pdfjs-find-previous-button = - .title = Vind die vorige voorkoms van die frase -pdfjs-find-previous-button-label = Vorige -pdfjs-find-next-button = - .title = Vind die volgende voorkoms van die frase -pdfjs-find-next-button-label = Volgende -pdfjs-find-highlight-checkbox = Verlig almal -pdfjs-find-match-case-checkbox-label = Kassensitief -pdfjs-find-reached-top = Bokant van dokument is bereik; gaan voort van onder af -pdfjs-find-reached-bottom = Einde van dokument is bereik; gaan voort van bo af -pdfjs-find-not-found = Frase nie gevind nie - -## Predefined zoom values - -pdfjs-page-scale-width = Bladsywydte -pdfjs-page-scale-fit = Pas bladsy -pdfjs-page-scale-auto = Outomatiese zoem -pdfjs-page-scale-actual = Werklike grootte -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = 'n Fout het voorgekom met die laai van die PDF. -pdfjs-invalid-file-error = Ongeldige of korrupte PDF-lêer. -pdfjs-missing-file-error = PDF-lêer is weg. -pdfjs-unexpected-response-error = Onverwagse antwoord van bediener. -pdfjs-rendering-error = 'n Fout het voorgekom toe die bladsy weergegee is. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-annotasie] - -## Password - -pdfjs-password-label = Gee die wagwoord om dié PDF-lêer mee te open. -pdfjs-password-invalid = Ongeldige wagwoord. Probeer gerus weer. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Kanselleer -pdfjs-web-fonts-disabled = Webfonte is gedeaktiveer: kan nie PDF-fonte wat ingebed is, gebruik nie. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/an/viewer.ftl b/media/js/pdf4/web/locale/an/viewer.ftl deleted file mode 100644 index 673314778a..0000000000 --- a/media/js/pdf4/web/locale/an/viewer.ftl +++ /dev/null @@ -1,257 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pachina anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Pachina siguient -pdfjs-next-button-label = Siguient -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pachina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Achiquir -pdfjs-zoom-out-button-label = Achiquir -pdfjs-zoom-in-button = - .title = Agrandir -pdfjs-zoom-in-button-label = Agrandir -pdfjs-zoom-select = - .title = Grandaria -pdfjs-presentation-mode-button = - .title = Cambear t'o modo de presentación -pdfjs-presentation-mode-button-label = Modo de presentación -pdfjs-open-file-button = - .title = Ubrir o fichero -pdfjs-open-file-button-label = Ubrir -pdfjs-print-button = - .title = Imprentar -pdfjs-print-button-label = Imprentar - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ferramientas -pdfjs-tools-button-label = Ferramientas -pdfjs-first-page-button = - .title = Ir ta la primer pachina -pdfjs-first-page-button-label = Ir ta la primer pachina -pdfjs-last-page-button = - .title = Ir ta la zaguer pachina -pdfjs-last-page-button-label = Ir ta la zaguer pachina -pdfjs-page-rotate-cw-button = - .title = Chirar enta la dreita -pdfjs-page-rotate-cw-button-label = Chira enta la dreita -pdfjs-page-rotate-ccw-button = - .title = Chirar enta la zurda -pdfjs-page-rotate-ccw-button-label = Chirar enta la zurda -pdfjs-cursor-text-select-tool-button = - .title = Activar la ferramienta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Ferramienta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Activar la ferramienta man -pdfjs-cursor-hand-tool-button-label = Ferramienta man -pdfjs-scroll-vertical-button = - .title = Usar lo desplazamiento vertical -pdfjs-scroll-vertical-button-label = Desplazamiento vertical -pdfjs-scroll-horizontal-button = - .title = Usar lo desplazamiento horizontal -pdfjs-scroll-horizontal-button-label = Desplazamiento horizontal -pdfjs-scroll-wrapped-button = - .title = Activaar lo desplazamiento contino -pdfjs-scroll-wrapped-button-label = Desplazamiento contino -pdfjs-spread-none-button = - .title = No unir vistas de pachinas -pdfjs-spread-none-button-label = Una pachina nomás -pdfjs-spread-odd-button = - .title = Mostrar vista de pachinas, con as impars a la zurda -pdfjs-spread-odd-button-label = Doble pachina, impar a la zurda -pdfjs-spread-even-button = - .title = Amostrar vista de pachinas, con as pars a la zurda -pdfjs-spread-even-button-label = Doble pachina, para a la zurda - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedatz d'o documento... -pdfjs-document-properties-button-label = Propiedatz d'o documento... -pdfjs-document-properties-file-name = Nombre de fichero: -pdfjs-document-properties-file-size = Grandaria d'o fichero: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titol: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Afer: -pdfjs-document-properties-keywords = Parolas clau: -pdfjs-document-properties-creation-date = Calendata de creyación: -pdfjs-document-properties-modification-date = Calendata de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creyador: -pdfjs-document-properties-producer = Creyador de PDF: -pdfjs-document-properties-version = Versión de PDF: -pdfjs-document-properties-page-count = Numero de pachinas: -pdfjs-document-properties-page-size = Mida de pachina: -pdfjs-document-properties-page-size-unit-inches = pulgadas -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } x { $height } { $unit } { $orientation } -pdfjs-document-properties-page-size-dimension-name-string = { $width } x { $height } { $unit } { $name }, { $orientation } - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web rapida: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Zarrar - -## Print - -pdfjs-print-progress-message = Se ye preparando la documentación pa imprentar… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Pare cuenta: Iste navegador no maneya totalment as impresions. -pdfjs-printing-not-ready = Aviso: Encara no se ha cargau completament o PDF ta imprentar-lo. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Amostrar u amagar a barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Cambiar barra lateral (lo documento contiene esquema/adchuntos/capas) -pdfjs-toggle-sidebar-button-label = Amostrar a barra lateral -pdfjs-document-outline-button = - .title = Amostrar esquema d'o documento (fer doble clic pa expandir/compactar totz los items) -pdfjs-document-outline-button-label = Esquema d'o documento -pdfjs-attachments-button = - .title = Amostrar os adchuntos -pdfjs-attachments-button-label = Adchuntos -pdfjs-layers-button = - .title = Amostrar capas (doble clic para reiniciar totas las capas a lo estau per defecto) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Amostrar as miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-findbar-button = - .title = Trobar en o documento -pdfjs-findbar-button-label = Trobar -pdfjs-additional-layers = Capas adicionals - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pachina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura d'a pachina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Trobar - .placeholder = Trobar en o documento… -pdfjs-find-previous-button = - .title = Trobar l'anterior coincidencia d'a frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Trobar a siguient coincidencia d'a frase -pdfjs-find-next-button-label = Siguient -pdfjs-find-highlight-checkbox = Resaltar-lo tot -pdfjs-find-match-case-checkbox-label = Coincidencia de mayusclas/minusclas -pdfjs-find-entire-word-checkbox-label = Parolas completas -pdfjs-find-reached-top = S'ha plegau a l'inicio d'o documento, se contina dende baixo -pdfjs-find-reached-bottom = S'ha plegau a la fin d'o documento, se contina dende alto -pdfjs-find-not-found = No s'ha trobau a frase - -## Predefined zoom values - -pdfjs-page-scale-width = Amplaria d'a pachina -pdfjs-page-scale-fit = Achuste d'a pachina -pdfjs-page-scale-auto = Grandaria automatica -pdfjs-page-scale-actual = Grandaria actual -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = S'ha produciu una error en cargar o PDF. -pdfjs-invalid-file-error = O PDF no ye valido u ye estorbau. -pdfjs-missing-file-error = No i ha fichero PDF. -pdfjs-unexpected-response-error = Respuesta a lo servicio inasperada. -pdfjs-rendering-error = Ha ocurriu una error en renderizar a pachina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotación { $type }] - -## Password - -pdfjs-password-label = Introduzca a clau ta ubrir iste fichero PDF. -pdfjs-password-invalid = Clau invalida. Torna a intentar-lo. -pdfjs-password-ok-button = Acceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = As fuents web son desactivadas: no se puet incrustar fichers PDF. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ar/viewer.ftl b/media/js/pdf4/web/locale/ar/viewer.ftl deleted file mode 100644 index 97d6da57fc..0000000000 --- a/media/js/pdf4/web/locale/ar/viewer.ftl +++ /dev/null @@ -1,404 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = الصفحة السابقة -pdfjs-previous-button-label = السابقة -pdfjs-next-button = - .title = الصفحة التالية -pdfjs-next-button-label = التالية -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = صفحة -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = من { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } من { $pagesCount }) -pdfjs-zoom-out-button = - .title = بعّد -pdfjs-zoom-out-button-label = بعّد -pdfjs-zoom-in-button = - .title = قرّب -pdfjs-zoom-in-button-label = قرّب -pdfjs-zoom-select = - .title = التقريب -pdfjs-presentation-mode-button = - .title = انتقل لوضع العرض التقديمي -pdfjs-presentation-mode-button-label = وضع العرض التقديمي -pdfjs-open-file-button = - .title = افتح ملفًا -pdfjs-open-file-button-label = افتح -pdfjs-print-button = - .title = اطبع -pdfjs-print-button-label = اطبع -pdfjs-save-button = - .title = احفظ -pdfjs-save-button-label = احفظ -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = نزّل -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = نزّل -pdfjs-bookmark-button = - .title = الصفحة الحالية (عرض URL من الصفحة الحالية) -pdfjs-bookmark-button-label = الصفحة الحالية - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = الأدوات -pdfjs-tools-button-label = الأدوات -pdfjs-first-page-button = - .title = انتقل إلى الصفحة الأولى -pdfjs-first-page-button-label = انتقل إلى الصفحة الأولى -pdfjs-last-page-button = - .title = انتقل إلى الصفحة الأخيرة -pdfjs-last-page-button-label = انتقل إلى الصفحة الأخيرة -pdfjs-page-rotate-cw-button = - .title = أدر باتجاه عقارب الساعة -pdfjs-page-rotate-cw-button-label = أدر باتجاه عقارب الساعة -pdfjs-page-rotate-ccw-button = - .title = أدر بعكس اتجاه عقارب الساعة -pdfjs-page-rotate-ccw-button-label = أدر بعكس اتجاه عقارب الساعة -pdfjs-cursor-text-select-tool-button = - .title = فعّل أداة اختيار النص -pdfjs-cursor-text-select-tool-button-label = أداة اختيار النص -pdfjs-cursor-hand-tool-button = - .title = فعّل أداة اليد -pdfjs-cursor-hand-tool-button-label = أداة اليد -pdfjs-scroll-page-button = - .title = استخدم تمرير الصفحة -pdfjs-scroll-page-button-label = تمرير الصفحة -pdfjs-scroll-vertical-button = - .title = استخدم التمرير الرأسي -pdfjs-scroll-vertical-button-label = التمرير الرأسي -pdfjs-scroll-horizontal-button = - .title = استخدم التمرير الأفقي -pdfjs-scroll-horizontal-button-label = التمرير الأفقي -pdfjs-scroll-wrapped-button = - .title = استخدم التمرير الملتف -pdfjs-scroll-wrapped-button-label = التمرير الملتف -pdfjs-spread-none-button = - .title = لا تدمج هوامش الصفحات مع بعضها البعض -pdfjs-spread-none-button-label = بلا هوامش -pdfjs-spread-odd-button = - .title = ادمج هوامش الصفحات الفردية -pdfjs-spread-odd-button-label = هوامش الصفحات الفردية -pdfjs-spread-even-button = - .title = ادمج هوامش الصفحات الزوجية -pdfjs-spread-even-button-label = هوامش الصفحات الزوجية - -## Document properties dialog - -pdfjs-document-properties-button = - .title = خصائص المستند… -pdfjs-document-properties-button-label = خصائص المستند… -pdfjs-document-properties-file-name = اسم الملف: -pdfjs-document-properties-file-size = حجم الملف: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } ك.بايت ({ $size_b } بايت) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } م.بايت ({ $size_b } بايت) -pdfjs-document-properties-title = العنوان: -pdfjs-document-properties-author = المؤلف: -pdfjs-document-properties-subject = الموضوع: -pdfjs-document-properties-keywords = الكلمات الأساسية: -pdfjs-document-properties-creation-date = تاريخ الإنشاء: -pdfjs-document-properties-modification-date = تاريخ التعديل: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }، { $time } -pdfjs-document-properties-creator = المنشئ: -pdfjs-document-properties-producer = منتج PDF: -pdfjs-document-properties-version = إصدارة PDF: -pdfjs-document-properties-page-count = عدد الصفحات: -pdfjs-document-properties-page-size = مقاس الورقة: -pdfjs-document-properties-page-size-unit-inches = بوصة -pdfjs-document-properties-page-size-unit-millimeters = ملم -pdfjs-document-properties-page-size-orientation-portrait = طوليّ -pdfjs-document-properties-page-size-orientation-landscape = عرضيّ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = خطاب -pdfjs-document-properties-page-size-name-legal = قانونيّ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }، { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = العرض السريع عبر الوِب: -pdfjs-document-properties-linearized-yes = نعم -pdfjs-document-properties-linearized-no = لا -pdfjs-document-properties-close-button = أغلق - -## Print - -pdfjs-print-progress-message = يُحضّر المستند للطباعة… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }٪ -pdfjs-print-progress-close-button = ألغِ -pdfjs-printing-not-supported = تحذير: لا يدعم هذا المتصفح الطباعة بشكل كامل. -pdfjs-printing-not-ready = تحذير: ملف PDF لم يُحمّل كاملًا للطباعة. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = بدّل ظهور الشريط الجانبي -pdfjs-toggle-sidebar-notification-button = - .title = بدّل ظهور الشريط الجانبي (يحتوي المستند على مخطط أو مرفقات أو طبقات) -pdfjs-toggle-sidebar-button-label = بدّل ظهور الشريط الجانبي -pdfjs-document-outline-button = - .title = اعرض فهرس المستند (نقر مزدوج لتمديد أو تقليص كل العناصر) -pdfjs-document-outline-button-label = مخطط المستند -pdfjs-attachments-button = - .title = اعرض المرفقات -pdfjs-attachments-button-label = المُرفقات -pdfjs-layers-button = - .title = اعرض الطبقات (انقر مرتين لتصفير كل الطبقات إلى الحالة المبدئية) -pdfjs-layers-button-label = الطبقات -pdfjs-thumbs-button = - .title = اعرض مُصغرات -pdfjs-thumbs-button-label = مُصغّرات -pdfjs-current-outline-item-button = - .title = ابحث عن عنصر المخطّط التفصيلي الحالي -pdfjs-current-outline-item-button-label = عنصر المخطّط التفصيلي الحالي -pdfjs-findbar-button = - .title = ابحث في المستند -pdfjs-findbar-button-label = ابحث -pdfjs-additional-layers = الطبقات الإضافية - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = صفحة { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = مصغّرة صفحة { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ابحث - .placeholder = ابحث في المستند… -pdfjs-find-previous-button = - .title = ابحث عن التّواجد السّابق للعبارة -pdfjs-find-previous-button-label = السابق -pdfjs-find-next-button = - .title = ابحث عن التّواجد التّالي للعبارة -pdfjs-find-next-button-label = التالي -pdfjs-find-highlight-checkbox = أبرِز الكل -pdfjs-find-match-case-checkbox-label = طابق حالة الأحرف -pdfjs-find-match-diacritics-checkbox-label = طابِق الحركات -pdfjs-find-entire-word-checkbox-label = كلمات كاملة -pdfjs-find-reached-top = تابعت من الأسفل بعدما وصلت إلى بداية المستند -pdfjs-find-reached-bottom = تابعت من الأعلى بعدما وصلت إلى نهاية المستند -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [zero] لا مطابقة - [one] { $current } من أصل { $total } مطابقة - [two] { $current } من أصل { $total } مطابقة - [few] { $current } من أصل { $total } مطابقة - [many] { $current } من أصل { $total } مطابقة - *[other] { $current } من أصل { $total } مطابقة - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [zero] { $limit } مطابقة - [one] أكثر من { $limit } مطابقة - [two] أكثر من { $limit } مطابقة - [few] أكثر من { $limit } مطابقة - [many] أكثر من { $limit } مطابقة - *[other] أكثر من { $limit } مطابقات - } -pdfjs-find-not-found = لا وجود للعبارة - -## Predefined zoom values - -pdfjs-page-scale-width = عرض الصفحة -pdfjs-page-scale-fit = ملائمة الصفحة -pdfjs-page-scale-auto = تقريب تلقائي -pdfjs-page-scale-actual = الحجم الفعلي -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }٪ - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = صفحة { $page } - -## Loading indicator messages - -pdfjs-loading-error = حدث عطل أثناء تحميل ملف PDF. -pdfjs-invalid-file-error = ملف PDF تالف أو غير صحيح. -pdfjs-missing-file-error = ملف PDF غير موجود. -pdfjs-unexpected-response-error = استجابة خادوم غير متوقعة. -pdfjs-rendering-error = حدث خطأ أثناء عرض الصفحة. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }، { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [تعليق { $type }] - -## Password - -pdfjs-password-label = أدخل لكلمة السر لفتح هذا الملف. -pdfjs-password-invalid = كلمة سر خطأ. من فضلك أعد المحاولة. -pdfjs-password-ok-button = حسنا -pdfjs-password-cancel-button = ألغِ -pdfjs-web-fonts-disabled = خطوط الوب مُعطّلة: تعذّر استخدام خطوط PDF المُضمّنة. - -## Editing - -pdfjs-editor-free-text-button = - .title = نص -pdfjs-editor-free-text-button-label = نص -pdfjs-editor-ink-button = - .title = ارسم -pdfjs-editor-ink-button-label = ارسم -pdfjs-editor-stamp-button = - .title = أضِف أو حرّر الصور -pdfjs-editor-stamp-button-label = أضِف أو حرّر الصور -pdfjs-editor-highlight-button = - .title = أبرِز -pdfjs-editor-highlight-button-label = أبرِز -pdfjs-highlight-floating-button = - .title = أبرِز -pdfjs-highlight-floating-button1 = - .title = أبرِز - .aria-label = أبرِز -pdfjs-highlight-floating-button-label = أبرِز - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = أزِل الرسم -pdfjs-editor-remove-freetext-button = - .title = أزِل النص -pdfjs-editor-remove-stamp-button = - .title = أزِل الصورة -pdfjs-editor-remove-highlight-button = - .title = أزِل الإبراز - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = اللون -pdfjs-editor-free-text-size-input = الحجم -pdfjs-editor-ink-color-input = اللون -pdfjs-editor-ink-thickness-input = السماكة -pdfjs-editor-ink-opacity-input = العتامة -pdfjs-editor-stamp-add-image-button = - .title = أضِف صورة -pdfjs-editor-stamp-add-image-button-label = أضِف صورة -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = السماكة -pdfjs-editor-free-highlight-thickness-title = - .title = غيّر السُمك عند إبراز عناصر أُخرى غير النص -pdfjs-free-text = - .aria-label = محرِّر النص -pdfjs-free-text-default-content = ابدأ الكتابة… -pdfjs-ink = - .aria-label = محرِّر الرسم -pdfjs-ink-canvas = - .aria-label = صورة أنشأها المستخدم - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = نص بديل -pdfjs-editor-alt-text-edit-button-label = تحرير النص البديل -pdfjs-editor-alt-text-dialog-label = اختر خيار -pdfjs-editor-alt-text-dialog-description = يساعد النص البديل عندما لا يتمكن الأشخاص من رؤية الصورة أو عندما لا يتم تحميلها. -pdfjs-editor-alt-text-add-description-label = أضِف وصف -pdfjs-editor-alt-text-add-description-description = استهدف جملتين تصفان الموضوع أو الإعداد أو الإجراءات. -pdfjs-editor-alt-text-mark-decorative-label = علّمها على أنها زخرفية -pdfjs-editor-alt-text-mark-decorative-description = يُستخدم هذا في الصور المزخرفة، مثل الحدود أو العلامات المائية. -pdfjs-editor-alt-text-cancel-button = ألغِ -pdfjs-editor-alt-text-save-button = احفظ -pdfjs-editor-alt-text-decorative-tooltip = عُلّمت على أنها زخرفية -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = على سبيل المثال، "يجلس شاب على الطاولة لتناول وجبة" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = الزاوية اليُسرى العُليا — غيّر الحجم -pdfjs-editor-resizer-label-top-middle = أعلى الوسط - غيّر الحجم -pdfjs-editor-resizer-label-top-right = الزاوية اليُمنى العُليا - غيّر الحجم -pdfjs-editor-resizer-label-middle-right = اليمين الأوسط - غيّر الحجم -pdfjs-editor-resizer-label-bottom-right = الزاوية اليُمنى السُفلى - غيّر الحجم -pdfjs-editor-resizer-label-bottom-middle = أسفل الوسط - غيّر الحجم -pdfjs-editor-resizer-label-bottom-left = الزاوية اليُسرى السُفلية - غيّر الحجم -pdfjs-editor-resizer-label-middle-left = مُنتصف اليسار - غيّر الحجم - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = أبرِز اللون -pdfjs-editor-colorpicker-button = - .title = غيّر اللون -pdfjs-editor-colorpicker-dropdown = - .aria-label = اختيارات الألوان -pdfjs-editor-colorpicker-yellow = - .title = أصفر -pdfjs-editor-colorpicker-green = - .title = أخضر -pdfjs-editor-colorpicker-blue = - .title = أزرق -pdfjs-editor-colorpicker-pink = - .title = وردي -pdfjs-editor-colorpicker-red = - .title = أحمر - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = أظهِر الكل -pdfjs-editor-highlight-show-all-button = - .title = أظهِر الكل diff --git a/media/js/pdf4/web/locale/ast/viewer.ftl b/media/js/pdf4/web/locale/ast/viewer.ftl deleted file mode 100644 index 2503cafcee..0000000000 --- a/media/js/pdf4/web/locale/ast/viewer.ftl +++ /dev/null @@ -1,201 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Páxina anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Páxina siguiente -pdfjs-next-button-label = Siguiente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Páxina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Alloñar -pdfjs-zoom-out-button-label = Alloña -pdfjs-zoom-in-button = - .title = Averar -pdfjs-zoom-in-button-label = Avera -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Cambiar al mou de presentación -pdfjs-presentation-mode-button-label = Mou de presentación -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprentar -pdfjs-print-button-label = Imprentar - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ferramientes -pdfjs-tools-button-label = Ferramientes -pdfjs-first-page-button-label = Dir a la primer páxina -pdfjs-last-page-button-label = Dir a la última páxina -pdfjs-page-rotate-cw-button = - .title = Voltia a la derecha -pdfjs-page-rotate-cw-button-label = Voltiar a la derecha -pdfjs-page-rotate-ccw-button = - .title = Voltia a la esquierda -pdfjs-page-rotate-ccw-button-label = Voltiar a la esquierda -pdfjs-cursor-text-select-tool-button = - .title = Activa la ferramienta d'esbilla de testu -pdfjs-cursor-text-select-tool-button-label = Ferramienta d'esbilla de testu -pdfjs-cursor-hand-tool-button = - .title = Activa la ferramienta de mano -pdfjs-cursor-hand-tool-button-label = Ferramienta de mano -pdfjs-scroll-vertical-button = - .title = Usa'l desplazamientu vertical -pdfjs-scroll-vertical-button-label = Desplazamientu vertical -pdfjs-scroll-horizontal-button = - .title = Usa'l desplazamientu horizontal -pdfjs-scroll-horizontal-button-label = Desplazamientu horizontal -pdfjs-scroll-wrapped-button = - .title = Usa'l desplazamientu continuu -pdfjs-scroll-wrapped-button-label = Desplazamientu continuu -pdfjs-spread-none-button-label = Fueyes individuales -pdfjs-spread-odd-button-label = Fueyes pares -pdfjs-spread-even-button-label = Fueyes impares - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedaes del documentu… -pdfjs-document-properties-button-label = Propiedaes del documentu… -pdfjs-document-properties-file-name = Nome del ficheru: -pdfjs-document-properties-file-size = Tamañu del ficheru: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Títulu: -pdfjs-document-properties-keywords = Pallabres clave: -pdfjs-document-properties-creation-date = Data de creación: -pdfjs-document-properties-modification-date = Data de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-producer = Productor del PDF: -pdfjs-document-properties-version = Versión del PDF: -pdfjs-document-properties-page-count = Númberu de páxines: -pdfjs-document-properties-page-size = Tamañu de páxina: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web rápida: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = Non -pdfjs-document-properties-close-button = Zarrar - -## Print - -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Encaboxar - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Alternar la barra llateral -pdfjs-attachments-button = - .title = Amosar los axuntos -pdfjs-attachments-button-label = Axuntos -pdfjs-layers-button-label = Capes -pdfjs-thumbs-button = - .title = Amosar les miniatures -pdfjs-thumbs-button-label = Miniatures -pdfjs-findbar-button-label = Atopar -pdfjs-additional-layers = Capes adicionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Páxina { $page } - -## Find panel button title and messages - -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button-label = Siguiente -pdfjs-find-entire-word-checkbox-label = Pallabres completes -pdfjs-find-reached-top = Algamóse'l comienzu de la páxina, síguese dende abaxo -pdfjs-find-reached-bottom = Algamóse la fin del documentu, síguese dende arriba - -## Predefined zoom values - -pdfjs-page-scale-auto = Zoom automáticu -pdfjs-page-scale-actual = Tamañu real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Páxina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Asocedió un fallu mentanto se cargaba'l PDF. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -## Password - -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Encaboxar - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/az/viewer.ftl b/media/js/pdf4/web/locale/az/viewer.ftl deleted file mode 100644 index 773aae4d62..0000000000 --- a/media/js/pdf4/web/locale/az/viewer.ftl +++ /dev/null @@ -1,257 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Əvvəlki səhifə -pdfjs-previous-button-label = Əvvəlkini tap -pdfjs-next-button = - .title = Növbəti səhifə -pdfjs-next-button-label = İrəli -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Səhifə -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = Uzaqlaş -pdfjs-zoom-out-button-label = Uzaqlaş -pdfjs-zoom-in-button = - .title = Yaxınlaş -pdfjs-zoom-in-button-label = Yaxınlaş -pdfjs-zoom-select = - .title = Yaxınlaşdırma -pdfjs-presentation-mode-button = - .title = Təqdimat Rejiminə Keç -pdfjs-presentation-mode-button-label = Təqdimat Rejimi -pdfjs-open-file-button = - .title = Fayl Aç -pdfjs-open-file-button-label = Aç -pdfjs-print-button = - .title = Yazdır -pdfjs-print-button-label = Yazdır - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Alətlər -pdfjs-tools-button-label = Alətlər -pdfjs-first-page-button = - .title = İlk Səhifəyə get -pdfjs-first-page-button-label = İlk Səhifəyə get -pdfjs-last-page-button = - .title = Son Səhifəyə get -pdfjs-last-page-button-label = Son Səhifəyə get -pdfjs-page-rotate-cw-button = - .title = Saat İstiqamətində Fırlat -pdfjs-page-rotate-cw-button-label = Saat İstiqamətində Fırlat -pdfjs-page-rotate-ccw-button = - .title = Saat İstiqamətinin Əksinə Fırlat -pdfjs-page-rotate-ccw-button-label = Saat İstiqamətinin Əksinə Fırlat -pdfjs-cursor-text-select-tool-button = - .title = Yazı seçmə alətini aktivləşdir -pdfjs-cursor-text-select-tool-button-label = Yazı seçmə aləti -pdfjs-cursor-hand-tool-button = - .title = Əl alətini aktivləşdir -pdfjs-cursor-hand-tool-button-label = Əl aləti -pdfjs-scroll-vertical-button = - .title = Şaquli sürüşdürmə işlət -pdfjs-scroll-vertical-button-label = Şaquli sürüşdürmə -pdfjs-scroll-horizontal-button = - .title = Üfüqi sürüşdürmə işlət -pdfjs-scroll-horizontal-button-label = Üfüqi sürüşdürmə -pdfjs-scroll-wrapped-button = - .title = Bükülü sürüşdürmə işlət -pdfjs-scroll-wrapped-button-label = Bükülü sürüşdürmə -pdfjs-spread-none-button = - .title = Yan-yana birləşdirilmiş səhifələri işlətmə -pdfjs-spread-none-button-label = Birləşdirmə -pdfjs-spread-odd-button = - .title = Yan-yana birləşdirilmiş səhifələri tək nömrəli səhifələrdən başlat -pdfjs-spread-odd-button-label = Tək nömrəli -pdfjs-spread-even-button = - .title = Yan-yana birləşdirilmiş səhifələri cüt nömrəli səhifələrdən başlat -pdfjs-spread-even-button-label = Cüt nömrəli - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Sənəd xüsusiyyətləri… -pdfjs-document-properties-button-label = Sənəd xüsusiyyətləri… -pdfjs-document-properties-file-name = Fayl adı: -pdfjs-document-properties-file-size = Fayl ölçüsü: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bayt) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bayt) -pdfjs-document-properties-title = Başlık: -pdfjs-document-properties-author = Müəllif: -pdfjs-document-properties-subject = Mövzu: -pdfjs-document-properties-keywords = Açar sözlər: -pdfjs-document-properties-creation-date = Yaradılış Tarixi : -pdfjs-document-properties-modification-date = Dəyişdirilmə Tarixi : -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Yaradan: -pdfjs-document-properties-producer = PDF yaradıcısı: -pdfjs-document-properties-version = PDF versiyası: -pdfjs-document-properties-page-count = Səhifə sayı: -pdfjs-document-properties-page-size = Səhifə Ölçüsü: -pdfjs-document-properties-page-size-unit-inches = inç -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portret -pdfjs-document-properties-page-size-orientation-landscape = albom -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Məktub -pdfjs-document-properties-page-size-name-legal = Hüquqi - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Bəli -pdfjs-document-properties-linearized-no = Xeyr -pdfjs-document-properties-close-button = Qapat - -## Print - -pdfjs-print-progress-message = Sənəd çap üçün hazırlanır… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Ləğv et -pdfjs-printing-not-supported = Xəbərdarlıq: Çap bu səyyah tərəfindən tam olaraq dəstəklənmir. -pdfjs-printing-not-ready = Xəbərdarlıq: PDF çap üçün tam yüklənməyib. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Yan Paneli Aç/Bağla -pdfjs-toggle-sidebar-notification-button = - .title = Yan paneli çevir (sənəddə icmal/bağlamalar/laylar mövcuddur) -pdfjs-toggle-sidebar-button-label = Yan Paneli Aç/Bağla -pdfjs-document-outline-button = - .title = Sənədin eskizini göstər (bütün bəndləri açmaq/yığmaq üçün iki dəfə klikləyin) -pdfjs-document-outline-button-label = Sənəd strukturu -pdfjs-attachments-button = - .title = Bağlamaları göstər -pdfjs-attachments-button-label = Bağlamalar -pdfjs-layers-button = - .title = Layları göstər (bütün layları ilkin halına sıfırlamaq üçün iki dəfə klikləyin) -pdfjs-layers-button-label = Laylar -pdfjs-thumbs-button = - .title = Kiçik şəkilləri göstər -pdfjs-thumbs-button-label = Kiçik şəkillər -pdfjs-findbar-button = - .title = Sənəddə Tap -pdfjs-findbar-button-label = Tap -pdfjs-additional-layers = Əlavə laylar - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Səhifə{ $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } səhifəsinin kiçik vəziyyəti - -## Find panel button title and messages - -pdfjs-find-input = - .title = Tap - .placeholder = Sənəddə tap… -pdfjs-find-previous-button = - .title = Bir öncəki uyğun gələn sözü tapır -pdfjs-find-previous-button-label = Geri -pdfjs-find-next-button = - .title = Bir sonrakı uyğun gələn sözü tapır -pdfjs-find-next-button-label = İrəli -pdfjs-find-highlight-checkbox = İşarələ -pdfjs-find-match-case-checkbox-label = Böyük/kiçik hərfə həssaslıq -pdfjs-find-entire-word-checkbox-label = Tam sözlər -pdfjs-find-reached-top = Sənədin yuxarısına çatdı, aşağıdan davam edir -pdfjs-find-reached-bottom = Sənədin sonuna çatdı, yuxarıdan davam edir -pdfjs-find-not-found = Uyğunlaşma tapılmadı - -## Predefined zoom values - -pdfjs-page-scale-width = Səhifə genişliyi -pdfjs-page-scale-fit = Səhifəni sığdır -pdfjs-page-scale-auto = Avtomatik yaxınlaşdır -pdfjs-page-scale-actual = Hazırkı Həcm -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF yüklenərkən bir səhv yarandı. -pdfjs-invalid-file-error = Səhv və ya zədələnmiş olmuş PDF fayl. -pdfjs-missing-file-error = PDF fayl yoxdur. -pdfjs-unexpected-response-error = Gözlənilməz server cavabı. -pdfjs-rendering-error = Səhifə göstərilərkən səhv yarandı. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotasiyası] - -## Password - -pdfjs-password-label = Bu PDF faylı açmaq üçün parolu daxil edin. -pdfjs-password-invalid = Parol səhvdir. Bir daha yoxlayın. -pdfjs-password-ok-button = Tamam -pdfjs-password-cancel-button = Ləğv et -pdfjs-web-fonts-disabled = Web Şriftlər söndürülüb: yerləşdirilmiş PDF şriftlərini istifadə etmək mümkün deyil. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/be/viewer.ftl b/media/js/pdf4/web/locale/be/viewer.ftl deleted file mode 100644 index ee1f430104..0000000000 --- a/media/js/pdf4/web/locale/be/viewer.ftl +++ /dev/null @@ -1,404 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Папярэдняя старонка -pdfjs-previous-button-label = Папярэдняя -pdfjs-next-button = - .title = Наступная старонка -pdfjs-next-button-label = Наступная -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Старонка -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = з { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } з { $pagesCount }) -pdfjs-zoom-out-button = - .title = Паменшыць -pdfjs-zoom-out-button-label = Паменшыць -pdfjs-zoom-in-button = - .title = Павялічыць -pdfjs-zoom-in-button-label = Павялічыць -pdfjs-zoom-select = - .title = Павялічэнне тэксту -pdfjs-presentation-mode-button = - .title = Пераключыцца ў рэжым паказу -pdfjs-presentation-mode-button-label = Рэжым паказу -pdfjs-open-file-button = - .title = Адкрыць файл -pdfjs-open-file-button-label = Адкрыць -pdfjs-print-button = - .title = Друкаваць -pdfjs-print-button-label = Друкаваць -pdfjs-save-button = - .title = Захаваць -pdfjs-save-button-label = Захаваць -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Сцягнуць -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Сцягнуць -pdfjs-bookmark-button = - .title = Дзейная старонка (паглядзець URL-адрас з дзейнай старонкі) -pdfjs-bookmark-button-label = Цяперашняя старонка -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Адкрыць у праграме -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Адкрыць у праграме - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Прылады -pdfjs-tools-button-label = Прылады -pdfjs-first-page-button = - .title = Перайсці на першую старонку -pdfjs-first-page-button-label = Перайсці на першую старонку -pdfjs-last-page-button = - .title = Перайсці на апошнюю старонку -pdfjs-last-page-button-label = Перайсці на апошнюю старонку -pdfjs-page-rotate-cw-button = - .title = Павярнуць па сонцу -pdfjs-page-rotate-cw-button-label = Павярнуць па сонцу -pdfjs-page-rotate-ccw-button = - .title = Павярнуць супраць сонца -pdfjs-page-rotate-ccw-button-label = Павярнуць супраць сонца -pdfjs-cursor-text-select-tool-button = - .title = Уключыць прыладу выбару тэксту -pdfjs-cursor-text-select-tool-button-label = Прылада выбару тэксту -pdfjs-cursor-hand-tool-button = - .title = Уключыць ручную прыладу -pdfjs-cursor-hand-tool-button-label = Ручная прылада -pdfjs-scroll-page-button = - .title = Выкарыстоўваць пракрутку старонкi -pdfjs-scroll-page-button-label = Пракрутка старонкi -pdfjs-scroll-vertical-button = - .title = Ужываць вертыкальную пракрутку -pdfjs-scroll-vertical-button-label = Вертыкальная пракрутка -pdfjs-scroll-horizontal-button = - .title = Ужываць гарызантальную пракрутку -pdfjs-scroll-horizontal-button-label = Гарызантальная пракрутка -pdfjs-scroll-wrapped-button = - .title = Ужываць маштабавальную пракрутку -pdfjs-scroll-wrapped-button-label = Маштабавальная пракрутка -pdfjs-spread-none-button = - .title = Не выкарыстоўваць разгорнутыя старонкі -pdfjs-spread-none-button-label = Без разгорнутых старонак -pdfjs-spread-odd-button = - .title = Разгорнутыя старонкі пачынаючы з няцотных нумароў -pdfjs-spread-odd-button-label = Няцотныя старонкі злева -pdfjs-spread-even-button = - .title = Разгорнутыя старонкі пачынаючы з цотных нумароў -pdfjs-spread-even-button-label = Цотныя старонкі злева - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Уласцівасці дакумента… -pdfjs-document-properties-button-label = Уласцівасці дакумента… -pdfjs-document-properties-file-name = Назва файла: -pdfjs-document-properties-file-size = Памер файла: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байт) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байт) -pdfjs-document-properties-title = Загаловак: -pdfjs-document-properties-author = Аўтар: -pdfjs-document-properties-subject = Тэма: -pdfjs-document-properties-keywords = Ключавыя словы: -pdfjs-document-properties-creation-date = Дата стварэння: -pdfjs-document-properties-modification-date = Дата змянення: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Стваральнік: -pdfjs-document-properties-producer = Вырабнік PDF: -pdfjs-document-properties-version = Версія PDF: -pdfjs-document-properties-page-count = Колькасць старонак: -pdfjs-document-properties-page-size = Памер старонкі: -pdfjs-document-properties-page-size-unit-inches = цаляў -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = кніжная -pdfjs-document-properties-page-size-orientation-landscape = альбомная -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Хуткі прагляд у Інтэрнэце: -pdfjs-document-properties-linearized-yes = Так -pdfjs-document-properties-linearized-no = Не -pdfjs-document-properties-close-button = Закрыць - -## Print - -pdfjs-print-progress-message = Падрыхтоўка дакумента да друку… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Скасаваць -pdfjs-printing-not-supported = Папярэджанне: друк не падтрымліваецца цалкам гэтым браўзерам. -pdfjs-printing-not-ready = Увага: PDF не сцягнуты цалкам для друкавання. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Паказаць/схаваць бакавую панэль -pdfjs-toggle-sidebar-notification-button = - .title = Паказаць/схаваць бакавую панэль (дакумент мае змест/укладанні/пласты) -pdfjs-toggle-sidebar-button-label = Паказаць/схаваць бакавую панэль -pdfjs-document-outline-button = - .title = Паказаць структуру дакумента (двайная пстрычка, каб разгарнуць /згарнуць усе элементы) -pdfjs-document-outline-button-label = Структура дакумента -pdfjs-attachments-button = - .title = Паказаць далучэнні -pdfjs-attachments-button-label = Далучэнні -pdfjs-layers-button = - .title = Паказаць пласты (націсніце двойчы, каб скінуць усе пласты да прадвызначанага стану) -pdfjs-layers-button-label = Пласты -pdfjs-thumbs-button = - .title = Паказ мініяцюр -pdfjs-thumbs-button-label = Мініяцюры -pdfjs-current-outline-item-button = - .title = Знайсці бягучы элемент структуры -pdfjs-current-outline-item-button-label = Бягучы элемент структуры -pdfjs-findbar-button = - .title = Пошук у дакуменце -pdfjs-findbar-button-label = Знайсці -pdfjs-additional-layers = Дадатковыя пласты - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Старонка { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Мініяцюра старонкі { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Шукаць - .placeholder = Шукаць у дакуменце… -pdfjs-find-previous-button = - .title = Знайсці папярэдні выпадак выразу -pdfjs-find-previous-button-label = Папярэдні -pdfjs-find-next-button = - .title = Знайсці наступны выпадак выразу -pdfjs-find-next-button-label = Наступны -pdfjs-find-highlight-checkbox = Падфарбаваць усе -pdfjs-find-match-case-checkbox-label = Адрозніваць вялікія/малыя літары -pdfjs-find-match-diacritics-checkbox-label = З улікам дыякрытык -pdfjs-find-entire-word-checkbox-label = Словы цалкам -pdfjs-find-reached-top = Дасягнуты пачатак дакумента, працяг з канца -pdfjs-find-reached-bottom = Дасягнуты канец дакумента, працяг з пачатку -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } з { $total } супадзенняў - [few] { $current } з { $total } супадзенняў - *[many] { $current } з { $total } супадзенняў - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Больш за { $limit } супадзенне - [few] Больш за { $limit } супадзенні - *[many] Больш за { $limit } супадзенняў - } -pdfjs-find-not-found = Выраз не знойдзены - -## Predefined zoom values - -pdfjs-page-scale-width = Шырыня старонкі -pdfjs-page-scale-fit = Уцісненне старонкі -pdfjs-page-scale-auto = Аўтаматычнае павелічэнне -pdfjs-page-scale-actual = Сапраўдны памер -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Старонка { $page } - -## Loading indicator messages - -pdfjs-loading-error = Здарылася памылка ў часе загрузкі PDF. -pdfjs-invalid-file-error = Няспраўны або пашкоджаны файл PDF. -pdfjs-missing-file-error = Адсутны файл PDF. -pdfjs-unexpected-response-error = Нечаканы адказ сервера. -pdfjs-rendering-error = Здарылася памылка падчас адлюстравання старонкі. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Увядзіце пароль, каб адкрыць гэты файл PDF. -pdfjs-password-invalid = Нядзейсны пароль. Паспрабуйце зноў. -pdfjs-password-ok-button = Добра -pdfjs-password-cancel-button = Скасаваць -pdfjs-web-fonts-disabled = Шрыфты Сеціва забаронены: немагчыма ўжываць укладзеныя шрыфты PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Тэкст -pdfjs-editor-free-text-button-label = Тэкст -pdfjs-editor-ink-button = - .title = Маляваць -pdfjs-editor-ink-button-label = Маляваць -pdfjs-editor-stamp-button = - .title = Дадаць або змяніць выявы -pdfjs-editor-stamp-button-label = Дадаць або змяніць выявы -pdfjs-editor-highlight-button = - .title = Вылучэнне -pdfjs-editor-highlight-button-label = Вылучэнне -pdfjs-highlight-floating-button = - .title = Вылучэнне -pdfjs-highlight-floating-button1 = - .title = Падфарбаваць - .aria-label = Падфарбаваць -pdfjs-highlight-floating-button-label = Падфарбаваць - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Выдаліць малюнак -pdfjs-editor-remove-freetext-button = - .title = Выдаліць тэкст -pdfjs-editor-remove-stamp-button = - .title = Выдаліць выяву -pdfjs-editor-remove-highlight-button = - .title = Выдаліць падфарбоўку - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Колер -pdfjs-editor-free-text-size-input = Памер -pdfjs-editor-ink-color-input = Колер -pdfjs-editor-ink-thickness-input = Таўшчыня -pdfjs-editor-ink-opacity-input = Непразрыстасць -pdfjs-editor-stamp-add-image-button = - .title = Дадаць выяву -pdfjs-editor-stamp-add-image-button-label = Дадаць выяву -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Таўшчыня -pdfjs-editor-free-highlight-thickness-title = - .title = Змяняць таўшчыню пры вылучэнні іншых элементаў, акрамя тэксту -pdfjs-free-text = - .aria-label = Тэкставы рэдактар -pdfjs-free-text-default-content = Пачніце набор тэксту… -pdfjs-ink = - .aria-label = Графічны рэдактар -pdfjs-ink-canvas = - .aria-label = Выява, створаная карыстальнікам - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Альтэрнатыўны тэкст -pdfjs-editor-alt-text-edit-button-label = Змяніць альтэрнатыўны тэкст -pdfjs-editor-alt-text-dialog-label = Выберыце варыянт -pdfjs-editor-alt-text-dialog-description = Альтэрнатыўны тэкст дапамагае, калі людзі не бачаць выяву або калі яна не загружаецца. -pdfjs-editor-alt-text-add-description-label = Дадаць апісанне -pdfjs-editor-alt-text-add-description-description = Старайцеся скласці 1-2 сказы, якія апісваюць прадмет, абстаноўку або дзеянні. -pdfjs-editor-alt-text-mark-decorative-label = Пазначыць як дэкаратыўны -pdfjs-editor-alt-text-mark-decorative-description = Выкарыстоўваецца для дэкаратыўных выяваў, такіх як рамкі або вадзяныя знакі. -pdfjs-editor-alt-text-cancel-button = Скасаваць -pdfjs-editor-alt-text-save-button = Захаваць -pdfjs-editor-alt-text-decorative-tooltip = Пазначаны як дэкаратыўны -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Напрыклад, «Малады чалавек садзіцца за стол есці» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Верхні левы кут — змяніць памер -pdfjs-editor-resizer-label-top-middle = Уверсе пасярэдзіне — змяніць памер -pdfjs-editor-resizer-label-top-right = Верхні правы кут — змяніць памер -pdfjs-editor-resizer-label-middle-right = Пасярэдзіне справа — змяніць памер -pdfjs-editor-resizer-label-bottom-right = Правы ніжні кут — змяніць памер -pdfjs-editor-resizer-label-bottom-middle = Пасярэдзіне ўнізе — змяніць памер -pdfjs-editor-resizer-label-bottom-left = Левы ніжні кут — змяніць памер -pdfjs-editor-resizer-label-middle-left = Пасярэдзіне злева — змяніць памер - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Колер падфарбоўкі -pdfjs-editor-colorpicker-button = - .title = Змяніць колер -pdfjs-editor-colorpicker-dropdown = - .aria-label = Выбар колеру -pdfjs-editor-colorpicker-yellow = - .title = Жоўты -pdfjs-editor-colorpicker-green = - .title = Зялёны -pdfjs-editor-colorpicker-blue = - .title = Блакітны -pdfjs-editor-colorpicker-pink = - .title = Ружовы -pdfjs-editor-colorpicker-red = - .title = Чырвоны - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Паказаць усе -pdfjs-editor-highlight-show-all-button = - .title = Паказаць усе diff --git a/media/js/pdf4/web/locale/bg/viewer.ftl b/media/js/pdf4/web/locale/bg/viewer.ftl deleted file mode 100644 index 7522054c02..0000000000 --- a/media/js/pdf4/web/locale/bg/viewer.ftl +++ /dev/null @@ -1,384 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Предишна страница -pdfjs-previous-button-label = Предишна -pdfjs-next-button = - .title = Следваща страница -pdfjs-next-button-label = Следваща -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Страница -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = от { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } от { $pagesCount }) -pdfjs-zoom-out-button = - .title = Намаляване -pdfjs-zoom-out-button-label = Намаляване -pdfjs-zoom-in-button = - .title = Увеличаване -pdfjs-zoom-in-button-label = Увеличаване -pdfjs-zoom-select = - .title = Мащабиране -pdfjs-presentation-mode-button = - .title = Превключване към режим на представяне -pdfjs-presentation-mode-button-label = Режим на представяне -pdfjs-open-file-button = - .title = Отваряне на файл -pdfjs-open-file-button-label = Отваряне -pdfjs-print-button = - .title = Отпечатване -pdfjs-print-button-label = Отпечатване -pdfjs-save-button = - .title = Запазване -pdfjs-save-button-label = Запазване -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Изтегляне -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Изтегляне -pdfjs-bookmark-button = - .title = Текуща страница (преглед на адреса на страницата) -pdfjs-bookmark-button-label = Текуща страница -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Отваряне в приложение -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Отваряне в приложение - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Инструменти -pdfjs-tools-button-label = Инструменти -pdfjs-first-page-button = - .title = Към първата страница -pdfjs-first-page-button-label = Към първата страница -pdfjs-last-page-button = - .title = Към последната страница -pdfjs-last-page-button-label = Към последната страница -pdfjs-page-rotate-cw-button = - .title = Завъртане по час. стрелка -pdfjs-page-rotate-cw-button-label = Завъртане по часовниковата стрелка -pdfjs-page-rotate-ccw-button = - .title = Завъртане обратно на час. стрелка -pdfjs-page-rotate-ccw-button-label = Завъртане обратно на часовниковата стрелка -pdfjs-cursor-text-select-tool-button = - .title = Включване на инструмента за избор на текст -pdfjs-cursor-text-select-tool-button-label = Инструмент за избор на текст -pdfjs-cursor-hand-tool-button = - .title = Включване на инструмента ръка -pdfjs-cursor-hand-tool-button-label = Инструмент ръка -pdfjs-scroll-page-button = - .title = Използване на плъзгане на страници -pdfjs-scroll-page-button-label = Плъзгане на страници -pdfjs-scroll-vertical-button = - .title = Използване на вертикално плъзгане -pdfjs-scroll-vertical-button-label = Вертикално плъзгане -pdfjs-scroll-horizontal-button = - .title = Използване на хоризонтално -pdfjs-scroll-horizontal-button-label = Хоризонтално плъзгане -pdfjs-scroll-wrapped-button = - .title = Използване на мащабируемо плъзгане -pdfjs-scroll-wrapped-button-label = Мащабируемо плъзгане -pdfjs-spread-none-button = - .title = Режимът на сдвояване е изключен -pdfjs-spread-none-button-label = Без сдвояване -pdfjs-spread-odd-button = - .title = Сдвояване, започвайки от нечетните страници -pdfjs-spread-odd-button-label = Нечетните отляво -pdfjs-spread-even-button = - .title = Сдвояване, започвайки от четните страници -pdfjs-spread-even-button-label = Четните отляво - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Свойства на документа… -pdfjs-document-properties-button-label = Свойства на документа… -pdfjs-document-properties-file-name = Име на файл: -pdfjs-document-properties-file-size = Големина на файл: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байта) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байта) -pdfjs-document-properties-title = Заглавие: -pdfjs-document-properties-author = Автор: -pdfjs-document-properties-subject = Тема: -pdfjs-document-properties-keywords = Ключови думи: -pdfjs-document-properties-creation-date = Дата на създаване: -pdfjs-document-properties-modification-date = Дата на промяна: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Създател: -pdfjs-document-properties-producer = PDF произведен от: -pdfjs-document-properties-version = Издание на PDF: -pdfjs-document-properties-page-count = Брой страници: -pdfjs-document-properties-page-size = Размер на страницата: -pdfjs-document-properties-page-size-unit-inches = инч -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = портрет -pdfjs-document-properties-page-size-orientation-landscape = пейзаж -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Правни въпроси - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Бърз преглед: -pdfjs-document-properties-linearized-yes = Да -pdfjs-document-properties-linearized-no = Не -pdfjs-document-properties-close-button = Затваряне - -## Print - -pdfjs-print-progress-message = Подготвяне на документа за отпечатване… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Отказ -pdfjs-printing-not-supported = Внимание: Този четец няма пълна поддръжка на отпечатване. -pdfjs-printing-not-ready = Внимание: Този PDF файл не е напълно зареден за печат. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Превключване на страничната лента -pdfjs-toggle-sidebar-notification-button = - .title = Превключване на страничната лента (документът има структура/прикачени файлове/слоеве) -pdfjs-toggle-sidebar-button-label = Превключване на страничната лента -pdfjs-document-outline-button = - .title = Показване на структурата на документа (двукратно щракване за свиване/разгъване на всичко) -pdfjs-document-outline-button-label = Структура на документа -pdfjs-attachments-button = - .title = Показване на притурките -pdfjs-attachments-button-label = Притурки -pdfjs-layers-button = - .title = Показване на слоевете (двукратно щракване за възстановяване на всички слоеве към състоянието по подразбиране) -pdfjs-layers-button-label = Слоеве -pdfjs-thumbs-button = - .title = Показване на миниатюрите -pdfjs-thumbs-button-label = Миниатюри -pdfjs-current-outline-item-button = - .title = Намиране на текущия елемент от структурата -pdfjs-current-outline-item-button-label = Текущ елемент от структурата -pdfjs-findbar-button = - .title = Намиране в документа -pdfjs-findbar-button-label = Търсене -pdfjs-additional-layers = Допълнителни слоеве - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Страница { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Миниатюра на страница { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Търсене - .placeholder = Търсене в документа… -pdfjs-find-previous-button = - .title = Намиране на предишно съвпадение на фразата -pdfjs-find-previous-button-label = Предишна -pdfjs-find-next-button = - .title = Намиране на следващо съвпадение на фразата -pdfjs-find-next-button-label = Следваща -pdfjs-find-highlight-checkbox = Открояване на всички -pdfjs-find-match-case-checkbox-label = Съвпадение на регистъра -pdfjs-find-match-diacritics-checkbox-label = Без производни букви -pdfjs-find-entire-word-checkbox-label = Цели думи -pdfjs-find-reached-top = Достигнато е началото на документа, продължаване от края -pdfjs-find-reached-bottom = Достигнат е краят на документа, продължаване от началото -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } от { $total } съвпадение - *[other] { $current } от { $total } съвпадения - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Повече от { $limit } съвпадение - *[other] Повече от { $limit } съвпадения - } -pdfjs-find-not-found = Фразата не е намерена - -## Predefined zoom values - -pdfjs-page-scale-width = Ширина на страницата -pdfjs-page-scale-fit = Вместване в страницата -pdfjs-page-scale-auto = Автоматично мащабиране -pdfjs-page-scale-actual = Действителен размер -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Страница { $page } - -## Loading indicator messages - -pdfjs-loading-error = Получи се грешка при зареждане на PDF-а. -pdfjs-invalid-file-error = Невалиден или повреден PDF файл. -pdfjs-missing-file-error = Липсващ PDF файл. -pdfjs-unexpected-response-error = Неочакван отговор от сървъра. -pdfjs-rendering-error = Грешка при изчертаване на страницата. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Анотация { $type }] - -## Password - -pdfjs-password-label = Въведете парола за отваряне на този PDF файл. -pdfjs-password-invalid = Невалидна парола. Моля, опитайте отново. -pdfjs-password-ok-button = Добре -pdfjs-password-cancel-button = Отказ -pdfjs-web-fonts-disabled = Уеб-шрифтовете са забранени: разрешаване на използването на вградените PDF шрифтове. - -## Editing - -pdfjs-editor-free-text-button = - .title = Текст -pdfjs-editor-free-text-button-label = Текст -pdfjs-editor-ink-button = - .title = Рисуване -pdfjs-editor-ink-button-label = Рисуване -pdfjs-editor-stamp-button = - .title = Добавяне или променяне на изображения -pdfjs-editor-stamp-button-label = Добавяне или променяне на изображения -pdfjs-editor-remove-button = - .title = Премахване - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Премахване на рисунката -pdfjs-editor-remove-freetext-button = - .title = Премахване на текста -pdfjs-editor-remove-stamp-button = - .title = Пермахване на изображението -pdfjs-editor-remove-highlight-button = - .title = Премахване на открояването - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Цвят -pdfjs-editor-free-text-size-input = Размер -pdfjs-editor-ink-color-input = Цвят -pdfjs-editor-ink-thickness-input = Дебелина -pdfjs-editor-ink-opacity-input = Прозрачност -pdfjs-editor-stamp-add-image-button = - .title = Добавяне на изображение -pdfjs-editor-stamp-add-image-button-label = Добавяне на изображение -pdfjs-free-text = - .aria-label = Текстов редактор -pdfjs-free-text-default-content = Започнете да пишете… -pdfjs-ink = - .aria-label = Промяна на рисунка -pdfjs-ink-canvas = - .aria-label = Изображение, създадено от потребител - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Алтернативен текст -pdfjs-editor-alt-text-edit-button-label = Промяна на алтернативния текст -pdfjs-editor-alt-text-dialog-label = Изберете от възможностите -pdfjs-editor-alt-text-dialog-description = Алтернативният текст помага на потребителите, когато не могат да видят изображението или то не се зарежда. -pdfjs-editor-alt-text-add-description-label = Добавяне на описание -pdfjs-editor-alt-text-add-description-description = Стремете се към 1-2 изречения, описващи предмета, настройката или действията. -pdfjs-editor-alt-text-mark-decorative-label = Отбелязване като декоративно -pdfjs-editor-alt-text-mark-decorative-description = Използва се за орнаменти или декоративни изображения, като контури и водни знаци. -pdfjs-editor-alt-text-cancel-button = Отказ -pdfjs-editor-alt-text-save-button = Запазване -pdfjs-editor-alt-text-decorative-tooltip = Отбелязване като декоративно -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Например, „Млад мъж седи на маса и се храни“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Горен ляв ъгъл — преоразмеряване -pdfjs-editor-resizer-label-top-middle = Горе в средата — преоразмеряване -pdfjs-editor-resizer-label-top-right = Горен десен ъгъл — преоразмеряване -pdfjs-editor-resizer-label-middle-right = Дясно в средата — преоразмеряване -pdfjs-editor-resizer-label-bottom-right = Долен десен ъгъл — преоразмеряване -pdfjs-editor-resizer-label-bottom-middle = Долу в средата — преоразмеряване -pdfjs-editor-resizer-label-bottom-left = Долен ляв ъгъл — преоразмеряване -pdfjs-editor-resizer-label-middle-left = Ляво в средата — преоразмеряване - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Цвят на открояване -pdfjs-editor-colorpicker-button = - .title = Промяна на цвят -pdfjs-editor-colorpicker-dropdown = - .aria-label = Избор на цвят -pdfjs-editor-colorpicker-yellow = - .title = Жълто -pdfjs-editor-colorpicker-green = - .title = Зелено -pdfjs-editor-colorpicker-blue = - .title = Синьо -pdfjs-editor-colorpicker-pink = - .title = Розово -pdfjs-editor-colorpicker-red = - .title = Червено diff --git a/media/js/pdf4/web/locale/bn/viewer.ftl b/media/js/pdf4/web/locale/bn/viewer.ftl deleted file mode 100644 index 1e20ecb835..0000000000 --- a/media/js/pdf4/web/locale/bn/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = পূর্ববর্তী পাতা -pdfjs-previous-button-label = পূর্ববর্তী -pdfjs-next-button = - .title = পরবর্তী পাতা -pdfjs-next-button-label = পরবর্তী -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = পাতা -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } এর -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } এর { $pageNumber }) -pdfjs-zoom-out-button = - .title = ছোট আকারে প্রদর্শন -pdfjs-zoom-out-button-label = ছোট আকারে প্রদর্শন -pdfjs-zoom-in-button = - .title = বড় আকারে প্রদর্শন -pdfjs-zoom-in-button-label = বড় আকারে প্রদর্শন -pdfjs-zoom-select = - .title = বড় আকারে প্রদর্শন -pdfjs-presentation-mode-button = - .title = উপস্থাপনা মোডে স্যুইচ করুন -pdfjs-presentation-mode-button-label = উপস্থাপনা মোড -pdfjs-open-file-button = - .title = ফাইল খুলুন -pdfjs-open-file-button-label = খুলুন -pdfjs-print-button = - .title = মুদ্রণ -pdfjs-print-button-label = মুদ্রণ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = টুল -pdfjs-tools-button-label = টুল -pdfjs-first-page-button = - .title = প্রথম পাতায় যাও -pdfjs-first-page-button-label = প্রথম পাতায় যাও -pdfjs-last-page-button = - .title = শেষ পাতায় যাও -pdfjs-last-page-button-label = শেষ পাতায় যাও -pdfjs-page-rotate-cw-button = - .title = ঘড়ির কাঁটার দিকে ঘোরাও -pdfjs-page-rotate-cw-button-label = ঘড়ির কাঁটার দিকে ঘোরাও -pdfjs-page-rotate-ccw-button = - .title = ঘড়ির কাঁটার বিপরীতে ঘোরাও -pdfjs-page-rotate-ccw-button-label = ঘড়ির কাঁটার বিপরীতে ঘোরাও -pdfjs-cursor-text-select-tool-button = - .title = লেখা নির্বাচক টুল সক্রিয় করুন -pdfjs-cursor-text-select-tool-button-label = লেখা নির্বাচক টুল -pdfjs-cursor-hand-tool-button = - .title = হ্যান্ড টুল সক্রিয় করুন -pdfjs-cursor-hand-tool-button-label = হ্যান্ড টুল -pdfjs-scroll-vertical-button = - .title = উলম্ব স্ক্রলিং ব্যবহার করুন -pdfjs-scroll-vertical-button-label = উলম্ব স্ক্রলিং -pdfjs-scroll-horizontal-button = - .title = অনুভূমিক স্ক্রলিং ব্যবহার করুন -pdfjs-scroll-horizontal-button-label = অনুভূমিক স্ক্রলিং -pdfjs-scroll-wrapped-button = - .title = Wrapped স্ক্রোলিং ব্যবহার করুন -pdfjs-scroll-wrapped-button-label = Wrapped স্ক্রোলিং -pdfjs-spread-none-button = - .title = পেজ স্প্রেডগুলোতে যোগদান করবেন না -pdfjs-spread-none-button-label = Spreads নেই -pdfjs-spread-odd-button-label = বিজোড় Spreads -pdfjs-spread-even-button-label = জোড় Spreads - -## Document properties dialog - -pdfjs-document-properties-button = - .title = নথি বৈশিষ্ট্য… -pdfjs-document-properties-button-label = নথি বৈশিষ্ট্য… -pdfjs-document-properties-file-name = ফাইলের নাম: -pdfjs-document-properties-file-size = ফাইলের আকার: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } কেবি ({ $size_b } বাইট) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } এমবি ({ $size_b } বাইট) -pdfjs-document-properties-title = শিরোনাম: -pdfjs-document-properties-author = লেখক: -pdfjs-document-properties-subject = বিষয়: -pdfjs-document-properties-keywords = কীওয়ার্ড: -pdfjs-document-properties-creation-date = তৈরির তারিখ: -pdfjs-document-properties-modification-date = পরিবর্তনের তারিখ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = প্রস্তুতকারক: -pdfjs-document-properties-producer = পিডিএফ প্রস্তুতকারক: -pdfjs-document-properties-version = পিডিএফ সংষ্করণ: -pdfjs-document-properties-page-count = মোট পাতা: -pdfjs-document-properties-page-size = পাতার সাইজ: -pdfjs-document-properties-page-size-unit-inches = এর মধ্যে -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = উলম্ব -pdfjs-document-properties-page-size-orientation-landscape = অনুভূমিক -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = লেটার -pdfjs-document-properties-page-size-name-legal = লীগাল - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = হ্যাঁ -pdfjs-document-properties-linearized-no = না -pdfjs-document-properties-close-button = বন্ধ - -## Print - -pdfjs-print-progress-message = মুদ্রণের জন্য নথি প্রস্তুত করা হচ্ছে… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = বাতিল -pdfjs-printing-not-supported = সতর্কতা: এই ব্রাউজারে মুদ্রণ সম্পূর্ণভাবে সমর্থিত নয়। -pdfjs-printing-not-ready = সতর্কীকরণ: পিডিএফটি মুদ্রণের জন্য সম্পূর্ণ লোড হয়নি। - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = সাইডবার টগল করুন -pdfjs-toggle-sidebar-button-label = সাইডবার টগল করুন -pdfjs-document-outline-button = - .title = নথির আউটলাইন দেখাও (সব আইটেম প্রসারিত/সঙ্কুচিত করতে ডবল ক্লিক করুন) -pdfjs-document-outline-button-label = নথির রূপরেখা -pdfjs-attachments-button = - .title = সংযুক্তি দেখাও -pdfjs-attachments-button-label = সংযুক্তি -pdfjs-thumbs-button = - .title = থাম্বনেইল সমূহ প্রদর্শন করুন -pdfjs-thumbs-button-label = থাম্বনেইল সমূহ -pdfjs-findbar-button = - .title = নথির মধ্যে খুঁজুন -pdfjs-findbar-button-label = খুঁজুন - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = পাতা { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } পাতার থাম্বনেইল - -## Find panel button title and messages - -pdfjs-find-input = - .title = খুঁজুন - .placeholder = নথির মধ্যে খুঁজুন… -pdfjs-find-previous-button = - .title = বাক্যাংশের পূর্ববর্তী উপস্থিতি অনুসন্ধান -pdfjs-find-previous-button-label = পূর্ববর্তী -pdfjs-find-next-button = - .title = বাক্যাংশের পরবর্তী উপস্থিতি অনুসন্ধান -pdfjs-find-next-button-label = পরবর্তী -pdfjs-find-highlight-checkbox = সব হাইলাইট করুন -pdfjs-find-match-case-checkbox-label = অক্ষরের ছাঁদ মেলানো -pdfjs-find-entire-word-checkbox-label = সম্পূর্ণ শব্দ -pdfjs-find-reached-top = পাতার শুরুতে পৌছে গেছে, নীচ থেকে আরম্ভ করা হয়েছে -pdfjs-find-reached-bottom = পাতার শেষে পৌছে গেছে, উপর থেকে আরম্ভ করা হয়েছে -pdfjs-find-not-found = বাক্যাংশ পাওয়া যায়নি - -## Predefined zoom values - -pdfjs-page-scale-width = পাতার প্রস্থ -pdfjs-page-scale-fit = পাতা ফিট করুন -pdfjs-page-scale-auto = স্বয়ংক্রিয় জুম -pdfjs-page-scale-actual = প্রকৃত আকার -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = পিডিএফ লোড করার সময় ত্রুটি দেখা দিয়েছে। -pdfjs-invalid-file-error = অকার্যকর অথবা ক্ষতিগ্রস্ত পিডিএফ ফাইল। -pdfjs-missing-file-error = নিখোঁজ PDF ফাইল। -pdfjs-unexpected-response-error = অপ্রত্যাশীত সার্ভার প্রতিক্রিয়া। -pdfjs-rendering-error = পাতা উপস্থাপনার সময় ত্রুটি দেখা দিয়েছে। - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } টীকা] - -## Password - -pdfjs-password-label = পিডিএফ ফাইলটি ওপেন করতে পাসওয়ার্ড দিন। -pdfjs-password-invalid = ভুল পাসওয়ার্ড। অনুগ্রহ করে আবার চেষ্টা করুন। -pdfjs-password-ok-button = ঠিক আছে -pdfjs-password-cancel-button = বাতিল -pdfjs-web-fonts-disabled = ওয়েব ফন্ট নিষ্ক্রিয়: সংযুক্ত পিডিএফ ফন্ট ব্যবহার করা যাচ্ছে না। - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/bo/viewer.ftl b/media/js/pdf4/web/locale/bo/viewer.ftl deleted file mode 100644 index 824eab4ffb..0000000000 --- a/media/js/pdf4/web/locale/bo/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = དྲ་ངོས་སྔོན་མ -pdfjs-previous-button-label = སྔོན་མ -pdfjs-next-button = - .title = དྲ་ངོས་རྗེས་མ -pdfjs-next-button-label = རྗེས་མ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ཤོག་ངོས -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = of { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom Out -pdfjs-zoom-out-button-label = Zoom Out -pdfjs-zoom-in-button = - .title = Zoom In -pdfjs-zoom-in-button-label = Zoom In -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Switch to Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Open File -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Print -pdfjs-print-button-label = Print - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Go to First Page -pdfjs-first-page-button-label = Go to First Page -pdfjs-last-page-button = - .title = Go to Last Page -pdfjs-last-page-button-label = Go to Last Page -pdfjs-page-rotate-cw-button = - .title = Rotate Clockwise -pdfjs-page-rotate-cw-button-label = Rotate Clockwise -pdfjs-page-rotate-ccw-button = - .title = Rotate Counterclockwise -pdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise -pdfjs-cursor-text-select-tool-button = - .title = Enable Text Selection Tool -pdfjs-cursor-text-select-tool-button-label = Text Selection Tool -pdfjs-cursor-hand-tool-button = - .title = Enable Hand Tool -pdfjs-cursor-hand-tool-button-label = Hand Tool -pdfjs-scroll-vertical-button = - .title = Use Vertical Scrolling -pdfjs-scroll-vertical-button-label = Vertical Scrolling -pdfjs-scroll-horizontal-button = - .title = Use Horizontal Scrolling -pdfjs-scroll-horizontal-button-label = Horizontal Scrolling -pdfjs-scroll-wrapped-button = - .title = Use Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = Do not join page spreads -pdfjs-spread-none-button-label = No Spreads -pdfjs-spread-odd-button = - .title = Join page spreads starting with odd-numbered pages -pdfjs-spread-odd-button-label = Odd Spreads -pdfjs-spread-even-button = - .title = Join page spreads starting with even-numbered pages -pdfjs-spread-even-button-label = Even Spreads - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Document Properties… -pdfjs-document-properties-button-label = Document Properties… -pdfjs-document-properties-file-name = File name: -pdfjs-document-properties-file-size = File size: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Title: -pdfjs-document-properties-author = Author: -pdfjs-document-properties-subject = Subject: -pdfjs-document-properties-keywords = Keywords: -pdfjs-document-properties-creation-date = Creation Date: -pdfjs-document-properties-modification-date = Modification Date: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creator: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Page Count: -pdfjs-document-properties-page-size = Page Size: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = landscape -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Yes -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Close - -## Print - -pdfjs-print-progress-message = Preparing document for printing… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancel -pdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser. -pdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggle Sidebar -pdfjs-toggle-sidebar-button-label = Toggle Sidebar -pdfjs-document-outline-button = - .title = Show Document Outline (double-click to expand/collapse all items) -pdfjs-document-outline-button-label = Document Outline -pdfjs-attachments-button = - .title = Show Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-thumbs-button = - .title = Show Thumbnails -pdfjs-thumbs-button-label = Thumbnails -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = Find - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail of Page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find in document… -pdfjs-find-previous-button = - .title = Find the previous occurrence of the phrase -pdfjs-find-previous-button-label = Previous -pdfjs-find-next-button = - .title = Find the next occurrence of the phrase -pdfjs-find-next-button-label = Next -pdfjs-find-highlight-checkbox = Highlight all -pdfjs-find-match-case-checkbox-label = Match case -pdfjs-find-entire-word-checkbox-label = Whole words -pdfjs-find-reached-top = Reached top of document, continued from bottom -pdfjs-find-reached-bottom = Reached end of document, continued from top -pdfjs-find-not-found = Phrase not found - -## Predefined zoom values - -pdfjs-page-scale-width = Page Width -pdfjs-page-scale-fit = Page Fit -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Actual Size -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = An error occurred while loading the PDF. -pdfjs-invalid-file-error = Invalid or corrupted PDF file. -pdfjs-missing-file-error = Missing PDF file. -pdfjs-unexpected-response-error = Unexpected server response. -pdfjs-rendering-error = An error occurred while rendering the page. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Enter the password to open this PDF file. -pdfjs-password-invalid = Invalid password. Please try again. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancel -pdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/br/viewer.ftl b/media/js/pdf4/web/locale/br/viewer.ftl deleted file mode 100644 index 9049f68f12..0000000000 --- a/media/js/pdf4/web/locale/br/viewer.ftl +++ /dev/null @@ -1,313 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pajenn a-raok -pdfjs-previous-button-label = A-raok -pdfjs-next-button = - .title = Pajenn war-lerc'h -pdfjs-next-button-label = War-lerc'h -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pajenn -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = eus { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } war { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoum bihanaat -pdfjs-zoom-out-button-label = Zoum bihanaat -pdfjs-zoom-in-button = - .title = Zoum brasaat -pdfjs-zoom-in-button-label = Zoum brasaat -pdfjs-zoom-select = - .title = Zoum -pdfjs-presentation-mode-button = - .title = Trec'haoliñ etrezek ar mod kinnigadenn -pdfjs-presentation-mode-button-label = Mod kinnigadenn -pdfjs-open-file-button = - .title = Digeriñ ur restr -pdfjs-open-file-button-label = Digeriñ ur restr -pdfjs-print-button = - .title = Moullañ -pdfjs-print-button-label = Moullañ -pdfjs-save-button = - .title = Enrollañ -pdfjs-save-button-label = Enrollañ -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Pellgargañ -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Pellgargañ -pdfjs-bookmark-button-label = Pajenn a-vremañ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Digeriñ en arload -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Digeriñ en arload - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ostilhoù -pdfjs-tools-button-label = Ostilhoù -pdfjs-first-page-button = - .title = Mont d'ar bajenn gentañ -pdfjs-first-page-button-label = Mont d'ar bajenn gentañ -pdfjs-last-page-button = - .title = Mont d'ar bajenn diwezhañ -pdfjs-last-page-button-label = Mont d'ar bajenn diwezhañ -pdfjs-page-rotate-cw-button = - .title = C'hwelañ gant roud ar bizied -pdfjs-page-rotate-cw-button-label = C'hwelañ gant roud ar bizied -pdfjs-page-rotate-ccw-button = - .title = C'hwelañ gant roud gin ar bizied -pdfjs-page-rotate-ccw-button-label = C'hwelañ gant roud gin ar bizied -pdfjs-cursor-text-select-tool-button = - .title = Gweredekaat an ostilh diuzañ testenn -pdfjs-cursor-text-select-tool-button-label = Ostilh diuzañ testenn -pdfjs-cursor-hand-tool-button = - .title = Gweredekaat an ostilh dorn -pdfjs-cursor-hand-tool-button-label = Ostilh dorn -pdfjs-scroll-vertical-button = - .title = Arverañ an dibunañ a-blom -pdfjs-scroll-vertical-button-label = Dibunañ a-serzh -pdfjs-scroll-horizontal-button = - .title = Arverañ an dibunañ a-blaen -pdfjs-scroll-horizontal-button-label = Dibunañ a-blaen -pdfjs-scroll-wrapped-button = - .title = Arverañ an dibunañ paket -pdfjs-scroll-wrapped-button-label = Dibunañ paket -pdfjs-spread-none-button = - .title = Chom hep stagañ ar skignadurioù -pdfjs-spread-none-button-label = Skignadenn ebet -pdfjs-spread-odd-button = - .title = Lakaat ar pajennadoù en ur gregiñ gant ar pajennoù ampar -pdfjs-spread-odd-button-label = Pajennoù ampar -pdfjs-spread-even-button = - .title = Lakaat ar pajennadoù en ur gregiñ gant ar pajennoù par -pdfjs-spread-even-button-label = Pajennoù par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Perzhioù an teul… -pdfjs-document-properties-button-label = Perzhioù an teul… -pdfjs-document-properties-file-name = Anv restr: -pdfjs-document-properties-file-size = Ment ar restr: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } Ke ({ $size_b } eizhbit) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } Me ({ $size_b } eizhbit) -pdfjs-document-properties-title = Titl: -pdfjs-document-properties-author = Aozer: -pdfjs-document-properties-subject = Danvez: -pdfjs-document-properties-keywords = Gerioù-alc'hwez: -pdfjs-document-properties-creation-date = Deiziad krouiñ: -pdfjs-document-properties-modification-date = Deiziad kemmañ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Krouer: -pdfjs-document-properties-producer = Kenderc'her PDF: -pdfjs-document-properties-version = Handelv PDF: -pdfjs-document-properties-page-count = Niver a bajennoù: -pdfjs-document-properties-page-size = Ment ar bajenn: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = poltred -pdfjs-document-properties-page-size-orientation-landscape = gweledva -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Lizher -pdfjs-document-properties-page-size-name-legal = Lezennel - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Gwel Web Herrek: -pdfjs-document-properties-linearized-yes = Ya -pdfjs-document-properties-linearized-no = Ket -pdfjs-document-properties-close-button = Serriñ - -## Print - -pdfjs-print-progress-message = O prientiñ an teul evit moullañ... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Nullañ -pdfjs-printing-not-supported = Kemenn: N'eo ket skoret penn-da-benn ar moullañ gant ar merdeer-mañ. -pdfjs-printing-not-ready = Kemenn: N'hall ket bezañ moullet ar restr PDF rak n'eo ket karget penn-da-benn. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Diskouez/kuzhat ar varrenn gostez -pdfjs-toggle-sidebar-notification-button = - .title = Trec'haoliñ ar varrenn-gostez (ur steuñv pe stagadennoù a zo en teul) -pdfjs-toggle-sidebar-button-label = Diskouez/kuzhat ar varrenn gostez -pdfjs-document-outline-button = - .title = Diskouez steuñv an teul (daouglikit evit brasaat/bihanaat an holl elfennoù) -pdfjs-document-outline-button-label = Sinedoù an teuliad -pdfjs-attachments-button = - .title = Diskouez ar c'henstagadurioù -pdfjs-attachments-button-label = Kenstagadurioù -pdfjs-layers-button = - .title = Diskouez ar gwiskadoù (daou-glikañ evit adderaouekaat an holl gwiskadoù d'o stad dre ziouer) -pdfjs-layers-button-label = Gwiskadoù -pdfjs-thumbs-button = - .title = Diskouez ar melvennoù -pdfjs-thumbs-button-label = Melvennoù -pdfjs-findbar-button = - .title = Klask e-barzh an teuliad -pdfjs-findbar-button-label = Klask -pdfjs-additional-layers = Gwiskadoù ouzhpenn - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pajenn { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Melvenn ar bajenn { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Klask - .placeholder = Klask e-barzh an teuliad -pdfjs-find-previous-button = - .title = Kavout an tamm frazenn kent o klotañ ganti -pdfjs-find-previous-button-label = Kent -pdfjs-find-next-button = - .title = Kavout an tamm frazenn war-lerc'h o klotañ ganti -pdfjs-find-next-button-label = War-lerc'h -pdfjs-find-highlight-checkbox = Usskediñ pep tra -pdfjs-find-match-case-checkbox-label = Teurel evezh ouzh ar pennlizherennoù -pdfjs-find-entire-word-checkbox-label = Gerioù a-bezh -pdfjs-find-reached-top = Tizhet eo bet derou ar bajenn, kenderc'hel diouzh an diaz -pdfjs-find-reached-bottom = Tizhet eo bet dibenn ar bajenn, kenderc'hel diouzh ar c'hrec'h -pdfjs-find-not-found = N'haller ket kavout ar frazenn - -## Predefined zoom values - -pdfjs-page-scale-width = Led ar bajenn -pdfjs-page-scale-fit = Pajenn a-bezh -pdfjs-page-scale-auto = Zoum emgefreek -pdfjs-page-scale-actual = Ment wir -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pajenn { $page } - -## Loading indicator messages - -pdfjs-loading-error = Degouezhet ez eus bet ur fazi e-pad kargañ ar PDF. -pdfjs-invalid-file-error = Restr PDF didalvoudek pe kontronet. -pdfjs-missing-file-error = Restr PDF o vankout. -pdfjs-unexpected-response-error = Respont dic'hortoz a-berzh an dafariad -pdfjs-rendering-error = Degouezhet ez eus bet ur fazi e-pad skrammañ ar bajennad. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Notennañ] - -## Password - -pdfjs-password-label = Enankit ar ger-tremen evit digeriñ ar restr PDF-mañ. -pdfjs-password-invalid = Ger-tremen didalvoudek. Klaskit en-dro mar plij. -pdfjs-password-ok-button = Mat eo -pdfjs-password-cancel-button = Nullañ -pdfjs-web-fonts-disabled = Diweredekaet eo an nodrezhoù web: n'haller ket arverañ an nodrezhoù PDF enframmet. - -## Editing - -pdfjs-editor-free-text-button = - .title = Testenn -pdfjs-editor-free-text-button-label = Testenn -pdfjs-editor-ink-button = - .title = Tresañ -pdfjs-editor-ink-button-label = Tresañ -pdfjs-editor-stamp-button = - .title = Ouzhpennañ pe aozañ skeudennoù -pdfjs-editor-stamp-button-label = Ouzhpennañ pe aozañ skeudennoù - -## Remove button for the various kind of editor. - - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Liv -pdfjs-editor-free-text-size-input = Ment -pdfjs-editor-ink-color-input = Liv -pdfjs-editor-ink-thickness-input = Tevder -pdfjs-editor-ink-opacity-input = Boullder -pdfjs-editor-stamp-add-image-button = - .title = Ouzhpennañ ur skeudenn -pdfjs-editor-stamp-add-image-button-label = Ouzhpennañ ur skeudenn -pdfjs-free-text = - .aria-label = Aozer testennoù -pdfjs-ink = - .aria-label = Aozer tresoù -pdfjs-ink-canvas = - .aria-label = Skeudenn bet krouet gant an implijer·ez - -## Alt-text dialog - -pdfjs-editor-alt-text-add-description-label = Ouzhpennañ un deskrivadur -pdfjs-editor-alt-text-cancel-button = Nullañ -pdfjs-editor-alt-text-save-button = Enrollañ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - - -## Color picker - diff --git a/media/js/pdf4/web/locale/brx/viewer.ftl b/media/js/pdf4/web/locale/brx/viewer.ftl deleted file mode 100644 index 53ff72c560..0000000000 --- a/media/js/pdf4/web/locale/brx/viewer.ftl +++ /dev/null @@ -1,218 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = आगोलनि बिलाइ -pdfjs-previous-button-label = आगोलनि -pdfjs-next-button = - .title = उननि बिलाइ -pdfjs-next-button-label = उननि -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = बिलाइ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } नि -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } नि { $pageNumber }) -pdfjs-zoom-out-button = - .title = फिसायै जुम खालाम -pdfjs-zoom-out-button-label = फिसायै जुम खालाम -pdfjs-zoom-in-button = - .title = गेदेरै जुम खालाम -pdfjs-zoom-in-button-label = गेदेरै जुम खालाम -pdfjs-zoom-select = - .title = जुम खालाम -pdfjs-presentation-mode-button = - .title = दिन्थिफुंनाय म'डआव थां -pdfjs-presentation-mode-button-label = दिन्थिफुंनाय म'ड -pdfjs-open-file-button = - .title = फाइलखौ खेव -pdfjs-open-file-button-label = खेव -pdfjs-print-button = - .title = साफाय -pdfjs-print-button-label = साफाय - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = टुल -pdfjs-tools-button-label = टुल -pdfjs-first-page-button = - .title = गिबि बिलाइआव थां -pdfjs-first-page-button-label = गिबि बिलाइआव थां -pdfjs-last-page-button = - .title = जोबथा बिलाइआव थां -pdfjs-last-page-button-label = जोबथा बिलाइआव थां -pdfjs-page-rotate-cw-button = - .title = घरि गिदिंनाय फार्से फिदिं -pdfjs-page-rotate-cw-button-label = घरि गिदिंनाय फार्से फिदिं -pdfjs-page-rotate-ccw-button = - .title = घरि गिदिंनाय उल्था फार्से फिदिं -pdfjs-page-rotate-ccw-button-label = घरि गिदिंनाय उल्था फार्से फिदिं - -## Document properties dialog - -pdfjs-document-properties-button = - .title = फोरमान बिलाइनि आखुथाय... -pdfjs-document-properties-button-label = फोरमान बिलाइनि आखुथाय... -pdfjs-document-properties-file-name = फाइलनि मुं: -pdfjs-document-properties-file-size = फाइलनि महर: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } बाइट) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } बाइट) -pdfjs-document-properties-title = बिमुं: -pdfjs-document-properties-author = लिरगिरि: -pdfjs-document-properties-subject = आयदा: -pdfjs-document-properties-keywords = गाहाय सोदोब: -pdfjs-document-properties-creation-date = सोरजिनाय अक्ट': -pdfjs-document-properties-modification-date = सुद्रायनाय अक्ट': -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = सोरजिग्रा: -pdfjs-document-properties-producer = PDF दिहुनग्रा: -pdfjs-document-properties-version = PDF बिसान: -pdfjs-document-properties-page-count = बिलाइनि हिसाब: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = प'र्ट्रेट -pdfjs-document-properties-page-size-orientation-landscape = लेण्डस्केप -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = लायजाम - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = नंगौ -pdfjs-document-properties-linearized-no = नङा -pdfjs-document-properties-close-button = बन्द खालाम - -## Print - -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = नेवसि -pdfjs-printing-not-supported = सांग्रांथि: साफायनाया बे ब्राउजारजों आबुङै हेफाजाब होजाया। -pdfjs-printing-not-ready = सांग्रांथि: PDF खौ साफायनायनि थाखाय फुरायै ल'ड खालामाखै। - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = टग्गल साइडबार -pdfjs-toggle-sidebar-button-label = टग्गल साइडबार -pdfjs-document-outline-button-label = फोरमान बिलाइ सिमा हांखो -pdfjs-attachments-button = - .title = नांजाब होनायखौ दिन्थि -pdfjs-attachments-button-label = नांजाब होनाय -pdfjs-thumbs-button = - .title = थामनेइलखौ दिन्थि -pdfjs-thumbs-button-label = थामनेइल -pdfjs-findbar-button = - .title = फोरमान बिलाइआव नागिरना दिहुन -pdfjs-findbar-button-label = नायगिरना दिहुन - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = बिलाइ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = बिलाइ { $page } नि थामनेइल - -## Find panel button title and messages - -pdfjs-find-input = - .title = नायगिरना दिहुन - .placeholder = फोरमान बिलाइआव नागिरना दिहुन... -pdfjs-find-previous-button = - .title = बाथ्रा खोन्दोबनि सिगांनि नुजाथिनायखौ नागिर -pdfjs-find-previous-button-label = आगोलनि -pdfjs-find-next-button = - .title = बाथ्रा खोन्दोबनि उननि नुजाथिनायखौ नागिर -pdfjs-find-next-button-label = उननि -pdfjs-find-highlight-checkbox = गासैखौबो हाइलाइट खालाम -pdfjs-find-match-case-checkbox-label = गोरोबनाय केस -pdfjs-find-reached-top = थालो निफ्राय जागायनानै फोरमान बिलाइनि बिजौआव सौहैबाय -pdfjs-find-reached-bottom = बिजौ निफ्राय जागायनानै फोरमान बिलाइनि बिजौआव सौहैबाय -pdfjs-find-not-found = बाथ्रा खोन्दोब मोनाखै - -## Predefined zoom values - -pdfjs-page-scale-width = बिलाइनि गुवार -pdfjs-page-scale-fit = बिलाइ गोरोबनाय -pdfjs-page-scale-auto = गावनोगाव जुम -pdfjs-page-scale-actual = थार महर -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF ल'ड खालामनाय समाव मोनसे गोरोन्थि जाबाय। -pdfjs-invalid-file-error = बाहायजायै एबा गाज्रि जानाय PDF फाइल -pdfjs-missing-file-error = गोमानाय PDF फाइल -pdfjs-unexpected-response-error = मिजिंथियै सार्भार फिननाय। -pdfjs-rendering-error = बिलाइखौ राव सोलायनाय समाव मोनसे गोरोन्थि जादों। - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } सोदोब बेखेवनाय] - -## Password - -pdfjs-password-label = बे PDF फाइलखौ खेवनो पासवार्ड हाबहो। -pdfjs-password-invalid = बाहायजायै पासवार्ड। अननानै फिन नाजा। -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = नेवसि -pdfjs-web-fonts-disabled = वेब फन्टखौ लोरबां खालामबाय: अरजाबहोनाय PDF फन्टखौ बाहायनो हायाखै। - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/bs/viewer.ftl b/media/js/pdf4/web/locale/bs/viewer.ftl deleted file mode 100644 index 39440424fc..0000000000 --- a/media/js/pdf4/web/locale/bs/viewer.ftl +++ /dev/null @@ -1,223 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Prethodna strana -pdfjs-previous-button-label = Prethodna -pdfjs-next-button = - .title = Sljedeća strna -pdfjs-next-button-label = Sljedeća -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Strana -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = od { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } od { $pagesCount }) -pdfjs-zoom-out-button = - .title = Umanji -pdfjs-zoom-out-button-label = Umanji -pdfjs-zoom-in-button = - .title = Uvećaj -pdfjs-zoom-in-button-label = Uvećaj -pdfjs-zoom-select = - .title = Uvećanje -pdfjs-presentation-mode-button = - .title = Prebaci se u prezentacijski režim -pdfjs-presentation-mode-button-label = Prezentacijski režim -pdfjs-open-file-button = - .title = Otvori fajl -pdfjs-open-file-button-label = Otvori -pdfjs-print-button = - .title = Štampaj -pdfjs-print-button-label = Štampaj - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Alati -pdfjs-tools-button-label = Alati -pdfjs-first-page-button = - .title = Idi na prvu stranu -pdfjs-first-page-button-label = Idi na prvu stranu -pdfjs-last-page-button = - .title = Idi na zadnju stranu -pdfjs-last-page-button-label = Idi na zadnju stranu -pdfjs-page-rotate-cw-button = - .title = Rotiraj u smjeru kazaljke na satu -pdfjs-page-rotate-cw-button-label = Rotiraj u smjeru kazaljke na satu -pdfjs-page-rotate-ccw-button = - .title = Rotiraj suprotno smjeru kazaljke na satu -pdfjs-page-rotate-ccw-button-label = Rotiraj suprotno smjeru kazaljke na satu -pdfjs-cursor-text-select-tool-button = - .title = Omogući alat za označavanje teksta -pdfjs-cursor-text-select-tool-button-label = Alat za označavanje teksta -pdfjs-cursor-hand-tool-button = - .title = Omogući ručni alat -pdfjs-cursor-hand-tool-button-label = Ručni alat - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Svojstva dokumenta... -pdfjs-document-properties-button-label = Svojstva dokumenta... -pdfjs-document-properties-file-name = Naziv fajla: -pdfjs-document-properties-file-size = Veličina fajla: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajta) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajta) -pdfjs-document-properties-title = Naslov: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Predmet: -pdfjs-document-properties-keywords = Ključne riječi: -pdfjs-document-properties-creation-date = Datum kreiranja: -pdfjs-document-properties-modification-date = Datum promjene: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Kreator: -pdfjs-document-properties-producer = PDF stvaratelj: -pdfjs-document-properties-version = PDF verzija: -pdfjs-document-properties-page-count = Broj stranica: -pdfjs-document-properties-page-size = Veličina stranice: -pdfjs-document-properties-page-size-unit-inches = u -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = uspravno -pdfjs-document-properties-page-size-orientation-landscape = vodoravno -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Pismo -pdfjs-document-properties-page-size-name-legal = Pravni - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-close-button = Zatvori - -## Print - -pdfjs-print-progress-message = Pripremam dokument za štampu… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Otkaži -pdfjs-printing-not-supported = Upozorenje: Štampanje nije u potpunosti podržano u ovom browseru. -pdfjs-printing-not-ready = Upozorenje: PDF nije u potpunosti učitan za štampanje. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Uključi/isključi bočnu traku -pdfjs-toggle-sidebar-button-label = Uključi/isključi bočnu traku -pdfjs-document-outline-button = - .title = Prikaži outline dokumenta (dvoklik za skupljanje/širenje svih stavki) -pdfjs-document-outline-button-label = Konture dokumenta -pdfjs-attachments-button = - .title = Prikaži priloge -pdfjs-attachments-button-label = Prilozi -pdfjs-thumbs-button = - .title = Prikaži thumbnailove -pdfjs-thumbs-button-label = Thumbnailovi -pdfjs-findbar-button = - .title = Pronađi u dokumentu -pdfjs-findbar-button-label = Pronađi - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Strana { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail strane { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Pronađi - .placeholder = Pronađi u dokumentu… -pdfjs-find-previous-button = - .title = Pronađi prethodno pojavljivanje fraze -pdfjs-find-previous-button-label = Prethodno -pdfjs-find-next-button = - .title = Pronađi sljedeće pojavljivanje fraze -pdfjs-find-next-button-label = Sljedeće -pdfjs-find-highlight-checkbox = Označi sve -pdfjs-find-match-case-checkbox-label = Osjetljivost na karaktere -pdfjs-find-reached-top = Dostigao sam vrh dokumenta, nastavljam sa dna -pdfjs-find-reached-bottom = Dostigao sam kraj dokumenta, nastavljam sa vrha -pdfjs-find-not-found = Fraza nije pronađena - -## Predefined zoom values - -pdfjs-page-scale-width = Širina strane -pdfjs-page-scale-fit = Uklopi stranu -pdfjs-page-scale-auto = Automatsko uvećanje -pdfjs-page-scale-actual = Stvarna veličina -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Došlo je do greške prilikom učitavanja PDF-a. -pdfjs-invalid-file-error = Neispravan ili oštećen PDF fajl. -pdfjs-missing-file-error = Nedostaje PDF fajl. -pdfjs-unexpected-response-error = Neočekivani odgovor servera. -pdfjs-rendering-error = Došlo je do greške prilikom renderiranja strane. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } pribilješka] - -## Password - -pdfjs-password-label = Upišite lozinku da biste otvorili ovaj PDF fajl. -pdfjs-password-invalid = Pogrešna lozinka. Pokušajte ponovo. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Otkaži -pdfjs-web-fonts-disabled = Web fontovi su onemogućeni: nemoguće koristiti ubačene PDF fontove. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ca/viewer.ftl b/media/js/pdf4/web/locale/ca/viewer.ftl deleted file mode 100644 index 575dc5fb31..0000000000 --- a/media/js/pdf4/web/locale/ca/viewer.ftl +++ /dev/null @@ -1,299 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pàgina anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Pàgina següent -pdfjs-next-button-label = Següent -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pàgina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Redueix -pdfjs-zoom-out-button-label = Redueix -pdfjs-zoom-in-button = - .title = Amplia -pdfjs-zoom-in-button-label = Amplia -pdfjs-zoom-select = - .title = Escala -pdfjs-presentation-mode-button = - .title = Canvia al mode de presentació -pdfjs-presentation-mode-button-label = Mode de presentació -pdfjs-open-file-button = - .title = Obre el fitxer -pdfjs-open-file-button-label = Obre -pdfjs-print-button = - .title = Imprimeix -pdfjs-print-button-label = Imprimeix -pdfjs-save-button = - .title = Desa -pdfjs-save-button-label = Desa -pdfjs-bookmark-button = - .title = Pàgina actual (mostra l'URL de la pàgina actual) -pdfjs-bookmark-button-label = Pàgina actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Obre en una aplicació -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Obre en una aplicació - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Eines -pdfjs-tools-button-label = Eines -pdfjs-first-page-button = - .title = Vés a la primera pàgina -pdfjs-first-page-button-label = Vés a la primera pàgina -pdfjs-last-page-button = - .title = Vés a l'última pàgina -pdfjs-last-page-button-label = Vés a l'última pàgina -pdfjs-page-rotate-cw-button = - .title = Gira cap a la dreta -pdfjs-page-rotate-cw-button-label = Gira cap a la dreta -pdfjs-page-rotate-ccw-button = - .title = Gira cap a l'esquerra -pdfjs-page-rotate-ccw-button-label = Gira cap a l'esquerra -pdfjs-cursor-text-select-tool-button = - .title = Habilita l'eina de selecció de text -pdfjs-cursor-text-select-tool-button-label = Eina de selecció de text -pdfjs-cursor-hand-tool-button = - .title = Habilita l'eina de mà -pdfjs-cursor-hand-tool-button-label = Eina de mà -pdfjs-scroll-page-button = - .title = Usa el desplaçament de pàgina -pdfjs-scroll-page-button-label = Desplaçament de pàgina -pdfjs-scroll-vertical-button = - .title = Utilitza el desplaçament vertical -pdfjs-scroll-vertical-button-label = Desplaçament vertical -pdfjs-scroll-horizontal-button = - .title = Utilitza el desplaçament horitzontal -pdfjs-scroll-horizontal-button-label = Desplaçament horitzontal -pdfjs-scroll-wrapped-button = - .title = Activa el desplaçament continu -pdfjs-scroll-wrapped-button-label = Desplaçament continu -pdfjs-spread-none-button = - .title = No agrupis les pàgines de dues en dues -pdfjs-spread-none-button-label = Una sola pàgina -pdfjs-spread-odd-button = - .title = Mostra dues pàgines començant per les pàgines de numeració senar -pdfjs-spread-odd-button-label = Doble pàgina (senar) -pdfjs-spread-even-button = - .title = Mostra dues pàgines començant per les pàgines de numeració parell -pdfjs-spread-even-button-label = Doble pàgina (parell) - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propietats del document… -pdfjs-document-properties-button-label = Propietats del document… -pdfjs-document-properties-file-name = Nom del fitxer: -pdfjs-document-properties-file-size = Mida del fitxer: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Títol: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Assumpte: -pdfjs-document-properties-keywords = Paraules clau: -pdfjs-document-properties-creation-date = Data de creació: -pdfjs-document-properties-modification-date = Data de modificació: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creador: -pdfjs-document-properties-producer = Generador de PDF: -pdfjs-document-properties-version = Versió de PDF: -pdfjs-document-properties-page-count = Nombre de pàgines: -pdfjs-document-properties-page-size = Mida de la pàgina: -pdfjs-document-properties-page-size-unit-inches = polzades -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = apaïsat -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web ràpida: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Tanca - -## Print - -pdfjs-print-progress-message = S'està preparant la impressió del document… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancel·la -pdfjs-printing-not-supported = Avís: la impressió no és plenament funcional en aquest navegador. -pdfjs-printing-not-ready = Atenció: el PDF no s'ha acabat de carregar per imprimir-lo. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Mostra/amaga la barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Mostra/amaga la barra lateral (el document conté un esquema, adjuncions o capes) -pdfjs-toggle-sidebar-button-label = Mostra/amaga la barra lateral -pdfjs-document-outline-button = - .title = Mostra l'esquema del document (doble clic per ampliar/reduir tots els elements) -pdfjs-document-outline-button-label = Esquema del document -pdfjs-attachments-button = - .title = Mostra les adjuncions -pdfjs-attachments-button-label = Adjuncions -pdfjs-layers-button = - .title = Mostra les capes (doble clic per restablir totes les capes al seu estat per defecte) -pdfjs-layers-button-label = Capes -pdfjs-thumbs-button = - .title = Mostra les miniatures -pdfjs-thumbs-button-label = Miniatures -pdfjs-current-outline-item-button = - .title = Cerca l'element d'esquema actual -pdfjs-current-outline-item-button-label = Element d'esquema actual -pdfjs-findbar-button = - .title = Cerca al document -pdfjs-findbar-button-label = Cerca -pdfjs-additional-layers = Capes addicionals - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pàgina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de la pàgina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Cerca - .placeholder = Cerca al document… -pdfjs-find-previous-button = - .title = Cerca l'anterior coincidència de l'expressió -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Cerca la següent coincidència de l'expressió -pdfjs-find-next-button-label = Següent -pdfjs-find-highlight-checkbox = Ressalta-ho tot -pdfjs-find-match-case-checkbox-label = Distingeix entre majúscules i minúscules -pdfjs-find-match-diacritics-checkbox-label = Respecta els diacrítics -pdfjs-find-entire-word-checkbox-label = Paraules senceres -pdfjs-find-reached-top = S'ha arribat al principi del document, es continua pel final -pdfjs-find-reached-bottom = S'ha arribat al final del document, es continua pel principi -pdfjs-find-not-found = No s'ha trobat l'expressió - -## Predefined zoom values - -pdfjs-page-scale-width = Amplada de la pàgina -pdfjs-page-scale-fit = Ajusta la pàgina -pdfjs-page-scale-auto = Zoom automàtic -pdfjs-page-scale-actual = Mida real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pàgina { $page } - -## Loading indicator messages - -pdfjs-loading-error = S'ha produït un error en carregar el PDF. -pdfjs-invalid-file-error = El fitxer PDF no és vàlid o està malmès. -pdfjs-missing-file-error = Falta el fitxer PDF. -pdfjs-unexpected-response-error = Resposta inesperada del servidor. -pdfjs-rendering-error = S'ha produït un error mentre es renderitzava la pàgina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotació { $type }] - -## Password - -pdfjs-password-label = Introduïu la contrasenya per obrir aquest fitxer PDF. -pdfjs-password-invalid = La contrasenya no és vàlida. Torneu-ho a provar. -pdfjs-password-ok-button = D'acord -pdfjs-password-cancel-button = Cancel·la -pdfjs-web-fonts-disabled = Els tipus de lletra web estan desactivats: no es poden utilitzar els tipus de lletra incrustats al PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Dibuixa -pdfjs-editor-ink-button-label = Dibuixa -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Mida -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Gruix -pdfjs-editor-ink-opacity-input = Opacitat -pdfjs-free-text = - .aria-label = Editor de text -pdfjs-free-text-default-content = Escriviu… -pdfjs-ink = - .aria-label = Editor de dibuix -pdfjs-ink-canvas = - .aria-label = Imatge creada per l'usuari - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/cak/viewer.ftl b/media/js/pdf4/web/locale/cak/viewer.ftl deleted file mode 100644 index f40c1e92a4..0000000000 --- a/media/js/pdf4/web/locale/cak/viewer.ftl +++ /dev/null @@ -1,291 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Jun kan ruxaq -pdfjs-previous-button-label = Jun kan -pdfjs-next-button = - .title = Jun chik ruxaq -pdfjs-next-button-label = Jun chik -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Ruxaq -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = richin { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } richin { $pagesCount }) -pdfjs-zoom-out-button = - .title = Tich'utinirisäx -pdfjs-zoom-out-button-label = Tich'utinirisäx -pdfjs-zoom-in-button = - .title = Tinimirisäx -pdfjs-zoom-in-button-label = Tinimirisäx -pdfjs-zoom-select = - .title = Sum -pdfjs-presentation-mode-button = - .title = Tijal ri rub'anikil niwachin -pdfjs-presentation-mode-button-label = Pa rub'eyal niwachin -pdfjs-open-file-button = - .title = Tijaq Yakb'äl -pdfjs-open-file-button-label = Tijaq -pdfjs-print-button = - .title = Titz'ajb'äx -pdfjs-print-button-label = Titz'ajb'äx -pdfjs-save-button = - .title = Tiyak -pdfjs-save-button-label = Tiyak -pdfjs-bookmark-button-label = Ruxaq k'o wakami - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Samajib'äl -pdfjs-tools-button-label = Samajib'äl -pdfjs-first-page-button = - .title = Tib'e pa nab'ey ruxaq -pdfjs-first-page-button-label = Tib'e pa nab'ey ruxaq -pdfjs-last-page-button = - .title = Tib'e pa ruk'isib'äl ruxaq -pdfjs-last-page-button-label = Tib'e pa ruk'isib'äl ruxaq -pdfjs-page-rotate-cw-button = - .title = Tisutïx pan ajkiq'a' -pdfjs-page-rotate-cw-button-label = Tisutïx pan ajkiq'a' -pdfjs-page-rotate-ccw-button = - .title = Tisutïx pan ajxokon -pdfjs-page-rotate-ccw-button-label = Tisutïx pan ajxokon -pdfjs-cursor-text-select-tool-button = - .title = Titzij ri rusamajib'al Rucha'ik Rucholajem Tzij -pdfjs-cursor-text-select-tool-button-label = Rusamajib'al Rucha'ik Rucholajem Tzij -pdfjs-cursor-hand-tool-button = - .title = Titzij ri q'ab'aj samajib'äl -pdfjs-cursor-hand-tool-button-label = Q'ab'aj Samajib'äl -pdfjs-scroll-page-button = - .title = Tokisäx Ruxaq Q'axanem -pdfjs-scroll-page-button-label = Ruxaq Q'axanem -pdfjs-scroll-vertical-button = - .title = Tokisäx Pa'äl Q'axanem -pdfjs-scroll-vertical-button-label = Pa'äl Q'axanem -pdfjs-scroll-horizontal-button = - .title = Tokisäx Kotz'öl Q'axanem -pdfjs-scroll-horizontal-button-label = Kotz'öl Q'axanem -pdfjs-scroll-wrapped-button = - .title = Tokisäx Tzub'aj Q'axanem -pdfjs-scroll-wrapped-button-label = Tzub'aj Q'axanem -pdfjs-spread-none-button = - .title = Man ketun taq ruxaq pa rub'eyal wuj -pdfjs-spread-none-button-label = Majun Rub'eyal -pdfjs-spread-odd-button = - .title = Ke'atunu' ri taq ruxaq rik'in natikirisaj rik'in jun man k'ulaj ta rajilab'al -pdfjs-spread-odd-button-label = Man K'ulaj Ta Rub'eyal -pdfjs-spread-even-button = - .title = Ke'atunu' ri taq ruxaq rik'in natikirisaj rik'in jun k'ulaj rajilab'al -pdfjs-spread-even-button-label = K'ulaj Rub'eyal - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Taq richinil wuj… -pdfjs-document-properties-button-label = Taq richinil wuj… -pdfjs-document-properties-file-name = Rub'i' yakb'äl: -pdfjs-document-properties-file-size = Runimilem yakb'äl: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = B'i'aj: -pdfjs-document-properties-author = B'anel: -pdfjs-document-properties-subject = Taqikil: -pdfjs-document-properties-keywords = Kixe'el taq tzij: -pdfjs-document-properties-creation-date = Ruq'ijul xtz'uk: -pdfjs-document-properties-modification-date = Ruq'ijul xjalwachïx: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Q'inonel: -pdfjs-document-properties-producer = PDF b'anöy: -pdfjs-document-properties-version = PDF ruwäch: -pdfjs-document-properties-page-count = Jarupe' ruxaq: -pdfjs-document-properties-page-size = Runimilem ri Ruxaq: -pdfjs-document-properties-page-size-unit-inches = pa -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = rupalem -pdfjs-document-properties-page-size-orientation-landscape = rukotz'olem -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Loman wuj -pdfjs-document-properties-page-size-name-legal = Taqanel tzijol - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Anin Rutz'etik Ajk'amaya'l: -pdfjs-document-properties-linearized-yes = Ja' -pdfjs-document-properties-linearized-no = Mani -pdfjs-document-properties-close-button = Titz'apïx - -## Print - -pdfjs-print-progress-message = Ruchojmirisaxik wuj richin nitz'ajb'äx… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Tiq'at -pdfjs-printing-not-supported = Rutzijol k'ayewal: Ri rutz'ajb'axik man koch'el ta ronojel pa re okik'amaya'l re'. -pdfjs-printing-not-ready = Rutzijol k'ayewal: Ri PDF man xusamajij ta ronojel richin nitz'ajb'äx. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Tijal ri ajxikin kajtz'ik -pdfjs-toggle-sidebar-notification-button = - .title = Tik'ex ri ajxikin yuqkajtz'ik (ri wuj eruk'wan taq ruchi'/taqo/kuchuj) -pdfjs-toggle-sidebar-button-label = Tijal ri ajxikin kajtz'ik -pdfjs-document-outline-button = - .title = Tik'ut pe ruch'akulal wuj (kamul-pitz'oj richin nirik'/nich'utinirisäx ronojel ruch'akulal) -pdfjs-document-outline-button-label = Ruch'akulal wuj -pdfjs-attachments-button = - .title = Kek'ut pe ri taq taqoj -pdfjs-attachments-button-label = Taq taqoj -pdfjs-layers-button = - .title = Kek'ut taq Kuchuj (ka'i'-pitz' richin yetzolïx ronojel ri taq kuchuj e k'o wi) -pdfjs-layers-button-label = Taq kuchuj -pdfjs-thumbs-button = - .title = Kek'ut pe taq ch'utiq -pdfjs-thumbs-button-label = Koköj -pdfjs-current-outline-item-button = - .title = Kekanöx Taq Ch'akulal Kik'wan Chib'äl -pdfjs-current-outline-item-button-label = Taq Ch'akulal Kik'wan Chib'äl -pdfjs-findbar-button = - .title = Tikanöx chupam ri wuj -pdfjs-findbar-button-label = Tikanöx -pdfjs-additional-layers = Tz'aqat ta Kuchuj - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Ruxaq { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Ruch'utinirisaxik ruxaq { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Tikanöx - .placeholder = Tikanöx pa wuj… -pdfjs-find-previous-button = - .title = Tib'an b'enam pa ri jun kan q'aptzij xilitäj -pdfjs-find-previous-button-label = Jun kan -pdfjs-find-next-button = - .title = Tib'e pa ri jun chik pajtzij xilitäj -pdfjs-find-next-button-label = Jun chik -pdfjs-find-highlight-checkbox = Tiya' retal ronojel -pdfjs-find-match-case-checkbox-label = Tuk'äm ri' kik'in taq nimatz'ib' chuqa' taq ch'utitz'ib' -pdfjs-find-match-diacritics-checkbox-label = Tiya' Kikojol Tz'aqat taq Tz'ib' -pdfjs-find-entire-word-checkbox-label = Tz'aqät taq tzij -pdfjs-find-reached-top = Xb'eq'i' ri rutikirib'al wuj, xtikanöx k'a pa ruk'isib'äl -pdfjs-find-reached-bottom = Xb'eq'i' ri ruk'isib'äl wuj, xtikanöx pa rutikirib'al -pdfjs-find-not-found = Man xilitäj ta ri pajtzij - -## Predefined zoom values - -pdfjs-page-scale-width = Ruwa ruxaq -pdfjs-page-scale-fit = Tinuk' ruxaq -pdfjs-page-scale-auto = Yonil chi nimilem -pdfjs-page-scale-actual = Runimilem Wakami -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Ruxaq { $page } - -## Loading indicator messages - -pdfjs-loading-error = Xk'ulwachitäj jun sach'oj toq xnuk'ux ri PDF . -pdfjs-invalid-file-error = Man oke ta o yujtajinäq ri PDF yakb'äl. -pdfjs-missing-file-error = Man xilitäj ta ri PDF yakb'äl. -pdfjs-unexpected-response-error = Man oyob'en ta tz'olin rutzij ruk'u'x samaj. -pdfjs-rendering-error = Xk'ulwachitäj jun sachoj toq ninuk'wachij ri ruxaq. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Tz'ib'anïk] - -## Password - -pdfjs-password-label = Tatz'ib'aj ri ewan tzij richin najäq re yakb'äl re' pa PDF. -pdfjs-password-invalid = Man okel ta ri ewan tzij: Tatojtob'ej chik. -pdfjs-password-ok-button = Ütz -pdfjs-password-cancel-button = Tiq'at -pdfjs-web-fonts-disabled = E chupül ri taq ajk'amaya'l tz'ib': man tikirel ta nokisäx ri taq tz'ib' PDF pa ch'ikenïk - -## Editing - -pdfjs-editor-free-text-button = - .title = Rucholajem tz'ib' -pdfjs-editor-free-text-button-label = Rucholajem tz'ib' -pdfjs-editor-ink-button = - .title = Tiwachib'ëx -pdfjs-editor-ink-button-label = Tiwachib'ëx -# Editor Parameters -pdfjs-editor-free-text-color-input = B'onil -pdfjs-editor-free-text-size-input = Nimilem -pdfjs-editor-ink-color-input = B'onil -pdfjs-editor-ink-thickness-input = Rupimil -pdfjs-editor-ink-opacity-input = Q'equmal -pdfjs-free-text = - .aria-label = Nuk'unel tz'ib'atzij -pdfjs-free-text-default-content = Titikitisäx rutz'ib'axik… -pdfjs-ink = - .aria-label = Nuk'unel wachib'äl -pdfjs-ink-canvas = - .aria-label = Wachib'äl nuk'un ruma okisaxel - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ckb/viewer.ftl b/media/js/pdf4/web/locale/ckb/viewer.ftl deleted file mode 100644 index ae87335b8b..0000000000 --- a/media/js/pdf4/web/locale/ckb/viewer.ftl +++ /dev/null @@ -1,242 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = پەڕەی پێشوو -pdfjs-previous-button-label = پێشوو -pdfjs-next-button = - .title = پەڕەی دوواتر -pdfjs-next-button-label = دوواتر -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = پەرە -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = لە { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } لە { $pagesCount }) -pdfjs-zoom-out-button = - .title = ڕۆچوونی -pdfjs-zoom-out-button-label = ڕۆچوونی -pdfjs-zoom-in-button = - .title = هێنانەپێش -pdfjs-zoom-in-button-label = هێنانەپێش -pdfjs-zoom-select = - .title = زووم -pdfjs-presentation-mode-button = - .title = گۆڕین بۆ دۆخی پێشکەشکردن -pdfjs-presentation-mode-button-label = دۆخی پێشکەشکردن -pdfjs-open-file-button = - .title = پەڕگە بکەرەوە -pdfjs-open-file-button-label = کردنەوە -pdfjs-print-button = - .title = چاپکردن -pdfjs-print-button-label = چاپکردن - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ئامرازەکان -pdfjs-tools-button-label = ئامرازەکان -pdfjs-first-page-button = - .title = برۆ بۆ یەکەم پەڕە -pdfjs-first-page-button-label = بڕۆ بۆ یەکەم پەڕە -pdfjs-last-page-button = - .title = بڕۆ بۆ کۆتا پەڕە -pdfjs-last-page-button-label = بڕۆ بۆ کۆتا پەڕە -pdfjs-page-rotate-cw-button = - .title = ئاڕاستەی میلی کاتژمێر -pdfjs-page-rotate-cw-button-label = ئاڕاستەی میلی کاتژمێر -pdfjs-page-rotate-ccw-button = - .title = پێچەوانەی میلی کاتژمێر -pdfjs-page-rotate-ccw-button-label = پێچەوانەی میلی کاتژمێر -pdfjs-cursor-text-select-tool-button = - .title = توڵامرازی نیشانکەری دەق چالاک بکە -pdfjs-cursor-text-select-tool-button-label = توڵامرازی نیشانکەری دەق -pdfjs-cursor-hand-tool-button = - .title = توڵامرازی دەستی چالاک بکە -pdfjs-cursor-hand-tool-button-label = توڵامرازی دەستی -pdfjs-scroll-vertical-button = - .title = ناردنی ئەستوونی بەکاربێنە -pdfjs-scroll-vertical-button-label = ناردنی ئەستوونی -pdfjs-scroll-horizontal-button = - .title = ناردنی ئاسۆیی بەکاربێنە -pdfjs-scroll-horizontal-button-label = ناردنی ئاسۆیی -pdfjs-scroll-wrapped-button = - .title = ناردنی لوولکراو بەکاربێنە -pdfjs-scroll-wrapped-button-label = ناردنی لوولکراو - -## Document properties dialog - -pdfjs-document-properties-button = - .title = تایبەتمەندییەکانی بەڵگەنامە... -pdfjs-document-properties-button-label = تایبەتمەندییەکانی بەڵگەنامە... -pdfjs-document-properties-file-name = ناوی پەڕگە: -pdfjs-document-properties-file-size = قەبارەی پەڕگە: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } کب ({ $size_b } بایت) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } مب ({ $size_b } بایت) -pdfjs-document-properties-title = سەردێڕ: -pdfjs-document-properties-author = نووسەر -pdfjs-document-properties-subject = بابەت: -pdfjs-document-properties-keywords = کلیلەوشە: -pdfjs-document-properties-creation-date = بەرواری درووستکردن: -pdfjs-document-properties-modification-date = بەرواری دەستکاریکردن: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = درووستکەر: -pdfjs-document-properties-producer = بەرهەمهێنەری PDF: -pdfjs-document-properties-version = وەشانی PDF: -pdfjs-document-properties-page-count = ژمارەی پەرەکان: -pdfjs-document-properties-page-size = قەبارەی پەڕە: -pdfjs-document-properties-page-size-unit-inches = ئینچ -pdfjs-document-properties-page-size-unit-millimeters = ملم -pdfjs-document-properties-page-size-orientation-portrait = پۆرترەیت(درێژ) -pdfjs-document-properties-page-size-orientation-landscape = پانیی -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = نامە -pdfjs-document-properties-page-size-name-legal = یاسایی - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = پیشاندانی وێبی خێرا: -pdfjs-document-properties-linearized-yes = بەڵێ -pdfjs-document-properties-linearized-no = نەخێر -pdfjs-document-properties-close-button = داخستن - -## Print - -pdfjs-print-progress-message = بەڵگەنامە ئامادەدەکرێت بۆ چاپکردن... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = پاشگەزبوونەوە -pdfjs-printing-not-supported = ئاگاداربە: چاپکردن بە تەواوی پشتگیر ناکرێت لەم وێبگەڕە. -pdfjs-printing-not-ready = ئاگاداربە: PDF بە تەواوی بارنەبووە بۆ چاپکردن. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = لاتەنیشت پیشاندان/شاردنەوە -pdfjs-toggle-sidebar-button-label = لاتەنیشت پیشاندان/شاردنەوە -pdfjs-document-outline-button-label = سنووری چوارچێوە -pdfjs-attachments-button = - .title = پاشکۆکان پیشان بدە -pdfjs-attachments-button-label = پاشکۆکان -pdfjs-layers-button-label = چینەکان -pdfjs-thumbs-button = - .title = وێنۆچکە پیشان بدە -pdfjs-thumbs-button-label = وێنۆچکە -pdfjs-findbar-button = - .title = لە بەڵگەنامە بگەرێ -pdfjs-findbar-button-label = دۆزینەوە -pdfjs-additional-layers = چینی زیاتر - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = پەڕەی { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = وێنۆچکەی پەڕەی { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = دۆزینەوە - .placeholder = لە بەڵگەنامە بگەرێ... -pdfjs-find-previous-button = - .title = هەبوونی پێشوو بدۆزرەوە لە ڕستەکەدا -pdfjs-find-previous-button-label = پێشوو -pdfjs-find-next-button = - .title = هەبوونی داهاتوو بدۆزەرەوە لە ڕستەکەدا -pdfjs-find-next-button-label = دوواتر -pdfjs-find-highlight-checkbox = هەمووی نیشانە بکە -pdfjs-find-match-case-checkbox-label = دۆخی لەیەکچوون -pdfjs-find-entire-word-checkbox-label = هەموو وشەکان -pdfjs-find-reached-top = گەشتیتە سەرەوەی بەڵگەنامە، لە خوارەوە دەستت پێکرد -pdfjs-find-reached-bottom = گەشتیتە کۆتایی بەڵگەنامە. لەسەرەوە دەستت پێکرد -pdfjs-find-not-found = نووسین نەدۆزرایەوە - -## Predefined zoom values - -pdfjs-page-scale-width = پانی پەڕە -pdfjs-page-scale-fit = پڕبوونی پەڕە -pdfjs-page-scale-auto = زوومی خۆکار -pdfjs-page-scale-actual = قەبارەی ڕاستی -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = هەڵەیەک ڕوویدا لە کاتی بارکردنی PDF. -pdfjs-invalid-file-error = پەڕگەی pdf تێکچووە یان نەگونجاوە. -pdfjs-missing-file-error = پەڕگەی pdf بوونی نیە. -pdfjs-unexpected-response-error = وەڵامی ڕاژەخوازی نەخوازراو. -pdfjs-rendering-error = هەڵەیەک ڕوویدا لە کاتی پوختەکردنی (ڕێندەر) پەڕە. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } سەرنج] - -## Password - -pdfjs-password-label = وشەی تێپەڕ بنووسە بۆ کردنەوەی پەڕگەی pdf. -pdfjs-password-invalid = وشەی تێپەڕ هەڵەیە. تکایە دووبارە هەوڵ بدەرەوە. -pdfjs-password-ok-button = باشە -pdfjs-password-cancel-button = پاشگەزبوونەوە -pdfjs-web-fonts-disabled = جۆرەپیتی وێب ناچالاکە: نەتوانی جۆرەپیتی تێخراوی ناو pdfـەکە بەکاربێت. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/cs/viewer.ftl b/media/js/pdf4/web/locale/cs/viewer.ftl deleted file mode 100644 index b05761b0a3..0000000000 --- a/media/js/pdf4/web/locale/cs/viewer.ftl +++ /dev/null @@ -1,406 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Přejde na předchozí stránku -pdfjs-previous-button-label = Předchozí -pdfjs-next-button = - .title = Přejde na následující stránku -pdfjs-next-button-label = Další -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Stránka -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = z { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } z { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zmenší velikost -pdfjs-zoom-out-button-label = Zmenšit -pdfjs-zoom-in-button = - .title = Zvětší velikost -pdfjs-zoom-in-button-label = Zvětšit -pdfjs-zoom-select = - .title = Nastaví velikost -pdfjs-presentation-mode-button = - .title = Přepne do režimu prezentace -pdfjs-presentation-mode-button-label = Režim prezentace -pdfjs-open-file-button = - .title = Otevře soubor -pdfjs-open-file-button-label = Otevřít -pdfjs-print-button = - .title = Vytiskne dokument -pdfjs-print-button-label = Vytisknout -pdfjs-save-button = - .title = Uložit -pdfjs-save-button-label = Uložit -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Stáhnout -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Stáhnout -pdfjs-bookmark-button = - .title = Aktuální stránka (zobrazit URL od aktuální stránky) -pdfjs-bookmark-button-label = Aktuální stránka -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Otevřít v aplikaci -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Otevřít v aplikaci - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Nástroje -pdfjs-tools-button-label = Nástroje -pdfjs-first-page-button = - .title = Přejde na první stránku -pdfjs-first-page-button-label = Přejít na první stránku -pdfjs-last-page-button = - .title = Přejde na poslední stránku -pdfjs-last-page-button-label = Přejít na poslední stránku -pdfjs-page-rotate-cw-button = - .title = Otočí po směru hodin -pdfjs-page-rotate-cw-button-label = Otočit po směru hodin -pdfjs-page-rotate-ccw-button = - .title = Otočí proti směru hodin -pdfjs-page-rotate-ccw-button-label = Otočit proti směru hodin -pdfjs-cursor-text-select-tool-button = - .title = Povolí výběr textu -pdfjs-cursor-text-select-tool-button-label = Výběr textu -pdfjs-cursor-hand-tool-button = - .title = Povolí nástroj ručička -pdfjs-cursor-hand-tool-button-label = Nástroj ručička -pdfjs-scroll-page-button = - .title = Posouvat po stránkách -pdfjs-scroll-page-button-label = Posouvání po stránkách -pdfjs-scroll-vertical-button = - .title = Použít svislé posouvání -pdfjs-scroll-vertical-button-label = Svislé posouvání -pdfjs-scroll-horizontal-button = - .title = Použít vodorovné posouvání -pdfjs-scroll-horizontal-button-label = Vodorovné posouvání -pdfjs-scroll-wrapped-button = - .title = Použít postupné posouvání -pdfjs-scroll-wrapped-button-label = Postupné posouvání -pdfjs-spread-none-button = - .title = Nesdružovat stránky -pdfjs-spread-none-button-label = Žádné sdružení -pdfjs-spread-odd-button = - .title = Sdruží stránky s umístěním lichých vlevo -pdfjs-spread-odd-button-label = Sdružení stránek (liché vlevo) -pdfjs-spread-even-button = - .title = Sdruží stránky s umístěním sudých vlevo -pdfjs-spread-even-button-label = Sdružení stránek (sudé vlevo) - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Vlastnosti dokumentu… -pdfjs-document-properties-button-label = Vlastnosti dokumentu… -pdfjs-document-properties-file-name = Název souboru: -pdfjs-document-properties-file-size = Velikost souboru: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajtů) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtů) -pdfjs-document-properties-title = Název stránky: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Předmět: -pdfjs-document-properties-keywords = Klíčová slova: -pdfjs-document-properties-creation-date = Datum vytvoření: -pdfjs-document-properties-modification-date = Datum úpravy: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Vytvořil: -pdfjs-document-properties-producer = Tvůrce PDF: -pdfjs-document-properties-version = Verze PDF: -pdfjs-document-properties-page-count = Počet stránek: -pdfjs-document-properties-page-size = Velikost stránky: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = na výšku -pdfjs-document-properties-page-size-orientation-landscape = na šířku -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Dopis -pdfjs-document-properties-page-size-name-legal = Právní dokument - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Rychlé zobrazování z webu: -pdfjs-document-properties-linearized-yes = Ano -pdfjs-document-properties-linearized-no = Ne -pdfjs-document-properties-close-button = Zavřít - -## Print - -pdfjs-print-progress-message = Příprava dokumentu pro tisk… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Zrušit -pdfjs-printing-not-supported = Upozornění: Tisk není v tomto prohlížeči plně podporován. -pdfjs-printing-not-ready = Upozornění: Dokument PDF není kompletně načten. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Postranní lišta -pdfjs-toggle-sidebar-notification-button = - .title = Přepnout postranní lištu (dokument obsahuje osnovu/přílohy/vrstvy) -pdfjs-toggle-sidebar-button-label = Postranní lišta -pdfjs-document-outline-button = - .title = Zobrazí osnovu dokumentu (poklepání přepne zobrazení všech položek) -pdfjs-document-outline-button-label = Osnova dokumentu -pdfjs-attachments-button = - .title = Zobrazí přílohy -pdfjs-attachments-button-label = Přílohy -pdfjs-layers-button = - .title = Zobrazit vrstvy (poklepáním obnovíte všechny vrstvy do výchozího stavu) -pdfjs-layers-button-label = Vrstvy -pdfjs-thumbs-button = - .title = Zobrazí náhledy -pdfjs-thumbs-button-label = Náhledy -pdfjs-current-outline-item-button = - .title = Najít aktuální položku v osnově -pdfjs-current-outline-item-button-label = Aktuální položka v osnově -pdfjs-findbar-button = - .title = Najde v dokumentu -pdfjs-findbar-button-label = Najít -pdfjs-additional-layers = Další vrstvy - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Strana { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Náhled strany { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Najít - .placeholder = Najít v dokumentu… -pdfjs-find-previous-button = - .title = Najde předchozí výskyt hledaného textu -pdfjs-find-previous-button-label = Předchozí -pdfjs-find-next-button = - .title = Najde další výskyt hledaného textu -pdfjs-find-next-button-label = Další -pdfjs-find-highlight-checkbox = Zvýraznit -pdfjs-find-match-case-checkbox-label = Rozlišovat velikost -pdfjs-find-match-diacritics-checkbox-label = Rozlišovat diakritiku -pdfjs-find-entire-word-checkbox-label = Celá slova -pdfjs-find-reached-top = Dosažen začátek dokumentu, pokračuje se od konce -pdfjs-find-reached-bottom = Dosažen konec dokumentu, pokračuje se od začátku -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current }. z { $total } výskytu - [few] { $current }. z { $total } výskytů - [many] { $current }. z { $total } výskytů - *[other] { $current }. z { $total } výskytů - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Více než { $limit } výskyt - [few] Více než { $limit } výskyty - [many] Více než { $limit } výskytů - *[other] Více než { $limit } výskytů - } -pdfjs-find-not-found = Hledaný text nenalezen - -## Predefined zoom values - -pdfjs-page-scale-width = Podle šířky -pdfjs-page-scale-fit = Podle výšky -pdfjs-page-scale-auto = Automatická velikost -pdfjs-page-scale-actual = Skutečná velikost -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Strana { $page } - -## Loading indicator messages - -pdfjs-loading-error = Při nahrávání PDF nastala chyba. -pdfjs-invalid-file-error = Neplatný nebo chybný soubor PDF. -pdfjs-missing-file-error = Chybí soubor PDF. -pdfjs-unexpected-response-error = Neočekávaná odpověď serveru. -pdfjs-rendering-error = Při vykreslování stránky nastala chyba. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotace typu { $type }] - -## Password - -pdfjs-password-label = Pro otevření PDF souboru vložte heslo. -pdfjs-password-invalid = Neplatné heslo. Zkuste to znovu. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Zrušit -pdfjs-web-fonts-disabled = Webová písma jsou zakázána, proto není možné použít vložená písma PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Kreslení -pdfjs-editor-ink-button-label = Kreslení -pdfjs-editor-stamp-button = - .title = Přidání či úprava obrázků -pdfjs-editor-stamp-button-label = Přidání či úprava obrázků -pdfjs-editor-highlight-button = - .title = Zvýraznění -pdfjs-editor-highlight-button-label = Zvýraznění -pdfjs-highlight-floating-button = - .title = Zvýraznit -pdfjs-highlight-floating-button1 = - .title = Zvýraznit - .aria-label = Zvýraznit -pdfjs-highlight-floating-button-label = Zvýraznit - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Odebrat kresbu -pdfjs-editor-remove-freetext-button = - .title = Odebrat text -pdfjs-editor-remove-stamp-button = - .title = Odebrat obrázek -pdfjs-editor-remove-highlight-button = - .title = Odebrat zvýraznění - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Barva -pdfjs-editor-free-text-size-input = Velikost -pdfjs-editor-ink-color-input = Barva -pdfjs-editor-ink-thickness-input = Tloušťka -pdfjs-editor-ink-opacity-input = Průhlednost -pdfjs-editor-stamp-add-image-button = - .title = Přidat obrázek -pdfjs-editor-stamp-add-image-button-label = Přidat obrázek -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tloušťka -pdfjs-editor-free-highlight-thickness-title = - .title = Změna tloušťky při zvýrazňování jiných položek než textu -pdfjs-free-text = - .aria-label = Textový editor -pdfjs-free-text-default-content = Začněte psát… -pdfjs-ink = - .aria-label = Editor kreslení -pdfjs-ink-canvas = - .aria-label = Uživatelem vytvořený obrázek - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Náhradní popis -pdfjs-editor-alt-text-edit-button-label = Upravit náhradní popis -pdfjs-editor-alt-text-dialog-label = Vyberte možnost -pdfjs-editor-alt-text-dialog-description = Náhradní popis pomáhá, když lidé obrázek nevidí nebo když se nenačítá. -pdfjs-editor-alt-text-add-description-label = Přidat popis -pdfjs-editor-alt-text-add-description-description = Snažte se o 1-2 věty, které popisují předmět, prostředí nebo činnosti. -pdfjs-editor-alt-text-mark-decorative-label = Označit jako dekorativní -pdfjs-editor-alt-text-mark-decorative-description = Používá se pro okrasné obrázky, jako jsou rámečky nebo vodoznaky. -pdfjs-editor-alt-text-cancel-button = Zrušit -pdfjs-editor-alt-text-save-button = Uložit -pdfjs-editor-alt-text-decorative-tooltip = Označen jako dekorativní -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Například: “Mladý muž si sedá ke stolu, aby se najedl.” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Levý horní roh — změna velikosti -pdfjs-editor-resizer-label-top-middle = Horní střed — změna velikosti -pdfjs-editor-resizer-label-top-right = Pravý horní roh — změna velikosti -pdfjs-editor-resizer-label-middle-right = Vpravo uprostřed — změna velikosti -pdfjs-editor-resizer-label-bottom-right = Pravý dolní roh — změna velikosti -pdfjs-editor-resizer-label-bottom-middle = Střed dole — změna velikosti -pdfjs-editor-resizer-label-bottom-left = Levý dolní roh — změna velikosti -pdfjs-editor-resizer-label-middle-left = Vlevo uprostřed — změna velikosti - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Barva zvýraznění -pdfjs-editor-colorpicker-button = - .title = Změna barvy -pdfjs-editor-colorpicker-dropdown = - .aria-label = Výběr barev -pdfjs-editor-colorpicker-yellow = - .title = Žlutá -pdfjs-editor-colorpicker-green = - .title = Zelená -pdfjs-editor-colorpicker-blue = - .title = Modrá -pdfjs-editor-colorpicker-pink = - .title = Růžová -pdfjs-editor-colorpicker-red = - .title = Červená - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Zobrazit vše -pdfjs-editor-highlight-show-all-button = - .title = Zobrazit vše diff --git a/media/js/pdf4/web/locale/cy/viewer.ftl b/media/js/pdf4/web/locale/cy/viewer.ftl deleted file mode 100644 index 061237abac..0000000000 --- a/media/js/pdf4/web/locale/cy/viewer.ftl +++ /dev/null @@ -1,410 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Tudalen Flaenorol -pdfjs-previous-button-label = Blaenorol -pdfjs-next-button = - .title = Tudalen Nesaf -pdfjs-next-button-label = Nesaf -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Tudalen -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = o { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } o { $pagesCount }) -pdfjs-zoom-out-button = - .title = Lleihau -pdfjs-zoom-out-button-label = Lleihau -pdfjs-zoom-in-button = - .title = Cynyddu -pdfjs-zoom-in-button-label = Cynyddu -pdfjs-zoom-select = - .title = Chwyddo -pdfjs-presentation-mode-button = - .title = Newid i'r Modd Cyflwyno -pdfjs-presentation-mode-button-label = Modd Cyflwyno -pdfjs-open-file-button = - .title = Agor Ffeil -pdfjs-open-file-button-label = Agor -pdfjs-print-button = - .title = Argraffu -pdfjs-print-button-label = Argraffu -pdfjs-save-button = - .title = Cadw -pdfjs-save-button-label = Cadw -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Llwytho i lawr -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Llwytho i lawr -pdfjs-bookmark-button = - .title = Tudalen Gyfredol (Gweld URL o'r Dudalen Gyfredol) -pdfjs-bookmark-button-label = Tudalen Gyfredol -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Agor yn yr ap -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Agor yn yr ap - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Offer -pdfjs-tools-button-label = Offer -pdfjs-first-page-button = - .title = Mynd i'r Dudalen Gyntaf -pdfjs-first-page-button-label = Mynd i'r Dudalen Gyntaf -pdfjs-last-page-button = - .title = Mynd i'r Dudalen Olaf -pdfjs-last-page-button-label = Mynd i'r Dudalen Olaf -pdfjs-page-rotate-cw-button = - .title = Cylchdroi Clocwedd -pdfjs-page-rotate-cw-button-label = Cylchdroi Clocwedd -pdfjs-page-rotate-ccw-button = - .title = Cylchdroi Gwrthglocwedd -pdfjs-page-rotate-ccw-button-label = Cylchdroi Gwrthglocwedd -pdfjs-cursor-text-select-tool-button = - .title = Galluogi Dewis Offeryn Testun -pdfjs-cursor-text-select-tool-button-label = Offeryn Dewis Testun -pdfjs-cursor-hand-tool-button = - .title = Galluogi Offeryn Llaw -pdfjs-cursor-hand-tool-button-label = Offeryn Llaw -pdfjs-scroll-page-button = - .title = Defnyddio Sgrolio Tudalen -pdfjs-scroll-page-button-label = Sgrolio Tudalen -pdfjs-scroll-vertical-button = - .title = Defnyddio Sgrolio Fertigol -pdfjs-scroll-vertical-button-label = Sgrolio Fertigol -pdfjs-scroll-horizontal-button = - .title = Defnyddio Sgrolio Llorweddol -pdfjs-scroll-horizontal-button-label = Sgrolio Llorweddol -pdfjs-scroll-wrapped-button = - .title = Defnyddio Sgrolio Amlapio -pdfjs-scroll-wrapped-button-label = Sgrolio Amlapio -pdfjs-spread-none-button = - .title = Peidio uno trawsdaleniadau -pdfjs-spread-none-button-label = Dim Trawsdaleniadau -pdfjs-spread-odd-button = - .title = Uno trawsdaleniadau gan gychwyn gyda thudalennau odrif -pdfjs-spread-odd-button-label = Trawsdaleniadau Odrif -pdfjs-spread-even-button = - .title = Uno trawsdaleniadau gan gychwyn gyda thudalennau eilrif -pdfjs-spread-even-button-label = Trawsdaleniadau Eilrif - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Priodweddau Dogfen… -pdfjs-document-properties-button-label = Priodweddau Dogfen… -pdfjs-document-properties-file-name = Enw ffeil: -pdfjs-document-properties-file-size = Maint ffeil: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } beit) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } beit) -pdfjs-document-properties-title = Teitl: -pdfjs-document-properties-author = Awdur: -pdfjs-document-properties-subject = Pwnc: -pdfjs-document-properties-keywords = Allweddair: -pdfjs-document-properties-creation-date = Dyddiad Creu: -pdfjs-document-properties-modification-date = Dyddiad Addasu: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Crewr: -pdfjs-document-properties-producer = Cynhyrchydd PDF: -pdfjs-document-properties-version = Fersiwn PDF: -pdfjs-document-properties-page-count = Cyfrif Tudalen: -pdfjs-document-properties-page-size = Maint Tudalen: -pdfjs-document-properties-page-size-unit-inches = o fewn -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portread -pdfjs-document-properties-page-size-orientation-landscape = tirlun -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Llythyr -pdfjs-document-properties-page-size-name-legal = Cyfreithiol - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Golwg Gwe Cyflym: -pdfjs-document-properties-linearized-yes = Iawn -pdfjs-document-properties-linearized-no = Na -pdfjs-document-properties-close-button = Cau - -## Print - -pdfjs-print-progress-message = Paratoi dogfen ar gyfer ei hargraffu… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Diddymu -pdfjs-printing-not-supported = Rhybudd: Nid yw argraffu yn cael ei gynnal yn llawn gan y porwr. -pdfjs-printing-not-ready = Rhybudd: Nid yw'r PDF wedi ei lwytho'n llawn ar gyfer argraffu. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toglo'r Bar Ochr -pdfjs-toggle-sidebar-notification-button = - .title = Toglo'r Bar Ochr (mae'r ddogfen yn cynnwys amlinelliadau/atodiadau/haenau) -pdfjs-toggle-sidebar-button-label = Toglo'r Bar Ochr -pdfjs-document-outline-button = - .title = Dangos Amlinell Dogfen (clic dwbl i ymestyn/cau pob eitem) -pdfjs-document-outline-button-label = Amlinelliad Dogfen -pdfjs-attachments-button = - .title = Dangos Atodiadau -pdfjs-attachments-button-label = Atodiadau -pdfjs-layers-button = - .title = Dangos Haenau (cliciwch ddwywaith i ailosod yr holl haenau i'r cyflwr rhagosodedig) -pdfjs-layers-button-label = Haenau -pdfjs-thumbs-button = - .title = Dangos Lluniau Bach -pdfjs-thumbs-button-label = Lluniau Bach -pdfjs-current-outline-item-button = - .title = Canfod yr Eitem Amlinellol Gyfredol -pdfjs-current-outline-item-button-label = Yr Eitem Amlinellol Gyfredol -pdfjs-findbar-button = - .title = Canfod yn y Ddogfen -pdfjs-findbar-button-label = Canfod -pdfjs-additional-layers = Haenau Ychwanegol - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Tudalen { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Llun Bach Tudalen { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Canfod - .placeholder = Canfod yn y ddogfen… -pdfjs-find-previous-button = - .title = Canfod enghraifft flaenorol o'r ymadrodd -pdfjs-find-previous-button-label = Blaenorol -pdfjs-find-next-button = - .title = Canfod enghraifft nesaf yr ymadrodd -pdfjs-find-next-button-label = Nesaf -pdfjs-find-highlight-checkbox = Amlygu Popeth -pdfjs-find-match-case-checkbox-label = Cydweddu Maint -pdfjs-find-match-diacritics-checkbox-label = Diacritigau Cyfatebol -pdfjs-find-entire-word-checkbox-label = Geiriau Cyfan -pdfjs-find-reached-top = Wedi cyrraedd brig y dudalen, parhau o'r gwaelod -pdfjs-find-reached-bottom = Wedi cyrraedd diwedd y dudalen, parhau o'r brig -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [zero] { $current } o { $total } cydweddiadau - [one] { $current } o { $total } cydweddiad - [two] { $current } o { $total } gydweddiad - [few] { $current } o { $total } cydweddiad - [many] { $current } o { $total } chydweddiad - *[other] { $current } o { $total } cydweddiad - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [zero] Mwy nag { $limit } cydweddiadau - [one] Mwy nag { $limit } cydweddiad - [two] Mwy nag { $limit } gydweddiad - [few] Mwy nag { $limit } cydweddiad - [many] Mwy nag { $limit } chydweddiad - *[other] Mwy nag { $limit } cydweddiad - } -pdfjs-find-not-found = Heb ganfod ymadrodd - -## Predefined zoom values - -pdfjs-page-scale-width = Lled Tudalen -pdfjs-page-scale-fit = Ffit Tudalen -pdfjs-page-scale-auto = Chwyddo Awtomatig -pdfjs-page-scale-actual = Maint Gwirioneddol -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Tudalen { $page } - -## Loading indicator messages - -pdfjs-loading-error = Digwyddodd gwall wrth lwytho'r PDF. -pdfjs-invalid-file-error = Ffeil PDF annilys neu llwgr. -pdfjs-missing-file-error = Ffeil PDF coll. -pdfjs-unexpected-response-error = Ymateb annisgwyl gan y gweinydd. -pdfjs-rendering-error = Digwyddodd gwall wrth adeiladu'r dudalen. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anodiad { $type } ] - -## Password - -pdfjs-password-label = Rhowch gyfrinair i agor y PDF. -pdfjs-password-invalid = Cyfrinair annilys. Ceisiwch eto. -pdfjs-password-ok-button = Iawn -pdfjs-password-cancel-button = Diddymu -pdfjs-web-fonts-disabled = Ffontiau gwe wedi eu hanalluogi: methu defnyddio ffontiau PDF mewnblanedig. - -## Editing - -pdfjs-editor-free-text-button = - .title = Testun -pdfjs-editor-free-text-button-label = Testun -pdfjs-editor-ink-button = - .title = Lluniadu -pdfjs-editor-ink-button-label = Lluniadu -pdfjs-editor-stamp-button = - .title = Ychwanegu neu olygu delweddau -pdfjs-editor-stamp-button-label = Ychwanegu neu olygu delweddau -pdfjs-editor-highlight-button = - .title = Amlygu -pdfjs-editor-highlight-button-label = Amlygu -pdfjs-highlight-floating-button = - .title = Amlygu -pdfjs-highlight-floating-button1 = - .title = Amlygu - .aria-label = Amlygu -pdfjs-highlight-floating-button-label = Amlygu - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Dileu lluniad -pdfjs-editor-remove-freetext-button = - .title = Dileu testun -pdfjs-editor-remove-stamp-button = - .title = Dileu delwedd -pdfjs-editor-remove-highlight-button = - .title = Tynnu amlygiad - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Lliw -pdfjs-editor-free-text-size-input = Maint -pdfjs-editor-ink-color-input = Lliw -pdfjs-editor-ink-thickness-input = Trwch -pdfjs-editor-ink-opacity-input = Didreiddedd -pdfjs-editor-stamp-add-image-button = - .title = Ychwanegu delwedd -pdfjs-editor-stamp-add-image-button-label = Ychwanegu delwedd -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Trwch -pdfjs-editor-free-highlight-thickness-title = - .title = Newid trwch wrth amlygu eitemau heblaw testun -pdfjs-free-text = - .aria-label = Golygydd Testun -pdfjs-free-text-default-content = Cychwyn teipio… -pdfjs-ink = - .aria-label = Golygydd Lluniadu -pdfjs-ink-canvas = - .aria-label = Delwedd wedi'i chreu gan ddefnyddwyr - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Testun amgen (alt) -pdfjs-editor-alt-text-edit-button-label = Golygu testun amgen -pdfjs-editor-alt-text-dialog-label = Dewisiadau -pdfjs-editor-alt-text-dialog-description = Mae testun amgen (testun alt) yn helpu pan na all pobl weld y ddelwedd neu pan nad yw'n llwytho. -pdfjs-editor-alt-text-add-description-label = Ychwanegu disgrifiad -pdfjs-editor-alt-text-add-description-description = Anelwch at 1-2 frawddeg sy'n disgrifio'r pwnc, y cefndir neu'r gweithredoedd. -pdfjs-editor-alt-text-mark-decorative-label = Marcio fel addurniadol -pdfjs-editor-alt-text-mark-decorative-description = Mae'n cael ei ddefnyddio ar gyfer delweddau addurniadol, fel borderi neu farciau dŵr. -pdfjs-editor-alt-text-cancel-button = Diddymu -pdfjs-editor-alt-text-save-button = Cadw -pdfjs-editor-alt-text-decorative-tooltip = Marcio fel addurniadol -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Er enghraifft, “Mae dyn ifanc yn eistedd wrth fwrdd i fwyta pryd bwyd” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Y gornel chwith uchaf — newid maint -pdfjs-editor-resizer-label-top-middle = Canol uchaf - newid maint -pdfjs-editor-resizer-label-top-right = Y gornel dde uchaf - newid maint -pdfjs-editor-resizer-label-middle-right = De canol - newid maint -pdfjs-editor-resizer-label-bottom-right = Y gornel dde isaf — newid maint -pdfjs-editor-resizer-label-bottom-middle = Canol gwaelod — newid maint -pdfjs-editor-resizer-label-bottom-left = Y gornel chwith isaf — newid maint -pdfjs-editor-resizer-label-middle-left = Chwith canol — newid maint - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Lliw amlygu -pdfjs-editor-colorpicker-button = - .title = Newid lliw -pdfjs-editor-colorpicker-dropdown = - .aria-label = Dewisiadau lliw -pdfjs-editor-colorpicker-yellow = - .title = Melyn -pdfjs-editor-colorpicker-green = - .title = Gwyrdd -pdfjs-editor-colorpicker-blue = - .title = Glas -pdfjs-editor-colorpicker-pink = - .title = Pinc -pdfjs-editor-colorpicker-red = - .title = Coch - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Dangos y cyfan -pdfjs-editor-highlight-show-all-button = - .title = Dangos y cyfan diff --git a/media/js/pdf4/web/locale/da/viewer.ftl b/media/js/pdf4/web/locale/da/viewer.ftl deleted file mode 100644 index 968b22ffc6..0000000000 --- a/media/js/pdf4/web/locale/da/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Forrige side -pdfjs-previous-button-label = Forrige -pdfjs-next-button = - .title = Næste side -pdfjs-next-button-label = Næste -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Side -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = af { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } af { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom ud -pdfjs-zoom-out-button-label = Zoom ud -pdfjs-zoom-in-button = - .title = Zoom ind -pdfjs-zoom-in-button-label = Zoom ind -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Skift til fuldskærmsvisning -pdfjs-presentation-mode-button-label = Fuldskærmsvisning -pdfjs-open-file-button = - .title = Åbn fil -pdfjs-open-file-button-label = Åbn -pdfjs-print-button = - .title = Udskriv -pdfjs-print-button-label = Udskriv -pdfjs-save-button = - .title = Gem -pdfjs-save-button-label = Gem -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Hent -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Hent -pdfjs-bookmark-button = - .title = Aktuel side (vis URL fra den aktuelle side) -pdfjs-bookmark-button-label = Aktuel side -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Åbn i app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Åbn i app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Funktioner -pdfjs-tools-button-label = Funktioner -pdfjs-first-page-button = - .title = Gå til første side -pdfjs-first-page-button-label = Gå til første side -pdfjs-last-page-button = - .title = Gå til sidste side -pdfjs-last-page-button-label = Gå til sidste side -pdfjs-page-rotate-cw-button = - .title = Roter med uret -pdfjs-page-rotate-cw-button-label = Roter med uret -pdfjs-page-rotate-ccw-button = - .title = Roter mod uret -pdfjs-page-rotate-ccw-button-label = Roter mod uret -pdfjs-cursor-text-select-tool-button = - .title = Aktiver markeringsværktøj -pdfjs-cursor-text-select-tool-button-label = Markeringsværktøj -pdfjs-cursor-hand-tool-button = - .title = Aktiver håndværktøj -pdfjs-cursor-hand-tool-button-label = Håndværktøj -pdfjs-scroll-page-button = - .title = Brug sidescrolling -pdfjs-scroll-page-button-label = Sidescrolling -pdfjs-scroll-vertical-button = - .title = Brug vertikal scrolling -pdfjs-scroll-vertical-button-label = Vertikal scrolling -pdfjs-scroll-horizontal-button = - .title = Brug horisontal scrolling -pdfjs-scroll-horizontal-button-label = Horisontal scrolling -pdfjs-scroll-wrapped-button = - .title = Brug ombrudt scrolling -pdfjs-scroll-wrapped-button-label = Ombrudt scrolling -pdfjs-spread-none-button = - .title = Vis enkeltsider -pdfjs-spread-none-button-label = Enkeltsider -pdfjs-spread-odd-button = - .title = Vis opslag med ulige sidenumre til venstre -pdfjs-spread-odd-button-label = Opslag med forside -pdfjs-spread-even-button = - .title = Vis opslag med lige sidenumre til venstre -pdfjs-spread-even-button-label = Opslag uden forside - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentegenskaber… -pdfjs-document-properties-button-label = Dokumentegenskaber… -pdfjs-document-properties-file-name = Filnavn: -pdfjs-document-properties-file-size = Filstørrelse: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Forfatter: -pdfjs-document-properties-subject = Emne: -pdfjs-document-properties-keywords = Nøgleord: -pdfjs-document-properties-creation-date = Oprettet: -pdfjs-document-properties-modification-date = Redigeret: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Program: -pdfjs-document-properties-producer = PDF-producent: -pdfjs-document-properties-version = PDF-version: -pdfjs-document-properties-page-count = Antal sider: -pdfjs-document-properties-page-size = Sidestørrelse: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = stående -pdfjs-document-properties-page-size-orientation-landscape = liggende -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Hurtig web-visning: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nej -pdfjs-document-properties-close-button = Luk - -## Print - -pdfjs-print-progress-message = Forbereder dokument til udskrivning… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Annuller -pdfjs-printing-not-supported = Advarsel: Udskrivning er ikke fuldt understøttet af browseren. -pdfjs-printing-not-ready = Advarsel: PDF-filen er ikke fuldt indlæst til udskrivning. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Slå sidepanel til eller fra -pdfjs-toggle-sidebar-notification-button = - .title = Slå sidepanel til eller fra (dokumentet indeholder disposition/vedhæftede filer/lag) -pdfjs-toggle-sidebar-button-label = Slå sidepanel til eller fra -pdfjs-document-outline-button = - .title = Vis dokumentets disposition (dobbeltklik for at vise/skjule alle elementer) -pdfjs-document-outline-button-label = Dokument-disposition -pdfjs-attachments-button = - .title = Vis vedhæftede filer -pdfjs-attachments-button-label = Vedhæftede filer -pdfjs-layers-button = - .title = Vis lag (dobbeltklik for at nulstille alle lag til standard-tilstanden) -pdfjs-layers-button-label = Lag -pdfjs-thumbs-button = - .title = Vis miniaturer -pdfjs-thumbs-button-label = Miniaturer -pdfjs-current-outline-item-button = - .title = Find det aktuelle dispositions-element -pdfjs-current-outline-item-button-label = Aktuelt dispositions-element -pdfjs-findbar-button = - .title = Find i dokument -pdfjs-findbar-button-label = Find -pdfjs-additional-layers = Yderligere lag - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Side { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniature af side { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find i dokument… -pdfjs-find-previous-button = - .title = Find den forrige forekomst -pdfjs-find-previous-button-label = Forrige -pdfjs-find-next-button = - .title = Find den næste forekomst -pdfjs-find-next-button-label = Næste -pdfjs-find-highlight-checkbox = Fremhæv alle -pdfjs-find-match-case-checkbox-label = Forskel på store og små bogstaver -pdfjs-find-match-diacritics-checkbox-label = Diakritiske tegn -pdfjs-find-entire-word-checkbox-label = Hele ord -pdfjs-find-reached-top = Toppen af siden blev nået, fortsatte fra bunden -pdfjs-find-reached-bottom = Bunden af siden blev nået, fortsatte fra toppen -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } af { $total } forekomst - *[other] { $current } af { $total } forekomster - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mere end { $limit } forekomst - *[other] Mere end { $limit } forekomster - } -pdfjs-find-not-found = Der blev ikke fundet noget - -## Predefined zoom values - -pdfjs-page-scale-width = Sidebredde -pdfjs-page-scale-fit = Tilpas til side -pdfjs-page-scale-auto = Automatisk zoom -pdfjs-page-scale-actual = Faktisk størrelse -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Side { $page } - -## Loading indicator messages - -pdfjs-loading-error = Der opstod en fejl ved indlæsning af PDF-filen. -pdfjs-invalid-file-error = PDF-filen er ugyldig eller ødelagt. -pdfjs-missing-file-error = Manglende PDF-fil. -pdfjs-unexpected-response-error = Uventet svar fra serveren. -pdfjs-rendering-error = Der opstod en fejl ved generering af siden. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }kommentar] - -## Password - -pdfjs-password-label = Angiv adgangskode til at åbne denne PDF-fil. -pdfjs-password-invalid = Ugyldig adgangskode. Prøv igen. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Fortryd -pdfjs-web-fonts-disabled = Webskrifttyper er deaktiverede. De indlejrede skrifttyper i PDF-filen kan ikke anvendes. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Tegn -pdfjs-editor-ink-button-label = Tegn -pdfjs-editor-stamp-button = - .title = Tilføj eller rediger billeder -pdfjs-editor-stamp-button-label = Tilføj eller rediger billeder -pdfjs-editor-highlight-button = - .title = Fremhæv -pdfjs-editor-highlight-button-label = Fremhæv -pdfjs-highlight-floating-button = - .title = Fremhæv -pdfjs-highlight-floating-button1 = - .title = Fremhæv - .aria-label = Fremhæv -pdfjs-highlight-floating-button-label = Fremhæv - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Fjern tegning -pdfjs-editor-remove-freetext-button = - .title = Fjern tekst -pdfjs-editor-remove-stamp-button = - .title = Fjern billede -pdfjs-editor-remove-highlight-button = - .title = Fjern fremhævning - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Farve -pdfjs-editor-free-text-size-input = Størrelse -pdfjs-editor-ink-color-input = Farve -pdfjs-editor-ink-thickness-input = Tykkelse -pdfjs-editor-ink-opacity-input = Uigennemsigtighed -pdfjs-editor-stamp-add-image-button = - .title = Tilføj billede -pdfjs-editor-stamp-add-image-button-label = Tilføj billede -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tykkelse -pdfjs-editor-free-highlight-thickness-title = - .title = Ændr tykkelse, når andre elementer end tekst fremhæves -pdfjs-free-text = - .aria-label = Teksteditor -pdfjs-free-text-default-content = Begynd at skrive… -pdfjs-ink = - .aria-label = Tegnings-editor -pdfjs-ink-canvas = - .aria-label = Brugeroprettet billede - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternativ tekst -pdfjs-editor-alt-text-edit-button-label = Rediger alternativ tekst -pdfjs-editor-alt-text-dialog-label = Vælg en indstilling -pdfjs-editor-alt-text-dialog-description = Alternativ tekst hjælper folk, som ikke kan se billedet eller når det ikke indlæses. -pdfjs-editor-alt-text-add-description-label = Tilføj en beskrivelse -pdfjs-editor-alt-text-add-description-description = Sigt efter en eller to sætninger, der beskriver emnet, omgivelserne eller handlinger. -pdfjs-editor-alt-text-mark-decorative-label = Marker som dekorativ -pdfjs-editor-alt-text-mark-decorative-description = Dette bruges for dekorative billeder som rammer eller vandmærker. -pdfjs-editor-alt-text-cancel-button = Annuller -pdfjs-editor-alt-text-save-button = Gem -pdfjs-editor-alt-text-decorative-tooltip = Markeret som dekorativ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = For eksempel: "En ung mand sætter sig ved et bord for at spise et måltid mad" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Øverste venstre hjørne — tilpas størrelse -pdfjs-editor-resizer-label-top-middle = Øverste i midten — tilpas størrelse -pdfjs-editor-resizer-label-top-right = Øverste højre hjørne — tilpas størrelse -pdfjs-editor-resizer-label-middle-right = Midten til højre — tilpas størrelse -pdfjs-editor-resizer-label-bottom-right = Nederste højre hjørne - tilpas størrelse -pdfjs-editor-resizer-label-bottom-middle = Nederst i midten - tilpas størrelse -pdfjs-editor-resizer-label-bottom-left = Nederste venstre hjørne - tilpas størrelse -pdfjs-editor-resizer-label-middle-left = Midten til venstre — tilpas størrelse - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Fremhævningsfarve -pdfjs-editor-colorpicker-button = - .title = Skift farve -pdfjs-editor-colorpicker-dropdown = - .aria-label = Farvevalg -pdfjs-editor-colorpicker-yellow = - .title = Gul -pdfjs-editor-colorpicker-green = - .title = Grøn -pdfjs-editor-colorpicker-blue = - .title = Blå -pdfjs-editor-colorpicker-pink = - .title = Lyserød -pdfjs-editor-colorpicker-red = - .title = Rød - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Vis alle -pdfjs-editor-highlight-show-all-button = - .title = Vis alle diff --git a/media/js/pdf4/web/locale/de/viewer.ftl b/media/js/pdf4/web/locale/de/viewer.ftl deleted file mode 100644 index da073aa17b..0000000000 --- a/media/js/pdf4/web/locale/de/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Eine Seite zurück -pdfjs-previous-button-label = Zurück -pdfjs-next-button = - .title = Eine Seite vor -pdfjs-next-button-label = Vor -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Seite -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = von { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } von { $pagesCount }) -pdfjs-zoom-out-button = - .title = Verkleinern -pdfjs-zoom-out-button-label = Verkleinern -pdfjs-zoom-in-button = - .title = Vergrößern -pdfjs-zoom-in-button-label = Vergrößern -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = In Präsentationsmodus wechseln -pdfjs-presentation-mode-button-label = Präsentationsmodus -pdfjs-open-file-button = - .title = Datei öffnen -pdfjs-open-file-button-label = Öffnen -pdfjs-print-button = - .title = Drucken -pdfjs-print-button-label = Drucken -pdfjs-save-button = - .title = Speichern -pdfjs-save-button-label = Speichern -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Herunterladen -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Herunterladen -pdfjs-bookmark-button = - .title = Aktuelle Seite (URL von aktueller Seite anzeigen) -pdfjs-bookmark-button-label = Aktuelle Seite -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Mit App öffnen -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Mit App öffnen - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Werkzeuge -pdfjs-tools-button-label = Werkzeuge -pdfjs-first-page-button = - .title = Erste Seite anzeigen -pdfjs-first-page-button-label = Erste Seite anzeigen -pdfjs-last-page-button = - .title = Letzte Seite anzeigen -pdfjs-last-page-button-label = Letzte Seite anzeigen -pdfjs-page-rotate-cw-button = - .title = Im Uhrzeigersinn drehen -pdfjs-page-rotate-cw-button-label = Im Uhrzeigersinn drehen -pdfjs-page-rotate-ccw-button = - .title = Gegen Uhrzeigersinn drehen -pdfjs-page-rotate-ccw-button-label = Gegen Uhrzeigersinn drehen -pdfjs-cursor-text-select-tool-button = - .title = Textauswahl-Werkzeug aktivieren -pdfjs-cursor-text-select-tool-button-label = Textauswahl-Werkzeug -pdfjs-cursor-hand-tool-button = - .title = Hand-Werkzeug aktivieren -pdfjs-cursor-hand-tool-button-label = Hand-Werkzeug -pdfjs-scroll-page-button = - .title = Seiten einzeln anordnen -pdfjs-scroll-page-button-label = Einzelseitenanordnung -pdfjs-scroll-vertical-button = - .title = Seiten übereinander anordnen -pdfjs-scroll-vertical-button-label = Vertikale Seitenanordnung -pdfjs-scroll-horizontal-button = - .title = Seiten nebeneinander anordnen -pdfjs-scroll-horizontal-button-label = Horizontale Seitenanordnung -pdfjs-scroll-wrapped-button = - .title = Seiten neben- und übereinander anordnen, abhängig vom Platz -pdfjs-scroll-wrapped-button-label = Kombinierte Seitenanordnung -pdfjs-spread-none-button = - .title = Seiten nicht nebeneinander anzeigen -pdfjs-spread-none-button-label = Einzelne Seiten -pdfjs-spread-odd-button = - .title = Jeweils eine ungerade und eine gerade Seite nebeneinander anzeigen -pdfjs-spread-odd-button-label = Ungerade + gerade Seite -pdfjs-spread-even-button = - .title = Jeweils eine gerade und eine ungerade Seite nebeneinander anzeigen -pdfjs-spread-even-button-label = Gerade + ungerade Seite - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumenteigenschaften -pdfjs-document-properties-button-label = Dokumenteigenschaften… -pdfjs-document-properties-file-name = Dateiname: -pdfjs-document-properties-file-size = Dateigröße: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } Bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } Bytes) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Thema: -pdfjs-document-properties-keywords = Stichwörter: -pdfjs-document-properties-creation-date = Erstelldatum: -pdfjs-document-properties-modification-date = Bearbeitungsdatum: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } { $time } -pdfjs-document-properties-creator = Anwendung: -pdfjs-document-properties-producer = PDF erstellt mit: -pdfjs-document-properties-version = PDF-Version: -pdfjs-document-properties-page-count = Seitenzahl: -pdfjs-document-properties-page-size = Seitengröße: -pdfjs-document-properties-page-size-unit-inches = Zoll -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = Hochformat -pdfjs-document-properties-page-size-orientation-landscape = Querformat -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Schnelle Webanzeige: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nein -pdfjs-document-properties-close-button = Schließen - -## Print - -pdfjs-print-progress-message = Dokument wird für Drucken vorbereitet… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Abbrechen -pdfjs-printing-not-supported = Warnung: Die Drucken-Funktion wird durch diesen Browser nicht vollständig unterstützt. -pdfjs-printing-not-ready = Warnung: Die PDF-Datei ist nicht vollständig geladen, dies ist für das Drucken aber empfohlen. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Sidebar umschalten -pdfjs-toggle-sidebar-notification-button = - .title = Sidebar umschalten (Dokument enthält Dokumentstruktur/Anhänge/Ebenen) -pdfjs-toggle-sidebar-button-label = Sidebar umschalten -pdfjs-document-outline-button = - .title = Dokumentstruktur anzeigen (Doppelklicken, um alle Einträge aus- bzw. einzuklappen) -pdfjs-document-outline-button-label = Dokumentstruktur -pdfjs-attachments-button = - .title = Anhänge anzeigen -pdfjs-attachments-button-label = Anhänge -pdfjs-layers-button = - .title = Ebenen anzeigen (Doppelklicken, um alle Ebenen auf den Standardzustand zurückzusetzen) -pdfjs-layers-button-label = Ebenen -pdfjs-thumbs-button = - .title = Miniaturansichten anzeigen -pdfjs-thumbs-button-label = Miniaturansichten -pdfjs-current-outline-item-button = - .title = Aktuelles Struktur-Element finden -pdfjs-current-outline-item-button-label = Aktuelles Struktur-Element -pdfjs-findbar-button = - .title = Dokument durchsuchen -pdfjs-findbar-button-label = Suchen -pdfjs-additional-layers = Zusätzliche Ebenen - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Seite { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniaturansicht von Seite { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Suchen - .placeholder = Dokument durchsuchen… -pdfjs-find-previous-button = - .title = Vorheriges Vorkommen des Suchbegriffs finden -pdfjs-find-previous-button-label = Zurück -pdfjs-find-next-button = - .title = Nächstes Vorkommen des Suchbegriffs finden -pdfjs-find-next-button-label = Weiter -pdfjs-find-highlight-checkbox = Alle hervorheben -pdfjs-find-match-case-checkbox-label = Groß-/Kleinschreibung beachten -pdfjs-find-match-diacritics-checkbox-label = Akzente -pdfjs-find-entire-word-checkbox-label = Ganze Wörter -pdfjs-find-reached-top = Anfang des Dokuments erreicht, fahre am Ende fort -pdfjs-find-reached-bottom = Ende des Dokuments erreicht, fahre am Anfang fort -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } von { $total } Übereinstimmung - *[other] { $current } von { $total } Übereinstimmungen - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mehr als { $limit } Übereinstimmung - *[other] Mehr als { $limit } Übereinstimmungen - } -pdfjs-find-not-found = Suchbegriff nicht gefunden - -## Predefined zoom values - -pdfjs-page-scale-width = Seitenbreite -pdfjs-page-scale-fit = Seitengröße -pdfjs-page-scale-auto = Automatischer Zoom -pdfjs-page-scale-actual = Originalgröße -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Seite { $page } - -## Loading indicator messages - -pdfjs-loading-error = Beim Laden der PDF-Datei trat ein Fehler auf. -pdfjs-invalid-file-error = Ungültige oder beschädigte PDF-Datei -pdfjs-missing-file-error = Fehlende PDF-Datei -pdfjs-unexpected-response-error = Unerwartete Antwort des Servers -pdfjs-rendering-error = Beim Darstellen der Seite trat ein Fehler auf. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anlage: { $type }] - -## Password - -pdfjs-password-label = Geben Sie zum Öffnen der PDF-Datei deren Passwort ein. -pdfjs-password-invalid = Falsches Passwort. Bitte versuchen Sie es erneut. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Abbrechen -pdfjs-web-fonts-disabled = Web-Schriftarten sind deaktiviert: Eingebettete PDF-Schriftarten konnten nicht geladen werden. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Zeichnen -pdfjs-editor-ink-button-label = Zeichnen -pdfjs-editor-stamp-button = - .title = Grafiken hinzufügen oder bearbeiten -pdfjs-editor-stamp-button-label = Grafiken hinzufügen oder bearbeiten -pdfjs-editor-highlight-button = - .title = Hervorheben -pdfjs-editor-highlight-button-label = Hervorheben -pdfjs-highlight-floating-button = - .title = Hervorheben -pdfjs-highlight-floating-button1 = - .title = Hervorheben - .aria-label = Hervorheben -pdfjs-highlight-floating-button-label = Hervorheben - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Zeichnung entfernen -pdfjs-editor-remove-freetext-button = - .title = Text entfernen -pdfjs-editor-remove-stamp-button = - .title = Grafik entfernen -pdfjs-editor-remove-highlight-button = - .title = Hervorhebung entfernen - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Farbe -pdfjs-editor-free-text-size-input = Größe -pdfjs-editor-ink-color-input = Farbe -pdfjs-editor-ink-thickness-input = Linienstärke -pdfjs-editor-ink-opacity-input = Deckkraft -pdfjs-editor-stamp-add-image-button = - .title = Grafik hinzufügen -pdfjs-editor-stamp-add-image-button-label = Grafik hinzufügen -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Linienstärke -pdfjs-editor-free-highlight-thickness-title = - .title = Linienstärke beim Hervorheben anderer Elemente als Text ändern -pdfjs-free-text = - .aria-label = Texteditor -pdfjs-free-text-default-content = Schreiben beginnen… -pdfjs-ink = - .aria-label = Zeichnungseditor -pdfjs-ink-canvas = - .aria-label = Vom Benutzer erstelltes Bild - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternativ-Text -pdfjs-editor-alt-text-edit-button-label = Alternativ-Text bearbeiten -pdfjs-editor-alt-text-dialog-label = Option wählen -pdfjs-editor-alt-text-dialog-description = Alt-Text (Alternativtext) hilft, wenn Personen die Grafik nicht sehen können oder wenn sie nicht geladen wird. -pdfjs-editor-alt-text-add-description-label = Beschreibung hinzufügen -pdfjs-editor-alt-text-add-description-description = Ziel sind 1-2 Sätze, die das Thema, das Szenario oder Aktionen beschreiben. -pdfjs-editor-alt-text-mark-decorative-label = Als dekorativ markieren -pdfjs-editor-alt-text-mark-decorative-description = Dies wird für Ziergrafiken wie Ränder oder Wasserzeichen verwendet. -pdfjs-editor-alt-text-cancel-button = Abbrechen -pdfjs-editor-alt-text-save-button = Speichern -pdfjs-editor-alt-text-decorative-tooltip = Als dekorativ markiert -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Zum Beispiel: "Ein junger Mann setzt sich an einen Tisch, um zu essen." - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Linke obere Ecke - Größe ändern -pdfjs-editor-resizer-label-top-middle = Oben mittig - Größe ändern -pdfjs-editor-resizer-label-top-right = Rechts oben - Größe ändern -pdfjs-editor-resizer-label-middle-right = Mitte rechts - Größe ändern -pdfjs-editor-resizer-label-bottom-right = Rechte untere Ecke - Größe ändern -pdfjs-editor-resizer-label-bottom-middle = Unten mittig - Größe ändern -pdfjs-editor-resizer-label-bottom-left = Linke untere Ecke - Größe ändern -pdfjs-editor-resizer-label-middle-left = Mitte links - Größe ändern - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Hervorhebungsfarbe -pdfjs-editor-colorpicker-button = - .title = Farbe ändern -pdfjs-editor-colorpicker-dropdown = - .aria-label = Farbauswahl -pdfjs-editor-colorpicker-yellow = - .title = Gelb -pdfjs-editor-colorpicker-green = - .title = Grün -pdfjs-editor-colorpicker-blue = - .title = Blau -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Rot - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Alle anzeigen -pdfjs-editor-highlight-show-all-button = - .title = Alle anzeigen diff --git a/media/js/pdf4/web/locale/dsb/viewer.ftl b/media/js/pdf4/web/locale/dsb/viewer.ftl deleted file mode 100644 index e86f8153e6..0000000000 --- a/media/js/pdf4/web/locale/dsb/viewer.ftl +++ /dev/null @@ -1,406 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pjerwjejšny bok -pdfjs-previous-button-label = Slědk -pdfjs-next-button = - .title = Pśiducy bok -pdfjs-next-button-label = Dalej -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Bok -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = z { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } z { $pagesCount }) -pdfjs-zoom-out-button = - .title = Pómjeńšyś -pdfjs-zoom-out-button-label = Pómjeńšyś -pdfjs-zoom-in-button = - .title = Pówětšyś -pdfjs-zoom-in-button-label = Pówětšyś -pdfjs-zoom-select = - .title = Skalěrowanje -pdfjs-presentation-mode-button = - .title = Do prezentaciskego modusa pśejś -pdfjs-presentation-mode-button-label = Prezentaciski modus -pdfjs-open-file-button = - .title = Dataju wócyniś -pdfjs-open-file-button-label = Wócyniś -pdfjs-print-button = - .title = Śišćaś -pdfjs-print-button-label = Śišćaś -pdfjs-save-button = - .title = Składowaś -pdfjs-save-button-label = Składowaś -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Ześěgnuś -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Ześěgnuś -pdfjs-bookmark-button = - .title = Aktualny bok (URL z aktualnego boka pokazaś) -pdfjs-bookmark-button-label = Aktualny bok -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = W nałoženju wócyniś -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = W nałoženju wócyniś - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Rědy -pdfjs-tools-button-label = Rědy -pdfjs-first-page-button = - .title = K prědnemu bokoju -pdfjs-first-page-button-label = K prědnemu bokoju -pdfjs-last-page-button = - .title = K slědnemu bokoju -pdfjs-last-page-button-label = K slědnemu bokoju -pdfjs-page-rotate-cw-button = - .title = Wobwjertnuś ako špěra źo -pdfjs-page-rotate-cw-button-label = Wobwjertnuś ako špěra źo -pdfjs-page-rotate-ccw-button = - .title = Wobwjertnuś nawopaki ako špěra źo -pdfjs-page-rotate-ccw-button-label = Wobwjertnuś nawopaki ako špěra źo -pdfjs-cursor-text-select-tool-button = - .title = Rěd za wuběranje teksta zmóžniś -pdfjs-cursor-text-select-tool-button-label = Rěd za wuběranje teksta -pdfjs-cursor-hand-tool-button = - .title = Rucny rěd zmóžniś -pdfjs-cursor-hand-tool-button-label = Rucny rěd -pdfjs-scroll-page-button = - .title = Kulanje boka wužywaś -pdfjs-scroll-page-button-label = Kulanje boka -pdfjs-scroll-vertical-button = - .title = Wertikalne suwanje wužywaś -pdfjs-scroll-vertical-button-label = Wertikalne suwanje -pdfjs-scroll-horizontal-button = - .title = Horicontalne suwanje wužywaś -pdfjs-scroll-horizontal-button-label = Horicontalne suwanje -pdfjs-scroll-wrapped-button = - .title = Pózlažke suwanje wužywaś -pdfjs-scroll-wrapped-button-label = Pózlažke suwanje -pdfjs-spread-none-button = - .title = Boki njezwězaś -pdfjs-spread-none-button-label = Žeden dwójny bok -pdfjs-spread-odd-button = - .title = Boki zachopinajucy z njerownymi bokami zwězaś -pdfjs-spread-odd-button-label = Njerowne boki -pdfjs-spread-even-button = - .title = Boki zachopinajucy z rownymi bokami zwězaś -pdfjs-spread-even-button-label = Rowne boki - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentowe kakosći… -pdfjs-document-properties-button-label = Dokumentowe kakosći… -pdfjs-document-properties-file-name = Mě dataje: -pdfjs-document-properties-file-size = Wjelikosć dataje: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajtow) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtow) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Awtor: -pdfjs-document-properties-subject = Tema: -pdfjs-document-properties-keywords = Klucowe słowa: -pdfjs-document-properties-creation-date = Datum napóranja: -pdfjs-document-properties-modification-date = Datum změny: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Awtor: -pdfjs-document-properties-producer = PDF-gótowaŕ: -pdfjs-document-properties-version = PDF-wersija: -pdfjs-document-properties-page-count = Licba bokow: -pdfjs-document-properties-page-size = Wjelikosć boka: -pdfjs-document-properties-page-size-unit-inches = col -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = wusoki format -pdfjs-document-properties-page-size-orientation-landscape = prěcny format -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Jo -pdfjs-document-properties-linearized-no = Ně -pdfjs-document-properties-close-button = Zacyniś - -## Print - -pdfjs-print-progress-message = Dokument pśigótujo se za śišćanje… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Pśetergnuś -pdfjs-printing-not-supported = Warnowanje: Śišćanje njepódpěra se połnje pśez toś ten wobglědowak. -pdfjs-printing-not-ready = Warnowanje: PDF njejo se za śišćanje dopołnje zacytał. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Bócnicu pokazaś/schowaś -pdfjs-toggle-sidebar-notification-button = - .title = Bocnicu pśešaltowaś (dokument rozrědowanje/pśipiski/warstwy wopśimujo) -pdfjs-toggle-sidebar-button-label = Bócnicu pokazaś/schowaś -pdfjs-document-outline-button = - .title = Dokumentowe naraźenje pokazaś (dwójne kliknjenje, aby se wšykne zapiski pokazali/schowali) -pdfjs-document-outline-button-label = Dokumentowa struktura -pdfjs-attachments-button = - .title = Pśidanki pokazaś -pdfjs-attachments-button-label = Pśidanki -pdfjs-layers-button = - .title = Warstwy pokazaś (klikniśo dwójcy, aby wšykne warstwy na standardny staw slědk stajił) -pdfjs-layers-button-label = Warstwy -pdfjs-thumbs-button = - .title = Miniatury pokazaś -pdfjs-thumbs-button-label = Miniatury -pdfjs-current-outline-item-button = - .title = Aktualny rozrědowański zapisk pytaś -pdfjs-current-outline-item-button-label = Aktualny rozrědowański zapisk -pdfjs-findbar-button = - .title = W dokumenśe pytaś -pdfjs-findbar-button-label = Pytaś -pdfjs-additional-layers = Dalšne warstwy - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Bok { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura boka { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Pytaś - .placeholder = W dokumenśe pytaś… -pdfjs-find-previous-button = - .title = Pjerwjejšne wustupowanje pytańskego wuraza pytaś -pdfjs-find-previous-button-label = Slědk -pdfjs-find-next-button = - .title = Pśidujuce wustupowanje pytańskego wuraza pytaś -pdfjs-find-next-button-label = Dalej -pdfjs-find-highlight-checkbox = Wšykne wuzwignuś -pdfjs-find-match-case-checkbox-label = Na wjelikopisanje źiwaś -pdfjs-find-match-diacritics-checkbox-label = Diakritiske znamuška wužywaś -pdfjs-find-entire-word-checkbox-label = Cełe słowa -pdfjs-find-reached-top = Zachopjeńk dokumenta dostany, pókšacujo se z kóńcom -pdfjs-find-reached-bottom = Kóńc dokumenta dostany, pókšacujo se ze zachopjeńkom -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } z { $total } wótpowědnika - [two] { $current } z { $total } wótpowědnikowu - [few] { $current } z { $total } wótpowědnikow - *[other] { $current } z { $total } wótpowědnikow - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Wušej { $limit } wótpowědnik - [two] Wušej { $limit } wótpowědnika - [few] Wušej { $limit } wótpowědniki - *[other] Wušej { $limit } wótpowědniki - } -pdfjs-find-not-found = Pytański wuraz njejo se namakał - -## Predefined zoom values - -pdfjs-page-scale-width = Šyrokosć boka -pdfjs-page-scale-fit = Wjelikosć boka -pdfjs-page-scale-auto = Awtomatiske skalěrowanje -pdfjs-page-scale-actual = Aktualna wjelikosć -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Bok { $page } - -## Loading indicator messages - -pdfjs-loading-error = Pśi zacytowanju PDF jo zmólka nastała. -pdfjs-invalid-file-error = Njepłaśiwa abo wobškóźona PDF-dataja. -pdfjs-missing-file-error = Felujuca PDF-dataja. -pdfjs-unexpected-response-error = Njewócakane serwerowe wótegrono. -pdfjs-rendering-error = Pśi zwobraznjanju boka jo zmólka nastała. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Typ pśipiskow: { $type }] - -## Password - -pdfjs-password-label = Zapódajśo gronidło, aby PDF-dataju wócynił. -pdfjs-password-invalid = Njepłaśiwe gronidło. Pšosym wopytajśo hyšći raz. -pdfjs-password-ok-button = W pórěźe -pdfjs-password-cancel-button = Pśetergnuś -pdfjs-web-fonts-disabled = Webpisma su znjemóžnjone: njejo móžno, zasajźone PDF-pisma wužywaś. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Kresliś -pdfjs-editor-ink-button-label = Kresliś -pdfjs-editor-stamp-button = - .title = Wobraze pśidaś abo wobźěłaś -pdfjs-editor-stamp-button-label = Wobraze pśidaś abo wobźěłaś -pdfjs-editor-highlight-button = - .title = Wuzwignuś -pdfjs-editor-highlight-button-label = Wuzwignuś -pdfjs-highlight-floating-button = - .title = Wuzwignjenje -pdfjs-highlight-floating-button1 = - .title = Wuzwignuś - .aria-label = Wuzwignuś -pdfjs-highlight-floating-button-label = Wuzwignuś - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Kreslanku wótwónoźeś -pdfjs-editor-remove-freetext-button = - .title = Tekst wótwónoźeś -pdfjs-editor-remove-stamp-button = - .title = Wobraz wótwónoźeś -pdfjs-editor-remove-highlight-button = - .title = Wuzwignjenje wótpóraś - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Barwa -pdfjs-editor-free-text-size-input = Wjelikosć -pdfjs-editor-ink-color-input = Barwa -pdfjs-editor-ink-thickness-input = Tłustosć -pdfjs-editor-ink-opacity-input = Opacita -pdfjs-editor-stamp-add-image-button = - .title = Wobraz pśidaś -pdfjs-editor-stamp-add-image-button-label = Wobraz pśidaś -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tłustosć -pdfjs-editor-free-highlight-thickness-title = - .title = Tłustosć změniś, gaž se zapiski wuzwiguju, kótarež tekst njejsu -pdfjs-free-text = - .aria-label = Tekstowy editor -pdfjs-free-text-default-content = Zachopśo pisaś… -pdfjs-ink = - .aria-label = Kresleński editor -pdfjs-ink-canvas = - .aria-label = Wobraz napórany wót wužywarja - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatiwny tekst -pdfjs-editor-alt-text-edit-button-label = Alternatiwny tekst wobźěłaś -pdfjs-editor-alt-text-dialog-label = Nastajenje wubraś -pdfjs-editor-alt-text-dialog-description = Alternatiwny tekst pomaga, gaž luźe njamógu wobraz wiźeś abo gaž se wobraz njezacytajo. -pdfjs-editor-alt-text-add-description-label = Wopisanje pśidaś -pdfjs-editor-alt-text-add-description-description = Pišćo 1 sadu abo 2 saźe, kótarejž temu, nastajenje abo akcije wopisujotej. -pdfjs-editor-alt-text-mark-decorative-label = Ako dekoratiwny markěrowaś -pdfjs-editor-alt-text-mark-decorative-description = To se za pyšnjece wobraze wužywa, na pśikład ramiki abo wódowe znamjenja. -pdfjs-editor-alt-text-cancel-button = Pśetergnuś -pdfjs-editor-alt-text-save-button = Składowaś -pdfjs-editor-alt-text-decorative-tooltip = Ako dekoratiwny markěrowany -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Na pśikład, „Młody muski za blidom sejźi, aby jěź jědł“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Górjejce nalěwo – wjelikosć změniś -pdfjs-editor-resizer-label-top-middle = Górjejce wesrjejź – wjelikosć změniś -pdfjs-editor-resizer-label-top-right = Górjejce napšawo – wjelikosć změniś -pdfjs-editor-resizer-label-middle-right = Wesrjejź napšawo – wjelikosć změniś -pdfjs-editor-resizer-label-bottom-right = Dołojce napšawo – wjelikosć změniś -pdfjs-editor-resizer-label-bottom-middle = Dołojce wesrjejź – wjelikosć změniś -pdfjs-editor-resizer-label-bottom-left = Dołojce nalěwo – wjelikosć změniś -pdfjs-editor-resizer-label-middle-left = Wesrjejź nalěwo – wjelikosć změniś - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Barwa wuzwignjenja -pdfjs-editor-colorpicker-button = - .title = Barwu změniś -pdfjs-editor-colorpicker-dropdown = - .aria-label = Wuběrk barwow -pdfjs-editor-colorpicker-yellow = - .title = Žołty -pdfjs-editor-colorpicker-green = - .title = Zeleny -pdfjs-editor-colorpicker-blue = - .title = Módry -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Cerwjeny - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Wšykne pokazaś -pdfjs-editor-highlight-show-all-button = - .title = Wšykne pokazaś diff --git a/media/js/pdf4/web/locale/el/viewer.ftl b/media/js/pdf4/web/locale/el/viewer.ftl deleted file mode 100644 index 96d9dc36e7..0000000000 --- a/media/js/pdf4/web/locale/el/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Προηγούμενη σελίδα -pdfjs-previous-button-label = Προηγούμενη -pdfjs-next-button = - .title = Επόμενη σελίδα -pdfjs-next-button-label = Επόμενη -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Σελίδα -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = από { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } από { $pagesCount }) -pdfjs-zoom-out-button = - .title = Σμίκρυνση -pdfjs-zoom-out-button-label = Σμίκρυνση -pdfjs-zoom-in-button = - .title = Μεγέθυνση -pdfjs-zoom-in-button-label = Μεγέθυνση -pdfjs-zoom-select = - .title = Ζουμ -pdfjs-presentation-mode-button = - .title = Εναλλαγή σε λειτουργία παρουσίασης -pdfjs-presentation-mode-button-label = Λειτουργία παρουσίασης -pdfjs-open-file-button = - .title = Άνοιγμα αρχείου -pdfjs-open-file-button-label = Άνοιγμα -pdfjs-print-button = - .title = Εκτύπωση -pdfjs-print-button-label = Εκτύπωση -pdfjs-save-button = - .title = Αποθήκευση -pdfjs-save-button-label = Αποθήκευση -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Λήψη -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Λήψη -pdfjs-bookmark-button = - .title = Τρέχουσα σελίδα (Προβολή URL από τρέχουσα σελίδα) -pdfjs-bookmark-button-label = Τρέχουσα σελίδα -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Άνοιγμα σε εφαρμογή -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Άνοιγμα σε εφαρμογή - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Εργαλεία -pdfjs-tools-button-label = Εργαλεία -pdfjs-first-page-button = - .title = Μετάβαση στην πρώτη σελίδα -pdfjs-first-page-button-label = Μετάβαση στην πρώτη σελίδα -pdfjs-last-page-button = - .title = Μετάβαση στην τελευταία σελίδα -pdfjs-last-page-button-label = Μετάβαση στην τελευταία σελίδα -pdfjs-page-rotate-cw-button = - .title = Δεξιόστροφη περιστροφή -pdfjs-page-rotate-cw-button-label = Δεξιόστροφη περιστροφή -pdfjs-page-rotate-ccw-button = - .title = Αριστερόστροφη περιστροφή -pdfjs-page-rotate-ccw-button-label = Αριστερόστροφη περιστροφή -pdfjs-cursor-text-select-tool-button = - .title = Ενεργοποίηση εργαλείου επιλογής κειμένου -pdfjs-cursor-text-select-tool-button-label = Εργαλείο επιλογής κειμένου -pdfjs-cursor-hand-tool-button = - .title = Ενεργοποίηση εργαλείου χεριού -pdfjs-cursor-hand-tool-button-label = Εργαλείο χεριού -pdfjs-scroll-page-button = - .title = Χρήση κύλισης σελίδας -pdfjs-scroll-page-button-label = Κύλιση σελίδας -pdfjs-scroll-vertical-button = - .title = Χρήση κάθετης κύλισης -pdfjs-scroll-vertical-button-label = Κάθετη κύλιση -pdfjs-scroll-horizontal-button = - .title = Χρήση οριζόντιας κύλισης -pdfjs-scroll-horizontal-button-label = Οριζόντια κύλιση -pdfjs-scroll-wrapped-button = - .title = Χρήση κυκλικής κύλισης -pdfjs-scroll-wrapped-button-label = Κυκλική κύλιση -pdfjs-spread-none-button = - .title = Να μη γίνει σύνδεση επεκτάσεων σελίδων -pdfjs-spread-none-button-label = Χωρίς επεκτάσεις -pdfjs-spread-odd-button = - .title = Σύνδεση επεκτάσεων σελίδων ξεκινώντας από τις μονές σελίδες -pdfjs-spread-odd-button-label = Μονές επεκτάσεις -pdfjs-spread-even-button = - .title = Σύνδεση επεκτάσεων σελίδων ξεκινώντας από τις ζυγές σελίδες -pdfjs-spread-even-button-label = Ζυγές επεκτάσεις - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Ιδιότητες εγγράφου… -pdfjs-document-properties-button-label = Ιδιότητες εγγράφου… -pdfjs-document-properties-file-name = Όνομα αρχείου: -pdfjs-document-properties-file-size = Μέγεθος αρχείου: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Τίτλος: -pdfjs-document-properties-author = Συγγραφέας: -pdfjs-document-properties-subject = Θέμα: -pdfjs-document-properties-keywords = Λέξεις-κλειδιά: -pdfjs-document-properties-creation-date = Ημερομηνία δημιουργίας: -pdfjs-document-properties-modification-date = Ημερομηνία τροποποίησης: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Δημιουργός: -pdfjs-document-properties-producer = Παραγωγός PDF: -pdfjs-document-properties-version = Έκδοση PDF: -pdfjs-document-properties-page-count = Αριθμός σελίδων: -pdfjs-document-properties-page-size = Μέγεθος σελίδας: -pdfjs-document-properties-page-size-unit-inches = ίντσες -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = κατακόρυφα -pdfjs-document-properties-page-size-orientation-landscape = οριζόντια -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Επιστολή -pdfjs-document-properties-page-size-name-legal = Τύπου Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Ταχεία προβολή ιστού: -pdfjs-document-properties-linearized-yes = Ναι -pdfjs-document-properties-linearized-no = Όχι -pdfjs-document-properties-close-button = Κλείσιμο - -## Print - -pdfjs-print-progress-message = Προετοιμασία του εγγράφου για εκτύπωση… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Ακύρωση -pdfjs-printing-not-supported = Προειδοποίηση: Η εκτύπωση δεν υποστηρίζεται πλήρως από το πρόγραμμα περιήγησης. -pdfjs-printing-not-ready = Προειδοποίηση: Το PDF δεν φορτώθηκε πλήρως για εκτύπωση. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = (Απ)ενεργοποίηση πλαϊνής γραμμής -pdfjs-toggle-sidebar-notification-button = - .title = (Απ)ενεργοποίηση πλαϊνής γραμμής (το έγγραφο περιέχει περίγραμμα/συνημμένα/επίπεδα) -pdfjs-toggle-sidebar-button-label = (Απ)ενεργοποίηση πλαϊνής γραμμής -pdfjs-document-outline-button = - .title = Εμφάνιση διάρθρωσης εγγράφου (διπλό κλικ για ανάπτυξη/σύμπτυξη όλων των στοιχείων) -pdfjs-document-outline-button-label = Διάρθρωση εγγράφου -pdfjs-attachments-button = - .title = Εμφάνιση συνημμένων -pdfjs-attachments-button-label = Συνημμένα -pdfjs-layers-button = - .title = Εμφάνιση επιπέδων (διπλό κλικ για επαναφορά όλων των επιπέδων στην προεπιλεγμένη κατάσταση) -pdfjs-layers-button-label = Επίπεδα -pdfjs-thumbs-button = - .title = Εμφάνιση μικρογραφιών -pdfjs-thumbs-button-label = Μικρογραφίες -pdfjs-current-outline-item-button = - .title = Εύρεση τρέχοντος στοιχείου διάρθρωσης -pdfjs-current-outline-item-button-label = Τρέχον στοιχείο διάρθρωσης -pdfjs-findbar-button = - .title = Εύρεση στο έγγραφο -pdfjs-findbar-button-label = Εύρεση -pdfjs-additional-layers = Επιπρόσθετα επίπεδα - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Σελίδα { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Μικρογραφία σελίδας { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Εύρεση - .placeholder = Εύρεση στο έγγραφο… -pdfjs-find-previous-button = - .title = Εύρεση της προηγούμενης εμφάνισης της φράσης -pdfjs-find-previous-button-label = Προηγούμενο -pdfjs-find-next-button = - .title = Εύρεση της επόμενης εμφάνισης της φράσης -pdfjs-find-next-button-label = Επόμενο -pdfjs-find-highlight-checkbox = Επισήμανση όλων -pdfjs-find-match-case-checkbox-label = Συμφωνία πεζών/κεφαλαίων -pdfjs-find-match-diacritics-checkbox-label = Αντιστοίχιση διακριτικών -pdfjs-find-entire-word-checkbox-label = Ολόκληρες λέξεις -pdfjs-find-reached-top = Φτάσατε στην αρχή του εγγράφου, συνέχεια από το τέλος -pdfjs-find-reached-bottom = Φτάσατε στο τέλος του εγγράφου, συνέχεια από την αρχή -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } από { $total } αντιστοιχία - *[other] { $current } από { $total } αντιστοιχίες - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Περισσότερες από { $limit } αντιστοιχία - *[other] Περισσότερες από { $limit } αντιστοιχίες - } -pdfjs-find-not-found = Η φράση δεν βρέθηκε - -## Predefined zoom values - -pdfjs-page-scale-width = Πλάτος σελίδας -pdfjs-page-scale-fit = Μέγεθος σελίδας -pdfjs-page-scale-auto = Αυτόματο ζουμ -pdfjs-page-scale-actual = Πραγματικό μέγεθος -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Σελίδα { $page } - -## Loading indicator messages - -pdfjs-loading-error = Προέκυψε σφάλμα κατά τη φόρτωση του PDF. -pdfjs-invalid-file-error = Μη έγκυρο ή κατεστραμμένο αρχείο PDF. -pdfjs-missing-file-error = Λείπει αρχείο PDF. -pdfjs-unexpected-response-error = Μη αναμενόμενη απόκριση από το διακομιστή. -pdfjs-rendering-error = Προέκυψε σφάλμα κατά την εμφάνιση της σελίδας. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Σχόλιο «{ $type }»] - -## Password - -pdfjs-password-label = Εισαγάγετε τον κωδικό πρόσβασης για να ανοίξετε αυτό το αρχείο PDF. -pdfjs-password-invalid = Μη έγκυρος κωδικός πρόσβασης. Παρακαλώ δοκιμάστε ξανά. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Ακύρωση -pdfjs-web-fonts-disabled = Οι γραμματοσειρές ιστού είναι ανενεργές: δεν είναι δυνατή η χρήση των ενσωματωμένων γραμματοσειρών PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Κείμενο -pdfjs-editor-free-text-button-label = Κείμενο -pdfjs-editor-ink-button = - .title = Σχέδιο -pdfjs-editor-ink-button-label = Σχέδιο -pdfjs-editor-stamp-button = - .title = Προσθήκη ή επεξεργασία εικόνων -pdfjs-editor-stamp-button-label = Προσθήκη ή επεξεργασία εικόνων -pdfjs-editor-highlight-button = - .title = Επισήμανση -pdfjs-editor-highlight-button-label = Επισήμανση -pdfjs-highlight-floating-button = - .title = Επισήμανση -pdfjs-highlight-floating-button1 = - .title = Επισήμανση - .aria-label = Επισήμανση -pdfjs-highlight-floating-button-label = Επισήμανση - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Αφαίρεση σχεδίου -pdfjs-editor-remove-freetext-button = - .title = Αφαίρεση κειμένου -pdfjs-editor-remove-stamp-button = - .title = Αφαίρεση εικόνας -pdfjs-editor-remove-highlight-button = - .title = Αφαίρεση επισήμανσης - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Χρώμα -pdfjs-editor-free-text-size-input = Μέγεθος -pdfjs-editor-ink-color-input = Χρώμα -pdfjs-editor-ink-thickness-input = Πάχος -pdfjs-editor-ink-opacity-input = Αδιαφάνεια -pdfjs-editor-stamp-add-image-button = - .title = Προσθήκη εικόνας -pdfjs-editor-stamp-add-image-button-label = Προσθήκη εικόνας -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Πάχος -pdfjs-editor-free-highlight-thickness-title = - .title = Αλλαγή πάχους κατά την επισήμανση στοιχείων εκτός κειμένου -pdfjs-free-text = - .aria-label = Επεξεργασία κειμένου -pdfjs-free-text-default-content = Ξεκινήστε να πληκτρολογείτε… -pdfjs-ink = - .aria-label = Επεξεργασία σχεδίων -pdfjs-ink-canvas = - .aria-label = Εικόνα από τον χρήστη - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Εναλλακτικό κείμενο -pdfjs-editor-alt-text-edit-button-label = Επεξεργασία εναλλακτικού κειμένου -pdfjs-editor-alt-text-dialog-label = Διαλέξτε μια επιλογή -pdfjs-editor-alt-text-dialog-description = Το εναλλακτικό κείμενο είναι χρήσιμο όταν οι άνθρωποι δεν μπορούν να δουν την εικόνα ή όταν αυτή δεν φορτώνεται. -pdfjs-editor-alt-text-add-description-label = Προσθήκη περιγραφής -pdfjs-editor-alt-text-add-description-description = Στοχεύστε σε μία ή δύο προτάσεις που περιγράφουν το θέμα, τη ρύθμιση ή τις ενέργειες. -pdfjs-editor-alt-text-mark-decorative-label = Επισήμανση ως διακοσμητικό -pdfjs-editor-alt-text-mark-decorative-description = Χρησιμοποιείται για διακοσμητικές εικόνες, όπως περιγράμματα ή υδατογραφήματα. -pdfjs-editor-alt-text-cancel-button = Ακύρωση -pdfjs-editor-alt-text-save-button = Αποθήκευση -pdfjs-editor-alt-text-decorative-tooltip = Επισημασμένο ως διακοσμητικό -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Για παράδειγμα, «Ένας νεαρός άνδρας κάθεται σε ένα τραπέζι για να φάει ένα γεύμα» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Επάνω αριστερή γωνία — αλλαγή μεγέθους -pdfjs-editor-resizer-label-top-middle = Μέσο επάνω πλευράς — αλλαγή μεγέθους -pdfjs-editor-resizer-label-top-right = Επάνω δεξιά γωνία — αλλαγή μεγέθους -pdfjs-editor-resizer-label-middle-right = Μέσο δεξιάς πλευράς — αλλαγή μεγέθους -pdfjs-editor-resizer-label-bottom-right = Κάτω δεξιά γωνία — αλλαγή μεγέθους -pdfjs-editor-resizer-label-bottom-middle = Μέσο κάτω πλευράς — αλλαγή μεγέθους -pdfjs-editor-resizer-label-bottom-left = Κάτω αριστερή γωνία — αλλαγή μεγέθους -pdfjs-editor-resizer-label-middle-left = Μέσο αριστερής πλευράς — αλλαγή μεγέθους - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Χρώμα επισήμανσης -pdfjs-editor-colorpicker-button = - .title = Αλλαγή χρώματος -pdfjs-editor-colorpicker-dropdown = - .aria-label = Επιλογές χρωμάτων -pdfjs-editor-colorpicker-yellow = - .title = Κίτρινο -pdfjs-editor-colorpicker-green = - .title = Πράσινο -pdfjs-editor-colorpicker-blue = - .title = Μπλε -pdfjs-editor-colorpicker-pink = - .title = Ροζ -pdfjs-editor-colorpicker-red = - .title = Κόκκινο - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Εμφάνιση όλων -pdfjs-editor-highlight-show-all-button = - .title = Εμφάνιση όλων diff --git a/media/js/pdf4/web/locale/en-CA/viewer.ftl b/media/js/pdf4/web/locale/en-CA/viewer.ftl deleted file mode 100644 index f87104e78d..0000000000 --- a/media/js/pdf4/web/locale/en-CA/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Previous Page -pdfjs-previous-button-label = Previous -pdfjs-next-button = - .title = Next Page -pdfjs-next-button-label = Next -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Page -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = of { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom Out -pdfjs-zoom-out-button-label = Zoom Out -pdfjs-zoom-in-button = - .title = Zoom In -pdfjs-zoom-in-button-label = Zoom In -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Switch to Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Open File -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Print -pdfjs-print-button-label = Print -pdfjs-save-button = - .title = Save -pdfjs-save-button-label = Save -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Download -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Download -pdfjs-bookmark-button = - .title = Current Page (View URL from Current Page) -pdfjs-bookmark-button-label = Current Page -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Open in app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Open in app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Go to First Page -pdfjs-first-page-button-label = Go to First Page -pdfjs-last-page-button = - .title = Go to Last Page -pdfjs-last-page-button-label = Go to Last Page -pdfjs-page-rotate-cw-button = - .title = Rotate Clockwise -pdfjs-page-rotate-cw-button-label = Rotate Clockwise -pdfjs-page-rotate-ccw-button = - .title = Rotate Counterclockwise -pdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise -pdfjs-cursor-text-select-tool-button = - .title = Enable Text Selection Tool -pdfjs-cursor-text-select-tool-button-label = Text Selection Tool -pdfjs-cursor-hand-tool-button = - .title = Enable Hand Tool -pdfjs-cursor-hand-tool-button-label = Hand Tool -pdfjs-scroll-page-button = - .title = Use Page Scrolling -pdfjs-scroll-page-button-label = Page Scrolling -pdfjs-scroll-vertical-button = - .title = Use Vertical Scrolling -pdfjs-scroll-vertical-button-label = Vertical Scrolling -pdfjs-scroll-horizontal-button = - .title = Use Horizontal Scrolling -pdfjs-scroll-horizontal-button-label = Horizontal Scrolling -pdfjs-scroll-wrapped-button = - .title = Use Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = Do not join page spreads -pdfjs-spread-none-button-label = No Spreads -pdfjs-spread-odd-button = - .title = Join page spreads starting with odd-numbered pages -pdfjs-spread-odd-button-label = Odd Spreads -pdfjs-spread-even-button = - .title = Join page spreads starting with even-numbered pages -pdfjs-spread-even-button-label = Even Spreads - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Document Properties… -pdfjs-document-properties-button-label = Document Properties… -pdfjs-document-properties-file-name = File name: -pdfjs-document-properties-file-size = File size: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Title: -pdfjs-document-properties-author = Author: -pdfjs-document-properties-subject = Subject: -pdfjs-document-properties-keywords = Keywords: -pdfjs-document-properties-creation-date = Creation Date: -pdfjs-document-properties-modification-date = Modification Date: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creator: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Page Count: -pdfjs-document-properties-page-size = Page Size: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = landscape -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Yes -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Close - -## Print - -pdfjs-print-progress-message = Preparing document for printing… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancel -pdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser. -pdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggle Sidebar -pdfjs-toggle-sidebar-notification-button = - .title = Toggle Sidebar (document contains outline/attachments/layers) -pdfjs-toggle-sidebar-button-label = Toggle Sidebar -pdfjs-document-outline-button = - .title = Show Document Outline (double-click to expand/collapse all items) -pdfjs-document-outline-button-label = Document Outline -pdfjs-attachments-button = - .title = Show Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-layers-button = - .title = Show Layers (double-click to reset all layers to the default state) -pdfjs-layers-button-label = Layers -pdfjs-thumbs-button = - .title = Show Thumbnails -pdfjs-thumbs-button-label = Thumbnails -pdfjs-current-outline-item-button = - .title = Find Current Outline Item -pdfjs-current-outline-item-button-label = Current Outline Item -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = Find -pdfjs-additional-layers = Additional Layers - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail of Page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find in document… -pdfjs-find-previous-button = - .title = Find the previous occurrence of the phrase -pdfjs-find-previous-button-label = Previous -pdfjs-find-next-button = - .title = Find the next occurrence of the phrase -pdfjs-find-next-button-label = Next -pdfjs-find-highlight-checkbox = Highlight All -pdfjs-find-match-case-checkbox-label = Match Case -pdfjs-find-match-diacritics-checkbox-label = Match Diacritics -pdfjs-find-entire-word-checkbox-label = Whole Words -pdfjs-find-reached-top = Reached top of document, continued from bottom -pdfjs-find-reached-bottom = Reached end of document, continued from top -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } of { $total } match - *[other] { $current } of { $total } matches - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] More than { $limit } match - *[other] More than { $limit } matches - } -pdfjs-find-not-found = Phrase not found - -## Predefined zoom values - -pdfjs-page-scale-width = Page Width -pdfjs-page-scale-fit = Page Fit -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Actual Size -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Page { $page } - -## Loading indicator messages - -pdfjs-loading-error = An error occurred while loading the PDF. -pdfjs-invalid-file-error = Invalid or corrupted PDF file. -pdfjs-missing-file-error = Missing PDF file. -pdfjs-unexpected-response-error = Unexpected server response. -pdfjs-rendering-error = An error occurred while rendering the page. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Enter the password to open this PDF file. -pdfjs-password-invalid = Invalid password. Please try again. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancel -pdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Draw -pdfjs-editor-ink-button-label = Draw -pdfjs-editor-stamp-button = - .title = Add or edit images -pdfjs-editor-stamp-button-label = Add or edit images -pdfjs-editor-highlight-button = - .title = Highlight -pdfjs-editor-highlight-button-label = Highlight -pdfjs-highlight-floating-button = - .title = Highlight -pdfjs-highlight-floating-button1 = - .title = Highlight - .aria-label = Highlight -pdfjs-highlight-floating-button-label = Highlight - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remove drawing -pdfjs-editor-remove-freetext-button = - .title = Remove text -pdfjs-editor-remove-stamp-button = - .title = Remove image -pdfjs-editor-remove-highlight-button = - .title = Remove highlight - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Colour -pdfjs-editor-free-text-size-input = Size -pdfjs-editor-ink-color-input = Colour -pdfjs-editor-ink-thickness-input = Thickness -pdfjs-editor-ink-opacity-input = Opacity -pdfjs-editor-stamp-add-image-button = - .title = Add image -pdfjs-editor-stamp-add-image-button-label = Add image -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Thickness -pdfjs-editor-free-highlight-thickness-title = - .title = Change thickness when highlighting items other than text -pdfjs-free-text = - .aria-label = Text Editor -pdfjs-free-text-default-content = Start typing… -pdfjs-ink = - .aria-label = Draw Editor -pdfjs-ink-canvas = - .aria-label = User-created image - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt text -pdfjs-editor-alt-text-edit-button-label = Edit alt text -pdfjs-editor-alt-text-dialog-label = Choose an option -pdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. -pdfjs-editor-alt-text-add-description-label = Add a description -pdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions. -pdfjs-editor-alt-text-mark-decorative-label = Mark as decorative -pdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks. -pdfjs-editor-alt-text-cancel-button = Cancel -pdfjs-editor-alt-text-save-button = Save -pdfjs-editor-alt-text-decorative-tooltip = Marked as decorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = For example, “A young man sits down at a table to eat a meal” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Top left corner — resize -pdfjs-editor-resizer-label-top-middle = Top middle — resize -pdfjs-editor-resizer-label-top-right = Top right corner — resize -pdfjs-editor-resizer-label-middle-right = Middle right — resize -pdfjs-editor-resizer-label-bottom-right = Bottom right corner — resize -pdfjs-editor-resizer-label-bottom-middle = Bottom middle — resize -pdfjs-editor-resizer-label-bottom-left = Bottom left corner — resize -pdfjs-editor-resizer-label-middle-left = Middle left — resize - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Highlight colour -pdfjs-editor-colorpicker-button = - .title = Change colour -pdfjs-editor-colorpicker-dropdown = - .aria-label = Colour choices -pdfjs-editor-colorpicker-yellow = - .title = Yellow -pdfjs-editor-colorpicker-green = - .title = Green -pdfjs-editor-colorpicker-blue = - .title = Blue -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Red - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Show all -pdfjs-editor-highlight-show-all-button = - .title = Show all diff --git a/media/js/pdf4/web/locale/en-GB/viewer.ftl b/media/js/pdf4/web/locale/en-GB/viewer.ftl deleted file mode 100644 index 3b141aee16..0000000000 --- a/media/js/pdf4/web/locale/en-GB/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Previous Page -pdfjs-previous-button-label = Previous -pdfjs-next-button = - .title = Next Page -pdfjs-next-button-label = Next -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Page -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = of { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom Out -pdfjs-zoom-out-button-label = Zoom Out -pdfjs-zoom-in-button = - .title = Zoom In -pdfjs-zoom-in-button-label = Zoom In -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Switch to Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Open File -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Print -pdfjs-print-button-label = Print -pdfjs-save-button = - .title = Save -pdfjs-save-button-label = Save -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Download -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Download -pdfjs-bookmark-button = - .title = Current Page (View URL from Current Page) -pdfjs-bookmark-button-label = Current Page -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Open in app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Open in app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Go to First Page -pdfjs-first-page-button-label = Go to First Page -pdfjs-last-page-button = - .title = Go to Last Page -pdfjs-last-page-button-label = Go to Last Page -pdfjs-page-rotate-cw-button = - .title = Rotate Clockwise -pdfjs-page-rotate-cw-button-label = Rotate Clockwise -pdfjs-page-rotate-ccw-button = - .title = Rotate Anti-Clockwise -pdfjs-page-rotate-ccw-button-label = Rotate Anti-Clockwise -pdfjs-cursor-text-select-tool-button = - .title = Enable Text Selection Tool -pdfjs-cursor-text-select-tool-button-label = Text Selection Tool -pdfjs-cursor-hand-tool-button = - .title = Enable Hand Tool -pdfjs-cursor-hand-tool-button-label = Hand Tool -pdfjs-scroll-page-button = - .title = Use Page Scrolling -pdfjs-scroll-page-button-label = Page Scrolling -pdfjs-scroll-vertical-button = - .title = Use Vertical Scrolling -pdfjs-scroll-vertical-button-label = Vertical Scrolling -pdfjs-scroll-horizontal-button = - .title = Use Horizontal Scrolling -pdfjs-scroll-horizontal-button-label = Horizontal Scrolling -pdfjs-scroll-wrapped-button = - .title = Use Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = Do not join page spreads -pdfjs-spread-none-button-label = No Spreads -pdfjs-spread-odd-button = - .title = Join page spreads starting with odd-numbered pages -pdfjs-spread-odd-button-label = Odd Spreads -pdfjs-spread-even-button = - .title = Join page spreads starting with even-numbered pages -pdfjs-spread-even-button-label = Even Spreads - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Document Properties… -pdfjs-document-properties-button-label = Document Properties… -pdfjs-document-properties-file-name = File name: -pdfjs-document-properties-file-size = File size: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Title: -pdfjs-document-properties-author = Author: -pdfjs-document-properties-subject = Subject: -pdfjs-document-properties-keywords = Keywords: -pdfjs-document-properties-creation-date = Creation Date: -pdfjs-document-properties-modification-date = Modification Date: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creator: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Page Count: -pdfjs-document-properties-page-size = Page Size: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = landscape -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Yes -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Close - -## Print - -pdfjs-print-progress-message = Preparing document for printing… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancel -pdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser. -pdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggle Sidebar -pdfjs-toggle-sidebar-notification-button = - .title = Toggle Sidebar (document contains outline/attachments/layers) -pdfjs-toggle-sidebar-button-label = Toggle Sidebar -pdfjs-document-outline-button = - .title = Show Document Outline (double-click to expand/collapse all items) -pdfjs-document-outline-button-label = Document Outline -pdfjs-attachments-button = - .title = Show Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-layers-button = - .title = Show Layers (double-click to reset all layers to the default state) -pdfjs-layers-button-label = Layers -pdfjs-thumbs-button = - .title = Show Thumbnails -pdfjs-thumbs-button-label = Thumbnails -pdfjs-current-outline-item-button = - .title = Find Current Outline Item -pdfjs-current-outline-item-button-label = Current Outline Item -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = Find -pdfjs-additional-layers = Additional Layers - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail of Page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find in document… -pdfjs-find-previous-button = - .title = Find the previous occurrence of the phrase -pdfjs-find-previous-button-label = Previous -pdfjs-find-next-button = - .title = Find the next occurrence of the phrase -pdfjs-find-next-button-label = Next -pdfjs-find-highlight-checkbox = Highlight All -pdfjs-find-match-case-checkbox-label = Match Case -pdfjs-find-match-diacritics-checkbox-label = Match Diacritics -pdfjs-find-entire-word-checkbox-label = Whole Words -pdfjs-find-reached-top = Reached top of document, continued from bottom -pdfjs-find-reached-bottom = Reached end of document, continued from top -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } of { $total } match - *[other] { $current } of { $total } matches - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] More than { $limit } match - *[other] More than { $limit } matches - } -pdfjs-find-not-found = Phrase not found - -## Predefined zoom values - -pdfjs-page-scale-width = Page Width -pdfjs-page-scale-fit = Page Fit -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Actual Size -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Page { $page } - -## Loading indicator messages - -pdfjs-loading-error = An error occurred while loading the PDF. -pdfjs-invalid-file-error = Invalid or corrupted PDF file. -pdfjs-missing-file-error = Missing PDF file. -pdfjs-unexpected-response-error = Unexpected server response. -pdfjs-rendering-error = An error occurred while rendering the page. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Enter the password to open this PDF file. -pdfjs-password-invalid = Invalid password. Please try again. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancel -pdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Draw -pdfjs-editor-ink-button-label = Draw -pdfjs-editor-stamp-button = - .title = Add or edit images -pdfjs-editor-stamp-button-label = Add or edit images -pdfjs-editor-highlight-button = - .title = Highlight -pdfjs-editor-highlight-button-label = Highlight -pdfjs-highlight-floating-button = - .title = Highlight -pdfjs-highlight-floating-button1 = - .title = Highlight - .aria-label = Highlight -pdfjs-highlight-floating-button-label = Highlight - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remove drawing -pdfjs-editor-remove-freetext-button = - .title = Remove text -pdfjs-editor-remove-stamp-button = - .title = Remove image -pdfjs-editor-remove-highlight-button = - .title = Remove highlight - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Colour -pdfjs-editor-free-text-size-input = Size -pdfjs-editor-ink-color-input = Colour -pdfjs-editor-ink-thickness-input = Thickness -pdfjs-editor-ink-opacity-input = Opacity -pdfjs-editor-stamp-add-image-button = - .title = Add image -pdfjs-editor-stamp-add-image-button-label = Add image -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Thickness -pdfjs-editor-free-highlight-thickness-title = - .title = Change thickness when highlighting items other than text -pdfjs-free-text = - .aria-label = Text Editor -pdfjs-free-text-default-content = Start typing… -pdfjs-ink = - .aria-label = Draw Editor -pdfjs-ink-canvas = - .aria-label = User-created image - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt text -pdfjs-editor-alt-text-edit-button-label = Edit alt text -pdfjs-editor-alt-text-dialog-label = Choose an option -pdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. -pdfjs-editor-alt-text-add-description-label = Add a description -pdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions. -pdfjs-editor-alt-text-mark-decorative-label = Mark as decorative -pdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks. -pdfjs-editor-alt-text-cancel-button = Cancel -pdfjs-editor-alt-text-save-button = Save -pdfjs-editor-alt-text-decorative-tooltip = Marked as decorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = For example, “A young man sits down at a table to eat a meal” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Top left corner — resize -pdfjs-editor-resizer-label-top-middle = Top middle — resize -pdfjs-editor-resizer-label-top-right = Top right corner — resize -pdfjs-editor-resizer-label-middle-right = Middle right — resize -pdfjs-editor-resizer-label-bottom-right = Bottom right corner — resize -pdfjs-editor-resizer-label-bottom-middle = Bottom middle — resize -pdfjs-editor-resizer-label-bottom-left = Bottom left corner — resize -pdfjs-editor-resizer-label-middle-left = Middle left — resize - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Highlight colour -pdfjs-editor-colorpicker-button = - .title = Change colour -pdfjs-editor-colorpicker-dropdown = - .aria-label = Colour choices -pdfjs-editor-colorpicker-yellow = - .title = Yellow -pdfjs-editor-colorpicker-green = - .title = Green -pdfjs-editor-colorpicker-blue = - .title = Blue -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Red - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Show all -pdfjs-editor-highlight-show-all-button = - .title = Show all diff --git a/media/js/pdf4/web/locale/en-US/viewer.ftl b/media/js/pdf4/web/locale/en-US/viewer.ftl deleted file mode 100644 index 8aea43959e..0000000000 --- a/media/js/pdf4/web/locale/en-US/viewer.ftl +++ /dev/null @@ -1,418 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Previous Page -pdfjs-previous-button-label = Previous -pdfjs-next-button = - .title = Next Page -pdfjs-next-button-label = Next - -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Page - -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = of { $pagesCount } - -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) - -pdfjs-zoom-out-button = - .title = Zoom Out -pdfjs-zoom-out-button-label = Zoom Out -pdfjs-zoom-in-button = - .title = Zoom In -pdfjs-zoom-in-button-label = Zoom In -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Switch to Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Open File -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Print -pdfjs-print-button-label = Print -pdfjs-save-button = - .title = Save -pdfjs-save-button-label = Save - -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Download - -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Download - -pdfjs-bookmark-button = - .title = Current Page (View URL from Current Page) -pdfjs-bookmark-button-label = Current Page - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools - -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Go to First Page -pdfjs-first-page-button-label = Go to First Page -pdfjs-last-page-button = - .title = Go to Last Page -pdfjs-last-page-button-label = Go to Last Page -pdfjs-page-rotate-cw-button = - .title = Rotate Clockwise -pdfjs-page-rotate-cw-button-label = Rotate Clockwise -pdfjs-page-rotate-ccw-button = - .title = Rotate Counterclockwise -pdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise -pdfjs-cursor-text-select-tool-button = - .title = Enable Text Selection Tool -pdfjs-cursor-text-select-tool-button-label = Text Selection Tool -pdfjs-cursor-hand-tool-button = - .title = Enable Hand Tool -pdfjs-cursor-hand-tool-button-label = Hand Tool -pdfjs-scroll-page-button = - .title = Use Page Scrolling -pdfjs-scroll-page-button-label = Page Scrolling -pdfjs-scroll-vertical-button = - .title = Use Vertical Scrolling -pdfjs-scroll-vertical-button-label = Vertical Scrolling -pdfjs-scroll-horizontal-button = - .title = Use Horizontal Scrolling -pdfjs-scroll-horizontal-button-label = Horizontal Scrolling -pdfjs-scroll-wrapped-button = - .title = Use Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = Do not join page spreads -pdfjs-spread-none-button-label = No Spreads -pdfjs-spread-odd-button = - .title = Join page spreads starting with odd-numbered pages -pdfjs-spread-odd-button-label = Odd Spreads -pdfjs-spread-even-button = - .title = Join page spreads starting with even-numbered pages -pdfjs-spread-even-button-label = Even Spreads - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Document Properties… -pdfjs-document-properties-button-label = Document Properties… -pdfjs-document-properties-file-name = File name: -pdfjs-document-properties-file-size = File size: - -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) - -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) - -pdfjs-document-properties-title = Title: -pdfjs-document-properties-author = Author: -pdfjs-document-properties-subject = Subject: -pdfjs-document-properties-keywords = Keywords: -pdfjs-document-properties-creation-date = Creation Date: -pdfjs-document-properties-modification-date = Modification Date: - -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } - -pdfjs-document-properties-creator = Creator: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Page Count: -pdfjs-document-properties-page-size = Page Size: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = landscape -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Yes -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Close - -## Print - -pdfjs-print-progress-message = Preparing document for printing… - -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% - -pdfjs-print-progress-close-button = Cancel -pdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser. -pdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggle Sidebar -pdfjs-toggle-sidebar-notification-button = - .title = Toggle Sidebar (document contains outline/attachments/layers) -pdfjs-toggle-sidebar-button-label = Toggle Sidebar -pdfjs-document-outline-button = - .title = Show Document Outline (double-click to expand/collapse all items) -pdfjs-document-outline-button-label = Document Outline -pdfjs-attachments-button = - .title = Show Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-layers-button = - .title = Show Layers (double-click to reset all layers to the default state) -pdfjs-layers-button-label = Layers -pdfjs-thumbs-button = - .title = Show Thumbnails -pdfjs-thumbs-button-label = Thumbnails -pdfjs-current-outline-item-button = - .title = Find Current Outline Item -pdfjs-current-outline-item-button-label = Current Outline Item -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = Find -pdfjs-additional-layers = Additional Layers - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail of Page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find in document… -pdfjs-find-previous-button = - .title = Find the previous occurrence of the phrase -pdfjs-find-previous-button-label = Previous -pdfjs-find-next-button = - .title = Find the next occurrence of the phrase -pdfjs-find-next-button-label = Next -pdfjs-find-highlight-checkbox = Highlight All -pdfjs-find-match-case-checkbox-label = Match Case -pdfjs-find-match-diacritics-checkbox-label = Match Diacritics -pdfjs-find-entire-word-checkbox-label = Whole Words -pdfjs-find-reached-top = Reached top of document, continued from bottom -pdfjs-find-reached-bottom = Reached end of document, continued from top - -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } of { $total } match - *[other] { $current } of { $total } matches - } - -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] More than { $limit } match - *[other] More than { $limit } matches - } - -pdfjs-find-not-found = Phrase not found - -## Predefined zoom values - -pdfjs-page-scale-width = Page Width -pdfjs-page-scale-fit = Page Fit -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Actual Size - -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Page { $page } - -## Loading indicator messages - -pdfjs-loading-error = An error occurred while loading the PDF. -pdfjs-invalid-file-error = Invalid or corrupted PDF file. -pdfjs-missing-file-error = Missing PDF file. -pdfjs-unexpected-response-error = Unexpected server response. -pdfjs-rendering-error = An error occurred while rendering the page. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Enter the password to open this PDF file. -pdfjs-password-invalid = Invalid password. Please try again. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancel -pdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Draw -pdfjs-editor-ink-button-label = Draw -pdfjs-editor-stamp-button = - .title = Add or edit images -pdfjs-editor-stamp-button-label = Add or edit images -pdfjs-editor-highlight-button = - .title = Highlight -pdfjs-editor-highlight-button-label = Highlight -pdfjs-highlight-floating-button1 = - .title = Highlight - .aria-label = Highlight -pdfjs-highlight-floating-button-label = Highlight - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remove drawing -pdfjs-editor-remove-freetext-button = - .title = Remove text -pdfjs-editor-remove-stamp-button = - .title = Remove image -pdfjs-editor-remove-highlight-button = - .title = Remove highlight - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Size -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Thickness -pdfjs-editor-ink-opacity-input = Opacity -pdfjs-editor-stamp-add-image-button = - .title = Add image -pdfjs-editor-stamp-add-image-button-label = Add image -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Thickness -pdfjs-editor-free-highlight-thickness-title = - .title = Change thickness when highlighting items other than text - -pdfjs-free-text = - .aria-label = Text Editor -pdfjs-free-text-default-content = Start typing… -pdfjs-ink = - .aria-label = Draw Editor -pdfjs-ink-canvas = - .aria-label = User-created image - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt text - -pdfjs-editor-alt-text-edit-button-label = Edit alt text -pdfjs-editor-alt-text-dialog-label = Choose an option -pdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. -pdfjs-editor-alt-text-add-description-label = Add a description -pdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions. -pdfjs-editor-alt-text-mark-decorative-label = Mark as decorative -pdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks. -pdfjs-editor-alt-text-cancel-button = Cancel -pdfjs-editor-alt-text-save-button = Save -pdfjs-editor-alt-text-decorative-tooltip = Marked as decorative - -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = For example, “A young man sits down at a table to eat a meal” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Top left corner — resize -pdfjs-editor-resizer-label-top-middle = Top middle — resize -pdfjs-editor-resizer-label-top-right = Top right corner — resize -pdfjs-editor-resizer-label-middle-right = Middle right — resize -pdfjs-editor-resizer-label-bottom-right = Bottom right corner — resize -pdfjs-editor-resizer-label-bottom-middle = Bottom middle — resize -pdfjs-editor-resizer-label-bottom-left = Bottom left corner — resize -pdfjs-editor-resizer-label-middle-left = Middle left — resize - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Highlight color - -pdfjs-editor-colorpicker-button = - .title = Change color -pdfjs-editor-colorpicker-dropdown = - .aria-label = Color choices -pdfjs-editor-colorpicker-yellow = - .title = Yellow -pdfjs-editor-colorpicker-green = - .title = Green -pdfjs-editor-colorpicker-blue = - .title = Blue -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Red - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Show all -pdfjs-editor-highlight-show-all-button = - .title = Show all diff --git a/media/js/pdf4/web/locale/eo/viewer.ftl b/media/js/pdf4/web/locale/eo/viewer.ftl deleted file mode 100644 index 70260fd485..0000000000 --- a/media/js/pdf4/web/locale/eo/viewer.ftl +++ /dev/null @@ -1,398 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Antaŭa paĝo -pdfjs-previous-button-label = Malantaŭen -pdfjs-next-button = - .title = Venonta paĝo -pdfjs-next-button-label = Antaŭen -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Paĝo -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = el { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } el { $pagesCount }) -pdfjs-zoom-out-button = - .title = Malpligrandigi -pdfjs-zoom-out-button-label = Malpligrandigi -pdfjs-zoom-in-button = - .title = Pligrandigi -pdfjs-zoom-in-button-label = Pligrandigi -pdfjs-zoom-select = - .title = Pligrandigilo -pdfjs-presentation-mode-button = - .title = Iri al prezenta reĝimo -pdfjs-presentation-mode-button-label = Prezenta reĝimo -pdfjs-open-file-button = - .title = Malfermi dosieron -pdfjs-open-file-button-label = Malfermi -pdfjs-print-button = - .title = Presi -pdfjs-print-button-label = Presi -pdfjs-save-button = - .title = Konservi -pdfjs-save-button-label = Konservi -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Elŝuti -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Elŝuti -pdfjs-bookmark-button = - .title = Nuna paĝo (Montri adreson de la nuna paĝo) -pdfjs-bookmark-button-label = Nuna paĝo -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Malfermi en programo -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Malfermi en programo - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Iloj -pdfjs-tools-button-label = Iloj -pdfjs-first-page-button = - .title = Iri al la unua paĝo -pdfjs-first-page-button-label = Iri al la unua paĝo -pdfjs-last-page-button = - .title = Iri al la lasta paĝo -pdfjs-last-page-button-label = Iri al la lasta paĝo -pdfjs-page-rotate-cw-button = - .title = Rotaciigi dekstrume -pdfjs-page-rotate-cw-button-label = Rotaciigi dekstrume -pdfjs-page-rotate-ccw-button = - .title = Rotaciigi maldekstrume -pdfjs-page-rotate-ccw-button-label = Rotaciigi maldekstrume -pdfjs-cursor-text-select-tool-button = - .title = Aktivigi tekstan elektilon -pdfjs-cursor-text-select-tool-button-label = Teksta elektilo -pdfjs-cursor-hand-tool-button = - .title = Aktivigi ilon de mano -pdfjs-cursor-hand-tool-button-label = Ilo de mano -pdfjs-scroll-page-button = - .title = Uzi rulumon de paĝo -pdfjs-scroll-page-button-label = Rulumo de paĝo -pdfjs-scroll-vertical-button = - .title = Uzi vertikalan rulumon -pdfjs-scroll-vertical-button-label = Vertikala rulumo -pdfjs-scroll-horizontal-button = - .title = Uzi horizontalan rulumon -pdfjs-scroll-horizontal-button-label = Horizontala rulumo -pdfjs-scroll-wrapped-button = - .title = Uzi ambaŭdirektan rulumon -pdfjs-scroll-wrapped-button-label = Ambaŭdirekta rulumo -pdfjs-spread-none-button = - .title = Ne montri paĝojn po du -pdfjs-spread-none-button-label = Unupaĝa vido -pdfjs-spread-odd-button = - .title = Kunigi paĝojn komencante per nepara paĝo -pdfjs-spread-odd-button-label = Po du paĝoj, neparaj maldekstre -pdfjs-spread-even-button = - .title = Kunigi paĝojn komencante per para paĝo -pdfjs-spread-even-button-label = Po du paĝoj, paraj maldekstre - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Atributoj de dokumento… -pdfjs-document-properties-button-label = Atributoj de dokumento… -pdfjs-document-properties-file-name = Nomo de dosiero: -pdfjs-document-properties-file-size = Grando de dosiero: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KO ({ $size_b } oktetoj) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MO ({ $size_b } oktetoj) -pdfjs-document-properties-title = Titolo: -pdfjs-document-properties-author = Aŭtoro: -pdfjs-document-properties-subject = Temo: -pdfjs-document-properties-keywords = Ŝlosilvorto: -pdfjs-document-properties-creation-date = Dato de kreado: -pdfjs-document-properties-modification-date = Dato de modifo: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Kreinto: -pdfjs-document-properties-producer = Produktinto de PDF: -pdfjs-document-properties-version = Versio de PDF: -pdfjs-document-properties-page-count = Nombro de paĝoj: -pdfjs-document-properties-page-size = Grando de paĝo: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertikala -pdfjs-document-properties-page-size-orientation-landscape = horizontala -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letera -pdfjs-document-properties-page-size-name-legal = Jura - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Rapida tekstaĵa vido: -pdfjs-document-properties-linearized-yes = Jes -pdfjs-document-properties-linearized-no = Ne -pdfjs-document-properties-close-button = Fermi - -## Print - -pdfjs-print-progress-message = Preparo de dokumento por presi ĝin … -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Nuligi -pdfjs-printing-not-supported = Averto: tiu ĉi retumilo ne plene subtenas presadon. -pdfjs-printing-not-ready = Averto: la PDF dosiero ne estas plene ŝargita por presado. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Montri/kaŝi flankan strion -pdfjs-toggle-sidebar-notification-button = - .title = Montri/kaŝi flankan strion (la dokumento enhavas konturon/kunsendaĵojn/tavolojn) -pdfjs-toggle-sidebar-button-label = Montri/kaŝi flankan strion -pdfjs-document-outline-button = - .title = Montri la konturon de dokumento (alklaku duoble por faldi/malfaldi ĉiujn elementojn) -pdfjs-document-outline-button-label = Konturo de dokumento -pdfjs-attachments-button = - .title = Montri kunsendaĵojn -pdfjs-attachments-button-label = Kunsendaĵojn -pdfjs-layers-button = - .title = Montri tavolojn (duoble alklaku por remeti ĉiujn tavolojn en la norman staton) -pdfjs-layers-button-label = Tavoloj -pdfjs-thumbs-button = - .title = Montri miniaturojn -pdfjs-thumbs-button-label = Miniaturoj -pdfjs-current-outline-item-button = - .title = Trovi nunan konturan elementon -pdfjs-current-outline-item-button-label = Nuna kontura elemento -pdfjs-findbar-button = - .title = Serĉi en dokumento -pdfjs-findbar-button-label = Serĉi -pdfjs-additional-layers = Aldonaj tavoloj - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Paĝo { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniaturo de paĝo { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Serĉi - .placeholder = Serĉi en dokumento… -pdfjs-find-previous-button = - .title = Serĉi la antaŭan aperon de la frazo -pdfjs-find-previous-button-label = Malantaŭen -pdfjs-find-next-button = - .title = Serĉi la venontan aperon de la frazo -pdfjs-find-next-button-label = Antaŭen -pdfjs-find-highlight-checkbox = Elstarigi ĉiujn -pdfjs-find-match-case-checkbox-label = Distingi inter majuskloj kaj minuskloj -pdfjs-find-match-diacritics-checkbox-label = Respekti supersignojn -pdfjs-find-entire-word-checkbox-label = Tutaj vortoj -pdfjs-find-reached-top = Komenco de la dokumento atingita, daŭrigado ekde la fino -pdfjs-find-reached-bottom = Fino de la dokumento atingita, daŭrigado ekde la komenco -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } el { $total } kongruo - *[other] { $current } el { $total } kongruoj - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Pli ol { $limit } kongruo - *[other] Pli ol { $limit } kongruoj - } -pdfjs-find-not-found = Frazo ne trovita - -## Predefined zoom values - -pdfjs-page-scale-width = Larĝo de paĝo -pdfjs-page-scale-fit = Adapti paĝon -pdfjs-page-scale-auto = Aŭtomata skalo -pdfjs-page-scale-actual = Reala grando -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Paĝo { $page } - -## Loading indicator messages - -pdfjs-loading-error = Okazis eraro dum la ŝargado de la PDF dosiero. -pdfjs-invalid-file-error = Nevalida aŭ difektita PDF dosiero. -pdfjs-missing-file-error = Mankas dosiero PDF. -pdfjs-unexpected-response-error = Neatendita respondo de servilo. -pdfjs-rendering-error = Okazis eraro dum la montro de la paĝo. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Prinoto: { $type }] - -## Password - -pdfjs-password-label = Tajpu pasvorton por malfermi tiun ĉi dosieron PDF. -pdfjs-password-invalid = Nevalida pasvorto. Bonvolu provi denove. -pdfjs-password-ok-button = Akcepti -pdfjs-password-cancel-button = Nuligi -pdfjs-web-fonts-disabled = Neaktivaj teksaĵaj tiparoj: ne elbas uzi enmetitajn tiparojn de PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Teksto -pdfjs-editor-free-text-button-label = Teksto -pdfjs-editor-ink-button = - .title = Desegni -pdfjs-editor-ink-button-label = Desegni -pdfjs-editor-stamp-button = - .title = Aldoni aŭ modifi bildojn -pdfjs-editor-stamp-button-label = Aldoni aŭ modifi bildojn -pdfjs-editor-highlight-button = - .title = Elstarigi -pdfjs-editor-highlight-button-label = Elstarigi -pdfjs-highlight-floating-button = - .title = Elstarigi - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Forigi desegnon -pdfjs-editor-remove-freetext-button = - .title = Forigi tekston -pdfjs-editor-remove-stamp-button = - .title = Forigi bildon -pdfjs-editor-remove-highlight-button = - .title = Forigi elstaraĵon - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Koloro -pdfjs-editor-free-text-size-input = Grando -pdfjs-editor-ink-color-input = Koloro -pdfjs-editor-ink-thickness-input = Dikeco -pdfjs-editor-ink-opacity-input = Maldiafaneco -pdfjs-editor-stamp-add-image-button = - .title = Aldoni bildon -pdfjs-editor-stamp-add-image-button-label = Aldoni bildon -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Dikeco -pdfjs-editor-free-highlight-thickness-title = - .title = Ŝanĝi dikecon dum elstarigo de netekstaj elementoj -pdfjs-free-text = - .aria-label = Tekstan redaktilon -pdfjs-free-text-default-content = Ektajpi… -pdfjs-ink = - .aria-label = Desegnan redaktilon -pdfjs-ink-canvas = - .aria-label = Bildo kreita de uzanto - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternativa teksto -pdfjs-editor-alt-text-edit-button-label = Redakti alternativan tekston -pdfjs-editor-alt-text-dialog-label = Elektu eblon -pdfjs-editor-alt-text-dialog-description = Alternativa teksto helpas personojn, en la okazoj kiam ili ne povas vidi aŭ ŝargi la bildon. -pdfjs-editor-alt-text-add-description-label = Aldoni priskribon -pdfjs-editor-alt-text-add-description-description = La celo estas unu aŭ du frazoj, kiuj priskribas la temon, etoson aŭ agojn. -pdfjs-editor-alt-text-mark-decorative-label = Marki kiel ornaman -pdfjs-editor-alt-text-mark-decorative-description = Tio ĉi estas uzita por ornamaj bildoj, kiel randoj aŭ fonaj bildoj. -pdfjs-editor-alt-text-cancel-button = Nuligi -pdfjs-editor-alt-text-save-button = Konservi -pdfjs-editor-alt-text-decorative-tooltip = Markita kiel ornama -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Ekzemple: “Juna persono sidiĝas ĉetable por ekmanĝi” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Supra maldekstra angulo — ŝangi grandon -pdfjs-editor-resizer-label-top-middle = Supra mezo — ŝanĝi grandon -pdfjs-editor-resizer-label-top-right = Supran dekstran angulon — ŝanĝi grandon -pdfjs-editor-resizer-label-middle-right = Dekstra mezo — ŝanĝi grandon -pdfjs-editor-resizer-label-bottom-right = Malsupra deksta angulo — ŝanĝi grandon -pdfjs-editor-resizer-label-bottom-middle = Malsupra mezo — ŝanĝi grandon -pdfjs-editor-resizer-label-bottom-left = Malsupra maldekstra angulo — ŝanĝi grandon -pdfjs-editor-resizer-label-middle-left = Maldekstra mezo — ŝanĝi grandon - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Elstarigi koloron -pdfjs-editor-colorpicker-button = - .title = Ŝanĝi koloron -pdfjs-editor-colorpicker-dropdown = - .aria-label = Elekto de koloroj -pdfjs-editor-colorpicker-yellow = - .title = Flava -pdfjs-editor-colorpicker-green = - .title = Verda -pdfjs-editor-colorpicker-blue = - .title = Blua -pdfjs-editor-colorpicker-pink = - .title = Roza -pdfjs-editor-colorpicker-red = - .title = Ruĝa - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Montri ĉiujn -pdfjs-editor-highlight-show-all-button = - .title = Montri ĉiujn diff --git a/media/js/pdf4/web/locale/es-AR/viewer.ftl b/media/js/pdf4/web/locale/es-AR/viewer.ftl deleted file mode 100644 index 40610b24eb..0000000000 --- a/media/js/pdf4/web/locale/es-AR/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Página siguiente -pdfjs-next-button-label = Siguiente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ( { $pageNumber } de { $pagesCount } ) -pdfjs-zoom-out-button = - .title = Alejar -pdfjs-zoom-out-button-label = Alejar -pdfjs-zoom-in-button = - .title = Acercar -pdfjs-zoom-in-button-label = Acercar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Cambiar a modo presentación -pdfjs-presentation-mode-button-label = Modo presentación -pdfjs-open-file-button = - .title = Abrir archivo -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Guardar -pdfjs-save-button-label = Guardar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Descargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Descargar -pdfjs-bookmark-button = - .title = Página actual (Ver URL de la página actual) -pdfjs-bookmark-button-label = Página actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir en la aplicación -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir en la aplicación - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Herramientas -pdfjs-tools-button-label = Herramientas -pdfjs-first-page-button = - .title = Ir a primera página -pdfjs-first-page-button-label = Ir a primera página -pdfjs-last-page-button = - .title = Ir a última página -pdfjs-last-page-button-label = Ir a última página -pdfjs-page-rotate-cw-button = - .title = Rotar horario -pdfjs-page-rotate-cw-button-label = Rotar horario -pdfjs-page-rotate-ccw-button = - .title = Rotar antihorario -pdfjs-page-rotate-ccw-button-label = Rotar antihorario -pdfjs-cursor-text-select-tool-button = - .title = Habilitar herramienta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Herramienta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Habilitar herramienta mano -pdfjs-cursor-hand-tool-button-label = Herramienta mano -pdfjs-scroll-page-button = - .title = Usar desplazamiento de página -pdfjs-scroll-page-button-label = Desplazamiento de página -pdfjs-scroll-vertical-button = - .title = Usar desplazamiento vertical -pdfjs-scroll-vertical-button-label = Desplazamiento vertical -pdfjs-scroll-horizontal-button = - .title = Usar desplazamiento vertical -pdfjs-scroll-horizontal-button-label = Desplazamiento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar desplazamiento encapsulado -pdfjs-scroll-wrapped-button-label = Desplazamiento encapsulado -pdfjs-spread-none-button = - .title = No unir páginas dobles -pdfjs-spread-none-button-label = Sin dobles -pdfjs-spread-odd-button = - .title = Unir páginas dobles comenzando con las impares -pdfjs-spread-odd-button-label = Dobles impares -pdfjs-spread-even-button = - .title = Unir páginas dobles comenzando con las pares -pdfjs-spread-even-button-label = Dobles pares - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades del documento… -pdfjs-document-properties-button-label = Propiedades del documento… -pdfjs-document-properties-file-name = Nombre de archivo: -pdfjs-document-properties-file-size = Tamaño de archovo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Asunto: -pdfjs-document-properties-keywords = Palabras clave: -pdfjs-document-properties-creation-date = Fecha de creación: -pdfjs-document-properties-modification-date = Fecha de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creador: -pdfjs-document-properties-producer = PDF Productor: -pdfjs-document-properties-version = Versión de PDF: -pdfjs-document-properties-page-count = Cantidad de páginas: -pdfjs-document-properties-page-size = Tamaño de página: -pdfjs-document-properties-page-size-unit-inches = en -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = normal -pdfjs-document-properties-page-size-orientation-landscape = apaisado -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista rápida de la Web: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Cerrar - -## Print - -pdfjs-print-progress-message = Preparando documento para imprimir… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Advertencia: La impresión no está totalmente soportada por este navegador. -pdfjs-printing-not-ready = Advertencia: El PDF no está completamente cargado para impresión. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Alternar barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) -pdfjs-toggle-sidebar-button-label = Alternar barra lateral -pdfjs-document-outline-button = - .title = Mostrar esquema del documento (doble clic para expandir/colapsar todos los ítems) -pdfjs-document-outline-button-label = Esquema del documento -pdfjs-attachments-button = - .title = Mostrar adjuntos -pdfjs-attachments-button-label = Adjuntos -pdfjs-layers-button = - .title = Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Buscar elemento de esquema actual -pdfjs-current-outline-item-button-label = Elemento de esquema actual -pdfjs-findbar-button = - .title = Buscar en documento -pdfjs-findbar-button-label = Buscar -pdfjs-additional-layers = Capas adicionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Buscar - .placeholder = Buscar en documento… -pdfjs-find-previous-button = - .title = Buscar la aparición anterior de la frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Buscar la siguiente aparición de la frase -pdfjs-find-next-button-label = Siguiente -pdfjs-find-highlight-checkbox = Resaltar todo -pdfjs-find-match-case-checkbox-label = Coincidir mayúsculas -pdfjs-find-match-diacritics-checkbox-label = Coincidir diacríticos -pdfjs-find-entire-word-checkbox-label = Palabras completas -pdfjs-find-reached-top = Inicio de documento alcanzado, continuando desde abajo -pdfjs-find-reached-bottom = Fin de documento alcanzando, continuando desde arriba -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } de { $total } coincidencia - *[other] { $current } de { $total } coincidencias - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Más de { $limit } coincidencia - *[other] Más de { $limit } coincidencias - } -pdfjs-find-not-found = Frase no encontrada - -## Predefined zoom values - -pdfjs-page-scale-width = Ancho de página -pdfjs-page-scale-fit = Ajustar página -pdfjs-page-scale-auto = Zoom automático -pdfjs-page-scale-actual = Tamaño real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ocurrió un error al cargar el PDF. -pdfjs-invalid-file-error = Archivo PDF no válido o cocrrupto. -pdfjs-missing-file-error = Archivo PDF faltante. -pdfjs-unexpected-response-error = Respuesta del servidor inesperada. -pdfjs-rendering-error = Ocurrió un error al dibujar la página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Anotación] - -## Password - -pdfjs-password-label = Ingrese la contraseña para abrir este archivo PDF -pdfjs-password-invalid = Contraseña inválida. Intente nuevamente. -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Tipografía web deshabilitada: no se pueden usar tipos incrustados en PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Dibujar -pdfjs-editor-ink-button-label = Dibujar -pdfjs-editor-stamp-button = - .title = Agregar o editar imágenes -pdfjs-editor-stamp-button-label = Agregar o editar imágenes -pdfjs-editor-highlight-button = - .title = Resaltar -pdfjs-editor-highlight-button-label = Resaltar -pdfjs-highlight-floating-button = - .title = Resaltar -pdfjs-highlight-floating-button1 = - .title = Resaltar - .aria-label = Resaltar -pdfjs-highlight-floating-button-label = Resaltar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Eliminar dibujo -pdfjs-editor-remove-freetext-button = - .title = Eliminar texto -pdfjs-editor-remove-stamp-button = - .title = Eliminar imagen -pdfjs-editor-remove-highlight-button = - .title = Eliminar resaltado - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Tamaño -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Espesor -pdfjs-editor-ink-opacity-input = Opacidad -pdfjs-editor-stamp-add-image-button = - .title = Agregar una imagen -pdfjs-editor-stamp-add-image-button-label = Agregar una imagen -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grosor -pdfjs-editor-free-highlight-thickness-title = - .title = Cambiar el grosor al resaltar elementos que no sean texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Empezar a tipear… -pdfjs-ink = - .aria-label = Editor de dibujos -pdfjs-ink-canvas = - .aria-label = Imagen creada por el usuario - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar el texto alternativo -pdfjs-editor-alt-text-dialog-label = Eligir una opción -pdfjs-editor-alt-text-dialog-description = El texto alternativo (texto alternativo) ayuda cuando las personas no pueden ver la imagen o cuando no se carga. -pdfjs-editor-alt-text-add-description-label = Agregar una descripción -pdfjs-editor-alt-text-add-description-description = Intente escribir 1 o 2 oraciones que describan el tema, el entorno o las acciones. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativo -pdfjs-editor-alt-text-mark-decorative-description = Esto se usa para imágenes ornamentales, como bordes o marcas de agua. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Guardar -pdfjs-editor-alt-text-decorative-tooltip = Marcado como decorativo -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por ejemplo: “Un joven se sienta a la mesa a comer” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Esquina superior izquierda — cambiar el tamaño -pdfjs-editor-resizer-label-top-middle = Arriba en el medio — cambiar el tamaño -pdfjs-editor-resizer-label-top-right = Esquina superior derecha — cambiar el tamaño -pdfjs-editor-resizer-label-middle-right = Al centro a la derecha — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-right = Esquina inferior derecha — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-middle = Abajo en el medio — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-left = Esquina inferior izquierda — cambiar el tamaño -pdfjs-editor-resizer-label-middle-left = Al centro a la izquierda — cambiar el tamaño - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Color de resaltado -pdfjs-editor-colorpicker-button = - .title = Cambiar el color -pdfjs-editor-colorpicker-dropdown = - .aria-label = Opciones de color -pdfjs-editor-colorpicker-yellow = - .title = Amarillo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Azul -pdfjs-editor-colorpicker-pink = - .title = Rosado -pdfjs-editor-colorpicker-red = - .title = Rojo - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostrar todo -pdfjs-editor-highlight-show-all-button = - .title = Mostrar todo diff --git a/media/js/pdf4/web/locale/es-CL/viewer.ftl b/media/js/pdf4/web/locale/es-CL/viewer.ftl deleted file mode 100644 index c4507a3fab..0000000000 --- a/media/js/pdf4/web/locale/es-CL/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Página siguiente -pdfjs-next-button-label = Siguiente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Alejar -pdfjs-zoom-out-button-label = Alejar -pdfjs-zoom-in-button = - .title = Acercar -pdfjs-zoom-in-button-label = Acercar -pdfjs-zoom-select = - .title = Ampliación -pdfjs-presentation-mode-button = - .title = Cambiar al modo de presentación -pdfjs-presentation-mode-button-label = Modo de presentación -pdfjs-open-file-button = - .title = Abrir archivo -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Guardar -pdfjs-save-button-label = Guardar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Descargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Descargar -pdfjs-bookmark-button = - .title = Página actual (Ver URL de la página actual) -pdfjs-bookmark-button-label = Página actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir en una aplicación -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir en una aplicación - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Herramientas -pdfjs-tools-button-label = Herramientas -pdfjs-first-page-button = - .title = Ir a la primera página -pdfjs-first-page-button-label = Ir a la primera página -pdfjs-last-page-button = - .title = Ir a la última página -pdfjs-last-page-button-label = Ir a la última página -pdfjs-page-rotate-cw-button = - .title = Girar a la derecha -pdfjs-page-rotate-cw-button-label = Girar a la derecha -pdfjs-page-rotate-ccw-button = - .title = Girar a la izquierda -pdfjs-page-rotate-ccw-button-label = Girar a la izquierda -pdfjs-cursor-text-select-tool-button = - .title = Activar la herramienta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Herramienta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Activar la herramienta de mano -pdfjs-cursor-hand-tool-button-label = Herramienta de mano -pdfjs-scroll-page-button = - .title = Usar desplazamiento de página -pdfjs-scroll-page-button-label = Desplazamiento de página -pdfjs-scroll-vertical-button = - .title = Usar desplazamiento vertical -pdfjs-scroll-vertical-button-label = Desplazamiento vertical -pdfjs-scroll-horizontal-button = - .title = Usar desplazamiento horizontal -pdfjs-scroll-horizontal-button-label = Desplazamiento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar desplazamiento en bloque -pdfjs-scroll-wrapped-button-label = Desplazamiento en bloque -pdfjs-spread-none-button = - .title = No juntar páginas a modo de libro -pdfjs-spread-none-button-label = Vista de una página -pdfjs-spread-odd-button = - .title = Junta las páginas partiendo con una de número impar -pdfjs-spread-odd-button-label = Vista de libro impar -pdfjs-spread-even-button = - .title = Junta las páginas partiendo con una de número par -pdfjs-spread-even-button-label = Vista de libro par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades del documento… -pdfjs-document-properties-button-label = Propiedades del documento… -pdfjs-document-properties-file-name = Nombre de archivo: -pdfjs-document-properties-file-size = Tamaño del archivo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Asunto: -pdfjs-document-properties-keywords = Palabras clave: -pdfjs-document-properties-creation-date = Fecha de creación: -pdfjs-document-properties-modification-date = Fecha de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creador: -pdfjs-document-properties-producer = Productor del PDF: -pdfjs-document-properties-version = Versión de PDF: -pdfjs-document-properties-page-count = Cantidad de páginas: -pdfjs-document-properties-page-size = Tamaño de la página: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Oficio - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista rápida en Web: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Cerrar - -## Print - -pdfjs-print-progress-message = Preparando documento para impresión… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Advertencia: Imprimir no está soportado completamente por este navegador. -pdfjs-printing-not-ready = Advertencia: El PDF no está completamente cargado para ser impreso. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Cambiar barra lateral (índice de contenidos del documento/adjuntos/capas) -pdfjs-toggle-sidebar-button-label = Mostrar u ocultar la barra lateral -pdfjs-document-outline-button = - .title = Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) -pdfjs-document-outline-button-label = Esquema del documento -pdfjs-attachments-button = - .title = Mostrar adjuntos -pdfjs-attachments-button-label = Adjuntos -pdfjs-layers-button = - .title = Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Buscar elemento de esquema actual -pdfjs-current-outline-item-button-label = Elemento de esquema actual -pdfjs-findbar-button = - .title = Buscar en el documento -pdfjs-findbar-button-label = Buscar -pdfjs-additional-layers = Capas adicionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de la página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Encontrar - .placeholder = Encontrar en el documento… -pdfjs-find-previous-button = - .title = Buscar la aparición anterior de la frase -pdfjs-find-previous-button-label = Previo -pdfjs-find-next-button = - .title = Buscar la siguiente aparición de la frase -pdfjs-find-next-button-label = Siguiente -pdfjs-find-highlight-checkbox = Destacar todos -pdfjs-find-match-case-checkbox-label = Coincidir mayús./minús. -pdfjs-find-match-diacritics-checkbox-label = Coincidir diacríticos -pdfjs-find-entire-word-checkbox-label = Palabras completas -pdfjs-find-reached-top = Se alcanzó el inicio del documento, continuando desde el final -pdfjs-find-reached-bottom = Se alcanzó el final del documento, continuando desde el inicio -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] Coincidencia { $current } de { $total } - *[other] Coincidencia { $current } de { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Más de { $limit } coincidencia - *[other] Más de { $limit } coincidencias - } -pdfjs-find-not-found = Frase no encontrada - -## Predefined zoom values - -pdfjs-page-scale-width = Ancho de página -pdfjs-page-scale-fit = Ajuste de página -pdfjs-page-scale-auto = Aumento automático -pdfjs-page-scale-actual = Tamaño actual -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ocurrió un error al cargar el PDF. -pdfjs-invalid-file-error = Archivo PDF inválido o corrupto. -pdfjs-missing-file-error = Falta el archivo PDF. -pdfjs-unexpected-response-error = Respuesta del servidor inesperada. -pdfjs-rendering-error = Ocurrió un error al renderizar la página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Anotación] - -## Password - -pdfjs-password-label = Ingrese la contraseña para abrir este archivo PDF. -pdfjs-password-invalid = Contraseña inválida. Por favor, vuelve a intentarlo. -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Las tipografías web están desactivadas: imposible usar las fuentes PDF embebidas. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Dibujar -pdfjs-editor-ink-button-label = Dibujar -pdfjs-editor-stamp-button = - .title = Añadir o editar imágenes -pdfjs-editor-stamp-button-label = Añadir o editar imágenes -pdfjs-editor-highlight-button = - .title = Destacar -pdfjs-editor-highlight-button-label = Destacar -pdfjs-highlight-floating-button = - .title = Destacar -pdfjs-highlight-floating-button1 = - .title = Destacar - .aria-label = Destacar -pdfjs-highlight-floating-button-label = Destacar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Eliminar dibujo -pdfjs-editor-remove-freetext-button = - .title = Eliminar texto -pdfjs-editor-remove-stamp-button = - .title = Eliminar imagen -pdfjs-editor-remove-highlight-button = - .title = Quitar resaltado - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Tamaño -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Grosor -pdfjs-editor-ink-opacity-input = Opacidad -pdfjs-editor-stamp-add-image-button = - .title = Añadir imagen -pdfjs-editor-stamp-add-image-button-label = Añadir imagen -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grosor -pdfjs-editor-free-highlight-thickness-title = - .title = Cambia el grosor al resaltar elementos que no sean texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Empieza a escribir… -pdfjs-ink = - .aria-label = Editor de dibujos -pdfjs-ink-canvas = - .aria-label = Imagen creada por el usuario - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar texto alternativo -pdfjs-editor-alt-text-dialog-label = Elige una opción -pdfjs-editor-alt-text-dialog-description = El texto alternativo (alt text) ayuda cuando las personas no pueden ver la imagen o cuando no se carga. -pdfjs-editor-alt-text-add-description-label = Añade una descripción -pdfjs-editor-alt-text-add-description-description = Intenta escribir 1 o 2 oraciones que describan el tema, el ambiente o las acciones. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativa -pdfjs-editor-alt-text-mark-decorative-description = Se utiliza para imágenes ornamentales, como bordes o marcas de agua. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Guardar -pdfjs-editor-alt-text-decorative-tooltip = Marcada como decorativa -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por ejemplo: “Un joven se sienta a la mesa a comer” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Esquina superior izquierda — cambiar el tamaño -pdfjs-editor-resizer-label-top-middle = Borde superior en el medio — cambiar el tamaño -pdfjs-editor-resizer-label-top-right = Esquina superior derecha — cambiar el tamaño -pdfjs-editor-resizer-label-middle-right = Borde derecho en el medio — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-right = Esquina inferior derecha — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-middle = Borde inferior en el medio — cambiar el tamaño -pdfjs-editor-resizer-label-bottom-left = Esquina inferior izquierda — cambiar el tamaño -pdfjs-editor-resizer-label-middle-left = Borde izquierdo en el medio — cambiar el tamaño - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Color de resaltado -pdfjs-editor-colorpicker-button = - .title = Cambiar color -pdfjs-editor-colorpicker-dropdown = - .aria-label = Opciones de color -pdfjs-editor-colorpicker-yellow = - .title = Amarillo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Azul -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Rojo - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostrar todo -pdfjs-editor-highlight-show-all-button = - .title = Mostrar todo diff --git a/media/js/pdf4/web/locale/es-ES/viewer.ftl b/media/js/pdf4/web/locale/es-ES/viewer.ftl deleted file mode 100644 index e3f87b47b3..0000000000 --- a/media/js/pdf4/web/locale/es-ES/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Página siguiente -pdfjs-next-button-label = Siguiente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Reducir -pdfjs-zoom-out-button-label = Reducir -pdfjs-zoom-in-button = - .title = Aumentar -pdfjs-zoom-in-button-label = Aumentar -pdfjs-zoom-select = - .title = Tamaño -pdfjs-presentation-mode-button = - .title = Cambiar al modo presentación -pdfjs-presentation-mode-button-label = Modo presentación -pdfjs-open-file-button = - .title = Abrir archivo -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Guardar -pdfjs-save-button-label = Guardar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Descargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Descargar -pdfjs-bookmark-button = - .title = Página actual (Ver URL de la página actual) -pdfjs-bookmark-button-label = Página actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir en aplicación -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir en aplicación - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Herramientas -pdfjs-tools-button-label = Herramientas -pdfjs-first-page-button = - .title = Ir a la primera página -pdfjs-first-page-button-label = Ir a la primera página -pdfjs-last-page-button = - .title = Ir a la última página -pdfjs-last-page-button-label = Ir a la última página -pdfjs-page-rotate-cw-button = - .title = Rotar en sentido horario -pdfjs-page-rotate-cw-button-label = Rotar en sentido horario -pdfjs-page-rotate-ccw-button = - .title = Rotar en sentido antihorario -pdfjs-page-rotate-ccw-button-label = Rotar en sentido antihorario -pdfjs-cursor-text-select-tool-button = - .title = Activar herramienta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Herramienta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Activar herramienta de mano -pdfjs-cursor-hand-tool-button-label = Herramienta de mano -pdfjs-scroll-page-button = - .title = Usar desplazamiento de página -pdfjs-scroll-page-button-label = Desplazamiento de página -pdfjs-scroll-vertical-button = - .title = Usar desplazamiento vertical -pdfjs-scroll-vertical-button-label = Desplazamiento vertical -pdfjs-scroll-horizontal-button = - .title = Usar desplazamiento horizontal -pdfjs-scroll-horizontal-button-label = Desplazamiento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar desplazamiento en bloque -pdfjs-scroll-wrapped-button-label = Desplazamiento en bloque -pdfjs-spread-none-button = - .title = No juntar páginas en vista de libro -pdfjs-spread-none-button-label = Vista de libro -pdfjs-spread-odd-button = - .title = Juntar las páginas partiendo de una con número impar -pdfjs-spread-odd-button-label = Vista de libro impar -pdfjs-spread-even-button = - .title = Juntar las páginas partiendo de una con número par -pdfjs-spread-even-button-label = Vista de libro par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades del documento… -pdfjs-document-properties-button-label = Propiedades del documento… -pdfjs-document-properties-file-name = Nombre de archivo: -pdfjs-document-properties-file-size = Tamaño de archivo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Asunto: -pdfjs-document-properties-keywords = Palabras clave: -pdfjs-document-properties-creation-date = Fecha de creación: -pdfjs-document-properties-modification-date = Fecha de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creador: -pdfjs-document-properties-producer = Productor PDF: -pdfjs-document-properties-version = Versión PDF: -pdfjs-document-properties-page-count = Número de páginas: -pdfjs-document-properties-page-size = Tamaño de la página: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista rápida de la web: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Cerrar - -## Print - -pdfjs-print-progress-message = Preparando documento para impresión… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Advertencia: Imprimir no está totalmente soportado por este navegador. -pdfjs-printing-not-ready = Advertencia: Este PDF no se ha cargado completamente para poder imprimirse. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Cambiar barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) -pdfjs-toggle-sidebar-button-label = Cambiar barra lateral -pdfjs-document-outline-button = - .title = Mostrar resumen del documento (doble clic para expandir/contraer todos los elementos) -pdfjs-document-outline-button-label = Resumen de documento -pdfjs-attachments-button = - .title = Mostrar adjuntos -pdfjs-attachments-button-label = Adjuntos -pdfjs-layers-button = - .title = Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Encontrar elemento de esquema actual -pdfjs-current-outline-item-button-label = Elemento de esquema actual -pdfjs-findbar-button = - .title = Buscar en el documento -pdfjs-findbar-button-label = Buscar -pdfjs-additional-layers = Capas adicionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de la página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Buscar - .placeholder = Buscar en el documento… -pdfjs-find-previous-button = - .title = Encontrar la anterior aparición de la frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Encontrar la siguiente aparición de esta frase -pdfjs-find-next-button-label = Siguiente -pdfjs-find-highlight-checkbox = Resaltar todos -pdfjs-find-match-case-checkbox-label = Coincidencia de mayús./minús. -pdfjs-find-match-diacritics-checkbox-label = Coincidir diacríticos -pdfjs-find-entire-word-checkbox-label = Palabras completas -pdfjs-find-reached-top = Se alcanzó el inicio del documento, se continúa desde el final -pdfjs-find-reached-bottom = Se alcanzó el final del documento, se continúa desde el inicio -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } de { $total } coincidencia - *[other] { $current } de { $total } coincidencias - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Más de { $limit } coincidencia - *[other] Más de { $limit } coincidencias - } -pdfjs-find-not-found = Frase no encontrada - -## Predefined zoom values - -pdfjs-page-scale-width = Anchura de la página -pdfjs-page-scale-fit = Ajuste de la página -pdfjs-page-scale-auto = Tamaño automático -pdfjs-page-scale-actual = Tamaño real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ocurrió un error al cargar el PDF. -pdfjs-invalid-file-error = Fichero PDF no válido o corrupto. -pdfjs-missing-file-error = No hay fichero PDF. -pdfjs-unexpected-response-error = Respuesta inesperada del servidor. -pdfjs-rendering-error = Ocurrió un error al renderizar la página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotación { $type }] - -## Password - -pdfjs-password-label = Introduzca la contraseña para abrir este archivo PDF. -pdfjs-password-invalid = Contraseña no válida. Vuelva a intentarlo. -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Las tipografías web están desactivadas: es imposible usar las tipografías PDF embebidas. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Dibujar -pdfjs-editor-ink-button-label = Dibujar -pdfjs-editor-stamp-button = - .title = Añadir o editar imágenes -pdfjs-editor-stamp-button-label = Añadir o editar imágenes -pdfjs-editor-highlight-button = - .title = Resaltar -pdfjs-editor-highlight-button-label = Resaltar -pdfjs-highlight-floating-button = - .title = Resaltar -pdfjs-highlight-floating-button1 = - .title = Resaltar - .aria-label = Resaltar -pdfjs-highlight-floating-button-label = Resaltar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Eliminar dibujo -pdfjs-editor-remove-freetext-button = - .title = Eliminar texto -pdfjs-editor-remove-stamp-button = - .title = Eliminar imagen -pdfjs-editor-remove-highlight-button = - .title = Quitar resaltado - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Tamaño -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Grosor -pdfjs-editor-ink-opacity-input = Opacidad -pdfjs-editor-stamp-add-image-button = - .title = Añadir imagen -pdfjs-editor-stamp-add-image-button-label = Añadir imagen -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grosor -pdfjs-editor-free-highlight-thickness-title = - .title = Cambiar el grosor al resaltar elementos que no sean texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Empezar a escribir… -pdfjs-ink = - .aria-label = Editor de dibujos -pdfjs-ink-canvas = - .aria-label = Imagen creada por el usuario - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar el texto alternativo -pdfjs-editor-alt-text-dialog-label = Eligir una opción -pdfjs-editor-alt-text-dialog-description = El texto alternativo (texto alternativo) ayuda cuando las personas no pueden ver la imagen o cuando no se carga. -pdfjs-editor-alt-text-add-description-label = Añadir una descripción -pdfjs-editor-alt-text-add-description-description = Intente escribir 1 o 2 frases que describan el tema, el entorno o las acciones. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativa -pdfjs-editor-alt-text-mark-decorative-description = Se utiliza para imágenes ornamentales, como bordes o marcas de agua. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Guardar -pdfjs-editor-alt-text-decorative-tooltip = Marcada como decorativa -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por ejemplo: “Un joven se sienta a la mesa a comer” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Esquina superior izquierda — redimensionar -pdfjs-editor-resizer-label-top-middle = Borde superior en el medio — redimensionar -pdfjs-editor-resizer-label-top-right = Esquina superior derecha — redimensionar -pdfjs-editor-resizer-label-middle-right = Borde derecho en el medio — redimensionar -pdfjs-editor-resizer-label-bottom-right = Esquina inferior derecha — redimensionar -pdfjs-editor-resizer-label-bottom-middle = Borde inferior en el medio — redimensionar -pdfjs-editor-resizer-label-bottom-left = Esquina inferior izquierda — redimensionar -pdfjs-editor-resizer-label-middle-left = Borde izquierdo en el medio — redimensionar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Color de resaltado -pdfjs-editor-colorpicker-button = - .title = Cambiar color -pdfjs-editor-colorpicker-dropdown = - .aria-label = Opciones de color -pdfjs-editor-colorpicker-yellow = - .title = Amarillo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Azul -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Rojo - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostrar todo -pdfjs-editor-highlight-show-all-button = - .title = Mostrar todo diff --git a/media/js/pdf4/web/locale/es-MX/viewer.ftl b/media/js/pdf4/web/locale/es-MX/viewer.ftl deleted file mode 100644 index 0069c6eb53..0000000000 --- a/media/js/pdf4/web/locale/es-MX/viewer.ftl +++ /dev/null @@ -1,299 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Página siguiente -pdfjs-next-button-label = Siguiente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Reducir -pdfjs-zoom-out-button-label = Reducir -pdfjs-zoom-in-button = - .title = Aumentar -pdfjs-zoom-in-button-label = Aumentar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Cambiar al modo presentación -pdfjs-presentation-mode-button-label = Modo presentación -pdfjs-open-file-button = - .title = Abrir archivo -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Guardar -pdfjs-save-button-label = Guardar -pdfjs-bookmark-button = - .title = Página actual (Ver URL de la página actual) -pdfjs-bookmark-button-label = Página actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir en la aplicación -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir en la aplicación - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Herramientas -pdfjs-tools-button-label = Herramientas -pdfjs-first-page-button = - .title = Ir a la primera página -pdfjs-first-page-button-label = Ir a la primera página -pdfjs-last-page-button = - .title = Ir a la última página -pdfjs-last-page-button-label = Ir a la última página -pdfjs-page-rotate-cw-button = - .title = Girar a la derecha -pdfjs-page-rotate-cw-button-label = Girar a la derecha -pdfjs-page-rotate-ccw-button = - .title = Girar a la izquierda -pdfjs-page-rotate-ccw-button-label = Girar a la izquierda -pdfjs-cursor-text-select-tool-button = - .title = Activar la herramienta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Herramienta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Activar la herramienta de mano -pdfjs-cursor-hand-tool-button-label = Herramienta de mano -pdfjs-scroll-page-button = - .title = Usar desplazamiento de página -pdfjs-scroll-page-button-label = Desplazamiento de página -pdfjs-scroll-vertical-button = - .title = Usar desplazamiento vertical -pdfjs-scroll-vertical-button-label = Desplazamiento vertical -pdfjs-scroll-horizontal-button = - .title = Usar desplazamiento horizontal -pdfjs-scroll-horizontal-button-label = Desplazamiento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar desplazamiento encapsulado -pdfjs-scroll-wrapped-button-label = Desplazamiento encapsulado -pdfjs-spread-none-button = - .title = No unir páginas separadas -pdfjs-spread-none-button-label = Vista de una página -pdfjs-spread-odd-button = - .title = Unir las páginas partiendo con una de número impar -pdfjs-spread-odd-button-label = Vista de libro impar -pdfjs-spread-even-button = - .title = Juntar las páginas partiendo con una de número par -pdfjs-spread-even-button-label = Vista de libro par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades del documento… -pdfjs-document-properties-button-label = Propiedades del documento… -pdfjs-document-properties-file-name = Nombre del archivo: -pdfjs-document-properties-file-size = Tamaño del archivo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Asunto: -pdfjs-document-properties-keywords = Palabras claves: -pdfjs-document-properties-creation-date = Fecha de creación: -pdfjs-document-properties-modification-date = Fecha de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creador: -pdfjs-document-properties-producer = Productor PDF: -pdfjs-document-properties-version = Versión PDF: -pdfjs-document-properties-page-count = Número de páginas: -pdfjs-document-properties-page-size = Tamaño de la página: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Oficio - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista rápida de la web: -pdfjs-document-properties-linearized-yes = Sí -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Cerrar - -## Print - -pdfjs-print-progress-message = Preparando documento para impresión… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Advertencia: La impresión no esta completamente soportada por este navegador. -pdfjs-printing-not-ready = Advertencia: El PDF no cargo completamente para impresión. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Cambiar barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Alternar barra lateral (el documento contiene esquemas/adjuntos/capas) -pdfjs-toggle-sidebar-button-label = Cambiar barra lateral -pdfjs-document-outline-button = - .title = Mostrar esquema del documento (doble clic para expandir/contraer todos los elementos) -pdfjs-document-outline-button-label = Esquema del documento -pdfjs-attachments-button = - .title = Mostrar adjuntos -pdfjs-attachments-button-label = Adjuntos -pdfjs-layers-button = - .title = Mostrar capas (doble clic para restablecer todas las capas al estado predeterminado) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Buscar elemento de esquema actual -pdfjs-current-outline-item-button-label = Elemento de esquema actual -pdfjs-findbar-button = - .title = Buscar en el documento -pdfjs-findbar-button-label = Buscar -pdfjs-additional-layers = Capas adicionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de la página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Buscar - .placeholder = Buscar en el documento… -pdfjs-find-previous-button = - .title = Ir a la anterior frase encontrada -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Ir a la siguiente frase encontrada -pdfjs-find-next-button-label = Siguiente -pdfjs-find-highlight-checkbox = Resaltar todo -pdfjs-find-match-case-checkbox-label = Coincidir con mayúsculas y minúsculas -pdfjs-find-match-diacritics-checkbox-label = Coincidir diacríticos -pdfjs-find-entire-word-checkbox-label = Palabras completas -pdfjs-find-reached-top = Se alcanzó el inicio del documento, se buscará al final -pdfjs-find-reached-bottom = Se alcanzó el final del documento, se buscará al inicio -pdfjs-find-not-found = No se encontró la frase - -## Predefined zoom values - -pdfjs-page-scale-width = Ancho de página -pdfjs-page-scale-fit = Ajustar página -pdfjs-page-scale-auto = Zoom automático -pdfjs-page-scale-actual = Tamaño real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Un error ocurrió al cargar el PDF. -pdfjs-invalid-file-error = Archivo PDF invalido o dañado. -pdfjs-missing-file-error = Archivo PDF no encontrado. -pdfjs-unexpected-response-error = Respuesta inesperada del servidor. -pdfjs-rendering-error = Un error ocurrió al renderizar la página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } anotación] - -## Password - -pdfjs-password-label = Ingresa la contraseña para abrir este archivo PDF. -pdfjs-password-invalid = Contraseña inválida. Por favor intenta de nuevo. -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Las fuentes web están desactivadas: es imposible usar las fuentes PDF embebidas. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Dibujar -pdfjs-editor-ink-button-label = Dibujar -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Tamaño -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Grossor -pdfjs-editor-ink-opacity-input = Opacidad -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Empieza a escribir… -pdfjs-ink = - .aria-label = Editor de dibujo -pdfjs-ink-canvas = - .aria-label = Imagen creada por el usuario - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/et/viewer.ftl b/media/js/pdf4/web/locale/et/viewer.ftl deleted file mode 100644 index b28c6d5041..0000000000 --- a/media/js/pdf4/web/locale/et/viewer.ftl +++ /dev/null @@ -1,268 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Eelmine lehekülg -pdfjs-previous-button-label = Eelmine -pdfjs-next-button = - .title = Järgmine lehekülg -pdfjs-next-button-label = Järgmine -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Leht -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber }/{ $pagesCount }) -pdfjs-zoom-out-button = - .title = Vähenda -pdfjs-zoom-out-button-label = Vähenda -pdfjs-zoom-in-button = - .title = Suurenda -pdfjs-zoom-in-button-label = Suurenda -pdfjs-zoom-select = - .title = Suurendamine -pdfjs-presentation-mode-button = - .title = Lülitu esitlusrežiimi -pdfjs-presentation-mode-button-label = Esitlusrežiim -pdfjs-open-file-button = - .title = Ava fail -pdfjs-open-file-button-label = Ava -pdfjs-print-button = - .title = Prindi -pdfjs-print-button-label = Prindi - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tööriistad -pdfjs-tools-button-label = Tööriistad -pdfjs-first-page-button = - .title = Mine esimesele leheküljele -pdfjs-first-page-button-label = Mine esimesele leheküljele -pdfjs-last-page-button = - .title = Mine viimasele leheküljele -pdfjs-last-page-button-label = Mine viimasele leheküljele -pdfjs-page-rotate-cw-button = - .title = Pööra päripäeva -pdfjs-page-rotate-cw-button-label = Pööra päripäeva -pdfjs-page-rotate-ccw-button = - .title = Pööra vastupäeva -pdfjs-page-rotate-ccw-button-label = Pööra vastupäeva -pdfjs-cursor-text-select-tool-button = - .title = Luba teksti valimise tööriist -pdfjs-cursor-text-select-tool-button-label = Teksti valimise tööriist -pdfjs-cursor-hand-tool-button = - .title = Luba sirvimistööriist -pdfjs-cursor-hand-tool-button-label = Sirvimistööriist -pdfjs-scroll-page-button = - .title = Kasutatakse lehe kaupa kerimist -pdfjs-scroll-page-button-label = Lehe kaupa kerimine -pdfjs-scroll-vertical-button = - .title = Kasuta vertikaalset kerimist -pdfjs-scroll-vertical-button-label = Vertikaalne kerimine -pdfjs-scroll-horizontal-button = - .title = Kasuta horisontaalset kerimist -pdfjs-scroll-horizontal-button-label = Horisontaalne kerimine -pdfjs-scroll-wrapped-button = - .title = Kasuta rohkem mahutavat kerimist -pdfjs-scroll-wrapped-button-label = Rohkem mahutav kerimine -pdfjs-spread-none-button = - .title = Ära kõrvuta lehekülgi -pdfjs-spread-none-button-label = Lehtede kõrvutamine puudub -pdfjs-spread-odd-button = - .title = Kõrvuta leheküljed, alustades paaritute numbritega lehekülgedega -pdfjs-spread-odd-button-label = Kõrvutamine paaritute numbritega alustades -pdfjs-spread-even-button = - .title = Kõrvuta leheküljed, alustades paarisnumbritega lehekülgedega -pdfjs-spread-even-button-label = Kõrvutamine paarisnumbritega alustades - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumendi omadused… -pdfjs-document-properties-button-label = Dokumendi omadused… -pdfjs-document-properties-file-name = Faili nimi: -pdfjs-document-properties-file-size = Faili suurus: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KiB ({ $size_b } baiti) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MiB ({ $size_b } baiti) -pdfjs-document-properties-title = Pealkiri: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Teema: -pdfjs-document-properties-keywords = Märksõnad: -pdfjs-document-properties-creation-date = Loodud: -pdfjs-document-properties-modification-date = Muudetud: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } { $time } -pdfjs-document-properties-creator = Looja: -pdfjs-document-properties-producer = Generaator: -pdfjs-document-properties-version = Generaatori versioon: -pdfjs-document-properties-page-count = Lehekülgi: -pdfjs-document-properties-page-size = Lehe suurus: -pdfjs-document-properties-page-size-unit-inches = tolli -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertikaalpaigutus -pdfjs-document-properties-page-size-orientation-landscape = rõhtpaigutus -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = "Fast Web View" tugi: -pdfjs-document-properties-linearized-yes = Jah -pdfjs-document-properties-linearized-no = Ei -pdfjs-document-properties-close-button = Sulge - -## Print - -pdfjs-print-progress-message = Dokumendi ettevalmistamine printimiseks… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Loobu -pdfjs-printing-not-supported = Hoiatus: printimine pole selle brauseri poolt täielikult toetatud. -pdfjs-printing-not-ready = Hoiatus: PDF pole printimiseks täielikult laaditud. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Näita külgriba -pdfjs-toggle-sidebar-notification-button = - .title = Näita külgriba (dokument sisaldab sisukorda/manuseid/kihte) -pdfjs-toggle-sidebar-button-label = Näita külgriba -pdfjs-document-outline-button = - .title = Näita sisukorda (kõigi punktide laiendamiseks/ahendamiseks topeltklõpsa) -pdfjs-document-outline-button-label = Näita sisukorda -pdfjs-attachments-button = - .title = Näita manuseid -pdfjs-attachments-button-label = Manused -pdfjs-layers-button = - .title = Näita kihte (kõikide kihtide vaikeolekusse lähtestamiseks topeltklõpsa) -pdfjs-layers-button-label = Kihid -pdfjs-thumbs-button = - .title = Näita pisipilte -pdfjs-thumbs-button-label = Pisipildid -pdfjs-current-outline-item-button = - .title = Otsi üles praegune kontuuriüksus -pdfjs-current-outline-item-button-label = Praegune kontuuriüksus -pdfjs-findbar-button = - .title = Otsi dokumendist -pdfjs-findbar-button-label = Otsi -pdfjs-additional-layers = Täiendavad kihid - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page }. lehekülg -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page }. lehekülje pisipilt - -## Find panel button title and messages - -pdfjs-find-input = - .title = Otsi - .placeholder = Otsi dokumendist… -pdfjs-find-previous-button = - .title = Otsi fraasi eelmine esinemiskoht -pdfjs-find-previous-button-label = Eelmine -pdfjs-find-next-button = - .title = Otsi fraasi järgmine esinemiskoht -pdfjs-find-next-button-label = Järgmine -pdfjs-find-highlight-checkbox = Too kõik esile -pdfjs-find-match-case-checkbox-label = Tõstutundlik -pdfjs-find-match-diacritics-checkbox-label = Otsitakse diakriitiliselt -pdfjs-find-entire-word-checkbox-label = Täissõnad -pdfjs-find-reached-top = Jõuti dokumendi algusesse, jätkati lõpust -pdfjs-find-reached-bottom = Jõuti dokumendi lõppu, jätkati algusest -pdfjs-find-not-found = Fraasi ei leitud - -## Predefined zoom values - -pdfjs-page-scale-width = Mahuta laiusele -pdfjs-page-scale-fit = Mahuta leheküljele -pdfjs-page-scale-auto = Automaatne suurendamine -pdfjs-page-scale-actual = Tegelik suurus -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Lehekülg { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDFi laadimisel esines viga. -pdfjs-invalid-file-error = Vigane või rikutud PDF-fail. -pdfjs-missing-file-error = PDF-fail puudub. -pdfjs-unexpected-response-error = Ootamatu vastus serverilt. -pdfjs-rendering-error = Lehe renderdamisel esines viga. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = PDF-faili avamiseks sisesta parool. -pdfjs-password-invalid = Vigane parool. Palun proovi uuesti. -pdfjs-password-ok-button = Sobib -pdfjs-password-cancel-button = Loobu -pdfjs-web-fonts-disabled = Veebifondid on keelatud: PDFiga kaasatud fonte pole võimalik kasutada. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/eu/viewer.ftl b/media/js/pdf4/web/locale/eu/viewer.ftl deleted file mode 100644 index 1ed37397d0..0000000000 --- a/media/js/pdf4/web/locale/eu/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Aurreko orria -pdfjs-previous-button-label = Aurrekoa -pdfjs-next-button = - .title = Hurrengo orria -pdfjs-next-button-label = Hurrengoa -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Orria -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = { $pagesCount }/{ $pageNumber } -pdfjs-zoom-out-button = - .title = Urrundu zooma -pdfjs-zoom-out-button-label = Urrundu zooma -pdfjs-zoom-in-button = - .title = Gerturatu zooma -pdfjs-zoom-in-button-label = Gerturatu zooma -pdfjs-zoom-select = - .title = Zooma -pdfjs-presentation-mode-button = - .title = Aldatu aurkezpen modura -pdfjs-presentation-mode-button-label = Arkezpen modua -pdfjs-open-file-button = - .title = Ireki fitxategia -pdfjs-open-file-button-label = Ireki -pdfjs-print-button = - .title = Inprimatu -pdfjs-print-button-label = Inprimatu -pdfjs-save-button = - .title = Gorde -pdfjs-save-button-label = Gorde -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Deskargatu -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Deskargatu -pdfjs-bookmark-button = - .title = Uneko orria (ikusi uneko orriaren URLa) -pdfjs-bookmark-button-label = Uneko orria -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Ireki aplikazioan -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Ireki aplikazioan - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tresnak -pdfjs-tools-button-label = Tresnak -pdfjs-first-page-button = - .title = Joan lehen orrira -pdfjs-first-page-button-label = Joan lehen orrira -pdfjs-last-page-button = - .title = Joan azken orrira -pdfjs-last-page-button-label = Joan azken orrira -pdfjs-page-rotate-cw-button = - .title = Biratu erlojuaren norantzan -pdfjs-page-rotate-cw-button-label = Biratu erlojuaren norantzan -pdfjs-page-rotate-ccw-button = - .title = Biratu erlojuaren aurkako norantzan -pdfjs-page-rotate-ccw-button-label = Biratu erlojuaren aurkako norantzan -pdfjs-cursor-text-select-tool-button = - .title = Gaitu testuaren hautapen tresna -pdfjs-cursor-text-select-tool-button-label = Testuaren hautapen tresna -pdfjs-cursor-hand-tool-button = - .title = Gaitu eskuaren tresna -pdfjs-cursor-hand-tool-button-label = Eskuaren tresna -pdfjs-scroll-page-button = - .title = Erabili orriaren korritzea -pdfjs-scroll-page-button-label = Orriaren korritzea -pdfjs-scroll-vertical-button = - .title = Erabili korritze bertikala -pdfjs-scroll-vertical-button-label = Korritze bertikala -pdfjs-scroll-horizontal-button = - .title = Erabili korritze horizontala -pdfjs-scroll-horizontal-button-label = Korritze horizontala -pdfjs-scroll-wrapped-button = - .title = Erabili korritze egokitua -pdfjs-scroll-wrapped-button-label = Korritze egokitua -pdfjs-spread-none-button = - .title = Ez elkartu barreiatutako orriak -pdfjs-spread-none-button-label = Barreiatzerik ez -pdfjs-spread-odd-button = - .title = Elkartu barreiatutako orriak bakoiti zenbakidunekin hasita -pdfjs-spread-odd-button-label = Barreiatze bakoitia -pdfjs-spread-even-button = - .title = Elkartu barreiatutako orriak bikoiti zenbakidunekin hasita -pdfjs-spread-even-button-label = Barreiatze bikoitia - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentuaren propietateak… -pdfjs-document-properties-button-label = Dokumentuaren propietateak… -pdfjs-document-properties-file-name = Fitxategi-izena: -pdfjs-document-properties-file-size = Fitxategiaren tamaina: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Izenburua: -pdfjs-document-properties-author = Egilea: -pdfjs-document-properties-subject = Gaia: -pdfjs-document-properties-keywords = Gako-hitzak: -pdfjs-document-properties-creation-date = Sortze-data: -pdfjs-document-properties-modification-date = Aldatze-data: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Sortzailea: -pdfjs-document-properties-producer = PDFaren ekoizlea: -pdfjs-document-properties-version = PDF bertsioa: -pdfjs-document-properties-page-count = Orrialde kopurua: -pdfjs-document-properties-page-size = Orriaren tamaina: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = bertikala -pdfjs-document-properties-page-size-orientation-landscape = horizontala -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Gutuna -pdfjs-document-properties-page-size-name-legal = Legala - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Webeko ikuspegi bizkorra: -pdfjs-document-properties-linearized-yes = Bai -pdfjs-document-properties-linearized-no = Ez -pdfjs-document-properties-close-button = Itxi - -## Print - -pdfjs-print-progress-message = Dokumentua inprimatzeko prestatzen… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = %{ $progress } -pdfjs-print-progress-close-button = Utzi -pdfjs-printing-not-supported = Abisua: inprimatzeko euskarria ez da erabatekoa nabigatzaile honetan. -pdfjs-printing-not-ready = Abisua: PDFa ez dago erabat kargatuta inprimatzeko. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Txandakatu alboko barra -pdfjs-toggle-sidebar-notification-button = - .title = Txandakatu alboko barra (dokumentuak eskema/eranskinak/geruzak ditu) -pdfjs-toggle-sidebar-button-label = Txandakatu alboko barra -pdfjs-document-outline-button = - .title = Erakutsi dokumentuaren eskema (klik bikoitza elementu guztiak zabaltzeko/tolesteko) -pdfjs-document-outline-button-label = Dokumentuaren eskema -pdfjs-attachments-button = - .title = Erakutsi eranskinak -pdfjs-attachments-button-label = Eranskinak -pdfjs-layers-button = - .title = Erakutsi geruzak (klik bikoitza geruza guztiak egoera lehenetsira berrezartzeko) -pdfjs-layers-button-label = Geruzak -pdfjs-thumbs-button = - .title = Erakutsi koadro txikiak -pdfjs-thumbs-button-label = Koadro txikiak -pdfjs-current-outline-item-button = - .title = Bilatu uneko eskemaren elementua -pdfjs-current-outline-item-button-label = Uneko eskemaren elementua -pdfjs-findbar-button = - .title = Bilatu dokumentuan -pdfjs-findbar-button-label = Bilatu -pdfjs-additional-layers = Geruza gehigarriak - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page }. orria -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page }. orriaren koadro txikia - -## Find panel button title and messages - -pdfjs-find-input = - .title = Bilatu - .placeholder = Bilatu dokumentuan… -pdfjs-find-previous-button = - .title = Bilatu esaldiaren aurreko parekatzea -pdfjs-find-previous-button-label = Aurrekoa -pdfjs-find-next-button = - .title = Bilatu esaldiaren hurrengo parekatzea -pdfjs-find-next-button-label = Hurrengoa -pdfjs-find-highlight-checkbox = Nabarmendu guztia -pdfjs-find-match-case-checkbox-label = Bat etorri maiuskulekin/minuskulekin -pdfjs-find-match-diacritics-checkbox-label = Bereizi diakritikoak -pdfjs-find-entire-word-checkbox-label = Hitz osoak -pdfjs-find-reached-top = Dokumentuaren hasierara heldu da, bukaeratik jarraitzen -pdfjs-find-reached-bottom = Dokumentuaren bukaerara heldu da, hasieratik jarraitzen -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $total }/{ $current }. bat-etortzea - *[other] { $total }/{ $current }. bat-etortzea - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Bat datorren { $limit } baino gehiago - *[other] Bat datozen { $limit } baino gehiago - } -pdfjs-find-not-found = Esaldia ez da aurkitu - -## Predefined zoom values - -pdfjs-page-scale-width = Orriaren zabalera -pdfjs-page-scale-fit = Doitu orrira -pdfjs-page-scale-auto = Zoom automatikoa -pdfjs-page-scale-actual = Benetako tamaina -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = %{ $scale } - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page }. orria - -## Loading indicator messages - -pdfjs-loading-error = Errorea gertatu da PDFa kargatzean. -pdfjs-invalid-file-error = PDF fitxategi baliogabe edo hondatua. -pdfjs-missing-file-error = PDF fitxategia falta da. -pdfjs-unexpected-response-error = Espero gabeko zerbitzariaren erantzuna. -pdfjs-rendering-error = Errorea gertatu da orria errendatzean. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ohartarazpena] - -## Password - -pdfjs-password-label = Idatzi PDF fitxategi hau irekitzeko pasahitza. -pdfjs-password-invalid = Pasahitz baliogabea. Saiatu berriro mesedez. -pdfjs-password-ok-button = Ados -pdfjs-password-cancel-button = Utzi -pdfjs-web-fonts-disabled = Webeko letra-tipoak desgaituta daude: ezin dira kapsulatutako PDF letra-tipoak erabili. - -## Editing - -pdfjs-editor-free-text-button = - .title = Testua -pdfjs-editor-free-text-button-label = Testua -pdfjs-editor-ink-button = - .title = Marrazkia -pdfjs-editor-ink-button-label = Marrazkia -pdfjs-editor-stamp-button = - .title = Gehitu edo editatu irudiak -pdfjs-editor-stamp-button-label = Gehitu edo editatu irudiak -pdfjs-editor-highlight-button = - .title = Nabarmendu -pdfjs-editor-highlight-button-label = Nabarmendu -pdfjs-highlight-floating-button = - .title = Nabarmendu -pdfjs-highlight-floating-button1 = - .title = Nabarmendu - .aria-label = Nabarmendu -pdfjs-highlight-floating-button-label = Nabarmendu - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Kendu marrazkia -pdfjs-editor-remove-freetext-button = - .title = Kendu testua -pdfjs-editor-remove-stamp-button = - .title = Kendu irudia -pdfjs-editor-remove-highlight-button = - .title = Kendu nabarmentzea - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Kolorea -pdfjs-editor-free-text-size-input = Tamaina -pdfjs-editor-ink-color-input = Kolorea -pdfjs-editor-ink-thickness-input = Loditasuna -pdfjs-editor-ink-opacity-input = Opakutasuna -pdfjs-editor-stamp-add-image-button = - .title = Gehitu irudia -pdfjs-editor-stamp-add-image-button-label = Gehitu irudia -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Loditasuna -pdfjs-editor-free-highlight-thickness-title = - .title = Aldatu loditasuna testua ez beste elementuak nabarmentzean -pdfjs-free-text = - .aria-label = Testu-editorea -pdfjs-free-text-default-content = Hasi idazten… -pdfjs-ink = - .aria-label = Marrazki-editorea -pdfjs-ink-canvas = - .aria-label = Erabiltzaileak sortutako irudia - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Testu alternatiboa -pdfjs-editor-alt-text-edit-button-label = Editatu testu alternatiboa -pdfjs-editor-alt-text-dialog-label = Aukeratu aukera -pdfjs-editor-alt-text-dialog-description = Testu alternatiboak laguntzen du jendeak ezin duenean irudia ikusi edo ez denean kargatzen. -pdfjs-editor-alt-text-add-description-label = Gehitu azalpena -pdfjs-editor-alt-text-add-description-description = Saiatu idazten gaia, ezarpena edo ekintzak deskribatzen dituen esaldi 1 edo 2. -pdfjs-editor-alt-text-mark-decorative-label = Markatu apaingarri gisa -pdfjs-editor-alt-text-mark-decorative-description = Irudiak apaingarrientzat erabiltzen da, adibidez ertz edo ur-marketarako. -pdfjs-editor-alt-text-cancel-button = Utzi -pdfjs-editor-alt-text-save-button = Gorde -pdfjs-editor-alt-text-decorative-tooltip = Apaingarri gisa markatuta -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Adibidez, "gizon gaztea mahaian eserita dago bazkaltzeko" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Goiko ezkerreko izkina — aldatu tamaina -pdfjs-editor-resizer-label-top-middle = Goian erdian — aldatu tamaina -pdfjs-editor-resizer-label-top-right = Goiko eskuineko izkina — aldatu tamaina -pdfjs-editor-resizer-label-middle-right = Erdian eskuinean — aldatu tamaina -pdfjs-editor-resizer-label-bottom-right = Beheko eskuineko izkina — aldatu tamaina -pdfjs-editor-resizer-label-bottom-middle = Behean erdian — aldatu tamaina -pdfjs-editor-resizer-label-bottom-left = Beheko ezkerreko izkina — aldatu tamaina -pdfjs-editor-resizer-label-middle-left = Erdian ezkerrean — aldatu tamaina - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Nabarmentze kolorea -pdfjs-editor-colorpicker-button = - .title = Aldatu kolorea -pdfjs-editor-colorpicker-dropdown = - .aria-label = Kolore-aukerak -pdfjs-editor-colorpicker-yellow = - .title = Horia -pdfjs-editor-colorpicker-green = - .title = Berdea -pdfjs-editor-colorpicker-blue = - .title = Urdina -pdfjs-editor-colorpicker-pink = - .title = Arrosa -pdfjs-editor-colorpicker-red = - .title = Gorria - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Erakutsi denak -pdfjs-editor-highlight-show-all-button = - .title = Erakutsi denak diff --git a/media/js/pdf4/web/locale/fa/viewer.ftl b/media/js/pdf4/web/locale/fa/viewer.ftl deleted file mode 100644 index f367e3c647..0000000000 --- a/media/js/pdf4/web/locale/fa/viewer.ftl +++ /dev/null @@ -1,246 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = صفحهٔ قبلی -pdfjs-previous-button-label = قبلی -pdfjs-next-button = - .title = صفحهٔ بعدی -pdfjs-next-button-label = بعدی -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = صفحه -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = از { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber }از { $pagesCount }) -pdfjs-zoom-out-button = - .title = کوچکنمایی -pdfjs-zoom-out-button-label = کوچکنمایی -pdfjs-zoom-in-button = - .title = بزرگنمایی -pdfjs-zoom-in-button-label = بزرگنمایی -pdfjs-zoom-select = - .title = زوم -pdfjs-presentation-mode-button = - .title = تغییر به حالت ارائه -pdfjs-presentation-mode-button-label = حالت ارائه -pdfjs-open-file-button = - .title = باز کردن پرونده -pdfjs-open-file-button-label = باز کردن -pdfjs-print-button = - .title = چاپ -pdfjs-print-button-label = چاپ -pdfjs-save-button-label = ذخیره - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ابزارها -pdfjs-tools-button-label = ابزارها -pdfjs-first-page-button = - .title = برو به اولین صفحه -pdfjs-first-page-button-label = برو به اولین صفحه -pdfjs-last-page-button = - .title = برو به آخرین صفحه -pdfjs-last-page-button-label = برو به آخرین صفحه -pdfjs-page-rotate-cw-button = - .title = چرخش ساعتگرد -pdfjs-page-rotate-cw-button-label = چرخش ساعتگرد -pdfjs-page-rotate-ccw-button = - .title = چرخش پاد ساعتگرد -pdfjs-page-rotate-ccw-button-label = چرخش پاد ساعتگرد -pdfjs-cursor-text-select-tool-button = - .title = فعال کردن ابزارِ انتخابِ متن -pdfjs-cursor-text-select-tool-button-label = ابزارِ انتخابِ متن -pdfjs-cursor-hand-tool-button = - .title = فعال کردن ابزارِ دست -pdfjs-cursor-hand-tool-button-label = ابزار دست -pdfjs-scroll-vertical-button = - .title = استفاده از پیمایش عمودی -pdfjs-scroll-vertical-button-label = پیمایش عمودی -pdfjs-scroll-horizontal-button = - .title = استفاده از پیمایش افقی -pdfjs-scroll-horizontal-button-label = پیمایش افقی - -## Document properties dialog - -pdfjs-document-properties-button = - .title = خصوصیات سند... -pdfjs-document-properties-button-label = خصوصیات سند... -pdfjs-document-properties-file-name = نام فایل: -pdfjs-document-properties-file-size = حجم پرونده: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } کیلوبایت ({ $size_b } بایت) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } مگابایت ({ $size_b } بایت) -pdfjs-document-properties-title = عنوان: -pdfjs-document-properties-author = نویسنده: -pdfjs-document-properties-subject = موضوع: -pdfjs-document-properties-keywords = کلیدواژهها: -pdfjs-document-properties-creation-date = تاریخ ایجاد: -pdfjs-document-properties-modification-date = تاریخ ویرایش: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }، { $time } -pdfjs-document-properties-creator = ایجاد کننده: -pdfjs-document-properties-producer = ایجاد کننده PDF: -pdfjs-document-properties-version = نسخه PDF: -pdfjs-document-properties-page-count = تعداد صفحات: -pdfjs-document-properties-page-size = اندازه صفحه: -pdfjs-document-properties-page-size-unit-inches = اینچ -pdfjs-document-properties-page-size-unit-millimeters = میلیمتر -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = نامه -pdfjs-document-properties-page-size-name-legal = حقوقی - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = بله -pdfjs-document-properties-linearized-no = خیر -pdfjs-document-properties-close-button = بستن - -## Print - -pdfjs-print-progress-message = آماده سازی مدارک برای چاپ کردن… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = لغو -pdfjs-printing-not-supported = هشدار: قابلیت چاپ بهطور کامل در این مرورگر پشتیبانی نمیشود. -pdfjs-printing-not-ready = اخطار: پرونده PDF بطور کامل بارگیری نشده و امکان چاپ وجود ندارد. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = باز و بسته کردن نوار کناری -pdfjs-toggle-sidebar-button-label = تغییرحالت نوارکناری -pdfjs-document-outline-button = - .title = نمایش رئوس مطالب مدارک(برای بازشدن/جمع شدن همه موارد دوبار کلیک کنید) -pdfjs-document-outline-button-label = طرح نوشتار -pdfjs-attachments-button = - .title = نمایش پیوستها -pdfjs-attachments-button-label = پیوستها -pdfjs-layers-button-label = لایهها -pdfjs-thumbs-button = - .title = نمایش تصاویر بندانگشتی -pdfjs-thumbs-button-label = تصاویر بندانگشتی -pdfjs-findbar-button = - .title = جستجو در سند -pdfjs-findbar-button-label = پیدا کردن - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = صفحه { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = تصویر بند انگشتی صفحه { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = پیدا کردن - .placeholder = پیدا کردن در سند… -pdfjs-find-previous-button = - .title = پیدا کردن رخداد قبلی عبارت -pdfjs-find-previous-button-label = قبلی -pdfjs-find-next-button = - .title = پیدا کردن رخداد بعدی عبارت -pdfjs-find-next-button-label = بعدی -pdfjs-find-highlight-checkbox = برجسته و هایلایت کردن همه موارد -pdfjs-find-match-case-checkbox-label = تطبیق کوچکی و بزرگی حروف -pdfjs-find-entire-word-checkbox-label = تمام کلمهها -pdfjs-find-reached-top = به بالای صفحه رسیدیم، از پایین ادامه میدهیم -pdfjs-find-reached-bottom = به آخر صفحه رسیدیم، از بالا ادامه میدهیم -pdfjs-find-not-found = عبارت پیدا نشد - -## Predefined zoom values - -pdfjs-page-scale-width = عرض صفحه -pdfjs-page-scale-fit = اندازه کردن صفحه -pdfjs-page-scale-auto = بزرگنمایی خودکار -pdfjs-page-scale-actual = اندازه واقعی -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = صفحهٔ { $page } - -## Loading indicator messages - -pdfjs-loading-error = هنگام بارگیری پرونده PDF خطایی رخ داد. -pdfjs-invalid-file-error = پرونده PDF نامعتبر یامعیوب میباشد. -pdfjs-missing-file-error = پرونده PDF یافت نشد. -pdfjs-unexpected-response-error = پاسخ پیش بینی نشده سرور -pdfjs-rendering-error = هنگام بارگیری صفحه خطایی رخ داد. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = جهت باز کردن پرونده PDF گذرواژه را وارد نمائید. -pdfjs-password-invalid = گذرواژه نامعتبر. لطفا مجددا تلاش کنید. -pdfjs-password-ok-button = تأیید -pdfjs-password-cancel-button = لغو -pdfjs-web-fonts-disabled = فونت های تحت وب غیر فعال شده اند: امکان استفاده از نمایش دهنده داخلی PDF وجود ندارد. - -## Editing - -pdfjs-editor-free-text-button = - .title = متن -pdfjs-editor-free-text-button-label = متن -pdfjs-editor-ink-button = - .title = کشیدن -pdfjs-editor-ink-button-label = کشیدن -# Editor Parameters -pdfjs-editor-free-text-color-input = رنگ -pdfjs-editor-free-text-size-input = اندازه -pdfjs-editor-ink-color-input = رنگ - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ff/viewer.ftl b/media/js/pdf4/web/locale/ff/viewer.ftl deleted file mode 100644 index d1419f5434..0000000000 --- a/media/js/pdf4/web/locale/ff/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Hello Ɓennungo -pdfjs-previous-button-label = Ɓennuɗo -pdfjs-next-button = - .title = Hello faango -pdfjs-next-button-label = Yeeso -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Hello -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = e nder { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Lonngo Woɗɗa -pdfjs-zoom-out-button-label = Lonngo Woɗɗa -pdfjs-zoom-in-button = - .title = Lonngo Ara -pdfjs-zoom-in-button-label = Lonngo Ara -pdfjs-zoom-select = - .title = Lonngo -pdfjs-presentation-mode-button = - .title = Faytu to Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Uddit Fiilde -pdfjs-open-file-button-label = Uddit -pdfjs-print-button = - .title = Winndito -pdfjs-print-button-label = Winndito - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Kuutorɗe -pdfjs-tools-button-label = Kuutorɗe -pdfjs-first-page-button = - .title = Yah to hello adanngo -pdfjs-first-page-button-label = Yah to hello adanngo -pdfjs-last-page-button = - .title = Yah to hello wattindiingo -pdfjs-last-page-button-label = Yah to hello wattindiingo -pdfjs-page-rotate-cw-button = - .title = Yiiltu Faya Ñaamo -pdfjs-page-rotate-cw-button-label = Yiiltu Faya Ñaamo -pdfjs-page-rotate-ccw-button = - .title = Yiiltu Faya Nano -pdfjs-page-rotate-ccw-button-label = Yiiltu Faya Nano -pdfjs-cursor-text-select-tool-button = - .title = Gollin kaɓirgel cuɓirgel binndi -pdfjs-cursor-text-select-tool-button-label = Kaɓirgel cuɓirgel binndi -pdfjs-cursor-hand-tool-button = - .title = Hurmin kuutorgal junngo -pdfjs-cursor-hand-tool-button-label = Kaɓirgel junngo -pdfjs-scroll-vertical-button = - .title = Huutoro gorwitol daringol -pdfjs-scroll-vertical-button-label = Gorwitol daringol -pdfjs-scroll-horizontal-button = - .title = Huutoro gorwitol lelingol -pdfjs-scroll-horizontal-button-label = Gorwitol daringol -pdfjs-scroll-wrapped-button = - .title = Huutoro gorwitol coomingol -pdfjs-scroll-wrapped-button-label = Gorwitol coomingol -pdfjs-spread-none-button = - .title = Hoto tawtu kelle kelle -pdfjs-spread-none-button-label = Alaa Spreads -pdfjs-spread-odd-button = - .title = Tawtu kelle puɗɗortooɗe kelle teelɗe -pdfjs-spread-odd-button-label = Kelle teelɗe -pdfjs-spread-even-button = - .title = Tawtu ɗereeji kelle puɗɗoriiɗi kelle teeltuɗe -pdfjs-spread-even-button-label = Kelle teeltuɗe - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Keeroraaɗi Winndannde… -pdfjs-document-properties-button-label = Keeroraaɗi Winndannde… -pdfjs-document-properties-file-name = Innde fiilde: -pdfjs-document-properties-file-size = Ɓetol fiilde: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bite) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bite) -pdfjs-document-properties-title = Tiitoonde: -pdfjs-document-properties-author = Binnduɗo: -pdfjs-document-properties-subject = Toɓɓere: -pdfjs-document-properties-keywords = Kelmekele jiytirɗe: -pdfjs-document-properties-creation-date = Ñalnde Sosaa: -pdfjs-document-properties-modification-date = Ñalnde Waylaa: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Cosɗo: -pdfjs-document-properties-producer = Paggiiɗo PDF: -pdfjs-document-properties-version = Yamre PDF: -pdfjs-document-properties-page-count = Limoore Kelle: -pdfjs-document-properties-page-size = Ɓeto Hello: -pdfjs-document-properties-page-size-unit-inches = nder -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = dariingo -pdfjs-document-properties-page-size-orientation-landscape = wertiingo -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Ɓataake -pdfjs-document-properties-page-size-name-legal = Laawol - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Ɗisngo geese yaawngo: -pdfjs-document-properties-linearized-yes = Eey -pdfjs-document-properties-linearized-no = Alaa -pdfjs-document-properties-close-button = Uddu - -## Print - -pdfjs-print-progress-message = Nana heboo winnditaade fiilannde… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Haaytu -pdfjs-printing-not-supported = Reentino: Winnditagol tammbitaaka no feewi e ndee wanngorde. -pdfjs-printing-not-ready = Reentino: PDF oo loowaaki haa timmi ngam winnditagol. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggilo Palal Sawndo -pdfjs-toggle-sidebar-button-label = Toggilo Palal Sawndo -pdfjs-document-outline-button = - .title = Hollu Ƴiyal Fiilannde (dobdobo ngam wertude/taggude teme fof) -pdfjs-document-outline-button-label = Toɓɓe Fiilannde -pdfjs-attachments-button = - .title = Hollu Ɗisanɗe -pdfjs-attachments-button-label = Ɗisanɗe -pdfjs-thumbs-button = - .title = Hollu Dooɓe -pdfjs-thumbs-button-label = Dooɓe -pdfjs-findbar-button = - .title = Yiylo e fiilannde -pdfjs-findbar-button-label = Yiytu - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Hello { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Dooɓre Hello { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Yiytu - .placeholder = Yiylo nder dokimaa -pdfjs-find-previous-button = - .title = Yiylo cilol ɓennugol konngol ngol -pdfjs-find-previous-button-label = Ɓennuɗo -pdfjs-find-next-button = - .title = Yiylo cilol garowol konngol ngol -pdfjs-find-next-button-label = Yeeso -pdfjs-find-highlight-checkbox = Jalbin fof -pdfjs-find-match-case-checkbox-label = Jaaɓnu darnde -pdfjs-find-entire-word-checkbox-label = Kelme timmuɗe tan -pdfjs-find-reached-top = Heɓii fuɗɗorde fiilannde, jokku faya les -pdfjs-find-reached-bottom = Heɓii hoore fiilannde, jokku faya les -pdfjs-find-not-found = Konngi njiyataa - -## Predefined zoom values - -pdfjs-page-scale-width = Njaajeendi Hello -pdfjs-page-scale-fit = Keƴeendi Hello -pdfjs-page-scale-auto = Loongorde Jaajol -pdfjs-page-scale-actual = Ɓetol Jaati -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Juumre waɗii tuma nde loowata PDF oo. -pdfjs-invalid-file-error = Fiilde PDF moƴƴaani walla jiibii. -pdfjs-missing-file-error = Fiilde PDF ena ŋakki. -pdfjs-unexpected-response-error = Jaabtol sarworde tijjinooka. -pdfjs-rendering-error = Juumre waɗii tuma nde yoŋkittoo hello. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Siiftannde] - -## Password - -pdfjs-password-label = Naatu finnde ngam uddite ndee fiilde PDF. -pdfjs-password-invalid = Finnde moƴƴaani. Tiiɗno eto kadi. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Haaytu -pdfjs-web-fonts-disabled = Ponte geese ko daaƴaaɗe: horiima huutoraade ponte PDF coomtoraaɗe. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/fi/viewer.ftl b/media/js/pdf4/web/locale/fi/viewer.ftl deleted file mode 100644 index 51667837ce..0000000000 --- a/media/js/pdf4/web/locale/fi/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Edellinen sivu -pdfjs-previous-button-label = Edellinen -pdfjs-next-button = - .title = Seuraava sivu -pdfjs-next-button-label = Seuraava -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Sivu -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = Loitonna -pdfjs-zoom-out-button-label = Loitonna -pdfjs-zoom-in-button = - .title = Lähennä -pdfjs-zoom-in-button-label = Lähennä -pdfjs-zoom-select = - .title = Suurennus -pdfjs-presentation-mode-button = - .title = Siirry esitystilaan -pdfjs-presentation-mode-button-label = Esitystila -pdfjs-open-file-button = - .title = Avaa tiedosto -pdfjs-open-file-button-label = Avaa -pdfjs-print-button = - .title = Tulosta -pdfjs-print-button-label = Tulosta -pdfjs-save-button = - .title = Tallenna -pdfjs-save-button-label = Tallenna -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Lataa -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Lataa -pdfjs-bookmark-button = - .title = Nykyinen sivu (Näytä URL-osoite nykyiseltä sivulta) -pdfjs-bookmark-button-label = Nykyinen sivu -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Avaa sovelluksessa -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Avaa sovelluksessa - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Siirry ensimmäiselle sivulle -pdfjs-first-page-button-label = Siirry ensimmäiselle sivulle -pdfjs-last-page-button = - .title = Siirry viimeiselle sivulle -pdfjs-last-page-button-label = Siirry viimeiselle sivulle -pdfjs-page-rotate-cw-button = - .title = Kierrä oikealle -pdfjs-page-rotate-cw-button-label = Kierrä oikealle -pdfjs-page-rotate-ccw-button = - .title = Kierrä vasemmalle -pdfjs-page-rotate-ccw-button-label = Kierrä vasemmalle -pdfjs-cursor-text-select-tool-button = - .title = Käytä tekstinvalintatyökalua -pdfjs-cursor-text-select-tool-button-label = Tekstinvalintatyökalu -pdfjs-cursor-hand-tool-button = - .title = Käytä käsityökalua -pdfjs-cursor-hand-tool-button-label = Käsityökalu -pdfjs-scroll-page-button = - .title = Käytä sivun vieritystä -pdfjs-scroll-page-button-label = Sivun vieritys -pdfjs-scroll-vertical-button = - .title = Käytä pystysuuntaista vieritystä -pdfjs-scroll-vertical-button-label = Pystysuuntainen vieritys -pdfjs-scroll-horizontal-button = - .title = Käytä vaakasuuntaista vieritystä -pdfjs-scroll-horizontal-button-label = Vaakasuuntainen vieritys -pdfjs-scroll-wrapped-button = - .title = Käytä rivittyvää vieritystä -pdfjs-scroll-wrapped-button-label = Rivittyvä vieritys -pdfjs-spread-none-button = - .title = Älä yhdistä sivuja aukeamiksi -pdfjs-spread-none-button-label = Ei aukeamia -pdfjs-spread-odd-button = - .title = Yhdistä sivut aukeamiksi alkaen parittomalta sivulta -pdfjs-spread-odd-button-label = Parittomalta alkavat aukeamat -pdfjs-spread-even-button = - .title = Yhdistä sivut aukeamiksi alkaen parilliselta sivulta -pdfjs-spread-even-button-label = Parilliselta alkavat aukeamat - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentin ominaisuudet… -pdfjs-document-properties-button-label = Dokumentin ominaisuudet… -pdfjs-document-properties-file-name = Tiedoston nimi: -pdfjs-document-properties-file-size = Tiedoston koko: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kt ({ $size_b } tavua) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } Mt ({ $size_b } tavua) -pdfjs-document-properties-title = Otsikko: -pdfjs-document-properties-author = Tekijä: -pdfjs-document-properties-subject = Aihe: -pdfjs-document-properties-keywords = Avainsanat: -pdfjs-document-properties-creation-date = Luomispäivämäärä: -pdfjs-document-properties-modification-date = Muokkauspäivämäärä: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Luoja: -pdfjs-document-properties-producer = PDF-tuottaja: -pdfjs-document-properties-version = PDF-versio: -pdfjs-document-properties-page-count = Sivujen määrä: -pdfjs-document-properties-page-size = Sivun koko: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = pysty -pdfjs-document-properties-page-size-orientation-landscape = vaaka -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Nopea web-katselu: -pdfjs-document-properties-linearized-yes = Kyllä -pdfjs-document-properties-linearized-no = Ei -pdfjs-document-properties-close-button = Sulje - -## Print - -pdfjs-print-progress-message = Valmistellaan dokumenttia tulostamista varten… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Peruuta -pdfjs-printing-not-supported = Varoitus: Selain ei tue kaikkia tulostustapoja. -pdfjs-printing-not-ready = Varoitus: PDF-tiedosto ei ole vielä latautunut kokonaan, eikä sitä voi vielä tulostaa. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Näytä/piilota sivupaneeli -pdfjs-toggle-sidebar-notification-button = - .title = Näytä/piilota sivupaneeli (dokumentissa on sisällys/liitteitä/tasoja) -pdfjs-toggle-sidebar-button-label = Näytä/piilota sivupaneeli -pdfjs-document-outline-button = - .title = Näytä dokumentin sisällys (laajenna tai kutista kohdat kaksoisnapsauttamalla) -pdfjs-document-outline-button-label = Dokumentin sisällys -pdfjs-attachments-button = - .title = Näytä liitteet -pdfjs-attachments-button-label = Liitteet -pdfjs-layers-button = - .title = Näytä tasot (kaksoisnapsauta palauttaaksesi kaikki tasot oletustilaan) -pdfjs-layers-button-label = Tasot -pdfjs-thumbs-button = - .title = Näytä pienoiskuvat -pdfjs-thumbs-button-label = Pienoiskuvat -pdfjs-current-outline-item-button = - .title = Etsi nykyinen sisällyksen kohta -pdfjs-current-outline-item-button-label = Nykyinen sisällyksen kohta -pdfjs-findbar-button = - .title = Etsi dokumentista -pdfjs-findbar-button-label = Etsi -pdfjs-additional-layers = Lisätasot - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Sivu { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Pienoiskuva sivusta { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Etsi - .placeholder = Etsi dokumentista… -pdfjs-find-previous-button = - .title = Etsi hakusanan edellinen osuma -pdfjs-find-previous-button-label = Edellinen -pdfjs-find-next-button = - .title = Etsi hakusanan seuraava osuma -pdfjs-find-next-button-label = Seuraava -pdfjs-find-highlight-checkbox = Korosta kaikki -pdfjs-find-match-case-checkbox-label = Huomioi kirjainkoko -pdfjs-find-match-diacritics-checkbox-label = Erota tarkkeet -pdfjs-find-entire-word-checkbox-label = Kokonaiset sanat -pdfjs-find-reached-top = Päästiin dokumentin alkuun, jatketaan lopusta -pdfjs-find-reached-bottom = Päästiin dokumentin loppuun, jatketaan alusta -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } / { $total } osuma - *[other] { $current } / { $total } osumaa - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Yli { $limit } osuma - *[other] Yli { $limit } osumaa - } -pdfjs-find-not-found = Hakusanaa ei löytynyt - -## Predefined zoom values - -pdfjs-page-scale-width = Sivun leveys -pdfjs-page-scale-fit = Koko sivu -pdfjs-page-scale-auto = Automaattinen suurennus -pdfjs-page-scale-actual = Todellinen koko -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Sivu { $page } - -## Loading indicator messages - -pdfjs-loading-error = Tapahtui virhe ladattaessa PDF-tiedostoa. -pdfjs-invalid-file-error = Virheellinen tai vioittunut PDF-tiedosto. -pdfjs-missing-file-error = Puuttuva PDF-tiedosto. -pdfjs-unexpected-response-error = Odottamaton vastaus palvelimelta. -pdfjs-rendering-error = Tapahtui virhe piirrettäessä sivua. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-merkintä] - -## Password - -pdfjs-password-label = Kirjoita PDF-tiedoston salasana. -pdfjs-password-invalid = Virheellinen salasana. Yritä uudestaan. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Peruuta -pdfjs-web-fonts-disabled = Verkkosivujen omat kirjasinlajit on estetty: ei voida käyttää upotettuja PDF-kirjasinlajeja. - -## Editing - -pdfjs-editor-free-text-button = - .title = Teksti -pdfjs-editor-free-text-button-label = Teksti -pdfjs-editor-ink-button = - .title = Piirros -pdfjs-editor-ink-button-label = Piirros -pdfjs-editor-stamp-button = - .title = Lisää tai muokkaa kuvia -pdfjs-editor-stamp-button-label = Lisää tai muokkaa kuvia -pdfjs-editor-highlight-button = - .title = Korostus -pdfjs-editor-highlight-button-label = Korostus -pdfjs-highlight-floating-button = - .title = Korostus -pdfjs-highlight-floating-button1 = - .title = Korostus - .aria-label = Korostus -pdfjs-highlight-floating-button-label = Korostus - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Poista piirros -pdfjs-editor-remove-freetext-button = - .title = Poista teksti -pdfjs-editor-remove-stamp-button = - .title = Poista kuva -pdfjs-editor-remove-highlight-button = - .title = Poista korostus - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Väri -pdfjs-editor-free-text-size-input = Koko -pdfjs-editor-ink-color-input = Väri -pdfjs-editor-ink-thickness-input = Paksuus -pdfjs-editor-ink-opacity-input = Peittävyys -pdfjs-editor-stamp-add-image-button = - .title = Lisää kuva -pdfjs-editor-stamp-add-image-button-label = Lisää kuva -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Paksuus -pdfjs-editor-free-highlight-thickness-title = - .title = Muuta paksuutta korostaessasi muita kohteita kuin tekstiä -pdfjs-free-text = - .aria-label = Tekstimuokkain -pdfjs-free-text-default-content = Aloita kirjoittaminen… -pdfjs-ink = - .aria-label = Piirrustusmuokkain -pdfjs-ink-canvas = - .aria-label = Käyttäjän luoma kuva - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Vaihtoehtoinen teksti -pdfjs-editor-alt-text-edit-button-label = Muokkaa vaihtoehtoista tekstiä -pdfjs-editor-alt-text-dialog-label = Valitse vaihtoehto -pdfjs-editor-alt-text-dialog-description = Vaihtoehtoinen teksti ("alt-teksti") auttaa ihmisiä, jotka eivät näe kuvaa tai kun kuva ei lataudu. -pdfjs-editor-alt-text-add-description-label = Lisää kuvaus -pdfjs-editor-alt-text-add-description-description = Pyri 1-2 lauseeseen, jotka kuvaavat aihetta, ympäristöä tai toimintaa. -pdfjs-editor-alt-text-mark-decorative-label = Merkitse koristeelliseksi -pdfjs-editor-alt-text-mark-decorative-description = Tätä käytetään koristekuville, kuten reunuksille tai vesileimoille. -pdfjs-editor-alt-text-cancel-button = Peruuta -pdfjs-editor-alt-text-save-button = Tallenna -pdfjs-editor-alt-text-decorative-tooltip = Merkitty koristeelliseksi -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Esimerkiksi "Nuori mies istuu pöytään syömään aterian" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Vasen yläkulma - muuta kokoa -pdfjs-editor-resizer-label-top-middle = Ylhäällä keskellä - muuta kokoa -pdfjs-editor-resizer-label-top-right = Oikea yläkulma - muuta kokoa -pdfjs-editor-resizer-label-middle-right = Keskellä oikealla - muuta kokoa -pdfjs-editor-resizer-label-bottom-right = Oikea alakulma - muuta kokoa -pdfjs-editor-resizer-label-bottom-middle = Alhaalla keskellä - muuta kokoa -pdfjs-editor-resizer-label-bottom-left = Vasen alakulma - muuta kokoa -pdfjs-editor-resizer-label-middle-left = Keskellä vasemmalla - muuta kokoa - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Korostusväri -pdfjs-editor-colorpicker-button = - .title = Vaihda väri -pdfjs-editor-colorpicker-dropdown = - .aria-label = Värivalinnat -pdfjs-editor-colorpicker-yellow = - .title = Keltainen -pdfjs-editor-colorpicker-green = - .title = Vihreä -pdfjs-editor-colorpicker-blue = - .title = Sininen -pdfjs-editor-colorpicker-pink = - .title = Pinkki -pdfjs-editor-colorpicker-red = - .title = Punainen - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Näytä kaikki -pdfjs-editor-highlight-show-all-button = - .title = Näytä kaikki diff --git a/media/js/pdf4/web/locale/fr/viewer.ftl b/media/js/pdf4/web/locale/fr/viewer.ftl deleted file mode 100644 index 54c06c22c4..0000000000 --- a/media/js/pdf4/web/locale/fr/viewer.ftl +++ /dev/null @@ -1,398 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Page précédente -pdfjs-previous-button-label = Précédent -pdfjs-next-button = - .title = Page suivante -pdfjs-next-button-label = Suivant -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Page -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = sur { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } sur { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom arrière -pdfjs-zoom-out-button-label = Zoom arrière -pdfjs-zoom-in-button = - .title = Zoom avant -pdfjs-zoom-in-button-label = Zoom avant -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Basculer en mode présentation -pdfjs-presentation-mode-button-label = Mode présentation -pdfjs-open-file-button = - .title = Ouvrir le fichier -pdfjs-open-file-button-label = Ouvrir le fichier -pdfjs-print-button = - .title = Imprimer -pdfjs-print-button-label = Imprimer -pdfjs-save-button = - .title = Enregistrer -pdfjs-save-button-label = Enregistrer -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Télécharger -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Télécharger -pdfjs-bookmark-button = - .title = Page courante (montrer l’adresse de la page courante) -pdfjs-bookmark-button-label = Page courante -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Ouvrir dans une application -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Ouvrir dans une application - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Outils -pdfjs-tools-button-label = Outils -pdfjs-first-page-button = - .title = Aller à la première page -pdfjs-first-page-button-label = Aller à la première page -pdfjs-last-page-button = - .title = Aller à la dernière page -pdfjs-last-page-button-label = Aller à la dernière page -pdfjs-page-rotate-cw-button = - .title = Rotation horaire -pdfjs-page-rotate-cw-button-label = Rotation horaire -pdfjs-page-rotate-ccw-button = - .title = Rotation antihoraire -pdfjs-page-rotate-ccw-button-label = Rotation antihoraire -pdfjs-cursor-text-select-tool-button = - .title = Activer l’outil de sélection de texte -pdfjs-cursor-text-select-tool-button-label = Outil de sélection de texte -pdfjs-cursor-hand-tool-button = - .title = Activer l’outil main -pdfjs-cursor-hand-tool-button-label = Outil main -pdfjs-scroll-page-button = - .title = Utiliser le défilement par page -pdfjs-scroll-page-button-label = Défilement par page -pdfjs-scroll-vertical-button = - .title = Utiliser le défilement vertical -pdfjs-scroll-vertical-button-label = Défilement vertical -pdfjs-scroll-horizontal-button = - .title = Utiliser le défilement horizontal -pdfjs-scroll-horizontal-button-label = Défilement horizontal -pdfjs-scroll-wrapped-button = - .title = Utiliser le défilement par bloc -pdfjs-scroll-wrapped-button-label = Défilement par bloc -pdfjs-spread-none-button = - .title = Ne pas afficher les pages deux à deux -pdfjs-spread-none-button-label = Pas de double affichage -pdfjs-spread-odd-button = - .title = Afficher les pages par deux, impaires à gauche -pdfjs-spread-odd-button-label = Doubles pages, impaires à gauche -pdfjs-spread-even-button = - .title = Afficher les pages par deux, paires à gauche -pdfjs-spread-even-button-label = Doubles pages, paires à gauche - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propriétés du document… -pdfjs-document-properties-button-label = Propriétés du document… -pdfjs-document-properties-file-name = Nom du fichier : -pdfjs-document-properties-file-size = Taille du fichier : -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } Ko ({ $size_b } octets) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } Mo ({ $size_b } octets) -pdfjs-document-properties-title = Titre : -pdfjs-document-properties-author = Auteur : -pdfjs-document-properties-subject = Sujet : -pdfjs-document-properties-keywords = Mots-clés : -pdfjs-document-properties-creation-date = Date de création : -pdfjs-document-properties-modification-date = Modifié le : -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } à { $time } -pdfjs-document-properties-creator = Créé par : -pdfjs-document-properties-producer = Outil de conversion PDF : -pdfjs-document-properties-version = Version PDF : -pdfjs-document-properties-page-count = Nombre de pages : -pdfjs-document-properties-page-size = Taille de la page : -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = paysage -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = lettre -pdfjs-document-properties-page-size-name-legal = document juridique - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Affichage rapide des pages web : -pdfjs-document-properties-linearized-yes = Oui -pdfjs-document-properties-linearized-no = Non -pdfjs-document-properties-close-button = Fermer - -## Print - -pdfjs-print-progress-message = Préparation du document pour l’impression… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Annuler -pdfjs-printing-not-supported = Attention : l’impression n’est pas totalement prise en charge par ce navigateur. -pdfjs-printing-not-ready = Attention : le PDF n’est pas entièrement chargé pour pouvoir l’imprimer. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Afficher/Masquer le panneau latéral -pdfjs-toggle-sidebar-notification-button = - .title = Afficher/Masquer le panneau latéral (le document contient des signets/pièces jointes/calques) -pdfjs-toggle-sidebar-button-label = Afficher/Masquer le panneau latéral -pdfjs-document-outline-button = - .title = Afficher les signets du document (double-cliquer pour développer/réduire tous les éléments) -pdfjs-document-outline-button-label = Signets du document -pdfjs-attachments-button = - .title = Afficher les pièces jointes -pdfjs-attachments-button-label = Pièces jointes -pdfjs-layers-button = - .title = Afficher les calques (double-cliquer pour réinitialiser tous les calques à l’état par défaut) -pdfjs-layers-button-label = Calques -pdfjs-thumbs-button = - .title = Afficher les vignettes -pdfjs-thumbs-button-label = Vignettes -pdfjs-current-outline-item-button = - .title = Trouver l’élément de plan actuel -pdfjs-current-outline-item-button-label = Élément de plan actuel -pdfjs-findbar-button = - .title = Rechercher dans le document -pdfjs-findbar-button-label = Rechercher -pdfjs-additional-layers = Calques additionnels - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Vignette de la page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Rechercher - .placeholder = Rechercher dans le document… -pdfjs-find-previous-button = - .title = Trouver l’occurrence précédente de l’expression -pdfjs-find-previous-button-label = Précédent -pdfjs-find-next-button = - .title = Trouver la prochaine occurrence de l’expression -pdfjs-find-next-button-label = Suivant -pdfjs-find-highlight-checkbox = Tout surligner -pdfjs-find-match-case-checkbox-label = Respecter la casse -pdfjs-find-match-diacritics-checkbox-label = Respecter les accents et diacritiques -pdfjs-find-entire-word-checkbox-label = Mots entiers -pdfjs-find-reached-top = Haut de la page atteint, poursuite depuis la fin -pdfjs-find-reached-bottom = Bas de la page atteint, poursuite au début -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = Occurrence { $current } sur { $total } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Plus d’{ $limit } occurrence - *[other] Plus de { $limit } occurrences - } -pdfjs-find-not-found = Expression non trouvée - -## Predefined zoom values - -pdfjs-page-scale-width = Pleine largeur -pdfjs-page-scale-fit = Page entière -pdfjs-page-scale-auto = Zoom automatique -pdfjs-page-scale-actual = Taille réelle -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Page { $page } - -## Loading indicator messages - -pdfjs-loading-error = Une erreur s’est produite lors du chargement du fichier PDF. -pdfjs-invalid-file-error = Fichier PDF invalide ou corrompu. -pdfjs-missing-file-error = Fichier PDF manquant. -pdfjs-unexpected-response-error = Réponse inattendue du serveur. -pdfjs-rendering-error = Une erreur s’est produite lors de l’affichage de la page. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } à { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Annotation { $type }] - -## Password - -pdfjs-password-label = Veuillez saisir le mot de passe pour ouvrir ce fichier PDF. -pdfjs-password-invalid = Mot de passe incorrect. Veuillez réessayer. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Annuler -pdfjs-web-fonts-disabled = Les polices web sont désactivées : impossible d’utiliser les polices intégrées au PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texte -pdfjs-editor-free-text-button-label = Texte -pdfjs-editor-ink-button = - .title = Dessiner -pdfjs-editor-ink-button-label = Dessiner -pdfjs-editor-stamp-button = - .title = Ajouter ou modifier des images -pdfjs-editor-stamp-button-label = Ajouter ou modifier des images -pdfjs-editor-highlight-button = - .title = Surligner -pdfjs-editor-highlight-button-label = Surligner -pdfjs-highlight-floating-button = - .title = Surligner -pdfjs-highlight-floating-button1 = - .title = Surligner - .aria-label = Surligner -pdfjs-highlight-floating-button-label = Surligner - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Supprimer le dessin -pdfjs-editor-remove-freetext-button = - .title = Supprimer le texte -pdfjs-editor-remove-stamp-button = - .title = Supprimer l’image -pdfjs-editor-remove-highlight-button = - .title = Supprimer le surlignage - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Couleur -pdfjs-editor-free-text-size-input = Taille -pdfjs-editor-ink-color-input = Couleur -pdfjs-editor-ink-thickness-input = Épaisseur -pdfjs-editor-ink-opacity-input = Opacité -pdfjs-editor-stamp-add-image-button = - .title = Ajouter une image -pdfjs-editor-stamp-add-image-button-label = Ajouter une image -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Épaisseur -pdfjs-editor-free-highlight-thickness-title = - .title = Modifier l’épaisseur pour le surlignage d’éléments non textuels -pdfjs-free-text = - .aria-label = Éditeur de texte -pdfjs-free-text-default-content = Commencer à écrire… -pdfjs-ink = - .aria-label = Éditeur de dessin -pdfjs-ink-canvas = - .aria-label = Image créée par l’utilisateur·trice - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texte alternatif -pdfjs-editor-alt-text-edit-button-label = Modifier le texte alternatif -pdfjs-editor-alt-text-dialog-label = Sélectionnez une option -pdfjs-editor-alt-text-dialog-description = Le texte alternatif est utile lorsque des personnes ne peuvent pas voir l’image ou que l’image ne se charge pas. -pdfjs-editor-alt-text-add-description-label = Ajouter une description -pdfjs-editor-alt-text-add-description-description = Il est conseillé de rédiger une ou deux phrases décrivant le sujet, le cadre ou les actions. -pdfjs-editor-alt-text-mark-decorative-label = Marquer comme décorative -pdfjs-editor-alt-text-mark-decorative-description = Cette option est utilisée pour les images décoratives, comme les bordures ou les filigranes. -pdfjs-editor-alt-text-cancel-button = Annuler -pdfjs-editor-alt-text-save-button = Enregistrer -pdfjs-editor-alt-text-decorative-tooltip = Marquée comme décorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Par exemple, « Un jeune homme est assis à une table pour prendre un repas » - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Coin supérieur gauche — redimensionner -pdfjs-editor-resizer-label-top-middle = Milieu haut — redimensionner -pdfjs-editor-resizer-label-top-right = Coin supérieur droit — redimensionner -pdfjs-editor-resizer-label-middle-right = Milieu droit — redimensionner -pdfjs-editor-resizer-label-bottom-right = Coin inférieur droit — redimensionner -pdfjs-editor-resizer-label-bottom-middle = Centre bas — redimensionner -pdfjs-editor-resizer-label-bottom-left = Coin inférieur gauche — redimensionner -pdfjs-editor-resizer-label-middle-left = Milieu gauche — redimensionner - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Couleur de surlignage -pdfjs-editor-colorpicker-button = - .title = Changer de couleur -pdfjs-editor-colorpicker-dropdown = - .aria-label = Choix de couleurs -pdfjs-editor-colorpicker-yellow = - .title = Jaune -pdfjs-editor-colorpicker-green = - .title = Vert -pdfjs-editor-colorpicker-blue = - .title = Bleu -pdfjs-editor-colorpicker-pink = - .title = Rose -pdfjs-editor-colorpicker-red = - .title = Rouge - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Tout afficher -pdfjs-editor-highlight-show-all-button = - .title = Tout afficher diff --git a/media/js/pdf4/web/locale/fur/viewer.ftl b/media/js/pdf4/web/locale/fur/viewer.ftl deleted file mode 100644 index 8e8c8a0179..0000000000 --- a/media/js/pdf4/web/locale/fur/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagjine precedente -pdfjs-previous-button-label = Indaûr -pdfjs-next-button = - .title = Prossime pagjine -pdfjs-next-button-label = Indevant -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagjine -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = di { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } di { $pagesCount }) -pdfjs-zoom-out-button = - .title = Impiçulìs -pdfjs-zoom-out-button-label = Impiçulìs -pdfjs-zoom-in-button = - .title = Ingrandìs -pdfjs-zoom-in-button-label = Ingrandìs -pdfjs-zoom-select = - .title = Ingrandiment -pdfjs-presentation-mode-button = - .title = Passe ae modalitât presentazion -pdfjs-presentation-mode-button-label = Modalitât presentazion -pdfjs-open-file-button = - .title = Vierç un file -pdfjs-open-file-button-label = Vierç -pdfjs-print-button = - .title = Stampe -pdfjs-print-button-label = Stampe -pdfjs-save-button = - .title = Salve -pdfjs-save-button-label = Salve -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Discjame -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Discjame -pdfjs-bookmark-button = - .title = Pagjine corinte (mostre URL de pagjine atuâl) -pdfjs-bookmark-button-label = Pagjine corinte -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Vierç te aplicazion -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Vierç te aplicazion - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Struments -pdfjs-tools-button-label = Struments -pdfjs-first-page-button = - .title = Va ae prime pagjine -pdfjs-first-page-button-label = Va ae prime pagjine -pdfjs-last-page-button = - .title = Va ae ultime pagjine -pdfjs-last-page-button-label = Va ae ultime pagjine -pdfjs-page-rotate-cw-button = - .title = Zire in sens orari -pdfjs-page-rotate-cw-button-label = Zire in sens orari -pdfjs-page-rotate-ccw-button = - .title = Zire in sens antiorari -pdfjs-page-rotate-ccw-button-label = Zire in sens antiorari -pdfjs-cursor-text-select-tool-button = - .title = Ative il strument di selezion dal test -pdfjs-cursor-text-select-tool-button-label = Strument di selezion dal test -pdfjs-cursor-hand-tool-button = - .title = Ative il strument manute -pdfjs-cursor-hand-tool-button-label = Strument manute -pdfjs-scroll-page-button = - .title = Dopre il scoriment des pagjinis -pdfjs-scroll-page-button-label = Scoriment pagjinis -pdfjs-scroll-vertical-button = - .title = Dopre scoriment verticâl -pdfjs-scroll-vertical-button-label = Scoriment verticâl -pdfjs-scroll-horizontal-button = - .title = Dopre scoriment orizontâl -pdfjs-scroll-horizontal-button-label = Scoriment orizontâl -pdfjs-scroll-wrapped-button = - .title = Dopre scoriment par blocs -pdfjs-scroll-wrapped-button-label = Scoriment par blocs -pdfjs-spread-none-button = - .title = No sta meti dongje pagjinis in cubie -pdfjs-spread-none-button-label = No cubiis di pagjinis -pdfjs-spread-odd-button = - .title = Met dongje cubiis di pagjinis scomençant des pagjinis dispar -pdfjs-spread-odd-button-label = Cubiis di pagjinis, dispar a çampe -pdfjs-spread-even-button = - .title = Met dongje cubiis di pagjinis scomençant des pagjinis pâr -pdfjs-spread-even-button-label = Cubiis di pagjinis, pâr a çampe - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Proprietâts dal document… -pdfjs-document-properties-button-label = Proprietâts dal document… -pdfjs-document-properties-file-name = Non dal file: -pdfjs-document-properties-file-size = Dimension dal file: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titul: -pdfjs-document-properties-author = Autôr: -pdfjs-document-properties-subject = Ogjet: -pdfjs-document-properties-keywords = Peraulis clâf: -pdfjs-document-properties-creation-date = Date di creazion: -pdfjs-document-properties-modification-date = Date di modifiche: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creatôr -pdfjs-document-properties-producer = Gjeneradôr PDF: -pdfjs-document-properties-version = Version PDF: -pdfjs-document-properties-page-count = Numar di pagjinis: -pdfjs-document-properties-page-size = Dimension de pagjine: -pdfjs-document-properties-page-size-unit-inches = oncis -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = verticâl -pdfjs-document-properties-page-size-orientation-landscape = orizontâl -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letare -pdfjs-document-properties-page-size-name-legal = Legâl - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Visualizazion web svelte: -pdfjs-document-properties-linearized-yes = Sì -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Siere - -## Print - -pdfjs-print-progress-message = Daûr a prontâ il document pe stampe… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Anule -pdfjs-printing-not-supported = Atenzion: la stampe no je supuartade ad implen di chest navigadôr. -pdfjs-printing-not-ready = Atenzion: il PDF nol è stât cjamât dal dut pe stampe. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Ative/Disative sbare laterâl -pdfjs-toggle-sidebar-notification-button = - .title = Ative/Disative sbare laterâl (il document al conten struture/zontis/strâts) -pdfjs-toggle-sidebar-button-label = Ative/Disative sbare laterâl -pdfjs-document-outline-button = - .title = Mostre la struture dal document (dopli clic par slargjâ/strenzi ducj i elements) -pdfjs-document-outline-button-label = Struture dal document -pdfjs-attachments-button = - .title = Mostre lis zontis -pdfjs-attachments-button-label = Zontis -pdfjs-layers-button = - .title = Mostre i strâts (dopli clic par ristabilî ducj i strâts al stât predefinît) -pdfjs-layers-button-label = Strâts -pdfjs-thumbs-button = - .title = Mostre miniaturis -pdfjs-thumbs-button-label = Miniaturis -pdfjs-current-outline-item-button = - .title = Cjate l'element de struture atuâl -pdfjs-current-outline-item-button-label = Element de struture atuâl -pdfjs-findbar-button = - .title = Cjate tal document -pdfjs-findbar-button-label = Cjate -pdfjs-additional-layers = Strâts adizionâi - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagjine { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniature de pagjine { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Cjate - .placeholder = Cjate tal document… -pdfjs-find-previous-button = - .title = Cjate il câs precedent dal test -pdfjs-find-previous-button-label = Precedent -pdfjs-find-next-button = - .title = Cjate il câs sucessîf dal test -pdfjs-find-next-button-label = Sucessîf -pdfjs-find-highlight-checkbox = Evidenzie dut -pdfjs-find-match-case-checkbox-label = Fâs distinzion tra maiusculis e minusculis -pdfjs-find-match-diacritics-checkbox-label = Corispondence diacritiche -pdfjs-find-entire-word-checkbox-label = Peraulis interiis -pdfjs-find-reached-top = Si è rivâts al inizi dal document e si à continuât de fin -pdfjs-find-reached-bottom = Si è rivât ae fin dal document e si à continuât dal inizi -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } di { $total } corispondence - *[other] { $current } di { $total } corispondencis - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Plui di { $limit } corispondence - *[other] Plui di { $limit } corispondencis - } -pdfjs-find-not-found = Test no cjatât - -## Predefined zoom values - -pdfjs-page-scale-width = Largjece de pagjine -pdfjs-page-scale-fit = Pagjine interie -pdfjs-page-scale-auto = Ingrandiment automatic -pdfjs-page-scale-actual = Dimension reâl -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagjine { $page } - -## Loading indicator messages - -pdfjs-loading-error = Al è vignût fûr un erôr intant che si cjariave il PDF. -pdfjs-invalid-file-error = File PDF no valit o ruvinât. -pdfjs-missing-file-error = Al mancje il file PDF. -pdfjs-unexpected-response-error = Rispueste dal servidôr inspietade. -pdfjs-rendering-error = Al è vignût fûr un erôr tal realizâ la visualizazion de pagjine. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotazion { $type }] - -## Password - -pdfjs-password-label = Inserìs la password par vierzi chest file PDF. -pdfjs-password-invalid = Password no valide. Par plasê torne prove. -pdfjs-password-ok-button = Va ben -pdfjs-password-cancel-button = Anule -pdfjs-web-fonts-disabled = I caratars dal Web a son disativâts: Impussibil doprâ i caratars PDF incorporâts. - -## Editing - -pdfjs-editor-free-text-button = - .title = Test -pdfjs-editor-free-text-button-label = Test -pdfjs-editor-ink-button = - .title = Dissen -pdfjs-editor-ink-button-label = Dissen -pdfjs-editor-stamp-button = - .title = Zonte o modifiche imagjins -pdfjs-editor-stamp-button-label = Zonte o modifiche imagjins -pdfjs-editor-highlight-button = - .title = Evidenzie -pdfjs-editor-highlight-button-label = Evidenzie -pdfjs-highlight-floating-button = - .title = Evidenzie -pdfjs-highlight-floating-button1 = - .title = Evidenzie - .aria-label = Evidenzie -pdfjs-highlight-floating-button-label = Evidenzie - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Gjave dissen -pdfjs-editor-remove-freetext-button = - .title = Gjave test -pdfjs-editor-remove-stamp-button = - .title = Gjave imagjin -pdfjs-editor-remove-highlight-button = - .title = Gjave evidenziazion - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Colôr -pdfjs-editor-free-text-size-input = Dimension -pdfjs-editor-ink-color-input = Colôr -pdfjs-editor-ink-thickness-input = Spessôr -pdfjs-editor-ink-opacity-input = Opacitât -pdfjs-editor-stamp-add-image-button = - .title = Zonte imagjin -pdfjs-editor-stamp-add-image-button-label = Zonte imagjin -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Spessôr -pdfjs-editor-free-highlight-thickness-title = - .title = Modifiche il spessôr de selezion pai elements che no son testuâi -pdfjs-free-text = - .aria-label = Editôr di test -pdfjs-free-text-default-content = Scomence a scrivi… -pdfjs-ink = - .aria-label = Editôr dissens -pdfjs-ink-canvas = - .aria-label = Imagjin creade dal utent - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Test alternatîf -pdfjs-editor-alt-text-edit-button-label = Modifiche test alternatîf -pdfjs-editor-alt-text-dialog-label = Sielç une opzion -pdfjs-editor-alt-text-dialog-description = Il test alternatîf (“alt text”) al jude cuant che lis personis no puedin viodi la imagjin o cuant che la imagjine no ven cjariade. -pdfjs-editor-alt-text-add-description-label = Zonte une descrizion -pdfjs-editor-alt-text-add-description-description = Ponte a une o dôs frasis che a descrivin l’argoment, la ambientazion o lis azions. -pdfjs-editor-alt-text-mark-decorative-label = Segne come decorative -pdfjs-editor-alt-text-mark-decorative-description = Chest al ven doprât pes imagjins ornamentâls, come i ôrs o lis filigranis. -pdfjs-editor-alt-text-cancel-button = Anule -pdfjs-editor-alt-text-save-button = Salve -pdfjs-editor-alt-text-decorative-tooltip = Segnade come decorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Par esempli, “Un zovin si sente a taule par mangjâ” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Cjanton in alt a çampe — ridimensione -pdfjs-editor-resizer-label-top-middle = Bande superiôr tal mieç — ridimensione -pdfjs-editor-resizer-label-top-right = Cjanton in alt a diestre — ridimensione -pdfjs-editor-resizer-label-middle-right = Bande diestre tal mieç — ridimensione -pdfjs-editor-resizer-label-bottom-right = Cjanton in bas a diestre — ridimensione -pdfjs-editor-resizer-label-bottom-middle = Bande inferiôr tal mieç — ridimensione -pdfjs-editor-resizer-label-bottom-left = Cjanton in bas a çampe — ridimensione -pdfjs-editor-resizer-label-middle-left = Bande di çampe tal mieç — ridimensione - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Colôr par evidenziâ -pdfjs-editor-colorpicker-button = - .title = Cambie colôr -pdfjs-editor-colorpicker-dropdown = - .aria-label = Sieltis di colôr -pdfjs-editor-colorpicker-yellow = - .title = Zâl -pdfjs-editor-colorpicker-green = - .title = Vert -pdfjs-editor-colorpicker-blue = - .title = Blu -pdfjs-editor-colorpicker-pink = - .title = Rose -pdfjs-editor-colorpicker-red = - .title = Ros - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostre dut -pdfjs-editor-highlight-show-all-button = - .title = Mostre dut diff --git a/media/js/pdf4/web/locale/fy-NL/viewer.ftl b/media/js/pdf4/web/locale/fy-NL/viewer.ftl deleted file mode 100644 index a67f9b9d31..0000000000 --- a/media/js/pdf4/web/locale/fy-NL/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Foarige side -pdfjs-previous-button-label = Foarige -pdfjs-next-button = - .title = Folgjende side -pdfjs-next-button-label = Folgjende -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Side -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = fan { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } fan { $pagesCount }) -pdfjs-zoom-out-button = - .title = Utzoome -pdfjs-zoom-out-button-label = Utzoome -pdfjs-zoom-in-button = - .title = Ynzoome -pdfjs-zoom-in-button-label = Ynzoome -pdfjs-zoom-select = - .title = Zoome -pdfjs-presentation-mode-button = - .title = Wikselje nei presintaasjemodus -pdfjs-presentation-mode-button-label = Presintaasjemodus -pdfjs-open-file-button = - .title = Bestân iepenje -pdfjs-open-file-button-label = Iepenje -pdfjs-print-button = - .title = Ofdrukke -pdfjs-print-button-label = Ofdrukke -pdfjs-save-button = - .title = Bewarje -pdfjs-save-button-label = Bewarje -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Downloade -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Downloade -pdfjs-bookmark-button = - .title = Aktuele side (URL fan aktuele side besjen) -pdfjs-bookmark-button-label = Aktuele side -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Iepenje yn app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Iepenje yn app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ark -pdfjs-tools-button-label = Ark -pdfjs-first-page-button = - .title = Gean nei earste side -pdfjs-first-page-button-label = Gean nei earste side -pdfjs-last-page-button = - .title = Gean nei lêste side -pdfjs-last-page-button-label = Gean nei lêste side -pdfjs-page-rotate-cw-button = - .title = Rjochtsom draaie -pdfjs-page-rotate-cw-button-label = Rjochtsom draaie -pdfjs-page-rotate-ccw-button = - .title = Linksom draaie -pdfjs-page-rotate-ccw-button-label = Linksom draaie -pdfjs-cursor-text-select-tool-button = - .title = Tekstseleksjehelpmiddel ynskeakelje -pdfjs-cursor-text-select-tool-button-label = Tekstseleksjehelpmiddel -pdfjs-cursor-hand-tool-button = - .title = Hânhelpmiddel ynskeakelje -pdfjs-cursor-hand-tool-button-label = Hânhelpmiddel -pdfjs-scroll-page-button = - .title = Sideskowen brûke -pdfjs-scroll-page-button-label = Sideskowen -pdfjs-scroll-vertical-button = - .title = Fertikaal skowe brûke -pdfjs-scroll-vertical-button-label = Fertikaal skowe -pdfjs-scroll-horizontal-button = - .title = Horizontaal skowe brûke -pdfjs-scroll-horizontal-button-label = Horizontaal skowe -pdfjs-scroll-wrapped-button = - .title = Skowe mei oersjoch brûke -pdfjs-scroll-wrapped-button-label = Skowe mei oersjoch -pdfjs-spread-none-button = - .title = Sidesprieding net gearfetsje -pdfjs-spread-none-button-label = Gjin sprieding -pdfjs-spread-odd-button = - .title = Sidesprieding gearfetsje te starten mei ûneven nûmers -pdfjs-spread-odd-button-label = Uneven sprieding -pdfjs-spread-even-button = - .title = Sidesprieding gearfetsje te starten mei even nûmers -pdfjs-spread-even-button-label = Even sprieding - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokuminteigenskippen… -pdfjs-document-properties-button-label = Dokuminteigenskippen… -pdfjs-document-properties-file-name = Bestânsnamme: -pdfjs-document-properties-file-size = Bestânsgrutte: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Auteur: -pdfjs-document-properties-subject = Underwerp: -pdfjs-document-properties-keywords = Kaaiwurden: -pdfjs-document-properties-creation-date = Oanmaakdatum: -pdfjs-document-properties-modification-date = Bewurkingsdatum: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Makker: -pdfjs-document-properties-producer = PDF-makker: -pdfjs-document-properties-version = PDF-ferzje: -pdfjs-document-properties-page-count = Siden: -pdfjs-document-properties-page-size = Sideformaat: -pdfjs-document-properties-page-size-unit-inches = yn -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = steand -pdfjs-document-properties-page-size-orientation-landscape = lizzend -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Juridysk - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Flugge webwerjefte: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nee -pdfjs-document-properties-close-button = Slute - -## Print - -pdfjs-print-progress-message = Dokumint tariede oar ôfdrukken… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Annulearje -pdfjs-printing-not-supported = Warning: Printen is net folslein stipe troch dizze browser. -pdfjs-printing-not-ready = Warning: PDF is net folslein laden om ôf te drukken. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Sidebalke yn-/útskeakelje -pdfjs-toggle-sidebar-notification-button = - .title = Sidebalke yn-/útskeakelje (dokumint befettet oersjoch/bylagen/lagen) -pdfjs-toggle-sidebar-button-label = Sidebalke yn-/útskeakelje -pdfjs-document-outline-button = - .title = Dokumintoersjoch toane (dûbelklik om alle items út/yn te klappen) -pdfjs-document-outline-button-label = Dokumintoersjoch -pdfjs-attachments-button = - .title = Bylagen toane -pdfjs-attachments-button-label = Bylagen -pdfjs-layers-button = - .title = Lagen toane (dûbelklik om alle lagen nei de standertsteat werom te setten) -pdfjs-layers-button-label = Lagen -pdfjs-thumbs-button = - .title = Foarbylden toane -pdfjs-thumbs-button-label = Foarbylden -pdfjs-current-outline-item-button = - .title = Aktueel item yn ynhâldsopjefte sykje -pdfjs-current-outline-item-button-label = Aktueel item yn ynhâldsopjefte -pdfjs-findbar-button = - .title = Sykje yn dokumint -pdfjs-findbar-button-label = Sykje -pdfjs-additional-layers = Oanfoljende lagen - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Side { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Foarbyld fan side { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Sykje - .placeholder = Sykje yn dokumint… -pdfjs-find-previous-button = - .title = It foarige foarkommen fan de tekst sykje -pdfjs-find-previous-button-label = Foarige -pdfjs-find-next-button = - .title = It folgjende foarkommen fan de tekst sykje -pdfjs-find-next-button-label = Folgjende -pdfjs-find-highlight-checkbox = Alles markearje -pdfjs-find-match-case-checkbox-label = Haadlettergefoelich -pdfjs-find-match-diacritics-checkbox-label = Diakrityske tekens brûke -pdfjs-find-entire-word-checkbox-label = Hiele wurden -pdfjs-find-reached-top = Boppekant fan dokumint berikt, trochgien fan ûnder ôf -pdfjs-find-reached-bottom = Ein fan dokumint berikt, trochgien fan boppe ôf -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } fan { $total } oerienkomst - *[other] { $current } fan { $total } oerienkomsten - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mear as { $limit } oerienkomst - *[other] Mear as { $limit } oerienkomsten - } -pdfjs-find-not-found = Tekst net fûn - -## Predefined zoom values - -pdfjs-page-scale-width = Sidebreedte -pdfjs-page-scale-fit = Hiele side -pdfjs-page-scale-auto = Automatysk zoome -pdfjs-page-scale-actual = Werklike grutte -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Side { $page } - -## Loading indicator messages - -pdfjs-loading-error = Der is in flater bard by it laden fan de PDF. -pdfjs-invalid-file-error = Ynfalide of korruptearre PDF-bestân. -pdfjs-missing-file-error = PDF-bestân ûntbrekt. -pdfjs-unexpected-response-error = Unferwacht serverantwurd. -pdfjs-rendering-error = Der is in flater bard by it renderjen fan de side. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-annotaasje] - -## Password - -pdfjs-password-label = Jou it wachtwurd om dit PDF-bestân te iepenjen. -pdfjs-password-invalid = Ferkeard wachtwurd. Probearje opnij. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Annulearje -pdfjs-web-fonts-disabled = Weblettertypen binne útskeakele: gebrûk fan ynsluten PDF-lettertypen is net mooglik. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Tekenje -pdfjs-editor-ink-button-label = Tekenje -pdfjs-editor-stamp-button = - .title = Ofbyldingen tafoegje of bewurkje -pdfjs-editor-stamp-button-label = Ofbyldingen tafoegje of bewurkje -pdfjs-editor-highlight-button = - .title = Markearje -pdfjs-editor-highlight-button-label = Markearje -pdfjs-highlight-floating-button = - .title = Markearje -pdfjs-highlight-floating-button1 = - .title = Markearje - .aria-label = Markearje -pdfjs-highlight-floating-button-label = Markearje - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Tekening fuortsmite -pdfjs-editor-remove-freetext-button = - .title = Tekst fuortsmite -pdfjs-editor-remove-stamp-button = - .title = Ofbylding fuortsmite -pdfjs-editor-remove-highlight-button = - .title = Markearring fuortsmite - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Kleur -pdfjs-editor-free-text-size-input = Grutte -pdfjs-editor-ink-color-input = Kleur -pdfjs-editor-ink-thickness-input = Tsjokte -pdfjs-editor-ink-opacity-input = Transparânsje -pdfjs-editor-stamp-add-image-button = - .title = Ofbylding tafoegje -pdfjs-editor-stamp-add-image-button-label = Ofbylding tafoegje -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tsjokte -pdfjs-editor-free-highlight-thickness-title = - .title = Tsjokte wizigje by aksintuearring fan oare items as tekst -pdfjs-free-text = - .aria-label = Tekstbewurker -pdfjs-free-text-default-content = Begjin mei typen… -pdfjs-ink = - .aria-label = Tekeningbewurker -pdfjs-ink-canvas = - .aria-label = Troch brûker makke ôfbylding - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternative tekst -pdfjs-editor-alt-text-edit-button-label = Alternative tekst bewurkje -pdfjs-editor-alt-text-dialog-label = Kies in opsje -pdfjs-editor-alt-text-dialog-description = Alternative tekst helpt wannear’t minsken de ôfbylding net sjen kinne of wannear’t dizze net laden wurdt. -pdfjs-editor-alt-text-add-description-label = Foegje in beskriuwing ta -pdfjs-editor-alt-text-add-description-description = Stribje nei 1-2 sinnen dy’t it ûnderwerp, de omjouwing of de aksjes beskriuwe. -pdfjs-editor-alt-text-mark-decorative-label = As dekoratyf markearje -pdfjs-editor-alt-text-mark-decorative-description = Dit wurdt brûkt foar sierlike ôfbyldingen, lykas rânen of wettermerken. -pdfjs-editor-alt-text-cancel-button = Annulearje -pdfjs-editor-alt-text-save-button = Bewarje -pdfjs-editor-alt-text-decorative-tooltip = As dekoratyf markearre -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Bygelyks, ‘In jonge man sit oan in tafel om te iten’ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Linkerboppehoek – formaat wizigje -pdfjs-editor-resizer-label-top-middle = Midden boppe – formaat wizigje -pdfjs-editor-resizer-label-top-right = Rjochterboppehoek – formaat wizigje -pdfjs-editor-resizer-label-middle-right = Midden rjochts – formaat wizigje -pdfjs-editor-resizer-label-bottom-right = Rjochterûnderhoek – formaat wizigje -pdfjs-editor-resizer-label-bottom-middle = Midden ûnder – formaat wizigje -pdfjs-editor-resizer-label-bottom-left = Linkerûnderhoek – formaat wizigje -pdfjs-editor-resizer-label-middle-left = Links midden – formaat wizigje - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Markearringskleur -pdfjs-editor-colorpicker-button = - .title = Kleur wizigje -pdfjs-editor-colorpicker-dropdown = - .aria-label = Kleurkarren -pdfjs-editor-colorpicker-yellow = - .title = Giel -pdfjs-editor-colorpicker-green = - .title = Grien -pdfjs-editor-colorpicker-blue = - .title = Blau -pdfjs-editor-colorpicker-pink = - .title = Roze -pdfjs-editor-colorpicker-red = - .title = Read - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Alles toane -pdfjs-editor-highlight-show-all-button = - .title = Alles toane diff --git a/media/js/pdf4/web/locale/ga-IE/viewer.ftl b/media/js/pdf4/web/locale/ga-IE/viewer.ftl deleted file mode 100644 index cb5930890c..0000000000 --- a/media/js/pdf4/web/locale/ga-IE/viewer.ftl +++ /dev/null @@ -1,213 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = An Leathanach Roimhe Seo -pdfjs-previous-button-label = Roimhe Seo -pdfjs-next-button = - .title = An Chéad Leathanach Eile -pdfjs-next-button-label = Ar Aghaidh -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Leathanach -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = as { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } as { $pagesCount }) -pdfjs-zoom-out-button = - .title = Súmáil Amach -pdfjs-zoom-out-button-label = Súmáil Amach -pdfjs-zoom-in-button = - .title = Súmáil Isteach -pdfjs-zoom-in-button-label = Súmáil Isteach -pdfjs-zoom-select = - .title = Súmáil -pdfjs-presentation-mode-button = - .title = Úsáid an Mód Láithreoireachta -pdfjs-presentation-mode-button-label = Mód Láithreoireachta -pdfjs-open-file-button = - .title = Oscail Comhad -pdfjs-open-file-button-label = Oscail -pdfjs-print-button = - .title = Priontáil -pdfjs-print-button-label = Priontáil - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Uirlisí -pdfjs-tools-button-label = Uirlisí -pdfjs-first-page-button = - .title = Go dtí an chéad leathanach -pdfjs-first-page-button-label = Go dtí an chéad leathanach -pdfjs-last-page-button = - .title = Go dtí an leathanach deiridh -pdfjs-last-page-button-label = Go dtí an leathanach deiridh -pdfjs-page-rotate-cw-button = - .title = Rothlaigh ar deiseal -pdfjs-page-rotate-cw-button-label = Rothlaigh ar deiseal -pdfjs-page-rotate-ccw-button = - .title = Rothlaigh ar tuathal -pdfjs-page-rotate-ccw-button-label = Rothlaigh ar tuathal -pdfjs-cursor-text-select-tool-button = - .title = Cumasaigh an Uirlis Roghnaithe Téacs -pdfjs-cursor-text-select-tool-button-label = Uirlis Roghnaithe Téacs -pdfjs-cursor-hand-tool-button = - .title = Cumasaigh an Uirlis Láimhe -pdfjs-cursor-hand-tool-button-label = Uirlis Láimhe - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Airíonna na Cáipéise… -pdfjs-document-properties-button-label = Airíonna na Cáipéise… -pdfjs-document-properties-file-name = Ainm an chomhaid: -pdfjs-document-properties-file-size = Méid an chomhaid: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } beart) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } beart) -pdfjs-document-properties-title = Teideal: -pdfjs-document-properties-author = Údar: -pdfjs-document-properties-subject = Ábhar: -pdfjs-document-properties-keywords = Eochairfhocail: -pdfjs-document-properties-creation-date = Dáta Cruthaithe: -pdfjs-document-properties-modification-date = Dáta Athraithe: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Cruthaitheoir: -pdfjs-document-properties-producer = Cruthaitheoir an PDF: -pdfjs-document-properties-version = Leagan PDF: -pdfjs-document-properties-page-count = Líon Leathanach: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = Dún - -## Print - -pdfjs-print-progress-message = Cáipéis á hullmhú le priontáil… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cealaigh -pdfjs-printing-not-supported = Rabhadh: Ní thacaíonn an brabhsálaí le priontáil go hiomlán. -pdfjs-printing-not-ready = Rabhadh: Ní féidir an PDF a phriontáil go dtí go mbeidh an cháipéis iomlán lódáilte. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Scoránaigh an Barra Taoibh -pdfjs-toggle-sidebar-button-label = Scoránaigh an Barra Taoibh -pdfjs-document-outline-button = - .title = Taispeáin Imlíne na Cáipéise (déchliceáil chun chuile rud a leathnú nó a laghdú) -pdfjs-document-outline-button-label = Creatlach na Cáipéise -pdfjs-attachments-button = - .title = Taispeáin Iatáin -pdfjs-attachments-button-label = Iatáin -pdfjs-thumbs-button = - .title = Taispeáin Mionsamhlacha -pdfjs-thumbs-button-label = Mionsamhlacha -pdfjs-findbar-button = - .title = Aimsigh sa Cháipéis -pdfjs-findbar-button-label = Aimsigh - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Leathanach { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Mionsamhail Leathanaigh { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Aimsigh - .placeholder = Aimsigh sa cháipéis… -pdfjs-find-previous-button = - .title = Aimsigh an sampla roimhe seo den nath seo -pdfjs-find-previous-button-label = Roimhe seo -pdfjs-find-next-button = - .title = Aimsigh an chéad sampla eile den nath sin -pdfjs-find-next-button-label = Ar aghaidh -pdfjs-find-highlight-checkbox = Aibhsigh uile -pdfjs-find-match-case-checkbox-label = Cásíogair -pdfjs-find-entire-word-checkbox-label = Focail iomlána -pdfjs-find-reached-top = Ag barr na cáipéise, ag leanúint ón mbun -pdfjs-find-reached-bottom = Ag bun na cáipéise, ag leanúint ón mbarr -pdfjs-find-not-found = Frása gan aimsiú - -## Predefined zoom values - -pdfjs-page-scale-width = Leithead Leathanaigh -pdfjs-page-scale-fit = Laghdaigh go dtí an Leathanach -pdfjs-page-scale-auto = Súmáil Uathoibríoch -pdfjs-page-scale-actual = Fíormhéid -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Tharla earráid agus an cháipéis PDF á lódáil. -pdfjs-invalid-file-error = Comhad neamhbhailí nó truaillithe PDF. -pdfjs-missing-file-error = Comhad PDF ar iarraidh. -pdfjs-unexpected-response-error = Freagra ón bhfreastalaí nach rabhthas ag súil leis. -pdfjs-rendering-error = Tharla earráid agus an leathanach á leagan amach. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anótáil { $type }] - -## Password - -pdfjs-password-label = Cuir an focal faire isteach chun an comhad PDF seo a oscailt. -pdfjs-password-invalid = Focal faire mícheart. Déan iarracht eile. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cealaigh -pdfjs-web-fonts-disabled = Tá clófhoirne Gréasáin díchumasaithe: ní féidir clófhoirne leabaithe PDF a úsáid. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/gd/viewer.ftl b/media/js/pdf4/web/locale/gd/viewer.ftl deleted file mode 100644 index cc67391a16..0000000000 --- a/media/js/pdf4/web/locale/gd/viewer.ftl +++ /dev/null @@ -1,299 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = An duilleag roimhe -pdfjs-previous-button-label = Air ais -pdfjs-next-button = - .title = An ath-dhuilleag -pdfjs-next-button-label = Air adhart -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Duilleag -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = à { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } à { $pagesCount }) -pdfjs-zoom-out-button = - .title = Sùm a-mach -pdfjs-zoom-out-button-label = Sùm a-mach -pdfjs-zoom-in-button = - .title = Sùm a-steach -pdfjs-zoom-in-button-label = Sùm a-steach -pdfjs-zoom-select = - .title = Sùm -pdfjs-presentation-mode-button = - .title = Gearr leum dhan mhodh taisbeanaidh -pdfjs-presentation-mode-button-label = Am modh taisbeanaidh -pdfjs-open-file-button = - .title = Fosgail faidhle -pdfjs-open-file-button-label = Fosgail -pdfjs-print-button = - .title = Clò-bhuail -pdfjs-print-button-label = Clò-bhuail -pdfjs-save-button = - .title = Sàbhail -pdfjs-save-button-label = Sàbhail -pdfjs-bookmark-button = - .title = An duilleag làithreach (Seall an URL on duilleag làithreach) -pdfjs-bookmark-button-label = An duilleag làithreach -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Fosgail san aplacaid -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Fosgail san aplacaid - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Innealan -pdfjs-tools-button-label = Innealan -pdfjs-first-page-button = - .title = Rach gun chiad duilleag -pdfjs-first-page-button-label = Rach gun chiad duilleag -pdfjs-last-page-button = - .title = Rach gun duilleag mu dheireadh -pdfjs-last-page-button-label = Rach gun duilleag mu dheireadh -pdfjs-page-rotate-cw-button = - .title = Cuairtich gu deiseil -pdfjs-page-rotate-cw-button-label = Cuairtich gu deiseil -pdfjs-page-rotate-ccw-button = - .title = Cuairtich gu tuathail -pdfjs-page-rotate-ccw-button-label = Cuairtich gu tuathail -pdfjs-cursor-text-select-tool-button = - .title = Cuir an comas inneal taghadh an teacsa -pdfjs-cursor-text-select-tool-button-label = Inneal taghadh an teacsa -pdfjs-cursor-hand-tool-button = - .title = Cuir inneal na làimhe an comas -pdfjs-cursor-hand-tool-button-label = Inneal na làimhe -pdfjs-scroll-page-button = - .title = Cleachd sgroladh duilleige -pdfjs-scroll-page-button-label = Sgroladh duilleige -pdfjs-scroll-vertical-button = - .title = Cleachd sgroladh inghearach -pdfjs-scroll-vertical-button-label = Sgroladh inghearach -pdfjs-scroll-horizontal-button = - .title = Cleachd sgroladh còmhnard -pdfjs-scroll-horizontal-button-label = Sgroladh còmhnard -pdfjs-scroll-wrapped-button = - .title = Cleachd sgroladh paisgte -pdfjs-scroll-wrapped-button-label = Sgroladh paisgte -pdfjs-spread-none-button = - .title = Na cuir còmhla sgoileadh dhuilleagan -pdfjs-spread-none-button-label = Gun sgaoileadh dhuilleagan -pdfjs-spread-odd-button = - .title = Cuir còmhla duilleagan sgaoilte a thòisicheas le duilleagan aig a bheil àireamh chorr -pdfjs-spread-odd-button-label = Sgaoileadh dhuilleagan corra -pdfjs-spread-even-button = - .title = Cuir còmhla duilleagan sgaoilte a thòisicheas le duilleagan aig a bheil àireamh chothrom -pdfjs-spread-even-button-label = Sgaoileadh dhuilleagan cothrom - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Roghainnean na sgrìobhainne… -pdfjs-document-properties-button-label = Roghainnean na sgrìobhainne… -pdfjs-document-properties-file-name = Ainm an fhaidhle: -pdfjs-document-properties-file-size = Meud an fhaidhle: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Tiotal: -pdfjs-document-properties-author = Ùghdar: -pdfjs-document-properties-subject = Cuspair: -pdfjs-document-properties-keywords = Faclan-luirg: -pdfjs-document-properties-creation-date = Latha a chruthachaidh: -pdfjs-document-properties-modification-date = Latha atharrachaidh: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Cruthadair: -pdfjs-document-properties-producer = Saothraiche a' PDF: -pdfjs-document-properties-version = Tionndadh a' PDF: -pdfjs-document-properties-page-count = Àireamh de dhuilleagan: -pdfjs-document-properties-page-size = Meud na duilleige: -pdfjs-document-properties-page-size-unit-inches = ann an -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portraid -pdfjs-document-properties-page-size-orientation-landscape = dreach-tìre -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Litir -pdfjs-document-properties-page-size-name-legal = Laghail - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Grad shealladh-lìn: -pdfjs-document-properties-linearized-yes = Tha -pdfjs-document-properties-linearized-no = Chan eil -pdfjs-document-properties-close-button = Dùin - -## Print - -pdfjs-print-progress-message = Ag ullachadh na sgrìobhainn airson clò-bhualadh… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Sguir dheth -pdfjs-printing-not-supported = Rabhadh: Chan eil am brabhsair seo a' cur làn-taic ri clò-bhualadh. -pdfjs-printing-not-ready = Rabhadh: Cha deach am PDF a luchdadh gu tur airson clò-bhualadh. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toglaich am bàr-taoibh -pdfjs-toggle-sidebar-notification-button = - .title = Toglaich am bàr-taoibh (tha oir-loidhne/ceanglachain/breathan aig an sgrìobhainn) -pdfjs-toggle-sidebar-button-label = Toglaich am bàr-taoibh -pdfjs-document-outline-button = - .title = Seall oir-loidhne na sgrìobhainn (dèan briogadh dùbailte airson a h-uile nì a leudachadh/a cho-theannadh) -pdfjs-document-outline-button-label = Oir-loidhne na sgrìobhainne -pdfjs-attachments-button = - .title = Seall na ceanglachain -pdfjs-attachments-button-label = Ceanglachain -pdfjs-layers-button = - .title = Seall na breathan (dèan briogadh dùbailte airson a h-uile breath ath-shuidheachadh dhan staid bhunaiteach) -pdfjs-layers-button-label = Breathan -pdfjs-thumbs-button = - .title = Seall na dealbhagan -pdfjs-thumbs-button-label = Dealbhagan -pdfjs-current-outline-item-button = - .title = Lorg nì làithreach na h-oir-loidhne -pdfjs-current-outline-item-button-label = Nì làithreach na h-oir-loidhne -pdfjs-findbar-button = - .title = Lorg san sgrìobhainn -pdfjs-findbar-button-label = Lorg -pdfjs-additional-layers = Barrachd breathan - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Duilleag a { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Dealbhag duilleag a { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Lorg - .placeholder = Lorg san sgrìobhainn... -pdfjs-find-previous-button = - .title = Lorg làthair roimhe na h-abairt seo -pdfjs-find-previous-button-label = Air ais -pdfjs-find-next-button = - .title = Lorg ath-làthair na h-abairt seo -pdfjs-find-next-button-label = Air adhart -pdfjs-find-highlight-checkbox = Soillsich a h-uile -pdfjs-find-match-case-checkbox-label = Aire do litrichean mòra is beaga -pdfjs-find-match-diacritics-checkbox-label = Aire do stràcan -pdfjs-find-entire-word-checkbox-label = Faclan-slàna -pdfjs-find-reached-top = Ràinig sinn barr na duilleige, a' leantainn air adhart o bhonn na duilleige -pdfjs-find-reached-bottom = Ràinig sinn bonn na duilleige, a' leantainn air adhart o bharr na duilleige -pdfjs-find-not-found = Cha deach an abairt a lorg - -## Predefined zoom values - -pdfjs-page-scale-width = Leud na duilleige -pdfjs-page-scale-fit = Freagair ri meud na duilleige -pdfjs-page-scale-auto = Sùm fèin-obrachail -pdfjs-page-scale-actual = Am fìor-mheud -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Duilleag { $page } - -## Loading indicator messages - -pdfjs-loading-error = Thachair mearachd rè luchdadh a' PDF. -pdfjs-invalid-file-error = Faidhle PDF a tha mì-dhligheach no coirbte. -pdfjs-missing-file-error = Faidhle PDF a tha a dhìth. -pdfjs-unexpected-response-error = Freagairt on fhrithealaiche ris nach robh dùil. -pdfjs-rendering-error = Thachair mearachd rè reandaradh na duilleige. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Nòtachadh { $type }] - -## Password - -pdfjs-password-label = Cuir a-steach am facal-faire gus am faidhle PDF seo fhosgladh. -pdfjs-password-invalid = Tha am facal-faire cearr. Nach fheuch thu ris a-rithist? -pdfjs-password-ok-button = Ceart ma-thà -pdfjs-password-cancel-button = Sguir dheth -pdfjs-web-fonts-disabled = Tha cruthan-clò lìn à comas: Chan urrainn dhuinn cruthan-clò PDF leabaichte a chleachdadh. - -## Editing - -pdfjs-editor-free-text-button = - .title = Teacsa -pdfjs-editor-free-text-button-label = Teacsa -pdfjs-editor-ink-button = - .title = Tarraing -pdfjs-editor-ink-button-label = Tarraing -# Editor Parameters -pdfjs-editor-free-text-color-input = Dath -pdfjs-editor-free-text-size-input = Meud -pdfjs-editor-ink-color-input = Dath -pdfjs-editor-ink-thickness-input = Tighead -pdfjs-editor-ink-opacity-input = Trìd-dhoilleireachd -pdfjs-free-text = - .aria-label = An deasaiche teacsa -pdfjs-free-text-default-content = Tòisich air sgrìobhadh… -pdfjs-ink = - .aria-label = An deasaiche tharraingean -pdfjs-ink-canvas = - .aria-label = Dealbh a chruthaich cleachdaiche - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/gl/viewer.ftl b/media/js/pdf4/web/locale/gl/viewer.ftl deleted file mode 100644 index a08fb1a3aa..0000000000 --- a/media/js/pdf4/web/locale/gl/viewer.ftl +++ /dev/null @@ -1,364 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Páxina anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Seguinte páxina -pdfjs-next-button-label = Seguinte -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Páxina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Reducir -pdfjs-zoom-out-button-label = Reducir -pdfjs-zoom-in-button = - .title = Ampliar -pdfjs-zoom-in-button-label = Ampliar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Cambiar ao modo presentación -pdfjs-presentation-mode-button-label = Modo presentación -pdfjs-open-file-button = - .title = Abrir ficheiro -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Gardar -pdfjs-save-button-label = Gardar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Descargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Descargar -pdfjs-bookmark-button = - .title = Páxina actual (ver o URL da páxina actual) -pdfjs-bookmark-button-label = Páxina actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir cunha aplicación -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir cunha aplicación - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ferramentas -pdfjs-tools-button-label = Ferramentas -pdfjs-first-page-button = - .title = Ir á primeira páxina -pdfjs-first-page-button-label = Ir á primeira páxina -pdfjs-last-page-button = - .title = Ir á última páxina -pdfjs-last-page-button-label = Ir á última páxina -pdfjs-page-rotate-cw-button = - .title = Rotar no sentido das agullas do reloxo -pdfjs-page-rotate-cw-button-label = Rotar no sentido das agullas do reloxo -pdfjs-page-rotate-ccw-button = - .title = Rotar no sentido contrario ás agullas do reloxo -pdfjs-page-rotate-ccw-button-label = Rotar no sentido contrario ás agullas do reloxo -pdfjs-cursor-text-select-tool-button = - .title = Activar a ferramenta de selección de texto -pdfjs-cursor-text-select-tool-button-label = Ferramenta de selección de texto -pdfjs-cursor-hand-tool-button = - .title = Activar a ferramenta de man -pdfjs-cursor-hand-tool-button-label = Ferramenta de man -pdfjs-scroll-page-button = - .title = Usar o desprazamento da páxina -pdfjs-scroll-page-button-label = Desprazamento da páxina -pdfjs-scroll-vertical-button = - .title = Usar o desprazamento vertical -pdfjs-scroll-vertical-button-label = Desprazamento vertical -pdfjs-scroll-horizontal-button = - .title = Usar o desprazamento horizontal -pdfjs-scroll-horizontal-button-label = Desprazamento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar o desprazamento en bloque -pdfjs-scroll-wrapped-button-label = Desprazamento por bloque -pdfjs-spread-none-button = - .title = Non agrupar páxinas -pdfjs-spread-none-button-label = Ningún agrupamento -pdfjs-spread-odd-button = - .title = Crea grupo de páxinas que comezan con números de páxina impares -pdfjs-spread-odd-button-label = Agrupamento impar -pdfjs-spread-even-button = - .title = Crea grupo de páxinas que comezan con números de páxina pares -pdfjs-spread-even-button-label = Agrupamento par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades do documento… -pdfjs-document-properties-button-label = Propiedades do documento… -pdfjs-document-properties-file-name = Nome do ficheiro: -pdfjs-document-properties-file-size = Tamaño do ficheiro: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Asunto: -pdfjs-document-properties-keywords = Palabras clave: -pdfjs-document-properties-creation-date = Data de creación: -pdfjs-document-properties-modification-date = Data de modificación: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creado por: -pdfjs-document-properties-producer = Xenerador do PDF: -pdfjs-document-properties-version = Versión de PDF: -pdfjs-document-properties-page-count = Número de páxinas: -pdfjs-document-properties-page-size = Tamaño da páxina: -pdfjs-document-properties-page-size-unit-inches = pol -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Visualización rápida das páxinas web: -pdfjs-document-properties-linearized-yes = Si -pdfjs-document-properties-linearized-no = Non -pdfjs-document-properties-close-button = Pechar - -## Print - -pdfjs-print-progress-message = Preparando o documento para imprimir… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Aviso: A impresión non é compatíbel de todo con este navegador. -pdfjs-printing-not-ready = Aviso: O PDF non se cargou completamente para imprimirse. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Amosar/agochar a barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Alternar barra lateral (o documento contén esquema/anexos/capas) -pdfjs-toggle-sidebar-button-label = Amosar/agochar a barra lateral -pdfjs-document-outline-button = - .title = Amosar a estrutura do documento (dobre clic para expandir/contraer todos os elementos) -pdfjs-document-outline-button-label = Estrutura do documento -pdfjs-attachments-button = - .title = Amosar anexos -pdfjs-attachments-button-label = Anexos -pdfjs-layers-button = - .title = Mostrar capas (prema dúas veces para restaurar todas as capas o estado predeterminado) -pdfjs-layers-button-label = Capas -pdfjs-thumbs-button = - .title = Amosar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Atopar o elemento delimitado actualmente -pdfjs-current-outline-item-button-label = Elemento delimitado actualmente -pdfjs-findbar-button = - .title = Atopar no documento -pdfjs-findbar-button-label = Atopar -pdfjs-additional-layers = Capas adicionais - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Páxina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura da páxina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Atopar - .placeholder = Atopar no documento… -pdfjs-find-previous-button = - .title = Atopar a anterior aparición da frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Atopar a seguinte aparición da frase -pdfjs-find-next-button-label = Seguinte -pdfjs-find-highlight-checkbox = Realzar todo -pdfjs-find-match-case-checkbox-label = Diferenciar maiúsculas de minúsculas -pdfjs-find-match-diacritics-checkbox-label = Distinguir os diacríticos -pdfjs-find-entire-word-checkbox-label = Palabras completas -pdfjs-find-reached-top = Chegouse ao inicio do documento, continuar desde o final -pdfjs-find-reached-bottom = Chegouse ao final do documento, continuar desde o inicio -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] Coincidencia { $current } de { $total } - *[other] Coincidencia { $current } de { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Máis de { $limit } coincidencia - *[other] Máis de { $limit } coincidencias - } -pdfjs-find-not-found = Non se atopou a frase - -## Predefined zoom values - -pdfjs-page-scale-width = Largura da páxina -pdfjs-page-scale-fit = Axuste de páxina -pdfjs-page-scale-auto = Zoom automático -pdfjs-page-scale-actual = Tamaño actual -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Páxina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Produciuse un erro ao cargar o PDF. -pdfjs-invalid-file-error = Ficheiro PDF danado ou non válido. -pdfjs-missing-file-error = Falta o ficheiro PDF. -pdfjs-unexpected-response-error = Resposta inesperada do servidor. -pdfjs-rendering-error = Produciuse un erro ao representar a páxina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotación { $type }] - -## Password - -pdfjs-password-label = Escriba o contrasinal para abrir este ficheiro PDF. -pdfjs-password-invalid = Contrasinal incorrecto. Tente de novo. -pdfjs-password-ok-button = Aceptar -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Desactiváronse as fontes web: foi imposíbel usar as fontes incrustadas no PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Debuxo -pdfjs-editor-ink-button-label = Debuxo -pdfjs-editor-stamp-button = - .title = Engadir ou editar imaxes -pdfjs-editor-stamp-button-label = Engadir ou editar imaxes - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-freetext-button = - .title = Eliminar o texto -pdfjs-editor-remove-stamp-button = - .title = Eliminar a imaxe -pdfjs-editor-remove-highlight-button = - .title = Eliminar o resaltado - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Cor -pdfjs-editor-free-text-size-input = Tamaño -pdfjs-editor-ink-color-input = Cor -pdfjs-editor-ink-thickness-input = Grosor -pdfjs-editor-ink-opacity-input = Opacidade -pdfjs-editor-stamp-add-image-button = - .title = Engadir imaxe -pdfjs-editor-stamp-add-image-button-label = Engadir imaxe -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grosor -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Comezar a teclear… -pdfjs-ink = - .aria-label = Editor de debuxos -pdfjs-ink-canvas = - .aria-label = Imaxe creada por unha usuaria - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar o texto alternativo -pdfjs-editor-alt-text-dialog-label = Escoller unha opción -pdfjs-editor-alt-text-add-description-label = Engadir unha descrición -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativo -pdfjs-editor-alt-text-mark-decorative-description = Utilízase para imaxes ornamentais, como bordos ou marcas de auga. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Gardar -pdfjs-editor-alt-text-decorative-tooltip = Marcado como decorativo -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por exemplo, «Un mozo séntase á mesa para comer» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Esquina superior esquerda: cambia o tamaño -pdfjs-editor-resizer-label-top-middle = Medio superior: cambia o tamaño -pdfjs-editor-resizer-label-top-right = Esquina superior dereita: cambia o tamaño -pdfjs-editor-resizer-label-middle-right = Medio dereito: cambia o tamaño -pdfjs-editor-resizer-label-bottom-right = Esquina inferior dereita: cambia o tamaño -pdfjs-editor-resizer-label-bottom-middle = Abaixo medio: cambia o tamaño -pdfjs-editor-resizer-label-bottom-left = Esquina inferior esquerda: cambia o tamaño -pdfjs-editor-resizer-label-middle-left = Medio esquerdo: cambia o tamaño - -## Color picker - diff --git a/media/js/pdf4/web/locale/gn/viewer.ftl b/media/js/pdf4/web/locale/gn/viewer.ftl deleted file mode 100644 index 29ec18ae3f..0000000000 --- a/media/js/pdf4/web/locale/gn/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Kuatiarogue mboyvegua -pdfjs-previous-button-label = Mboyvegua -pdfjs-next-button = - .title = Kuatiarogue upeigua -pdfjs-next-button-label = Upeigua -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Kuatiarogue -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } gui -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Momichĩ -pdfjs-zoom-out-button-label = Momichĩ -pdfjs-zoom-in-button = - .title = Mbotuicha -pdfjs-zoom-in-button-label = Mbotuicha -pdfjs-zoom-select = - .title = Tuichakue -pdfjs-presentation-mode-button = - .title = Jehechauka reko moambue -pdfjs-presentation-mode-button-label = Jehechauka reko -pdfjs-open-file-button = - .title = Marandurendápe jeike -pdfjs-open-file-button-label = Jeike -pdfjs-print-button = - .title = Monguatia -pdfjs-print-button-label = Monguatia -pdfjs-save-button = - .title = Ñongatu -pdfjs-save-button-label = Ñongatu -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Mboguejy -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Mboguejy -pdfjs-bookmark-button = - .title = Kuatiarogue ag̃agua (Ehecha URL kuatiarogue ag̃agua) -pdfjs-bookmark-button-label = Kuatiarogue Ag̃agua -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Embojuruja tembiporu’ípe -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Embojuruja tembiporu’ípe - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tembiporu -pdfjs-tools-button-label = Tembiporu -pdfjs-first-page-button = - .title = Kuatiarogue ñepyrũme jeho -pdfjs-first-page-button-label = Kuatiarogue ñepyrũme jeho -pdfjs-last-page-button = - .title = Kuatiarogue pahápe jeho -pdfjs-last-page-button-label = Kuatiarogue pahápe jeho -pdfjs-page-rotate-cw-button = - .title = Aravóicha mbojere -pdfjs-page-rotate-cw-button-label = Aravóicha mbojere -pdfjs-page-rotate-ccw-button = - .title = Aravo rapykue gotyo mbojere -pdfjs-page-rotate-ccw-button-label = Aravo rapykue gotyo mbojere -pdfjs-cursor-text-select-tool-button = - .title = Emyandy moñe’ẽrã jeporavo rembiporu -pdfjs-cursor-text-select-tool-button-label = Moñe’ẽrã jeporavo rembiporu -pdfjs-cursor-hand-tool-button = - .title = Tembiporu po pegua myandy -pdfjs-cursor-hand-tool-button-label = Tembiporu po pegua -pdfjs-scroll-page-button = - .title = Eiporu kuatiarogue jeku’e -pdfjs-scroll-page-button-label = Kuatiarogue jeku’e -pdfjs-scroll-vertical-button = - .title = Eiporu jeku’e ykeguáva -pdfjs-scroll-vertical-button-label = Jeku’e ykeguáva -pdfjs-scroll-horizontal-button = - .title = Eiporu jeku’e yvate gotyo -pdfjs-scroll-horizontal-button-label = Jeku’e yvate gotyo -pdfjs-scroll-wrapped-button = - .title = Eiporu jeku’e mbohyrupyre -pdfjs-scroll-wrapped-button-label = Jeku’e mbohyrupyre -pdfjs-spread-none-button = - .title = Ani ejuaju spreads kuatiarogue ndive -pdfjs-spread-none-button-label = Spreads ỹre -pdfjs-spread-odd-button = - .title = Embojuaju kuatiarogue jepysokue eñepyrũvo kuatiarogue impar-vagui -pdfjs-spread-odd-button-label = Spreads impar -pdfjs-spread-even-button = - .title = Embojuaju kuatiarogue jepysokue eñepyrũvo kuatiarogue par-vagui -pdfjs-spread-even-button-label = Ipukuve uvei - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Kuatia mba’etee… -pdfjs-document-properties-button-label = Kuatia mba’etee… -pdfjs-document-properties-file-name = Marandurenda réra: -pdfjs-document-properties-file-size = Marandurenda tuichakue: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Teratee: -pdfjs-document-properties-author = Apohára: -pdfjs-document-properties-subject = Mba’egua: -pdfjs-document-properties-keywords = Jehero: -pdfjs-document-properties-creation-date = Teñoihague arange: -pdfjs-document-properties-modification-date = Iñambue hague arange: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Apo’ypyha: -pdfjs-document-properties-producer = PDF mbosako’iha: -pdfjs-document-properties-version = PDF mbojuehegua: -pdfjs-document-properties-page-count = Kuatiarogue papapy: -pdfjs-document-properties-page-size = Kuatiarogue tuichakue: -pdfjs-document-properties-page-size-unit-inches = Amo -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = Oĩháicha -pdfjs-document-properties-page-size-orientation-landscape = apaisado -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Kuatiañe’ẽ -pdfjs-document-properties-page-size-name-legal = Tee - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Ñanduti jahecha pya’e: -pdfjs-document-properties-linearized-yes = Añete -pdfjs-document-properties-linearized-no = Ahániri -pdfjs-document-properties-close-button = Mboty - -## Print - -pdfjs-print-progress-message = Embosako’i kuatia emonguatia hag̃ua… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Heja -pdfjs-printing-not-supported = Kyhyjerã: Ñembokuatia ndojokupytypái ko kundahára ndive. -pdfjs-printing-not-ready = Kyhyjerã: Ko PDF nahenyhẽmbái oñembokuatia hag̃uáicha. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Tenda yke moambue -pdfjs-toggle-sidebar-notification-button = - .title = Embojopyru tenda ykegua (kuatia oguereko kuaakaha/moirũha/ñuãha) -pdfjs-toggle-sidebar-button-label = Tenda yke moambue -pdfjs-document-outline-button = - .title = Ehechauka kuatia rape (eikutu mokõi jey embotuicha/emomichĩ hag̃ua opavavete mba’eporu) -pdfjs-document-outline-button-label = Kuatia apopyre -pdfjs-attachments-button = - .title = Moirũha jehechauka -pdfjs-attachments-button-label = Moirũha -pdfjs-layers-button = - .title = Ehechauka ñuãha (eikutu jo’a emomba’apo hag̃ua opaite ñuãha tekoypýpe) -pdfjs-layers-button-label = Ñuãha -pdfjs-thumbs-button = - .title = Mba’emirĩ jehechauka -pdfjs-thumbs-button-label = Mba’emirĩ -pdfjs-current-outline-item-button = - .title = Eheka mba’eporu ag̃aguaitéva -pdfjs-current-outline-item-button-label = Mba’eporu ag̃aguaitéva -pdfjs-findbar-button = - .title = Kuatiápe jeheka -pdfjs-findbar-button-label = Juhu -pdfjs-additional-layers = Ñuãha moirũguáva - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Kuatiarogue { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Kuatiarogue mba’emirĩ { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Juhu - .placeholder = Kuatiápe jejuhu… -pdfjs-find-previous-button = - .title = Ejuhu ñe’ẽrysýi osẽ’ypy hague -pdfjs-find-previous-button-label = Mboyvegua -pdfjs-find-next-button = - .title = Eho ñe’ẽ juhupyre upeiguávape -pdfjs-find-next-button-label = Upeigua -pdfjs-find-highlight-checkbox = Embojekuaavepa -pdfjs-find-match-case-checkbox-label = Ejesareko taiguasu/taimichĩre -pdfjs-find-match-diacritics-checkbox-label = Diacrítico moñondive -pdfjs-find-entire-word-checkbox-label = Ñe’ẽ oĩmbáva -pdfjs-find-reached-top = Ojehupyty kuatia ñepyrũ, oku’ejeýta kuatia paha guive -pdfjs-find-reached-bottom = Ojehupyty kuatia paha, oku’ejeýta kuatia ñepyrũ guive -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } ha { $total } ojueheguáva - *[other] { $current } ha { $total } ojueheguáva - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Hetave { $limit } ojueheguáva - *[other] Hetave { $limit } ojueheguáva - } -pdfjs-find-not-found = Ñe’ẽrysýi ojejuhu’ỹva - -## Predefined zoom values - -pdfjs-page-scale-width = Kuatiarogue pekue -pdfjs-page-scale-fit = Kuatiarogue ñemoĩporã -pdfjs-page-scale-auto = Tuichakue ijeheguíva -pdfjs-page-scale-actual = Tuichakue ag̃agua -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Kuatiarogue { $page } - -## Loading indicator messages - -pdfjs-loading-error = Oiko jejavy PDF oñemyeñyhẽnguévo. -pdfjs-invalid-file-error = PDF marandurenda ndoikóiva térã ivaipyréva. -pdfjs-missing-file-error = Ndaipóri PDF marandurenda -pdfjs-unexpected-response-error = Mohendahavusu mbohovái eha’ãrõ’ỹva. -pdfjs-rendering-error = Oiko jejavy ehechaukasévo kuatiarogue. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Jehaipy { $type }] - -## Password - -pdfjs-password-label = Emoinge ñe’ẽñemi eipe’a hag̃ua ko marandurenda PDF. -pdfjs-password-invalid = Ñe’ẽñemi ndoikóiva. Eha’ã jey. -pdfjs-password-ok-button = MONEĨ -pdfjs-password-cancel-button = Heja -pdfjs-web-fonts-disabled = Ñanduti taity oñemongéma: ndaikatumo’ãi eiporu PDF jehai’íva taity. - -## Editing - -pdfjs-editor-free-text-button = - .title = Moñe’ẽrã -pdfjs-editor-free-text-button-label = Moñe’ẽrã -pdfjs-editor-ink-button = - .title = Moha’ãnga -pdfjs-editor-ink-button-label = Moha’ãnga -pdfjs-editor-stamp-button = - .title = Embojuaju térã embosako’i ta’ãnga -pdfjs-editor-stamp-button-label = Embojuaju térã embosako’i ta’ãnga -pdfjs-editor-highlight-button = - .title = Mbosa’y -pdfjs-editor-highlight-button-label = Mbosa’y -pdfjs-highlight-floating-button = - .title = Mbosa’y -pdfjs-highlight-floating-button1 = - .title = Mbosa’y - .aria-label = Mbosa’y -pdfjs-highlight-floating-button-label = Mbosa’y - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Emboguete ta’ãnga -pdfjs-editor-remove-freetext-button = - .title = Emboguete moñe’ẽrã -pdfjs-editor-remove-stamp-button = - .title = Emboguete ta’ãnga -pdfjs-editor-remove-highlight-button = - .title = Eipe’a jehechaveha - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Sa’y -pdfjs-editor-free-text-size-input = Tuichakue -pdfjs-editor-ink-color-input = Sa’y -pdfjs-editor-ink-thickness-input = Anambusu -pdfjs-editor-ink-opacity-input = Pytũngy -pdfjs-editor-stamp-add-image-button = - .title = Embojuaju ta’ãnga -pdfjs-editor-stamp-add-image-button-label = Embojuaju ta’ãnga -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Anambusu -pdfjs-editor-free-highlight-thickness-title = - .title = Emoambue anambusukue embosa’ývo mba’eporu ha’e’ỹva moñe’ẽrã -pdfjs-free-text = - .aria-label = Moñe’ẽrã moheñoiha -pdfjs-free-text-default-content = Ehai ñepyrũ… -pdfjs-ink = - .aria-label = Ta’ãnga moheñoiha -pdfjs-ink-canvas = - .aria-label = Ta’ãnga omoheñóiva poruhára - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Moñe’ẽrã mokõiháva -pdfjs-editor-alt-text-edit-button-label = Embojuruja moñe’ẽrã mokõiháva -pdfjs-editor-alt-text-dialog-label = Eiporavo poravorã -pdfjs-editor-alt-text-dialog-description = Moñe’ẽrã ykepegua (moñe’ẽrã ykepegua) nepytyvõ nderehecháiramo ta’ãnga térã nahenyhẽiramo. -pdfjs-editor-alt-text-add-description-label = Embojuaju ñemoha’ãnga -pdfjs-editor-alt-text-add-description-description = Ehaimi 1 térã 2 ñe’ẽjuaju oñe’ẽva pe téma rehe, ijere térã mba’eapóre. -pdfjs-editor-alt-text-mark-decorative-label = Emongurusu jeguakárõ -pdfjs-editor-alt-text-mark-decorative-description = Ojeporu ta’ãnga jeguakarã, tembe’y térã ta’ãnga ruguarãramo. -pdfjs-editor-alt-text-cancel-button = Heja -pdfjs-editor-alt-text-save-button = Ñongatu -pdfjs-editor-alt-text-decorative-tooltip = Jeguakárõ mongurusupyre -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Techapyrã: “Peteĩ mitãrusu oguapy mesápe okaru hag̃ua” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Yvate asu gotyo — emoambue tuichakue -pdfjs-editor-resizer-label-top-middle = Yvate mbytépe — emoambue tuichakue -pdfjs-editor-resizer-label-top-right = Yvate akatúape — emoambue tuichakue -pdfjs-editor-resizer-label-middle-right = Mbyte akatúape — emoambue tuichakue -pdfjs-editor-resizer-label-bottom-right = Yvy gotyo akatúape — emoambue tuichakue -pdfjs-editor-resizer-label-bottom-middle = Yvy gotyo mbytépe — emoambue tuichakue -pdfjs-editor-resizer-label-bottom-left = Iguýpe asu gotyo — emoambue tuichakue -pdfjs-editor-resizer-label-middle-left = Mbyte asu gotyo — emoambue tuichakue - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Jehechaveha sa’y -pdfjs-editor-colorpicker-button = - .title = Emoambue sa’y -pdfjs-editor-colorpicker-dropdown = - .aria-label = Sa’y poravopyrã -pdfjs-editor-colorpicker-yellow = - .title = Sa’yju -pdfjs-editor-colorpicker-green = - .title = Hovyũ -pdfjs-editor-colorpicker-blue = - .title = Hovy -pdfjs-editor-colorpicker-pink = - .title = Pytãngy -pdfjs-editor-colorpicker-red = - .title = Pyha - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Techaukapa -pdfjs-editor-highlight-show-all-button = - .title = Techaukapa diff --git a/media/js/pdf4/web/locale/gu-IN/viewer.ftl b/media/js/pdf4/web/locale/gu-IN/viewer.ftl deleted file mode 100644 index 5d8bb549f3..0000000000 --- a/media/js/pdf4/web/locale/gu-IN/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = પહેલાનુ પાનું -pdfjs-previous-button-label = પહેલાનુ -pdfjs-next-button = - .title = આગળનુ પાનું -pdfjs-next-button-label = આગળનું -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = પાનું -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = નો { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } નો { $pagesCount }) -pdfjs-zoom-out-button = - .title = મોટુ કરો -pdfjs-zoom-out-button-label = મોટુ કરો -pdfjs-zoom-in-button = - .title = નાનું કરો -pdfjs-zoom-in-button-label = નાનું કરો -pdfjs-zoom-select = - .title = નાનું મોટુ કરો -pdfjs-presentation-mode-button = - .title = રજૂઆત સ્થિતિમાં જાવ -pdfjs-presentation-mode-button-label = રજૂઆત સ્થિતિ -pdfjs-open-file-button = - .title = ફાઇલ ખોલો -pdfjs-open-file-button-label = ખોલો -pdfjs-print-button = - .title = છાપો -pdfjs-print-button-label = છારો - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = સાધનો -pdfjs-tools-button-label = સાધનો -pdfjs-first-page-button = - .title = પહેલાં પાનામાં જાવ -pdfjs-first-page-button-label = પ્રથમ પાનાં પર જાવ -pdfjs-last-page-button = - .title = છેલ્લા પાનાં પર જાવ -pdfjs-last-page-button-label = છેલ્લા પાનાં પર જાવ -pdfjs-page-rotate-cw-button = - .title = ઘડિયાળનાં કાંટા તરફ ફેરવો -pdfjs-page-rotate-cw-button-label = ઘડિયાળનાં કાંટા તરફ ફેરવો -pdfjs-page-rotate-ccw-button = - .title = ઘડિયાળનાં કાંટાની ઉલટી દિશામાં ફેરવો -pdfjs-page-rotate-ccw-button-label = ઘડિયાળનાં કાંટાની વિરુદ્દ ફેરવો -pdfjs-cursor-text-select-tool-button = - .title = ટેક્સ્ટ પસંદગી ટૂલ સક્ષમ કરો -pdfjs-cursor-text-select-tool-button-label = ટેક્સ્ટ પસંદગી ટૂલ -pdfjs-cursor-hand-tool-button = - .title = હાથનાં સાધનને સક્રિય કરો -pdfjs-cursor-hand-tool-button-label = હેન્ડ ટૂલ -pdfjs-scroll-vertical-button = - .title = ઊભી સ્ક્રોલિંગનો ઉપયોગ કરો -pdfjs-scroll-vertical-button-label = ઊભી સ્ક્રોલિંગ -pdfjs-scroll-horizontal-button = - .title = આડી સ્ક્રોલિંગનો ઉપયોગ કરો -pdfjs-scroll-horizontal-button-label = આડી સ્ક્રોલિંગ -pdfjs-scroll-wrapped-button = - .title = આવરિત સ્ક્રોલિંગનો ઉપયોગ કરો -pdfjs-scroll-wrapped-button-label = આવરિત સ્ક્રોલિંગ -pdfjs-spread-none-button = - .title = પૃષ્ઠ સ્પ્રેડમાં જોડાવશો નહીં -pdfjs-spread-none-button-label = કોઈ સ્પ્રેડ નથી -pdfjs-spread-odd-button = - .title = એકી-ક્રમાંકિત પૃષ્ઠો સાથે પ્રારંભ થતાં પૃષ્ઠ સ્પ્રેડમાં જોડાઓ -pdfjs-spread-odd-button-label = એકી સ્પ્રેડ્સ -pdfjs-spread-even-button = - .title = નંબર-ક્રમાંકિત પૃષ્ઠોથી શરૂ થતાં પૃષ્ઠ સ્પ્રેડમાં જોડાઓ -pdfjs-spread-even-button-label = સરખું ફેલાવવું - -## Document properties dialog - -pdfjs-document-properties-button = - .title = દસ્તાવેજ ગુણધર્મો… -pdfjs-document-properties-button-label = દસ્તાવેજ ગુણધર્મો… -pdfjs-document-properties-file-name = ફાઇલ નામ: -pdfjs-document-properties-file-size = ફાઇલ માપ: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } બાઇટ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } બાઇટ) -pdfjs-document-properties-title = શીર્ષક: -pdfjs-document-properties-author = લેખક: -pdfjs-document-properties-subject = વિષય: -pdfjs-document-properties-keywords = કિવર્ડ: -pdfjs-document-properties-creation-date = નિર્માણ તારીખ: -pdfjs-document-properties-modification-date = ફેરફાર તારીખ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = નિર્માતા: -pdfjs-document-properties-producer = PDF નિર્માતા: -pdfjs-document-properties-version = PDF આવૃત્તિ: -pdfjs-document-properties-page-count = પાનાં ગણતરી: -pdfjs-document-properties-page-size = પૃષ્ઠનું કદ: -pdfjs-document-properties-page-size-unit-inches = ઇંચ -pdfjs-document-properties-page-size-unit-millimeters = મીમી -pdfjs-document-properties-page-size-orientation-portrait = ઉભું -pdfjs-document-properties-page-size-orientation-landscape = આડુ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = પત્ર -pdfjs-document-properties-page-size-name-legal = કાયદાકીય - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = ઝડપી વૅબ દૃશ્ય: -pdfjs-document-properties-linearized-yes = હા -pdfjs-document-properties-linearized-no = ના -pdfjs-document-properties-close-button = બંધ કરો - -## Print - -pdfjs-print-progress-message = છાપકામ માટે દસ્તાવેજ તૈયાર કરી રહ્યા છે… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = રદ કરો -pdfjs-printing-not-supported = ચેતવણી: છાપવાનું આ બ્રાઉઝર દ્દારા સંપૂર્ણપણે આધારભૂત નથી. -pdfjs-printing-not-ready = Warning: PDF એ છાપવા માટે સંપૂર્ણપણે લાવેલ છે. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ટૉગલ બાજુપટ્ટી -pdfjs-toggle-sidebar-button-label = ટૉગલ બાજુપટ્ટી -pdfjs-document-outline-button = - .title = દસ્તાવેજની રૂપરેખા બતાવો(બધી આઇટમ્સને વિસ્તૃત/સંકુચિત કરવા માટે ડબલ-ક્લિક કરો) -pdfjs-document-outline-button-label = દસ્તાવેજ રૂપરેખા -pdfjs-attachments-button = - .title = જોડાણોને બતાવો -pdfjs-attachments-button-label = જોડાણો -pdfjs-thumbs-button = - .title = થંબનેલ્સ બતાવો -pdfjs-thumbs-button-label = થંબનેલ્સ -pdfjs-findbar-button = - .title = દસ્તાવેજમાં શોધો -pdfjs-findbar-button-label = શોધો - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = પાનું { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = પાનાં { $page } નું થંબનેલ્સ - -## Find panel button title and messages - -pdfjs-find-input = - .title = શોધો - .placeholder = દસ્તાવેજમાં શોધો… -pdfjs-find-previous-button = - .title = શબ્દસમૂહની પાછલી ઘટનાને શોધો -pdfjs-find-previous-button-label = પહેલાંનુ -pdfjs-find-next-button = - .title = શબ્દસમૂહની આગળની ઘટનાને શોધો -pdfjs-find-next-button-label = આગળનું -pdfjs-find-highlight-checkbox = બધુ પ્રકાશિત કરો -pdfjs-find-match-case-checkbox-label = કેસ બંધબેસાડો -pdfjs-find-entire-word-checkbox-label = સંપૂર્ણ શબ્દો -pdfjs-find-reached-top = દસ્તાવેજનાં ટોચે પહોંચી ગયા, તળિયેથી ચાલુ કરેલ હતુ -pdfjs-find-reached-bottom = દસ્તાવેજનાં અંતે પહોંચી ગયા, ઉપરથી ચાલુ કરેલ હતુ -pdfjs-find-not-found = શબ્દસમૂહ મળ્યુ નથી - -## Predefined zoom values - -pdfjs-page-scale-width = પાનાની પહોળાઇ -pdfjs-page-scale-fit = પાનું બંધબેસતુ -pdfjs-page-scale-auto = આપમેળે નાનુંમોટુ કરો -pdfjs-page-scale-actual = ચોક્કસ માપ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = ભૂલ ઉદ્ભવી જ્યારે PDF ને લાવી રહ્યા હોય. -pdfjs-invalid-file-error = અયોગ્ય અથવા ભાંગેલ PDF ફાઇલ. -pdfjs-missing-file-error = ગુમ થયેલ PDF ફાઇલ. -pdfjs-unexpected-response-error = અનપેક્ષિત સર્વર પ્રતિસાદ. -pdfjs-rendering-error = ભૂલ ઉદ્ભવી જ્યારે પાનાંનુ રેન્ડ કરી રહ્યા હોય. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = આ PDF ફાઇલને ખોલવા પાસવર્ડને દાખલ કરો. -pdfjs-password-invalid = અયોગ્ય પાસવર્ડ. મહેરબાની કરીને ફરી પ્રયત્ન કરો. -pdfjs-password-ok-button = બરાબર -pdfjs-password-cancel-button = રદ કરો -pdfjs-web-fonts-disabled = વેબ ફોન્ટ નિષ્ક્રિય થયેલ છે: ઍમ્બેડ થયેલ PDF ફોન્ટને વાપરવાનું અસમર્થ. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/he/viewer.ftl b/media/js/pdf4/web/locale/he/viewer.ftl deleted file mode 100644 index 624d2083fc..0000000000 --- a/media/js/pdf4/web/locale/he/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = דף קודם -pdfjs-previous-button-label = קודם -pdfjs-next-button = - .title = דף הבא -pdfjs-next-button-label = הבא -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = דף -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = מתוך { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } מתוך { $pagesCount }) -pdfjs-zoom-out-button = - .title = התרחקות -pdfjs-zoom-out-button-label = התרחקות -pdfjs-zoom-in-button = - .title = התקרבות -pdfjs-zoom-in-button-label = התקרבות -pdfjs-zoom-select = - .title = מרחק מתצוגה -pdfjs-presentation-mode-button = - .title = מעבר למצב מצגת -pdfjs-presentation-mode-button-label = מצב מצגת -pdfjs-open-file-button = - .title = פתיחת קובץ -pdfjs-open-file-button-label = פתיחה -pdfjs-print-button = - .title = הדפסה -pdfjs-print-button-label = הדפסה -pdfjs-save-button = - .title = שמירה -pdfjs-save-button-label = שמירה -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = הורדה -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = הורדה -pdfjs-bookmark-button = - .title = עמוד נוכחי (הצגת כתובת האתר מהעמוד הנוכחי) -pdfjs-bookmark-button-label = עמוד נוכחי -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = פתיחה ביישום -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = פתיחה ביישום - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = כלים -pdfjs-tools-button-label = כלים -pdfjs-first-page-button = - .title = מעבר לעמוד הראשון -pdfjs-first-page-button-label = מעבר לעמוד הראשון -pdfjs-last-page-button = - .title = מעבר לעמוד האחרון -pdfjs-last-page-button-label = מעבר לעמוד האחרון -pdfjs-page-rotate-cw-button = - .title = הטיה עם כיוון השעון -pdfjs-page-rotate-cw-button-label = הטיה עם כיוון השעון -pdfjs-page-rotate-ccw-button = - .title = הטיה כנגד כיוון השעון -pdfjs-page-rotate-ccw-button-label = הטיה כנגד כיוון השעון -pdfjs-cursor-text-select-tool-button = - .title = הפעלת כלי בחירת טקסט -pdfjs-cursor-text-select-tool-button-label = כלי בחירת טקסט -pdfjs-cursor-hand-tool-button = - .title = הפעלת כלי היד -pdfjs-cursor-hand-tool-button-label = כלי יד -pdfjs-scroll-page-button = - .title = שימוש בגלילת עמוד -pdfjs-scroll-page-button-label = גלילת עמוד -pdfjs-scroll-vertical-button = - .title = שימוש בגלילה אנכית -pdfjs-scroll-vertical-button-label = גלילה אנכית -pdfjs-scroll-horizontal-button = - .title = שימוש בגלילה אופקית -pdfjs-scroll-horizontal-button-label = גלילה אופקית -pdfjs-scroll-wrapped-button = - .title = שימוש בגלילה רציפה -pdfjs-scroll-wrapped-button-label = גלילה רציפה -pdfjs-spread-none-button = - .title = לא לצרף מפתחי עמודים -pdfjs-spread-none-button-label = ללא מפתחים -pdfjs-spread-odd-button = - .title = צירוף מפתחי עמודים שמתחילים בדפים עם מספרים אי־זוגיים -pdfjs-spread-odd-button-label = מפתחים אי־זוגיים -pdfjs-spread-even-button = - .title = צירוף מפתחי עמודים שמתחילים בדפים עם מספרים זוגיים -pdfjs-spread-even-button-label = מפתחים זוגיים - -## Document properties dialog - -pdfjs-document-properties-button = - .title = מאפייני מסמך… -pdfjs-document-properties-button-label = מאפייני מסמך… -pdfjs-document-properties-file-name = שם קובץ: -pdfjs-document-properties-file-size = גודל הקובץ: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } ק״ב ({ $size_b } בתים) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } מ״ב ({ $size_b } בתים) -pdfjs-document-properties-title = כותרת: -pdfjs-document-properties-author = מחבר: -pdfjs-document-properties-subject = נושא: -pdfjs-document-properties-keywords = מילות מפתח: -pdfjs-document-properties-creation-date = תאריך יצירה: -pdfjs-document-properties-modification-date = תאריך שינוי: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = יוצר: -pdfjs-document-properties-producer = יצרן PDF: -pdfjs-document-properties-version = גרסת PDF: -pdfjs-document-properties-page-count = מספר דפים: -pdfjs-document-properties-page-size = גודל העמוד: -pdfjs-document-properties-page-size-unit-inches = אינ׳ -pdfjs-document-properties-page-size-unit-millimeters = מ״מ -pdfjs-document-properties-page-size-orientation-portrait = לאורך -pdfjs-document-properties-page-size-orientation-landscape = לרוחב -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = מכתב -pdfjs-document-properties-page-size-name-legal = דף משפטי - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = תצוגת דף מהירה: -pdfjs-document-properties-linearized-yes = כן -pdfjs-document-properties-linearized-no = לא -pdfjs-document-properties-close-button = סגירה - -## Print - -pdfjs-print-progress-message = מסמך בהכנה להדפסה… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ביטול -pdfjs-printing-not-supported = אזהרה: הדפסה אינה נתמכת במלואה בדפדפן זה. -pdfjs-printing-not-ready = אזהרה: מסמך ה־PDF לא נטען לחלוטין עד מצב שמאפשר הדפסה. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = הצגה/הסתרה של סרגל הצד -pdfjs-toggle-sidebar-notification-button = - .title = החלפת תצוגת סרגל צד (מסמך שמכיל תוכן עניינים/קבצים מצורפים/שכבות) -pdfjs-toggle-sidebar-button-label = הצגה/הסתרה של סרגל הצד -pdfjs-document-outline-button = - .title = הצגת תוכן העניינים של המסמך (לחיצה כפולה כדי להרחיב או לצמצם את כל הפריטים) -pdfjs-document-outline-button-label = תוכן העניינים של המסמך -pdfjs-attachments-button = - .title = הצגת צרופות -pdfjs-attachments-button-label = צרופות -pdfjs-layers-button = - .title = הצגת שכבות (יש ללחוץ לחיצה כפולה כדי לאפס את כל השכבות למצב ברירת המחדל) -pdfjs-layers-button-label = שכבות -pdfjs-thumbs-button = - .title = הצגת תצוגה מקדימה -pdfjs-thumbs-button-label = תצוגה מקדימה -pdfjs-current-outline-item-button = - .title = מציאת פריט תוכן העניינים הנוכחי -pdfjs-current-outline-item-button-label = פריט תוכן העניינים הנוכחי -pdfjs-findbar-button = - .title = חיפוש במסמך -pdfjs-findbar-button-label = חיפוש -pdfjs-additional-layers = שכבות נוספות - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = עמוד { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = תצוגה מקדימה של עמוד { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = חיפוש - .placeholder = חיפוש במסמך… -pdfjs-find-previous-button = - .title = מציאת המופע הקודם של הביטוי -pdfjs-find-previous-button-label = קודם -pdfjs-find-next-button = - .title = מציאת המופע הבא של הביטוי -pdfjs-find-next-button-label = הבא -pdfjs-find-highlight-checkbox = הדגשת הכול -pdfjs-find-match-case-checkbox-label = התאמת אותיות -pdfjs-find-match-diacritics-checkbox-label = התאמה דיאקריטית -pdfjs-find-entire-word-checkbox-label = מילים שלמות -pdfjs-find-reached-top = הגיע לראש הדף, ממשיך מלמטה -pdfjs-find-reached-bottom = הגיע לסוף הדף, ממשיך מלמעלה -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } מתוך { $total } תוצאות - *[other] { $current } מתוך { $total } תוצאות - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] יותר מתוצאה אחת - *[other] יותר מ־{ $limit } תוצאות - } -pdfjs-find-not-found = הביטוי לא נמצא - -## Predefined zoom values - -pdfjs-page-scale-width = רוחב העמוד -pdfjs-page-scale-fit = התאמה לעמוד -pdfjs-page-scale-auto = מרחק מתצוגה אוטומטי -pdfjs-page-scale-actual = גודל אמיתי -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = עמוד { $page } - -## Loading indicator messages - -pdfjs-loading-error = אירעה שגיאה בעת טעינת ה־PDF. -pdfjs-invalid-file-error = קובץ PDF פגום או לא תקין. -pdfjs-missing-file-error = קובץ PDF חסר. -pdfjs-unexpected-response-error = תגובת שרת לא צפויה. -pdfjs-rendering-error = אירעה שגיאה בעת עיבוד הדף. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [הערת { $type }] - -## Password - -pdfjs-password-label = נא להכניס את הססמה לפתיחת קובץ PDF זה. -pdfjs-password-invalid = ססמה שגויה. נא לנסות שנית. -pdfjs-password-ok-button = אישור -pdfjs-password-cancel-button = ביטול -pdfjs-web-fonts-disabled = גופני רשת מנוטרלים: לא ניתן להשתמש בגופני PDF מוטבעים. - -## Editing - -pdfjs-editor-free-text-button = - .title = טקסט -pdfjs-editor-free-text-button-label = טקסט -pdfjs-editor-ink-button = - .title = ציור -pdfjs-editor-ink-button-label = ציור -pdfjs-editor-stamp-button = - .title = הוספה או עריכת תמונות -pdfjs-editor-stamp-button-label = הוספה או עריכת תמונות -pdfjs-editor-highlight-button = - .title = סימון -pdfjs-editor-highlight-button-label = סימון -pdfjs-highlight-floating-button = - .title = סימון -pdfjs-highlight-floating-button1 = - .title = סימון - .aria-label = סימון -pdfjs-highlight-floating-button-label = סימון - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = הסרת ציור -pdfjs-editor-remove-freetext-button = - .title = הסרת טקסט -pdfjs-editor-remove-stamp-button = - .title = הסרת תמונה -pdfjs-editor-remove-highlight-button = - .title = הסרת הדגשה - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = צבע -pdfjs-editor-free-text-size-input = גודל -pdfjs-editor-ink-color-input = צבע -pdfjs-editor-ink-thickness-input = עובי -pdfjs-editor-ink-opacity-input = אטימות -pdfjs-editor-stamp-add-image-button = - .title = הוספת תמונה -pdfjs-editor-stamp-add-image-button-label = הוספת תמונה -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = עובי -pdfjs-editor-free-highlight-thickness-title = - .title = שינוי עובי בעת הדגשת פריטים שאינם טקסט -pdfjs-free-text = - .aria-label = עורך טקסט -pdfjs-free-text-default-content = להתחיל להקליד… -pdfjs-ink = - .aria-label = עורך ציור -pdfjs-ink-canvas = - .aria-label = תמונה שנוצרה על־ידי משתמש - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = טקסט חלופי -pdfjs-editor-alt-text-edit-button-label = עריכת טקסט חלופי -pdfjs-editor-alt-text-dialog-label = בחירת אפשרות -pdfjs-editor-alt-text-dialog-description = טקסט חלופי עוזר כשאנשים לא יכולים לראות את התמונה או כשהיא לא נטענת. -pdfjs-editor-alt-text-add-description-label = הוספת תיאור -pdfjs-editor-alt-text-add-description-description = כדאי לתאר במשפט אחד או שניים את הנושא, התפאורה או הפעולות. -pdfjs-editor-alt-text-mark-decorative-label = סימון כדקורטיבי -pdfjs-editor-alt-text-mark-decorative-description = זה משמש לתמונות נוי, כמו גבולות או סימני מים. -pdfjs-editor-alt-text-cancel-button = ביטול -pdfjs-editor-alt-text-save-button = שמירה -pdfjs-editor-alt-text-decorative-tooltip = מסומן כדקורטיבי -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = לדוגמה, ״גבר צעיר מתיישב ליד שולחן לאכול ארוחה״ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = פינה שמאלית עליונה - שינוי גודל -pdfjs-editor-resizer-label-top-middle = למעלה באמצע - שינוי גודל -pdfjs-editor-resizer-label-top-right = פינה ימנית עליונה - שינוי גודל -pdfjs-editor-resizer-label-middle-right = ימינה באמצע - שינוי גודל -pdfjs-editor-resizer-label-bottom-right = פינה ימנית תחתונה - שינוי גודל -pdfjs-editor-resizer-label-bottom-middle = למטה באמצע - שינוי גודל -pdfjs-editor-resizer-label-bottom-left = פינה שמאלית תחתונה - שינוי גודל -pdfjs-editor-resizer-label-middle-left = שמאלה באמצע - שינוי גודל - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = צבע הדגשה -pdfjs-editor-colorpicker-button = - .title = שינוי צבע -pdfjs-editor-colorpicker-dropdown = - .aria-label = בחירת צבע -pdfjs-editor-colorpicker-yellow = - .title = צהוב -pdfjs-editor-colorpicker-green = - .title = ירוק -pdfjs-editor-colorpicker-blue = - .title = כחול -pdfjs-editor-colorpicker-pink = - .title = ורוד -pdfjs-editor-colorpicker-red = - .title = אדום - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = הצגת הכול -pdfjs-editor-highlight-show-all-button = - .title = הצגת הכול diff --git a/media/js/pdf4/web/locale/hi-IN/viewer.ftl b/media/js/pdf4/web/locale/hi-IN/viewer.ftl deleted file mode 100644 index 1ead593066..0000000000 --- a/media/js/pdf4/web/locale/hi-IN/viewer.ftl +++ /dev/null @@ -1,253 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = पिछला पृष्ठ -pdfjs-previous-button-label = पिछला -pdfjs-next-button = - .title = अगला पृष्ठ -pdfjs-next-button-label = आगे -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = पृष्ठ: -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } का -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = छोटा करें -pdfjs-zoom-out-button-label = छोटा करें -pdfjs-zoom-in-button = - .title = बड़ा करें -pdfjs-zoom-in-button-label = बड़ा करें -pdfjs-zoom-select = - .title = बड़ा-छोटा करें -pdfjs-presentation-mode-button = - .title = प्रस्तुति अवस्था में जाएँ -pdfjs-presentation-mode-button-label = प्रस्तुति अवस्था -pdfjs-open-file-button = - .title = फ़ाइल खोलें -pdfjs-open-file-button-label = खोलें -pdfjs-print-button = - .title = छापें -pdfjs-print-button-label = छापें -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = ऐप में खोलें -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = ऐप में खोलें - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = औज़ार -pdfjs-tools-button-label = औज़ार -pdfjs-first-page-button = - .title = प्रथम पृष्ठ पर जाएँ -pdfjs-first-page-button-label = प्रथम पृष्ठ पर जाएँ -pdfjs-last-page-button = - .title = अंतिम पृष्ठ पर जाएँ -pdfjs-last-page-button-label = अंतिम पृष्ठ पर जाएँ -pdfjs-page-rotate-cw-button = - .title = घड़ी की दिशा में घुमाएँ -pdfjs-page-rotate-cw-button-label = घड़ी की दिशा में घुमाएँ -pdfjs-page-rotate-ccw-button = - .title = घड़ी की दिशा से उल्टा घुमाएँ -pdfjs-page-rotate-ccw-button-label = घड़ी की दिशा से उल्टा घुमाएँ -pdfjs-cursor-text-select-tool-button = - .title = पाठ चयन उपकरण सक्षम करें -pdfjs-cursor-text-select-tool-button-label = पाठ चयन उपकरण -pdfjs-cursor-hand-tool-button = - .title = हस्त उपकरण सक्षम करें -pdfjs-cursor-hand-tool-button-label = हस्त उपकरण -pdfjs-scroll-vertical-button = - .title = लंबवत स्क्रॉलिंग का उपयोग करें -pdfjs-scroll-vertical-button-label = लंबवत स्क्रॉलिंग -pdfjs-scroll-horizontal-button = - .title = क्षितिजिय स्क्रॉलिंग का उपयोग करें -pdfjs-scroll-horizontal-button-label = क्षितिजिय स्क्रॉलिंग -pdfjs-scroll-wrapped-button = - .title = व्राप्पेड स्क्रॉलिंग का उपयोग करें -pdfjs-spread-none-button-label = कोई स्प्रेड उपलब्ध नहीं -pdfjs-spread-odd-button = - .title = विषम-क्रमांकित पृष्ठों से प्रारंभ होने वाले पृष्ठ स्प्रेड में शामिल हों -pdfjs-spread-odd-button-label = विषम फैलाव - -## Document properties dialog - -pdfjs-document-properties-button = - .title = दस्तावेज़ विशेषता... -pdfjs-document-properties-button-label = दस्तावेज़ विशेषता... -pdfjs-document-properties-file-name = फ़ाइल नाम: -pdfjs-document-properties-file-size = फाइल आकारः -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = शीर्षक: -pdfjs-document-properties-author = लेखकः -pdfjs-document-properties-subject = विषय: -pdfjs-document-properties-keywords = कुंजी-शब्द: -pdfjs-document-properties-creation-date = निर्माण दिनांक: -pdfjs-document-properties-modification-date = संशोधन दिनांक: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = निर्माता: -pdfjs-document-properties-producer = PDF उत्पादक: -pdfjs-document-properties-version = PDF संस्करण: -pdfjs-document-properties-page-count = पृष्ठ गिनती: -pdfjs-document-properties-page-size = पृष्ठ आकार: -pdfjs-document-properties-page-size-unit-inches = इंच -pdfjs-document-properties-page-size-unit-millimeters = मिमी -pdfjs-document-properties-page-size-orientation-portrait = पोर्ट्रेट -pdfjs-document-properties-page-size-orientation-landscape = लैंडस्केप -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = पत्र -pdfjs-document-properties-page-size-name-legal = क़ानूनी - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = तीव्र वेब व्यू: -pdfjs-document-properties-linearized-yes = हाँ -pdfjs-document-properties-linearized-no = नहीं -pdfjs-document-properties-close-button = बंद करें - -## Print - -pdfjs-print-progress-message = छपाई के लिए दस्तावेज़ को तैयार किया जा रहा है... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = रद्द करें -pdfjs-printing-not-supported = चेतावनी: इस ब्राउज़र पर छपाई पूरी तरह से समर्थित नहीं है. -pdfjs-printing-not-ready = चेतावनी: PDF छपाई के लिए पूरी तरह से लोड नहीं है. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = स्लाइडर टॉगल करें -pdfjs-toggle-sidebar-button-label = स्लाइडर टॉगल करें -pdfjs-document-outline-button = - .title = दस्तावेज़ की रूपरेखा दिखाइए (सारी वस्तुओं को फलने अथवा समेटने के लिए दो बार क्लिक करें) -pdfjs-document-outline-button-label = दस्तावेज़ आउटलाइन -pdfjs-attachments-button = - .title = संलग्नक दिखायें -pdfjs-attachments-button-label = संलग्नक -pdfjs-thumbs-button = - .title = लघुछवियाँ दिखाएँ -pdfjs-thumbs-button-label = लघु छवि -pdfjs-findbar-button = - .title = दस्तावेज़ में ढूँढ़ें -pdfjs-findbar-button-label = ढूँढें - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = पृष्ठ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = पृष्ठ { $page } की लघु-छवि - -## Find panel button title and messages - -pdfjs-find-input = - .title = ढूँढें - .placeholder = दस्तावेज़ में खोजें... -pdfjs-find-previous-button = - .title = वाक्यांश की पिछली उपस्थिति ढूँढ़ें -pdfjs-find-previous-button-label = पिछला -pdfjs-find-next-button = - .title = वाक्यांश की अगली उपस्थिति ढूँढ़ें -pdfjs-find-next-button-label = अगला -pdfjs-find-highlight-checkbox = सभी आलोकित करें -pdfjs-find-match-case-checkbox-label = मिलान स्थिति -pdfjs-find-entire-word-checkbox-label = संपूर्ण शब्द -pdfjs-find-reached-top = पृष्ठ के ऊपर पहुंच गया, नीचे से जारी रखें -pdfjs-find-reached-bottom = पृष्ठ के नीचे में जा पहुँचा, ऊपर से जारी -pdfjs-find-not-found = वाक्यांश नहीं मिला - -## Predefined zoom values - -pdfjs-page-scale-width = पृष्ठ चौड़ाई -pdfjs-page-scale-fit = पृष्ठ फिट -pdfjs-page-scale-auto = स्वचालित जूम -pdfjs-page-scale-actual = वास्तविक आकार -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF लोड करते समय एक त्रुटि हुई. -pdfjs-invalid-file-error = अमान्य या भ्रष्ट PDF फ़ाइल. -pdfjs-missing-file-error = अनुपस्थित PDF फ़ाइल. -pdfjs-unexpected-response-error = अप्रत्याशित सर्वर प्रतिक्रिया. -pdfjs-rendering-error = पृष्ठ रेंडरिंग के दौरान त्रुटि आई. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = इस PDF फ़ाइल को खोलने के लिए कृपया कूटशब्द भरें. -pdfjs-password-invalid = अवैध कूटशब्द, कृपया फिर कोशिश करें. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = रद्द करें -pdfjs-web-fonts-disabled = वेब फॉन्ट्स निष्क्रिय हैं: अंतःस्थापित PDF फॉन्टस के उपयोग में असमर्थ. - -## Editing - -# Editor Parameters -pdfjs-editor-free-text-color-input = रंग - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/hr/viewer.ftl b/media/js/pdf4/web/locale/hr/viewer.ftl deleted file mode 100644 index 23d88e76a1..0000000000 --- a/media/js/pdf4/web/locale/hr/viewer.ftl +++ /dev/null @@ -1,279 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Prethodna stranica -pdfjs-previous-button-label = Prethodna -pdfjs-next-button = - .title = Sljedeća stranica -pdfjs-next-button-label = Sljedeća -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Stranica -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = od { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } od { $pagesCount }) -pdfjs-zoom-out-button = - .title = Umanji -pdfjs-zoom-out-button-label = Umanji -pdfjs-zoom-in-button = - .title = Uvećaj -pdfjs-zoom-in-button-label = Uvećaj -pdfjs-zoom-select = - .title = Zumiranje -pdfjs-presentation-mode-button = - .title = Prebaci u prezentacijski način rada -pdfjs-presentation-mode-button-label = Prezentacijski način rada -pdfjs-open-file-button = - .title = Otvori datoteku -pdfjs-open-file-button-label = Otvori -pdfjs-print-button = - .title = Ispiši -pdfjs-print-button-label = Ispiši -pdfjs-save-button = - .title = Spremi -pdfjs-save-button-label = Spremi - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Alati -pdfjs-tools-button-label = Alati -pdfjs-first-page-button = - .title = Idi na prvu stranicu -pdfjs-first-page-button-label = Idi na prvu stranicu -pdfjs-last-page-button = - .title = Idi na posljednju stranicu -pdfjs-last-page-button-label = Idi na posljednju stranicu -pdfjs-page-rotate-cw-button = - .title = Rotiraj u smjeru kazaljke na satu -pdfjs-page-rotate-cw-button-label = Rotiraj u smjeru kazaljke na satu -pdfjs-page-rotate-ccw-button = - .title = Rotiraj obrnutno od smjera kazaljke na satu -pdfjs-page-rotate-ccw-button-label = Rotiraj obrnutno od smjera kazaljke na satu -pdfjs-cursor-text-select-tool-button = - .title = Omogući alat za označavanje teksta -pdfjs-cursor-text-select-tool-button-label = Alat za označavanje teksta -pdfjs-cursor-hand-tool-button = - .title = Omogući ručni alat -pdfjs-cursor-hand-tool-button-label = Ručni alat -pdfjs-scroll-vertical-button = - .title = Koristi okomito pomicanje -pdfjs-scroll-vertical-button-label = Okomito pomicanje -pdfjs-scroll-horizontal-button = - .title = Koristi vodoravno pomicanje -pdfjs-scroll-horizontal-button-label = Vodoravno pomicanje -pdfjs-scroll-wrapped-button = - .title = Koristi kontinuirani raspored stranica -pdfjs-scroll-wrapped-button-label = Kontinuirani raspored stranica -pdfjs-spread-none-button = - .title = Ne izrađuj duplerice -pdfjs-spread-none-button-label = Pojedinačne stranice -pdfjs-spread-odd-button = - .title = Izradi duplerice koje počinju s neparnim stranicama -pdfjs-spread-odd-button-label = Neparne duplerice -pdfjs-spread-even-button = - .title = Izradi duplerice koje počinju s parnim stranicama -pdfjs-spread-even-button-label = Parne duplerice - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Svojstva dokumenta … -pdfjs-document-properties-button-label = Svojstva dokumenta … -pdfjs-document-properties-file-name = Naziv datoteke: -pdfjs-document-properties-file-size = Veličina datoteke: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajtova) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtova) -pdfjs-document-properties-title = Naslov: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Predmet: -pdfjs-document-properties-keywords = Ključne riječi: -pdfjs-document-properties-creation-date = Datum stvaranja: -pdfjs-document-properties-modification-date = Datum promjene: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Stvaratelj: -pdfjs-document-properties-producer = PDF stvaratelj: -pdfjs-document-properties-version = PDF verzija: -pdfjs-document-properties-page-count = Broj stranica: -pdfjs-document-properties-page-size = Dimenzije stranice: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = uspravno -pdfjs-document-properties-page-size-orientation-landscape = položeno -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Brzi web pregled: -pdfjs-document-properties-linearized-yes = Da -pdfjs-document-properties-linearized-no = Ne -pdfjs-document-properties-close-button = Zatvori - -## Print - -pdfjs-print-progress-message = Pripremanje dokumenta za ispis… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Odustani -pdfjs-printing-not-supported = Upozorenje: Ovaj preglednik ne podržava u potpunosti ispisivanje. -pdfjs-printing-not-ready = Upozorenje: PDF nije u potpunosti učitan za ispis. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Prikaži/sakrij bočnu traku -pdfjs-toggle-sidebar-notification-button = - .title = Prikazivanje i sklanjanje bočne trake (dokument sadrži strukturu/privitke/slojeve) -pdfjs-toggle-sidebar-button-label = Prikaži/sakrij bočnu traku -pdfjs-document-outline-button = - .title = Prikaži strukturu dokumenta (dvostruki klik za rasklapanje/sklapanje svih stavki) -pdfjs-document-outline-button-label = Struktura dokumenta -pdfjs-attachments-button = - .title = Prikaži privitke -pdfjs-attachments-button-label = Privitci -pdfjs-layers-button = - .title = Prikaži slojeve (dvoklik za vraćanje svih slojeva u zadano stanje) -pdfjs-layers-button-label = Slojevi -pdfjs-thumbs-button = - .title = Prikaži minijature -pdfjs-thumbs-button-label = Minijature -pdfjs-current-outline-item-button = - .title = Pronađi trenutačni element strukture -pdfjs-current-outline-item-button-label = Trenutačni element strukture -pdfjs-findbar-button = - .title = Pronađi u dokumentu -pdfjs-findbar-button-label = Pronađi -pdfjs-additional-layers = Dodatni slojevi - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Stranica { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Minijatura stranice { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Pronađi - .placeholder = Pronađi u dokumentu … -pdfjs-find-previous-button = - .title = Pronađi prethodno pojavljivanje ovog izraza -pdfjs-find-previous-button-label = Prethodno -pdfjs-find-next-button = - .title = Pronađi sljedeće pojavljivanje ovog izraza -pdfjs-find-next-button-label = Sljedeće -pdfjs-find-highlight-checkbox = Istankni sve -pdfjs-find-match-case-checkbox-label = Razlikovanje velikih i malih slova -pdfjs-find-entire-word-checkbox-label = Cijele riječi -pdfjs-find-reached-top = Dosegnut početak dokumenta, nastavak s kraja -pdfjs-find-reached-bottom = Dosegnut kraj dokumenta, nastavak s početka -pdfjs-find-not-found = Izraz nije pronađen - -## Predefined zoom values - -pdfjs-page-scale-width = Prilagodi širini prozora -pdfjs-page-scale-fit = Prilagodi veličini prozora -pdfjs-page-scale-auto = Automatsko zumiranje -pdfjs-page-scale-actual = Stvarna veličina -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Stranica { $page } - -## Loading indicator messages - -pdfjs-loading-error = Došlo je do greške pri učitavanju PDF-a. -pdfjs-invalid-file-error = Neispravna ili oštećena PDF datoteka. -pdfjs-missing-file-error = Nedostaje PDF datoteka. -pdfjs-unexpected-response-error = Neočekivani odgovor poslužitelja. -pdfjs-rendering-error = Došlo je do greške prilikom iscrtavanja stranice. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Bilješka] - -## Password - -pdfjs-password-label = Za otvoranje ove PDF datoteku upiši lozinku. -pdfjs-password-invalid = Neispravna lozinka. Pokušaj ponovo. -pdfjs-password-ok-button = U redu -pdfjs-password-cancel-button = Odustani -pdfjs-web-fonts-disabled = Web fontovi su deaktivirani: nije moguće koristiti ugrađene PDF fontove. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -# Editor Parameters -pdfjs-editor-free-text-color-input = Boja -pdfjs-editor-free-text-size-input = Veličina -pdfjs-editor-ink-color-input = Boja -pdfjs-editor-ink-thickness-input = Debljina -pdfjs-editor-ink-opacity-input = Neprozirnost -pdfjs-free-text = - .aria-label = Uređivač teksta -pdfjs-free-text-default-content = Počni tipkati … - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/hsb/viewer.ftl b/media/js/pdf4/web/locale/hsb/viewer.ftl deleted file mode 100644 index 46feaf1bdd..0000000000 --- a/media/js/pdf4/web/locale/hsb/viewer.ftl +++ /dev/null @@ -1,406 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Předchadna strona -pdfjs-previous-button-label = Wróćo -pdfjs-next-button = - .title = Přichodna strona -pdfjs-next-button-label = Dale -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Strona -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = z { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } z { $pagesCount }) -pdfjs-zoom-out-button = - .title = Pomjeńšić -pdfjs-zoom-out-button-label = Pomjeńšić -pdfjs-zoom-in-button = - .title = Powjetšić -pdfjs-zoom-in-button-label = Powjetšić -pdfjs-zoom-select = - .title = Skalowanje -pdfjs-presentation-mode-button = - .title = Do prezentaciskeho modusa přeńć -pdfjs-presentation-mode-button-label = Prezentaciski modus -pdfjs-open-file-button = - .title = Dataju wočinić -pdfjs-open-file-button-label = Wočinić -pdfjs-print-button = - .title = Ćišćeć -pdfjs-print-button-label = Ćišćeć -pdfjs-save-button = - .title = Składować -pdfjs-save-button-label = Składować -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Sćahnyć -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Sćahnyć -pdfjs-bookmark-button = - .title = Aktualna strona (URL z aktualneje strony pokazać) -pdfjs-bookmark-button-label = Aktualna strona -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = W nałoženju wočinić -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = W nałoženju wočinić - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Nastroje -pdfjs-tools-button-label = Nastroje -pdfjs-first-page-button = - .title = K prěnjej stronje -pdfjs-first-page-button-label = K prěnjej stronje -pdfjs-last-page-button = - .title = K poslednjej stronje -pdfjs-last-page-button-label = K poslednjej stronje -pdfjs-page-rotate-cw-button = - .title = K směrej časnika wjerćeć -pdfjs-page-rotate-cw-button-label = K směrej časnika wjerćeć -pdfjs-page-rotate-ccw-button = - .title = Přećiwo směrej časnika wjerćeć -pdfjs-page-rotate-ccw-button-label = Přećiwo směrej časnika wjerćeć -pdfjs-cursor-text-select-tool-button = - .title = Nastroj za wuběranje teksta zmóžnić -pdfjs-cursor-text-select-tool-button-label = Nastroj za wuběranje teksta -pdfjs-cursor-hand-tool-button = - .title = Ručny nastroj zmóžnić -pdfjs-cursor-hand-tool-button-label = Ručny nastroj -pdfjs-scroll-page-button = - .title = Kulenje strony wužiwać -pdfjs-scroll-page-button-label = Kulenje strony -pdfjs-scroll-vertical-button = - .title = Wertikalne suwanje wužiwać -pdfjs-scroll-vertical-button-label = Wertikalne suwanje -pdfjs-scroll-horizontal-button = - .title = Horicontalne suwanje wužiwać -pdfjs-scroll-horizontal-button-label = Horicontalne suwanje -pdfjs-scroll-wrapped-button = - .title = Postupne suwanje wužiwać -pdfjs-scroll-wrapped-button-label = Postupne suwanje -pdfjs-spread-none-button = - .title = Strony njezwjazać -pdfjs-spread-none-button-label = Žana dwójna strona -pdfjs-spread-odd-button = - .title = Strony započinajo z njerunymi stronami zwjazać -pdfjs-spread-odd-button-label = Njerune strony -pdfjs-spread-even-button = - .title = Strony započinajo z runymi stronami zwjazać -pdfjs-spread-even-button-label = Rune strony - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentowe kajkosće… -pdfjs-document-properties-button-label = Dokumentowe kajkosće… -pdfjs-document-properties-file-name = Mjeno dataje: -pdfjs-document-properties-file-size = Wulkosć dataje: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajtow) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtow) -pdfjs-document-properties-title = Titul: -pdfjs-document-properties-author = Awtor: -pdfjs-document-properties-subject = Předmjet: -pdfjs-document-properties-keywords = Klučowe słowa: -pdfjs-document-properties-creation-date = Datum wutworjenja: -pdfjs-document-properties-modification-date = Datum změny: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Awtor: -pdfjs-document-properties-producer = PDF-zhotowjer: -pdfjs-document-properties-version = PDF-wersija: -pdfjs-document-properties-page-count = Ličba stronow: -pdfjs-document-properties-page-size = Wulkosć strony: -pdfjs-document-properties-page-size-unit-inches = cól -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = wysoki format -pdfjs-document-properties-page-size-orientation-landscape = prěčny format -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Haj -pdfjs-document-properties-linearized-no = Ně -pdfjs-document-properties-close-button = Začinić - -## Print - -pdfjs-print-progress-message = Dokument so za ćišćenje přihotuje… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Přetorhnyć -pdfjs-printing-not-supported = Warnowanje: Ćišćenje so přez tutón wobhladowak połnje njepodpěruje. -pdfjs-printing-not-ready = Warnowanje: PDF njeje so za ćišćenje dospołnje začitał. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Bóčnicu pokazać/schować -pdfjs-toggle-sidebar-notification-button = - .title = Bóčnicu přepinać (dokument rozrjad/přiwěški/woršty wobsahuje) -pdfjs-toggle-sidebar-button-label = Bóčnicu pokazać/schować -pdfjs-document-outline-button = - .title = Dokumentowy naćisk pokazać (dwójne kliknjenje, zo bychu so wšě zapiski pokazali/schowali) -pdfjs-document-outline-button-label = Dokumentowa struktura -pdfjs-attachments-button = - .title = Přiwěški pokazać -pdfjs-attachments-button-label = Přiwěški -pdfjs-layers-button = - .title = Woršty pokazać (klikńće dwójce, zo byšće wšě woršty na standardny staw wróćo stajił) -pdfjs-layers-button-label = Woršty -pdfjs-thumbs-button = - .title = Miniatury pokazać -pdfjs-thumbs-button-label = Miniatury -pdfjs-current-outline-item-button = - .title = Aktualny rozrjadowy zapisk pytać -pdfjs-current-outline-item-button-label = Aktualny rozrjadowy zapisk -pdfjs-findbar-button = - .title = W dokumenće pytać -pdfjs-findbar-button-label = Pytać -pdfjs-additional-layers = Dalše woršty - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Strona { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura strony { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Pytać - .placeholder = W dokumenće pytać… -pdfjs-find-previous-button = - .title = Předchadne wustupowanje pytanskeho wuraza pytać -pdfjs-find-previous-button-label = Wróćo -pdfjs-find-next-button = - .title = Přichodne wustupowanje pytanskeho wuraza pytać -pdfjs-find-next-button-label = Dale -pdfjs-find-highlight-checkbox = Wšě wuzběhnyć -pdfjs-find-match-case-checkbox-label = Wulkopisanje wobkedźbować -pdfjs-find-match-diacritics-checkbox-label = Diakritiske znamješka wužiwać -pdfjs-find-entire-word-checkbox-label = Cyłe słowa -pdfjs-find-reached-top = Spočatk dokumenta docpěty, pokročuje so z kóncom -pdfjs-find-reached-bottom = Kónc dokument docpěty, pokročuje so ze spočatkom -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } z { $total } wotpowědnika - [two] { $current } z { $total } wotpowědnikow - [few] { $current } z { $total } wotpowědnikow - *[other] { $current } z { $total } wotpowědnikow - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Wyše { $limit } wotpowědnik - [two] Wyše { $limit } wotpowědnikaj - [few] Wyše { $limit } wotpowědniki - *[other] Wyše { $limit } wotpowědnikow - } -pdfjs-find-not-found = Pytanski wuraz njeje so namakał - -## Predefined zoom values - -pdfjs-page-scale-width = Šěrokosć strony -pdfjs-page-scale-fit = Wulkosć strony -pdfjs-page-scale-auto = Awtomatiske skalowanje -pdfjs-page-scale-actual = Aktualna wulkosć -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Strona { $page } - -## Loading indicator messages - -pdfjs-loading-error = Při začitowanju PDF je zmylk wustupił. -pdfjs-invalid-file-error = Njepłaćiwa abo wobškodźena PDF-dataja. -pdfjs-missing-file-error = Falowaca PDF-dataja. -pdfjs-unexpected-response-error = Njewočakowana serwerowa wotmołwa. -pdfjs-rendering-error = Při zwobraznjenju strony je zmylk wustupił. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Typ přispomnjenki: { $type }] - -## Password - -pdfjs-password-label = Zapodajće hesło, zo byšće PDF-dataju wočinił. -pdfjs-password-invalid = Njepłaćiwe hesło. Prošu spytajće hišće raz. -pdfjs-password-ok-button = W porjadku -pdfjs-password-cancel-button = Přetorhnyć -pdfjs-web-fonts-disabled = Webpisma su znjemóžnjene: njeje móžno, zasadźene PDF-pisma wužiwać. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Rysować -pdfjs-editor-ink-button-label = Rysować -pdfjs-editor-stamp-button = - .title = Wobrazy přidać abo wobdźěłać -pdfjs-editor-stamp-button-label = Wobrazy přidać abo wobdźěłać -pdfjs-editor-highlight-button = - .title = Wuzběhnyć -pdfjs-editor-highlight-button-label = Wuzběhnyć -pdfjs-highlight-floating-button = - .title = Wuzběhnyć -pdfjs-highlight-floating-button1 = - .title = Wuzběhnjenje - .aria-label = Wuzběhnjenje -pdfjs-highlight-floating-button-label = Wuzběhnjenje - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Rysowanku wotstronić -pdfjs-editor-remove-freetext-button = - .title = Tekst wotstronić -pdfjs-editor-remove-stamp-button = - .title = Wobraz wotstronić -pdfjs-editor-remove-highlight-button = - .title = Wuzběhnjenje wotstronić - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Barba -pdfjs-editor-free-text-size-input = Wulkosć -pdfjs-editor-ink-color-input = Barba -pdfjs-editor-ink-thickness-input = Tołstosć -pdfjs-editor-ink-opacity-input = Opacita -pdfjs-editor-stamp-add-image-button = - .title = Wobraz přidać -pdfjs-editor-stamp-add-image-button-label = Wobraz přidać -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tołstosć -pdfjs-editor-free-highlight-thickness-title = - .title = Tołstosć změnić, hdyž so zapiski wuzběhuja, kotrež tekst njejsu -pdfjs-free-text = - .aria-label = Tekstowy editor -pdfjs-free-text-default-content = Započńće pisać… -pdfjs-ink = - .aria-label = Rysowanski editor -pdfjs-ink-canvas = - .aria-label = Wobraz wutworjeny wot wužiwarja - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatiwny tekst -pdfjs-editor-alt-text-edit-button-label = Alternatiwny tekst wobdźěłać -pdfjs-editor-alt-text-dialog-label = Nastajenje wubrać -pdfjs-editor-alt-text-dialog-description = Alternatiwny tekst pomha, hdyž ludźo njemóža wobraz widźeć abo hdyž so wobraz njezačita. -pdfjs-editor-alt-text-add-description-label = Wopisanje přidać -pdfjs-editor-alt-text-add-description-description = Pisajće 1 sadu abo 2 sadźe, kotrejž temu, nastajenje abo akcije wopisujetej. -pdfjs-editor-alt-text-mark-decorative-label = Jako dekoratiwny markěrować -pdfjs-editor-alt-text-mark-decorative-description = To so za pyšace wobrazy wužiwa, na přikład ramiki abo wodowe znamjenja. -pdfjs-editor-alt-text-cancel-button = Přetorhnyć -pdfjs-editor-alt-text-save-button = Składować -pdfjs-editor-alt-text-decorative-tooltip = Jako dekoratiwny markěrowany -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Na přikład, „Młody muž za blidom sedźi, zo by jědź jědł“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Horjeka nalěwo – wulkosć změnić -pdfjs-editor-resizer-label-top-middle = Horjeka wosrjedź – wulkosć změnić -pdfjs-editor-resizer-label-top-right = Horjeka naprawo – wulkosć změnić -pdfjs-editor-resizer-label-middle-right = Wosrjedź naprawo – wulkosć změnić -pdfjs-editor-resizer-label-bottom-right = Deleka naprawo – wulkosć změnić -pdfjs-editor-resizer-label-bottom-middle = Deleka wosrjedź – wulkosć změnić -pdfjs-editor-resizer-label-bottom-left = Deleka nalěwo – wulkosć změnić -pdfjs-editor-resizer-label-middle-left = Wosrjedź nalěwo – wulkosć změnić - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Barba wuzběhnjenja -pdfjs-editor-colorpicker-button = - .title = Barbu změnić -pdfjs-editor-colorpicker-dropdown = - .aria-label = Wuběr barbow -pdfjs-editor-colorpicker-yellow = - .title = Žołty -pdfjs-editor-colorpicker-green = - .title = Zeleny -pdfjs-editor-colorpicker-blue = - .title = Módry -pdfjs-editor-colorpicker-pink = - .title = Pink -pdfjs-editor-colorpicker-red = - .title = Čerwjeny - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Wšě pokazać -pdfjs-editor-highlight-show-all-button = - .title = Wšě pokazać diff --git a/media/js/pdf4/web/locale/hu/viewer.ftl b/media/js/pdf4/web/locale/hu/viewer.ftl deleted file mode 100644 index 0c33e51bef..0000000000 --- a/media/js/pdf4/web/locale/hu/viewer.ftl +++ /dev/null @@ -1,396 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Előző oldal -pdfjs-previous-button-label = Előző -pdfjs-next-button = - .title = Következő oldal -pdfjs-next-button-label = Tovább -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Oldal -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = összesen: { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = Kicsinyítés -pdfjs-zoom-out-button-label = Kicsinyítés -pdfjs-zoom-in-button = - .title = Nagyítás -pdfjs-zoom-in-button-label = Nagyítás -pdfjs-zoom-select = - .title = Nagyítás -pdfjs-presentation-mode-button = - .title = Váltás bemutató módba -pdfjs-presentation-mode-button-label = Bemutató mód -pdfjs-open-file-button = - .title = Fájl megnyitása -pdfjs-open-file-button-label = Megnyitás -pdfjs-print-button = - .title = Nyomtatás -pdfjs-print-button-label = Nyomtatás -pdfjs-save-button = - .title = Mentés -pdfjs-save-button-label = Mentés -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Letöltés -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Letöltés -pdfjs-bookmark-button = - .title = Jelenlegi oldal (webcím megtekintése a jelenlegi oldalról) -pdfjs-bookmark-button-label = Jelenlegi oldal - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Eszközök -pdfjs-tools-button-label = Eszközök -pdfjs-first-page-button = - .title = Ugrás az első oldalra -pdfjs-first-page-button-label = Ugrás az első oldalra -pdfjs-last-page-button = - .title = Ugrás az utolsó oldalra -pdfjs-last-page-button-label = Ugrás az utolsó oldalra -pdfjs-page-rotate-cw-button = - .title = Forgatás az óramutató járásával egyezően -pdfjs-page-rotate-cw-button-label = Forgatás az óramutató járásával egyezően -pdfjs-page-rotate-ccw-button = - .title = Forgatás az óramutató járásával ellentétesen -pdfjs-page-rotate-ccw-button-label = Forgatás az óramutató járásával ellentétesen -pdfjs-cursor-text-select-tool-button = - .title = Szövegkijelölő eszköz bekapcsolása -pdfjs-cursor-text-select-tool-button-label = Szövegkijelölő eszköz -pdfjs-cursor-hand-tool-button = - .title = Kéz eszköz bekapcsolása -pdfjs-cursor-hand-tool-button-label = Kéz eszköz -pdfjs-scroll-page-button = - .title = Oldalgörgetés használata -pdfjs-scroll-page-button-label = Oldalgörgetés -pdfjs-scroll-vertical-button = - .title = Függőleges görgetés használata -pdfjs-scroll-vertical-button-label = Függőleges görgetés -pdfjs-scroll-horizontal-button = - .title = Vízszintes görgetés használata -pdfjs-scroll-horizontal-button-label = Vízszintes görgetés -pdfjs-scroll-wrapped-button = - .title = Rácsos elrendezés használata -pdfjs-scroll-wrapped-button-label = Rácsos elrendezés -pdfjs-spread-none-button = - .title = Ne tapassza össze az oldalakat -pdfjs-spread-none-button-label = Nincs összetapasztás -pdfjs-spread-odd-button = - .title = Lapok összetapasztása, a páratlan számú oldalakkal kezdve -pdfjs-spread-odd-button-label = Összetapasztás: páratlan -pdfjs-spread-even-button = - .title = Lapok összetapasztása, a páros számú oldalakkal kezdve -pdfjs-spread-even-button-label = Összetapasztás: páros - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentum tulajdonságai… -pdfjs-document-properties-button-label = Dokumentum tulajdonságai… -pdfjs-document-properties-file-name = Fájlnév: -pdfjs-document-properties-file-size = Fájlméret: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bájt) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bájt) -pdfjs-document-properties-title = Cím: -pdfjs-document-properties-author = Szerző: -pdfjs-document-properties-subject = Tárgy: -pdfjs-document-properties-keywords = Kulcsszavak: -pdfjs-document-properties-creation-date = Létrehozás dátuma: -pdfjs-document-properties-modification-date = Módosítás dátuma: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Létrehozta: -pdfjs-document-properties-producer = PDF előállító: -pdfjs-document-properties-version = PDF verzió: -pdfjs-document-properties-page-count = Oldalszám: -pdfjs-document-properties-page-size = Lapméret: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = álló -pdfjs-document-properties-page-size-orientation-landscape = fekvő -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Jogi információk - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Gyors webes nézet: -pdfjs-document-properties-linearized-yes = Igen -pdfjs-document-properties-linearized-no = Nem -pdfjs-document-properties-close-button = Bezárás - -## Print - -pdfjs-print-progress-message = Dokumentum előkészítése nyomtatáshoz… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Mégse -pdfjs-printing-not-supported = Figyelmeztetés: Ez a böngésző nem teljesen támogatja a nyomtatást. -pdfjs-printing-not-ready = Figyelmeztetés: A PDF nincs teljesen betöltve a nyomtatáshoz. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Oldalsáv be/ki -pdfjs-toggle-sidebar-notification-button = - .title = Oldalsáv be/ki (a dokumentum vázlatot/mellékleteket/rétegeket tartalmaz) -pdfjs-toggle-sidebar-button-label = Oldalsáv be/ki -pdfjs-document-outline-button = - .title = Dokumentum megjelenítése online (dupla kattintás minden elem kinyitásához/összecsukásához) -pdfjs-document-outline-button-label = Dokumentumvázlat -pdfjs-attachments-button = - .title = Mellékletek megjelenítése -pdfjs-attachments-button-label = Van melléklet -pdfjs-layers-button = - .title = Rétegek megjelenítése (dupla kattintás az összes réteg alapértelmezett állapotra visszaállításához) -pdfjs-layers-button-label = Rétegek -pdfjs-thumbs-button = - .title = Bélyegképek megjelenítése -pdfjs-thumbs-button-label = Bélyegképek -pdfjs-current-outline-item-button = - .title = Jelenlegi vázlatelem megkeresése -pdfjs-current-outline-item-button-label = Jelenlegi vázlatelem -pdfjs-findbar-button = - .title = Keresés a dokumentumban -pdfjs-findbar-button-label = Keresés -pdfjs-additional-layers = További rétegek - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page }. oldal -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page }. oldal bélyegképe - -## Find panel button title and messages - -pdfjs-find-input = - .title = Keresés - .placeholder = Keresés a dokumentumban… -pdfjs-find-previous-button = - .title = A kifejezés előző előfordulásának keresése -pdfjs-find-previous-button-label = Előző -pdfjs-find-next-button = - .title = A kifejezés következő előfordulásának keresése -pdfjs-find-next-button-label = Tovább -pdfjs-find-highlight-checkbox = Összes kiemelése -pdfjs-find-match-case-checkbox-label = Kis- és nagybetűk megkülönböztetése -pdfjs-find-match-diacritics-checkbox-label = Diakritikus jelek -pdfjs-find-entire-word-checkbox-label = Teljes szavak -pdfjs-find-reached-top = A dokumentum eleje elérve, folytatás a végétől -pdfjs-find-reached-bottom = A dokumentum vége elérve, folytatás az elejétől -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } / { $total } találat - *[other] { $current } / { $total } találat - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Több mint { $limit } találat - *[other] Több mint { $limit } találat - } -pdfjs-find-not-found = A kifejezés nem található - -## Predefined zoom values - -pdfjs-page-scale-width = Oldalszélesség -pdfjs-page-scale-fit = Teljes oldal -pdfjs-page-scale-auto = Automatikus nagyítás -pdfjs-page-scale-actual = Valódi méret -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page }. oldal - -## Loading indicator messages - -pdfjs-loading-error = Hiba történt a PDF betöltésekor. -pdfjs-invalid-file-error = Érvénytelen vagy sérült PDF fájl. -pdfjs-missing-file-error = Hiányzó PDF fájl. -pdfjs-unexpected-response-error = Váratlan kiszolgálóválasz. -pdfjs-rendering-error = Hiba történt az oldal feldolgozása közben. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } megjegyzés] - -## Password - -pdfjs-password-label = Adja meg a jelszót a PDF fájl megnyitásához. -pdfjs-password-invalid = Helytelen jelszó. Próbálja újra. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Mégse -pdfjs-web-fonts-disabled = Webes betűkészletek letiltva: nem használhatók a beágyazott PDF betűkészletek. - -## Editing - -pdfjs-editor-free-text-button = - .title = Szöveg -pdfjs-editor-free-text-button-label = Szöveg -pdfjs-editor-ink-button = - .title = Rajzolás -pdfjs-editor-ink-button-label = Rajzolás -pdfjs-editor-stamp-button = - .title = Képek hozzáadása vagy szerkesztése -pdfjs-editor-stamp-button-label = Képek hozzáadása vagy szerkesztése -pdfjs-editor-highlight-button = - .title = Kiemelés -pdfjs-editor-highlight-button-label = Kiemelés -pdfjs-highlight-floating-button = - .title = Kiemelés -pdfjs-highlight-floating-button1 = - .title = Kiemelés - .aria-label = Kiemelés -pdfjs-highlight-floating-button-label = Kiemelés - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Rajz eltávolítása -pdfjs-editor-remove-freetext-button = - .title = Szöveg eltávolítása -pdfjs-editor-remove-stamp-button = - .title = Kép eltávolítása -pdfjs-editor-remove-highlight-button = - .title = Kiemelés eltávolítása - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Szín -pdfjs-editor-free-text-size-input = Méret -pdfjs-editor-ink-color-input = Szín -pdfjs-editor-ink-thickness-input = Vastagság -pdfjs-editor-ink-opacity-input = Átlátszatlanság -pdfjs-editor-stamp-add-image-button = - .title = Kép hozzáadása -pdfjs-editor-stamp-add-image-button-label = Kép hozzáadása -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Vastagság -pdfjs-editor-free-highlight-thickness-title = - .title = Vastagság módosítása, ha nem szöveges elemeket emel ki -pdfjs-free-text = - .aria-label = Szövegszerkesztő -pdfjs-free-text-default-content = Kezdjen el gépelni… -pdfjs-ink = - .aria-label = Rajzszerkesztő -pdfjs-ink-canvas = - .aria-label = Felhasználó által készített kép - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatív szöveg -pdfjs-editor-alt-text-edit-button-label = Alternatív szöveg szerkesztése -pdfjs-editor-alt-text-dialog-label = Válasszon egy lehetőséget -pdfjs-editor-alt-text-dialog-description = Az alternatív szöveg segít, ha az emberek nem látják a képet, vagy ha az nem töltődik be. -pdfjs-editor-alt-text-add-description-label = Leírás hozzáadása -pdfjs-editor-alt-text-add-description-description = Törekedjen 1-2 mondatra, amely jellemzi a témát, környezetet vagy cselekvést. -pdfjs-editor-alt-text-mark-decorative-label = Megjelölés dekoratívként -pdfjs-editor-alt-text-mark-decorative-description = Ez a díszítőképeknél használatos, mint a szegélyek vagy a vízjelek. -pdfjs-editor-alt-text-cancel-button = Mégse -pdfjs-editor-alt-text-save-button = Mentés -pdfjs-editor-alt-text-decorative-tooltip = Megjelölve dekoratívként -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Például: „Egy fiatal férfi leül enni egy asztalhoz” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Bal felső sarok – átméretezés -pdfjs-editor-resizer-label-top-middle = Felül középen – átméretezés -pdfjs-editor-resizer-label-top-right = Jobb felső sarok – átméretezés -pdfjs-editor-resizer-label-middle-right = Jobbra középen – átméretezés -pdfjs-editor-resizer-label-bottom-right = Jobb alsó sarok – átméretezés -pdfjs-editor-resizer-label-bottom-middle = Alul középen – átméretezés -pdfjs-editor-resizer-label-bottom-left = Bal alsó sarok – átméretezés -pdfjs-editor-resizer-label-middle-left = Balra középen – átméretezés - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Kiemelés színe -pdfjs-editor-colorpicker-button = - .title = Szín módosítása -pdfjs-editor-colorpicker-dropdown = - .aria-label = Színválasztások -pdfjs-editor-colorpicker-yellow = - .title = Sárga -pdfjs-editor-colorpicker-green = - .title = Zöld -pdfjs-editor-colorpicker-blue = - .title = Kék -pdfjs-editor-colorpicker-pink = - .title = Rózsaszín -pdfjs-editor-colorpicker-red = - .title = Vörös - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Összes megjelenítése -pdfjs-editor-highlight-show-all-button = - .title = Összes megjelenítése diff --git a/media/js/pdf4/web/locale/hy-AM/viewer.ftl b/media/js/pdf4/web/locale/hy-AM/viewer.ftl deleted file mode 100644 index 31f9224e8c..0000000000 --- a/media/js/pdf4/web/locale/hy-AM/viewer.ftl +++ /dev/null @@ -1,251 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Նախորդ էջը -pdfjs-previous-button-label = Նախորդը -pdfjs-next-button = - .title = Հաջորդ էջը -pdfjs-next-button-label = Հաջորդը -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Էջ. -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = -ը՝ { $pagesCount }-ից -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber }-ը { $pagesCount })-ից -pdfjs-zoom-out-button = - .title = Փոքրացնել -pdfjs-zoom-out-button-label = Փոքրացնել -pdfjs-zoom-in-button = - .title = Խոշորացնել -pdfjs-zoom-in-button-label = Խոշորացնել -pdfjs-zoom-select = - .title = Մասշտաբ -pdfjs-presentation-mode-button = - .title = Անցնել Ներկայացման եղանակին -pdfjs-presentation-mode-button-label = Ներկայացման եղանակ -pdfjs-open-file-button = - .title = Բացել նիշք -pdfjs-open-file-button-label = Բացել -pdfjs-print-button = - .title = Տպել -pdfjs-print-button-label = Տպել - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Գործիքներ -pdfjs-tools-button-label = Գործիքներ -pdfjs-first-page-button = - .title = Անցնել առաջին էջին -pdfjs-first-page-button-label = Անցնել առաջին էջին -pdfjs-last-page-button = - .title = Անցնել վերջին էջին -pdfjs-last-page-button-label = Անցնել վերջին էջին -pdfjs-page-rotate-cw-button = - .title = Պտտել ըստ ժամացույցի սլաքի -pdfjs-page-rotate-cw-button-label = Պտտել ըստ ժամացույցի սլաքի -pdfjs-page-rotate-ccw-button = - .title = Պտտել հակառակ ժամացույցի սլաքի -pdfjs-page-rotate-ccw-button-label = Պտտել հակառակ ժամացույցի սլաքի -pdfjs-cursor-text-select-tool-button = - .title = Միացնել գրույթ ընտրելու գործիքը -pdfjs-cursor-text-select-tool-button-label = Գրույթը ընտրելու գործիք -pdfjs-cursor-hand-tool-button = - .title = Միացնել Ձեռքի գործիքը -pdfjs-cursor-hand-tool-button-label = Ձեռքի գործիք -pdfjs-scroll-vertical-button = - .title = Օգտագործել ուղղահայաց ոլորում -pdfjs-scroll-vertical-button-label = Ուղղահայաց ոլորում -pdfjs-scroll-horizontal-button = - .title = Օգտագործել հորիզոնական ոլորում -pdfjs-scroll-horizontal-button-label = Հորիզոնական ոլորում -pdfjs-scroll-wrapped-button = - .title = Օգտագործել փաթաթված ոլորում -pdfjs-scroll-wrapped-button-label = Փաթաթված ոլորում -pdfjs-spread-none-button = - .title = Մի միացեք էջի վերածածկերին -pdfjs-spread-none-button-label = Չկա վերածածկեր -pdfjs-spread-odd-button = - .title = Միացեք էջի վերածածկերին սկսելով՝ կենտ համարակալված էջերով -pdfjs-spread-odd-button-label = Կենտ վերածածկեր -pdfjs-spread-even-button = - .title = Միացեք էջի վերածածկերին սկսելով՝ զույգ համարակալված էջերով -pdfjs-spread-even-button-label = Զույգ վերածածկեր - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Փաստաթղթի հատկությունները… -pdfjs-document-properties-button-label = Փաստաթղթի հատկությունները… -pdfjs-document-properties-file-name = Նիշքի անունը. -pdfjs-document-properties-file-size = Նիշք չափը. -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } ԿԲ ({ $size_b } բայթ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } ՄԲ ({ $size_b } բայթ) -pdfjs-document-properties-title = Վերնագիր. -pdfjs-document-properties-author = Հեղինակ․ -pdfjs-document-properties-subject = Վերնագիր. -pdfjs-document-properties-keywords = Հիմնաբառ. -pdfjs-document-properties-creation-date = Ստեղծելու ամսաթիվը. -pdfjs-document-properties-modification-date = Փոփոխելու ամսաթիվը. -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Ստեղծող. -pdfjs-document-properties-producer = PDF-ի հեղինակը. -pdfjs-document-properties-version = PDF-ի տարբերակը. -pdfjs-document-properties-page-count = Էջերի քանակը. -pdfjs-document-properties-page-size = Էջի չափը. -pdfjs-document-properties-page-size-unit-inches = ում -pdfjs-document-properties-page-size-unit-millimeters = մմ -pdfjs-document-properties-page-size-orientation-portrait = ուղղաձիգ -pdfjs-document-properties-page-size-orientation-landscape = հորիզոնական -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Նամակ -pdfjs-document-properties-page-size-name-legal = Օրինական - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Արագ վեբ դիտում․ -pdfjs-document-properties-linearized-yes = Այո -pdfjs-document-properties-linearized-no = Ոչ -pdfjs-document-properties-close-button = Փակել - -## Print - -pdfjs-print-progress-message = Նախապատրաստում է փաստաթուղթը տպելուն... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Չեղարկել -pdfjs-printing-not-supported = Զգուշացում. Տպելը ամբողջությամբ չի աջակցվում դիտարկիչի կողմից։ -pdfjs-printing-not-ready = Զգուշացում. PDF-ը ամբողջությամբ չի բեռնավորվել տպելու համար: - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Բացել/Փակել Կողային վահանակը -pdfjs-toggle-sidebar-button-label = Բացել/Փակել Կողային վահանակը -pdfjs-document-outline-button = - .title = Ցուցադրել փաստաթղթի ուրվագիծը (կրկնակի սեղմեք՝ միավորները ընդարձակելու/կոծկելու համար) -pdfjs-document-outline-button-label = Փաստաթղթի բովանդակությունը -pdfjs-attachments-button = - .title = Ցուցադրել կցորդները -pdfjs-attachments-button-label = Կցորդներ -pdfjs-thumbs-button = - .title = Ցուցադրել Մանրապատկերը -pdfjs-thumbs-button-label = Մանրապատկերը -pdfjs-findbar-button = - .title = Գտնել փաստաթղթում -pdfjs-findbar-button-label = Որոնում - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Էջը { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Էջի մանրապատկերը { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Որոնում - .placeholder = Գտնել փաստաթղթում... -pdfjs-find-previous-button = - .title = Գտնել անրահայտության նախորդ հանդիպումը -pdfjs-find-previous-button-label = Նախորդը -pdfjs-find-next-button = - .title = Գտիր արտահայտության հաջորդ հանդիպումը -pdfjs-find-next-button-label = Հաջորդը -pdfjs-find-highlight-checkbox = Գունանշել բոլորը -pdfjs-find-match-case-checkbox-label = Մեծ(փոքր)ատառ հաշվի առնել -pdfjs-find-entire-word-checkbox-label = Ամբողջ բառերը -pdfjs-find-reached-top = Հասել եք փաստաթղթի վերևին, կշարունակվի ներքևից -pdfjs-find-reached-bottom = Հասել եք փաստաթղթի վերջին, կշարունակվի վերևից -pdfjs-find-not-found = Արտահայտությունը չգտնվեց - -## Predefined zoom values - -pdfjs-page-scale-width = Էջի լայնքը -pdfjs-page-scale-fit = Ձգել էջը -pdfjs-page-scale-auto = Ինքնաշխատ -pdfjs-page-scale-actual = Իրական չափը -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Սխալ՝ PDF ֆայլը բացելիս։ -pdfjs-invalid-file-error = Սխալ կամ վնասված PDF ֆայլ: -pdfjs-missing-file-error = PDF ֆայլը բացակայում է: -pdfjs-unexpected-response-error = Սպասարկիչի անսպասելի պատասխան: -pdfjs-rendering-error = Սխալ՝ էջը ստեղծելիս: - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Ծանոթություն] - -## Password - -pdfjs-password-label = Մուտքագրեք PDF-ի գաղտնաբառը: -pdfjs-password-invalid = Գաղտնաբառը սխալ է: Կրկին փորձեք: -pdfjs-password-ok-button = Լավ -pdfjs-password-cancel-button = Չեղարկել -pdfjs-web-fonts-disabled = Վեբ-տառատեսակները անջատված են. հնարավոր չէ օգտագործել ներկառուցված PDF տառատեսակները: - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/hye/viewer.ftl b/media/js/pdf4/web/locale/hye/viewer.ftl deleted file mode 100644 index 75cdc06431..0000000000 --- a/media/js/pdf4/web/locale/hye/viewer.ftl +++ /dev/null @@ -1,268 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Նախորդ էջ -pdfjs-previous-button-label = Նախորդը -pdfjs-next-button = - .title = Յաջորդ էջ -pdfjs-next-button-label = Յաջորդը -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = էջ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount }-ից -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber }-ը { $pagesCount })-ից -pdfjs-zoom-out-button = - .title = Փոքրացնել -pdfjs-zoom-out-button-label = Փոքրացնել -pdfjs-zoom-in-button = - .title = Խոշորացնել -pdfjs-zoom-in-button-label = Խոշորացնել -pdfjs-zoom-select = - .title = Խոշորացում -pdfjs-presentation-mode-button = - .title = Անցնել ներկայացման եղանակին -pdfjs-presentation-mode-button-label = Ներկայացման եղանակ -pdfjs-open-file-button = - .title = Բացել նիշքը -pdfjs-open-file-button-label = Բացել -pdfjs-print-button = - .title = Տպել -pdfjs-print-button-label = Տպել - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Գործիքներ -pdfjs-tools-button-label = Գործիքներ -pdfjs-first-page-button = - .title = Գնալ դէպի առաջին էջ -pdfjs-first-page-button-label = Գնալ դէպի առաջին էջ -pdfjs-last-page-button = - .title = Գնալ դէպի վերջին էջ -pdfjs-last-page-button-label = Գնալ դէպի վերջին էջ -pdfjs-page-rotate-cw-button = - .title = Պտտել ժամացոյցի սլաքի ուղղութեամբ -pdfjs-page-rotate-cw-button-label = Պտտել ժամացոյցի սլաքի ուղղութեամբ -pdfjs-page-rotate-ccw-button = - .title = Պտտել ժամացոյցի սլաքի հակառակ ուղղութեամբ -pdfjs-page-rotate-ccw-button-label = Պտտել ժամացոյցի սլաքի հակառակ ուղղութեամբ -pdfjs-cursor-text-select-tool-button = - .title = Միացնել գրոյթ ընտրելու գործիքը -pdfjs-cursor-text-select-tool-button-label = Գրուածք ընտրելու գործիք -pdfjs-cursor-hand-tool-button = - .title = Միացնել ձեռքի գործիքը -pdfjs-cursor-hand-tool-button-label = Ձեռքի գործիք -pdfjs-scroll-page-button = - .title = Աւգտագործել էջի ոլորում -pdfjs-scroll-page-button-label = Էջի ոլորում -pdfjs-scroll-vertical-button = - .title = Աւգտագործել ուղղահայեաց ոլորում -pdfjs-scroll-vertical-button-label = Ուղղահայեաց ոլորում -pdfjs-scroll-horizontal-button = - .title = Աւգտագործել հորիզոնական ոլորում -pdfjs-scroll-horizontal-button-label = Հորիզոնական ոլորում -pdfjs-scroll-wrapped-button = - .title = Աւգտագործել փաթաթուած ոլորում -pdfjs-scroll-wrapped-button-label = Փաթաթուած ոլորում -pdfjs-spread-none-button = - .title = Մի միացէք էջի կոնտեքստում -pdfjs-spread-none-button-label = Չկայ կոնտեքստ -pdfjs-spread-odd-button = - .title = Միացէք էջի կոնտեքստին սկսելով՝ կենտ համարակալուած էջերով -pdfjs-spread-odd-button-label = Տարաւրինակ կոնտեքստ -pdfjs-spread-even-button = - .title = Միացէք էջի կոնտեքստին սկսելով՝ զոյգ համարակալուած էջերով -pdfjs-spread-even-button-label = Հաւասար վերածածկեր - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Փաստաթղթի հատկութիւնները… -pdfjs-document-properties-button-label = Փաստաթղթի յատկութիւնները… -pdfjs-document-properties-file-name = Նիշքի անունը․ -pdfjs-document-properties-file-size = Նիշք չափը. -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } ԿԲ ({ $size_b } բայթ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } ՄԲ ({ $size_b } բայթ) -pdfjs-document-properties-title = Վերնագիր -pdfjs-document-properties-author = Հեղինակ․ -pdfjs-document-properties-subject = առարկայ -pdfjs-document-properties-keywords = Հիմնաբառեր -pdfjs-document-properties-creation-date = Ստեղծման ամսաթիւ -pdfjs-document-properties-modification-date = Փոփոխութեան ամսաթիւ. -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Ստեղծող -pdfjs-document-properties-producer = PDF-ի Արտադրողը. -pdfjs-document-properties-version = PDF-ի տարբերակը. -pdfjs-document-properties-page-count = Էջերի քանակը. -pdfjs-document-properties-page-size = Էջի չափը. -pdfjs-document-properties-page-size-unit-inches = ում -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = ուղղաձիգ -pdfjs-document-properties-page-size-orientation-landscape = հորիզոնական -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Նամակ -pdfjs-document-properties-page-size-name-legal = Աւրինական - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Արագ վեբ դիտում․ -pdfjs-document-properties-linearized-yes = Այո -pdfjs-document-properties-linearized-no = Ոչ -pdfjs-document-properties-close-button = Փակել - -## Print - -pdfjs-print-progress-message = Նախապատրաստում է փաստաթուղթը տպելուն… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Չեղարկել -pdfjs-printing-not-supported = Զգուշացում. Տպելը ամբողջութեամբ չի աջակցուում զննարկիչի կողմից։ -pdfjs-printing-not-ready = Զգուշացում. PDF֊ը ամբողջութեամբ չի բեռնաւորուել տպելու համար։ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Փոխարկել կողային վահանակը -pdfjs-toggle-sidebar-notification-button = - .title = Փոխանջատել կողմնասիւնը (փաստաթուղթը պարունակում է ուրուագիծ/կցորդներ/շերտեր) -pdfjs-toggle-sidebar-button-label = Փոխարկել կողային վահանակը -pdfjs-document-outline-button = - .title = Ցուցադրել փաստաթղթի ուրուագիծը (կրկնակի սեղմէք՝ միաւորները ընդարձակելու/կոծկելու համար) -pdfjs-document-outline-button-label = Փաստաթղթի ուրուագիծ -pdfjs-attachments-button = - .title = Ցուցադրել կցորդները -pdfjs-attachments-button-label = Կցորդներ -pdfjs-layers-button = - .title = Ցուցադրել շերտերը (կրկնահպել վերակայելու բոլոր շերտերը սկզբնադիր վիճակի) -pdfjs-layers-button-label = Շերտեր -pdfjs-thumbs-button = - .title = Ցուցադրել մանրապատկերը -pdfjs-thumbs-button-label = Մանրապատկեր -pdfjs-current-outline-item-button = - .title = Գտէք ընթացիկ գծագրման տարրը -pdfjs-current-outline-item-button-label = Ընթացիկ գծագրման տարր -pdfjs-findbar-button = - .title = Գտնել փաստաթղթում -pdfjs-findbar-button-label = Որոնում -pdfjs-additional-layers = Լրացուցիչ շերտեր - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Էջը { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Էջի մանրապատկերը { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Որոնում - .placeholder = Գտնել փաստաթղթում… -pdfjs-find-previous-button = - .title = Գտնել արտայայտութեան նախորդ արտայայտութիւնը -pdfjs-find-previous-button-label = Նախորդը -pdfjs-find-next-button = - .title = Գտիր արտայայտութեան յաջորդ արտայայտութիւնը -pdfjs-find-next-button-label = Հաջորդը -pdfjs-find-highlight-checkbox = Գունանշել բոլորը -pdfjs-find-match-case-checkbox-label = Հաշուի առնել հանգամանքը -pdfjs-find-match-diacritics-checkbox-label = Հնչիւնատարբերիչ նշանների համապատասխանեցում -pdfjs-find-entire-word-checkbox-label = Ամբողջ բառերը -pdfjs-find-reached-top = Հասել եք փաստաթղթի վերեւին,շարունակել ներքեւից -pdfjs-find-reached-bottom = Հասել էք փաստաթղթի վերջին, շարունակել վերեւից -pdfjs-find-not-found = Արտայայտութիւնը չգտնուեց - -## Predefined zoom values - -pdfjs-page-scale-width = Էջի լայնութիւն -pdfjs-page-scale-fit = Հարմարեցնել էջը -pdfjs-page-scale-auto = Ինքնաշխատ խոշորացում -pdfjs-page-scale-actual = Իրական չափը -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Էջ { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF նիշքը բացելիս սխալ է տեղի ունեցել։ -pdfjs-invalid-file-error = Սխալ կամ վնասուած PDF նիշք։ -pdfjs-missing-file-error = PDF նիշքը բացակաիւմ է։ -pdfjs-unexpected-response-error = Սպասարկիչի անսպասելի պատասխան։ -pdfjs-rendering-error = Սխալ է տեղի ունեցել էջի մեկնաբանման ժամանակ - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Ծանոթութիւն] - -## Password - -pdfjs-password-label = Մուտքագրէք գաղտնաբառը այս PDF նիշքը բացելու համար -pdfjs-password-invalid = Գաղտնաբառը սխալ է: Կրկին փորձէք: -pdfjs-password-ok-button = Լաւ -pdfjs-password-cancel-button = Չեղարկել -pdfjs-web-fonts-disabled = Վեբ-տառատեսակները անջատուած են. հնարաւոր չէ աւգտագործել ներկառուցուած PDF տառատեսակները։ - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ia/viewer.ftl b/media/js/pdf4/web/locale/ia/viewer.ftl deleted file mode 100644 index 59f3e56e2a..0000000000 --- a/media/js/pdf4/web/locale/ia/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina previe -pdfjs-previous-button-label = Previe -pdfjs-next-button = - .title = Pagina sequente -pdfjs-next-button-label = Sequente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Distantiar -pdfjs-zoom-out-button-label = Distantiar -pdfjs-zoom-in-button = - .title = Approximar -pdfjs-zoom-in-button-label = Approximar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Excambiar a modo presentation -pdfjs-presentation-mode-button-label = Modo presentation -pdfjs-open-file-button = - .title = Aperir le file -pdfjs-open-file-button-label = Aperir -pdfjs-print-button = - .title = Imprimer -pdfjs-print-button-label = Imprimer -pdfjs-save-button = - .title = Salvar -pdfjs-save-button-label = Salvar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Discargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Discargar -pdfjs-bookmark-button = - .title = Pagina actual (vide le URL del pagina actual) -pdfjs-bookmark-button-label = Pagina actual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Aperir in app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Aperir in app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Instrumentos -pdfjs-tools-button-label = Instrumentos -pdfjs-first-page-button = - .title = Ir al prime pagina -pdfjs-first-page-button-label = Ir al prime pagina -pdfjs-last-page-button = - .title = Ir al prime pagina -pdfjs-last-page-button-label = Ir al prime pagina -pdfjs-page-rotate-cw-button = - .title = Rotar in senso horari -pdfjs-page-rotate-cw-button-label = Rotar in senso horari -pdfjs-page-rotate-ccw-button = - .title = Rotar in senso antihorari -pdfjs-page-rotate-ccw-button-label = Rotar in senso antihorari -pdfjs-cursor-text-select-tool-button = - .title = Activar le instrumento de selection de texto -pdfjs-cursor-text-select-tool-button-label = Instrumento de selection de texto -pdfjs-cursor-hand-tool-button = - .title = Activar le instrumento mano -pdfjs-cursor-hand-tool-button-label = Instrumento mano -pdfjs-scroll-page-button = - .title = Usar rolamento de pagina -pdfjs-scroll-page-button-label = Rolamento de pagina -pdfjs-scroll-vertical-button = - .title = Usar rolamento vertical -pdfjs-scroll-vertical-button-label = Rolamento vertical -pdfjs-scroll-horizontal-button = - .title = Usar rolamento horizontal -pdfjs-scroll-horizontal-button-label = Rolamento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar rolamento incapsulate -pdfjs-scroll-wrapped-button-label = Rolamento incapsulate -pdfjs-spread-none-button = - .title = Non junger paginas dual -pdfjs-spread-none-button-label = Sin paginas dual -pdfjs-spread-odd-button = - .title = Junger paginas dual a partir de paginas con numeros impar -pdfjs-spread-odd-button-label = Paginas dual impar -pdfjs-spread-even-button = - .title = Junger paginas dual a partir de paginas con numeros par -pdfjs-spread-even-button-label = Paginas dual par - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Proprietates del documento… -pdfjs-document-properties-button-label = Proprietates del documento… -pdfjs-document-properties-file-name = Nomine del file: -pdfjs-document-properties-file-size = Dimension de file: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titulo: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Subjecto: -pdfjs-document-properties-keywords = Parolas clave: -pdfjs-document-properties-creation-date = Data de creation: -pdfjs-document-properties-modification-date = Data de modification: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creator: -pdfjs-document-properties-producer = Productor PDF: -pdfjs-document-properties-version = Version PDF: -pdfjs-document-properties-page-count = Numero de paginas: -pdfjs-document-properties-page-size = Dimension del pagina: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = horizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Littera -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web rapide: -pdfjs-document-properties-linearized-yes = Si -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Clauder - -## Print - -pdfjs-print-progress-message = Preparation del documento pro le impression… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancellar -pdfjs-printing-not-supported = Attention : le impression non es totalmente supportate per ce navigator. -pdfjs-printing-not-ready = Attention: le file PDF non es integremente cargate pro lo poter imprimer. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Monstrar/celar le barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Monstrar/celar le barra lateral (le documento contine structura/attachamentos/stratos) -pdfjs-toggle-sidebar-button-label = Monstrar/celar le barra lateral -pdfjs-document-outline-button = - .title = Monstrar le schema del documento (clic duple pro expander/contraher tote le elementos) -pdfjs-document-outline-button-label = Schema del documento -pdfjs-attachments-button = - .title = Monstrar le annexos -pdfjs-attachments-button-label = Annexos -pdfjs-layers-button = - .title = Monstrar stratos (clicca duple pro remontar tote le stratos al stato predefinite) -pdfjs-layers-button-label = Stratos -pdfjs-thumbs-button = - .title = Monstrar le vignettes -pdfjs-thumbs-button-label = Vignettes -pdfjs-current-outline-item-button = - .title = Trovar le elemento de structura actual -pdfjs-current-outline-item-button-label = Elemento de structura actual -pdfjs-findbar-button = - .title = Cercar in le documento -pdfjs-findbar-button-label = Cercar -pdfjs-additional-layers = Altere stratos - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Vignette del pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Cercar - .placeholder = Cercar in le documento… -pdfjs-find-previous-button = - .title = Trovar le previe occurrentia del phrase -pdfjs-find-previous-button-label = Previe -pdfjs-find-next-button = - .title = Trovar le successive occurrentia del phrase -pdfjs-find-next-button-label = Sequente -pdfjs-find-highlight-checkbox = Evidentiar toto -pdfjs-find-match-case-checkbox-label = Distinguer majusculas/minusculas -pdfjs-find-match-diacritics-checkbox-label = Differentiar diacriticos -pdfjs-find-entire-word-checkbox-label = Parolas integre -pdfjs-find-reached-top = Initio del documento attingite, continuation ab fin -pdfjs-find-reached-bottom = Fin del documento attingite, continuation ab initio -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } de { $total } correspondentia - *[other] { $current } de { $total } correspondentias - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Plus de { $limit } correspondentia - *[other] Plus de { $limit } correspondentias - } -pdfjs-find-not-found = Phrase non trovate - -## Predefined zoom values - -pdfjs-page-scale-width = Plen largor del pagina -pdfjs-page-scale-fit = Pagina integre -pdfjs-page-scale-auto = Zoom automatic -pdfjs-page-scale-actual = Dimension real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Un error occurreva durante que on cargava le file PDF. -pdfjs-invalid-file-error = File PDF corrumpite o non valide. -pdfjs-missing-file-error = File PDF mancante. -pdfjs-unexpected-response-error = Responsa del servitor inexpectate. -pdfjs-rendering-error = Un error occurreva durante que on processava le pagina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Insere le contrasigno pro aperir iste file PDF. -pdfjs-password-invalid = Contrasigno invalide. Per favor retenta. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancellar -pdfjs-web-fonts-disabled = Le typos de litteras web es disactivate: impossibile usar le typos de litteras PDF incorporate. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Designar -pdfjs-editor-ink-button-label = Designar -pdfjs-editor-stamp-button = - .title = Adder o rediger imagines -pdfjs-editor-stamp-button-label = Adder o rediger imagines -pdfjs-editor-highlight-button = - .title = Evidentia -pdfjs-editor-highlight-button-label = Evidentia -pdfjs-highlight-floating-button = - .title = Evidentiar -pdfjs-highlight-floating-button1 = - .title = Evidentiar - .aria-label = Evidentiar -pdfjs-highlight-floating-button-label = Evidentiar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remover le designo -pdfjs-editor-remove-freetext-button = - .title = Remover texto -pdfjs-editor-remove-stamp-button = - .title = Remover imagine -pdfjs-editor-remove-highlight-button = - .title = Remover evidentia - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Dimension -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Spissor -pdfjs-editor-ink-opacity-input = Opacitate -pdfjs-editor-stamp-add-image-button = - .title = Adder imagine -pdfjs-editor-stamp-add-image-button-label = Adder imagine -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Spissor -pdfjs-editor-free-highlight-thickness-title = - .title = Cambiar spissor evidentiante elementos differente de texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Comenciar a scriber… -pdfjs-ink = - .aria-label = Editor de designos -pdfjs-ink-canvas = - .aria-label = Imagine create per le usator - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternative -pdfjs-editor-alt-text-edit-button-label = Rediger texto alternative -pdfjs-editor-alt-text-dialog-label = Elige un option -pdfjs-editor-alt-text-dialog-description = Le texto alternative (alt text) adjuta quando le personas non pote vider le imagine o quando illo non carga. -pdfjs-editor-alt-text-add-description-label = Adder un description -pdfjs-editor-alt-text-add-description-description = Mira a 1-2 phrases que describe le subjecto, parametro, o actiones. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorative -pdfjs-editor-alt-text-mark-decorative-description = Isto es usate pro imagines ornamental, como bordaturas o filigranas. -pdfjs-editor-alt-text-cancel-button = Cancellar -pdfjs-editor-alt-text-save-button = Salvar -pdfjs-editor-alt-text-decorative-tooltip = Marcate como decorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Per exemplo, “Un juvene sede a un tabula pro mangiar un repasto” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Angulo superior sinistre — redimensionar -pdfjs-editor-resizer-label-top-middle = Medio superior — redimensionar -pdfjs-editor-resizer-label-top-right = Angulo superior dextre — redimensionar -pdfjs-editor-resizer-label-middle-right = Medio dextre — redimensionar -pdfjs-editor-resizer-label-bottom-right = Angulo inferior dextre — redimensionar -pdfjs-editor-resizer-label-bottom-middle = Medio inferior — redimensionar -pdfjs-editor-resizer-label-bottom-left = Angulo inferior sinistre — redimensionar -pdfjs-editor-resizer-label-middle-left = Medio sinistre — redimensionar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Color pro evidentiar -pdfjs-editor-colorpicker-button = - .title = Cambiar color -pdfjs-editor-colorpicker-dropdown = - .aria-label = Electiones del color -pdfjs-editor-colorpicker-yellow = - .title = Jalne -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Blau -pdfjs-editor-colorpicker-pink = - .title = Rosate -pdfjs-editor-colorpicker-red = - .title = Rubie - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Monstrar toto -pdfjs-editor-highlight-show-all-button = - .title = Monstrar toto diff --git a/media/js/pdf4/web/locale/id/viewer.ftl b/media/js/pdf4/web/locale/id/viewer.ftl deleted file mode 100644 index fee8d18bfc..0000000000 --- a/media/js/pdf4/web/locale/id/viewer.ftl +++ /dev/null @@ -1,293 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Laman Sebelumnya -pdfjs-previous-button-label = Sebelumnya -pdfjs-next-button = - .title = Laman Selanjutnya -pdfjs-next-button-label = Selanjutnya -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Halaman -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = dari { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } dari { $pagesCount }) -pdfjs-zoom-out-button = - .title = Perkecil -pdfjs-zoom-out-button-label = Perkecil -pdfjs-zoom-in-button = - .title = Perbesar -pdfjs-zoom-in-button-label = Perbesar -pdfjs-zoom-select = - .title = Perbesaran -pdfjs-presentation-mode-button = - .title = Ganti ke Mode Presentasi -pdfjs-presentation-mode-button-label = Mode Presentasi -pdfjs-open-file-button = - .title = Buka Berkas -pdfjs-open-file-button-label = Buka -pdfjs-print-button = - .title = Cetak -pdfjs-print-button-label = Cetak -pdfjs-save-button = - .title = Simpan -pdfjs-save-button-label = Simpan -pdfjs-bookmark-button = - .title = Laman Saat Ini (Lihat URL dari Laman Sekarang) -pdfjs-bookmark-button-label = Laman Saat Ini - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Alat -pdfjs-tools-button-label = Alat -pdfjs-first-page-button = - .title = Buka Halaman Pertama -pdfjs-first-page-button-label = Buka Halaman Pertama -pdfjs-last-page-button = - .title = Buka Halaman Terakhir -pdfjs-last-page-button-label = Buka Halaman Terakhir -pdfjs-page-rotate-cw-button = - .title = Putar Searah Jarum Jam -pdfjs-page-rotate-cw-button-label = Putar Searah Jarum Jam -pdfjs-page-rotate-ccw-button = - .title = Putar Berlawanan Arah Jarum Jam -pdfjs-page-rotate-ccw-button-label = Putar Berlawanan Arah Jarum Jam -pdfjs-cursor-text-select-tool-button = - .title = Aktifkan Alat Seleksi Teks -pdfjs-cursor-text-select-tool-button-label = Alat Seleksi Teks -pdfjs-cursor-hand-tool-button = - .title = Aktifkan Alat Tangan -pdfjs-cursor-hand-tool-button-label = Alat Tangan -pdfjs-scroll-page-button = - .title = Gunakan Pengguliran Laman -pdfjs-scroll-page-button-label = Pengguliran Laman -pdfjs-scroll-vertical-button = - .title = Gunakan Penggeseran Vertikal -pdfjs-scroll-vertical-button-label = Penggeseran Vertikal -pdfjs-scroll-horizontal-button = - .title = Gunakan Penggeseran Horizontal -pdfjs-scroll-horizontal-button-label = Penggeseran Horizontal -pdfjs-scroll-wrapped-button = - .title = Gunakan Penggeseran Terapit -pdfjs-scroll-wrapped-button-label = Penggeseran Terapit -pdfjs-spread-none-button = - .title = Jangan gabungkan lembar halaman -pdfjs-spread-none-button-label = Tidak Ada Lembaran -pdfjs-spread-odd-button = - .title = Gabungkan lembar lamanan mulai dengan halaman ganjil -pdfjs-spread-odd-button-label = Lembaran Ganjil -pdfjs-spread-even-button = - .title = Gabungkan lembar halaman dimulai dengan halaman genap -pdfjs-spread-even-button-label = Lembaran Genap - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Properti Dokumen… -pdfjs-document-properties-button-label = Properti Dokumen… -pdfjs-document-properties-file-name = Nama berkas: -pdfjs-document-properties-file-size = Ukuran berkas: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Judul: -pdfjs-document-properties-author = Penyusun: -pdfjs-document-properties-subject = Subjek: -pdfjs-document-properties-keywords = Kata Kunci: -pdfjs-document-properties-creation-date = Tanggal Dibuat: -pdfjs-document-properties-modification-date = Tanggal Dimodifikasi: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Pembuat: -pdfjs-document-properties-producer = Pemroduksi PDF: -pdfjs-document-properties-version = Versi PDF: -pdfjs-document-properties-page-count = Jumlah Halaman: -pdfjs-document-properties-page-size = Ukuran Laman: -pdfjs-document-properties-page-size-unit-inches = inci -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = tegak -pdfjs-document-properties-page-size-orientation-landscape = mendatar -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Tampilan Web Kilat: -pdfjs-document-properties-linearized-yes = Ya -pdfjs-document-properties-linearized-no = Tidak -pdfjs-document-properties-close-button = Tutup - -## Print - -pdfjs-print-progress-message = Menyiapkan dokumen untuk pencetakan… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Batalkan -pdfjs-printing-not-supported = Peringatan: Pencetakan tidak didukung secara lengkap pada peramban ini. -pdfjs-printing-not-ready = Peringatan: Berkas PDF masih belum dimuat secara lengkap untuk dapat dicetak. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Aktif/Nonaktifkan Bilah Samping -pdfjs-toggle-sidebar-notification-button = - .title = Aktif/Nonaktifkan Bilah Samping (dokumen berisi kerangka/lampiran/lapisan) -pdfjs-toggle-sidebar-button-label = Aktif/Nonaktifkan Bilah Samping -pdfjs-document-outline-button = - .title = Tampilkan Kerangka Dokumen (klik ganda untuk membentangkan/menciutkan semua item) -pdfjs-document-outline-button-label = Kerangka Dokumen -pdfjs-attachments-button = - .title = Tampilkan Lampiran -pdfjs-attachments-button-label = Lampiran -pdfjs-layers-button = - .title = Tampilkan Lapisan (klik ganda untuk mengatur ulang semua lapisan ke keadaan baku) -pdfjs-layers-button-label = Lapisan -pdfjs-thumbs-button = - .title = Tampilkan Miniatur -pdfjs-thumbs-button-label = Miniatur -pdfjs-current-outline-item-button = - .title = Cari Butir Ikhtisar Saat Ini -pdfjs-current-outline-item-button-label = Butir Ikhtisar Saat Ini -pdfjs-findbar-button = - .title = Temukan di Dokumen -pdfjs-findbar-button-label = Temukan -pdfjs-additional-layers = Lapisan Tambahan - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Laman { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatur Laman { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Temukan - .placeholder = Temukan di dokumen… -pdfjs-find-previous-button = - .title = Temukan kata sebelumnya -pdfjs-find-previous-button-label = Sebelumnya -pdfjs-find-next-button = - .title = Temukan lebih lanjut -pdfjs-find-next-button-label = Selanjutnya -pdfjs-find-highlight-checkbox = Sorot semuanya -pdfjs-find-match-case-checkbox-label = Cocokkan BESAR/kecil -pdfjs-find-match-diacritics-checkbox-label = Pencocokan Diakritik -pdfjs-find-entire-word-checkbox-label = Seluruh teks -pdfjs-find-reached-top = Sampai di awal dokumen, dilanjutkan dari bawah -pdfjs-find-reached-bottom = Sampai di akhir dokumen, dilanjutkan dari atas -pdfjs-find-not-found = Frasa tidak ditemukan - -## Predefined zoom values - -pdfjs-page-scale-width = Lebar Laman -pdfjs-page-scale-fit = Muat Laman -pdfjs-page-scale-auto = Perbesaran Otomatis -pdfjs-page-scale-actual = Ukuran Asli -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Halaman { $page } - -## Loading indicator messages - -pdfjs-loading-error = Galat terjadi saat memuat PDF. -pdfjs-invalid-file-error = Berkas PDF tidak valid atau rusak. -pdfjs-missing-file-error = Berkas PDF tidak ada. -pdfjs-unexpected-response-error = Balasan server yang tidak diharapkan. -pdfjs-rendering-error = Galat terjadi saat merender laman. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotasi { $type }] - -## Password - -pdfjs-password-label = Masukkan sandi untuk membuka berkas PDF ini. -pdfjs-password-invalid = Sandi tidak valid. Silakan coba lagi. -pdfjs-password-ok-button = Oke -pdfjs-password-cancel-button = Batal -pdfjs-web-fonts-disabled = Font web dinonaktifkan: tidak dapat menggunakan font PDF yang tersemat. - -## Editing - -pdfjs-editor-free-text-button = - .title = Teks -pdfjs-editor-free-text-button-label = Teks -pdfjs-editor-ink-button = - .title = Gambar -pdfjs-editor-ink-button-label = Gambar -# Editor Parameters -pdfjs-editor-free-text-color-input = Warna -pdfjs-editor-free-text-size-input = Ukuran -pdfjs-editor-ink-color-input = Warna -pdfjs-editor-ink-thickness-input = Ketebalan -pdfjs-editor-ink-opacity-input = Opasitas -pdfjs-free-text = - .aria-label = Editor Teks -pdfjs-free-text-default-content = Mulai mengetik… -pdfjs-ink = - .aria-label = Editor Gambar -pdfjs-ink-canvas = - .aria-label = Gambar yang dibuat pengguna - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/is/viewer.ftl b/media/js/pdf4/web/locale/is/viewer.ftl deleted file mode 100644 index d3afef3eae..0000000000 --- a/media/js/pdf4/web/locale/is/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Fyrri síða -pdfjs-previous-button-label = Fyrri -pdfjs-next-button = - .title = Næsta síða -pdfjs-next-button-label = Næsti -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Síða -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = af { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } af { $pagesCount }) -pdfjs-zoom-out-button = - .title = Minnka aðdrátt -pdfjs-zoom-out-button-label = Minnka aðdrátt -pdfjs-zoom-in-button = - .title = Auka aðdrátt -pdfjs-zoom-in-button-label = Auka aðdrátt -pdfjs-zoom-select = - .title = Aðdráttur -pdfjs-presentation-mode-button = - .title = Skipta yfir á kynningarham -pdfjs-presentation-mode-button-label = Kynningarhamur -pdfjs-open-file-button = - .title = Opna skrá -pdfjs-open-file-button-label = Opna -pdfjs-print-button = - .title = Prenta -pdfjs-print-button-label = Prenta -pdfjs-save-button = - .title = Vista -pdfjs-save-button-label = Vista -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Sækja -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Sækja -pdfjs-bookmark-button = - .title = Núverandi síða (Skoða vefslóð frá núverandi síðu) -pdfjs-bookmark-button-label = Núverandi síða -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Opna í smáforriti -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Opna í smáforriti - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Verkfæri -pdfjs-tools-button-label = Verkfæri -pdfjs-first-page-button = - .title = Fara á fyrstu síðu -pdfjs-first-page-button-label = Fara á fyrstu síðu -pdfjs-last-page-button = - .title = Fara á síðustu síðu -pdfjs-last-page-button-label = Fara á síðustu síðu -pdfjs-page-rotate-cw-button = - .title = Snúa réttsælis -pdfjs-page-rotate-cw-button-label = Snúa réttsælis -pdfjs-page-rotate-ccw-button = - .title = Snúa rangsælis -pdfjs-page-rotate-ccw-button-label = Snúa rangsælis -pdfjs-cursor-text-select-tool-button = - .title = Virkja textavalsáhald -pdfjs-cursor-text-select-tool-button-label = Textavalsáhald -pdfjs-cursor-hand-tool-button = - .title = Virkja handarverkfæri -pdfjs-cursor-hand-tool-button-label = Handarverkfæri -pdfjs-scroll-page-button = - .title = Nota síðuskrun -pdfjs-scroll-page-button-label = Síðuskrun -pdfjs-scroll-vertical-button = - .title = Nota lóðrétt skrun -pdfjs-scroll-vertical-button-label = Lóðrétt skrun -pdfjs-scroll-horizontal-button = - .title = Nota lárétt skrun -pdfjs-scroll-horizontal-button-label = Lárétt skrun -pdfjs-scroll-wrapped-button = - .title = Nota línuskipt síðuskrun -pdfjs-scroll-wrapped-button-label = Línuskipt síðuskrun -pdfjs-spread-none-button = - .title = Ekki taka þátt í dreifingu síðna -pdfjs-spread-none-button-label = Engin dreifing -pdfjs-spread-odd-button = - .title = Taka þátt í dreifingu síðna með oddatölum -pdfjs-spread-odd-button-label = Oddatöludreifing -pdfjs-spread-even-button = - .title = Taktu þátt í dreifingu síðna með jöfnuntölum -pdfjs-spread-even-button-label = Jafnatöludreifing - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Eiginleikar skjals… -pdfjs-document-properties-button-label = Eiginleikar skjals… -pdfjs-document-properties-file-name = Skráarnafn: -pdfjs-document-properties-file-size = Skrárstærð: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titill: -pdfjs-document-properties-author = Hönnuður: -pdfjs-document-properties-subject = Efni: -pdfjs-document-properties-keywords = Stikkorð: -pdfjs-document-properties-creation-date = Búið til: -pdfjs-document-properties-modification-date = Dags breytingar: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Höfundur: -pdfjs-document-properties-producer = PDF framleiðandi: -pdfjs-document-properties-version = PDF útgáfa: -pdfjs-document-properties-page-count = Blaðsíðufjöldi: -pdfjs-document-properties-page-size = Stærð síðu: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = skammsnið -pdfjs-document-properties-page-size-orientation-landscape = langsnið -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fljótleg vefskoðun: -pdfjs-document-properties-linearized-yes = Já -pdfjs-document-properties-linearized-no = Nei -pdfjs-document-properties-close-button = Loka - -## Print - -pdfjs-print-progress-message = Undirbý skjal fyrir prentun… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Hætta við -pdfjs-printing-not-supported = Aðvörun: Prentun er ekki með fyllilegan stuðning á þessum vafra. -pdfjs-printing-not-ready = Aðvörun: Ekki er búið að hlaða inn allri PDF skránni fyrir prentun. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Víxla hliðarspjaldi af/á -pdfjs-toggle-sidebar-notification-button = - .title = Víxla hliðarslá (skjal inniheldur yfirlit/viðhengi/lög) -pdfjs-toggle-sidebar-button-label = Víxla hliðarspjaldi af/á -pdfjs-document-outline-button = - .title = Sýna yfirlit skjals (tvísmelltu til að opna/loka öllum hlutum) -pdfjs-document-outline-button-label = Efnisskipan skjals -pdfjs-attachments-button = - .title = Sýna viðhengi -pdfjs-attachments-button-label = Viðhengi -pdfjs-layers-button = - .title = Birta lög (tvísmelltu til að endurstilla öll lög í sjálfgefna stöðu) -pdfjs-layers-button-label = Lög -pdfjs-thumbs-button = - .title = Sýna smámyndir -pdfjs-thumbs-button-label = Smámyndir -pdfjs-current-outline-item-button = - .title = Finna núverandi atriði efnisskipunar -pdfjs-current-outline-item-button-label = Núverandi atriði efnisskipunar -pdfjs-findbar-button = - .title = Leita í skjali -pdfjs-findbar-button-label = Leita -pdfjs-additional-layers = Viðbótarlög - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Síða { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Smámynd af síðu { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Leita - .placeholder = Leita í skjali… -pdfjs-find-previous-button = - .title = Leita að fyrra tilfelli þessara orða -pdfjs-find-previous-button-label = Fyrri -pdfjs-find-next-button = - .title = Leita að næsta tilfelli þessara orða -pdfjs-find-next-button-label = Næsti -pdfjs-find-highlight-checkbox = Lita allt -pdfjs-find-match-case-checkbox-label = Passa við stafstöðu -pdfjs-find-match-diacritics-checkbox-label = Passa við broddstafi -pdfjs-find-entire-word-checkbox-label = Heil orð -pdfjs-find-reached-top = Náði efst í skjal, held áfram neðst -pdfjs-find-reached-bottom = Náði enda skjals, held áfram efst -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } af { $total } passar við - *[other] { $current } af { $total } passa við - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Fleiri en { $limit } passar við - *[other] Fleiri en { $limit } passa við - } -pdfjs-find-not-found = Fann ekki orðið - -## Predefined zoom values - -pdfjs-page-scale-width = Síðubreidd -pdfjs-page-scale-fit = Passa á síðu -pdfjs-page-scale-auto = Sjálfvirkur aðdráttur -pdfjs-page-scale-actual = Raunstærð -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Síða { $page } - -## Loading indicator messages - -pdfjs-loading-error = Villa kom upp við að hlaða inn PDF. -pdfjs-invalid-file-error = Ógild eða skemmd PDF skrá. -pdfjs-missing-file-error = Vantar PDF skrá. -pdfjs-unexpected-response-error = Óvænt svar frá netþjóni. -pdfjs-rendering-error = Upp kom villa við að birta síðuna. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Skýring] - -## Password - -pdfjs-password-label = Sláðu inn lykilorð til að opna þessa PDF skrá. -pdfjs-password-invalid = Ógilt lykilorð. Reyndu aftur. -pdfjs-password-ok-button = Í lagi -pdfjs-password-cancel-button = Hætta við -pdfjs-web-fonts-disabled = Vef leturgerðir eru óvirkar: get ekki notað innbyggðar PDF leturgerðir. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texti -pdfjs-editor-free-text-button-label = Texti -pdfjs-editor-ink-button = - .title = Teikna -pdfjs-editor-ink-button-label = Teikna -pdfjs-editor-stamp-button = - .title = Bæta við eða breyta myndum -pdfjs-editor-stamp-button-label = Bæta við eða breyta myndum -pdfjs-editor-highlight-button = - .title = Áherslulita -pdfjs-editor-highlight-button-label = Áherslulita -pdfjs-highlight-floating-button = - .title = Áherslulita -pdfjs-highlight-floating-button1 = - .title = Áherslulita - .aria-label = Áherslulita -pdfjs-highlight-floating-button-label = Áherslulita - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Fjarlægja teikningu -pdfjs-editor-remove-freetext-button = - .title = Fjarlægja texta -pdfjs-editor-remove-stamp-button = - .title = Fjarlægja mynd -pdfjs-editor-remove-highlight-button = - .title = Fjarlægja áherslulit - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Litur -pdfjs-editor-free-text-size-input = Stærð -pdfjs-editor-ink-color-input = Litur -pdfjs-editor-ink-thickness-input = Þykkt -pdfjs-editor-ink-opacity-input = Ógegnsæi -pdfjs-editor-stamp-add-image-button = - .title = Bæta við mynd -pdfjs-editor-stamp-add-image-button-label = Bæta við mynd -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Þykkt -pdfjs-editor-free-highlight-thickness-title = - .title = Breyta þykkt við áherslulitun annarra atriða en texta -pdfjs-free-text = - .aria-label = Textaritill -pdfjs-free-text-default-content = Byrjaðu að skrifa… -pdfjs-ink = - .aria-label = Teikniritill -pdfjs-ink-canvas = - .aria-label = Mynd gerð af notanda - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt-varatexti -pdfjs-editor-alt-text-edit-button-label = Breyta alt-varatexta -pdfjs-editor-alt-text-dialog-label = Veldu valkost -pdfjs-editor-alt-text-dialog-description = Alt-varatexti (auka-myndatexti) hjálpar þegar fólk getur ekki séð myndina eða þegar hún hleðst ekki inn. -pdfjs-editor-alt-text-add-description-label = Bættu við lýsingu -pdfjs-editor-alt-text-add-description-description = Reyndu að takmarka þetta við 1-2 setningar sem lýsa efninu, umhverfi eða aðgerðum. -pdfjs-editor-alt-text-mark-decorative-label = Merkja sem skraut -pdfjs-editor-alt-text-mark-decorative-description = Þetta er notað fyrir skrautmyndir, eins og borða eða vatnsmerki. -pdfjs-editor-alt-text-cancel-button = Hætta við -pdfjs-editor-alt-text-save-button = Vista -pdfjs-editor-alt-text-decorative-tooltip = Merkt sem skraut -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Til dæmis: „Ungur maður sest við borð til að snæða máltíð“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Efst í vinstra horni - breyta stærð -pdfjs-editor-resizer-label-top-middle = Efst á miðju - breyta stærð -pdfjs-editor-resizer-label-top-right = Efst í hægra horni - breyta stærð -pdfjs-editor-resizer-label-middle-right = Miðja til hægri - breyta stærð -pdfjs-editor-resizer-label-bottom-right = Neðst í hægra horni - breyta stærð -pdfjs-editor-resizer-label-bottom-middle = Neðst á miðju - breyta stærð -pdfjs-editor-resizer-label-bottom-left = Neðst í vinstra horni - breyta stærð -pdfjs-editor-resizer-label-middle-left = Miðja til vinstri - breyta stærð - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Áherslulitur -pdfjs-editor-colorpicker-button = - .title = Skipta um lit -pdfjs-editor-colorpicker-dropdown = - .aria-label = Val lita -pdfjs-editor-colorpicker-yellow = - .title = Gult -pdfjs-editor-colorpicker-green = - .title = Grænt -pdfjs-editor-colorpicker-blue = - .title = Blátt -pdfjs-editor-colorpicker-pink = - .title = Bleikt -pdfjs-editor-colorpicker-red = - .title = Rautt - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Birta allt -pdfjs-editor-highlight-show-all-button = - .title = Birta allt diff --git a/media/js/pdf4/web/locale/it/viewer.ftl b/media/js/pdf4/web/locale/it/viewer.ftl deleted file mode 100644 index 12e9ac20d7..0000000000 --- a/media/js/pdf4/web/locale/it/viewer.ftl +++ /dev/null @@ -1,401 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina precedente -pdfjs-previous-button-label = Precedente -pdfjs-next-button = - .title = Pagina successiva -pdfjs-next-button-label = Successiva -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = di { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } di { $pagesCount }) -pdfjs-zoom-out-button = - .title = Riduci zoom -pdfjs-zoom-out-button-label = Riduci zoom -pdfjs-zoom-in-button = - .title = Aumenta zoom -pdfjs-zoom-in-button-label = Aumenta zoom -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Passa alla modalità presentazione -pdfjs-presentation-mode-button-label = Modalità presentazione -pdfjs-open-file-button = - .title = Apri file -pdfjs-open-file-button-label = Apri -pdfjs-print-button = - .title = Stampa -pdfjs-print-button-label = Stampa -pdfjs-save-button = - .title = Salva -pdfjs-save-button-label = Salva -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Scarica -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Scarica -pdfjs-bookmark-button = - .title = Pagina corrente (mostra URL della pagina corrente) -pdfjs-bookmark-button-label = Pagina corrente - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Strumenti -pdfjs-tools-button-label = Strumenti -pdfjs-first-page-button = - .title = Vai alla prima pagina -pdfjs-first-page-button-label = Vai alla prima pagina -pdfjs-last-page-button = - .title = Vai all’ultima pagina -pdfjs-last-page-button-label = Vai all’ultima pagina -pdfjs-page-rotate-cw-button = - .title = Ruota in senso orario -pdfjs-page-rotate-cw-button-label = Ruota in senso orario -pdfjs-page-rotate-ccw-button = - .title = Ruota in senso antiorario -pdfjs-page-rotate-ccw-button-label = Ruota in senso antiorario -pdfjs-cursor-text-select-tool-button = - .title = Attiva strumento di selezione testo -pdfjs-cursor-text-select-tool-button-label = Strumento di selezione testo -pdfjs-cursor-hand-tool-button = - .title = Attiva strumento mano -pdfjs-cursor-hand-tool-button-label = Strumento mano -pdfjs-scroll-page-button = - .title = Utilizza scorrimento pagine -pdfjs-scroll-page-button-label = Scorrimento pagine -pdfjs-scroll-vertical-button = - .title = Scorri le pagine in verticale -pdfjs-scroll-vertical-button-label = Scorrimento verticale -pdfjs-scroll-horizontal-button = - .title = Scorri le pagine in orizzontale -pdfjs-scroll-horizontal-button-label = Scorrimento orizzontale -pdfjs-scroll-wrapped-button = - .title = Scorri le pagine in verticale, disponendole da sinistra a destra e andando a capo automaticamente -pdfjs-scroll-wrapped-button-label = Scorrimento con a capo automatico -pdfjs-spread-none-button = - .title = Non raggruppare pagine -pdfjs-spread-none-button-label = Nessun raggruppamento -pdfjs-spread-odd-button = - .title = Crea gruppi di pagine che iniziano con numeri di pagina dispari -pdfjs-spread-odd-button-label = Raggruppamento dispari -pdfjs-spread-even-button = - .title = Crea gruppi di pagine che iniziano con numeri di pagina pari -pdfjs-spread-even-button-label = Raggruppamento pari - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Proprietà del documento… -pdfjs-document-properties-button-label = Proprietà del documento… -pdfjs-document-properties-file-name = Nome file: -pdfjs-document-properties-file-size = Dimensione file: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Titolo: -pdfjs-document-properties-author = Autore: -pdfjs-document-properties-subject = Oggetto: -pdfjs-document-properties-keywords = Parole chiave: -pdfjs-document-properties-creation-date = Data creazione: -pdfjs-document-properties-modification-date = Data modifica: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Autore originale: -pdfjs-document-properties-producer = Produttore PDF: -pdfjs-document-properties-version = Versione PDF: -pdfjs-document-properties-page-count = Conteggio pagine: -pdfjs-document-properties-page-size = Dimensioni pagina: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = verticale -pdfjs-document-properties-page-size-orientation-landscape = orizzontale -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Lettera -pdfjs-document-properties-page-size-name-legal = Legale - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Visualizzazione web veloce: -pdfjs-document-properties-linearized-yes = Sì -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Chiudi - -## Print - -pdfjs-print-progress-message = Preparazione documento per la stampa… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Annulla -pdfjs-printing-not-supported = Attenzione: la stampa non è completamente supportata da questo browser. -pdfjs-printing-not-ready = Attenzione: il PDF non è ancora stato caricato completamente per la stampa. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Attiva/disattiva barra laterale -pdfjs-toggle-sidebar-notification-button = - .title = Attiva/disattiva barra laterale (il documento contiene struttura/allegati/livelli) -pdfjs-toggle-sidebar-button-label = Attiva/disattiva barra laterale -pdfjs-document-outline-button = - .title = Visualizza la struttura del documento (doppio clic per visualizzare/comprimere tutti gli elementi) -pdfjs-document-outline-button-label = Struttura documento -pdfjs-attachments-button = - .title = Visualizza allegati -pdfjs-attachments-button-label = Allegati -pdfjs-layers-button = - .title = Visualizza livelli (doppio clic per ripristinare tutti i livelli allo stato predefinito) -pdfjs-layers-button-label = Livelli -pdfjs-thumbs-button = - .title = Mostra le miniature -pdfjs-thumbs-button-label = Miniature -pdfjs-current-outline-item-button = - .title = Trova elemento struttura corrente -pdfjs-current-outline-item-button-label = Elemento struttura corrente -pdfjs-findbar-button = - .title = Trova nel documento -pdfjs-findbar-button-label = Trova -pdfjs-additional-layers = Livelli aggiuntivi - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura della pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Trova - .placeholder = Trova nel documento… -pdfjs-find-previous-button = - .title = Trova l’occorrenza precedente del testo da cercare -pdfjs-find-previous-button-label = Precedente -pdfjs-find-next-button = - .title = Trova l’occorrenza successiva del testo da cercare -pdfjs-find-next-button-label = Successivo -pdfjs-find-highlight-checkbox = Evidenzia -pdfjs-find-match-case-checkbox-label = Maiuscole/minuscole -pdfjs-find-match-diacritics-checkbox-label = Segni diacritici -pdfjs-find-entire-word-checkbox-label = Parole intere -pdfjs-find-reached-top = Raggiunto l’inizio della pagina, continua dalla fine -pdfjs-find-reached-bottom = Raggiunta la fine della pagina, continua dall’inizio - -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } di { $total } corrispondenza - *[other] { $current } di { $total } corrispondenze - } - -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Più di una { $limit } corrispondenza - *[other] Più di { $limit } corrispondenze - } - -pdfjs-find-not-found = Testo non trovato - -## Predefined zoom values - -pdfjs-page-scale-width = Larghezza pagina -pdfjs-page-scale-fit = Adatta a una pagina -pdfjs-page-scale-auto = Zoom automatico -pdfjs-page-scale-actual = Dimensioni effettive -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Si è verificato un errore durante il caricamento del PDF. -pdfjs-invalid-file-error = File PDF non valido o danneggiato. -pdfjs-missing-file-error = File PDF non disponibile. -pdfjs-unexpected-response-error = Risposta imprevista del server -pdfjs-rendering-error = Si è verificato un errore durante il rendering della pagina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Annotazione: { $type }] - -## Password - -pdfjs-password-label = Inserire la password per aprire questo file PDF. -pdfjs-password-invalid = Password non corretta. Riprovare. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Annulla -pdfjs-web-fonts-disabled = I web font risultano disattivati: impossibile utilizzare i caratteri incorporati nel PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Testo -pdfjs-editor-free-text-button-label = Testo -pdfjs-editor-ink-button = - .title = Disegno -pdfjs-editor-ink-button-label = Disegno -pdfjs-editor-stamp-button = - .title = Aggiungi o rimuovi immagine -pdfjs-editor-stamp-button-label = Aggiungi o rimuovi immagine -pdfjs-editor-highlight-button = - .title = Evidenzia -pdfjs-editor-highlight-button-label = Evidenzia -pdfjs-highlight-floating-button = - .title = Evidenzia -pdfjs-highlight-floating-button1 = - .title = Evidenzia - .aria-label = Evidenzia -pdfjs-highlight-floating-button-label = Evidenzia - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Rimuovi disegno -pdfjs-editor-remove-freetext-button = - .title = Rimuovi testo -pdfjs-editor-remove-stamp-button = - .title = Rimuovi immagine -pdfjs-editor-remove-highlight-button = - .title = Rimuovi evidenziazione - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Colore -pdfjs-editor-free-text-size-input = Dimensione -pdfjs-editor-ink-color-input = Colore -pdfjs-editor-ink-thickness-input = Spessore -pdfjs-editor-ink-opacity-input = Opacità -pdfjs-editor-stamp-add-image-button = - .title = Aggiungi immagine -pdfjs-editor-stamp-add-image-button-label = Aggiungi immagine -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Spessore -pdfjs-editor-free-highlight-thickness-title = - .title = Modifica lo spessore della selezione per elementi non testuali - -pdfjs-free-text = - .aria-label = Editor di testo -pdfjs-free-text-default-content = Inizia a digitare… -pdfjs-ink = - .aria-label = Editor disegni -pdfjs-ink-canvas = - .aria-label = Immagine creata dall’utente - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Testo alternativo -pdfjs-editor-alt-text-edit-button-label = Modifica testo alternativo -pdfjs-editor-alt-text-dialog-label = Scegli un’opzione -pdfjs-editor-alt-text-dialog-description = Il testo alternativo (“alt text”) aiuta quando le persone non possono vedere l’immagine o quando l’immagine non viene caricata. -pdfjs-editor-alt-text-add-description-label = Aggiungi una descrizione -pdfjs-editor-alt-text-add-description-description = Punta a una o due frasi che descrivono l’argomento, l’ambientazione o le azioni. -pdfjs-editor-alt-text-mark-decorative-label = Contrassegna come decorativa -pdfjs-editor-alt-text-mark-decorative-description = Viene utilizzato per immagini ornamentali, come bordi o filigrane. -pdfjs-editor-alt-text-cancel-button = Annulla -pdfjs-editor-alt-text-save-button = Salva -pdfjs-editor-alt-text-decorative-tooltip = Contrassegnata come decorativa -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Ad esempio, “Un giovane si siede a tavola per mangiare” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Angolo in alto a sinistra — ridimensiona -pdfjs-editor-resizer-label-top-middle = Lato superiore nel mezzo — ridimensiona -pdfjs-editor-resizer-label-top-right = Angolo in alto a destra — ridimensiona -pdfjs-editor-resizer-label-middle-right = Lato destro nel mezzo — ridimensiona -pdfjs-editor-resizer-label-bottom-right = Angolo in basso a destra — ridimensiona -pdfjs-editor-resizer-label-bottom-middle = Lato inferiore nel mezzo — ridimensiona -pdfjs-editor-resizer-label-bottom-left = Angolo in basso a sinistra — ridimensiona -pdfjs-editor-resizer-label-middle-left = Lato sinistro nel mezzo — ridimensiona - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Colore evidenziatore - -pdfjs-editor-colorpicker-button = - .title = Cambia colore -pdfjs-editor-colorpicker-dropdown = - .aria-label = Colori disponibili -pdfjs-editor-colorpicker-yellow = - .title = Giallo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Blu -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Rosso - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostra tutto -pdfjs-editor-highlight-show-all-button = - .title = Mostra tutto diff --git a/media/js/pdf4/web/locale/ja/viewer.ftl b/media/js/pdf4/web/locale/ja/viewer.ftl deleted file mode 100644 index 4549d16b7e..0000000000 --- a/media/js/pdf4/web/locale/ja/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = 前のページへ戻ります -pdfjs-previous-button-label = 前へ -pdfjs-next-button = - .title = 次のページへ進みます -pdfjs-next-button-label = 次へ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ページ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = 表示を縮小します -pdfjs-zoom-out-button-label = 縮小 -pdfjs-zoom-in-button = - .title = 表示を拡大します -pdfjs-zoom-in-button-label = 拡大 -pdfjs-zoom-select = - .title = 拡大/縮小 -pdfjs-presentation-mode-button = - .title = プレゼンテーションモードに切り替えます -pdfjs-presentation-mode-button-label = プレゼンテーションモード -pdfjs-open-file-button = - .title = ファイルを開きます -pdfjs-open-file-button-label = 開く -pdfjs-print-button = - .title = 印刷します -pdfjs-print-button-label = 印刷 -pdfjs-save-button = - .title = 保存します -pdfjs-save-button-label = 保存 -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ダウンロードします -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ダウンロード -pdfjs-bookmark-button = - .title = 現在のページの URL です (現在のページを表示する URL) -pdfjs-bookmark-button-label = 現在のページ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = アプリで開く -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = アプリで開く - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ツール -pdfjs-tools-button-label = ツール -pdfjs-first-page-button = - .title = 最初のページへ移動します -pdfjs-first-page-button-label = 最初のページへ移動 -pdfjs-last-page-button = - .title = 最後のページへ移動します -pdfjs-last-page-button-label = 最後のページへ移動 -pdfjs-page-rotate-cw-button = - .title = ページを右へ回転します -pdfjs-page-rotate-cw-button-label = 右回転 -pdfjs-page-rotate-ccw-button = - .title = ページを左へ回転します -pdfjs-page-rotate-ccw-button-label = 左回転 -pdfjs-cursor-text-select-tool-button = - .title = テキスト選択ツールを有効にします -pdfjs-cursor-text-select-tool-button-label = テキスト選択ツール -pdfjs-cursor-hand-tool-button = - .title = 手のひらツールを有効にします -pdfjs-cursor-hand-tool-button-label = 手のひらツール -pdfjs-scroll-page-button = - .title = ページ単位でスクロールします -pdfjs-scroll-page-button-label = ページ単位でスクロール -pdfjs-scroll-vertical-button = - .title = 縦スクロールにします -pdfjs-scroll-vertical-button-label = 縦スクロール -pdfjs-scroll-horizontal-button = - .title = 横スクロールにします -pdfjs-scroll-horizontal-button-label = 横スクロール -pdfjs-scroll-wrapped-button = - .title = 折り返しスクロールにします -pdfjs-scroll-wrapped-button-label = 折り返しスクロール -pdfjs-spread-none-button = - .title = 見開きにしません -pdfjs-spread-none-button-label = 見開きにしない -pdfjs-spread-odd-button = - .title = 奇数ページ開始で見開きにします -pdfjs-spread-odd-button-label = 奇数ページ見開き -pdfjs-spread-even-button = - .title = 偶数ページ開始で見開きにします -pdfjs-spread-even-button-label = 偶数ページ見開き - -## Document properties dialog - -pdfjs-document-properties-button = - .title = 文書のプロパティ... -pdfjs-document-properties-button-label = 文書のプロパティ... -pdfjs-document-properties-file-name = ファイル名: -pdfjs-document-properties-file-size = ファイルサイズ: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } バイト) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } バイト) -pdfjs-document-properties-title = タイトル: -pdfjs-document-properties-author = 作成者: -pdfjs-document-properties-subject = 件名: -pdfjs-document-properties-keywords = キーワード: -pdfjs-document-properties-creation-date = 作成日: -pdfjs-document-properties-modification-date = 更新日: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = アプリケーション: -pdfjs-document-properties-producer = PDF 作成: -pdfjs-document-properties-version = PDF のバージョン: -pdfjs-document-properties-page-count = ページ数: -pdfjs-document-properties-page-size = ページサイズ: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = 縦 -pdfjs-document-properties-page-size-orientation-landscape = 横 -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = レター -pdfjs-document-properties-page-size-name-legal = リーガル - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = ウェブ表示用に最適化: -pdfjs-document-properties-linearized-yes = はい -pdfjs-document-properties-linearized-no = いいえ -pdfjs-document-properties-close-button = 閉じる - -## Print - -pdfjs-print-progress-message = 文書の印刷を準備しています... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = キャンセル -pdfjs-printing-not-supported = 警告: このブラウザーでは印刷が完全にサポートされていません。 -pdfjs-printing-not-ready = 警告: PDF を印刷するための読み込みが終了していません。 - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = サイドバー表示を切り替えます -pdfjs-toggle-sidebar-notification-button = - .title = サイドバー表示を切り替えます (文書に含まれるアウトライン / 添付 / レイヤー) -pdfjs-toggle-sidebar-button-label = サイドバーの切り替え -pdfjs-document-outline-button = - .title = 文書の目次を表示します (ダブルクリックで項目を開閉します) -pdfjs-document-outline-button-label = 文書の目次 -pdfjs-attachments-button = - .title = 添付ファイルを表示します -pdfjs-attachments-button-label = 添付ファイル -pdfjs-layers-button = - .title = レイヤーを表示します (ダブルクリックですべてのレイヤーが初期状態に戻ります) -pdfjs-layers-button-label = レイヤー -pdfjs-thumbs-button = - .title = 縮小版を表示します -pdfjs-thumbs-button-label = 縮小版 -pdfjs-current-outline-item-button = - .title = 現在のアウトライン項目を検索 -pdfjs-current-outline-item-button-label = 現在のアウトライン項目 -pdfjs-findbar-button = - .title = 文書内を検索します -pdfjs-findbar-button-label = 検索 -pdfjs-additional-layers = 追加レイヤー - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } ページ -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } ページの縮小版 - -## Find panel button title and messages - -pdfjs-find-input = - .title = 検索 - .placeholder = 文書内を検索... -pdfjs-find-previous-button = - .title = 現在より前の位置で指定文字列が現れる部分を検索します -pdfjs-find-previous-button-label = 前へ -pdfjs-find-next-button = - .title = 現在より後の位置で指定文字列が現れる部分を検索します -pdfjs-find-next-button-label = 次へ -pdfjs-find-highlight-checkbox = すべて強調表示 -pdfjs-find-match-case-checkbox-label = 大文字/小文字を区別 -pdfjs-find-match-diacritics-checkbox-label = 発音区別符号を区別 -pdfjs-find-entire-word-checkbox-label = 単語一致 -pdfjs-find-reached-top = 文書先頭に到達したので末尾から続けて検索します -pdfjs-find-reached-bottom = 文書末尾に到達したので先頭から続けて検索します -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $total } 件中 { $current } 件目 - *[other] { $total } 件中 { $current } 件目 - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] { $limit } 件以上一致 - *[other] { $limit } 件以上一致 - } -pdfjs-find-not-found = 見つかりませんでした - -## Predefined zoom values - -pdfjs-page-scale-width = 幅に合わせる -pdfjs-page-scale-fit = ページのサイズに合わせる -pdfjs-page-scale-auto = 自動ズーム -pdfjs-page-scale-actual = 実際のサイズ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page } ページ - -## Loading indicator messages - -pdfjs-loading-error = PDF の読み込み中にエラーが発生しました。 -pdfjs-invalid-file-error = 無効または破損した PDF ファイル。 -pdfjs-missing-file-error = PDF ファイルが見つかりません。 -pdfjs-unexpected-response-error = サーバーから予期せぬ応答がありました。 -pdfjs-rendering-error = ページのレンダリング中にエラーが発生しました。 - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } 注釈] - -## Password - -pdfjs-password-label = この PDF ファイルを開くためのパスワードを入力してください。 -pdfjs-password-invalid = 無効なパスワードです。もう一度やり直してください。 -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = キャンセル -pdfjs-web-fonts-disabled = ウェブフォントが無効になっています: 埋め込まれた PDF のフォントを使用できません。 - -## Editing - -pdfjs-editor-free-text-button = - .title = フリーテキスト注釈を追加します -pdfjs-editor-free-text-button-label = フリーテキスト注釈 -pdfjs-editor-ink-button = - .title = インク注釈を追加します -pdfjs-editor-ink-button-label = インク注釈 -pdfjs-editor-stamp-button = - .title = 画像を追加または編集します -pdfjs-editor-stamp-button-label = 画像を追加または編集 -pdfjs-editor-highlight-button = - .title = 強調します -pdfjs-editor-highlight-button-label = 強調 -pdfjs-highlight-floating-button = - .title = 強調 -pdfjs-highlight-floating-button1 = - .title = 強調 - .aria-label = 強調します -pdfjs-highlight-floating-button-label = 強調 - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = インク注釈を削除します -pdfjs-editor-remove-freetext-button = - .title = テキストを削除します -pdfjs-editor-remove-stamp-button = - .title = 画像を削除します -pdfjs-editor-remove-highlight-button = - .title = 強調を削除します - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = 色 -pdfjs-editor-free-text-size-input = サイズ -pdfjs-editor-ink-color-input = 色 -pdfjs-editor-ink-thickness-input = 太さ -pdfjs-editor-ink-opacity-input = 不透明度 -pdfjs-editor-stamp-add-image-button = - .title = 画像を追加します -pdfjs-editor-stamp-add-image-button-label = 画像を追加 -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = 太さ -pdfjs-editor-free-highlight-thickness-title = - .title = テキスト以外のアイテムを強調する時の太さを変更します -pdfjs-free-text = - .aria-label = フリーテキスト注釈エディター -pdfjs-free-text-default-content = テキストを入力してください... -pdfjs-ink = - .aria-label = インク注釈エディター -pdfjs-ink-canvas = - .aria-label = ユーザー作成画像 - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = 代替テキスト -pdfjs-editor-alt-text-edit-button-label = 代替テキストを編集 -pdfjs-editor-alt-text-dialog-label = オプションの選択 -pdfjs-editor-alt-text-dialog-description = 代替テキストは画像が表示されない場合や読み込まれない場合にユーザーの助けになります。 -pdfjs-editor-alt-text-add-description-label = 説明を追加 -pdfjs-editor-alt-text-add-description-description = 対象や設定、動作を説明する短い文章を記入してください。 -pdfjs-editor-alt-text-mark-decorative-label = 装飾マークを付ける -pdfjs-editor-alt-text-mark-decorative-description = これは区切り線やウォーターマークなどの装飾画像に使用されます。 -pdfjs-editor-alt-text-cancel-button = キャンセル -pdfjs-editor-alt-text-save-button = 保存 -pdfjs-editor-alt-text-decorative-tooltip = 装飾マークが付いています -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = 例:「若い人がテーブルの席について食事をしています」 - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = 左上隅 — サイズ変更 -pdfjs-editor-resizer-label-top-middle = 上中央 — サイズ変更 -pdfjs-editor-resizer-label-top-right = 右上隅 — サイズ変更 -pdfjs-editor-resizer-label-middle-right = 右中央 — サイズ変更 -pdfjs-editor-resizer-label-bottom-right = 右下隅 — サイズ変更 -pdfjs-editor-resizer-label-bottom-middle = 下中央 — サイズ変更 -pdfjs-editor-resizer-label-bottom-left = 左下隅 — サイズ変更 -pdfjs-editor-resizer-label-middle-left = 左中央 — サイズ変更 - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = 強調色 -pdfjs-editor-colorpicker-button = - .title = 色を変更します -pdfjs-editor-colorpicker-dropdown = - .aria-label = 色の選択 -pdfjs-editor-colorpicker-yellow = - .title = 黄色 -pdfjs-editor-colorpicker-green = - .title = 緑色 -pdfjs-editor-colorpicker-blue = - .title = 青色 -pdfjs-editor-colorpicker-pink = - .title = ピンク色 -pdfjs-editor-colorpicker-red = - .title = 赤色 - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = すべて表示 -pdfjs-editor-highlight-show-all-button = - .title = 強調の表示を切り替えます diff --git a/media/js/pdf4/web/locale/ka/viewer.ftl b/media/js/pdf4/web/locale/ka/viewer.ftl deleted file mode 100644 index f31898fad0..0000000000 --- a/media/js/pdf4/web/locale/ka/viewer.ftl +++ /dev/null @@ -1,387 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = წინა გვერდი -pdfjs-previous-button-label = წინა -pdfjs-next-button = - .title = შემდეგი გვერდი -pdfjs-next-button-label = შემდეგი -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = გვერდი -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount }-დან -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } { $pagesCount }-დან) -pdfjs-zoom-out-button = - .title = ზომის შემცირება -pdfjs-zoom-out-button-label = დაშორება -pdfjs-zoom-in-button = - .title = ზომის გაზრდა -pdfjs-zoom-in-button-label = მოახლოება -pdfjs-zoom-select = - .title = ზომა -pdfjs-presentation-mode-button = - .title = ჩვენების რეჟიმზე გადართვა -pdfjs-presentation-mode-button-label = ჩვენების რეჟიმი -pdfjs-open-file-button = - .title = ფაილის გახსნა -pdfjs-open-file-button-label = გახსნა -pdfjs-print-button = - .title = ამობეჭდვა -pdfjs-print-button-label = ამობეჭდვა -pdfjs-save-button = - .title = შენახვა -pdfjs-save-button-label = შენახვა -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ჩამოტვირთვა -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ჩამოტვირთვა -pdfjs-bookmark-button = - .title = მიმდინარე გვერდი (ბმული ამ გვერდისთვის) -pdfjs-bookmark-button-label = მიმდინარე გვერდი -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = გახსნა პროგრამით -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = გახსნა პროგრამით - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ხელსაწყოები -pdfjs-tools-button-label = ხელსაწყოები -pdfjs-first-page-button = - .title = პირველ გვერდზე გადასვლა -pdfjs-first-page-button-label = პირველ გვერდზე გადასვლა -pdfjs-last-page-button = - .title = ბოლო გვერდზე გადასვლა -pdfjs-last-page-button-label = ბოლო გვერდზე გადასვლა -pdfjs-page-rotate-cw-button = - .title = საათის ისრის მიმართულებით შებრუნება -pdfjs-page-rotate-cw-button-label = მარჯვნივ გადაბრუნება -pdfjs-page-rotate-ccw-button = - .title = საათის ისრის საპირისპიროდ შებრუნება -pdfjs-page-rotate-ccw-button-label = მარცხნივ გადაბრუნება -pdfjs-cursor-text-select-tool-button = - .title = მოსანიშნი მაჩვენებლის გამოყენება -pdfjs-cursor-text-select-tool-button-label = მოსანიშნი მაჩვენებელი -pdfjs-cursor-hand-tool-button = - .title = გადასაადგილებელი მაჩვენებლის გამოყენება -pdfjs-cursor-hand-tool-button-label = გადასაადგილებელი -pdfjs-scroll-page-button = - .title = გვერდზე გადაადგილების გამოყენება -pdfjs-scroll-page-button-label = გვერდშივე გადაადგილება -pdfjs-scroll-vertical-button = - .title = გვერდების შვეულად ჩვენება -pdfjs-scroll-vertical-button-label = შვეული გადაადგილება -pdfjs-scroll-horizontal-button = - .title = გვერდების თარაზულად ჩვენება -pdfjs-scroll-horizontal-button-label = განივი გადაადგილება -pdfjs-scroll-wrapped-button = - .title = გვერდების ცხრილურად ჩვენება -pdfjs-scroll-wrapped-button-label = ცხრილური გადაადგილება -pdfjs-spread-none-button = - .title = ორ გვერდზე გაშლის გარეშე -pdfjs-spread-none-button-label = ცალგვერდიანი ჩვენება -pdfjs-spread-odd-button = - .title = ორ გვერდზე გაშლა კენტი გვერდიდან -pdfjs-spread-odd-button-label = ორ გვერდზე კენტიდან -pdfjs-spread-even-button = - .title = ორ გვერდზე გაშლა ლუწი გვერდიდან -pdfjs-spread-even-button-label = ორ გვერდზე ლუწიდან - -## Document properties dialog - -pdfjs-document-properties-button = - .title = დოკუმენტის შესახებ… -pdfjs-document-properties-button-label = დოკუმენტის შესახებ… -pdfjs-document-properties-file-name = ფაილის სახელი: -pdfjs-document-properties-file-size = ფაილის მოცულობა: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } კბ ({ $size_b } ბაიტი) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } მბ ({ $size_b } ბაიტი) -pdfjs-document-properties-title = სათაური: -pdfjs-document-properties-author = შემქმნელი: -pdfjs-document-properties-subject = თემა: -pdfjs-document-properties-keywords = საკვანძო სიტყვები: -pdfjs-document-properties-creation-date = შექმნის დრო: -pdfjs-document-properties-modification-date = ჩასწორების დრო: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = შემდგენელი: -pdfjs-document-properties-producer = PDF-შემდგენელი: -pdfjs-document-properties-version = PDF-ვერსია: -pdfjs-document-properties-page-count = გვერდები: -pdfjs-document-properties-page-size = გვერდის ზომა: -pdfjs-document-properties-page-size-unit-inches = დუიმი -pdfjs-document-properties-page-size-unit-millimeters = მმ -pdfjs-document-properties-page-size-orientation-portrait = შვეულად -pdfjs-document-properties-page-size-orientation-landscape = თარაზულად -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = მსუბუქი ვებჩვენება: -pdfjs-document-properties-linearized-yes = დიახ -pdfjs-document-properties-linearized-no = არა -pdfjs-document-properties-close-button = დახურვა - -## Print - -pdfjs-print-progress-message = დოკუმენტი მზადდება ამოსაბეჭდად… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = გაუქმება -pdfjs-printing-not-supported = გაფრთხილება: ამობეჭდვა ამ ბრაუზერში არაა სრულად მხარდაჭერილი. -pdfjs-printing-not-ready = გაფრთხილება: PDF სრულად ჩატვირთული არაა, ამობეჭდვის დასაწყებად. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = გვერდითა ზოლის გამოჩენა/დამალვა -pdfjs-toggle-sidebar-notification-button = - .title = გვერდითი ზოლის გამოჩენა (შეიცავს სარჩევს/დანართს/ფენებს) -pdfjs-toggle-sidebar-button-label = გვერდითა ზოლის გამოჩენა/დამალვა -pdfjs-document-outline-button = - .title = დოკუმენტის სარჩევის ჩვენება (ორმაგი წკაპით თითოეულის ჩამოშლა/აკეცვა) -pdfjs-document-outline-button-label = დოკუმენტის სარჩევი -pdfjs-attachments-button = - .title = დანართების ჩვენება -pdfjs-attachments-button-label = დანართები -pdfjs-layers-button = - .title = ფენების გამოჩენა (ორმაგი წკაპით ყველა ფენის ნაგულისხმევზე დაბრუნება) -pdfjs-layers-button-label = ფენები -pdfjs-thumbs-button = - .title = შეთვალიერება -pdfjs-thumbs-button-label = ესკიზები -pdfjs-current-outline-item-button = - .title = მიმდინარე გვერდის მონახვა სარჩევში -pdfjs-current-outline-item-button-label = მიმდინარე გვერდი სარჩევში -pdfjs-findbar-button = - .title = პოვნა დოკუმენტში -pdfjs-findbar-button-label = ძიება -pdfjs-additional-layers = დამატებითი ფენები - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = გვერდი { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = გვერდის შეთვალიერება { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ძიება - .placeholder = პოვნა დოკუმენტში… -pdfjs-find-previous-button = - .title = ფრაზის წინა კონტექსტის პოვნა -pdfjs-find-previous-button-label = წინა -pdfjs-find-next-button = - .title = ფრაზის შემდეგი კონტექსტის პოვნა -pdfjs-find-next-button-label = შემდეგი -pdfjs-find-highlight-checkbox = ყველაფრის მონიშვნა -pdfjs-find-match-case-checkbox-label = მთავრულით -pdfjs-find-match-diacritics-checkbox-label = ნიშნებით -pdfjs-find-entire-word-checkbox-label = მთლიანი სიტყვები -pdfjs-find-reached-top = მიღწეულია დოკუმენტის დასაწყისი, გრძელდება ბოლოდან -pdfjs-find-reached-bottom = მიღწეულია დოკუმენტის ბოლო, გრძელდება დასაწყისიდან -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] თანხვედრა { $current }, სულ { $total } - *[other] თანხვედრა { $current }, სულ { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] არანაკლებ { $limit } თანხვედრა - *[other] არანაკლებ { $limit } თანხვედრა - } -pdfjs-find-not-found = ფრაზა ვერ მოიძებნა - -## Predefined zoom values - -pdfjs-page-scale-width = გვერდის სიგანეზე -pdfjs-page-scale-fit = მთლიანი გვერდი -pdfjs-page-scale-auto = ავტომატური -pdfjs-page-scale-actual = საწყისი ზომა -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = გვერდი { $page } - -## Loading indicator messages - -pdfjs-loading-error = შეცდომა, PDF-ფაილის ჩატვირთვისას. -pdfjs-invalid-file-error = არამართებული ან დაზიანებული PDF-ფაილი. -pdfjs-missing-file-error = ნაკლული PDF-ფაილი. -pdfjs-unexpected-response-error = სერვერის მოულოდნელი პასუხი. -pdfjs-rendering-error = შეცდომა, გვერდის ჩვენებისას. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } შენიშვნა] - -## Password - -pdfjs-password-label = შეიყვანეთ პაროლი PDF-ფაილის გასახსნელად. -pdfjs-password-invalid = არასწორი პაროლი. გთხოვთ, სცადოთ ხელახლა. -pdfjs-password-ok-button = კარგი -pdfjs-password-cancel-button = გაუქმება -pdfjs-web-fonts-disabled = ვებშრიფტები გამორთულია: ჩაშენებული PDF-შრიფტების გამოყენება ვერ ხერხდება. - -## Editing - -pdfjs-editor-free-text-button = - .title = წარწერა -pdfjs-editor-free-text-button-label = ტექსტი -pdfjs-editor-ink-button = - .title = ხაზვა -pdfjs-editor-ink-button-label = ხაზვა -pdfjs-editor-stamp-button = - .title = სურათების დართვა ან ჩასწორება -pdfjs-editor-stamp-button-label = სურათების დართვა ან ჩასწორება -pdfjs-editor-remove-button = - .title = მოცილება -pdfjs-editor-highlight-button = - .title = მონიშვნა -pdfjs-editor-highlight-button-label = მონიშვნა - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = დახაზულის მოცილება -pdfjs-editor-remove-freetext-button = - .title = წარწერის მოცილება -pdfjs-editor-remove-stamp-button = - .title = სურათის მოცილება -pdfjs-editor-remove-highlight-button = - .title = მონიშვნის მოცილება - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = ფერი -pdfjs-editor-free-text-size-input = ზომა -pdfjs-editor-ink-color-input = ფერი -pdfjs-editor-ink-thickness-input = სისქე -pdfjs-editor-ink-opacity-input = გაუმჭვირვალობა -pdfjs-editor-stamp-add-image-button = - .title = სურათის დამატება -pdfjs-editor-stamp-add-image-button-label = სურათის დამატება -pdfjs-free-text = - .aria-label = ნაწერის ჩასწორება -pdfjs-free-text-default-content = აკრიფეთ… -pdfjs-ink = - .aria-label = დახაზულის შესწორება -pdfjs-ink-canvas = - .aria-label = მომხმარებლის შექმნილი სურათი - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = თანდართული წარწერა -pdfjs-editor-alt-text-edit-button-label = თანდართული წარწერის ჩასწორება -pdfjs-editor-alt-text-dialog-label = არჩევა -pdfjs-editor-alt-text-dialog-description = თანდართული (შემნაცვლებელი) წარწერა გამოსადეგია მათთვის, ვინც ვერ ხედავს სურათებს ან გამოისახება მაშინ, როცა სურათი ვერ ჩაიტვირთება. -pdfjs-editor-alt-text-add-description-label = აღწერილობის მითითება -pdfjs-editor-alt-text-add-description-description = განკუთვნილია 1-2 წინადადებით საგნის, მახასიათებლის ან მოქმედების აღსაწერად. -pdfjs-editor-alt-text-mark-decorative-label = მოინიშნოს მორთულობად -pdfjs-editor-alt-text-mark-decorative-description = განკუთვნილია შესამკობი სურათებისთვის, გარსშემოსავლები ჩარჩოებისა და ჭვირნიშნებისთვის. -pdfjs-editor-alt-text-cancel-button = გაუქმება -pdfjs-editor-alt-text-save-button = შენახვა -pdfjs-editor-alt-text-decorative-tooltip = მოინიშნოს მორთულობად -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = მაგალითად, „ახალგაზრდა მამაკაცი მაგიდასთან ზის და სადილობს“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = ზევით მარცხნივ — ზომაცვლა -pdfjs-editor-resizer-label-top-middle = ზევით შუაში — ზომაცვლა -pdfjs-editor-resizer-label-top-right = ზევით მარჯვნივ — ზომაცვლა -pdfjs-editor-resizer-label-middle-right = შუაში მარჯვნივ — ზომაცვლა -pdfjs-editor-resizer-label-bottom-right = ქვევით მარჯვნივ — ზომაცვლა -pdfjs-editor-resizer-label-bottom-middle = ქვევით შუაში — ზომაცვლა -pdfjs-editor-resizer-label-bottom-left = ზვევით მარცხნივ — ზომაცვლა -pdfjs-editor-resizer-label-middle-left = შუაში მარცხნივ — ზომაცვლა - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = მოსანიშნი ფერი -pdfjs-editor-colorpicker-button = - .title = ფერის შეცვლა -pdfjs-editor-colorpicker-dropdown = - .aria-label = ფერის არჩევა -pdfjs-editor-colorpicker-yellow = - .title = ყვითელი -pdfjs-editor-colorpicker-green = - .title = მწვანე -pdfjs-editor-colorpicker-blue = - .title = ლურჯი -pdfjs-editor-colorpicker-pink = - .title = ვარდისფერი -pdfjs-editor-colorpicker-red = - .title = წითელი diff --git a/media/js/pdf4/web/locale/kab/viewer.ftl b/media/js/pdf4/web/locale/kab/viewer.ftl deleted file mode 100644 index 5f16478e3e..0000000000 --- a/media/js/pdf4/web/locale/kab/viewer.ftl +++ /dev/null @@ -1,337 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Asebter azewwar -pdfjs-previous-button-label = Azewwar -pdfjs-next-button = - .title = Asebter d-iteddun -pdfjs-next-button-label = Ddu ɣer zdat -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Asebter -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = ɣef { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } n { $pagesCount }) -pdfjs-zoom-out-button = - .title = Semẓi -pdfjs-zoom-out-button-label = Semẓi -pdfjs-zoom-in-button = - .title = Semɣeṛ -pdfjs-zoom-in-button-label = Semɣeṛ -pdfjs-zoom-select = - .title = Semɣeṛ/Semẓi -pdfjs-presentation-mode-button = - .title = Uɣal ɣer Uskar Tihawt -pdfjs-presentation-mode-button-label = Askar Tihawt -pdfjs-open-file-button = - .title = Ldi Afaylu -pdfjs-open-file-button-label = Ldi -pdfjs-print-button = - .title = Siggez -pdfjs-print-button-label = Siggez -pdfjs-save-button = - .title = Sekles -pdfjs-save-button-label = Sekles -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Sader -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Sader -pdfjs-bookmark-button = - .title = Asebter amiran (Sken-d tansa URL seg usebter amiran) -pdfjs-bookmark-button-label = Asebter amiran -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Ldi deg usnas -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Ldi deg usnas - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ifecka -pdfjs-tools-button-label = Ifecka -pdfjs-first-page-button = - .title = Ddu ɣer usebter amezwaru -pdfjs-first-page-button-label = Ddu ɣer usebter amezwaru -pdfjs-last-page-button = - .title = Ddu ɣer usebter aneggaru -pdfjs-last-page-button-label = Ddu ɣer usebter aneggaru -pdfjs-page-rotate-cw-button = - .title = Tuzzya tusrigt -pdfjs-page-rotate-cw-button-label = Tuzzya tusrigt -pdfjs-page-rotate-ccw-button = - .title = Tuzzya amgal-usrig -pdfjs-page-rotate-ccw-button-label = Tuzzya amgal-usrig -pdfjs-cursor-text-select-tool-button = - .title = Rmed afecku n tefrant n uḍris -pdfjs-cursor-text-select-tool-button-label = Afecku n tefrant n uḍris -pdfjs-cursor-hand-tool-button = - .title = Rmed afecku afus -pdfjs-cursor-hand-tool-button-label = Afecku afus -pdfjs-scroll-page-button = - .title = Seqdec adrurem n usebter -pdfjs-scroll-page-button-label = Adrurem n usebter -pdfjs-scroll-vertical-button = - .title = Seqdec adrurem ubdid -pdfjs-scroll-vertical-button-label = Adrurem ubdid -pdfjs-scroll-horizontal-button = - .title = Seqdec adrurem aglawan -pdfjs-scroll-horizontal-button-label = Adrurem aglawan -pdfjs-scroll-wrapped-button = - .title = Seqdec adrurem yuẓen -pdfjs-scroll-wrapped-button-label = Adrurem yuẓen -pdfjs-spread-none-button = - .title = Ur sedday ara isiɣzaf n usebter -pdfjs-spread-none-button-label = Ulac isiɣzaf -pdfjs-spread-odd-button = - .title = Seddu isiɣzaf n usebter ibeddun s yisebtar irayuganen -pdfjs-spread-odd-button-label = Isiɣzaf irayuganen -pdfjs-spread-even-button = - .title = Seddu isiɣzaf n usebter ibeddun s yisebtar iyuganen -pdfjs-spread-even-button-label = Isiɣzaf iyuganen - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Taɣaṛa n isemli… -pdfjs-document-properties-button-label = Taɣaṛa n isemli… -pdfjs-document-properties-file-name = Isem n ufaylu: -pdfjs-document-properties-file-size = Teɣzi n ufaylu: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KAṬ ({ $size_b } ibiten) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MAṬ ({ $size_b } iṭamḍanen) -pdfjs-document-properties-title = Azwel: -pdfjs-document-properties-author = Ameskar: -pdfjs-document-properties-subject = Amgay: -pdfjs-document-properties-keywords = Awalen n tsaruţ -pdfjs-document-properties-creation-date = Azemz n tmerna: -pdfjs-document-properties-modification-date = Azemz n usnifel: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Yerna-t: -pdfjs-document-properties-producer = Afecku n uselket PDF: -pdfjs-document-properties-version = Lqem PDF: -pdfjs-document-properties-page-count = Amḍan n yisebtar: -pdfjs-document-properties-page-size = Tuγzi n usebter: -pdfjs-document-properties-page-size-unit-inches = deg -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = s teɣzi -pdfjs-document-properties-page-size-orientation-landscape = s tehri -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Asekkil -pdfjs-document-properties-page-size-name-legal = Usḍif - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Taskant Web taruradt: -pdfjs-document-properties-linearized-yes = Ih -pdfjs-document-properties-linearized-no = Ala -pdfjs-document-properties-close-button = Mdel - -## Print - -pdfjs-print-progress-message = Aheggi i usiggez n isemli… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Sefsex -pdfjs-printing-not-supported = Ɣuṛ-k: Asiggez ur ittusefrak ara yakan imaṛṛa deg iminig-a. -pdfjs-printing-not-ready = Ɣuṛ-k: Afaylu PDF ur d-yuli ara imeṛṛa akken ad ittusiggez. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Sken/Fer agalis adisan -pdfjs-toggle-sidebar-notification-button = - .title = Ffer/Sekn agalis adisan (isemli yegber aɣawas/ticeqqufin yeddan/tissiwin) -pdfjs-toggle-sidebar-button-label = Sken/Fer agalis adisan -pdfjs-document-outline-button = - .title = Sken isemli (Senned snat tikal i wesemɣer/Afneẓ n iferdisen meṛṛa) -pdfjs-document-outline-button-label = Isɣalen n isebtar -pdfjs-attachments-button = - .title = Sken ticeqqufin yeddan -pdfjs-attachments-button-label = Ticeqqufin yeddan -pdfjs-layers-button = - .title = Skeen tissiwin (sit sin yiberdan i uwennez n meṛṛa tissiwin ɣer waddad amezwer) -pdfjs-layers-button-label = Tissiwin -pdfjs-thumbs-button = - .title = Sken tanfult. -pdfjs-thumbs-button-label = Tinfulin -pdfjs-current-outline-item-button = - .title = Af-d aferdis n uɣawas amiran -pdfjs-current-outline-item-button-label = Aferdis n uɣawas amiran -pdfjs-findbar-button = - .title = Nadi deg isemli -pdfjs-findbar-button-label = Nadi -pdfjs-additional-layers = Tissiwin-nniḍen - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Asebter { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Tanfult n usebter { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Nadi - .placeholder = Nadi deg isemli… -pdfjs-find-previous-button = - .title = Aff-d tamseḍriwt n twinest n deffir -pdfjs-find-previous-button-label = Azewwar -pdfjs-find-next-button = - .title = Aff-d timseḍriwt n twinest d-iteddun -pdfjs-find-next-button-label = Ddu ɣer zdat -pdfjs-find-highlight-checkbox = Err izirig imaṛṛa -pdfjs-find-match-case-checkbox-label = Qadeṛ amasal n isekkilen -pdfjs-find-match-diacritics-checkbox-label = Qadeṛ ifeskilen -pdfjs-find-entire-word-checkbox-label = Awalen iččuranen -pdfjs-find-reached-top = Yabbeḍ s afella n usebter, tuɣalin s wadda -pdfjs-find-reached-bottom = Tebḍeḍ s adda n usebter, tuɣalin s afella -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] Timeḍriwt { $current } ɣef { $total } - *[other] Timeḍriwin { $current } ɣef { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Ugar n { $limit } umṣada - *[other] Ugar n { $limit } yimṣadayen - } -pdfjs-find-not-found = Ulac tawinest - -## Predefined zoom values - -pdfjs-page-scale-width = Tehri n usebter -pdfjs-page-scale-fit = Asebter imaṛṛa -pdfjs-page-scale-auto = Asemɣeṛ/Asemẓi awurman -pdfjs-page-scale-actual = Teɣzi tilawt -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Asebter { $page } - -## Loading indicator messages - -pdfjs-loading-error = Teḍra-d tuccḍa deg alluy n PDF: -pdfjs-invalid-file-error = Afaylu PDF arameɣtu neɣ yexṣeṛ. -pdfjs-missing-file-error = Ulac afaylu PDF. -pdfjs-unexpected-response-error = Aqeddac yerra-d yir tiririt ur nettwaṛǧi ara. -pdfjs-rendering-error = Teḍra-d tuccḍa deg uskan n usebter. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Tabzimt { $type }] - -## Password - -pdfjs-password-label = Sekcem awal uffir akken ad ldiḍ afaylu-yagi PDF -pdfjs-password-invalid = Awal uffir mačči d ameɣtu, Ɛreḍ tikelt-nniḍen. -pdfjs-password-ok-button = IH -pdfjs-password-cancel-button = Sefsex -pdfjs-web-fonts-disabled = Tisefsiyin web ttwassensent; D awezɣi useqdec n tsefsiyin yettwarnan ɣer PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Aḍris -pdfjs-editor-free-text-button-label = Aḍris -pdfjs-editor-ink-button = - .title = Suneɣ -pdfjs-editor-ink-button-label = Suneɣ -pdfjs-editor-stamp-button = - .title = Rnu neɣ ẓreg tugniwin -pdfjs-editor-stamp-button-label = Rnu neɣ ẓreg tugniwin -pdfjs-editor-remove-button = - .title = Kkes -# Editor Parameters -pdfjs-editor-free-text-color-input = Initen -pdfjs-editor-free-text-size-input = Teɣzi -pdfjs-editor-ink-color-input = Ini -pdfjs-editor-ink-thickness-input = Tuzert -pdfjs-editor-ink-opacity-input = Tebrek -pdfjs-editor-stamp-add-image-button = - .title = Rnu tawlaft -pdfjs-editor-stamp-add-image-button-label = Rnu tawlaft -pdfjs-free-text = - .aria-label = Amaẓrag n uḍris -pdfjs-free-text-default-content = Bdu tira... -pdfjs-ink = - .aria-label = Amaẓrag n usuneɣ -pdfjs-ink-canvas = - .aria-label = Tugna yettwarnan sɣur useqdac - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Aḍris amaskal -pdfjs-editor-alt-text-edit-button-label = Ẓreg aḍris amaskal -pdfjs-editor-alt-text-dialog-label = Fren taxtirt -pdfjs-editor-alt-text-add-description-label = Rnu aglam -pdfjs-editor-alt-text-mark-decorative-label = Creḍ d adlag -pdfjs-editor-alt-text-cancel-button = Sefsex -pdfjs-editor-alt-text-save-button = Sekles -pdfjs-editor-alt-text-decorative-tooltip = Yettwacreḍ d adlag - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/kk/viewer.ftl b/media/js/pdf4/web/locale/kk/viewer.ftl deleted file mode 100644 index 57260a2da9..0000000000 --- a/media/js/pdf4/web/locale/kk/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Алдыңғы парақ -pdfjs-previous-button-label = Алдыңғысы -pdfjs-next-button = - .title = Келесі парақ -pdfjs-next-button-label = Келесі -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Парақ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } ішінен -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = (парақ { $pageNumber }, { $pagesCount } ішінен) -pdfjs-zoom-out-button = - .title = Кішірейту -pdfjs-zoom-out-button-label = Кішірейту -pdfjs-zoom-in-button = - .title = Үлкейту -pdfjs-zoom-in-button-label = Үлкейту -pdfjs-zoom-select = - .title = Масштаб -pdfjs-presentation-mode-button = - .title = Презентация режиміне ауысу -pdfjs-presentation-mode-button-label = Презентация режимі -pdfjs-open-file-button = - .title = Файлды ашу -pdfjs-open-file-button-label = Ашу -pdfjs-print-button = - .title = Баспаға шығару -pdfjs-print-button-label = Баспаға шығару -pdfjs-save-button = - .title = Сақтау -pdfjs-save-button-label = Сақтау -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Жүктеп алу -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Жүктеп алу -pdfjs-bookmark-button = - .title = Ағымдағы бет (Ағымдағы беттен URL адресін көру) -pdfjs-bookmark-button-label = Ағымдағы бет -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Қолданбада ашу -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Қолданбада ашу - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Құралдар -pdfjs-tools-button-label = Құралдар -pdfjs-first-page-button = - .title = Алғашқы параққа өту -pdfjs-first-page-button-label = Алғашқы параққа өту -pdfjs-last-page-button = - .title = Соңғы параққа өту -pdfjs-last-page-button-label = Соңғы параққа өту -pdfjs-page-rotate-cw-button = - .title = Сағат тілі бағытымен айналдыру -pdfjs-page-rotate-cw-button-label = Сағат тілі бағытымен бұру -pdfjs-page-rotate-ccw-button = - .title = Сағат тілі бағытына қарсы бұру -pdfjs-page-rotate-ccw-button-label = Сағат тілі бағытына қарсы бұру -pdfjs-cursor-text-select-tool-button = - .title = Мәтінді таңдау құралын іске қосу -pdfjs-cursor-text-select-tool-button-label = Мәтінді таңдау құралы -pdfjs-cursor-hand-tool-button = - .title = Қол құралын іске қосу -pdfjs-cursor-hand-tool-button-label = Қол құралы -pdfjs-scroll-page-button = - .title = Беттерді айналдыруды пайдалану -pdfjs-scroll-page-button-label = Беттерді айналдыру -pdfjs-scroll-vertical-button = - .title = Вертикалды айналдыруды қолдану -pdfjs-scroll-vertical-button-label = Вертикалды айналдыру -pdfjs-scroll-horizontal-button = - .title = Горизонталды айналдыруды қолдану -pdfjs-scroll-horizontal-button-label = Горизонталды айналдыру -pdfjs-scroll-wrapped-button = - .title = Масштабталатын айналдыруды қолдану -pdfjs-scroll-wrapped-button-label = Масштабталатын айналдыру -pdfjs-spread-none-button = - .title = Жазық беттер режимін қолданбау -pdfjs-spread-none-button-label = Жазық беттер режимсіз -pdfjs-spread-odd-button = - .title = Жазық беттер тақ нөмірлі беттерден басталады -pdfjs-spread-odd-button-label = Тақ нөмірлі беттер сол жақтан -pdfjs-spread-even-button = - .title = Жазық беттер жұп нөмірлі беттерден басталады -pdfjs-spread-even-button-label = Жұп нөмірлі беттер сол жақтан - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Құжат қасиеттері… -pdfjs-document-properties-button-label = Құжат қасиеттері… -pdfjs-document-properties-file-name = Файл аты: -pdfjs-document-properties-file-size = Файл өлшемі: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байт) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байт) -pdfjs-document-properties-title = Тақырыбы: -pdfjs-document-properties-author = Авторы: -pdfjs-document-properties-subject = Тақырыбы: -pdfjs-document-properties-keywords = Кілт сөздер: -pdfjs-document-properties-creation-date = Жасалған күні: -pdfjs-document-properties-modification-date = Түзету күні: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Жасаған: -pdfjs-document-properties-producer = PDF өндірген: -pdfjs-document-properties-version = PDF нұсқасы: -pdfjs-document-properties-page-count = Беттер саны: -pdfjs-document-properties-page-size = Бет өлшемі: -pdfjs-document-properties-page-size-unit-inches = дюйм -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = тік -pdfjs-document-properties-page-size-orientation-landscape = жатық -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Жылдам Web көрінісі: -pdfjs-document-properties-linearized-yes = Иә -pdfjs-document-properties-linearized-no = Жоқ -pdfjs-document-properties-close-button = Жабу - -## Print - -pdfjs-print-progress-message = Құжатты баспаға шығару үшін дайындау… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Бас тарту -pdfjs-printing-not-supported = Ескерту: Баспаға шығаруды бұл браузер толығымен қолдамайды. -pdfjs-printing-not-ready = Ескерту: Баспаға шығару үшін, бұл PDF толығымен жүктеліп алынбады. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Бүйір панелін көрсету/жасыру -pdfjs-toggle-sidebar-notification-button = - .title = Бүйір панелін көрсету/жасыру (құжатта құрылымы/салынымдар/қабаттар бар) -pdfjs-toggle-sidebar-button-label = Бүйір панелін көрсету/жасыру -pdfjs-document-outline-button = - .title = Құжат құрылымын көрсету (барлық нәрселерді жазық қылу/жинау үшін қос шерту керек) -pdfjs-document-outline-button-label = Құжат құрамасы -pdfjs-attachments-button = - .title = Салынымдарды көрсету -pdfjs-attachments-button-label = Салынымдар -pdfjs-layers-button = - .title = Қабаттарды көрсету (барлық қабаттарды бастапқы күйге келтіру үшін екі рет шертіңіз) -pdfjs-layers-button-label = Қабаттар -pdfjs-thumbs-button = - .title = Кіші көріністерді көрсету -pdfjs-thumbs-button-label = Кіші көріністер -pdfjs-current-outline-item-button = - .title = Құрылымның ағымдағы элементін табу -pdfjs-current-outline-item-button-label = Құрылымның ағымдағы элементі -pdfjs-findbar-button = - .title = Құжаттан табу -pdfjs-findbar-button-label = Табу -pdfjs-additional-layers = Қосымша қабаттар - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } парағы -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } парағы үшін кіші көрінісі - -## Find panel button title and messages - -pdfjs-find-input = - .title = Табу - .placeholder = Құжаттан табу… -pdfjs-find-previous-button = - .title = Осы сөздердің мәтіннен алдыңғы кездесуін табу -pdfjs-find-previous-button-label = Алдыңғысы -pdfjs-find-next-button = - .title = Осы сөздердің мәтіннен келесі кездесуін табу -pdfjs-find-next-button-label = Келесі -pdfjs-find-highlight-checkbox = Барлығын түспен ерекшелеу -pdfjs-find-match-case-checkbox-label = Регистрді ескеру -pdfjs-find-match-diacritics-checkbox-label = Диакритиканы ескеру -pdfjs-find-entire-word-checkbox-label = Сөздер толығымен -pdfjs-find-reached-top = Құжаттың басына жеттік, соңынан бастап жалғастырамыз -pdfjs-find-reached-bottom = Құжаттың соңына жеттік, басынан бастап жалғастырамыз -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } сәйкестік, барлығы { $total } - *[other] { $current } сәйкестік, барлығы { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] { $limit } сәйкестіктен көп - *[other] { $limit } сәйкестіктен көп - } -pdfjs-find-not-found = Сөз(дер) табылмады - -## Predefined zoom values - -pdfjs-page-scale-width = Парақ ені -pdfjs-page-scale-fit = Парақты сыйдыру -pdfjs-page-scale-auto = Автомасштабтау -pdfjs-page-scale-actual = Нақты өлшемі -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Бет { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF жүктеу кезінде қате кетті. -pdfjs-invalid-file-error = Зақымдалған немесе қате PDF файл. -pdfjs-missing-file-error = PDF файлы жоқ. -pdfjs-unexpected-response-error = Сервердің күтпеген жауабы. -pdfjs-rendering-error = Парақты өңдеу кезінде қате кетті. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } аңдатпасы] - -## Password - -pdfjs-password-label = Бұл PDF файлын ашу үшін парольді енгізіңіз. -pdfjs-password-invalid = Пароль дұрыс емес. Қайталап көріңіз. -pdfjs-password-ok-button = ОК -pdfjs-password-cancel-button = Бас тарту -pdfjs-web-fonts-disabled = Веб қаріптері сөндірілген: құрамына енгізілген PDF қаріптерін қолдану мүмкін емес. - -## Editing - -pdfjs-editor-free-text-button = - .title = Мәтін -pdfjs-editor-free-text-button-label = Мәтін -pdfjs-editor-ink-button = - .title = Сурет салу -pdfjs-editor-ink-button-label = Сурет салу -pdfjs-editor-stamp-button = - .title = Суреттерді қосу немесе түзету -pdfjs-editor-stamp-button-label = Суреттерді қосу немесе түзету -pdfjs-editor-highlight-button = - .title = Ерекшелеу -pdfjs-editor-highlight-button-label = Ерекшелеу -pdfjs-highlight-floating-button = - .title = Ерекшелеу -pdfjs-highlight-floating-button1 = - .title = Ерекшелеу - .aria-label = Ерекшелеу -pdfjs-highlight-floating-button-label = Ерекшелеу - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Сызбаны өшіру -pdfjs-editor-remove-freetext-button = - .title = Мәтінді өшіру -pdfjs-editor-remove-stamp-button = - .title = Суретті өшіру -pdfjs-editor-remove-highlight-button = - .title = Түспен ерекшелеуді өшіру - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Түс -pdfjs-editor-free-text-size-input = Өлшемі -pdfjs-editor-ink-color-input = Түс -pdfjs-editor-ink-thickness-input = Қалыңдығы -pdfjs-editor-ink-opacity-input = Мөлдірсіздігі -pdfjs-editor-stamp-add-image-button = - .title = Суретті қосу -pdfjs-editor-stamp-add-image-button-label = Суретті қосу -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Қалыңдығы -pdfjs-editor-free-highlight-thickness-title = - .title = Мәтіннен басқа элементтерді ерекшелеу кезінде қалыңдықты өзгерту -pdfjs-free-text = - .aria-label = Мәтін түзеткіші -pdfjs-free-text-default-content = Теруді бастау… -pdfjs-ink = - .aria-label = Сурет түзеткіші -pdfjs-ink-canvas = - .aria-label = Пайдаланушы жасаған сурет - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Балама мәтін -pdfjs-editor-alt-text-edit-button-label = Балама мәтінді өңдеу -pdfjs-editor-alt-text-dialog-label = Опцияны таңдау -pdfjs-editor-alt-text-dialog-description = Балама мәтін адамдар суретті көре алмағанда немесе ол жүктелмегенде көмектеседі. -pdfjs-editor-alt-text-add-description-label = Сипаттаманы қосу -pdfjs-editor-alt-text-add-description-description = Тақырыпты, баптауды немесе әрекетті сипаттайтын 1-2 сөйлемді қолдануға тырысыңыз. -pdfjs-editor-alt-text-mark-decorative-label = Декоративті деп белгілеу -pdfjs-editor-alt-text-mark-decorative-description = Бұл жиектер немесе су белгілері сияқты оюлық суреттер үшін пайдаланылады. -pdfjs-editor-alt-text-cancel-button = Бас тарту -pdfjs-editor-alt-text-save-button = Сақтау -pdfjs-editor-alt-text-decorative-tooltip = Декоративті деп белгіленген -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Мысалы, "Жас жігіт тамақ ішу үшін үстел басына отырады" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Жоғарғы сол жақ бұрыш — өлшемін өзгерту -pdfjs-editor-resizer-label-top-middle = Жоғарғы ортасы — өлшемін өзгерту -pdfjs-editor-resizer-label-top-right = Жоғарғы оң жақ бұрыш — өлшемін өзгерту -pdfjs-editor-resizer-label-middle-right = Ортаңғы оң жақ — өлшемін өзгерту -pdfjs-editor-resizer-label-bottom-right = Төменгі оң жақ бұрыш — өлшемін өзгерту -pdfjs-editor-resizer-label-bottom-middle = Төменгі ортасы — өлшемін өзгерту -pdfjs-editor-resizer-label-bottom-left = Төменгі сол жақ бұрыш — өлшемін өзгерту -pdfjs-editor-resizer-label-middle-left = Ортаңғы сол жақ — өлшемін өзгерту - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Ерекшелеу түсі -pdfjs-editor-colorpicker-button = - .title = Түсті өзгерту -pdfjs-editor-colorpicker-dropdown = - .aria-label = Түс таңдаулары -pdfjs-editor-colorpicker-yellow = - .title = Сары -pdfjs-editor-colorpicker-green = - .title = Жасыл -pdfjs-editor-colorpicker-blue = - .title = Көк -pdfjs-editor-colorpicker-pink = - .title = Қызғылт -pdfjs-editor-colorpicker-red = - .title = Қызыл - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Барлығын көрсету -pdfjs-editor-highlight-show-all-button = - .title = Барлығын көрсету diff --git a/media/js/pdf4/web/locale/km/viewer.ftl b/media/js/pdf4/web/locale/km/viewer.ftl deleted file mode 100644 index 6efd105460..0000000000 --- a/media/js/pdf4/web/locale/km/viewer.ftl +++ /dev/null @@ -1,223 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = ទំព័រមុន -pdfjs-previous-button-label = មុន -pdfjs-next-button = - .title = ទំព័របន្ទាប់ -pdfjs-next-button-label = បន្ទាប់ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ទំព័រ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = នៃ { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } នៃ { $pagesCount }) -pdfjs-zoom-out-button = - .title = បង្រួម -pdfjs-zoom-out-button-label = បង្រួម -pdfjs-zoom-in-button = - .title = ពង្រីក -pdfjs-zoom-in-button-label = ពង្រីក -pdfjs-zoom-select = - .title = ពង្រីក -pdfjs-presentation-mode-button = - .title = ប្ដូរទៅរបៀបបទបង្ហាញ -pdfjs-presentation-mode-button-label = របៀបបទបង្ហាញ -pdfjs-open-file-button = - .title = បើកឯកសារ -pdfjs-open-file-button-label = បើក -pdfjs-print-button = - .title = បោះពុម្ព -pdfjs-print-button-label = បោះពុម្ព - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ឧបករណ៍ -pdfjs-tools-button-label = ឧបករណ៍ -pdfjs-first-page-button = - .title = ទៅកាន់ទំព័រដំបូង -pdfjs-first-page-button-label = ទៅកាន់ទំព័រដំបូង -pdfjs-last-page-button = - .title = ទៅកាន់ទំព័រចុងក្រោយ -pdfjs-last-page-button-label = ទៅកាន់ទំព័រចុងក្រោយ -pdfjs-page-rotate-cw-button = - .title = បង្វិលស្របទ្រនិចនាឡិកា -pdfjs-page-rotate-cw-button-label = បង្វិលស្របទ្រនិចនាឡិកា -pdfjs-page-rotate-ccw-button = - .title = បង្វិលច្រាសទ្រនិចនាឡិកា -pdfjs-page-rotate-ccw-button-label = បង្វិលច្រាសទ្រនិចនាឡិកា -pdfjs-cursor-text-select-tool-button = - .title = បើកឧបករណ៍ជ្រើសអត្ថបទ -pdfjs-cursor-text-select-tool-button-label = ឧបករណ៍ជ្រើសអត្ថបទ -pdfjs-cursor-hand-tool-button = - .title = បើកឧបករណ៍ដៃ -pdfjs-cursor-hand-tool-button-label = ឧបករណ៍ដៃ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = លក្ខណសម្បត្តិឯកសារ… -pdfjs-document-properties-button-label = លក្ខណសម្បត្តិឯកសារ… -pdfjs-document-properties-file-name = ឈ្មោះឯកសារ៖ -pdfjs-document-properties-file-size = ទំហំឯកសារ៖ -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } បៃ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } បៃ) -pdfjs-document-properties-title = ចំណងជើង៖ -pdfjs-document-properties-author = អ្នកនិពន្ធ៖ -pdfjs-document-properties-subject = ប្រធានបទ៖ -pdfjs-document-properties-keywords = ពាក្យគន្លឹះ៖ -pdfjs-document-properties-creation-date = កាលបរិច្ឆេទបង្កើត៖ -pdfjs-document-properties-modification-date = កាលបរិច្ឆេទកែប្រែ៖ -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = អ្នកបង្កើត៖ -pdfjs-document-properties-producer = កម្មវិធីបង្កើត PDF ៖ -pdfjs-document-properties-version = កំណែ PDF ៖ -pdfjs-document-properties-page-count = ចំនួនទំព័រ៖ -pdfjs-document-properties-page-size-unit-inches = អ៊ីញ -pdfjs-document-properties-page-size-unit-millimeters = មម -pdfjs-document-properties-page-size-orientation-portrait = បញ្ឈរ -pdfjs-document-properties-page-size-orientation-landscape = ផ្តេក -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = សំបុត្រ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = បាទ/ចាស -pdfjs-document-properties-linearized-no = ទេ -pdfjs-document-properties-close-button = បិទ - -## Print - -pdfjs-print-progress-message = កំពុងរៀបចំឯកសារសម្រាប់បោះពុម្ព… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = បោះបង់ -pdfjs-printing-not-supported = ការព្រមាន ៖ ការបោះពុម្ពមិនត្រូវបានគាំទ្រពេញលេញដោយកម្មវិធីរុករកនេះទេ ។ -pdfjs-printing-not-ready = ព្រមាន៖ PDF មិនត្រូវបានផ្ទុកទាំងស្រុងដើម្បីបោះពុម្ពទេ។ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = បិទ/បើកគ្រាប់រំកិល -pdfjs-toggle-sidebar-button-label = បិទ/បើកគ្រាប់រំកិល -pdfjs-document-outline-button = - .title = បង្ហាញគ្រោងឯកសារ (ចុចទ្វេដងដើម្បីពង្រីក/បង្រួមធាតុទាំងអស់) -pdfjs-document-outline-button-label = គ្រោងឯកសារ -pdfjs-attachments-button = - .title = បង្ហាញឯកសារភ្ជាប់ -pdfjs-attachments-button-label = ឯកសារភ្ជាប់ -pdfjs-thumbs-button = - .title = បង្ហាញរូបភាពតូចៗ -pdfjs-thumbs-button-label = រួបភាពតូចៗ -pdfjs-findbar-button = - .title = រកនៅក្នុងឯកសារ -pdfjs-findbar-button-label = រក - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = ទំព័រ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = រូបភាពតូចរបស់ទំព័រ { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = រក - .placeholder = រកនៅក្នុងឯកសារ... -pdfjs-find-previous-button = - .title = រកពាក្យ ឬឃ្លាដែលបានជួបមុន -pdfjs-find-previous-button-label = មុន -pdfjs-find-next-button = - .title = រកពាក្យ ឬឃ្លាដែលបានជួបបន្ទាប់ -pdfjs-find-next-button-label = បន្ទាប់ -pdfjs-find-highlight-checkbox = បន្លិចទាំងអស់ -pdfjs-find-match-case-checkbox-label = ករណីដំណូច -pdfjs-find-reached-top = បានបន្តពីខាងក្រោម ទៅដល់ខាងលើនៃឯកសារ -pdfjs-find-reached-bottom = បានបន្តពីខាងលើ ទៅដល់ចុងនៃឯកសារ -pdfjs-find-not-found = រកមិនឃើញពាក្យ ឬឃ្លា - -## Predefined zoom values - -pdfjs-page-scale-width = ទទឹងទំព័រ -pdfjs-page-scale-fit = សមទំព័រ -pdfjs-page-scale-auto = ពង្រីកស្វ័យប្រវត្តិ -pdfjs-page-scale-actual = ទំហំជាក់ស្ដែង -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = មានកំហុសបានកើតឡើងពេលកំពុងផ្ទុក PDF ។ -pdfjs-invalid-file-error = ឯកសារ PDF ខូច ឬមិនត្រឹមត្រូវ ។ -pdfjs-missing-file-error = បាត់ឯកសារ PDF -pdfjs-unexpected-response-error = ការឆ្លើយតមម៉ាស៊ីនមេដែលមិនបានរំពឹង។ -pdfjs-rendering-error = មានកំហុសបានកើតឡើងពេលបង្ហាញទំព័រ ។ - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ចំណារពន្យល់] - -## Password - -pdfjs-password-label = បញ្ចូលពាក្យសម្ងាត់ដើម្បីបើកឯកសារ PDF នេះ។ -pdfjs-password-invalid = ពាក្យសម្ងាត់មិនត្រឹមត្រូវ។ សូមព្យាយាមម្ដងទៀត។ -pdfjs-password-ok-button = យល់ព្រម -pdfjs-password-cancel-button = បោះបង់ -pdfjs-web-fonts-disabled = បានបិទពុម្ពអក្សរបណ្ដាញ ៖ មិនអាចប្រើពុម្ពអក្សរ PDF ដែលបានបង្កប់បានទេ ។ - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/kn/viewer.ftl b/media/js/pdf4/web/locale/kn/viewer.ftl deleted file mode 100644 index 03322555e1..0000000000 --- a/media/js/pdf4/web/locale/kn/viewer.ftl +++ /dev/null @@ -1,213 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = ಹಿಂದಿನ ಪುಟ -pdfjs-previous-button-label = ಹಿಂದಿನ -pdfjs-next-button = - .title = ಮುಂದಿನ ಪುಟ -pdfjs-next-button-label = ಮುಂದಿನ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ಪುಟ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } ರಲ್ಲಿ -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } ರಲ್ಲಿ { $pageNumber }) -pdfjs-zoom-out-button = - .title = ಕಿರಿದಾಗಿಸು -pdfjs-zoom-out-button-label = ಕಿರಿದಾಗಿಸಿ -pdfjs-zoom-in-button = - .title = ಹಿರಿದಾಗಿಸು -pdfjs-zoom-in-button-label = ಹಿರಿದಾಗಿಸಿ -pdfjs-zoom-select = - .title = ಗಾತ್ರಬದಲಿಸು -pdfjs-presentation-mode-button = - .title = ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮಕ್ಕೆ ಬದಲಾಯಿಸು -pdfjs-presentation-mode-button-label = ಪ್ರಸ್ತುತಿ (ಪ್ರಸೆಂಟೇಶನ್) ಕ್ರಮ -pdfjs-open-file-button = - .title = ಕಡತವನ್ನು ತೆರೆ -pdfjs-open-file-button-label = ತೆರೆಯಿರಿ -pdfjs-print-button = - .title = ಮುದ್ರಿಸು -pdfjs-print-button-label = ಮುದ್ರಿಸಿ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ಉಪಕರಣಗಳು -pdfjs-tools-button-label = ಉಪಕರಣಗಳು -pdfjs-first-page-button = - .title = ಮೊದಲ ಪುಟಕ್ಕೆ ತೆರಳು -pdfjs-first-page-button-label = ಮೊದಲ ಪುಟಕ್ಕೆ ತೆರಳು -pdfjs-last-page-button = - .title = ಕೊನೆಯ ಪುಟಕ್ಕೆ ತೆರಳು -pdfjs-last-page-button-label = ಕೊನೆಯ ಪುಟಕ್ಕೆ ತೆರಳು -pdfjs-page-rotate-cw-button = - .title = ಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು -pdfjs-page-rotate-cw-button-label = ಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು -pdfjs-page-rotate-ccw-button = - .title = ಅಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು -pdfjs-page-rotate-ccw-button-label = ಅಪ್ರದಕ್ಷಿಣೆಯಲ್ಲಿ ತಿರುಗಿಸು -pdfjs-cursor-text-select-tool-button = - .title = ಪಠ್ಯ ಆಯ್ಕೆ ಉಪಕರಣವನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ -pdfjs-cursor-text-select-tool-button-label = ಪಠ್ಯ ಆಯ್ಕೆಯ ಉಪಕರಣ -pdfjs-cursor-hand-tool-button = - .title = ಕೈ ಉಪಕರಣವನ್ನು ಸಕ್ರಿಯಗೊಳಿಸಿ -pdfjs-cursor-hand-tool-button-label = ಕೈ ಉಪಕರಣ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = ಡಾಕ್ಯುಮೆಂಟ್ ಗುಣಗಳು... -pdfjs-document-properties-button-label = ಡಾಕ್ಯುಮೆಂಟ್ ಗುಣಗಳು... -pdfjs-document-properties-file-name = ಕಡತದ ಹೆಸರು: -pdfjs-document-properties-file-size = ಕಡತದ ಗಾತ್ರ: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } ಬೈಟ್ಗಳು) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } ಬೈಟ್ಗಳು) -pdfjs-document-properties-title = ಶೀರ್ಷಿಕೆ: -pdfjs-document-properties-author = ಕರ್ತೃ: -pdfjs-document-properties-subject = ವಿಷಯ: -pdfjs-document-properties-keywords = ಮುಖ್ಯಪದಗಳು: -pdfjs-document-properties-creation-date = ರಚಿಸಿದ ದಿನಾಂಕ: -pdfjs-document-properties-modification-date = ಮಾರ್ಪಡಿಸಲಾದ ದಿನಾಂಕ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ರಚಿಸಿದವರು: -pdfjs-document-properties-producer = PDF ಉತ್ಪಾದಕ: -pdfjs-document-properties-version = PDF ಆವೃತ್ತಿ: -pdfjs-document-properties-page-count = ಪುಟದ ಎಣಿಕೆ: -pdfjs-document-properties-page-size-unit-inches = ಇದರಲ್ಲಿ -pdfjs-document-properties-page-size-orientation-portrait = ಭಾವಚಿತ್ರ -pdfjs-document-properties-page-size-orientation-landscape = ಪ್ರಕೃತಿ ಚಿತ್ರ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = ಮುಚ್ಚು - -## Print - -pdfjs-print-progress-message = ಮುದ್ರಿಸುವುದಕ್ಕಾಗಿ ದಸ್ತಾವೇಜನ್ನು ಸಿದ್ಧಗೊಳಿಸಲಾಗುತ್ತಿದೆ… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ರದ್ದು ಮಾಡು -pdfjs-printing-not-supported = ಎಚ್ಚರಿಕೆ: ಈ ಜಾಲವೀಕ್ಷಕದಲ್ಲಿ ಮುದ್ರಣಕ್ಕೆ ಸಂಪೂರ್ಣ ಬೆಂಬಲವಿಲ್ಲ. -pdfjs-printing-not-ready = ಎಚ್ಚರಿಕೆ: PDF ಕಡತವು ಮುದ್ರಿಸಲು ಸಂಪೂರ್ಣವಾಗಿ ಲೋಡ್ ಆಗಿಲ್ಲ. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು -pdfjs-toggle-sidebar-button-label = ಬದಿಪಟ್ಟಿಯನ್ನು ಹೊರಳಿಸು -pdfjs-document-outline-button-label = ದಸ್ತಾವೇಜಿನ ಹೊರರೇಖೆ -pdfjs-attachments-button = - .title = ಲಗತ್ತುಗಳನ್ನು ತೋರಿಸು -pdfjs-attachments-button-label = ಲಗತ್ತುಗಳು -pdfjs-thumbs-button = - .title = ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು -pdfjs-thumbs-button-label = ಚಿಕ್ಕಚಿತ್ರಗಳು -pdfjs-findbar-button = - .title = ದಸ್ತಾವೇಜಿನಲ್ಲಿ ಹುಡುಕು -pdfjs-findbar-button-label = ಹುಡುಕು - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = ಪುಟ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = ಪುಟವನ್ನು ಚಿಕ್ಕಚಿತ್ರದಂತೆ ತೋರಿಸು { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ಹುಡುಕು - .placeholder = ದಸ್ತಾವೇಜಿನಲ್ಲಿ ಹುಡುಕು… -pdfjs-find-previous-button = - .title = ವಾಕ್ಯದ ಹಿಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು -pdfjs-find-previous-button-label = ಹಿಂದಿನ -pdfjs-find-next-button = - .title = ವಾಕ್ಯದ ಮುಂದಿನ ಇರುವಿಕೆಯನ್ನು ಹುಡುಕು -pdfjs-find-next-button-label = ಮುಂದಿನ -pdfjs-find-highlight-checkbox = ಎಲ್ಲವನ್ನು ಹೈಲೈಟ್ ಮಾಡು -pdfjs-find-match-case-checkbox-label = ಕೇಸನ್ನು ಹೊಂದಿಸು -pdfjs-find-reached-top = ದಸ್ತಾವೇಜಿನ ಮೇಲ್ಭಾಗವನ್ನು ತಲುಪಿದೆ, ಕೆಳಗಿನಿಂದ ಆರಂಭಿಸು -pdfjs-find-reached-bottom = ದಸ್ತಾವೇಜಿನ ಕೊನೆಯನ್ನು ತಲುಪಿದೆ, ಮೇಲಿನಿಂದ ಆರಂಭಿಸು -pdfjs-find-not-found = ವಾಕ್ಯವು ಕಂಡು ಬಂದಿಲ್ಲ - -## Predefined zoom values - -pdfjs-page-scale-width = ಪುಟದ ಅಗಲ -pdfjs-page-scale-fit = ಪುಟದ ಸರಿಹೊಂದಿಕೆ -pdfjs-page-scale-auto = ಸ್ವಯಂಚಾಲಿತ ಗಾತ್ರಬದಲಾವಣೆ -pdfjs-page-scale-actual = ನಿಜವಾದ ಗಾತ್ರ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF ಅನ್ನು ಲೋಡ್ ಮಾಡುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ. -pdfjs-invalid-file-error = ಅಮಾನ್ಯವಾದ ಅಥವ ಹಾಳಾದ PDF ಕಡತ. -pdfjs-missing-file-error = PDF ಕಡತ ಇಲ್ಲ. -pdfjs-unexpected-response-error = ಅನಿರೀಕ್ಷಿತವಾದ ಪೂರೈಕೆಗಣಕದ ಪ್ರತಿಕ್ರಿಯೆ. -pdfjs-rendering-error = ಪುಟವನ್ನು ನಿರೂಪಿಸುವಾಗ ಒಂದು ದೋಷ ಎದುರಾಗಿದೆ. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ಟಿಪ್ಪಣಿ] - -## Password - -pdfjs-password-label = PDF ಅನ್ನು ತೆರೆಯಲು ಗುಪ್ತಪದವನ್ನು ನಮೂದಿಸಿ. -pdfjs-password-invalid = ಅಮಾನ್ಯವಾದ ಗುಪ್ತಪದ, ದಯವಿಟ್ಟು ಇನ್ನೊಮ್ಮೆ ಪ್ರಯತ್ನಿಸಿ. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = ರದ್ದು ಮಾಡು -pdfjs-web-fonts-disabled = ಜಾಲ ಅಕ್ಷರಶೈಲಿಯನ್ನು ನಿಷ್ಕ್ರಿಯಗೊಳಿಸಲಾಗಿದೆ: ಅಡಕಗೊಳಿಸಿದ PDF ಅಕ್ಷರಶೈಲಿಗಳನ್ನು ಬಳಸಲು ಸಾಧ್ಯವಾಗಿಲ್ಲ. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ko/viewer.ftl b/media/js/pdf4/web/locale/ko/viewer.ftl deleted file mode 100644 index 2afce14404..0000000000 --- a/media/js/pdf4/web/locale/ko/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = 이전 페이지 -pdfjs-previous-button-label = 이전 -pdfjs-next-button = - .title = 다음 페이지 -pdfjs-next-button-label = 다음 -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = 페이지 -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = 축소 -pdfjs-zoom-out-button-label = 축소 -pdfjs-zoom-in-button = - .title = 확대 -pdfjs-zoom-in-button-label = 확대 -pdfjs-zoom-select = - .title = 확대/축소 -pdfjs-presentation-mode-button = - .title = 프레젠테이션 모드로 전환 -pdfjs-presentation-mode-button-label = 프레젠테이션 모드 -pdfjs-open-file-button = - .title = 파일 열기 -pdfjs-open-file-button-label = 열기 -pdfjs-print-button = - .title = 인쇄 -pdfjs-print-button-label = 인쇄 -pdfjs-save-button = - .title = 저장 -pdfjs-save-button-label = 저장 -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = 다운로드 -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = 다운로드 -pdfjs-bookmark-button = - .title = 현재 페이지 (현재 페이지에서 URL 보기) -pdfjs-bookmark-button-label = 현재 페이지 -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = 앱에서 열기 -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = 앱에서 열기 - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = 도구 -pdfjs-tools-button-label = 도구 -pdfjs-first-page-button = - .title = 첫 페이지로 이동 -pdfjs-first-page-button-label = 첫 페이지로 이동 -pdfjs-last-page-button = - .title = 마지막 페이지로 이동 -pdfjs-last-page-button-label = 마지막 페이지로 이동 -pdfjs-page-rotate-cw-button = - .title = 시계방향으로 회전 -pdfjs-page-rotate-cw-button-label = 시계방향으로 회전 -pdfjs-page-rotate-ccw-button = - .title = 시계 반대방향으로 회전 -pdfjs-page-rotate-ccw-button-label = 시계 반대방향으로 회전 -pdfjs-cursor-text-select-tool-button = - .title = 텍스트 선택 도구 활성화 -pdfjs-cursor-text-select-tool-button-label = 텍스트 선택 도구 -pdfjs-cursor-hand-tool-button = - .title = 손 도구 활성화 -pdfjs-cursor-hand-tool-button-label = 손 도구 -pdfjs-scroll-page-button = - .title = 페이지 스크롤 사용 -pdfjs-scroll-page-button-label = 페이지 스크롤 -pdfjs-scroll-vertical-button = - .title = 세로 스크롤 사용 -pdfjs-scroll-vertical-button-label = 세로 스크롤 -pdfjs-scroll-horizontal-button = - .title = 가로 스크롤 사용 -pdfjs-scroll-horizontal-button-label = 가로 스크롤 -pdfjs-scroll-wrapped-button = - .title = 래핑(자동 줄 바꿈) 스크롤 사용 -pdfjs-scroll-wrapped-button-label = 래핑 스크롤 -pdfjs-spread-none-button = - .title = 한 페이지 보기 -pdfjs-spread-none-button-label = 펼침 없음 -pdfjs-spread-odd-button = - .title = 홀수 페이지로 시작하는 두 페이지 보기 -pdfjs-spread-odd-button-label = 홀수 펼침 -pdfjs-spread-even-button = - .title = 짝수 페이지로 시작하는 두 페이지 보기 -pdfjs-spread-even-button-label = 짝수 펼침 - -## Document properties dialog - -pdfjs-document-properties-button = - .title = 문서 속성… -pdfjs-document-properties-button-label = 문서 속성… -pdfjs-document-properties-file-name = 파일 이름: -pdfjs-document-properties-file-size = 파일 크기: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b }바이트) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b }바이트) -pdfjs-document-properties-title = 제목: -pdfjs-document-properties-author = 작성자: -pdfjs-document-properties-subject = 주제: -pdfjs-document-properties-keywords = 키워드: -pdfjs-document-properties-creation-date = 작성 날짜: -pdfjs-document-properties-modification-date = 수정 날짜: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = 작성 프로그램: -pdfjs-document-properties-producer = PDF 변환 소프트웨어: -pdfjs-document-properties-version = PDF 버전: -pdfjs-document-properties-page-count = 페이지 수: -pdfjs-document-properties-page-size = 페이지 크기: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = 세로 방향 -pdfjs-document-properties-page-size-orientation-landscape = 가로 방향 -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = 레터 -pdfjs-document-properties-page-size-name-legal = 리걸 - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = 빠른 웹 보기: -pdfjs-document-properties-linearized-yes = 예 -pdfjs-document-properties-linearized-no = 아니요 -pdfjs-document-properties-close-button = 닫기 - -## Print - -pdfjs-print-progress-message = 인쇄 문서 준비 중… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = 취소 -pdfjs-printing-not-supported = 경고: 이 브라우저는 인쇄를 완전히 지원하지 않습니다. -pdfjs-printing-not-ready = 경고: 이 PDF를 인쇄를 할 수 있을 정도로 읽어들이지 못했습니다. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = 사이드바 표시/숨기기 -pdfjs-toggle-sidebar-notification-button = - .title = 사이드바 표시/숨기기 (문서에 아웃라인/첨부파일/레이어 포함됨) -pdfjs-toggle-sidebar-button-label = 사이드바 표시/숨기기 -pdfjs-document-outline-button = - .title = 문서 아웃라인 보기 (더블 클릭해서 모든 항목 펼치기/접기) -pdfjs-document-outline-button-label = 문서 아웃라인 -pdfjs-attachments-button = - .title = 첨부파일 보기 -pdfjs-attachments-button-label = 첨부파일 -pdfjs-layers-button = - .title = 레이어 보기 (더블 클릭해서 모든 레이어를 기본 상태로 재설정) -pdfjs-layers-button-label = 레이어 -pdfjs-thumbs-button = - .title = 미리보기 -pdfjs-thumbs-button-label = 미리보기 -pdfjs-current-outline-item-button = - .title = 현재 아웃라인 항목 찾기 -pdfjs-current-outline-item-button-label = 현재 아웃라인 항목 -pdfjs-findbar-button = - .title = 검색 -pdfjs-findbar-button-label = 검색 -pdfjs-additional-layers = 추가 레이어 - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } 페이지 -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } 페이지 미리보기 - -## Find panel button title and messages - -pdfjs-find-input = - .title = 찾기 - .placeholder = 문서에서 찾기… -pdfjs-find-previous-button = - .title = 지정 문자열에 일치하는 1개 부분을 검색 -pdfjs-find-previous-button-label = 이전 -pdfjs-find-next-button = - .title = 지정 문자열에 일치하는 다음 부분을 검색 -pdfjs-find-next-button-label = 다음 -pdfjs-find-highlight-checkbox = 모두 강조 표시 -pdfjs-find-match-case-checkbox-label = 대/소문자 구분 -pdfjs-find-match-diacritics-checkbox-label = 분음 부호 일치 -pdfjs-find-entire-word-checkbox-label = 단어 단위로 -pdfjs-find-reached-top = 문서 처음까지 검색하고 끝으로 돌아와 검색했습니다. -pdfjs-find-reached-bottom = 문서 끝까지 검색하고 앞으로 돌아와 검색했습니다. -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = { $current } / { $total } 일치 -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = { $limit }개 이상 일치 -pdfjs-find-not-found = 검색 결과 없음 - -## Predefined zoom values - -pdfjs-page-scale-width = 페이지 너비에 맞추기 -pdfjs-page-scale-fit = 페이지에 맞추기 -pdfjs-page-scale-auto = 자동 -pdfjs-page-scale-actual = 실제 크기 -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page } 페이지 - -## Loading indicator messages - -pdfjs-loading-error = PDF를 로드하는 동안 오류가 발생했습니다. -pdfjs-invalid-file-error = 잘못되었거나 손상된 PDF 파일. -pdfjs-missing-file-error = PDF 파일 없음. -pdfjs-unexpected-response-error = 예기치 않은 서버 응답입니다. -pdfjs-rendering-error = 페이지를 렌더링하는 동안 오류가 발생했습니다. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } 주석] - -## Password - -pdfjs-password-label = 이 PDF 파일을 열 수 있는 비밀번호를 입력하세요. -pdfjs-password-invalid = 잘못된 비밀번호입니다. 다시 시도하세요. -pdfjs-password-ok-button = 확인 -pdfjs-password-cancel-button = 취소 -pdfjs-web-fonts-disabled = 웹 폰트가 비활성화됨: 내장된 PDF 글꼴을 사용할 수 없습니다. - -## Editing - -pdfjs-editor-free-text-button = - .title = 텍스트 -pdfjs-editor-free-text-button-label = 텍스트 -pdfjs-editor-ink-button = - .title = 그리기 -pdfjs-editor-ink-button-label = 그리기 -pdfjs-editor-stamp-button = - .title = 이미지 추가 또는 편집 -pdfjs-editor-stamp-button-label = 이미지 추가 또는 편집 -pdfjs-editor-highlight-button = - .title = 강조 표시 -pdfjs-editor-highlight-button-label = 강조 표시 -pdfjs-highlight-floating-button = - .title = 강조 표시 -pdfjs-highlight-floating-button1 = - .title = 강조 표시 - .aria-label = 강조 표시 -pdfjs-highlight-floating-button-label = 강조 표시 - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = 그리기 제거 -pdfjs-editor-remove-freetext-button = - .title = 텍스트 제거 -pdfjs-editor-remove-stamp-button = - .title = 이미지 제거 -pdfjs-editor-remove-highlight-button = - .title = 강조 표시 제거 - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = 색상 -pdfjs-editor-free-text-size-input = 크기 -pdfjs-editor-ink-color-input = 색상 -pdfjs-editor-ink-thickness-input = 두께 -pdfjs-editor-ink-opacity-input = 불투명도 -pdfjs-editor-stamp-add-image-button = - .title = 이미지 추가 -pdfjs-editor-stamp-add-image-button-label = 이미지 추가 -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = 두께 -pdfjs-editor-free-highlight-thickness-title = - .title = 텍스트 이외의 항목을 강조 표시할 때 두께 변경 -pdfjs-free-text = - .aria-label = 텍스트 편집기 -pdfjs-free-text-default-content = 입력하세요… -pdfjs-ink = - .aria-label = 그리기 편집기 -pdfjs-ink-canvas = - .aria-label = 사용자 생성 이미지 - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = 대체 텍스트 -pdfjs-editor-alt-text-edit-button-label = 대체 텍스트 편집 -pdfjs-editor-alt-text-dialog-label = 옵션을 선택하세요 -pdfjs-editor-alt-text-dialog-description = 대체 텍스트는 사람들이 이미지를 볼 수 없거나 이미지가 로드되지 않을 때 도움이 됩니다. -pdfjs-editor-alt-text-add-description-label = 설명 추가 -pdfjs-editor-alt-text-add-description-description = 주제, 설정, 동작을 설명하는 1~2개의 문장을 목표로 하세요. -pdfjs-editor-alt-text-mark-decorative-label = 장식용으로 표시 -pdfjs-editor-alt-text-mark-decorative-description = 테두리나 워터마크와 같은 장식적인 이미지에 사용됩니다. -pdfjs-editor-alt-text-cancel-button = 취소 -pdfjs-editor-alt-text-save-button = 저장 -pdfjs-editor-alt-text-decorative-tooltip = 장식용으로 표시됨 -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = 예를 들어, “한 청년이 식탁에 앉아 식사를 하고 있습니다.” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = 왼쪽 위 — 크기 조정 -pdfjs-editor-resizer-label-top-middle = 가운데 위 - 크기 조정 -pdfjs-editor-resizer-label-top-right = 오른쪽 위 — 크기 조정 -pdfjs-editor-resizer-label-middle-right = 오른쪽 가운데 — 크기 조정 -pdfjs-editor-resizer-label-bottom-right = 오른쪽 아래 - 크기 조정 -pdfjs-editor-resizer-label-bottom-middle = 가운데 아래 — 크기 조정 -pdfjs-editor-resizer-label-bottom-left = 왼쪽 아래 - 크기 조정 -pdfjs-editor-resizer-label-middle-left = 왼쪽 가운데 — 크기 조정 - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = 색상 -pdfjs-editor-colorpicker-button = - .title = 색상 변경 -pdfjs-editor-colorpicker-dropdown = - .aria-label = 색상 선택 -pdfjs-editor-colorpicker-yellow = - .title = 노란색 -pdfjs-editor-colorpicker-green = - .title = 녹색 -pdfjs-editor-colorpicker-blue = - .title = 파란색 -pdfjs-editor-colorpicker-pink = - .title = 분홍색 -pdfjs-editor-colorpicker-red = - .title = 빨간색 - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = 모두 보기 -pdfjs-editor-highlight-show-all-button = - .title = 모두 보기 diff --git a/media/js/pdf4/web/locale/lij/viewer.ftl b/media/js/pdf4/web/locale/lij/viewer.ftl deleted file mode 100644 index b2941f9f65..0000000000 --- a/media/js/pdf4/web/locale/lij/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina primma -pdfjs-previous-button-label = Precedente -pdfjs-next-button = - .title = Pagina dòppo -pdfjs-next-button-label = Pròscima -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Diminoisci zoom -pdfjs-zoom-out-button-label = Diminoisci zoom -pdfjs-zoom-in-button = - .title = Aomenta zoom -pdfjs-zoom-in-button-label = Aomenta zoom -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Vanni into mòddo de prezentaçion -pdfjs-presentation-mode-button-label = Mòddo de prezentaçion -pdfjs-open-file-button = - .title = Arvi file -pdfjs-open-file-button-label = Arvi -pdfjs-print-button = - .title = Stanpa -pdfjs-print-button-label = Stanpa - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Atressi -pdfjs-tools-button-label = Atressi -pdfjs-first-page-button = - .title = Vanni a-a primma pagina -pdfjs-first-page-button-label = Vanni a-a primma pagina -pdfjs-last-page-button = - .title = Vanni a l'urtima pagina -pdfjs-last-page-button-label = Vanni a l'urtima pagina -pdfjs-page-rotate-cw-button = - .title = Gia into verso oraio -pdfjs-page-rotate-cw-button-label = Gia into verso oraio -pdfjs-page-rotate-ccw-button = - .title = Gia into verso antioraio -pdfjs-page-rotate-ccw-button-label = Gia into verso antioraio -pdfjs-cursor-text-select-tool-button = - .title = Abilita strumento de seleçion do testo -pdfjs-cursor-text-select-tool-button-label = Strumento de seleçion do testo -pdfjs-cursor-hand-tool-button = - .title = Abilita strumento man -pdfjs-cursor-hand-tool-button-label = Strumento man -pdfjs-scroll-vertical-button = - .title = Deuvia rebelamento verticale -pdfjs-scroll-vertical-button-label = Rebelamento verticale -pdfjs-scroll-horizontal-button = - .title = Deuvia rebelamento orizontâ -pdfjs-scroll-horizontal-button-label = Rebelamento orizontâ -pdfjs-scroll-wrapped-button = - .title = Deuvia rebelamento incapsolou -pdfjs-scroll-wrapped-button-label = Rebelamento incapsolou -pdfjs-spread-none-button = - .title = No unite a-a difuxon de pagina -pdfjs-spread-none-button-label = No difuxon -pdfjs-spread-odd-button = - .title = Uniscite a-a difuxon de pagina co-o numero dèspa -pdfjs-spread-odd-button-label = Difuxon dèspa -pdfjs-spread-even-button = - .title = Uniscite a-a difuxon de pagina co-o numero pari -pdfjs-spread-even-button-label = Difuxon pari - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propietæ do documento… -pdfjs-document-properties-button-label = Propietæ do documento… -pdfjs-document-properties-file-name = Nomme schedaio: -pdfjs-document-properties-file-size = Dimenscion schedaio: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Titolo: -pdfjs-document-properties-author = Aoto: -pdfjs-document-properties-subject = Ogetto: -pdfjs-document-properties-keywords = Paròlle ciave: -pdfjs-document-properties-creation-date = Dæta creaçion: -pdfjs-document-properties-modification-date = Dæta cangiamento: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Aotô originale: -pdfjs-document-properties-producer = Produtô PDF: -pdfjs-document-properties-version = Verscion PDF: -pdfjs-document-properties-page-count = Contezzo pagine: -pdfjs-document-properties-page-size = Dimenscion da pagina: -pdfjs-document-properties-page-size-unit-inches = dii gròsci -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = drito -pdfjs-document-properties-page-size-orientation-landscape = desteizo -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letia -pdfjs-document-properties-page-size-name-legal = Lezze - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista veloce do Web: -pdfjs-document-properties-linearized-yes = Sci -pdfjs-document-properties-linearized-no = No -pdfjs-document-properties-close-button = Særa - -## Print - -pdfjs-print-progress-message = Praparo o documento pe-a stanpa… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Anulla -pdfjs-printing-not-supported = Atençion: a stanpa a no l'é conpletamente soportâ da sto navegatô. -pdfjs-printing-not-ready = Atençion: o PDF o no l'é ancon caregou conpletamente pe-a stanpa. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Ativa/dizativa bara de scianco -pdfjs-toggle-sidebar-button-label = Ativa/dizativa bara de scianco -pdfjs-document-outline-button = - .title = Fanni vedde o contorno do documento (scicca doggio pe espande/ridue tutti i elementi) -pdfjs-document-outline-button-label = Contorno do documento -pdfjs-attachments-button = - .title = Fanni vedde alegæ -pdfjs-attachments-button-label = Alegæ -pdfjs-thumbs-button = - .title = Mostra miniatue -pdfjs-thumbs-button-label = Miniatue -pdfjs-findbar-button = - .title = Treuva into documento -pdfjs-findbar-button-label = Treuva - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatua da pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Treuva - .placeholder = Treuva into documento… -pdfjs-find-previous-button = - .title = Treuva a ripetiçion precedente do testo da çercâ -pdfjs-find-previous-button-label = Precedente -pdfjs-find-next-button = - .title = Treuva a ripetiçion dòppo do testo da çercâ -pdfjs-find-next-button-label = Segoente -pdfjs-find-highlight-checkbox = Evidençia -pdfjs-find-match-case-checkbox-label = Maioscole/minoscole -pdfjs-find-entire-word-checkbox-label = Poula intrega -pdfjs-find-reached-top = Razonto a fin da pagina, continoa da l'iniçio -pdfjs-find-reached-bottom = Razonto l'iniçio da pagina, continoa da-a fin -pdfjs-find-not-found = Testo no trovou - -## Predefined zoom values - -pdfjs-page-scale-width = Larghessa pagina -pdfjs-page-scale-fit = Adatta a una pagina -pdfjs-page-scale-auto = Zoom aotomatico -pdfjs-page-scale-actual = Dimenscioin efetive -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = S'é verificou 'n'erô itno caregamento do PDF. -pdfjs-invalid-file-error = O schedaio PDF o l'é no valido ò aroinou. -pdfjs-missing-file-error = O schedaio PDF o no gh'é. -pdfjs-unexpected-response-error = Risposta inprevista do-u server -pdfjs-rendering-error = Gh'é stæto 'n'erô itno rendering da pagina. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotaçion: { $type }] - -## Password - -pdfjs-password-label = Dimme a paròlla segreta pe arvî sto schedaio PDF. -pdfjs-password-invalid = Paròlla segreta sbalia. Preuva torna. -pdfjs-password-ok-button = Va ben -pdfjs-password-cancel-button = Anulla -pdfjs-web-fonts-disabled = I font do web en dizativæ: inposcibile adeuviâ i carateri do PDF. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/lo/viewer.ftl b/media/js/pdf4/web/locale/lo/viewer.ftl deleted file mode 100644 index fdad16adfd..0000000000 --- a/media/js/pdf4/web/locale/lo/viewer.ftl +++ /dev/null @@ -1,299 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = ຫນ້າກ່ອນຫນ້າ -pdfjs-previous-button-label = ກ່ອນຫນ້າ -pdfjs-next-button = - .title = ຫນ້າຖັດໄປ -pdfjs-next-button-label = ຖັດໄປ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ຫນ້າ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = ຈາກ { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } ຈາກ { $pagesCount }) -pdfjs-zoom-out-button = - .title = ຂະຫຍາຍອອກ -pdfjs-zoom-out-button-label = ຂະຫຍາຍອອກ -pdfjs-zoom-in-button = - .title = ຂະຫຍາຍເຂົ້າ -pdfjs-zoom-in-button-label = ຂະຫຍາຍເຂົ້າ -pdfjs-zoom-select = - .title = ຂະຫຍາຍ -pdfjs-presentation-mode-button = - .title = ສັບປ່ຽນເປັນໂຫມດການນຳສະເຫນີ -pdfjs-presentation-mode-button-label = ໂຫມດການນຳສະເຫນີ -pdfjs-open-file-button = - .title = ເປີດໄຟລ໌ -pdfjs-open-file-button-label = ເປີດ -pdfjs-print-button = - .title = ພິມ -pdfjs-print-button-label = ພິມ -pdfjs-save-button = - .title = ບັນທຶກ -pdfjs-save-button-label = ບັນທຶກ -pdfjs-bookmark-button = - .title = ໜ້າປັດຈຸບັນ (ເບິ່ງ URL ຈາກໜ້າປັດຈຸບັນ) -pdfjs-bookmark-button-label = ຫນ້າປັດຈຸບັນ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = ເປີດໃນ App -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = ເປີດໃນ App - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ເຄື່ອງມື -pdfjs-tools-button-label = ເຄື່ອງມື -pdfjs-first-page-button = - .title = ໄປທີ່ຫນ້າທຳອິດ -pdfjs-first-page-button-label = ໄປທີ່ຫນ້າທຳອິດ -pdfjs-last-page-button = - .title = ໄປທີ່ຫນ້າສຸດທ້າຍ -pdfjs-last-page-button-label = ໄປທີ່ຫນ້າສຸດທ້າຍ -pdfjs-page-rotate-cw-button = - .title = ຫມູນຕາມເຂັມໂມງ -pdfjs-page-rotate-cw-button-label = ຫມູນຕາມເຂັມໂມງ -pdfjs-page-rotate-ccw-button = - .title = ຫມູນທວນເຂັມໂມງ -pdfjs-page-rotate-ccw-button-label = ຫມູນທວນເຂັມໂມງ -pdfjs-cursor-text-select-tool-button = - .title = ເປີດໃຊ້ເຄື່ອງມືການເລືອກຂໍ້ຄວາມ -pdfjs-cursor-text-select-tool-button-label = ເຄື່ອງມືເລືອກຂໍ້ຄວາມ -pdfjs-cursor-hand-tool-button = - .title = ເປີດໃຊ້ເຄື່ອງມືມື -pdfjs-cursor-hand-tool-button-label = ເຄື່ອງມືມື -pdfjs-scroll-page-button = - .title = ໃຊ້ການເລື່ອນໜ້າ -pdfjs-scroll-page-button-label = ເລື່ອນໜ້າ -pdfjs-scroll-vertical-button = - .title = ໃຊ້ການເລື່ອນແນວຕັ້ງ -pdfjs-scroll-vertical-button-label = ເລື່ອນແນວຕັ້ງ -pdfjs-scroll-horizontal-button = - .title = ໃຊ້ການເລື່ອນແນວນອນ -pdfjs-scroll-horizontal-button-label = ເລື່ອນແນວນອນ -pdfjs-scroll-wrapped-button = - .title = ໃຊ້ Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = ບໍ່ຕ້ອງຮ່ວມການແຜ່ກະຈາຍຫນ້າ -pdfjs-spread-none-button-label = ບໍ່ມີການແຜ່ກະຈາຍ -pdfjs-spread-odd-button = - .title = ເຂົ້າຮ່ວມການແຜ່ກະຈາຍຫນ້າເລີ່ມຕົ້ນດ້ວຍຫນ້າເລກຄີກ -pdfjs-spread-odd-button-label = ການແຜ່ກະຈາຍຄີກ -pdfjs-spread-even-button = - .title = ເຂົ້າຮ່ວມການແຜ່ກະຈາຍຂອງຫນ້າເລີ່ມຕົ້ນດ້ວຍຫນ້າເລກຄູ່ -pdfjs-spread-even-button-label = ການແຜ່ກະຈາຍຄູ່ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = ຄຸນສົມບັດເອກະສານ... -pdfjs-document-properties-button-label = ຄຸນສົມບັດເອກະສານ... -pdfjs-document-properties-file-name = ຊື່ໄຟລ໌: -pdfjs-document-properties-file-size = ຂະຫນາດໄຟລ໌: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } ໄບຕ໌) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } ໄບຕ໌) -pdfjs-document-properties-title = ຫົວຂໍ້: -pdfjs-document-properties-author = ຜູ້ຂຽນ: -pdfjs-document-properties-subject = ຫົວຂໍ້: -pdfjs-document-properties-keywords = ຄໍາທີ່ຕ້ອງການຄົ້ນຫາ: -pdfjs-document-properties-creation-date = ວັນທີສ້າງ: -pdfjs-document-properties-modification-date = ວັນທີແກ້ໄຂ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ຜູ້ສ້າງ: -pdfjs-document-properties-producer = ຜູ້ຜະລິດ PDF: -pdfjs-document-properties-version = ເວີຊັ່ນ PDF: -pdfjs-document-properties-page-count = ຈຳນວນໜ້າ: -pdfjs-document-properties-page-size = ຂະໜາດໜ້າ: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = ລວງຕັ້ງ -pdfjs-document-properties-page-size-orientation-landscape = ລວງນອນ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = ຈົດໝາຍ -pdfjs-document-properties-page-size-name-legal = ຂໍ້ກົດຫມາຍ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = ມຸມມອງເວັບທີ່ໄວ: -pdfjs-document-properties-linearized-yes = ແມ່ນ -pdfjs-document-properties-linearized-no = ບໍ່ -pdfjs-document-properties-close-button = ປິດ - -## Print - -pdfjs-print-progress-message = ກຳລັງກະກຽມເອກະສານສຳລັບການພິມ... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ຍົກເລີກ -pdfjs-printing-not-supported = ຄຳເຕືອນ: ບຼາວເຊີນີ້ບໍ່ຮອງຮັບການພິມຢ່າງເຕັມທີ່. -pdfjs-printing-not-ready = ຄໍາເຕືອນ: PDF ບໍ່ໄດ້ຖືກໂຫຼດຢ່າງເຕັມທີ່ສໍາລັບການພິມ. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ເປີດ/ປິດແຖບຂ້າງ -pdfjs-toggle-sidebar-notification-button = - .title = ສະຫຼັບແຖບດ້ານຂ້າງ (ເອກະສານປະກອບມີໂຄງຮ່າງ/ໄຟລ໌ແນບ/ຊັ້ນຂໍ້ມູນ) -pdfjs-toggle-sidebar-button-label = ເປີດ/ປິດແຖບຂ້າງ -pdfjs-document-outline-button = - .title = ສະແດງໂຄງຮ່າງເອກະສານ (ກົດສອງຄັ້ງເພື່ອຂະຫຍາຍ / ຫຍໍ້ລາຍການທັງຫມົດ) -pdfjs-document-outline-button-label = ເຄົ້າຮ່າງເອກະສານ -pdfjs-attachments-button = - .title = ສະແດງໄຟລ໌ແນບ -pdfjs-attachments-button-label = ໄຟລ໌ແນບ -pdfjs-layers-button = - .title = ສະແດງຊັ້ນຂໍ້ມູນ (ຄລິກສອງເທື່ອເພື່ອຣີເຊັດຊັ້ນຂໍ້ມູນທັງໝົດໃຫ້ເປັນສະຖານະເລີ່ມຕົ້ນ) -pdfjs-layers-button-label = ຊັ້ນ -pdfjs-thumbs-button = - .title = ສະແດງຮູບຫຍໍ້ -pdfjs-thumbs-button-label = ຮູບຕົວຢ່າງ -pdfjs-current-outline-item-button = - .title = ຊອກຫາລາຍການໂຄງຮ່າງປະຈຸບັນ -pdfjs-current-outline-item-button-label = ລາຍການໂຄງຮ່າງປະຈຸບັນ -pdfjs-findbar-button = - .title = ຊອກຫາໃນເອກະສານ -pdfjs-findbar-button-label = ຄົ້ນຫາ -pdfjs-additional-layers = ຊັ້ນຂໍ້ມູນເພີ່ມເຕີມ - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = ໜ້າ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = ຮູບຕົວຢ່າງຂອງໜ້າ { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ຄົ້ນຫາ - .placeholder = ຊອກຫາໃນເອກະສານ... -pdfjs-find-previous-button = - .title = ຊອກຫາການປະກົດຕົວທີ່ຜ່ານມາຂອງປະໂຫຍກ -pdfjs-find-previous-button-label = ກ່ອນຫນ້ານີ້ -pdfjs-find-next-button = - .title = ຊອກຫາຕຳແຫນ່ງຖັດໄປຂອງວະລີ -pdfjs-find-next-button-label = ຕໍ່ໄປ -pdfjs-find-highlight-checkbox = ໄຮໄລທ໌ທັງຫມົດ -pdfjs-find-match-case-checkbox-label = ກໍລະນີທີ່ກົງກັນ -pdfjs-find-match-diacritics-checkbox-label = ເຄື່ອງໝາຍກຳກັບການອອກສຽງກົງກັນ -pdfjs-find-entire-word-checkbox-label = ກົງກັນທຸກຄຳ -pdfjs-find-reached-top = ມາຮອດເທິງຂອງເອກະສານ, ສືບຕໍ່ຈາກລຸ່ມ -pdfjs-find-reached-bottom = ຮອດຕອນທ້າຍຂອງເອກະສານ, ສືບຕໍ່ຈາກເທິງ -pdfjs-find-not-found = ບໍ່ພົບວະລີທີ່ຕ້ອງການ - -## Predefined zoom values - -pdfjs-page-scale-width = ຄວາມກວ້າງໜ້າ -pdfjs-page-scale-fit = ໜ້າພໍດີ -pdfjs-page-scale-auto = ຊູມອັດຕະໂນມັດ -pdfjs-page-scale-actual = ຂະໜາດຕົວຈິງ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = ໜ້າ { $page } - -## Loading indicator messages - -pdfjs-loading-error = ມີຂໍ້ຜິດພາດເກີດຂື້ນຂະນະທີ່ກຳລັງໂຫລດ PDF. -pdfjs-invalid-file-error = ໄຟລ໌ PDF ບໍ່ຖືກຕ້ອງຫລືເສຍຫາຍ. -pdfjs-missing-file-error = ບໍ່ມີໄຟລ໌ PDF. -pdfjs-unexpected-response-error = ການຕອບສະໜອງຂອງເຊີບເວີທີ່ບໍ່ຄາດຄິດ. -pdfjs-rendering-error = ມີຂໍ້ຜິດພາດເກີດຂື້ນຂະນະທີ່ກຳລັງເຣັນເດີຫນ້າ. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ຄຳບັນຍາຍ] - -## Password - -pdfjs-password-label = ໃສ່ລະຫັດຜ່ານເພື່ອເປີດໄຟລ໌ PDF ນີ້. -pdfjs-password-invalid = ລະຫັດຜ່ານບໍ່ຖືກຕ້ອງ. ກະລຸນາລອງອີກຄັ້ງ. -pdfjs-password-ok-button = ຕົກລົງ -pdfjs-password-cancel-button = ຍົກເລີກ -pdfjs-web-fonts-disabled = ຟອນເວັບຖືກປິດໃຊ້ງານ: ບໍ່ສາມາດໃຊ້ຟອນ PDF ທີ່ຝັງໄວ້ໄດ້. - -## Editing - -pdfjs-editor-free-text-button = - .title = ຂໍ້ຄວາມ -pdfjs-editor-free-text-button-label = ຂໍ້ຄວາມ -pdfjs-editor-ink-button = - .title = ແຕ້ມ -pdfjs-editor-ink-button-label = ແຕ້ມ -# Editor Parameters -pdfjs-editor-free-text-color-input = ສີ -pdfjs-editor-free-text-size-input = ຂະຫນາດ -pdfjs-editor-ink-color-input = ສີ -pdfjs-editor-ink-thickness-input = ຄວາມຫນາ -pdfjs-editor-ink-opacity-input = ຄວາມໂປ່ງໃສ -pdfjs-free-text = - .aria-label = ຕົວແກ້ໄຂຂໍ້ຄວາມ -pdfjs-free-text-default-content = ເລີ່ມພິມ... -pdfjs-ink = - .aria-label = ຕົວແກ້ໄຂຮູບແຕ້ມ -pdfjs-ink-canvas = - .aria-label = ຮູບພາບທີ່ຜູ້ໃຊ້ສ້າງ - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/locale.json b/media/js/pdf4/web/locale/locale.json deleted file mode 100644 index 20122111f2..0000000000 --- a/media/js/pdf4/web/locale/locale.json +++ /dev/null @@ -1 +0,0 @@ -{"ach":"ach/viewer.ftl","af":"af/viewer.ftl","an":"an/viewer.ftl","ar":"ar/viewer.ftl","ast":"ast/viewer.ftl","az":"az/viewer.ftl","be":"be/viewer.ftl","bg":"bg/viewer.ftl","bn":"bn/viewer.ftl","bo":"bo/viewer.ftl","br":"br/viewer.ftl","brx":"brx/viewer.ftl","bs":"bs/viewer.ftl","ca":"ca/viewer.ftl","cak":"cak/viewer.ftl","ckb":"ckb/viewer.ftl","cs":"cs/viewer.ftl","cy":"cy/viewer.ftl","da":"da/viewer.ftl","de":"de/viewer.ftl","dsb":"dsb/viewer.ftl","el":"el/viewer.ftl","en-ca":"en-CA/viewer.ftl","en-gb":"en-GB/viewer.ftl","en-us":"en-US/viewer.ftl","eo":"eo/viewer.ftl","es-ar":"es-AR/viewer.ftl","es-cl":"es-CL/viewer.ftl","es-es":"es-ES/viewer.ftl","es-mx":"es-MX/viewer.ftl","et":"et/viewer.ftl","eu":"eu/viewer.ftl","fa":"fa/viewer.ftl","ff":"ff/viewer.ftl","fi":"fi/viewer.ftl","fr":"fr/viewer.ftl","fur":"fur/viewer.ftl","fy-nl":"fy-NL/viewer.ftl","ga-ie":"ga-IE/viewer.ftl","gd":"gd/viewer.ftl","gl":"gl/viewer.ftl","gn":"gn/viewer.ftl","gu-in":"gu-IN/viewer.ftl","he":"he/viewer.ftl","hi-in":"hi-IN/viewer.ftl","hr":"hr/viewer.ftl","hsb":"hsb/viewer.ftl","hu":"hu/viewer.ftl","hy-am":"hy-AM/viewer.ftl","hye":"hye/viewer.ftl","ia":"ia/viewer.ftl","id":"id/viewer.ftl","is":"is/viewer.ftl","it":"it/viewer.ftl","ja":"ja/viewer.ftl","ka":"ka/viewer.ftl","kab":"kab/viewer.ftl","kk":"kk/viewer.ftl","km":"km/viewer.ftl","kn":"kn/viewer.ftl","ko":"ko/viewer.ftl","lij":"lij/viewer.ftl","lo":"lo/viewer.ftl","lt":"lt/viewer.ftl","ltg":"ltg/viewer.ftl","lv":"lv/viewer.ftl","meh":"meh/viewer.ftl","mk":"mk/viewer.ftl","mr":"mr/viewer.ftl","ms":"ms/viewer.ftl","my":"my/viewer.ftl","nb-no":"nb-NO/viewer.ftl","ne-np":"ne-NP/viewer.ftl","nl":"nl/viewer.ftl","nn-no":"nn-NO/viewer.ftl","oc":"oc/viewer.ftl","pa-in":"pa-IN/viewer.ftl","pl":"pl/viewer.ftl","pt-br":"pt-BR/viewer.ftl","pt-pt":"pt-PT/viewer.ftl","rm":"rm/viewer.ftl","ro":"ro/viewer.ftl","ru":"ru/viewer.ftl","sat":"sat/viewer.ftl","sc":"sc/viewer.ftl","scn":"scn/viewer.ftl","sco":"sco/viewer.ftl","si":"si/viewer.ftl","sk":"sk/viewer.ftl","skr":"skr/viewer.ftl","sl":"sl/viewer.ftl","son":"son/viewer.ftl","sq":"sq/viewer.ftl","sr":"sr/viewer.ftl","sv-se":"sv-SE/viewer.ftl","szl":"szl/viewer.ftl","ta":"ta/viewer.ftl","te":"te/viewer.ftl","tg":"tg/viewer.ftl","th":"th/viewer.ftl","tl":"tl/viewer.ftl","tr":"tr/viewer.ftl","trs":"trs/viewer.ftl","uk":"uk/viewer.ftl","ur":"ur/viewer.ftl","uz":"uz/viewer.ftl","vi":"vi/viewer.ftl","wo":"wo/viewer.ftl","xh":"xh/viewer.ftl","zh-cn":"zh-CN/viewer.ftl","zh-tw":"zh-TW/viewer.ftl"} \ No newline at end of file diff --git a/media/js/pdf4/web/locale/lt/viewer.ftl b/media/js/pdf4/web/locale/lt/viewer.ftl deleted file mode 100644 index a8ee7a08f3..0000000000 --- a/media/js/pdf4/web/locale/lt/viewer.ftl +++ /dev/null @@ -1,268 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Ankstesnis puslapis -pdfjs-previous-button-label = Ankstesnis -pdfjs-next-button = - .title = Kitas puslapis -pdfjs-next-button-label = Kitas -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Puslapis -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = iš { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } iš { $pagesCount }) -pdfjs-zoom-out-button = - .title = Sumažinti -pdfjs-zoom-out-button-label = Sumažinti -pdfjs-zoom-in-button = - .title = Padidinti -pdfjs-zoom-in-button-label = Padidinti -pdfjs-zoom-select = - .title = Mastelis -pdfjs-presentation-mode-button = - .title = Pereiti į pateikties veikseną -pdfjs-presentation-mode-button-label = Pateikties veiksena -pdfjs-open-file-button = - .title = Atverti failą -pdfjs-open-file-button-label = Atverti -pdfjs-print-button = - .title = Spausdinti -pdfjs-print-button-label = Spausdinti - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Priemonės -pdfjs-tools-button-label = Priemonės -pdfjs-first-page-button = - .title = Eiti į pirmą puslapį -pdfjs-first-page-button-label = Eiti į pirmą puslapį -pdfjs-last-page-button = - .title = Eiti į paskutinį puslapį -pdfjs-last-page-button-label = Eiti į paskutinį puslapį -pdfjs-page-rotate-cw-button = - .title = Pasukti pagal laikrodžio rodyklę -pdfjs-page-rotate-cw-button-label = Pasukti pagal laikrodžio rodyklę -pdfjs-page-rotate-ccw-button = - .title = Pasukti prieš laikrodžio rodyklę -pdfjs-page-rotate-ccw-button-label = Pasukti prieš laikrodžio rodyklę -pdfjs-cursor-text-select-tool-button = - .title = Įjungti teksto žymėjimo įrankį -pdfjs-cursor-text-select-tool-button-label = Teksto žymėjimo įrankis -pdfjs-cursor-hand-tool-button = - .title = Įjungti vilkimo įrankį -pdfjs-cursor-hand-tool-button-label = Vilkimo įrankis -pdfjs-scroll-page-button = - .title = Naudoti puslapio slinkimą -pdfjs-scroll-page-button-label = Puslapio slinkimas -pdfjs-scroll-vertical-button = - .title = Naudoti vertikalų slinkimą -pdfjs-scroll-vertical-button-label = Vertikalus slinkimas -pdfjs-scroll-horizontal-button = - .title = Naudoti horizontalų slinkimą -pdfjs-scroll-horizontal-button-label = Horizontalus slinkimas -pdfjs-scroll-wrapped-button = - .title = Naudoti išklotą slinkimą -pdfjs-scroll-wrapped-button-label = Išklotas slinkimas -pdfjs-spread-none-button = - .title = Nejungti puslapių į dvilapius -pdfjs-spread-none-button-label = Be dvilapių -pdfjs-spread-odd-button = - .title = Sujungti į dvilapius pradedant nelyginiais puslapiais -pdfjs-spread-odd-button-label = Nelyginiai dvilapiai -pdfjs-spread-even-button = - .title = Sujungti į dvilapius pradedant lyginiais puslapiais -pdfjs-spread-even-button-label = Lyginiai dvilapiai - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumento savybės… -pdfjs-document-properties-button-label = Dokumento savybės… -pdfjs-document-properties-file-name = Failo vardas: -pdfjs-document-properties-file-size = Failo dydis: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } B) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } B) -pdfjs-document-properties-title = Antraštė: -pdfjs-document-properties-author = Autorius: -pdfjs-document-properties-subject = Tema: -pdfjs-document-properties-keywords = Reikšminiai žodžiai: -pdfjs-document-properties-creation-date = Sukūrimo data: -pdfjs-document-properties-modification-date = Modifikavimo data: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Kūrėjas: -pdfjs-document-properties-producer = PDF generatorius: -pdfjs-document-properties-version = PDF versija: -pdfjs-document-properties-page-count = Puslapių skaičius: -pdfjs-document-properties-page-size = Puslapio dydis: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = stačias -pdfjs-document-properties-page-size-orientation-landscape = gulsčias -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Laiškas -pdfjs-document-properties-page-size-name-legal = Dokumentas - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Spartus žiniatinklio rodinys: -pdfjs-document-properties-linearized-yes = Taip -pdfjs-document-properties-linearized-no = Ne -pdfjs-document-properties-close-button = Užverti - -## Print - -pdfjs-print-progress-message = Dokumentas ruošiamas spausdinimui… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Atsisakyti -pdfjs-printing-not-supported = Dėmesio! Spausdinimas šioje naršyklėje nėra pilnai realizuotas. -pdfjs-printing-not-ready = Dėmesio! PDF failas dar nėra pilnai įkeltas spausdinimui. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Rodyti / slėpti šoninį polangį -pdfjs-toggle-sidebar-notification-button = - .title = Parankinė (dokumentas turi struktūrą / priedų / sluoksnių) -pdfjs-toggle-sidebar-button-label = Šoninis polangis -pdfjs-document-outline-button = - .title = Rodyti dokumento struktūrą (spustelėkite dukart norėdami išplėsti/suskleisti visus elementus) -pdfjs-document-outline-button-label = Dokumento struktūra -pdfjs-attachments-button = - .title = Rodyti priedus -pdfjs-attachments-button-label = Priedai -pdfjs-layers-button = - .title = Rodyti sluoksnius (spustelėkite dukart, norėdami atstatyti visus sluoksnius į numatytąją būseną) -pdfjs-layers-button-label = Sluoksniai -pdfjs-thumbs-button = - .title = Rodyti puslapių miniatiūras -pdfjs-thumbs-button-label = Miniatiūros -pdfjs-current-outline-item-button = - .title = Rasti dabartinį struktūros elementą -pdfjs-current-outline-item-button-label = Dabartinis struktūros elementas -pdfjs-findbar-button = - .title = Ieškoti dokumente -pdfjs-findbar-button-label = Rasti -pdfjs-additional-layers = Papildomi sluoksniai - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } puslapis -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } puslapio miniatiūra - -## Find panel button title and messages - -pdfjs-find-input = - .title = Rasti - .placeholder = Rasti dokumente… -pdfjs-find-previous-button = - .title = Ieškoti ankstesnio frazės egzemplioriaus -pdfjs-find-previous-button-label = Ankstesnis -pdfjs-find-next-button = - .title = Ieškoti tolesnio frazės egzemplioriaus -pdfjs-find-next-button-label = Tolesnis -pdfjs-find-highlight-checkbox = Viską paryškinti -pdfjs-find-match-case-checkbox-label = Skirti didžiąsias ir mažąsias raides -pdfjs-find-match-diacritics-checkbox-label = Skirti diakritinius ženklus -pdfjs-find-entire-word-checkbox-label = Ištisi žodžiai -pdfjs-find-reached-top = Pasiekus dokumento pradžią, paieška pratęsta nuo pabaigos -pdfjs-find-reached-bottom = Pasiekus dokumento pabaigą, paieška pratęsta nuo pradžios -pdfjs-find-not-found = Ieškoma frazė nerasta - -## Predefined zoom values - -pdfjs-page-scale-width = Priderinti prie lapo pločio -pdfjs-page-scale-fit = Pritaikyti prie lapo dydžio -pdfjs-page-scale-auto = Automatinis mastelis -pdfjs-page-scale-actual = Tikras dydis -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page } puslapis - -## Loading indicator messages - -pdfjs-loading-error = Įkeliant PDF failą įvyko klaida. -pdfjs-invalid-file-error = Tai nėra PDF failas arba jis yra sugadintas. -pdfjs-missing-file-error = PDF failas nerastas. -pdfjs-unexpected-response-error = Netikėtas serverio atsakas. -pdfjs-rendering-error = Atvaizduojant puslapį įvyko klaida. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [„{ $type }“ tipo anotacija] - -## Password - -pdfjs-password-label = Įveskite slaptažodį šiam PDF failui atverti. -pdfjs-password-invalid = Slaptažodis neteisingas. Bandykite dar kartą. -pdfjs-password-ok-button = Gerai -pdfjs-password-cancel-button = Atsisakyti -pdfjs-web-fonts-disabled = Saityno šriftai išjungti – PDF faile esančių šriftų naudoti negalima. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ltg/viewer.ftl b/media/js/pdf4/web/locale/ltg/viewer.ftl deleted file mode 100644 index d262165450..0000000000 --- a/media/js/pdf4/web/locale/ltg/viewer.ftl +++ /dev/null @@ -1,246 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Īprīkšejā lopa -pdfjs-previous-button-label = Īprīkšejā -pdfjs-next-button = - .title = Nuokomuo lopa -pdfjs-next-button-label = Nuokomuo -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Lopa -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = nu { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } nu { $pagesCount }) -pdfjs-zoom-out-button = - .title = Attuolynuot -pdfjs-zoom-out-button-label = Attuolynuot -pdfjs-zoom-in-button = - .title = Pītuvynuot -pdfjs-zoom-in-button-label = Pītuvynuot -pdfjs-zoom-select = - .title = Palelynuojums -pdfjs-presentation-mode-button = - .title = Puorslēgtīs iz Prezentacejis režymu -pdfjs-presentation-mode-button-label = Prezentacejis režyms -pdfjs-open-file-button = - .title = Attaiseit failu -pdfjs-open-file-button-label = Attaiseit -pdfjs-print-button = - .title = Drukuošona -pdfjs-print-button-label = Drukōt - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Reiki -pdfjs-tools-button-label = Reiki -pdfjs-first-page-button = - .title = Īt iz pyrmū lopu -pdfjs-first-page-button-label = Īt iz pyrmū lopu -pdfjs-last-page-button = - .title = Īt iz piedejū lopu -pdfjs-last-page-button-label = Īt iz piedejū lopu -pdfjs-page-rotate-cw-button = - .title = Pagrīzt pa pulksteni -pdfjs-page-rotate-cw-button-label = Pagrīzt pa pulksteni -pdfjs-page-rotate-ccw-button = - .title = Pagrīzt pret pulksteni -pdfjs-page-rotate-ccw-button-label = Pagrīzt pret pulksteni -pdfjs-cursor-text-select-tool-button = - .title = Aktivizēt teksta izvieles reiku -pdfjs-cursor-text-select-tool-button-label = Teksta izvieles reiks -pdfjs-cursor-hand-tool-button = - .title = Aktivēt rūkys reiku -pdfjs-cursor-hand-tool-button-label = Rūkys reiks -pdfjs-scroll-vertical-button = - .title = Izmontōt vertikalū ritinōšonu -pdfjs-scroll-vertical-button-label = Vertikalō ritinōšona -pdfjs-scroll-horizontal-button = - .title = Izmontōt horizontalū ritinōšonu -pdfjs-scroll-horizontal-button-label = Horizontalō ritinōšona -pdfjs-scroll-wrapped-button = - .title = Izmontōt mārūgojamū ritinōšonu -pdfjs-scroll-wrapped-button-label = Mārūgojamō ritinōšona -pdfjs-spread-none-button = - .title = Naizmontōt lopu atvāruma režimu -pdfjs-spread-none-button-label = Bez atvārumim -pdfjs-spread-odd-button = - .title = Izmontōt lopu atvārumus sōkut nu napōra numeru lopom -pdfjs-spread-odd-button-label = Napōra lopys pa kreisi -pdfjs-spread-even-button = - .title = Izmontōt lopu atvārumus sōkut nu pōra numeru lopom -pdfjs-spread-even-button-label = Pōra lopys pa kreisi - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumenta īstatiejumi… -pdfjs-document-properties-button-label = Dokumenta īstatiejumi… -pdfjs-document-properties-file-name = Faila nūsaukums: -pdfjs-document-properties-file-size = Faila izmārs: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } biti) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } biti) -pdfjs-document-properties-title = Nūsaukums: -pdfjs-document-properties-author = Autors: -pdfjs-document-properties-subject = Tema: -pdfjs-document-properties-keywords = Atslāgi vuordi: -pdfjs-document-properties-creation-date = Izveides datums: -pdfjs-document-properties-modification-date = lobuošonys datums: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Radeituojs: -pdfjs-document-properties-producer = PDF producents: -pdfjs-document-properties-version = PDF verseja: -pdfjs-document-properties-page-count = Lopu skaits: -pdfjs-document-properties-page-size = Lopas izmārs: -pdfjs-document-properties-page-size-unit-inches = collas -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portreta orientaceja -pdfjs-document-properties-page-size-orientation-landscape = ainovys orientaceja -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Jā -pdfjs-document-properties-linearized-no = Nā -pdfjs-document-properties-close-button = Aiztaiseit - -## Print - -pdfjs-print-progress-message = Preparing document for printing… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Atceļt -pdfjs-printing-not-supported = Uzmaneibu: Drukuošona nu itei puorlūka dorbojās tikai daleji. -pdfjs-printing-not-ready = Uzmaneibu: PDF nav pilneibā īluodeits drukuošonai. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Puorslēgt suonu jūslu -pdfjs-toggle-sidebar-button-label = Puorslēgt suonu jūslu -pdfjs-document-outline-button = - .title = Show Document Outline (double-click to expand/collapse all items) -pdfjs-document-outline-button-label = Dokumenta saturs -pdfjs-attachments-button = - .title = Show Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-thumbs-button = - .title = Paruodeit seiktālus -pdfjs-thumbs-button-label = Seiktāli -pdfjs-findbar-button = - .title = Mekleit dokumentā -pdfjs-findbar-button-label = Mekleit - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Lopa { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Lopys { $page } seiktāls - -## Find panel button title and messages - -pdfjs-find-input = - .title = Mekleit - .placeholder = Mekleit dokumentā… -pdfjs-find-previous-button = - .title = Atrast īprīkšejū -pdfjs-find-previous-button-label = Īprīkšejā -pdfjs-find-next-button = - .title = Atrast nuokamū -pdfjs-find-next-button-label = Nuokomuo -pdfjs-find-highlight-checkbox = Īkruosuot vysys -pdfjs-find-match-case-checkbox-label = Lelū, mozū burtu jiuteigs -pdfjs-find-reached-top = Sasnīgts dokumenta suokums, turpynojom nu beigom -pdfjs-find-reached-bottom = Sasnīgtys dokumenta beigys, turpynojom nu suokuma -pdfjs-find-not-found = Frāze nav atrosta - -## Predefined zoom values - -pdfjs-page-scale-width = Lopys plotumā -pdfjs-page-scale-fit = Ītylpynūt lopu -pdfjs-page-scale-auto = Automatiskais izmārs -pdfjs-page-scale-actual = Patīsais izmārs -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Īluodejūt PDF nūtyka klaida. -pdfjs-invalid-file-error = Nadereigs voi būjuots PDF fails. -pdfjs-missing-file-error = PDF fails nav atrosts. -pdfjs-unexpected-response-error = Unexpected server response. -pdfjs-rendering-error = Attālojūt lopu rodās klaida - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Īvodit paroli, kab attaiseitu PDF failu. -pdfjs-password-invalid = Napareiza parole, raugit vēļreiz. -pdfjs-password-ok-button = Labi -pdfjs-password-cancel-button = Atceļt -pdfjs-web-fonts-disabled = Šķārsteikla fonti nav aktivizāti: Navar īgult PDF fontus. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/lv/viewer.ftl b/media/js/pdf4/web/locale/lv/viewer.ftl deleted file mode 100644 index 067dc105e6..0000000000 --- a/media/js/pdf4/web/locale/lv/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Iepriekšējā lapa -pdfjs-previous-button-label = Iepriekšējā -pdfjs-next-button = - .title = Nākamā lapa -pdfjs-next-button-label = Nākamā -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Lapa -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = no { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } no { $pagesCount }) -pdfjs-zoom-out-button = - .title = Attālināt -pdfjs-zoom-out-button-label = Attālināt -pdfjs-zoom-in-button = - .title = Pietuvināt -pdfjs-zoom-in-button-label = Pietuvināt -pdfjs-zoom-select = - .title = Palielinājums -pdfjs-presentation-mode-button = - .title = Pārslēgties uz Prezentācijas režīmu -pdfjs-presentation-mode-button-label = Prezentācijas režīms -pdfjs-open-file-button = - .title = Atvērt failu -pdfjs-open-file-button-label = Atvērt -pdfjs-print-button = - .title = Drukāšana -pdfjs-print-button-label = Drukāt - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Rīki -pdfjs-tools-button-label = Rīki -pdfjs-first-page-button = - .title = Iet uz pirmo lapu -pdfjs-first-page-button-label = Iet uz pirmo lapu -pdfjs-last-page-button = - .title = Iet uz pēdējo lapu -pdfjs-last-page-button-label = Iet uz pēdējo lapu -pdfjs-page-rotate-cw-button = - .title = Pagriezt pa pulksteni -pdfjs-page-rotate-cw-button-label = Pagriezt pa pulksteni -pdfjs-page-rotate-ccw-button = - .title = Pagriezt pret pulksteni -pdfjs-page-rotate-ccw-button-label = Pagriezt pret pulksteni -pdfjs-cursor-text-select-tool-button = - .title = Aktivizēt teksta izvēles rīku -pdfjs-cursor-text-select-tool-button-label = Teksta izvēles rīks -pdfjs-cursor-hand-tool-button = - .title = Aktivēt rokas rīku -pdfjs-cursor-hand-tool-button-label = Rokas rīks -pdfjs-scroll-vertical-button = - .title = Izmantot vertikālo ritināšanu -pdfjs-scroll-vertical-button-label = Vertikālā ritināšana -pdfjs-scroll-horizontal-button = - .title = Izmantot horizontālo ritināšanu -pdfjs-scroll-horizontal-button-label = Horizontālā ritināšana -pdfjs-scroll-wrapped-button = - .title = Izmantot apkļauto ritināšanu -pdfjs-scroll-wrapped-button-label = Apkļautā ritināšana -pdfjs-spread-none-button = - .title = Nepievienoties lapu izpletumiem -pdfjs-spread-none-button-label = Neizmantot izpletumus -pdfjs-spread-odd-button = - .title = Izmantot lapu izpletumus sākot ar nepāra numuru lapām -pdfjs-spread-odd-button-label = Nepāra izpletumi -pdfjs-spread-even-button = - .title = Izmantot lapu izpletumus sākot ar pāra numuru lapām -pdfjs-spread-even-button-label = Pāra izpletumi - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumenta iestatījumi… -pdfjs-document-properties-button-label = Dokumenta iestatījumi… -pdfjs-document-properties-file-name = Faila nosaukums: -pdfjs-document-properties-file-size = Faila izmērs: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } biti) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } biti) -pdfjs-document-properties-title = Nosaukums: -pdfjs-document-properties-author = Autors: -pdfjs-document-properties-subject = Tēma: -pdfjs-document-properties-keywords = Atslēgas vārdi: -pdfjs-document-properties-creation-date = Izveides datums: -pdfjs-document-properties-modification-date = LAbošanas datums: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Radītājs: -pdfjs-document-properties-producer = PDF producents: -pdfjs-document-properties-version = PDF versija: -pdfjs-document-properties-page-count = Lapu skaits: -pdfjs-document-properties-page-size = Papīra izmērs: -pdfjs-document-properties-page-size-unit-inches = collas -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portretorientācija -pdfjs-document-properties-page-size-orientation-landscape = ainavorientācija -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Vēstule -pdfjs-document-properties-page-size-name-legal = Juridiskie teksti - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Ātrā tīmekļa skats: -pdfjs-document-properties-linearized-yes = Jā -pdfjs-document-properties-linearized-no = Nē -pdfjs-document-properties-close-button = Aizvērt - -## Print - -pdfjs-print-progress-message = Gatavo dokumentu drukāšanai... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Atcelt -pdfjs-printing-not-supported = Uzmanību: Drukāšana no šī pārlūka darbojas tikai daļēji. -pdfjs-printing-not-ready = Uzmanību: PDF nav pilnībā ielādēts drukāšanai. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Pārslēgt sānu joslu -pdfjs-toggle-sidebar-button-label = Pārslēgt sānu joslu -pdfjs-document-outline-button = - .title = Rādīt dokumenta struktūru (veiciet dubultklikšķi lai izvērstu/sakļautu visus vienumus) -pdfjs-document-outline-button-label = Dokumenta saturs -pdfjs-attachments-button = - .title = Rādīt pielikumus -pdfjs-attachments-button-label = Pielikumi -pdfjs-thumbs-button = - .title = Parādīt sīktēlus -pdfjs-thumbs-button-label = Sīktēli -pdfjs-findbar-button = - .title = Meklēt dokumentā -pdfjs-findbar-button-label = Meklēt - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Lapa { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Lapas { $page } sīktēls - -## Find panel button title and messages - -pdfjs-find-input = - .title = Meklēt - .placeholder = Meklēt dokumentā… -pdfjs-find-previous-button = - .title = Atrast iepriekšējo -pdfjs-find-previous-button-label = Iepriekšējā -pdfjs-find-next-button = - .title = Atrast nākamo -pdfjs-find-next-button-label = Nākamā -pdfjs-find-highlight-checkbox = Iekrāsot visas -pdfjs-find-match-case-checkbox-label = Lielo, mazo burtu jutīgs -pdfjs-find-entire-word-checkbox-label = Veselus vārdus -pdfjs-find-reached-top = Sasniegts dokumenta sākums, turpinām no beigām -pdfjs-find-reached-bottom = Sasniegtas dokumenta beigas, turpinām no sākuma -pdfjs-find-not-found = Frāze nav atrasta - -## Predefined zoom values - -pdfjs-page-scale-width = Lapas platumā -pdfjs-page-scale-fit = Ietilpinot lapu -pdfjs-page-scale-auto = Automātiskais izmērs -pdfjs-page-scale-actual = Patiesais izmērs -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Ielādējot PDF notika kļūda. -pdfjs-invalid-file-error = Nederīgs vai bojāts PDF fails. -pdfjs-missing-file-error = PDF fails nav atrasts. -pdfjs-unexpected-response-error = Negaidīa servera atbilde. -pdfjs-rendering-error = Attēlojot lapu radās kļūda - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } anotācija] - -## Password - -pdfjs-password-label = Ievadiet paroli, lai atvērtu PDF failu. -pdfjs-password-invalid = Nepareiza parole, mēģiniet vēlreiz. -pdfjs-password-ok-button = Labi -pdfjs-password-cancel-button = Atcelt -pdfjs-web-fonts-disabled = Tīmekļa fonti nav aktivizēti: Nevar iegult PDF fontus. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/meh/viewer.ftl b/media/js/pdf4/web/locale/meh/viewer.ftl deleted file mode 100644 index d8bddc9d54..0000000000 --- a/media/js/pdf4/web/locale/meh/viewer.ftl +++ /dev/null @@ -1,87 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página yata -pdfjs-zoom-select = - .title = Nasa´a ka´nu/Nasa´a luli -pdfjs-open-file-button-label = Síne - -## Secondary toolbar and context menu - - -## Document properties dialog - -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = Kuvi -pdfjs-document-properties-close-button = Nakasɨ - -## Print - -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Nkuvi-ka - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-findbar-button-label = Nánuku - -## Thumbnails panel item (tooltip and alt text for images) - - -## Find panel button title and messages - - -## Predefined zoom values - -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -## Password - -pdfjs-password-cancel-button = Nkuvi-ka - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/mk/viewer.ftl b/media/js/pdf4/web/locale/mk/viewer.ftl deleted file mode 100644 index 47d24b2409..0000000000 --- a/media/js/pdf4/web/locale/mk/viewer.ftl +++ /dev/null @@ -1,215 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Претходна страница -pdfjs-previous-button-label = Претходна -pdfjs-next-button = - .title = Следна страница -pdfjs-next-button-label = Следна -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Страница -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = од { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } од { $pagesCount }) -pdfjs-zoom-out-button = - .title = Намалување -pdfjs-zoom-out-button-label = Намали -pdfjs-zoom-in-button = - .title = Зголемување -pdfjs-zoom-in-button-label = Зголеми -pdfjs-zoom-select = - .title = Променување на големина -pdfjs-presentation-mode-button = - .title = Премини во презентациски режим -pdfjs-presentation-mode-button-label = Презентациски режим -pdfjs-open-file-button = - .title = Отворање датотека -pdfjs-open-file-button-label = Отвори -pdfjs-print-button = - .title = Печатење -pdfjs-print-button-label = Печати - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Алатки -pdfjs-tools-button-label = Алатки -pdfjs-first-page-button = - .title = Оди до првата страница -pdfjs-first-page-button-label = Оди до првата страница -pdfjs-last-page-button = - .title = Оди до последната страница -pdfjs-last-page-button-label = Оди до последната страница -pdfjs-page-rotate-cw-button = - .title = Ротирај по стрелките на часовникот -pdfjs-page-rotate-cw-button-label = Ротирај по стрелките на часовникот -pdfjs-page-rotate-ccw-button = - .title = Ротирај спротивно од стрелките на часовникот -pdfjs-page-rotate-ccw-button-label = Ротирај спротивно од стрелките на часовникот -pdfjs-cursor-text-select-tool-button = - .title = Овозможи алатка за избор на текст -pdfjs-cursor-text-select-tool-button-label = Алатка за избор на текст - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Својства на документот… -pdfjs-document-properties-button-label = Својства на документот… -pdfjs-document-properties-file-name = Име на датотека: -pdfjs-document-properties-file-size = Големина на датотеката: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } бајти) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } бајти) -pdfjs-document-properties-title = Наслов: -pdfjs-document-properties-author = Автор: -pdfjs-document-properties-subject = Тема: -pdfjs-document-properties-keywords = Клучни зборови: -pdfjs-document-properties-creation-date = Датум на создавање: -pdfjs-document-properties-modification-date = Датум на промена: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Креатор: -pdfjs-document-properties-version = Верзија на PDF: -pdfjs-document-properties-page-count = Број на страници: -pdfjs-document-properties-page-size = Големина на страница: -pdfjs-document-properties-page-size-unit-inches = инч -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = портрет -pdfjs-document-properties-page-size-orientation-landscape = пејзаж -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Писмо - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = Да -pdfjs-document-properties-linearized-no = Не -pdfjs-document-properties-close-button = Затвори - -## Print - -pdfjs-print-progress-message = Документ се подготвува за печатење… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Откажи -pdfjs-printing-not-supported = Предупредување: Печатењето не е целосно поддржано во овој прелистувач. -pdfjs-printing-not-ready = Предупредување: PDF документот не е целосно вчитан за печатење. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Вклучи странична лента -pdfjs-toggle-sidebar-button-label = Вклучи странична лента -pdfjs-document-outline-button-label = Содржина на документот -pdfjs-attachments-button = - .title = Прикажи додатоци -pdfjs-thumbs-button = - .title = Прикажување на икони -pdfjs-thumbs-button-label = Икони -pdfjs-findbar-button = - .title = Најди во документот -pdfjs-findbar-button-label = Најди - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Страница { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Икона од страница { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Пронајди - .placeholder = Пронајди во документот… -pdfjs-find-previous-button = - .title = Најди ја предходната појава на фразата -pdfjs-find-previous-button-label = Претходно -pdfjs-find-next-button = - .title = Најди ја следната појава на фразата -pdfjs-find-next-button-label = Следно -pdfjs-find-highlight-checkbox = Означи сѐ -pdfjs-find-match-case-checkbox-label = Токму така -pdfjs-find-entire-word-checkbox-label = Цели зборови -pdfjs-find-reached-top = Барањето стигна до почетокот на документот и почнува од крајот -pdfjs-find-reached-bottom = Барањето стигна до крајот на документот и почнува од почеток -pdfjs-find-not-found = Фразата не е пронајдена - -## Predefined zoom values - -pdfjs-page-scale-width = Ширина на страница -pdfjs-page-scale-fit = Цела страница -pdfjs-page-scale-auto = Автоматска големина -pdfjs-page-scale-actual = Вистинска големина -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Настана грешка при вчитувањето на PDF-от. -pdfjs-invalid-file-error = Невалидна или корумпирана PDF датотека. -pdfjs-missing-file-error = Недостасува PDF документ. -pdfjs-unexpected-response-error = Неочекуван одговор од серверот. -pdfjs-rendering-error = Настана грешка при прикажувањето на страницата. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -## Password - -pdfjs-password-label = Внесете ја лозинката за да ја отворите оваа датотека. -pdfjs-password-invalid = Невалидна лозинка. Обидете се повторно. -pdfjs-password-ok-button = Во ред -pdfjs-password-cancel-button = Откажи -pdfjs-web-fonts-disabled = Интернет фонтовите се оневозможени: не може да се користат вградените PDF фонтови. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/mr/viewer.ftl b/media/js/pdf4/web/locale/mr/viewer.ftl deleted file mode 100644 index 49948b1938..0000000000 --- a/media/js/pdf4/web/locale/mr/viewer.ftl +++ /dev/null @@ -1,239 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = मागील पृष्ठ -pdfjs-previous-button-label = मागील -pdfjs-next-button = - .title = पुढील पृष्ठ -pdfjs-next-button-label = पुढील -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = पृष्ठ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount }पैकी -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } पैकी { $pageNumber }) -pdfjs-zoom-out-button = - .title = छोटे करा -pdfjs-zoom-out-button-label = छोटे करा -pdfjs-zoom-in-button = - .title = मोठे करा -pdfjs-zoom-in-button-label = मोठे करा -pdfjs-zoom-select = - .title = लहान किंवा मोठे करा -pdfjs-presentation-mode-button = - .title = प्रस्तुतिकरण मोडचा वापर करा -pdfjs-presentation-mode-button-label = प्रस्तुतिकरण मोड -pdfjs-open-file-button = - .title = फाइल उघडा -pdfjs-open-file-button-label = उघडा -pdfjs-print-button = - .title = छपाई करा -pdfjs-print-button-label = छपाई करा - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = साधने -pdfjs-tools-button-label = साधने -pdfjs-first-page-button = - .title = पहिल्या पृष्ठावर जा -pdfjs-first-page-button-label = पहिल्या पृष्ठावर जा -pdfjs-last-page-button = - .title = शेवटच्या पृष्ठावर जा -pdfjs-last-page-button-label = शेवटच्या पृष्ठावर जा -pdfjs-page-rotate-cw-button = - .title = घड्याळाच्या काट्याच्या दिशेने फिरवा -pdfjs-page-rotate-cw-button-label = घड्याळाच्या काट्याच्या दिशेने फिरवा -pdfjs-page-rotate-ccw-button = - .title = घड्याळाच्या काट्याच्या उलट दिशेने फिरवा -pdfjs-page-rotate-ccw-button-label = घड्याळाच्या काट्याच्या उलट दिशेने फिरवा -pdfjs-cursor-text-select-tool-button = - .title = मजकूर निवड साधन कार्यान्वयीत करा -pdfjs-cursor-text-select-tool-button-label = मजकूर निवड साधन -pdfjs-cursor-hand-tool-button = - .title = हात साधन कार्यान्वित करा -pdfjs-cursor-hand-tool-button-label = हस्त साधन -pdfjs-scroll-vertical-button = - .title = अनुलंब स्क्रोलिंग वापरा -pdfjs-scroll-vertical-button-label = अनुलंब स्क्रोलिंग -pdfjs-scroll-horizontal-button = - .title = क्षैतिज स्क्रोलिंग वापरा -pdfjs-scroll-horizontal-button-label = क्षैतिज स्क्रोलिंग - -## Document properties dialog - -pdfjs-document-properties-button = - .title = दस्तऐवज गुणधर्म… -pdfjs-document-properties-button-label = दस्तऐवज गुणधर्म… -pdfjs-document-properties-file-name = फाइलचे नाव: -pdfjs-document-properties-file-size = फाइल आकार: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } बाइट्स) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } बाइट्स) -pdfjs-document-properties-title = शिर्षक: -pdfjs-document-properties-author = लेखक: -pdfjs-document-properties-subject = विषय: -pdfjs-document-properties-keywords = मुख्यशब्द: -pdfjs-document-properties-creation-date = निर्माण दिनांक: -pdfjs-document-properties-modification-date = दुरूस्ती दिनांक: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = निर्माता: -pdfjs-document-properties-producer = PDF निर्माता: -pdfjs-document-properties-version = PDF आवृत्ती: -pdfjs-document-properties-page-count = पृष्ठ संख्या: -pdfjs-document-properties-page-size = पृष्ठ आकार: -pdfjs-document-properties-page-size-unit-inches = इंच -pdfjs-document-properties-page-size-unit-millimeters = मीमी -pdfjs-document-properties-page-size-orientation-portrait = उभी मांडणी -pdfjs-document-properties-page-size-orientation-landscape = आडवे -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = जलद वेब दृष्य: -pdfjs-document-properties-linearized-yes = हो -pdfjs-document-properties-linearized-no = नाही -pdfjs-document-properties-close-button = बंद करा - -## Print - -pdfjs-print-progress-message = छपाई करीता पृष्ठ तयार करीत आहे… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = रद्द करा -pdfjs-printing-not-supported = सावधानता: या ब्राउझरतर्फे छपाइ पूर्णपणे समर्थीत नाही. -pdfjs-printing-not-ready = सावधानता: छपाईकरिता PDF पूर्णतया लोड झाले नाही. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = बाजूचीपट्टी टॉगल करा -pdfjs-toggle-sidebar-button-label = बाजूचीपट्टी टॉगल करा -pdfjs-document-outline-button = - .title = दस्तऐवज बाह्यरेखा दर्शवा (विस्तृत करण्यासाठी दोनवेळा क्लिक करा /सर्व घटक दाखवा) -pdfjs-document-outline-button-label = दस्तऐवज रूपरेषा -pdfjs-attachments-button = - .title = जोडपत्र दाखवा -pdfjs-attachments-button-label = जोडपत्र -pdfjs-thumbs-button = - .title = थंबनेल्स् दाखवा -pdfjs-thumbs-button-label = थंबनेल्स् -pdfjs-findbar-button = - .title = दस्तऐवजात शोधा -pdfjs-findbar-button-label = शोधा - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = पृष्ठ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = पृष्ठाचे थंबनेल { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = शोधा - .placeholder = दस्तऐवजात शोधा… -pdfjs-find-previous-button = - .title = वाकप्रयोगची मागील घटना शोधा -pdfjs-find-previous-button-label = मागील -pdfjs-find-next-button = - .title = वाकप्रयोगची पुढील घटना शोधा -pdfjs-find-next-button-label = पुढील -pdfjs-find-highlight-checkbox = सर्व ठळक करा -pdfjs-find-match-case-checkbox-label = आकार जुळवा -pdfjs-find-entire-word-checkbox-label = संपूर्ण शब्द -pdfjs-find-reached-top = दस्तऐवजाच्या शीर्षकास पोहचले, तळपासून पुढे -pdfjs-find-reached-bottom = दस्तऐवजाच्या तळाला पोहचले, शीर्षकापासून पुढे -pdfjs-find-not-found = वाकप्रयोग आढळले नाही - -## Predefined zoom values - -pdfjs-page-scale-width = पृष्ठाची रूंदी -pdfjs-page-scale-fit = पृष्ठ बसवा -pdfjs-page-scale-auto = स्वयं लाहन किंवा मोठे करणे -pdfjs-page-scale-actual = प्रत्यक्ष आकार -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF लोड करतेवेळी त्रुटी आढळली. -pdfjs-invalid-file-error = अवैध किंवा दोषीत PDF फाइल. -pdfjs-missing-file-error = न आढळणारी PDF फाइल. -pdfjs-unexpected-response-error = अनपेक्षित सर्व्हर प्रतिसाद. -pdfjs-rendering-error = पृष्ठ दाखवतेवेळी त्रुटी आढळली. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } टिपण्णी] - -## Password - -pdfjs-password-label = ही PDF फाइल उघडण्याकरिता पासवर्ड द्या. -pdfjs-password-invalid = अवैध पासवर्ड. कृपया पुन्हा प्रयत्न करा. -pdfjs-password-ok-button = ठीक आहे -pdfjs-password-cancel-button = रद्द करा -pdfjs-web-fonts-disabled = वेब टंक असमर्थीत आहेत: एम्बेडेड PDF टंक वापर अशक्य. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ms/viewer.ftl b/media/js/pdf4/web/locale/ms/viewer.ftl deleted file mode 100644 index 11b8665141..0000000000 --- a/media/js/pdf4/web/locale/ms/viewer.ftl +++ /dev/null @@ -1,247 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Halaman Dahulu -pdfjs-previous-button-label = Dahulu -pdfjs-next-button = - .title = Halaman Berikut -pdfjs-next-button-label = Berikut -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Halaman -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = daripada { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } daripada { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zum Keluar -pdfjs-zoom-out-button-label = Zum Keluar -pdfjs-zoom-in-button = - .title = Zum Masuk -pdfjs-zoom-in-button-label = Zum Masuk -pdfjs-zoom-select = - .title = Zum -pdfjs-presentation-mode-button = - .title = Tukar ke Mod Persembahan -pdfjs-presentation-mode-button-label = Mod Persembahan -pdfjs-open-file-button = - .title = Buka Fail -pdfjs-open-file-button-label = Buka -pdfjs-print-button = - .title = Cetak -pdfjs-print-button-label = Cetak - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Alatan -pdfjs-tools-button-label = Alatan -pdfjs-first-page-button = - .title = Pergi ke Halaman Pertama -pdfjs-first-page-button-label = Pergi ke Halaman Pertama -pdfjs-last-page-button = - .title = Pergi ke Halaman Terakhir -pdfjs-last-page-button-label = Pergi ke Halaman Terakhir -pdfjs-page-rotate-cw-button = - .title = Berputar ikut arah Jam -pdfjs-page-rotate-cw-button-label = Berputar ikut arah Jam -pdfjs-page-rotate-ccw-button = - .title = Pusing berlawan arah jam -pdfjs-page-rotate-ccw-button-label = Pusing berlawan arah jam -pdfjs-cursor-text-select-tool-button = - .title = Dayakan Alatan Pilihan Teks -pdfjs-cursor-text-select-tool-button-label = Alatan Pilihan Teks -pdfjs-cursor-hand-tool-button = - .title = Dayakan Alatan Tangan -pdfjs-cursor-hand-tool-button-label = Alatan Tangan -pdfjs-scroll-vertical-button = - .title = Guna Skrol Menegak -pdfjs-scroll-vertical-button-label = Skrol Menegak -pdfjs-scroll-horizontal-button = - .title = Guna Skrol Mengufuk -pdfjs-scroll-horizontal-button-label = Skrol Mengufuk -pdfjs-scroll-wrapped-button = - .title = Guna Skrol Berbalut -pdfjs-scroll-wrapped-button-label = Skrol Berbalut -pdfjs-spread-none-button = - .title = Jangan hubungkan hamparan halaman -pdfjs-spread-none-button-label = Tanpa Hamparan -pdfjs-spread-odd-button = - .title = Hubungkan hamparan halaman dengan halaman nombor ganjil -pdfjs-spread-odd-button-label = Hamparan Ganjil -pdfjs-spread-even-button = - .title = Hubungkan hamparan halaman dengan halaman nombor genap -pdfjs-spread-even-button-label = Hamparan Seimbang - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Sifat Dokumen… -pdfjs-document-properties-button-label = Sifat Dokumen… -pdfjs-document-properties-file-name = Nama fail: -pdfjs-document-properties-file-size = Saiz fail: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bait) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bait) -pdfjs-document-properties-title = Tajuk: -pdfjs-document-properties-author = Pengarang: -pdfjs-document-properties-subject = Subjek: -pdfjs-document-properties-keywords = Kata kunci: -pdfjs-document-properties-creation-date = Masa Dicipta: -pdfjs-document-properties-modification-date = Tarikh Ubahsuai: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Pencipta: -pdfjs-document-properties-producer = Pengeluar PDF: -pdfjs-document-properties-version = Versi PDF: -pdfjs-document-properties-page-count = Kiraan Laman: -pdfjs-document-properties-page-size = Saiz Halaman: -pdfjs-document-properties-page-size-unit-inches = dalam -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = potret -pdfjs-document-properties-page-size-orientation-landscape = landskap -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Paparan Web Pantas: -pdfjs-document-properties-linearized-yes = Ya -pdfjs-document-properties-linearized-no = Tidak -pdfjs-document-properties-close-button = Tutup - -## Print - -pdfjs-print-progress-message = Menyediakan dokumen untuk dicetak… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Batal -pdfjs-printing-not-supported = Amaran: Cetakan ini tidak sepenuhnya disokong oleh pelayar ini. -pdfjs-printing-not-ready = Amaran: PDF tidak sepenuhnya dimuatkan untuk dicetak. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Togol Bar Sisi -pdfjs-toggle-sidebar-button-label = Togol Bar Sisi -pdfjs-document-outline-button = - .title = Papar Rangka Dokumen (klik-dua-kali untuk kembangkan/kolaps semua item) -pdfjs-document-outline-button-label = Rangka Dokumen -pdfjs-attachments-button = - .title = Papar Lampiran -pdfjs-attachments-button-label = Lampiran -pdfjs-thumbs-button = - .title = Papar Thumbnails -pdfjs-thumbs-button-label = Imej kecil -pdfjs-findbar-button = - .title = Cari didalam Dokumen -pdfjs-findbar-button-label = Cari - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Halaman { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Halaman Imej kecil { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Cari - .placeholder = Cari dalam dokumen… -pdfjs-find-previous-button = - .title = Cari teks frasa berkenaan yang terdahulu -pdfjs-find-previous-button-label = Dahulu -pdfjs-find-next-button = - .title = Cari teks frasa berkenaan yang berikut -pdfjs-find-next-button-label = Berikut -pdfjs-find-highlight-checkbox = Serlahkan semua -pdfjs-find-match-case-checkbox-label = Huruf sepadan -pdfjs-find-entire-word-checkbox-label = Seluruh perkataan -pdfjs-find-reached-top = Mencapai teratas daripada dokumen, sambungan daripada bawah -pdfjs-find-reached-bottom = Mencapai terakhir daripada dokumen, sambungan daripada atas -pdfjs-find-not-found = Frasa tidak ditemui - -## Predefined zoom values - -pdfjs-page-scale-width = Lebar Halaman -pdfjs-page-scale-fit = Muat Halaman -pdfjs-page-scale-auto = Zoom Automatik -pdfjs-page-scale-actual = Saiz Sebenar -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Masalah berlaku semasa menuatkan sebuah PDF. -pdfjs-invalid-file-error = Tidak sah atau fail PDF rosak. -pdfjs-missing-file-error = Fail PDF Hilang. -pdfjs-unexpected-response-error = Respon pelayan yang tidak dijangka. -pdfjs-rendering-error = Ralat berlaku ketika memberikan halaman. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Anotasi] - -## Password - -pdfjs-password-label = Masukan kata kunci untuk membuka fail PDF ini. -pdfjs-password-invalid = Kata laluan salah. Cuba lagi. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Batal -pdfjs-web-fonts-disabled = Fon web dinyahdayakan: tidak dapat menggunakan fon terbenam PDF. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/my/viewer.ftl b/media/js/pdf4/web/locale/my/viewer.ftl deleted file mode 100644 index d3b973d87f..0000000000 --- a/media/js/pdf4/web/locale/my/viewer.ftl +++ /dev/null @@ -1,206 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = အရင် စာမျက်နှာ -pdfjs-previous-button-label = အရင်နေရာ -pdfjs-next-button = - .title = ရှေ့ စာမျက်နှာ -pdfjs-next-button-label = နောက်တခု -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = စာမျက်နှာ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } ၏ -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } ၏ { $pageNumber }) -pdfjs-zoom-out-button = - .title = ချုံ့ပါ -pdfjs-zoom-out-button-label = ချုံ့ပါ -pdfjs-zoom-in-button = - .title = ချဲ့ပါ -pdfjs-zoom-in-button-label = ချဲ့ပါ -pdfjs-zoom-select = - .title = ချုံ့/ချဲ့ပါ -pdfjs-presentation-mode-button = - .title = ဆွေးနွေးတင်ပြစနစ်သို့ ကူးပြောင်းပါ -pdfjs-presentation-mode-button-label = ဆွေးနွေးတင်ပြစနစ် -pdfjs-open-file-button = - .title = ဖိုင်အားဖွင့်ပါ။ -pdfjs-open-file-button-label = ဖွင့်ပါ -pdfjs-print-button = - .title = ပုံနှိုပ်ပါ -pdfjs-print-button-label = ပုံနှိုပ်ပါ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ကိရိယာများ -pdfjs-tools-button-label = ကိရိယာများ -pdfjs-first-page-button = - .title = ပထမ စာမျက်နှာသို့ -pdfjs-first-page-button-label = ပထမ စာမျက်နှာသို့ -pdfjs-last-page-button = - .title = နောက်ဆုံး စာမျက်နှာသို့ -pdfjs-last-page-button-label = နောက်ဆုံး စာမျက်နှာသို့ -pdfjs-page-rotate-cw-button = - .title = နာရီလက်တံ အတိုင်း -pdfjs-page-rotate-cw-button-label = နာရီလက်တံ အတိုင်း -pdfjs-page-rotate-ccw-button = - .title = နာရီလက်တံ ပြောင်းပြန် -pdfjs-page-rotate-ccw-button-label = နာရီလက်တံ ပြောင်းပြန် - -## Document properties dialog - -pdfjs-document-properties-button = - .title = မှတ်တမ်းမှတ်ရာ ဂုဏ်သတ္တိများ -pdfjs-document-properties-button-label = မှတ်တမ်းမှတ်ရာ ဂုဏ်သတ္တိများ -pdfjs-document-properties-file-name = ဖိုင် : -pdfjs-document-properties-file-size = ဖိုင်ဆိုဒ် : -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } ကီလိုဘိုတ် ({ $size_b }ဘိုတ်) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = ခေါင်းစဉ် - -pdfjs-document-properties-author = ရေးသားသူ: -pdfjs-document-properties-subject = အကြောင်းအရာ: -pdfjs-document-properties-keywords = သော့ချက် စာလုံး: -pdfjs-document-properties-creation-date = ထုတ်လုပ်ရက်စွဲ: -pdfjs-document-properties-modification-date = ပြင်ဆင်ရက်စွဲ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ဖန်တီးသူ: -pdfjs-document-properties-producer = PDF ထုတ်လုပ်သူ: -pdfjs-document-properties-version = PDF ဗားရှင်း: -pdfjs-document-properties-page-count = စာမျက်နှာအရေအတွက်: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = ပိတ် - -## Print - -pdfjs-print-progress-message = Preparing document for printing… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ပယ်ဖျက်ပါ -pdfjs-printing-not-supported = သတိပေးချက်၊ပရင့်ထုတ်ခြင်းကိုဤဘယောက်ဆာသည် ပြည့်ဝစွာထောက်ပံ့မထားပါ ။ -pdfjs-printing-not-ready = သတိပေးချက်: ယခု PDF ဖိုင်သည် ပုံနှိပ်ရန် မပြည့်စုံပါ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ဘေးတန်းဖွင့်ပိတ် -pdfjs-toggle-sidebar-button-label = ဖွင့်ပိတ် ဆလိုက်ဒါ -pdfjs-document-outline-button = - .title = စာတမ်းအကျဉ်းချုပ်ကို ပြပါ (စာရင်းအားလုံးကို ချုံ့/ချဲ့ရန် ကလစ်နှစ်ချက်နှိပ်ပါ) -pdfjs-document-outline-button-label = စာတမ်းအကျဉ်းချုပ် -pdfjs-attachments-button = - .title = တွဲချက်များ ပြပါ -pdfjs-attachments-button-label = တွဲထားချက်များ -pdfjs-thumbs-button = - .title = ပုံရိပ်ငယ်များကို ပြပါ -pdfjs-thumbs-button-label = ပုံရိပ်ငယ်များ -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = ရှာဖွေပါ - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = စာမျက်နှာ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = စာမျက်နှာရဲ့ ပုံရိပ်ငယ် { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ရှာဖွေပါ - .placeholder = စာတမ်းထဲတွင် ရှာဖွေရန်… -pdfjs-find-previous-button = - .title = စကားစုရဲ့ အရင် ဖြစ်ပွားမှုကို ရှာဖွေပါ -pdfjs-find-previous-button-label = နောက်သို့ -pdfjs-find-next-button = - .title = စကားစုရဲ့ နောက်ထပ် ဖြစ်ပွားမှုကို ရှာဖွေပါ -pdfjs-find-next-button-label = ရှေ့သို့ -pdfjs-find-highlight-checkbox = အားလုံးကို မျဉ်းသားပါ -pdfjs-find-match-case-checkbox-label = စာလုံး တိုက်ဆိုင်ပါ -pdfjs-find-reached-top = စာမျက်နှာထိပ် ရောက်နေပြီ၊ အဆုံးကနေ ပြန်စပါ -pdfjs-find-reached-bottom = စာမျက်နှာအဆုံး ရောက်နေပြီ၊ ထိပ်ကနေ ပြန်စပါ -pdfjs-find-not-found = စကားစု မတွေ့ရဘူး - -## Predefined zoom values - -pdfjs-page-scale-width = စာမျက်နှာ အကျယ် -pdfjs-page-scale-fit = စာမျက်နှာ ကွက်တိ -pdfjs-page-scale-auto = အလိုအလျောက် ချုံ့ချဲ့ -pdfjs-page-scale-actual = အမှန်တကယ်ရှိတဲ့ အရွယ် -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF ဖိုင် ကိုဆွဲတင်နေချိန်မှာ အမှားတစ်ခုတွေ့ရပါတယ်။ -pdfjs-invalid-file-error = မရသော သို့ ပျက်နေသော PDF ဖိုင် -pdfjs-missing-file-error = PDF ပျောက်ဆုံး -pdfjs-unexpected-response-error = မမျှော်လင့်ထားသော ဆာဗာမှ ပြန်ကြားချက် -pdfjs-rendering-error = စာမျက်နှာကို ပုံဖော်နေချိန်မှာ အမှားတစ်ခုတွေ့ရပါတယ်။ - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } အဓိပ္ပာယ်ဖွင့်ဆိုချက်] - -## Password - -pdfjs-password-label = ယခု PDF ကို ဖွင့်ရန် စကားဝှက်ကို ရိုက်ပါ။ -pdfjs-password-invalid = စာဝှက် မှားသည်။ ထပ်ကြိုးစားကြည့်ပါ။ -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = ပယ်ဖျက်ပါ -pdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/nb-NO/viewer.ftl b/media/js/pdf4/web/locale/nb-NO/viewer.ftl deleted file mode 100644 index 6519adb388..0000000000 --- a/media/js/pdf4/web/locale/nb-NO/viewer.ftl +++ /dev/null @@ -1,396 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Forrige side -pdfjs-previous-button-label = Forrige -pdfjs-next-button = - .title = Neste side -pdfjs-next-button-label = Neste -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Side -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = av { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } av { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom ut -pdfjs-zoom-out-button-label = Zoom ut -pdfjs-zoom-in-button = - .title = Zoom inn -pdfjs-zoom-in-button-label = Zoom inn -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Bytt til presentasjonsmodus -pdfjs-presentation-mode-button-label = Presentasjonsmodus -pdfjs-open-file-button = - .title = Åpne fil -pdfjs-open-file-button-label = Åpne -pdfjs-print-button = - .title = Skriv ut -pdfjs-print-button-label = Skriv ut -pdfjs-save-button = - .title = Lagre -pdfjs-save-button-label = Lagre -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Last ned -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Last ned -pdfjs-bookmark-button = - .title = Gjeldende side (se URL fra gjeldende side) -pdfjs-bookmark-button-label = Gjeldende side - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Verktøy -pdfjs-tools-button-label = Verktøy -pdfjs-first-page-button = - .title = Gå til første side -pdfjs-first-page-button-label = Gå til første side -pdfjs-last-page-button = - .title = Gå til siste side -pdfjs-last-page-button-label = Gå til siste side -pdfjs-page-rotate-cw-button = - .title = Roter med klokken -pdfjs-page-rotate-cw-button-label = Roter med klokken -pdfjs-page-rotate-ccw-button = - .title = Roter mot klokken -pdfjs-page-rotate-ccw-button-label = Roter mot klokken -pdfjs-cursor-text-select-tool-button = - .title = Aktiver tekstmarkeringsverktøy -pdfjs-cursor-text-select-tool-button-label = Tekstmarkeringsverktøy -pdfjs-cursor-hand-tool-button = - .title = Aktiver handverktøy -pdfjs-cursor-hand-tool-button-label = Handverktøy -pdfjs-scroll-page-button = - .title = Bruk siderulling -pdfjs-scroll-page-button-label = Siderulling -pdfjs-scroll-vertical-button = - .title = Bruk vertikal rulling -pdfjs-scroll-vertical-button-label = Vertikal rulling -pdfjs-scroll-horizontal-button = - .title = Bruk horisontal rulling -pdfjs-scroll-horizontal-button-label = Horisontal rulling -pdfjs-scroll-wrapped-button = - .title = Bruk flersiderulling -pdfjs-scroll-wrapped-button-label = Flersiderulling -pdfjs-spread-none-button = - .title = Vis enkeltsider -pdfjs-spread-none-button-label = Enkeltsider -pdfjs-spread-odd-button = - .title = Vis oppslag med ulike sidenumre til venstre -pdfjs-spread-odd-button-label = Oppslag med forside -pdfjs-spread-even-button = - .title = Vis oppslag med like sidenumre til venstre -pdfjs-spread-even-button-label = Oppslag uten forside - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentegenskaper … -pdfjs-document-properties-button-label = Dokumentegenskaper … -pdfjs-document-properties-file-name = Filnavn: -pdfjs-document-properties-file-size = Filstørrelse: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Dokumentegenskaper … -pdfjs-document-properties-author = Forfatter: -pdfjs-document-properties-subject = Emne: -pdfjs-document-properties-keywords = Nøkkelord: -pdfjs-document-properties-creation-date = Opprettet dato: -pdfjs-document-properties-modification-date = Endret dato: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Opprettet av: -pdfjs-document-properties-producer = PDF-verktøy: -pdfjs-document-properties-version = PDF-versjon: -pdfjs-document-properties-page-count = Sideantall: -pdfjs-document-properties-page-size = Sidestørrelse: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = stående -pdfjs-document-properties-page-size-orientation-landscape = liggende -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Hurtig nettvisning: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nei -pdfjs-document-properties-close-button = Lukk - -## Print - -pdfjs-print-progress-message = Forbereder dokument for utskrift … -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Avbryt -pdfjs-printing-not-supported = Advarsel: Utskrift er ikke fullstendig støttet av denne nettleseren. -pdfjs-printing-not-ready = Advarsel: PDF er ikke fullstendig innlastet for utskrift. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Slå av/på sidestolpe -pdfjs-toggle-sidebar-notification-button = - .title = Vis/gjem sidestolpe (dokumentet inneholder oversikt/vedlegg/lag) -pdfjs-toggle-sidebar-button-label = Slå av/på sidestolpe -pdfjs-document-outline-button = - .title = Vis dokumentdisposisjonen (dobbeltklikk for å utvide/skjule alle elementer) -pdfjs-document-outline-button-label = Dokumentdisposisjon -pdfjs-attachments-button = - .title = Vis vedlegg -pdfjs-attachments-button-label = Vedlegg -pdfjs-layers-button = - .title = Vis lag (dobbeltklikk for å tilbakestille alle lag til standardtilstand) -pdfjs-layers-button-label = Lag -pdfjs-thumbs-button = - .title = Vis miniatyrbilde -pdfjs-thumbs-button-label = Miniatyrbilde -pdfjs-current-outline-item-button = - .title = Finn gjeldende disposisjonselement -pdfjs-current-outline-item-button-label = Gjeldende disposisjonselement -pdfjs-findbar-button = - .title = Finn i dokumentet -pdfjs-findbar-button-label = Finn -pdfjs-additional-layers = Ytterligere lag - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Side { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatyrbilde av side { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Søk - .placeholder = Søk i dokument… -pdfjs-find-previous-button = - .title = Finn forrige forekomst av frasen -pdfjs-find-previous-button-label = Forrige -pdfjs-find-next-button = - .title = Finn neste forekomst av frasen -pdfjs-find-next-button-label = Neste -pdfjs-find-highlight-checkbox = Uthev alle -pdfjs-find-match-case-checkbox-label = Skill store/små bokstaver -pdfjs-find-match-diacritics-checkbox-label = Samsvar diakritiske tegn -pdfjs-find-entire-word-checkbox-label = Hele ord -pdfjs-find-reached-top = Nådde toppen av dokumentet, fortsetter fra bunnen -pdfjs-find-reached-bottom = Nådde bunnen av dokumentet, fortsetter fra toppen -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } av { $total } treff - *[other] { $current } av { $total } treff - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mer enn { $limit } treff - *[other] Mer enn { $limit } treff - } -pdfjs-find-not-found = Fant ikke teksten - -## Predefined zoom values - -pdfjs-page-scale-width = Sidebredde -pdfjs-page-scale-fit = Tilpass til siden -pdfjs-page-scale-auto = Automatisk zoom -pdfjs-page-scale-actual = Virkelig størrelse -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Side { $page } - -## Loading indicator messages - -pdfjs-loading-error = En feil oppstod ved lasting av PDF. -pdfjs-invalid-file-error = Ugyldig eller skadet PDF-fil. -pdfjs-missing-file-error = Manglende PDF-fil. -pdfjs-unexpected-response-error = Uventet serverrespons. -pdfjs-rendering-error = En feil oppstod ved opptegning av siden. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } annotasjon] - -## Password - -pdfjs-password-label = Skriv inn passordet for å åpne denne PDF-filen. -pdfjs-password-invalid = Ugyldig passord. Prøv igjen. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Avbryt -pdfjs-web-fonts-disabled = Web-fonter er avslått: Kan ikke bruke innbundne PDF-fonter. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Tegn -pdfjs-editor-ink-button-label = Tegn -pdfjs-editor-stamp-button = - .title = Legg til eller rediger bilder -pdfjs-editor-stamp-button-label = Legg til eller rediger bilder -pdfjs-editor-highlight-button = - .title = Markere -pdfjs-editor-highlight-button-label = Markere -pdfjs-highlight-floating-button = - .title = Markere -pdfjs-highlight-floating-button1 = - .title = Markere - .aria-label = Markere -pdfjs-highlight-floating-button-label = Markere - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Fjern tegningen -pdfjs-editor-remove-freetext-button = - .title = Fjern tekst -pdfjs-editor-remove-stamp-button = - .title = Fjern bildet -pdfjs-editor-remove-highlight-button = - .title = Fjern utheving - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Farge -pdfjs-editor-free-text-size-input = Størrelse -pdfjs-editor-ink-color-input = Farge -pdfjs-editor-ink-thickness-input = Tykkelse -pdfjs-editor-ink-opacity-input = Ugjennomsiktighet -pdfjs-editor-stamp-add-image-button = - .title = Legg til bilde -pdfjs-editor-stamp-add-image-button-label = Legg til bilde -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tykkelse -pdfjs-editor-free-highlight-thickness-title = - .title = Endre tykkelse når du markerer andre elementer enn tekst -pdfjs-free-text = - .aria-label = Tekstredigering -pdfjs-free-text-default-content = Begynn å skrive… -pdfjs-ink = - .aria-label = Tegneredigering -pdfjs-ink-canvas = - .aria-label = Brukerskapt bilde - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt-tekst -pdfjs-editor-alt-text-edit-button-label = Rediger alt-tekst tekst -pdfjs-editor-alt-text-dialog-label = Velg et alternativ -pdfjs-editor-alt-text-dialog-description = Alt-tekst (alternativ tekst) hjelper når folk ikke kan se bildet eller når det ikke lastes inn. -pdfjs-editor-alt-text-add-description-label = Legg til en beskrivelse -pdfjs-editor-alt-text-add-description-description = Gå etter 1-2 setninger som beskriver emnet, settingen eller handlingene. -pdfjs-editor-alt-text-mark-decorative-label = Merk som dekorativt -pdfjs-editor-alt-text-mark-decorative-description = Dette brukes til dekorative bilder, som kantlinjer eller vannmerker. -pdfjs-editor-alt-text-cancel-button = Avbryt -pdfjs-editor-alt-text-save-button = Lagre -pdfjs-editor-alt-text-decorative-tooltip = Merket som dekorativ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = For eksempel, «En ung mann setter seg ved et bord for å spise et måltid» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Øverste venstre hjørne – endre størrelse -pdfjs-editor-resizer-label-top-middle = Øverst i midten — endre størrelse -pdfjs-editor-resizer-label-top-right = Øverste høyre hjørne – endre størrelse -pdfjs-editor-resizer-label-middle-right = Midt til høyre – endre størrelse -pdfjs-editor-resizer-label-bottom-right = Nederste høyre hjørne – endre størrelse -pdfjs-editor-resizer-label-bottom-middle = Nederst i midten — endre størrelse -pdfjs-editor-resizer-label-bottom-left = Nederste venstre hjørne – endre størrelse -pdfjs-editor-resizer-label-middle-left = Midt til venstre — endre størrelse - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Uthevingsfarge -pdfjs-editor-colorpicker-button = - .title = Endre farge -pdfjs-editor-colorpicker-dropdown = - .aria-label = Fargevalg -pdfjs-editor-colorpicker-yellow = - .title = Gul -pdfjs-editor-colorpicker-green = - .title = Grønn -pdfjs-editor-colorpicker-blue = - .title = Blå -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Rød - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Vis alle -pdfjs-editor-highlight-show-all-button = - .title = Vis alle diff --git a/media/js/pdf4/web/locale/ne-NP/viewer.ftl b/media/js/pdf4/web/locale/ne-NP/viewer.ftl deleted file mode 100644 index 65193b6e8c..0000000000 --- a/media/js/pdf4/web/locale/ne-NP/viewer.ftl +++ /dev/null @@ -1,234 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = अघिल्लो पृष्ठ -pdfjs-previous-button-label = अघिल्लो -pdfjs-next-button = - .title = पछिल्लो पृष्ठ -pdfjs-next-button-label = पछिल्लो -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = पृष्ठ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } मध्ये -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pagesCount } को { $pageNumber }) -pdfjs-zoom-out-button = - .title = जुम घटाउनुहोस् -pdfjs-zoom-out-button-label = जुम घटाउनुहोस् -pdfjs-zoom-in-button = - .title = जुम बढाउनुहोस् -pdfjs-zoom-in-button-label = जुम बढाउनुहोस् -pdfjs-zoom-select = - .title = जुम गर्नुहोस् -pdfjs-presentation-mode-button = - .title = प्रस्तुति मोडमा जानुहोस् -pdfjs-presentation-mode-button-label = प्रस्तुति मोड -pdfjs-open-file-button = - .title = फाइल खोल्नुहोस् -pdfjs-open-file-button-label = खोल्नुहोस् -pdfjs-print-button = - .title = मुद्रण गर्नुहोस् -pdfjs-print-button-label = मुद्रण गर्नुहोस् - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = औजारहरू -pdfjs-tools-button-label = औजारहरू -pdfjs-first-page-button = - .title = पहिलो पृष्ठमा जानुहोस् -pdfjs-first-page-button-label = पहिलो पृष्ठमा जानुहोस् -pdfjs-last-page-button = - .title = पछिल्लो पृष्ठमा जानुहोस् -pdfjs-last-page-button-label = पछिल्लो पृष्ठमा जानुहोस् -pdfjs-page-rotate-cw-button = - .title = घडीको दिशामा घुमाउनुहोस् -pdfjs-page-rotate-cw-button-label = घडीको दिशामा घुमाउनुहोस् -pdfjs-page-rotate-ccw-button = - .title = घडीको विपरित दिशामा घुमाउनुहोस् -pdfjs-page-rotate-ccw-button-label = घडीको विपरित दिशामा घुमाउनुहोस् -pdfjs-cursor-text-select-tool-button = - .title = पाठ चयन उपकरण सक्षम गर्नुहोस् -pdfjs-cursor-text-select-tool-button-label = पाठ चयन उपकरण -pdfjs-cursor-hand-tool-button = - .title = हाते उपकरण सक्षम गर्नुहोस् -pdfjs-cursor-hand-tool-button-label = हाते उपकरण -pdfjs-scroll-vertical-button = - .title = ठाडो स्क्रोलिङ्ग प्रयोग गर्नुहोस् -pdfjs-scroll-vertical-button-label = ठाडो स्क्र्रोलिङ्ग -pdfjs-scroll-horizontal-button = - .title = तेर्सो स्क्रोलिङ्ग प्रयोग गर्नुहोस् -pdfjs-scroll-horizontal-button-label = तेर्सो स्क्रोलिङ्ग -pdfjs-scroll-wrapped-button = - .title = लिपि स्क्रोलिङ्ग प्रयोग गर्नुहोस् -pdfjs-scroll-wrapped-button-label = लिपि स्क्रोलिङ्ग -pdfjs-spread-none-button = - .title = पृष्ठ स्प्रेडमा सामेल हुनुहुन्न -pdfjs-spread-none-button-label = स्प्रेड छैन - -## Document properties dialog - -pdfjs-document-properties-button = - .title = कागजात विशेषताहरू... -pdfjs-document-properties-button-label = कागजात विशेषताहरू... -pdfjs-document-properties-file-name = फाइल नाम: -pdfjs-document-properties-file-size = फाइल आकार: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = शीर्षक: -pdfjs-document-properties-author = लेखक: -pdfjs-document-properties-subject = विषयः -pdfjs-document-properties-keywords = शब्दकुञ्जीः -pdfjs-document-properties-creation-date = सिर्जना गरिएको मिति: -pdfjs-document-properties-modification-date = परिमार्जित मिति: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = सर्जक: -pdfjs-document-properties-producer = PDF निर्माता: -pdfjs-document-properties-version = PDF संस्करण -pdfjs-document-properties-page-count = पृष्ठ गणना: -pdfjs-document-properties-page-size = पृष्ठ आकार: -pdfjs-document-properties-page-size-unit-inches = इन्च -pdfjs-document-properties-page-size-unit-millimeters = मि.मि. -pdfjs-document-properties-page-size-orientation-portrait = पोट्रेट -pdfjs-document-properties-page-size-orientation-landscape = परिदृश्य -pdfjs-document-properties-page-size-name-letter = अक्षर -pdfjs-document-properties-page-size-name-legal = कानूनी - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-linearized-yes = हो -pdfjs-document-properties-linearized-no = होइन -pdfjs-document-properties-close-button = बन्द गर्नुहोस् - -## Print - -pdfjs-print-progress-message = मुद्रणका लागि कागजात तयारी गरिदै… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = रद्द गर्नुहोस् -pdfjs-printing-not-supported = चेतावनी: यो ब्राउजरमा मुद्रण पूर्णतया समर्थित छैन। -pdfjs-printing-not-ready = चेतावनी: PDF मुद्रणका लागि पूर्णतया लोड भएको छैन। - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = टगल साइडबार -pdfjs-toggle-sidebar-button-label = टगल साइडबार -pdfjs-document-outline-button = - .title = कागजातको रूपरेखा देखाउनुहोस् (सबै वस्तुहरू विस्तार/पतन गर्न डबल-क्लिक गर्नुहोस्) -pdfjs-document-outline-button-label = दस्तावेजको रूपरेखा -pdfjs-attachments-button = - .title = संलग्नहरू देखाउनुहोस् -pdfjs-attachments-button-label = संलग्नकहरू -pdfjs-thumbs-button = - .title = थम्बनेलहरू देखाउनुहोस् -pdfjs-thumbs-button-label = थम्बनेलहरू -pdfjs-findbar-button = - .title = कागजातमा फेला पार्नुहोस् -pdfjs-findbar-button-label = फेला पार्नुहोस् - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = पृष्ठ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } पृष्ठको थम्बनेल - -## Find panel button title and messages - -pdfjs-find-input = - .title = फेला पार्नुहोस् - .placeholder = कागजातमा फेला पार्नुहोस्… -pdfjs-find-previous-button = - .title = यस वाक्यांशको अघिल्लो घटना फेला पार्नुहोस् -pdfjs-find-previous-button-label = अघिल्लो -pdfjs-find-next-button = - .title = यस वाक्यांशको पछिल्लो घटना फेला पार्नुहोस् -pdfjs-find-next-button-label = अर्को -pdfjs-find-highlight-checkbox = सबै हाइलाइट गर्ने -pdfjs-find-match-case-checkbox-label = केस जोडा मिलाउनुहोस् -pdfjs-find-entire-word-checkbox-label = पुरा शब्दहरु -pdfjs-find-reached-top = पृष्ठको शिर्षमा पुगीयो, तलबाट जारी गरिएको थियो -pdfjs-find-reached-bottom = पृष्ठको अन्त्यमा पुगीयो, शिर्षबाट जारी गरिएको थियो -pdfjs-find-not-found = वाक्यांश फेला परेन - -## Predefined zoom values - -pdfjs-page-scale-width = पृष्ठ चौडाइ -pdfjs-page-scale-fit = पृष्ठ ठिक्क मिल्ने -pdfjs-page-scale-auto = स्वचालित जुम -pdfjs-page-scale-actual = वास्तविक आकार -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = यो PDF लोड गर्दा एउटा त्रुटि देखापर्यो। -pdfjs-invalid-file-error = अवैध वा दुषित PDF फाइल। -pdfjs-missing-file-error = हराईरहेको PDF फाइल। -pdfjs-unexpected-response-error = अप्रत्याशित सर्भर प्रतिक्रिया। -pdfjs-rendering-error = पृष्ठ प्रतिपादन गर्दा एउटा त्रुटि देखापर्यो। - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = यस PDF फाइललाई खोल्न गोप्यशब्द प्रविष्ट गर्नुहोस्। -pdfjs-password-invalid = अवैध गोप्यशब्द। पुनः प्रयास गर्नुहोस्। -pdfjs-password-ok-button = ठिक छ -pdfjs-password-cancel-button = रद्द गर्नुहोस् -pdfjs-web-fonts-disabled = वेब फन्ट असक्षम छन्: एम्बेडेड PDF फन्ट प्रयोग गर्न असमर्थ। - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/nl/viewer.ftl b/media/js/pdf4/web/locale/nl/viewer.ftl deleted file mode 100644 index a1dd47d3c1..0000000000 --- a/media/js/pdf4/web/locale/nl/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Vorige pagina -pdfjs-previous-button-label = Vorige -pdfjs-next-button = - .title = Volgende pagina -pdfjs-next-button-label = Volgende -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = van { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } van { $pagesCount }) -pdfjs-zoom-out-button = - .title = Uitzoomen -pdfjs-zoom-out-button-label = Uitzoomen -pdfjs-zoom-in-button = - .title = Inzoomen -pdfjs-zoom-in-button-label = Inzoomen -pdfjs-zoom-select = - .title = Zoomen -pdfjs-presentation-mode-button = - .title = Wisselen naar presentatiemodus -pdfjs-presentation-mode-button-label = Presentatiemodus -pdfjs-open-file-button = - .title = Bestand openen -pdfjs-open-file-button-label = Openen -pdfjs-print-button = - .title = Afdrukken -pdfjs-print-button-label = Afdrukken -pdfjs-save-button = - .title = Opslaan -pdfjs-save-button-label = Opslaan -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Downloaden -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Downloaden -pdfjs-bookmark-button = - .title = Huidige pagina (URL van huidige pagina bekijken) -pdfjs-bookmark-button-label = Huidige pagina -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Openen in app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Openen in app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Hulpmiddelen -pdfjs-tools-button-label = Hulpmiddelen -pdfjs-first-page-button = - .title = Naar eerste pagina gaan -pdfjs-first-page-button-label = Naar eerste pagina gaan -pdfjs-last-page-button = - .title = Naar laatste pagina gaan -pdfjs-last-page-button-label = Naar laatste pagina gaan -pdfjs-page-rotate-cw-button = - .title = Rechtsom draaien -pdfjs-page-rotate-cw-button-label = Rechtsom draaien -pdfjs-page-rotate-ccw-button = - .title = Linksom draaien -pdfjs-page-rotate-ccw-button-label = Linksom draaien -pdfjs-cursor-text-select-tool-button = - .title = Tekstselectiehulpmiddel inschakelen -pdfjs-cursor-text-select-tool-button-label = Tekstselectiehulpmiddel -pdfjs-cursor-hand-tool-button = - .title = Handhulpmiddel inschakelen -pdfjs-cursor-hand-tool-button-label = Handhulpmiddel -pdfjs-scroll-page-button = - .title = Paginascrollen gebruiken -pdfjs-scroll-page-button-label = Paginascrollen -pdfjs-scroll-vertical-button = - .title = Verticaal scrollen gebruiken -pdfjs-scroll-vertical-button-label = Verticaal scrollen -pdfjs-scroll-horizontal-button = - .title = Horizontaal scrollen gebruiken -pdfjs-scroll-horizontal-button-label = Horizontaal scrollen -pdfjs-scroll-wrapped-button = - .title = Scrollen met terugloop gebruiken -pdfjs-scroll-wrapped-button-label = Scrollen met terugloop -pdfjs-spread-none-button = - .title = Dubbele pagina’s niet samenvoegen -pdfjs-spread-none-button-label = Geen dubbele pagina’s -pdfjs-spread-odd-button = - .title = Dubbele pagina’s samenvoegen vanaf oneven pagina’s -pdfjs-spread-odd-button-label = Oneven dubbele pagina’s -pdfjs-spread-even-button = - .title = Dubbele pagina’s samenvoegen vanaf even pagina’s -pdfjs-spread-even-button-label = Even dubbele pagina’s - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Documenteigenschappen… -pdfjs-document-properties-button-label = Documenteigenschappen… -pdfjs-document-properties-file-name = Bestandsnaam: -pdfjs-document-properties-file-size = Bestandsgrootte: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Auteur: -pdfjs-document-properties-subject = Onderwerp: -pdfjs-document-properties-keywords = Sleutelwoorden: -pdfjs-document-properties-creation-date = Aanmaakdatum: -pdfjs-document-properties-modification-date = Wijzigingsdatum: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Maker: -pdfjs-document-properties-producer = PDF-producent: -pdfjs-document-properties-version = PDF-versie: -pdfjs-document-properties-page-count = Aantal pagina’s: -pdfjs-document-properties-page-size = Paginagrootte: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = staand -pdfjs-document-properties-page-size-orientation-landscape = liggend -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Snelle webweergave: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nee -pdfjs-document-properties-close-button = Sluiten - -## Print - -pdfjs-print-progress-message = Document voorbereiden voor afdrukken… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Annuleren -pdfjs-printing-not-supported = Waarschuwing: afdrukken wordt niet volledig ondersteund door deze browser. -pdfjs-printing-not-ready = Waarschuwing: de PDF is niet volledig geladen voor afdrukken. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Zijbalk in-/uitschakelen -pdfjs-toggle-sidebar-notification-button = - .title = Zijbalk in-/uitschakelen (document bevat overzicht/bijlagen/lagen) -pdfjs-toggle-sidebar-button-label = Zijbalk in-/uitschakelen -pdfjs-document-outline-button = - .title = Documentoverzicht tonen (dubbelklik om alle items uit/samen te vouwen) -pdfjs-document-outline-button-label = Documentoverzicht -pdfjs-attachments-button = - .title = Bijlagen tonen -pdfjs-attachments-button-label = Bijlagen -pdfjs-layers-button = - .title = Lagen tonen (dubbelklik om alle lagen naar de standaardstatus terug te zetten) -pdfjs-layers-button-label = Lagen -pdfjs-thumbs-button = - .title = Miniaturen tonen -pdfjs-thumbs-button-label = Miniaturen -pdfjs-current-outline-item-button = - .title = Huidig item in inhoudsopgave zoeken -pdfjs-current-outline-item-button-label = Huidig item in inhoudsopgave -pdfjs-findbar-button = - .title = Zoeken in document -pdfjs-findbar-button-label = Zoeken -pdfjs-additional-layers = Aanvullende lagen - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatuur van pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Zoeken - .placeholder = Zoeken in document… -pdfjs-find-previous-button = - .title = De vorige overeenkomst van de tekst zoeken -pdfjs-find-previous-button-label = Vorige -pdfjs-find-next-button = - .title = De volgende overeenkomst van de tekst zoeken -pdfjs-find-next-button-label = Volgende -pdfjs-find-highlight-checkbox = Alles markeren -pdfjs-find-match-case-checkbox-label = Hoofdlettergevoelig -pdfjs-find-match-diacritics-checkbox-label = Diakritische tekens gebruiken -pdfjs-find-entire-word-checkbox-label = Hele woorden -pdfjs-find-reached-top = Bovenkant van document bereikt, doorgegaan vanaf onderkant -pdfjs-find-reached-bottom = Onderkant van document bereikt, doorgegaan vanaf bovenkant -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } van { $total } overeenkomst - *[other] { $current } van { $total } overeenkomsten - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Meer dan { $limit } overeenkomst - *[other] Meer dan { $limit } overeenkomsten - } -pdfjs-find-not-found = Tekst niet gevonden - -## Predefined zoom values - -pdfjs-page-scale-width = Paginabreedte -pdfjs-page-scale-fit = Hele pagina -pdfjs-page-scale-auto = Automatisch zoomen -pdfjs-page-scale-actual = Werkelijke grootte -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Er is een fout opgetreden bij het laden van de PDF. -pdfjs-invalid-file-error = Ongeldig of beschadigd PDF-bestand. -pdfjs-missing-file-error = PDF-bestand ontbreekt. -pdfjs-unexpected-response-error = Onverwacht serverantwoord. -pdfjs-rendering-error = Er is een fout opgetreden bij het weergeven van de pagina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-aantekening] - -## Password - -pdfjs-password-label = Voer het wachtwoord in om dit PDF-bestand te openen. -pdfjs-password-invalid = Ongeldig wachtwoord. Probeer het opnieuw. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Annuleren -pdfjs-web-fonts-disabled = Weblettertypen zijn uitgeschakeld: gebruik van ingebedde PDF-lettertypen is niet mogelijk. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Tekenen -pdfjs-editor-ink-button-label = Tekenen -pdfjs-editor-stamp-button = - .title = Afbeeldingen toevoegen of bewerken -pdfjs-editor-stamp-button-label = Afbeeldingen toevoegen of bewerken -pdfjs-editor-highlight-button = - .title = Markeren -pdfjs-editor-highlight-button-label = Markeren -pdfjs-highlight-floating-button = - .title = Markeren -pdfjs-highlight-floating-button1 = - .title = Markeren - .aria-label = Markeren -pdfjs-highlight-floating-button-label = Markeren - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Tekening verwijderen -pdfjs-editor-remove-freetext-button = - .title = Tekst verwijderen -pdfjs-editor-remove-stamp-button = - .title = Afbeelding verwijderen -pdfjs-editor-remove-highlight-button = - .title = Markering verwijderen - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Kleur -pdfjs-editor-free-text-size-input = Grootte -pdfjs-editor-ink-color-input = Kleur -pdfjs-editor-ink-thickness-input = Dikte -pdfjs-editor-ink-opacity-input = Opaciteit -pdfjs-editor-stamp-add-image-button = - .title = Afbeelding toevoegen -pdfjs-editor-stamp-add-image-button-label = Afbeelding toevoegen -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Dikte -pdfjs-editor-free-highlight-thickness-title = - .title = Dikte wijzigen bij accentuering van andere items dan tekst -pdfjs-free-text = - .aria-label = Tekstbewerker -pdfjs-free-text-default-content = Begin met typen… -pdfjs-ink = - .aria-label = Tekeningbewerker -pdfjs-ink-canvas = - .aria-label = Door gebruiker gemaakte afbeelding - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatieve tekst -pdfjs-editor-alt-text-edit-button-label = Alternatieve tekst bewerken -pdfjs-editor-alt-text-dialog-label = Kies een optie -pdfjs-editor-alt-text-dialog-description = Alternatieve tekst helpt wanneer mensen de afbeelding niet kunnen zien of wanneer deze niet wordt geladen. -pdfjs-editor-alt-text-add-description-label = Voeg een beschrijving toe -pdfjs-editor-alt-text-add-description-description = Streef naar 1-2 zinnen die het onderwerp, de omgeving of de acties beschrijven. -pdfjs-editor-alt-text-mark-decorative-label = Als decoratief markeren -pdfjs-editor-alt-text-mark-decorative-description = Dit wordt gebruikt voor sierafbeeldingen, zoals randen of watermerken. -pdfjs-editor-alt-text-cancel-button = Annuleren -pdfjs-editor-alt-text-save-button = Opslaan -pdfjs-editor-alt-text-decorative-tooltip = Als decoratief gemarkeerd -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Bijvoorbeeld: ‘Een jonge man gaat aan een tafel zitten om te eten’ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Linkerbovenhoek – formaat wijzigen -pdfjs-editor-resizer-label-top-middle = Midden boven – formaat wijzigen -pdfjs-editor-resizer-label-top-right = Rechterbovenhoek – formaat wijzigen -pdfjs-editor-resizer-label-middle-right = Midden rechts – formaat wijzigen -pdfjs-editor-resizer-label-bottom-right = Rechterbenedenhoek – formaat wijzigen -pdfjs-editor-resizer-label-bottom-middle = Midden onder – formaat wijzigen -pdfjs-editor-resizer-label-bottom-left = Linkerbenedenhoek – formaat wijzigen -pdfjs-editor-resizer-label-middle-left = Links midden – formaat wijzigen - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Markeringskleur -pdfjs-editor-colorpicker-button = - .title = Kleur wijzigen -pdfjs-editor-colorpicker-dropdown = - .aria-label = Kleurkeuzes -pdfjs-editor-colorpicker-yellow = - .title = Geel -pdfjs-editor-colorpicker-green = - .title = Groen -pdfjs-editor-colorpicker-blue = - .title = Blauw -pdfjs-editor-colorpicker-pink = - .title = Roze -pdfjs-editor-colorpicker-red = - .title = Rood - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Alles tonen -pdfjs-editor-highlight-show-all-button = - .title = Alles tonen diff --git a/media/js/pdf4/web/locale/nn-NO/viewer.ftl b/media/js/pdf4/web/locale/nn-NO/viewer.ftl deleted file mode 100644 index 476e4c15bf..0000000000 --- a/media/js/pdf4/web/locale/nn-NO/viewer.ftl +++ /dev/null @@ -1,360 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Føregåande side -pdfjs-previous-button-label = Føregåande -pdfjs-next-button = - .title = Neste side -pdfjs-next-button-label = Neste -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Side -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = av { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } av { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom ut -pdfjs-zoom-out-button-label = Zoom ut -pdfjs-zoom-in-button = - .title = Zoom inn -pdfjs-zoom-in-button-label = Zoom inn -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Byt til presentasjonsmodus -pdfjs-presentation-mode-button-label = Presentasjonsmodus -pdfjs-open-file-button = - .title = Opne fil -pdfjs-open-file-button-label = Opne -pdfjs-print-button = - .title = Skriv ut -pdfjs-print-button-label = Skriv ut -pdfjs-save-button = - .title = Lagre -pdfjs-save-button-label = Lagre -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Last ned -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Last ned -pdfjs-bookmark-button = - .title = Gjeldande side (sjå URL frå gjeldande side) -pdfjs-bookmark-button-label = Gjeldande side -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Opne i app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Opne i app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Verktøy -pdfjs-tools-button-label = Verktøy -pdfjs-first-page-button = - .title = Gå til første side -pdfjs-first-page-button-label = Gå til første side -pdfjs-last-page-button = - .title = Gå til siste side -pdfjs-last-page-button-label = Gå til siste side -pdfjs-page-rotate-cw-button = - .title = Roter med klokka -pdfjs-page-rotate-cw-button-label = Roter med klokka -pdfjs-page-rotate-ccw-button = - .title = Roter mot klokka -pdfjs-page-rotate-ccw-button-label = Roter mot klokka -pdfjs-cursor-text-select-tool-button = - .title = Aktiver tekstmarkeringsverktøy -pdfjs-cursor-text-select-tool-button-label = Tekstmarkeringsverktøy -pdfjs-cursor-hand-tool-button = - .title = Aktiver handverktøy -pdfjs-cursor-hand-tool-button-label = Handverktøy -pdfjs-scroll-page-button = - .title = Bruk siderulling -pdfjs-scroll-page-button-label = Siderulling -pdfjs-scroll-vertical-button = - .title = Bruk vertikal rulling -pdfjs-scroll-vertical-button-label = Vertikal rulling -pdfjs-scroll-horizontal-button = - .title = Bruk horisontal rulling -pdfjs-scroll-horizontal-button-label = Horisontal rulling -pdfjs-scroll-wrapped-button = - .title = Bruk fleirsiderulling -pdfjs-scroll-wrapped-button-label = Fleirsiderulling -pdfjs-spread-none-button = - .title = Vis enkeltsider -pdfjs-spread-none-button-label = Enkeltside -pdfjs-spread-odd-button = - .title = Vis oppslag med ulike sidenummer til venstre -pdfjs-spread-odd-button-label = Oppslag med framside -pdfjs-spread-even-button = - .title = Vis oppslag med like sidenummmer til venstre -pdfjs-spread-even-button-label = Oppslag utan framside - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumenteigenskapar… -pdfjs-document-properties-button-label = Dokumenteigenskapar… -pdfjs-document-properties-file-name = Filnamn: -pdfjs-document-properties-file-size = Filstorleik: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Tittel: -pdfjs-document-properties-author = Forfattar: -pdfjs-document-properties-subject = Emne: -pdfjs-document-properties-keywords = Stikkord: -pdfjs-document-properties-creation-date = Dato oppretta: -pdfjs-document-properties-modification-date = Dato endra: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Oppretta av: -pdfjs-document-properties-producer = PDF-verktøy: -pdfjs-document-properties-version = PDF-versjon: -pdfjs-document-properties-page-count = Sidetal: -pdfjs-document-properties-page-size = Sidestørrelse: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = ståande -pdfjs-document-properties-page-size-orientation-landscape = liggande -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Brev -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Rask nettvising: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nei -pdfjs-document-properties-close-button = Lat att - -## Print - -pdfjs-print-progress-message = Førebur dokumentet for utskrift… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Avbryt -pdfjs-printing-not-supported = Åtvaring: Utskrift er ikkje fullstendig støtta av denne nettlesaren. -pdfjs-printing-not-ready = Åtvaring: PDF ikkje fullstendig innlasta for utskrift. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Slå av/på sidestolpe -pdfjs-toggle-sidebar-notification-button = - .title = Vis/gøym sidestolpe (dokumentet inneheld oversikt/vedlegg/lag) -pdfjs-toggle-sidebar-button-label = Slå av/på sidestolpe -pdfjs-document-outline-button = - .title = Vis dokumentdisposisjonen (dobbelklikk for å utvide/gøyme alle elementa) -pdfjs-document-outline-button-label = Dokumentdisposisjon -pdfjs-attachments-button = - .title = Vis vedlegg -pdfjs-attachments-button-label = Vedlegg -pdfjs-layers-button = - .title = Vis lag (dobbeltklikk for å tilbakestille alle lag til standardtilstand) -pdfjs-layers-button-label = Lag -pdfjs-thumbs-button = - .title = Vis miniatyrbilde -pdfjs-thumbs-button-label = Miniatyrbilde -pdfjs-current-outline-item-button = - .title = Finn gjeldande disposisjonselement -pdfjs-current-outline-item-button-label = Gjeldande disposisjonselement -pdfjs-findbar-button = - .title = Finn i dokumentet -pdfjs-findbar-button-label = Finn -pdfjs-additional-layers = Ytterlegare lag - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Side { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatyrbilde av side { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Søk - .placeholder = Søk i dokument… -pdfjs-find-previous-button = - .title = Finn førre førekomst av frasen -pdfjs-find-previous-button-label = Førre -pdfjs-find-next-button = - .title = Finn neste førekomst av frasen -pdfjs-find-next-button-label = Neste -pdfjs-find-highlight-checkbox = Uthev alle -pdfjs-find-match-case-checkbox-label = Skil store/små bokstavar -pdfjs-find-match-diacritics-checkbox-label = Samsvar diakritiske teikn -pdfjs-find-entire-word-checkbox-label = Heile ord -pdfjs-find-reached-top = Nådde toppen av dokumentet, fortset frå botnen -pdfjs-find-reached-bottom = Nådde botnen av dokumentet, fortset frå toppen -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } av { $total } treff - *[other] { $current } av { $total } treff - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Meir enn { $limit } treff - *[other] Meir enn { $limit } treff - } -pdfjs-find-not-found = Fann ikkje teksten - -## Predefined zoom values - -pdfjs-page-scale-width = Sidebreidde -pdfjs-page-scale-fit = Tilpass til sida -pdfjs-page-scale-auto = Automatisk skalering -pdfjs-page-scale-actual = Verkeleg storleik -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Side { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ein feil oppstod ved lasting av PDF. -pdfjs-invalid-file-error = Ugyldig eller korrupt PDF-fil. -pdfjs-missing-file-error = Manglande PDF-fil. -pdfjs-unexpected-response-error = Uventa tenarrespons. -pdfjs-rendering-error = Ein feil oppstod under vising av sida. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } annotasjon] - -## Password - -pdfjs-password-label = Skriv inn passordet for å opne denne PDF-fila. -pdfjs-password-invalid = Ugyldig passord. Prøv på nytt. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Avbryt -pdfjs-web-fonts-disabled = Web-skrifter er slått av: Kan ikkje bruke innbundne PDF-skrifter. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Teikne -pdfjs-editor-ink-button-label = Teikne -pdfjs-editor-stamp-button = - .title = Legg til eller rediger bilde -pdfjs-editor-stamp-button-label = Legg til eller rediger bilde - -## Remove button for the various kind of editor. - - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Farge -pdfjs-editor-free-text-size-input = Storleik -pdfjs-editor-ink-color-input = Farge -pdfjs-editor-ink-thickness-input = Tjukkleik -pdfjs-editor-ink-opacity-input = Ugjennomskinleg -pdfjs-editor-stamp-add-image-button = - .title = Legg til bilde -pdfjs-editor-stamp-add-image-button-label = Legg til bilde -pdfjs-free-text = - .aria-label = Tekstredigering -pdfjs-free-text-default-content = Byrje å skrive… -pdfjs-ink = - .aria-label = Teikneredigering -pdfjs-ink-canvas = - .aria-label = Brukarskapt bilde - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt-tekst -pdfjs-editor-alt-text-edit-button-label = Rediger alt-tekst tekst -pdfjs-editor-alt-text-dialog-label = Vel eit alternativ -pdfjs-editor-alt-text-dialog-description = Alt-tekst (alternativ tekst) hjelper når folk ikkje kan sjå bildet eller når det ikkje vert lasta inn. -pdfjs-editor-alt-text-add-description-label = Legg til ei skildring -pdfjs-editor-alt-text-add-description-description = Gå etter 1-2 setninger som skildrar emnet, settinga eller handlingane. -pdfjs-editor-alt-text-mark-decorative-label = Merk som dekorativt -pdfjs-editor-alt-text-mark-decorative-description = Dette vert brukt til dekorative bilde, som kantlinjer eller vassmerke. -pdfjs-editor-alt-text-cancel-button = Avbryt -pdfjs-editor-alt-text-save-button = Lagre -pdfjs-editor-alt-text-decorative-tooltip = Merkt som dekorativ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Til dømes, «Ein ung mann set seg ved eit bord for å ete eit måltid» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - - -## Color picker - -pdfjs-editor-colorpicker-yellow = - .title = Gul -pdfjs-editor-colorpicker-green = - .title = Grøn -pdfjs-editor-colorpicker-blue = - .title = Blå -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Raud diff --git a/media/js/pdf4/web/locale/oc/viewer.ftl b/media/js/pdf4/web/locale/oc/viewer.ftl deleted file mode 100644 index 68889798b0..0000000000 --- a/media/js/pdf4/web/locale/oc/viewer.ftl +++ /dev/null @@ -1,354 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina precedenta -pdfjs-previous-button-label = Precedent -pdfjs-next-button = - .title = Pagina seguenta -pdfjs-next-button-label = Seguent -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = sus { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom arrièr -pdfjs-zoom-out-button-label = Zoom arrièr -pdfjs-zoom-in-button = - .title = Zoom avant -pdfjs-zoom-in-button-label = Zoom avant -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Bascular en mòde presentacion -pdfjs-presentation-mode-button-label = Mòde Presentacion -pdfjs-open-file-button = - .title = Dobrir lo fichièr -pdfjs-open-file-button-label = Dobrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Enregistrar -pdfjs-save-button-label = Enregistrar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Telecargar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Telecargar -pdfjs-bookmark-button = - .title = Pagina actuala (mostrar l’adreça de la pagina actuala) -pdfjs-bookmark-button-label = Pagina actuala -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Dobrir amb l’aplicacion -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Dobrir amb l’aplicacion - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Aisinas -pdfjs-tools-button-label = Aisinas -pdfjs-first-page-button = - .title = Anar a la primièra pagina -pdfjs-first-page-button-label = Anar a la primièra pagina -pdfjs-last-page-button = - .title = Anar a la darrièra pagina -pdfjs-last-page-button-label = Anar a la darrièra pagina -pdfjs-page-rotate-cw-button = - .title = Rotacion orària -pdfjs-page-rotate-cw-button-label = Rotacion orària -pdfjs-page-rotate-ccw-button = - .title = Rotacion antiorària -pdfjs-page-rotate-ccw-button-label = Rotacion antiorària -pdfjs-cursor-text-select-tool-button = - .title = Activar l'aisina de seleccion de tèxte -pdfjs-cursor-text-select-tool-button-label = Aisina de seleccion de tèxte -pdfjs-cursor-hand-tool-button = - .title = Activar l’aisina man -pdfjs-cursor-hand-tool-button-label = Aisina man -pdfjs-scroll-page-button = - .title = Activar lo defilament per pagina -pdfjs-scroll-page-button-label = Defilament per pagina -pdfjs-scroll-vertical-button = - .title = Utilizar lo defilament vertical -pdfjs-scroll-vertical-button-label = Defilament vertical -pdfjs-scroll-horizontal-button = - .title = Utilizar lo defilament orizontal -pdfjs-scroll-horizontal-button-label = Defilament orizontal -pdfjs-scroll-wrapped-button = - .title = Activar lo defilament continú -pdfjs-scroll-wrapped-button-label = Defilament continú -pdfjs-spread-none-button = - .title = Agropar pas las paginas doas a doas -pdfjs-spread-none-button-label = Una sola pagina -pdfjs-spread-odd-button = - .title = Mostrar doas paginas en començant per las paginas imparas a esquèrra -pdfjs-spread-odd-button-label = Dobla pagina, impara a drecha -pdfjs-spread-even-button = - .title = Mostrar doas paginas en començant per las paginas paras a esquèrra -pdfjs-spread-even-button-label = Dobla pagina, para a drecha - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Proprietats del document… -pdfjs-document-properties-button-label = Proprietats del document… -pdfjs-document-properties-file-name = Nom del fichièr : -pdfjs-document-properties-file-size = Talha del fichièr : -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } Ko ({ $size_b } octets) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } Mo ({ $size_b } octets) -pdfjs-document-properties-title = Títol : -pdfjs-document-properties-author = Autor : -pdfjs-document-properties-subject = Subjècte : -pdfjs-document-properties-keywords = Mots claus : -pdfjs-document-properties-creation-date = Data de creacion : -pdfjs-document-properties-modification-date = Data de modificacion : -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, a { $time } -pdfjs-document-properties-creator = Creator : -pdfjs-document-properties-producer = Aisina de conversion PDF : -pdfjs-document-properties-version = Version PDF : -pdfjs-document-properties-page-count = Nombre de paginas : -pdfjs-document-properties-page-size = Talha de la pagina : -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = retrach -pdfjs-document-properties-page-size-orientation-landscape = païsatge -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letra -pdfjs-document-properties-page-size-name-legal = Document juridic - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web rapida : -pdfjs-document-properties-linearized-yes = Òc -pdfjs-document-properties-linearized-no = Non -pdfjs-document-properties-close-button = Tampar - -## Print - -pdfjs-print-progress-message = Preparacion del document per l’impression… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Anullar -pdfjs-printing-not-supported = Atencion : l'impression es pas complètament gerida per aqueste navegador. -pdfjs-printing-not-ready = Atencion : lo PDF es pas entièrament cargat per lo poder imprimir. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Afichar/amagar lo panèl lateral -pdfjs-toggle-sidebar-notification-button = - .title = Afichar/amagar lo panèl lateral (lo document conten esquèmas/pèças juntas/calques) -pdfjs-toggle-sidebar-button-label = Afichar/amagar lo panèl lateral -pdfjs-document-outline-button = - .title = Mostrar los esquèmas del document (dobleclicar per espandre/reduire totes los elements) -pdfjs-document-outline-button-label = Marcapaginas del document -pdfjs-attachments-button = - .title = Visualizar las pèças juntas -pdfjs-attachments-button-label = Pèças juntas -pdfjs-layers-button = - .title = Afichar los calques (doble-clicar per reïnicializar totes los calques a l’estat per defaut) -pdfjs-layers-button-label = Calques -pdfjs-thumbs-button = - .title = Afichar las vinhetas -pdfjs-thumbs-button-label = Vinhetas -pdfjs-current-outline-item-button = - .title = Trobar l’element de plan actual -pdfjs-current-outline-item-button-label = Element de plan actual -pdfjs-findbar-button = - .title = Cercar dins lo document -pdfjs-findbar-button-label = Recercar -pdfjs-additional-layers = Calques suplementaris - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Vinheta de la pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Recercar - .placeholder = Cercar dins lo document… -pdfjs-find-previous-button = - .title = Tròba l'ocurréncia precedenta de la frasa -pdfjs-find-previous-button-label = Precedent -pdfjs-find-next-button = - .title = Tròba l'ocurréncia venenta de la frasa -pdfjs-find-next-button-label = Seguent -pdfjs-find-highlight-checkbox = Suslinhar tot -pdfjs-find-match-case-checkbox-label = Respectar la cassa -pdfjs-find-match-diacritics-checkbox-label = Respectar los diacritics -pdfjs-find-entire-word-checkbox-label = Mots entièrs -pdfjs-find-reached-top = Naut de la pagina atenh, perseguida del bas -pdfjs-find-reached-bottom = Bas de la pagina atench, perseguida al començament -pdfjs-find-not-found = Frasa pas trobada - -## Predefined zoom values - -pdfjs-page-scale-width = Largor plena -pdfjs-page-scale-fit = Pagina entièra -pdfjs-page-scale-auto = Zoom automatic -pdfjs-page-scale-actual = Talha vertadièra -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Una error s'es producha pendent lo cargament del fichièr PDF. -pdfjs-invalid-file-error = Fichièr PDF invalid o corromput. -pdfjs-missing-file-error = Fichièr PDF mancant. -pdfjs-unexpected-response-error = Responsa de servidor imprevista. -pdfjs-rendering-error = Una error s'es producha pendent l'afichatge de la pagina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } a { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotacion { $type }] - -## Password - -pdfjs-password-label = Picatz lo senhal per dobrir aqueste fichièr PDF. -pdfjs-password-invalid = Senhal incorrècte. Tornatz ensajar. -pdfjs-password-ok-button = D'acòrdi -pdfjs-password-cancel-button = Anullar -pdfjs-web-fonts-disabled = Las polissas web son desactivadas : impossible d'utilizar las polissas integradas al PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tèxte -pdfjs-editor-free-text-button-label = Tèxte -pdfjs-editor-ink-button = - .title = Dessenhar -pdfjs-editor-ink-button-label = Dessenhar -pdfjs-editor-stamp-button = - .title = Apondre o modificar d’imatges -pdfjs-editor-stamp-button-label = Apondre o modificar d’imatges - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-freetext-button = - .title = Suprimir lo tèxte -pdfjs-editor-remove-stamp-button = - .title = Suprimir l’imatge - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Color -pdfjs-editor-free-text-size-input = Talha -pdfjs-editor-ink-color-input = Color -pdfjs-editor-ink-thickness-input = Espessor -pdfjs-editor-ink-opacity-input = Opacitat -pdfjs-editor-stamp-add-image-button = - .title = Apondre imatge -pdfjs-editor-stamp-add-image-button-label = Apondre imatge -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Espessor -pdfjs-free-text = - .aria-label = Editor de tèxte -pdfjs-free-text-default-content = Començatz d’escriure… -pdfjs-ink = - .aria-label = Editor de dessenh -pdfjs-ink-canvas = - .aria-label = Imatge creat per l’utilizaire - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Tèxt alternatiu -pdfjs-editor-alt-text-edit-button-label = Modificar lo tèxt alternatiu -pdfjs-editor-alt-text-dialog-label = Causir una opcion -pdfjs-editor-alt-text-add-description-label = Apondre una descripcion -pdfjs-editor-alt-text-cancel-button = Anullar -pdfjs-editor-alt-text-save-button = Enregistrar - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Color de suslinhatge -pdfjs-editor-colorpicker-button = - .title = Cambiar de color -pdfjs-editor-colorpicker-yellow = - .title = Jaune -pdfjs-editor-colorpicker-green = - .title = Verd -pdfjs-editor-colorpicker-blue = - .title = Blau -pdfjs-editor-colorpicker-pink = - .title = Ròse -pdfjs-editor-colorpicker-red = - .title = Roge - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = O afichar tot -pdfjs-editor-highlight-show-all-button = - .title = O afichar tot diff --git a/media/js/pdf4/web/locale/pa-IN/viewer.ftl b/media/js/pdf4/web/locale/pa-IN/viewer.ftl deleted file mode 100644 index d0fffc4d6c..0000000000 --- a/media/js/pdf4/web/locale/pa-IN/viewer.ftl +++ /dev/null @@ -1,389 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = ਪਿਛਲਾ ਸਫ਼ਾ -pdfjs-previous-button-label = ਪਿੱਛੇ -pdfjs-next-button = - .title = ਅਗਲਾ ਸਫ਼ਾ -pdfjs-next-button-label = ਅੱਗੇ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ਸਫ਼ਾ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } ਵਿੱਚੋਂ -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = { $pagesCount }) ਵਿੱਚੋਂ ({ $pageNumber } -pdfjs-zoom-out-button = - .title = ਜ਼ੂਮ ਆਉਟ -pdfjs-zoom-out-button-label = ਜ਼ੂਮ ਆਉਟ -pdfjs-zoom-in-button = - .title = ਜ਼ੂਮ ਇਨ -pdfjs-zoom-in-button-label = ਜ਼ੂਮ ਇਨ -pdfjs-zoom-select = - .title = ਜ਼ੂਨ -pdfjs-presentation-mode-button = - .title = ਪਰਿਜੈਂਟੇਸ਼ਨ ਮੋਡ ਵਿੱਚ ਜਾਓ -pdfjs-presentation-mode-button-label = ਪਰਿਜੈਂਟੇਸ਼ਨ ਮੋਡ -pdfjs-open-file-button = - .title = ਫਾਈਲ ਨੂੰ ਖੋਲ੍ਹੋ -pdfjs-open-file-button-label = ਖੋਲ੍ਹੋ -pdfjs-print-button = - .title = ਪਰਿੰਟ -pdfjs-print-button-label = ਪਰਿੰਟ -pdfjs-save-button = - .title = ਸੰਭਾਲੋ -pdfjs-save-button-label = ਸੰਭਾਲੋ -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ਡਾਊਨਲੋਡ -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ਡਾਊਨਲੋਡ -pdfjs-bookmark-button = - .title = ਮੌਜੂਦਾ ਸਫ਼਼ਾ (ਮੌਜੂਦਾ ਸਫ਼ੇ ਤੋਂ URL ਵੇਖੋ) -pdfjs-bookmark-button-label = ਮੌਜੂਦਾ ਸਫ਼਼ਾ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ਟੂਲ -pdfjs-tools-button-label = ਟੂਲ -pdfjs-first-page-button = - .title = ਪਹਿਲੇ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ -pdfjs-first-page-button-label = ਪਹਿਲੇ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ -pdfjs-last-page-button = - .title = ਆਖਰੀ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ -pdfjs-last-page-button-label = ਆਖਰੀ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ -pdfjs-page-rotate-cw-button = - .title = ਸੱਜੇ ਦਾਅ ਘੁੰਮਾਓ -pdfjs-page-rotate-cw-button-label = ਸੱਜੇ ਦਾਅ ਘੁੰਮਾਓ -pdfjs-page-rotate-ccw-button = - .title = ਖੱਬੇ ਦਾਅ ਘੁੰਮਾਓ -pdfjs-page-rotate-ccw-button-label = ਖੱਬੇ ਦਾਅ ਘੁੰਮਾਓ -pdfjs-cursor-text-select-tool-button = - .title = ਲਿਖਤ ਚੋਣ ਟੂਲ ਸਮਰੱਥ ਕਰੋ -pdfjs-cursor-text-select-tool-button-label = ਲਿਖਤ ਚੋਣ ਟੂਲ -pdfjs-cursor-hand-tool-button = - .title = ਹੱਥ ਟੂਲ ਸਮਰੱਥ ਕਰੋ -pdfjs-cursor-hand-tool-button-label = ਹੱਥ ਟੂਲ -pdfjs-scroll-page-button = - .title = ਸਫ਼ਾ ਖਿਸਕਾਉਣ ਨੂੰ ਵਰਤੋਂ -pdfjs-scroll-page-button-label = ਸਫ਼ਾ ਖਿਸਕਾਉਣਾ -pdfjs-scroll-vertical-button = - .title = ਖੜ੍ਹਵੇਂ ਸਕਰਾਉਣ ਨੂੰ ਵਰਤੋਂ -pdfjs-scroll-vertical-button-label = ਖੜ੍ਹਵਾਂ ਸਰਕਾਉਣਾ -pdfjs-scroll-horizontal-button = - .title = ਲੇਟਵੇਂ ਸਰਕਾਉਣ ਨੂੰ ਵਰਤੋਂ -pdfjs-scroll-horizontal-button-label = ਲੇਟਵਾਂ ਸਰਕਾਉਣਾ -pdfjs-scroll-wrapped-button = - .title = ਸਮੇਟੇ ਸਰਕਾਉਣ ਨੂੰ ਵਰਤੋਂ -pdfjs-scroll-wrapped-button-label = ਸਮੇਟਿਆ ਸਰਕਾਉਣਾ -pdfjs-spread-none-button = - .title = ਸਫ਼ਾ ਫੈਲਾਅ ਵਿੱਚ ਸ਼ਾਮਲ ਨਾ ਹੋਵੋ -pdfjs-spread-none-button-label = ਕੋਈ ਫੈਲਾਅ ਨਹੀਂ -pdfjs-spread-odd-button = - .title = ਟਾਂਕ ਅੰਕ ਵਾਲੇ ਸਫ਼ਿਆਂ ਨਾਲ ਸ਼ੁਰੂ ਹੋਣ ਵਾਲੇ ਸਫਿਆਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਵੋ -pdfjs-spread-odd-button-label = ਟਾਂਕ ਫੈਲਾਅ -pdfjs-spread-even-button = - .title = ਜਿਸਤ ਅੰਕ ਵਾਲੇ ਸਫ਼ਿਆਂ ਨਾਲ ਸ਼ੁਰੂ ਹੋਣ ਵਾਲੇ ਸਫਿਆਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਵੋ -pdfjs-spread-even-button-label = ਜਿਸਤ ਫੈਲਾਅ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = …ਦਸਤਾਵੇਜ਼ ਦੀ ਵਿਸ਼ੇਸ਼ਤਾ -pdfjs-document-properties-button-label = …ਦਸਤਾਵੇਜ਼ ਦੀ ਵਿਸ਼ੇਸ਼ਤਾ -pdfjs-document-properties-file-name = ਫਾਈਲ ਦਾ ਨਾਂ: -pdfjs-document-properties-file-size = ਫਾਈਲ ਦਾ ਆਕਾਰ: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } ਬਾਈਟ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } ਬਾਈਟ) -pdfjs-document-properties-title = ਟਾਈਟਲ: -pdfjs-document-properties-author = ਲੇਖਕ: -pdfjs-document-properties-subject = ਵਿਸ਼ਾ: -pdfjs-document-properties-keywords = ਸ਼ਬਦ: -pdfjs-document-properties-creation-date = ਬਣਾਉਣ ਦੀ ਮਿਤੀ: -pdfjs-document-properties-modification-date = ਸੋਧ ਦੀ ਮਿਤੀ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ਨਿਰਮਾਤਾ: -pdfjs-document-properties-producer = PDF ਪ੍ਰੋਡਿਊਸਰ: -pdfjs-document-properties-version = PDF ਵਰਜਨ: -pdfjs-document-properties-page-count = ਸਫ਼ੇ ਦੀ ਗਿਣਤੀ: -pdfjs-document-properties-page-size = ਸਫ਼ਾ ਆਕਾਰ: -pdfjs-document-properties-page-size-unit-inches = ਇੰਚ -pdfjs-document-properties-page-size-unit-millimeters = ਮਿਮੀ -pdfjs-document-properties-page-size-orientation-portrait = ਪੋਰਟਰੇਟ -pdfjs-document-properties-page-size-orientation-landscape = ਲੈਂਡਸਕੇਪ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = ਲੈਟਰ -pdfjs-document-properties-page-size-name-legal = ਕਨੂੰਨੀ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = ਤੇਜ਼ ਵੈੱਬ ਝਲਕ: -pdfjs-document-properties-linearized-yes = ਹਾਂ -pdfjs-document-properties-linearized-no = ਨਹੀਂ -pdfjs-document-properties-close-button = ਬੰਦ ਕਰੋ - -## Print - -pdfjs-print-progress-message = …ਪਰਿੰਟ ਕਰਨ ਲਈ ਦਸਤਾਵੇਜ਼ ਨੂੰ ਤਿਆਰ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ਰੱਦ ਕਰੋ -pdfjs-printing-not-supported = ਸਾਵਧਾਨ: ਇਹ ਬਰਾਊਜ਼ਰ ਪਰਿੰਟ ਕਰਨ ਲਈ ਪੂਰੀ ਤਰ੍ਹਾਂ ਸਹਾਇਕ ਨਹੀਂ ਹੈ। -pdfjs-printing-not-ready = ਸਾਵਧਾਨ: PDF ਨੂੰ ਪਰਿੰਟ ਕਰਨ ਲਈ ਪੂਰੀ ਤਰ੍ਹਾਂ ਲੋਡ ਨਹੀਂ ਹੈ। - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ਬਾਹੀ ਬਦਲੋ -pdfjs-toggle-sidebar-notification-button = - .title = ਬਾਹੀ ਨੂੰ ਬਦਲੋ (ਦਸਤਾਵੇਜ਼ ਖਾਕਾ/ਅਟੈਚਮੈਂਟ/ਪਰਤਾਂ ਰੱਖਦਾ ਹੈ) -pdfjs-toggle-sidebar-button-label = ਬਾਹੀ ਬਦਲੋ -pdfjs-document-outline-button = - .title = ਦਸਤਾਵੇਜ਼ ਖਾਕਾ ਦਿਖਾਓ (ਸਾਰੀਆਂ ਆਈਟਮਾਂ ਨੂੰ ਫੈਲਾਉਣ/ਸਮੇਟਣ ਲਈ ਦੋ ਵਾਰ ਕਲਿੱਕ ਕਰੋ) -pdfjs-document-outline-button-label = ਦਸਤਾਵੇਜ਼ ਖਾਕਾ -pdfjs-attachments-button = - .title = ਅਟੈਚਮੈਂਟ ਵੇਖਾਓ -pdfjs-attachments-button-label = ਅਟੈਚਮੈਂਟਾਂ -pdfjs-layers-button = - .title = ਪਰਤਾਂ ਵੇਖਾਓ (ਸਾਰੀਆਂ ਪਰਤਾਂ ਨੂੰ ਮੂਲ ਹਾਲਤ ਉੱਤੇ ਮੁੜ-ਸੈੱਟ ਕਰਨ ਲਈ ਦੋ ਵਾਰ ਕਲਿੱਕ ਕਰੋ) -pdfjs-layers-button-label = ਪਰਤਾਂ -pdfjs-thumbs-button = - .title = ਥੰਮਨੇਲ ਨੂੰ ਵੇਖਾਓ -pdfjs-thumbs-button-label = ਥੰਮਨੇਲ -pdfjs-current-outline-item-button = - .title = ਮੌੌਜੂਦਾ ਖਾਕਾ ਚੀਜ਼ ਲੱਭੋ -pdfjs-current-outline-item-button-label = ਮੌਜੂਦਾ ਖਾਕਾ ਚੀਜ਼ -pdfjs-findbar-button = - .title = ਦਸਤਾਵੇਜ਼ ਵਿੱਚ ਲੱਭੋ -pdfjs-findbar-button-label = ਲੱਭੋ -pdfjs-additional-layers = ਵਾਧੂ ਪਰਤਾਂ - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = ਸਫ਼ਾ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } ਸਫ਼ੇ ਦਾ ਥੰਮਨੇਲ - -## Find panel button title and messages - -pdfjs-find-input = - .title = ਲੱਭੋ - .placeholder = …ਦਸਤਾਵੇਜ਼ 'ਚ ਲੱਭੋ -pdfjs-find-previous-button = - .title = ਵਾਕ ਦੀ ਪਿਛਲੀ ਮੌਜੂਦਗੀ ਲੱਭੋ -pdfjs-find-previous-button-label = ਪਿੱਛੇ -pdfjs-find-next-button = - .title = ਵਾਕ ਦੀ ਅਗਲੀ ਮੌਜੂਦਗੀ ਲੱਭੋ -pdfjs-find-next-button-label = ਅੱਗੇ -pdfjs-find-highlight-checkbox = ਸਭ ਉਭਾਰੋ -pdfjs-find-match-case-checkbox-label = ਅੱਖਰ ਆਕਾਰ ਨੂੰ ਮਿਲਾਉ -pdfjs-find-match-diacritics-checkbox-label = ਭੇਦਸੂਚਕ ਮੇਲ -pdfjs-find-entire-word-checkbox-label = ਪੂਰੇ ਸ਼ਬਦ -pdfjs-find-reached-top = ਦਸਤਾਵੇਜ਼ ਦੇ ਉੱਤੇ ਆ ਗਏ ਹਾਂ, ਥੱਲੇ ਤੋਂ ਜਾਰੀ ਰੱਖਿਆ ਹੈ -pdfjs-find-reached-bottom = ਦਸਤਾਵੇਜ਼ ਦੇ ਅੰਤ ਉੱਤੇ ਆ ਗਏ ਹਾਂ, ਉੱਤੇ ਤੋਂ ਜਾਰੀ ਰੱਖਿਆ ਹੈ -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $total } ਵਿੱਚੋਂ { $current } ਮੇਲ - *[other] { $total } ਵਿੱਚੋਂ { $current } ਮੇਲ - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] { $limit } ਤੋਂ ਵੱਧ ਮੇਲ - *[other] { $limit } ਤੋਂ ਵੱਧ ਮੇਲ - } -pdfjs-find-not-found = ਵਾਕ ਨਹੀਂ ਲੱਭਿਆ - -## Predefined zoom values - -pdfjs-page-scale-width = ਸਫ਼ੇ ਦੀ ਚੌੜਾਈ -pdfjs-page-scale-fit = ਸਫ਼ਾ ਫਿੱਟ -pdfjs-page-scale-auto = ਆਟੋਮੈਟਿਕ ਜ਼ੂਮ ਕਰੋ -pdfjs-page-scale-actual = ਆਟੋਮੈਟਿਕ ਆਕਾਰ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = ਸਫ਼ਾ { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF ਲੋਡ ਕਰਨ ਦੇ ਦੌਰਾਨ ਗਲਤੀ ਆਈ ਹੈ। -pdfjs-invalid-file-error = ਗਲਤ ਜਾਂ ਨਿਕਾਰਾ PDF ਫਾਈਲ ਹੈ। -pdfjs-missing-file-error = ਨਾ-ਮੌਜੂਦ PDF ਫਾਈਲ। -pdfjs-unexpected-response-error = ਅਣਜਾਣ ਸਰਵਰ ਜਵਾਬ। -pdfjs-rendering-error = ਸਫ਼ਾ ਰੈਡਰ ਕਰਨ ਦੇ ਦੌਰਾਨ ਗਲਤੀ ਆਈ ਹੈ। - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ਵਿਆਖਿਆ] - -## Password - -pdfjs-password-label = ਇਹ PDF ਫਾਈਲ ਨੂੰ ਖੋਲ੍ਹਣ ਲਈ ਪਾਸਵਰਡ ਦਿਉ। -pdfjs-password-invalid = ਗਲਤ ਪਾਸਵਰਡ। ਫੇਰ ਕੋਸ਼ਿਸ਼ ਕਰੋ ਜੀ। -pdfjs-password-ok-button = ਠੀਕ ਹੈ -pdfjs-password-cancel-button = ਰੱਦ ਕਰੋ -pdfjs-web-fonts-disabled = ਵੈਬ ਫੋਂਟ ਬੰਦ ਹਨ: ਇੰਬੈਡ PDF ਫੋਂਟ ਨੂੰ ਵਰਤਣ ਲਈ ਅਸਮਰੱਥ ਹੈ। - -## Editing - -pdfjs-editor-free-text-button = - .title = ਲਿਖਤ -pdfjs-editor-free-text-button-label = ਲਿਖਤ -pdfjs-editor-ink-button = - .title = ਵਾਹੋ -pdfjs-editor-ink-button-label = ਵਾਹੋ -pdfjs-editor-stamp-button = - .title = ਚਿੱਤਰ ਜੋੜੋ ਜਾਂ ਸੋਧੋ -pdfjs-editor-stamp-button-label = ਚਿੱਤਰ ਜੋੜੋ ਜਾਂ ਸੋਧੋ -pdfjs-editor-highlight-button = - .title = ਹਾਈਲਾਈਟ -pdfjs-editor-highlight-button-label = ਹਾਈਲਾਈਟ - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = ਡਰਾਇੰਗ ਨੂੰ ਹਟਾਓ -pdfjs-editor-remove-freetext-button = - .title = ਲਿਖਤ ਨੂੰ ਹਟਾਓ -pdfjs-editor-remove-stamp-button = - .title = ਚਿੱਤਰ ਨੂੰ ਹਟਾਓ -pdfjs-editor-remove-highlight-button = - .title = ਹਾਈਲਾਈਟ ਨੂੰ ਹਟਾਓ - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = ਰੰਗ -pdfjs-editor-free-text-size-input = ਆਕਾਰ -pdfjs-editor-ink-color-input = ਰੰਗ -pdfjs-editor-ink-thickness-input = ਮੋਟਾਈ -pdfjs-editor-ink-opacity-input = ਧੁੰਦਲਾਪਨ -pdfjs-editor-stamp-add-image-button = - .title = ਚਿੱਤਰ ਜੋੜੋ -pdfjs-editor-stamp-add-image-button-label = ਚਿੱਤਰ ਜੋੜੋ -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = ਮੋਟਾਈ -pdfjs-editor-free-highlight-thickness-title = - .title = ਚੀਜ਼ਾਂ ਨੂੰ ਹੋਰ ਲਿਖਤਾਂ ਤੋਂ ਉਘਾੜਨ ਸਮੇਂ ਮੋਟਾਈ ਨੂੰ ਬਦਲੋ -pdfjs-free-text = - .aria-label = ਲਿਖਤ ਐਡੀਟਰ -pdfjs-free-text-default-content = …ਲਿਖਣਾ ਸ਼ੁਰੂ ਕਰੋ -pdfjs-ink = - .aria-label = ਵਹਾਉਣ ਐਡੀਟਰ -pdfjs-ink-canvas = - .aria-label = ਵਰਤੋਂਕਾਰ ਵਲੋਂ ਬਣਾਇਆ ਚਿੱਤਰ - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = ਬਦਲਵੀਂ ਲਿਖਤ -pdfjs-editor-alt-text-edit-button-label = ਬਦਲਵੀ ਲਿਖਤ ਨੂੰ ਸੋਧੋ -pdfjs-editor-alt-text-dialog-label = ਚੋਣ ਕਰੋ -pdfjs-editor-alt-text-dialog-description = ਚਿੱਤਰ ਨਾ ਦਿੱਸਣ ਜਾਂ ਲੋਡ ਨਾ ਹੋਣ ਦੀ ਹਾਲਤ ਵਿੱਚ Alt ਲਿਖਤ (ਬਦਲਵੀਂ ਲਿਖਤ) ਲੋਕਾਂ ਲਈ ਮਦਦਗਾਰ ਹੁੰਦੀ ਹੈ। -pdfjs-editor-alt-text-add-description-label = ਵਰਣਨ ਜੋੜੋ -pdfjs-editor-alt-text-add-description-description = 1-2 ਵਾਕ ਰੱਖੋ, ਜੋ ਕਿ ਵਿਸ਼ੇ, ਸੈਟਿੰਗ ਜਾਂ ਕਾਰਵਾਈਆਂ ਬਾਰੇ ਦਰਸਾਉਂਦੇ ਹੋਣ। -pdfjs-editor-alt-text-mark-decorative-label = ਸਜਾਵਟ ਵਜੋਂ ਨਿਸ਼ਾਨ ਲਾਇਆ -pdfjs-editor-alt-text-mark-decorative-description = ਇਸ ਨੂੰ ਸਜਾਵਟੀ ਚਿੱਤਰਾਂ ਲਈ ਵਰਤਿਆ ਜਾਂਦਾ ਹੈ ਜਿਵੇਂ ਕਿ ਹਾਸ਼ੀਆ ਜਾਂ ਵਾਟਰਮਾਰਕ ਆਦਿ। -pdfjs-editor-alt-text-cancel-button = ਰੱਦ ਕਰੋ -pdfjs-editor-alt-text-save-button = ਸੰਭਾਲੋ -pdfjs-editor-alt-text-decorative-tooltip = ਸਜਾਵਟ ਵਜੋਂ ਨਿਸ਼ਾਨ ਲਾਓ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = ਮਿਸਾਲ ਵਜੋਂ, “ਗੱਭਰੂ ਭੋਜਨ ਲੈ ਕੇ ਮੇਜ਼ ਉੱਤੇ ਬੈਠਾ ਹੈ” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = ਉੱਤੇ ਖੱਬਾ ਕੋਨਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-top-middle = ਉੱਤੇ ਮੱਧ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-top-right = ਉੱਤੇ ਸੱਜਾ ਕੋਨਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-middle-right = ਮੱਧ ਸੱਜਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-bottom-right = ਹੇਠਾਂ ਸੱਜਾ ਕੋਨਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-bottom-middle = ਹੇਠਾਂ ਮੱਧ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-bottom-left = ਹੇਠਾਂ ਖੱਬਾ ਕੋਨਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ -pdfjs-editor-resizer-label-middle-left = ਮੱਧ ਖੱਬਾ — ਮੁੜ-ਆਕਾਰ ਕਰੋ - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = ਹਾਈਟਲਾਈਟ ਦਾ ਰੰਗ -pdfjs-editor-colorpicker-button = - .title = ਰੰਗ ਨੂੰ ਬਦਲੋ -pdfjs-editor-colorpicker-dropdown = - .aria-label = ਰੰਗ ਚੋਣਾਂ -pdfjs-editor-colorpicker-yellow = - .title = ਪੀਲਾ -pdfjs-editor-colorpicker-green = - .title = ਹਰਾ -pdfjs-editor-colorpicker-blue = - .title = ਨੀਲਾ -pdfjs-editor-colorpicker-pink = - .title = ਗੁਲਾਬੀ -pdfjs-editor-colorpicker-red = - .title = ਲਾਲ diff --git a/media/js/pdf4/web/locale/pl/viewer.ftl b/media/js/pdf4/web/locale/pl/viewer.ftl deleted file mode 100644 index b34d607444..0000000000 --- a/media/js/pdf4/web/locale/pl/viewer.ftl +++ /dev/null @@ -1,404 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Poprzednia strona -pdfjs-previous-button-label = Poprzednia -pdfjs-next-button = - .title = Następna strona -pdfjs-next-button-label = Następna -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Strona -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = z { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } z { $pagesCount }) -pdfjs-zoom-out-button = - .title = Pomniejsz -pdfjs-zoom-out-button-label = Pomniejsz -pdfjs-zoom-in-button = - .title = Powiększ -pdfjs-zoom-in-button-label = Powiększ -pdfjs-zoom-select = - .title = Skala -pdfjs-presentation-mode-button = - .title = Przełącz na tryb prezentacji -pdfjs-presentation-mode-button-label = Tryb prezentacji -pdfjs-open-file-button = - .title = Otwórz plik -pdfjs-open-file-button-label = Otwórz -pdfjs-print-button = - .title = Drukuj -pdfjs-print-button-label = Drukuj -pdfjs-save-button = - .title = Zapisz -pdfjs-save-button-label = Zapisz -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Pobierz -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Pobierz -pdfjs-bookmark-button = - .title = Bieżąca strona (adres do otwarcia na bieżącej stronie) -pdfjs-bookmark-button-label = Bieżąca strona -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Otwórz w aplikacji -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Otwórz w aplikacji - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Narzędzia -pdfjs-tools-button-label = Narzędzia -pdfjs-first-page-button = - .title = Przejdź do pierwszej strony -pdfjs-first-page-button-label = Przejdź do pierwszej strony -pdfjs-last-page-button = - .title = Przejdź do ostatniej strony -pdfjs-last-page-button-label = Przejdź do ostatniej strony -pdfjs-page-rotate-cw-button = - .title = Obróć zgodnie z ruchem wskazówek zegara -pdfjs-page-rotate-cw-button-label = Obróć zgodnie z ruchem wskazówek zegara -pdfjs-page-rotate-ccw-button = - .title = Obróć przeciwnie do ruchu wskazówek zegara -pdfjs-page-rotate-ccw-button-label = Obróć przeciwnie do ruchu wskazówek zegara -pdfjs-cursor-text-select-tool-button = - .title = Włącz narzędzie zaznaczania tekstu -pdfjs-cursor-text-select-tool-button-label = Narzędzie zaznaczania tekstu -pdfjs-cursor-hand-tool-button = - .title = Włącz narzędzie rączka -pdfjs-cursor-hand-tool-button-label = Narzędzie rączka -pdfjs-scroll-page-button = - .title = Przewijaj strony -pdfjs-scroll-page-button-label = Przewijanie stron -pdfjs-scroll-vertical-button = - .title = Przewijaj dokument w pionie -pdfjs-scroll-vertical-button-label = Przewijanie pionowe -pdfjs-scroll-horizontal-button = - .title = Przewijaj dokument w poziomie -pdfjs-scroll-horizontal-button-label = Przewijanie poziome -pdfjs-scroll-wrapped-button = - .title = Strony dokumentu wyświetlaj i przewijaj w kolumnach -pdfjs-scroll-wrapped-button-label = Widok dwóch stron -pdfjs-spread-none-button = - .title = Nie ustawiaj stron obok siebie -pdfjs-spread-none-button-label = Brak kolumn -pdfjs-spread-odd-button = - .title = Strony nieparzyste ustawiaj na lewo od parzystych -pdfjs-spread-odd-button-label = Nieparzyste po lewej -pdfjs-spread-even-button = - .title = Strony parzyste ustawiaj na lewo od nieparzystych -pdfjs-spread-even-button-label = Parzyste po lewej - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Właściwości dokumentu… -pdfjs-document-properties-button-label = Właściwości dokumentu… -pdfjs-document-properties-file-name = Nazwa pliku: -pdfjs-document-properties-file-size = Rozmiar pliku: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } B) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } B) -pdfjs-document-properties-title = Tytuł: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Temat: -pdfjs-document-properties-keywords = Słowa kluczowe: -pdfjs-document-properties-creation-date = Data utworzenia: -pdfjs-document-properties-modification-date = Data modyfikacji: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Utworzony przez: -pdfjs-document-properties-producer = PDF wyprodukowany przez: -pdfjs-document-properties-version = Wersja PDF: -pdfjs-document-properties-page-count = Liczba stron: -pdfjs-document-properties-page-size = Wymiary strony: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = pionowa -pdfjs-document-properties-page-size-orientation-landscape = pozioma -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = US Letter -pdfjs-document-properties-page-size-name-legal = US Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width }×{ $height } { $unit } (orientacja { $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width }×{ $height } { $unit } ({ $name }, orientacja { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Szybki podgląd w Internecie: -pdfjs-document-properties-linearized-yes = tak -pdfjs-document-properties-linearized-no = nie -pdfjs-document-properties-close-button = Zamknij - -## Print - -pdfjs-print-progress-message = Przygotowywanie dokumentu do druku… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Anuluj -pdfjs-printing-not-supported = Ostrzeżenie: drukowanie nie jest w pełni obsługiwane przez tę przeglądarkę. -pdfjs-printing-not-ready = Ostrzeżenie: dokument PDF nie jest całkowicie wczytany, więc nie można go wydrukować. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Przełącz panel boczny -pdfjs-toggle-sidebar-notification-button = - .title = Przełącz panel boczny (dokument zawiera konspekt/załączniki/warstwy) -pdfjs-toggle-sidebar-button-label = Przełącz panel boczny -pdfjs-document-outline-button = - .title = Konspekt dokumentu (podwójne kliknięcie rozwija lub zwija wszystkie pozycje) -pdfjs-document-outline-button-label = Konspekt dokumentu -pdfjs-attachments-button = - .title = Załączniki -pdfjs-attachments-button-label = Załączniki -pdfjs-layers-button = - .title = Warstwy (podwójne kliknięcie przywraca wszystkie warstwy do stanu domyślnego) -pdfjs-layers-button-label = Warstwy -pdfjs-thumbs-button = - .title = Miniatury -pdfjs-thumbs-button-label = Miniatury -pdfjs-current-outline-item-button = - .title = Znajdź bieżący element konspektu -pdfjs-current-outline-item-button-label = Bieżący element konspektu -pdfjs-findbar-button = - .title = Znajdź w dokumencie -pdfjs-findbar-button-label = Znajdź -pdfjs-additional-layers = Dodatkowe warstwy - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page }. strona -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura { $page }. strony - -## Find panel button title and messages - -pdfjs-find-input = - .title = Znajdź - .placeholder = Znajdź w dokumencie… -pdfjs-find-previous-button = - .title = Znajdź poprzednie wystąpienie tekstu -pdfjs-find-previous-button-label = Poprzednie -pdfjs-find-next-button = - .title = Znajdź następne wystąpienie tekstu -pdfjs-find-next-button-label = Następne -pdfjs-find-highlight-checkbox = Wyróżnianie wszystkich -pdfjs-find-match-case-checkbox-label = Rozróżnianie wielkości liter -pdfjs-find-match-diacritics-checkbox-label = Rozróżnianie liter diakrytyzowanych -pdfjs-find-entire-word-checkbox-label = Całe słowa -pdfjs-find-reached-top = Początek dokumentu. Wyszukiwanie od końca. -pdfjs-find-reached-bottom = Koniec dokumentu. Wyszukiwanie od początku. -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current }. z { $total } trafienia - [few] { $current }. z { $total } trafień - *[many] { $current }. z { $total } trafień - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Więcej niż { $limit } trafienie - [few] Więcej niż { $limit } trafienia - *[many] Więcej niż { $limit } trafień - } -pdfjs-find-not-found = Nie znaleziono tekstu - -## Predefined zoom values - -pdfjs-page-scale-width = Szerokość strony -pdfjs-page-scale-fit = Dopasowanie strony -pdfjs-page-scale-auto = Skala automatyczna -pdfjs-page-scale-actual = Rozmiar oryginalny -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page }. strona - -## Loading indicator messages - -pdfjs-loading-error = Podczas wczytywania dokumentu PDF wystąpił błąd. -pdfjs-invalid-file-error = Nieprawidłowy lub uszkodzony plik PDF. -pdfjs-missing-file-error = Brak pliku PDF. -pdfjs-unexpected-response-error = Nieoczekiwana odpowiedź serwera. -pdfjs-rendering-error = Podczas renderowania strony wystąpił błąd. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Przypis: { $type }] - -## Password - -pdfjs-password-label = Wprowadź hasło, aby otworzyć ten dokument PDF. -pdfjs-password-invalid = Nieprawidłowe hasło. Proszę spróbować ponownie. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Anuluj -pdfjs-web-fonts-disabled = Czcionki sieciowe są wyłączone: nie można użyć osadzonych czcionek PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Rysunek -pdfjs-editor-ink-button-label = Rysunek -pdfjs-editor-stamp-button = - .title = Dodaj lub edytuj obrazy -pdfjs-editor-stamp-button-label = Dodaj lub edytuj obrazy -pdfjs-editor-highlight-button = - .title = Wyróżnij -pdfjs-editor-highlight-button-label = Wyróżnij -pdfjs-highlight-floating-button = - .title = Wyróżnij -pdfjs-highlight-floating-button1 = - .title = Wyróżnij - .aria-label = Wyróżnij -pdfjs-highlight-floating-button-label = Wyróżnij - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Usuń rysunek -pdfjs-editor-remove-freetext-button = - .title = Usuń tekst -pdfjs-editor-remove-stamp-button = - .title = Usuń obraz -pdfjs-editor-remove-highlight-button = - .title = Usuń wyróżnienie - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Kolor -pdfjs-editor-free-text-size-input = Rozmiar -pdfjs-editor-ink-color-input = Kolor -pdfjs-editor-ink-thickness-input = Grubość -pdfjs-editor-ink-opacity-input = Nieprzezroczystość -pdfjs-editor-stamp-add-image-button = - .title = Dodaj obraz -pdfjs-editor-stamp-add-image-button-label = Dodaj obraz -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grubość -pdfjs-editor-free-highlight-thickness-title = - .title = Zmień grubość podczas wyróżniania elementów innych niż tekst -pdfjs-free-text = - .aria-label = Edytor tekstu -pdfjs-free-text-default-content = Zacznij pisać… -pdfjs-ink = - .aria-label = Edytor rysunku -pdfjs-ink-canvas = - .aria-label = Obraz utworzony przez użytkownika - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Tekst alternatywny -pdfjs-editor-alt-text-edit-button-label = Edytuj tekst alternatywny -pdfjs-editor-alt-text-dialog-label = Wybierz opcję -pdfjs-editor-alt-text-dialog-description = Tekst alternatywny pomaga, kiedy ktoś nie może zobaczyć obrazu lub gdy się nie wczytuje. -pdfjs-editor-alt-text-add-description-label = Dodaj opis -pdfjs-editor-alt-text-add-description-description = Staraj się napisać 1-2 zdania opisujące temat, miejsce lub działania. -pdfjs-editor-alt-text-mark-decorative-label = Oznacz jako dekoracyjne -pdfjs-editor-alt-text-mark-decorative-description = Używane w przypadku obrazów ozdobnych, takich jak obramowania lub znaki wodne. -pdfjs-editor-alt-text-cancel-button = Anuluj -pdfjs-editor-alt-text-save-button = Zapisz -pdfjs-editor-alt-text-decorative-tooltip = Oznaczone jako dekoracyjne -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Na przykład: „Młody człowiek siada przy stole, aby zjeść posiłek” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Lewy górny róg — zmień rozmiar -pdfjs-editor-resizer-label-top-middle = Górny środkowy — zmień rozmiar -pdfjs-editor-resizer-label-top-right = Prawy górny róg — zmień rozmiar -pdfjs-editor-resizer-label-middle-right = Prawy środkowy — zmień rozmiar -pdfjs-editor-resizer-label-bottom-right = Prawy dolny róg — zmień rozmiar -pdfjs-editor-resizer-label-bottom-middle = Dolny środkowy — zmień rozmiar -pdfjs-editor-resizer-label-bottom-left = Lewy dolny róg — zmień rozmiar -pdfjs-editor-resizer-label-middle-left = Lewy środkowy — zmień rozmiar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Kolor wyróżnienia -pdfjs-editor-colorpicker-button = - .title = Zmień kolor -pdfjs-editor-colorpicker-dropdown = - .aria-label = Wybór kolorów -pdfjs-editor-colorpicker-yellow = - .title = Żółty -pdfjs-editor-colorpicker-green = - .title = Zielony -pdfjs-editor-colorpicker-blue = - .title = Niebieski -pdfjs-editor-colorpicker-pink = - .title = Różowy -pdfjs-editor-colorpicker-red = - .title = Czerwony - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Pokaż wszystkie -pdfjs-editor-highlight-show-all-button = - .title = Pokaż wszystkie diff --git a/media/js/pdf4/web/locale/pt-BR/viewer.ftl b/media/js/pdf4/web/locale/pt-BR/viewer.ftl deleted file mode 100644 index 153f0426ae..0000000000 --- a/media/js/pdf4/web/locale/pt-BR/viewer.ftl +++ /dev/null @@ -1,396 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Próxima página -pdfjs-next-button-label = Próxima -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Reduzir -pdfjs-zoom-out-button-label = Reduzir -pdfjs-zoom-in-button = - .title = Ampliar -pdfjs-zoom-in-button-label = Ampliar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Mudar para o modo de apresentação -pdfjs-presentation-mode-button-label = Modo de apresentação -pdfjs-open-file-button = - .title = Abrir arquivo -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Salvar -pdfjs-save-button-label = Salvar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Baixar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Baixar -pdfjs-bookmark-button = - .title = Página atual (ver URL da página atual) -pdfjs-bookmark-button-label = Pagina atual - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ferramentas -pdfjs-tools-button-label = Ferramentas -pdfjs-first-page-button = - .title = Ir para a primeira página -pdfjs-first-page-button-label = Ir para a primeira página -pdfjs-last-page-button = - .title = Ir para a última página -pdfjs-last-page-button-label = Ir para a última página -pdfjs-page-rotate-cw-button = - .title = Girar no sentido horário -pdfjs-page-rotate-cw-button-label = Girar no sentido horário -pdfjs-page-rotate-ccw-button = - .title = Girar no sentido anti-horário -pdfjs-page-rotate-ccw-button-label = Girar no sentido anti-horário -pdfjs-cursor-text-select-tool-button = - .title = Ativar a ferramenta de seleção de texto -pdfjs-cursor-text-select-tool-button-label = Ferramenta de seleção de texto -pdfjs-cursor-hand-tool-button = - .title = Ativar ferramenta de deslocamento -pdfjs-cursor-hand-tool-button-label = Ferramenta de deslocamento -pdfjs-scroll-page-button = - .title = Usar rolagem de página -pdfjs-scroll-page-button-label = Rolagem de página -pdfjs-scroll-vertical-button = - .title = Usar deslocamento vertical -pdfjs-scroll-vertical-button-label = Deslocamento vertical -pdfjs-scroll-horizontal-button = - .title = Usar deslocamento horizontal -pdfjs-scroll-horizontal-button-label = Deslocamento horizontal -pdfjs-scroll-wrapped-button = - .title = Usar deslocamento contido -pdfjs-scroll-wrapped-button-label = Deslocamento contido -pdfjs-spread-none-button = - .title = Não reagrupar páginas -pdfjs-spread-none-button-label = Não estender -pdfjs-spread-odd-button = - .title = Agrupar páginas começando em páginas com números ímpares -pdfjs-spread-odd-button-label = Estender ímpares -pdfjs-spread-even-button = - .title = Agrupar páginas começando em páginas com números pares -pdfjs-spread-even-button-label = Estender pares - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propriedades do documento… -pdfjs-document-properties-button-label = Propriedades do documento… -pdfjs-document-properties-file-name = Nome do arquivo: -pdfjs-document-properties-file-size = Tamanho do arquivo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Assunto: -pdfjs-document-properties-keywords = Palavras-chave: -pdfjs-document-properties-creation-date = Data da criação: -pdfjs-document-properties-modification-date = Data da modificação: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Criação: -pdfjs-document-properties-producer = Criador do PDF: -pdfjs-document-properties-version = Versão do PDF: -pdfjs-document-properties-page-count = Número de páginas: -pdfjs-document-properties-page-size = Tamanho da página: -pdfjs-document-properties-page-size-unit-inches = pol. -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = retrato -pdfjs-document-properties-page-size-orientation-landscape = paisagem -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Jurídico - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Exibição web rápida: -pdfjs-document-properties-linearized-yes = Sim -pdfjs-document-properties-linearized-no = Não -pdfjs-document-properties-close-button = Fechar - -## Print - -pdfjs-print-progress-message = Preparando documento para impressão… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Aviso: a impressão não é totalmente suportada neste navegador. -pdfjs-printing-not-ready = Aviso: o PDF não está totalmente carregado para impressão. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Exibir/ocultar painel lateral -pdfjs-toggle-sidebar-notification-button = - .title = Exibir/ocultar painel (documento contém estrutura/anexos/camadas) -pdfjs-toggle-sidebar-button-label = Exibir/ocultar painel -pdfjs-document-outline-button = - .title = Mostrar estrutura do documento (duplo-clique expande/recolhe todos os itens) -pdfjs-document-outline-button-label = Estrutura do documento -pdfjs-attachments-button = - .title = Mostrar anexos -pdfjs-attachments-button-label = Anexos -pdfjs-layers-button = - .title = Mostrar camadas (duplo-clique redefine todas as camadas ao estado predefinido) -pdfjs-layers-button-label = Camadas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Encontrar item atual da estrutura -pdfjs-current-outline-item-button-label = Item atual da estrutura -pdfjs-findbar-button = - .title = Procurar no documento -pdfjs-findbar-button-label = Procurar -pdfjs-additional-layers = Camadas adicionais - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura da página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Procurar - .placeholder = Procurar no documento… -pdfjs-find-previous-button = - .title = Procurar a ocorrência anterior da frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Procurar a próxima ocorrência da frase -pdfjs-find-next-button-label = Próxima -pdfjs-find-highlight-checkbox = Destacar tudo -pdfjs-find-match-case-checkbox-label = Diferenciar maiúsculas/minúsculas -pdfjs-find-match-diacritics-checkbox-label = Considerar acentuação -pdfjs-find-entire-word-checkbox-label = Palavras completas -pdfjs-find-reached-top = Início do documento alcançado, continuando do fim -pdfjs-find-reached-bottom = Fim do documento alcançado, continuando do início -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } de { $total } ocorrência - *[other] { $current } de { $total } ocorrências - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mais de { $limit } ocorrência - *[other] Mais de { $limit } ocorrências - } -pdfjs-find-not-found = Não encontrado - -## Predefined zoom values - -pdfjs-page-scale-width = Largura da página -pdfjs-page-scale-fit = Ajustar à janela -pdfjs-page-scale-auto = Zoom automático -pdfjs-page-scale-actual = Tamanho real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ocorreu um erro ao carregar o PDF. -pdfjs-invalid-file-error = Arquivo PDF corrompido ou inválido. -pdfjs-missing-file-error = Arquivo PDF ausente. -pdfjs-unexpected-response-error = Resposta inesperada do servidor. -pdfjs-rendering-error = Ocorreu um erro ao renderizar a página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotação { $type }] - -## Password - -pdfjs-password-label = Forneça a senha para abrir este arquivo PDF. -pdfjs-password-invalid = Senha inválida. Tente novamente. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = As fontes web estão desativadas: não foi possível usar fontes incorporadas do PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Desenho -pdfjs-editor-ink-button-label = Desenho -pdfjs-editor-stamp-button = - .title = Adicionar ou editar imagens -pdfjs-editor-stamp-button-label = Adicionar ou editar imagens -pdfjs-editor-highlight-button = - .title = Destaque -pdfjs-editor-highlight-button-label = Destaque -pdfjs-highlight-floating-button = - .title = Destaque -pdfjs-highlight-floating-button1 = - .title = Destaque - .aria-label = Destaque -pdfjs-highlight-floating-button-label = Destaque - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remover desenho -pdfjs-editor-remove-freetext-button = - .title = Remover texto -pdfjs-editor-remove-stamp-button = - .title = Remover imagem -pdfjs-editor-remove-highlight-button = - .title = Remover destaque - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Cor -pdfjs-editor-free-text-size-input = Tamanho -pdfjs-editor-ink-color-input = Cor -pdfjs-editor-ink-thickness-input = Espessura -pdfjs-editor-ink-opacity-input = Opacidade -pdfjs-editor-stamp-add-image-button = - .title = Adicionar imagem -pdfjs-editor-stamp-add-image-button-label = Adicionar imagem -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Espessura -pdfjs-editor-free-highlight-thickness-title = - .title = Mudar espessura ao destacar itens que não são texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Comece digitando… -pdfjs-ink = - .aria-label = Editor de desenho -pdfjs-ink-canvas = - .aria-label = Imagem criada pelo usuário - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar texto alternativo -pdfjs-editor-alt-text-dialog-label = Escolha uma opção -pdfjs-editor-alt-text-dialog-description = O texto alternativo ajuda quando uma imagem não aparece ou não é carregada. -pdfjs-editor-alt-text-add-description-label = Adicionar uma descrição -pdfjs-editor-alt-text-add-description-description = Procure usar uma ou duas frases que descrevam o assunto, cenário ou ação. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativa -pdfjs-editor-alt-text-mark-decorative-description = Isto é usado em imagens ornamentais, como bordas ou marcas d'água. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Salvar -pdfjs-editor-alt-text-decorative-tooltip = Marcado como decorativa -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por exemplo, “Um jovem senta-se à mesa para comer uma refeição” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Canto superior esquerdo — redimensionar -pdfjs-editor-resizer-label-top-middle = No centro do topo — redimensionar -pdfjs-editor-resizer-label-top-right = Canto superior direito — redimensionar -pdfjs-editor-resizer-label-middle-right = No meio à direita — redimensionar -pdfjs-editor-resizer-label-bottom-right = Canto inferior direito — redimensionar -pdfjs-editor-resizer-label-bottom-middle = No centro da base — redimensionar -pdfjs-editor-resizer-label-bottom-left = Canto inferior esquerdo — redimensionar -pdfjs-editor-resizer-label-middle-left = No meio à esquerda — redimensionar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Cor de destaque -pdfjs-editor-colorpicker-button = - .title = Mudar cor -pdfjs-editor-colorpicker-dropdown = - .aria-label = Opções de cores -pdfjs-editor-colorpicker-yellow = - .title = Amarelo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Azul -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Vermelho - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostrar todos -pdfjs-editor-highlight-show-all-button = - .title = Mostrar todos diff --git a/media/js/pdf4/web/locale/pt-PT/viewer.ftl b/media/js/pdf4/web/locale/pt-PT/viewer.ftl deleted file mode 100644 index 7fd8d37855..0000000000 --- a/media/js/pdf4/web/locale/pt-PT/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Página anterior -pdfjs-previous-button-label = Anterior -pdfjs-next-button = - .title = Página seguinte -pdfjs-next-button-label = Seguinte -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Página -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Reduzir -pdfjs-zoom-out-button-label = Reduzir -pdfjs-zoom-in-button = - .title = Ampliar -pdfjs-zoom-in-button-label = Ampliar -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Trocar para o modo de apresentação -pdfjs-presentation-mode-button-label = Modo de apresentação -pdfjs-open-file-button = - .title = Abrir ficheiro -pdfjs-open-file-button-label = Abrir -pdfjs-print-button = - .title = Imprimir -pdfjs-print-button-label = Imprimir -pdfjs-save-button = - .title = Guardar -pdfjs-save-button-label = Guardar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Transferir -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Transferir -pdfjs-bookmark-button = - .title = Página atual (ver URL da página atual) -pdfjs-bookmark-button-label = Pagina atual -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Abrir na aplicação -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Abrir na aplicação - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Ferramentas -pdfjs-tools-button-label = Ferramentas -pdfjs-first-page-button = - .title = Ir para a primeira página -pdfjs-first-page-button-label = Ir para a primeira página -pdfjs-last-page-button = - .title = Ir para a última página -pdfjs-last-page-button-label = Ir para a última página -pdfjs-page-rotate-cw-button = - .title = Rodar à direita -pdfjs-page-rotate-cw-button-label = Rodar à direita -pdfjs-page-rotate-ccw-button = - .title = Rodar à esquerda -pdfjs-page-rotate-ccw-button-label = Rodar à esquerda -pdfjs-cursor-text-select-tool-button = - .title = Ativar ferramenta de seleção de texto -pdfjs-cursor-text-select-tool-button-label = Ferramenta de seleção de texto -pdfjs-cursor-hand-tool-button = - .title = Ativar ferramenta de mão -pdfjs-cursor-hand-tool-button-label = Ferramenta de mão -pdfjs-scroll-page-button = - .title = Utilizar deslocamento da página -pdfjs-scroll-page-button-label = Deslocamento da página -pdfjs-scroll-vertical-button = - .title = Utilizar deslocação vertical -pdfjs-scroll-vertical-button-label = Deslocação vertical -pdfjs-scroll-horizontal-button = - .title = Utilizar deslocação horizontal -pdfjs-scroll-horizontal-button-label = Deslocação horizontal -pdfjs-scroll-wrapped-button = - .title = Utilizar deslocação encapsulada -pdfjs-scroll-wrapped-button-label = Deslocação encapsulada -pdfjs-spread-none-button = - .title = Não juntar páginas dispersas -pdfjs-spread-none-button-label = Sem spreads -pdfjs-spread-odd-button = - .title = Juntar páginas dispersas a partir de páginas com números ímpares -pdfjs-spread-odd-button-label = Spreads ímpares -pdfjs-spread-even-button = - .title = Juntar páginas dispersas a partir de páginas com números pares -pdfjs-spread-even-button-label = Spreads pares - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propriedades do documento… -pdfjs-document-properties-button-label = Propriedades do documento… -pdfjs-document-properties-file-name = Nome do ficheiro: -pdfjs-document-properties-file-size = Tamanho do ficheiro: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Título: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Assunto: -pdfjs-document-properties-keywords = Palavras-chave: -pdfjs-document-properties-creation-date = Data de criação: -pdfjs-document-properties-modification-date = Data de modificação: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Criador: -pdfjs-document-properties-producer = Produtor de PDF: -pdfjs-document-properties-version = Versão do PDF: -pdfjs-document-properties-page-count = N.º de páginas: -pdfjs-document-properties-page-size = Tamanho da página: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = retrato -pdfjs-document-properties-page-size-orientation-landscape = paisagem -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Carta -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista rápida web: -pdfjs-document-properties-linearized-yes = Sim -pdfjs-document-properties-linearized-no = Não -pdfjs-document-properties-close-button = Fechar - -## Print - -pdfjs-print-progress-message = A preparar o documento para impressão… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cancelar -pdfjs-printing-not-supported = Aviso: a impressão não é totalmente suportada por este navegador. -pdfjs-printing-not-ready = Aviso: o PDF ainda não está totalmente carregado. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Alternar barra lateral -pdfjs-toggle-sidebar-notification-button = - .title = Alternar barra lateral (o documento contém contornos/anexos/camadas) -pdfjs-toggle-sidebar-button-label = Alternar barra lateral -pdfjs-document-outline-button = - .title = Mostrar esquema do documento (duplo clique para expandir/colapsar todos os itens) -pdfjs-document-outline-button-label = Esquema do documento -pdfjs-attachments-button = - .title = Mostrar anexos -pdfjs-attachments-button-label = Anexos -pdfjs-layers-button = - .title = Mostrar camadas (clique duas vezes para repor todas as camadas para o estado predefinido) -pdfjs-layers-button-label = Camadas -pdfjs-thumbs-button = - .title = Mostrar miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Encontrar o item atualmente destacado -pdfjs-current-outline-item-button-label = Item atualmente destacado -pdfjs-findbar-button = - .title = Localizar em documento -pdfjs-findbar-button-label = Localizar -pdfjs-additional-layers = Camadas adicionais - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Página { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura da página { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Localizar - .placeholder = Localizar em documento… -pdfjs-find-previous-button = - .title = Localizar ocorrência anterior da frase -pdfjs-find-previous-button-label = Anterior -pdfjs-find-next-button = - .title = Localizar ocorrência seguinte da frase -pdfjs-find-next-button-label = Seguinte -pdfjs-find-highlight-checkbox = Destacar tudo -pdfjs-find-match-case-checkbox-label = Correspondência -pdfjs-find-match-diacritics-checkbox-label = Corresponder diacríticos -pdfjs-find-entire-word-checkbox-label = Palavras completas -pdfjs-find-reached-top = Topo do documento atingido, a continuar a partir do fundo -pdfjs-find-reached-bottom = Fim do documento atingido, a continuar a partir do topo -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } de { $total } correspondência - *[other] { $current } de { $total } correspondências - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mais de { $limit } correspondência - *[other] Mais de { $limit } correspondências - } -pdfjs-find-not-found = Frase não encontrada - -## Predefined zoom values - -pdfjs-page-scale-width = Ajustar à largura -pdfjs-page-scale-fit = Ajustar à página -pdfjs-page-scale-auto = Zoom automático -pdfjs-page-scale-actual = Tamanho real -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Página { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ocorreu um erro ao carregar o PDF. -pdfjs-invalid-file-error = Ficheiro PDF inválido ou danificado. -pdfjs-missing-file-error = Ficheiro PDF inexistente. -pdfjs-unexpected-response-error = Resposta inesperada do servidor. -pdfjs-rendering-error = Ocorreu um erro ao processar a página. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotação { $type }] - -## Password - -pdfjs-password-label = Introduza a palavra-passe para abrir este ficheiro PDF. -pdfjs-password-invalid = Palavra-passe inválida. Por favor, tente novamente. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Cancelar -pdfjs-web-fonts-disabled = Os tipos de letra web estão desativados: não é possível utilizar os tipos de letra PDF embutidos. - -## Editing - -pdfjs-editor-free-text-button = - .title = Texto -pdfjs-editor-free-text-button-label = Texto -pdfjs-editor-ink-button = - .title = Desenhar -pdfjs-editor-ink-button-label = Desenhar -pdfjs-editor-stamp-button = - .title = Adicionar ou editar imagens -pdfjs-editor-stamp-button-label = Adicionar ou editar imagens -pdfjs-editor-highlight-button = - .title = Destaque -pdfjs-editor-highlight-button-label = Destaque -pdfjs-highlight-floating-button = - .title = Destaque -pdfjs-highlight-floating-button1 = - .title = Realçar - .aria-label = Realçar -pdfjs-highlight-floating-button-label = Realçar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Remover desenho -pdfjs-editor-remove-freetext-button = - .title = Remover texto -pdfjs-editor-remove-stamp-button = - .title = Remover imagem -pdfjs-editor-remove-highlight-button = - .title = Remover destaque - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Cor -pdfjs-editor-free-text-size-input = Tamanho -pdfjs-editor-ink-color-input = Cor -pdfjs-editor-ink-thickness-input = Espessura -pdfjs-editor-ink-opacity-input = Opacidade -pdfjs-editor-stamp-add-image-button = - .title = Adicionar imagem -pdfjs-editor-stamp-add-image-button-label = Adicionar imagem -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Espessura -pdfjs-editor-free-highlight-thickness-title = - .title = Alterar espessura quando destacar itens que não sejam texto -pdfjs-free-text = - .aria-label = Editor de texto -pdfjs-free-text-default-content = Começar a digitar… -pdfjs-ink = - .aria-label = Editor de desenho -pdfjs-ink-canvas = - .aria-label = Imagem criada pelo utilizador - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Texto alternativo -pdfjs-editor-alt-text-edit-button-label = Editar texto alternativo -pdfjs-editor-alt-text-dialog-label = Escolher uma opção -pdfjs-editor-alt-text-dialog-description = O texto alternativo (texto alternativo) ajuda quando as pessoas não conseguem ver a imagem ou quando a mesma não é carregada. -pdfjs-editor-alt-text-add-description-label = Adicionar uma descrição -pdfjs-editor-alt-text-add-description-description = Aponte para 1-2 frases que descrevam o assunto, definição ou ações. -pdfjs-editor-alt-text-mark-decorative-label = Marcar como decorativa -pdfjs-editor-alt-text-mark-decorative-description = Isto é utilizado para imagens decorativas, tais como limites ou marcas d'água. -pdfjs-editor-alt-text-cancel-button = Cancelar -pdfjs-editor-alt-text-save-button = Guardar -pdfjs-editor-alt-text-decorative-tooltip = Marcada como decorativa -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Por exemplo, “Um jovem senta-se à mesa para comer uma refeição” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Canto superior esquerdo — redimensionar -pdfjs-editor-resizer-label-top-middle = Superior ao centro — redimensionar -pdfjs-editor-resizer-label-top-right = Canto superior direito — redimensionar -pdfjs-editor-resizer-label-middle-right = Centro à direita — redimensionar -pdfjs-editor-resizer-label-bottom-right = Canto inferior direito — redimensionar -pdfjs-editor-resizer-label-bottom-middle = Inferior ao centro — redimensionar -pdfjs-editor-resizer-label-bottom-left = Canto inferior esquerdo — redimensionar -pdfjs-editor-resizer-label-middle-left = Centro à esquerda — redimensionar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Cor de destaque -pdfjs-editor-colorpicker-button = - .title = Alterar cor -pdfjs-editor-colorpicker-dropdown = - .aria-label = Escolhas de cor -pdfjs-editor-colorpicker-yellow = - .title = Amarelo -pdfjs-editor-colorpicker-green = - .title = Verde -pdfjs-editor-colorpicker-blue = - .title = Azul -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Vermelho - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mostrar tudo -pdfjs-editor-highlight-show-all-button = - .title = Mostrar tudo diff --git a/media/js/pdf4/web/locale/rm/viewer.ftl b/media/js/pdf4/web/locale/rm/viewer.ftl deleted file mode 100644 index bd94341846..0000000000 --- a/media/js/pdf4/web/locale/rm/viewer.ftl +++ /dev/null @@ -1,398 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina precedenta -pdfjs-previous-button-label = Enavos -pdfjs-next-button = - .title = Proxima pagina -pdfjs-next-button-label = Enavant -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = da { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } da { $pagesCount }) -pdfjs-zoom-out-button = - .title = Empitschnir -pdfjs-zoom-out-button-label = Empitschnir -pdfjs-zoom-in-button = - .title = Engrondir -pdfjs-zoom-in-button-label = Engrondir -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Midar en il modus da preschentaziun -pdfjs-presentation-mode-button-label = Modus da preschentaziun -pdfjs-open-file-button = - .title = Avrir datoteca -pdfjs-open-file-button-label = Avrir -pdfjs-print-button = - .title = Stampar -pdfjs-print-button-label = Stampar -pdfjs-save-button = - .title = Memorisar -pdfjs-save-button-label = Memorisar -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Telechargiar -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Telechargiar -pdfjs-bookmark-button = - .title = Pagina actuala (mussar l'URL da la pagina actuala) -pdfjs-bookmark-button-label = Pagina actuala -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Avrir en ina app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Avrir en ina app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Utensils -pdfjs-tools-button-label = Utensils -pdfjs-first-page-button = - .title = Siglir a l'emprima pagina -pdfjs-first-page-button-label = Siglir a l'emprima pagina -pdfjs-last-page-button = - .title = Siglir a la davosa pagina -pdfjs-last-page-button-label = Siglir a la davosa pagina -pdfjs-page-rotate-cw-button = - .title = Rotar en direcziun da l'ura -pdfjs-page-rotate-cw-button-label = Rotar en direcziun da l'ura -pdfjs-page-rotate-ccw-button = - .title = Rotar en direcziun cuntraria a l'ura -pdfjs-page-rotate-ccw-button-label = Rotar en direcziun cuntraria a l'ura -pdfjs-cursor-text-select-tool-button = - .title = Activar l'utensil per selecziunar text -pdfjs-cursor-text-select-tool-button-label = Utensil per selecziunar text -pdfjs-cursor-hand-tool-button = - .title = Activar l'utensil da maun -pdfjs-cursor-hand-tool-button-label = Utensil da maun -pdfjs-scroll-page-button = - .title = Utilisar la defilada per pagina -pdfjs-scroll-page-button-label = Defilada per pagina -pdfjs-scroll-vertical-button = - .title = Utilisar il defilar vertical -pdfjs-scroll-vertical-button-label = Defilar vertical -pdfjs-scroll-horizontal-button = - .title = Utilisar il defilar orizontal -pdfjs-scroll-horizontal-button-label = Defilar orizontal -pdfjs-scroll-wrapped-button = - .title = Utilisar il defilar en colonnas -pdfjs-scroll-wrapped-button-label = Defilar en colonnas -pdfjs-spread-none-button = - .title = Betg parallelisar las paginas -pdfjs-spread-none-button-label = Betg parallel -pdfjs-spread-odd-button = - .title = Parallelisar las paginas cun cumenzar cun paginas spèras -pdfjs-spread-odd-button-label = Parallel spèr -pdfjs-spread-even-button = - .title = Parallelisar las paginas cun cumenzar cun paginas pèras -pdfjs-spread-even-button-label = Parallel pèr - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Caracteristicas dal document… -pdfjs-document-properties-button-label = Caracteristicas dal document… -pdfjs-document-properties-file-name = Num da la datoteca: -pdfjs-document-properties-file-size = Grondezza da la datoteca: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Autur: -pdfjs-document-properties-subject = Tema: -pdfjs-document-properties-keywords = Chavazzins: -pdfjs-document-properties-creation-date = Data da creaziun: -pdfjs-document-properties-modification-date = Data da modificaziun: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } { $time } -pdfjs-document-properties-creator = Creà da: -pdfjs-document-properties-producer = Creà il PDF cun: -pdfjs-document-properties-version = Versiun da PDF: -pdfjs-document-properties-page-count = Dumber da paginas: -pdfjs-document-properties-page-size = Grondezza da la pagina: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = vertical -pdfjs-document-properties-page-size-orientation-landscape = orizontal -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Gea -pdfjs-document-properties-linearized-no = Na -pdfjs-document-properties-close-button = Serrar - -## Print - -pdfjs-print-progress-message = Preparar il document per stampar… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Interrumper -pdfjs-printing-not-supported = Attenziun: Il stampar na funcziunescha anc betg dal tut en quest navigatur. -pdfjs-printing-not-ready = Attenziun: Il PDF n'è betg chargià cumplettamain per stampar. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Activar/deactivar la trav laterala -pdfjs-toggle-sidebar-notification-button = - .title = Activar/deactivar la trav laterala (il document cuntegna structura dal document/agiuntas/nivels) -pdfjs-toggle-sidebar-button-label = Activar/deactivar la trav laterala -pdfjs-document-outline-button = - .title = Mussar la structura dal document (cliccar duas giadas per extender/cumprimer tut ils elements) -pdfjs-document-outline-button-label = Structura dal document -pdfjs-attachments-button = - .title = Mussar agiuntas -pdfjs-attachments-button-label = Agiuntas -pdfjs-layers-button = - .title = Mussar ils nivels (cliccar dubel per restaurar il stadi da standard da tut ils nivels) -pdfjs-layers-button-label = Nivels -pdfjs-thumbs-button = - .title = Mussar las miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Tschertgar l'element da structura actual -pdfjs-current-outline-item-button-label = Element da structura actual -pdfjs-findbar-button = - .title = Tschertgar en il document -pdfjs-findbar-button-label = Tschertgar -pdfjs-additional-layers = Nivels supplementars - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura da la pagina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Tschertgar - .placeholder = Tschertgar en il document… -pdfjs-find-previous-button = - .title = Tschertgar la posiziun precedenta da l'expressiun -pdfjs-find-previous-button-label = Enavos -pdfjs-find-next-button = - .title = Tschertgar la proxima posiziun da l'expressiun -pdfjs-find-next-button-label = Enavant -pdfjs-find-highlight-checkbox = Relevar tuts -pdfjs-find-match-case-checkbox-label = Resguardar maiusclas/minusclas -pdfjs-find-match-diacritics-checkbox-label = Resguardar ils segns diacritics -pdfjs-find-entire-word-checkbox-label = Pleds entirs -pdfjs-find-reached-top = Il cumenzament dal document è cuntanschì, la tschertga cuntinuescha a la fin dal document -pdfjs-find-reached-bottom = La fin dal document è cuntanschì, la tschertga cuntinuescha al cumenzament dal document -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } dad { $total } correspundenza - *[other] { $current } da { $total } correspundenzas - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Dapli che { $limit } correspundenza - *[other] Dapli che { $limit } correspundenzas - } -pdfjs-find-not-found = Impussibel da chattar l'expressiun - -## Predefined zoom values - -pdfjs-page-scale-width = Ladezza da la pagina -pdfjs-page-scale-fit = Entira pagina -pdfjs-page-scale-auto = Zoom automatic -pdfjs-page-scale-actual = Grondezza actuala -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pagina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ina errur è cumparida cun chargiar il PDF. -pdfjs-invalid-file-error = Datoteca PDF nunvalida u donnegiada. -pdfjs-missing-file-error = Datoteca PDF manconta. -pdfjs-unexpected-response-error = Resposta nunspetgada dal server. -pdfjs-rendering-error = Ina errur è cumparida cun visualisar questa pagina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Annotaziun da { $type }] - -## Password - -pdfjs-password-label = Endatescha il pled-clav per avrir questa datoteca da PDF. -pdfjs-password-invalid = Pled-clav nunvalid. Emprova anc ina giada. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Interrumper -pdfjs-web-fonts-disabled = Scrittiras dal web èn deactivadas: impussibel dad utilisar las scrittiras integradas en il PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Dissegnar -pdfjs-editor-ink-button-label = Dissegnar -pdfjs-editor-stamp-button = - .title = Agiuntar u modifitgar maletgs -pdfjs-editor-stamp-button-label = Agiuntar u modifitgar maletgs -pdfjs-editor-highlight-button = - .title = Marcar -pdfjs-editor-highlight-button-label = Marcar -pdfjs-highlight-floating-button = - .title = Relevar - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Allontanar il dissegn -pdfjs-editor-remove-freetext-button = - .title = Allontanar il text -pdfjs-editor-remove-stamp-button = - .title = Allontanar la grafica -pdfjs-editor-remove-highlight-button = - .title = Allontanar l'emfasa - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Colur -pdfjs-editor-free-text-size-input = Grondezza -pdfjs-editor-ink-color-input = Colur -pdfjs-editor-ink-thickness-input = Grossezza -pdfjs-editor-ink-opacity-input = Opacitad -pdfjs-editor-stamp-add-image-button = - .title = Agiuntar in maletg -pdfjs-editor-stamp-add-image-button-label = Agiuntar in maletg -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Grossezza -pdfjs-editor-free-highlight-thickness-title = - .title = Midar la grossezza cun relevar elements betg textuals -pdfjs-free-text = - .aria-label = Editur da text -pdfjs-free-text-default-content = Cumenzar a tippar… -pdfjs-ink = - .aria-label = Editur dissegn -pdfjs-ink-canvas = - .aria-label = Maletg creà da l'utilisader - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Text alternativ -pdfjs-editor-alt-text-edit-button-label = Modifitgar il text alternativ -pdfjs-editor-alt-text-dialog-label = Tscherner ina opziun -pdfjs-editor-alt-text-dialog-description = Il text alternativ (alt text) gida en cas che persunas na vesan betg il maletg u sch'i na reussescha betg d'al chargiar. -pdfjs-editor-alt-text-add-description-label = Agiuntar ina descripziun -pdfjs-editor-alt-text-add-description-description = Scriva idealmain 1-2 frasas che descrivan l'object, la situaziun u las acziuns. -pdfjs-editor-alt-text-mark-decorative-label = Marcar sco decorativ -pdfjs-editor-alt-text-mark-decorative-description = Quai vegn duvrà per maletgs ornamentals, sco urs u filigranas. -pdfjs-editor-alt-text-cancel-button = Interrumper -pdfjs-editor-alt-text-save-button = Memorisar -pdfjs-editor-alt-text-decorative-tooltip = Marcà sco decorativ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Per exempel: «In um giuven sesa a maisa per mangiar in past» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Chantun sura a sanestra — redimensiunar -pdfjs-editor-resizer-label-top-middle = Sura amez — redimensiunar -pdfjs-editor-resizer-label-top-right = Chantun sura a dretga — redimensiunar -pdfjs-editor-resizer-label-middle-right = Da vart dretga amez — redimensiunar -pdfjs-editor-resizer-label-bottom-right = Chantun sut a dretga — redimensiunar -pdfjs-editor-resizer-label-bottom-middle = Sutvart amez — redimensiunar -pdfjs-editor-resizer-label-bottom-left = Chantun sut a sanestra — redimensiunar -pdfjs-editor-resizer-label-middle-left = Vart sanestra amez — redimensiunar - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Colur per l'emfasa -pdfjs-editor-colorpicker-button = - .title = Midar la colur -pdfjs-editor-colorpicker-dropdown = - .aria-label = Colurs disponiblas -pdfjs-editor-colorpicker-yellow = - .title = Mellen -pdfjs-editor-colorpicker-green = - .title = Verd -pdfjs-editor-colorpicker-blue = - .title = Blau -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Cotschen - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Mussar tut -pdfjs-editor-highlight-show-all-button = - .title = Mussar tut diff --git a/media/js/pdf4/web/locale/ro/viewer.ftl b/media/js/pdf4/web/locale/ro/viewer.ftl deleted file mode 100644 index 7c6f0b6a33..0000000000 --- a/media/js/pdf4/web/locale/ro/viewer.ftl +++ /dev/null @@ -1,251 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pagina precedentă -pdfjs-previous-button-label = Înapoi -pdfjs-next-button = - .title = Pagina următoare -pdfjs-next-button-label = Înainte -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pagina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = din { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } din { $pagesCount }) -pdfjs-zoom-out-button = - .title = Micșorează -pdfjs-zoom-out-button-label = Micșorează -pdfjs-zoom-in-button = - .title = Mărește -pdfjs-zoom-in-button-label = Mărește -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Comută la modul de prezentare -pdfjs-presentation-mode-button-label = Mod de prezentare -pdfjs-open-file-button = - .title = Deschide un fișier -pdfjs-open-file-button-label = Deschide -pdfjs-print-button = - .title = Tipărește -pdfjs-print-button-label = Tipărește - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Instrumente -pdfjs-tools-button-label = Instrumente -pdfjs-first-page-button = - .title = Mergi la prima pagină -pdfjs-first-page-button-label = Mergi la prima pagină -pdfjs-last-page-button = - .title = Mergi la ultima pagină -pdfjs-last-page-button-label = Mergi la ultima pagină -pdfjs-page-rotate-cw-button = - .title = Rotește în sensul acelor de ceas -pdfjs-page-rotate-cw-button-label = Rotește în sensul acelor de ceas -pdfjs-page-rotate-ccw-button = - .title = Rotește în sens invers al acelor de ceas -pdfjs-page-rotate-ccw-button-label = Rotește în sens invers al acelor de ceas -pdfjs-cursor-text-select-tool-button = - .title = Activează instrumentul de selecție a textului -pdfjs-cursor-text-select-tool-button-label = Instrumentul de selecție a textului -pdfjs-cursor-hand-tool-button = - .title = Activează instrumentul mână -pdfjs-cursor-hand-tool-button-label = Unealta mână -pdfjs-scroll-vertical-button = - .title = Folosește derularea verticală -pdfjs-scroll-vertical-button-label = Derulare verticală -pdfjs-scroll-horizontal-button = - .title = Folosește derularea orizontală -pdfjs-scroll-horizontal-button-label = Derulare orizontală -pdfjs-scroll-wrapped-button = - .title = Folosește derularea încadrată -pdfjs-scroll-wrapped-button-label = Derulare încadrată -pdfjs-spread-none-button = - .title = Nu uni paginile broșate -pdfjs-spread-none-button-label = Fără pagini broșate -pdfjs-spread-odd-button = - .title = Unește paginile broșate începând cu cele impare -pdfjs-spread-odd-button-label = Broșare pagini impare -pdfjs-spread-even-button = - .title = Unește paginile broșate începând cu cele pare -pdfjs-spread-even-button-label = Broșare pagini pare - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Proprietățile documentului… -pdfjs-document-properties-button-label = Proprietățile documentului… -pdfjs-document-properties-file-name = Numele fișierului: -pdfjs-document-properties-file-size = Mărimea fișierului: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } byți) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byți) -pdfjs-document-properties-title = Titlu: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Subiect: -pdfjs-document-properties-keywords = Cuvinte cheie: -pdfjs-document-properties-creation-date = Data creării: -pdfjs-document-properties-modification-date = Data modificării: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Autor: -pdfjs-document-properties-producer = Producător PDF: -pdfjs-document-properties-version = Versiune PDF: -pdfjs-document-properties-page-count = Număr de pagini: -pdfjs-document-properties-page-size = Mărimea paginii: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = verticală -pdfjs-document-properties-page-size-orientation-landscape = orizontală -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Literă -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vizualizare web rapidă: -pdfjs-document-properties-linearized-yes = Da -pdfjs-document-properties-linearized-no = Nu -pdfjs-document-properties-close-button = Închide - -## Print - -pdfjs-print-progress-message = Se pregătește documentul pentru tipărire… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Renunță -pdfjs-printing-not-supported = Avertisment: Tipărirea nu este suportată în totalitate de acest browser. -pdfjs-printing-not-ready = Avertisment: PDF-ul nu este încărcat complet pentru tipărire. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Comută bara laterală -pdfjs-toggle-sidebar-button-label = Comută bara laterală -pdfjs-document-outline-button = - .title = Afișează schița documentului (dublu-clic pentru a extinde/restrânge toate elementele) -pdfjs-document-outline-button-label = Schița documentului -pdfjs-attachments-button = - .title = Afișează atașamentele -pdfjs-attachments-button-label = Atașamente -pdfjs-thumbs-button = - .title = Afișează miniaturi -pdfjs-thumbs-button-label = Miniaturi -pdfjs-findbar-button = - .title = Caută în document -pdfjs-findbar-button-label = Caută - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pagina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura paginii { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Caută - .placeholder = Caută în document… -pdfjs-find-previous-button = - .title = Mergi la apariția anterioară a textului -pdfjs-find-previous-button-label = Înapoi -pdfjs-find-next-button = - .title = Mergi la apariția următoare a textului -pdfjs-find-next-button-label = Înainte -pdfjs-find-highlight-checkbox = Evidențiază toate aparițiile -pdfjs-find-match-case-checkbox-label = Ține cont de majuscule și minuscule -pdfjs-find-entire-word-checkbox-label = Cuvinte întregi -pdfjs-find-reached-top = Am ajuns la începutul documentului, continuă de la sfârșit -pdfjs-find-reached-bottom = Am ajuns la sfârșitul documentului, continuă de la început -pdfjs-find-not-found = Nu s-a găsit textul - -## Predefined zoom values - -pdfjs-page-scale-width = Lățime pagină -pdfjs-page-scale-fit = Potrivire la pagină -pdfjs-page-scale-auto = Zoom automat -pdfjs-page-scale-actual = Mărime reală -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = A intervenit o eroare la încărcarea PDF-ului. -pdfjs-invalid-file-error = Fișier PDF nevalid sau corupt. -pdfjs-missing-file-error = Fișier PDF lipsă. -pdfjs-unexpected-response-error = Răspuns neașteptat de la server. -pdfjs-rendering-error = A intervenit o eroare la randarea paginii. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Adnotare { $type }] - -## Password - -pdfjs-password-label = Introdu parola pentru a deschide acest fișier PDF. -pdfjs-password-invalid = Parolă nevalidă. Te rugăm să încerci din nou. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Renunță -pdfjs-web-fonts-disabled = Fonturile web sunt dezactivate: nu se pot folosi fonturile PDF încorporate. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ru/viewer.ftl b/media/js/pdf4/web/locale/ru/viewer.ftl deleted file mode 100644 index 6e3713ce4c..0000000000 --- a/media/js/pdf4/web/locale/ru/viewer.ftl +++ /dev/null @@ -1,404 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Предыдущая страница -pdfjs-previous-button-label = Предыдущая -pdfjs-next-button = - .title = Следующая страница -pdfjs-next-button-label = Следующая -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Страница -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = из { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } из { $pagesCount }) -pdfjs-zoom-out-button = - .title = Уменьшить -pdfjs-zoom-out-button-label = Уменьшить -pdfjs-zoom-in-button = - .title = Увеличить -pdfjs-zoom-in-button-label = Увеличить -pdfjs-zoom-select = - .title = Масштаб -pdfjs-presentation-mode-button = - .title = Перейти в режим презентации -pdfjs-presentation-mode-button-label = Режим презентации -pdfjs-open-file-button = - .title = Открыть файл -pdfjs-open-file-button-label = Открыть -pdfjs-print-button = - .title = Печать -pdfjs-print-button-label = Печать -pdfjs-save-button = - .title = Сохранить -pdfjs-save-button-label = Сохранить -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Загрузить -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Загрузить -pdfjs-bookmark-button = - .title = Текущая страница (просмотр URL-адреса с текущей страницы) -pdfjs-bookmark-button-label = Текущая страница -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Открыть в приложении -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Открыть в программе - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Инструменты -pdfjs-tools-button-label = Инструменты -pdfjs-first-page-button = - .title = Перейти на первую страницу -pdfjs-first-page-button-label = Перейти на первую страницу -pdfjs-last-page-button = - .title = Перейти на последнюю страницу -pdfjs-last-page-button-label = Перейти на последнюю страницу -pdfjs-page-rotate-cw-button = - .title = Повернуть по часовой стрелке -pdfjs-page-rotate-cw-button-label = Повернуть по часовой стрелке -pdfjs-page-rotate-ccw-button = - .title = Повернуть против часовой стрелки -pdfjs-page-rotate-ccw-button-label = Повернуть против часовой стрелки -pdfjs-cursor-text-select-tool-button = - .title = Включить Инструмент «Выделение текста» -pdfjs-cursor-text-select-tool-button-label = Инструмент «Выделение текста» -pdfjs-cursor-hand-tool-button = - .title = Включить Инструмент «Рука» -pdfjs-cursor-hand-tool-button-label = Инструмент «Рука» -pdfjs-scroll-page-button = - .title = Использовать прокрутку страниц -pdfjs-scroll-page-button-label = Прокрутка страниц -pdfjs-scroll-vertical-button = - .title = Использовать вертикальную прокрутку -pdfjs-scroll-vertical-button-label = Вертикальная прокрутка -pdfjs-scroll-horizontal-button = - .title = Использовать горизонтальную прокрутку -pdfjs-scroll-horizontal-button-label = Горизонтальная прокрутка -pdfjs-scroll-wrapped-button = - .title = Использовать масштабируемую прокрутку -pdfjs-scroll-wrapped-button-label = Масштабируемая прокрутка -pdfjs-spread-none-button = - .title = Не использовать режим разворотов страниц -pdfjs-spread-none-button-label = Без разворотов страниц -pdfjs-spread-odd-button = - .title = Развороты начинаются с нечётных номеров страниц -pdfjs-spread-odd-button-label = Нечётные страницы слева -pdfjs-spread-even-button = - .title = Развороты начинаются с чётных номеров страниц -pdfjs-spread-even-button-label = Чётные страницы слева - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Свойства документа… -pdfjs-document-properties-button-label = Свойства документа… -pdfjs-document-properties-file-name = Имя файла: -pdfjs-document-properties-file-size = Размер файла: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байт) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байт) -pdfjs-document-properties-title = Заголовок: -pdfjs-document-properties-author = Автор: -pdfjs-document-properties-subject = Тема: -pdfjs-document-properties-keywords = Ключевые слова: -pdfjs-document-properties-creation-date = Дата создания: -pdfjs-document-properties-modification-date = Дата изменения: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Приложение: -pdfjs-document-properties-producer = Производитель PDF: -pdfjs-document-properties-version = Версия PDF: -pdfjs-document-properties-page-count = Число страниц: -pdfjs-document-properties-page-size = Размер страницы: -pdfjs-document-properties-page-size-unit-inches = дюймов -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = книжная -pdfjs-document-properties-page-size-orientation-landscape = альбомная -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Быстрый просмотр в Web: -pdfjs-document-properties-linearized-yes = Да -pdfjs-document-properties-linearized-no = Нет -pdfjs-document-properties-close-button = Закрыть - -## Print - -pdfjs-print-progress-message = Подготовка документа к печати… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Отмена -pdfjs-printing-not-supported = Предупреждение: В этом браузере не полностью поддерживается печать. -pdfjs-printing-not-ready = Предупреждение: PDF не полностью загружен для печати. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Показать/скрыть боковую панель -pdfjs-toggle-sidebar-notification-button = - .title = Показать/скрыть боковую панель (документ имеет содержание/вложения/слои) -pdfjs-toggle-sidebar-button-label = Показать/скрыть боковую панель -pdfjs-document-outline-button = - .title = Показать содержание документа (двойной щелчок, чтобы развернуть/свернуть все элементы) -pdfjs-document-outline-button-label = Содержание документа -pdfjs-attachments-button = - .title = Показать вложения -pdfjs-attachments-button-label = Вложения -pdfjs-layers-button = - .title = Показать слои (дважды щёлкните, чтобы сбросить все слои к состоянию по умолчанию) -pdfjs-layers-button-label = Слои -pdfjs-thumbs-button = - .title = Показать миниатюры -pdfjs-thumbs-button-label = Миниатюры -pdfjs-current-outline-item-button = - .title = Найти текущий элемент структуры -pdfjs-current-outline-item-button-label = Текущий элемент структуры -pdfjs-findbar-button = - .title = Найти в документе -pdfjs-findbar-button-label = Найти -pdfjs-additional-layers = Дополнительные слои - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Страница { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Миниатюра страницы { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Найти - .placeholder = Найти в документе… -pdfjs-find-previous-button = - .title = Найти предыдущее вхождение фразы в текст -pdfjs-find-previous-button-label = Назад -pdfjs-find-next-button = - .title = Найти следующее вхождение фразы в текст -pdfjs-find-next-button-label = Далее -pdfjs-find-highlight-checkbox = Подсветить все -pdfjs-find-match-case-checkbox-label = С учётом регистра -pdfjs-find-match-diacritics-checkbox-label = С учётом диакритических знаков -pdfjs-find-entire-word-checkbox-label = Слова целиком -pdfjs-find-reached-top = Достигнут верх документа, продолжено снизу -pdfjs-find-reached-bottom = Достигнут конец документа, продолжено сверху -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } из { $total } совпадения - [few] { $current } из { $total } совпадений - *[many] { $current } из { $total } совпадений - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Более { $limit } совпадения - [few] Более { $limit } совпадений - *[many] Более { $limit } совпадений - } -pdfjs-find-not-found = Фраза не найдена - -## Predefined zoom values - -pdfjs-page-scale-width = По ширине страницы -pdfjs-page-scale-fit = По размеру страницы -pdfjs-page-scale-auto = Автоматически -pdfjs-page-scale-actual = Реальный размер -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Страница { $page } - -## Loading indicator messages - -pdfjs-loading-error = При загрузке PDF произошла ошибка. -pdfjs-invalid-file-error = Некорректный или повреждённый PDF-файл. -pdfjs-missing-file-error = PDF-файл отсутствует. -pdfjs-unexpected-response-error = Неожиданный ответ сервера. -pdfjs-rendering-error = При создании страницы произошла ошибка. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Аннотация { $type }] - -## Password - -pdfjs-password-label = Введите пароль, чтобы открыть этот PDF-файл. -pdfjs-password-invalid = Неверный пароль. Пожалуйста, попробуйте снова. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Отмена -pdfjs-web-fonts-disabled = Веб-шрифты отключены: не удалось задействовать встроенные PDF-шрифты. - -## Editing - -pdfjs-editor-free-text-button = - .title = Текст -pdfjs-editor-free-text-button-label = Текст -pdfjs-editor-ink-button = - .title = Рисовать -pdfjs-editor-ink-button-label = Рисовать -pdfjs-editor-stamp-button = - .title = Добавить или изменить изображения -pdfjs-editor-stamp-button-label = Добавить или изменить изображения -pdfjs-editor-highlight-button = - .title = Выделение -pdfjs-editor-highlight-button-label = Выделение -pdfjs-highlight-floating-button = - .title = Выделение -pdfjs-highlight-floating-button1 = - .title = Выделение - .aria-label = Выделение -pdfjs-highlight-floating-button-label = Выделение - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Удалить рисунок -pdfjs-editor-remove-freetext-button = - .title = Удалить текст -pdfjs-editor-remove-stamp-button = - .title = Удалить изображение -pdfjs-editor-remove-highlight-button = - .title = Удалить выделение - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Цвет -pdfjs-editor-free-text-size-input = Размер -pdfjs-editor-ink-color-input = Цвет -pdfjs-editor-ink-thickness-input = Толщина -pdfjs-editor-ink-opacity-input = Прозрачность -pdfjs-editor-stamp-add-image-button = - .title = Добавить изображение -pdfjs-editor-stamp-add-image-button-label = Добавить изображение -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Толщина -pdfjs-editor-free-highlight-thickness-title = - .title = Изменить толщину при выделении элементов, кроме текста -pdfjs-free-text = - .aria-label = Текстовый редактор -pdfjs-free-text-default-content = Начните вводить… -pdfjs-ink = - .aria-label = Редактор рисования -pdfjs-ink-canvas = - .aria-label = Созданное пользователем изображение - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Альтернативный текст -pdfjs-editor-alt-text-edit-button-label = Изменить альтернативный текст -pdfjs-editor-alt-text-dialog-label = Выберите вариант -pdfjs-editor-alt-text-dialog-description = Альтернативный текст помогает, когда люди не видят изображение или оно не загружается. -pdfjs-editor-alt-text-add-description-label = Добавить описание -pdfjs-editor-alt-text-add-description-description = Старайтесь составлять 1–2 предложения, описывающих предмет, обстановку или действия. -pdfjs-editor-alt-text-mark-decorative-label = Отметить как декоративное -pdfjs-editor-alt-text-mark-decorative-description = Используется для декоративных изображений, таких как рамки или водяные знаки. -pdfjs-editor-alt-text-cancel-button = Отменить -pdfjs-editor-alt-text-save-button = Сохранить -pdfjs-editor-alt-text-decorative-tooltip = Помечен как декоративный -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Например: «Молодой человек садится за стол, чтобы поесть» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Левый верхний угол — изменить размер -pdfjs-editor-resizer-label-top-middle = Вверху посередине — изменить размер -pdfjs-editor-resizer-label-top-right = Верхний правый угол — изменить размер -pdfjs-editor-resizer-label-middle-right = В центре справа — изменить размер -pdfjs-editor-resizer-label-bottom-right = Нижний правый угол — изменить размер -pdfjs-editor-resizer-label-bottom-middle = Внизу посередине — изменить размер -pdfjs-editor-resizer-label-bottom-left = Нижний левый угол — изменить размер -pdfjs-editor-resizer-label-middle-left = В центре слева — изменить размер - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Цвет выделения -pdfjs-editor-colorpicker-button = - .title = Изменить цвет -pdfjs-editor-colorpicker-dropdown = - .aria-label = Выбор цвета -pdfjs-editor-colorpicker-yellow = - .title = Жёлтый -pdfjs-editor-colorpicker-green = - .title = Зелёный -pdfjs-editor-colorpicker-blue = - .title = Синий -pdfjs-editor-colorpicker-pink = - .title = Розовый -pdfjs-editor-colorpicker-red = - .title = Красный - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Показать все -pdfjs-editor-highlight-show-all-button = - .title = Показать все diff --git a/media/js/pdf4/web/locale/sat/viewer.ftl b/media/js/pdf4/web/locale/sat/viewer.ftl deleted file mode 100644 index 90f12a3142..0000000000 --- a/media/js/pdf4/web/locale/sat/viewer.ftl +++ /dev/null @@ -1,311 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = ᱢᱟᱲᱟᱝ ᱥᱟᱦᱴᱟ -pdfjs-previous-button-label = ᱢᱟᱲᱟᱝᱟᱜ -pdfjs-next-button = - .title = ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ ᱥᱟᱦᱴᱟ -pdfjs-next-button-label = ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ᱥᱟᱦᱴᱟ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = ᱨᱮᱭᱟᱜ { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } ᱠᱷᱚᱱ { $pagesCount }) -pdfjs-zoom-out-button = - .title = ᱦᱤᱲᱤᱧ ᱛᱮᱭᱟᱨ -pdfjs-zoom-out-button-label = ᱦᱤᱲᱤᱧ ᱛᱮᱭᱟᱨ -pdfjs-zoom-in-button = - .title = ᱢᱟᱨᱟᱝ ᱛᱮᱭᱟᱨ -pdfjs-zoom-in-button-label = ᱢᱟᱨᱟᱝ ᱛᱮᱭᱟᱨ -pdfjs-zoom-select = - .title = ᱡᱩᱢ -pdfjs-presentation-mode-button = - .title = ᱩᱫᱩᱜ ᱥᱚᱫᱚᱨ ᱚᱵᱚᱥᱛᱟ ᱨᱮ ᱚᱛᱟᱭ ᱢᱮ -pdfjs-presentation-mode-button-label = ᱩᱫᱩᱜ ᱥᱚᱫᱚᱨ ᱚᱵᱚᱥᱛᱟ ᱨᱮ -pdfjs-open-file-button = - .title = ᱨᱮᱫ ᱡᱷᱤᱡᱽ ᱢᱮ -pdfjs-open-file-button-label = ᱡᱷᱤᱡᱽ ᱢᱮ -pdfjs-print-button = - .title = ᱪᱷᱟᱯᱟ -pdfjs-print-button-label = ᱪᱷᱟᱯᱟ -pdfjs-save-button = - .title = ᱥᱟᱺᱪᱟᱣ ᱢᱮ -pdfjs-save-button-label = ᱥᱟᱺᱪᱟᱣ ᱢᱮ -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ᱰᱟᱣᱩᱱᱞᱚᱰ -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ᱰᱟᱣᱩᱱᱞᱚᱰ -pdfjs-bookmark-button = - .title = ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ (ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ ᱠᱷᱚᱱ URL ᱫᱮᱠᱷᱟᱣ ᱢᱮ) -pdfjs-bookmark-button-label = ᱱᱤᱛᱚᱜᱟᱜ ᱥᱟᱦᱴᱟ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = ᱮᱯ ᱨᱮ ᱡᱷᱤᱡᱽ ᱢᱮ -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = ᱮᱯ ᱨᱮ ᱡᱷᱤᱡᱽ ᱢᱮ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = ᱦᱟᱹᱛᱤᱭᱟᱹᱨ ᱠᱚ -pdfjs-tools-button-label = ᱦᱟᱹᱛᱤᱭᱟᱹᱨ ᱠᱚ -pdfjs-first-page-button = - .title = ᱯᱩᱭᱞᱩ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ -pdfjs-first-page-button-label = ᱯᱩᱭᱞᱩ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ -pdfjs-last-page-button = - .title = ᱢᱩᱪᱟᱹᱫ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ -pdfjs-last-page-button-label = ᱢᱩᱪᱟᱹᱫ ᱥᱟᱦᱴᱟ ᱥᱮᱫ ᱪᱟᱞᱟᱜ ᱢᱮ -pdfjs-page-rotate-cw-button = - .title = ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱟᱹᱪᱩᱨ -pdfjs-page-rotate-cw-button-label = ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱟᱹᱪᱩᱨ -pdfjs-page-rotate-ccw-button = - .title = ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱩᱞᱴᱟᱹ ᱟᱹᱪᱩᱨ -pdfjs-page-rotate-ccw-button-label = ᱜᱷᱚᱰᱤ ᱦᱤᱥᱟᱹᱵ ᱛᱮ ᱩᱞᱴᱟᱹ ᱟᱹᱪᱩᱨ -pdfjs-cursor-text-select-tool-button = - .title = ᱚᱞ ᱵᱟᱪᱷᱟᱣ ᱦᱟᱹᱛᱤᱭᱟᱨ ᱮᱢ ᱪᱷᱚᱭ ᱢᱮ -pdfjs-cursor-text-select-tool-button-label = ᱚᱞ ᱵᱟᱪᱷᱟᱣ ᱦᱟᱹᱛᱤᱭᱟᱨ -pdfjs-cursor-hand-tool-button = - .title = ᱛᱤ ᱦᱟᱹᱛᱤᱭᱟᱨ ᱮᱢ ᱪᱷᱚᱭ ᱢᱮ -pdfjs-cursor-hand-tool-button-label = ᱛᱤ ᱦᱟᱹᱛᱤᱭᱟᱨ -pdfjs-scroll-page-button = - .title = ᱥᱟᱦᱴᱟ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ -pdfjs-scroll-page-button-label = ᱥᱟᱦᱴᱟ ᱜᱩᱲᱟᱹᱣ -pdfjs-scroll-vertical-button = - .title = ᱥᱤᱫᱽ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ -pdfjs-scroll-vertical-button-label = ᱥᱤᱫᱽ ᱜᱩᱲᱟᱹᱣ -pdfjs-scroll-horizontal-button = - .title = ᱜᱤᱛᱤᱡ ᱛᱮ ᱜᱩᱲᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ -pdfjs-scroll-horizontal-button-label = ᱜᱤᱛᱤᱡ ᱛᱮ ᱜᱩᱲᱟᱹᱣ -pdfjs-scroll-wrapped-button = - .title = ᱞᱤᱯᱴᱟᱹᱣ ᱜᱩᱰᱨᱟᱹᱣ ᱵᱮᱵᱷᱟᱨ ᱢᱮ -pdfjs-scroll-wrapped-button-label = ᱞᱤᱯᱴᱟᱣ ᱜᱩᱰᱨᱟᱹᱣ -pdfjs-spread-none-button = - .title = ᱟᱞᱚᱢ ᱡᱚᱲᱟᱣ ᱟ ᱥᱟᱦᱴᱟ ᱫᱚ ᱯᱟᱥᱱᱟᱣᱜᱼᱟ -pdfjs-spread-none-button-label = ᱯᱟᱥᱱᱟᱣ ᱵᱟᱹᱱᱩᱜᱼᱟ -pdfjs-spread-odd-button = - .title = ᱥᱟᱦᱴᱟ ᱯᱟᱥᱱᱟᱣ ᱡᱚᱲᱟᱣ ᱢᱮ ᱡᱟᱦᱟᱸ ᱫᱚ ᱚᱰᱼᱮᱞ ᱥᱟᱦᱴᱟᱠᱚ ᱥᱟᱞᱟᱜ ᱮᱛᱦᱚᱵᱚᱜ ᱠᱟᱱᱟ -pdfjs-spread-odd-button-label = ᱚᱰ ᱯᱟᱥᱱᱟᱣ -pdfjs-spread-even-button = - .title = ᱥᱟᱦᱴᱟ ᱯᱟᱥᱱᱟᱣ ᱡᱚᱲᱟᱣ ᱢᱮ ᱡᱟᱦᱟᱸ ᱫᱚ ᱤᱣᱮᱱᱼᱮᱞ ᱥᱟᱦᱴᱟᱠᱚ ᱥᱟᱞᱟᱜ ᱮᱛᱦᱚᱵᱚᱜ ᱠᱟᱱᱟ -pdfjs-spread-even-button-label = ᱯᱟᱥᱱᱟᱣ ᱤᱣᱮᱱ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = ᱫᱚᱞᱤᱞ ᱜᱩᱱᱠᱚ … -pdfjs-document-properties-button-label = ᱫᱚᱞᱤᱞ ᱜᱩᱱᱠᱚ … -pdfjs-document-properties-file-name = ᱨᱮᱫᱽ ᱧᱩᱛᱩᱢ : -pdfjs-document-properties-file-size = ᱨᱮᱫᱽ ᱢᱟᱯ : -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } ᱵᱟᱭᱤᱴ ᱠᱚ) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } ᱵᱟᱭᱤᱴ ᱠᱚ) -pdfjs-document-properties-title = ᱧᱩᱛᱩᱢ : -pdfjs-document-properties-author = ᱚᱱᱚᱞᱤᱭᱟᱹ : -pdfjs-document-properties-subject = ᱵᱤᱥᱚᱭ : -pdfjs-document-properties-keywords = ᱠᱟᱹᱴᱷᱤ ᱥᱟᱵᱟᱫᱽ : -pdfjs-document-properties-creation-date = ᱛᱮᱭᱟᱨ ᱢᱟᱸᱦᱤᱛ : -pdfjs-document-properties-modification-date = ᱵᱚᱫᱚᱞ ᱦᱚᱪᱚ ᱢᱟᱹᱦᱤᱛ : -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ᱵᱮᱱᱟᱣᱤᱡ : -pdfjs-document-properties-producer = PDF ᱛᱮᱭᱟᱨ ᱚᱰᱚᱠᱤᱡ : -pdfjs-document-properties-version = PDF ᱵᱷᱟᱹᱨᱥᱚᱱ : -pdfjs-document-properties-page-count = ᱥᱟᱦᱴᱟ ᱞᱮᱠᱷᱟ : -pdfjs-document-properties-page-size = ᱥᱟᱦᱴᱟ ᱢᱟᱯ : -pdfjs-document-properties-page-size-unit-inches = ᱤᱧᱪ -pdfjs-document-properties-page-size-unit-millimeters = ᱢᱤᱢᱤ -pdfjs-document-properties-page-size-orientation-portrait = ᱯᱚᱴᱨᱮᱴ -pdfjs-document-properties-page-size-orientation-landscape = ᱞᱮᱱᱰᱥᱠᱮᱯ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = ᱪᱤᱴᱷᱤ -pdfjs-document-properties-page-size-name-legal = ᱠᱟᱹᱱᱩᱱᱤ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = ᱞᱚᱜᱚᱱ ᱣᱮᱵᱽ ᱧᱮᱞ : -pdfjs-document-properties-linearized-yes = ᱦᱚᱭ -pdfjs-document-properties-linearized-no = ᱵᱟᱝ -pdfjs-document-properties-close-button = ᱵᱚᱸᱫᱚᱭ ᱢᱮ - -## Print - -pdfjs-print-progress-message = ᱪᱷᱟᱯᱟ ᱞᱟᱹᱜᱤᱫ ᱫᱚᱞᱤᱞ ᱛᱮᱭᱟᱨᱚᱜ ᱠᱟᱱᱟ … -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ᱵᱟᱹᱰᱨᱟᱹ -pdfjs-printing-not-supported = ᱦᱚᱥᱤᱭᱟᱨ : ᱪᱷᱟᱯᱟ ᱱᱚᱣᱟ ᱯᱟᱱᱛᱮᱭᱟᱜ ᱫᱟᱨᱟᱭ ᱛᱮ ᱯᱩᱨᱟᱹᱣ ᱵᱟᱭ ᱜᱚᱲᱚᱣᱟᱠᱟᱱᱟ ᱾ -pdfjs-printing-not-ready = ᱦᱩᱥᱤᱭᱟᱹᱨ : ᱪᱷᱟᱯᱟ ᱞᱟᱹᱜᱤᱫ PDF ᱯᱩᱨᱟᱹ ᱵᱟᱭ ᱞᱟᱫᱮ ᱟᱠᱟᱱᱟ ᱾ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ -pdfjs-toggle-sidebar-notification-button = - .title = ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ (ᱫᱚᱞᱤᱞ ᱨᱮ ᱟᱣᱴᱞᱟᱭᱤᱢ ᱢᱮᱱᱟᱜᱼᱟ/ᱞᱟᱪᱷᱟᱠᱚ/ᱯᱚᱨᱚᱛᱠᱚ) -pdfjs-toggle-sidebar-button-label = ᱫᱷᱟᱨᱮᱵᱟᱨ ᱥᱮᱫ ᱩᱪᱟᱹᱲᱚᱜ ᱢᱮ -pdfjs-document-outline-button = - .title = ᱫᱚᱞᱚᱞ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱫᱮᱠᱷᱟᱣ ᱢᱮ (ᱡᱷᱚᱛᱚ ᱡᱤᱱᱤᱥᱠᱚ ᱵᱟᱨ ᱡᱮᱠᱷᱟ ᱚᱛᱟ ᱠᱮᱛᱮ ᱡᱷᱟᱹᱞ/ᱦᱩᱰᱤᱧ ᱪᱷᱚᱭ ᱢᱮ) -pdfjs-document-outline-button-label = ᱫᱚᱞᱤᱞ ᱛᱮᱭᱟᱨ ᱛᱮᱫ -pdfjs-attachments-button = - .title = ᱞᱟᱴᱷᱟ ᱥᱮᱞᱮᱫ ᱠᱚ ᱩᱫᱩᱜᱽ ᱢᱮ -pdfjs-attachments-button-label = ᱞᱟᱴᱷᱟ ᱥᱮᱞᱮᱫ ᱠᱚ -pdfjs-layers-button = - .title = ᱯᱚᱨᱚᱛ ᱫᱮᱠᱷᱟᱣ ᱢᱮ (ᱢᱩᱞ ᱡᱟᱭᱜᱟ ᱛᱮ ᱡᱷᱚᱛᱚ ᱯᱚᱨᱚᱛᱠᱚ ᱨᱤᱥᱮᱴ ᱞᱟᱹᱜᱤᱫ ᱵᱟᱨ ᱡᱮᱠᱷᱟ ᱚᱛᱚᱭ ᱢᱮ) -pdfjs-layers-button-label = ᱯᱚᱨᱚᱛᱠᱚ -pdfjs-thumbs-button = - .title = ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ ᱠᱚ ᱩᱫᱩᱜᱽ ᱢᱮ -pdfjs-thumbs-button-label = ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ ᱠᱚ -pdfjs-current-outline-item-button = - .title = ᱱᱤᱛᱚᱜᱟᱜ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱡᱟᱱᱤᱥ ᱯᱟᱱᱛᱮ ᱢᱮ -pdfjs-current-outline-item-button-label = ᱱᱤᱛᱚᱜᱟᱜ ᱟᱣᱴᱞᱟᱭᱤᱱ ᱡᱟᱱᱤᱥ -pdfjs-findbar-button = - .title = ᱫᱚᱞᱤᱞ ᱨᱮ ᱯᱟᱱᱛᱮ -pdfjs-findbar-button-label = ᱥᱮᱸᱫᱽᱨᱟᱭ ᱢᱮ -pdfjs-additional-layers = ᱵᱟᱹᱲᱛᱤ ᱯᱚᱨᱚᱛᱠᱚ - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } ᱥᱟᱦᱴᱟ -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } ᱥᱟᱦᱴᱟ ᱨᱮᱭᱟᱜ ᱪᱤᱛᱟᱹᱨ ᱟᱦᱞᱟ - -## Find panel button title and messages - -pdfjs-find-input = - .title = ᱥᱮᱸᱫᱽᱨᱟᱭ ᱢᱮ - .placeholder = ᱫᱚᱞᱤᱞ ᱨᱮ ᱯᱟᱱᱛᱮ ᱢᱮ … -pdfjs-find-previous-button = - .title = ᱟᱭᱟᱛ ᱦᱤᱸᱥ ᱨᱮᱭᱟᱜ ᱯᱟᱹᱦᱤᱞ ᱥᱮᱫᱟᱜ ᱚᱰᱚᱠ ᱧᱟᱢ ᱢᱮ -pdfjs-find-previous-button-label = ᱢᱟᱲᱟᱝᱟᱜ -pdfjs-find-next-button = - .title = ᱟᱭᱟᱛ ᱦᱤᱸᱥ ᱨᱮᱭᱟᱜ ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ ᱚᱰᱚᱠ ᱧᱟᱢ ᱢᱮ -pdfjs-find-next-button-label = ᱤᱱᱟᱹ ᱛᱟᱭᱚᱢ -pdfjs-find-highlight-checkbox = ᱡᱷᱚᱛᱚ ᱩᱫᱩᱜ ᱨᱟᱠᱟᱵ -pdfjs-find-match-case-checkbox-label = ᱡᱚᱲ ᱠᱟᱛᱷᱟ -pdfjs-find-match-diacritics-checkbox-label = ᱵᱤᱥᱮᱥᱚᱠ ᱠᱚ ᱢᱮᱲᱟᱣ ᱢᱮ -pdfjs-find-entire-word-checkbox-label = ᱡᱷᱚᱛᱚ ᱟᱹᱲᱟᱹᱠᱚ -pdfjs-find-reached-top = ᱫᱚᱞᱤᱞ ᱨᱮᱭᱟᱜ ᱪᱤᱴ ᱨᱮ ᱥᱮᱴᱮᱨ, ᱞᱟᱛᱟᱨ ᱠᱷᱚᱱ ᱞᱮᱛᱟᱲ -pdfjs-find-reached-bottom = ᱫᱚᱞᱤᱞ ᱨᱮᱭᱟᱜ ᱢᱩᱪᱟᱹᱫ ᱨᱮ ᱥᱮᱴᱮᱨ, ᱪᱚᱴ ᱠᱷᱚᱱ ᱞᱮᱛᱟᱲ -pdfjs-find-not-found = ᱛᱚᱯᱚᱞ ᱫᱚᱱᱚᱲ ᱵᱟᱝ ᱧᱟᱢ ᱞᱮᱱᱟ - -## Predefined zoom values - -pdfjs-page-scale-width = ᱥᱟᱦᱴᱟ ᱚᱥᱟᱨ -pdfjs-page-scale-fit = ᱥᱟᱦᱴᱟ ᱠᱷᱟᱯ -pdfjs-page-scale-auto = ᱟᱡᱼᱟᱡ ᱛᱮ ᱦᱩᱰᱤᱧ ᱞᱟᱹᱴᱩ ᱛᱮᱭᱟᱨ -pdfjs-page-scale-actual = ᱴᱷᱤᱠ ᱢᱟᱨᱟᱝ ᱛᱮᱫ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = { $page } ᱥᱟᱦᱴᱟ - -## Loading indicator messages - -pdfjs-loading-error = PDF ᱞᱟᱫᱮ ᱡᱚᱦᱚᱜ ᱢᱤᱫ ᱵᱷᱩᱞ ᱦᱩᱭ ᱮᱱᱟ ᱾ -pdfjs-invalid-file-error = ᱵᱟᱝ ᱵᱟᱛᱟᱣ ᱟᱨᱵᱟᱝᱠᱷᱟᱱ ᱰᱤᱜᱟᱹᱣ PDF ᱨᱮᱫᱽ ᱾ -pdfjs-missing-file-error = ᱟᱫᱟᱜ PDF ᱨᱮᱫᱽ ᱾ -pdfjs-unexpected-response-error = ᱵᱟᱝᱵᱩᱡᱷ ᱥᱚᱨᱵᱷᱚᱨ ᱛᱮᱞᱟ ᱾ -pdfjs-rendering-error = ᱥᱟᱦᱴᱟ ᱮᱢ ᱡᱚᱦᱚᱠ ᱢᱤᱫ ᱵᱷᱩᱞ ᱦᱩᱭ ᱮᱱᱟ ᱾ - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } ᱢᱚᱱᱛᱚ ᱮᱢ] - -## Password - -pdfjs-password-label = ᱱᱚᱶᱟ PDF ᱨᱮᱫᱽ ᱡᱷᱤᱡᱽ ᱞᱟᱹᱜᱤᱫ ᱫᱟᱱᱟᱝ ᱥᱟᱵᱟᱫᱽ ᱟᱫᱮᱨ ᱢᱮ ᱾ -pdfjs-password-invalid = ᱵᱷᱩᱞ ᱫᱟᱱᱟᱝ ᱥᱟᱵᱟᱫᱽ ᱾ ᱫᱟᱭᱟᱠᱟᱛᱮ ᱫᱩᱦᱲᱟᱹ ᱪᱮᱥᱴᱟᱭ ᱢᱮ ᱾ -pdfjs-password-ok-button = ᱴᱷᱤᱠ -pdfjs-password-cancel-button = ᱵᱟᱹᱰᱨᱟᱹ -pdfjs-web-fonts-disabled = ᱣᱮᱵᱽ ᱪᱤᱠᱤ ᱵᱟᱝ ᱦᱩᱭ ᱦᱚᱪᱚ ᱠᱟᱱᱟ : ᱵᱷᱤᱛᱤᱨ ᱛᱷᱟᱯᱚᱱ PDF ᱪᱤᱠᱤ ᱵᱮᱵᱷᱟᱨ ᱵᱟᱝ ᱦᱩᱭ ᱠᱮᱭᱟ ᱾ - -## Editing - -pdfjs-editor-free-text-button = - .title = ᱚᱞ -pdfjs-editor-free-text-button-label = ᱚᱞ -pdfjs-editor-ink-button = - .title = ᱛᱮᱭᱟᱨ -pdfjs-editor-ink-button-label = ᱛᱮᱭᱟᱨ -pdfjs-editor-stamp-button = - .title = ᱪᱤᱛᱟᱹᱨᱠᱚ ᱥᱮᱞᱮᱫ ᱥᱮ ᱥᱟᱯᱲᱟᱣ ᱢᱮ -pdfjs-editor-stamp-button-label = ᱪᱤᱛᱟᱹᱨᱠᱚ ᱥᱮᱞᱮᱫ ᱥᱮ ᱥᱟᱯᱲᱟᱣ ᱢᱮ -# Editor Parameters -pdfjs-editor-free-text-color-input = ᱨᱚᱝ -pdfjs-editor-free-text-size-input = ᱢᱟᱯ -pdfjs-editor-ink-color-input = ᱨᱚᱝ -pdfjs-editor-ink-thickness-input = ᱢᱚᱴᱟ -pdfjs-editor-ink-opacity-input = ᱟᱨᱯᱟᱨ -pdfjs-editor-stamp-add-image-button = - .title = ᱪᱤᱛᱟᱹᱨ ᱥᱮᱞᱮᱫ ᱢᱮ -pdfjs-editor-stamp-add-image-button-label = ᱪᱤᱛᱟᱹᱨ ᱥᱮᱞᱮᱫ ᱢᱮ -pdfjs-free-text = - .aria-label = ᱚᱞ ᱥᱟᱯᱲᱟᱣᱤᱭᱟᱹ -pdfjs-free-text-default-content = ᱚᱞ ᱮᱛᱦᱚᱵ ᱢᱮ … -pdfjs-ink = - .aria-label = ᱛᱮᱭᱟᱨ ᱥᱟᱯᱲᱟᱣᱤᱭᱟᱹ -pdfjs-ink-canvas = - .aria-label = ᱵᱮᱵᱷᱟᱨᱤᱭᱟᱹ ᱛᱮᱭᱟᱨ ᱠᱟᱫ ᱪᱤᱛᱟᱹᱨ - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/sc/viewer.ftl b/media/js/pdf4/web/locale/sc/viewer.ftl deleted file mode 100644 index a51943c90e..0000000000 --- a/media/js/pdf4/web/locale/sc/viewer.ftl +++ /dev/null @@ -1,290 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pàgina anteriore -pdfjs-previous-button-label = S'ischeda chi b'est primu -pdfjs-next-button = - .title = Pàgina imbeniente -pdfjs-next-button-label = Imbeniente -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pàgina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = de { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } de { $pagesCount }) -pdfjs-zoom-out-button = - .title = Impitica -pdfjs-zoom-out-button-label = Impitica -pdfjs-zoom-in-button = - .title = Ismànnia -pdfjs-zoom-in-button-label = Ismànnia -pdfjs-zoom-select = - .title = Ismànnia -pdfjs-presentation-mode-button = - .title = Cola a sa modalidade de presentatzione -pdfjs-presentation-mode-button-label = Modalidade de presentatzione -pdfjs-open-file-button = - .title = Aberi s'archìviu -pdfjs-open-file-button-label = Abertu -pdfjs-print-button = - .title = Imprenta -pdfjs-print-button-label = Imprenta -pdfjs-save-button = - .title = Sarva -pdfjs-save-button-label = Sarva -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Iscàrriga -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Iscàrriga -pdfjs-bookmark-button = - .title = Pàgina atuale (ammustra s’URL de sa pàgina atuale) -pdfjs-bookmark-button-label = Pàgina atuale -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Aberi in un’aplicatzione -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Aberi in un’aplicatzione - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Istrumentos -pdfjs-tools-button-label = Istrumentos -pdfjs-first-page-button = - .title = Bae a sa prima pàgina -pdfjs-first-page-button-label = Bae a sa prima pàgina -pdfjs-last-page-button = - .title = Bae a s'ùrtima pàgina -pdfjs-last-page-button-label = Bae a s'ùrtima pàgina -pdfjs-page-rotate-cw-button = - .title = Gira in sensu oràriu -pdfjs-page-rotate-cw-button-label = Gira in sensu oràriu -pdfjs-page-rotate-ccw-button = - .title = Gira in sensu anti-oràriu -pdfjs-page-rotate-ccw-button-label = Gira in sensu anti-oràriu -pdfjs-cursor-text-select-tool-button = - .title = Ativa s'aina de seletzione de testu -pdfjs-cursor-text-select-tool-button-label = Aina de seletzione de testu -pdfjs-cursor-hand-tool-button = - .title = Ativa s'aina de manu -pdfjs-cursor-hand-tool-button-label = Aina de manu -pdfjs-scroll-page-button = - .title = Imprea s'iscurrimentu de pàgina -pdfjs-scroll-page-button-label = Iscurrimentu de pàgina -pdfjs-scroll-vertical-button = - .title = Imprea s'iscurrimentu verticale -pdfjs-scroll-vertical-button-label = Iscurrimentu verticale -pdfjs-scroll-horizontal-button = - .title = Imprea s'iscurrimentu orizontale -pdfjs-scroll-horizontal-button-label = Iscurrimentu orizontale -pdfjs-scroll-wrapped-button = - .title = Imprea s'iscurrimentu continu -pdfjs-scroll-wrapped-button-label = Iscurrimentu continu - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Propiedades de su documentu… -pdfjs-document-properties-button-label = Propiedades de su documentu… -pdfjs-document-properties-file-name = Nòmine de s'archìviu: -pdfjs-document-properties-file-size = Mannària de s'archìviu: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Tìtulu: -pdfjs-document-properties-author = Autoria: -pdfjs-document-properties-subject = Ogetu: -pdfjs-document-properties-keywords = Faeddos crae: -pdfjs-document-properties-creation-date = Data de creatzione: -pdfjs-document-properties-modification-date = Data de modìfica: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Creatzione: -pdfjs-document-properties-producer = Produtore de PDF: -pdfjs-document-properties-version = Versione de PDF: -pdfjs-document-properties-page-count = Contu de pàginas: -pdfjs-document-properties-page-size = Mannària de sa pàgina: -pdfjs-document-properties-page-size-unit-inches = pòddighes -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = verticale -pdfjs-document-properties-page-size-orientation-landscape = orizontale -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Lìtera -pdfjs-document-properties-page-size-name-legal = Legale - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Visualizatzione web lestra: -pdfjs-document-properties-linearized-yes = Eja -pdfjs-document-properties-linearized-no = Nono -pdfjs-document-properties-close-button = Serra - -## Print - -pdfjs-print-progress-message = Aparitzende s'imprenta de su documentu… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Cantzella -pdfjs-printing-not-supported = Atentzione: s'imprenta no est funtzionende de su totu in custu navigadore. -pdfjs-printing-not-ready = Atentzione: su PDF no est istadu carrigadu de su totu pro s'imprenta. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Ativa/disativa sa barra laterale -pdfjs-toggle-sidebar-notification-button = - .title = Ativa/disativa sa barra laterale (su documentu cuntenet un'ischema, alligongiados o livellos) -pdfjs-toggle-sidebar-button-label = Ativa/disativa sa barra laterale -pdfjs-document-outline-button-label = Ischema de su documentu -pdfjs-attachments-button = - .title = Ammustra alligongiados -pdfjs-attachments-button-label = Alliongiados -pdfjs-layers-button = - .title = Ammustra livellos (clic dòpiu pro ripristinare totu is livellos a s'istadu predefinidu) -pdfjs-layers-button-label = Livellos -pdfjs-thumbs-button = - .title = Ammustra miniaturas -pdfjs-thumbs-button-label = Miniaturas -pdfjs-current-outline-item-button = - .title = Agata s'elementu atuale de s'ischema -pdfjs-current-outline-item-button-label = Elementu atuale de s'ischema -pdfjs-findbar-button = - .title = Agata in su documentu -pdfjs-findbar-button-label = Agata -pdfjs-additional-layers = Livellos additzionales - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pàgina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura de sa pàgina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Agata - .placeholder = Agata in su documentu… -pdfjs-find-previous-button = - .title = Agata s'ocurrèntzia pretzedente de sa fràsia -pdfjs-find-previous-button-label = S'ischeda chi b'est primu -pdfjs-find-next-button = - .title = Agata s'ocurrèntzia imbeniente de sa fràsia -pdfjs-find-next-button-label = Imbeniente -pdfjs-find-highlight-checkbox = Evidèntzia totu -pdfjs-find-match-case-checkbox-label = Distinghe intre majùsculas e minùsculas -pdfjs-find-match-diacritics-checkbox-label = Respeta is diacrìticos -pdfjs-find-entire-word-checkbox-label = Faeddos intreos -pdfjs-find-reached-top = S'est lòmpidu a su cumintzu de su documentu, si sighit dae su bàsciu -pdfjs-find-reached-bottom = Acabbu de su documentu, si sighit dae s'artu -pdfjs-find-not-found = Testu no agatadu - -## Predefined zoom values - -pdfjs-page-scale-auto = Ingrandimentu automàticu -pdfjs-page-scale-actual = Mannària reale -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Pàgina { $page } - -## Loading indicator messages - -pdfjs-loading-error = Faddina in sa càrriga de su PDF. -pdfjs-invalid-file-error = Archìviu PDF non vàlidu o corrùmpidu. -pdfjs-missing-file-error = Ammancat s'archìviu PDF. -pdfjs-unexpected-response-error = Risposta imprevista de su serbidore. -pdfjs-rendering-error = Faddina in sa visualizatzione de sa pàgina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -## Password - -pdfjs-password-label = Inserta sa crae pro abèrrere custu archìviu PDF. -pdfjs-password-invalid = Sa crae no est curreta. Torra a nche proare. -pdfjs-password-ok-button = Andat bene -pdfjs-password-cancel-button = Cantzella -pdfjs-web-fonts-disabled = Is tipografias web sunt disativadas: is tipografias incrustadas a su PDF non podent èssere impreadas. - -## Editing - -pdfjs-editor-free-text-button = - .title = Testu -pdfjs-editor-free-text-button-label = Testu -pdfjs-editor-ink-button = - .title = Disinnu -pdfjs-editor-ink-button-label = Disinnu -pdfjs-editor-stamp-button = - .title = Agiunghe o modìfica immàgines -pdfjs-editor-stamp-button-label = Agiunghe o modìfica immàgines -# Editor Parameters -pdfjs-editor-free-text-color-input = Colore -pdfjs-editor-free-text-size-input = Mannària -pdfjs-editor-ink-color-input = Colore -pdfjs-editor-ink-thickness-input = Grussària -pdfjs-editor-stamp-add-image-button = - .title = Agiunghe un’immàgine -pdfjs-editor-stamp-add-image-button-label = Agiunghe un’immàgine -pdfjs-free-text = - .aria-label = Editore de testu -pdfjs-free-text-default-content = Cumintza a iscrìere… -pdfjs-ink = - .aria-label = Editore de disinnos -pdfjs-ink-canvas = - .aria-label = Immàgine creada dae s’utente - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/scn/viewer.ftl b/media/js/pdf4/web/locale/scn/viewer.ftl deleted file mode 100644 index a3c7c038c0..0000000000 --- a/media/js/pdf4/web/locale/scn/viewer.ftl +++ /dev/null @@ -1,74 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-zoom-out-button = - .title = Cchiù nicu -pdfjs-zoom-out-button-label = Cchiù nicu -pdfjs-zoom-in-button = - .title = Cchiù granni -pdfjs-zoom-in-button-label = Cchiù granni - -## Secondary toolbar and context menu - - -## Document properties dialog - - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Vista web lesta: -pdfjs-document-properties-linearized-yes = Se - -## Print - -pdfjs-print-progress-close-button = Sfai - -## Tooltips and alt text for side panel toolbar buttons - - -## Thumbnails panel item (tooltip and alt text for images) - - -## Find panel button title and messages - - -## Predefined zoom values - -pdfjs-page-scale-width = Larghizza dâ pàggina - -## PDF page - - -## Loading indicator messages - - -## Annotations - - -## Password - -pdfjs-password-cancel-button = Sfai - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/sco/viewer.ftl b/media/js/pdf4/web/locale/sco/viewer.ftl deleted file mode 100644 index 6f71c47a3f..0000000000 --- a/media/js/pdf4/web/locale/sco/viewer.ftl +++ /dev/null @@ -1,264 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Page Afore -pdfjs-previous-button-label = Previous -pdfjs-next-button = - .title = Page Efter -pdfjs-next-button-label = Neist -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Page -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = o { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } o { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zoom Oot -pdfjs-zoom-out-button-label = Zoom Oot -pdfjs-zoom-in-button = - .title = Zoom In -pdfjs-zoom-in-button-label = Zoom In -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Flit tae Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Open File -pdfjs-open-file-button-label = Open -pdfjs-print-button = - .title = Prent -pdfjs-print-button-label = Prent - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Tools -pdfjs-tools-button-label = Tools -pdfjs-first-page-button = - .title = Gang tae First Page -pdfjs-first-page-button-label = Gang tae First Page -pdfjs-last-page-button = - .title = Gang tae Lest Page -pdfjs-last-page-button-label = Gang tae Lest Page -pdfjs-page-rotate-cw-button = - .title = Rotate Clockwise -pdfjs-page-rotate-cw-button-label = Rotate Clockwise -pdfjs-page-rotate-ccw-button = - .title = Rotate Coonterclockwise -pdfjs-page-rotate-ccw-button-label = Rotate Coonterclockwise -pdfjs-cursor-text-select-tool-button = - .title = Enable Text Walin Tool -pdfjs-cursor-text-select-tool-button-label = Text Walin Tool -pdfjs-cursor-hand-tool-button = - .title = Enable Haun Tool -pdfjs-cursor-hand-tool-button-label = Haun Tool -pdfjs-scroll-vertical-button = - .title = Yaise Vertical Scrollin -pdfjs-scroll-vertical-button-label = Vertical Scrollin -pdfjs-scroll-horizontal-button = - .title = Yaise Horizontal Scrollin -pdfjs-scroll-horizontal-button-label = Horizontal Scrollin -pdfjs-scroll-wrapped-button = - .title = Yaise Wrapped Scrollin -pdfjs-scroll-wrapped-button-label = Wrapped Scrollin -pdfjs-spread-none-button = - .title = Dinnae jyn page spreids -pdfjs-spread-none-button-label = Nae Spreids -pdfjs-spread-odd-button = - .title = Jyn page spreids stertin wi odd-numbered pages -pdfjs-spread-odd-button-label = Odd Spreids -pdfjs-spread-even-button = - .title = Jyn page spreids stertin wi even-numbered pages -pdfjs-spread-even-button-label = Even Spreids - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Document Properties… -pdfjs-document-properties-button-label = Document Properties… -pdfjs-document-properties-file-name = File nemme: -pdfjs-document-properties-file-size = File size: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Title: -pdfjs-document-properties-author = Author: -pdfjs-document-properties-subject = Subjeck: -pdfjs-document-properties-keywords = Keywirds: -pdfjs-document-properties-creation-date = Date o Makkin: -pdfjs-document-properties-modification-date = Date o Chynges: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Makker: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Page Coont: -pdfjs-document-properties-page-size = Page Size: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portrait -pdfjs-document-properties-page-size-orientation-landscape = landscape -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Wab View: -pdfjs-document-properties-linearized-yes = Aye -pdfjs-document-properties-linearized-no = Naw -pdfjs-document-properties-close-button = Sneck - -## Print - -pdfjs-print-progress-message = Reddin document fur prentin… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Stap -pdfjs-printing-not-supported = Tak tent: Prentin isnae richt supportit by this stravaiger. -pdfjs-printing-not-ready = Tak tent: The PDF isnae richt loadit fur prentin. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Toggle Sidebaur -pdfjs-toggle-sidebar-notification-button = - .title = Toggle Sidebaur (document conteens ootline/attachments/layers) -pdfjs-toggle-sidebar-button-label = Toggle Sidebaur -pdfjs-document-outline-button = - .title = Kythe Document Ootline (double-click fur tae oot-fauld/in-fauld aw items) -pdfjs-document-outline-button-label = Document Ootline -pdfjs-attachments-button = - .title = Kythe Attachments -pdfjs-attachments-button-label = Attachments -pdfjs-layers-button = - .title = Kythe Layers (double-click fur tae reset aw layers tae the staunart state) -pdfjs-layers-button-label = Layers -pdfjs-thumbs-button = - .title = Kythe Thumbnails -pdfjs-thumbs-button-label = Thumbnails -pdfjs-current-outline-item-button = - .title = Find Current Ootline Item -pdfjs-current-outline-item-button-label = Current Ootline Item -pdfjs-findbar-button = - .title = Find in Document -pdfjs-findbar-button-label = Find -pdfjs-additional-layers = Mair Layers - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Page { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail o Page { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Find - .placeholder = Find in document… -pdfjs-find-previous-button = - .title = Airt oot the last time this phrase occurred -pdfjs-find-previous-button-label = Previous -pdfjs-find-next-button = - .title = Airt oot the neist time this phrase occurs -pdfjs-find-next-button-label = Neist -pdfjs-find-highlight-checkbox = Highlicht aw -pdfjs-find-match-case-checkbox-label = Match case -pdfjs-find-entire-word-checkbox-label = Hale Wirds -pdfjs-find-reached-top = Raxed tap o document, went on fae the dowp end -pdfjs-find-reached-bottom = Raxed end o document, went on fae the tap -pdfjs-find-not-found = Phrase no fund - -## Predefined zoom values - -pdfjs-page-scale-width = Page Width -pdfjs-page-scale-fit = Page Fit -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Actual Size -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Page { $page } - -## Loading indicator messages - -pdfjs-loading-error = An mishanter tuik place while loadin the PDF. -pdfjs-invalid-file-error = No suithfest or camshauchlet PDF file. -pdfjs-missing-file-error = PDF file tint. -pdfjs-unexpected-response-error = Unexpectit server repone. -pdfjs-rendering-error = A mishanter tuik place while renderin the page. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Inpit the passwird fur tae open this PDF file. -pdfjs-password-invalid = Passwird no suithfest. Gonnae gie it anither shot. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Stap -pdfjs-web-fonts-disabled = Wab fonts are disabled: cannae yaise embeddit PDF fonts. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/si/viewer.ftl b/media/js/pdf4/web/locale/si/viewer.ftl deleted file mode 100644 index 2838729894..0000000000 --- a/media/js/pdf4/web/locale/si/viewer.ftl +++ /dev/null @@ -1,253 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = කලින් පිටුව -pdfjs-previous-button-label = කලින් -pdfjs-next-button = - .title = ඊළඟ පිටුව -pdfjs-next-button-label = ඊළඟ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = පිටුව -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = කුඩාලනය -pdfjs-zoom-out-button-label = කුඩාලනය -pdfjs-zoom-in-button = - .title = විශාලනය -pdfjs-zoom-in-button-label = විශාලනය -pdfjs-zoom-select = - .title = විශාල කරන්න -pdfjs-presentation-mode-button = - .title = සමර්පණ ප්රකාරය වෙත මාරුවන්න -pdfjs-presentation-mode-button-label = සමර්පණ ප්රකාරය -pdfjs-open-file-button = - .title = ගොනුව අරින්න -pdfjs-open-file-button-label = අරින්න -pdfjs-print-button = - .title = මුද්රණය -pdfjs-print-button-label = මුද්රණය -pdfjs-save-button = - .title = සුරකින්න -pdfjs-save-button-label = සුරකින්න -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = බාගන්න -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = බාගන්න -pdfjs-bookmark-button-label = පවතින පිටුව -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = යෙදුමෙහි අරින්න -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = යෙදුමෙහි අරින්න - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = මෙවලම් -pdfjs-tools-button-label = මෙවලම් -pdfjs-first-page-button = - .title = මුල් පිටුවට යන්න -pdfjs-first-page-button-label = මුල් පිටුවට යන්න -pdfjs-last-page-button = - .title = අවසන් පිටුවට යන්න -pdfjs-last-page-button-label = අවසන් පිටුවට යන්න -pdfjs-cursor-text-select-tool-button = - .title = පෙළ තේරීමේ මෙවලම සබල කරන්න -pdfjs-cursor-text-select-tool-button-label = පෙළ තේරීමේ මෙවලම -pdfjs-cursor-hand-tool-button = - .title = අත් මෙවලම සබල කරන්න -pdfjs-cursor-hand-tool-button-label = අත් මෙවලම -pdfjs-scroll-page-button = - .title = පිටුව අනුචලනය භාවිතය -pdfjs-scroll-page-button-label = පිටුව අනුචලනය -pdfjs-scroll-vertical-button = - .title = සිරස් අනුචලනය භාවිතය -pdfjs-scroll-vertical-button-label = සිරස් අනුචලනය -pdfjs-scroll-horizontal-button = - .title = තිරස් අනුචලනය භාවිතය -pdfjs-scroll-horizontal-button-label = තිරස් අනුචලනය - -## Document properties dialog - -pdfjs-document-properties-button = - .title = ලේඛනයේ ගුණාංග… -pdfjs-document-properties-button-label = ලේඛනයේ ගුණාංග… -pdfjs-document-properties-file-name = ගොනුවේ නම: -pdfjs-document-properties-file-size = ගොනුවේ ප්රමාණය: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = කි.බ. { $size_kb } (බයිට { $size_b }) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = මෙ.බ. { $size_mb } (බයිට { $size_b }) -pdfjs-document-properties-title = සිරැසිය: -pdfjs-document-properties-author = කතෘ: -pdfjs-document-properties-subject = මාතෘකාව: -pdfjs-document-properties-keywords = මූල පද: -pdfjs-document-properties-creation-date = සෑදූ දිනය: -pdfjs-document-properties-modification-date = සංශෝධිත දිනය: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = නිර්මාතෘ: -pdfjs-document-properties-producer = පීඩීඑෆ් සම්පාදක: -pdfjs-document-properties-version = පීඩීඑෆ් අනුවාදය: -pdfjs-document-properties-page-count = පිටු ගණන: -pdfjs-document-properties-page-size = පිටුවේ තරම: -pdfjs-document-properties-page-size-unit-inches = අඟල් -pdfjs-document-properties-page-size-unit-millimeters = මි.මී. -pdfjs-document-properties-page-size-orientation-portrait = සිරස් -pdfjs-document-properties-page-size-orientation-landscape = තිරස් -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width }×{ $height }{ $unit }{ $name }{ $orientation } - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = වේගවත් වියමන දැක්ම: -pdfjs-document-properties-linearized-yes = ඔව් -pdfjs-document-properties-linearized-no = නැහැ -pdfjs-document-properties-close-button = වසන්න - -## Print - -pdfjs-print-progress-message = මුද්රණය සඳහා ලේඛනය සූදානම් වෙමින්… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = අවලංගු කරන්න -pdfjs-printing-not-supported = අවවාදයයි: මෙම අතිරික්සුව මුද්රණය සඳහා හොඳින් සහාය නොදක්වයි. -pdfjs-printing-not-ready = අවවාදයයි: මුද්රණයට පීඩීඑෆ් ගොනුව සම්පූර්ණයෙන් පූරණය වී නැත. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-document-outline-button-label = ලේඛනයේ වටසන -pdfjs-attachments-button = - .title = ඇමුණුම් පෙන්වන්න -pdfjs-attachments-button-label = ඇමුණුම් -pdfjs-layers-button = - .title = ස්තර පෙන්වන්න (සියළු ස්තර පෙරනිමි තත්වයට යළි සැකසීමට දෙවරක් ඔබන්න) -pdfjs-layers-button-label = ස්තර -pdfjs-thumbs-button = - .title = සිඟිති රූ පෙන්වන්න -pdfjs-thumbs-button-label = සිඟිති රූ -pdfjs-findbar-button = - .title = ලේඛනයෙහි සොයන්න -pdfjs-findbar-button-label = සොයන්න -pdfjs-additional-layers = අතිරේක ස්තර - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = පිටුව { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = පිටුවේ සිඟිත රූව { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = සොයන්න - .placeholder = ලේඛනයේ සොයන්න… -pdfjs-find-previous-button = - .title = මෙම වැකිකඩ කලින් යෙදුණු ස්ථානය සොයන්න -pdfjs-find-previous-button-label = කලින් -pdfjs-find-next-button = - .title = මෙම වැකිකඩ ඊළඟට යෙදෙන ස්ථානය සොයන්න -pdfjs-find-next-button-label = ඊළඟ -pdfjs-find-highlight-checkbox = සියල්ල උද්දීපනය -pdfjs-find-entire-word-checkbox-label = සමස්ත වචන -pdfjs-find-reached-top = ලේඛනයේ මුදුනට ළඟා විය, පහළ සිට ඉහළට -pdfjs-find-reached-bottom = ලේඛනයේ අවසානයට ළඟා විය, ඉහළ සිට පහළට -pdfjs-find-not-found = වැකිකඩ හමු නොවිණි - -## Predefined zoom values - -pdfjs-page-scale-width = පිටුවේ පළල -pdfjs-page-scale-auto = ස්වයංක්රීය විශාලනය -pdfjs-page-scale-actual = සැබෑ ප්රමාණය -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = පිටුව { $page } - -## Loading indicator messages - -pdfjs-loading-error = පීඩීඑෆ් පූරණය කිරීමේදී දෝෂයක් සිදු විය. -pdfjs-invalid-file-error = වලංගු නොවන හෝ හානිවූ පීඩීඑෆ් ගොනුවකි. -pdfjs-missing-file-error = මඟහැරුණු පීඩීඑෆ් ගොනුවකි. -pdfjs-unexpected-response-error = අනපේක්ෂිත සේවාදායක ප්රතිචාරයකි. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } - -## Password - -pdfjs-password-label = මෙම පීඩීඑෆ් ගොනුව විවෘත කිරීමට මුරපදය යොදන්න. -pdfjs-password-invalid = වැරදි මුරපදයකි. නැවත උත්සාහ කරන්න. -pdfjs-password-ok-button = හරි -pdfjs-password-cancel-button = අවලංගු -pdfjs-web-fonts-disabled = වියමන අකුරු අබලයි: පීඩීඑෆ් වෙත කාවැද්දූ රුවකුරු භාවිතා කළ නොහැකිය. - -## Editing - -pdfjs-editor-free-text-button = - .title = පෙළ -pdfjs-editor-free-text-button-label = පෙළ -pdfjs-editor-ink-button = - .title = අඳින්න -pdfjs-editor-ink-button-label = අඳින්න -# Editor Parameters -pdfjs-editor-free-text-color-input = වර්ණය -pdfjs-editor-free-text-size-input = තරම -pdfjs-editor-ink-color-input = වර්ණය -pdfjs-editor-ink-thickness-input = ඝණකම -pdfjs-free-text = - .aria-label = වදන් සකසනය -pdfjs-free-text-default-content = ලිවීීම අරඹන්න… - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/sk/viewer.ftl b/media/js/pdf4/web/locale/sk/viewer.ftl deleted file mode 100644 index 07a0c5efcc..0000000000 --- a/media/js/pdf4/web/locale/sk/viewer.ftl +++ /dev/null @@ -1,406 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Predchádzajúca strana -pdfjs-previous-button-label = Predchádzajúca -pdfjs-next-button = - .title = Nasledujúca strana -pdfjs-next-button-label = Nasledujúca -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Strana -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = z { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } z { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zmenšiť veľkosť -pdfjs-zoom-out-button-label = Zmenšiť veľkosť -pdfjs-zoom-in-button = - .title = Zväčšiť veľkosť -pdfjs-zoom-in-button-label = Zväčšiť veľkosť -pdfjs-zoom-select = - .title = Nastavenie veľkosti -pdfjs-presentation-mode-button = - .title = Prepnúť na režim prezentácie -pdfjs-presentation-mode-button-label = Režim prezentácie -pdfjs-open-file-button = - .title = Otvoriť súbor -pdfjs-open-file-button-label = Otvoriť -pdfjs-print-button = - .title = Tlačiť -pdfjs-print-button-label = Tlačiť -pdfjs-save-button = - .title = Uložiť -pdfjs-save-button-label = Uložiť -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Stiahnuť -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Stiahnuť -pdfjs-bookmark-button = - .title = Aktuálna stránka (zobraziť adresu URL z aktuálnej stránky) -pdfjs-bookmark-button-label = Aktuálna stránka -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Otvoriť v aplikácii -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Otvoriť v aplikácii - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Nástroje -pdfjs-tools-button-label = Nástroje -pdfjs-first-page-button = - .title = Prejsť na prvú stranu -pdfjs-first-page-button-label = Prejsť na prvú stranu -pdfjs-last-page-button = - .title = Prejsť na poslednú stranu -pdfjs-last-page-button-label = Prejsť na poslednú stranu -pdfjs-page-rotate-cw-button = - .title = Otočiť v smere hodinových ručičiek -pdfjs-page-rotate-cw-button-label = Otočiť v smere hodinových ručičiek -pdfjs-page-rotate-ccw-button = - .title = Otočiť proti smeru hodinových ručičiek -pdfjs-page-rotate-ccw-button-label = Otočiť proti smeru hodinových ručičiek -pdfjs-cursor-text-select-tool-button = - .title = Povoliť výber textu -pdfjs-cursor-text-select-tool-button-label = Výber textu -pdfjs-cursor-hand-tool-button = - .title = Povoliť nástroj ruka -pdfjs-cursor-hand-tool-button-label = Nástroj ruka -pdfjs-scroll-page-button = - .title = Použiť rolovanie po stránkach -pdfjs-scroll-page-button-label = Rolovanie po stránkach -pdfjs-scroll-vertical-button = - .title = Používať zvislé posúvanie -pdfjs-scroll-vertical-button-label = Zvislé posúvanie -pdfjs-scroll-horizontal-button = - .title = Používať vodorovné posúvanie -pdfjs-scroll-horizontal-button-label = Vodorovné posúvanie -pdfjs-scroll-wrapped-button = - .title = Použiť postupné posúvanie -pdfjs-scroll-wrapped-button-label = Postupné posúvanie -pdfjs-spread-none-button = - .title = Nezdružovať stránky -pdfjs-spread-none-button-label = Žiadne združovanie -pdfjs-spread-odd-button = - .title = Združí stránky a umiestni nepárne stránky vľavo -pdfjs-spread-odd-button-label = Združiť stránky (nepárne vľavo) -pdfjs-spread-even-button = - .title = Združí stránky a umiestni párne stránky vľavo -pdfjs-spread-even-button-label = Združiť stránky (párne vľavo) - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Vlastnosti dokumentu… -pdfjs-document-properties-button-label = Vlastnosti dokumentu… -pdfjs-document-properties-file-name = Názov súboru: -pdfjs-document-properties-file-size = Veľkosť súboru: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } bajtov) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtov) -pdfjs-document-properties-title = Názov: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Predmet: -pdfjs-document-properties-keywords = Kľúčové slová: -pdfjs-document-properties-creation-date = Dátum vytvorenia: -pdfjs-document-properties-modification-date = Dátum úpravy: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Aplikácia: -pdfjs-document-properties-producer = Tvorca PDF: -pdfjs-document-properties-version = Verzia PDF: -pdfjs-document-properties-page-count = Počet strán: -pdfjs-document-properties-page-size = Veľkosť stránky: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = na výšku -pdfjs-document-properties-page-size-orientation-landscape = na šírku -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = List -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Rýchle zobrazovanie z webu: -pdfjs-document-properties-linearized-yes = Áno -pdfjs-document-properties-linearized-no = Nie -pdfjs-document-properties-close-button = Zavrieť - -## Print - -pdfjs-print-progress-message = Príprava dokumentu na tlač… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Zrušiť -pdfjs-printing-not-supported = Upozornenie: tlač nie je v tomto prehliadači plne podporovaná. -pdfjs-printing-not-ready = Upozornenie: súbor PDF nie je plne načítaný pre tlač. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Prepnúť bočný panel -pdfjs-toggle-sidebar-notification-button = - .title = Prepnúť bočný panel (dokument obsahuje osnovu/prílohy/vrstvy) -pdfjs-toggle-sidebar-button-label = Prepnúť bočný panel -pdfjs-document-outline-button = - .title = Zobraziť osnovu dokumentu (dvojitým kliknutím rozbalíte/zbalíte všetky položky) -pdfjs-document-outline-button-label = Osnova dokumentu -pdfjs-attachments-button = - .title = Zobraziť prílohy -pdfjs-attachments-button-label = Prílohy -pdfjs-layers-button = - .title = Zobraziť vrstvy (dvojitým kliknutím uvediete všetky vrstvy do pôvodného stavu) -pdfjs-layers-button-label = Vrstvy -pdfjs-thumbs-button = - .title = Zobraziť miniatúry -pdfjs-thumbs-button-label = Miniatúry -pdfjs-current-outline-item-button = - .title = Nájsť aktuálnu položku v osnove -pdfjs-current-outline-item-button-label = Aktuálna položka v osnove -pdfjs-findbar-button = - .title = Hľadať v dokumente -pdfjs-findbar-button-label = Hľadať -pdfjs-additional-layers = Ďalšie vrstvy - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Strana { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatúra strany { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Hľadať - .placeholder = Hľadať v dokumente… -pdfjs-find-previous-button = - .title = Vyhľadať predchádzajúci výskyt reťazca -pdfjs-find-previous-button-label = Predchádzajúce -pdfjs-find-next-button = - .title = Vyhľadať ďalší výskyt reťazca -pdfjs-find-next-button-label = Ďalšie -pdfjs-find-highlight-checkbox = Zvýrazniť všetky -pdfjs-find-match-case-checkbox-label = Rozlišovať veľkosť písmen -pdfjs-find-match-diacritics-checkbox-label = Rozlišovať diakritiku -pdfjs-find-entire-word-checkbox-label = Celé slová -pdfjs-find-reached-top = Bol dosiahnutý začiatok stránky, pokračuje sa od konca -pdfjs-find-reached-bottom = Bol dosiahnutý koniec stránky, pokračuje sa od začiatku -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] Výskyt { $current } z { $total } - [few] Výskyt { $current } z { $total } - [many] Výskyt { $current } z { $total } - *[other] Výskyt { $current } z { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Viac ako { $limit } výskyt - [few] Viac ako { $limit } výskyty - [many] Viac ako { $limit } výskytov - *[other] Viac ako { $limit } výskytov - } -pdfjs-find-not-found = Výraz nebol nájdený - -## Predefined zoom values - -pdfjs-page-scale-width = Na šírku strany -pdfjs-page-scale-fit = Na veľkosť strany -pdfjs-page-scale-auto = Automatická veľkosť -pdfjs-page-scale-actual = Skutočná veľkosť -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Strana { $page } - -## Loading indicator messages - -pdfjs-loading-error = Počas načítavania dokumentu PDF sa vyskytla chyba. -pdfjs-invalid-file-error = Neplatný alebo poškodený súbor PDF. -pdfjs-missing-file-error = Chýbajúci súbor PDF. -pdfjs-unexpected-response-error = Neočakávaná odpoveď zo servera. -pdfjs-rendering-error = Pri vykresľovaní stránky sa vyskytla chyba. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotácia typu { $type }] - -## Password - -pdfjs-password-label = Ak chcete otvoriť tento súbor PDF, zadajte jeho heslo. -pdfjs-password-invalid = Heslo nie je platné. Skúste to znova. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Zrušiť -pdfjs-web-fonts-disabled = Webové písma sú vypnuté: nie je možné použiť písma vložené do súboru PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Kresliť -pdfjs-editor-ink-button-label = Kresliť -pdfjs-editor-stamp-button = - .title = Pridať alebo upraviť obrázky -pdfjs-editor-stamp-button-label = Pridať alebo upraviť obrázky -pdfjs-editor-highlight-button = - .title = Zvýrazniť -pdfjs-editor-highlight-button-label = Zvýrazniť -pdfjs-highlight-floating-button = - .title = Zvýrazniť -pdfjs-highlight-floating-button1 = - .title = Zvýrazniť - .aria-label = Zvýrazniť -pdfjs-highlight-floating-button-label = Zvýrazniť - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Odstrániť kresbu -pdfjs-editor-remove-freetext-button = - .title = Odstrániť text -pdfjs-editor-remove-stamp-button = - .title = Odstrániť obrázok -pdfjs-editor-remove-highlight-button = - .title = Odstrániť zvýraznenie - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Farba -pdfjs-editor-free-text-size-input = Veľkosť -pdfjs-editor-ink-color-input = Farba -pdfjs-editor-ink-thickness-input = Hrúbka -pdfjs-editor-ink-opacity-input = Priehľadnosť -pdfjs-editor-stamp-add-image-button = - .title = Pridať obrázok -pdfjs-editor-stamp-add-image-button-label = Pridať obrázok -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Hrúbka -pdfjs-editor-free-highlight-thickness-title = - .title = Zmeňte hrúbku pre zvýrazňovanie iných položiek ako textu -pdfjs-free-text = - .aria-label = Textový editor -pdfjs-free-text-default-content = Začnite písať… -pdfjs-ink = - .aria-label = Editor kreslenia -pdfjs-ink-canvas = - .aria-label = Obrázok vytvorený používateľom - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatívny text -pdfjs-editor-alt-text-edit-button-label = Upraviť alternatívny text -pdfjs-editor-alt-text-dialog-label = Vyberte možnosť -pdfjs-editor-alt-text-dialog-description = Alternatívny text (alt text) pomáha, keď ľudia obrázok nevidia alebo sa nenačítava. -pdfjs-editor-alt-text-add-description-label = Pridať popis -pdfjs-editor-alt-text-add-description-description = Zamerajte sa na 1-2 vety, ktoré popisujú predmet, prostredie alebo akcie. -pdfjs-editor-alt-text-mark-decorative-label = Označiť ako dekoratívny -pdfjs-editor-alt-text-mark-decorative-description = Používa sa na ozdobné obrázky, ako sú okraje alebo vodoznaky. -pdfjs-editor-alt-text-cancel-button = Zrušiť -pdfjs-editor-alt-text-save-button = Uložiť -pdfjs-editor-alt-text-decorative-tooltip = Označený ako dekoratívny -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Napríklad: „Mladý muž si sadá za stôl, aby sa najedol“ - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Ľavý horný roh – zmena veľkosti -pdfjs-editor-resizer-label-top-middle = Horný stred – zmena veľkosti -pdfjs-editor-resizer-label-top-right = Pravý horný roh – zmena veľkosti -pdfjs-editor-resizer-label-middle-right = Vpravo uprostred – zmena veľkosti -pdfjs-editor-resizer-label-bottom-right = Pravý dolný roh – zmena veľkosti -pdfjs-editor-resizer-label-bottom-middle = Stred dole – zmena veľkosti -pdfjs-editor-resizer-label-bottom-left = Ľavý dolný roh – zmena veľkosti -pdfjs-editor-resizer-label-middle-left = Vľavo uprostred – zmena veľkosti - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Farba zvýraznenia -pdfjs-editor-colorpicker-button = - .title = Zmeniť farbu -pdfjs-editor-colorpicker-dropdown = - .aria-label = Výber farieb -pdfjs-editor-colorpicker-yellow = - .title = Žltá -pdfjs-editor-colorpicker-green = - .title = Zelená -pdfjs-editor-colorpicker-blue = - .title = Modrá -pdfjs-editor-colorpicker-pink = - .title = Ružová -pdfjs-editor-colorpicker-red = - .title = Červená - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Zobraziť všetko -pdfjs-editor-highlight-show-all-button = - .title = Zobraziť všetko diff --git a/media/js/pdf4/web/locale/skr/viewer.ftl b/media/js/pdf4/web/locale/skr/viewer.ftl deleted file mode 100644 index 72afe356ca..0000000000 --- a/media/js/pdf4/web/locale/skr/viewer.ftl +++ /dev/null @@ -1,396 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = پچھلا ورقہ -pdfjs-previous-button-label = پچھلا -pdfjs-next-button = - .title = اڳلا ورقہ -pdfjs-next-button-label = اڳلا -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = ورقہ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } دا -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } دا { $pagesCount }) -pdfjs-zoom-out-button = - .title = زوم آؤٹ -pdfjs-zoom-out-button-label = زوم آؤٹ -pdfjs-zoom-in-button = - .title = زوم اِن -pdfjs-zoom-in-button-label = زوم اِن -pdfjs-zoom-select = - .title = زوم -pdfjs-presentation-mode-button = - .title = پریزنٹیشن موڈ تے سوئچ کرو -pdfjs-presentation-mode-button-label = پریزنٹیشن موڈ -pdfjs-open-file-button = - .title = فائل کھولو -pdfjs-open-file-button-label = کھولو -pdfjs-print-button = - .title = چھاپو -pdfjs-print-button-label = چھاپو -pdfjs-save-button = - .title = ہتھیکڑا کرو -pdfjs-save-button-label = ہتھیکڑا کرو -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ڈاؤن لوڈ -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ڈاؤن لوڈ -pdfjs-bookmark-button = - .title = موجودہ ورقہ (موجودہ ورقے کنوں یوآرایل ݙیکھو) -pdfjs-bookmark-button-label = موجودہ ورقہ - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = اوزار -pdfjs-tools-button-label = اوزار -pdfjs-first-page-button = - .title = پہلے ورقے تے ونڄو -pdfjs-first-page-button-label = پہلے ورقے تے ونڄو -pdfjs-last-page-button = - .title = چھیکڑی ورقے تے ونڄو -pdfjs-last-page-button-label = چھیکڑی ورقے تے ونڄو -pdfjs-page-rotate-cw-button = - .title = گھڑی وانگوں گھماؤ -pdfjs-page-rotate-cw-button-label = گھڑی وانگوں گھماؤ -pdfjs-page-rotate-ccw-button = - .title = گھڑی تے اُپٹھ گھماؤ -pdfjs-page-rotate-ccw-button-label = گھڑی تے اُپٹھ گھماؤ -pdfjs-cursor-text-select-tool-button = - .title = متن منتخب کݨ والا آلہ فعال بݨاؤ -pdfjs-cursor-text-select-tool-button-label = متن منتخب کرݨ والا آلہ -pdfjs-cursor-hand-tool-button = - .title = ہینڈ ٹول فعال بݨاؤ -pdfjs-cursor-hand-tool-button-label = ہینڈ ٹول -pdfjs-scroll-page-button = - .title = پیج سکرولنگ استعمال کرو -pdfjs-scroll-page-button-label = پیج سکرولنگ -pdfjs-scroll-vertical-button = - .title = عمودی سکرولنگ استعمال کرو -pdfjs-scroll-vertical-button-label = عمودی سکرولنگ -pdfjs-scroll-horizontal-button = - .title = افقی سکرولنگ استعمال کرو -pdfjs-scroll-horizontal-button-label = افقی سکرولنگ -pdfjs-scroll-wrapped-button = - .title = ویڑھی ہوئی سکرولنگ استعمال کرو -pdfjs-scroll-wrapped-button-label = وہڑھی ہوئی سکرولنگ -pdfjs-spread-none-button = - .title = پیج سپریڈز وِچ شامل نہ تھیوو۔ -pdfjs-spread-none-button-label = کوئی پولھ کائنی -pdfjs-spread-odd-button = - .title = طاق نمبر والے ورقیاں دے نال شروع تھیوݨ والے پیج سپریڈز وِچ شامل تھیوو۔ -pdfjs-spread-odd-button-label = تاک پھیلاؤ -pdfjs-spread-even-button = - .title = جفت نمر والے ورقیاں نال شروع تھیوݨ والے پیج سپریڈز وِ شامل تھیوو۔ -pdfjs-spread-even-button-label = جفت پھیلاؤ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = دستاویز خواص… -pdfjs-document-properties-button-label = دستاویز خواص … -pdfjs-document-properties-file-name = فائل دا ناں: -pdfjs-document-properties-file-size = فائل دا سائز: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } کے بی ({ $size_b } بائٹس) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } ایم بی ({ $size_b } بائٹس) -pdfjs-document-properties-title = عنوان: -pdfjs-document-properties-author = تخلیق کار: -pdfjs-document-properties-subject = موضوع: -pdfjs-document-properties-keywords = کلیدی الفاظ: -pdfjs-document-properties-creation-date = تخلیق دی تاریخ: -pdfjs-document-properties-modification-date = ترمیم دی تاریخ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = تخلیق کار: -pdfjs-document-properties-producer = PDF پیدا کار: -pdfjs-document-properties-version = PDF ورژن: -pdfjs-document-properties-page-count = ورقہ شماری: -pdfjs-document-properties-page-size = ورقہ دی سائز: -pdfjs-document-properties-page-size-unit-inches = وِچ -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = عمودی انداز -pdfjs-document-properties-page-size-orientation-landscape = افقى انداز -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = لیٹر -pdfjs-document-properties-page-size-name-legal = قنونی - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = تکھا ویب نظارہ: -pdfjs-document-properties-linearized-yes = جیا -pdfjs-document-properties-linearized-no = کو -pdfjs-document-properties-close-button = بند کرو - -## Print - -pdfjs-print-progress-message = چھاپݨ کیتے دستاویز تیار تھیندے پئے ہن … -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = منسوخ کرو -pdfjs-printing-not-supported = چتاوݨی: چھپائی ایں براؤزر تے پوری طراں معاونت شدہ کائنی۔ -pdfjs-printing-not-ready = چتاوݨی: PDF چھپائی کیتے پوری طراں لوڈ نئیں تھئی۔ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = سائیڈ بار ٹوگل کرو -pdfjs-toggle-sidebar-notification-button = - .title = سائیڈ بار ٹوگل کرو (دستاویز وِچ آؤٹ لائن/ منسلکات/ پرتاں شامل ہن) -pdfjs-toggle-sidebar-button-label = سائیڈ بار ٹوگل کرو -pdfjs-document-outline-button = - .title = دستاویز دا خاکہ ݙکھاؤ (تمام آئٹمز کوں پھیلاوݨ/سنگوڑݨ کیتے ڈبل کلک کرو) -pdfjs-document-outline-button-label = دستاویز آؤٹ لائن -pdfjs-attachments-button = - .title = نتھیاں ݙکھاؤ -pdfjs-attachments-button-label = منسلکات -pdfjs-layers-button = - .title = پرتاں ݙکھاؤ (تمام پرتاں کوں ڈیفالٹ حالت وِچ دوبارہ ترتیب ݙیوݨ کیتے ڈبل کلک کرو) -pdfjs-layers-button-label = پرتاں -pdfjs-thumbs-button = - .title = تھمبنیل ݙکھاؤ -pdfjs-thumbs-button-label = تھمبنیلز -pdfjs-current-outline-item-button = - .title = موجودہ آؤٹ لائن آئٹم لبھو -pdfjs-current-outline-item-button-label = موجودہ آؤٹ لائن آئٹم -pdfjs-findbar-button = - .title = دستاویز وِچ لبھو -pdfjs-findbar-button-label = لبھو -pdfjs-additional-layers = اضافی پرتاں - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = ورقہ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = ورقے دا تھمبنیل { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = لبھو - .placeholder = دستاویز وِچ لبھو … -pdfjs-find-previous-button = - .title = فقرے دا پچھلا واقعہ لبھو -pdfjs-find-previous-button-label = پچھلا -pdfjs-find-next-button = - .title = فقرے دا اڳلا واقعہ لبھو -pdfjs-find-next-button-label = اڳلا -pdfjs-find-highlight-checkbox = تمام نشابر کرو -pdfjs-find-match-case-checkbox-label = حروف مشابہ کرو -pdfjs-find-match-diacritics-checkbox-label = ڈائیکرٹکس مشابہ کرو -pdfjs-find-entire-word-checkbox-label = تمام الفاظ -pdfjs-find-reached-top = ورقے دے شروع تے پُج ڳیا، تلوں جاری کیتا ڳیا -pdfjs-find-reached-bottom = ورقے دے پاند تے پُڄ ڳیا، اُتوں شروع کیتا ڳیا -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $total } وِچوں { $current } مشابہ - *[other] { $total } وِچوں { $current } مشابے - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] { $limit } توں ودھ مماثلت۔ - *[other] { $limit } توں ودھ مماثلتاں۔ - } -pdfjs-find-not-found = فقرہ نئیں ملیا - -## Predefined zoom values - -pdfjs-page-scale-width = ورقے دی چوڑائی -pdfjs-page-scale-fit = ورقہ فٹنگ -pdfjs-page-scale-auto = آپوں آپ زوم -pdfjs-page-scale-actual = اصل میچا -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = ورقہ { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF لوڈ کریندے ویلھے نقص آ ڳیا۔ -pdfjs-invalid-file-error = غلط یا خراب شدہ PDF فائل۔ -pdfjs-missing-file-error = PDF فائل غائب ہے۔ -pdfjs-unexpected-response-error = سرور دا غیر متوقع جواب۔ -pdfjs-rendering-error = ورقہ رینڈر کریندے ویلھے ہک خرابی پیش آڳئی۔ - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } تشریح] - -## Password - -pdfjs-password-label = ایہ PDF فائل کھولݨ کیتے پاس ورڈ درج کرو۔ -pdfjs-password-invalid = غلط پاس ورڈ: براہ مہربانی ولدا کوشش کرو۔ -pdfjs-password-ok-button = ٹھیک ہے -pdfjs-password-cancel-button = منسوخ کرو -pdfjs-web-fonts-disabled = ویب فونٹس غیر فعال ہن: ایمبیڈڈ PDF فونٹس استعمال کرݨ کنوں قاصر ہن - -## Editing - -pdfjs-editor-free-text-button = - .title = متن -pdfjs-editor-free-text-button-label = متن -pdfjs-editor-ink-button = - .title = چھکو -pdfjs-editor-ink-button-label = چھکو -pdfjs-editor-stamp-button = - .title = تصویراں کوں شامل کرو یا ترمیم کرو -pdfjs-editor-stamp-button-label = تصویراں کوں شامل کرو یا ترمیم کرو -pdfjs-editor-highlight-button = - .title = نمایاں کرو -pdfjs-editor-highlight-button-label = نمایاں کرو -pdfjs-highlight-floating-button = - .title = نمایاں کرو -pdfjs-highlight-floating-button1 = - .title = نمایاں کرو - .aria-label = نمایاں کرو -pdfjs-highlight-floating-button-label = نمایاں کرو - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = ڈرائینگ ہٹاؤ -pdfjs-editor-remove-freetext-button = - .title = متن ہٹاؤ -pdfjs-editor-remove-stamp-button = - .title = تصویر ہٹاؤ -pdfjs-editor-remove-highlight-button = - .title = نمایاں ہٹاؤ - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = رنگ -pdfjs-editor-free-text-size-input = سائز -pdfjs-editor-ink-color-input = رنگ -pdfjs-editor-ink-thickness-input = ٹھولھ -pdfjs-editor-ink-opacity-input = دھندلاپن -pdfjs-editor-stamp-add-image-button = - .title = تصویر شامل کرو -pdfjs-editor-stamp-add-image-button-label = تصویر شامل کرو -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = مُٹاݨ -pdfjs-editor-free-highlight-thickness-title = - .title = متن توں ان٘ج ٻئے شئیں کوں نمایاں کرݨ ویلے مُٹاݨ کوں بدلو -pdfjs-free-text = - .aria-label = ٹیکسٹ ایڈیٹر -pdfjs-free-text-default-content = ٹائپنگ شروع کرو … -pdfjs-ink = - .aria-label = ڈرا ایڈیٹر -pdfjs-ink-canvas = - .aria-label = صارف دی بݨائی ہوئی تصویر - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alt متن -pdfjs-editor-alt-text-edit-button-label = alt متن وِچ ترمیم کرو -pdfjs-editor-alt-text-dialog-label = ہِک اختیار چُݨو -pdfjs-editor-alt-text-dialog-description = Alt متن (متبادل متن) اِیں ویلے مَدَت کرین٘دا ہِے جہڑیلے لوک تصویر کوں نِھیں ݙیکھ سڳدے یا جہڑیلے اِیہ لوڈ کائنی تِھین٘دا۔ -pdfjs-editor-alt-text-add-description-label = تفصیل شامل کرو -pdfjs-editor-alt-text-add-description-description = 1-2 جملیاں دا مقصد جہڑے موضوع، ترتیب، یا اعمال کوں بیان کرین٘دے ہِن۔ -pdfjs-editor-alt-text-mark-decorative-label = آرائشی طور تے نشان زد کرو -pdfjs-editor-alt-text-mark-decorative-description = اِیہ آرائشی تصویراں کِیتے استعمال تِھین٘دا ہِے، جیویں بارڈر یا واٹر مارکس۔ -pdfjs-editor-alt-text-cancel-button = منسوخ -pdfjs-editor-alt-text-save-button = محفوظ -pdfjs-editor-alt-text-decorative-tooltip = آرائشی دے طور تے نشان زد تِھی ڳِیا -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = مثال دے طور تے، "ہِک جؤان کھاݨاں کھاوݨ کِیتے میز اُتّے ٻیٹھا ہِے" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = اُتلی کَھٻّی نُکّڑ — سائز بدلو -pdfjs-editor-resizer-label-top-middle = اُتلا وِچلا — سائز بدلو -pdfjs-editor-resizer-label-top-right = اُتلی سَڄّی نُکَّڑ — سائز بدلو -pdfjs-editor-resizer-label-middle-right = وِچلا سڄّا — سائز بدلو -pdfjs-editor-resizer-label-bottom-right = تلوِیں سَڄّی نُکَّڑ — سائز بدلو -pdfjs-editor-resizer-label-bottom-middle = تلواں وِچلا — سائز بدلو -pdfjs-editor-resizer-label-bottom-left = تلوِیں کَھٻّی نُکّڑ — سائز بدلو -pdfjs-editor-resizer-label-middle-left = وِچلا کَھٻّا — سائز بدلو - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = نشابر رنگ -pdfjs-editor-colorpicker-button = - .title = رنگ بدلو -pdfjs-editor-colorpicker-dropdown = - .aria-label = رنگ اختیارات -pdfjs-editor-colorpicker-yellow = - .title = پیلا -pdfjs-editor-colorpicker-green = - .title = ساوا -pdfjs-editor-colorpicker-blue = - .title = نیلا -pdfjs-editor-colorpicker-pink = - .title = گلابی -pdfjs-editor-colorpicker-red = - .title = لال - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = سارے ݙکھاؤ -pdfjs-editor-highlight-show-all-button = - .title = سارے ݙکھاؤ diff --git a/media/js/pdf4/web/locale/sl/viewer.ftl b/media/js/pdf4/web/locale/sl/viewer.ftl deleted file mode 100644 index 4746f258c1..0000000000 --- a/media/js/pdf4/web/locale/sl/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Prejšnja stran -pdfjs-previous-button-label = Nazaj -pdfjs-next-button = - .title = Naslednja stran -pdfjs-next-button-label = Naprej -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Stran -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = od { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } od { $pagesCount }) -pdfjs-zoom-out-button = - .title = Pomanjšaj -pdfjs-zoom-out-button-label = Pomanjšaj -pdfjs-zoom-in-button = - .title = Povečaj -pdfjs-zoom-in-button-label = Povečaj -pdfjs-zoom-select = - .title = Povečava -pdfjs-presentation-mode-button = - .title = Preklopi v način predstavitve -pdfjs-presentation-mode-button-label = Način predstavitve -pdfjs-open-file-button = - .title = Odpri datoteko -pdfjs-open-file-button-label = Odpri -pdfjs-print-button = - .title = Natisni -pdfjs-print-button-label = Natisni -pdfjs-save-button = - .title = Shrani -pdfjs-save-button-label = Shrani -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Prenesi -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Prenesi -pdfjs-bookmark-button = - .title = Trenutna stran (prikaži URL, ki vodi do trenutne strani) -pdfjs-bookmark-button-label = Na trenutno stran - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Orodja -pdfjs-tools-button-label = Orodja -pdfjs-first-page-button = - .title = Pojdi na prvo stran -pdfjs-first-page-button-label = Pojdi na prvo stran -pdfjs-last-page-button = - .title = Pojdi na zadnjo stran -pdfjs-last-page-button-label = Pojdi na zadnjo stran -pdfjs-page-rotate-cw-button = - .title = Zavrti v smeri urnega kazalca -pdfjs-page-rotate-cw-button-label = Zavrti v smeri urnega kazalca -pdfjs-page-rotate-ccw-button = - .title = Zavrti v nasprotni smeri urnega kazalca -pdfjs-page-rotate-ccw-button-label = Zavrti v nasprotni smeri urnega kazalca -pdfjs-cursor-text-select-tool-button = - .title = Omogoči orodje za izbor besedila -pdfjs-cursor-text-select-tool-button-label = Orodje za izbor besedila -pdfjs-cursor-hand-tool-button = - .title = Omogoči roko -pdfjs-cursor-hand-tool-button-label = Roka -pdfjs-scroll-page-button = - .title = Uporabi drsenje po strani -pdfjs-scroll-page-button-label = Drsenje po strani -pdfjs-scroll-vertical-button = - .title = Uporabi navpično drsenje -pdfjs-scroll-vertical-button-label = Navpično drsenje -pdfjs-scroll-horizontal-button = - .title = Uporabi vodoravno drsenje -pdfjs-scroll-horizontal-button-label = Vodoravno drsenje -pdfjs-scroll-wrapped-button = - .title = Uporabi ovito drsenje -pdfjs-scroll-wrapped-button-label = Ovito drsenje -pdfjs-spread-none-button = - .title = Ne združuj razponov strani -pdfjs-spread-none-button-label = Brez razponov -pdfjs-spread-odd-button = - .title = Združuj razpone strani z začetkom pri lihih straneh -pdfjs-spread-odd-button-label = Lihi razponi -pdfjs-spread-even-button = - .title = Združuj razpone strani z začetkom pri sodih straneh -pdfjs-spread-even-button-label = Sodi razponi - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Lastnosti dokumenta … -pdfjs-document-properties-button-label = Lastnosti dokumenta … -pdfjs-document-properties-file-name = Ime datoteke: -pdfjs-document-properties-file-size = Velikost datoteke: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajtov) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajtov) -pdfjs-document-properties-title = Ime: -pdfjs-document-properties-author = Avtor: -pdfjs-document-properties-subject = Tema: -pdfjs-document-properties-keywords = Ključne besede: -pdfjs-document-properties-creation-date = Datum nastanka: -pdfjs-document-properties-modification-date = Datum spremembe: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Ustvaril: -pdfjs-document-properties-producer = Izdelovalec PDF: -pdfjs-document-properties-version = Različica PDF: -pdfjs-document-properties-page-count = Število strani: -pdfjs-document-properties-page-size = Velikost strani: -pdfjs-document-properties-page-size-unit-inches = palcev -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = pokončno -pdfjs-document-properties-page-size-orientation-landscape = ležeče -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Pismo -pdfjs-document-properties-page-size-name-legal = Pravno - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Hitri spletni ogled: -pdfjs-document-properties-linearized-yes = Da -pdfjs-document-properties-linearized-no = Ne -pdfjs-document-properties-close-button = Zapri - -## Print - -pdfjs-print-progress-message = Priprava dokumenta na tiskanje … -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress } % -pdfjs-print-progress-close-button = Prekliči -pdfjs-printing-not-supported = Opozorilo: ta brskalnik ne podpira vseh možnosti tiskanja. -pdfjs-printing-not-ready = Opozorilo: PDF ni v celoti naložen za tiskanje. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Preklopi stransko vrstico -pdfjs-toggle-sidebar-notification-button = - .title = Preklopi stransko vrstico (dokument vsebuje oris/priponke/plasti) -pdfjs-toggle-sidebar-button-label = Preklopi stransko vrstico -pdfjs-document-outline-button = - .title = Prikaži oris dokumenta (dvokliknite za razširitev/strnitev vseh predmetov) -pdfjs-document-outline-button-label = Oris dokumenta -pdfjs-attachments-button = - .title = Prikaži priponke -pdfjs-attachments-button-label = Priponke -pdfjs-layers-button = - .title = Prikaži plasti (dvokliknite za ponastavitev vseh plasti na privzeto stanje) -pdfjs-layers-button-label = Plasti -pdfjs-thumbs-button = - .title = Prikaži sličice -pdfjs-thumbs-button-label = Sličice -pdfjs-current-outline-item-button = - .title = Najdi trenutni predmet orisa -pdfjs-current-outline-item-button-label = Trenutni predmet orisa -pdfjs-findbar-button = - .title = Iskanje po dokumentu -pdfjs-findbar-button-label = Najdi -pdfjs-additional-layers = Dodatne plasti - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Stran { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Sličica strani { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Najdi - .placeholder = Najdi v dokumentu … -pdfjs-find-previous-button = - .title = Najdi prejšnjo ponovitev iskanega -pdfjs-find-previous-button-label = Najdi nazaj -pdfjs-find-next-button = - .title = Najdi naslednjo ponovitev iskanega -pdfjs-find-next-button-label = Najdi naprej -pdfjs-find-highlight-checkbox = Označi vse -pdfjs-find-match-case-checkbox-label = Razlikuj velike/male črke -pdfjs-find-match-diacritics-checkbox-label = Razlikuj diakritične znake -pdfjs-find-entire-word-checkbox-label = Cele besede -pdfjs-find-reached-top = Dosežen začetek dokumenta iz smeri konca -pdfjs-find-reached-bottom = Doseženo konec dokumenta iz smeri začetka -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] Zadetek { $current } od { $total } - [two] Zadetek { $current } od { $total } - [few] Zadetek { $current } od { $total } - *[other] Zadetek { $current } od { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Več kot { $limit } zadetek - [two] Več kot { $limit } zadetka - [few] Več kot { $limit } zadetki - *[other] Več kot { $limit } zadetkov - } -pdfjs-find-not-found = Iskanega ni mogoče najti - -## Predefined zoom values - -pdfjs-page-scale-width = Širina strani -pdfjs-page-scale-fit = Prilagodi stran -pdfjs-page-scale-auto = Samodejno -pdfjs-page-scale-actual = Dejanska velikost -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale } % - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Stran { $page } - -## Loading indicator messages - -pdfjs-loading-error = Med nalaganjem datoteke PDF je prišlo do napake. -pdfjs-invalid-file-error = Neveljavna ali pokvarjena datoteka PDF. -pdfjs-missing-file-error = Ni datoteke PDF. -pdfjs-unexpected-response-error = Nepričakovan odgovor strežnika. -pdfjs-rendering-error = Med pripravljanjem strani je prišlo do napake! - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Opomba vrste { $type }] - -## Password - -pdfjs-password-label = Vnesite geslo za odpiranje te datoteke PDF. -pdfjs-password-invalid = Neveljavno geslo. Poskusite znova. -pdfjs-password-ok-button = V redu -pdfjs-password-cancel-button = Prekliči -pdfjs-web-fonts-disabled = Spletne pisave so onemogočene: vgradnih pisav za PDF ni mogoče uporabiti. - -## Editing - -pdfjs-editor-free-text-button = - .title = Besedilo -pdfjs-editor-free-text-button-label = Besedilo -pdfjs-editor-ink-button = - .title = Riši -pdfjs-editor-ink-button-label = Riši -pdfjs-editor-stamp-button = - .title = Dodajanje ali urejanje slik -pdfjs-editor-stamp-button-label = Dodajanje ali urejanje slik -pdfjs-editor-highlight-button = - .title = Poudarek -pdfjs-editor-highlight-button-label = Poudarek - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Odstrani risbo -pdfjs-editor-remove-freetext-button = - .title = Odstrani besedilo -pdfjs-editor-remove-stamp-button = - .title = Odstrani sliko -pdfjs-editor-remove-highlight-button = - .title = Odstrani označbo - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Barva -pdfjs-editor-free-text-size-input = Velikost -pdfjs-editor-ink-color-input = Barva -pdfjs-editor-ink-thickness-input = Debelina -pdfjs-editor-ink-opacity-input = Neprosojnost -pdfjs-editor-stamp-add-image-button = - .title = Dodaj sliko -pdfjs-editor-stamp-add-image-button-label = Dodaj sliko -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Debelina -pdfjs-editor-free-highlight-thickness-title = - .title = Spremeni debelino pri označevanju nebesedilnih elementov -pdfjs-free-text = - .aria-label = Urejevalnik besedila -pdfjs-free-text-default-content = Začnite tipkati … -pdfjs-ink = - .aria-label = Urejevalnik risanja -pdfjs-ink-canvas = - .aria-label = Uporabnikova slika - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Nadomestno besedilo -pdfjs-editor-alt-text-edit-button-label = Uredi nadomestno besedilo -pdfjs-editor-alt-text-dialog-label = Izberite možnost -pdfjs-editor-alt-text-dialog-description = Nadomestno besedilo se prikaže tistim, ki ne vidijo slike, ali če se ta ne naloži. -pdfjs-editor-alt-text-add-description-label = Dodaj opis -pdfjs-editor-alt-text-add-description-description = Poskušajte v enem ali dveh stavkih opisati motiv, okolje ali dejanja. -pdfjs-editor-alt-text-mark-decorative-label = Označi kot okrasno -pdfjs-editor-alt-text-mark-decorative-description = Uporablja se za slike, ki služijo samo okrasu, na primer obrobe ali vodne žige. -pdfjs-editor-alt-text-cancel-button = Prekliči -pdfjs-editor-alt-text-save-button = Shrani -pdfjs-editor-alt-text-decorative-tooltip = Označeno kot okrasno -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Na primer: "Mladenič sedi za mizo pri jedi" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Zgornji levi kot – spremeni velikost -pdfjs-editor-resizer-label-top-middle = Zgoraj na sredini – spremeni velikost -pdfjs-editor-resizer-label-top-right = Zgornji desni kot – spremeni velikost -pdfjs-editor-resizer-label-middle-right = Desno na sredini – spremeni velikost -pdfjs-editor-resizer-label-bottom-right = Spodnji desni kot – spremeni velikost -pdfjs-editor-resizer-label-bottom-middle = Spodaj na sredini – spremeni velikost -pdfjs-editor-resizer-label-bottom-left = Spodnji levi kot – spremeni velikost -pdfjs-editor-resizer-label-middle-left = Levo na sredini – spremeni velikost - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Barva označbe -pdfjs-editor-colorpicker-button = - .title = Spremeni barvo -pdfjs-editor-colorpicker-dropdown = - .aria-label = Izbira barve -pdfjs-editor-colorpicker-yellow = - .title = Rumena -pdfjs-editor-colorpicker-green = - .title = Zelena -pdfjs-editor-colorpicker-blue = - .title = Modra -pdfjs-editor-colorpicker-pink = - .title = Roza -pdfjs-editor-colorpicker-red = - .title = Rdeča - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Prikaži vse -pdfjs-editor-highlight-show-all-button = - .title = Prikaži vse diff --git a/media/js/pdf4/web/locale/son/viewer.ftl b/media/js/pdf4/web/locale/son/viewer.ftl deleted file mode 100644 index fa4f6b1fc1..0000000000 --- a/media/js/pdf4/web/locale/son/viewer.ftl +++ /dev/null @@ -1,206 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Moo bisante -pdfjs-previous-button-label = Bisante -pdfjs-next-button = - .title = Jinehere moo -pdfjs-next-button-label = Jine -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Moo -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } ra -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } ka hun { $pagesCount }) ra -pdfjs-zoom-out-button = - .title = Nakasandi -pdfjs-zoom-out-button-label = Nakasandi -pdfjs-zoom-in-button = - .title = Bebbeerandi -pdfjs-zoom-in-button-label = Bebbeerandi -pdfjs-zoom-select = - .title = Bebbeerandi -pdfjs-presentation-mode-button = - .title = Bere cebeyan alhaali -pdfjs-presentation-mode-button-label = Cebeyan alhaali -pdfjs-open-file-button = - .title = Tuku feeri -pdfjs-open-file-button-label = Feeri -pdfjs-print-button = - .title = Kar -pdfjs-print-button-label = Kar - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Goyjinawey -pdfjs-tools-button-label = Goyjinawey -pdfjs-first-page-button = - .title = Koy moo jinaa ga -pdfjs-first-page-button-label = Koy moo jinaa ga -pdfjs-last-page-button = - .title = Koy moo koraa ga -pdfjs-last-page-button-label = Koy moo koraa ga -pdfjs-page-rotate-cw-button = - .title = Kuubi kanbe guma here -pdfjs-page-rotate-cw-button-label = Kuubi kanbe guma here -pdfjs-page-rotate-ccw-button = - .title = Kuubi kanbe wowa here -pdfjs-page-rotate-ccw-button-label = Kuubi kanbe wowa here - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Takadda mayrawey… -pdfjs-document-properties-button-label = Takadda mayrawey… -pdfjs-document-properties-file-name = Tuku maa: -pdfjs-document-properties-file-size = Tuku adadu: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = KB { $size_kb } (cebsu-ize { $size_b }) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = MB { $size_mb } (cebsu-ize { $size_b }) -pdfjs-document-properties-title = Tiiramaa: -pdfjs-document-properties-author = Hantumkaw: -pdfjs-document-properties-subject = Dalil: -pdfjs-document-properties-keywords = Kufalkalimawey: -pdfjs-document-properties-creation-date = Teeyan han: -pdfjs-document-properties-modification-date = Barmayan han: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Teekaw: -pdfjs-document-properties-producer = PDF berandikaw: -pdfjs-document-properties-version = PDF dumi: -pdfjs-document-properties-page-count = Moo hinna: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = Daabu - -## Print - -pdfjs-print-progress-message = Goo ma takaddaa soolu k'a kar se… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Naŋ -pdfjs-printing-not-supported = Yaamar: Karyan ši tee ka timme nda ceecikaa woo. -pdfjs-printing-not-ready = Yaamar: PDF ši zunbu ka timme karyan še. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Kanjari ceraw zuu -pdfjs-toggle-sidebar-button-label = Kanjari ceraw zuu -pdfjs-document-outline-button = - .title = Takaddaa korfur alhaaloo cebe (naagu cee hinka ka haya-izey kul hayandi/kankamandi) -pdfjs-document-outline-button-label = Takadda filla-boŋ -pdfjs-attachments-button = - .title = Hangarey cebe -pdfjs-attachments-button-label = Hangarey -pdfjs-thumbs-button = - .title = Kabeboy biyey cebe -pdfjs-thumbs-button-label = Kabeboy biyey -pdfjs-findbar-button = - .title = Ceeci takaddaa ra -pdfjs-findbar-button-label = Ceeci - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } moo -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Kabeboy bii { $page } moo še - -## Find panel button title and messages - -pdfjs-find-input = - .title = Ceeci - .placeholder = Ceeci takaddaa ra… -pdfjs-find-previous-button = - .title = Kalimaɲaŋoo bangayri bisantaa ceeci -pdfjs-find-previous-button-label = Bisante -pdfjs-find-next-button = - .title = Kalimaɲaŋoo hiino bangayroo ceeci -pdfjs-find-next-button-label = Jine -pdfjs-find-highlight-checkbox = Ikul šilbay -pdfjs-find-match-case-checkbox-label = Harfu-beeriyan hawgay -pdfjs-find-reached-top = A too moŋoo boŋoo, koy jine ka šinitin nda cewoo -pdfjs-find-reached-bottom = A too moɲoo cewoo, koy jine šintioo ga -pdfjs-find-not-found = Kalimaɲaa mana duwandi - -## Predefined zoom values - -pdfjs-page-scale-width = Mooo hayyan -pdfjs-page-scale-fit = Moo sawayan -pdfjs-page-scale-auto = Boŋše azzaati barmayyan -pdfjs-page-scale-actual = Adadu cimi -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Firka bangay kaŋ PDF goo ma zumandi. -pdfjs-invalid-file-error = PDF tuku laala wala laybante. -pdfjs-missing-file-error = PDF tuku kumante. -pdfjs-unexpected-response-error = Manti feršikaw tuuruyan maatante. -pdfjs-rendering-error = Firka bangay kaŋ moɲoo goo ma willandi. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = { $type } maasa-caw] - -## Password - -pdfjs-password-label = Šennikufal dam ka PDF tukoo woo feeri. -pdfjs-password-invalid = Šennikufal laalo. Ceeci koyne taare. -pdfjs-password-ok-button = Ayyo -pdfjs-password-cancel-button = Naŋ -pdfjs-web-fonts-disabled = Interneti šigirawey kay: ši hin ka goy nda PDF šigira hurantey. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/sq/viewer.ftl b/media/js/pdf4/web/locale/sq/viewer.ftl deleted file mode 100644 index 34c6166347..0000000000 --- a/media/js/pdf4/web/locale/sq/viewer.ftl +++ /dev/null @@ -1,380 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Faqja e Mëparshme -pdfjs-previous-button-label = E mëparshmja -pdfjs-next-button = - .title = Faqja Pasuese -pdfjs-next-button-label = Pasuesja -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Faqe -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = nga { $pagesCount } gjithsej -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } nga { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zvogëlojeni -pdfjs-zoom-out-button-label = Zvogëlojeni -pdfjs-zoom-in-button = - .title = Zmadhojeni -pdfjs-zoom-in-button-label = Zmadhojini -pdfjs-zoom-select = - .title = Zmadhim/Zvogëlim -pdfjs-presentation-mode-button = - .title = Kalo te Mënyra Paraqitje -pdfjs-presentation-mode-button-label = Mënyra Paraqitje -pdfjs-open-file-button = - .title = Hapni Kartelë -pdfjs-open-file-button-label = Hape -pdfjs-print-button = - .title = Shtypje -pdfjs-print-button-label = Shtype -pdfjs-save-button = - .title = Ruaje -pdfjs-save-button-label = Ruaje -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Shkarkojeni -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Shkarkoje -pdfjs-bookmark-button = - .title = Faqja e Tanishme (Shihni URL nga Faqja e Tanishme) -pdfjs-bookmark-button-label = Faqja e Tanishme -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Hape në aplikacion -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Hape në aplikacion - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Mjete -pdfjs-tools-button-label = Mjete -pdfjs-first-page-button = - .title = Kaloni te Faqja e Parë -pdfjs-first-page-button-label = Kaloni te Faqja e Parë -pdfjs-last-page-button = - .title = Kaloni te Faqja e Fundit -pdfjs-last-page-button-label = Kaloni te Faqja e Fundit -pdfjs-page-rotate-cw-button = - .title = Rrotullojeni Në Kahun Orar -pdfjs-page-rotate-cw-button-label = Rrotulloje Në Kahun Orar -pdfjs-page-rotate-ccw-button = - .title = Rrotullojeni Në Kahun Kundërorar -pdfjs-page-rotate-ccw-button-label = Rrotulloje Në Kahun Kundërorar -pdfjs-cursor-text-select-tool-button = - .title = Aktivizo Mjet Përzgjedhjeje Teksti -pdfjs-cursor-text-select-tool-button-label = Mjet Përzgjedhjeje Teksti -pdfjs-cursor-hand-tool-button = - .title = Aktivizo Mjetin Dorë -pdfjs-cursor-hand-tool-button-label = Mjeti Dorë -pdfjs-scroll-page-button = - .title = Përdor Rrëshqitje Në Faqe -pdfjs-scroll-page-button-label = Rrëshqitje Në Faqe -pdfjs-scroll-vertical-button = - .title = Përdor Rrëshqitje Vertikale -pdfjs-scroll-vertical-button-label = Rrëshqitje Vertikale -pdfjs-scroll-horizontal-button = - .title = Përdor Rrëshqitje Horizontale -pdfjs-scroll-horizontal-button-label = Rrëshqitje Horizontale -pdfjs-scroll-wrapped-button = - .title = Përdor Rrëshqitje Me Mbështjellje -pdfjs-scroll-wrapped-button-label = Rrëshqitje Me Mbështjellje - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Veti Dokumenti… -pdfjs-document-properties-button-label = Veti Dokumenti… -pdfjs-document-properties-file-name = Emër kartele: -pdfjs-document-properties-file-size = Madhësi kartele: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bajte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bajte) -pdfjs-document-properties-title = Titull: -pdfjs-document-properties-author = Autor: -pdfjs-document-properties-subject = Subjekt: -pdfjs-document-properties-keywords = Fjalëkyçe: -pdfjs-document-properties-creation-date = Datë Krijimi: -pdfjs-document-properties-modification-date = Datë Ndryshimi: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Krijues: -pdfjs-document-properties-producer = Prodhues PDF-je: -pdfjs-document-properties-version = Version PDF-je: -pdfjs-document-properties-page-count = Numër Faqesh: -pdfjs-document-properties-page-size = Madhësi Faqeje: -pdfjs-document-properties-page-size-unit-inches = inç -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = portret -pdfjs-document-properties-page-size-orientation-landscape = së gjeri -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Parje e Shpjetë në Web: -pdfjs-document-properties-linearized-yes = Po -pdfjs-document-properties-linearized-no = Jo -pdfjs-document-properties-close-button = Mbylleni - -## Print - -pdfjs-print-progress-message = Po përgatitet dokumenti për shtypje… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Anuloje -pdfjs-printing-not-supported = Kujdes: Shtypja s’mbulohet plotësisht nga ky shfletues. -pdfjs-printing-not-ready = Kujdes: PDF-ja s’është ngarkuar plotësisht që ta shtypni. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Shfaqni/Fshihni Anështyllën -pdfjs-toggle-sidebar-notification-button = - .title = Hap/Mbyll Anështylë (dokumenti përmban përvijim/nashkëngjitje/shtresa) -pdfjs-toggle-sidebar-button-label = Shfaq/Fshih Anështyllën -pdfjs-document-outline-button = - .title = Shfaqni Përvijim Dokumenti (dyklikoni që të shfaqen/fshihen krejt elementët) -pdfjs-document-outline-button-label = Përvijim Dokumenti -pdfjs-attachments-button = - .title = Shfaqni Bashkëngjitje -pdfjs-attachments-button-label = Bashkëngjitje -pdfjs-layers-button = - .title = Shfaq Shtresa (dyklikoni që të rikthehen krejt shtresat në gjendjen e tyre parazgjedhje) -pdfjs-layers-button-label = Shtresa -pdfjs-thumbs-button = - .title = Shfaqni Miniatura -pdfjs-thumbs-button-label = Miniatura -pdfjs-current-outline-item-button = - .title = Gjej Objektin e Tanishëm të Përvijuar -pdfjs-current-outline-item-button-label = Objekt i Tanishëm i Përvijuar -pdfjs-findbar-button = - .title = Gjeni në Dokument -pdfjs-findbar-button-label = Gjej -pdfjs-additional-layers = Shtresa Shtesë - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Faqja { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniaturë e Faqes { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Gjej - .placeholder = Gjeni në dokument… -pdfjs-find-previous-button = - .title = Gjeni hasjen e mëparshme të togfjalëshit -pdfjs-find-previous-button-label = E mëparshmja -pdfjs-find-next-button = - .title = Gjeni hasjen pasuese të togfjalëshit -pdfjs-find-next-button-label = Pasuesja -pdfjs-find-highlight-checkbox = Theksoji të tëra -pdfjs-find-match-case-checkbox-label = Siç Është Shkruar -pdfjs-find-match-diacritics-checkbox-label = Me Përputhje Me Shenjat Diakritike -pdfjs-find-entire-word-checkbox-label = Fjalë të Plota -pdfjs-find-reached-top = U mbërrit në krye të dokumentit, vazhduar prej fundit -pdfjs-find-reached-bottom = U mbërrit në fund të dokumentit, vazhduar prej kreut -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } nga { $total } përputhje - *[other] { $current } nga { $total } përputhje - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Më tepër se { $limit } përputhje - *[other] Më tepër se { $limit } përputhje - } -pdfjs-find-not-found = Togfjalësh që s’gjendet - -## Predefined zoom values - -pdfjs-page-scale-width = Gjerësi Faqeje -pdfjs-page-scale-fit = Sa Nxë Faqja -pdfjs-page-scale-auto = Zoom i Vetvetishëm -pdfjs-page-scale-actual = Madhësia Faktike -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Faqja { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ndodhi një gabim gjatë ngarkimit të PDF-së. -pdfjs-invalid-file-error = Kartelë PDF e pavlefshme ose e dëmtuar. -pdfjs-missing-file-error = Kartelë PDF që mungon. -pdfjs-unexpected-response-error = Përgjigje shërbyesi e papritur. -pdfjs-rendering-error = Ndodhi një gabim gjatë riprodhimit të faqes. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Nënvizim { $type }] - -## Password - -pdfjs-password-label = Jepni fjalëkalimin që të hapet kjo kartelë PDF. -pdfjs-password-invalid = Fjalëkalim i pavlefshëm. Ju lutemi, riprovoni. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Anuloje -pdfjs-web-fonts-disabled = Shkronjat Web janë të çaktivizuara: s’arrihet të përdoren shkronja të trupëzuara në PDF. - -## Editing - -pdfjs-editor-free-text-button = - .title = Tekst -pdfjs-editor-free-text-button-label = Tekst -pdfjs-editor-ink-button = - .title = Vizatoni -pdfjs-editor-ink-button-label = Vizatoni -pdfjs-editor-stamp-button = - .title = Shtoni ose përpunoni figura -pdfjs-editor-stamp-button-label = Shtoni ose përpunoni figura -pdfjs-editor-highlight-button = - .title = Theksim -pdfjs-editor-highlight-button-label = Theksoje - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Hiq vizatim -pdfjs-editor-remove-freetext-button = - .title = Hiq tekst -pdfjs-editor-remove-stamp-button = - .title = Hiq figurë -pdfjs-editor-remove-highlight-button = - .title = Hiqe theksimin - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Ngjyrë -pdfjs-editor-free-text-size-input = Madhësi -pdfjs-editor-ink-color-input = Ngjyrë -pdfjs-editor-ink-thickness-input = Trashësi -pdfjs-editor-ink-opacity-input = Patejdukshmëri -pdfjs-editor-stamp-add-image-button = - .title = Shtoni figurë -pdfjs-editor-stamp-add-image-button-label = Shtoni figurë -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Trashësi -pdfjs-editor-free-highlight-thickness-title = - .title = Ndryshoni trashësinë kur theksoni objekte tjetër nga tekst -pdfjs-free-text = - .aria-label = Përpunues Tekstesh -pdfjs-free-text-default-content = Filloni të shtypni… -pdfjs-ink = - .aria-label = Përpunues Vizatimesh -pdfjs-ink-canvas = - .aria-label = Figurë e krijuar nga përdoruesi - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Tekst alternativ -pdfjs-editor-alt-text-edit-button-label = Përpunoni tekst alternativ -pdfjs-editor-alt-text-dialog-label = Zgjidhni një mundësi -pdfjs-editor-alt-text-dialog-description = Teksti alt (tekst alternativ) vjen në ndihmë kur njerëzit s’mund të shohin figurën, ose kur ajo nuk ngarkohet. -pdfjs-editor-alt-text-add-description-label = Shtoni një përshkrim -pdfjs-editor-alt-text-add-description-description = Synoni për 1-2 togfjalësha që përshkruajnë subjektin, rrethanat apo veprimet. -pdfjs-editor-alt-text-mark-decorative-label = Vëri shenjë si dekorative -pdfjs-editor-alt-text-mark-decorative-description = Kjo përdoret për figura zbukuruese, fjala vjen, anë, ose watermark-e. -pdfjs-editor-alt-text-cancel-button = Anuloje -pdfjs-editor-alt-text-save-button = Ruaje -pdfjs-editor-alt-text-decorative-tooltip = Iu vu shenjë si dekorative -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Për shembull, “Një djalosh ulet në një tryezë të hajë” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Cepi i sipërm majtas — ripërmasojeni -pdfjs-editor-resizer-label-top-middle = Mesi i pjesës sipër — ripërmasojeni -pdfjs-editor-resizer-label-top-right = Cepi i sipërm djathtas — ripërmasojeni -pdfjs-editor-resizer-label-middle-right = Djathtas në mes — ripërmasojeni -pdfjs-editor-resizer-label-bottom-right = Cepi i poshtëm djathtas — ripërmasojeni -pdfjs-editor-resizer-label-bottom-middle = Mesi i pjesës poshtë — ripërmasojeni -pdfjs-editor-resizer-label-bottom-left = Cepi i poshtëm — ripërmasojeni -pdfjs-editor-resizer-label-middle-left = Majtas në mes — ripërmasojeni - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Ngjyrë theksimi -pdfjs-editor-colorpicker-button = - .title = Ndryshoni ngjyrë -pdfjs-editor-colorpicker-dropdown = - .aria-label = Zgjedhje ngjyre -pdfjs-editor-colorpicker-yellow = - .title = E verdhë -pdfjs-editor-colorpicker-green = - .title = E gjelbër -pdfjs-editor-colorpicker-blue = - .title = Blu -pdfjs-editor-colorpicker-pink = - .title = Rozë -pdfjs-editor-colorpicker-red = - .title = E kuqe diff --git a/media/js/pdf4/web/locale/sr/viewer.ftl b/media/js/pdf4/web/locale/sr/viewer.ftl deleted file mode 100644 index c678d49173..0000000000 --- a/media/js/pdf4/web/locale/sr/viewer.ftl +++ /dev/null @@ -1,299 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Претходна страница -pdfjs-previous-button-label = Претходна -pdfjs-next-button = - .title = Следећа страница -pdfjs-next-button-label = Следећа -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Страница -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = од { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } од { $pagesCount }) -pdfjs-zoom-out-button = - .title = Умањи -pdfjs-zoom-out-button-label = Умањи -pdfjs-zoom-in-button = - .title = Увеличај -pdfjs-zoom-in-button-label = Увеличај -pdfjs-zoom-select = - .title = Увеличавање -pdfjs-presentation-mode-button = - .title = Промени на приказ у режиму презентације -pdfjs-presentation-mode-button-label = Режим презентације -pdfjs-open-file-button = - .title = Отвори датотеку -pdfjs-open-file-button-label = Отвори -pdfjs-print-button = - .title = Штампај -pdfjs-print-button-label = Штампај -pdfjs-save-button = - .title = Сачувај -pdfjs-save-button-label = Сачувај -pdfjs-bookmark-button = - .title = Тренутна страница (погледајте URL са тренутне странице) -pdfjs-bookmark-button-label = Тренутна страница -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Отвори у апликацији -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Отвори у апликацији - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Алатке -pdfjs-tools-button-label = Алатке -pdfjs-first-page-button = - .title = Иди на прву страницу -pdfjs-first-page-button-label = Иди на прву страницу -pdfjs-last-page-button = - .title = Иди на последњу страницу -pdfjs-last-page-button-label = Иди на последњу страницу -pdfjs-page-rotate-cw-button = - .title = Ротирај у смеру казаљке на сату -pdfjs-page-rotate-cw-button-label = Ротирај у смеру казаљке на сату -pdfjs-page-rotate-ccw-button = - .title = Ротирај у смеру супротном од казаљке на сату -pdfjs-page-rotate-ccw-button-label = Ротирај у смеру супротном од казаљке на сату -pdfjs-cursor-text-select-tool-button = - .title = Омогући алат за селектовање текста -pdfjs-cursor-text-select-tool-button-label = Алат за селектовање текста -pdfjs-cursor-hand-tool-button = - .title = Омогући алат за померање -pdfjs-cursor-hand-tool-button-label = Алат за померање -pdfjs-scroll-page-button = - .title = Користи скроловање по омоту -pdfjs-scroll-page-button-label = Скроловање странице -pdfjs-scroll-vertical-button = - .title = Користи вертикално скроловање -pdfjs-scroll-vertical-button-label = Вертикално скроловање -pdfjs-scroll-horizontal-button = - .title = Користи хоризонтално скроловање -pdfjs-scroll-horizontal-button-label = Хоризонтално скроловање -pdfjs-scroll-wrapped-button = - .title = Користи скроловање по омоту -pdfjs-scroll-wrapped-button-label = Скроловање по омоту -pdfjs-spread-none-button = - .title = Немој спајати ширења страница -pdfjs-spread-none-button-label = Без распростирања -pdfjs-spread-odd-button = - .title = Споји ширења страница које почињу непарним бројем -pdfjs-spread-odd-button-label = Непарна распростирања -pdfjs-spread-even-button = - .title = Споји ширења страница које почињу парним бројем -pdfjs-spread-even-button-label = Парна распростирања - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Параметри документа… -pdfjs-document-properties-button-label = Параметри документа… -pdfjs-document-properties-file-name = Име датотеке: -pdfjs-document-properties-file-size = Величина датотеке: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } B) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } B) -pdfjs-document-properties-title = Наслов: -pdfjs-document-properties-author = Аутор: -pdfjs-document-properties-subject = Тема: -pdfjs-document-properties-keywords = Кључне речи: -pdfjs-document-properties-creation-date = Датум креирања: -pdfjs-document-properties-modification-date = Датум модификације: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Стваралац: -pdfjs-document-properties-producer = PDF произвођач: -pdfjs-document-properties-version = PDF верзија: -pdfjs-document-properties-page-count = Број страница: -pdfjs-document-properties-page-size = Величина странице: -pdfjs-document-properties-page-size-unit-inches = ин -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = усправно -pdfjs-document-properties-page-size-orientation-landscape = водоравно -pdfjs-document-properties-page-size-name-a-three = А3 -pdfjs-document-properties-page-size-name-a-four = А4 -pdfjs-document-properties-page-size-name-letter = Слово -pdfjs-document-properties-page-size-name-legal = Права - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Брз веб приказ: -pdfjs-document-properties-linearized-yes = Да -pdfjs-document-properties-linearized-no = Не -pdfjs-document-properties-close-button = Затвори - -## Print - -pdfjs-print-progress-message = Припремам документ за штампање… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Откажи -pdfjs-printing-not-supported = Упозорење: Штампање није у потпуности подржано у овом прегледачу. -pdfjs-printing-not-ready = Упозорење: PDF није у потпуности учитан за штампу. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Прикажи додатну палету -pdfjs-toggle-sidebar-notification-button = - .title = Прикажи/сакриј бочну траку (документ садржи контуру/прилоге/слојеве) -pdfjs-toggle-sidebar-button-label = Прикажи додатну палету -pdfjs-document-outline-button = - .title = Прикажи структуру документа (двоструким кликом проширујете/скупљате све ставке) -pdfjs-document-outline-button-label = Контура документа -pdfjs-attachments-button = - .title = Прикажи прилоге -pdfjs-attachments-button-label = Прилози -pdfjs-layers-button = - .title = Прикажи слојеве (дупли клик за враћање свих слојева у подразумевано стање) -pdfjs-layers-button-label = Слојеви -pdfjs-thumbs-button = - .title = Прикажи сличице -pdfjs-thumbs-button-label = Сличице -pdfjs-current-outline-item-button = - .title = Пронађите тренутни елемент структуре -pdfjs-current-outline-item-button-label = Тренутна контура -pdfjs-findbar-button = - .title = Пронађи у документу -pdfjs-findbar-button-label = Пронађи -pdfjs-additional-layers = Додатни слојеви - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Страница { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Сличица од странице { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Пронађи - .placeholder = Пронађи у документу… -pdfjs-find-previous-button = - .title = Пронађи претходно појављивање фразе -pdfjs-find-previous-button-label = Претходна -pdfjs-find-next-button = - .title = Пронађи следеће појављивање фразе -pdfjs-find-next-button-label = Следећа -pdfjs-find-highlight-checkbox = Истакнути све -pdfjs-find-match-case-checkbox-label = Подударања -pdfjs-find-match-diacritics-checkbox-label = Дијакритика -pdfjs-find-entire-word-checkbox-label = Целе речи -pdfjs-find-reached-top = Достигнут врх документа, наставио са дна -pdfjs-find-reached-bottom = Достигнуто дно документа, наставио са врха -pdfjs-find-not-found = Фраза није пронађена - -## Predefined zoom values - -pdfjs-page-scale-width = Ширина странице -pdfjs-page-scale-fit = Прилагоди страницу -pdfjs-page-scale-auto = Аутоматско увеличавање -pdfjs-page-scale-actual = Стварна величина -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Страница { $page } - -## Loading indicator messages - -pdfjs-loading-error = Дошло је до грешке приликом учитавања PDF-а. -pdfjs-invalid-file-error = PDF датотека је неважећа или је оштећена. -pdfjs-missing-file-error = Недостаје PDF датотека. -pdfjs-unexpected-response-error = Неочекиван одговор од сервера. -pdfjs-rendering-error = Дошло је до грешке приликом рендеровања ове странице. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } коментар] - -## Password - -pdfjs-password-label = Унесите лозинку да бисте отворили овај PDF докуменат. -pdfjs-password-invalid = Неисправна лозинка. Покушајте поново. -pdfjs-password-ok-button = У реду -pdfjs-password-cancel-button = Откажи -pdfjs-web-fonts-disabled = Веб фонтови су онемогућени: не могу користити уграђене PDF фонтове. - -## Editing - -pdfjs-editor-free-text-button = - .title = Текст -pdfjs-editor-free-text-button-label = Текст -pdfjs-editor-ink-button = - .title = Цртај -pdfjs-editor-ink-button-label = Цртај -# Editor Parameters -pdfjs-editor-free-text-color-input = Боја -pdfjs-editor-free-text-size-input = Величина -pdfjs-editor-ink-color-input = Боја -pdfjs-editor-ink-thickness-input = Дебљина -pdfjs-editor-ink-opacity-input = Опацитет -pdfjs-free-text = - .aria-label = Уређивач текста -pdfjs-free-text-default-content = Почни куцање… -pdfjs-ink = - .aria-label = Уређивач цртежа -pdfjs-ink-canvas = - .aria-label = Кориснички направљена слика - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/sv-SE/viewer.ftl b/media/js/pdf4/web/locale/sv-SE/viewer.ftl deleted file mode 100644 index 61d69867dd..0000000000 --- a/media/js/pdf4/web/locale/sv-SE/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Föregående sida -pdfjs-previous-button-label = Föregående -pdfjs-next-button = - .title = Nästa sida -pdfjs-next-button-label = Nästa -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Sida -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = av { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } av { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zooma ut -pdfjs-zoom-out-button-label = Zooma ut -pdfjs-zoom-in-button = - .title = Zooma in -pdfjs-zoom-in-button-label = Zooma in -pdfjs-zoom-select = - .title = Zoom -pdfjs-presentation-mode-button = - .title = Byt till presentationsläge -pdfjs-presentation-mode-button-label = Presentationsläge -pdfjs-open-file-button = - .title = Öppna fil -pdfjs-open-file-button-label = Öppna -pdfjs-print-button = - .title = Skriv ut -pdfjs-print-button-label = Skriv ut -pdfjs-save-button = - .title = Spara -pdfjs-save-button-label = Spara -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Hämta -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Hämta -pdfjs-bookmark-button = - .title = Aktuell sida (Visa URL från aktuell sida) -pdfjs-bookmark-button-label = Aktuell sida -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Öppna i app -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Öppna i app - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Verktyg -pdfjs-tools-button-label = Verktyg -pdfjs-first-page-button = - .title = Gå till första sidan -pdfjs-first-page-button-label = Gå till första sidan -pdfjs-last-page-button = - .title = Gå till sista sidan -pdfjs-last-page-button-label = Gå till sista sidan -pdfjs-page-rotate-cw-button = - .title = Rotera medurs -pdfjs-page-rotate-cw-button-label = Rotera medurs -pdfjs-page-rotate-ccw-button = - .title = Rotera moturs -pdfjs-page-rotate-ccw-button-label = Rotera moturs -pdfjs-cursor-text-select-tool-button = - .title = Aktivera textmarkeringsverktyg -pdfjs-cursor-text-select-tool-button-label = Textmarkeringsverktyg -pdfjs-cursor-hand-tool-button = - .title = Aktivera handverktyg -pdfjs-cursor-hand-tool-button-label = Handverktyg -pdfjs-scroll-page-button = - .title = Använd sidrullning -pdfjs-scroll-page-button-label = Sidrullning -pdfjs-scroll-vertical-button = - .title = Använd vertikal rullning -pdfjs-scroll-vertical-button-label = Vertikal rullning -pdfjs-scroll-horizontal-button = - .title = Använd horisontell rullning -pdfjs-scroll-horizontal-button-label = Horisontell rullning -pdfjs-scroll-wrapped-button = - .title = Använd överlappande rullning -pdfjs-scroll-wrapped-button-label = Överlappande rullning -pdfjs-spread-none-button = - .title = Visa enkelsidor -pdfjs-spread-none-button-label = Enkelsidor -pdfjs-spread-odd-button = - .title = Visa uppslag med olika sidnummer till vänster -pdfjs-spread-odd-button-label = Uppslag med framsida -pdfjs-spread-even-button = - .title = Visa uppslag med lika sidnummer till vänster -pdfjs-spread-even-button-label = Uppslag utan framsida - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Dokumentegenskaper… -pdfjs-document-properties-button-label = Dokumentegenskaper… -pdfjs-document-properties-file-name = Filnamn: -pdfjs-document-properties-file-size = Filstorlek: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } kB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Titel: -pdfjs-document-properties-author = Författare: -pdfjs-document-properties-subject = Ämne: -pdfjs-document-properties-keywords = Nyckelord: -pdfjs-document-properties-creation-date = Skapades: -pdfjs-document-properties-modification-date = Ändrades: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Skapare: -pdfjs-document-properties-producer = PDF-producent: -pdfjs-document-properties-version = PDF-version: -pdfjs-document-properties-page-count = Sidantal: -pdfjs-document-properties-page-size = Pappersstorlek: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = porträtt -pdfjs-document-properties-page-size-orientation-landscape = landskap -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Snabb webbvisning: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Nej -pdfjs-document-properties-close-button = Stäng - -## Print - -pdfjs-print-progress-message = Förbereder sidor för utskrift… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Avbryt -pdfjs-printing-not-supported = Varning: Utskrifter stöds inte helt av den här webbläsaren. -pdfjs-printing-not-ready = Varning: PDF:en är inte klar för utskrift. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Visa/dölj sidofält -pdfjs-toggle-sidebar-notification-button = - .title = Växla sidofält (dokumentet innehåller dokumentstruktur/bilagor/lager) -pdfjs-toggle-sidebar-button-label = Visa/dölj sidofält -pdfjs-document-outline-button = - .title = Visa dokumentdisposition (dubbelklicka för att expandera/komprimera alla objekt) -pdfjs-document-outline-button-label = Dokumentöversikt -pdfjs-attachments-button = - .title = Visa Bilagor -pdfjs-attachments-button-label = Bilagor -pdfjs-layers-button = - .title = Visa lager (dubbelklicka för att återställa alla lager till standardläge) -pdfjs-layers-button-label = Lager -pdfjs-thumbs-button = - .title = Visa miniatyrer -pdfjs-thumbs-button-label = Miniatyrer -pdfjs-current-outline-item-button = - .title = Hitta aktuellt dispositionsobjekt -pdfjs-current-outline-item-button-label = Aktuellt dispositionsobjekt -pdfjs-findbar-button = - .title = Sök i dokument -pdfjs-findbar-button-label = Sök -pdfjs-additional-layers = Ytterligare lager - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Sida { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatyr av sida { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Sök - .placeholder = Sök i dokument… -pdfjs-find-previous-button = - .title = Hitta föregående förekomst av frasen -pdfjs-find-previous-button-label = Föregående -pdfjs-find-next-button = - .title = Hitta nästa förekomst av frasen -pdfjs-find-next-button-label = Nästa -pdfjs-find-highlight-checkbox = Markera alla -pdfjs-find-match-case-checkbox-label = Matcha versal/gemen -pdfjs-find-match-diacritics-checkbox-label = Matcha diakritiska tecken -pdfjs-find-entire-word-checkbox-label = Hela ord -pdfjs-find-reached-top = Nådde början av dokumentet, började från slutet -pdfjs-find-reached-bottom = Nådde slutet på dokumentet, började från början -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } av { $total } match - *[other] { $current } av { $total } matchningar - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Mer än { $limit } matchning - *[other] Fler än { $limit } matchningar - } -pdfjs-find-not-found = Frasen hittades inte - -## Predefined zoom values - -pdfjs-page-scale-width = Sidbredd -pdfjs-page-scale-fit = Anpassa sida -pdfjs-page-scale-auto = Automatisk zoom -pdfjs-page-scale-actual = Verklig storlek -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Sida { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ett fel uppstod vid laddning av PDF-filen. -pdfjs-invalid-file-error = Ogiltig eller korrupt PDF-fil. -pdfjs-missing-file-error = Saknad PDF-fil. -pdfjs-unexpected-response-error = Oväntat svar från servern. -pdfjs-rendering-error = Ett fel uppstod vid visning av sidan. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-annotering] - -## Password - -pdfjs-password-label = Skriv in lösenordet för att öppna PDF-filen. -pdfjs-password-invalid = Ogiltigt lösenord. Försök igen. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Avbryt -pdfjs-web-fonts-disabled = Webbtypsnitt är inaktiverade: kan inte använda inbäddade PDF-typsnitt. - -## Editing - -pdfjs-editor-free-text-button = - .title = Text -pdfjs-editor-free-text-button-label = Text -pdfjs-editor-ink-button = - .title = Rita -pdfjs-editor-ink-button-label = Rita -pdfjs-editor-stamp-button = - .title = Lägg till eller redigera bilder -pdfjs-editor-stamp-button-label = Lägg till eller redigera bilder -pdfjs-editor-highlight-button = - .title = Markera -pdfjs-editor-highlight-button-label = Markera -pdfjs-highlight-floating-button = - .title = Markera -pdfjs-highlight-floating-button1 = - .title = Markera - .aria-label = Markera -pdfjs-highlight-floating-button-label = Markera - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Ta bort ritning -pdfjs-editor-remove-freetext-button = - .title = Ta bort text -pdfjs-editor-remove-stamp-button = - .title = Ta bort bild -pdfjs-editor-remove-highlight-button = - .title = Ta bort markering - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Färg -pdfjs-editor-free-text-size-input = Storlek -pdfjs-editor-ink-color-input = Färg -pdfjs-editor-ink-thickness-input = Tjocklek -pdfjs-editor-ink-opacity-input = Opacitet -pdfjs-editor-stamp-add-image-button = - .title = Lägg till bild -pdfjs-editor-stamp-add-image-button-label = Lägg till bild -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Tjocklek -pdfjs-editor-free-highlight-thickness-title = - .title = Ändra tjocklek när du markerar andra objekt än text -pdfjs-free-text = - .aria-label = Textredigerare -pdfjs-free-text-default-content = Börja skriva… -pdfjs-ink = - .aria-label = Ritredigerare -pdfjs-ink-canvas = - .aria-label = Användarskapad bild - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternativ text -pdfjs-editor-alt-text-edit-button-label = Redigera alternativ text -pdfjs-editor-alt-text-dialog-label = Välj ett alternativ -pdfjs-editor-alt-text-dialog-description = Alt text (alternativ text) hjälper till när människor inte kan se bilden eller när den inte laddas. -pdfjs-editor-alt-text-add-description-label = Lägg till en beskrivning -pdfjs-editor-alt-text-add-description-description = Sikta på 1-2 meningar som beskriver ämnet, miljön eller handlingen. -pdfjs-editor-alt-text-mark-decorative-label = Markera som dekorativ -pdfjs-editor-alt-text-mark-decorative-description = Detta används för dekorativa bilder, som kanter eller vattenstämplar. -pdfjs-editor-alt-text-cancel-button = Avbryt -pdfjs-editor-alt-text-save-button = Spara -pdfjs-editor-alt-text-decorative-tooltip = Märkt som dekorativ -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Till exempel, "En ung man sätter sig vid ett bord för att äta en måltid" - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Det övre vänstra hörnet — ändra storlek -pdfjs-editor-resizer-label-top-middle = Överst i mitten — ändra storlek -pdfjs-editor-resizer-label-top-right = Det övre högra hörnet — ändra storlek -pdfjs-editor-resizer-label-middle-right = Mitten höger — ändra storlek -pdfjs-editor-resizer-label-bottom-right = Nedre högra hörnet — ändra storlek -pdfjs-editor-resizer-label-bottom-middle = Nedre mitten — ändra storlek -pdfjs-editor-resizer-label-bottom-left = Nedre vänstra hörnet — ändra storlek -pdfjs-editor-resizer-label-middle-left = Mitten till vänster — ändra storlek - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Markeringsfärg -pdfjs-editor-colorpicker-button = - .title = Ändra färg -pdfjs-editor-colorpicker-dropdown = - .aria-label = Färgval -pdfjs-editor-colorpicker-yellow = - .title = Gul -pdfjs-editor-colorpicker-green = - .title = Grön -pdfjs-editor-colorpicker-blue = - .title = Blå -pdfjs-editor-colorpicker-pink = - .title = Rosa -pdfjs-editor-colorpicker-red = - .title = Röd - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Visa alla -pdfjs-editor-highlight-show-all-button = - .title = Visa alla diff --git a/media/js/pdf4/web/locale/szl/viewer.ftl b/media/js/pdf4/web/locale/szl/viewer.ftl deleted file mode 100644 index cbf166e452..0000000000 --- a/media/js/pdf4/web/locale/szl/viewer.ftl +++ /dev/null @@ -1,257 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Piyrwyjszo strōna -pdfjs-previous-button-label = Piyrwyjszo -pdfjs-next-button = - .title = Nastympno strōna -pdfjs-next-button-label = Dalij -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Strōna -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = ze { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } ze { $pagesCount }) -pdfjs-zoom-out-button = - .title = Zmyńsz -pdfjs-zoom-out-button-label = Zmyńsz -pdfjs-zoom-in-button = - .title = Zwiynksz -pdfjs-zoom-in-button-label = Zwiynksz -pdfjs-zoom-select = - .title = Srogość -pdfjs-presentation-mode-button = - .title = Przełōncz na tryb prezyntacyje -pdfjs-presentation-mode-button-label = Tryb prezyntacyje -pdfjs-open-file-button = - .title = Ôdewrzij zbiōr -pdfjs-open-file-button-label = Ôdewrzij -pdfjs-print-button = - .title = Durkuj -pdfjs-print-button-label = Durkuj - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Noczynia -pdfjs-tools-button-label = Noczynia -pdfjs-first-page-button = - .title = Idź ku piyrszyj strōnie -pdfjs-first-page-button-label = Idź ku piyrszyj strōnie -pdfjs-last-page-button = - .title = Idź ku ôstatnij strōnie -pdfjs-last-page-button-label = Idź ku ôstatnij strōnie -pdfjs-page-rotate-cw-button = - .title = Zwyrtnij w prawo -pdfjs-page-rotate-cw-button-label = Zwyrtnij w prawo -pdfjs-page-rotate-ccw-button = - .title = Zwyrtnij w lewo -pdfjs-page-rotate-ccw-button-label = Zwyrtnij w lewo -pdfjs-cursor-text-select-tool-button = - .title = Załōncz noczynie ôbiyranio tekstu -pdfjs-cursor-text-select-tool-button-label = Noczynie ôbiyranio tekstu -pdfjs-cursor-hand-tool-button = - .title = Załōncz noczynie rōnczka -pdfjs-cursor-hand-tool-button-label = Noczynie rōnczka -pdfjs-scroll-vertical-button = - .title = Używej piōnowego przewijanio -pdfjs-scroll-vertical-button-label = Piōnowe przewijanie -pdfjs-scroll-horizontal-button = - .title = Używej poziōmego przewijanio -pdfjs-scroll-horizontal-button-label = Poziōme przewijanie -pdfjs-scroll-wrapped-button = - .title = Używej szichtowego przewijanio -pdfjs-scroll-wrapped-button-label = Szichtowe przewijanie -pdfjs-spread-none-button = - .title = Niy dowej strōn w widoku po dwie -pdfjs-spread-none-button-label = Po jednyj strōnie -pdfjs-spread-odd-button = - .title = Pokoż strōny po dwie; niyporziste po lewyj -pdfjs-spread-odd-button-label = Niyporziste po lewyj -pdfjs-spread-even-button = - .title = Pokoż strōny po dwie; porziste po lewyj -pdfjs-spread-even-button-label = Porziste po lewyj - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Włosności dokumyntu… -pdfjs-document-properties-button-label = Włosności dokumyntu… -pdfjs-document-properties-file-name = Miano zbioru: -pdfjs-document-properties-file-size = Srogość zbioru: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } B) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } B) -pdfjs-document-properties-title = Tytuł: -pdfjs-document-properties-author = Autōr: -pdfjs-document-properties-subject = Tymat: -pdfjs-document-properties-keywords = Kluczowe słowa: -pdfjs-document-properties-creation-date = Data zrychtowanio: -pdfjs-document-properties-modification-date = Data zmiany: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Zrychtowane ôd: -pdfjs-document-properties-producer = PDF ôd: -pdfjs-document-properties-version = Wersyjo PDF: -pdfjs-document-properties-page-count = Wielość strōn: -pdfjs-document-properties-page-size = Srogość strōny: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = piōnowo -pdfjs-document-properties-page-size-orientation-landscape = poziōmo -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Gibki necowy podglōnd: -pdfjs-document-properties-linearized-yes = Ja -pdfjs-document-properties-linearized-no = Niy -pdfjs-document-properties-close-button = Zawrzij - -## Print - -pdfjs-print-progress-message = Rychtowanie dokumyntu do durku… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Pociep -pdfjs-printing-not-supported = Pozōr: Ta przeglōndarka niy cołkiym ôbsuguje durk. -pdfjs-printing-not-ready = Pozōr: Tyn PDF niy ma za tela zaladowany do durku. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Przełōncz posek na rancie -pdfjs-toggle-sidebar-notification-button = - .title = Przełōncz posek na rancie (dokumynt mo struktura/przidowki/warstwy) -pdfjs-toggle-sidebar-button-label = Przełōncz posek na rancie -pdfjs-document-outline-button = - .title = Pokoż struktura dokumyntu (tuplowane klikniyncie rozszyrzo/swijo wszyskie elymynta) -pdfjs-document-outline-button-label = Struktura dokumyntu -pdfjs-attachments-button = - .title = Pokoż przidowki -pdfjs-attachments-button-label = Przidowki -pdfjs-layers-button = - .title = Pokoż warstwy (tuplowane klikniyncie resetuje wszyskie warstwy do bazowego stanu) -pdfjs-layers-button-label = Warstwy -pdfjs-thumbs-button = - .title = Pokoż miniatury -pdfjs-thumbs-button-label = Miniatury -pdfjs-findbar-button = - .title = Znojdź w dokumyncie -pdfjs-findbar-button-label = Znojdź -pdfjs-additional-layers = Nadbytnie warstwy - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Strōna { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Miniatura strōny { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Znojdź - .placeholder = Znojdź w dokumyncie… -pdfjs-find-previous-button = - .title = Znojdź piyrwyjsze pokozanie sie tyj frazy -pdfjs-find-previous-button-label = Piyrwyjszo -pdfjs-find-next-button = - .title = Znojdź nastympne pokozanie sie tyj frazy -pdfjs-find-next-button-label = Dalij -pdfjs-find-highlight-checkbox = Zaznacz wszysko -pdfjs-find-match-case-checkbox-label = Poznowej srogość liter -pdfjs-find-entire-word-checkbox-label = Cołke słowa -pdfjs-find-reached-top = Doszło do samego wiyrchu strōny, dalij ôd spodku -pdfjs-find-reached-bottom = Doszło do samego spodku strōny, dalij ôd wiyrchu -pdfjs-find-not-found = Fraza niy znaleziōno - -## Predefined zoom values - -pdfjs-page-scale-width = Szyrzka strōny -pdfjs-page-scale-fit = Napasowanie strōny -pdfjs-page-scale-auto = Autōmatyczno srogość -pdfjs-page-scale-actual = Aktualno srogość -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Przi ladowaniu PDFa pokozoł sie feler. -pdfjs-invalid-file-error = Zły abo felerny zbiōr PDF. -pdfjs-missing-file-error = Chybio zbioru PDF. -pdfjs-unexpected-response-error = Niyôczekowano ôdpowiydź serwera. -pdfjs-rendering-error = Przi renderowaniu strōny pokozoł sie feler. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Anotacyjo typu { $type }] - -## Password - -pdfjs-password-label = Wkludź hasło, coby ôdewrzić tyn zbiōr PDF. -pdfjs-password-invalid = Hasło je złe. Sprōbuj jeszcze roz. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Pociep -pdfjs-web-fonts-disabled = Necowe fōnty sōm zastawiōne: niy idzie użyć wkludzōnych fōntōw PDF. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/ta/viewer.ftl b/media/js/pdf4/web/locale/ta/viewer.ftl deleted file mode 100644 index 82cf197037..0000000000 --- a/media/js/pdf4/web/locale/ta/viewer.ftl +++ /dev/null @@ -1,223 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = முந்தைய பக்கம் -pdfjs-previous-button-label = முந்தையது -pdfjs-next-button = - .title = அடுத்த பக்கம் -pdfjs-next-button-label = அடுத்து -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = பக்கம் -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } இல் -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = { $pagesCount }) இல் ({ $pageNumber } -pdfjs-zoom-out-button = - .title = சிறிதாக்கு -pdfjs-zoom-out-button-label = சிறிதாக்கு -pdfjs-zoom-in-button = - .title = பெரிதாக்கு -pdfjs-zoom-in-button-label = பெரிதாக்கு -pdfjs-zoom-select = - .title = பெரிதாக்கு -pdfjs-presentation-mode-button = - .title = விளக்ககாட்சி பயன்முறைக்கு மாறு -pdfjs-presentation-mode-button-label = விளக்ககாட்சி பயன்முறை -pdfjs-open-file-button = - .title = கோப்பினை திற -pdfjs-open-file-button-label = திற -pdfjs-print-button = - .title = அச்சிடு -pdfjs-print-button-label = அச்சிடு - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = கருவிகள் -pdfjs-tools-button-label = கருவிகள் -pdfjs-first-page-button = - .title = முதல் பக்கத்திற்கு செல்லவும் -pdfjs-first-page-button-label = முதல் பக்கத்திற்கு செல்லவும் -pdfjs-last-page-button = - .title = கடைசி பக்கத்திற்கு செல்லவும் -pdfjs-last-page-button-label = கடைசி பக்கத்திற்கு செல்லவும் -pdfjs-page-rotate-cw-button = - .title = வலஞ்சுழியாக சுழற்று -pdfjs-page-rotate-cw-button-label = வலஞ்சுழியாக சுழற்று -pdfjs-page-rotate-ccw-button = - .title = இடஞ்சுழியாக சுழற்று -pdfjs-page-rotate-ccw-button-label = இடஞ்சுழியாக சுழற்று -pdfjs-cursor-text-select-tool-button = - .title = உரைத் தெரிவு கருவியைச் செயல்படுத்து -pdfjs-cursor-text-select-tool-button-label = உரைத் தெரிவு கருவி -pdfjs-cursor-hand-tool-button = - .title = கைக் கருவிக்ச் செயற்படுத்து -pdfjs-cursor-hand-tool-button-label = கைக்குருவி - -## Document properties dialog - -pdfjs-document-properties-button = - .title = ஆவண பண்புகள்... -pdfjs-document-properties-button-label = ஆவண பண்புகள்... -pdfjs-document-properties-file-name = கோப்பு பெயர்: -pdfjs-document-properties-file-size = கோப்பின் அளவு: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } கிபை ({ $size_b } பைட்டுகள்) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } மெபை ({ $size_b } பைட்டுகள்) -pdfjs-document-properties-title = தலைப்பு: -pdfjs-document-properties-author = எழுதியவர் -pdfjs-document-properties-subject = பொருள்: -pdfjs-document-properties-keywords = முக்கிய வார்த்தைகள்: -pdfjs-document-properties-creation-date = படைத்த தேதி : -pdfjs-document-properties-modification-date = திருத்திய தேதி: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = உருவாக்குபவர்: -pdfjs-document-properties-producer = பிடிஎஃப் தயாரிப்பாளர்: -pdfjs-document-properties-version = PDF பதிப்பு: -pdfjs-document-properties-page-count = பக்க எண்ணிக்கை: -pdfjs-document-properties-page-size = பக்க அளவு: -pdfjs-document-properties-page-size-unit-inches = இதில் -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = நிலைபதிப்பு -pdfjs-document-properties-page-size-orientation-landscape = நிலைபரப்பு -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = கடிதம் -pdfjs-document-properties-page-size-name-legal = சட்டபூர்வ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-close-button = மூடுக - -## Print - -pdfjs-print-progress-message = அச்சிடுவதற்கான ஆவணம் தயாராகிறது... -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ரத்து -pdfjs-printing-not-supported = எச்சரிக்கை: இந்த உலாவி அச்சிடுதலை முழுமையாக ஆதரிக்கவில்லை. -pdfjs-printing-not-ready = எச்சரிக்கை: PDF அச்சிட முழுவதுமாக ஏற்றப்படவில்லை. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = பக்கப் பட்டியை நிலைமாற்று -pdfjs-toggle-sidebar-button-label = பக்கப் பட்டியை நிலைமாற்று -pdfjs-document-outline-button = - .title = ஆவண அடக்கத்தைக் காட்டு (இருமுறைச் சொடுக்கி அனைத்து உறுப்பிடிகளையும் விரி/சேர்) -pdfjs-document-outline-button-label = ஆவண வெளிவரை -pdfjs-attachments-button = - .title = இணைப்புகளை காண்பி -pdfjs-attachments-button-label = இணைப்புகள் -pdfjs-thumbs-button = - .title = சிறுபடங்களைக் காண்பி -pdfjs-thumbs-button-label = சிறுபடங்கள் -pdfjs-findbar-button = - .title = ஆவணத்தில் கண்டறி -pdfjs-findbar-button-label = தேடு - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = பக்கம் { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = பக்கத்தின் சிறுபடம் { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = கண்டுபிடி - .placeholder = ஆவணத்தில் கண்டறி… -pdfjs-find-previous-button = - .title = இந்த சொற்றொடரின் முந்தைய நிகழ்வை தேடு -pdfjs-find-previous-button-label = முந்தையது -pdfjs-find-next-button = - .title = இந்த சொற்றொடரின் அடுத்த நிகழ்வை தேடு -pdfjs-find-next-button-label = அடுத்து -pdfjs-find-highlight-checkbox = அனைத்தையும் தனிப்படுத்து -pdfjs-find-match-case-checkbox-label = பேரெழுத்தாக்கத்தை உணர் -pdfjs-find-reached-top = ஆவணத்தின் மேல் பகுதியை அடைந்தது, அடிப்பக்கத்திலிருந்து தொடர்ந்தது -pdfjs-find-reached-bottom = ஆவணத்தின் முடிவை அடைந்தது, மேலிருந்து தொடர்ந்தது -pdfjs-find-not-found = சொற்றொடர் காணவில்லை - -## Predefined zoom values - -pdfjs-page-scale-width = பக்க அகலம் -pdfjs-page-scale-fit = பக்கப் பொருத்தம் -pdfjs-page-scale-auto = தானியக்க பெரிதாக்கல் -pdfjs-page-scale-actual = உண்மையான அளவு -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF ஐ ஏற்றும் போது ஒரு பிழை ஏற்பட்டது. -pdfjs-invalid-file-error = செல்லுபடியாகாத அல்லது சிதைந்த PDF கோப்பு. -pdfjs-missing-file-error = PDF கோப்பு காணவில்லை. -pdfjs-unexpected-response-error = சேவகன் பதில் எதிர்பாரதது. -pdfjs-rendering-error = இந்தப் பக்கத்தை காட்சிப்படுத்தும் போது ஒரு பிழை ஏற்பட்டது. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } விளக்கம்] - -## Password - -pdfjs-password-label = இந்த PDF கோப்பை திறக்க கடவுச்சொல்லை உள்ளிடவும். -pdfjs-password-invalid = செல்லுபடியாகாத கடவுச்சொல், தயை செய்து மீண்டும் முயற்சி செய்க. -pdfjs-password-ok-button = சரி -pdfjs-password-cancel-button = ரத்து -pdfjs-web-fonts-disabled = வலை எழுத்துருக்கள் முடக்கப்பட்டுள்ளன: உட்பொதிக்கப்பட்ட PDF எழுத்துருக்களைப் பயன்படுத்த முடியவில்லை. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/te/viewer.ftl b/media/js/pdf4/web/locale/te/viewer.ftl deleted file mode 100644 index 94dc2b8eef..0000000000 --- a/media/js/pdf4/web/locale/te/viewer.ftl +++ /dev/null @@ -1,239 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = మునుపటి పేజీ -pdfjs-previous-button-label = క్రితం -pdfjs-next-button = - .title = తరువాత పేజీ -pdfjs-next-button-label = తరువాత -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = పేజీ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = మొత్తం { $pagesCount } లో -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = (మొత్తం { $pagesCount } లో { $pageNumber }వది) -pdfjs-zoom-out-button = - .title = జూమ్ తగ్గించు -pdfjs-zoom-out-button-label = జూమ్ తగ్గించు -pdfjs-zoom-in-button = - .title = జూమ్ చేయి -pdfjs-zoom-in-button-label = జూమ్ చేయి -pdfjs-zoom-select = - .title = జూమ్ -pdfjs-presentation-mode-button = - .title = ప్రదర్శనా రీతికి మారు -pdfjs-presentation-mode-button-label = ప్రదర్శనా రీతి -pdfjs-open-file-button = - .title = ఫైల్ తెరువు -pdfjs-open-file-button-label = తెరువు -pdfjs-print-button = - .title = ముద్రించు -pdfjs-print-button-label = ముద్రించు - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = పనిముట్లు -pdfjs-tools-button-label = పనిముట్లు -pdfjs-first-page-button = - .title = మొదటి పేజీకి వెళ్ళు -pdfjs-first-page-button-label = మొదటి పేజీకి వెళ్ళు -pdfjs-last-page-button = - .title = చివరి పేజీకి వెళ్ళు -pdfjs-last-page-button-label = చివరి పేజీకి వెళ్ళు -pdfjs-page-rotate-cw-button = - .title = సవ్యదిశలో తిప్పు -pdfjs-page-rotate-cw-button-label = సవ్యదిశలో తిప్పు -pdfjs-page-rotate-ccw-button = - .title = అపసవ్యదిశలో తిప్పు -pdfjs-page-rotate-ccw-button-label = అపసవ్యదిశలో తిప్పు -pdfjs-cursor-text-select-tool-button = - .title = టెక్స్ట్ ఎంపిక సాధనాన్ని ప్రారంభించండి -pdfjs-cursor-text-select-tool-button-label = టెక్స్ట్ ఎంపిక సాధనం -pdfjs-cursor-hand-tool-button = - .title = చేతి సాధనం చేతనించు -pdfjs-cursor-hand-tool-button-label = చేతి సాధనం -pdfjs-scroll-vertical-button-label = నిలువు స్క్రోలింగు - -## Document properties dialog - -pdfjs-document-properties-button = - .title = పత్రము లక్షణాలు... -pdfjs-document-properties-button-label = పత్రము లక్షణాలు... -pdfjs-document-properties-file-name = దస్త్రం పేరు: -pdfjs-document-properties-file-size = దస్త్రం పరిమాణం: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = శీర్షిక: -pdfjs-document-properties-author = మూలకర్త: -pdfjs-document-properties-subject = విషయం: -pdfjs-document-properties-keywords = కీ పదాలు: -pdfjs-document-properties-creation-date = సృష్టించిన తేదీ: -pdfjs-document-properties-modification-date = సవరించిన తేదీ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = సృష్టికర్త: -pdfjs-document-properties-producer = PDF ఉత్పాదకి: -pdfjs-document-properties-version = PDF వర్షన్: -pdfjs-document-properties-page-count = పేజీల సంఖ్య: -pdfjs-document-properties-page-size = కాగితం పరిమాణం: -pdfjs-document-properties-page-size-unit-inches = లో -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = నిలువుచిత్రం -pdfjs-document-properties-page-size-orientation-landscape = అడ్డచిత్రం -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = లేఖ -pdfjs-document-properties-page-size-name-legal = చట్టపరమైన - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -pdfjs-document-properties-linearized-yes = అవును -pdfjs-document-properties-linearized-no = కాదు -pdfjs-document-properties-close-button = మూసివేయి - -## Print - -pdfjs-print-progress-message = ముద్రించడానికి పత్రము సిద్ధమవుతున్నది… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = రద్దుచేయి -pdfjs-printing-not-supported = హెచ్చరిక: ఈ విహారిణి చేత ముద్రణ పూర్తిగా తోడ్పాటు లేదు. -pdfjs-printing-not-ready = హెచ్చరిక: ముద్రణ కొరకు ఈ PDF పూర్తిగా లోడవలేదు. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = పక్కపట్టీ మార్చు -pdfjs-toggle-sidebar-button-label = పక్కపట్టీ మార్చు -pdfjs-document-outline-button = - .title = పత్రము రూపము చూపించు (డబుల్ క్లిక్ చేసి అన్ని అంశాలను విస్తరించు/కూల్చు) -pdfjs-document-outline-button-label = పత్రము అవుట్లైన్ -pdfjs-attachments-button = - .title = అనుబంధాలు చూపు -pdfjs-attachments-button-label = అనుబంధాలు -pdfjs-layers-button-label = పొరలు -pdfjs-thumbs-button = - .title = థంబ్నైల్స్ చూపు -pdfjs-thumbs-button-label = థంబ్నైల్స్ -pdfjs-findbar-button = - .title = పత్రములో కనుగొనుము -pdfjs-findbar-button-label = కనుగొను -pdfjs-additional-layers = అదనపు పొరలు - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = పేజీ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } పేజీ నఖచిత్రం - -## Find panel button title and messages - -pdfjs-find-input = - .title = కనుగొను - .placeholder = పత్రములో కనుగొను… -pdfjs-find-previous-button = - .title = పదం యొక్క ముందు సంభవాన్ని కనుగొను -pdfjs-find-previous-button-label = మునుపటి -pdfjs-find-next-button = - .title = పదం యొక్క తర్వాతి సంభవాన్ని కనుగొను -pdfjs-find-next-button-label = తరువాత -pdfjs-find-highlight-checkbox = అన్నిటిని ఉద్దీపనం చేయుము -pdfjs-find-match-case-checkbox-label = అక్షరముల తేడాతో పోల్చు -pdfjs-find-entire-word-checkbox-label = పూర్తి పదాలు -pdfjs-find-reached-top = పేజీ పైకి చేరుకున్నది, క్రింది నుండి కొనసాగించండి -pdfjs-find-reached-bottom = పేజీ చివరకు చేరుకున్నది, పైనుండి కొనసాగించండి -pdfjs-find-not-found = పదబంధం కనబడలేదు - -## Predefined zoom values - -pdfjs-page-scale-width = పేజీ వెడల్పు -pdfjs-page-scale-fit = పేజీ అమర్పు -pdfjs-page-scale-auto = స్వయంచాలక జూమ్ -pdfjs-page-scale-actual = యథార్ధ పరిమాణం -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF లోడవుచున్నప్పుడు ఒక దోషం ఎదురైంది. -pdfjs-invalid-file-error = చెల్లని లేదా పాడైన PDF ఫైలు. -pdfjs-missing-file-error = దొరకని PDF ఫైలు. -pdfjs-unexpected-response-error = అనుకోని సర్వర్ స్పందన. -pdfjs-rendering-error = పేజీను రెండర్ చేయుటలో ఒక దోషం ఎదురైంది. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } టీకా] - -## Password - -pdfjs-password-label = ఈ PDF ఫైల్ తెరుచుటకు సంకేతపదం ప్రవేశపెట్టుము. -pdfjs-password-invalid = సంకేతపదం చెల్లదు. దయచేసి మళ్ళీ ప్రయత్నించండి. -pdfjs-password-ok-button = సరే -pdfjs-password-cancel-button = రద్దుచేయి -pdfjs-web-fonts-disabled = వెబ్ ఫాంట్లు అచేతనించబడెను: ఎంబెడెడ్ PDF ఫాంట్లు ఉపయోగించలేక పోయింది. - -## Editing - -# Editor Parameters -pdfjs-editor-free-text-color-input = రంగు -pdfjs-editor-free-text-size-input = పరిమాణం -pdfjs-editor-ink-color-input = రంగు -pdfjs-editor-ink-thickness-input = మందం -pdfjs-editor-ink-opacity-input = అకిరణ్యత - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/tg/viewer.ftl b/media/js/pdf4/web/locale/tg/viewer.ftl deleted file mode 100644 index 2f04b7d68b..0000000000 --- a/media/js/pdf4/web/locale/tg/viewer.ftl +++ /dev/null @@ -1,389 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Саҳифаи қаблӣ -pdfjs-previous-button-label = Қаблӣ -pdfjs-next-button = - .title = Саҳифаи навбатӣ -pdfjs-next-button-label = Навбатӣ -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Саҳифа -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = аз { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } аз { $pagesCount }) -pdfjs-zoom-out-button = - .title = Хурд кардан -pdfjs-zoom-out-button-label = Хурд кардан -pdfjs-zoom-in-button = - .title = Калон кардан -pdfjs-zoom-in-button-label = Калон кардан -pdfjs-zoom-select = - .title = Танзими андоза -pdfjs-presentation-mode-button = - .title = Гузариш ба реҷаи тақдим -pdfjs-presentation-mode-button-label = Реҷаи тақдим -pdfjs-open-file-button = - .title = Кушодани файл -pdfjs-open-file-button-label = Кушодан -pdfjs-print-button = - .title = Чоп кардан -pdfjs-print-button-label = Чоп кардан -pdfjs-save-button = - .title = Нигоҳ доштан -pdfjs-save-button-label = Нигоҳ доштан -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Боргирӣ кардан -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Боргирӣ кардан -pdfjs-bookmark-button = - .title = Саҳифаи ҷорӣ (Дидани нишонии URL аз саҳифаи ҷорӣ) -pdfjs-bookmark-button-label = Саҳифаи ҷорӣ -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Кушодан дар барнома -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Кушодан дар барнома - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Абзорҳо -pdfjs-tools-button-label = Абзорҳо -pdfjs-first-page-button = - .title = Ба саҳифаи аввал гузаред -pdfjs-first-page-button-label = Ба саҳифаи аввал гузаред -pdfjs-last-page-button = - .title = Ба саҳифаи охирин гузаред -pdfjs-last-page-button-label = Ба саҳифаи охирин гузаред -pdfjs-page-rotate-cw-button = - .title = Ба самти ҳаракати ақрабаки соат давр задан -pdfjs-page-rotate-cw-button-label = Ба самти ҳаракати ақрабаки соат давр задан -pdfjs-page-rotate-ccw-button = - .title = Ба муқобили самти ҳаракати ақрабаки соат давр задан -pdfjs-page-rotate-ccw-button-label = Ба муқобили самти ҳаракати ақрабаки соат давр задан -pdfjs-cursor-text-select-tool-button = - .title = Фаъол кардани «Абзори интихоби матн» -pdfjs-cursor-text-select-tool-button-label = Абзори интихоби матн -pdfjs-cursor-hand-tool-button = - .title = Фаъол кардани «Абзори даст» -pdfjs-cursor-hand-tool-button-label = Абзори даст -pdfjs-scroll-page-button = - .title = Истифодаи варақзанӣ -pdfjs-scroll-page-button-label = Варақзанӣ -pdfjs-scroll-vertical-button = - .title = Истифодаи варақзании амудӣ -pdfjs-scroll-vertical-button-label = Варақзании амудӣ -pdfjs-scroll-horizontal-button = - .title = Истифодаи варақзании уфуқӣ -pdfjs-scroll-horizontal-button-label = Варақзании уфуқӣ -pdfjs-scroll-wrapped-button = - .title = Истифодаи варақзании миқёсбандӣ -pdfjs-scroll-wrapped-button-label = Варақзании миқёсбандӣ -pdfjs-spread-none-button = - .title = Густариши саҳифаҳо истифода бурда нашавад -pdfjs-spread-none-button-label = Бе густурдани саҳифаҳо -pdfjs-spread-odd-button = - .title = Густариши саҳифаҳо аз саҳифаҳо бо рақамҳои тоқ оғоз карда мешавад -pdfjs-spread-odd-button-label = Саҳифаҳои тоқ аз тарафи чап -pdfjs-spread-even-button = - .title = Густариши саҳифаҳо аз саҳифаҳо бо рақамҳои ҷуфт оғоз карда мешавад -pdfjs-spread-even-button-label = Саҳифаҳои ҷуфт аз тарафи чап - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Хусусиятҳои ҳуҷҷат… -pdfjs-document-properties-button-label = Хусусиятҳои ҳуҷҷат… -pdfjs-document-properties-file-name = Номи файл: -pdfjs-document-properties-file-size = Андозаи файл: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байт) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байт) -pdfjs-document-properties-title = Сарлавҳа: -pdfjs-document-properties-author = Муаллиф: -pdfjs-document-properties-subject = Мавзуъ: -pdfjs-document-properties-keywords = Калимаҳои калидӣ: -pdfjs-document-properties-creation-date = Санаи эҷод: -pdfjs-document-properties-modification-date = Санаи тағйирот: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Эҷодкунанда: -pdfjs-document-properties-producer = Таҳиякунандаи «PDF»: -pdfjs-document-properties-version = Версияи «PDF»: -pdfjs-document-properties-page-count = Шумораи саҳифаҳо: -pdfjs-document-properties-page-size = Андозаи саҳифа: -pdfjs-document-properties-page-size-unit-inches = дюйм -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = амудӣ -pdfjs-document-properties-page-size-orientation-landscape = уфуқӣ -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Мактуб -pdfjs-document-properties-page-size-name-legal = Ҳуқуқӣ - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Намоиши тез дар Интернет: -pdfjs-document-properties-linearized-yes = Ҳа -pdfjs-document-properties-linearized-no = Не -pdfjs-document-properties-close-button = Пӯшидан - -## Print - -pdfjs-print-progress-message = Омодасозии ҳуҷҷат барои чоп… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Бекор кардан -pdfjs-printing-not-supported = Диққат: Чопкунӣ аз тарафи ин браузер ба таври пурра дастгирӣ намешавад. -pdfjs-printing-not-ready = Диққат: Файли «PDF» барои чопкунӣ пурра бор карда нашуд. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Фаъол кардани навори ҷонибӣ -pdfjs-toggle-sidebar-notification-button = - .title = Фаъол кардани навори ҷонибӣ (ҳуҷҷат дорои сохтор/замимаҳо/қабатҳо мебошад) -pdfjs-toggle-sidebar-button-label = Фаъол кардани навори ҷонибӣ -pdfjs-document-outline-button = - .title = Намоиш додани сохтори ҳуҷҷат (барои баркушодан/пеҷондани ҳамаи унсурҳо дубора зер кунед) -pdfjs-document-outline-button-label = Сохтори ҳуҷҷат -pdfjs-attachments-button = - .title = Намоиш додани замимаҳо -pdfjs-attachments-button-label = Замимаҳо -pdfjs-layers-button = - .title = Намоиш додани қабатҳо (барои барқарор кардани ҳамаи қабатҳо ба вазъияти пешфарз дубора зер кунед) -pdfjs-layers-button-label = Қабатҳо -pdfjs-thumbs-button = - .title = Намоиш додани тасвирчаҳо -pdfjs-thumbs-button-label = Тасвирчаҳо -pdfjs-current-outline-item-button = - .title = Ёфтани унсури сохтори ҷорӣ -pdfjs-current-outline-item-button-label = Унсури сохтори ҷорӣ -pdfjs-findbar-button = - .title = Ёфтан дар ҳуҷҷат -pdfjs-findbar-button-label = Ёфтан -pdfjs-additional-layers = Қабатҳои иловагӣ - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Саҳифаи { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Тасвирчаи саҳифаи { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Ёфтан - .placeholder = Ёфтан дар ҳуҷҷат… -pdfjs-find-previous-button = - .title = Ҷустуҷӯи мавриди қаблии ибораи пешниҳодшуда -pdfjs-find-previous-button-label = Қаблӣ -pdfjs-find-next-button = - .title = Ҷустуҷӯи мавриди навбатии ибораи пешниҳодшуда -pdfjs-find-next-button-label = Навбатӣ -pdfjs-find-highlight-checkbox = Ҳамаашро бо ранг ҷудо кардан -pdfjs-find-match-case-checkbox-label = Бо дарназардошти ҳарфҳои хурду калон -pdfjs-find-match-diacritics-checkbox-label = Бо дарназардошти аломатҳои диакритикӣ -pdfjs-find-entire-word-checkbox-label = Калимаҳои пурра -pdfjs-find-reached-top = Ба болои ҳуҷҷат расид, аз поён идома ёфт -pdfjs-find-reached-bottom = Ба поёни ҳуҷҷат расид, аз боло идома ёфт -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } аз { $total } мувофиқат - *[other] { $current } аз { $total } мувофиқат - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Зиёда аз { $limit } мувофиқат - *[other] Зиёда аз { $limit } мувофиқат - } -pdfjs-find-not-found = Ибора ёфт нашуд - -## Predefined zoom values - -pdfjs-page-scale-width = Аз рӯи паҳнои саҳифа -pdfjs-page-scale-fit = Аз рӯи андозаи саҳифа -pdfjs-page-scale-auto = Андозаи худкор -pdfjs-page-scale-actual = Андозаи воқеӣ -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Саҳифаи { $page } - -## Loading indicator messages - -pdfjs-loading-error = Ҳангоми боркунии «PDF» хато ба миён омад. -pdfjs-invalid-file-error = Файли «PDF» нодуруст ё вайроншуда мебошад. -pdfjs-missing-file-error = Файли «PDF» ғоиб аст. -pdfjs-unexpected-response-error = Ҷавоби ногаҳон аз сервер. -pdfjs-rendering-error = Ҳангоми шаклсозии саҳифа хато ба миён омад. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Ҳошиянависӣ - { $type }] - -## Password - -pdfjs-password-label = Барои кушодани ин файли «PDF» ниҳонвожаро ворид кунед. -pdfjs-password-invalid = Ниҳонвожаи нодуруст. Лутфан, аз нав кӯшиш кунед. -pdfjs-password-ok-button = ХУБ -pdfjs-password-cancel-button = Бекор кардан -pdfjs-web-fonts-disabled = Шрифтҳои интернетӣ ғайрифаъоланд: истифодаи шрифтҳои дарунсохти «PDF» ғайриимкон аст. - -## Editing - -pdfjs-editor-free-text-button = - .title = Матн -pdfjs-editor-free-text-button-label = Матн -pdfjs-editor-ink-button = - .title = Расмкашӣ -pdfjs-editor-ink-button-label = Расмкашӣ -pdfjs-editor-stamp-button = - .title = Илова ё таҳрир кардани тасвирҳо -pdfjs-editor-stamp-button-label = Илова ё таҳрир кардани тасвирҳо - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Тоза кардани нақша -pdfjs-editor-remove-freetext-button = - .title = Тоза кардани матн -pdfjs-editor-remove-stamp-button = - .title = Тоза кардани тасвир -pdfjs-editor-remove-highlight-button = - .title = Тоза кардани ҷудокунӣ - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Ранг -pdfjs-editor-free-text-size-input = Андоза -pdfjs-editor-ink-color-input = Ранг -pdfjs-editor-ink-thickness-input = Ғафсӣ -pdfjs-editor-ink-opacity-input = Шаффофӣ -pdfjs-editor-stamp-add-image-button = - .title = Илова кардани тасвир -pdfjs-editor-stamp-add-image-button-label = Илова кардани тасвир -pdfjs-free-text = - .aria-label = Муҳаррири матн -pdfjs-free-text-default-content = Нависед… -pdfjs-ink = - .aria-label = Муҳаррири расмкашӣ -pdfjs-ink-canvas = - .aria-label = Тасвири эҷодкардаи корбар - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Матни ивазкунанда -pdfjs-editor-alt-text-edit-button-label = Таҳрир кардани матни ивазкунанда -pdfjs-editor-alt-text-dialog-label = Имконеро интихоб намоед -pdfjs-editor-alt-text-dialog-description = Вақте ки одамон тасвирро дида наметавонанд ё вақте ки тасвир бор карда намешавад, матни иловагӣ (Alt text) кумак мерасонад. -pdfjs-editor-alt-text-add-description-label = Илова кардани тавсиф -pdfjs-editor-alt-text-add-description-description = Кӯшиш кунед, ки 1-2 ҷумлаеро нависед, ки ба мавзӯъ, танзим ё амалҳо тавзеҳ медиҳад. -pdfjs-editor-alt-text-mark-decorative-label = Гузоштан ҳамчун матни ороишӣ -pdfjs-editor-alt-text-mark-decorative-description = Ин барои тасвирҳои ороишӣ, ба монанди марзҳо ё аломатҳои обӣ, истифода мешавад. -pdfjs-editor-alt-text-cancel-button = Бекор кардан -pdfjs-editor-alt-text-save-button = Нигоҳ доштан -pdfjs-editor-alt-text-decorative-tooltip = Ҳамчун матни ороишӣ гузошта шуд -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Барои мисол, «Ман забони тоҷикиро дӯст медорам» - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Кунҷи чапи боло — тағйир додани андоза -pdfjs-editor-resizer-label-top-middle = Канори миёнаи боло — тағйир додани андоза -pdfjs-editor-resizer-label-top-right = Кунҷи рости боло — тағйир додани андоза -pdfjs-editor-resizer-label-middle-right = Канори миёнаи рост — тағйир додани андоза -pdfjs-editor-resizer-label-bottom-right = Кунҷи рости поён — тағйир додани андоза -pdfjs-editor-resizer-label-bottom-middle = Канори миёнаи поён — тағйир додани андоза -pdfjs-editor-resizer-label-bottom-left = Кунҷи чапи поён — тағйир додани андоза -pdfjs-editor-resizer-label-middle-left = Канори миёнаи чап — тағйир додани андоза - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Ранги ҷудокунӣ -pdfjs-editor-colorpicker-button = - .title = Иваз кардани ранг -pdfjs-editor-colorpicker-dropdown = - .aria-label = Интихоби ранг -pdfjs-editor-colorpicker-yellow = - .title = Зард -pdfjs-editor-colorpicker-green = - .title = Сабз -pdfjs-editor-colorpicker-blue = - .title = Кабуд -pdfjs-editor-colorpicker-pink = - .title = Гулобӣ -pdfjs-editor-colorpicker-red = - .title = Сурх - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Ҳамаро намоиш додан -pdfjs-editor-highlight-show-all-button = - .title = Ҳамаро намоиш додан diff --git a/media/js/pdf4/web/locale/th/viewer.ftl b/media/js/pdf4/web/locale/th/viewer.ftl deleted file mode 100644 index 283b440cb7..0000000000 --- a/media/js/pdf4/web/locale/th/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = หน้าก่อนหน้า -pdfjs-previous-button-label = ก่อนหน้า -pdfjs-next-button = - .title = หน้าถัดไป -pdfjs-next-button-label = ถัดไป -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = หน้า -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = จาก { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } จาก { $pagesCount }) -pdfjs-zoom-out-button = - .title = ซูมออก -pdfjs-zoom-out-button-label = ซูมออก -pdfjs-zoom-in-button = - .title = ซูมเข้า -pdfjs-zoom-in-button-label = ซูมเข้า -pdfjs-zoom-select = - .title = ซูม -pdfjs-presentation-mode-button = - .title = สลับเป็นโหมดการนำเสนอ -pdfjs-presentation-mode-button-label = โหมดการนำเสนอ -pdfjs-open-file-button = - .title = เปิดไฟล์ -pdfjs-open-file-button-label = เปิด -pdfjs-print-button = - .title = พิมพ์ -pdfjs-print-button-label = พิมพ์ -pdfjs-save-button = - .title = บันทึก -pdfjs-save-button-label = บันทึก -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = ดาวน์โหลด -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = ดาวน์โหลด -pdfjs-bookmark-button = - .title = หน้าปัจจุบัน (ดู URL จากหน้าปัจจุบัน) -pdfjs-bookmark-button-label = หน้าปัจจุบัน -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = เปิดในแอป -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = เปิดในแอป - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = เครื่องมือ -pdfjs-tools-button-label = เครื่องมือ -pdfjs-first-page-button = - .title = ไปยังหน้าแรก -pdfjs-first-page-button-label = ไปยังหน้าแรก -pdfjs-last-page-button = - .title = ไปยังหน้าสุดท้าย -pdfjs-last-page-button-label = ไปยังหน้าสุดท้าย -pdfjs-page-rotate-cw-button = - .title = หมุนตามเข็มนาฬิกา -pdfjs-page-rotate-cw-button-label = หมุนตามเข็มนาฬิกา -pdfjs-page-rotate-ccw-button = - .title = หมุนทวนเข็มนาฬิกา -pdfjs-page-rotate-ccw-button-label = หมุนทวนเข็มนาฬิกา -pdfjs-cursor-text-select-tool-button = - .title = เปิดใช้งานเครื่องมือการเลือกข้อความ -pdfjs-cursor-text-select-tool-button-label = เครื่องมือการเลือกข้อความ -pdfjs-cursor-hand-tool-button = - .title = เปิดใช้งานเครื่องมือมือ -pdfjs-cursor-hand-tool-button-label = เครื่องมือมือ -pdfjs-scroll-page-button = - .title = ใช้การเลื่อนหน้า -pdfjs-scroll-page-button-label = การเลื่อนหน้า -pdfjs-scroll-vertical-button = - .title = ใช้การเลื่อนแนวตั้ง -pdfjs-scroll-vertical-button-label = การเลื่อนแนวตั้ง -pdfjs-scroll-horizontal-button = - .title = ใช้การเลื่อนแนวนอน -pdfjs-scroll-horizontal-button-label = การเลื่อนแนวนอน -pdfjs-scroll-wrapped-button = - .title = ใช้การเลื่อนแบบคลุม -pdfjs-scroll-wrapped-button-label = เลื่อนแบบคลุม -pdfjs-spread-none-button = - .title = ไม่ต้องรวมการกระจายหน้า -pdfjs-spread-none-button-label = ไม่กระจาย -pdfjs-spread-odd-button = - .title = รวมการกระจายหน้าเริ่มจากหน้าคี่ -pdfjs-spread-odd-button-label = กระจายอย่างเหลือเศษ -pdfjs-spread-even-button = - .title = รวมการกระจายหน้าเริ่มจากหน้าคู่ -pdfjs-spread-even-button-label = กระจายอย่างเท่าเทียม - -## Document properties dialog - -pdfjs-document-properties-button = - .title = คุณสมบัติเอกสาร… -pdfjs-document-properties-button-label = คุณสมบัติเอกสาร… -pdfjs-document-properties-file-name = ชื่อไฟล์: -pdfjs-document-properties-file-size = ขนาดไฟล์: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } ไบต์) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } ไบต์) -pdfjs-document-properties-title = ชื่อเรื่อง: -pdfjs-document-properties-author = ผู้สร้าง: -pdfjs-document-properties-subject = ชื่อเรื่อง: -pdfjs-document-properties-keywords = คำสำคัญ: -pdfjs-document-properties-creation-date = วันที่สร้าง: -pdfjs-document-properties-modification-date = วันที่แก้ไข: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = ผู้สร้าง: -pdfjs-document-properties-producer = ผู้ผลิต PDF: -pdfjs-document-properties-version = รุ่น PDF: -pdfjs-document-properties-page-count = จำนวนหน้า: -pdfjs-document-properties-page-size = ขนาดหน้า: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = แนวตั้ง -pdfjs-document-properties-page-size-orientation-landscape = แนวนอน -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = จดหมาย -pdfjs-document-properties-page-size-name-legal = ข้อกฎหมาย - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = มุมมองเว็บแบบรวดเร็ว: -pdfjs-document-properties-linearized-yes = ใช่ -pdfjs-document-properties-linearized-no = ไม่ -pdfjs-document-properties-close-button = ปิด - -## Print - -pdfjs-print-progress-message = กำลังเตรียมเอกสารสำหรับการพิมพ์… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = ยกเลิก -pdfjs-printing-not-supported = คำเตือน: เบราว์เซอร์นี้ไม่ได้สนับสนุนการพิมพ์อย่างเต็มที่ -pdfjs-printing-not-ready = คำเตือน: PDF ไม่ได้รับการโหลดอย่างเต็มที่สำหรับการพิมพ์ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = เปิด/ปิดแถบข้าง -pdfjs-toggle-sidebar-notification-button = - .title = เปิด/ปิดแถบข้าง (เอกสารมีเค้าร่าง/ไฟล์แนบ/เลเยอร์) -pdfjs-toggle-sidebar-button-label = เปิด/ปิดแถบข้าง -pdfjs-document-outline-button = - .title = แสดงเค้าร่างเอกสาร (คลิกสองครั้งเพื่อขยาย/ยุบรายการทั้งหมด) -pdfjs-document-outline-button-label = เค้าร่างเอกสาร -pdfjs-attachments-button = - .title = แสดงไฟล์แนบ -pdfjs-attachments-button-label = ไฟล์แนบ -pdfjs-layers-button = - .title = แสดงเลเยอร์ (คลิกสองครั้งเพื่อรีเซ็ตเลเยอร์ทั้งหมดเป็นสถานะเริ่มต้น) -pdfjs-layers-button-label = เลเยอร์ -pdfjs-thumbs-button = - .title = แสดงภาพขนาดย่อ -pdfjs-thumbs-button-label = ภาพขนาดย่อ -pdfjs-current-outline-item-button = - .title = ค้นหารายการเค้าร่างปัจจุบัน -pdfjs-current-outline-item-button-label = รายการเค้าร่างปัจจุบัน -pdfjs-findbar-button = - .title = ค้นหาในเอกสาร -pdfjs-findbar-button-label = ค้นหา -pdfjs-additional-layers = เลเยอร์เพิ่มเติม - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = หน้า { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = ภาพขนาดย่อของหน้า { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ค้นหา - .placeholder = ค้นหาในเอกสาร… -pdfjs-find-previous-button = - .title = หาตำแหน่งก่อนหน้าของวลี -pdfjs-find-previous-button-label = ก่อนหน้า -pdfjs-find-next-button = - .title = หาตำแหน่งถัดไปของวลี -pdfjs-find-next-button-label = ถัดไป -pdfjs-find-highlight-checkbox = เน้นสีทั้งหมด -pdfjs-find-match-case-checkbox-label = ตัวพิมพ์ใหญ่เล็กตรงกัน -pdfjs-find-match-diacritics-checkbox-label = เครื่องหมายกำกับการออกเสียงตรงกัน -pdfjs-find-entire-word-checkbox-label = ทั้งคำ -pdfjs-find-reached-top = ค้นหาถึงจุดเริ่มต้นของหน้า เริ่มค้นต่อจากด้านล่าง -pdfjs-find-reached-bottom = ค้นหาถึงจุดสิ้นสุดหน้า เริ่มค้นต่อจากด้านบน -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = { $current } จาก { $total } รายการที่ตรงกัน -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = มากกว่า { $limit } รายการที่ตรงกัน -pdfjs-find-not-found = ไม่พบวลี - -## Predefined zoom values - -pdfjs-page-scale-width = ความกว้างหน้า -pdfjs-page-scale-fit = พอดีหน้า -pdfjs-page-scale-auto = ซูมอัตโนมัติ -pdfjs-page-scale-actual = ขนาดจริง -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = หน้า { $page } - -## Loading indicator messages - -pdfjs-loading-error = เกิดข้อผิดพลาดขณะโหลด PDF -pdfjs-invalid-file-error = ไฟล์ PDF ไม่ถูกต้องหรือเสียหาย -pdfjs-missing-file-error = ไฟล์ PDF หายไป -pdfjs-unexpected-response-error = การตอบสนองของเซิร์ฟเวอร์ที่ไม่คาดคิด -pdfjs-rendering-error = เกิดข้อผิดพลาดขณะเรนเดอร์หน้า - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [คำอธิบายประกอบ { $type }] - -## Password - -pdfjs-password-label = ป้อนรหัสผ่านเพื่อเปิดไฟล์ PDF นี้ -pdfjs-password-invalid = รหัสผ่านไม่ถูกต้อง โปรดลองอีกครั้ง -pdfjs-password-ok-button = ตกลง -pdfjs-password-cancel-button = ยกเลิก -pdfjs-web-fonts-disabled = แบบอักษรเว็บถูกปิดใช้งาน: ไม่สามารถใช้แบบอักษร PDF ฝังตัว - -## Editing - -pdfjs-editor-free-text-button = - .title = ข้อความ -pdfjs-editor-free-text-button-label = ข้อความ -pdfjs-editor-ink-button = - .title = รูปวาด -pdfjs-editor-ink-button-label = รูปวาด -pdfjs-editor-stamp-button = - .title = เพิ่มหรือแก้ไขภาพ -pdfjs-editor-stamp-button-label = เพิ่มหรือแก้ไขภาพ -pdfjs-editor-highlight-button = - .title = เน้น -pdfjs-editor-highlight-button-label = เน้น -pdfjs-highlight-floating-button = - .title = เน้นสี -pdfjs-highlight-floating-button1 = - .title = เน้นสี - .aria-label = เน้นสี -pdfjs-highlight-floating-button-label = เน้นสี - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = เอาภาพวาดออก -pdfjs-editor-remove-freetext-button = - .title = เอาข้อความออก -pdfjs-editor-remove-stamp-button = - .title = เอาภาพออก -pdfjs-editor-remove-highlight-button = - .title = เอาการเน้นสีออก - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = สี -pdfjs-editor-free-text-size-input = ขนาด -pdfjs-editor-ink-color-input = สี -pdfjs-editor-ink-thickness-input = ความหนา -pdfjs-editor-ink-opacity-input = ความทึบ -pdfjs-editor-stamp-add-image-button = - .title = เพิ่มภาพ -pdfjs-editor-stamp-add-image-button-label = เพิ่มภาพ -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = ความหนา -pdfjs-editor-free-highlight-thickness-title = - .title = เปลี่ยนความหนาเมื่อเน้นรายการอื่นๆ ที่ไม่ใช่ข้อความ -pdfjs-free-text = - .aria-label = ตัวแก้ไขข้อความ -pdfjs-free-text-default-content = เริ่มพิมพ์… -pdfjs-ink = - .aria-label = ตัวแก้ไขรูปวาด -pdfjs-ink-canvas = - .aria-label = ภาพที่ผู้ใช้สร้างขึ้น - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = ข้อความทดแทน -pdfjs-editor-alt-text-edit-button-label = แก้ไขข้อความทดแทน -pdfjs-editor-alt-text-dialog-label = เลือกตัวเลือก -pdfjs-editor-alt-text-dialog-description = ข้อความทดแทนสามารถช่วยเหลือได้เมื่อผู้ใช้มองไม่เห็นภาพ หรือภาพไม่โหลด -pdfjs-editor-alt-text-add-description-label = เพิ่มคำอธิบาย -pdfjs-editor-alt-text-add-description-description = แนะนำให้ใช้ 1-2 ประโยคซึ่งอธิบายหัวเรื่อง ฉาก หรือการกระทำ -pdfjs-editor-alt-text-mark-decorative-label = ทำเครื่องหมายเป็นสิ่งตกแต่ง -pdfjs-editor-alt-text-mark-decorative-description = สิ่งนี้ใช้สำหรับภาพที่เป็นสิ่งประดับ เช่น ขอบ หรือลายน้ำ -pdfjs-editor-alt-text-cancel-button = ยกเลิก -pdfjs-editor-alt-text-save-button = บันทึก -pdfjs-editor-alt-text-decorative-tooltip = ทำเครื่องหมายเป็นสิ่งตกแต่งแล้ว -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = ตัวอย่างเช่น “ชายหนุ่มคนหนึ่งนั่งลงที่โต๊ะเพื่อรับประทานอาหารมื้อหนึ่ง” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = มุมซ้ายบน — ปรับขนาด -pdfjs-editor-resizer-label-top-middle = ตรงกลางด้านบน — ปรับขนาด -pdfjs-editor-resizer-label-top-right = มุมขวาบน — ปรับขนาด -pdfjs-editor-resizer-label-middle-right = ตรงกลางด้านขวา — ปรับขนาด -pdfjs-editor-resizer-label-bottom-right = มุมขวาล่าง — ปรับขนาด -pdfjs-editor-resizer-label-bottom-middle = ตรงกลางด้านล่าง — ปรับขนาด -pdfjs-editor-resizer-label-bottom-left = มุมซ้ายล่าง — ปรับขนาด -pdfjs-editor-resizer-label-middle-left = ตรงกลางด้านซ้าย — ปรับขนาด - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = สีเน้น -pdfjs-editor-colorpicker-button = - .title = เปลี่ยนสี -pdfjs-editor-colorpicker-dropdown = - .aria-label = ทางเลือกสี -pdfjs-editor-colorpicker-yellow = - .title = เหลือง -pdfjs-editor-colorpicker-green = - .title = เขียว -pdfjs-editor-colorpicker-blue = - .title = น้ำเงิน -pdfjs-editor-colorpicker-pink = - .title = ชมพู -pdfjs-editor-colorpicker-red = - .title = แดง - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = แสดงทั้งหมด -pdfjs-editor-highlight-show-all-button = - .title = แสดงทั้งหมด diff --git a/media/js/pdf4/web/locale/tl/viewer.ftl b/media/js/pdf4/web/locale/tl/viewer.ftl deleted file mode 100644 index faa0009bd4..0000000000 --- a/media/js/pdf4/web/locale/tl/viewer.ftl +++ /dev/null @@ -1,257 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Naunang Pahina -pdfjs-previous-button-label = Nakaraan -pdfjs-next-button = - .title = Sunod na Pahina -pdfjs-next-button-label = Sunod -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Pahina -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = ng { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } ng { $pagesCount }) -pdfjs-zoom-out-button = - .title = Paliitin -pdfjs-zoom-out-button-label = Paliitin -pdfjs-zoom-in-button = - .title = Palakihin -pdfjs-zoom-in-button-label = Palakihin -pdfjs-zoom-select = - .title = Mag-zoom -pdfjs-presentation-mode-button = - .title = Lumipat sa Presentation Mode -pdfjs-presentation-mode-button-label = Presentation Mode -pdfjs-open-file-button = - .title = Magbukas ng file -pdfjs-open-file-button-label = Buksan -pdfjs-print-button = - .title = i-Print -pdfjs-print-button-label = i-Print - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Mga Kagamitan -pdfjs-tools-button-label = Mga Kagamitan -pdfjs-first-page-button = - .title = Pumunta sa Unang Pahina -pdfjs-first-page-button-label = Pumunta sa Unang Pahina -pdfjs-last-page-button = - .title = Pumunta sa Huling Pahina -pdfjs-last-page-button-label = Pumunta sa Huling Pahina -pdfjs-page-rotate-cw-button = - .title = Paikutin Pakanan -pdfjs-page-rotate-cw-button-label = Paikutin Pakanan -pdfjs-page-rotate-ccw-button = - .title = Paikutin Pakaliwa -pdfjs-page-rotate-ccw-button-label = Paikutin Pakaliwa -pdfjs-cursor-text-select-tool-button = - .title = I-enable ang Text Selection Tool -pdfjs-cursor-text-select-tool-button-label = Text Selection Tool -pdfjs-cursor-hand-tool-button = - .title = I-enable ang Hand Tool -pdfjs-cursor-hand-tool-button-label = Hand Tool -pdfjs-scroll-vertical-button = - .title = Gumamit ng Vertical Scrolling -pdfjs-scroll-vertical-button-label = Vertical Scrolling -pdfjs-scroll-horizontal-button = - .title = Gumamit ng Horizontal Scrolling -pdfjs-scroll-horizontal-button-label = Horizontal Scrolling -pdfjs-scroll-wrapped-button = - .title = Gumamit ng Wrapped Scrolling -pdfjs-scroll-wrapped-button-label = Wrapped Scrolling -pdfjs-spread-none-button = - .title = Huwag pagsamahin ang mga page spread -pdfjs-spread-none-button-label = No Spreads -pdfjs-spread-odd-button = - .title = Join page spreads starting with odd-numbered pages -pdfjs-spread-odd-button-label = Mga Odd Spread -pdfjs-spread-even-button = - .title = Pagsamahin ang mga page spread na nagsisimula sa mga even-numbered na pahina -pdfjs-spread-even-button-label = Mga Even Spread - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Mga Katangian ng Dokumento… -pdfjs-document-properties-button-label = Mga Katangian ng Dokumento… -pdfjs-document-properties-file-name = File name: -pdfjs-document-properties-file-size = File size: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Pamagat: -pdfjs-document-properties-author = May-akda: -pdfjs-document-properties-subject = Paksa: -pdfjs-document-properties-keywords = Mga keyword: -pdfjs-document-properties-creation-date = Petsa ng Pagkakagawa: -pdfjs-document-properties-modification-date = Petsa ng Pagkakabago: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Tagalikha: -pdfjs-document-properties-producer = PDF Producer: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Bilang ng Pahina: -pdfjs-document-properties-page-size = Laki ng Pahina: -pdfjs-document-properties-page-size-unit-inches = pulgada -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = patayo -pdfjs-document-properties-page-size-orientation-landscape = pahiga -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Fast Web View: -pdfjs-document-properties-linearized-yes = Oo -pdfjs-document-properties-linearized-no = Hindi -pdfjs-document-properties-close-button = Isara - -## Print - -pdfjs-print-progress-message = Inihahanda ang dokumento para sa pag-print… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Kanselahin -pdfjs-printing-not-supported = Babala: Hindi pa ganap na suportado ang pag-print sa browser na ito. -pdfjs-printing-not-ready = Babala: Hindi ganap na nabuksan ang PDF para sa pag-print. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Ipakita/Itago ang Sidebar -pdfjs-toggle-sidebar-notification-button = - .title = Ipakita/Itago ang Sidebar (nagtataglay ang dokumento ng balangkas/mga attachment/mga layer) -pdfjs-toggle-sidebar-button-label = Ipakita/Itago ang Sidebar -pdfjs-document-outline-button = - .title = Ipakita ang Document Outline (mag-double-click para i-expand/collapse ang laman) -pdfjs-document-outline-button-label = Balangkas ng Dokumento -pdfjs-attachments-button = - .title = Ipakita ang mga Attachment -pdfjs-attachments-button-label = Mga attachment -pdfjs-layers-button = - .title = Ipakita ang mga Layer (mag-double click para mareset ang lahat ng layer sa orihinal na estado) -pdfjs-layers-button-label = Mga layer -pdfjs-thumbs-button = - .title = Ipakita ang mga Thumbnail -pdfjs-thumbs-button-label = Mga thumbnail -pdfjs-findbar-button = - .title = Hanapin sa Dokumento -pdfjs-findbar-button-label = Hanapin -pdfjs-additional-layers = Mga Karagdagang Layer - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Pahina { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Thumbnail ng Pahina { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Hanapin - .placeholder = Hanapin sa dokumento… -pdfjs-find-previous-button = - .title = Hanapin ang nakaraang pangyayari ng parirala -pdfjs-find-previous-button-label = Nakaraan -pdfjs-find-next-button = - .title = Hanapin ang susunod na pangyayari ng parirala -pdfjs-find-next-button-label = Susunod -pdfjs-find-highlight-checkbox = I-highlight lahat -pdfjs-find-match-case-checkbox-label = Itugma ang case -pdfjs-find-entire-word-checkbox-label = Buong salita -pdfjs-find-reached-top = Naabot na ang tuktok ng dokumento, ipinagpatuloy mula sa ilalim -pdfjs-find-reached-bottom = Naabot na ang dulo ng dokumento, ipinagpatuloy mula sa tuktok -pdfjs-find-not-found = Hindi natagpuan ang parirala - -## Predefined zoom values - -pdfjs-page-scale-width = Lapad ng Pahina -pdfjs-page-scale-fit = Pagkasyahin ang Pahina -pdfjs-page-scale-auto = Automatic Zoom -pdfjs-page-scale-actual = Totoong sukat -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Nagkaproblema habang niloload ang PDF. -pdfjs-invalid-file-error = Di-wasto o sira ang PDF file. -pdfjs-missing-file-error = Nawawalang PDF file. -pdfjs-unexpected-response-error = Hindi inaasahang tugon ng server. -pdfjs-rendering-error = Nagkaproblema habang nirerender ang pahina. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = Ipasok ang password upang buksan ang PDF file na ito. -pdfjs-password-invalid = Maling password. Subukan uli. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Kanselahin -pdfjs-web-fonts-disabled = Naka-disable ang mga Web font: hindi kayang gamitin ang mga naka-embed na PDF font. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/tr/viewer.ftl b/media/js/pdf4/web/locale/tr/viewer.ftl deleted file mode 100644 index b9e67f3163..0000000000 --- a/media/js/pdf4/web/locale/tr/viewer.ftl +++ /dev/null @@ -1,402 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Önceki sayfa -pdfjs-previous-button-label = Önceki -pdfjs-next-button = - .title = Sonraki sayfa -pdfjs-next-button-label = Sonraki -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Sayfa -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = Uzaklaştır -pdfjs-zoom-out-button-label = Uzaklaştır -pdfjs-zoom-in-button = - .title = Yakınlaştır -pdfjs-zoom-in-button-label = Yakınlaştır -pdfjs-zoom-select = - .title = Yakınlaştırma -pdfjs-presentation-mode-button = - .title = Sunum moduna geç -pdfjs-presentation-mode-button-label = Sunum modu -pdfjs-open-file-button = - .title = Dosya aç -pdfjs-open-file-button-label = Aç -pdfjs-print-button = - .title = Yazdır -pdfjs-print-button-label = Yazdır -pdfjs-save-button = - .title = Kaydet -pdfjs-save-button-label = Kaydet -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = İndir -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = İndir -pdfjs-bookmark-button = - .title = Geçerli sayfa (geçerli sayfanın adresini görüntüle) -pdfjs-bookmark-button-label = Geçerli sayfa -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Uygulamada aç -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Uygulamada aç - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Araçlar -pdfjs-tools-button-label = Araçlar -pdfjs-first-page-button = - .title = İlk sayfaya git -pdfjs-first-page-button-label = İlk sayfaya git -pdfjs-last-page-button = - .title = Son sayfaya git -pdfjs-last-page-button-label = Son sayfaya git -pdfjs-page-rotate-cw-button = - .title = Saat yönünde döndür -pdfjs-page-rotate-cw-button-label = Saat yönünde döndür -pdfjs-page-rotate-ccw-button = - .title = Saat yönünün tersine döndür -pdfjs-page-rotate-ccw-button-label = Saat yönünün tersine döndür -pdfjs-cursor-text-select-tool-button = - .title = Metin seçme aracını etkinleştir -pdfjs-cursor-text-select-tool-button-label = Metin seçme aracı -pdfjs-cursor-hand-tool-button = - .title = El aracını etkinleştir -pdfjs-cursor-hand-tool-button-label = El aracı -pdfjs-scroll-page-button = - .title = Sayfa kaydırmayı kullan -pdfjs-scroll-page-button-label = Sayfa kaydırma -pdfjs-scroll-vertical-button = - .title = Dikey kaydırmayı kullan -pdfjs-scroll-vertical-button-label = Dikey kaydırma -pdfjs-scroll-horizontal-button = - .title = Yatay kaydırmayı kullan -pdfjs-scroll-horizontal-button-label = Yatay kaydırma -pdfjs-scroll-wrapped-button = - .title = Yan yana kaydırmayı kullan -pdfjs-scroll-wrapped-button-label = Yan yana kaydırma -pdfjs-spread-none-button = - .title = Yan yana sayfaları birleştirme -pdfjs-spread-none-button-label = Birleştirme -pdfjs-spread-odd-button = - .title = Yan yana sayfaları tek numaralı sayfalardan başlayarak birleştir -pdfjs-spread-odd-button-label = Tek numaralı -pdfjs-spread-even-button = - .title = Yan yana sayfaları çift numaralı sayfalardan başlayarak birleştir -pdfjs-spread-even-button-label = Çift numaralı - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Belge özellikleri… -pdfjs-document-properties-button-label = Belge özellikleri… -pdfjs-document-properties-file-name = Dosya adı: -pdfjs-document-properties-file-size = Dosya boyutu: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bayt) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bayt) -pdfjs-document-properties-title = Başlık: -pdfjs-document-properties-author = Yazar: -pdfjs-document-properties-subject = Konu: -pdfjs-document-properties-keywords = Anahtar kelimeler: -pdfjs-document-properties-creation-date = Oluşturma tarihi: -pdfjs-document-properties-modification-date = Değiştirme tarihi: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } { $time } -pdfjs-document-properties-creator = Oluşturan: -pdfjs-document-properties-producer = PDF üreticisi: -pdfjs-document-properties-version = PDF sürümü: -pdfjs-document-properties-page-count = Sayfa sayısı: -pdfjs-document-properties-page-size = Sayfa boyutu: -pdfjs-document-properties-page-size-unit-inches = inç -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = dikey -pdfjs-document-properties-page-size-orientation-landscape = yatay -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Hızlı web görünümü: -pdfjs-document-properties-linearized-yes = Evet -pdfjs-document-properties-linearized-no = Hayır -pdfjs-document-properties-close-button = Kapat - -## Print - -pdfjs-print-progress-message = Belge yazdırılmaya hazırlanıyor… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = %{ $progress } -pdfjs-print-progress-close-button = İptal -pdfjs-printing-not-supported = Uyarı: Yazdırma bu tarayıcı tarafından tam olarak desteklenmemektedir. -pdfjs-printing-not-ready = Uyarı: PDF tamamen yüklenmedi ve yazdırmaya hazır değil. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Kenar çubuğunu aç/kapat -pdfjs-toggle-sidebar-notification-button = - .title = Kenar çubuğunu aç/kapat (Belge ana hat/ekler/katmanlar içeriyor) -pdfjs-toggle-sidebar-button-label = Kenar çubuğunu aç/kapat -pdfjs-document-outline-button = - .title = Belge ana hatlarını göster (Tüm öğeleri genişletmek/daraltmak için çift tıklayın) -pdfjs-document-outline-button-label = Belge ana hatları -pdfjs-attachments-button = - .title = Ekleri göster -pdfjs-attachments-button-label = Ekler -pdfjs-layers-button = - .title = Katmanları göster (tüm katmanları varsayılan duruma sıfırlamak için çift tıklayın) -pdfjs-layers-button-label = Katmanlar -pdfjs-thumbs-button = - .title = Küçük resimleri göster -pdfjs-thumbs-button-label = Küçük resimler -pdfjs-current-outline-item-button = - .title = Mevcut ana hat öğesini bul -pdfjs-current-outline-item-button-label = Mevcut ana hat öğesi -pdfjs-findbar-button = - .title = Belgede bul -pdfjs-findbar-button-label = Bul -pdfjs-additional-layers = Ek katmanlar - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Sayfa { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page }. sayfanın küçük hâli - -## Find panel button title and messages - -pdfjs-find-input = - .title = Bul - .placeholder = Belgede bul… -pdfjs-find-previous-button = - .title = Önceki eşleşmeyi bul -pdfjs-find-previous-button-label = Önceki -pdfjs-find-next-button = - .title = Sonraki eşleşmeyi bul -pdfjs-find-next-button-label = Sonraki -pdfjs-find-highlight-checkbox = Tümünü vurgula -pdfjs-find-match-case-checkbox-label = Büyük-küçük harfe duyarlı -pdfjs-find-match-diacritics-checkbox-label = Fonetik işaretleri bul -pdfjs-find-entire-word-checkbox-label = Tam sözcükler -pdfjs-find-reached-top = Belgenin başına ulaşıldı, sonundan devam edildi -pdfjs-find-reached-bottom = Belgenin sonuna ulaşıldı, başından devam edildi -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $total } eşleşmeden { $current }. eşleşme - *[other] { $total } eşleşmeden { $current }. eşleşme - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] { $limit } eşleşmeden fazla - *[other] { $limit } eşleşmeden fazla - } -pdfjs-find-not-found = Eşleşme bulunamadı - -## Predefined zoom values - -pdfjs-page-scale-width = Sayfa genişliği -pdfjs-page-scale-fit = Sayfayı sığdır -pdfjs-page-scale-auto = Otomatik yakınlaştır -pdfjs-page-scale-actual = Gerçek boyut -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = %{ $scale } - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Sayfa { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF yüklenirken bir hata oluştu. -pdfjs-invalid-file-error = Geçersiz veya bozulmuş PDF dosyası. -pdfjs-missing-file-error = PDF dosyası eksik. -pdfjs-unexpected-response-error = Beklenmeyen sunucu yanıtı. -pdfjs-rendering-error = Sayfa yorumlanırken bir hata oluştu. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } işareti] - -## Password - -pdfjs-password-label = Bu PDF dosyasını açmak için parolasını yazın. -pdfjs-password-invalid = Geçersiz parola. Lütfen yeniden deneyin. -pdfjs-password-ok-button = Tamam -pdfjs-password-cancel-button = İptal -pdfjs-web-fonts-disabled = Web fontları devre dışı: Gömülü PDF fontları kullanılamıyor. - -## Editing - -pdfjs-editor-free-text-button = - .title = Metin -pdfjs-editor-free-text-button-label = Metin -pdfjs-editor-ink-button = - .title = Çiz -pdfjs-editor-ink-button-label = Çiz -pdfjs-editor-stamp-button = - .title = Resim ekle veya düzenle -pdfjs-editor-stamp-button-label = Resim ekle veya düzenle -pdfjs-editor-highlight-button = - .title = Vurgula -pdfjs-editor-highlight-button-label = Vurgula -pdfjs-highlight-floating-button = - .title = Vurgula -pdfjs-highlight-floating-button1 = - .title = Vurgula - .aria-label = Vurgula -pdfjs-highlight-floating-button-label = Vurgula - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Çizimi kaldır -pdfjs-editor-remove-freetext-button = - .title = Metni kaldır -pdfjs-editor-remove-stamp-button = - .title = Resmi kaldır -pdfjs-editor-remove-highlight-button = - .title = Vurgulamayı kaldır - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Renk -pdfjs-editor-free-text-size-input = Boyut -pdfjs-editor-ink-color-input = Renk -pdfjs-editor-ink-thickness-input = Kalınlık -pdfjs-editor-ink-opacity-input = Saydamlık -pdfjs-editor-stamp-add-image-button = - .title = Resim ekle -pdfjs-editor-stamp-add-image-button-label = Resim ekle -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Kalınlık -pdfjs-editor-free-highlight-thickness-title = - .title = Metin dışındaki öğeleri vurgularken kalınlığı değiştir -pdfjs-free-text = - .aria-label = Metin düzenleyicisi -pdfjs-free-text-default-content = Yazmaya başlayın… -pdfjs-ink = - .aria-label = Çizim düzenleyicisi -pdfjs-ink-canvas = - .aria-label = Kullanıcı tarafından oluşturulan resim - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Alternatif metin -pdfjs-editor-alt-text-edit-button-label = Alternatif metni düzenle -pdfjs-editor-alt-text-dialog-label = Bir seçenek seçin -pdfjs-editor-alt-text-dialog-description = Alternatif metin, insanlar görseli göremediğinde veya görsel yüklenmediğinde işe yarar. -pdfjs-editor-alt-text-add-description-label = Açıklama ekle -pdfjs-editor-alt-text-add-description-description = Konuyu, ortamı veya eylemleri tanımlayan bir iki cümle yazmaya çalışın. -pdfjs-editor-alt-text-mark-decorative-label = Dekoratif olarak işaretle -pdfjs-editor-alt-text-mark-decorative-description = Kenarlıklar veya filigranlar gibi dekoratif görüntüler için kullanılır. -pdfjs-editor-alt-text-cancel-button = Vazgeç -pdfjs-editor-alt-text-save-button = Kaydet -pdfjs-editor-alt-text-decorative-tooltip = Dekoratif olarak işaretlendi -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Örneğin, “Genç bir adam yemek yemek için masaya oturuyor” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Sol üst köşe — yeniden boyutlandır -pdfjs-editor-resizer-label-top-middle = Üst orta — yeniden boyutlandır -pdfjs-editor-resizer-label-top-right = Sağ üst köşe — yeniden boyutlandır -pdfjs-editor-resizer-label-middle-right = Orta sağ — yeniden boyutlandır -pdfjs-editor-resizer-label-bottom-right = Sağ alt köşe — yeniden boyutlandır -pdfjs-editor-resizer-label-bottom-middle = Alt orta — yeniden boyutlandır -pdfjs-editor-resizer-label-bottom-left = Sol alt köşe — yeniden boyutlandır -pdfjs-editor-resizer-label-middle-left = Orta sol — yeniden boyutlandır - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Vurgu rengi -pdfjs-editor-colorpicker-button = - .title = Rengi değiştir -pdfjs-editor-colorpicker-dropdown = - .aria-label = Renk seçenekleri -pdfjs-editor-colorpicker-yellow = - .title = Sarı -pdfjs-editor-colorpicker-green = - .title = Yeşil -pdfjs-editor-colorpicker-blue = - .title = Mavi -pdfjs-editor-colorpicker-pink = - .title = Pembe -pdfjs-editor-colorpicker-red = - .title = Kırmızı - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Tümünü göster -pdfjs-editor-highlight-show-all-button = - .title = Tümünü göster diff --git a/media/js/pdf4/web/locale/trs/viewer.ftl b/media/js/pdf4/web/locale/trs/viewer.ftl deleted file mode 100644 index aba3c72a93..0000000000 --- a/media/js/pdf4/web/locale/trs/viewer.ftl +++ /dev/null @@ -1,197 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Pajinâ gunâj rukùu -pdfjs-previous-button-label = Sa gachin -pdfjs-next-button = - .title = Pajinâ 'na' ñaan -pdfjs-next-button-label = Ne' ñaan -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Ñanj -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = si'iaj { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount }) -pdfjs-zoom-out-button = - .title = Nagi'iaj li' -pdfjs-zoom-out-button-label = Nagi'iaj li' -pdfjs-zoom-in-button = - .title = Nagi'iaj niko' -pdfjs-zoom-in-button-label = Nagi'iaj niko' -pdfjs-zoom-select = - .title = dàj nìko ma'an -pdfjs-presentation-mode-button = - .title = Naduno' daj ga ma -pdfjs-presentation-mode-button-label = Daj gà ma -pdfjs-open-file-button = - .title = Na'nïn' chrû ñanj -pdfjs-open-file-button-label = Na'nïn -pdfjs-print-button = - .title = Nari' ña du'ua -pdfjs-print-button-label = Nari' ñadu'ua - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Rasun -pdfjs-tools-button-label = Nej rasùun -pdfjs-first-page-button = - .title = gun' riña pajina asiniin -pdfjs-first-page-button-label = Gun' riña pajina asiniin -pdfjs-last-page-button = - .title = Gun' riña pajina rukù ni'in -pdfjs-last-page-button-label = Gun' riña pajina rukù ni'inj -pdfjs-page-rotate-cw-button = - .title = Tanikaj ne' huat -pdfjs-page-rotate-cw-button-label = Tanikaj ne' huat -pdfjs-page-rotate-ccw-button = - .title = Tanikaj ne' chînt' -pdfjs-page-rotate-ccw-button-label = Tanikaj ne' chint -pdfjs-cursor-text-select-tool-button = - .title = Dugi'iaj sun' sa ganahui texto -pdfjs-cursor-text-select-tool-button-label = Nej rasun arajsun' da' nahui' texto -pdfjs-cursor-hand-tool-button = - .title = Nachrun' nej rasun -pdfjs-cursor-hand-tool-button-label = Sa rajsun ro'o' -pdfjs-scroll-vertical-button = - .title = Garasun' dukuán runūu -pdfjs-scroll-vertical-button-label = Dukuán runūu -pdfjs-scroll-horizontal-button = - .title = Garasun' dukuán nikin' nahui -pdfjs-scroll-horizontal-button-label = Dukuán nikin' nahui -pdfjs-scroll-wrapped-button = - .title = Garasun' sa nachree -pdfjs-scroll-wrapped-button-label = Sa nachree -pdfjs-spread-none-button = - .title = Si nagi'iaj nugun'un' nej pagina hua ninin -pdfjs-spread-none-button-label = Ni'io daj hua pagina -pdfjs-spread-odd-button = - .title = Nagi'iaj nugua'ant nej pajina -pdfjs-spread-odd-button-label = Ni'io' daj hua libro gurin -pdfjs-spread-even-button = - .title = Nakāj dugui' ngà nej pajinâ ayi'ì ngà da' hùi hùi -pdfjs-spread-even-button-label = Nahuin nìko nej - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Nej sa nikāj ñanj… -pdfjs-document-properties-button-label = Nej sa nikāj ñanj… -pdfjs-document-properties-file-name = Si yugui archîbo: -pdfjs-document-properties-file-size = Dàj yachìj archîbo: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Si yugui: -pdfjs-document-properties-author = Sí girirà: -pdfjs-document-properties-subject = Dugui': -pdfjs-document-properties-keywords = Nej nuguan' huìi: -pdfjs-document-properties-creation-date = Gui gurugui' man: -pdfjs-document-properties-modification-date = Nuguan' nahuin nakà: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Guiri ro' -pdfjs-document-properties-producer = Sa ri PDF: -pdfjs-document-properties-version = PDF Version: -pdfjs-document-properties-page-count = Si Guendâ Pâjina: -pdfjs-document-properties-page-size = Dàj yachìj pâjina: -pdfjs-document-properties-page-size-unit-inches = riña -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = nadu'ua -pdfjs-document-properties-page-size-orientation-landscape = dàj huaj -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Da'ngà'a -pdfjs-document-properties-page-size-name-legal = Nuguan' a'nï'ïn - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Nanèt chre ni'iajt riña Web: -pdfjs-document-properties-linearized-yes = Ga'ue -pdfjs-document-properties-linearized-no = Si ga'ue -pdfjs-document-properties-close-button = Narán - -## Print - -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Duyichin' - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Nadunā barrâ nù yi'nïn -pdfjs-toggle-sidebar-button-label = Nadunā barrâ nù yi'nïn -pdfjs-findbar-button-label = Narì' - -## Thumbnails panel item (tooltip and alt text for images) - - -## Find panel button title and messages - -pdfjs-find-previous-button-label = Sa gachîn -pdfjs-find-next-button-label = Ne' ñaan -pdfjs-find-highlight-checkbox = Daran' sa ña'an -pdfjs-find-match-case-checkbox-label = Match case -pdfjs-find-not-found = Nu narì'ij nugua'anj - -## Predefined zoom values - -pdfjs-page-scale-actual = Dàj yàchi akuan' nín -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - - -## Annotations - - -## Password - -pdfjs-password-ok-button = Ga'ue -pdfjs-password-cancel-button = Duyichin' - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/uk/viewer.ftl b/media/js/pdf4/web/locale/uk/viewer.ftl deleted file mode 100644 index d663e675c8..0000000000 --- a/media/js/pdf4/web/locale/uk/viewer.ftl +++ /dev/null @@ -1,398 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Попередня сторінка -pdfjs-previous-button-label = Попередня -pdfjs-next-button = - .title = Наступна сторінка -pdfjs-next-button-label = Наступна -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Сторінка -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = із { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } із { $pagesCount }) -pdfjs-zoom-out-button = - .title = Зменшити -pdfjs-zoom-out-button-label = Зменшити -pdfjs-zoom-in-button = - .title = Збільшити -pdfjs-zoom-in-button-label = Збільшити -pdfjs-zoom-select = - .title = Масштаб -pdfjs-presentation-mode-button = - .title = Перейти в режим презентації -pdfjs-presentation-mode-button-label = Режим презентації -pdfjs-open-file-button = - .title = Відкрити файл -pdfjs-open-file-button-label = Відкрити -pdfjs-print-button = - .title = Друк -pdfjs-print-button-label = Друк -pdfjs-save-button = - .title = Зберегти -pdfjs-save-button-label = Зберегти -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Завантажити -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Завантажити -pdfjs-bookmark-button = - .title = Поточна сторінка (перегляд URL-адреси з поточної сторінки) -pdfjs-bookmark-button-label = Поточна сторінка - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Інструменти -pdfjs-tools-button-label = Інструменти -pdfjs-first-page-button = - .title = На першу сторінку -pdfjs-first-page-button-label = На першу сторінку -pdfjs-last-page-button = - .title = На останню сторінку -pdfjs-last-page-button-label = На останню сторінку -pdfjs-page-rotate-cw-button = - .title = Повернути за годинниковою стрілкою -pdfjs-page-rotate-cw-button-label = Повернути за годинниковою стрілкою -pdfjs-page-rotate-ccw-button = - .title = Повернути проти годинникової стрілки -pdfjs-page-rotate-ccw-button-label = Повернути проти годинникової стрілки -pdfjs-cursor-text-select-tool-button = - .title = Увімкнути інструмент вибору тексту -pdfjs-cursor-text-select-tool-button-label = Інструмент вибору тексту -pdfjs-cursor-hand-tool-button = - .title = Увімкнути інструмент "Рука" -pdfjs-cursor-hand-tool-button-label = Інструмент "Рука" -pdfjs-scroll-page-button = - .title = Використовувати прокручування сторінки -pdfjs-scroll-page-button-label = Прокручування сторінки -pdfjs-scroll-vertical-button = - .title = Використовувати вертикальне прокручування -pdfjs-scroll-vertical-button-label = Вертикальне прокручування -pdfjs-scroll-horizontal-button = - .title = Використовувати горизонтальне прокручування -pdfjs-scroll-horizontal-button-label = Горизонтальне прокручування -pdfjs-scroll-wrapped-button = - .title = Використовувати масштабоване прокручування -pdfjs-scroll-wrapped-button-label = Масштабоване прокручування -pdfjs-spread-none-button = - .title = Не використовувати розгорнуті сторінки -pdfjs-spread-none-button-label = Без розгорнутих сторінок -pdfjs-spread-odd-button = - .title = Розгорнуті сторінки починаються з непарних номерів -pdfjs-spread-odd-button-label = Непарні сторінки зліва -pdfjs-spread-even-button = - .title = Розгорнуті сторінки починаються з парних номерів -pdfjs-spread-even-button-label = Парні сторінки зліва - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Властивості документа… -pdfjs-document-properties-button-label = Властивості документа… -pdfjs-document-properties-file-name = Назва файлу: -pdfjs-document-properties-file-size = Розмір файлу: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } КБ ({ $size_b } байтів) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } МБ ({ $size_b } байтів) -pdfjs-document-properties-title = Заголовок: -pdfjs-document-properties-author = Автор: -pdfjs-document-properties-subject = Тема: -pdfjs-document-properties-keywords = Ключові слова: -pdfjs-document-properties-creation-date = Дата створення: -pdfjs-document-properties-modification-date = Дата зміни: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Створено: -pdfjs-document-properties-producer = Виробник PDF: -pdfjs-document-properties-version = Версія PDF: -pdfjs-document-properties-page-count = Кількість сторінок: -pdfjs-document-properties-page-size = Розмір сторінки: -pdfjs-document-properties-page-size-unit-inches = дюймів -pdfjs-document-properties-page-size-unit-millimeters = мм -pdfjs-document-properties-page-size-orientation-portrait = книжкова -pdfjs-document-properties-page-size-orientation-landscape = альбомна -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Швидкий перегляд в Інтернеті: -pdfjs-document-properties-linearized-yes = Так -pdfjs-document-properties-linearized-no = Ні -pdfjs-document-properties-close-button = Закрити - -## Print - -pdfjs-print-progress-message = Підготовка документу до друку… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Скасувати -pdfjs-printing-not-supported = Попередження: Цей браузер не повністю підтримує друк. -pdfjs-printing-not-ready = Попередження: PDF не повністю завантажений для друку. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Бічна панель -pdfjs-toggle-sidebar-notification-button = - .title = Перемкнути бічну панель (документ містить ескіз/вкладення/шари) -pdfjs-toggle-sidebar-button-label = Перемкнути бічну панель -pdfjs-document-outline-button = - .title = Показати схему документу (подвійний клік для розгортання/згортання елементів) -pdfjs-document-outline-button-label = Схема документа -pdfjs-attachments-button = - .title = Показати вкладення -pdfjs-attachments-button-label = Вкладення -pdfjs-layers-button = - .title = Показати шари (двічі клацніть, щоб скинути всі шари до типового стану) -pdfjs-layers-button-label = Шари -pdfjs-thumbs-button = - .title = Показати мініатюри -pdfjs-thumbs-button-label = Мініатюри -pdfjs-current-outline-item-button = - .title = Знайти поточний елемент змісту -pdfjs-current-outline-item-button-label = Поточний елемент змісту -pdfjs-findbar-button = - .title = Знайти в документі -pdfjs-findbar-button-label = Знайти -pdfjs-additional-layers = Додаткові шари - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Сторінка { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Ескіз сторінки { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Знайти - .placeholder = Знайти в документі… -pdfjs-find-previous-button = - .title = Знайти попереднє входження фрази -pdfjs-find-previous-button-label = Попереднє -pdfjs-find-next-button = - .title = Знайти наступне входження фрази -pdfjs-find-next-button-label = Наступне -pdfjs-find-highlight-checkbox = Підсвітити все -pdfjs-find-match-case-checkbox-label = З урахуванням регістру -pdfjs-find-match-diacritics-checkbox-label = Відповідність діакритичних знаків -pdfjs-find-entire-word-checkbox-label = Цілі слова -pdfjs-find-reached-top = Досягнуто початку документу, продовжено з кінця -pdfjs-find-reached-bottom = Досягнуто кінця документу, продовжено з початку -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = - { $total -> - [one] { $current } збіг з { $total } - [few] { $current } збіги з { $total } - *[many] { $current } збігів з { $total } - } -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = - { $limit -> - [one] Понад { $limit } збіг - [few] Понад { $limit } збіги - *[many] Понад { $limit } збігів - } -pdfjs-find-not-found = Фразу не знайдено - -## Predefined zoom values - -pdfjs-page-scale-width = За шириною -pdfjs-page-scale-fit = Вмістити -pdfjs-page-scale-auto = Автомасштаб -pdfjs-page-scale-actual = Дійсний розмір -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Сторінка { $page } - -## Loading indicator messages - -pdfjs-loading-error = Під час завантаження PDF сталася помилка. -pdfjs-invalid-file-error = Недійсний або пошкоджений PDF-файл. -pdfjs-missing-file-error = Відсутній PDF-файл. -pdfjs-unexpected-response-error = Неочікувана відповідь сервера. -pdfjs-rendering-error = Під час виведення сторінки сталася помилка. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type }-анотація] - -## Password - -pdfjs-password-label = Введіть пароль для відкриття цього PDF-файлу. -pdfjs-password-invalid = Неправильний пароль. Спробуйте ще раз. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Скасувати -pdfjs-web-fonts-disabled = Веб-шрифти вимкнено: неможливо використати вбудовані у PDF шрифти. - -## Editing - -pdfjs-editor-free-text-button = - .title = Текст -pdfjs-editor-free-text-button-label = Текст -pdfjs-editor-ink-button = - .title = Малювати -pdfjs-editor-ink-button-label = Малювати -pdfjs-editor-stamp-button = - .title = Додати чи редагувати зображення -pdfjs-editor-stamp-button-label = Додати чи редагувати зображення -pdfjs-editor-highlight-button = - .title = Підсвітити -pdfjs-editor-highlight-button-label = Підсвітити -pdfjs-highlight-floating-button = - .title = Підсвітити -pdfjs-highlight-floating-button1 = - .title = Підсвітити - .aria-label = Підсвітити -pdfjs-highlight-floating-button-label = Підсвітити - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Вилучити малюнок -pdfjs-editor-remove-freetext-button = - .title = Вилучити текст -pdfjs-editor-remove-stamp-button = - .title = Вилучити зображення -pdfjs-editor-remove-highlight-button = - .title = Вилучити підсвічування - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Колір -pdfjs-editor-free-text-size-input = Розмір -pdfjs-editor-ink-color-input = Колір -pdfjs-editor-ink-thickness-input = Товщина -pdfjs-editor-ink-opacity-input = Прозорість -pdfjs-editor-stamp-add-image-button = - .title = Додати зображення -pdfjs-editor-stamp-add-image-button-label = Додати зображення -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Товщина -pdfjs-editor-free-highlight-thickness-title = - .title = Змінюйте товщину під час підсвічування елементів, крім тексту -pdfjs-free-text = - .aria-label = Текстовий редактор -pdfjs-free-text-default-content = Почніть вводити… -pdfjs-ink = - .aria-label = Графічний редактор -pdfjs-ink-canvas = - .aria-label = Зображення, створене користувачем - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Альтернативний текст -pdfjs-editor-alt-text-edit-button-label = Змінити альтернативний текст -pdfjs-editor-alt-text-dialog-label = Вибрати варіант -pdfjs-editor-alt-text-dialog-description = Альтернативний текст допомагає, коли зображення не видно або коли воно не завантажується. -pdfjs-editor-alt-text-add-description-label = Додати опис -pdfjs-editor-alt-text-add-description-description = Намагайтеся створити 1-2 речення, які описують тему, обставини або дії. -pdfjs-editor-alt-text-mark-decorative-label = Позначити декоративним -pdfjs-editor-alt-text-mark-decorative-description = Використовується для декоративних зображень, наприклад рамок або водяних знаків. -pdfjs-editor-alt-text-cancel-button = Скасувати -pdfjs-editor-alt-text-save-button = Зберегти -pdfjs-editor-alt-text-decorative-tooltip = Позначено декоративним -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Наприклад, “Молодий чоловік сідає за стіл їсти” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Верхній лівий кут – зміна розміру -pdfjs-editor-resizer-label-top-middle = Вгорі посередині – зміна розміру -pdfjs-editor-resizer-label-top-right = Верхній правий кут – зміна розміру -pdfjs-editor-resizer-label-middle-right = Праворуч посередині – зміна розміру -pdfjs-editor-resizer-label-bottom-right = Нижній правий кут – зміна розміру -pdfjs-editor-resizer-label-bottom-middle = Внизу посередині – зміна розміру -pdfjs-editor-resizer-label-bottom-left = Нижній лівий кут – зміна розміру -pdfjs-editor-resizer-label-middle-left = Ліворуч посередині – зміна розміру - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Колір підсвічування -pdfjs-editor-colorpicker-button = - .title = Змінити колір -pdfjs-editor-colorpicker-dropdown = - .aria-label = Вибір кольору -pdfjs-editor-colorpicker-yellow = - .title = Жовтий -pdfjs-editor-colorpicker-green = - .title = Зелений -pdfjs-editor-colorpicker-blue = - .title = Блакитний -pdfjs-editor-colorpicker-pink = - .title = Рожевий -pdfjs-editor-colorpicker-red = - .title = Червоний - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Показати все -pdfjs-editor-highlight-show-all-button = - .title = Показати все diff --git a/media/js/pdf4/web/locale/ur/viewer.ftl b/media/js/pdf4/web/locale/ur/viewer.ftl deleted file mode 100644 index c15f157e78..0000000000 --- a/media/js/pdf4/web/locale/ur/viewer.ftl +++ /dev/null @@ -1,248 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = پچھلا صفحہ -pdfjs-previous-button-label = پچھلا -pdfjs-next-button = - .title = اگلا صفحہ -pdfjs-next-button-label = آگے -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = صفحہ -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = { $pagesCount } کا -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } کا { $pagesCount }) -pdfjs-zoom-out-button = - .title = باہر زوم کریں -pdfjs-zoom-out-button-label = باہر زوم کریں -pdfjs-zoom-in-button = - .title = اندر زوم کریں -pdfjs-zoom-in-button-label = اندر زوم کریں -pdfjs-zoom-select = - .title = زوم -pdfjs-presentation-mode-button = - .title = پیشکش موڈ میں چلے جائیں -pdfjs-presentation-mode-button-label = پیشکش موڈ -pdfjs-open-file-button = - .title = مسل کھولیں -pdfjs-open-file-button-label = کھولیں -pdfjs-print-button = - .title = چھاپیں -pdfjs-print-button-label = چھاپیں - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = آلات -pdfjs-tools-button-label = آلات -pdfjs-first-page-button = - .title = پہلے صفحہ پر جائیں -pdfjs-first-page-button-label = پہلے صفحہ پر جائیں -pdfjs-last-page-button = - .title = آخری صفحہ پر جائیں -pdfjs-last-page-button-label = آخری صفحہ پر جائیں -pdfjs-page-rotate-cw-button = - .title = گھڑی وار گھمائیں -pdfjs-page-rotate-cw-button-label = گھڑی وار گھمائیں -pdfjs-page-rotate-ccw-button = - .title = ضد گھڑی وار گھمائیں -pdfjs-page-rotate-ccw-button-label = ضد گھڑی وار گھمائیں -pdfjs-cursor-text-select-tool-button = - .title = متن کے انتخاب کے ٹول کو فعال بناے -pdfjs-cursor-text-select-tool-button-label = متن کے انتخاب کا آلہ -pdfjs-cursor-hand-tool-button = - .title = ہینڈ ٹول کو فعال بناییں -pdfjs-cursor-hand-tool-button-label = ہاتھ کا آلہ -pdfjs-scroll-vertical-button = - .title = عمودی اسکرولنگ کا استعمال کریں -pdfjs-scroll-vertical-button-label = عمودی اسکرولنگ -pdfjs-scroll-horizontal-button = - .title = افقی سکرولنگ کا استعمال کریں -pdfjs-scroll-horizontal-button-label = افقی سکرولنگ -pdfjs-spread-none-button = - .title = صفحہ پھیلانے میں شامل نہ ہوں -pdfjs-spread-none-button-label = کوئی پھیلاؤ نہیں -pdfjs-spread-odd-button-label = تاک پھیلاؤ -pdfjs-spread-even-button-label = جفت پھیلاؤ - -## Document properties dialog - -pdfjs-document-properties-button = - .title = دستاویز خواص… -pdfjs-document-properties-button-label = دستاویز خواص… -pdfjs-document-properties-file-name = نام مسل: -pdfjs-document-properties-file-size = مسل سائز: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = عنوان: -pdfjs-document-properties-author = تخلیق کار: -pdfjs-document-properties-subject = موضوع: -pdfjs-document-properties-keywords = کلیدی الفاظ: -pdfjs-document-properties-creation-date = تخلیق کی تاریخ: -pdfjs-document-properties-modification-date = ترمیم کی تاریخ: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }، { $time } -pdfjs-document-properties-creator = تخلیق کار: -pdfjs-document-properties-producer = PDF پیدا کار: -pdfjs-document-properties-version = PDF ورژن: -pdfjs-document-properties-page-count = صفحہ شمار: -pdfjs-document-properties-page-size = صفہ کی لمبائ: -pdfjs-document-properties-page-size-unit-inches = میں -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = عمودی انداز -pdfjs-document-properties-page-size-orientation-landscape = افقى انداز -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = خط -pdfjs-document-properties-page-size-name-legal = قانونی - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } { $name } { $orientation } - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = تیز ویب دیکھیں: -pdfjs-document-properties-linearized-yes = ہاں -pdfjs-document-properties-linearized-no = نہیں -pdfjs-document-properties-close-button = بند کریں - -## Print - -pdfjs-print-progress-message = چھاپنے کرنے کے لیے دستاویز تیار کیے جا رھے ھیں -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = *{ $progress }%* -pdfjs-print-progress-close-button = منسوخ کریں -pdfjs-printing-not-supported = تنبیہ:چھاپنا اس براؤزر پر پوری طرح معاونت شدہ نہیں ہے۔ -pdfjs-printing-not-ready = تنبیہ: PDF چھپائی کے لیے پوری طرح لوڈ نہیں ہوئی۔ - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = سلائیڈ ٹوگل کریں -pdfjs-toggle-sidebar-button-label = سلائیڈ ٹوگل کریں -pdfjs-document-outline-button = - .title = دستاویز کی سرخیاں دکھایں (تمام اشیاء وسیع / غائب کرنے کے لیے ڈبل کلک کریں) -pdfjs-document-outline-button-label = دستاویز آؤٹ لائن -pdfjs-attachments-button = - .title = منسلکات دکھائیں -pdfjs-attachments-button-label = منسلکات -pdfjs-thumbs-button = - .title = تھمبنیل دکھائیں -pdfjs-thumbs-button-label = مجمل -pdfjs-findbar-button = - .title = دستاویز میں ڈھونڈیں -pdfjs-findbar-button-label = ڈھونڈیں - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = صفحہ { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = صفحے کا مجمل { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = ڈھونڈیں - .placeholder = دستاویز… میں ڈھونڈیں -pdfjs-find-previous-button = - .title = فقرے کا پچھلا وقوع ڈھونڈیں -pdfjs-find-previous-button-label = پچھلا -pdfjs-find-next-button = - .title = فقرے کا اگلہ وقوع ڈھونڈیں -pdfjs-find-next-button-label = آگے -pdfjs-find-highlight-checkbox = تمام نمایاں کریں -pdfjs-find-match-case-checkbox-label = حروف مشابہ کریں -pdfjs-find-entire-word-checkbox-label = تمام الفاظ -pdfjs-find-reached-top = صفحہ کے شروع پر پہنچ گیا، نیچے سے جاری کیا -pdfjs-find-reached-bottom = صفحہ کے اختتام پر پہنچ گیا، اوپر سے جاری کیا -pdfjs-find-not-found = فقرا نہیں ملا - -## Predefined zoom values - -pdfjs-page-scale-width = صفحہ چوڑائی -pdfjs-page-scale-fit = صفحہ فٹنگ -pdfjs-page-scale-auto = خودکار زوم -pdfjs-page-scale-actual = اصل سائز -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = صفحہ { $page } - -## Loading indicator messages - -pdfjs-loading-error = PDF لوڈ کرتے وقت نقص آ گیا۔ -pdfjs-invalid-file-error = ناجائز یا خراب PDF مسل -pdfjs-missing-file-error = PDF مسل غائب ہے۔ -pdfjs-unexpected-response-error = غیرمتوقع پیش کار جواب -pdfjs-rendering-error = صفحہ بناتے ہوئے نقص آ گیا۔ - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }.{ $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } نوٹ] - -## Password - -pdfjs-password-label = PDF مسل کھولنے کے لیے پاس ورڈ داخل کریں. -pdfjs-password-invalid = ناجائز پاس ورڈ. براےؑ کرم دوبارہ کوشش کریں. -pdfjs-password-ok-button = ٹھیک ہے -pdfjs-password-cancel-button = منسوخ کریں -pdfjs-web-fonts-disabled = ویب فانٹ نا اہل ہیں: شامل PDF فانٹ استعمال کرنے میں ناکام۔ - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/uz/viewer.ftl b/media/js/pdf4/web/locale/uz/viewer.ftl deleted file mode 100644 index fb82f22d41..0000000000 --- a/media/js/pdf4/web/locale/uz/viewer.ftl +++ /dev/null @@ -1,187 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Oldingi sahifa -pdfjs-previous-button-label = Oldingi -pdfjs-next-button = - .title = Keyingi sahifa -pdfjs-next-button-label = Keyingi -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = /{ $pagesCount } -pdfjs-zoom-out-button = - .title = Kichiklashtirish -pdfjs-zoom-out-button-label = Kichiklashtirish -pdfjs-zoom-in-button = - .title = Kattalashtirish -pdfjs-zoom-in-button-label = Kattalashtirish -pdfjs-zoom-select = - .title = Masshtab -pdfjs-presentation-mode-button = - .title = Namoyish usuliga oʻtish -pdfjs-presentation-mode-button-label = Namoyish usuli -pdfjs-open-file-button = - .title = Faylni ochish -pdfjs-open-file-button-label = Ochish -pdfjs-print-button = - .title = Chop qilish -pdfjs-print-button-label = Chop qilish - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Vositalar -pdfjs-tools-button-label = Vositalar -pdfjs-first-page-button = - .title = Birinchi sahifaga oʻtish -pdfjs-first-page-button-label = Birinchi sahifaga oʻtish -pdfjs-last-page-button = - .title = Soʻnggi sahifaga oʻtish -pdfjs-last-page-button-label = Soʻnggi sahifaga oʻtish -pdfjs-page-rotate-cw-button = - .title = Soat yoʻnalishi boʻyicha burish -pdfjs-page-rotate-cw-button-label = Soat yoʻnalishi boʻyicha burish -pdfjs-page-rotate-ccw-button = - .title = Soat yoʻnalishiga qarshi burish -pdfjs-page-rotate-ccw-button-label = Soat yoʻnalishiga qarshi burish - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Hujjat xossalari -pdfjs-document-properties-button-label = Hujjat xossalari -pdfjs-document-properties-file-name = Fayl nomi: -pdfjs-document-properties-file-size = Fayl hajmi: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes) -pdfjs-document-properties-title = Nomi: -pdfjs-document-properties-author = Muallifi: -pdfjs-document-properties-subject = Mavzusi: -pdfjs-document-properties-keywords = Kalit so‘zlar -pdfjs-document-properties-creation-date = Yaratilgan sanasi: -pdfjs-document-properties-modification-date = O‘zgartirilgan sanasi -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Yaratuvchi: -pdfjs-document-properties-producer = PDF ishlab chiqaruvchi: -pdfjs-document-properties-version = PDF versiyasi: -pdfjs-document-properties-page-count = Sahifa soni: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = Yopish - -## Print - -pdfjs-printing-not-supported = Diqqat: chop qilish bruzer tomonidan toʻliq qoʻllab-quvvatlanmaydi. -pdfjs-printing-not-ready = Diqqat: PDF fayl chop qilish uchun toʻliq yuklanmadi. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Yon panelni yoqib/oʻchirib qoʻyish -pdfjs-toggle-sidebar-button-label = Yon panelni yoqib/oʻchirib qoʻyish -pdfjs-document-outline-button-label = Hujjat tuzilishi -pdfjs-attachments-button = - .title = Ilovalarni ko‘rsatish -pdfjs-attachments-button-label = Ilovalar -pdfjs-thumbs-button = - .title = Nishonchalarni koʻrsatish -pdfjs-thumbs-button-label = Nishoncha -pdfjs-findbar-button = - .title = Hujjat ichidan topish - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = { $page } sahifa -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = { $page } sahifa nishonchasi - -## Find panel button title and messages - -pdfjs-find-previous-button = - .title = Soʻzlardagi oldingi hodisani topish -pdfjs-find-previous-button-label = Oldingi -pdfjs-find-next-button = - .title = Iboradagi keyingi hodisani topish -pdfjs-find-next-button-label = Keyingi -pdfjs-find-highlight-checkbox = Barchasini ajratib koʻrsatish -pdfjs-find-match-case-checkbox-label = Katta-kichik harflarni farqlash -pdfjs-find-reached-top = Hujjatning boshigacha yetib keldik, pastdan davom ettiriladi -pdfjs-find-reached-bottom = Hujjatning oxiriga yetib kelindi, yuqoridan davom ettirladi -pdfjs-find-not-found = Soʻzlar topilmadi - -## Predefined zoom values - -pdfjs-page-scale-width = Sahifa eni -pdfjs-page-scale-fit = Sahifani moslashtirish -pdfjs-page-scale-auto = Avtomatik masshtab -pdfjs-page-scale-actual = Haqiqiy hajmi -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = PDF yuklanayotganda xato yuz berdi. -pdfjs-invalid-file-error = Xato yoki buzuq PDF fayli. -pdfjs-missing-file-error = PDF fayl kerak. -pdfjs-unexpected-response-error = Kutilmagan server javobi. -pdfjs-rendering-error = Sahifa renderlanayotganda xato yuz berdi. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Annotation] - -## Password - -pdfjs-password-label = PDF faylni ochish uchun parolni kiriting. -pdfjs-password-invalid = Parol - notoʻgʻri. Qaytadan urinib koʻring. -pdfjs-password-ok-button = OK -pdfjs-web-fonts-disabled = Veb shriftlar oʻchirilgan: ichki PDF shriftlardan foydalanib boʻlmmaydi. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/vi/viewer.ftl b/media/js/pdf4/web/locale/vi/viewer.ftl deleted file mode 100644 index 4c53f75b26..0000000000 --- a/media/js/pdf4/web/locale/vi/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Trang trước -pdfjs-previous-button-label = Trước -pdfjs-next-button = - .title = Trang Sau -pdfjs-next-button-label = Tiếp -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Trang -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = trên { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } trên { $pagesCount }) -pdfjs-zoom-out-button = - .title = Thu nhỏ -pdfjs-zoom-out-button-label = Thu nhỏ -pdfjs-zoom-in-button = - .title = Phóng to -pdfjs-zoom-in-button-label = Phóng to -pdfjs-zoom-select = - .title = Thu phóng -pdfjs-presentation-mode-button = - .title = Chuyển sang chế độ trình chiếu -pdfjs-presentation-mode-button-label = Chế độ trình chiếu -pdfjs-open-file-button = - .title = Mở tập tin -pdfjs-open-file-button-label = Mở tập tin -pdfjs-print-button = - .title = In -pdfjs-print-button-label = In -pdfjs-save-button = - .title = Lưu -pdfjs-save-button-label = Lưu -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = Tải xuống -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = Tải xuống -pdfjs-bookmark-button = - .title = Trang hiện tại (xem URL từ trang hiện tại) -pdfjs-bookmark-button-label = Trang hiện tại -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = Mở trong ứng dụng -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = Mở trong ứng dụng - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Công cụ -pdfjs-tools-button-label = Công cụ -pdfjs-first-page-button = - .title = Về trang đầu -pdfjs-first-page-button-label = Về trang đầu -pdfjs-last-page-button = - .title = Đến trang cuối -pdfjs-last-page-button-label = Đến trang cuối -pdfjs-page-rotate-cw-button = - .title = Xoay theo chiều kim đồng hồ -pdfjs-page-rotate-cw-button-label = Xoay theo chiều kim đồng hồ -pdfjs-page-rotate-ccw-button = - .title = Xoay ngược chiều kim đồng hồ -pdfjs-page-rotate-ccw-button-label = Xoay ngược chiều kim đồng hồ -pdfjs-cursor-text-select-tool-button = - .title = Kích hoạt công cụ chọn vùng văn bản -pdfjs-cursor-text-select-tool-button-label = Công cụ chọn vùng văn bản -pdfjs-cursor-hand-tool-button = - .title = Kích hoạt công cụ con trỏ -pdfjs-cursor-hand-tool-button-label = Công cụ con trỏ -pdfjs-scroll-page-button = - .title = Sử dụng cuộn trang hiện tại -pdfjs-scroll-page-button-label = Cuộn trang hiện tại -pdfjs-scroll-vertical-button = - .title = Sử dụng cuộn dọc -pdfjs-scroll-vertical-button-label = Cuộn dọc -pdfjs-scroll-horizontal-button = - .title = Sử dụng cuộn ngang -pdfjs-scroll-horizontal-button-label = Cuộn ngang -pdfjs-scroll-wrapped-button = - .title = Sử dụng cuộn ngắt dòng -pdfjs-scroll-wrapped-button-label = Cuộn ngắt dòng -pdfjs-spread-none-button = - .title = Không nối rộng trang -pdfjs-spread-none-button-label = Không có phân cách -pdfjs-spread-odd-button = - .title = Nối trang bài bắt đầu với các trang được đánh số lẻ -pdfjs-spread-odd-button-label = Phân cách theo số lẻ -pdfjs-spread-even-button = - .title = Nối trang bài bắt đầu với các trang được đánh số chẵn -pdfjs-spread-even-button-label = Phân cách theo số chẵn - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Thuộc tính của tài liệu… -pdfjs-document-properties-button-label = Thuộc tính của tài liệu… -pdfjs-document-properties-file-name = Tên tập tin: -pdfjs-document-properties-file-size = Kích thước: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } byte) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } byte) -pdfjs-document-properties-title = Tiêu đề: -pdfjs-document-properties-author = Tác giả: -pdfjs-document-properties-subject = Chủ đề: -pdfjs-document-properties-keywords = Từ khóa: -pdfjs-document-properties-creation-date = Ngày tạo: -pdfjs-document-properties-modification-date = Ngày sửa đổi: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Người tạo: -pdfjs-document-properties-producer = Phần mềm tạo PDF: -pdfjs-document-properties-version = Phiên bản PDF: -pdfjs-document-properties-page-count = Tổng số trang: -pdfjs-document-properties-page-size = Kích thước trang: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = khổ dọc -pdfjs-document-properties-page-size-orientation-landscape = khổ ngang -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Thư -pdfjs-document-properties-page-size-name-legal = Pháp lý - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit } ({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit } ({ $name }, { $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = Xem nhanh trên web: -pdfjs-document-properties-linearized-yes = Có -pdfjs-document-properties-linearized-no = Không -pdfjs-document-properties-close-button = Ðóng - -## Print - -pdfjs-print-progress-message = Chuẩn bị trang để in… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Hủy bỏ -pdfjs-printing-not-supported = Cảnh báo: In ấn không được hỗ trợ đầy đủ ở trình duyệt này. -pdfjs-printing-not-ready = Cảnh báo: PDF chưa được tải hết để in. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Bật/Tắt thanh lề -pdfjs-toggle-sidebar-notification-button = - .title = Bật tắt thanh lề (tài liệu bao gồm bản phác thảo/tập tin đính kèm/lớp) -pdfjs-toggle-sidebar-button-label = Bật/Tắt thanh lề -pdfjs-document-outline-button = - .title = Hiển thị tài liệu phác thảo (nhấp đúp vào để mở rộng/thu gọn tất cả các mục) -pdfjs-document-outline-button-label = Bản phác tài liệu -pdfjs-attachments-button = - .title = Hiện nội dung đính kèm -pdfjs-attachments-button-label = Nội dung đính kèm -pdfjs-layers-button = - .title = Hiển thị các lớp (nhấp đúp để đặt lại tất cả các lớp về trạng thái mặc định) -pdfjs-layers-button-label = Lớp -pdfjs-thumbs-button = - .title = Hiển thị ảnh thu nhỏ -pdfjs-thumbs-button-label = Ảnh thu nhỏ -pdfjs-current-outline-item-button = - .title = Tìm mục phác thảo hiện tại -pdfjs-current-outline-item-button-label = Mục phác thảo hiện tại -pdfjs-findbar-button = - .title = Tìm trong tài liệu -pdfjs-findbar-button-label = Tìm -pdfjs-additional-layers = Các lớp bổ sung - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Trang { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Ảnh thu nhỏ của trang { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Tìm - .placeholder = Tìm trong tài liệu… -pdfjs-find-previous-button = - .title = Tìm cụm từ ở phần trước -pdfjs-find-previous-button-label = Trước -pdfjs-find-next-button = - .title = Tìm cụm từ ở phần sau -pdfjs-find-next-button-label = Tiếp -pdfjs-find-highlight-checkbox = Đánh dấu tất cả -pdfjs-find-match-case-checkbox-label = Phân biệt hoa, thường -pdfjs-find-match-diacritics-checkbox-label = Khớp dấu phụ -pdfjs-find-entire-word-checkbox-label = Toàn bộ từ -pdfjs-find-reached-top = Đã đến phần đầu tài liệu, quay trở lại từ cuối -pdfjs-find-reached-bottom = Đã đến phần cuối của tài liệu, quay trở lại từ đầu -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = { $current } trên { $total } kết quả -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = Tìm thấy hơn { $limit } kết quả -pdfjs-find-not-found = Không tìm thấy cụm từ này - -## Predefined zoom values - -pdfjs-page-scale-width = Vừa chiều rộng -pdfjs-page-scale-fit = Vừa chiều cao -pdfjs-page-scale-auto = Tự động chọn kích thước -pdfjs-page-scale-actual = Kích thước thực -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = Trang { $page } - -## Loading indicator messages - -pdfjs-loading-error = Lỗi khi tải tài liệu PDF. -pdfjs-invalid-file-error = Tập tin PDF hỏng hoặc không hợp lệ. -pdfjs-missing-file-error = Thiếu tập tin PDF. -pdfjs-unexpected-response-error = Máy chủ có phản hồi lạ. -pdfjs-rendering-error = Lỗi khi hiển thị trang. - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date }, { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Chú thích] - -## Password - -pdfjs-password-label = Nhập mật khẩu để mở tập tin PDF này. -pdfjs-password-invalid = Mật khẩu không đúng. Vui lòng thử lại. -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Hủy bỏ -pdfjs-web-fonts-disabled = Phông chữ Web bị vô hiệu hóa: không thể sử dụng các phông chữ PDF được nhúng. - -## Editing - -pdfjs-editor-free-text-button = - .title = Văn bản -pdfjs-editor-free-text-button-label = Văn bản -pdfjs-editor-ink-button = - .title = Vẽ -pdfjs-editor-ink-button-label = Vẽ -pdfjs-editor-stamp-button = - .title = Thêm hoặc chỉnh sửa hình ảnh -pdfjs-editor-stamp-button-label = Thêm hoặc chỉnh sửa hình ảnh -pdfjs-editor-highlight-button = - .title = Đánh dấu -pdfjs-editor-highlight-button-label = Đánh dấu -pdfjs-highlight-floating-button = - .title = Đánh dấu -pdfjs-highlight-floating-button1 = - .title = Đánh dấu - .aria-label = Đánh dấu -pdfjs-highlight-floating-button-label = Đánh dấu - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = Xóa bản vẽ -pdfjs-editor-remove-freetext-button = - .title = Xóa văn bản -pdfjs-editor-remove-stamp-button = - .title = Xóa ảnh -pdfjs-editor-remove-highlight-button = - .title = Xóa phần đánh dấu - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = Màu -pdfjs-editor-free-text-size-input = Kích cỡ -pdfjs-editor-ink-color-input = Màu -pdfjs-editor-ink-thickness-input = Độ dày -pdfjs-editor-ink-opacity-input = Độ mờ -pdfjs-editor-stamp-add-image-button = - .title = Thêm hình ảnh -pdfjs-editor-stamp-add-image-button-label = Thêm hình ảnh -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = Độ dày -pdfjs-editor-free-highlight-thickness-title = - .title = Thay đổi độ dày khi đánh dấu các mục không phải là văn bản -pdfjs-free-text = - .aria-label = Trình sửa văn bản -pdfjs-free-text-default-content = Bắt đầu nhập… -pdfjs-ink = - .aria-label = Trình sửa nét vẽ -pdfjs-ink-canvas = - .aria-label = Hình ảnh do người dùng tạo - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = Văn bản thay thế -pdfjs-editor-alt-text-edit-button-label = Chỉnh sửa văn bản thay thế -pdfjs-editor-alt-text-dialog-label = Chọn một lựa chọn -pdfjs-editor-alt-text-dialog-description = Văn bản thay thế sẽ hữu ích khi mọi người không thể thấy hình ảnh hoặc khi hình ảnh không tải. -pdfjs-editor-alt-text-add-description-label = Thêm một mô tả -pdfjs-editor-alt-text-add-description-description = Hãy nhắm tới 1-2 câu mô tả chủ đề, bối cảnh hoặc hành động. -pdfjs-editor-alt-text-mark-decorative-label = Đánh dấu là trang trí -pdfjs-editor-alt-text-mark-decorative-description = Điều này được sử dụng cho các hình ảnh trang trí, như đường viền hoặc watermark. -pdfjs-editor-alt-text-cancel-button = Hủy bỏ -pdfjs-editor-alt-text-save-button = Lưu -pdfjs-editor-alt-text-decorative-tooltip = Đã đánh dấu là trang trí -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = Ví dụ: “Một thanh niên ngồi xuống bàn để thưởng thức một bữa ăn” - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = Trên cùng bên trái — thay đổi kích thước -pdfjs-editor-resizer-label-top-middle = Trên cùng ở giữa — thay đổi kích thước -pdfjs-editor-resizer-label-top-right = Trên cùng bên phải — thay đổi kích thước -pdfjs-editor-resizer-label-middle-right = Ở giữa bên phải — thay đổi kích thước -pdfjs-editor-resizer-label-bottom-right = Dưới cùng bên phải — thay đổi kích thước -pdfjs-editor-resizer-label-bottom-middle = Ở giữa dưới cùng — thay đổi kích thước -pdfjs-editor-resizer-label-bottom-left = Góc dưới bên trái — thay đổi kích thước -pdfjs-editor-resizer-label-middle-left = Ở giữa bên trái — thay đổi kích thước - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = Màu đánh dấu -pdfjs-editor-colorpicker-button = - .title = Thay đổi màu -pdfjs-editor-colorpicker-dropdown = - .aria-label = Lựa chọn màu sắc -pdfjs-editor-colorpicker-yellow = - .title = Vàng -pdfjs-editor-colorpicker-green = - .title = Xanh lục -pdfjs-editor-colorpicker-blue = - .title = Xanh dương -pdfjs-editor-colorpicker-pink = - .title = Hồng -pdfjs-editor-colorpicker-red = - .title = Đỏ - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = Hiện tất cả -pdfjs-editor-highlight-show-all-button = - .title = Hiện tất cả diff --git a/media/js/pdf4/web/locale/wo/viewer.ftl b/media/js/pdf4/web/locale/wo/viewer.ftl deleted file mode 100644 index d66c4591fc..0000000000 --- a/media/js/pdf4/web/locale/wo/viewer.ftl +++ /dev/null @@ -1,127 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Xët wi jiitu -pdfjs-previous-button-label = Bi jiitu -pdfjs-next-button = - .title = Xët wi ci topp -pdfjs-next-button-label = Bi ci topp -pdfjs-zoom-out-button = - .title = Wàññi -pdfjs-zoom-out-button-label = Wàññi -pdfjs-zoom-in-button = - .title = Yaatal -pdfjs-zoom-in-button-label = Yaatal -pdfjs-zoom-select = - .title = Yambalaŋ -pdfjs-presentation-mode-button = - .title = Wañarñil ci anamu wone -pdfjs-presentation-mode-button-label = Anamu Wone -pdfjs-open-file-button = - .title = Ubbi benn dencukaay -pdfjs-open-file-button-label = Ubbi -pdfjs-print-button = - .title = Móol -pdfjs-print-button-label = Móol - -## Secondary toolbar and context menu - - -## Document properties dialog - -pdfjs-document-properties-title = Bopp: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - - -## Print - -pdfjs-printing-not-supported = Artu: Joowkat bii nanguwul lool mool. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-thumbs-button = - .title = Wone nataal yu ndaw yi -pdfjs-thumbs-button-label = Nataal yu ndaw yi -pdfjs-findbar-button = - .title = Gis ci biir jukki bi -pdfjs-findbar-button-label = Wut - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Xët { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Wiñet bu xët { $page } - -## Find panel button title and messages - -pdfjs-find-previous-button = - .title = Seet beneen kaddu bu ni mel te jiitu -pdfjs-find-previous-button-label = Bi jiitu -pdfjs-find-next-button = - .title = Seet beneen kaddu bu ni mel -pdfjs-find-next-button-label = Bi ci topp -pdfjs-find-highlight-checkbox = Melaxal lépp -pdfjs-find-match-case-checkbox-label = Sàmm jëmmalin wi -pdfjs-find-reached-top = Jot nañu ndorteel xët wi, kontine dale ko ci suuf -pdfjs-find-reached-bottom = Jot nañu jeexitalu xët wi, kontine ci ndorte -pdfjs-find-not-found = Gisiñu kaddu gi - -## Predefined zoom values - -pdfjs-page-scale-width = Yaatuwaay bu mët -pdfjs-page-scale-fit = Xët lëmm -pdfjs-page-scale-auto = Yambalaŋ ci saa si -pdfjs-page-scale-actual = Dayo bi am - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Am na njumte ci yebum dencukaay PDF bi. -pdfjs-invalid-file-error = Dencukaay PDF bi baaxul walla mu sankar. -pdfjs-rendering-error = Am njumte bu am bi xët bi di wonewu. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [Karmat { $type }] - -## Password - -pdfjs-password-ok-button = OK -pdfjs-password-cancel-button = Neenal - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/xh/viewer.ftl b/media/js/pdf4/web/locale/xh/viewer.ftl deleted file mode 100644 index 079888733d..0000000000 --- a/media/js/pdf4/web/locale/xh/viewer.ftl +++ /dev/null @@ -1,212 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = Iphepha langaphambili -pdfjs-previous-button-label = Okwangaphambili -pdfjs-next-button = - .title = Iphepha elilandelayo -pdfjs-next-button-label = Okulandelayo -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = Iphepha -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = kwali- { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } kwali { $pagesCount }) -pdfjs-zoom-out-button = - .title = Bhekelisela Kudana -pdfjs-zoom-out-button-label = Bhekelisela Kudana -pdfjs-zoom-in-button = - .title = Sondeza Kufuphi -pdfjs-zoom-in-button-label = Sondeza Kufuphi -pdfjs-zoom-select = - .title = Yandisa / Nciphisa -pdfjs-presentation-mode-button = - .title = Tshintshela kwimo yonikezelo -pdfjs-presentation-mode-button-label = Imo yonikezelo -pdfjs-open-file-button = - .title = Vula Ifayile -pdfjs-open-file-button-label = Vula -pdfjs-print-button = - .title = Printa -pdfjs-print-button-label = Printa - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = Izixhobo zemiyalelo -pdfjs-tools-button-label = Izixhobo zemiyalelo -pdfjs-first-page-button = - .title = Yiya kwiphepha lokuqala -pdfjs-first-page-button-label = Yiya kwiphepha lokuqala -pdfjs-last-page-button = - .title = Yiya kwiphepha lokugqibela -pdfjs-last-page-button-label = Yiya kwiphepha lokugqibela -pdfjs-page-rotate-cw-button = - .title = Jikelisa ngasekunene -pdfjs-page-rotate-cw-button-label = Jikelisa ngasekunene -pdfjs-page-rotate-ccw-button = - .title = Jikelisa ngasekhohlo -pdfjs-page-rotate-ccw-button-label = Jikelisa ngasekhohlo -pdfjs-cursor-text-select-tool-button = - .title = Vumela iSixhobo sokuKhetha iTeksti -pdfjs-cursor-text-select-tool-button-label = ISixhobo sokuKhetha iTeksti -pdfjs-cursor-hand-tool-button = - .title = Yenza iSixhobo seSandla siSebenze -pdfjs-cursor-hand-tool-button-label = ISixhobo seSandla - -## Document properties dialog - -pdfjs-document-properties-button = - .title = Iipropati zoxwebhu… -pdfjs-document-properties-button-label = Iipropati zoxwebhu… -pdfjs-document-properties-file-name = Igama lefayile: -pdfjs-document-properties-file-size = Isayizi yefayile: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB (iibhayiti{ $size_b }) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB (iibhayithi{ $size_b }) -pdfjs-document-properties-title = Umxholo: -pdfjs-document-properties-author = Umbhali: -pdfjs-document-properties-subject = Umbandela: -pdfjs-document-properties-keywords = Amagama aphambili: -pdfjs-document-properties-creation-date = Umhla wokwenziwa kwayo: -pdfjs-document-properties-modification-date = Umhla wokulungiswa kwayo: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = Umntu oyenzileyo: -pdfjs-document-properties-producer = Umvelisi we-PDF: -pdfjs-document-properties-version = Uhlelo lwe-PDF: -pdfjs-document-properties-page-count = Inani lamaphepha: - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - - -## - -pdfjs-document-properties-close-button = Vala - -## Print - -pdfjs-print-progress-message = Ilungisa uxwebhu ukuze iprinte… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = Rhoxisa -pdfjs-printing-not-supported = Isilumkiso: Ukuprinta akuxhaswa ngokupheleleyo yile bhrawuza. -pdfjs-printing-not-ready = Isilumkiso: IPDF ayihlohlwanga ngokupheleleyo ukwenzela ukuprinta. - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = Togola ngebha eseCaleni -pdfjs-toggle-sidebar-button-label = Togola ngebha eseCaleni -pdfjs-document-outline-button = - .title = Bonisa uLwandlalo loXwebhu (cofa kabini ukuze wandise/diliza zonke izinto) -pdfjs-document-outline-button-label = Isishwankathelo soxwebhu -pdfjs-attachments-button = - .title = Bonisa iziqhotyoshelwa -pdfjs-attachments-button-label = Iziqhoboshelo -pdfjs-thumbs-button = - .title = Bonisa ukrobiso kumfanekiso -pdfjs-thumbs-button-label = Ukrobiso kumfanekiso -pdfjs-findbar-button = - .title = Fumana kuXwebhu -pdfjs-findbar-button-label = Fumana - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = Iphepha { $page } -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = Ukrobiso kumfanekiso wephepha { $page } - -## Find panel button title and messages - -pdfjs-find-input = - .title = Fumana - .placeholder = Fumana kuXwebhu… -pdfjs-find-previous-button = - .title = Fumanisa isenzeko sangaphambili sebinzana lamagama -pdfjs-find-previous-button-label = Okwangaphambili -pdfjs-find-next-button = - .title = Fumanisa isenzeko esilandelayo sebinzana lamagama -pdfjs-find-next-button-label = Okulandelayo -pdfjs-find-highlight-checkbox = Qaqambisa konke -pdfjs-find-match-case-checkbox-label = Tshatisa ngobukhulu bukanobumba -pdfjs-find-reached-top = Ufike ngaphezulu ephepheni, kusukwa ngezantsi -pdfjs-find-reached-bottom = Ufike ekupheleni kwephepha, kusukwa ngaphezulu -pdfjs-find-not-found = Ibinzana alifunyenwanga - -## Predefined zoom values - -pdfjs-page-scale-width = Ububanzi bephepha -pdfjs-page-scale-fit = Ukulinganiswa kwephepha -pdfjs-page-scale-auto = Ukwandisa/Ukunciphisa Ngokwayo -pdfjs-page-scale-actual = Ubungakanani bokwenene -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - - -## Loading indicator messages - -pdfjs-loading-error = Imposiso yenzekile xa kulayishwa i-PDF. -pdfjs-invalid-file-error = Ifayile ye-PDF engeyiyo okanye eyonakalisiweyo. -pdfjs-missing-file-error = Ifayile ye-PDF edukileyo. -pdfjs-unexpected-response-error = Impendulo yeseva engalindelekanga. -pdfjs-rendering-error = Imposiso yenzekile xa bekunikezelwa iphepha. - -## Annotations - -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } Ubhalo-nqaku] - -## Password - -pdfjs-password-label = Faka ipasiwedi ukuze uvule le fayile yePDF. -pdfjs-password-invalid = Ipasiwedi ayisebenzi. Nceda uzame kwakhona. -pdfjs-password-ok-button = KULUNGILE -pdfjs-password-cancel-button = Rhoxisa -pdfjs-web-fonts-disabled = Iifonti zewebhu ziqhwalelisiwe: ayikwazi ukusebenzisa iifonti ze-PDF ezincanyathelisiweyo. - -## Editing - - -## Alt-text dialog - - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - diff --git a/media/js/pdf4/web/locale/zh-CN/viewer.ftl b/media/js/pdf4/web/locale/zh-CN/viewer.ftl deleted file mode 100644 index 872948a478..0000000000 --- a/media/js/pdf4/web/locale/zh-CN/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = 上一页 -pdfjs-previous-button-label = 上一页 -pdfjs-next-button = - .title = 下一页 -pdfjs-next-button-label = 下一页 -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = 页面 -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = / { $pagesCount } -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = ({ $pageNumber } / { $pagesCount }) -pdfjs-zoom-out-button = - .title = 缩小 -pdfjs-zoom-out-button-label = 缩小 -pdfjs-zoom-in-button = - .title = 放大 -pdfjs-zoom-in-button-label = 放大 -pdfjs-zoom-select = - .title = 缩放 -pdfjs-presentation-mode-button = - .title = 切换到演示模式 -pdfjs-presentation-mode-button-label = 演示模式 -pdfjs-open-file-button = - .title = 打开文件 -pdfjs-open-file-button-label = 打开 -pdfjs-print-button = - .title = 打印 -pdfjs-print-button-label = 打印 -pdfjs-save-button = - .title = 保存 -pdfjs-save-button-label = 保存 -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = 下载 -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = 下载 -pdfjs-bookmark-button = - .title = 当前页面(在当前页面查看 URL) -pdfjs-bookmark-button-label = 当前页面 -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = 在应用中打开 -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = 在应用中打开 - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = 工具 -pdfjs-tools-button-label = 工具 -pdfjs-first-page-button = - .title = 转到第一页 -pdfjs-first-page-button-label = 转到第一页 -pdfjs-last-page-button = - .title = 转到最后一页 -pdfjs-last-page-button-label = 转到最后一页 -pdfjs-page-rotate-cw-button = - .title = 顺时针旋转 -pdfjs-page-rotate-cw-button-label = 顺时针旋转 -pdfjs-page-rotate-ccw-button = - .title = 逆时针旋转 -pdfjs-page-rotate-ccw-button-label = 逆时针旋转 -pdfjs-cursor-text-select-tool-button = - .title = 启用文本选择工具 -pdfjs-cursor-text-select-tool-button-label = 文本选择工具 -pdfjs-cursor-hand-tool-button = - .title = 启用手形工具 -pdfjs-cursor-hand-tool-button-label = 手形工具 -pdfjs-scroll-page-button = - .title = 使用页面滚动 -pdfjs-scroll-page-button-label = 页面滚动 -pdfjs-scroll-vertical-button = - .title = 使用垂直滚动 -pdfjs-scroll-vertical-button-label = 垂直滚动 -pdfjs-scroll-horizontal-button = - .title = 使用水平滚动 -pdfjs-scroll-horizontal-button-label = 水平滚动 -pdfjs-scroll-wrapped-button = - .title = 使用平铺滚动 -pdfjs-scroll-wrapped-button-label = 平铺滚动 -pdfjs-spread-none-button = - .title = 不加入衔接页 -pdfjs-spread-none-button-label = 单页视图 -pdfjs-spread-odd-button = - .title = 加入衔接页使奇数页作为起始页 -pdfjs-spread-odd-button-label = 双页视图 -pdfjs-spread-even-button = - .title = 加入衔接页使偶数页作为起始页 -pdfjs-spread-even-button-label = 书籍视图 - -## Document properties dialog - -pdfjs-document-properties-button = - .title = 文档属性… -pdfjs-document-properties-button-label = 文档属性… -pdfjs-document-properties-file-name = 文件名: -pdfjs-document-properties-file-size = 文件大小: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } 字节) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } 字节) -pdfjs-document-properties-title = 标题: -pdfjs-document-properties-author = 作者: -pdfjs-document-properties-subject = 主题: -pdfjs-document-properties-keywords = 关键词: -pdfjs-document-properties-creation-date = 创建日期: -pdfjs-document-properties-modification-date = 修改日期: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date }, { $time } -pdfjs-document-properties-creator = 创建者: -pdfjs-document-properties-producer = PDF 生成器: -pdfjs-document-properties-version = PDF 版本: -pdfjs-document-properties-page-count = 页数: -pdfjs-document-properties-page-size = 页面大小: -pdfjs-document-properties-page-size-unit-inches = 英寸 -pdfjs-document-properties-page-size-unit-millimeters = 毫米 -pdfjs-document-properties-page-size-orientation-portrait = 纵向 -pdfjs-document-properties-page-size-orientation-landscape = 横向 -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit }({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit }({ $name },{ $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = 快速 Web 视图: -pdfjs-document-properties-linearized-yes = 是 -pdfjs-document-properties-linearized-no = 否 -pdfjs-document-properties-close-button = 关闭 - -## Print - -pdfjs-print-progress-message = 正在准备打印文档… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = 取消 -pdfjs-printing-not-supported = 警告:此浏览器尚未完整支持打印功能。 -pdfjs-printing-not-ready = 警告:此 PDF 未完成加载,无法打印。 - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = 切换侧栏 -pdfjs-toggle-sidebar-notification-button = - .title = 切换侧栏(文档所含的大纲/附件/图层) -pdfjs-toggle-sidebar-button-label = 切换侧栏 -pdfjs-document-outline-button = - .title = 显示文档大纲(双击展开/折叠所有项) -pdfjs-document-outline-button-label = 文档大纲 -pdfjs-attachments-button = - .title = 显示附件 -pdfjs-attachments-button-label = 附件 -pdfjs-layers-button = - .title = 显示图层(双击即可将所有图层重置为默认状态) -pdfjs-layers-button-label = 图层 -pdfjs-thumbs-button = - .title = 显示缩略图 -pdfjs-thumbs-button-label = 缩略图 -pdfjs-current-outline-item-button = - .title = 查找当前大纲项目 -pdfjs-current-outline-item-button-label = 当前大纲项目 -pdfjs-findbar-button = - .title = 在文档中查找 -pdfjs-findbar-button-label = 查找 -pdfjs-additional-layers = 其他图层 - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = 第 { $page } 页 -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = 页面 { $page } 的缩略图 - -## Find panel button title and messages - -pdfjs-find-input = - .title = 查找 - .placeholder = 在文档中查找… -pdfjs-find-previous-button = - .title = 查找词语上一次出现的位置 -pdfjs-find-previous-button-label = 上一页 -pdfjs-find-next-button = - .title = 查找词语后一次出现的位置 -pdfjs-find-next-button-label = 下一页 -pdfjs-find-highlight-checkbox = 全部高亮显示 -pdfjs-find-match-case-checkbox-label = 区分大小写 -pdfjs-find-match-diacritics-checkbox-label = 匹配变音符号 -pdfjs-find-entire-word-checkbox-label = 全词匹配 -pdfjs-find-reached-top = 到达文档开头,从末尾继续 -pdfjs-find-reached-bottom = 到达文档末尾,从开头继续 -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = 第 { $current } 项,共找到 { $total } 个匹配项 -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = 匹配超过 { $limit } 项 -pdfjs-find-not-found = 找不到指定词语 - -## Predefined zoom values - -pdfjs-page-scale-width = 适合页宽 -pdfjs-page-scale-fit = 适合页面 -pdfjs-page-scale-auto = 自动缩放 -pdfjs-page-scale-actual = 实际大小 -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = 第 { $page } 页 - -## Loading indicator messages - -pdfjs-loading-error = 加载 PDF 时发生错误。 -pdfjs-invalid-file-error = 无效或损坏的 PDF 文件。 -pdfjs-missing-file-error = 缺少 PDF 文件。 -pdfjs-unexpected-response-error = 意外的服务器响应。 -pdfjs-rendering-error = 渲染页面时发生错误。 - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date },{ $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } 注释] - -## Password - -pdfjs-password-label = 输入密码以打开此 PDF 文件。 -pdfjs-password-invalid = 密码无效。请重试。 -pdfjs-password-ok-button = 确定 -pdfjs-password-cancel-button = 取消 -pdfjs-web-fonts-disabled = Web 字体已被禁用:无法使用嵌入的 PDF 字体。 - -## Editing - -pdfjs-editor-free-text-button = - .title = 文本 -pdfjs-editor-free-text-button-label = 文本 -pdfjs-editor-ink-button = - .title = 绘图 -pdfjs-editor-ink-button-label = 绘图 -pdfjs-editor-stamp-button = - .title = 添加或编辑图像 -pdfjs-editor-stamp-button-label = 添加或编辑图像 -pdfjs-editor-highlight-button = - .title = 高亮 -pdfjs-editor-highlight-button-label = 高亮 -pdfjs-highlight-floating-button = - .title = 高亮 -pdfjs-highlight-floating-button1 = - .title = 高亮 - .aria-label = 高亮 -pdfjs-highlight-floating-button-label = 高亮 - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = 移除绘图 -pdfjs-editor-remove-freetext-button = - .title = 移除文本 -pdfjs-editor-remove-stamp-button = - .title = 移除图像 -pdfjs-editor-remove-highlight-button = - .title = 移除高亮 - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = 颜色 -pdfjs-editor-free-text-size-input = 字号 -pdfjs-editor-ink-color-input = 颜色 -pdfjs-editor-ink-thickness-input = 粗细 -pdfjs-editor-ink-opacity-input = 不透明度 -pdfjs-editor-stamp-add-image-button = - .title = 添加图像 -pdfjs-editor-stamp-add-image-button-label = 添加图像 -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = 粗细 -pdfjs-editor-free-highlight-thickness-title = - .title = 更改高亮粗细(用于文本以外项目) -pdfjs-free-text = - .aria-label = 文本编辑器 -pdfjs-free-text-default-content = 开始输入… -pdfjs-ink = - .aria-label = 绘图编辑器 -pdfjs-ink-canvas = - .aria-label = 用户创建图像 - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = 替换文字 -pdfjs-editor-alt-text-edit-button-label = 编辑替换文字 -pdfjs-editor-alt-text-dialog-label = 选择一项 -pdfjs-editor-alt-text-dialog-description = 替换文字可在用户无法看到或加载图像时,描述其内容。 -pdfjs-editor-alt-text-add-description-label = 添加描述 -pdfjs-editor-alt-text-add-description-description = 描述主题、背景或动作,长度尽量控制在两句话内。 -pdfjs-editor-alt-text-mark-decorative-label = 标记为装饰 -pdfjs-editor-alt-text-mark-decorative-description = 用于装饰的图像,例如边框和水印。 -pdfjs-editor-alt-text-cancel-button = 取消 -pdfjs-editor-alt-text-save-button = 保存 -pdfjs-editor-alt-text-decorative-tooltip = 已标记为装饰 -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = 例如:一个少年坐到桌前,准备吃饭 - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = 调整尺寸 - 左上角 -pdfjs-editor-resizer-label-top-middle = 调整尺寸 - 顶部中间 -pdfjs-editor-resizer-label-top-right = 调整尺寸 - 右上角 -pdfjs-editor-resizer-label-middle-right = 调整尺寸 - 右侧中间 -pdfjs-editor-resizer-label-bottom-right = 调整尺寸 - 右下角 -pdfjs-editor-resizer-label-bottom-middle = 调整大小 - 底部中间 -pdfjs-editor-resizer-label-bottom-left = 调整尺寸 - 左下角 -pdfjs-editor-resizer-label-middle-left = 调整尺寸 - 左侧中间 - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = 高亮色 -pdfjs-editor-colorpicker-button = - .title = 更改颜色 -pdfjs-editor-colorpicker-dropdown = - .aria-label = 颜色选择 -pdfjs-editor-colorpicker-yellow = - .title = 黄色 -pdfjs-editor-colorpicker-green = - .title = 绿色 -pdfjs-editor-colorpicker-blue = - .title = 蓝色 -pdfjs-editor-colorpicker-pink = - .title = 粉色 -pdfjs-editor-colorpicker-red = - .title = 红色 - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = 显示全部 -pdfjs-editor-highlight-show-all-button = - .title = 显示全部 diff --git a/media/js/pdf4/web/locale/zh-TW/viewer.ftl b/media/js/pdf4/web/locale/zh-TW/viewer.ftl deleted file mode 100644 index f8614a9f35..0000000000 --- a/media/js/pdf4/web/locale/zh-TW/viewer.ftl +++ /dev/null @@ -1,394 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. - - -## Main toolbar buttons (tooltips and alt text for images) - -pdfjs-previous-button = - .title = 上一頁 -pdfjs-previous-button-label = 上一頁 -pdfjs-next-button = - .title = 下一頁 -pdfjs-next-button-label = 下一頁 -# .title: Tooltip for the pageNumber input. -pdfjs-page-input = - .title = 第 -# Variables: -# $pagesCount (Number) - the total number of pages in the document -# This string follows an input field with the number of the page currently displayed. -pdfjs-of-pages = 頁,共 { $pagesCount } 頁 -# Variables: -# $pageNumber (Number) - the currently visible page -# $pagesCount (Number) - the total number of pages in the document -pdfjs-page-of-pages = (第 { $pageNumber } 頁,共 { $pagesCount } 頁) -pdfjs-zoom-out-button = - .title = 縮小 -pdfjs-zoom-out-button-label = 縮小 -pdfjs-zoom-in-button = - .title = 放大 -pdfjs-zoom-in-button-label = 放大 -pdfjs-zoom-select = - .title = 縮放 -pdfjs-presentation-mode-button = - .title = 切換至簡報模式 -pdfjs-presentation-mode-button-label = 簡報模式 -pdfjs-open-file-button = - .title = 開啟檔案 -pdfjs-open-file-button-label = 開啟 -pdfjs-print-button = - .title = 列印 -pdfjs-print-button-label = 列印 -pdfjs-save-button = - .title = 儲存 -pdfjs-save-button-label = 儲存 -# Used in Firefox for Android as a tooltip for the download button (“download” is a verb). -pdfjs-download-button = - .title = 下載 -# Used in Firefox for Android as a label for the download button (“download” is a verb). -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-download-button-label = 下載 -pdfjs-bookmark-button = - .title = 目前頁面(含目前檢視頁面的網址) -pdfjs-bookmark-button-label = 目前頁面 -# Used in Firefox for Android. -pdfjs-open-in-app-button = - .title = 在應用程式中開啟 -# Used in Firefox for Android. -# Length of the translation matters since we are in a mobile context, with limited screen estate. -pdfjs-open-in-app-button-label = 用程式開啟 - -## Secondary toolbar and context menu - -pdfjs-tools-button = - .title = 工具 -pdfjs-tools-button-label = 工具 -pdfjs-first-page-button = - .title = 跳到第一頁 -pdfjs-first-page-button-label = 跳到第一頁 -pdfjs-last-page-button = - .title = 跳到最後一頁 -pdfjs-last-page-button-label = 跳到最後一頁 -pdfjs-page-rotate-cw-button = - .title = 順時針旋轉 -pdfjs-page-rotate-cw-button-label = 順時針旋轉 -pdfjs-page-rotate-ccw-button = - .title = 逆時針旋轉 -pdfjs-page-rotate-ccw-button-label = 逆時針旋轉 -pdfjs-cursor-text-select-tool-button = - .title = 開啟文字選擇工具 -pdfjs-cursor-text-select-tool-button-label = 文字選擇工具 -pdfjs-cursor-hand-tool-button = - .title = 開啟頁面移動工具 -pdfjs-cursor-hand-tool-button-label = 頁面移動工具 -pdfjs-scroll-page-button = - .title = 使用頁面捲動功能 -pdfjs-scroll-page-button-label = 頁面捲動功能 -pdfjs-scroll-vertical-button = - .title = 使用垂直捲動版面 -pdfjs-scroll-vertical-button-label = 垂直捲動 -pdfjs-scroll-horizontal-button = - .title = 使用水平捲動版面 -pdfjs-scroll-horizontal-button-label = 水平捲動 -pdfjs-scroll-wrapped-button = - .title = 使用多頁捲動版面 -pdfjs-scroll-wrapped-button-label = 多頁捲動 -pdfjs-spread-none-button = - .title = 不要進行跨頁顯示 -pdfjs-spread-none-button-label = 不跨頁 -pdfjs-spread-odd-button = - .title = 從奇數頁開始跨頁 -pdfjs-spread-odd-button-label = 奇數跨頁 -pdfjs-spread-even-button = - .title = 從偶數頁開始跨頁 -pdfjs-spread-even-button-label = 偶數跨頁 - -## Document properties dialog - -pdfjs-document-properties-button = - .title = 文件內容… -pdfjs-document-properties-button-label = 文件內容… -pdfjs-document-properties-file-name = 檔案名稱: -pdfjs-document-properties-file-size = 檔案大小: -# Variables: -# $size_kb (Number) - the PDF file size in kilobytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-kb = { $size_kb } KB({ $size_b } 位元組) -# Variables: -# $size_mb (Number) - the PDF file size in megabytes -# $size_b (Number) - the PDF file size in bytes -pdfjs-document-properties-mb = { $size_mb } MB({ $size_b } 位元組) -pdfjs-document-properties-title = 標題: -pdfjs-document-properties-author = 作者: -pdfjs-document-properties-subject = 主旨: -pdfjs-document-properties-keywords = 關鍵字: -pdfjs-document-properties-creation-date = 建立日期: -pdfjs-document-properties-modification-date = 修改日期: -# Variables: -# $date (Date) - the creation/modification date of the PDF file -# $time (Time) - the creation/modification time of the PDF file -pdfjs-document-properties-date-string = { $date } { $time } -pdfjs-document-properties-creator = 建立者: -pdfjs-document-properties-producer = PDF 產生器: -pdfjs-document-properties-version = PDF 版本: -pdfjs-document-properties-page-count = 頁數: -pdfjs-document-properties-page-size = 頁面大小: -pdfjs-document-properties-page-size-unit-inches = in -pdfjs-document-properties-page-size-unit-millimeters = mm -pdfjs-document-properties-page-size-orientation-portrait = 垂直 -pdfjs-document-properties-page-size-orientation-landscape = 水平 -pdfjs-document-properties-page-size-name-a-three = A3 -pdfjs-document-properties-page-size-name-a-four = A4 -pdfjs-document-properties-page-size-name-letter = Letter -pdfjs-document-properties-page-size-name-legal = Legal - -## Variables: -## $width (Number) - the width of the (current) page -## $height (Number) - the height of the (current) page -## $unit (String) - the unit of measurement of the (current) page -## $name (String) - the name of the (current) page -## $orientation (String) - the orientation of the (current) page - -pdfjs-document-properties-page-size-dimension-string = { $width } × { $height } { $unit }({ $orientation }) -pdfjs-document-properties-page-size-dimension-name-string = { $width } × { $height } { $unit }({ $name },{ $orientation }) - -## - -# The linearization status of the document; usually called "Fast Web View" in -# English locales of Adobe software. -pdfjs-document-properties-linearized = 快速 Web 檢視: -pdfjs-document-properties-linearized-yes = 是 -pdfjs-document-properties-linearized-no = 否 -pdfjs-document-properties-close-button = 關閉 - -## Print - -pdfjs-print-progress-message = 正在準備列印文件… -# Variables: -# $progress (Number) - percent value -pdfjs-print-progress-percent = { $progress }% -pdfjs-print-progress-close-button = 取消 -pdfjs-printing-not-supported = 警告: 此瀏覽器未完整支援列印功能。 -pdfjs-printing-not-ready = 警告: 此 PDF 未完成下載以供列印。 - -## Tooltips and alt text for side panel toolbar buttons - -pdfjs-toggle-sidebar-button = - .title = 切換側邊欄 -pdfjs-toggle-sidebar-notification-button = - .title = 切換側邊欄(包含大綱、附件、圖層的文件) -pdfjs-toggle-sidebar-button-label = 切換側邊欄 -pdfjs-document-outline-button = - .title = 顯示文件大綱(雙擊展開/摺疊所有項目) -pdfjs-document-outline-button-label = 文件大綱 -pdfjs-attachments-button = - .title = 顯示附件 -pdfjs-attachments-button-label = 附件 -pdfjs-layers-button = - .title = 顯示圖層(滑鼠雙擊即可將所有圖層重設為預設狀態) -pdfjs-layers-button-label = 圖層 -pdfjs-thumbs-button = - .title = 顯示縮圖 -pdfjs-thumbs-button-label = 縮圖 -pdfjs-current-outline-item-button = - .title = 尋找目前的大綱項目 -pdfjs-current-outline-item-button-label = 目前的大綱項目 -pdfjs-findbar-button = - .title = 在文件中尋找 -pdfjs-findbar-button-label = 尋找 -pdfjs-additional-layers = 其他圖層 - -## Thumbnails panel item (tooltip and alt text for images) - -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-title = - .title = 第 { $page } 頁 -# Variables: -# $page (Number) - the page number -pdfjs-thumb-page-canvas = - .aria-label = 第 { $page } 頁的縮圖 - -## Find panel button title and messages - -pdfjs-find-input = - .title = 尋找 - .placeholder = 在文件中搜尋… -pdfjs-find-previous-button = - .title = 尋找文字前次出現的位置 -pdfjs-find-previous-button-label = 上一個 -pdfjs-find-next-button = - .title = 尋找文字下次出現的位置 -pdfjs-find-next-button-label = 下一個 -pdfjs-find-highlight-checkbox = 強調全部 -pdfjs-find-match-case-checkbox-label = 區分大小寫 -pdfjs-find-match-diacritics-checkbox-label = 符合變音符號 -pdfjs-find-entire-word-checkbox-label = 符合整個字 -pdfjs-find-reached-top = 已搜尋至文件頂端,自底端繼續搜尋 -pdfjs-find-reached-bottom = 已搜尋至文件底端,自頂端繼續搜尋 -# Variables: -# $current (Number) - the index of the currently active find result -# $total (Number) - the total number of matches in the document -pdfjs-find-match-count = 第 { $current } 筆符合,共符合 { $total } 筆 -# Variables: -# $limit (Number) - the maximum number of matches -pdfjs-find-match-count-limit = 符合超過 { $limit } 項 -pdfjs-find-not-found = 找不到指定文字 - -## Predefined zoom values - -pdfjs-page-scale-width = 頁面寬度 -pdfjs-page-scale-fit = 縮放至頁面大小 -pdfjs-page-scale-auto = 自動縮放 -pdfjs-page-scale-actual = 實際大小 -# Variables: -# $scale (Number) - percent value for page scale -pdfjs-page-scale-percent = { $scale }% - -## PDF page - -# Variables: -# $page (Number) - the page number -pdfjs-page-landmark = - .aria-label = 第 { $page } 頁 - -## Loading indicator messages - -pdfjs-loading-error = 載入 PDF 時發生錯誤。 -pdfjs-invalid-file-error = 無效或毀損的 PDF 檔案。 -pdfjs-missing-file-error = 找不到 PDF 檔案。 -pdfjs-unexpected-response-error = 伺服器回應未預期的內容。 -pdfjs-rendering-error = 描繪頁面時發生錯誤。 - -## Annotations - -# Variables: -# $date (Date) - the modification date of the annotation -# $time (Time) - the modification time of the annotation -pdfjs-annotation-date-string = { $date } { $time } -# .alt: This is used as a tooltip. -# Variables: -# $type (String) - an annotation type from a list defined in the PDF spec -# (32000-1:2008 Table 169 – Annotation types). -# Some common types are e.g.: "Check", "Text", "Comment", "Note" -pdfjs-text-annotation-type = - .alt = [{ $type } 註解] - -## Password - -pdfjs-password-label = 請輸入用來開啟此 PDF 檔案的密碼。 -pdfjs-password-invalid = 密碼不正確,請再試一次。 -pdfjs-password-ok-button = 確定 -pdfjs-password-cancel-button = 取消 -pdfjs-web-fonts-disabled = 已停用網路字型 (Web fonts): 無法使用 PDF 內嵌字型。 - -## Editing - -pdfjs-editor-free-text-button = - .title = 文字 -pdfjs-editor-free-text-button-label = 文字 -pdfjs-editor-ink-button = - .title = 繪圖 -pdfjs-editor-ink-button-label = 繪圖 -pdfjs-editor-stamp-button = - .title = 新增或編輯圖片 -pdfjs-editor-stamp-button-label = 新增或編輯圖片 -pdfjs-editor-highlight-button = - .title = 強調 -pdfjs-editor-highlight-button-label = 強調 -pdfjs-highlight-floating-button = - .title = 強調 -pdfjs-highlight-floating-button1 = - .title = 強調 - .aria-label = 強調 -pdfjs-highlight-floating-button-label = 強調 - -## Remove button for the various kind of editor. - -pdfjs-editor-remove-ink-button = - .title = 移除繪圖 -pdfjs-editor-remove-freetext-button = - .title = 移除文字 -pdfjs-editor-remove-stamp-button = - .title = 移除圖片 -pdfjs-editor-remove-highlight-button = - .title = 移除強調範圍 - -## - -# Editor Parameters -pdfjs-editor-free-text-color-input = 色彩 -pdfjs-editor-free-text-size-input = 大小 -pdfjs-editor-ink-color-input = 色彩 -pdfjs-editor-ink-thickness-input = 線條粗細 -pdfjs-editor-ink-opacity-input = 透明度 -pdfjs-editor-stamp-add-image-button = - .title = 新增圖片 -pdfjs-editor-stamp-add-image-button-label = 新增圖片 -# This refers to the thickness of the line used for free highlighting (not bound to text) -pdfjs-editor-free-highlight-thickness-input = 線條粗細 -pdfjs-editor-free-highlight-thickness-title = - .title = 更改強調文字以外的項目時的線條粗細 -pdfjs-free-text = - .aria-label = 文本編輯器 -pdfjs-free-text-default-content = 開始打字… -pdfjs-ink = - .aria-label = 圖形編輯器 -pdfjs-ink-canvas = - .aria-label = 使用者建立的圖片 - -## Alt-text dialog - -# Alternative text (alt text) helps when people can't see the image. -pdfjs-editor-alt-text-button-label = 替代文字 -pdfjs-editor-alt-text-edit-button-label = 編輯替代文字 -pdfjs-editor-alt-text-dialog-label = 挑選一種 -pdfjs-editor-alt-text-dialog-description = 替代文字可協助盲人,或於圖片無法載入時提供說明。 -pdfjs-editor-alt-text-add-description-label = 新增描述 -pdfjs-editor-alt-text-add-description-description = 用 1-2 句文字描述主題、背景或動作。 -pdfjs-editor-alt-text-mark-decorative-label = 標示為裝飾性內容 -pdfjs-editor-alt-text-mark-decorative-description = 這是裝飾性圖片,例如邊框或浮水印。 -pdfjs-editor-alt-text-cancel-button = 取消 -pdfjs-editor-alt-text-save-button = 儲存 -pdfjs-editor-alt-text-decorative-tooltip = 已標示為裝飾性內容 -# .placeholder: This is a placeholder for the alt text input area -pdfjs-editor-alt-text-textarea = - .placeholder = 例如:「有一位年輕男人坐在桌子前面吃飯」 - -## Editor resizers -## This is used in an aria label to help to understand the role of the resizer. - -pdfjs-editor-resizer-label-top-left = 左上角 — 調整大小 -pdfjs-editor-resizer-label-top-middle = 頂部中間 — 調整大小 -pdfjs-editor-resizer-label-top-right = 右上角 — 調整大小 -pdfjs-editor-resizer-label-middle-right = 中間右方 — 調整大小 -pdfjs-editor-resizer-label-bottom-right = 右下角 — 調整大小 -pdfjs-editor-resizer-label-bottom-middle = 底部中間 — 調整大小 -pdfjs-editor-resizer-label-bottom-left = 左下角 — 調整大小 -pdfjs-editor-resizer-label-middle-left = 中間左方 — 調整大小 - -## Color picker - -# This means "Color used to highlight text" -pdfjs-editor-highlight-colorpicker-label = 強調色彩 -pdfjs-editor-colorpicker-button = - .title = 更改色彩 -pdfjs-editor-colorpicker-dropdown = - .aria-label = 色彩選項 -pdfjs-editor-colorpicker-yellow = - .title = 黃色 -pdfjs-editor-colorpicker-green = - .title = 綠色 -pdfjs-editor-colorpicker-blue = - .title = 藍色 -pdfjs-editor-colorpicker-pink = - .title = 粉紅色 -pdfjs-editor-colorpicker-red = - .title = 紅色 - -## Show all highlights -## This is a toggle button to show/hide all the highlights. - -pdfjs-editor-highlight-show-all-button-label = 顯示全部 -pdfjs-editor-highlight-show-all-button = - .title = 顯示全部 diff --git a/media/js/pdf4/web/viewer.css b/media/js/pdf4/web/viewer.css deleted file mode 100644 index 4bca8ec1da..0000000000 --- a/media/js/pdf4/web/viewer.css +++ /dev/null @@ -1,4336 +0,0 @@ -/* Copyright 2014 Mozilla Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -.textLayer{ - position:absolute; - text-align:initial; - inset:0; - overflow:hidden; - opacity:1; - line-height:1; - -webkit-text-size-adjust:none; - -moz-text-size-adjust:none; - text-size-adjust:none; - forced-color-adjust:none; - transform-origin:0 0; - caret-color:CanvasText; -} - -.textLayer.highlighting{ - touch-action:none; - } - -.textLayer :is(span, br){ - color:transparent; - position:absolute; - white-space:pre; - cursor:text; - transform-origin:0% 0%; - } - -.textLayer span.markedContent{ - top:0; - height:0; - } - -.textLayer .highlight{ - --highlight-bg-color:rgb(180 0 170 / 0.25); - --highlight-selected-bg-color:rgb(0 100 0 / 0.25); - --highlight-backdrop-filter:none; - --highlight-selected-backdrop-filter:none; - - margin:-1px; - padding:1px; - background-color:var(--highlight-bg-color); - -webkit-backdrop-filter:var(--highlight-backdrop-filter); - backdrop-filter:var(--highlight-backdrop-filter); - border-radius:4px; - } - -@media screen and (forced-colors: active){ - -.textLayer .highlight{ - --highlight-bg-color:transparent; - --highlight-selected-bg-color:transparent; - --highlight-backdrop-filter:var(--hcm-highlight-filter); - --highlight-selected-backdrop-filter:var( - --hcm-highlight-selected-filter - ); - } - } - -.textLayer .highlight.appended{ - position:initial; - } - -.textLayer .highlight.begin{ - border-radius:4px 0 0 4px; - } - -.textLayer .highlight.end{ - border-radius:0 4px 4px 0; - } - -.textLayer .highlight.middle{ - border-radius:0; - } - -.textLayer .highlight.selected{ - background-color:var(--highlight-selected-bg-color); - -webkit-backdrop-filter:var(--highlight-selected-backdrop-filter); - backdrop-filter:var(--highlight-selected-backdrop-filter); - } - -.textLayer ::-moz-selection{ - background:rgba(0 0 255 / 0.25); - background:color-mix(in srgb, AccentColor, transparent 75%); - } - -.textLayer ::selection{ - background:rgba(0 0 255 / 0.25); - background:color-mix(in srgb, AccentColor, transparent 75%); - } - -.textLayer br::-moz-selection{ - background:transparent; - } - -.textLayer br::selection{ - background:transparent; - } - -.textLayer .endOfContent{ - display:block; - position:absolute; - inset:100% 0 0; - z-index:-1; - cursor:default; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - } - -.textLayer .endOfContent.active{ - top:0; - } - -.annotationLayer{ - --annotation-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,"); - --input-focus-border-color:Highlight; - --input-focus-outline:1px solid Canvas; - --input-unfocused-border-color:transparent; - --input-disabled-border-color:transparent; - --input-hover-border-color:black; - --link-outline:none; - - position:absolute; - top:0; - left:0; - pointer-events:none; - transform-origin:0 0; -} - -@media screen and (forced-colors: active){ - -.annotationLayer{ - --input-focus-border-color:CanvasText; - --input-unfocused-border-color:ActiveText; - --input-disabled-border-color:GrayText; - --input-hover-border-color:Highlight; - --link-outline:1.5px solid LinkText; -} - - .annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{ - outline:1.5px solid selectedItem; - } - - .annotationLayer .linkAnnotation{ - outline:var(--link-outline); - } - - .annotationLayer .linkAnnotation:hover{ - -webkit-backdrop-filter:var(--hcm-highlight-filter); - backdrop-filter:var(--hcm-highlight-filter); - } - - .annotationLayer .linkAnnotation > a:hover{ - opacity:0 !important; - background:none !important; - box-shadow:none; - } - - .annotationLayer .popupAnnotation .popup{ - outline:calc(1.5px * var(--scale-factor)) solid CanvasText !important; - background-color:ButtonFace !important; - color:ButtonText !important; - } - - .annotationLayer .highlightArea:hover::after{ - position:absolute; - top:0; - left:0; - width:100%; - height:100%; - -webkit-backdrop-filter:var(--hcm-highlight-filter); - backdrop-filter:var(--hcm-highlight-filter); - content:""; - pointer-events:none; - } - - .annotationLayer .popupAnnotation.focused .popup{ - outline:calc(3px * var(--scale-factor)) solid Highlight !important; - } - } - -.annotationLayer[data-main-rotation="90"] .norotate{ - transform:rotate(270deg) translateX(-100%); - } - -.annotationLayer[data-main-rotation="180"] .norotate{ - transform:rotate(180deg) translate(-100%, -100%); - } - -.annotationLayer[data-main-rotation="270"] .norotate{ - transform:rotate(90deg) translateY(-100%); - } - -.annotationLayer.disabled section, - .annotationLayer.disabled .popup{ - pointer-events:none; - } - -.annotationLayer .annotationContent{ - position:absolute; - width:100%; - height:100%; - pointer-events:none; - } - -.annotationLayer .annotationContent.freetext{ - background:transparent; - border:none; - inset:0; - overflow:visible; - white-space:nowrap; - font:10px sans-serif; - line-height:1.35; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - } - -.annotationLayer section{ - position:absolute; - text-align:initial; - pointer-events:auto; - box-sizing:border-box; - transform-origin:0 0; - } - -.annotationLayer section:has(div.annotationContent) canvas.annotationContent{ - display:none; - } - -.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a{ - position:absolute; - font-size:1em; - top:0; - left:0; - width:100%; - height:100%; - } - -.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton):not(.hasBorder) - > a:hover{ - opacity:0.2; - background-color:rgb(255 255 0); - box-shadow:0 2px 10px rgb(255 255 0); - } - -.annotationLayer .linkAnnotation.hasBorder:hover{ - background-color:rgb(255 255 0 / 0.2); - } - -.annotationLayer .hasBorder{ - background-size:100% 100%; - } - -.annotationLayer .textAnnotation img{ - position:absolute; - cursor:pointer; - width:100%; - height:100%; - top:0; - left:0; - } - -.annotationLayer .textWidgetAnnotation :is(input, textarea), .annotationLayer .choiceWidgetAnnotation select, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{ - background-image:var(--annotation-unfocused-field-background); - border:2px solid var(--input-unfocused-border-color); - box-sizing:border-box; - font:calc(9px * var(--scale-factor)) sans-serif; - height:100%; - margin:0; - vertical-align:top; - width:100%; - } - -.annotationLayer .textWidgetAnnotation :is(input, textarea):required, .annotationLayer .choiceWidgetAnnotation select:required, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required{ - outline:1.5px solid red; - } - -.annotationLayer .choiceWidgetAnnotation select option{ - padding:0; - } - -.annotationLayer .buttonWidgetAnnotation.radioButton input{ - border-radius:50%; - } - -.annotationLayer .textWidgetAnnotation textarea{ - resize:none; - } - -.annotationLayer .textWidgetAnnotation [disabled]:is(input, textarea), .annotationLayer .choiceWidgetAnnotation select[disabled], .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled]{ - background:none; - border:2px solid var(--input-disabled-border-color); - cursor:not-allowed; - } - -.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover{ - border:2px solid var(--input-hover-border-color); - } - -.annotationLayer .textWidgetAnnotation :is(input, textarea):hover, .annotationLayer .choiceWidgetAnnotation select:hover, .annotationLayer .buttonWidgetAnnotation.checkBox input:hover{ - border-radius:2px; - } - -.annotationLayer .textWidgetAnnotation :is(input, textarea):focus, .annotationLayer .choiceWidgetAnnotation select:focus{ - background:none; - border:2px solid var(--input-focus-border-color); - border-radius:2px; - outline:var(--input-focus-outline); - } - -.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus{ - background-image:none; - background-color:transparent; - } - -.annotationLayer .buttonWidgetAnnotation.checkBox :focus{ - border:2px solid var(--input-focus-border-color); - border-radius:2px; - outline:var(--input-focus-outline); - } - -.annotationLayer .buttonWidgetAnnotation.radioButton :focus{ - border:2px solid var(--input-focus-border-color); - outline:var(--input-focus-outline); - } - -.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, - .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after, - .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ - background-color:CanvasText; - content:""; - display:block; - position:absolute; - } - -.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before, - .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ - height:80%; - left:45%; - width:1px; - } - -.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before{ - transform:rotate(45deg); - } - -.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after{ - transform:rotate(-45deg); - } - -.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before{ - border-radius:50%; - height:50%; - left:25%; - top:25%; - width:50%; - } - -.annotationLayer .textWidgetAnnotation input.comb{ - font-family:monospace; - padding-left:2px; - padding-right:0; - } - -.annotationLayer .textWidgetAnnotation input.comb:focus{ - width:103%; - } - -.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input{ - -webkit-appearance:none; - -moz-appearance:none; - appearance:none; - } - -.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{ - height:100%; - width:100%; - } - -.annotationLayer .popupAnnotation{ - position:absolute; - font-size:calc(9px * var(--scale-factor)); - pointer-events:none; - width:-moz-max-content; - width:max-content; - max-width:45%; - height:auto; - } - -.annotationLayer .popup{ - background-color:rgb(255 255 153); - box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) rgb(136 136 136); - border-radius:calc(2px * var(--scale-factor)); - outline:1.5px solid rgb(255 255 74); - padding:calc(6px * var(--scale-factor)); - cursor:pointer; - font:message-box; - white-space:normal; - word-wrap:break-word; - pointer-events:auto; - } - -.annotationLayer .popupAnnotation.focused .popup{ - outline-width:3px; - } - -.annotationLayer .popup *{ - font-size:calc(9px * var(--scale-factor)); - } - -.annotationLayer .popup > .header{ - display:inline-block; - } - -.annotationLayer .popup > .header h1{ - display:inline; - } - -.annotationLayer .popup > .header .popupDate{ - display:inline-block; - margin-left:calc(5px * var(--scale-factor)); - width:-moz-fit-content; - width:fit-content; - } - -.annotationLayer .popupContent{ - border-top:1px solid rgb(51 51 51); - margin-top:calc(2px * var(--scale-factor)); - padding-top:calc(2px * var(--scale-factor)); - } - -.annotationLayer .richText > *{ - white-space:pre-wrap; - font-size:calc(9px * var(--scale-factor)); - } - -.annotationLayer .popupTriggerArea{ - cursor:pointer; - } - -.annotationLayer section svg{ - position:absolute; - width:100%; - height:100%; - top:0; - left:0; - } - -.annotationLayer .annotationTextContent{ - position:absolute; - width:100%; - height:100%; - opacity:0; - color:transparent; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - pointer-events:none; - } - -.annotationLayer .annotationTextContent span{ - width:100%; - display:inline-block; - } - -.annotationLayer svg.quadrilateralsContainer{ - contain:strict; - width:0; - height:0; - position:absolute; - top:0; - left:0; - z-index:-1; - } - -:root{ - --xfa-unfocused-field-background:url("data:image/svg+xml;charset=UTF-8,"); - --xfa-focus-outline:auto; -} - -@media screen and (forced-colors: active){ - :root{ - --xfa-focus-outline:2px solid CanvasText; - } - .xfaLayer *:required{ - outline:1.5px solid selectedItem; - } -} - -.xfaLayer{ - background-color:transparent; -} - -.xfaLayer .highlight{ - margin:-1px; - padding:1px; - background-color:rgb(239 203 237); - border-radius:4px; -} - -.xfaLayer .highlight.appended{ - position:initial; -} - -.xfaLayer .highlight.begin{ - border-radius:4px 0 0 4px; -} - -.xfaLayer .highlight.end{ - border-radius:0 4px 4px 0; -} - -.xfaLayer .highlight.middle{ - border-radius:0; -} - -.xfaLayer .highlight.selected{ - background-color:rgb(203 223 203); -} - -.xfaPage{ - overflow:hidden; - position:relative; -} - -.xfaContentarea{ - position:absolute; -} - -.xfaPrintOnly{ - display:none; -} - -.xfaLayer{ - position:absolute; - text-align:initial; - top:0; - left:0; - transform-origin:0 0; - line-height:1.2; -} - -.xfaLayer *{ - color:inherit; - font:inherit; - font-style:inherit; - font-weight:inherit; - font-kerning:inherit; - letter-spacing:-0.01px; - text-align:inherit; - text-decoration:inherit; - box-sizing:border-box; - background-color:transparent; - padding:0; - margin:0; - pointer-events:auto; - line-height:inherit; -} - -.xfaLayer *:required{ - outline:1.5px solid red; -} - -.xfaLayer div, -.xfaLayer svg, -.xfaLayer svg *{ - pointer-events:none; -} - -.xfaLayer a{ - color:blue; -} - -.xfaRich li{ - margin-left:3em; -} - -.xfaFont{ - color:black; - font-weight:normal; - font-kerning:none; - font-size:10px; - font-style:normal; - letter-spacing:0; - text-decoration:none; - vertical-align:0; -} - -.xfaCaption{ - overflow:hidden; - flex:0 0 auto; -} - -.xfaCaptionForCheckButton{ - overflow:hidden; - flex:1 1 auto; -} - -.xfaLabel{ - height:100%; - width:100%; -} - -.xfaLeft{ - display:flex; - flex-direction:row; - align-items:center; -} - -.xfaRight{ - display:flex; - flex-direction:row-reverse; - align-items:center; -} - -:is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton){ - max-height:100%; -} - -.xfaTop{ - display:flex; - flex-direction:column; - align-items:flex-start; -} - -.xfaBottom{ - display:flex; - flex-direction:column-reverse; - align-items:flex-start; -} - -:is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton){ - width:100%; -} - -.xfaBorder{ - background-color:transparent; - position:absolute; - pointer-events:none; -} - -.xfaWrapped{ - width:100%; - height:100%; -} - -:is(.xfaTextfield, .xfaSelect):focus{ - background-image:none; - background-color:transparent; - outline:var(--xfa-focus-outline); - outline-offset:-1px; -} - -:is(.xfaCheckbox, .xfaRadio):focus{ - outline:var(--xfa-focus-outline); -} - -.xfaTextfield, -.xfaSelect{ - height:100%; - width:100%; - flex:1 1 auto; - border:none; - resize:none; - background-image:var(--xfa-unfocused-field-background); -} - -.xfaSelect{ - padding-inline:2px; -} - -:is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect){ - flex:0 1 auto; -} - -.xfaButton{ - cursor:pointer; - width:100%; - height:100%; - border:none; - text-align:center; -} - -.xfaLink{ - width:100%; - height:100%; - position:absolute; - top:0; - left:0; -} - -.xfaCheckbox, -.xfaRadio{ - width:100%; - height:100%; - flex:0 0 auto; - border:none; -} - -.xfaRich{ - white-space:pre-wrap; - width:100%; - height:100%; -} - -.xfaImage{ - -o-object-position:left top; - object-position:left top; - -o-object-fit:contain; - object-fit:contain; - width:100%; - height:100%; -} - -.xfaLrTb, -.xfaRlTb, -.xfaTb{ - display:flex; - flex-direction:column; - align-items:stretch; -} - -.xfaLr{ - display:flex; - flex-direction:row; - align-items:stretch; -} - -.xfaRl{ - display:flex; - flex-direction:row-reverse; - align-items:stretch; -} - -.xfaTb > div{ - justify-content:left; -} - -.xfaPosition{ - position:relative; -} - -.xfaArea{ - position:relative; -} - -.xfaValignMiddle{ - display:flex; - align-items:center; -} - -.xfaTable{ - display:flex; - flex-direction:column; - align-items:stretch; -} - -.xfaTable .xfaRow{ - display:flex; - flex-direction:row; - align-items:stretch; -} - -.xfaTable .xfaRlRow{ - display:flex; - flex-direction:row-reverse; - align-items:stretch; - flex:1; -} - -.xfaTable .xfaRlRow > div{ - flex:1; -} - -:is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea){ - background:initial; -} - -@media print{ - .xfaTextfield, - .xfaSelect{ - background:transparent; - } - - .xfaSelect{ - -webkit-appearance:none; - -moz-appearance:none; - appearance:none; - text-indent:1px; - text-overflow:""; - } -} - -.canvasWrapper svg{ - transform:none; - } - -.canvasWrapper svg[data-main-rotation="90"] mask, - .canvasWrapper svg[data-main-rotation="90"] use:not(.clip, .mask){ - transform:matrix(0, 1, -1, 0, 1, 0); - } - -.canvasWrapper svg[data-main-rotation="180"] mask, - .canvasWrapper svg[data-main-rotation="180"] use:not(.clip, .mask){ - transform:matrix(-1, 0, 0, -1, 1, 1); - } - -.canvasWrapper svg[data-main-rotation="270"] mask, - .canvasWrapper svg[data-main-rotation="270"] use:not(.clip, .mask){ - transform:matrix(0, -1, 1, 0, 0, 1); - } - -.canvasWrapper svg.highlight{ - --blend-mode:multiply; - - position:absolute; - mix-blend-mode:var(--blend-mode); - } - -@media screen and (forced-colors: active){ - -.canvasWrapper svg.highlight{ - --blend-mode:difference; - } - } - -.canvasWrapper svg.highlight:not(.free){ - fill-rule:evenodd; - } - -.canvasWrapper svg.highlightOutline{ - position:absolute; - mix-blend-mode:normal; - fill-rule:evenodd; - fill:none; - } - -.canvasWrapper svg.highlightOutline.hovered:not(.free):not(.selected){ - stroke:var(--hover-outline-color); - stroke-width:var(--outline-width); - } - -.canvasWrapper svg.highlightOutline.selected:not(.free) .mainOutline{ - stroke:var(--outline-around-color); - stroke-width:calc( - var(--outline-width) + 2 * var(--outline-around-width) - ); - } - -.canvasWrapper svg.highlightOutline.selected:not(.free) .secondaryOutline{ - stroke:var(--outline-color); - stroke-width:var(--outline-width); - } - -.canvasWrapper svg.highlightOutline.free.hovered:not(.selected){ - stroke:var(--hover-outline-color); - stroke-width:calc(2 * var(--outline-width)); - } - -.canvasWrapper svg.highlightOutline.free.selected .mainOutline{ - stroke:var(--outline-around-color); - stroke-width:calc( - 2 * (var(--outline-width) + var(--outline-around-width)) - ); - } - -.canvasWrapper svg.highlightOutline.free.selected .secondaryOutline{ - stroke:var(--outline-color); - stroke-width:calc(2 * var(--outline-width)); - } - -.toggle-button{ - --button-background-color:#f0f0f4; - --button-background-color-hover:#e0e0e6; - --button-background-color-active:#cfcfd8; - --color-accent-primary:#0060df; - --color-accent-primary-hover:#0250bb; - --color-accent-primary-active:#054096; - --border-interactive-color:#8f8f9d; - --border-radius-circle:9999px; - --border-width:1px; - --size-item-small:16px; - --size-item-large:32px; - --color-canvas:white; - - --toggle-background-color:var(--button-background-color); - --toggle-background-color-hover:var(--button-background-color-hover); - --toggle-background-color-active:var(--button-background-color-active); - --toggle-background-color-pressed:var(--color-accent-primary); - --toggle-background-color-pressed-hover:var(--color-accent-primary-hover); - --toggle-background-color-pressed-active:var(--color-accent-primary-active); - --toggle-border-color:var(--border-interactive-color); - --toggle-border-color-hover:var(--toggle-border-color); - --toggle-border-color-active:var(--toggle-border-color); - --toggle-border-radius:var(--border-radius-circle); - --toggle-border-width:var(--border-width); - --toggle-height:var(--size-item-small); - --toggle-width:var(--size-item-large); - --toggle-dot-background-color:var(--toggle-border-color); - --toggle-dot-background-color-hover:var(--toggle-dot-background-color); - --toggle-dot-background-color-active:var(--toggle-dot-background-color); - --toggle-dot-background-color-on-pressed:var(--color-canvas); - --toggle-dot-margin:1px; - --toggle-dot-height:calc( - var(--toggle-height) - 2 * var(--toggle-dot-margin) - 2 * - var(--toggle-border-width) - ); - --toggle-dot-width:var(--toggle-dot-height); - --toggle-dot-transform-x:calc( - var(--toggle-width) - 4 * var(--toggle-dot-margin) - var(--toggle-dot-width) - ); - - -webkit-appearance:none; - - -moz-appearance:none; - - appearance:none; - padding:0; - margin:0; - border:var(--toggle-border-width) solid var(--toggle-border-color); - height:var(--toggle-height); - width:var(--toggle-width); - border-radius:var(--toggle-border-radius); - background:var(--toggle-background-color); - box-sizing:border-box; - flex-shrink:0; -} - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) .toggle-button{ - --button-background-color:color-mix(in srgb, currentColor 7%, transparent); - --button-background-color-hover:color-mix( - in srgb, - currentColor 14%, - transparent - ); - --button-background-color-active:color-mix( - in srgb, - currentColor 21%, - transparent - ); - --color-accent-primary:#0df; - --color-accent-primary-hover:#80ebff; - --color-accent-primary-active:#aaf2ff; - --border-interactive-color:#bfbfc9; - --color-canvas:#1c1b22; -} - } - -:where(html.is-dark) .toggle-button{ - --button-background-color:color-mix(in srgb, currentColor 7%, transparent); - --button-background-color-hover:color-mix( - in srgb, - currentColor 14%, - transparent - ); - --button-background-color-active:color-mix( - in srgb, - currentColor 21%, - transparent - ); - --color-accent-primary:#0df; - --color-accent-primary-hover:#80ebff; - --color-accent-primary-active:#aaf2ff; - --border-interactive-color:#bfbfc9; - --color-canvas:#1c1b22; -} - -@media (forced-colors: active){ - -.toggle-button{ - --color-accent-primary:ButtonText; - --color-accent-primary-hover:SelectedItem; - --color-accent-primary-active:SelectedItem; - --border-interactive-color:ButtonText; - --button-background-color:ButtonFace; - --border-interactive-color-hover:SelectedItem; - --border-interactive-color-active:SelectedItem; - --border-interactive-color-disabled:GrayText; - --color-canvas:ButtonText; -} - } - -.toggle-button:focus-visible{ - outline:var(--focus-outline); - outline-offset:var(--focus-outline-offset); - } - -.toggle-button:enabled:hover{ - background:var(--toggle-background-color-hover); - border-color:var(--toggle-border-color); - } - -.toggle-button:enabled:active{ - background:var(--toggle-background-color-active); - border-color:var(--toggle-border-color); - } - -.toggle-button[aria-pressed="true"]{ - background:var(--toggle-background-color-pressed); - border-color:transparent; - } - -.toggle-button[aria-pressed="true"]:enabled:hover{ - background:var(--toggle-background-color-pressed-hover); - border-color:transparent; - } - -.toggle-button[aria-pressed="true"]:enabled:active{ - background:var(--toggle-background-color-pressed-active); - border-color:transparent; - } - -.toggle-button::before{ - display:block; - content:""; - background-color:var(--toggle-dot-background-color); - height:var(--toggle-dot-height); - width:var(--toggle-dot-width); - margin:var(--toggle-dot-margin); - border-radius:var(--toggle-border-radius); - translate:0; - } - -.toggle-button[aria-pressed="true"]::before{ - translate:var(--toggle-dot-transform-x); - background-color:var(--toggle-dot-background-color-on-pressed); - } - -.toggle-button[aria-pressed="true"]:enabled:hover::before, - .toggle-button[aria-pressed="true"]:enabled:active::before{ - background-color:var(--toggle-dot-background-color-on-pressed); - } - -[dir="rtl"] .toggle-button[aria-pressed="true"]::before{ - translate:calc(-1 * var(--toggle-dot-transform-x)); - } - -@media (prefers-reduced-motion: no-preference){ - .toggle-button::before{ - transition:translate 100ms; - } - } - -@media (prefers-contrast){ - .toggle-button:enabled:hover{ - border-color:var(--toggle-border-color-hover); - } - - .toggle-button:enabled:active{ - border-color:var(--toggle-border-color-active); - } - - .toggle-button[aria-pressed="true"]:enabled{ - border-color:var(--toggle-border-color); - position:relative; - } - - .toggle-button[aria-pressed="true"]:enabled:hover, - .toggle-button[aria-pressed="true"]:enabled:hover:active{ - border-color:var(--toggle-border-color-hover); - } - - .toggle-button[aria-pressed="true"]:enabled:active{ - background-color:var(--toggle-dot-background-color-active); - border-color:var(--toggle-dot-background-color-hover); - } - - .toggle-button:hover::before, - .toggle-button:active::before{ - background-color:var(--toggle-dot-background-color-hover); - } - } - -@media (forced-colors){ - -.toggle-button{ - --toggle-dot-background-color:var(--color-accent-primary); - --toggle-dot-background-color-hover:var(--color-accent-primary-hover); - --toggle-dot-background-color-active:var(--color-accent-primary-active); - --toggle-dot-background-color-on-pressed:var(--button-background-color); - --toggle-background-color-disabled:var(--button-background-color-disabled); - --toggle-border-color-hover:var(--border-interactive-color-hover); - --toggle-border-color-active:var(--border-interactive-color-active); - --toggle-border-color-disabled:var(--border-interactive-color-disabled); -} - - .toggle-button[aria-pressed="true"]:enabled::after{ - border:1px solid var(--button-background-color); - content:""; - position:absolute; - height:var(--toggle-height); - width:var(--toggle-width); - display:block; - border-radius:var(--toggle-border-radius); - inset:-2px; - } - - .toggle-button[aria-pressed="true"]:enabled:active::after{ - border-color:var(--toggle-border-color-active); - } - } - -:root{ - --outline-width:2px; - --outline-color:#0060df; - --outline-around-width:1px; - --outline-around-color:#f0f0f4; - --hover-outline-around-color:var(--outline-around-color); - --focus-outline:solid var(--outline-width) var(--outline-color); - --unfocus-outline:solid var(--outline-width) transparent; - --focus-outline-around:solid var(--outline-around-width) var(--outline-around-color); - --hover-outline-color:#8f8f9d; - --hover-outline:solid var(--outline-width) var(--hover-outline-color); - --hover-outline-around:solid var(--outline-around-width) var(--hover-outline-around-color); - --freetext-line-height:1.35; - --freetext-padding:2px; - --resizer-bg-color:var(--outline-color); - --resizer-size:6px; - --resizer-shift:calc( - 0px - (var(--outline-width) + var(--resizer-size)) / 2 - - var(--outline-around-width) - ); - --editorFreeText-editing-cursor:text; - --editorInk-editing-cursor:url(images/cursor-editorInk.svg) 0 16, pointer; - --editorHighlight-editing-cursor:url(images/cursor-editorTextHighlight.svg) 24 24, text; - --editorFreeHighlight-editing-cursor:url(images/cursor-editorFreeHighlight.svg) 1 18, pointer; -} -.visuallyHidden{ - position:absolute; - top:0; - left:0; - border:0; - margin:0; - padding:0; - width:0; - height:0; - overflow:hidden; - white-space:nowrap; - font-size:0; -} - -.textLayer.highlighting{ - cursor:var(--editorFreeHighlight-editing-cursor); -} - -.textLayer.highlighting:not(.free) span{ - cursor:var(--editorHighlight-editing-cursor); - } - -.textLayer.highlighting.free span{ - cursor:var(--editorFreeHighlight-editing-cursor); - } - -@media (min-resolution: 1.1dppx){ - :root{ - --editorFreeText-editing-cursor:url(images/cursor-editorFreeText.svg) 0 16, text; - } -} - -@media screen and (forced-colors: active){ - :root{ - --outline-color:CanvasText; - --outline-around-color:ButtonFace; - --resizer-bg-color:ButtonText; - --hover-outline-color:Highlight; - --hover-outline-around-color:SelectedItemText; - } -} - -[data-editor-rotation="90"]{ - transform:rotate(90deg); -} - -[data-editor-rotation="180"]{ - transform:rotate(180deg); -} - -[data-editor-rotation="270"]{ - transform:rotate(270deg); -} - -.annotationEditorLayer{ - background:transparent; - position:absolute; - inset:0; - font-size:calc(100px * var(--scale-factor)); - transform-origin:0 0; - cursor:auto; -} - -.annotationEditorLayer.waiting{ - content:""; - cursor:wait; - position:absolute; - inset:0; - width:100%; - height:100%; -} - -.annotationEditorLayer.disabled{ - pointer-events:none; -} - -.annotationEditorLayer.freetextEditing{ - cursor:var(--editorFreeText-editing-cursor); -} - -.annotationEditorLayer.inkEditing{ - cursor:var(--editorInk-editing-cursor); -} - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor){ - position:absolute; - background:transparent; - z-index:1; - transform-origin:0 0; - cursor:auto; - max-width:100%; - max-height:100%; - border:var(--unfocus-outline); -} - -.annotationEditorLayer .draggable.selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){ - cursor:move; - } - -.annotationEditorLayer .moving:is(.freeTextEditor, .inkEditor, .stampEditor){ - touch-action:none; - } - -.annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor){ - border:var(--focus-outline); - outline:var(--focus-outline-around); - } - -.annotationEditorLayer .selectedEditor:is(.freeTextEditor, .inkEditor, .stampEditor)::before{ - content:""; - position:absolute; - inset:0; - border:var(--focus-outline-around); - pointer-events:none; - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor){ - border:var(--hover-outline); - outline:var(--hover-outline-around); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor):hover:not(.selectedEditor)::before{ - content:""; - position:absolute; - inset:0; - border:var(--focus-outline-around); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - --editor-toolbar-delete-image:url(images/editor-toolbar-delete.svg); - --editor-toolbar-bg-color:#f0f0f4; - --editor-toolbar-highlight-image:url(images/toolbarButton-editorHighlight.svg); - --editor-toolbar-fg-color:#2e2e56; - --editor-toolbar-border-color:#8f8f9d; - --editor-toolbar-hover-border-color:var(--editor-toolbar-border-color); - --editor-toolbar-hover-bg-color:#e0e0e6; - --editor-toolbar-hover-fg-color:var(--editor-toolbar-fg-color); - --editor-toolbar-hover-outline:none; - --editor-toolbar-focus-outline-color:#0060df; - --editor-toolbar-shadow:0 2px 6px 0 rgb(58 57 68 / 0.2); - --editor-toolbar-vert-offset:6px; - --editor-toolbar-height:28px; - --editor-toolbar-padding:2px; - - display:flex; - width:-moz-fit-content; - width:fit-content; - height:var(--editor-toolbar-height); - flex-direction:column; - justify-content:center; - align-items:center; - cursor:default; - pointer-events:auto; - box-sizing:content-box; - padding:var(--editor-toolbar-padding); - - position:absolute; - inset-inline-end:0; - inset-block-start:calc(100% + var(--editor-toolbar-vert-offset)); - - border-radius:6px; - background-color:var(--editor-toolbar-bg-color); - border:1px solid var(--editor-toolbar-border-color); - box-shadow:var(--editor-toolbar-shadow); - } - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - --editor-toolbar-bg-color:#2b2a33; - --editor-toolbar-fg-color:#fbfbfe; - --editor-toolbar-hover-bg-color:#52525e; - --editor-toolbar-focus-outline-color:#0df; - } - } - -:where(html.is-dark) :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - --editor-toolbar-bg-color:#2b2a33; - --editor-toolbar-fg-color:#fbfbfe; - --editor-toolbar-hover-bg-color:#52525e; - --editor-toolbar-focus-outline-color:#0df; - } - -@media screen and (forced-colors: active){ - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - --editor-toolbar-bg-color:ButtonFace; - --editor-toolbar-fg-color:ButtonText; - --editor-toolbar-border-color:ButtonText; - --editor-toolbar-hover-border-color:AccentColor; - --editor-toolbar-hover-bg-color:ButtonFace; - --editor-toolbar-hover-fg-color:AccentColor; - --editor-toolbar-hover-outline:2px solid var(--editor-toolbar-hover-border-color); - --editor-toolbar-focus-outline-color:ButtonBorder; - --editor-toolbar-shadow:none; - } - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar.hidden{ - display:none; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar:has(:focus-visible){ - border-color:transparent; - } - -[dir="ltr"] :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - transform-origin:100% 0; - } - -[dir="rtl"] :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar{ - transform-origin:0 0; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons{ - display:flex; - justify-content:center; - align-items:center; - gap:0; - height:100%; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .divider{ - width:1px; - height:calc( - 2 * var(--editor-toolbar-padding) + var(--editor-toolbar-height) - ); - background-color:var(--editor-toolbar-border-color); - display:inline-block; - margin-inline:2px; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton{ - width:var(--editor-toolbar-height); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton::before{ - content:""; - -webkit-mask-image:var(--editor-toolbar-highlight-image); - mask-image:var(--editor-toolbar-highlight-image); - -webkit-mask-repeat:no-repeat; - mask-repeat:no-repeat; - -webkit-mask-position:center; - mask-position:center; - display:inline-block; - background-color:var(--editor-toolbar-fg-color); - width:100%; - height:100%; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .highlightButton:hover::before{ - background-color:var(--editor-toolbar-hover-fg-color); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete{ - width:var(--editor-toolbar-height); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete::before{ - content:""; - -webkit-mask-image:var(--editor-toolbar-delete-image); - mask-image:var(--editor-toolbar-delete-image); - -webkit-mask-repeat:no-repeat; - mask-repeat:no-repeat; - -webkit-mask-position:center; - mask-position:center; - display:inline-block; - background-color:var(--editor-toolbar-fg-color); - width:100%; - height:100%; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .delete:hover::before{ - background-color:var(--editor-toolbar-hover-fg-color); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > *{ - height:var(--editor-toolbar-height); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider){ - border:none; - background-color:transparent; - cursor:pointer; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover{ - border-radius:2px; - background-color:var(--editor-toolbar-hover-bg-color); - color:var(--editor-toolbar-hover-fg-color); - outline:var(--editor-toolbar-hover-outline); - outline-offset:1px; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):hover:active{ - outline:none; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons > :not(.divider):focus-visible{ - border-radius:2px; - outline:2px solid var(--editor-toolbar-focus-outline-color); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText{ - --alt-text-add-image:url(images/altText_add.svg); - --alt-text-done-image:url(images/altText_done.svg); - - display:flex; - align-items:center; - justify-content:center; - width:-moz-max-content; - width:max-content; - padding-inline:8px; - pointer-events:all; - font:menu; - font-weight:590; - font-size:12px; - color:var(--editor-toolbar-fg-color); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:disabled{ - pointer-events:none; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText::before{ - content:""; - -webkit-mask-image:var(--alt-text-add-image); - mask-image:var(--alt-text-add-image); - -webkit-mask-repeat:no-repeat; - mask-repeat:no-repeat; - -webkit-mask-position:center; - mask-position:center; - display:inline-block; - width:12px; - height:13px; - background-color:var(--editor-toolbar-fg-color); - margin-inline-end:4px; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText:hover::before{ - background-color:var(--editor-toolbar-hover-fg-color); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText.done::before{ - -webkit-mask-image:var(--alt-text-done-image); - mask-image:var(--alt-text-done-image); - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip{ - display:none; - } - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ - --alt-text-tooltip-bg:#f0f0f4; - --alt-text-tooltip-fg:#15141a; - --alt-text-tooltip-border:#8f8f9d; - --alt-text-tooltip-shadow:0px 2px 6px 0px rgb(58 57 68 / 0.2); - - display:inline-flex; - flex-direction:column; - align-items:center; - justify-content:center; - position:absolute; - top:calc(100% + 2px); - inset-inline-start:0; - padding-block:2px 3px; - padding-inline:3px; - max-width:300px; - width:-moz-max-content; - width:max-content; - height:auto; - font-size:12px; - - border:0.5px solid var(--alt-text-tooltip-border); - background:var(--alt-text-tooltip-bg); - box-shadow:var(--alt-text-tooltip-shadow); - color:var(--alt-text-tooltip-fg); - - pointer-events:none; - } - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ - --alt-text-tooltip-bg:#1c1b22; - --alt-text-tooltip-fg:#fbfbfe; - --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a; - } - } - -:where(html.is-dark) :is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ - --alt-text-tooltip-bg:#1c1b22; - --alt-text-tooltip-fg:#fbfbfe; - --alt-text-tooltip-shadow:0px 2px 6px 0px #15141a; - } - -@media screen and (forced-colors: active){ - -:is(.annotationEditorLayer - :is(.freeTextEditor, .inkEditor, .stampEditor, .highlightEditor),.textLayer) .editToolbar .buttons .altText .tooltip.show{ - --alt-text-tooltip-bg:Canvas; - --alt-text-tooltip-fg:CanvasText; - --alt-text-tooltip-border:CanvasText; - --alt-text-tooltip-shadow:none; - } - } - -.annotationEditorLayer .freeTextEditor{ - padding:calc(var(--freetext-padding) * var(--scale-factor)); - width:auto; - height:auto; - touch-action:none; -} - -.annotationEditorLayer .freeTextEditor .internal{ - background:transparent; - border:none; - inset:0; - overflow:visible; - white-space:nowrap; - font:10px sans-serif; - line-height:var(--freetext-line-height); - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; -} - -.annotationEditorLayer .freeTextEditor .overlay{ - position:absolute; - display:none; - background:transparent; - inset:0; - width:100%; - height:100%; -} - -.annotationEditorLayer freeTextEditor .overlay.enabled{ - display:block; -} - -.annotationEditorLayer .freeTextEditor .internal:empty::before{ - content:attr(default-content); - color:gray; -} - -.annotationEditorLayer .freeTextEditor .internal:focus{ - outline:none; - -webkit-user-select:auto; - -moz-user-select:auto; - user-select:auto; -} - -.annotationEditorLayer .inkEditor{ - width:100%; - height:100%; -} - -.annotationEditorLayer .inkEditor.editing{ - cursor:inherit; -} - -.annotationEditorLayer .inkEditor .inkEditorCanvas{ - position:absolute; - inset:0; - width:100%; - height:100%; - touch-action:none; -} - -.annotationEditorLayer .stampEditor{ - width:auto; - height:auto; -} - -.annotationEditorLayer .stampEditor canvas{ - width:100%; - height:100%; -} - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers{ - position:absolute; - inset:0; - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers.hidden{ - display:none; - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer{ - width:var(--resizer-size); - height:var(--resizer-size); - background:content-box var(--resizer-bg-color); - border:var(--focus-outline-around); - border-radius:2px; - position:absolute; - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topLeft{ - top:var(--resizer-shift); - left:var(--resizer-shift); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topMiddle{ - top:var(--resizer-shift); - left:calc(50% + var(--resizer-shift)); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.topRight{ - top:var(--resizer-shift); - right:var(--resizer-shift); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleRight{ - top:calc(50% + var(--resizer-shift)); - right:var(--resizer-shift); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomRight{ - bottom:var(--resizer-shift); - right:var(--resizer-shift); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomMiddle{ - bottom:var(--resizer-shift); - left:calc(50% + var(--resizer-shift)); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.bottomLeft{ - bottom:var(--resizer-shift); - left:var(--resizer-shift); - } - -.annotationEditorLayer :is(.freeTextEditor, .inkEditor, .stampEditor) > .resizers > .resizer.middleLeft{ - top:calc(50% + var(--resizer-shift)); - left:var(--resizer-shift); - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight{ - cursor:nwse-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle{ - cursor:ns-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft{ - cursor:nesw-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft{ - cursor:ew-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topLeft, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomRight{ - cursor:nesw-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topMiddle, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomMiddle, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomMiddle{ - cursor:ew-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.topRight, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.bottomLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.bottomLeft{ - cursor:nwse-resize; - } - -.annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleRight, - .annotationEditorLayer[data-main-rotation="0"] - :is([data-editor-rotation="90"], [data-editor-rotation="270"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="90"] - :is([data-editor-rotation="0"], [data-editor-rotation="180"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="180"] - :is([data-editor-rotation="270"], [data-editor-rotation="90"]) > .resizers > .resizer.middleLeft, - .annotationEditorLayer[data-main-rotation="270"] - :is([data-editor-rotation="180"], [data-editor-rotation="0"]) > .resizers > .resizer.middleLeft{ - cursor:ns-resize; - } - -.annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="90"], - [data-main-rotation="90"] [data-editor-rotation="0"], - [data-main-rotation="180"] [data-editor-rotation="270"], - [data-main-rotation="270"] [data-editor-rotation="180"] - ) .editToolbar{ - rotate:270deg; - } - -[dir="ltr"] .annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="90"], - [data-main-rotation="90"] [data-editor-rotation="0"], - [data-main-rotation="180"] [data-editor-rotation="270"], - [data-main-rotation="270"] [data-editor-rotation="180"] - ) .editToolbar{ - inset-inline-end:calc(0px - var(--editor-toolbar-vert-offset)); - inset-block-start:0; - } - -[dir="rtl"] .annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="90"], - [data-main-rotation="90"] [data-editor-rotation="0"], - [data-main-rotation="180"] [data-editor-rotation="270"], - [data-main-rotation="270"] [data-editor-rotation="180"] - ) .editToolbar{ - inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); - inset-block-start:0; - } - -.annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="180"], - [data-main-rotation="90"] [data-editor-rotation="90"], - [data-main-rotation="180"] [data-editor-rotation="0"], - [data-main-rotation="270"] [data-editor-rotation="270"] - ) .editToolbar{ - rotate:180deg; - inset-inline-end:100%; - inset-block-start:calc(0pc - var(--editor-toolbar-vert-offset)); - } - -.annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="270"], - [data-main-rotation="90"] [data-editor-rotation="180"], - [data-main-rotation="180"] [data-editor-rotation="90"], - [data-main-rotation="270"] [data-editor-rotation="0"] - ) .editToolbar{ - rotate:90deg; - } - -[dir="ltr"] .annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="270"], - [data-main-rotation="90"] [data-editor-rotation="180"], - [data-main-rotation="180"] [data-editor-rotation="90"], - [data-main-rotation="270"] [data-editor-rotation="0"] - ) .editToolbar{ - inset-inline-end:calc(100% + var(--editor-toolbar-vert-offset)); - inset-block-start:100%; - } - -[dir="rtl"] .annotationEditorLayer - :is( - [data-main-rotation="0"] [data-editor-rotation="270"], - [data-main-rotation="90"] [data-editor-rotation="180"], - [data-main-rotation="180"] [data-editor-rotation="90"], - [data-main-rotation="270"] [data-editor-rotation="0"] - ) .editToolbar{ - inset-inline-start:calc(0px - var(--editor-toolbar-vert-offset)); - inset-block-start:0; - } - -#altTextDialog{ - --dialog-bg-color:white; - --dialog-border-color:white; - --dialog-shadow:0 2px 14px 0 rgb(58 57 68 / 0.2); - --text-primary-color:#15141a; - --text-secondary-color:#5b5b66; - --hover-filter:brightness(0.9); - --focus-ring-color:#0060df; - --focus-ring-outline:2px solid var(--focus-ring-color); - - --textarea-border-color:#8f8f9d; - --textarea-bg-color:white; - --textarea-fg-color:var(--text-secondary-color); - - --radio-bg-color:#f0f0f4; - --radio-checked-bg-color:#fbfbfe; - --radio-border-color:#8f8f9d; - --radio-checked-border-color:#0060df; - - --button-cancel-bg-color:#f0f0f4; - --button-cancel-fg-color:var(--text-primary-color); - --button-cancel-border-color:var(--button-cancel-bg-color); - --button-cancel-hover-bg-color:var(--button-cancel-bg-color); - --button-cancel-hover-fg-color:var(--button-cancel-fg-color); - --button-cancel-hover-border-color:var(--button-cancel-hover-bg-color); - - --button-save-bg-color:#0060df; - --button-save-fg-color:#fbfbfe; - --button-save-hover-bg-color:var(--button-save-bg-color); - --button-save-hover-fg-color:var(--button-save-fg-color); - --button-save-hover-border-color:var(--button-save-hover-bg-color); - - font:message-box; - font-size:13px; - font-weight:400; - line-height:150%; - border-radius:4px; - padding:12px 16px; - border:1px solid var(--dialog-border-color); - background:var(--dialog-bg-color); - color:var(--text-primary-color); - box-shadow:var(--dialog-shadow); -} - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) #altTextDialog{ - --dialog-bg-color:#1c1b22; - --dialog-border-color:#1c1b22; - --dialog-shadow:0 2px 14px 0 #15141a; - --text-primary-color:#fbfbfe; - --text-secondary-color:#cfcfd8; - --focus-ring-color:#0df; - --hover-filter:brightness(1.4); - - --textarea-bg-color:#42414d; - - --radio-bg-color:#2b2a33; - --radio-checked-bg-color:#15141a; - --radio-checked-border-color:#0df; - - --button-cancel-bg-color:#2b2a33; - --button-save-bg-color:#0df; - --button-save-fg-color:#15141a; -} - } - -:where(html.is-dark) #altTextDialog{ - --dialog-bg-color:#1c1b22; - --dialog-border-color:#1c1b22; - --dialog-shadow:0 2px 14px 0 #15141a; - --text-primary-color:#fbfbfe; - --text-secondary-color:#cfcfd8; - --focus-ring-color:#0df; - --hover-filter:brightness(1.4); - - --textarea-bg-color:#42414d; - - --radio-bg-color:#2b2a33; - --radio-checked-bg-color:#15141a; - --radio-checked-border-color:#0df; - - --button-cancel-bg-color:#2b2a33; - --button-save-bg-color:#0df; - --button-save-fg-color:#15141a; -} - -@media screen and (forced-colors: active){ - -#altTextDialog{ - --dialog-bg-color:Canvas; - --dialog-border-color:CanvasText; - --dialog-shadow:none; - --text-primary-color:CanvasText; - --text-secondary-color:CanvasText; - --hover-filter:none; - --focus-ring-color:ButtonBorder; - - --textarea-border-color:ButtonBorder; - --textarea-bg-color:Field; - --textarea-fg-color:ButtonText; - - --radio-bg-color:ButtonFace; - --radio-checked-bg-color:ButtonFace; - --radio-border-color:ButtonText; - --radio-checked-border-color:ButtonText; - - --button-cancel-bg-color:ButtonFace; - --button-cancel-fg-color:ButtonText; - --button-cancel-border-color:ButtonText; - --button-cancel-hover-bg-color:AccentColor; - --button-cancel-hover-fg-color:AccentColorText; - - --button-save-bg-color:ButtonText; - --button-save-fg-color:ButtonFace; - --button-save-hover-bg-color:AccentColor; - --button-save-hover-fg-color:AccentColorText; -} - } - -#altTextDialog::backdrop{ - -webkit-mask:url(#alttext-manager-mask); - mask:url(#alttext-manager-mask); - } - -#altTextDialog.positioned{ - margin:0; - } - -#altTextDialog #altTextContainer{ - width:300px; - height:-moz-fit-content; - height:fit-content; - display:inline-flex; - flex-direction:column; - align-items:flex-start; - gap:16px; - } - -#altTextDialog #altTextContainer *:focus-visible{ - outline:var(--focus-ring-outline); - outline-offset:2px; - } - -#altTextDialog #altTextContainer .radio{ - display:flex; - flex-direction:column; - align-items:flex-start; - gap:4px; - } - -#altTextDialog #altTextContainer .radio .radioButton{ - display:flex; - gap:8px; - align-self:stretch; - align-items:center; - } - -#altTextDialog #altTextContainer .radio .radioButton input{ - -webkit-appearance:none; - -moz-appearance:none; - appearance:none; - box-sizing:border-box; - width:16px; - height:16px; - border-radius:50%; - background-color:var(--radio-bg-color); - border:1px solid var(--radio-border-color); - } - -#altTextDialog #altTextContainer .radio .radioButton input:hover{ - filter:var(--hover-filter); - } - -#altTextDialog #altTextContainer .radio .radioButton input:checked{ - background-color:var(--radio-checked-bg-color); - border:4px solid var(--radio-checked-border-color); - } - -#altTextDialog #altTextContainer .radio .radioLabel{ - display:flex; - padding-inline-start:24px; - align-items:flex-start; - gap:10px; - align-self:stretch; - } - -#altTextDialog #altTextContainer .radio .radioLabel span{ - flex:1 0 0; - font-size:11px; - color:var(--text-secondary-color); - } - -#altTextDialog #altTextContainer #overallDescription{ - display:flex; - flex-direction:column; - align-items:flex-start; - gap:4px; - align-self:stretch; - } - -#altTextDialog #altTextContainer #overallDescription span{ - align-self:stretch; - } - -#altTextDialog #altTextContainer #overallDescription .title{ - font-size:13px; - font-style:normal; - font-weight:590; - } - -#altTextDialog #altTextContainer #addDescription{ - display:flex; - flex-direction:column; - align-items:stretch; - gap:8px; - } - -#altTextDialog #altTextContainer #addDescription .descriptionArea{ - flex:1; - padding-inline:24px 10px; - } - -#altTextDialog #altTextContainer #addDescription .descriptionArea textarea{ - font:inherit; - width:100%; - min-height:75px; - padding:8px; - resize:none; - margin:0; - box-sizing:border-box; - border-radius:4px; - border:1px solid var(--textarea-border-color); - background:var(--textarea-bg-color); - color:var(--textarea-fg-color); - } - -#altTextDialog #altTextContainer #addDescription .descriptionArea textarea:focus{ - outline-offset:0; - border-color:transparent; - } - -#altTextDialog #altTextContainer #addDescription .descriptionArea textarea:disabled{ - pointer-events:none; - opacity:0.4; - } - -#altTextDialog #altTextContainer #buttons{ - display:flex; - justify-content:flex-end; - align-items:flex-start; - gap:8px; - align-self:stretch; - } - -#altTextDialog #altTextContainer #buttons button{ - border-radius:4px; - border:1px solid; - font:menu; - font-weight:600; - padding:4px 16px; - width:auto; - height:32px; - } - -#altTextDialog #altTextContainer #buttons button:hover{ - cursor:pointer; - filter:var(--hover-filter); - } - -#altTextDialog #altTextContainer #buttons button#altTextCancel{ - color:var(--button-cancel-fg-color); - background-color:var(--button-cancel-bg-color); - border-color:var(--button-cancel-border-color); - } - -#altTextDialog #altTextContainer #buttons button#altTextCancel:hover{ - color:var(--button-cancel-hover-fg-color); - background-color:var(--button-cancel-hover-bg-color); - border-color:var(--button-cancel-hover-border-color); - } - -#altTextDialog #altTextContainer #buttons button#altTextSave{ - color:var(--button-save-hover-fg-color); - background-color:var(--button-save-hover-bg-color); - border-color:var(--button-save-hover-border-color); - opacity:1; - } - -#altTextDialog #altTextContainer #buttons button#altTextSave:hover{ - color:var(--button-save-hover-fg-color); - background-color:var(--button-save-hover-bg-color); - border-color:var(--button-save-hover-border-color); - } - -.colorPicker{ - --hover-outline-color:#0250bb; - --selected-outline-color:#0060df; - --swatch-border-color:#cfcfd8; -} - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) .colorPicker{ - --hover-outline-color:#80ebff; - --selected-outline-color:#aaf2ff; - --swatch-border-color:#52525e; -} - } - -:where(html.is-dark) .colorPicker{ - --hover-outline-color:#80ebff; - --selected-outline-color:#aaf2ff; - --swatch-border-color:#52525e; -} - -@media screen and (forced-colors: active){ - -.colorPicker{ - --hover-outline-color:Highlight; - --selected-outline-color:var(--hover-outline-color); - --swatch-border-color:ButtonText; -} - } - -.colorPicker .swatch{ - width:16px; - height:16px; - border:1px solid var(--swatch-border-color); - border-radius:100%; - outline-offset:2px; - box-sizing:border-box; - forced-color-adjust:none; - } - -.colorPicker button:is(:hover, .selected) > .swatch{ - border:none; - } - -.annotationEditorLayer[data-main-rotation="0"] .highlightEditor:not(.free) > .editToolbar{ - rotate:0deg; - } - -.annotationEditorLayer[data-main-rotation="90"] .highlightEditor:not(.free) > .editToolbar{ - rotate:270deg; - } - -.annotationEditorLayer[data-main-rotation="180"] .highlightEditor:not(.free) > .editToolbar{ - rotate:180deg; - } - -.annotationEditorLayer[data-main-rotation="270"] .highlightEditor:not(.free) > .editToolbar{ - rotate:90deg; - } - -.annotationEditorLayer .highlightEditor{ - position:absolute; - background:transparent; - z-index:1; - cursor:auto; - max-width:100%; - max-height:100%; - border:none; - outline:none; - pointer-events:none; - transform-origin:0 0; - } - -.annotationEditorLayer .highlightEditor:not(.free){ - transform:none; - } - -.annotationEditorLayer .highlightEditor .internal{ - position:absolute; - top:0; - left:0; - width:100%; - height:100%; - pointer-events:auto; - } - -.annotationEditorLayer .highlightEditor.disabled .internal{ - pointer-events:none; - } - -.annotationEditorLayer .highlightEditor.selectedEditor .internal{ - cursor:pointer; - } - -.annotationEditorLayer .highlightEditor .editToolbar{ - --editor-toolbar-colorpicker-arrow-image:url(images/toolbarButton-menuArrow.svg); - - transform-origin:center !important; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker{ - position:relative; - width:auto; - display:flex; - justify-content:center; - align-items:center; - gap:4px; - padding:4px; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker::after{ - content:""; - -webkit-mask-image:var(--editor-toolbar-colorpicker-arrow-image); - mask-image:var(--editor-toolbar-colorpicker-arrow-image); - -webkit-mask-repeat:no-repeat; - mask-repeat:no-repeat; - -webkit-mask-position:center; - mask-position:center; - display:inline-block; - background-color:var(--editor-toolbar-fg-color); - width:12px; - height:12px; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:hover::after{ - background-color:var(--editor-toolbar-hover-fg-color); - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden)){ - background-color:var(--editor-toolbar-hover-bg-color); - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker:has(.dropdown:not(.hidden))::after{ - scale:-1; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown{ - position:absolute; - display:flex; - justify-content:center; - align-items:center; - flex-direction:column; - gap:11px; - padding-block:8px; - border-radius:6px; - background-color:var(--editor-toolbar-bg-color); - border:1px solid var(--editor-toolbar-border-color); - box-shadow:var(--editor-toolbar-shadow); - inset-block-start:calc(100% + 4px); - width:calc(100% + 2 * var(--editor-toolbar-padding)); - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button{ - width:100%; - height:auto; - border:none; - cursor:pointer; - display:flex; - justify-content:center; - align-items:center; - background:none; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:active, :focus-visible){ - outline:none; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button > .swatch{ - outline-offset:2px; - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button[aria-selected="true"] > .swatch{ - outline:2px solid var(--selected-outline-color); - } - -.annotationEditorLayer .highlightEditor .editToolbar .buttons .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{ - outline:2px solid var(--hover-outline-color); - } - -.editorParamsToolbar:has(#highlightParamsToolbarContainer){ - padding:unset; -} - -#highlightParamsToolbarContainer{ - height:auto; - padding-inline:10px; - padding-block:10px 16px; - gap:16px; - display:flex; - flex-direction:column; - box-sizing:border-box; -} - -#highlightParamsToolbarContainer .editorParamsLabel{ - width:-moz-fit-content; - width:fit-content; - inset-inline-start:0; - } - -#highlightParamsToolbarContainer .colorPicker{ - display:flex; - flex-direction:column; - gap:8px; - } - -#highlightParamsToolbarContainer .colorPicker .dropdown{ - display:flex; - justify-content:space-between; - align-items:center; - flex-direction:row; - height:auto; - } - -#highlightParamsToolbarContainer .colorPicker .dropdown button{ - width:auto; - height:auto; - border:none; - cursor:pointer; - display:flex; - justify-content:center; - align-items:center; - background:none; - flex:0 0 auto; - } - -#highlightParamsToolbarContainer .colorPicker .dropdown button .swatch{ - width:24px; - height:24px; - } - -#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:active, :focus-visible){ - outline:none; - } - -#highlightParamsToolbarContainer .colorPicker .dropdown button[aria-selected="true"] > .swatch{ - outline:2px solid var(--selected-outline-color); - } - -#highlightParamsToolbarContainer .colorPicker .dropdown button:is(:hover, :active, :focus-visible) > .swatch{ - outline:2px solid var(--hover-outline-color); - } - -#highlightParamsToolbarContainer #editorHighlightThickness{ - display:flex; - flex-direction:column; - align-items:center; - gap:4px; - align-self:stretch; - } - -#highlightParamsToolbarContainer #editorHighlightThickness .editorParamsLabel{ - width:100%; - height:auto; - align-self:stretch; - } - -#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ - display:flex; - justify-content:space-between; - align-items:center; - align-self:stretch; - - --example-color:#bfbfc9; - } - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ - --example-color:#80808e; - } - } - -:where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ - --example-color:#80808e; - } - -@media screen and (forced-colors: active){ - -#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker{ - --example-color:CanvasText; - } - } - -:is(#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker > .editorParamsSlider[disabled]){ - opacity:0.4; - } - -#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::before, - #highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{ - content:""; - width:8px; - aspect-ratio:1; - display:block; - border-radius:100%; - background-color:var(--example-color); - } - -#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker::after{ - width:24px; - } - -#highlightParamsToolbarContainer #editorHighlightThickness .thicknessPicker .editorParamsSlider{ - width:unset; - height:14px; - } - -#highlightParamsToolbarContainer #editorHighlightVisibility{ - display:flex; - flex-direction:column; - align-items:flex-start; - gap:8px; - align-self:stretch; - } - -#highlightParamsToolbarContainer #editorHighlightVisibility .divider{ - --divider-color:#d7d7db; - - margin-block:4px; - width:100%; - height:1px; - background-color:var(--divider-color); - } - -@media (prefers-color-scheme: dark){ - -:where(html:not(.is-light)) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ - --divider-color:#8f8f9d; - } - } - -:where(html.is-dark) #highlightParamsToolbarContainer #editorHighlightVisibility .divider{ - --divider-color:#8f8f9d; - } - -@media screen and (forced-colors: active){ - -#highlightParamsToolbarContainer #editorHighlightVisibility .divider{ - --divider-color:CanvasText; - } - } - -#highlightParamsToolbarContainer #editorHighlightVisibility .toggler{ - display:flex; - justify-content:space-between; - align-items:center; - align-self:stretch; - } - -:root{ - --viewer-container-height:0; - --pdfViewer-padding-bottom:0; - --page-margin:1px auto -8px; - --page-border:9px solid transparent; - --spreadHorizontalWrapped-margin-LR:-3.5px; - --loading-icon-delay:400ms; -} - -@media screen and (forced-colors: active){ - :root{ - --pdfViewer-padding-bottom:9px; - --page-margin:8px auto -1px; - --page-border:1px solid CanvasText; - --spreadHorizontalWrapped-margin-LR:3.5px; - } -} - -[data-main-rotation="90"]{ - transform:rotate(90deg) translateY(-100%); -} -[data-main-rotation="180"]{ - transform:rotate(180deg) translate(-100%, -100%); -} -[data-main-rotation="270"]{ - transform:rotate(270deg) translateX(-100%); -} - -#hiddenCopyElement, -.hiddenCanvasElement{ - position:absolute; - top:0; - left:0; - width:0; - height:0; - display:none; -} - -.pdfViewer{ - --scale-factor:1; - - padding-bottom:var(--pdfViewer-padding-bottom); - - --hcm-highlight-filter:none; - --hcm-highlight-selected-filter:none; -} - -@media screen and (forced-colors: active){ - -.pdfViewer{ - --hcm-highlight-filter:invert(100%); -} - } - -.pdfViewer .canvasWrapper{ - overflow:hidden; - width:100%; - height:100%; -} - -.pdfViewer .page{ - direction:ltr; - width:816px; - height:1056px; - margin:var(--page-margin); - position:relative; - overflow:visible; - border:var(--page-border); - background-clip:content-box; - background-color:rgb(255 255 255); -} - -.pdfViewer .dummyPage{ - position:relative; - width:0; - height:var(--viewer-container-height); -} - -.pdfViewer.noUserSelect{ - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; -} - -.pdfViewer.removePageBorders .page{ - margin:0 auto 10px; - border:none; -} - -.pdfViewer:is(.scrollHorizontal, .scrollWrapped), -.spread{ - margin-inline:3.5px; - text-align:center; -} - -.pdfViewer.scrollHorizontal, -.spread{ - white-space:nowrap; -} - -.pdfViewer.removePageBorders, -.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .spread{ - margin-inline:0; -} - -.spread :is(.page, .dummyPage), -.pdfViewer:is(.scrollHorizontal, .scrollWrapped) :is(.page, .spread){ - display:inline-block; - vertical-align:middle; -} - -.spread .page, -.pdfViewer:is(.scrollHorizontal, .scrollWrapped) .page{ - margin-inline:var(--spreadHorizontalWrapped-margin-LR); -} - -.pdfViewer.removePageBorders .spread .page, -.pdfViewer.removePageBorders:is(.scrollHorizontal, .scrollWrapped) .page{ - margin-inline:5px; -} - -.pdfViewer .page canvas{ - margin:0; - display:block; -} - -.pdfViewer .page canvas .structTree{ - contain:strict; -} - -.pdfViewer .page canvas[hidden]{ - display:none; -} - -.pdfViewer .page canvas[zooming]{ - width:100%; - height:100%; -} - -.pdfViewer .page.loadingIcon::after{ - position:absolute; - top:0; - left:0; - content:""; - width:100%; - height:100%; - background:url("images/loading-icon.gif") center no-repeat; - display:none; - transition-property:display; - transition-delay:var(--loading-icon-delay); - z-index:5; - contain:strict; -} - -.pdfViewer .page.loading::after{ - display:block; -} - -.pdfViewer .page:not(.loading)::after{ - transition-property:none; - display:none; -} - -.pdfPresentationMode .pdfViewer{ - padding-bottom:0; -} - -.pdfPresentationMode .spread{ - margin:0; -} - -.pdfPresentationMode .pdfViewer .page{ - margin:0 auto; - border:2px solid transparent; -} - -:root{ - --dir-factor:1; - --inline-start:left; - --inline-end:right; - - --sidebar-width:200px; - --sidebar-transition-duration:200ms; - --sidebar-transition-timing-function:ease; - - --toolbar-icon-opacity:0.7; - --doorhanger-icon-opacity:0.9; - --editor-toolbar-base-offset:105px; - - --main-color:rgb(12 12 13); - --body-bg-color:rgb(212 212 215); - --progressBar-color:rgb(10 132 255); - --progressBar-bg-color:rgb(221 221 222); - --progressBar-blend-color:rgb(116 177 239); - --scrollbar-color:auto; - --scrollbar-bg-color:auto; - --toolbar-icon-bg-color:rgb(0 0 0); - --toolbar-icon-hover-bg-color:rgb(0 0 0); - - --sidebar-narrow-bg-color:rgb(212 212 215 / 0.9); - --sidebar-toolbar-bg-color:rgb(245 246 247); - --toolbar-bg-color:rgb(249 249 250); - --toolbar-border-color:rgb(184 184 184); - --toolbar-box-shadow:0 1px 0 var(--toolbar-border-color); - --toolbar-border-bottom:none; - --toolbarSidebar-box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25), 0 1px 0 rgb(0 0 0 / 0.15), 0 0 1px rgb(0 0 0 / 0.1); - --toolbarSidebar-border-bottom:none; - --button-hover-color:rgb(221 222 223); - --toggled-btn-color:rgb(0 0 0); - --toggled-btn-bg-color:rgb(0 0 0 / 0.3); - --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); - --toggled-hover-btn-outline:none; - --dropdown-btn-bg-color:rgb(215 215 219); - --dropdown-btn-border:none; - --separator-color:rgb(0 0 0 / 0.3); - --field-color:rgb(6 6 6); - --field-bg-color:rgb(255 255 255); - --field-border-color:rgb(187 187 188); - --treeitem-color:rgb(0 0 0 / 0.8); - --treeitem-bg-color:rgb(0 0 0 / 0.15); - --treeitem-hover-color:rgb(0 0 0 / 0.9); - --treeitem-selected-color:rgb(0 0 0 / 0.9); - --treeitem-selected-bg-color:rgb(0 0 0 / 0.25); - --thumbnail-hover-color:rgb(0 0 0 / 0.1); - --thumbnail-selected-color:rgb(0 0 0 / 0.2); - --doorhanger-bg-color:rgb(255 255 255); - --doorhanger-border-color:rgb(12 12 13 / 0.2); - --doorhanger-hover-color:rgb(12 12 13); - --doorhanger-hover-bg-color:rgb(237 237 237); - --doorhanger-separator-color:rgb(222 222 222); - --dialog-button-border:none; - --dialog-button-bg-color:rgb(12 12 13 / 0.1); - --dialog-button-hover-bg-color:rgb(12 12 13 / 0.3); - - --loading-icon:url(images/loading.svg); - --treeitem-expanded-icon:url(images/treeitem-expanded.svg); - --treeitem-collapsed-icon:url(images/treeitem-collapsed.svg); - --toolbarButton-editorFreeText-icon:url(images/toolbarButton-editorFreeText.svg); - --toolbarButton-editorHighlight-icon:url(images/toolbarButton-editorHighlight.svg); - --toolbarButton-editorInk-icon:url(images/toolbarButton-editorInk.svg); - --toolbarButton-editorStamp-icon:url(images/toolbarButton-editorStamp.svg); - --toolbarButton-menuArrow-icon:url(images/toolbarButton-menuArrow.svg); - --toolbarButton-sidebarToggle-icon:url(images/toolbarButton-sidebarToggle.svg); - --toolbarButton-secondaryToolbarToggle-icon:url(images/toolbarButton-secondaryToolbarToggle.svg); - --toolbarButton-pageUp-icon:url(images/toolbarButton-pageUp.svg); - --toolbarButton-pageDown-icon:url(images/toolbarButton-pageDown.svg); - --toolbarButton-zoomOut-icon:url(images/toolbarButton-zoomOut.svg); - --toolbarButton-zoomIn-icon:url(images/toolbarButton-zoomIn.svg); - --toolbarButton-presentationMode-icon:url(images/toolbarButton-presentationMode.svg); - --toolbarButton-print-icon:url(images/toolbarButton-print.svg); - --toolbarButton-openFile-icon:url(images/toolbarButton-openFile.svg); - --toolbarButton-download-icon:url(images/toolbarButton-download.svg); - --toolbarButton-bookmark-icon:url(images/toolbarButton-bookmark.svg); - --toolbarButton-viewThumbnail-icon:url(images/toolbarButton-viewThumbnail.svg); - --toolbarButton-viewOutline-icon:url(images/toolbarButton-viewOutline.svg); - --toolbarButton-viewAttachments-icon:url(images/toolbarButton-viewAttachments.svg); - --toolbarButton-viewLayers-icon:url(images/toolbarButton-viewLayers.svg); - --toolbarButton-currentOutlineItem-icon:url(images/toolbarButton-currentOutlineItem.svg); - --toolbarButton-search-icon:url(images/toolbarButton-search.svg); - --findbarButton-previous-icon:url(images/findbarButton-previous.svg); - --findbarButton-next-icon:url(images/findbarButton-next.svg); - --secondaryToolbarButton-firstPage-icon:url(images/secondaryToolbarButton-firstPage.svg); - --secondaryToolbarButton-lastPage-icon:url(images/secondaryToolbarButton-lastPage.svg); - --secondaryToolbarButton-rotateCcw-icon:url(images/secondaryToolbarButton-rotateCcw.svg); - --secondaryToolbarButton-rotateCw-icon:url(images/secondaryToolbarButton-rotateCw.svg); - --secondaryToolbarButton-selectTool-icon:url(images/secondaryToolbarButton-selectTool.svg); - --secondaryToolbarButton-handTool-icon:url(images/secondaryToolbarButton-handTool.svg); - --secondaryToolbarButton-scrollPage-icon:url(images/secondaryToolbarButton-scrollPage.svg); - --secondaryToolbarButton-scrollVertical-icon:url(images/secondaryToolbarButton-scrollVertical.svg); - --secondaryToolbarButton-scrollHorizontal-icon:url(images/secondaryToolbarButton-scrollHorizontal.svg); - --secondaryToolbarButton-scrollWrapped-icon:url(images/secondaryToolbarButton-scrollWrapped.svg); - --secondaryToolbarButton-spreadNone-icon:url(images/secondaryToolbarButton-spreadNone.svg); - --secondaryToolbarButton-spreadOdd-icon:url(images/secondaryToolbarButton-spreadOdd.svg); - --secondaryToolbarButton-spreadEven-icon:url(images/secondaryToolbarButton-spreadEven.svg); - --secondaryToolbarButton-documentProperties-icon:url(images/secondaryToolbarButton-documentProperties.svg); - --editorParams-stampAddImage-icon:url(images/toolbarButton-zoomIn.svg); -} - -[dir="rtl"]:root{ - --dir-factor:-1; - --inline-start:right; - --inline-end:left; -} - -@media (prefers-color-scheme: dark){ - :root:where(:not(.is-light)){ - --main-color:rgb(249 249 250); - --body-bg-color:rgb(42 42 46); - --progressBar-color:rgb(0 96 223); - --progressBar-bg-color:rgb(40 40 43); - --progressBar-blend-color:rgb(20 68 133); - --scrollbar-color:rgb(121 121 123); - --scrollbar-bg-color:rgb(35 35 39); - --toolbar-icon-bg-color:rgb(255 255 255); - --toolbar-icon-hover-bg-color:rgb(255 255 255); - - --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9); - --sidebar-toolbar-bg-color:rgb(50 50 52); - --toolbar-bg-color:rgb(56 56 61); - --toolbar-border-color:rgb(12 12 13); - --button-hover-color:rgb(102 102 103); - --toggled-btn-color:rgb(255 255 255); - --toggled-btn-bg-color:rgb(0 0 0 / 0.3); - --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); - --dropdown-btn-bg-color:rgb(74 74 79); - --separator-color:rgb(0 0 0 / 0.3); - --field-color:rgb(250 250 250); - --field-bg-color:rgb(64 64 68); - --field-border-color:rgb(115 115 115); - --treeitem-color:rgb(255 255 255 / 0.8); - --treeitem-bg-color:rgb(255 255 255 / 0.15); - --treeitem-hover-color:rgb(255 255 255 / 0.9); - --treeitem-selected-color:rgb(255 255 255 / 0.9); - --treeitem-selected-bg-color:rgb(255 255 255 / 0.25); - --thumbnail-hover-color:rgb(255 255 255 / 0.1); - --thumbnail-selected-color:rgb(255 255 255 / 0.2); - --doorhanger-bg-color:rgb(74 74 79); - --doorhanger-border-color:rgb(39 39 43); - --doorhanger-hover-color:rgb(249 249 250); - --doorhanger-hover-bg-color:rgb(93 94 98); - --doorhanger-separator-color:rgb(92 92 97); - --dialog-button-bg-color:rgb(92 92 97); - --dialog-button-hover-bg-color:rgb(115 115 115); - } -} - -:root:where(.is-dark){ - --main-color:rgb(249 249 250); - --body-bg-color:rgb(42 42 46); - --progressBar-color:rgb(0 96 223); - --progressBar-bg-color:rgb(40 40 43); - --progressBar-blend-color:rgb(20 68 133); - --scrollbar-color:rgb(121 121 123); - --scrollbar-bg-color:rgb(35 35 39); - --toolbar-icon-bg-color:rgb(255 255 255); - --toolbar-icon-hover-bg-color:rgb(255 255 255); - - --sidebar-narrow-bg-color:rgb(42 42 46 / 0.9); - --sidebar-toolbar-bg-color:rgb(50 50 52); - --toolbar-bg-color:rgb(56 56 61); - --toolbar-border-color:rgb(12 12 13); - --button-hover-color:rgb(102 102 103); - --toggled-btn-color:rgb(255 255 255); - --toggled-btn-bg-color:rgb(0 0 0 / 0.3); - --toggled-hover-active-btn-color:rgb(0 0 0 / 0.4); - --dropdown-btn-bg-color:rgb(74 74 79); - --separator-color:rgb(0 0 0 / 0.3); - --field-color:rgb(250 250 250); - --field-bg-color:rgb(64 64 68); - --field-border-color:rgb(115 115 115); - --treeitem-color:rgb(255 255 255 / 0.8); - --treeitem-bg-color:rgb(255 255 255 / 0.15); - --treeitem-hover-color:rgb(255 255 255 / 0.9); - --treeitem-selected-color:rgb(255 255 255 / 0.9); - --treeitem-selected-bg-color:rgb(255 255 255 / 0.25); - --thumbnail-hover-color:rgb(255 255 255 / 0.1); - --thumbnail-selected-color:rgb(255 255 255 / 0.2); - --doorhanger-bg-color:rgb(74 74 79); - --doorhanger-border-color:rgb(39 39 43); - --doorhanger-hover-color:rgb(249 249 250); - --doorhanger-hover-bg-color:rgb(93 94 98); - --doorhanger-separator-color:rgb(92 92 97); - --dialog-button-bg-color:rgb(92 92 97); - --dialog-button-hover-bg-color:rgb(115 115 115); - } - -@media screen and (forced-colors: active){ - :root{ - --button-hover-color:Highlight; - --doorhanger-hover-bg-color:Highlight; - --toolbar-icon-opacity:1; - --toolbar-icon-bg-color:ButtonText; - --toolbar-icon-hover-bg-color:ButtonFace; - --toggled-hover-active-btn-color:ButtonText; - --toggled-hover-btn-outline:2px solid ButtonBorder; - --toolbar-border-color:CanvasText; - --toolbar-border-bottom:1px solid var(--toolbar-border-color); - --toolbar-box-shadow:none; - --toggled-btn-color:HighlightText; - --toggled-btn-bg-color:LinkText; - --doorhanger-hover-color:ButtonFace; - --doorhanger-border-color-whcm:1px solid ButtonText; - --doorhanger-triangle-opacity-whcm:0; - --dialog-button-border:1px solid Highlight; - --dialog-button-hover-bg-color:Highlight; - --dialog-button-hover-color:ButtonFace; - --dropdown-btn-border:1px solid ButtonText; - --field-border-color:ButtonText; - --main-color:CanvasText; - --separator-color:GrayText; - --doorhanger-separator-color:GrayText; - --toolbarSidebar-box-shadow:none; - --toolbarSidebar-border-bottom:1px solid var(--toolbar-border-color); - } -} - -@media screen and (prefers-reduced-motion: reduce){ - :root{ - --sidebar-transition-duration:0; - } -} - -*{ - padding:0; - margin:0; -} - -html, -body{ - height:100%; - width:100%; -} - -body{ - background-color:var(--body-bg-color); - scrollbar-color:var(--scrollbar-color) var(--scrollbar-bg-color); -} - -.hidden, -[hidden]{ - display:none !important; -} - -#viewerContainer.pdfPresentationMode:fullscreen{ - top:0; - background-color:rgb(0 0 0); - width:100%; - height:100%; - overflow:hidden; - cursor:none; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; -} - -.pdfPresentationMode:fullscreen section:not([data-internal-link]){ - pointer-events:none; -} - -.pdfPresentationMode:fullscreen .textLayer span{ - cursor:none; -} - -.pdfPresentationMode.pdfPresentationModeControls > *, -.pdfPresentationMode.pdfPresentationModeControls .textLayer span{ - cursor:default; -} - -#outerContainer{ - width:100%; - height:100%; - position:relative; -} - -#sidebarContainer{ - position:absolute; - inset-block:32px 0; - inset-inline-start:calc(-1 * var(--sidebar-width)); - width:var(--sidebar-width); - visibility:hidden; - z-index:100; - font:message-box; - border-top:1px solid rgb(51 51 51); - border-inline-end:var(--doorhanger-border-color-whcm); - transition-property:inset-inline-start; - transition-duration:var(--sidebar-transition-duration); - transition-timing-function:var(--sidebar-transition-timing-function); -} - -#outerContainer:is(.sidebarMoving, .sidebarOpen) #sidebarContainer{ - visibility:visible; -} -#outerContainer.sidebarOpen #sidebarContainer{ - inset-inline-start:0; -} - -#mainContainer{ - position:absolute; - inset:0; - min-width:350px; -} - -#sidebarContent{ - inset-block:32px 0; - inset-inline-start:0; - overflow:auto; - position:absolute; - width:100%; - box-shadow:inset calc(-1px * var(--dir-factor)) 0 0 rgb(0 0 0 / 0.25); -} - -#viewerContainer{ - overflow:auto; - position:absolute; - inset:32px 0 0; - outline:none; -} -#viewerContainer:not(.pdfPresentationMode){ - transition-duration:var(--sidebar-transition-duration); - transition-timing-function:var(--sidebar-transition-timing-function); -} - -#outerContainer.sidebarOpen #viewerContainer:not(.pdfPresentationMode){ - inset-inline-start:var(--sidebar-width); - transition-property:inset-inline-start; -} - -.toolbar{ - position:relative; - inset-inline:0; - z-index:9999; - cursor:default; - font:message-box; -} - -:is(.toolbar, .editorParamsToolbar, .findbar, #sidebarContainer) - :is(input, button, select), -.secondaryToolbar :is(input, button, a, select){ - outline:none; - font:message-box; -} - -#toolbarContainer{ - width:100%; -} - -#toolbarSidebar{ - width:100%; - height:32px; - background-color:var(--sidebar-toolbar-bg-color); - box-shadow:var(--toolbarSidebar-box-shadow); - border-bottom:var(--toolbarSidebar-border-bottom); -} - -#sidebarResizer{ - position:absolute; - inset-block:0; - inset-inline-end:-6px; - width:6px; - z-index:200; - cursor:ew-resize; -} - -#toolbarContainer, -.findbar, -.secondaryToolbar, -.editorParamsToolbar{ - position:relative; - height:32px; - background-color:var(--toolbar-bg-color); - box-shadow:var(--toolbar-box-shadow); - border-bottom:var(--toolbar-border-bottom); -} - -#toolbarViewer{ - height:32px; -} - -#loadingBar{ - --progressBar-percent:0%; - --progressBar-end-offset:0; - - position:absolute; - inset-inline:0 var(--progressBar-end-offset); - height:4px; - background-color:var(--progressBar-bg-color); - border-bottom:1px solid var(--toolbar-border-color); - transition-property:inset-inline-start; - transition-duration:var(--sidebar-transition-duration); - transition-timing-function:var(--sidebar-transition-timing-function); -} - -#outerContainer.sidebarOpen #loadingBar{ - inset-inline-start:var(--sidebar-width); -} - -#loadingBar .progress{ - position:absolute; - top:0; - inset-inline-start:0; - width:100%; - transform:scaleX(var(--progressBar-percent)); - transform-origin:calc(50% - 50% * var(--dir-factor)) 0; - height:100%; - background-color:var(--progressBar-color); - overflow:hidden; - transition:transform 200ms; -} - -@keyframes progressIndeterminate{ - 0%{ - transform:translateX(calc(-142px * var(--dir-factor))); - } - 100%{ - transform:translateX(0); - } -} - -#loadingBar.indeterminate .progress{ - transform:none; - background-color:var(--progressBar-bg-color); - transition:none; -} - -#loadingBar.indeterminate .progress .glimmer{ - position:absolute; - top:0; - inset-inline-start:0; - height:100%; - width:calc(100% + 150px); - background:repeating-linear-gradient( - 135deg, - var(--progressBar-blend-color) 0, - var(--progressBar-bg-color) 5px, - var(--progressBar-bg-color) 45px, - var(--progressBar-color) 55px, - var(--progressBar-color) 95px, - var(--progressBar-blend-color) 100px - ); - animation:progressIndeterminate 1s linear infinite; -} - -#outerContainer.sidebarResizing - :is(#sidebarContainer, #viewerContainer, #loadingBar){ - transition-duration:0s; -} - -.findbar, -.secondaryToolbar, -.editorParamsToolbar{ - top:32px; - position:absolute; - z-index:30000; - height:auto; - padding:0 4px; - margin:4px 2px; - font:message-box; - font-size:12px; - line-height:14px; - text-align:left; - cursor:default; -} - -.findbar{ - inset-inline-start:64px; - min-width:300px; - background-color:var(--toolbar-bg-color); -} -.findbar > div{ - height:32px; -} -.findbar > div#findbarInputContainer{ - margin-inline-end:4px; -} -.findbar.wrapContainers > div, -.findbar.wrapContainers > div#findbarMessageContainer > *{ - clear:both; -} -.findbar.wrapContainers > div#findbarMessageContainer{ - height:auto; -} - -.findbar input[type="checkbox"]{ - pointer-events:none; -} - -.findbar label{ - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; -} - -.findbar label:hover, -.findbar input:focus-visible + label{ - color:var(--toggled-btn-color); - background-color:var(--button-hover-color); -} - -.findbar .toolbarField[type="checkbox"]:checked + .toolbarLabel{ - background-color:var(--toggled-btn-bg-color) !important; - color:var(--toggled-btn-color); -} - -#findInput{ - width:200px; -} - -#findInput::-moz-placeholder{ - font-style:normal; - } - -#findInput::placeholder{ - font-style:normal; - } - -.loadingInput:has(> #findInput[data-status="pending"])::after{ - display:block; - visibility:visible; - } - -#findInput[data-status="notFound"]{ - background-color:rgb(255 102 102); - } - -.secondaryToolbar, -.editorParamsToolbar{ - padding:6px 0 10px; - inset-inline-end:4px; - height:auto; - background-color:var(--doorhanger-bg-color); -} - -.editorParamsToolbarContainer{ - width:220px; - margin-bottom:-4px; -} - -.editorParamsToolbarContainer > .editorParamsSetter{ - min-height:26px; - display:flex; - align-items:center; - justify-content:space-between; - padding-inline:10px; -} - -.editorParamsToolbarContainer .editorParamsLabel{ - padding-inline-end:10px; - flex:none; - font:menu; - font-size:13px; - font-style:normal; - font-weight:400; - line-height:150%; - color:var(--main-color); -} - -.editorParamsToolbarContainer .editorParamsColor{ - width:32px; - height:32px; - flex:none; -} - -.editorParamsToolbarContainer .editorParamsSlider{ - background-color:transparent; - width:90px; - flex:0 1 0; -} - -.editorParamsToolbarContainer .editorParamsSlider::-moz-range-progress{ - background-color:black; -} - -.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-runnable-track, -.editorParamsToolbarContainer .editorParamsSlider::-moz-range-track{ - background-color:black; -} - -.editorParamsToolbarContainer .editorParamsSlider::-webkit-slider-thumb, -.editorParamsToolbarContainer .editorParamsSlider::-moz-range-thumb{ - background-color:white; -} - -#secondaryToolbarButtonContainer{ - max-width:220px; - min-height:26px; - max-height:calc(var(--viewer-container-height) - 40px); - overflow-y:auto; - margin-bottom:-4px; -} - -#editorStampParamsToolbar{ - inset-inline-end:calc(var(--editor-toolbar-base-offset) + 0px); -} - -#editorInkParamsToolbar{ - inset-inline-end:calc(var(--editor-toolbar-base-offset) + 28px); -} - -#editorFreeTextParamsToolbar{ - inset-inline-end:calc(var(--editor-toolbar-base-offset) + 56px); -} - -#editorHighlightParamsToolbar{ - inset-inline-end:calc(var(--editor-toolbar-base-offset) + 84px); -} - -#editorStampAddImage::before{ - -webkit-mask-image:var(--editorParams-stampAddImage-icon); - mask-image:var(--editorParams-stampAddImage-icon); -} - -.doorHanger, -.doorHangerRight{ - border-radius:2px; - box-shadow:0 1px 5px var(--doorhanger-border-color), 0 0 0 1px var(--doorhanger-border-color); - border:var(--doorhanger-border-color-whcm); -} -:is(.doorHanger, .doorHangerRight)::after, -:is(.doorHanger, .doorHangerRight)::before{ - bottom:100%; - border:8px solid rgb(0 0 0 / 0); - content:" "; - height:0; - width:0; - position:absolute; - pointer-events:none; - opacity:var(--doorhanger-triangle-opacity-whcm); -} -.doorHanger::after{ - inset-inline-start:10px; - margin-inline-start:-8px; - border-bottom-color:var(--toolbar-bg-color); -} -.doorHangerRight::after{ - inset-inline-end:10px; - margin-inline-end:-8px; - border-bottom-color:var(--doorhanger-bg-color); -} -:is(.doorHanger, .doorHangerRight)::before{ - border-bottom-color:var(--doorhanger-border-color); - border-width:9px; -} -.doorHanger::before{ - inset-inline-start:10px; - margin-inline-start:-9px; -} -.doorHangerRight::before{ - inset-inline-end:10px; - margin-inline-end:-9px; -} - -#findResultsCount{ - background-color:rgb(217 217 217); - color:rgb(82 82 82); - text-align:center; - padding:4px 5px; - margin:5px; -} - -#findMsg[data-status="notFound"]{ - font-weight:bold; -} - -:is(#findResultsCount, #findMsg):empty{ - display:none; -} - -#toolbarViewerMiddle{ - position:absolute; - left:50%; - transform:translateX(-50%); -} - -#toolbarViewerLeft, -#toolbarSidebarLeft{ - float:var(--inline-start); -} -#toolbarViewerRight, -#toolbarSidebarRight{ - float:var(--inline-end); -} - -#toolbarViewerLeft > *, -#toolbarViewerMiddle > *, -#toolbarViewerRight > *, -#toolbarSidebarLeft *, -#toolbarSidebarRight *, -.findbar *{ - position:relative; - float:var(--inline-start); -} - -#toolbarViewerLeft{ - padding-inline-start:1px; -} -#toolbarViewerRight{ - padding-inline-end:1px; -} -#toolbarSidebarRight{ - padding-inline-end:2px; -} - -.splitToolbarButton{ - margin:2px; - display:inline-block; -} -.splitToolbarButton > .toolbarButton{ - float:var(--inline-start); -} - -.toolbarButton, -.secondaryToolbarButton, -.dialogButton{ - border:none; - background:none; - width:28px; - height:28px; - outline:none; -} - -.dialogButton:is(:hover, :focus-visible){ - background-color:var(--dialog-button-hover-bg-color); -} - -.dialogButton:is(:hover, :focus-visible) > span{ - color:var(--dialog-button-hover-color); -} - -.toolbarButton > span{ - display:inline-block; - width:0; - height:0; - overflow:hidden; -} - -:is(.toolbarButton, .secondaryToolbarButton, .dialogButton)[disabled]{ - opacity:0.5; -} - -.splitToolbarButton > .toolbarButton:is(:hover, :focus-visible), -.dropdownToolbarButton:hover{ - background-color:var(--button-hover-color); -} -.splitToolbarButton > .toolbarButton{ - position:relative; - margin:0; -} -#toolbarSidebar .splitToolbarButton > .toolbarButton{ - margin-inline-end:2px; -} - -.splitToolbarButtonSeparator{ - float:var(--inline-start); - margin:4px 0; - width:1px; - height:20px; - background-color:var(--separator-color); -} - -.toolbarButton, -.dropdownToolbarButton, -.secondaryToolbarButton, -.dialogButton{ - min-width:16px; - margin:2px 1px; - padding:2px 6px 0; - border:none; - border-radius:2px; - color:var(--main-color); - font-size:12px; - line-height:14px; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - cursor:default; - box-sizing:border-box; -} - -.toolbarButton:is(:hover, :focus-visible){ - background-color:var(--button-hover-color); -} -.secondaryToolbarButton:is(:hover, :focus-visible){ - background-color:var(--doorhanger-hover-bg-color); - color:var(--doorhanger-hover-color); -} - -:is(.toolbarButton, .secondaryToolbarButton).toggled, -.splitToolbarButton.toggled > .toolbarButton.toggled{ - background-color:var(--toggled-btn-bg-color); - color:var(--toggled-btn-color); -} - -:is(.toolbarButton, .secondaryToolbarButton).toggled:hover, -.splitToolbarButton.toggled > .toolbarButton.toggled:hover{ - outline:var(--toggled-hover-btn-outline) !important; -} - -:is(.toolbarButton, .secondaryToolbarButton).toggled::before{ - background-color:var(--toggled-btn-color); -} - -:is(.toolbarButton, .secondaryToolbarButton).toggled:hover:active, -.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active{ - background-color:var(--toggled-hover-active-btn-color); -} - -.dropdownToolbarButton{ - display:flex; - width:-moz-fit-content; - width:fit-content; - min-width:140px; - padding:0; - background-color:var(--dropdown-btn-bg-color); - border:var(--dropdown-btn-border); -} -.dropdownToolbarButton::after{ - top:6px; - inset-inline-end:6px; - pointer-events:none; - -webkit-mask-image:var(--toolbarButton-menuArrow-icon); - mask-image:var(--toolbarButton-menuArrow-icon); -} - -.dropdownToolbarButton > select{ - -webkit-appearance:none; - -moz-appearance:none; - appearance:none; - width:inherit; - min-width:inherit; - height:28px; - font-size:12px; - color:var(--main-color); - margin:0; - padding-block:1px 2px; - padding-inline:6px 38px; - border:none; - background-color:var(--dropdown-btn-bg-color); -} -.dropdownToolbarButton > select:is(:hover, :focus-visible){ - background-color:var(--button-hover-color); - color:var(--toggled-btn-color); -} -.dropdownToolbarButton > select > option{ - background:var(--doorhanger-bg-color); - color:var(--main-color); -} - -.toolbarButtonSpacer{ - width:30px; - display:inline-block; - height:1px; -} - -:is(.toolbarButton, .secondaryToolbarButton, .treeItemToggler)::before, -.dropdownToolbarButton::after{ - position:absolute; - display:inline-block; - width:16px; - height:16px; - - content:""; - background-color:var(--toolbar-icon-bg-color); - -webkit-mask-size:cover; - mask-size:cover; -} - -.dropdownToolbarButton:is(:hover, :focus-visible, :active)::after{ - background-color:var(--toolbar-icon-hover-bg-color); -} - -.toolbarButton::before{ - opacity:var(--toolbar-icon-opacity); - top:6px; - left:6px; -} - -.toolbarButton:is(:hover, :focus-visible)::before, -.secondaryToolbarButton:is(:hover, :focus-visible)::before{ - background-color:var(--toolbar-icon-hover-bg-color); -} - -.secondaryToolbarButton::before{ - opacity:var(--doorhanger-icon-opacity); - top:5px; - inset-inline-start:12px; -} - -#sidebarToggle::before{ - -webkit-mask-image:var(--toolbarButton-sidebarToggle-icon); - mask-image:var(--toolbarButton-sidebarToggle-icon); - transform:scaleX(var(--dir-factor)); -} - -#secondaryToolbarToggle::before{ - -webkit-mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); - mask-image:var(--toolbarButton-secondaryToolbarToggle-icon); - transform:scaleX(var(--dir-factor)); -} - -#findPrevious::before{ - -webkit-mask-image:var(--findbarButton-previous-icon); - mask-image:var(--findbarButton-previous-icon); -} - -#findNext::before{ - -webkit-mask-image:var(--findbarButton-next-icon); - mask-image:var(--findbarButton-next-icon); -} - -#previous::before{ - -webkit-mask-image:var(--toolbarButton-pageUp-icon); - mask-image:var(--toolbarButton-pageUp-icon); -} - -#next::before{ - -webkit-mask-image:var(--toolbarButton-pageDown-icon); - mask-image:var(--toolbarButton-pageDown-icon); -} - -#zoomOut::before{ - -webkit-mask-image:var(--toolbarButton-zoomOut-icon); - mask-image:var(--toolbarButton-zoomOut-icon); -} - -#zoomIn::before{ - -webkit-mask-image:var(--toolbarButton-zoomIn-icon); - mask-image:var(--toolbarButton-zoomIn-icon); -} - -#presentationMode::before{ - -webkit-mask-image:var(--toolbarButton-presentationMode-icon); - mask-image:var(--toolbarButton-presentationMode-icon); -} - -#editorFreeText::before{ - -webkit-mask-image:var(--toolbarButton-editorFreeText-icon); - mask-image:var(--toolbarButton-editorFreeText-icon); -} - -#editorHighlight::before{ - -webkit-mask-image:var(--toolbarButton-editorHighlight-icon); - mask-image:var(--toolbarButton-editorHighlight-icon); -} - -#editorInk::before{ - -webkit-mask-image:var(--toolbarButton-editorInk-icon); - mask-image:var(--toolbarButton-editorInk-icon); -} - -#editorStamp::before{ - -webkit-mask-image:var(--toolbarButton-editorStamp-icon); - mask-image:var(--toolbarButton-editorStamp-icon); -} - -:is(#print, #secondaryPrint)::before{ - -webkit-mask-image:var(--toolbarButton-print-icon); - mask-image:var(--toolbarButton-print-icon); -} - -#secondaryOpenFile::before{ - -webkit-mask-image:var(--toolbarButton-openFile-icon); - mask-image:var(--toolbarButton-openFile-icon); -} - -:is(#download, #secondaryDownload)::before{ - -webkit-mask-image:var(--toolbarButton-download-icon); - mask-image:var(--toolbarButton-download-icon); -} - -a.secondaryToolbarButton{ - padding-top:5px; - text-decoration:none; -} -a:is(.toolbarButton, .secondaryToolbarButton)[href="#"]{ - opacity:0.5; - pointer-events:none; -} - -#viewBookmark::before{ - -webkit-mask-image:var(--toolbarButton-bookmark-icon); - mask-image:var(--toolbarButton-bookmark-icon); -} - -#viewThumbnail::before{ - -webkit-mask-image:var(--toolbarButton-viewThumbnail-icon); - mask-image:var(--toolbarButton-viewThumbnail-icon); -} - -#viewOutline::before{ - -webkit-mask-image:var(--toolbarButton-viewOutline-icon); - mask-image:var(--toolbarButton-viewOutline-icon); - transform:scaleX(var(--dir-factor)); -} - -#viewAttachments::before{ - -webkit-mask-image:var(--toolbarButton-viewAttachments-icon); - mask-image:var(--toolbarButton-viewAttachments-icon); -} - -#viewLayers::before{ - -webkit-mask-image:var(--toolbarButton-viewLayers-icon); - mask-image:var(--toolbarButton-viewLayers-icon); -} - -#currentOutlineItem::before{ - -webkit-mask-image:var(--toolbarButton-currentOutlineItem-icon); - mask-image:var(--toolbarButton-currentOutlineItem-icon); - transform:scaleX(var(--dir-factor)); -} - -#viewFind::before{ - -webkit-mask-image:var(--toolbarButton-search-icon); - mask-image:var(--toolbarButton-search-icon); -} - -.pdfSidebarNotification::after{ - position:absolute; - display:inline-block; - top:2px; - inset-inline-end:2px; - content:""; - background-color:rgb(112 219 85); - height:9px; - width:9px; - border-radius:50%; -} - -.secondaryToolbarButton{ - position:relative; - margin:0; - padding:0 0 1px; - padding-inline-start:36px; - height:auto; - min-height:26px; - width:auto; - min-width:100%; - text-align:start; - white-space:normal; - border-radius:0; - box-sizing:border-box; - display:inline-block; -} -.secondaryToolbarButton > span{ - padding-inline-end:4px; -} - -#firstPage::before{ - -webkit-mask-image:var(--secondaryToolbarButton-firstPage-icon); - mask-image:var(--secondaryToolbarButton-firstPage-icon); -} - -#lastPage::before{ - -webkit-mask-image:var(--secondaryToolbarButton-lastPage-icon); - mask-image:var(--secondaryToolbarButton-lastPage-icon); -} - -#pageRotateCcw::before{ - -webkit-mask-image:var(--secondaryToolbarButton-rotateCcw-icon); - mask-image:var(--secondaryToolbarButton-rotateCcw-icon); -} - -#pageRotateCw::before{ - -webkit-mask-image:var(--secondaryToolbarButton-rotateCw-icon); - mask-image:var(--secondaryToolbarButton-rotateCw-icon); -} - -#cursorSelectTool::before{ - -webkit-mask-image:var(--secondaryToolbarButton-selectTool-icon); - mask-image:var(--secondaryToolbarButton-selectTool-icon); -} - -#cursorHandTool::before{ - -webkit-mask-image:var(--secondaryToolbarButton-handTool-icon); - mask-image:var(--secondaryToolbarButton-handTool-icon); -} - -#scrollPage::before{ - -webkit-mask-image:var(--secondaryToolbarButton-scrollPage-icon); - mask-image:var(--secondaryToolbarButton-scrollPage-icon); -} - -#scrollVertical::before{ - -webkit-mask-image:var(--secondaryToolbarButton-scrollVertical-icon); - mask-image:var(--secondaryToolbarButton-scrollVertical-icon); -} - -#scrollHorizontal::before{ - -webkit-mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); - mask-image:var(--secondaryToolbarButton-scrollHorizontal-icon); -} - -#scrollWrapped::before{ - -webkit-mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); - mask-image:var(--secondaryToolbarButton-scrollWrapped-icon); -} - -#spreadNone::before{ - -webkit-mask-image:var(--secondaryToolbarButton-spreadNone-icon); - mask-image:var(--secondaryToolbarButton-spreadNone-icon); -} - -#spreadOdd::before{ - -webkit-mask-image:var(--secondaryToolbarButton-spreadOdd-icon); - mask-image:var(--secondaryToolbarButton-spreadOdd-icon); -} - -#spreadEven::before{ - -webkit-mask-image:var(--secondaryToolbarButton-spreadEven-icon); - mask-image:var(--secondaryToolbarButton-spreadEven-icon); -} - -#documentProperties::before{ - -webkit-mask-image:var(--secondaryToolbarButton-documentProperties-icon); - mask-image:var(--secondaryToolbarButton-documentProperties-icon); -} - -.verticalToolbarSeparator{ - display:block; - margin:5px 2px; - width:1px; - height:22px; - background-color:var(--separator-color); -} -.horizontalToolbarSeparator{ - display:block; - margin:6px 0; - height:1px; - width:100%; - background-color:var(--doorhanger-separator-color); -} - -.toolbarField{ - padding:4px 7px; - margin:3px 0; - border-radius:2px; - background-color:var(--field-bg-color); - background-clip:padding-box; - border:1px solid var(--field-border-color); - box-shadow:none; - color:var(--field-color); - font-size:12px; - line-height:16px; - outline:none; -} - -.toolbarField[type="checkbox"]{ - opacity:0; - position:absolute !important; - left:0; - margin:10px 0 3px; - margin-inline-start:7px; -} - -#pageNumber{ - -moz-appearance:textfield; - text-align:end; - width:40px; - background-size:0 0; - transition-property:none; -} - -#pageNumber::-webkit-inner-spin-button{ - -webkit-appearance:none; - } - -.loadingInput:has(> #pageNumber.loading)::after{ - display:block; - visibility:visible; - - transition-property:visibility; - transition-delay:var(--loading-icon-delay); - } - -.loadingInput::after{ - position:absolute; - visibility:hidden; - display:none; - top:calc(50% - 8px); - width:16px; - height:16px; - - content:""; - background-color:var(--toolbar-icon-bg-color); - -webkit-mask-size:cover; - mask-size:cover; - -webkit-mask-image:var(--loading-icon); - mask-image:var(--loading-icon); - } - -.loadingInput.start::after{ - inset-inline-start:4px; - } - -.loadingInput.end::after{ - inset-inline-end:4px; - } - -.toolbarField:focus{ - border-color:#0a84ff; -} - -.toolbarLabel{ - min-width:16px; - padding:7px; - margin:2px; - border-radius:2px; - color:var(--main-color); - font-size:12px; - line-height:14px; - text-align:left; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - cursor:default; -} - -#numPages.toolbarLabel{ - padding-inline-start:3px; -} - -#thumbnailView, -#outlineView, -#attachmentsView, -#layersView{ - position:absolute; - width:calc(100% - 8px); - inset-block:0; - padding:4px 4px 0; - overflow:auto; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; -} -#thumbnailView{ - width:calc(100% - 60px); - padding:10px 30px 0; -} - -#thumbnailView > a:is(:active, :focus){ - outline:0; -} - -.thumbnail{ - --thumbnail-width:0; - --thumbnail-height:0; - - float:var(--inline-start); - width:var(--thumbnail-width); - height:var(--thumbnail-height); - margin:0 10px 5px; - padding:1px; - border:7px solid transparent; - border-radius:2px; -} - -#thumbnailView > a:last-of-type > .thumbnail{ - margin-bottom:10px; -} - -a:focus > .thumbnail, -.thumbnail:hover{ - border-color:var(--thumbnail-hover-color); -} -.thumbnail.selected{ - border-color:var(--thumbnail-selected-color) !important; -} - -.thumbnailImage{ - width:var(--thumbnail-width); - height:var(--thumbnail-height); - opacity:0.9; -} -a:focus > .thumbnail > .thumbnailImage, -.thumbnail:hover > .thumbnailImage{ - opacity:0.95; -} -.thumbnail.selected > .thumbnailImage{ - opacity:1 !important; -} - -.thumbnail:not([data-loaded]) > .thumbnailImage{ - width:calc(var(--thumbnail-width) - 2px); - height:calc(var(--thumbnail-height) - 2px); - border:1px dashed rgb(132 132 132); -} - -.treeWithDeepNesting > .treeItem, -.treeItem > .treeItems{ - margin-inline-start:20px; -} - -.treeItem > a{ - text-decoration:none; - display:inline-block; - min-width:calc(100% - 4px); - height:auto; - margin-bottom:1px; - padding:2px 0 5px; - padding-inline-start:4px; - border-radius:2px; - color:var(--treeitem-color); - font-size:13px; - line-height:15px; - -webkit-user-select:none; - -moz-user-select:none; - user-select:none; - white-space:normal; - cursor:pointer; -} - -#layersView .treeItem > a *{ - cursor:pointer; -} -#layersView .treeItem > a > label{ - padding-inline-start:4px; -} -#layersView .treeItem > a > label > input{ - float:var(--inline-start); - margin-top:1px; -} - -.treeItemToggler{ - position:relative; - float:var(--inline-start); - height:0; - width:0; - color:rgb(255 255 255 / 0.5); -} -.treeItemToggler::before{ - inset-inline-end:4px; - -webkit-mask-image:var(--treeitem-expanded-icon); - mask-image:var(--treeitem-expanded-icon); -} -.treeItemToggler.treeItemsHidden::before{ - -webkit-mask-image:var(--treeitem-collapsed-icon); - mask-image:var(--treeitem-collapsed-icon); - transform:scaleX(var(--dir-factor)); -} -.treeItemToggler.treeItemsHidden ~ .treeItems{ - display:none; -} - -.treeItem.selected > a{ - background-color:var(--treeitem-selected-bg-color); - color:var(--treeitem-selected-color); -} - -.treeItemToggler:hover, -.treeItemToggler:hover + a, -.treeItemToggler:hover ~ .treeItems, -.treeItem > a:hover{ - background-color:var(--treeitem-bg-color); - background-clip:padding-box; - border-radius:2px; - color:var(--treeitem-hover-color); -} - -#outlineOptionsContainer{ - display:none; -} - -#sidebarContainer:has(#outlineView:not(.hidden)) #outlineOptionsContainer{ - display:inherit; - } - -.dialogButton{ - width:auto; - margin:3px 4px 2px !important; - padding:2px 11px; - color:var(--main-color); - background-color:var(--dialog-button-bg-color); - border:var(--dialog-button-border) !important; -} - -dialog{ - margin:auto; - padding:15px; - border-spacing:4px; - color:var(--main-color); - font:message-box; - font-size:12px; - line-height:14px; - background-color:var(--doorhanger-bg-color); - border:1px solid rgb(0 0 0 / 0.5); - border-radius:4px; - box-shadow:0 1px 4px rgb(0 0 0 / 0.3); -} -dialog::backdrop{ - background-color:rgb(0 0 0 / 0.2); -} - -dialog > .row{ - display:table-row; -} - -dialog > .row > *{ - display:table-cell; -} - -dialog .toolbarField{ - margin:5px 0; -} - -dialog .separator{ - display:block; - margin:4px 0; - height:1px; - width:100%; - background-color:var(--separator-color); -} - -dialog .buttonRow{ - text-align:center; - vertical-align:middle; -} - -dialog :link{ - color:rgb(255 255 255); -} - -#passwordDialog{ - text-align:center; -} -#passwordDialog .toolbarField{ - width:200px; -} - -#documentPropertiesDialog{ - text-align:left; -} -#documentPropertiesDialog .row > *{ - min-width:100px; - text-align:start; -} -#documentPropertiesDialog .row > span{ - width:125px; - word-wrap:break-word; -} -#documentPropertiesDialog .row > p{ - max-width:225px; - word-wrap:break-word; -} -#documentPropertiesDialog .buttonRow{ - margin-top:10px; -} - -.grab-to-pan-grab{ - cursor:grab !important; -} -.grab-to-pan-grab - *:not(input):not(textarea):not(button):not(select):not(:link){ - cursor:inherit !important; -} -.grab-to-pan-grab:active, -.grab-to-pan-grabbing{ - cursor:grabbing !important; -} -.grab-to-pan-grabbing{ - position:fixed; - background:rgb(0 0 0 / 0); - display:block; - inset:0; - overflow:hidden; - z-index:50000; -} - -@page{ - margin:0; -} - -#printContainer{ - display:none; -} - -@media print{ - body{ - background:rgb(0 0 0 / 0) none; - } - body[data-pdfjsprinting] #outerContainer{ - display:none; - } - body[data-pdfjsprinting] #printContainer{ - display:block; - } - #printContainer{ - height:100%; - } - #printContainer > .printedPage{ - page-break-after:always; - page-break-inside:avoid; - height:100%; - width:100%; - - display:flex; - flex-direction:column; - justify-content:center; - align-items:center; - } - - #printContainer > .xfaPrintedPage .xfaPage{ - position:absolute; - } - - #printContainer > .xfaPrintedPage{ - page-break-after:always; - page-break-inside:avoid; - width:100%; - height:100%; - position:relative; - } - - #printContainer > .printedPage :is(canvas, img){ - max-width:100%; - max-height:100%; - - direction:ltr; - display:block; - } -} - -.visibleMediumView{ - display:none; -} - -@media all and (max-width: 900px){ - #toolbarViewerMiddle{ - display:table; - margin:auto; - left:auto; - position:inherit; - transform:none; - } -} - -@media all and (max-width: 840px){ - #sidebarContainer{ - background-color:var(--sidebar-narrow-bg-color); - } - #outerContainer.sidebarOpen #viewerContainer{ - inset-inline-start:0 !important; - } -} - -@media all and (max-width: 750px){ - :root{ - --editor-toolbar-base-offset:40px; - } - #outerContainer .hiddenMediumView{ - display:none; - } - #outerContainer .visibleMediumView{ - display:inherit; - } -} - -@media all and (max-width: 690px){ - .hiddenSmallView, - .hiddenSmallView *{ - display:none; - } - .toolbarButtonSpacer{ - width:0; - } - .findbar{ - inset-inline-start:34px; - } -} - -@media all and (max-width: 560px){ - #scaleSelectContainer{ - display:none; - } -} diff --git a/media/js/pdf4/web/viewer.html b/media/js/pdf4/web/viewer.html deleted file mode 100644 index f0525c6815..0000000000 --- a/media/js/pdf4/web/viewer.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - - - PDF.js viewer - - - - - - - - - - - - - - - - - - - Thumbnails - - - Document Outline - - - Attachments - - - Layers - - - - - - - - - - Current Outline Item - - - - - - - - - - - - - - - - - - - - - - - - - - Previous - - - - Next - - - - - - - Highlight All - - Match Case - - - - Match Diacritics - - Whole Words - - - - - - - - - - - - Highlight color - - - Thickness - - - - - - - - Show all - - - - - - - - - - Color - - - - Size - - - - - - - - - Color - - - - Thickness - - - - Opacity - - - - - - - - - Add image - - - - - - - - Open - - - - Print - - - - Save - - - - - - Presentation Mode - - - - Current Page - - - - - - Go to First Page - - - Go to Last Page - - - - - - Rotate Clockwise - - - Rotate Counterclockwise - - - - - - - Text Selection Tool - - - Hand Tool - - - - - - - - Page Scrolling - - - Vertical Scrolling - - - Horizontal Scrolling - - - Wrapped Scrolling - - - - - - - - No Spreads - - - Odd Spreads - - - Even Spreads - - - - - - - Document Properties… - - - - - - - - - - Toggle Sidebar - - - - Find - - - - Previous - - - - Next - - - - - - - - - - - Highlight - - - Text - - - Draw - - - Add or edit images - - - - - - - Print - - - - Save - - - - - - Tools - - - - - - Zoom Out - - - - Zoom In - - - - - Automatic Zoom - Actual Size - Page Fit - Page Width - 0% - 50% - 75% - 100% - 125% - 150% - 200% - 300% - 400% - - - - - - - - - - - - - - - - - - - - - - Enter the password to open this PDF file: - - - - - - Cancel - OK - - - - - File name: - - - - - File size: - - - - - - Title: - - - - - Author: - - - - - Subject: - - - - - Keywords: - - - - - Creation Date: - - - - - Modification Date: - - - - - Creator: - - - - - - PDF Producer: - - - - - PDF Version: - - - - - Page Count: - - - - - Page Size: - - - - - - Fast Web View: - - - - - Close - - - - - - Choose an option - - Alt text (alternative text) helps when people can’t see the image or when it doesn’t load. - - - - - - - Add a description - - - - Aim for 1-2 sentences that describe the subject, setting, or actions. - - - - - - - - - - - - Mark as decorative - - - - This is used for ornamental images, like borders or watermarks. - - - - - - Cancel - Save - - - - - - Preparing document for printing… - - - - 0% - - - Cancel - - - - - - - - diff --git a/media/js/pdf4/web/viewer.mjs b/media/js/pdf4/web/viewer.mjs deleted file mode 100644 index fbdf0f7a3e..0000000000 --- a/media/js/pdf4/web/viewer.mjs +++ /dev/null @@ -1,19520 +0,0 @@ -/** - * @licstart The following is the entire license notice for the - * JavaScript code in this page - * - * Copyright 2023 Mozilla Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * @licend The above is the entire license notice for the - * JavaScript code in this page - */ - -/******/ var __webpack_modules__ = ({ - -/***/ 9306: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var tryToString = __webpack_require__(6823); - -var $TypeError = TypeError; - -// `Assert: IsCallable(argument) is true` -module.exports = function (argument) { - if (isCallable(argument)) return argument; - throw new $TypeError(tryToString(argument) + ' is not a function'); -}; - - -/***/ }), - -/***/ 3506: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPossiblePrototype = __webpack_require__(3925); - -var $String = String; -var $TypeError = TypeError; - -module.exports = function (argument) { - if (isPossiblePrototype(argument)) return argument; - throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); -}; - - -/***/ }), - -/***/ 7080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var has = (__webpack_require__(4402).has); - -// Perform ? RequireInternalSlot(M, [[SetData]]) -module.exports = function (it) { - has(it); - return it; -}; - - -/***/ }), - -/***/ 679: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isPrototypeOf = __webpack_require__(1625); - -var $TypeError = TypeError; - -module.exports = function (it, Prototype) { - if (isPrototypeOf(Prototype, it)) return it; - throw new $TypeError('Incorrect invocation'); -}; - - -/***/ }), - -/***/ 8551: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -var $String = String; -var $TypeError = TypeError; - -// `Assert: Type(argument) is Object` -module.exports = function (argument) { - if (isObject(argument)) return argument; - throw new $TypeError($String(argument) + ' is not an object'); -}; - - -/***/ }), - -/***/ 9617: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIndexedObject = __webpack_require__(5397); -var toAbsoluteIndex = __webpack_require__(5610); -var lengthOfArrayLike = __webpack_require__(6198); - -// `Array.prototype.{ indexOf, includes }` methods implementation -var createMethod = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = lengthOfArrayLike(O); - if (length === 0) return !IS_INCLUDES && -1; - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare -- NaN check - if (IS_INCLUDES && el !== el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare -- NaN check - if (value !== value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (;length > index; index++) { - if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; -}; - -module.exports = { - // `Array.prototype.includes` method - // https://tc39.es/ecma262/#sec-array.prototype.includes - includes: createMethod(true), - // `Array.prototype.indexOf` method - // https://tc39.es/ecma262/#sec-array.prototype.indexof - indexOf: createMethod(false) -}; - - -/***/ }), - -/***/ 4527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var isArray = __webpack_require__(4376); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Safari < 13 does not throw an error in this case -var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { - // makes no sense without proper strict mode support - if (this !== undefined) return true; - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).length = 1; - } catch (error) { - return error instanceof TypeError; - } -}(); - -module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { - if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { - throw new $TypeError('Cannot set read only .length'); - } return O.length = length; -} : function (O, length) { - return O.length = length; -}; - - -/***/ }), - -/***/ 6319: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var anObject = __webpack_require__(8551); -var iteratorClose = __webpack_require__(9539); - -// call something on iterator step with safe closing on error -module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } -}; - - -/***/ }), - -/***/ 4576: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var toString = uncurryThis({}.toString); -var stringSlice = uncurryThis(''.slice); - -module.exports = function (it) { - return stringSlice(toString(it), 8, -1); -}; - - -/***/ }), - -/***/ 6955: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var TO_STRING_TAG_SUPPORT = __webpack_require__(2140); -var isCallable = __webpack_require__(4901); -var classofRaw = __webpack_require__(4576); -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var $Object = Object; - -// ES3 wrong here -var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; - -// fallback for IE11 Script Access Denied error -var tryGet = function (it, key) { - try { - return it[key]; - } catch (error) { /* empty */ } -}; - -// getting tag from ES6+ `Object.prototype.toString` -module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; -}; - - -/***/ }), - -/***/ 7740: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var ownKeys = __webpack_require__(5031); -var getOwnPropertyDescriptorModule = __webpack_require__(7347); -var definePropertyModule = __webpack_require__(4913); - -module.exports = function (target, source, exceptions) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { - defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - } -}; - - -/***/ }), - -/***/ 2211: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - // eslint-disable-next-line es/no-object-getprototypeof -- required for testing - return Object.getPrototypeOf(new F()) !== F.prototype; -}); - - -/***/ }), - -/***/ 2529: -/***/ ((module) => { - - -// `CreateIterResultObject` abstract operation -// https://tc39.es/ecma262/#sec-createiterresultobject -module.exports = function (value, done) { - return { value: value, done: done }; -}; - - -/***/ }), - -/***/ 6699: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = DESCRIPTORS ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); -} : function (object, key, value) { - object[key] = value; - return object; -}; - - -/***/ }), - -/***/ 6980: -/***/ ((module) => { - - -module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; -}; - - -/***/ }), - -/***/ 4659: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var definePropertyModule = __webpack_require__(4913); -var createPropertyDescriptor = __webpack_require__(6980); - -module.exports = function (object, key, value) { - if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); - else object[key] = value; -}; - - -/***/ }), - -/***/ 2106: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var makeBuiltIn = __webpack_require__(283); -var defineProperty = __webpack_require__(4913); - -module.exports = function (target, name, descriptor) { - if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); - if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); - return defineProperty.f(target, name, descriptor); -}; - - -/***/ }), - -/***/ 6840: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var definePropertyModule = __webpack_require__(4913); -var makeBuiltIn = __webpack_require__(283); -var defineGlobalProperty = __webpack_require__(9433); - -module.exports = function (O, key, value, options) { - if (!options) options = {}; - var simple = options.enumerable; - var name = options.name !== undefined ? options.name : key; - if (isCallable(value)) makeBuiltIn(value, name, options); - if (options.global) { - if (simple) O[key] = value; - else defineGlobalProperty(key, value); - } else { - try { - if (!options.unsafe) delete O[key]; - else if (O[key]) simple = true; - } catch (error) { /* empty */ } - if (simple) O[key] = value; - else definePropertyModule.f(O, key, { - value: value, - enumerable: false, - configurable: !options.nonConfigurable, - writable: !options.nonWritable - }); - } return O; -}; - - -/***/ }), - -/***/ 6279: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); - -module.exports = function (target, src, options) { - for (var key in src) defineBuiltIn(target, key, src[key], options); - return target; -}; - - -/***/ }), - -/***/ 9433: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); - -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; - -module.exports = function (key, value) { - try { - defineProperty(global, key, { value: value, configurable: true, writable: true }); - } catch (error) { - global[key] = value; - } return value; -}; - - -/***/ }), - -/***/ 3724: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -// Detect IE8's incomplete defineProperty implementation -module.exports = !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; -}); - - -/***/ }), - -/***/ 4055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); - -var document = global.document; -// typeof document.createElement is 'object' in old IE -var EXISTS = isObject(document) && isObject(document.createElement); - -module.exports = function (it) { - return EXISTS ? document.createElement(it) : {}; -}; - - -/***/ }), - -/***/ 6837: -/***/ ((module) => { - - -var $TypeError = TypeError; -var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 - -module.exports = function (it) { - if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); - return it; -}; - - -/***/ }), - -/***/ 5002: -/***/ ((module) => { - - -module.exports = { - IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, - DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, - HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, - WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, - InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, - NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, - NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, - NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, - NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, - InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, - InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, - SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, - InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, - NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, - InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, - ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, - TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, - SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, - NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, - AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, - URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, - QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, - TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, - InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, - DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } -}; - - -/***/ }), - -/***/ 9392: -/***/ ((module) => { - - -module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; - - -/***/ }), - -/***/ 7388: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var userAgent = __webpack_require__(9392); - -var process = global.process; -var Deno = global.Deno; -var versions = process && process.versions || Deno && Deno.version; -var v8 = versions && versions.v8; -var match, version; - -if (v8) { - match = v8.split('.'); - // in old Chrome, versions of V8 isn't V8 = Chrome / 10 - // but their correct versions are not interesting for us - version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); -} - -// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` -// so check `userAgent` even if `.v8` exists, but 0 -if (!version && userAgent) { - match = userAgent.match(/Edge\/(\d+)/); - if (!match || match[1] >= 74) { - match = userAgent.match(/Chrome\/(\d+)/); - if (match) version = +match[1]; - } -} - -module.exports = version; - - -/***/ }), - -/***/ 8727: -/***/ ((module) => { - - -// IE8- don't enum bug keys -module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' -]; - - -/***/ }), - -/***/ 6193: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var $Error = Error; -var replace = uncurryThis(''.replace); - -var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); -// eslint-disable-next-line redos/no-vulnerable -- safe -var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; -var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); - -module.exports = function (stack, dropEntries) { - if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { - while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); - } return stack; -}; - - -/***/ }), - -/***/ 6518: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var getOwnPropertyDescriptor = (__webpack_require__(7347).f); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIn = __webpack_require__(6840); -var defineGlobalProperty = __webpack_require__(9433); -var copyConstructorProperties = __webpack_require__(7740); -var isForced = __webpack_require__(2796); - -/* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.dontCallGetSet - prevent calling a getter on target - options.name - the .name of the function if it does not match the key -*/ -module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || defineGlobalProperty(TARGET, {}); - } else { - target = global[TARGET] && global[TARGET].prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.dontCallGetSet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty == typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - createNonEnumerableProperty(sourceProperty, 'sham', true); - } - defineBuiltIn(target, key, sourceProperty, options); - } -}; - - -/***/ }), - -/***/ 9039: -/***/ ((module) => { - - -module.exports = function (exec) { - try { - return !!exec(); - } catch (error) { - return true; - } -}; - - -/***/ }), - -/***/ 6080: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(7476); -var aCallable = __webpack_require__(9306); -var NATIVE_BIND = __webpack_require__(616); - -var bind = uncurryThis(uncurryThis.bind); - -// optional / simple context binding -module.exports = function (fn, that) { - aCallable(fn); - return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { - return fn.apply(that, arguments); - }; -}; - - -/***/ }), - -/***/ 616: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); - -module.exports = !fails(function () { - // eslint-disable-next-line es/no-function-prototype-bind -- safe - var test = (function () { /* empty */ }).bind(); - // eslint-disable-next-line no-prototype-builtins -- safe - return typeof test != 'function' || test.hasOwnProperty('prototype'); -}); - - -/***/ }), - -/***/ 9565: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var call = Function.prototype.call; - -module.exports = NATIVE_BIND ? call.bind(call) : function () { - return call.apply(call, arguments); -}; - - -/***/ }), - -/***/ 350: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var hasOwn = __webpack_require__(9297); - -var FunctionPrototype = Function.prototype; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; - -var EXISTS = hasOwn(FunctionPrototype, 'name'); -// additional protection from minified / mangled / dropped function names -var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; -var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); - -module.exports = { - EXISTS: EXISTS, - PROPER: PROPER, - CONFIGURABLE: CONFIGURABLE -}; - - -/***/ }), - -/***/ 6706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var aCallable = __webpack_require__(9306); - -module.exports = function (object, key, method) { - try { - // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); - } catch (error) { /* empty */ } -}; - - -/***/ }), - -/***/ 7476: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classofRaw = __webpack_require__(4576); -var uncurryThis = __webpack_require__(9504); - -module.exports = function (fn) { - // Nashorn bug: - // https://github.com/zloirock/core-js/issues/1128 - // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis(fn); -}; - - -/***/ }), - -/***/ 9504: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_BIND = __webpack_require__(616); - -var FunctionPrototype = Function.prototype; -var call = FunctionPrototype.call; -var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); - -module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { - return function () { - return call.apply(fn, arguments); - }; -}; - - -/***/ }), - -/***/ 7751: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var aFunction = function (argument) { - return isCallable(argument) ? argument : undefined; -}; - -module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; -}; - - -/***/ }), - -/***/ 1767: -/***/ ((module) => { - - -// `GetIteratorDirect(obj)` abstract operation -// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect -module.exports = function (obj) { - return { - iterator: obj, - next: obj.next, - done: false - }; -}; - - -/***/ }), - -/***/ 851: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); -var getMethod = __webpack_require__(5966); -var isNullOrUndefined = __webpack_require__(4117); -var Iterators = __webpack_require__(6269); -var wellKnownSymbol = __webpack_require__(8227); - -var ITERATOR = wellKnownSymbol('iterator'); - -module.exports = function (it) { - if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) - || getMethod(it, '@@iterator') - || Iterators[classof(it)]; -}; - - -/***/ }), - -/***/ 81: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var getIteratorMethod = __webpack_require__(851); - -var $TypeError = TypeError; - -module.exports = function (argument, usingIterator) { - var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; - if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); - throw new $TypeError(tryToString(argument) + ' is not iterable'); -}; - - -/***/ }), - -/***/ 5966: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var isNullOrUndefined = __webpack_require__(4117); - -// `GetMethod` abstract operation -// https://tc39.es/ecma262/#sec-getmethod -module.exports = function (V, P) { - var func = V[P]; - return isNullOrUndefined(func) ? undefined : aCallable(func); -}; - - -/***/ }), - -/***/ 3789: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var call = __webpack_require__(9565); -var toIntegerOrInfinity = __webpack_require__(1291); -var getIteratorDirect = __webpack_require__(1767); - -var INVALID_SIZE = 'Invalid size'; -var $RangeError = RangeError; -var $TypeError = TypeError; -var max = Math.max; - -var SetRecord = function (set, intSize) { - this.set = set; - this.size = max(intSize, 0); - this.has = aCallable(set.has); - this.keys = aCallable(set.keys); -}; - -SetRecord.prototype = { - getIterator: function () { - return getIteratorDirect(anObject(call(this.keys, this.set))); - }, - includes: function (it) { - return call(this.has, this.set, it); - } -}; - -// `GetSetRecord` abstract operation -// https://tc39.es/proposal-set-methods/#sec-getsetrecord -module.exports = function (obj) { - anObject(obj); - var numSize = +obj.size; - // NOTE: If size is undefined, then numSize will be NaN - // eslint-disable-next-line no-self-compare -- NaN check - if (numSize !== numSize) throw new $TypeError(INVALID_SIZE); - var intSize = toIntegerOrInfinity(numSize); - if (intSize < 0) throw new $RangeError(INVALID_SIZE); - return new SetRecord(obj, intSize); -}; - - -/***/ }), - -/***/ 4475: -/***/ (function(module) { - - -var check = function (it) { - return it && it.Math === Math && it; -}; - -// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -module.exports = - // eslint-disable-next-line es/no-global-this -- safe - check(typeof globalThis == 'object' && globalThis) || - check(typeof window == 'object' && window) || - // eslint-disable-next-line no-restricted-globals -- safe - check(typeof self == 'object' && self) || - check(typeof global == 'object' && global) || - check(typeof this == 'object' && this) || - // eslint-disable-next-line no-new-func -- fallback - (function () { return this; })() || Function('return this')(); - - -/***/ }), - -/***/ 9297: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var toObject = __webpack_require__(8981); - -var hasOwnProperty = uncurryThis({}.hasOwnProperty); - -// `HasOwnProperty` abstract operation -// https://tc39.es/ecma262/#sec-hasownproperty -// eslint-disable-next-line es/no-object-hasown -- safe -module.exports = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty(toObject(it), key); -}; - - -/***/ }), - -/***/ 421: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -module.exports = getBuiltIn('document', 'documentElement'); - - -/***/ }), - -/***/ 5917: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); -var createElement = __webpack_require__(4055); - -// Thanks to IE8 for its funny defineProperty -module.exports = !DESCRIPTORS && !fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(createElement('div'), 'a', { - get: function () { return 7; } - }).a !== 7; -}); - - -/***/ }), - -/***/ 7055: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var classof = __webpack_require__(4576); - -var $Object = Object; -var split = uncurryThis(''.split); - -// fallback for non-array-like ES3 and non-enumerable old V8 strings -module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins -- safe - return !$Object('z').propertyIsEnumerable(0); -}) ? function (it) { - return classof(it) === 'String' ? split(it, '') : $Object(it); -} : $Object; - - -/***/ }), - -/***/ 3167: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var setPrototypeOf = __webpack_require__(2967); - -// makes subclassing work correct for wrapped built-ins -module.exports = function ($this, dummy, Wrapper) { - var NewTarget, NewTargetPrototype; - if ( - // it can work only with native `setPrototypeOf` - setPrototypeOf && - // we haven't completely correct pre-ES6 way for getting `new.target`, so use this - isCallable(NewTarget = dummy.constructor) && - NewTarget !== Wrapper && - isObject(NewTargetPrototype = NewTarget.prototype) && - NewTargetPrototype !== Wrapper.prototype - ) setPrototypeOf($this, NewTargetPrototype); - return $this; -}; - - -/***/ }), - -/***/ 3706: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var isCallable = __webpack_require__(4901); -var store = __webpack_require__(7629); - -var functionToString = uncurryThis(Function.toString); - -// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper -if (!isCallable(store.inspectSource)) { - store.inspectSource = function (it) { - return functionToString(it); - }; -} - -module.exports = store.inspectSource; - - -/***/ }), - -/***/ 1181: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var NATIVE_WEAK_MAP = __webpack_require__(8622); -var global = __webpack_require__(4475); -var isObject = __webpack_require__(34); -var createNonEnumerableProperty = __webpack_require__(6699); -var hasOwn = __webpack_require__(9297); -var shared = __webpack_require__(7629); -var sharedKey = __webpack_require__(6119); -var hiddenKeys = __webpack_require__(421); - -var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var TypeError = global.TypeError; -var WeakMap = global.WeakMap; -var set, get, has; - -var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); -}; - -var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; -}; - -if (NATIVE_WEAK_MAP || shared.state) { - var store = shared.state || (shared.state = new WeakMap()); - /* eslint-disable no-self-assign -- prototype methods protection */ - store.get = store.get; - store.has = store.has; - store.set = store.set; - /* eslint-enable no-self-assign -- prototype methods protection */ - set = function (it, metadata) { - if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - store.set(it, metadata); - return metadata; - }; - get = function (it) { - return store.get(it) || {}; - }; - has = function (it) { - return store.has(it); - }; -} else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); - metadata.facade = it; - createNonEnumerableProperty(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return hasOwn(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return hasOwn(it, STATE); - }; -} - -module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor -}; - - -/***/ }), - -/***/ 4209: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); -var Iterators = __webpack_require__(6269); - -var ITERATOR = wellKnownSymbol('iterator'); -var ArrayPrototype = Array.prototype; - -// check on default Array iterator -module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); -}; - - -/***/ }), - -/***/ 4376: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(4576); - -// `IsArray` abstract operation -// https://tc39.es/ecma262/#sec-isarray -// eslint-disable-next-line es/no-array-isarray -- safe -module.exports = Array.isArray || function isArray(argument) { - return classof(argument) === 'Array'; -}; - - -/***/ }), - -/***/ 4901: -/***/ ((module) => { - - -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot -var documentAll = typeof document == 'object' && document.all; - -// `IsCallable` abstract operation -// https://tc39.es/ecma262/#sec-iscallable -// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing -module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { - return typeof argument == 'function' || argument === documentAll; -} : function (argument) { - return typeof argument == 'function'; -}; - - -/***/ }), - -/***/ 2796: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); - -var replacement = /#|\.prototype\./; - -var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value === POLYFILL ? true - : value === NATIVE ? false - : isCallable(detection) ? fails(detection) - : !!detection; -}; - -var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); -}; - -var data = isForced.data = {}; -var NATIVE = isForced.NATIVE = 'N'; -var POLYFILL = isForced.POLYFILL = 'P'; - -module.exports = isForced; - - -/***/ }), - -/***/ 4117: -/***/ ((module) => { - - -// we can't use just `it == null` since of `document.all` special case -// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec -module.exports = function (it) { - return it === null || it === undefined; -}; - - -/***/ }), - -/***/ 34: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isCallable = __webpack_require__(4901); - -module.exports = function (it) { - return typeof it == 'object' ? it !== null : isCallable(it); -}; - - -/***/ }), - -/***/ 3925: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isObject = __webpack_require__(34); - -module.exports = function (argument) { - return isObject(argument) || argument === null; -}; - - -/***/ }), - -/***/ 6395: -/***/ ((module) => { - - -module.exports = false; - - -/***/ }), - -/***/ 757: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var isCallable = __webpack_require__(4901); -var isPrototypeOf = __webpack_require__(1625); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var $Object = Object; - -module.exports = USE_SYMBOL_AS_UID ? function (it) { - return typeof it == 'symbol'; -} : function (it) { - var $Symbol = getBuiltIn('Symbol'); - return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); -}; - - -/***/ }), - -/***/ 507: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); - -module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { - var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; - var next = record.next; - var step, result; - while (!(step = call(next, iterator)).done) { - result = fn(step.value); - if (result !== undefined) return result; - } -}; - - -/***/ }), - -/***/ 2652: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var bind = __webpack_require__(6080); -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var tryToString = __webpack_require__(6823); -var isArrayIteratorMethod = __webpack_require__(4209); -var lengthOfArrayLike = __webpack_require__(6198); -var isPrototypeOf = __webpack_require__(1625); -var getIterator = __webpack_require__(81); -var getIteratorMethod = __webpack_require__(851); -var iteratorClose = __webpack_require__(9539); - -var $TypeError = TypeError; - -var Result = function (stopped, result) { - this.stopped = stopped; - this.result = result; -}; - -var ResultPrototype = Result.prototype; - -module.exports = function (iterable, unboundFunction, options) { - var that = options && options.that; - var AS_ENTRIES = !!(options && options.AS_ENTRIES); - var IS_RECORD = !!(options && options.IS_RECORD); - var IS_ITERATOR = !!(options && options.IS_ITERATOR); - var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind(unboundFunction, that); - var iterator, iterFn, index, length, result, next, step; - - var stop = function (condition) { - if (iterator) iteratorClose(iterator, 'normal', condition); - return new Result(true, condition); - }; - - var callFn = function (value) { - if (AS_ENTRIES) { - anObject(value); - return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); - } return INTERRUPTED ? fn(value, stop) : fn(value); - }; - - if (IS_RECORD) { - iterator = iterable.iterator; - } else if (IS_ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { - result = callFn(iterable[index]); - if (result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); - } - iterator = getIterator(iterable, iterFn); - } - - next = IS_RECORD ? iterable.next : iterator.next; - while (!(step = call(next, iterator)).done) { - try { - result = callFn(step.value); - } catch (error) { - iteratorClose(iterator, 'throw', error); - } - if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; - } return new Result(false); -}; - - -/***/ }), - -/***/ 9539: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var anObject = __webpack_require__(8551); -var getMethod = __webpack_require__(5966); - -module.exports = function (iterator, kind, value) { - var innerResult, innerError; - anObject(iterator); - try { - innerResult = getMethod(iterator, 'return'); - if (!innerResult) { - if (kind === 'throw') throw value; - return value; - } - innerResult = call(innerResult, iterator); - } catch (error) { - innerError = true; - innerResult = error; - } - if (kind === 'throw') throw value; - if (innerError) throw innerResult; - anObject(innerResult); - return value; -}; - - -/***/ }), - -/***/ 9462: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var create = __webpack_require__(2360); -var createNonEnumerableProperty = __webpack_require__(6699); -var defineBuiltIns = __webpack_require__(6279); -var wellKnownSymbol = __webpack_require__(8227); -var InternalStateModule = __webpack_require__(1181); -var getMethod = __webpack_require__(5966); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var createIterResultObject = __webpack_require__(2529); -var iteratorClose = __webpack_require__(9539); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var ITERATOR_HELPER = 'IteratorHelper'; -var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; -var setInternalState = InternalStateModule.set; - -var createIteratorProxyPrototype = function (IS_ITERATOR) { - var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); - - return defineBuiltIns(create(IteratorPrototype), { - next: function next() { - var state = getInternalState(this); - // for simplification: - // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` - // for `%IteratorHelperPrototype%.next` - just a value - if (IS_ITERATOR) return state.nextHandler(); - try { - var result = state.done ? undefined : state.nextHandler(); - return createIterResultObject(result, state.done); - } catch (error) { - state.done = true; - throw error; - } - }, - 'return': function () { - var state = getInternalState(this); - var iterator = state.iterator; - state.done = true; - if (IS_ITERATOR) { - var returnMethod = getMethod(iterator, 'return'); - return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); - } - if (state.inner) try { - iteratorClose(state.inner.iterator, 'normal'); - } catch (error) { - return iteratorClose(iterator, 'throw', error); - } - iteratorClose(iterator, 'normal'); - return createIterResultObject(undefined, true); - } - }); -}; - -var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); -var IteratorHelperPrototype = createIteratorProxyPrototype(false); - -createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); - -module.exports = function (nextHandler, IS_ITERATOR) { - var IteratorProxy = function Iterator(record, state) { - if (state) { - state.iterator = record.iterator; - state.next = record.next; - } else state = record; - state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; - state.nextHandler = nextHandler; - state.counter = 0; - state.done = false; - setInternalState(this, state); - }; - - IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; - - return IteratorProxy; -}; - - -/***/ }), - -/***/ 713: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var result = anObject(call(this.next, iterator)); - var done = this.done = !!result.done; - if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); -}); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -module.exports = function map(mapper) { - anObject(this); - aCallable(mapper); - return new IteratorProxy(getIteratorDirect(this), { - mapper: mapper - }); -}; - - -/***/ }), - -/***/ 7657: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var create = __webpack_require__(2360); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltIn = __webpack_require__(6840); -var wellKnownSymbol = __webpack_require__(8227); -var IS_PURE = __webpack_require__(6395); - -var ITERATOR = wellKnownSymbol('iterator'); -var BUGGY_SAFARI_ITERATORS = false; - -// `%IteratorPrototype%` object -// https://tc39.es/ecma262/#sec-%iteratorprototype%-object -var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - -/* eslint-disable es/no-array-prototype-keys -- safe */ -if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } -} - -var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { - var test = {}; - // FF44- legacy iterators case - return IteratorPrototype[ITERATOR].call(test) !== test; -}); - -if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; -else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); - -// `%IteratorPrototype%[@@iterator]()` method -// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator -if (!isCallable(IteratorPrototype[ITERATOR])) { - defineBuiltIn(IteratorPrototype, ITERATOR, function () { - return this; - }); -} - -module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS -}; - - -/***/ }), - -/***/ 6269: -/***/ ((module) => { - - -module.exports = {}; - - -/***/ }), - -/***/ 6198: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toLength = __webpack_require__(8014); - -// `LengthOfArrayLike` abstract operation -// https://tc39.es/ecma262/#sec-lengthofarraylike -module.exports = function (obj) { - return toLength(obj.length); -}; - - -/***/ }), - -/***/ 283: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var fails = __webpack_require__(9039); -var isCallable = __webpack_require__(4901); -var hasOwn = __webpack_require__(9297); -var DESCRIPTORS = __webpack_require__(3724); -var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE); -var inspectSource = __webpack_require__(3706); -var InternalStateModule = __webpack_require__(1181); - -var enforceInternalState = InternalStateModule.enforce; -var getInternalState = InternalStateModule.get; -var $String = String; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var defineProperty = Object.defineProperty; -var stringSlice = uncurryThis(''.slice); -var replace = uncurryThis(''.replace); -var join = uncurryThis([].join); - -var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { - return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; -}); - -var TEMPLATE = String(String).split('String'); - -var makeBuiltIn = module.exports = function (value, name, options) { - if (stringSlice($String(name), 0, 7) === 'Symbol(') { - name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; - } - if (options && options.getter) name = 'get ' + name; - if (options && options.setter) name = 'set ' + name; - if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { - if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); - else value.name = name; - } - if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { - defineProperty(value, 'length', { value: options.arity }); - } - try { - if (options && hasOwn(options, 'constructor') && options.constructor) { - if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); - // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable - } else if (value.prototype) value.prototype = undefined; - } catch (error) { /* empty */ } - var state = enforceInternalState(value); - if (!hasOwn(state, 'source')) { - state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); - } return value; -}; - -// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative -// eslint-disable-next-line no-extend-native -- required -Function.prototype.toString = makeBuiltIn(function toString() { - return isCallable(this) && getInternalState(this).source || inspectSource(this); -}, 'toString'); - - -/***/ }), - -/***/ 741: -/***/ ((module) => { - - -var ceil = Math.ceil; -var floor = Math.floor; - -// `Math.trunc` method -// https://tc39.es/ecma262/#sec-math.trunc -// eslint-disable-next-line es/no-math-trunc -- safe -module.exports = Math.trunc || function trunc(x) { - var n = +x; - return (n > 0 ? floor : ceil)(n); -}; - - -/***/ }), - -/***/ 6043: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aCallable = __webpack_require__(9306); - -var $TypeError = TypeError; - -var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aCallable(resolve); - this.reject = aCallable(reject); -}; - -// `NewPromiseCapability` abstract operation -// https://tc39.es/ecma262/#sec-newpromisecapability -module.exports.f = function (C) { - return new PromiseCapability(C); -}; - - -/***/ }), - -/***/ 4984: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toString = __webpack_require__(655); - -module.exports = function (argument, $default) { - return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); -}; - - -/***/ }), - -/***/ 2360: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* global ActiveXObject -- old IE, WSH */ -var anObject = __webpack_require__(8551); -var definePropertiesModule = __webpack_require__(6801); -var enumBugKeys = __webpack_require__(8727); -var hiddenKeys = __webpack_require__(421); -var html = __webpack_require__(397); -var documentCreateElement = __webpack_require__(4055); -var sharedKey = __webpack_require__(6119); - -var GT = '>'; -var LT = '<'; -var PROTOTYPE = 'prototype'; -var SCRIPT = 'script'; -var IE_PROTO = sharedKey('IE_PROTO'); - -var EmptyConstructor = function () { /* empty */ }; - -var scriptTag = function (content) { - return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; -}; - -// Create object with fake `null` prototype: use ActiveX Object with cleared prototype -var NullProtoObjectViaActiveX = function (activeXDocument) { - activeXDocument.write(scriptTag('')); - activeXDocument.close(); - var temp = activeXDocument.parentWindow.Object; - activeXDocument = null; // avoid memory leak - return temp; -}; - -// Create object with fake `null` prototype: use iframe Object with cleared prototype -var NullProtoObjectViaIFrame = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var JS = 'java' + SCRIPT + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - // https://github.com/zloirock/core-js/issues/475 - iframe.src = String(JS); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(scriptTag('document.F=Object')); - iframeDocument.close(); - return iframeDocument.F; -}; - -// Check for document.domain and active x support -// No need to use active x approach when document.domain is not set -// see https://github.com/es-shims/es5-shim/issues/150 -// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 -// avoid IE GC bug -var activeXDocument; -var NullProtoObject = function () { - try { - activeXDocument = new ActiveXObject('htmlfile'); - } catch (error) { /* ignore */ } - NullProtoObject = typeof document != 'undefined' - ? document.domain && activeXDocument - ? NullProtoObjectViaActiveX(activeXDocument) // old IE - : NullProtoObjectViaIFrame() - : NullProtoObjectViaActiveX(activeXDocument); // WSH - var length = enumBugKeys.length; - while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; - return NullProtoObject(); -}; - -hiddenKeys[IE_PROTO] = true; - -// `Object.create` method -// https://tc39.es/ecma262/#sec-object.create -// eslint-disable-next-line es/no-object-create -- safe -module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - EmptyConstructor[PROTOTYPE] = anObject(O); - result = new EmptyConstructor(); - EmptyConstructor[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = NullProtoObject(); - return Properties === undefined ? result : definePropertiesModule.f(result, Properties); -}; - - -/***/ }), - -/***/ 6801: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var definePropertyModule = __webpack_require__(4913); -var anObject = __webpack_require__(8551); -var toIndexedObject = __webpack_require__(5397); -var objectKeys = __webpack_require__(1072); - -// `Object.defineProperties` method -// https://tc39.es/ecma262/#sec-object.defineproperties -// eslint-disable-next-line es/no-object-defineproperties -- safe -exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var props = toIndexedObject(Properties); - var keys = objectKeys(Properties); - var length = keys.length; - var index = 0; - var key; - while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); - return O; -}; - - -/***/ }), - -/***/ 4913: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var IE8_DOM_DEFINE = __webpack_require__(5917); -var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686); -var anObject = __webpack_require__(8551); -var toPropertyKey = __webpack_require__(6969); - -var $TypeError = TypeError; -// eslint-disable-next-line es/no-object-defineproperty -- safe -var $defineProperty = Object.defineProperty; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var ENUMERABLE = 'enumerable'; -var CONFIGURABLE = 'configurable'; -var WRITABLE = 'writable'; - -// `Object.defineProperty` method -// https://tc39.es/ecma262/#sec-object.defineproperty -exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { - var current = $getOwnPropertyDescriptor(O, P); - if (current && current[WRITABLE]) { - O[P] = Attributes.value; - Attributes = { - configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], - enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], - writable: false - }; - } - } return $defineProperty(O, P, Attributes); -} : $defineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPropertyKey(P); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return $defineProperty(O, P, Attributes); - } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; -}; - - -/***/ }), - -/***/ 7347: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var call = __webpack_require__(9565); -var propertyIsEnumerableModule = __webpack_require__(8773); -var createPropertyDescriptor = __webpack_require__(6980); -var toIndexedObject = __webpack_require__(5397); -var toPropertyKey = __webpack_require__(6969); -var hasOwn = __webpack_require__(9297); -var IE8_DOM_DEFINE = __webpack_require__(5917); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// `Object.getOwnPropertyDescriptor` method -// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor -exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPropertyKey(P); - if (IE8_DOM_DEFINE) try { - return $getOwnPropertyDescriptor(O, P); - } catch (error) { /* empty */ } - if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); -}; - - -/***/ }), - -/***/ 8480: -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -var hiddenKeys = enumBugKeys.concat('length', 'prototype'); - -// `Object.getOwnPropertyNames` method -// https://tc39.es/ecma262/#sec-object.getownpropertynames -// eslint-disable-next-line es/no-object-getownpropertynames -- safe -exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); -}; - - -/***/ }), - -/***/ 3717: -/***/ ((__unused_webpack_module, exports) => { - - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe -exports.f = Object.getOwnPropertySymbols; - - -/***/ }), - -/***/ 2787: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var hasOwn = __webpack_require__(9297); -var isCallable = __webpack_require__(4901); -var toObject = __webpack_require__(8981); -var sharedKey = __webpack_require__(6119); -var CORRECT_PROTOTYPE_GETTER = __webpack_require__(2211); - -var IE_PROTO = sharedKey('IE_PROTO'); -var $Object = Object; -var ObjectPrototype = $Object.prototype; - -// `Object.getPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.getprototypeof -// eslint-disable-next-line es/no-object-getprototypeof -- safe -module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { - var object = toObject(O); - if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; - var constructor = object.constructor; - if (isCallable(constructor) && object instanceof constructor) { - return constructor.prototype; - } return object instanceof $Object ? ObjectPrototype : null; -}; - - -/***/ }), - -/***/ 1625: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -module.exports = uncurryThis({}.isPrototypeOf); - - -/***/ }), - -/***/ 1828: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); -var toIndexedObject = __webpack_require__(5397); -var indexOf = (__webpack_require__(9617).indexOf); -var hiddenKeys = __webpack_require__(421); - -var push = uncurryThis([].push); - -module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); - // Don't enum bug & hidden keys - while (names.length > i) if (hasOwn(O, key = names[i++])) { - ~indexOf(result, key) || push(result, key); - } - return result; -}; - - -/***/ }), - -/***/ 1072: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var internalObjectKeys = __webpack_require__(1828); -var enumBugKeys = __webpack_require__(8727); - -// `Object.keys` method -// https://tc39.es/ecma262/#sec-object.keys -// eslint-disable-next-line es/no-object-keys -- safe -module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); -}; - - -/***/ }), - -/***/ 8773: -/***/ ((__unused_webpack_module, exports) => { - - -var $propertyIsEnumerable = {}.propertyIsEnumerable; -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - -// Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); - -// `Object.prototype.propertyIsEnumerable` method implementation -// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable -exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = getOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; -} : $propertyIsEnumerable; - - -/***/ }), - -/***/ 2967: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable no-proto -- safe */ -var uncurryThisAccessor = __webpack_require__(6706); -var isObject = __webpack_require__(34); -var requireObjectCoercible = __webpack_require__(7750); -var aPossiblePrototype = __webpack_require__(3506); - -// `Object.setPrototypeOf` method -// https://tc39.es/ecma262/#sec-object.setprototypeof -// Works with __proto__ only. Old v8 can't work with null proto objects. -// eslint-disable-next-line es/no-object-setprototypeof -- safe -module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { - var CORRECT_SETTER = false; - var test = {}; - var setter; - try { - setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); - setter(test, []); - CORRECT_SETTER = test instanceof Array; - } catch (error) { /* empty */ } - return function setPrototypeOf(O, proto) { - requireObjectCoercible(O); - aPossiblePrototype(proto); - if (!isObject(O)) return O; - if (CORRECT_SETTER) setter(O, proto); - else O.__proto__ = proto; - return O; - }; -}() : undefined); - - -/***/ }), - -/***/ 4270: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); - -var $TypeError = TypeError; - -// `OrdinaryToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-ordinarytoprimitive -module.exports = function (input, pref) { - var fn, val; - if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; - if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; - throw new $TypeError("Can't convert object to primitive value"); -}; - - -/***/ }), - -/***/ 5031: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var getOwnPropertyNamesModule = __webpack_require__(8480); -var getOwnPropertySymbolsModule = __webpack_require__(3717); -var anObject = __webpack_require__(8551); - -var concat = uncurryThis([].concat); - -// all object keys, includes non-enumerable and symbols -module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; -}; - - -/***/ }), - -/***/ 8235: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var hasOwn = __webpack_require__(9297); - -var $SyntaxError = SyntaxError; -var $parseInt = parseInt; -var fromCharCode = String.fromCharCode; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); - -var codePoints = { - '\\"': '"', - '\\\\': '\\', - '\\/': '/', - '\\b': '\b', - '\\f': '\f', - '\\n': '\n', - '\\r': '\r', - '\\t': '\t' -}; - -var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; -// eslint-disable-next-line regexp/no-control-character -- safe -var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; - -module.exports = function (source, i) { - var unterminated = true; - var value = ''; - while (i < source.length) { - var chr = at(source, i); - if (chr === '\\') { - var twoChars = slice(source, i, i + 2); - if (hasOwn(codePoints, twoChars)) { - value += codePoints[twoChars]; - i += 2; - } else if (twoChars === '\\u') { - i += 2; - var fourHexDigits = slice(source, i, i + 4); - if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i); - value += fromCharCode($parseInt(fourHexDigits, 16)); - i += 4; - } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); - } else if (chr === '"') { - unterminated = false; - i++; - break; - } else { - if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i); - value += chr; - i++; - } - } - if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i); - return { value: value, end: i }; -}; - - -/***/ }), - -/***/ 7750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var isNullOrUndefined = __webpack_require__(4117); - -var $TypeError = TypeError; - -// `RequireObjectCoercible` abstract operation -// https://tc39.es/ecma262/#sec-requireobjectcoercible -module.exports = function (it) { - if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); - return it; -}; - - -/***/ }), - -/***/ 9286: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var SetHelpers = __webpack_require__(4402); -var iterate = __webpack_require__(8469); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; - -module.exports = function (set) { - var result = new Set(); - iterate(set, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 3440: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function difference(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = clone(O); - if (size(O) <= otherRec.size) iterateSet(O, function (e) { - if (otherRec.includes(e)) remove(result, e); - }); - else iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) remove(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4402: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -// eslint-disable-next-line es/no-set -- safe -var SetPrototype = Set.prototype; - -module.exports = { - // eslint-disable-next-line es/no-set -- safe - Set: Set, - add: uncurryThis(SetPrototype.add), - has: uncurryThis(SetPrototype.has), - remove: uncurryThis(SetPrototype['delete']), - proto: SetPrototype -}; - - -/***/ }), - -/***/ 8750: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); - -var Set = SetHelpers.Set; -var add = SetHelpers.add; -var has = SetHelpers.has; - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -module.exports = function intersection(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - var result = new Set(); - - if (size(O) > otherRec.size) { - iterateSimple(otherRec.getIterator(), function (e) { - if (has(O, e)) add(result, e); - }); - } else { - iterateSet(O, function (e) { - if (otherRec.includes(e)) add(result, e); - }); - } - - return result; -}; - - -/***/ }), - -/***/ 4449: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSet = __webpack_require__(8469); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isDisjointFrom` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom -module.exports = function isDisjointFrom(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) <= otherRec.size) return iterateSet(O, function (e) { - if (otherRec.includes(e)) return false; - }, true) !== false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 3838: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var size = __webpack_require__(5170); -var iterate = __webpack_require__(8469); -var getSetRecord = __webpack_require__(3789); - -// `Set.prototype.isSubsetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf -module.exports = function isSubsetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) > otherRec.size) return false; - return iterate(O, function (e) { - if (!otherRec.includes(e)) return false; - }, true) !== false; -}; - - -/***/ }), - -/***/ 8527: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var has = (__webpack_require__(4402).has); -var size = __webpack_require__(5170); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); -var iteratorClose = __webpack_require__(9539); - -// `Set.prototype.isSupersetOf` method -// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf -module.exports = function isSupersetOf(other) { - var O = aSet(this); - var otherRec = getSetRecord(other); - if (size(O) < otherRec.size) return false; - var iterator = otherRec.getIterator(); - return iterateSimple(iterator, function (e) { - if (!has(O, e)) return iteratorClose(iterator, 'normal', false); - }) !== false; -}; - - -/***/ }), - -/***/ 8469: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); -var iterateSimple = __webpack_require__(507); -var SetHelpers = __webpack_require__(4402); - -var Set = SetHelpers.Set; -var SetPrototype = SetHelpers.proto; -var forEach = uncurryThis(SetPrototype.forEach); -var keys = uncurryThis(SetPrototype.keys); -var next = keys(new Set()).next; - -module.exports = function (set, fn, interruptible) { - return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); -}; - - -/***/ }), - -/***/ 4916: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var getBuiltIn = __webpack_require__(7751); - -var createSetLike = function (size) { - return { - size: size, - has: function () { - return false; - }, - keys: function () { - return { - next: function () { - return { done: true }; - } - }; - } - }; -}; - -module.exports = function (name) { - var Set = getBuiltIn('Set'); - try { - new Set()[name](createSetLike(0)); - try { - // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it - // https://github.com/tc39/proposal-set-methods/pull/88 - new Set()[name](createSetLike(-1)); - return false; - } catch (error2) { - return true; - } - } catch (error) { - return false; - } -}; - - -/***/ }), - -/***/ 5170: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThisAccessor = __webpack_require__(6706); -var SetHelpers = __webpack_require__(4402); - -module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { - return set.size; -}; - - -/***/ }), - -/***/ 3650: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var SetHelpers = __webpack_require__(4402); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -var add = SetHelpers.add; -var has = SetHelpers.has; -var remove = SetHelpers.remove; - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -module.exports = function symmetricDifference(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (e) { - if (has(O, e)) remove(result, e); - else add(result, e); - }); - return result; -}; - - -/***/ }), - -/***/ 4204: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var aSet = __webpack_require__(7080); -var add = (__webpack_require__(4402).add); -var clone = __webpack_require__(9286); -var getSetRecord = __webpack_require__(3789); -var iterateSimple = __webpack_require__(507); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -module.exports = function union(other) { - var O = aSet(this); - var keysIter = getSetRecord(other).getIterator(); - var result = clone(O); - iterateSimple(keysIter, function (it) { - add(result, it); - }); - return result; -}; - - -/***/ }), - -/***/ 6119: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var shared = __webpack_require__(5745); -var uid = __webpack_require__(3392); - -var keys = shared('keys'); - -module.exports = function (key) { - return keys[key] || (keys[key] = uid(key)); -}; - - -/***/ }), - -/***/ 7629: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var IS_PURE = __webpack_require__(6395); -var globalThis = __webpack_require__(4475); -var defineGlobalProperty = __webpack_require__(9433); - -var SHARED = '__core-js_shared__'; -var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); - -(store.versions || (store.versions = [])).push({ - version: '3.37.0', - mode: IS_PURE ? 'pure' : 'global', - copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE', - source: 'https://github.com/zloirock/core-js' -}); - - -/***/ }), - -/***/ 5745: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var store = __webpack_require__(7629); - -module.exports = function (key, value) { - return store[key] || (store[key] = value || {}); -}; - - -/***/ }), - -/***/ 4495: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var V8_VERSION = __webpack_require__(7388); -var fails = __webpack_require__(9039); -var global = __webpack_require__(4475); - -var $String = global.String; - -// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -module.exports = !!Object.getOwnPropertySymbols && !fails(function () { - var symbol = Symbol('symbol detection'); - // Chrome 38 Symbol has incorrect toString conversion - // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances - // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, - // of course, fail. - return !$String(symbol) || !(Object(symbol) instanceof Symbol) || - // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances - !Symbol.sham && V8_VERSION && V8_VERSION < 41; -}); - - -/***/ }), - -/***/ 5610: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var max = Math.max; -var min = Math.min; - -// Helper for a popular repeating case of the spec: -// Let integer be ? ToInteger(index). -// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). -module.exports = function (index, length) { - var integer = toIntegerOrInfinity(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); -}; - - -/***/ }), - -/***/ 5397: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -// toObject with fallback for non-array-like ES3 strings -var IndexedObject = __webpack_require__(7055); -var requireObjectCoercible = __webpack_require__(7750); - -module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); -}; - - -/***/ }), - -/***/ 1291: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var trunc = __webpack_require__(741); - -// `ToIntegerOrInfinity` abstract operation -// https://tc39.es/ecma262/#sec-tointegerorinfinity -module.exports = function (argument) { - var number = +argument; - // eslint-disable-next-line no-self-compare -- NaN check - return number !== number || number === 0 ? 0 : trunc(number); -}; - - -/***/ }), - -/***/ 8014: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toIntegerOrInfinity = __webpack_require__(1291); - -var min = Math.min; - -// `ToLength` abstract operation -// https://tc39.es/ecma262/#sec-tolength -module.exports = function (argument) { - var len = toIntegerOrInfinity(argument); - return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 -}; - - -/***/ }), - -/***/ 8981: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var requireObjectCoercible = __webpack_require__(7750); - -var $Object = Object; - -// `ToObject` abstract operation -// https://tc39.es/ecma262/#sec-toobject -module.exports = function (argument) { - return $Object(requireObjectCoercible(argument)); -}; - - -/***/ }), - -/***/ 2777: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var call = __webpack_require__(9565); -var isObject = __webpack_require__(34); -var isSymbol = __webpack_require__(757); -var getMethod = __webpack_require__(5966); -var ordinaryToPrimitive = __webpack_require__(4270); -var wellKnownSymbol = __webpack_require__(8227); - -var $TypeError = TypeError; -var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - -// `ToPrimitive` abstract operation -// https://tc39.es/ecma262/#sec-toprimitive -module.exports = function (input, pref) { - if (!isObject(input) || isSymbol(input)) return input; - var exoticToPrim = getMethod(input, TO_PRIMITIVE); - var result; - if (exoticToPrim) { - if (pref === undefined) pref = 'default'; - result = call(exoticToPrim, input, pref); - if (!isObject(result) || isSymbol(result)) return result; - throw new $TypeError("Can't convert object to primitive value"); - } - if (pref === undefined) pref = 'number'; - return ordinaryToPrimitive(input, pref); -}; - - -/***/ }), - -/***/ 6969: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var toPrimitive = __webpack_require__(2777); -var isSymbol = __webpack_require__(757); - -// `ToPropertyKey` abstract operation -// https://tc39.es/ecma262/#sec-topropertykey -module.exports = function (argument) { - var key = toPrimitive(argument, 'string'); - return isSymbol(key) ? key : key + ''; -}; - - -/***/ }), - -/***/ 2140: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var wellKnownSymbol = __webpack_require__(8227); - -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); -var test = {}; - -test[TO_STRING_TAG] = 'z'; - -module.exports = String(test) === '[object z]'; - - -/***/ }), - -/***/ 655: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var classof = __webpack_require__(6955); - -var $String = String; - -module.exports = function (argument) { - if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); - return $String(argument); -}; - - -/***/ }), - -/***/ 6823: -/***/ ((module) => { - - -var $String = String; - -module.exports = function (argument) { - try { - return $String(argument); - } catch (error) { - return 'Object'; - } -}; - - -/***/ }), - -/***/ 3392: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var uncurryThis = __webpack_require__(9504); - -var id = 0; -var postfix = Math.random(); -var toString = uncurryThis(1.0.toString); - -module.exports = function (key) { - return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); -}; - - -/***/ }), - -/***/ 7040: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -/* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL = __webpack_require__(4495); - -module.exports = NATIVE_SYMBOL - && !Symbol.sham - && typeof Symbol.iterator == 'symbol'; - - -/***/ }), - -/***/ 8686: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var fails = __webpack_require__(9039); - -// V8 ~ Chrome 36- -// https://bugs.chromium.org/p/v8/issues/detail?id=3334 -module.exports = DESCRIPTORS && fails(function () { - // eslint-disable-next-line es/no-object-defineproperty -- required for testing - return Object.defineProperty(function () { /* empty */ }, 'prototype', { - value: 42, - writable: false - }).prototype !== 42; -}); - - -/***/ }), - -/***/ 2812: -/***/ ((module) => { - - -var $TypeError = TypeError; - -module.exports = function (passed, required) { - if (passed < required) throw new $TypeError('Not enough arguments'); - return passed; -}; - - -/***/ }), - -/***/ 8622: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var isCallable = __webpack_require__(4901); - -var WeakMap = global.WeakMap; - -module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); - - -/***/ }), - -/***/ 8227: -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - - -var global = __webpack_require__(4475); -var shared = __webpack_require__(5745); -var hasOwn = __webpack_require__(9297); -var uid = __webpack_require__(3392); -var NATIVE_SYMBOL = __webpack_require__(4495); -var USE_SYMBOL_AS_UID = __webpack_require__(7040); - -var Symbol = global.Symbol; -var WellKnownSymbolsStore = shared('wks'); -var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; - -module.exports = function (name) { - if (!hasOwn(WellKnownSymbolsStore, name)) { - WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) - ? Symbol[name] - : createWellKnownSymbol('Symbol.' + name); - } return WellKnownSymbolsStore[name]; -}; - - -/***/ }), - -/***/ 4114: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var toObject = __webpack_require__(8981); -var lengthOfArrayLike = __webpack_require__(6198); -var setArrayLength = __webpack_require__(4527); -var doesNotExceedSafeInteger = __webpack_require__(6837); -var fails = __webpack_require__(9039); - -var INCORRECT_TO_LENGTH = fails(function () { - return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; -}); - -// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError -// https://bugs.chromium.org/p/v8/issues/detail?id=12681 -var properErrorOnNonWritableLength = function () { - try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty([], 'length', { writable: false }).push(); - } catch (error) { - return error instanceof TypeError; - } -}; - -var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); - -// `Array.prototype.push` method -// https://tc39.es/ecma262/#sec-array.prototype.push -$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars -- required for `.length` - push: function push(item) { - var O = toObject(this); - var len = lengthOfArrayLike(O); - var argCount = arguments.length; - doesNotExceedSafeInteger(len + argCount); - for (var i = 0; i < argCount; i++) { - O[len] = arguments[i]; - len++; - } - setArrayLength(O, len); - return len; - } -}); - - -/***/ }), - -/***/ 4628: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var newPromiseCapabilityModule = __webpack_require__(6043); - -// `Promise.withResolvers` method -// https://github.com/tc39/proposal-promise-with-resolvers -$({ target: 'Promise', stat: true }, { - withResolvers: function withResolvers() { - var promiseCapability = newPromiseCapabilityModule.f(this); - return { - promise: promiseCapability.promise, - resolve: promiseCapability.resolve, - reject: promiseCapability.reject - }; - } -}); - - -/***/ }), - -/***/ 7642: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var difference = __webpack_require__(3440); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.difference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { - difference: difference -}); - - -/***/ }), - -/***/ 8004: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var fails = __webpack_require__(9039); -var intersection = __webpack_require__(8750); -var setMethodAcceptSetLike = __webpack_require__(4916); - -var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { - // eslint-disable-next-line es/no-array-from, es/no-set -- testing - return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2'; -}); - -// `Set.prototype.intersection` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { - intersection: intersection -}); - - -/***/ }), - -/***/ 3853: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isDisjointFrom = __webpack_require__(4449); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isDisjointFrom` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { - isDisjointFrom: isDisjointFrom -}); - - -/***/ }), - -/***/ 5876: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSubsetOf = __webpack_require__(3838); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSubsetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { - isSubsetOf: isSubsetOf -}); - - -/***/ }), - -/***/ 2475: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var isSupersetOf = __webpack_require__(8527); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.isSupersetOf` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { - isSupersetOf: isSupersetOf -}); - - -/***/ }), - -/***/ 5024: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var symmetricDifference = __webpack_require__(3650); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.symmetricDifference` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { - symmetricDifference: symmetricDifference -}); - - -/***/ }), - -/***/ 1698: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var union = __webpack_require__(4204); -var setMethodAcceptSetLike = __webpack_require__(4916); - -// `Set.prototype.union` method -// https://github.com/tc39/proposal-set-methods -$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { - union: union -}); - - -/***/ }), - -/***/ 8992: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var anInstance = __webpack_require__(679); -var anObject = __webpack_require__(8551); -var isCallable = __webpack_require__(4901); -var getPrototypeOf = __webpack_require__(2787); -var defineBuiltInAccessor = __webpack_require__(2106); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var hasOwn = __webpack_require__(9297); -var wellKnownSymbol = __webpack_require__(8227); -var IteratorPrototype = (__webpack_require__(7657).IteratorPrototype); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var CONSTRUCTOR = 'constructor'; -var ITERATOR = 'Iterator'; -var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - -var $TypeError = TypeError; -var NativeIterator = global[ITERATOR]; - -// FF56- have non-standard global helper `Iterator` -var FORCED = IS_PURE - || !isCallable(NativeIterator) - || NativeIterator.prototype !== IteratorPrototype - // FF44- non-standard `Iterator` passes previous tests - || !fails(function () { NativeIterator({}); }); - -var IteratorConstructor = function Iterator() { - anInstance(this, IteratorPrototype); - if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); -}; - -var defineIteratorPrototypeAccessor = function (key, value) { - if (DESCRIPTORS) { - defineBuiltInAccessor(IteratorPrototype, key, { - configurable: true, - get: function () { - return value; - }, - set: function (replacement) { - anObject(this); - if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); - if (hasOwn(this, key)) this[key] = replacement; - else createProperty(this, key, replacement); - } - }); - } else IteratorPrototype[key] = value; -}; - -if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); - -if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { - defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); -} - -IteratorConstructor.prototype = IteratorPrototype; - -// `Iterator` constructor -// https://github.com/tc39/proposal-iterator-helpers -$({ global: true, constructor: true, forced: FORCED }, { - Iterator: IteratorConstructor -}); - - -/***/ }), - -/***/ 3215: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.every` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - every: function every(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return !iterate(record, function (value, stop) { - if (!predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 4520: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var call = __webpack_require__(9565); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); -var createIteratorProxy = __webpack_require__(9462); -var callWithSafeIterationClosing = __webpack_require__(6319); -var IS_PURE = __webpack_require__(6395); - -var IteratorProxy = createIteratorProxy(function () { - var iterator = this.iterator; - var predicate = this.predicate; - var next = this.next; - var result, done, value; - while (true) { - result = anObject(call(next, iterator)); - done = this.done = !!result.done; - if (done) return; - value = result.value; - if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; - } -}); - -// `Iterator.prototype.filter` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - filter: function filter(predicate) { - anObject(this); - aCallable(predicate); - return new IteratorProxy(getIteratorDirect(this), { - predicate: predicate - }); - } -}); - - -/***/ }), - -/***/ 3949: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.forEach` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - forEach: function forEach(fn) { - anObject(this); - aCallable(fn); - var record = getIteratorDirect(this); - var counter = 0; - iterate(record, function (value) { - fn(value, counter++); - }, { IS_RECORD: true }); - } -}); - - -/***/ }), - -/***/ 1454: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var map = __webpack_require__(713); -var IS_PURE = __webpack_require__(6395); - -// `Iterator.prototype.map` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { - map: map -}); - - -/***/ }), - -/***/ 7550: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var iterate = __webpack_require__(2652); -var aCallable = __webpack_require__(9306); -var anObject = __webpack_require__(8551); -var getIteratorDirect = __webpack_require__(1767); - -// `Iterator.prototype.some` method -// https://github.com/tc39/proposal-iterator-helpers -$({ target: 'Iterator', proto: true, real: true }, { - some: function some(predicate) { - anObject(this); - aCallable(predicate); - var record = getIteratorDirect(this); - var counter = 0; - return iterate(record, function (value, stop) { - if (predicate(value, counter++)) return stop(); - }, { IS_RECORD: true, INTERRUPTED: true }).stopped; - } -}); - - -/***/ }), - -/***/ 8335: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var DESCRIPTORS = __webpack_require__(3724); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var uncurryThis = __webpack_require__(9504); -var call = __webpack_require__(9565); -var isCallable = __webpack_require__(4901); -var isObject = __webpack_require__(34); -var isArray = __webpack_require__(4376); -var hasOwn = __webpack_require__(9297); -var toString = __webpack_require__(655); -var lengthOfArrayLike = __webpack_require__(6198); -var createProperty = __webpack_require__(4659); -var fails = __webpack_require__(9039); -var parseJSONString = __webpack_require__(8235); -var NATIVE_SYMBOL = __webpack_require__(4495); - -var JSON = global.JSON; -var Number = global.Number; -var SyntaxError = global.SyntaxError; -var nativeParse = JSON && JSON.parse; -var enumerableOwnProperties = getBuiltIn('Object', 'keys'); -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; -var at = uncurryThis(''.charAt); -var slice = uncurryThis(''.slice); -var exec = uncurryThis(/./.exec); -var push = uncurryThis([].push); - -var IS_DIGIT = /^\d$/; -var IS_NON_ZERO_DIGIT = /^[1-9]$/; -var IS_NUMBER_START = /^(?:-|\d)$/; -var IS_WHITESPACE = /^[\t\n\r ]$/; - -var PRIMITIVE = 0; -var OBJECT = 1; - -var $parse = function (source, reviver) { - source = toString(source); - var context = new Context(source, 0, ''); - var root = context.parse(); - var value = root.value; - var endIndex = context.skip(IS_WHITESPACE, root.end); - if (endIndex < source.length) { - throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); - } - return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; -}; - -var internalize = function (holder, name, reviver, node) { - var val = holder[name]; - var unmodified = node && val === node.value; - var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; - var elementRecordsLen, keys, len, i, P; - if (isObject(val)) { - var nodeIsArray = isArray(val); - var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; - if (nodeIsArray) { - elementRecordsLen = nodes.length; - len = lengthOfArrayLike(val); - for (i = 0; i < len; i++) { - internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); - } - } else { - keys = enumerableOwnProperties(val); - len = lengthOfArrayLike(keys); - for (i = 0; i < len; i++) { - P = keys[i]; - internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); - } - } - } - return call(reviver, holder, name, val, context); -}; - -var internalizeProperty = function (object, key, value) { - if (DESCRIPTORS) { - var descriptor = getOwnPropertyDescriptor(object, key); - if (descriptor && !descriptor.configurable) return; - } - if (value === undefined) delete object[key]; - else createProperty(object, key, value); -}; - -var Node = function (value, end, source, nodes) { - this.value = value; - this.end = end; - this.source = source; - this.nodes = nodes; -}; - -var Context = function (source, index) { - this.source = source; - this.index = index; -}; - -// https://www.json.org/json-en.html -Context.prototype = { - fork: function (nextIndex) { - return new Context(this.source, nextIndex); - }, - parse: function () { - var source = this.source; - var i = this.skip(IS_WHITESPACE, this.index); - var fork = this.fork(i); - var chr = at(source, i); - if (exec(IS_NUMBER_START, chr)) return fork.number(); - switch (chr) { - case '{': - return fork.object(); - case '[': - return fork.array(); - case '"': - return fork.string(); - case 't': - return fork.keyword(true); - case 'f': - return fork.keyword(false); - case 'n': - return fork.keyword(null); - } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - }, - node: function (type, value, start, end, nodes) { - return new Node(value, end, type ? null : slice(this.source, start, end), nodes); - }, - object: function () { - var source = this.source; - var i = this.index + 1; - var expectKeypair = false; - var object = {}; - var nodes = {}; - while (i < source.length) { - i = this.until(['"', '}'], i); - if (at(source, i) === '}' && !expectKeypair) { - i++; - break; - } - // Parsing the key - var result = this.fork(i).string(); - var key = result.value; - i = result.end; - i = this.until([':'], i) + 1; - // Parsing value - i = this.skip(IS_WHITESPACE, i); - result = this.fork(i).parse(); - createProperty(nodes, key, result); - createProperty(object, key, result.value); - i = this.until([',', '}'], result.end); - var chr = at(source, i); - if (chr === ',') { - expectKeypair = true; - i++; - } else if (chr === '}') { - i++; - break; - } - } - return this.node(OBJECT, object, this.index, i, nodes); - }, - array: function () { - var source = this.source; - var i = this.index + 1; - var expectElement = false; - var array = []; - var nodes = []; - while (i < source.length) { - i = this.skip(IS_WHITESPACE, i); - if (at(source, i) === ']' && !expectElement) { - i++; - break; - } - var result = this.fork(i).parse(); - push(nodes, result); - push(array, result.value); - i = this.until([',', ']'], result.end); - if (at(source, i) === ',') { - expectElement = true; - i++; - } else if (at(source, i) === ']') { - i++; - break; - } - } - return this.node(OBJECT, array, this.index, i, nodes); - }, - string: function () { - var index = this.index; - var parsed = parseJSONString(this.source, this.index + 1); - return this.node(PRIMITIVE, parsed.value, index, parsed.end); - }, - number: function () { - var source = this.source; - var startIndex = this.index; - var i = startIndex; - if (at(source, i) === '-') i++; - if (at(source, i) === '0') i++; - else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); - else throw new SyntaxError('Failed to parse number at: ' + i); - if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i); - if (at(source, i) === 'e' || at(source, i) === 'E') { - i++; - if (at(source, i) === '+' || at(source, i) === '-') i++; - var exponentStartIndex = i; - i = this.skip(IS_DIGIT, i); - if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i); - } - return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); - }, - keyword: function (value) { - var keyword = '' + value; - var index = this.index; - var endIndex = index + keyword.length; - if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index); - return this.node(PRIMITIVE, value, index, endIndex); - }, - skip: function (regex, i) { - var source = this.source; - for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; - return i; - }, - until: function (array, i) { - i = this.skip(IS_WHITESPACE, i); - var chr = at(this.source, i); - for (var j = 0; j < array.length; j++) if (array[j] === chr) return i; - throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); - } -}; - -var NO_SOURCE_SUPPORT = fails(function () { - var unsafeInt = '9007199254740993'; - var source; - nativeParse(unsafeInt, function (key, value, context) { - source = context.source; - }); - return source !== unsafeInt; -}); - -var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { - // Safari 9 bug - return 1 / nativeParse('-0 \t') !== -Infinity; -}); - -// `JSON.parse` method -// https://tc39.es/ecma262/#sec-json.parse -// https://github.com/tc39/proposal-json-parse-with-source -$({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { - parse: function parse(text, reviver) { - return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); - } -}); - - -/***/ }), - -/***/ 3375: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(7642); - - -/***/ }), - -/***/ 9225: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(8004); - - -/***/ }), - -/***/ 3972: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(3853); - - -/***/ }), - -/***/ 9209: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5876); - - -/***/ }), - -/***/ 5714: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(2475); - - -/***/ }), - -/***/ 7561: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(5024); - - -/***/ }), - -/***/ 6197: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -// TODO: Remove from `core-js@4` -__webpack_require__(1698); - - -/***/ }), - -/***/ 4979: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var $ = __webpack_require__(6518); -var global = __webpack_require__(4475); -var getBuiltIn = __webpack_require__(7751); -var createPropertyDescriptor = __webpack_require__(6980); -var defineProperty = (__webpack_require__(4913).f); -var hasOwn = __webpack_require__(9297); -var anInstance = __webpack_require__(679); -var inheritIfRequired = __webpack_require__(3167); -var normalizeStringArgument = __webpack_require__(4984); -var DOMExceptionConstants = __webpack_require__(5002); -var clearErrorStack = __webpack_require__(6193); -var DESCRIPTORS = __webpack_require__(3724); -var IS_PURE = __webpack_require__(6395); - -var DOM_EXCEPTION = 'DOMException'; -var Error = getBuiltIn('Error'); -var NativeDOMException = getBuiltIn(DOM_EXCEPTION); - -var $DOMException = function DOMException() { - anInstance(this, DOMExceptionPrototype); - var argumentsLength = arguments.length; - var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); - var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); - var that = new NativeDOMException(message, name); - var error = new Error(message); - error.name = DOM_EXCEPTION; - defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); - inheritIfRequired(that, this, $DOMException); - return that; -}; - -var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; - -var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); -var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); - -// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe -var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); - -// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it -// https://github.com/Jarred-Sumner/bun/issues/399 -var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); - -var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; - -// `DOMException` constructor patch for `.stack` where it's required -// https://webidl.spec.whatwg.org/#es-DOMException-specialness -$({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic - DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException -}); - -var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); -var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; - -if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { - if (!IS_PURE) { - defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); - } - - for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { - var constant = DOMExceptionConstants[key]; - var constantName = constant.s; - if (!hasOwn(PolyfilledDOMException, constantName)) { - defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); - } - } -} - - -/***/ }), - -/***/ 4603: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var append = uncurryThis(URLSearchParamsPrototype.append); -var $delete = uncurryThis(URLSearchParamsPrototype['delete']); -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); -var push = uncurryThis([].push); -var params = new $URLSearchParams('a=1&a=2&b=3'); - -params['delete']('a', 1); -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -params['delete']('b', undefined); - -if (params + '' !== 'a=2') { - defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $delete(this, name); - var entries = []; - forEach(this, function (v, k) { // also validates `this` - push(entries, { key: k, value: v }); - }); - validateArgumentsLength(length, 1); - var key = toString(name); - var value = toString($value); - var index = 0; - var dindex = 0; - var found = false; - var entriesLength = entries.length; - var entry; - while (index < entriesLength) { - entry = entries[index++]; - if (found || entry.key === key) { - found = true; - $delete(this, entry.key); - } else dindex++; - } - while (dindex < entriesLength) { - entry = entries[dindex++]; - if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); - } - }, { enumerable: true, unsafe: true }); -} - - -/***/ }), - -/***/ 7566: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var defineBuiltIn = __webpack_require__(6840); -var uncurryThis = __webpack_require__(9504); -var toString = __webpack_require__(655); -var validateArgumentsLength = __webpack_require__(2812); - -var $URLSearchParams = URLSearchParams; -var URLSearchParamsPrototype = $URLSearchParams.prototype; -var getAll = uncurryThis(URLSearchParamsPrototype.getAll); -var $has = uncurryThis(URLSearchParamsPrototype.has); -var params = new $URLSearchParams('a=1'); - -// `undefined` case is a Chromium 117 bug -// https://bugs.chromium.org/p/v8/issues/detail?id=14222 -if (params.has('a', 2) || !params.has('a', undefined)) { - defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { - var length = arguments.length; - var $value = length < 2 ? undefined : arguments[1]; - if (length && $value === undefined) return $has(this, name); - var values = getAll(this, name); // also validates `this` - validateArgumentsLength(length, 1); - var value = toString($value); - var index = 0; - while (index < values.length) { - if (values[index++] === value) return true; - } return false; - }, { enumerable: true, unsafe: true }); -} - - -/***/ }), - -/***/ 8721: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => { - - -var DESCRIPTORS = __webpack_require__(3724); -var uncurryThis = __webpack_require__(9504); -var defineBuiltInAccessor = __webpack_require__(2106); - -var URLSearchParamsPrototype = URLSearchParams.prototype; -var forEach = uncurryThis(URLSearchParamsPrototype.forEach); - -// `URLSearchParams.prototype.size` getter -// https://github.com/whatwg/url/pull/734 -if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { - defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { - get: function size() { - var count = 0; - forEach(this, function () { count++; }); - return count; - }, - configurable: true, - enumerable: true - }); -} - - -/***/ }), - -/***/ 588: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - FluentBundle: () => (/* reexport */ FluentBundle), - FluentResource: () => (/* reexport */ FluentResource) -}); - -// UNUSED EXPORTS: FluentDateTime, FluentNone, FluentNumber, FluentType - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/types.js -class FluentType { - constructor(value) { - this.value = value; - } - valueOf() { - return this.value; - } -} -class FluentNone extends FluentType { - constructor(value = "???") { - super(value); - } - toString(scope) { - return `{${this.value}}`; - } -} -class FluentNumber extends FluentType { - constructor(value, opts = {}) { - super(value); - this.opts = opts; - } - toString(scope) { - try { - const nf = scope.memoizeIntlObject(Intl.NumberFormat, this.opts); - return nf.format(this.value); - } catch (err) { - scope.reportError(err); - return this.value.toString(10); - } - } -} -class FluentDateTime extends FluentType { - constructor(value, opts = {}) { - super(value); - this.opts = opts; - } - toString(scope) { - try { - const dtf = scope.memoizeIntlObject(Intl.DateTimeFormat, this.opts); - return dtf.format(this.value); - } catch (err) { - scope.reportError(err); - return new Date(this.value).toISOString(); - } - } -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/resolver.js - - -const MAX_PLACEABLES = 100; -const FSI = "\u2068"; -const PDI = "\u2069"; -function match(scope, selector, key) { - if (key === selector) { - return true; - } - if (key instanceof FluentNumber && selector instanceof FluentNumber && key.value === selector.value) { - return true; - } - if (selector instanceof FluentNumber && typeof key === "string") { - let category = scope.memoizeIntlObject(Intl.PluralRules, selector.opts).select(selector.value); - if (key === category) { - return true; - } - } - return false; -} -function getDefault(scope, variants, star) { - if (variants[star]) { - return resolvePattern(scope, variants[star].value); - } - scope.reportError(new RangeError("No default")); - return new FluentNone(); -} -function getArguments(scope, args) { - const positional = []; - const named = Object.create(null); - for (const arg of args) { - if (arg.type === "narg") { - named[arg.name] = resolveExpression(scope, arg.value); - } else { - positional.push(resolveExpression(scope, arg)); - } - } - return { - positional, - named - }; -} -function resolveExpression(scope, expr) { - switch (expr.type) { - case "str": - return expr.value; - case "num": - return new FluentNumber(expr.value, { - minimumFractionDigits: expr.precision - }); - case "var": - return resolveVariableReference(scope, expr); - case "mesg": - return resolveMessageReference(scope, expr); - case "term": - return resolveTermReference(scope, expr); - case "func": - return resolveFunctionReference(scope, expr); - case "select": - return resolveSelectExpression(scope, expr); - default: - return new FluentNone(); - } -} -function resolveVariableReference(scope, { - name -}) { - let arg; - if (scope.params) { - if (Object.prototype.hasOwnProperty.call(scope.params, name)) { - arg = scope.params[name]; - } else { - return new FluentNone(`$${name}`); - } - } else if (scope.args && Object.prototype.hasOwnProperty.call(scope.args, name)) { - arg = scope.args[name]; - } else { - scope.reportError(new ReferenceError(`Unknown variable: $${name}`)); - return new FluentNone(`$${name}`); - } - if (arg instanceof FluentType) { - return arg; - } - switch (typeof arg) { - case "string": - return arg; - case "number": - return new FluentNumber(arg); - case "object": - if (arg instanceof Date) { - return new FluentDateTime(arg.getTime()); - } - default: - scope.reportError(new TypeError(`Variable type not supported: $${name}, ${typeof arg}`)); - return new FluentNone(`$${name}`); - } -} -function resolveMessageReference(scope, { - name, - attr -}) { - const message = scope.bundle._messages.get(name); - if (!message) { - scope.reportError(new ReferenceError(`Unknown message: ${name}`)); - return new FluentNone(name); - } - if (attr) { - const attribute = message.attributes[attr]; - if (attribute) { - return resolvePattern(scope, attribute); - } - scope.reportError(new ReferenceError(`Unknown attribute: ${attr}`)); - return new FluentNone(`${name}.${attr}`); - } - if (message.value) { - return resolvePattern(scope, message.value); - } - scope.reportError(new ReferenceError(`No value: ${name}`)); - return new FluentNone(name); -} -function resolveTermReference(scope, { - name, - attr, - args -}) { - const id = `-${name}`; - const term = scope.bundle._terms.get(id); - if (!term) { - scope.reportError(new ReferenceError(`Unknown term: ${id}`)); - return new FluentNone(id); - } - if (attr) { - const attribute = term.attributes[attr]; - if (attribute) { - scope.params = getArguments(scope, args).named; - const resolved = resolvePattern(scope, attribute); - scope.params = null; - return resolved; - } - scope.reportError(new ReferenceError(`Unknown attribute: ${attr}`)); - return new FluentNone(`${id}.${attr}`); - } - scope.params = getArguments(scope, args).named; - const resolved = resolvePattern(scope, term.value); - scope.params = null; - return resolved; -} -function resolveFunctionReference(scope, { - name, - args -}) { - let func = scope.bundle._functions[name]; - if (!func) { - scope.reportError(new ReferenceError(`Unknown function: ${name}()`)); - return new FluentNone(`${name}()`); - } - if (typeof func !== "function") { - scope.reportError(new TypeError(`Function ${name}() is not callable`)); - return new FluentNone(`${name}()`); - } - try { - let resolved = getArguments(scope, args); - return func(resolved.positional, resolved.named); - } catch (err) { - scope.reportError(err); - return new FluentNone(`${name}()`); - } -} -function resolveSelectExpression(scope, { - selector, - variants, - star -}) { - let sel = resolveExpression(scope, selector); - if (sel instanceof FluentNone) { - return getDefault(scope, variants, star); - } - for (const variant of variants) { - const key = resolveExpression(scope, variant.key); - if (match(scope, sel, key)) { - return resolvePattern(scope, variant.value); - } - } - return getDefault(scope, variants, star); -} -function resolveComplexPattern(scope, ptn) { - if (scope.dirty.has(ptn)) { - scope.reportError(new RangeError("Cyclic reference")); - return new FluentNone(); - } - scope.dirty.add(ptn); - const result = []; - const useIsolating = scope.bundle._useIsolating && ptn.length > 1; - for (const elem of ptn) { - if (typeof elem === "string") { - result.push(scope.bundle._transform(elem)); - continue; - } - scope.placeables++; - if (scope.placeables > MAX_PLACEABLES) { - scope.dirty.delete(ptn); - throw new RangeError(`Too many placeables expanded: ${scope.placeables}, ` + `max allowed is ${MAX_PLACEABLES}`); - } - if (useIsolating) { - result.push(FSI); - } - result.push(resolveExpression(scope, elem).toString(scope)); - if (useIsolating) { - result.push(PDI); - } - } - scope.dirty.delete(ptn); - return result.join(""); -} -function resolvePattern(scope, value) { - if (typeof value === "string") { - return scope.bundle._transform(value); - } - return resolveComplexPattern(scope, value); -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/scope.js - -class Scope { - constructor(bundle, errors, args) { - this.dirty = new WeakSet(); - this.params = null; - this.placeables = 0; - this.bundle = bundle; - this.errors = errors; - this.args = args; - } - reportError(error) { - if (!this.errors || !(error instanceof Error)) { - throw error; - } - this.errors.push(error); - } - memoizeIntlObject(ctor, opts) { - let cache = this.bundle._intls.get(ctor); - if (!cache) { - cache = {}; - this.bundle._intls.set(ctor, cache); - } - let id = JSON.stringify(opts); - if (!cache[id]) { - cache[id] = new ctor(this.bundle.locales, opts); - } - return cache[id]; - } -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/builtins.js - -function values(opts, allowed) { - const unwrapped = Object.create(null); - for (const [name, opt] of Object.entries(opts)) { - if (allowed.includes(name)) { - unwrapped[name] = opt.valueOf(); - } - } - return unwrapped; -} -const NUMBER_ALLOWED = ["unitDisplay", "currencyDisplay", "useGrouping", "minimumIntegerDigits", "minimumFractionDigits", "maximumFractionDigits", "minimumSignificantDigits", "maximumSignificantDigits"]; -function NUMBER(args, opts) { - let arg = args[0]; - if (arg instanceof FluentNone) { - return new FluentNone(`NUMBER(${arg.valueOf()})`); - } - if (arg instanceof FluentNumber) { - return new FluentNumber(arg.valueOf(), { - ...arg.opts, - ...values(opts, NUMBER_ALLOWED) - }); - } - if (arg instanceof FluentDateTime) { - return new FluentNumber(arg.valueOf(), { - ...values(opts, NUMBER_ALLOWED) - }); - } - throw new TypeError("Invalid argument to NUMBER"); -} -const DATETIME_ALLOWED = ["dateStyle", "timeStyle", "fractionalSecondDigits", "dayPeriod", "hour12", "weekday", "era", "year", "month", "day", "hour", "minute", "second", "timeZoneName"]; -function DATETIME(args, opts) { - let arg = args[0]; - if (arg instanceof FluentNone) { - return new FluentNone(`DATETIME(${arg.valueOf()})`); - } - if (arg instanceof FluentDateTime) { - return new FluentDateTime(arg.valueOf(), { - ...arg.opts, - ...values(opts, DATETIME_ALLOWED) - }); - } - if (arg instanceof FluentNumber) { - return new FluentDateTime(arg.valueOf(), { - ...values(opts, DATETIME_ALLOWED) - }); - } - throw new TypeError("Invalid argument to DATETIME"); -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/memoizer.js -const cache = new Map(); -function getMemoizerForLocale(locales) { - const stringLocale = Array.isArray(locales) ? locales.join(" ") : locales; - let memoizer = cache.get(stringLocale); - if (memoizer === undefined) { - memoizer = new Map(); - cache.set(stringLocale, memoizer); - } - return memoizer; -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/bundle.js - - - - - - -class FluentBundle { - constructor(locales, { - functions, - useIsolating = true, - transform = v => v - } = {}) { - this._terms = new Map(); - this._messages = new Map(); - this.locales = Array.isArray(locales) ? locales : [locales]; - this._functions = { - NUMBER: NUMBER, - DATETIME: DATETIME, - ...functions - }; - this._useIsolating = useIsolating; - this._transform = transform; - this._intls = getMemoizerForLocale(locales); - } - hasMessage(id) { - return this._messages.has(id); - } - getMessage(id) { - return this._messages.get(id); - } - addResource(res, { - allowOverrides = false - } = {}) { - const errors = []; - for (let i = 0; i < res.body.length; i++) { - let entry = res.body[i]; - if (entry.id.startsWith("-")) { - if (allowOverrides === false && this._terms.has(entry.id)) { - errors.push(new Error(`Attempt to override an existing term: "${entry.id}"`)); - continue; - } - this._terms.set(entry.id, entry); - } else { - if (allowOverrides === false && this._messages.has(entry.id)) { - errors.push(new Error(`Attempt to override an existing message: "${entry.id}"`)); - continue; - } - this._messages.set(entry.id, entry); - } - } - return errors; - } - formatPattern(pattern, args = null, errors = null) { - if (typeof pattern === "string") { - return this._transform(pattern); - } - let scope = new Scope(this, errors, args); - try { - let value = resolveComplexPattern(scope, pattern); - return value.toString(scope); - } catch (err) { - if (scope.errors && err instanceof Error) { - scope.errors.push(err); - return new FluentNone().toString(scope); - } - throw err; - } - } -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/resource.js - -const RE_MESSAGE_START = /^(-?[a-zA-Z][\w-]*) *= */gm; -const RE_ATTRIBUTE_START = /\.([a-zA-Z][\w-]*) *= */y; -const RE_VARIANT_START = /\*?\[/y; -const RE_NUMBER_LITERAL = /(-?[0-9]+(?:\.([0-9]+))?)/y; -const RE_IDENTIFIER = /([a-zA-Z][\w-]*)/y; -const RE_REFERENCE = /([$-])?([a-zA-Z][\w-]*)(?:\.([a-zA-Z][\w-]*))?/y; -const RE_FUNCTION_NAME = /^[A-Z][A-Z0-9_-]*$/; -const RE_TEXT_RUN = /([^{}\n\r]+)/y; -const RE_STRING_RUN = /([^\\"\n\r]*)/y; -const RE_STRING_ESCAPE = /\\([\\"])/y; -const RE_UNICODE_ESCAPE = /\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{6})/y; -const RE_LEADING_NEWLINES = /^\n+/; -const RE_TRAILING_SPACES = / +$/; -const RE_BLANK_LINES = / *\r?\n/g; -const RE_INDENT = /( *)$/; -const TOKEN_BRACE_OPEN = /{\s*/y; -const TOKEN_BRACE_CLOSE = /\s*}/y; -const TOKEN_BRACKET_OPEN = /\[\s*/y; -const TOKEN_BRACKET_CLOSE = /\s*] */y; -const TOKEN_PAREN_OPEN = /\s*\(\s*/y; -const TOKEN_ARROW = /\s*->\s*/y; -const TOKEN_COLON = /\s*:\s*/y; -const TOKEN_COMMA = /\s*,?\s*/y; -const TOKEN_BLANK = /\s+/y; -class FluentResource { - constructor(source) { - this.body = []; - RE_MESSAGE_START.lastIndex = 0; - let cursor = 0; - while (true) { - let next = RE_MESSAGE_START.exec(source); - if (next === null) { - break; - } - cursor = RE_MESSAGE_START.lastIndex; - try { - this.body.push(parseMessage(next[1])); - } catch (err) { - if (err instanceof SyntaxError) { - continue; - } - throw err; - } - } - function test(re) { - re.lastIndex = cursor; - return re.test(source); - } - function consumeChar(char, errorClass) { - if (source[cursor] === char) { - cursor++; - return true; - } - if (errorClass) { - throw new errorClass(`Expected ${char}`); - } - return false; - } - function consumeToken(re, errorClass) { - if (test(re)) { - cursor = re.lastIndex; - return true; - } - if (errorClass) { - throw new errorClass(`Expected ${re.toString()}`); - } - return false; - } - function match(re) { - re.lastIndex = cursor; - let result = re.exec(source); - if (result === null) { - throw new SyntaxError(`Expected ${re.toString()}`); - } - cursor = re.lastIndex; - return result; - } - function match1(re) { - return match(re)[1]; - } - function parseMessage(id) { - let value = parsePattern(); - let attributes = parseAttributes(); - if (value === null && Object.keys(attributes).length === 0) { - throw new SyntaxError("Expected message value or attributes"); - } - return { - id, - value, - attributes - }; - } - function parseAttributes() { - let attrs = Object.create(null); - while (test(RE_ATTRIBUTE_START)) { - let name = match1(RE_ATTRIBUTE_START); - let value = parsePattern(); - if (value === null) { - throw new SyntaxError("Expected attribute value"); - } - attrs[name] = value; - } - return attrs; - } - function parsePattern() { - let first; - if (test(RE_TEXT_RUN)) { - first = match1(RE_TEXT_RUN); - } - if (source[cursor] === "{" || source[cursor] === "}") { - return parsePatternElements(first ? [first] : [], Infinity); - } - let indent = parseIndent(); - if (indent) { - if (first) { - return parsePatternElements([first, indent], indent.length); - } - indent.value = trim(indent.value, RE_LEADING_NEWLINES); - return parsePatternElements([indent], indent.length); - } - if (first) { - return trim(first, RE_TRAILING_SPACES); - } - return null; - } - function parsePatternElements(elements = [], commonIndent) { - while (true) { - if (test(RE_TEXT_RUN)) { - elements.push(match1(RE_TEXT_RUN)); - continue; - } - if (source[cursor] === "{") { - elements.push(parsePlaceable()); - continue; - } - if (source[cursor] === "}") { - throw new SyntaxError("Unbalanced closing brace"); - } - let indent = parseIndent(); - if (indent) { - elements.push(indent); - commonIndent = Math.min(commonIndent, indent.length); - continue; - } - break; - } - let lastIndex = elements.length - 1; - let lastElement = elements[lastIndex]; - if (typeof lastElement === "string") { - elements[lastIndex] = trim(lastElement, RE_TRAILING_SPACES); - } - let baked = []; - for (let element of elements) { - if (element instanceof Indent) { - element = element.value.slice(0, element.value.length - commonIndent); - } - if (element) { - baked.push(element); - } - } - return baked; - } - function parsePlaceable() { - consumeToken(TOKEN_BRACE_OPEN, SyntaxError); - let selector = parseInlineExpression(); - if (consumeToken(TOKEN_BRACE_CLOSE)) { - return selector; - } - if (consumeToken(TOKEN_ARROW)) { - let variants = parseVariants(); - consumeToken(TOKEN_BRACE_CLOSE, SyntaxError); - return { - type: "select", - selector, - ...variants - }; - } - throw new SyntaxError("Unclosed placeable"); - } - function parseInlineExpression() { - if (source[cursor] === "{") { - return parsePlaceable(); - } - if (test(RE_REFERENCE)) { - let [, sigil, name, attr = null] = match(RE_REFERENCE); - if (sigil === "$") { - return { - type: "var", - name - }; - } - if (consumeToken(TOKEN_PAREN_OPEN)) { - let args = parseArguments(); - if (sigil === "-") { - return { - type: "term", - name, - attr, - args - }; - } - if (RE_FUNCTION_NAME.test(name)) { - return { - type: "func", - name, - args - }; - } - throw new SyntaxError("Function names must be all upper-case"); - } - if (sigil === "-") { - return { - type: "term", - name, - attr, - args: [] - }; - } - return { - type: "mesg", - name, - attr - }; - } - return parseLiteral(); - } - function parseArguments() { - let args = []; - while (true) { - switch (source[cursor]) { - case ")": - cursor++; - return args; - case undefined: - throw new SyntaxError("Unclosed argument list"); - } - args.push(parseArgument()); - consumeToken(TOKEN_COMMA); - } - } - function parseArgument() { - let expr = parseInlineExpression(); - if (expr.type !== "mesg") { - return expr; - } - if (consumeToken(TOKEN_COLON)) { - return { - type: "narg", - name: expr.name, - value: parseLiteral() - }; - } - return expr; - } - function parseVariants() { - let variants = []; - let count = 0; - let star; - while (test(RE_VARIANT_START)) { - if (consumeChar("*")) { - star = count; - } - let key = parseVariantKey(); - let value = parsePattern(); - if (value === null) { - throw new SyntaxError("Expected variant value"); - } - variants[count++] = { - key, - value - }; - } - if (count === 0) { - return null; - } - if (star === undefined) { - throw new SyntaxError("Expected default variant"); - } - return { - variants, - star - }; - } - function parseVariantKey() { - consumeToken(TOKEN_BRACKET_OPEN, SyntaxError); - let key; - if (test(RE_NUMBER_LITERAL)) { - key = parseNumberLiteral(); - } else { - key = { - type: "str", - value: match1(RE_IDENTIFIER) - }; - } - consumeToken(TOKEN_BRACKET_CLOSE, SyntaxError); - return key; - } - function parseLiteral() { - if (test(RE_NUMBER_LITERAL)) { - return parseNumberLiteral(); - } - if (source[cursor] === '"') { - return parseStringLiteral(); - } - throw new SyntaxError("Invalid expression"); - } - function parseNumberLiteral() { - let [, value, fraction = ""] = match(RE_NUMBER_LITERAL); - let precision = fraction.length; - return { - type: "num", - value: parseFloat(value), - precision - }; - } - function parseStringLiteral() { - consumeChar('"', SyntaxError); - let value = ""; - while (true) { - value += match1(RE_STRING_RUN); - if (source[cursor] === "\\") { - value += parseEscapeSequence(); - continue; - } - if (consumeChar('"')) { - return { - type: "str", - value - }; - } - throw new SyntaxError("Unclosed string literal"); - } - } - function parseEscapeSequence() { - if (test(RE_STRING_ESCAPE)) { - return match1(RE_STRING_ESCAPE); - } - if (test(RE_UNICODE_ESCAPE)) { - let [, codepoint4, codepoint6] = match(RE_UNICODE_ESCAPE); - let codepoint = parseInt(codepoint4 || codepoint6, 16); - return codepoint <= 0xd7ff || 0xe000 <= codepoint ? String.fromCodePoint(codepoint) : "�"; - } - throw new SyntaxError("Unknown escape sequence"); - } - function parseIndent() { - let start = cursor; - consumeToken(TOKEN_BLANK); - switch (source[cursor]) { - case ".": - case "[": - case "*": - case "}": - case undefined: - return false; - case "{": - return makeIndent(source.slice(start, cursor)); - } - if (source[cursor - 1] === " ") { - return makeIndent(source.slice(start, cursor)); - } - return false; - } - function trim(text, re) { - return text.replace(re, ""); - } - function makeIndent(blank) { - let value = blank.replace(RE_BLANK_LINES, "\n"); - let length = RE_INDENT.exec(blank)[1].length; - return new Indent(value, length); - } - } -} -class Indent { - constructor(value, length) { - this.value = value; - this.length = length; - } -} -;// CONCATENATED MODULE: ./node_modules/@fluent/bundle/esm/index.js - - - - -/***/ }), - -/***/ 5273: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - DOMLocalization: () => (/* reexport */ DOMLocalization) -}); - -// UNUSED EXPORTS: Localization - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.json.parse.js -var esnext_json_parse = __webpack_require__(8335); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js -var esnext_set_difference_v2 = __webpack_require__(3375); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js -var esnext_set_intersection_v2 = __webpack_require__(9225); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js -var esnext_set_is_disjoint_from_v2 = __webpack_require__(3972); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js -var esnext_set_is_subset_of_v2 = __webpack_require__(9209); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js -var esnext_set_is_superset_of_v2 = __webpack_require__(5714); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js -var esnext_set_symmetric_difference_v2 = __webpack_require__(7561); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js -var esnext_set_union_v2 = __webpack_require__(6197); -;// CONCATENATED MODULE: ./node_modules/@fluent/dom/esm/overlay.js - -const reOverlay = /<|?\w+;/; -const TEXT_LEVEL_ELEMENTS = { - "http://www.w3.org/1999/xhtml": ["em", "strong", "small", "s", "cite", "q", "dfn", "abbr", "data", "time", "code", "var", "samp", "kbd", "sub", "sup", "i", "b", "u", "mark", "bdi", "bdo", "span", "br", "wbr"] -}; -const LOCALIZABLE_ATTRIBUTES = { - "http://www.w3.org/1999/xhtml": { - global: ["title", "aria-label", "aria-valuetext"], - a: ["download"], - area: ["download", "alt"], - input: ["alt", "placeholder"], - menuitem: ["label"], - menu: ["label"], - optgroup: ["label"], - option: ["label"], - track: ["label"], - img: ["alt"], - textarea: ["placeholder"], - th: ["abbr"] - }, - "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul": { - global: ["accesskey", "aria-label", "aria-valuetext", "label", "title", "tooltiptext"], - description: ["value"], - key: ["key", "keycode"], - label: ["value"], - textbox: ["placeholder", "value"] - } -}; -function translateElement(element, translation) { - const { - value - } = translation; - if (typeof value === "string") { - if (element.localName === "title" && element.namespaceURI === "http://www.w3.org/1999/xhtml") { - element.textContent = value; - } else if (!reOverlay.test(value)) { - element.textContent = value; - } else { - const templateElement = element.ownerDocument.createElementNS("http://www.w3.org/1999/xhtml", "template"); - templateElement.innerHTML = value; - overlayChildNodes(templateElement.content, element); - } - } - overlayAttributes(translation, element); -} -function overlayChildNodes(fromFragment, toElement) { - for (const childNode of fromFragment.childNodes) { - if (childNode.nodeType === childNode.TEXT_NODE) { - continue; - } - if (childNode.hasAttribute("data-l10n-name")) { - const sanitized = getNodeForNamedElement(toElement, childNode); - fromFragment.replaceChild(sanitized, childNode); - continue; - } - if (isElementAllowed(childNode)) { - const sanitized = createSanitizedElement(childNode); - fromFragment.replaceChild(sanitized, childNode); - continue; - } - console.warn(`An element of forbidden type "${childNode.localName}" was found in ` + "the translation. Only safe text-level elements and elements with " + "data-l10n-name are allowed."); - fromFragment.replaceChild(createTextNodeFromTextContent(childNode), childNode); - } - toElement.textContent = ""; - toElement.appendChild(fromFragment); -} -function hasAttribute(attributes, name) { - if (!attributes) { - return false; - } - for (let attr of attributes) { - if (attr.name === name) { - return true; - } - } - return false; -} -function overlayAttributes(fromElement, toElement) { - const explicitlyAllowed = toElement.hasAttribute("data-l10n-attrs") ? toElement.getAttribute("data-l10n-attrs").split(",").map(i => i.trim()) : null; - for (const attr of Array.from(toElement.attributes)) { - if (isAttrNameLocalizable(attr.name, toElement, explicitlyAllowed) && !hasAttribute(fromElement.attributes, attr.name)) { - toElement.removeAttribute(attr.name); - } - } - if (!fromElement.attributes) { - return; - } - for (const attr of Array.from(fromElement.attributes)) { - if (isAttrNameLocalizable(attr.name, toElement, explicitlyAllowed) && toElement.getAttribute(attr.name) !== attr.value) { - toElement.setAttribute(attr.name, attr.value); - } - } -} -function getNodeForNamedElement(sourceElement, translatedChild) { - const childName = translatedChild.getAttribute("data-l10n-name"); - const sourceChild = sourceElement.querySelector(`[data-l10n-name="${childName}"]`); - if (!sourceChild) { - console.warn(`An element named "${childName}" wasn't found in the source.`); - return createTextNodeFromTextContent(translatedChild); - } - if (sourceChild.localName !== translatedChild.localName) { - console.warn(`An element named "${childName}" was found in the translation ` + `but its type ${translatedChild.localName} didn't match the ` + `element found in the source (${sourceChild.localName}).`); - return createTextNodeFromTextContent(translatedChild); - } - sourceElement.removeChild(sourceChild); - const clone = sourceChild.cloneNode(false); - return shallowPopulateUsing(translatedChild, clone); -} -function createSanitizedElement(element) { - const clone = element.ownerDocument.createElement(element.localName); - return shallowPopulateUsing(element, clone); -} -function createTextNodeFromTextContent(element) { - return element.ownerDocument.createTextNode(element.textContent); -} -function isElementAllowed(element) { - const allowed = TEXT_LEVEL_ELEMENTS[element.namespaceURI]; - return allowed && allowed.includes(element.localName); -} -function isAttrNameLocalizable(name, element, explicitlyAllowed = null) { - if (explicitlyAllowed && explicitlyAllowed.includes(name)) { - return true; - } - const allowed = LOCALIZABLE_ATTRIBUTES[element.namespaceURI]; - if (!allowed) { - return false; - } - const attrName = name.toLowerCase(); - const elemName = element.localName; - if (allowed.global.includes(attrName)) { - return true; - } - if (!allowed[elemName]) { - return false; - } - if (allowed[elemName].includes(attrName)) { - return true; - } - if (element.namespaceURI === "http://www.w3.org/1999/xhtml" && elemName === "input" && attrName === "value") { - const type = element.type.toLowerCase(); - if (type === "submit" || type === "button" || type === "reset") { - return true; - } - } - return false; -} -function shallowPopulateUsing(fromElement, toElement) { - toElement.textContent = fromElement.textContent; - overlayAttributes(fromElement, toElement); - return toElement; -} -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js -var esnext_iterator_filter = __webpack_require__(4520); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js -var esnext_iterator_for_each = __webpack_require__(3949); -;// CONCATENATED MODULE: ./node_modules/cached-iterable/src/cached_iterable.mjs -class CachedIterable extends Array { - static from(iterable) { - if (iterable instanceof this) { - return iterable; - } - return new this(iterable); - } -} -;// CONCATENATED MODULE: ./node_modules/cached-iterable/src/cached_sync_iterable.mjs - - -class CachedSyncIterable extends CachedIterable { - constructor(iterable) { - super(); - if (Symbol.iterator in Object(iterable)) { - this.iterator = iterable[Symbol.iterator](); - } else { - throw new TypeError("Argument must implement the iteration protocol."); - } - } - [Symbol.iterator]() { - const cached = this; - let cur = 0; - return { - next() { - if (cached.length <= cur) { - cached.push(cached.iterator.next()); - } - return cached[cur++]; - } - }; - } - touchNext(count = 1) { - let idx = 0; - while (idx++ < count) { - const last = this[this.length - 1]; - if (last && last.done) { - break; - } - this.push(this.iterator.next()); - } - return this[this.length - 1]; - } -} -;// CONCATENATED MODULE: ./node_modules/cached-iterable/src/cached_async_iterable.mjs - - -class CachedAsyncIterable extends CachedIterable { - constructor(iterable) { - super(); - if (Symbol.asyncIterator in Object(iterable)) { - this.iterator = iterable[Symbol.asyncIterator](); - } else if (Symbol.iterator in Object(iterable)) { - this.iterator = iterable[Symbol.iterator](); - } else { - throw new TypeError("Argument must implement the iteration protocol."); - } - } - [Symbol.asyncIterator]() { - const cached = this; - let cur = 0; - return { - async next() { - if (cached.length <= cur) { - cached.push(cached.iterator.next()); - } - return cached[cur++]; - } - }; - } - async touchNext(count = 1) { - let idx = 0; - while (idx++ < count) { - const last = this[this.length - 1]; - if (last && (await last).done) { - break; - } - this.push(this.iterator.next()); - } - return this[this.length - 1]; - } -} -;// CONCATENATED MODULE: ./node_modules/cached-iterable/src/index.mjs - - -;// CONCATENATED MODULE: ./node_modules/@fluent/dom/esm/localization.js - - - - - - - - - - - - -class Localization { - constructor(resourceIds = [], generateBundles) { - this.resourceIds = resourceIds; - this.generateBundles = generateBundles; - this.onChange(true); - } - addResourceIds(resourceIds, eager = false) { - this.resourceIds.push(...resourceIds); - this.onChange(eager); - return this.resourceIds.length; - } - removeResourceIds(resourceIds) { - this.resourceIds = this.resourceIds.filter(r => !resourceIds.includes(r)); - this.onChange(); - return this.resourceIds.length; - } - async formatWithFallback(keys, method) { - const translations = []; - let hasAtLeastOneBundle = false; - for await (const bundle of this.bundles) { - hasAtLeastOneBundle = true; - const missingIds = keysFromBundle(method, bundle, keys, translations); - if (missingIds.size === 0) { - break; - } - if (typeof console !== "undefined") { - const locale = bundle.locales[0]; - const ids = Array.from(missingIds).join(", "); - console.warn(`[fluent] Missing translations in ${locale}: ${ids}`); - } - } - if (!hasAtLeastOneBundle && typeof console !== "undefined") { - console.warn(`[fluent] Request for keys failed because no resource bundles got generated. - keys: ${JSON.stringify(keys)}. - resourceIds: ${JSON.stringify(this.resourceIds)}.`); - } - return translations; - } - formatMessages(keys) { - return this.formatWithFallback(keys, messageFromBundle); - } - formatValues(keys) { - return this.formatWithFallback(keys, valueFromBundle); - } - async formatValue(id, args) { - const [val] = await this.formatValues([{ - id, - args - }]); - return val; - } - handleEvent() { - this.onChange(); - } - onChange(eager = false) { - this.bundles = CachedAsyncIterable.from(this.generateBundles(this.resourceIds)); - if (eager) { - this.bundles.touchNext(2); - } - } -} -function valueFromBundle(bundle, errors, message, args) { - if (message.value) { - return bundle.formatPattern(message.value, args, errors); - } - return null; -} -function messageFromBundle(bundle, errors, message, args) { - const formatted = { - value: null, - attributes: null - }; - if (message.value) { - formatted.value = bundle.formatPattern(message.value, args, errors); - } - let attrNames = Object.keys(message.attributes); - if (attrNames.length > 0) { - formatted.attributes = new Array(attrNames.length); - for (let [i, name] of attrNames.entries()) { - let value = bundle.formatPattern(message.attributes[name], args, errors); - formatted.attributes[i] = { - name, - value - }; - } - } - return formatted; -} -function keysFromBundle(method, bundle, keys, translations) { - const messageErrors = []; - const missingIds = new Set(); - keys.forEach(({ - id, - args - }, i) => { - if (translations[i] !== undefined) { - return; - } - let message = bundle.getMessage(id); - if (message) { - messageErrors.length = 0; - translations[i] = method(bundle, messageErrors, message, args); - if (messageErrors.length > 0 && typeof console !== "undefined") { - const locale = bundle.locales[0]; - const errors = messageErrors.join(", "); - console.warn(`[fluent][resolver] errors in ${locale}/${id}: ${errors}.`); - } - } else { - missingIds.add(id); - } - }); - return missingIds; -} -;// CONCATENATED MODULE: ./node_modules/@fluent/dom/esm/dom_localization.js - - - - - - - - - - - - -const L10NID_ATTR_NAME = "data-l10n-id"; -const L10NARGS_ATTR_NAME = "data-l10n-args"; -const L10N_ELEMENT_QUERY = `[${L10NID_ATTR_NAME}]`; -class DOMLocalization extends Localization { - constructor(resourceIds, generateBundles) { - super(resourceIds, generateBundles); - this.roots = new Set(); - this.pendingrAF = null; - this.pendingElements = new Set(); - this.windowElement = null; - this.mutationObserver = null; - this.observerConfig = { - attributes: true, - characterData: false, - childList: true, - subtree: true, - attributeFilter: [L10NID_ATTR_NAME, L10NARGS_ATTR_NAME] - }; - } - onChange(eager = false) { - super.onChange(eager); - if (this.roots) { - this.translateRoots(); - } - } - setAttributes(element, id, args) { - element.setAttribute(L10NID_ATTR_NAME, id); - if (args) { - element.setAttribute(L10NARGS_ATTR_NAME, JSON.stringify(args)); - } else { - element.removeAttribute(L10NARGS_ATTR_NAME); - } - return element; - } - getAttributes(element) { - return { - id: element.getAttribute(L10NID_ATTR_NAME), - args: JSON.parse(element.getAttribute(L10NARGS_ATTR_NAME) || null) - }; - } - connectRoot(newRoot) { - for (const root of this.roots) { - if (root === newRoot || root.contains(newRoot) || newRoot.contains(root)) { - throw new Error("Cannot add a root that overlaps with existing root."); - } - } - if (this.windowElement) { - if (this.windowElement !== newRoot.ownerDocument.defaultView) { - throw new Error(`Cannot connect a root: - DOMLocalization already has a root from a different window.`); - } - } else { - this.windowElement = newRoot.ownerDocument.defaultView; - this.mutationObserver = new this.windowElement.MutationObserver(mutations => this.translateMutations(mutations)); - } - this.roots.add(newRoot); - this.mutationObserver.observe(newRoot, this.observerConfig); - } - disconnectRoot(root) { - this.roots.delete(root); - this.pauseObserving(); - if (this.roots.size === 0) { - this.mutationObserver = null; - this.windowElement = null; - this.pendingrAF = null; - this.pendingElements.clear(); - return true; - } - this.resumeObserving(); - return false; - } - translateRoots() { - const roots = Array.from(this.roots); - return Promise.all(roots.map(root => this.translateFragment(root))); - } - pauseObserving() { - if (!this.mutationObserver) { - return; - } - this.translateMutations(this.mutationObserver.takeRecords()); - this.mutationObserver.disconnect(); - } - resumeObserving() { - if (!this.mutationObserver) { - return; - } - for (const root of this.roots) { - this.mutationObserver.observe(root, this.observerConfig); - } - } - translateMutations(mutations) { - for (const mutation of mutations) { - switch (mutation.type) { - case "attributes": - if (mutation.target.hasAttribute("data-l10n-id")) { - this.pendingElements.add(mutation.target); - } - break; - case "childList": - for (const addedNode of mutation.addedNodes) { - if (addedNode.nodeType === addedNode.ELEMENT_NODE) { - if (addedNode.childElementCount) { - for (const element of this.getTranslatables(addedNode)) { - this.pendingElements.add(element); - } - } else if (addedNode.hasAttribute(L10NID_ATTR_NAME)) { - this.pendingElements.add(addedNode); - } - } - } - break; - } - } - if (this.pendingElements.size > 0) { - if (this.pendingrAF === null) { - this.pendingrAF = this.windowElement.requestAnimationFrame(() => { - this.translateElements(Array.from(this.pendingElements)); - this.pendingElements.clear(); - this.pendingrAF = null; - }); - } - } - } - translateFragment(frag) { - return this.translateElements(this.getTranslatables(frag)); - } - async translateElements(elements) { - if (!elements.length) { - return undefined; - } - const keys = elements.map(this.getKeysForElement); - const translations = await this.formatMessages(keys); - return this.applyTranslations(elements, translations); - } - applyTranslations(elements, translations) { - this.pauseObserving(); - for (let i = 0; i < elements.length; i++) { - if (translations[i] !== undefined) { - translateElement(elements[i], translations[i]); - } - } - this.resumeObserving(); - } - getTranslatables(element) { - const nodes = Array.from(element.querySelectorAll(L10N_ELEMENT_QUERY)); - if (typeof element.hasAttribute === "function" && element.hasAttribute(L10NID_ATTR_NAME)) { - nodes.push(element); - } - return nodes; - } - getKeysForElement(element) { - return { - id: element.getAttribute(L10NID_ATTR_NAME), - args: JSON.parse(element.getAttribute(L10NARGS_ATTR_NAME) || null) - }; - } -} -;// CONCATENATED MODULE: ./node_modules/@fluent/dom/esm/index.js - - - -/***/ }), - -/***/ 259: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AltTextManager: () => (/* binding */ AltTextManager) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - -class AltTextManager { - #boundUpdateUIState = this.#updateUIState.bind(this); - #boundSetPosition = this.#setPosition.bind(this); - #boundOnClick = this.#onClick.bind(this); - #currentEditor = null; - #cancelButton; - #dialog; - #eventBus; - #hasUsedPointer = false; - #optionDescription; - #optionDecorative; - #overlayManager; - #saveButton; - #textarea; - #uiManager; - #previousAltText = null; - #svgElement = null; - #rectElement = null; - #container; - #telemetryData = null; - constructor({ - dialog, - optionDescription, - optionDecorative, - textarea, - cancelButton, - saveButton - }, container, overlayManager, eventBus) { - this.#dialog = dialog; - this.#optionDescription = optionDescription; - this.#optionDecorative = optionDecorative; - this.#textarea = textarea; - this.#cancelButton = cancelButton; - this.#saveButton = saveButton; - this.#overlayManager = overlayManager; - this.#eventBus = eventBus; - this.#container = container; - dialog.addEventListener("close", this.#close.bind(this)); - dialog.addEventListener("contextmenu", event => { - if (event.target !== this.#textarea) { - event.preventDefault(); - } - }); - cancelButton.addEventListener("click", this.#finish.bind(this)); - saveButton.addEventListener("click", this.#save.bind(this)); - optionDescription.addEventListener("change", this.#boundUpdateUIState); - optionDecorative.addEventListener("change", this.#boundUpdateUIState); - this.#overlayManager.register(dialog); - } - get _elements() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.shadow)(this, "_elements", [this.#optionDescription, this.#optionDecorative, this.#textarea, this.#saveButton, this.#cancelButton]); - } - #createSVGElement() { - if (this.#svgElement) { - return; - } - const svgFactory = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.DOMSVGFactory(); - const svg = this.#svgElement = svgFactory.createElement("svg"); - svg.setAttribute("width", "0"); - svg.setAttribute("height", "0"); - const defs = svgFactory.createElement("defs"); - svg.append(defs); - const mask = svgFactory.createElement("mask"); - defs.append(mask); - mask.setAttribute("id", "alttext-manager-mask"); - mask.setAttribute("maskContentUnits", "objectBoundingBox"); - let rect = svgFactory.createElement("rect"); - mask.append(rect); - rect.setAttribute("fill", "white"); - rect.setAttribute("width", "1"); - rect.setAttribute("height", "1"); - rect.setAttribute("x", "0"); - rect.setAttribute("y", "0"); - rect = this.#rectElement = svgFactory.createElement("rect"); - mask.append(rect); - rect.setAttribute("fill", "black"); - this.#dialog.append(svg); - } - async editAltText(uiManager, editor) { - if (this.#currentEditor || !editor) { - return; - } - this.#createSVGElement(); - this.#hasUsedPointer = false; - for (const element of this._elements) { - element.addEventListener("click", this.#boundOnClick); - } - const { - altText, - decorative - } = editor.altTextData; - if (decorative === true) { - this.#optionDecorative.checked = true; - this.#optionDescription.checked = false; - } else { - this.#optionDecorative.checked = false; - this.#optionDescription.checked = true; - } - this.#previousAltText = this.#textarea.value = altText?.trim() || ""; - this.#updateUIState(); - this.#currentEditor = editor; - this.#uiManager = uiManager; - this.#uiManager.removeEditListeners(); - this.#eventBus._on("resize", this.#boundSetPosition); - try { - await this.#overlayManager.open(this.#dialog); - this.#setPosition(); - } catch (ex) { - this.#close(); - throw ex; - } - } - #setPosition() { - if (!this.#currentEditor) { - return; - } - const dialog = this.#dialog; - const { - style - } = dialog; - const { - x: containerX, - y: containerY, - width: containerW, - height: containerH - } = this.#container.getBoundingClientRect(); - const { - innerWidth: windowW, - innerHeight: windowH - } = window; - const { - width: dialogW, - height: dialogH - } = dialog.getBoundingClientRect(); - const { - x, - y, - width, - height - } = this.#currentEditor.getClientDimensions(); - const MARGIN = 10; - const isLTR = this.#uiManager.direction === "ltr"; - const xs = Math.max(x, containerX); - const xe = Math.min(x + width, containerX + containerW); - const ys = Math.max(y, containerY); - const ye = Math.min(y + height, containerY + containerH); - this.#rectElement.setAttribute("width", `${(xe - xs) / windowW}`); - this.#rectElement.setAttribute("height", `${(ye - ys) / windowH}`); - this.#rectElement.setAttribute("x", `${xs / windowW}`); - this.#rectElement.setAttribute("y", `${ys / windowH}`); - let left = null; - let top = Math.max(y, 0); - top += Math.min(windowH - (top + dialogH), 0); - if (isLTR) { - if (x + width + MARGIN + dialogW < windowW) { - left = x + width + MARGIN; - } else if (x > dialogW + MARGIN) { - left = x - dialogW - MARGIN; - } - } else if (x > dialogW + MARGIN) { - left = x - dialogW - MARGIN; - } else if (x + width + MARGIN + dialogW < windowW) { - left = x + width + MARGIN; - } - if (left === null) { - top = null; - left = Math.max(x, 0); - left += Math.min(windowW - (left + dialogW), 0); - if (y > dialogH + MARGIN) { - top = y - dialogH - MARGIN; - } else if (y + height + MARGIN + dialogH < windowH) { - top = y + height + MARGIN; - } - } - if (top !== null) { - dialog.classList.add("positioned"); - if (isLTR) { - style.left = `${left}px`; - } else { - style.right = `${windowW - left - dialogW}px`; - } - style.top = `${top}px`; - } else { - dialog.classList.remove("positioned"); - style.left = ""; - style.top = ""; - } - } - #finish() { - if (this.#overlayManager.active === this.#dialog) { - this.#overlayManager.close(this.#dialog); - } - } - #close() { - this.#currentEditor._reportTelemetry(this.#telemetryData || { - action: "alt_text_cancel", - alt_text_keyboard: !this.#hasUsedPointer - }); - this.#telemetryData = null; - this.#removeOnClickListeners(); - this.#uiManager?.addEditListeners(); - this.#eventBus._off("resize", this.#boundSetPosition); - this.#currentEditor.altTextFinish(); - this.#currentEditor = null; - this.#uiManager = null; - } - #updateUIState() { - this.#textarea.disabled = this.#optionDecorative.checked; - } - #save() { - const altText = this.#textarea.value.trim(); - const decorative = this.#optionDecorative.checked; - this.#currentEditor.altTextData = { - altText, - decorative - }; - this.#telemetryData = { - action: "alt_text_save", - alt_text_description: !!altText, - alt_text_edit: !!this.#previousAltText && this.#previousAltText !== altText, - alt_text_decorative: decorative, - alt_text_keyboard: !this.#hasUsedPointer - }; - this.#finish(); - } - #onClick(evt) { - if (evt.detail === 0) { - return; - } - this.#hasUsedPointer = true; - this.#removeOnClickListeners(); - } - #removeOnClickListeners() { - for (const element of this._elements) { - element.removeEventListener("click", this.#boundOnClick); - } - } - destroy() { - this.#uiManager = null; - this.#finish(); - this.#svgElement?.remove(); - this.#svgElement = this.#rectElement = null; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2664: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AnnotationEditorLayerBuilder: () => (/* binding */ AnnotationEditorLayerBuilder) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var web_null_l10n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(410); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__, web_null_l10n__WEBPACK_IMPORTED_MODULE_1__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__, web_null_l10n__WEBPACK_IMPORTED_MODULE_1__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - -class AnnotationEditorLayerBuilder { - #annotationLayer = null; - #drawLayer = null; - #onAppend = null; - #textLayer = null; - #uiManager; - constructor(options) { - this.pdfPage = options.pdfPage; - this.accessibilityManager = options.accessibilityManager; - this.l10n = options.l10n; - this.l10n ||= new web_null_l10n__WEBPACK_IMPORTED_MODULE_1__.GenericL10n(); - this.annotationEditorLayer = null; - this.div = null; - this._cancelled = false; - this.#uiManager = options.uiManager; - this.#annotationLayer = options.annotationLayer || null; - this.#textLayer = options.textLayer || null; - this.#drawLayer = options.drawLayer || null; - this.#onAppend = options.onAppend || null; - } - async render(viewport, intent = "display") { - if (intent !== "display") { - return; - } - if (this._cancelled) { - return; - } - const clonedViewport = viewport.clone({ - dontFlip: true - }); - if (this.div) { - this.annotationEditorLayer.update({ - viewport: clonedViewport - }); - this.show(); - return; - } - const div = this.div = document.createElement("div"); - div.className = "annotationEditorLayer"; - div.hidden = true; - div.dir = this.#uiManager.direction; - this.#onAppend?.(div); - this.annotationEditorLayer = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorLayer({ - uiManager: this.#uiManager, - div, - accessibilityManager: this.accessibilityManager, - pageIndex: this.pdfPage.pageNumber - 1, - l10n: this.l10n, - viewport: clonedViewport, - annotationLayer: this.#annotationLayer, - textLayer: this.#textLayer, - drawLayer: this.#drawLayer - }); - const parameters = { - viewport: clonedViewport, - div, - annotations: null, - intent - }; - this.annotationEditorLayer.render(parameters); - this.show(); - } - cancel() { - this._cancelled = true; - if (!this.div) { - return; - } - this.annotationEditorLayer.destroy(); - } - hide() { - if (!this.div) { - return; - } - this.div.hidden = true; - } - show() { - if (!this.div || this.annotationEditorLayer.isInvisible) { - return; - } - this.div.hidden = false; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 226: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AnnotationEditorParams: () => (/* binding */ AnnotationEditorParams) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - -class AnnotationEditorParams { - constructor(options, eventBus) { - this.eventBus = eventBus; - this.#bindListeners(options); - } - #bindListeners({ - editorFreeTextFontSize, - editorFreeTextColor, - editorInkColor, - editorInkThickness, - editorInkOpacity, - editorStampAddImage, - editorFreeHighlightThickness, - editorHighlightShowAll - }) { - const dispatchEvent = (typeStr, value) => { - this.eventBus.dispatch("switchannotationeditorparams", { - source: this, - type: pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType[typeStr], - value - }); - }; - editorFreeTextFontSize.addEventListener("input", function () { - dispatchEvent("FREETEXT_SIZE", this.valueAsNumber); - }); - editorFreeTextColor.addEventListener("input", function () { - dispatchEvent("FREETEXT_COLOR", this.value); - }); - editorInkColor.addEventListener("input", function () { - dispatchEvent("INK_COLOR", this.value); - }); - editorInkThickness.addEventListener("input", function () { - dispatchEvent("INK_THICKNESS", this.valueAsNumber); - }); - editorInkOpacity.addEventListener("input", function () { - dispatchEvent("INK_OPACITY", this.valueAsNumber); - }); - editorStampAddImage.addEventListener("click", () => { - dispatchEvent("CREATE"); - }); - editorFreeHighlightThickness.addEventListener("input", function () { - dispatchEvent("HIGHLIGHT_THICKNESS", this.valueAsNumber); - }); - editorHighlightShowAll.addEventListener("click", function () { - const checked = this.getAttribute("aria-pressed") === "true"; - this.setAttribute("aria-pressed", !checked); - dispatchEvent("HIGHLIGHT_SHOW_ALL", !checked); - }); - this.eventBus._on("annotationeditorparamschanged", evt => { - for (const [type, value] of evt.details) { - switch (type) { - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.FREETEXT_SIZE: - editorFreeTextFontSize.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.FREETEXT_COLOR: - editorFreeTextColor.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.INK_COLOR: - editorInkColor.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.INK_THICKNESS: - editorInkThickness.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.INK_OPACITY: - editorInkOpacity.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.HIGHLIGHT_THICKNESS: - editorFreeHighlightThickness.value = value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.HIGHLIGHT_FREE: - editorFreeHighlightThickness.disabled = !value; - break; - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorParamsType.HIGHLIGHT_SHOW_ALL: - editorHighlightShowAll.setAttribute("aria-pressed", value); - break; - } - } - }); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2707: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AnnotationLayerBuilder: () => (/* binding */ AnnotationLayerBuilder) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -class AnnotationLayerBuilder { - #onAppend = null; - #eventAbortController = null; - constructor({ - pdfPage, - linkService, - downloadManager, - annotationStorage = null, - imageResourcesPath = "", - renderForms = true, - enableScripting = false, - hasJSActionsPromise = null, - fieldObjectsPromise = null, - annotationCanvasMap = null, - accessibilityManager = null, - annotationEditorUIManager = null, - onAppend = null - }) { - this.pdfPage = pdfPage; - this.linkService = linkService; - this.downloadManager = downloadManager; - this.imageResourcesPath = imageResourcesPath; - this.renderForms = renderForms; - this.annotationStorage = annotationStorage; - this.enableScripting = enableScripting; - this._hasJSActionsPromise = hasJSActionsPromise || Promise.resolve(false); - this._fieldObjectsPromise = fieldObjectsPromise || Promise.resolve(null); - this._annotationCanvasMap = annotationCanvasMap; - this._accessibilityManager = accessibilityManager; - this._annotationEditorUIManager = annotationEditorUIManager; - this.#onAppend = onAppend; - this.annotationLayer = null; - this.div = null; - this._cancelled = false; - this._eventBus = linkService.eventBus; - } - async render(viewport, intent = "display") { - if (this.div) { - if (this._cancelled || !this.annotationLayer) { - return; - } - this.annotationLayer.update({ - viewport: viewport.clone({ - dontFlip: true - }) - }); - return; - } - const [annotations, hasJSActions, fieldObjects] = await Promise.all([this.pdfPage.getAnnotations({ - intent - }), this._hasJSActionsPromise, this._fieldObjectsPromise]); - if (this._cancelled) { - return; - } - const div = this.div = document.createElement("div"); - div.className = "annotationLayer"; - this.#onAppend?.(div); - if (annotations.length === 0) { - this.hide(); - return; - } - this.annotationLayer = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationLayer({ - div, - accessibilityManager: this._accessibilityManager, - annotationCanvasMap: this._annotationCanvasMap, - annotationEditorUIManager: this._annotationEditorUIManager, - page: this.pdfPage, - viewport: viewport.clone({ - dontFlip: true - }) - }); - await this.annotationLayer.render({ - annotations, - imageResourcesPath: this.imageResourcesPath, - renderForms: this.renderForms, - linkService: this.linkService, - downloadManager: this.downloadManager, - annotationStorage: this.annotationStorage, - enableScripting: this.enableScripting, - hasJSActions, - fieldObjects - }); - if (this.linkService.isInPresentationMode) { - this.#updatePresentationModeState(_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.FULLSCREEN); - } - if (!this.#eventAbortController) { - this.#eventAbortController = new AbortController(); - this._eventBus?._on("presentationmodechanged", evt => { - this.#updatePresentationModeState(evt.state); - }, { - signal: this.#eventAbortController.signal - }); - } - } - cancel() { - this._cancelled = true; - this.#eventAbortController?.abort(); - this.#eventAbortController = null; - } - hide() { - if (!this.div) { - return; - } - this.div.hidden = true; - } - #updatePresentationModeState(state) { - if (!this.div) { - return; - } - let disableFormElements = false; - switch (state) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.FULLSCREEN: - disableFormElements = true; - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.NORMAL: - break; - default: - return; - } - for (const section of this.div.childNodes) { - if (section.hasAttribute("data-internal-link")) { - continue; - } - section.inert = disableFormElements; - } - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 1621: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFViewerApplication: () => (/* binding */ PDFViewerApplication) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_some_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7550); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(8721); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7256); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(2603); -/* harmony import */ var _app_options_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(9840); -/* harmony import */ var _event_utils_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5656); -/* harmony import */ var web_external_services__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6750); -/* harmony import */ var _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(787); -/* harmony import */ var web_alt_text_manager__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(259); -/* harmony import */ var web_annotation_editor_params__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(226); -/* harmony import */ var _caret_browsing_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(3973); -/* harmony import */ var web_download_manager__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(1544); -/* harmony import */ var _overlay_manager_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(6174); -/* harmony import */ var _password_prompt_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(2690); -/* harmony import */ var web_pdf_attachment_viewer__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9251); -/* harmony import */ var web_pdf_cursor_tools__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(5993); -/* harmony import */ var web_pdf_document_properties__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(164); -/* harmony import */ var web_pdf_find_bar__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(2226); -/* harmony import */ var _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(9814); -/* harmony import */ var _pdf_history_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(8543); -/* harmony import */ var web_pdf_layer_viewer__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(4275); -/* harmony import */ var web_pdf_outline_viewer__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(5514); -/* harmony import */ var web_pdf_presentation_mode__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(8917); -/* harmony import */ var web_print_service__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(1144); -/* harmony import */ var _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(6615); -/* harmony import */ var _pdf_scripting_manager_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(5942); -/* harmony import */ var web_pdf_sidebar__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(2275); -/* harmony import */ var web_pdf_thumbnail_viewer__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(8280); -/* harmony import */ var _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(6285); -/* harmony import */ var web_secondary_toolbar__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(1900); -/* harmony import */ var web_toolbar__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(6297); -/* harmony import */ var _view_history_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(9226); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__, web_external_services__WEBPACK_IMPORTED_MODULE_11__, web_alt_text_manager__WEBPACK_IMPORTED_MODULE_13__, web_annotation_editor_params__WEBPACK_IMPORTED_MODULE_14__, web_download_manager__WEBPACK_IMPORTED_MODULE_16__, _password_prompt_js__WEBPACK_IMPORTED_MODULE_17__, web_pdf_attachment_viewer__WEBPACK_IMPORTED_MODULE_18__, web_pdf_cursor_tools__WEBPACK_IMPORTED_MODULE_19__, web_pdf_document_properties__WEBPACK_IMPORTED_MODULE_20__, web_pdf_presentation_mode__WEBPACK_IMPORTED_MODULE_26__, web_print_service__WEBPACK_IMPORTED_MODULE_27__, _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_28__, _pdf_scripting_manager_js__WEBPACK_IMPORTED_MODULE_29__, web_pdf_thumbnail_viewer__WEBPACK_IMPORTED_MODULE_31__, _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_32__, web_secondary_toolbar__WEBPACK_IMPORTED_MODULE_33__, web_toolbar__WEBPACK_IMPORTED_MODULE_34__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__, web_external_services__WEBPACK_IMPORTED_MODULE_11__, web_alt_text_manager__WEBPACK_IMPORTED_MODULE_13__, web_annotation_editor_params__WEBPACK_IMPORTED_MODULE_14__, web_download_manager__WEBPACK_IMPORTED_MODULE_16__, _password_prompt_js__WEBPACK_IMPORTED_MODULE_17__, web_pdf_attachment_viewer__WEBPACK_IMPORTED_MODULE_18__, web_pdf_cursor_tools__WEBPACK_IMPORTED_MODULE_19__, web_pdf_document_properties__WEBPACK_IMPORTED_MODULE_20__, web_pdf_presentation_mode__WEBPACK_IMPORTED_MODULE_26__, web_print_service__WEBPACK_IMPORTED_MODULE_27__, _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_28__, _pdf_scripting_manager_js__WEBPACK_IMPORTED_MODULE_29__, web_pdf_thumbnail_viewer__WEBPACK_IMPORTED_MODULE_31__, _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_32__, web_secondary_toolbar__WEBPACK_IMPORTED_MODULE_33__, web_toolbar__WEBPACK_IMPORTED_MODULE_34__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -const FORCE_PAGES_LOADED_TIMEOUT = 10000; -const WHEEL_ZOOM_DISABLED_TIMEOUT = 1000; -const ViewOnLoad = { - UNKNOWN: -1, - PREVIOUS: 0, - INITIAL: 1 -}; -const PDFViewerApplication = { - initialBookmark: document.location.hash.substring(1), - _initializedCapability: { - ...Promise.withResolvers(), - settled: false - }, - appConfig: null, - pdfDocument: null, - pdfLoadingTask: null, - printService: null, - pdfViewer: null, - pdfThumbnailViewer: null, - pdfRenderingQueue: null, - pdfPresentationMode: null, - pdfDocumentProperties: null, - pdfLinkService: null, - pdfHistory: null, - pdfSidebar: null, - pdfOutlineViewer: null, - pdfAttachmentViewer: null, - pdfLayerViewer: null, - pdfCursorTools: null, - pdfScriptingManager: null, - store: null, - downloadManager: null, - overlayManager: null, - preferences: null, - toolbar: null, - secondaryToolbar: null, - eventBus: null, - l10n: null, - annotationEditorParams: null, - isInitialViewSet: false, - downloadComplete: false, - isViewerEmbedded: window.parent !== window, - url: "", - baseUrl: "", - _downloadUrl: "", - _eventBusAbortController: null, - _windowAbortController: null, - documentInfo: null, - metadata: null, - _contentDispositionFilename: null, - _contentLength: null, - _saveInProgress: false, - _wheelUnusedTicks: 0, - _wheelUnusedFactor: 1, - _touchUnusedTicks: 0, - _touchUnusedFactor: 1, - _PDFBug: null, - _hasAnnotationEditors: false, - _title: document.title, - _printAnnotationStoragePromise: null, - _touchInfo: null, - _isCtrlKeyDown: false, - _nimbusDataPromise: null, - _caretBrowsing: null, - _isScrolling: false, - async initialize(appConfig) { - let l10nPromise; - this.appConfig = appConfig; - try { - await this.preferences.initializedPromise; - } catch (ex) { - console.error(`initialize: "${ex.message}".`); - } - if (_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("pdfBugEnabled")) { - await this._parseHashParams(); - } - let mode; - switch (_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("viewerCssTheme")) { - case 1: - mode = "is-light"; - break; - case 2: - mode = "is-dark"; - break; - } - if (mode) { - document.documentElement.classList.add(mode); - } - l10nPromise = this.externalServices.createL10n(); - this.l10n = await l10nPromise; - document.getElementsByTagName("html")[0].dir = this.l10n.getDirection(); - this.l10n.translate(appConfig.appContainer || document.documentElement); - if (this.isViewerEmbedded && _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("externalLinkTarget") === _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_12__.LinkTarget.NONE) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("externalLinkTarget", _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_12__.LinkTarget.TOP); - } - await this._initializeViewerComponents(); - this.bindEvents(); - this.bindWindowEvents(); - this._initializedCapability.settled = true; - this._initializedCapability.resolve(); - }, - async _parseHashParams() { - const hash = document.location.hash.substring(1); - if (!hash) { - return; - } - const { - mainContainer, - viewerContainer - } = this.appConfig, - params = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.parseQueryString)(hash); - if (params.get("disableworker") === "true") { - try { - await loadFakeWorker(); - } catch (ex) { - console.error(`_parseHashParams: "${ex.message}".`); - } - } - if (params.has("disablerange")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableRange", params.get("disablerange") === "true"); - } - if (params.has("disablestream")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableStream", params.get("disablestream") === "true"); - } - if (params.has("disableautofetch")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableAutoFetch", params.get("disableautofetch") === "true"); - } - if (params.has("disablefontface")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableFontFace", params.get("disablefontface") === "true"); - } - if (params.has("disablehistory")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableHistory", params.get("disablehistory") === "true"); - } - if (params.has("verbosity")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("verbosity", params.get("verbosity") | 0); - } - if (params.has("textlayer")) { - switch (params.get("textlayer")) { - case "off": - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("textLayerMode", _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.TextLayerMode.DISABLE); - break; - case "visible": - case "shadow": - case "hover": - viewerContainer.classList.add(`textLayer-${params.get("textlayer")}`); - try { - await loadPDFBug(this); - this._PDFBug.loadCSS(); - } catch (ex) { - console.error(`_parseHashParams: "${ex.message}".`); - } - break; - } - } - if (params.has("pdfbug")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("pdfBug", true); - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("fontExtraProperties", true); - const enabled = params.get("pdfbug").split(","); - try { - await loadPDFBug(this); - this._PDFBug.init(mainContainer, enabled); - } catch (ex) { - console.error(`_parseHashParams: "${ex.message}".`); - } - } - if (params.has("locale")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("locale", params.get("locale")); - } - }, - async _initializeViewerComponents() { - const { - appConfig, - externalServices, - l10n - } = this; - const eventBus = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("isInAutomation") ? new _event_utils_js__WEBPACK_IMPORTED_MODULE_10__.AutomationEventBus() : new _event_utils_js__WEBPACK_IMPORTED_MODULE_10__.EventBus(); - this.eventBus = eventBus; - this.overlayManager = new _overlay_manager_js__WEBPACK_IMPORTED_MODULE_36__.OverlayManager(); - const pdfRenderingQueue = new _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_28__.PDFRenderingQueue(); - pdfRenderingQueue.onIdle = this._cleanup.bind(this); - this.pdfRenderingQueue = pdfRenderingQueue; - const pdfLinkService = new _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_12__.PDFLinkService({ - eventBus, - externalLinkTarget: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("externalLinkTarget"), - externalLinkRel: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("externalLinkRel"), - ignoreDestinationZoom: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("ignoreDestinationZoom") - }); - this.pdfLinkService = pdfLinkService; - const downloadManager = this.downloadManager = new web_download_manager__WEBPACK_IMPORTED_MODULE_16__.DownloadManager(); - const findController = new _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_22__.PDFFindController({ - linkService: pdfLinkService, - eventBus, - updateMatchesCountOnProgress: true - }); - this.findController = findController; - const pdfScriptingManager = new _pdf_scripting_manager_js__WEBPACK_IMPORTED_MODULE_29__.PDFScriptingManager({ - eventBus, - externalServices, - docProperties: this._scriptingDocProperties.bind(this) - }); - this.pdfScriptingManager = pdfScriptingManager; - const container = appConfig.mainContainer, - viewer = appConfig.viewerContainer; - const annotationEditorMode = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("annotationEditorMode"); - const pageColors = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("forcePageColors") || window.matchMedia("(forced-colors: active)").matches ? { - background: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("pageColorsBackground"), - foreground: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("pageColorsForeground") - } : null; - const altTextManager = appConfig.altTextDialog ? new web_alt_text_manager__WEBPACK_IMPORTED_MODULE_13__.AltTextManager(appConfig.altTextDialog, container, this.overlayManager, eventBus) : null; - const pdfViewer = new _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_32__.PDFViewer({ - container, - viewer, - eventBus, - renderingQueue: pdfRenderingQueue, - linkService: pdfLinkService, - downloadManager, - altTextManager, - findController, - scriptingManager: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enableScripting") && pdfScriptingManager, - l10n, - textLayerMode: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("textLayerMode"), - annotationMode: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("annotationMode"), - annotationEditorMode, - annotationEditorHighlightColors: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("highlightEditorColors"), - enableHighlightFloatingButton: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enableHighlightFloatingButton"), - imageResourcesPath: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("imageResourcesPath"), - enablePrintAutoRotate: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enablePrintAutoRotate"), - maxCanvasPixels: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("maxCanvasPixels"), - enablePermissions: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enablePermissions"), - pageColors, - mlManager: this.mlManager - }); - this.pdfViewer = pdfViewer; - pdfRenderingQueue.setViewer(pdfViewer); - pdfLinkService.setViewer(pdfViewer); - pdfScriptingManager.setViewer(pdfViewer); - if (appConfig.sidebar?.thumbnailView) { - this.pdfThumbnailViewer = new web_pdf_thumbnail_viewer__WEBPACK_IMPORTED_MODULE_31__.PDFThumbnailViewer({ - container: appConfig.sidebar.thumbnailView, - eventBus, - renderingQueue: pdfRenderingQueue, - linkService: pdfLinkService, - pageColors - }); - pdfRenderingQueue.setThumbnailViewer(this.pdfThumbnailViewer); - } - if (!this.isViewerEmbedded && !_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("disableHistory")) { - this.pdfHistory = new _pdf_history_js__WEBPACK_IMPORTED_MODULE_23__.PDFHistory({ - linkService: pdfLinkService, - eventBus - }); - pdfLinkService.setHistory(this.pdfHistory); - } - if (!this.supportsIntegratedFind && appConfig.findBar) { - this.findBar = new web_pdf_find_bar__WEBPACK_IMPORTED_MODULE_21__.PDFFindBar(appConfig.findBar, eventBus); - } - if (appConfig.annotationEditorParams) { - if (annotationEditorMode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.AnnotationEditorType.DISABLE) { - if (_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enableStampEditor")) { - appConfig.toolbar?.editorStampButton?.classList.remove("hidden"); - } - const editorHighlightButton = appConfig.toolbar?.editorHighlightButton; - if (editorHighlightButton && _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enableHighlightEditor")) { - editorHighlightButton.hidden = false; - } - this.annotationEditorParams = new web_annotation_editor_params__WEBPACK_IMPORTED_MODULE_14__.AnnotationEditorParams(appConfig.annotationEditorParams, eventBus); - } else { - for (const id of ["editorModeButtons", "editorModeSeparator"]) { - document.getElementById(id)?.classList.add("hidden"); - } - } - } - if (appConfig.documentProperties) { - this.pdfDocumentProperties = new web_pdf_document_properties__WEBPACK_IMPORTED_MODULE_20__.PDFDocumentProperties(appConfig.documentProperties, this.overlayManager, eventBus, l10n, () => this._docFilename); - } - if (appConfig.secondaryToolbar?.cursorHandToolButton) { - this.pdfCursorTools = new web_pdf_cursor_tools__WEBPACK_IMPORTED_MODULE_19__.PDFCursorTools({ - container, - eventBus, - cursorToolOnLoad: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("cursorToolOnLoad") - }); - } - if (appConfig.toolbar) { - this.toolbar = new web_toolbar__WEBPACK_IMPORTED_MODULE_34__.Toolbar(appConfig.toolbar, eventBus); - } - if (appConfig.secondaryToolbar) { - this.secondaryToolbar = new web_secondary_toolbar__WEBPACK_IMPORTED_MODULE_33__.SecondaryToolbar(appConfig.secondaryToolbar, eventBus); - } - if (this.supportsFullscreen && appConfig.secondaryToolbar?.presentationModeButton) { - this.pdfPresentationMode = new web_pdf_presentation_mode__WEBPACK_IMPORTED_MODULE_26__.PDFPresentationMode({ - container, - pdfViewer, - eventBus - }); - } - if (appConfig.passwordOverlay) { - this.passwordPrompt = new _password_prompt_js__WEBPACK_IMPORTED_MODULE_17__.PasswordPrompt(appConfig.passwordOverlay, this.overlayManager, this.isViewerEmbedded); - } - if (appConfig.sidebar?.outlineView) { - this.pdfOutlineViewer = new web_pdf_outline_viewer__WEBPACK_IMPORTED_MODULE_25__.PDFOutlineViewer({ - container: appConfig.sidebar.outlineView, - eventBus, - l10n, - linkService: pdfLinkService, - downloadManager - }); - } - if (appConfig.sidebar?.attachmentsView) { - this.pdfAttachmentViewer = new web_pdf_attachment_viewer__WEBPACK_IMPORTED_MODULE_18__.PDFAttachmentViewer({ - container: appConfig.sidebar.attachmentsView, - eventBus, - l10n, - downloadManager - }); - } - if (appConfig.sidebar?.layersView) { - this.pdfLayerViewer = new web_pdf_layer_viewer__WEBPACK_IMPORTED_MODULE_24__.PDFLayerViewer({ - container: appConfig.sidebar.layersView, - eventBus, - l10n - }); - } - if (appConfig.sidebar) { - this.pdfSidebar = new web_pdf_sidebar__WEBPACK_IMPORTED_MODULE_30__.PDFSidebar({ - elements: appConfig.sidebar, - eventBus, - l10n - }); - this.pdfSidebar.onToggled = this.forceRendering.bind(this); - this.pdfSidebar.onUpdateThumbnails = () => { - for (const pageView of pdfViewer.getCachedPageViews()) { - if (pageView.renderingState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.RenderingStates.FINISHED) { - this.pdfThumbnailViewer.getThumbnail(pageView.id - 1)?.setImage(pageView); - } - } - this.pdfThumbnailViewer.scrollThumbnailIntoView(pdfViewer.currentPageNumber); - }; - } - }, - async run(config) { - this.preferences = new web_external_services__WEBPACK_IMPORTED_MODULE_11__.Preferences(); - await this.initialize(config); - const { - appConfig, - eventBus - } = this; - - // CUSTOM_FOR_SEAFILE - // these lines are not needed in seafile. - // let file; - // const queryString = document.location.search.substring(1); - // const params = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.parseQueryString)(queryString); - // file = params.get("file") ?? _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("defaultUrl"); - // validateFileURL(file); - - const file = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("defaultUrl"); - const fileInput = appConfig.openFileInput; - fileInput.value = null; - - fileInput.addEventListener("change", function (evt) { - const { - files - } = evt.target; - if (!files || files.length === 0) { - return; - } - eventBus.dispatch("fileinputchange", { - source: this, - fileInput: evt.target - }); - }); - appConfig.mainContainer.addEventListener("dragover", function (evt) { - evt.preventDefault(); - evt.dataTransfer.dropEffect = evt.dataTransfer.effectAllowed === "copy" ? "copy" : "move"; - }); - appConfig.mainContainer.addEventListener("drop", function (evt) { - evt.preventDefault(); - const { - files - } = evt.dataTransfer; - if (!files || files.length === 0) { - return; - } - eventBus.dispatch("fileinputchange", { - source: this, - fileInput: evt.dataTransfer - }); - }); - if (!_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsDocumentFonts")) { - _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.set("disableFontFace", true); - this.l10n.get("pdfjs-web-fonts-disabled").then(msg => { - console.warn(msg); - }); - } - if (!this.supportsPrinting) { - appConfig.toolbar?.print?.classList.add("hidden"); - appConfig.secondaryToolbar?.printButton.classList.add("hidden"); - } - if (!this.supportsFullscreen) { - appConfig.secondaryToolbar?.presentationModeButton.classList.add("hidden"); - } - if (this.supportsIntegratedFind) { - appConfig.toolbar?.viewFind?.classList.add("hidden"); - } - if (file) { - this.open({ - url: file - }); - } else { - this._hideViewBookmark(); - } - }, - get externalServices() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "externalServices", new web_external_services__WEBPACK_IMPORTED_MODULE_11__.ExternalServices()); - }, - get mlManager() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "mlManager", _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("enableML") === true ? new web_external_services__WEBPACK_IMPORTED_MODULE_11__.MLManager() : null); - }, - get initialized() { - return this._initializedCapability.settled; - }, - get initializedPromise() { - return this._initializedCapability.promise; - }, - zoomIn(steps, scaleFactor) { - if (this.pdfViewer.isInPresentationMode) { - return; - } - this.pdfViewer.increaseScale({ - drawingDelay: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("defaultZoomDelay"), - steps, - scaleFactor - }); - }, - zoomOut(steps, scaleFactor) { - if (this.pdfViewer.isInPresentationMode) { - return; - } - this.pdfViewer.decreaseScale({ - drawingDelay: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("defaultZoomDelay"), - steps, - scaleFactor - }); - }, - zoomReset() { - if (this.pdfViewer.isInPresentationMode) { - return; - } - this.pdfViewer.currentScaleValue = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_SCALE_VALUE; - }, - get pagesCount() { - return this.pdfDocument ? this.pdfDocument.numPages : 0; - }, - get page() { - return this.pdfViewer.currentPageNumber; - }, - set page(val) { - this.pdfViewer.currentPageNumber = val; - }, - get supportsPrinting() { - return web_print_service__WEBPACK_IMPORTED_MODULE_27__.PDFPrintServiceFactory.supportsPrinting; - }, - get supportsFullscreen() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "supportsFullscreen", document.fullscreenEnabled); - }, - get supportsPinchToZoom() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "supportsPinchToZoom", _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsPinchToZoom")); - }, - get supportsIntegratedFind() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "supportsIntegratedFind", _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsIntegratedFind")); - }, - get loadingBar() { - const barElement = document.getElementById("loadingBar"); - const bar = barElement ? new _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.ProgressBar(barElement) : null; - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "loadingBar", bar); - }, - get supportsMouseWheelZoomCtrlKey() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "supportsMouseWheelZoomCtrlKey", _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsMouseWheelZoomCtrlKey")); - }, - get supportsMouseWheelZoomMetaKey() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.shadow)(this, "supportsMouseWheelZoomMetaKey", _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsMouseWheelZoomMetaKey")); - }, - get supportsCaretBrowsingMode() { - return _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("supportsCaretBrowsingMode"); - }, - moveCaret(isUp, select) { - this._caretBrowsing ||= new _caret_browsing_js__WEBPACK_IMPORTED_MODULE_15__.CaretBrowsingMode(this.appConfig.mainContainer, this.appConfig.viewerContainer, this.appConfig.toolbar?.container); - this._caretBrowsing.moveCaret(isUp, select); - }, - setTitleUsingUrl(url = "", downloadUrl = null) { - this.url = url; - this.baseUrl = url.split("#", 1)[0]; - if (downloadUrl) { - this._downloadUrl = downloadUrl === url ? this.baseUrl : downloadUrl.split("#", 1)[0]; - } - if ((0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.isDataScheme)(url)) { - this._hideViewBookmark(); - } - let title = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.getPdfFilenameFromUrl)(url, ""); - if (!title) { - try { - title = decodeURIComponent((0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.getFilenameFromUrl)(url)) || url; - } catch { - title = url; - } - } - this.setTitle(title); - }, - setTitle(title = this._title) { - this._title = title; - if (this.isViewerEmbedded) { - return; - } - const editorIndicator = this._hasAnnotationEditors && !this.pdfRenderingQueue.printing; - document.title = `${editorIndicator ? "* " : ""}${title}`; - }, - get _docFilename() { - return this._contentDispositionFilename || (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.getPdfFilenameFromUrl)(this.url); - }, - _hideViewBookmark() { - const { - secondaryToolbar - } = this.appConfig; - secondaryToolbar?.viewBookmarkButton.classList.add("hidden"); - if (secondaryToolbar?.presentationModeButton.classList.contains("hidden")) { - document.getElementById("viewBookmarkSeparator")?.classList.add("hidden"); - } - }, - async close() { - this._unblockDocumentLoadEvent(); - this._hideViewBookmark(); - if (!this.pdfLoadingTask) { - return; - } - if (this.pdfDocument?.annotationStorage.size > 0 && this._annotationStorageModified) { - try { - await this.save(); - } catch {} - } - const promises = []; - promises.push(this.pdfLoadingTask.destroy()); - this.pdfLoadingTask = null; - if (this.pdfDocument) { - this.pdfDocument = null; - this.pdfThumbnailViewer?.setDocument(null); - this.pdfViewer.setDocument(null); - this.pdfLinkService.setDocument(null); - this.pdfDocumentProperties?.setDocument(null); - } - this.pdfLinkService.externalLinkEnabled = true; - this.store = null; - this.isInitialViewSet = false; - this.downloadComplete = false; - this.url = ""; - this.baseUrl = ""; - this._downloadUrl = ""; - this.documentInfo = null; - this.metadata = null; - this._contentDispositionFilename = null; - this._contentLength = null; - this._saveInProgress = false; - this._hasAnnotationEditors = false; - promises.push(this.pdfScriptingManager.destroyPromise, this.passwordPrompt.close()); - this.setTitle(); - this.pdfSidebar?.reset(); - this.pdfOutlineViewer?.reset(); - this.pdfAttachmentViewer?.reset(); - this.pdfLayerViewer?.reset(); - this.pdfHistory?.reset(); - this.findBar?.reset(); - this.toolbar?.reset(); - this.secondaryToolbar?.reset(); - this._PDFBug?.cleanup(); - await Promise.all(promises); - }, - async open(args) { - if (this.pdfLoadingTask) { - await this.close(); - } - const workerParams = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.getAll(_app_options_js__WEBPACK_IMPORTED_MODULE_9__.OptionKind.WORKER); - Object.assign(pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.GlobalWorkerOptions, workerParams); - if (args.url) { - this.setTitleUsingUrl(args.originalUrl || args.url, args.url); - } - const apiParams = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.getAll(_app_options_js__WEBPACK_IMPORTED_MODULE_9__.OptionKind.API); - const loadingTask = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.getDocument)({ - ...apiParams, - ...args - }); - this.pdfLoadingTask = loadingTask; - loadingTask.onPassword = (updateCallback, reason) => { - if (this.isViewerEmbedded) { - this._unblockDocumentLoadEvent(); - } - this.pdfLinkService.externalLinkEnabled = false; - this.passwordPrompt.setUpdateCallback(updateCallback, reason); - this.passwordPrompt.open(); - }; - loadingTask.onProgress = ({ - loaded, - total - }) => { - this.progress(loaded / total); - }; - return loadingTask.promise.then(pdfDocument => { - this.load(pdfDocument); - }, reason => { - if (loadingTask !== this.pdfLoadingTask) { - return undefined; - } - let key = "pdfjs-loading-error"; - if (reason instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.InvalidPDFException) { - key = "pdfjs-invalid-file-error"; - } else if (reason instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.MissingPDFException) { - key = "pdfjs-missing-file-error"; - } else if (reason instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.UnexpectedResponseException) { - key = "pdfjs-unexpected-response-error"; - } - return this._documentError(key, { - message: reason.message - }).then(() => { - throw reason; - }); - }); - }, - _ensureDownloadComplete() { - if (this.pdfDocument && this.downloadComplete) { - return; - } - throw new Error("PDF document not downloaded."); - }, - async download(options = {}) { - const url = this._downloadUrl, - filename = this._docFilename; - try { - this._ensureDownloadComplete(); - const data = await this.pdfDocument.getData(); - const blob = new Blob([data], { - type: "application/pdf" - }); - await this.downloadManager.download(blob, url, filename, options); - } catch { - await this.downloadManager.downloadUrl(url, filename, options); - } - }, - async save(options = {}) { - if (this._saveInProgress) { - return; - } - this._saveInProgress = true; - await this.pdfScriptingManager.dispatchWillSave(); - const url = this._downloadUrl, - filename = this._docFilename; - try { - this._ensureDownloadComplete(); - const data = await this.pdfDocument.saveDocument(); - const blob = new Blob([data], { - type: "application/pdf" - }); - await this.downloadManager.download(blob, url, filename, options); - } catch (reason) { - console.error(`Error when saving the document: ${reason.message}`); - await this.download(options); - } finally { - await this.pdfScriptingManager.dispatchDidSave(); - this._saveInProgress = false; - } - if (this._hasAnnotationEditors) { - this.externalServices.reportTelemetry({ - type: "editing", - data: { - type: "save", - stats: this.pdfDocument?.annotationStorage.editorStats - } - }); - } - }, - downloadOrSave(options = {}) { - if (this.pdfDocument?.annotationStorage.size > 0) { - this.save(options); - } else { - this.download(options); - } - }, - async _documentError(key, moreInfo = null) { - this._unblockDocumentLoadEvent(); - const message = await this._otherError(key || "pdfjs-loading-error", moreInfo); - this.eventBus.dispatch("documenterror", { - source: this, - message, - reason: moreInfo?.message ?? null - }); - }, - async _otherError(key, moreInfo = null) { - const message = await this.l10n.get(key); - const moreInfoText = [`PDF.js v${pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.version || "?"} (build: ${pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.build || "?"})`]; - if (moreInfo) { - moreInfoText.push(`Message: ${moreInfo.message}`); - if (moreInfo.stack) { - moreInfoText.push(`Stack: ${moreInfo.stack}`); - } else { - if (moreInfo.filename) { - moreInfoText.push(`File: ${moreInfo.filename}`); - } - if (moreInfo.lineNumber) { - moreInfoText.push(`Line: ${moreInfo.lineNumber}`); - } - } - } - console.error(`${message}\n\n${moreInfoText.join("\n")}`); - return message; - }, - progress(level) { - if (!this.loadingBar || this.downloadComplete) { - return; - } - const percent = Math.round(level * 100); - if (percent <= this.loadingBar.percent) { - return; - } - this.loadingBar.percent = percent; - if (this.pdfDocument?.loadingParams.disableAutoFetch ?? _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("disableAutoFetch")) { - this.loadingBar.setDisableAutoFetch(); - } - }, - load(pdfDocument) { - this.pdfDocument = pdfDocument; - pdfDocument.getDownloadInfo().then(({ - length - }) => { - this._contentLength = length; - this.downloadComplete = true; - this.loadingBar?.hide(); - firstPagePromise.then(() => { - this.eventBus.dispatch("documentloaded", { - source: this - }); - }); - }); - const pageLayoutPromise = pdfDocument.getPageLayout().catch(() => {}); - const pageModePromise = pdfDocument.getPageMode().catch(() => {}); - const openActionPromise = pdfDocument.getOpenAction().catch(() => {}); - this.toolbar?.setPagesCount(pdfDocument.numPages, false); - this.secondaryToolbar?.setPagesCount(pdfDocument.numPages); - this.pdfLinkService.setDocument(pdfDocument); - this.pdfDocumentProperties?.setDocument(pdfDocument); - const pdfViewer = this.pdfViewer; - pdfViewer.setDocument(pdfDocument); - const { - firstPagePromise, - onePageRendered, - pagesPromise - } = pdfViewer; - this.pdfThumbnailViewer?.setDocument(pdfDocument); - const storedPromise = (this.store = new _view_history_js__WEBPACK_IMPORTED_MODULE_35__.ViewHistory(pdfDocument.fingerprints[0])).getMultiple({ - page: null, - zoom: _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_SCALE_VALUE, - scrollLeft: "0", - scrollTop: "0", - rotation: null, - sidebarView: _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.UNKNOWN, - scrollMode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.ScrollMode.UNKNOWN, - spreadMode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SpreadMode.UNKNOWN - }).catch(() => {}); - firstPagePromise.then(pdfPage => { - this.loadingBar?.setWidth(this.appConfig.viewerContainer); - this._initializeAnnotationStorageCallbacks(pdfDocument); - Promise.all([_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.animationStarted, storedPromise, pageLayoutPromise, pageModePromise, openActionPromise]).then(async ([timeStamp, stored, pageLayout, pageMode, openAction]) => { - const viewOnLoad = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("viewOnLoad"); - this._initializePdfHistory({ - fingerprint: pdfDocument.fingerprints[0], - viewOnLoad, - initialDest: openAction?.dest - }); - const initialBookmark = this.initialBookmark; - const zoom = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("defaultZoomValue"); - let hash = zoom ? `zoom=${zoom}` : null; - let rotation = null; - let sidebarView = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("sidebarViewOnLoad"); - let scrollMode = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("scrollModeOnLoad"); - let spreadMode = _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("spreadModeOnLoad"); - if (stored?.page && viewOnLoad !== ViewOnLoad.INITIAL) { - hash = `page=${stored.page}&zoom=${zoom || stored.zoom},` + `${stored.scrollLeft},${stored.scrollTop}`; - rotation = parseInt(stored.rotation, 10); - if (sidebarView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.UNKNOWN) { - sidebarView = stored.sidebarView | 0; - } - if (scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.ScrollMode.UNKNOWN) { - scrollMode = stored.scrollMode | 0; - } - if (spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SpreadMode.UNKNOWN) { - spreadMode = stored.spreadMode | 0; - } - } - if (pageMode && sidebarView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.UNKNOWN) { - sidebarView = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.apiPageModeToSidebarView)(pageMode); - } - if (pageLayout && scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.ScrollMode.UNKNOWN && spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SpreadMode.UNKNOWN) { - const modes = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.apiPageLayoutToViewerModes)(pageLayout); - spreadMode = modes.spreadMode; - } - this.setInitialView(hash, { - rotation, - sidebarView, - scrollMode, - spreadMode - }); - this.eventBus.dispatch("documentinit", { - source: this - }); - if (!this.isViewerEmbedded) { - pdfViewer.focus(); - } - await Promise.race([pagesPromise, new Promise(resolve => { - setTimeout(resolve, FORCE_PAGES_LOADED_TIMEOUT); - })]); - if (!initialBookmark && !hash) { - return; - } - if (pdfViewer.hasEqualPageSizes) { - return; - } - this.initialBookmark = initialBookmark; - pdfViewer.currentScaleValue = pdfViewer.currentScaleValue; - this.setInitialView(hash); - }).catch(() => { - this.setInitialView(); - }).then(function () { - pdfViewer.update(); - }); - }); - pagesPromise.then(() => { - this._unblockDocumentLoadEvent(); - this._initializeAutoPrint(pdfDocument, openActionPromise); - }, reason => { - this._documentError("pdfjs-loading-error", { - message: reason.message - }); - }); - onePageRendered.then(data => { - this.externalServices.reportTelemetry({ - type: "pageInfo", - timestamp: data.timestamp - }); - if (this.pdfOutlineViewer) { - pdfDocument.getOutline().then(outline => { - if (pdfDocument !== this.pdfDocument) { - return; - } - this.pdfOutlineViewer.render({ - outline, - pdfDocument - }); - }); - } - if (this.pdfAttachmentViewer) { - pdfDocument.getAttachments().then(attachments => { - if (pdfDocument !== this.pdfDocument) { - return; - } - this.pdfAttachmentViewer.render({ - attachments - }); - }); - } - if (this.pdfLayerViewer) { - pdfViewer.optionalContentConfigPromise.then(optionalContentConfig => { - if (pdfDocument !== this.pdfDocument) { - return; - } - this.pdfLayerViewer.render({ - optionalContentConfig, - pdfDocument - }); - }); - } - }); - this._initializePageLabels(pdfDocument); - this._initializeMetadata(pdfDocument); - }, - async _scriptingDocProperties(pdfDocument) { - if (!this.documentInfo) { - await new Promise(resolve => { - this.eventBus._on("metadataloaded", resolve, { - once: true - }); - }); - if (pdfDocument !== this.pdfDocument) { - return null; - } - } - if (!this._contentLength) { - await new Promise(resolve => { - this.eventBus._on("documentloaded", resolve, { - once: true - }); - }); - if (pdfDocument !== this.pdfDocument) { - return null; - } - } - return { - ...this.documentInfo, - baseURL: this.baseUrl, - filesize: this._contentLength, - filename: this._docFilename, - metadata: this.metadata?.getRaw(), - authors: this.metadata?.get("dc:creator"), - numPages: this.pagesCount, - URL: this.url - }; - }, - async _initializeAutoPrint(pdfDocument, openActionPromise) { - const [openAction, jsActions] = await Promise.all([openActionPromise, this.pdfViewer.enableScripting ? null : pdfDocument.getJSActions()]); - if (pdfDocument !== this.pdfDocument) { - return; - } - let triggerAutoPrint = openAction?.action === "Print"; - if (jsActions) { - console.warn("Warning: JavaScript support is not enabled"); - for (const name in jsActions) { - if (triggerAutoPrint) { - break; - } - switch (name) { - case "WillClose": - case "WillSave": - case "DidSave": - case "WillPrint": - case "DidPrint": - continue; - } - triggerAutoPrint = jsActions[name].some(js => _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.AutoPrintRegExp.test(js)); - } - } - if (triggerAutoPrint) { - this.triggerPrinting(); - } - }, - async _initializeMetadata(pdfDocument) { - const { - info, - metadata, - contentDispositionFilename, - contentLength - } = await pdfDocument.getMetadata(); - if (pdfDocument !== this.pdfDocument) { - return; - } - this.documentInfo = info; - this.metadata = metadata; - this._contentDispositionFilename ??= contentDispositionFilename; - this._contentLength ??= contentLength; - console.log(`PDF ${pdfDocument.fingerprints[0]} [${info.PDFFormatVersion} ` + `${(info.Producer || "-").trim()} / ${(info.Creator || "-").trim()}] ` + `(PDF.js: ${pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.version || "?"} [${pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.build || "?"}])`); - let pdfTitle = info.Title; - const metadataTitle = metadata?.get("dc:title"); - if (metadataTitle) { - if (metadataTitle !== "Untitled" && !/[\uFFF0-\uFFFF]/g.test(metadataTitle)) { - pdfTitle = metadataTitle; - } - } - if (pdfTitle) { - this.setTitle(`${pdfTitle} - ${this._contentDispositionFilename || this._title}`); - } else if (this._contentDispositionFilename) { - this.setTitle(this._contentDispositionFilename); - } - if (info.IsXFAPresent && !info.IsAcroFormPresent && !pdfDocument.isPureXfa) { - if (pdfDocument.loadingParams.enableXfa) { - console.warn("Warning: XFA Foreground documents are not supported"); - } else { - console.warn("Warning: XFA support is not enabled"); - } - } else if ((info.IsAcroFormPresent || info.IsXFAPresent) && !this.pdfViewer.renderForms) { - console.warn("Warning: Interactive form support is not enabled"); - } - if (info.IsSignaturesPresent) { - console.warn("Warning: Digital signatures validation is not supported"); - } - this.eventBus.dispatch("metadataloaded", { - source: this - }); - }, - async _initializePageLabels(pdfDocument) { - const labels = await pdfDocument.getPageLabels(); - if (pdfDocument !== this.pdfDocument) { - return; - } - if (!labels || _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("disablePageLabels")) { - return; - } - const numLabels = labels.length; - let standardLabels = 0, - emptyLabels = 0; - for (let i = 0; i < numLabels; i++) { - const label = labels[i]; - if (label === (i + 1).toString()) { - standardLabels++; - } else if (label === "") { - emptyLabels++; - } else { - break; - } - } - if (standardLabels >= numLabels || emptyLabels >= numLabels) { - return; - } - const { - pdfViewer, - pdfThumbnailViewer, - toolbar - } = this; - pdfViewer.setPageLabels(labels); - pdfThumbnailViewer?.setPageLabels(labels); - toolbar?.setPagesCount(numLabels, true); - toolbar?.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); - }, - _initializePdfHistory({ - fingerprint, - viewOnLoad, - initialDest = null - }) { - if (!this.pdfHistory) { - return; - } - this.pdfHistory.initialize({ - fingerprint, - resetHistory: viewOnLoad === ViewOnLoad.INITIAL, - updateUrl: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("historyUpdateUrl") - }); - if (this.pdfHistory.initialBookmark) { - this.initialBookmark = this.pdfHistory.initialBookmark; - this.initialRotation = this.pdfHistory.initialRotation; - } - if (initialDest && !this.initialBookmark && viewOnLoad === ViewOnLoad.UNKNOWN) { - this.initialBookmark = JSON.stringify(initialDest); - this.pdfHistory.push({ - explicitDest: initialDest, - pageNumber: null - }); - } - }, - _initializeAnnotationStorageCallbacks(pdfDocument) { - if (pdfDocument !== this.pdfDocument) { - return; - } - const { - annotationStorage - } = pdfDocument; - annotationStorage.onSetModified = () => { - window.addEventListener("beforeunload", beforeUnload); - this._annotationStorageModified = true; - }; - annotationStorage.onResetModified = () => { - window.removeEventListener("beforeunload", beforeUnload); - delete this._annotationStorageModified; - }; - annotationStorage.onAnnotationEditor = typeStr => { - this._hasAnnotationEditors = !!typeStr; - this.setTitle(); - }; - }, - setInitialView(storedHash, { - rotation, - sidebarView, - scrollMode, - spreadMode - } = {}) { - const setRotation = angle => { - if ((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.isValidRotation)(angle)) { - this.pdfViewer.pagesRotation = angle; - } - }; - const setViewerModes = (scroll, spread) => { - if ((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.isValidScrollMode)(scroll)) { - this.pdfViewer.scrollMode = scroll; - } - if ((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.isValidSpreadMode)(spread)) { - this.pdfViewer.spreadMode = spread; - } - }; - this.isInitialViewSet = true; - this.pdfSidebar?.setInitialView(sidebarView); - setViewerModes(scrollMode, spreadMode); - if (this.initialBookmark) { - setRotation(this.initialRotation); - delete this.initialRotation; - this.pdfLinkService.setHash(this.initialBookmark); - this.initialBookmark = null; - } else if (storedHash) { - setRotation(rotation); - this.pdfLinkService.setHash(storedHash); - } - this.toolbar?.setPageNumber(this.pdfViewer.currentPageNumber, this.pdfViewer.currentPageLabel); - this.secondaryToolbar?.setPageNumber(this.pdfViewer.currentPageNumber); - if (!this.pdfViewer.currentScaleValue) { - this.pdfViewer.currentScaleValue = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.DEFAULT_SCALE_VALUE; - } - }, - _cleanup() { - if (!this.pdfDocument) { - return; - } - this.pdfViewer.cleanup(); - this.pdfThumbnailViewer?.cleanup(); - this.pdfDocument.cleanup(_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("fontExtraProperties")); - }, - forceRendering() { - this.pdfRenderingQueue.printing = !!this.printService; - this.pdfRenderingQueue.isThumbnailViewEnabled = this.pdfSidebar?.visibleView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.THUMBS; - this.pdfRenderingQueue.renderHighestPriority(); - }, - beforePrint() { - this._printAnnotationStoragePromise = this.pdfScriptingManager.dispatchWillPrint().catch(() => {}).then(() => this.pdfDocument?.annotationStorage.print); - if (this.printService) { - return; - } - if (!this.supportsPrinting) { - this._otherError("pdfjs-printing-not-supported"); - return; - } - if (!this.pdfViewer.pageViewsReady) { - this.l10n.get("pdfjs-printing-not-ready").then(msg => { - window.alert(msg); - }); - return; - } - this.printService = web_print_service__WEBPACK_IMPORTED_MODULE_27__.PDFPrintServiceFactory.createPrintService({ - pdfDocument: this.pdfDocument, - pagesOverview: this.pdfViewer.getPagesOverview(), - printContainer: this.appConfig.printContainer, - printResolution: _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("printResolution"), - printAnnotationStoragePromise: this._printAnnotationStoragePromise - }); - this.forceRendering(); - this.setTitle(); - this.printService.layout(); - if (this._hasAnnotationEditors) { - this.externalServices.reportTelemetry({ - type: "editing", - data: { - type: "print", - stats: this.pdfDocument?.annotationStorage.editorStats - } - }); - } - }, - afterPrint() { - if (this._printAnnotationStoragePromise) { - this._printAnnotationStoragePromise.then(() => { - this.pdfScriptingManager.dispatchDidPrint(); - }); - this._printAnnotationStoragePromise = null; - } - if (this.printService) { - this.printService.destroy(); - this.printService = null; - this.pdfDocument?.annotationStorage.resetModified(); - } - this.forceRendering(); - this.setTitle(); - }, - rotatePages(delta) { - this.pdfViewer.pagesRotation += delta; - }, - requestPresentationMode() { - this.pdfPresentationMode?.request(); - }, - triggerPrinting() { - if (!this.supportsPrinting) { - return; - } - window.print(); - }, - bindEvents() { - if (this._eventBusAbortController) { - return; - } - this._eventBusAbortController = new AbortController(); - const { - eventBus, - _eventBusAbortController: { - signal - } - } = this; - eventBus._on("resize", webViewerResize, { - signal - }); - eventBus._on("hashchange", webViewerHashchange, { - signal - }); - eventBus._on("beforeprint", this.beforePrint.bind(this), { - signal - }); - eventBus._on("afterprint", this.afterPrint.bind(this), { - signal - }); - eventBus._on("pagerender", webViewerPageRender, { - signal - }); - eventBus._on("pagerendered", webViewerPageRendered, { - signal - }); - eventBus._on("updateviewarea", webViewerUpdateViewarea, { - signal - }); - eventBus._on("pagechanging", webViewerPageChanging, { - signal - }); - eventBus._on("scalechanging", webViewerScaleChanging, { - signal - }); - eventBus._on("rotationchanging", webViewerRotationChanging, { - signal - }); - eventBus._on("sidebarviewchanged", webViewerSidebarViewChanged, { - signal - }); - eventBus._on("pagemode", webViewerPageMode, { - signal - }); - eventBus._on("namedaction", webViewerNamedAction, { - signal - }); - eventBus._on("presentationmodechanged", webViewerPresentationModeChanged, { - signal - }); - eventBus._on("presentationmode", webViewerPresentationMode, { - signal - }); - eventBus._on("switchannotationeditormode", webViewerSwitchAnnotationEditorMode, { - signal - }); - eventBus._on("switchannotationeditorparams", webViewerSwitchAnnotationEditorParams, { - signal - }); - eventBus._on("print", webViewerPrint, { - signal - }); - eventBus._on("download", webViewerDownload, { - signal - }); - eventBus._on("firstpage", webViewerFirstPage, { - signal - }); - eventBus._on("lastpage", webViewerLastPage, { - signal - }); - eventBus._on("nextpage", webViewerNextPage, { - signal - }); - eventBus._on("previouspage", webViewerPreviousPage, { - signal - }); - eventBus._on("zoomin", webViewerZoomIn, { - signal - }); - eventBus._on("zoomout", webViewerZoomOut, { - signal - }); - eventBus._on("zoomreset", webViewerZoomReset, { - signal - }); - eventBus._on("pagenumberchanged", webViewerPageNumberChanged, { - signal - }); - eventBus._on("scalechanged", webViewerScaleChanged, { - signal - }); - eventBus._on("rotatecw", webViewerRotateCw, { - signal - }); - eventBus._on("rotateccw", webViewerRotateCcw, { - signal - }); - eventBus._on("optionalcontentconfig", webViewerOptionalContentConfig, { - signal - }); - eventBus._on("switchscrollmode", webViewerSwitchScrollMode, { - signal - }); - eventBus._on("scrollmodechanged", webViewerScrollModeChanged, { - signal - }); - eventBus._on("switchspreadmode", webViewerSwitchSpreadMode, { - signal - }); - eventBus._on("spreadmodechanged", webViewerSpreadModeChanged, { - signal - }); - eventBus._on("documentproperties", webViewerDocumentProperties, { - signal - }); - eventBus._on("findfromurlhash", webViewerFindFromUrlHash, { - signal - }); - eventBus._on("updatefindmatchescount", webViewerUpdateFindMatchesCount, { - signal - }); - eventBus._on("updatefindcontrolstate", webViewerUpdateFindControlState, { - signal - }); - if (_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("pdfBug")) { - eventBus._on("pagerendered", reportPageStatsPDFBug, { - signal - }); - eventBus._on("pagechanging", reportPageStatsPDFBug, { - signal - }); - } - eventBus._on("fileinputchange", webViewerFileInputChange, { - signal - }); - eventBus._on("openfile", webViewerOpenFile, { - signal - }); - }, - bindWindowEvents() { - if (this._windowAbortController) { - return; - } - this._windowAbortController = new AbortController(); - const { - eventBus, - appConfig: { - mainContainer - }, - _windowAbortController: { - signal - } - } = this; - function addWindowResolutionChange(evt = null) { - if (evt) { - webViewerResolutionChange(evt); - } - const mediaQueryList = window.matchMedia(`(resolution: ${window.devicePixelRatio || 1}dppx)`); - mediaQueryList.addEventListener("change", addWindowResolutionChange, { - once: true, - signal - }); - } - addWindowResolutionChange(); - window.addEventListener("visibilitychange", webViewerVisibilityChange, { - signal - }); - window.addEventListener("wheel", webViewerWheel, { - passive: false, - signal - }); - window.addEventListener("touchstart", webViewerTouchStart, { - passive: false, - signal - }); - window.addEventListener("touchmove", webViewerTouchMove, { - passive: false, - signal - }); - window.addEventListener("touchend", webViewerTouchEnd, { - passive: false, - signal - }); - window.addEventListener("click", webViewerClick, { - signal - }); - window.addEventListener("keydown", webViewerKeyDown, { - signal - }); - window.addEventListener("keyup", webViewerKeyUp, { - signal - }); - window.addEventListener("resize", () => { - eventBus.dispatch("resize", { - source: window - }); - }, { - signal - }); - window.addEventListener("hashchange", () => { - eventBus.dispatch("hashchange", { - source: window, - hash: document.location.hash.substring(1) - }); - }, { - signal - }); - window.addEventListener("beforeprint", () => { - eventBus.dispatch("beforeprint", { - source: window - }); - }, { - signal - }); - window.addEventListener("afterprint", () => { - eventBus.dispatch("afterprint", { - source: window - }); - }, { - signal - }); - window.addEventListener("updatefromsandbox", event => { - eventBus.dispatch("updatefromsandbox", { - source: window, - detail: event.detail - }); - }, { - signal - }); - if (!("onscrollend" in document.documentElement)) { - return; - } - ({ - scrollTop: this._lastScrollTop, - scrollLeft: this._lastScrollLeft - } = mainContainer); - const scrollend = () => { - ({ - scrollTop: this._lastScrollTop, - scrollLeft: this._lastScrollLeft - } = mainContainer); - this._isScrolling = false; - mainContainer.addEventListener("scroll", scroll, { - passive: true, - signal - }); - mainContainer.removeEventListener("scrollend", scrollend, { - signal - }); - mainContainer.removeEventListener("blur", scrollend, { - signal - }); - }; - const scroll = () => { - if (this._isCtrlKeyDown) { - return; - } - if (this._lastScrollTop === mainContainer.scrollTop && this._lastScrollLeft === mainContainer.scrollLeft) { - return; - } - mainContainer.removeEventListener("scroll", scroll, { - passive: true, - signal - }); - this._isScrolling = true; - mainContainer.addEventListener("scrollend", scrollend, { - signal - }); - mainContainer.addEventListener("blur", scrollend, { - signal - }); - }; - mainContainer.addEventListener("scroll", scroll, { - passive: true, - signal - }); - }, - unbindEvents() { - this._eventBusAbortController?.abort(); - this._eventBusAbortController = null; - }, - unbindWindowEvents() { - this._windowAbortController?.abort(); - this._windowAbortController = null; - }, - _accumulateTicks(ticks, prop) { - if (this[prop] > 0 && ticks < 0 || this[prop] < 0 && ticks > 0) { - this[prop] = 0; - } - this[prop] += ticks; - const wholeTicks = Math.trunc(this[prop]); - this[prop] -= wholeTicks; - return wholeTicks; - }, - _accumulateFactor(previousScale, factor, prop) { - if (factor === 1) { - return 1; - } - if (this[prop] > 1 && factor < 1 || this[prop] < 1 && factor > 1) { - this[prop] = 1; - } - const newFactor = Math.floor(previousScale * factor * this[prop] * 100) / (100 * previousScale); - this[prop] = factor / newFactor; - return newFactor; - }, - _centerAtPos(previousScale, x, y) { - const { - pdfViewer - } = this; - const scaleDiff = pdfViewer.currentScale / previousScale - 1; - if (scaleDiff !== 0) { - const [top, left] = pdfViewer.containerTopLeft; - pdfViewer.container.scrollLeft += (x - left) * scaleDiff; - pdfViewer.container.scrollTop += (y - top) * scaleDiff; - } - }, - _unblockDocumentLoadEvent() { - document.blockUnblockOnload?.(false); - this._unblockDocumentLoadEvent = () => {}; - }, - get scriptingReady() { - return this.pdfScriptingManager.ready; - } -}; -(0,web_external_services__WEBPACK_IMPORTED_MODULE_11__.initCom)(PDFViewerApplication); -{ - web_print_service__WEBPACK_IMPORTED_MODULE_27__.PDFPrintServiceFactory.initGlobals(PDFViewerApplication); -} -{ - const HOSTED_VIEWER_ORIGINS = ["null", "http://mozilla.github.io", "https://mozilla.github.io"]; - var validateFileURL = function (file) { - if (!file) { - return; - } - try { - const viewerOrigin = new URL(window.location.href).origin || "null"; - if (HOSTED_VIEWER_ORIGINS.includes(viewerOrigin)) { - return; - } - const fileOrigin = new URL(file, window.location.href).origin; - if (fileOrigin !== viewerOrigin) { - throw new Error("file origin does not match viewer's"); - } - } catch (ex) { - PDFViewerApplication._documentError("pdfjs-loading-error", { - message: ex.message - }); - throw ex; - } - }; -} -async function loadFakeWorker() { - pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.GlobalWorkerOptions.workerSrc ||= _app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("workerSrc"); - await import( /*webpackIgnore: true*/pdfjs_lib__WEBPACK_IMPORTED_MODULE_8__.PDFWorker.workerSrc); -} -async function loadPDFBug(self) { - const { - PDFBug - } = await import( /*webpackIgnore: true*/_app_options_js__WEBPACK_IMPORTED_MODULE_9__.AppOptions.get("debuggerSrc")); - self._PDFBug = PDFBug; -} -function reportPageStatsPDFBug({ - pageNumber -}) { - if (!globalThis.Stats?.enabled) { - return; - } - const pageView = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); - globalThis.Stats.add(pageNumber, pageView?.pdfPage?.stats); -} -function webViewerPageRender({ - pageNumber -}) { - if (pageNumber === PDFViewerApplication.page) { - PDFViewerApplication.toolbar?.updateLoadingIndicatorState(true); - } -} -function webViewerPageRendered({ - pageNumber, - error -}) { - if (pageNumber === PDFViewerApplication.page) { - PDFViewerApplication.toolbar?.updateLoadingIndicatorState(false); - } - if (PDFViewerApplication.pdfSidebar?.visibleView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.THUMBS) { - const pageView = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); - const thumbnailView = PDFViewerApplication.pdfThumbnailViewer?.getThumbnail(pageNumber - 1); - if (pageView) { - thumbnailView?.setImage(pageView); - } - } - if (error) { - PDFViewerApplication._otherError("pdfjs-rendering-error", error); - } -} -function webViewerPageMode({ - mode -}) { - let view; - switch (mode) { - case "thumbs": - view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.THUMBS; - break; - case "bookmarks": - case "outline": - view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.OUTLINE; - break; - case "attachments": - view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.ATTACHMENTS; - break; - case "layers": - view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.LAYERS; - break; - case "none": - view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.NONE; - break; - default: - console.error('Invalid "pagemode" hash parameter: ' + mode); - return; - } - PDFViewerApplication.pdfSidebar?.switchView(view, true); -} -function webViewerNamedAction(evt) { - switch (evt.action) { - case "GoToPage": - PDFViewerApplication.appConfig.toolbar?.pageNumber.select(); - break; - case "Find": - if (!PDFViewerApplication.supportsIntegratedFind) { - PDFViewerApplication.findBar?.toggle(); - } - break; - case "Print": - PDFViewerApplication.triggerPrinting(); - break; - case "SaveAs": - PDFViewerApplication.downloadOrSave(); - break; - } -} -function webViewerPresentationModeChanged(evt) { - PDFViewerApplication.pdfViewer.presentationModeState = evt.state; -} -function webViewerSidebarViewChanged({ - view -}) { - PDFViewerApplication.pdfRenderingQueue.isThumbnailViewEnabled = view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.THUMBS; - if (PDFViewerApplication.isInitialViewSet) { - PDFViewerApplication.store?.set("sidebarView", view).catch(() => {}); - } -} -function webViewerUpdateViewarea({ - location -}) { - if (PDFViewerApplication.isInitialViewSet) { - PDFViewerApplication.store?.setMultiple({ - page: location.pageNumber, - zoom: location.scale, - scrollLeft: location.left, - scrollTop: location.top, - rotation: location.rotation - }).catch(() => {}); - } - if (PDFViewerApplication.appConfig.secondaryToolbar) { - const href = PDFViewerApplication.pdfLinkService.getAnchorUrl(location.pdfOpenParams); - PDFViewerApplication.appConfig.secondaryToolbar.viewBookmarkButton.href = href; - } -} -function webViewerScrollModeChanged(evt) { - if (PDFViewerApplication.isInitialViewSet && !PDFViewerApplication.pdfViewer.isInPresentationMode) { - PDFViewerApplication.store?.set("scrollMode", evt.mode).catch(() => {}); - } -} -function webViewerSpreadModeChanged(evt) { - if (PDFViewerApplication.isInitialViewSet && !PDFViewerApplication.pdfViewer.isInPresentationMode) { - PDFViewerApplication.store?.set("spreadMode", evt.mode).catch(() => {}); - } -} -function webViewerResize() { - const { - pdfDocument, - pdfViewer, - pdfRenderingQueue - } = PDFViewerApplication; - if (pdfRenderingQueue.printing && window.matchMedia("print").matches) { - return; - } - if (!pdfDocument) { - return; - } - const currentScaleValue = pdfViewer.currentScaleValue; - if (currentScaleValue === "auto" || currentScaleValue === "page-fit" || currentScaleValue === "page-width") { - pdfViewer.currentScaleValue = currentScaleValue; - } - pdfViewer.update(); -} -function webViewerHashchange(evt) { - const hash = evt.hash; - if (!hash) { - return; - } - if (!PDFViewerApplication.isInitialViewSet) { - PDFViewerApplication.initialBookmark = hash; - } else if (!PDFViewerApplication.pdfHistory?.popStateInProgress) { - PDFViewerApplication.pdfLinkService.setHash(hash); - } -} -{ - var webViewerFileInputChange = function (evt) { - if (PDFViewerApplication.pdfViewer?.isInPresentationMode) { - return; - } - const file = evt.fileInput.files[0]; - PDFViewerApplication.open({ - url: URL.createObjectURL(file), - originalUrl: file.name - }); - }; - var webViewerOpenFile = function (evt) { - // CUSTOM_FOR_SEAFILE - const fileInput = PDFViewerApplication.appConfig.openFileInput; - fileInput.click(); - }; -} -function webViewerPresentationMode() { - PDFViewerApplication.requestPresentationMode(); -} -function webViewerSwitchAnnotationEditorMode(evt) { - PDFViewerApplication.pdfViewer.annotationEditorMode = evt; -} -function webViewerSwitchAnnotationEditorParams(evt) { - PDFViewerApplication.pdfViewer.annotationEditorParams = evt; -} -function webViewerPrint() { - PDFViewerApplication.triggerPrinting(); -} -function webViewerDownload() { - PDFViewerApplication.downloadOrSave(); -} -function webViewerFirstPage() { - PDFViewerApplication.page = 1; -} -function webViewerLastPage() { - PDFViewerApplication.page = PDFViewerApplication.pagesCount; -} -function webViewerNextPage() { - PDFViewerApplication.pdfViewer.nextPage(); -} -function webViewerPreviousPage() { - PDFViewerApplication.pdfViewer.previousPage(); -} -function webViewerZoomIn() { - PDFViewerApplication.zoomIn(); -} -function webViewerZoomOut() { - PDFViewerApplication.zoomOut(); -} -function webViewerZoomReset() { - PDFViewerApplication.zoomReset(); -} -function webViewerPageNumberChanged(evt) { - const pdfViewer = PDFViewerApplication.pdfViewer; - if (evt.value !== "") { - PDFViewerApplication.pdfLinkService.goToPage(evt.value); - } - if (evt.value !== pdfViewer.currentPageNumber.toString() && evt.value !== pdfViewer.currentPageLabel) { - PDFViewerApplication.toolbar?.setPageNumber(pdfViewer.currentPageNumber, pdfViewer.currentPageLabel); - } -} -function webViewerScaleChanged(evt) { - PDFViewerApplication.pdfViewer.currentScaleValue = evt.value; -} -function webViewerRotateCw() { - PDFViewerApplication.rotatePages(90); -} -function webViewerRotateCcw() { - PDFViewerApplication.rotatePages(-90); -} -function webViewerOptionalContentConfig(evt) { - PDFViewerApplication.pdfViewer.optionalContentConfigPromise = evt.promise; -} -function webViewerSwitchScrollMode(evt) { - PDFViewerApplication.pdfViewer.scrollMode = evt.mode; -} -function webViewerSwitchSpreadMode(evt) { - PDFViewerApplication.pdfViewer.spreadMode = evt.mode; -} -function webViewerDocumentProperties() { - PDFViewerApplication.pdfDocumentProperties?.open(); -} -function webViewerFindFromUrlHash(evt) { - PDFViewerApplication.eventBus.dispatch("find", { - source: evt.source, - type: "", - query: evt.query, - caseSensitive: false, - entireWord: false, - highlightAll: true, - findPrevious: false, - matchDiacritics: true - }); -} -function webViewerUpdateFindMatchesCount({ - matchesCount -}) { - if (PDFViewerApplication.supportsIntegratedFind) { - PDFViewerApplication.externalServices.updateFindMatchesCount(matchesCount); - } else { - PDFViewerApplication.findBar?.updateResultsCount(matchesCount); - } -} -function webViewerUpdateFindControlState({ - state, - previous, - matchesCount, - rawQuery -}) { - if (PDFViewerApplication.supportsIntegratedFind) { - PDFViewerApplication.externalServices.updateFindControlState({ - result: state, - findPrevious: previous, - matchesCount, - rawQuery - }); - } else { - PDFViewerApplication.findBar?.updateUIState(state, previous, matchesCount); - } -} -function webViewerScaleChanging(evt) { - PDFViewerApplication.toolbar?.setPageScale(evt.presetValue, evt.scale); - PDFViewerApplication.pdfViewer.update(); -} -function webViewerRotationChanging(evt) { - if (PDFViewerApplication.pdfThumbnailViewer) { - PDFViewerApplication.pdfThumbnailViewer.pagesRotation = evt.pagesRotation; - } - PDFViewerApplication.forceRendering(); - PDFViewerApplication.pdfViewer.currentPageNumber = evt.pageNumber; -} -function webViewerPageChanging({ - pageNumber, - pageLabel -}) { - PDFViewerApplication.toolbar?.setPageNumber(pageNumber, pageLabel); - PDFViewerApplication.secondaryToolbar?.setPageNumber(pageNumber); - if (PDFViewerApplication.pdfSidebar?.visibleView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.SidebarView.THUMBS) { - PDFViewerApplication.pdfThumbnailViewer?.scrollThumbnailIntoView(pageNumber); - } - const currentPage = PDFViewerApplication.pdfViewer.getPageView(pageNumber - 1); - PDFViewerApplication.toolbar?.updateLoadingIndicatorState(currentPage?.renderingState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.RenderingStates.RUNNING); -} -function webViewerResolutionChange(evt) { - PDFViewerApplication.pdfViewer.refresh(); -} -function webViewerVisibilityChange(evt) { - if (document.visibilityState === "visible") { - setZoomDisabledTimeout(); - } -} -let zoomDisabledTimeout = null; -function setZoomDisabledTimeout() { - if (zoomDisabledTimeout) { - clearTimeout(zoomDisabledTimeout); - } - zoomDisabledTimeout = setTimeout(function () { - zoomDisabledTimeout = null; - }, WHEEL_ZOOM_DISABLED_TIMEOUT); -} -function webViewerWheel(evt) { - const { - pdfViewer, - supportsMouseWheelZoomCtrlKey, - supportsMouseWheelZoomMetaKey, - supportsPinchToZoom - } = PDFViewerApplication; - if (pdfViewer.isInPresentationMode) { - return; - } - const deltaMode = evt.deltaMode; - let scaleFactor = Math.exp(-evt.deltaY / 100); - const isBuiltInMac = false; - const isPinchToZoom = evt.ctrlKey && !PDFViewerApplication._isCtrlKeyDown && deltaMode === WheelEvent.DOM_DELTA_PIXEL && evt.deltaX === 0 && (Math.abs(scaleFactor - 1) < 0.05 || isBuiltInMac) && evt.deltaZ === 0; - if (isPinchToZoom || evt.ctrlKey && supportsMouseWheelZoomCtrlKey || evt.metaKey && supportsMouseWheelZoomMetaKey) { - evt.preventDefault(); - if (PDFViewerApplication._isScrolling || zoomDisabledTimeout || document.visibilityState === "hidden" || PDFViewerApplication.overlayManager.active) { - return; - } - const previousScale = pdfViewer.currentScale; - if (isPinchToZoom && supportsPinchToZoom) { - scaleFactor = PDFViewerApplication._accumulateFactor(previousScale, scaleFactor, "_wheelUnusedFactor"); - if (scaleFactor < 1) { - PDFViewerApplication.zoomOut(null, scaleFactor); - } else if (scaleFactor > 1) { - PDFViewerApplication.zoomIn(null, scaleFactor); - } else { - return; - } - } else { - const delta = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.normalizeWheelEventDirection)(evt); - let ticks = 0; - if (deltaMode === WheelEvent.DOM_DELTA_LINE || deltaMode === WheelEvent.DOM_DELTA_PAGE) { - if (Math.abs(delta) >= 1) { - ticks = Math.sign(delta); - } else { - ticks = PDFViewerApplication._accumulateTicks(delta, "_wheelUnusedTicks"); - } - } else { - const PIXELS_PER_LINE_SCALE = 30; - ticks = PDFViewerApplication._accumulateTicks(delta / PIXELS_PER_LINE_SCALE, "_wheelUnusedTicks"); - } - if (ticks < 0) { - PDFViewerApplication.zoomOut(-ticks); - } else if (ticks > 0) { - PDFViewerApplication.zoomIn(ticks); - } else { - return; - } - } - PDFViewerApplication._centerAtPos(previousScale, evt.clientX, evt.clientY); - } -} -function webViewerTouchStart(evt) { - if (PDFViewerApplication.pdfViewer.isInPresentationMode || evt.touches.length < 2) { - return; - } - evt.preventDefault(); - if (evt.touches.length !== 2 || PDFViewerApplication.overlayManager.active) { - PDFViewerApplication._touchInfo = null; - return; - } - let [touch0, touch1] = evt.touches; - if (touch0.identifier > touch1.identifier) { - [touch0, touch1] = [touch1, touch0]; - } - PDFViewerApplication._touchInfo = { - touch0X: touch0.pageX, - touch0Y: touch0.pageY, - touch1X: touch1.pageX, - touch1Y: touch1.pageY - }; -} -function webViewerTouchMove(evt) { - if (!PDFViewerApplication._touchInfo || evt.touches.length !== 2) { - return; - } - const { - pdfViewer, - _touchInfo, - supportsPinchToZoom - } = PDFViewerApplication; - let [touch0, touch1] = evt.touches; - if (touch0.identifier > touch1.identifier) { - [touch0, touch1] = [touch1, touch0]; - } - const { - pageX: page0X, - pageY: page0Y - } = touch0; - const { - pageX: page1X, - pageY: page1Y - } = touch1; - const { - touch0X: pTouch0X, - touch0Y: pTouch0Y, - touch1X: pTouch1X, - touch1Y: pTouch1Y - } = _touchInfo; - if (Math.abs(pTouch0X - page0X) <= 1 && Math.abs(pTouch0Y - page0Y) <= 1 && Math.abs(pTouch1X - page1X) <= 1 && Math.abs(pTouch1Y - page1Y) <= 1) { - return; - } - _touchInfo.touch0X = page0X; - _touchInfo.touch0Y = page0Y; - _touchInfo.touch1X = page1X; - _touchInfo.touch1Y = page1Y; - if (pTouch0X === page0X && pTouch0Y === page0Y) { - const v1X = pTouch1X - page0X; - const v1Y = pTouch1Y - page0Y; - const v2X = page1X - page0X; - const v2Y = page1Y - page0Y; - const det = v1X * v2Y - v1Y * v2X; - if (Math.abs(det) > 0.02 * Math.hypot(v1X, v1Y) * Math.hypot(v2X, v2Y)) { - return; - } - } else if (pTouch1X === page1X && pTouch1Y === page1Y) { - const v1X = pTouch0X - page1X; - const v1Y = pTouch0Y - page1Y; - const v2X = page0X - page1X; - const v2Y = page0Y - page1Y; - const det = v1X * v2Y - v1Y * v2X; - if (Math.abs(det) > 0.02 * Math.hypot(v1X, v1Y) * Math.hypot(v2X, v2Y)) { - return; - } - } else { - const diff0X = page0X - pTouch0X; - const diff1X = page1X - pTouch1X; - const diff0Y = page0Y - pTouch0Y; - const diff1Y = page1Y - pTouch1Y; - const dotProduct = diff0X * diff1X + diff0Y * diff1Y; - if (dotProduct >= 0) { - return; - } - } - evt.preventDefault(); - const distance = Math.hypot(page0X - page1X, page0Y - page1Y) || 1; - const pDistance = Math.hypot(pTouch0X - pTouch1X, pTouch0Y - pTouch1Y) || 1; - const previousScale = pdfViewer.currentScale; - if (supportsPinchToZoom) { - const newScaleFactor = PDFViewerApplication._accumulateFactor(previousScale, distance / pDistance, "_touchUnusedFactor"); - if (newScaleFactor < 1) { - PDFViewerApplication.zoomOut(null, newScaleFactor); - } else if (newScaleFactor > 1) { - PDFViewerApplication.zoomIn(null, newScaleFactor); - } else { - return; - } - } else { - const PIXELS_PER_LINE_SCALE = 30; - const ticks = PDFViewerApplication._accumulateTicks((distance - pDistance) / PIXELS_PER_LINE_SCALE, "_touchUnusedTicks"); - if (ticks < 0) { - PDFViewerApplication.zoomOut(-ticks); - } else if (ticks > 0) { - PDFViewerApplication.zoomIn(ticks); - } else { - return; - } - } - PDFViewerApplication._centerAtPos(previousScale, (page0X + page1X) / 2, (page0Y + page1Y) / 2); -} -function webViewerTouchEnd(evt) { - if (!PDFViewerApplication._touchInfo) { - return; - } - evt.preventDefault(); - PDFViewerApplication._touchInfo = null; - PDFViewerApplication._touchUnusedTicks = 0; - PDFViewerApplication._touchUnusedFactor = 1; -} -function webViewerClick(evt) { - if (!PDFViewerApplication.secondaryToolbar?.isOpen) { - return; - } - const appConfig = PDFViewerApplication.appConfig; - if (PDFViewerApplication.pdfViewer.containsElement(evt.target) || appConfig.toolbar?.container.contains(evt.target) && evt.target !== appConfig.secondaryToolbar?.toggleButton) { - PDFViewerApplication.secondaryToolbar.close(); - } -} -function webViewerKeyUp(evt) { - if (evt.key === "Control") { - PDFViewerApplication._isCtrlKeyDown = false; - } -} -function webViewerKeyDown(evt) { - PDFViewerApplication._isCtrlKeyDown = evt.key === "Control"; - if (PDFViewerApplication.overlayManager.active) { - return; - } - const { - eventBus, - pdfViewer - } = PDFViewerApplication; - const isViewerInPresentationMode = pdfViewer.isInPresentationMode; - let handled = false, - ensureViewerFocused = false; - const cmd = (evt.ctrlKey ? 1 : 0) | (evt.altKey ? 2 : 0) | (evt.shiftKey ? 4 : 0) | (evt.metaKey ? 8 : 0); - if (cmd === 1 || cmd === 8 || cmd === 5 || cmd === 12) { - switch (evt.keyCode) { - case 70: - if (!PDFViewerApplication.supportsIntegratedFind && !evt.shiftKey) { - PDFViewerApplication.findBar?.open(); - handled = true; - } - break; - case 71: - if (!PDFViewerApplication.supportsIntegratedFind) { - const { - state - } = PDFViewerApplication.findController; - if (state) { - const newState = { - source: window, - type: "again", - findPrevious: cmd === 5 || cmd === 12 - }; - eventBus.dispatch("find", { - ...state, - ...newState - }); - } - handled = true; - } - break; - case 61: - case 107: - case 187: - case 171: - PDFViewerApplication.zoomIn(); - handled = true; - break; - case 173: - case 109: - case 189: - PDFViewerApplication.zoomOut(); - handled = true; - break; - case 48: - case 96: - if (!isViewerInPresentationMode) { - setTimeout(function () { - PDFViewerApplication.zoomReset(); - }); - handled = false; - } - break; - case 38: - if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { - PDFViewerApplication.page = 1; - handled = true; - ensureViewerFocused = true; - } - break; - case 40: - if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { - PDFViewerApplication.page = PDFViewerApplication.pagesCount; - handled = true; - ensureViewerFocused = true; - } - break; - } - } - if (cmd === 1 || cmd === 8) { - switch (evt.keyCode) { - case 83: - eventBus.dispatch("download", { - source: window - }); - handled = true; - break; - case 79: - { - eventBus.dispatch("openfile", { - source: window - }); - handled = true; - } - break; - } - } - if (cmd === 3 || cmd === 10) { - switch (evt.keyCode) { - case 80: - PDFViewerApplication.requestPresentationMode(); - handled = true; - PDFViewerApplication.externalServices.reportTelemetry({ - type: "buttons", - data: { - id: "presentationModeKeyboard" - } - }); - break; - case 71: - if (PDFViewerApplication.appConfig.toolbar) { - PDFViewerApplication.appConfig.toolbar.pageNumber.select(); - handled = true; - } - break; - } - } - if (handled) { - if (ensureViewerFocused && !isViewerInPresentationMode) { - pdfViewer.focus(); - } - evt.preventDefault(); - return; - } - const curElement = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.getActiveOrFocusedElement)(); - const curElementTagName = curElement?.tagName.toUpperCase(); - if (curElementTagName === "INPUT" || curElementTagName === "TEXTAREA" || curElementTagName === "SELECT" || curElementTagName === "BUTTON" && (evt.keyCode === 13 || evt.keyCode === 32) || curElement?.isContentEditable) { - if (evt.keyCode !== 27) { - return; - } - } - if (cmd === 0) { - let turnPage = 0, - turnOnlyIfPageFit = false; - switch (evt.keyCode) { - case 38: - if (PDFViewerApplication.supportsCaretBrowsingMode) { - PDFViewerApplication.moveCaret(true, false); - handled = true; - break; - } - case 33: - if (pdfViewer.isVerticalScrollbarEnabled) { - turnOnlyIfPageFit = true; - } - turnPage = -1; - break; - case 8: - if (!isViewerInPresentationMode) { - turnOnlyIfPageFit = true; - } - turnPage = -1; - break; - case 37: - if (PDFViewerApplication.supportsCaretBrowsingMode) { - return; - } - if (pdfViewer.isHorizontalScrollbarEnabled) { - turnOnlyIfPageFit = true; - } - case 75: - case 80: - turnPage = -1; - break; - case 27: - if (PDFViewerApplication.secondaryToolbar?.isOpen) { - PDFViewerApplication.secondaryToolbar.close(); - handled = true; - } - if (!PDFViewerApplication.supportsIntegratedFind && PDFViewerApplication.findBar?.opened) { - PDFViewerApplication.findBar.close(); - handled = true; - } - break; - case 40: - if (PDFViewerApplication.supportsCaretBrowsingMode) { - PDFViewerApplication.moveCaret(false, false); - handled = true; - break; - } - case 34: - if (pdfViewer.isVerticalScrollbarEnabled) { - turnOnlyIfPageFit = true; - } - turnPage = 1; - break; - case 13: - case 32: - if (!isViewerInPresentationMode) { - turnOnlyIfPageFit = true; - } - turnPage = 1; - break; - case 39: - if (PDFViewerApplication.supportsCaretBrowsingMode) { - return; - } - if (pdfViewer.isHorizontalScrollbarEnabled) { - turnOnlyIfPageFit = true; - } - case 74: - case 78: - turnPage = 1; - break; - case 36: - if (isViewerInPresentationMode || PDFViewerApplication.page > 1) { - PDFViewerApplication.page = 1; - handled = true; - ensureViewerFocused = true; - } - break; - case 35: - if (isViewerInPresentationMode || PDFViewerApplication.page < PDFViewerApplication.pagesCount) { - PDFViewerApplication.page = PDFViewerApplication.pagesCount; - handled = true; - ensureViewerFocused = true; - } - break; - case 83: - PDFViewerApplication.pdfCursorTools?.switchTool(_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.CursorTool.SELECT); - break; - case 72: - PDFViewerApplication.pdfCursorTools?.switchTool(_ui_utils_js__WEBPACK_IMPORTED_MODULE_7__.CursorTool.HAND); - break; - case 82: - PDFViewerApplication.rotatePages(90); - break; - case 115: - PDFViewerApplication.pdfSidebar?.toggle(); - break; - } - if (turnPage !== 0 && (!turnOnlyIfPageFit || pdfViewer.currentScaleValue === "page-fit")) { - if (turnPage > 0) { - pdfViewer.nextPage(); - } else { - pdfViewer.previousPage(); - } - handled = true; - } - } - if (cmd === 4) { - switch (evt.keyCode) { - case 13: - case 32: - if (!isViewerInPresentationMode && pdfViewer.currentScaleValue !== "page-fit") { - break; - } - pdfViewer.previousPage(); - handled = true; - break; - case 38: - PDFViewerApplication.moveCaret(true, true); - handled = true; - break; - case 40: - PDFViewerApplication.moveCaret(false, true); - handled = true; - break; - case 82: - PDFViewerApplication.rotatePages(-90); - break; - } - } - if (!handled && !isViewerInPresentationMode) { - if (evt.keyCode >= 33 && evt.keyCode <= 40 || evt.keyCode === 32 && curElementTagName !== "BUTTON") { - ensureViewerFocused = true; - } - } - if (ensureViewerFocused && !pdfViewer.containsElement(curElement)) { - pdfViewer.focus(); - } - if (handled) { - evt.preventDefault(); - } -} -function beforeUnload(evt) { - evt.preventDefault(); - evt.returnValue = ""; - return false; -} -function webViewerAnnotationEditorStatesChanged(data) { - PDFViewerApplication.externalServices.updateEditorStates(data); -} -function webViewerReportTelemetry({ - details -}) { - PDFViewerApplication.externalServices.reportTelemetry(details); -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 9840: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AppOptions: () => (/* binding */ AppOptions), -/* harmony export */ OptionKind: () => (/* binding */ OptionKind) -/* harmony export */ }); -{ - var compatibilityParams = Object.create(null); - const userAgent = navigator.userAgent || ""; - const platform = navigator.platform || ""; - const maxTouchPoints = navigator.maxTouchPoints || 1; - const isAndroid = /Android/.test(userAgent); - const isIOS = /\b(iPad|iPhone|iPod)(?=;)/.test(userAgent) || platform === "MacIntel" && maxTouchPoints > 1; - (function checkCanvasSizeLimitation() { - if (isIOS || isAndroid) { - compatibilityParams.maxCanvasPixels = 5242880; - } - })(); -} -const OptionKind = { - BROWSER: 0x01, - VIEWER: 0x02, - API: 0x04, - WORKER: 0x08, - PREFERENCE: 0x80 -}; -const defaultOptions = { - canvasMaxAreaInBytes: { - value: -1, - kind: OptionKind.BROWSER + OptionKind.API - }, - isInAutomation: { - value: false, - kind: OptionKind.BROWSER - }, - supportsCaretBrowsingMode: { - value: false, - kind: OptionKind.BROWSER - }, - supportsDocumentFonts: { - value: true, - kind: OptionKind.BROWSER - }, - supportsIntegratedFind: { - value: false, - kind: OptionKind.BROWSER - }, - supportsMouseWheelZoomCtrlKey: { - value: true, - kind: OptionKind.BROWSER - }, - supportsMouseWheelZoomMetaKey: { - value: true, - kind: OptionKind.BROWSER - }, - supportsPinchToZoom: { - value: true, - kind: OptionKind.BROWSER - }, - annotationEditorMode: { - value: 0, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - annotationMode: { - value: 2, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - cursorToolOnLoad: { - value: 0, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - debuggerSrc: { - value: "./debugger.mjs", - kind: OptionKind.VIEWER - }, - defaultZoomDelay: { - value: 400, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - defaultZoomValue: { - value: "", - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - disableHistory: { - value: false, - kind: OptionKind.VIEWER - }, - disablePageLabels: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enableHighlightEditor: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enableHighlightFloatingButton: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enableML: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enablePermissions: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enablePrintAutoRotate: { - value: true, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enableScripting: { - value: true, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - enableStampEditor: { - value: true, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - externalLinkRel: { - value: "noopener noreferrer nofollow", - kind: OptionKind.VIEWER - }, - externalLinkTarget: { - value: 0, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - highlightEditorColors: { - value: "yellow=#FFFF98,green=#53FFBC,blue=#80EBFF,pink=#FFCBE6,red=#FF4F5F", - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - historyUpdateUrl: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - ignoreDestinationZoom: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - imageResourcesPath: { - // CUSTOM_FOR_SEAFILE - value: SEAFILE_PDFJS_DIR + "/web/images/", - kind: OptionKind.VIEWER - }, - maxCanvasPixels: { - value: 2 ** 25, - kind: OptionKind.VIEWER - }, - forcePageColors: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - pageColorsBackground: { - value: "Canvas", - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - pageColorsForeground: { - value: "CanvasText", - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - pdfBugEnabled: { - value: false, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - printResolution: { - value: 150, - kind: OptionKind.VIEWER - }, - sidebarViewOnLoad: { - value: -1, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - scrollModeOnLoad: { - value: -1, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - spreadModeOnLoad: { - value: -1, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - textLayerMode: { - value: 1, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - viewOnLoad: { - value: 0, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }, - cMapPacked: { - value: true, - kind: OptionKind.API - }, - cMapUrl: { - // CUSTOM_FOR_SEAFILE - value: SEAFILE_PDFJS_DIR + "/web/cmaps/", - kind: OptionKind.API - }, - disableAutoFetch: { - value: false, - kind: OptionKind.API + OptionKind.PREFERENCE - }, - disableFontFace: { - value: false, - kind: OptionKind.API + OptionKind.PREFERENCE - }, - disableRange: { - value: false, - kind: OptionKind.API + OptionKind.PREFERENCE - }, - disableStream: { - value: false, - kind: OptionKind.API + OptionKind.PREFERENCE - }, - docBaseUrl: { - value: "", - kind: OptionKind.API - }, - enableXfa: { - value: true, - kind: OptionKind.API + OptionKind.PREFERENCE - }, - fontExtraProperties: { - value: false, - kind: OptionKind.API - }, - isEvalSupported: { - // CUSTOM_FOR_SEAFILE - value: false, - kind: OptionKind.API - }, - isOffscreenCanvasSupported: { - value: true, - kind: OptionKind.API - }, - maxImageSize: { - value: -1, - kind: OptionKind.API - }, - pdfBug: { - value: false, - kind: OptionKind.API - }, - standardFontDataUrl: { - // CUSTOM_FOR_SEAFILE - value: SEAFILE_PDFJS_DIR + "/web/standard_fonts/", - kind: OptionKind.API - }, - verbosity: { - value: 1, - kind: OptionKind.API - }, - workerPort: { - value: null, - kind: OptionKind.WORKER - }, - workerSrc: { - // CUSTOM_FOR_SEAFILE - value: SEAFILE_PDFJS_DIR + "/build/pdf.worker.mjs", - kind: OptionKind.WORKER - } -}; -{ - defaultOptions.defaultUrl = { - // CUSTOM_FOR_SEAFILE - value: SEAFILE_FILE_URL, - kind: OptionKind.VIEWER - }; - defaultOptions.sandboxBundleSrc = { - value: "../build/pdf.sandbox.mjs", - kind: OptionKind.VIEWER - }; - defaultOptions.viewerCssTheme = { - value: 0, - kind: OptionKind.VIEWER + OptionKind.PREFERENCE - }; -} -{ - defaultOptions.disablePreferences = { - value: false, - kind: OptionKind.VIEWER - }; - defaultOptions.locale = { - value: navigator.language || "en-US", - kind: OptionKind.VIEWER - }; -} -const userOptions = Object.create(null); -{ - for (const name in compatibilityParams) { - userOptions[name] = compatibilityParams[name]; - } -} -class AppOptions { - constructor() { - throw new Error("Cannot initialize AppOptions."); - } - static get(name) { - return userOptions[name] ?? defaultOptions[name]?.value ?? undefined; - } - static getAll(kind = null, defaultOnly = false) { - const options = Object.create(null); - for (const name in defaultOptions) { - const defaultOption = defaultOptions[name]; - if (kind && !(kind & defaultOption.kind)) { - continue; - } - options[name] = defaultOnly ? defaultOption.value : userOptions[name] ?? defaultOption.value; - } - return options; - } - static set(name, value) { - userOptions[name] = value; - } - static setAll(options, init = false) { - if (init) { - if (this.get("disablePreferences")) { - return; - } - for (const name in userOptions) { - if (compatibilityParams[name] !== undefined) { - continue; - } - console.warn("setAll: The Preferences may override manually set AppOptions; " + 'please use the "disablePreferences"-option in order to prevent that.'); - break; - } - } - for (const name in options) { - userOptions[name] = options[name]; - } - } - static remove(name) { - delete userOptions[name]; - const val = compatibilityParams[name]; - if (val !== undefined) { - userOptions[name] = val; - } - } -} - - -/***/ }), - -/***/ 2961: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ BaseTreeViewer: () => (/* binding */ BaseTreeViewer) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); - -const TREEITEM_OFFSET_TOP = -100; -const TREEITEM_SELECTED_CLASS = "selected"; -class BaseTreeViewer { - constructor(options) { - if (this.constructor === BaseTreeViewer) { - throw new Error("Cannot initialize BaseTreeViewer."); - } - this.container = options.container; - this.eventBus = options.eventBus; - this._l10n = options.l10n; - this.reset(); - } - reset() { - this._pdfDocument = null; - this._lastToggleIsShow = true; - this._currentTreeItem = null; - this.container.textContent = ""; - this.container.classList.remove("treeWithDeepNesting"); - } - _dispatchEvent(count) { - throw new Error("Not implemented: _dispatchEvent"); - } - _bindLink(element, params) { - throw new Error("Not implemented: _bindLink"); - } - _normalizeTextContent(str) { - return (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.removeNullCharacters)(str, true) || "\u2013"; - } - _addToggleButton(div, hidden = false) { - const toggler = document.createElement("div"); - toggler.className = "treeItemToggler"; - if (hidden) { - toggler.classList.add("treeItemsHidden"); - } - toggler.onclick = evt => { - evt.stopPropagation(); - toggler.classList.toggle("treeItemsHidden"); - if (evt.shiftKey) { - const shouldShowAll = !toggler.classList.contains("treeItemsHidden"); - this._toggleTreeItem(div, shouldShowAll); - } - }; - div.prepend(toggler); - } - _toggleTreeItem(root, show = false) { - this._l10n.pause(); - this._lastToggleIsShow = show; - for (const toggler of root.querySelectorAll(".treeItemToggler")) { - toggler.classList.toggle("treeItemsHidden", !show); - } - this._l10n.resume(); - } - _toggleAllTreeItems() { - this._toggleTreeItem(this.container, !this._lastToggleIsShow); - } - _finishRendering(fragment, count, hasAnyNesting = false) { - if (hasAnyNesting) { - this.container.classList.add("treeWithDeepNesting"); - this._lastToggleIsShow = !fragment.querySelector(".treeItemsHidden"); - } - this._l10n.pause(); - this.container.append(fragment); - this._l10n.resume(); - this._dispatchEvent(count); - } - render(params) { - throw new Error("Not implemented: render"); - } - _updateCurrentTreeItem(treeItem = null) { - if (this._currentTreeItem) { - this._currentTreeItem.classList.remove(TREEITEM_SELECTED_CLASS); - this._currentTreeItem = null; - } - if (treeItem) { - treeItem.classList.add(TREEITEM_SELECTED_CLASS); - this._currentTreeItem = treeItem; - } - } - _scrollToCurrentTreeItem(treeItem) { - if (!treeItem) { - return; - } - this._l10n.pause(); - let currentNode = treeItem.parentNode; - while (currentNode && currentNode !== this.container) { - if (currentNode.classList.contains("treeItem")) { - const toggler = currentNode.firstElementChild; - toggler?.classList.remove("treeItemsHidden"); - } - currentNode = currentNode.parentNode; - } - this._l10n.resume(); - this._updateCurrentTreeItem(treeItem); - this.container.scrollTo(treeItem.offsetLeft, treeItem.offsetTop + TREEITEM_OFFSET_TOP); - } -} - - -/***/ }), - -/***/ 3973: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ CaretBrowsingMode: () => (/* binding */ CaretBrowsingMode) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); - -const PRECISION = 1e-1; -class CaretBrowsingMode { - #mainContainer; - #toolBarHeight; - #viewerContainer; - constructor(mainContainer, viewerContainer, toolbarContainer) { - this.#mainContainer = mainContainer; - this.#viewerContainer = viewerContainer; - this.#toolBarHeight = toolbarContainer?.getBoundingClientRect().height ?? 0; - } - #isOnSameLine(rect1, rect2) { - const top1 = rect1.y; - const bot1 = rect1.bottom; - const mid1 = rect1.y + rect1.height / 2; - const top2 = rect2.y; - const bot2 = rect2.bottom; - const mid2 = rect2.y + rect2.height / 2; - return top1 <= mid2 && mid2 <= bot1 || top2 <= mid1 && mid1 <= bot2; - } - #isUnderOver(rect, x, y, isUp) { - const midY = rect.y + rect.height / 2; - return (isUp ? y >= midY : y <= midY) && rect.x - PRECISION <= x && x <= rect.right + PRECISION; - } - #isVisible(rect) { - return rect.top >= this.#toolBarHeight && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth); - } - #getCaretPosition(selection, isUp) { - const { - focusNode, - focusOffset - } = selection; - const range = document.createRange(); - range.setStart(focusNode, focusOffset); - range.setEnd(focusNode, focusOffset); - const rect = range.getBoundingClientRect(); - return [rect.x, isUp ? rect.top : rect.bottom]; - } - static #caretPositionFromPoint(x, y) { - if (!document.caretPositionFromPoint) { - const { - startContainer: offsetNode, - startOffset: offset - } = document.caretRangeFromPoint(x, y); - return { - offsetNode, - offset - }; - } - return document.caretPositionFromPoint(x, y); - } - #setCaretPositionHelper(selection, caretX, select, element, rect) { - rect ||= element.getBoundingClientRect(); - if (caretX <= rect.x + PRECISION) { - if (select) { - selection.extend(element.firstChild, 0); - } else { - selection.setPosition(element.firstChild, 0); - } - return; - } - if (rect.right - PRECISION <= caretX) { - const { - lastChild - } = element; - if (select) { - selection.extend(lastChild, lastChild.length); - } else { - selection.setPosition(lastChild, lastChild.length); - } - return; - } - const midY = rect.y + rect.height / 2; - let caretPosition = CaretBrowsingMode.#caretPositionFromPoint(caretX, midY); - let parentElement = caretPosition.offsetNode?.parentElement; - if (parentElement && parentElement !== element) { - const elementsAtPoint = document.elementsFromPoint(caretX, midY); - const savedVisibilities = []; - for (const el of elementsAtPoint) { - if (el === element) { - break; - } - const { - style - } = el; - savedVisibilities.push([el, style.visibility]); - style.visibility = "hidden"; - } - caretPosition = CaretBrowsingMode.#caretPositionFromPoint(caretX, midY); - parentElement = caretPosition.offsetNode?.parentElement; - for (const [el, visibility] of savedVisibilities) { - el.style.visibility = visibility; - } - } - if (parentElement !== element) { - if (select) { - selection.extend(element.firstChild, 0); - } else { - selection.setPosition(element.firstChild, 0); - } - return; - } - if (select) { - selection.extend(caretPosition.offsetNode, caretPosition.offset); - } else { - selection.setPosition(caretPosition.offsetNode, caretPosition.offset); - } - } - #setCaretPosition(select, selection, newLineElement, newLineElementRect, caretX) { - if (this.#isVisible(newLineElementRect)) { - this.#setCaretPositionHelper(selection, caretX, select, newLineElement, newLineElementRect); - return; - } - this.#mainContainer.addEventListener("scrollend", this.#setCaretPositionHelper.bind(this, selection, caretX, select, newLineElement, null), { - once: true - }); - newLineElement.scrollIntoView(); - } - #getNodeOnNextPage(textLayer, isUp) { - while (true) { - const page = textLayer.closest(".page"); - const pageNumber = parseInt(page.getAttribute("data-page-number")); - const nextPage = isUp ? pageNumber - 1 : pageNumber + 1; - textLayer = this.#viewerContainer.querySelector(`.page[data-page-number="${nextPage}"] .textLayer`); - if (!textLayer) { - return null; - } - const walker = document.createTreeWalker(textLayer, NodeFilter.SHOW_TEXT); - const node = isUp ? walker.lastChild() : walker.firstChild(); - if (node) { - return node; - } - } - } - moveCaret(isUp, select) { - const selection = document.getSelection(); - if (selection.rangeCount === 0) { - return; - } - const { - focusNode - } = selection; - const focusElement = focusNode.nodeType !== Node.ELEMENT_NODE ? focusNode.parentElement : focusNode; - const root = focusElement.closest(".textLayer"); - if (!root) { - return; - } - const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT); - walker.currentNode = focusNode; - const focusRect = focusElement.getBoundingClientRect(); - let newLineElement = null; - const nodeIterator = (isUp ? walker.previousSibling : walker.nextSibling).bind(walker); - while (nodeIterator()) { - const element = walker.currentNode.parentElement; - if (!this.#isOnSameLine(focusRect, element.getBoundingClientRect())) { - newLineElement = element; - break; - } - } - if (!newLineElement) { - const node = this.#getNodeOnNextPage(root, isUp); - if (!node) { - return; - } - if (select) { - const lastNode = (isUp ? walker.firstChild() : walker.lastChild()) || focusNode; - selection.extend(lastNode, isUp ? 0 : lastNode.length); - const range = document.createRange(); - range.setStart(node, isUp ? node.length : 0); - range.setEnd(node, isUp ? node.length : 0); - selection.addRange(range); - return; - } - const [caretX] = this.#getCaretPosition(selection, isUp); - const { - parentElement - } = node; - this.#setCaretPosition(select, selection, parentElement, parentElement.getBoundingClientRect(), caretX); - return; - } - const [caretX, caretY] = this.#getCaretPosition(selection, isUp); - const newLineElementRect = newLineElement.getBoundingClientRect(); - if (this.#isUnderOver(newLineElementRect, caretX, caretY, isUp)) { - this.#setCaretPosition(select, selection, newLineElement, newLineElementRect, caretX); - return; - } - while (nodeIterator()) { - const element = walker.currentNode.parentElement; - const elementRect = element.getBoundingClientRect(); - if (!this.#isOnSameLine(newLineElementRect, elementRect)) { - break; - } - if (this.#isUnderOver(elementRect, caretX, caretY, isUp)) { - this.#setCaretPosition(select, selection, element, elementRect, caretX); - return; - } - } - this.#setCaretPosition(select, selection, newLineElement, newLineElementRect, caretX); - } -} - - -/***/ }), - -/***/ 1544: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ DownloadManager: () => (/* binding */ DownloadManager) -/* harmony export */ }); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8721); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_3__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - -function download(blobUrl, filename) { - const a = document.createElement("a"); - if (!a.click) { - throw new Error('DownloadManager: "a.click()" is not supported.'); - } - a.href = blobUrl; - a.target = "_parent"; - if ("download" in a) { - a.download = filename; - } - (document.body || document.documentElement).append(a); - a.click(); - a.remove(); -} -class DownloadManager { - #openBlobUrls = new WeakMap(); - downloadUrl(url, filename, _options) { - if (!(0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_3__.createValidAbsoluteUrl)(url, "http://example.com")) { - console.error(`downloadUrl - not a valid URL: ${url}`); - return; - } - download(url + "#pdfjs.action=download", filename); - } - downloadData(data, filename, contentType) { - const blobUrl = URL.createObjectURL(new Blob([data], { - type: contentType - })); - download(blobUrl, filename); - } - openOrDownloadData(data, filename, dest = null) { - const isPdfData = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_3__.isPdfFile)(filename); - const contentType = isPdfData ? "application/pdf" : ""; - if (isPdfData) { - let blobUrl = this.#openBlobUrls.get(data); - if (!blobUrl) { - blobUrl = URL.createObjectURL(new Blob([data], { - type: contentType - })); - this.#openBlobUrls.set(data, blobUrl); - } - let viewerUrl; - viewerUrl = "?file=" + encodeURIComponent(blobUrl + "#" + filename); - if (dest) { - viewerUrl += `#${escape(dest)}`; - } - try { - window.open(viewerUrl); - return true; - } catch (ex) { - console.error(`openOrDownloadData: ${ex}`); - URL.revokeObjectURL(blobUrl); - this.#openBlobUrls.delete(data); - } - } - this.downloadData(data, filename, contentType); - return false; - } - download(blob, url, filename, _options) { - const blobUrl = URL.createObjectURL(blob); - download(blobUrl, filename); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 3088: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ DrawLayerBuilder: () => (/* binding */ DrawLayerBuilder) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - -class DrawLayerBuilder { - #drawLayer = null; - constructor(options) { - this.pageIndex = options.pageIndex; - } - async render(intent = "display") { - if (intent !== "display" || this.#drawLayer || this._cancelled) { - return; - } - this.#drawLayer = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.DrawLayer({ - pageIndex: this.pageIndex - }); - } - cancel() { - this._cancelled = true; - if (!this.#drawLayer) { - return; - } - this.#drawLayer.destroy(); - this.#drawLayer = null; - } - setParent(parent) { - this.#drawLayer?.setParent(parent); - } - getDrawLayer() { - return this.#drawLayer; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 5656: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AutomationEventBus: () => (/* binding */ AutomationEventBus), -/* harmony export */ EventBus: () => (/* binding */ EventBus), -/* harmony export */ waitOnEventOrTimeout: () => (/* binding */ waitOnEventOrTimeout) -/* harmony export */ }); -/* unused harmony export WaitOnType */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); - - -const WaitOnType = { - EVENT: "event", - TIMEOUT: "timeout" -}; -async function waitOnEventOrTimeout({ - target, - name, - delay = 0 -}) { - if (typeof target !== "object" || !(name && typeof name === "string") || !(Number.isInteger(delay) && delay >= 0)) { - throw new Error("waitOnEventOrTimeout - invalid parameters."); - } - const { - promise, - resolve - } = Promise.withResolvers(); - const ac = new AbortController(); - function handler(type) { - ac.abort(); - clearTimeout(timeout); - resolve(type); - } - const evtMethod = target instanceof EventBus ? "_on" : "addEventListener"; - target[evtMethod](name, handler.bind(null, WaitOnType.EVENT), { - signal: ac.signal - }); - const timeout = setTimeout(handler.bind(null, WaitOnType.TIMEOUT), delay); - return promise; -} -class EventBus { - #listeners = Object.create(null); - on(eventName, listener, options = null) { - this._on(eventName, listener, { - external: true, - once: options?.once, - signal: options?.signal - }); - } - off(eventName, listener, options = null) { - this._off(eventName, listener); - } - dispatch(eventName, data) { - const eventListeners = this.#listeners[eventName]; - if (!eventListeners || eventListeners.length === 0) { - return; - } - let externalListeners; - for (const { - listener, - external, - once - } of eventListeners.slice(0)) { - if (once) { - this._off(eventName, listener); - } - if (external) { - (externalListeners ||= []).push(listener); - continue; - } - listener(data); - } - if (externalListeners) { - for (const listener of externalListeners) { - listener(data); - } - externalListeners = null; - } - } - _on(eventName, listener, options = null) { - let rmAbort = null; - if (options?.signal instanceof AbortSignal) { - const { - signal - } = options; - if (signal.aborted) { - console.error("Cannot use an `aborted` signal."); - return; - } - const onAbort = () => this._off(eventName, listener); - rmAbort = () => signal.removeEventListener("abort", onAbort); - signal.addEventListener("abort", onAbort); - } - const eventListeners = this.#listeners[eventName] ||= []; - eventListeners.push({ - listener, - external: options?.external === true, - once: options?.once === true, - rmAbort - }); - } - _off(eventName, listener, options = null) { - const eventListeners = this.#listeners[eventName]; - if (!eventListeners) { - return; - } - for (let i = 0, ii = eventListeners.length; i < ii; i++) { - const evt = eventListeners[i]; - if (evt.listener === listener) { - evt.rmAbort?.(); - eventListeners.splice(i, 1); - return; - } - } - } -} -class AutomationEventBus extends EventBus { - dispatch(eventName, data) { - throw new Error("Not implemented: AutomationEventBus.dispatch"); - } -} - - -/***/ }), - -/***/ 4290: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ BaseExternalServices: () => (/* binding */ BaseExternalServices) -/* harmony export */ }); -class BaseExternalServices { - constructor() { - if (this.constructor === BaseExternalServices) { - throw new Error("Cannot initialize BaseExternalServices."); - } - } - updateFindControlState(data) {} - updateFindMatchesCount(data) {} - initPassiveLoading() {} - reportTelemetry(data) {} - async createL10n() { - throw new Error("Not implemented: createL10n"); - } - createScripting() { - throw new Error("Not implemented: createScripting"); - } - updateEditorStates(data) { - throw new Error("Not implemented: updateEditorStates"); - } - async getNimbusExperimentData() {} -} - - -/***/ }), - -/***/ 289: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ GenericScripting: () => (/* binding */ GenericScripting) -/* harmony export */ }); -/* unused harmony export docProperties */ -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - -async function docProperties(pdfDocument) { - const url = "", - baseUrl = url.split("#", 1)[0]; - let { - info, - metadata, - contentDispositionFilename, - contentLength - } = await pdfDocument.getMetadata(); - if (!contentLength) { - const { - length - } = await pdfDocument.getDownloadInfo(); - contentLength = length; - } - return { - ...info, - baseURL: baseUrl, - filesize: contentLength, - filename: contentDispositionFilename || getPdfFilenameFromUrl(url), - metadata: metadata?.getRaw(), - authors: metadata?.get("dc:creator"), - numPages: pdfDocument.numPages, - URL: url - }; -} -class GenericScripting { - constructor(sandboxBundleSrc) { - this._ready = new Promise((resolve, reject) => { - const sandbox = import( /*webpackIgnore: true*/sandboxBundleSrc); - sandbox.then(pdfjsSandbox => { - resolve(pdfjsSandbox.QuickJSSandbox()); - }).catch(reject); - }); - } - async createSandbox(data) { - const sandbox = await this._ready; - sandbox.create(data); - } - async dispatchEventInSandbox(event) { - const sandbox = await this._ready; - setTimeout(() => sandbox.dispatchEvent(event), 0); - } - async destroySandbox() { - const sandbox = await this._ready; - sandbox.nukeSandbox(); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 6750: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ExternalServices: () => (/* binding */ ExternalServices), -/* harmony export */ MLManager: () => (/* binding */ MLManager), -/* harmony export */ Preferences: () => (/* binding */ Preferences), -/* harmony export */ initCom: () => (/* binding */ initCom) -/* harmony export */ }); -/* harmony import */ var core_js_modules_esnext_json_parse_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8335); -/* harmony import */ var _app_options_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9840); -/* harmony import */ var _external_services_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4290); -/* harmony import */ var _preferences_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8224); -/* harmony import */ var _genericl10n_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(410); -/* harmony import */ var _generic_scripting_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(289); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_genericl10n_js__WEBPACK_IMPORTED_MODULE_3__, _generic_scripting_js__WEBPACK_IMPORTED_MODULE_4__]); -([_genericl10n_js__WEBPACK_IMPORTED_MODULE_3__, _generic_scripting_js__WEBPACK_IMPORTED_MODULE_4__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - -function initCom(app) {} -class Preferences extends _preferences_js__WEBPACK_IMPORTED_MODULE_2__.BasePreferences { - async _writeToStorage(prefObj) { - localStorage.setItem("pdfjs.preferences", JSON.stringify(prefObj)); - } - async _readFromStorage(prefObj) { - return { - prefs: JSON.parse(localStorage.getItem("pdfjs.preferences")) - }; - } -} -class ExternalServices extends _external_services_js__WEBPACK_IMPORTED_MODULE_5__.BaseExternalServices { - async createL10n() { - return new _genericl10n_js__WEBPACK_IMPORTED_MODULE_3__.GenericL10n(_app_options_js__WEBPACK_IMPORTED_MODULE_1__.AppOptions.get("locale")); - } - createScripting() { - return new _generic_scripting_js__WEBPACK_IMPORTED_MODULE_4__.GenericScripting(_app_options_js__WEBPACK_IMPORTED_MODULE_1__.AppOptions.get("sandboxBundleSrc")); - } -} -class MLManager { - async guess() { - return null; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 410: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ GenericL10n: () => (/* binding */ GenericL10n) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8721); -/* harmony import */ var fluent_bundle__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(588); -/* harmony import */ var fluent_dom__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5273); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(2603); -/* harmony import */ var _l10n_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4693); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_6__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_6__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - - - - - -function createBundle(lang, text) { - const resource = new fluent_bundle__WEBPACK_IMPORTED_MODULE_4__.FluentResource(text); - const bundle = new fluent_bundle__WEBPACK_IMPORTED_MODULE_4__.FluentBundle(lang); - const errors = bundle.addResource(resource); - if (errors.length) { - console.error("L10n errors", errors); - } - return bundle; -} -class GenericL10n extends _l10n_js__WEBPACK_IMPORTED_MODULE_7__.L10n { - constructor(lang) { - super({ - lang - }); - const generateBundles = !lang ? GenericL10n.#generateBundlesFallback.bind(GenericL10n, this.getLanguage()) : GenericL10n.#generateBundles.bind(GenericL10n, "en-us", this.getLanguage()); - this._setL10n(new fluent_dom__WEBPACK_IMPORTED_MODULE_5__.DOMLocalization([], generateBundles)); - } - static async *#generateBundles(defaultLang, baseLang) { - const { - baseURL, - paths - } = await this.#getPaths(); - const langs = [baseLang]; - if (defaultLang !== baseLang) { - const shortLang = baseLang.split("-", 1)[0]; - if (shortLang !== baseLang) { - langs.push(shortLang); - } - langs.push(defaultLang); - } - for (const lang of langs) { - const bundle = await this.#createBundle(lang, baseURL, paths); - if (bundle) { - yield bundle; - } - if (lang === "en-us") { - yield this.#createBundleFallback(lang); - } - } - } - static async #createBundle(lang, baseURL, paths) { - const path = paths[lang]; - if (!path) { - return null; - } - const url = new URL(path, baseURL); - const text = await (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_6__.fetchData)(url, "text"); - return createBundle(lang, text); - } - static async #getPaths() { - try { - const { - href - } = document.querySelector(`link[type="application/l10n"]`); - const paths = await (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_6__.fetchData)(href, "json"); - return { - baseURL: href.replace(/[^/]*$/, "") || "./", - paths - }; - } catch {} - return { - baseURL: "./", - paths: Object.create(null) - }; - } - static async *#generateBundlesFallback(lang) { - yield this.#createBundleFallback(lang); - } - static async #createBundleFallback(lang) { - const text = "pdfjs-previous-button =\n .title = Previous Page\npdfjs-previous-button-label = Previous\npdfjs-next-button =\n .title = Next Page\npdfjs-next-button-label = Next\npdfjs-page-input =\n .title = Page\npdfjs-of-pages = of { $pagesCount }\npdfjs-page-of-pages = ({ $pageNumber } of { $pagesCount })\npdfjs-zoom-out-button =\n .title = Zoom Out\npdfjs-zoom-out-button-label = Zoom Out\npdfjs-zoom-in-button =\n .title = Zoom In\npdfjs-zoom-in-button-label = Zoom In\npdfjs-zoom-select =\n .title = Zoom\npdfjs-presentation-mode-button =\n .title = Switch to Presentation Mode\npdfjs-presentation-mode-button-label = Presentation Mode\npdfjs-open-file-button =\n .title = Open File\npdfjs-open-file-button-label = Open\npdfjs-print-button =\n .title = Print\npdfjs-print-button-label = Print\npdfjs-save-button =\n .title = Save\npdfjs-save-button-label = Save\npdfjs-download-button =\n .title = Download\npdfjs-download-button-label = Download\npdfjs-bookmark-button =\n .title = Current Page (View URL from Current Page)\npdfjs-bookmark-button-label = Current Page\npdfjs-tools-button =\n .title = Tools\npdfjs-tools-button-label = Tools\npdfjs-first-page-button =\n .title = Go to First Page\npdfjs-first-page-button-label = Go to First Page\npdfjs-last-page-button =\n .title = Go to Last Page\npdfjs-last-page-button-label = Go to Last Page\npdfjs-page-rotate-cw-button =\n .title = Rotate Clockwise\npdfjs-page-rotate-cw-button-label = Rotate Clockwise\npdfjs-page-rotate-ccw-button =\n .title = Rotate Counterclockwise\npdfjs-page-rotate-ccw-button-label = Rotate Counterclockwise\npdfjs-cursor-text-select-tool-button =\n .title = Enable Text Selection Tool\npdfjs-cursor-text-select-tool-button-label = Text Selection Tool\npdfjs-cursor-hand-tool-button =\n .title = Enable Hand Tool\npdfjs-cursor-hand-tool-button-label = Hand Tool\npdfjs-scroll-page-button =\n .title = Use Page Scrolling\npdfjs-scroll-page-button-label = Page Scrolling\npdfjs-scroll-vertical-button =\n .title = Use Vertical Scrolling\npdfjs-scroll-vertical-button-label = Vertical Scrolling\npdfjs-scroll-horizontal-button =\n .title = Use Horizontal Scrolling\npdfjs-scroll-horizontal-button-label = Horizontal Scrolling\npdfjs-scroll-wrapped-button =\n .title = Use Wrapped Scrolling\npdfjs-scroll-wrapped-button-label = Wrapped Scrolling\npdfjs-spread-none-button =\n .title = Do not join page spreads\npdfjs-spread-none-button-label = No Spreads\npdfjs-spread-odd-button =\n .title = Join page spreads starting with odd-numbered pages\npdfjs-spread-odd-button-label = Odd Spreads\npdfjs-spread-even-button =\n .title = Join page spreads starting with even-numbered pages\npdfjs-spread-even-button-label = Even Spreads\npdfjs-document-properties-button =\n .title = Document Properties\u2026\npdfjs-document-properties-button-label = Document Properties\u2026\npdfjs-document-properties-file-name = File name:\npdfjs-document-properties-file-size = File size:\npdfjs-document-properties-kb = { $size_kb } KB ({ $size_b } bytes)\npdfjs-document-properties-mb = { $size_mb } MB ({ $size_b } bytes)\npdfjs-document-properties-title = Title:\npdfjs-document-properties-author = Author:\npdfjs-document-properties-subject = Subject:\npdfjs-document-properties-keywords = Keywords:\npdfjs-document-properties-creation-date = Creation Date:\npdfjs-document-properties-modification-date = Modification Date:\npdfjs-document-properties-date-string = { $date }, { $time }\npdfjs-document-properties-creator = Creator:\npdfjs-document-properties-producer = PDF Producer:\npdfjs-document-properties-version = PDF Version:\npdfjs-document-properties-page-count = Page Count:\npdfjs-document-properties-page-size = Page Size:\npdfjs-document-properties-page-size-unit-inches = in\npdfjs-document-properties-page-size-unit-millimeters = mm\npdfjs-document-properties-page-size-orientation-portrait = portrait\npdfjs-document-properties-page-size-orientation-landscape = landscape\npdfjs-document-properties-page-size-name-a-three = A3\npdfjs-document-properties-page-size-name-a-four = A4\npdfjs-document-properties-page-size-name-letter = Letter\npdfjs-document-properties-page-size-name-legal = Legal\npdfjs-document-properties-page-size-dimension-string = { $width } \xD7 { $height } { $unit } ({ $orientation })\npdfjs-document-properties-page-size-dimension-name-string = { $width } \xD7 { $height } { $unit } ({ $name }, { $orientation })\npdfjs-document-properties-linearized = Fast Web View:\npdfjs-document-properties-linearized-yes = Yes\npdfjs-document-properties-linearized-no = No\npdfjs-document-properties-close-button = Close\npdfjs-print-progress-message = Preparing document for printing\u2026\npdfjs-print-progress-percent = { $progress }%\npdfjs-print-progress-close-button = Cancel\npdfjs-printing-not-supported = Warning: Printing is not fully supported by this browser.\npdfjs-printing-not-ready = Warning: The PDF is not fully loaded for printing.\npdfjs-toggle-sidebar-button =\n .title = Toggle Sidebar\npdfjs-toggle-sidebar-notification-button =\n .title = Toggle Sidebar (document contains outline/attachments/layers)\npdfjs-toggle-sidebar-button-label = Toggle Sidebar\npdfjs-document-outline-button =\n .title = Show Document Outline (double-click to expand/collapse all items)\npdfjs-document-outline-button-label = Document Outline\npdfjs-attachments-button =\n .title = Show Attachments\npdfjs-attachments-button-label = Attachments\npdfjs-layers-button =\n .title = Show Layers (double-click to reset all layers to the default state)\npdfjs-layers-button-label = Layers\npdfjs-thumbs-button =\n .title = Show Thumbnails\npdfjs-thumbs-button-label = Thumbnails\npdfjs-current-outline-item-button =\n .title = Find Current Outline Item\npdfjs-current-outline-item-button-label = Current Outline Item\npdfjs-findbar-button =\n .title = Find in Document\npdfjs-findbar-button-label = Find\npdfjs-additional-layers = Additional Layers\npdfjs-thumb-page-title =\n .title = Page { $page }\npdfjs-thumb-page-canvas =\n .aria-label = Thumbnail of Page { $page }\npdfjs-find-input =\n .title = Find\n .placeholder = Find in document\u2026\npdfjs-find-previous-button =\n .title = Find the previous occurrence of the phrase\npdfjs-find-previous-button-label = Previous\npdfjs-find-next-button =\n .title = Find the next occurrence of the phrase\npdfjs-find-next-button-label = Next\npdfjs-find-highlight-checkbox = Highlight All\npdfjs-find-match-case-checkbox-label = Match Case\npdfjs-find-match-diacritics-checkbox-label = Match Diacritics\npdfjs-find-entire-word-checkbox-label = Whole Words\npdfjs-find-reached-top = Reached top of document, continued from bottom\npdfjs-find-reached-bottom = Reached end of document, continued from top\npdfjs-find-match-count =\n { $total ->\n [one] { $current } of { $total } match\n *[other] { $current } of { $total } matches\n }\npdfjs-find-match-count-limit =\n { $limit ->\n [one] More than { $limit } match\n *[other] More than { $limit } matches\n }\npdfjs-find-not-found = Phrase not found\npdfjs-page-scale-width = Page Width\npdfjs-page-scale-fit = Page Fit\npdfjs-page-scale-auto = Automatic Zoom\npdfjs-page-scale-actual = Actual Size\npdfjs-page-scale-percent = { $scale }%\npdfjs-page-landmark =\n .aria-label = Page { $page }\npdfjs-loading-error = An error occurred while loading the PDF.\npdfjs-invalid-file-error = Invalid or corrupted PDF file.\npdfjs-missing-file-error = Missing PDF file.\npdfjs-unexpected-response-error = Unexpected server response.\npdfjs-rendering-error = An error occurred while rendering the page.\npdfjs-annotation-date-string = { $date }, { $time }\npdfjs-text-annotation-type =\n .alt = [{ $type } Annotation]\npdfjs-password-label = Enter the password to open this PDF file.\npdfjs-password-invalid = Invalid password. Please try again.\npdfjs-password-ok-button = OK\npdfjs-password-cancel-button = Cancel\npdfjs-web-fonts-disabled = Web fonts are disabled: unable to use embedded PDF fonts.\npdfjs-editor-free-text-button =\n .title = Text\npdfjs-editor-free-text-button-label = Text\npdfjs-editor-ink-button =\n .title = Draw\npdfjs-editor-ink-button-label = Draw\npdfjs-editor-stamp-button =\n .title = Add or edit images\npdfjs-editor-stamp-button-label = Add or edit images\npdfjs-editor-highlight-button =\n .title = Highlight\npdfjs-editor-highlight-button-label = Highlight\npdfjs-highlight-floating-button1 =\n .title = Highlight\n .aria-label = Highlight\npdfjs-highlight-floating-button-label = Highlight\npdfjs-editor-remove-ink-button =\n .title = Remove drawing\npdfjs-editor-remove-freetext-button =\n .title = Remove text\npdfjs-editor-remove-stamp-button =\n .title = Remove image\npdfjs-editor-remove-highlight-button =\n .title = Remove highlight\npdfjs-editor-free-text-color-input = Color\npdfjs-editor-free-text-size-input = Size\npdfjs-editor-ink-color-input = Color\npdfjs-editor-ink-thickness-input = Thickness\npdfjs-editor-ink-opacity-input = Opacity\npdfjs-editor-stamp-add-image-button =\n .title = Add image\npdfjs-editor-stamp-add-image-button-label = Add image\npdfjs-editor-free-highlight-thickness-input = Thickness\npdfjs-editor-free-highlight-thickness-title =\n .title = Change thickness when highlighting items other than text\npdfjs-free-text =\n .aria-label = Text Editor\npdfjs-free-text-default-content = Start typing\u2026\npdfjs-ink =\n .aria-label = Draw Editor\npdfjs-ink-canvas =\n .aria-label = User-created image\npdfjs-editor-alt-text-button-label = Alt text\npdfjs-editor-alt-text-edit-button-label = Edit alt text\npdfjs-editor-alt-text-dialog-label = Choose an option\npdfjs-editor-alt-text-dialog-description = Alt text (alternative text) helps when people can\u2019t see the image or when it doesn\u2019t load.\npdfjs-editor-alt-text-add-description-label = Add a description\npdfjs-editor-alt-text-add-description-description = Aim for 1-2 sentences that describe the subject, setting, or actions.\npdfjs-editor-alt-text-mark-decorative-label = Mark as decorative\npdfjs-editor-alt-text-mark-decorative-description = This is used for ornamental images, like borders or watermarks.\npdfjs-editor-alt-text-cancel-button = Cancel\npdfjs-editor-alt-text-save-button = Save\npdfjs-editor-alt-text-decorative-tooltip = Marked as decorative\npdfjs-editor-alt-text-textarea =\n .placeholder = For example, \u201CA young man sits down at a table to eat a meal\u201D\npdfjs-editor-resizer-label-top-left = Top left corner \u2014 resize\npdfjs-editor-resizer-label-top-middle = Top middle \u2014 resize\npdfjs-editor-resizer-label-top-right = Top right corner \u2014 resize\npdfjs-editor-resizer-label-middle-right = Middle right \u2014 resize\npdfjs-editor-resizer-label-bottom-right = Bottom right corner \u2014 resize\npdfjs-editor-resizer-label-bottom-middle = Bottom middle \u2014 resize\npdfjs-editor-resizer-label-bottom-left = Bottom left corner \u2014 resize\npdfjs-editor-resizer-label-middle-left = Middle left \u2014 resize\npdfjs-editor-highlight-colorpicker-label = Highlight color\npdfjs-editor-colorpicker-button =\n .title = Change color\npdfjs-editor-colorpicker-dropdown =\n .aria-label = Color choices\npdfjs-editor-colorpicker-yellow =\n .title = Yellow\npdfjs-editor-colorpicker-green =\n .title = Green\npdfjs-editor-colorpicker-blue =\n .title = Blue\npdfjs-editor-colorpicker-pink =\n .title = Pink\npdfjs-editor-colorpicker-red =\n .title = Red\npdfjs-editor-highlight-show-all-button-label = Show all\npdfjs-editor-highlight-show-all-button =\n .title = Show all"; - return createBundle(lang, text); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2640: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ GrabToPan: () => (/* binding */ GrabToPan) -/* harmony export */ }); -const CSS_CLASS_GRAB = "grab-to-pan-grab"; -class GrabToPan { - constructor({ - element - }) { - this.element = element; - this.document = element.ownerDocument; - this.activate = this.activate.bind(this); - this.deactivate = this.deactivate.bind(this); - this.toggle = this.toggle.bind(this); - this._onMouseDown = this.#onMouseDown.bind(this); - this._onMouseMove = this.#onMouseMove.bind(this); - this._endPan = this.#endPan.bind(this); - const overlay = this.overlay = document.createElement("div"); - overlay.className = "grab-to-pan-grabbing"; - } - activate() { - if (!this.active) { - this.active = true; - this.element.addEventListener("mousedown", this._onMouseDown, true); - this.element.classList.add(CSS_CLASS_GRAB); - } - } - deactivate() { - if (this.active) { - this.active = false; - this.element.removeEventListener("mousedown", this._onMouseDown, true); - this._endPan(); - this.element.classList.remove(CSS_CLASS_GRAB); - } - } - toggle() { - if (this.active) { - this.deactivate(); - } else { - this.activate(); - } - } - ignoreTarget(node) { - return node.matches("a[href], a[href] *, input, textarea, button, button *, select, option"); - } - #onMouseDown(event) { - if (event.button !== 0 || this.ignoreTarget(event.target)) { - return; - } - if (event.originalTarget) { - try { - event.originalTarget.tagName; - } catch { - return; - } - } - this.scrollLeftStart = this.element.scrollLeft; - this.scrollTopStart = this.element.scrollTop; - this.clientXStart = event.clientX; - this.clientYStart = event.clientY; - this.document.addEventListener("mousemove", this._onMouseMove, true); - this.document.addEventListener("mouseup", this._endPan, true); - this.element.addEventListener("scroll", this._endPan, true); - event.preventDefault(); - event.stopPropagation(); - const focusedElement = document.activeElement; - if (focusedElement && !focusedElement.contains(event.target)) { - focusedElement.blur(); - } - } - #onMouseMove(event) { - this.element.removeEventListener("scroll", this._endPan, true); - if (!(event.buttons & 1)) { - this._endPan(); - return; - } - const xDiff = event.clientX - this.clientXStart; - const yDiff = event.clientY - this.clientYStart; - this.element.scrollTo({ - top: this.scrollTopStart - yDiff, - left: this.scrollLeftStart - xDiff, - behavior: "instant" - }); - if (!this.overlay.parentNode) { - document.body.append(this.overlay); - } - } - #endPan() { - this.element.removeEventListener("scroll", this._endPan, true); - this.document.removeEventListener("mousemove", this._onMouseMove, true); - this.document.removeEventListener("mouseup", this._endPan, true); - this.overlay.remove(); - } -} - - -/***/ }), - -/***/ 4693: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ L10n: () => (/* binding */ L10n) -/* harmony export */ }); -/* unused harmony export GenericL10n */ -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1454); - -class L10n { - #dir; - #lang; - #l10n; - constructor({ - lang, - isRTL - }, l10n = null) { - this.#lang = L10n.#fixupLangCode(lang); - this.#l10n = l10n; - this.#dir = isRTL ?? L10n.#isRTL(this.#lang) ? "rtl" : "ltr"; - } - _setL10n(l10n) { - this.#l10n = l10n; - } - getLanguage() { - return this.#lang; - } - getDirection() { - return this.#dir; - } - async get(ids, args = null, fallback) { - if (Array.isArray(ids)) { - ids = ids.map(id => ({ - id - })); - const messages = await this.#l10n.formatMessages(ids); - return messages.map(message => message.value); - } - const messages = await this.#l10n.formatMessages([{ - id: ids, - args - }]); - return messages?.[0].value || fallback; - } - async translate(element) { - try { - this.#l10n.connectRoot(element); - await this.#l10n.translateRoots(); - } catch {} - } - pause() { - this.#l10n.pauseObserving(); - } - resume() { - this.#l10n.resumeObserving(); - } - static #fixupLangCode(langCode) { - langCode = langCode?.toLowerCase() || "en-us"; - const PARTIAL_LANG_CODES = { - en: "en-us", - es: "es-es", - fy: "fy-nl", - ga: "ga-ie", - gu: "gu-in", - hi: "hi-in", - hy: "hy-am", - nb: "nb-no", - ne: "ne-np", - nn: "nn-no", - pa: "pa-in", - pt: "pt-pt", - sv: "sv-se", - zh: "zh-cn" - }; - return PARTIAL_LANG_CODES[langCode] || langCode; - } - static #isRTL(lang) { - const shortCode = lang.split("-", 1)[0]; - return ["ar", "he", "fa", "ps", "ur"].includes(shortCode); - } -} -const GenericL10n = null; - - -/***/ }), - -/***/ 6174: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ OverlayManager: () => (/* binding */ OverlayManager) -/* harmony export */ }); -class OverlayManager { - #overlays = new WeakMap(); - #active = null; - get active() { - return this.#active; - } - async register(dialog, canForceClose = false) { - if (typeof dialog !== "object") { - throw new Error("Not enough parameters."); - } else if (this.#overlays.has(dialog)) { - throw new Error("The overlay is already registered."); - } - this.#overlays.set(dialog, { - canForceClose - }); - dialog.addEventListener("cancel", evt => { - this.#active = null; - }); - } - async open(dialog) { - if (!this.#overlays.has(dialog)) { - throw new Error("The overlay does not exist."); - } else if (this.#active) { - if (this.#active === dialog) { - throw new Error("The overlay is already active."); - } else if (this.#overlays.get(dialog).canForceClose) { - await this.close(); - } else { - throw new Error("Another overlay is currently active."); - } - } - this.#active = dialog; - dialog.showModal(); - } - async close(dialog = this.#active) { - if (!this.#overlays.has(dialog)) { - throw new Error("The overlay does not exist."); - } else if (!this.#active) { - throw new Error("The overlay is currently not active."); - } else if (this.#active !== dialog) { - throw new Error("Another overlay is currently active."); - } - dialog.close(); - this.#active = null; - } -} - - -/***/ }), - -/***/ 2690: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PasswordPrompt: () => (/* binding */ PasswordPrompt) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4628); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -class PasswordPrompt { - #activeCapability = null; - #updateCallback = null; - #reason = null; - constructor(options, overlayManager, isViewerEmbedded = false) { - this.dialog = options.dialog; - this.label = options.label; - this.input = options.input; - this.submitButton = options.submitButton; - this.cancelButton = options.cancelButton; - this.overlayManager = overlayManager; - this._isViewerEmbedded = isViewerEmbedded; - this.submitButton.addEventListener("click", this.#verify.bind(this)); - this.cancelButton.addEventListener("click", this.close.bind(this)); - this.input.addEventListener("keydown", e => { - if (e.keyCode === 13) { - this.#verify(); - } - }); - this.overlayManager.register(this.dialog, true); - this.dialog.addEventListener("close", this.#cancel.bind(this)); - } - async open() { - await this.#activeCapability?.promise; - this.#activeCapability = Promise.withResolvers(); - try { - await this.overlayManager.open(this.dialog); - } catch (ex) { - this.#activeCapability.resolve(); - throw ex; - } - const passwordIncorrect = this.#reason === pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.PasswordResponses.INCORRECT_PASSWORD; - if (!this._isViewerEmbedded || passwordIncorrect) { - this.input.focus(); - } - this.label.setAttribute("data-l10n-id", `pdfjs-password-${passwordIncorrect ? "invalid" : "label"}`); - } - async close() { - if (this.overlayManager.active === this.dialog) { - this.overlayManager.close(this.dialog); - } - } - #verify() { - const password = this.input.value; - if (password?.length > 0) { - this.#invokeCallback(password); - } - } - #cancel() { - this.#invokeCallback(new Error("PasswordPrompt cancelled.")); - this.#activeCapability.resolve(); - } - #invokeCallback(password) { - if (!this.#updateCallback) { - return; - } - this.close(); - this.input.value = ""; - this.#updateCallback(password); - this.#updateCallback = null; - } - async setUpdateCallback(updateCallback, reason) { - if (this.#activeCapability) { - await this.#activeCapability.promise; - } - this.#updateCallback = updateCallback; - this.#reason = reason; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 9251: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFAttachmentViewer: () => (/* binding */ PDFAttachmentViewer) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4628); -/* harmony import */ var _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2961); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2603); -/* harmony import */ var _event_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5656); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - -class PDFAttachmentViewer extends _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_1__.BaseTreeViewer { - constructor(options) { - super(options); - this.downloadManager = options.downloadManager; - this.eventBus._on("fileattachmentannotation", this.#appendAttachment.bind(this)); - } - reset(keepRenderedCapability = false) { - super.reset(); - this._attachments = null; - if (!keepRenderedCapability) { - this._renderedCapability = Promise.withResolvers(); - } - this._pendingDispatchEvent = false; - } - async _dispatchEvent(attachmentsCount) { - this._renderedCapability.resolve(); - if (attachmentsCount === 0 && !this._pendingDispatchEvent) { - this._pendingDispatchEvent = true; - await (0,_event_utils_js__WEBPACK_IMPORTED_MODULE_3__.waitOnEventOrTimeout)({ - target: this.eventBus, - name: "annotationlayerrendered", - delay: 1000 - }); - if (!this._pendingDispatchEvent) { - return; - } - } - this._pendingDispatchEvent = false; - this.eventBus.dispatch("attachmentsloaded", { - source: this, - attachmentsCount - }); - } - _bindLink(element, { - content, - filename - }) { - element.onclick = () => { - this.downloadManager.openOrDownloadData(content, filename); - return false; - }; - } - render({ - attachments, - keepRenderedCapability = false - }) { - if (this._attachments) { - this.reset(keepRenderedCapability); - } - this._attachments = attachments || null; - if (!attachments) { - this._dispatchEvent(0); - return; - } - const fragment = document.createDocumentFragment(); - let attachmentsCount = 0; - for (const name in attachments) { - const item = attachments[name]; - const content = item.content, - filename = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__.getFilenameFromUrl)(item.filename, true); - const div = document.createElement("div"); - div.className = "treeItem"; - const element = document.createElement("a"); - this._bindLink(element, { - content, - filename - }); - element.textContent = this._normalizeTextContent(filename); - div.append(element); - fragment.append(div); - attachmentsCount++; - } - this._finishRendering(fragment, attachmentsCount); - } - #appendAttachment({ - filename, - content - }) { - const renderedPromise = this._renderedCapability.promise; - renderedPromise.then(() => { - if (renderedPromise !== this._renderedCapability.promise) { - return; - } - const attachments = this._attachments || Object.create(null); - for (const name in attachments) { - if (filename === name) { - return; - } - } - attachments[filename] = { - filename, - content - }; - this.render({ - attachments, - keepRenderedCapability: true - }); - }); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 5993: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFCursorTools: () => (/* binding */ PDFCursorTools) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -/* harmony import */ var _grab_to_pan_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2640); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - -class PDFCursorTools { - #active = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT; - #prevActive = null; - constructor({ - container, - eventBus, - cursorToolOnLoad = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT - }) { - this.container = container; - this.eventBus = eventBus; - this.#addEventListeners(); - Promise.resolve().then(() => { - this.switchTool(cursorToolOnLoad); - }); - } - get activeTool() { - return this.#active; - } - switchTool(tool) { - if (this.#prevActive !== null) { - return; - } - if (tool === this.#active) { - return; - } - const disableActiveTool = () => { - switch (this.#active) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT: - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.HAND: - this._handTool.deactivate(); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.ZOOM: - } - }; - switch (tool) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT: - disableActiveTool(); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.HAND: - disableActiveTool(); - this._handTool.activate(); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.ZOOM: - default: - console.error(`switchTool: "${tool}" is an unsupported value.`); - return; - } - this.#active = tool; - this.eventBus.dispatch("cursortoolchanged", { - source: this, - tool - }); - } - #addEventListeners() { - this.eventBus._on("switchcursortool", evt => { - if (!evt.reset) { - this.switchTool(evt.tool); - } else if (this.#prevActive !== null) { - annotationEditorMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE; - presentationModeState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.NORMAL; - enableActive(); - } - }); - let annotationEditorMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE, - presentationModeState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.NORMAL; - const disableActive = () => { - const prevActive = this.#active; - this.switchTool(_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT); - this.#prevActive ??= prevActive; - }; - const enableActive = () => { - const prevActive = this.#prevActive; - if (prevActive !== null && annotationEditorMode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE && presentationModeState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.NORMAL) { - this.#prevActive = null; - this.switchTool(prevActive); - } - }; - this.eventBus._on("annotationeditormodechanged", ({ - mode - }) => { - annotationEditorMode = mode; - if (mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE) { - enableActive(); - } else { - disableActive(); - } - }); - this.eventBus._on("presentationmodechanged", ({ - state - }) => { - presentationModeState = state; - if (state === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.NORMAL) { - enableActive(); - } else if (state === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.PresentationModeState.FULLSCREEN) { - disableActive(); - } - }); - } - get _handTool() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.shadow)(this, "_handTool", new _grab_to_pan_js__WEBPACK_IMPORTED_MODULE_2__.GrabToPan({ - element: this.container - })); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 164: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFDocumentProperties: () => (/* binding */ PDFDocumentProperties) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4628); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - -const DEFAULT_FIELD_CONTENT = "-"; -const NON_METRIC_LOCALES = ["en-us", "en-lr", "my"]; -const US_PAGE_NAMES = { - "8.5x11": "letter", - "8.5x14": "legal" -}; -const METRIC_PAGE_NAMES = { - "297x420": "a-three", - "210x297": "a-four" -}; -function getPageName(size, isPortrait, pageNames) { - const width = isPortrait ? size.width : size.height; - const height = isPortrait ? size.height : size.width; - return pageNames[`${width}x${height}`]; -} -class PDFDocumentProperties { - #fieldData = null; - constructor({ - dialog, - fields, - closeButton - }, overlayManager, eventBus, l10n, fileNameLookup) { - this.dialog = dialog; - this.fields = fields; - this.overlayManager = overlayManager; - this.l10n = l10n; - this._fileNameLookup = fileNameLookup; - this.#reset(); - closeButton.addEventListener("click", this.close.bind(this)); - this.overlayManager.register(this.dialog); - eventBus._on("pagechanging", evt => { - this._currentPageNumber = evt.pageNumber; - }); - eventBus._on("rotationchanging", evt => { - this._pagesRotation = evt.pagesRotation; - }); - this._isNonMetricLocale = NON_METRIC_LOCALES.includes(l10n.getLanguage()); - } - async open() { - await Promise.all([this.overlayManager.open(this.dialog), this._dataAvailableCapability.promise]); - const currentPageNumber = this._currentPageNumber; - const pagesRotation = this._pagesRotation; - if (this.#fieldData && currentPageNumber === this.#fieldData._currentPageNumber && pagesRotation === this.#fieldData._pagesRotation) { - this.#updateUI(); - return; - } - const { - info, - contentLength - } = await this.pdfDocument.getMetadata(); - const [fileName, fileSize, creationDate, modificationDate, pageSize, isLinearized] = await Promise.all([this._fileNameLookup(), this.#parseFileSize(contentLength), this.#parseDate(info.CreationDate), this.#parseDate(info.ModDate), this.pdfDocument.getPage(currentPageNumber).then(pdfPage => { - return this.#parsePageSize((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.getPageSizeInches)(pdfPage), pagesRotation); - }), this.#parseLinearization(info.IsLinearized)]); - this.#fieldData = Object.freeze({ - fileName, - fileSize, - title: info.Title, - author: info.Author, - subject: info.Subject, - keywords: info.Keywords, - creationDate, - modificationDate, - creator: info.Creator, - producer: info.Producer, - version: info.PDFFormatVersion, - pageCount: this.pdfDocument.numPages, - pageSize, - linearized: isLinearized, - _currentPageNumber: currentPageNumber, - _pagesRotation: pagesRotation - }); - this.#updateUI(); - const { - length - } = await this.pdfDocument.getDownloadInfo(); - if (contentLength === length) { - return; - } - const data = Object.assign(Object.create(null), this.#fieldData); - data.fileSize = await this.#parseFileSize(length); - this.#fieldData = Object.freeze(data); - this.#updateUI(); - } - async close() { - this.overlayManager.close(this.dialog); - } - setDocument(pdfDocument) { - if (this.pdfDocument) { - this.#reset(); - this.#updateUI(true); - } - if (!pdfDocument) { - return; - } - this.pdfDocument = pdfDocument; - this._dataAvailableCapability.resolve(); - } - #reset() { - this.pdfDocument = null; - this.#fieldData = null; - this._dataAvailableCapability = Promise.withResolvers(); - this._currentPageNumber = 1; - this._pagesRotation = 0; - } - #updateUI(reset = false) { - if (reset || !this.#fieldData) { - for (const id in this.fields) { - this.fields[id].textContent = DEFAULT_FIELD_CONTENT; - } - return; - } - if (this.overlayManager.active !== this.dialog) { - return; - } - for (const id in this.fields) { - const content = this.#fieldData[id]; - this.fields[id].textContent = content || content === 0 ? content : DEFAULT_FIELD_CONTENT; - } - } - async #parseFileSize(fileSize = 0) { - const kb = fileSize / 1024, - mb = kb / 1024; - if (!kb) { - return undefined; - } - return this.l10n.get(`pdfjs-document-properties-${mb >= 1 ? "mb" : "kb"}`, { - size_mb: mb >= 1 && (+mb.toPrecision(3)).toLocaleString(), - size_kb: mb < 1 && (+kb.toPrecision(3)).toLocaleString(), - size_b: fileSize.toLocaleString() - }); - } - async #parsePageSize(pageSizeInches, pagesRotation) { - if (!pageSizeInches) { - return undefined; - } - if (pagesRotation % 180 !== 0) { - pageSizeInches = { - width: pageSizeInches.height, - height: pageSizeInches.width - }; - } - const isPortrait = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.isPortraitOrientation)(pageSizeInches); - let sizeInches = { - width: Math.round(pageSizeInches.width * 100) / 100, - height: Math.round(pageSizeInches.height * 100) / 100 - }; - let sizeMillimeters = { - width: Math.round(pageSizeInches.width * 25.4 * 10) / 10, - height: Math.round(pageSizeInches.height * 25.4 * 10) / 10 - }; - let rawName = getPageName(sizeInches, isPortrait, US_PAGE_NAMES) || getPageName(sizeMillimeters, isPortrait, METRIC_PAGE_NAMES); - if (!rawName && !(Number.isInteger(sizeMillimeters.width) && Number.isInteger(sizeMillimeters.height))) { - const exactMillimeters = { - width: pageSizeInches.width * 25.4, - height: pageSizeInches.height * 25.4 - }; - const intMillimeters = { - width: Math.round(sizeMillimeters.width), - height: Math.round(sizeMillimeters.height) - }; - if (Math.abs(exactMillimeters.width - intMillimeters.width) < 0.1 && Math.abs(exactMillimeters.height - intMillimeters.height) < 0.1) { - rawName = getPageName(intMillimeters, isPortrait, METRIC_PAGE_NAMES); - if (rawName) { - sizeInches = { - width: Math.round(intMillimeters.width / 25.4 * 100) / 100, - height: Math.round(intMillimeters.height / 25.4 * 100) / 100 - }; - sizeMillimeters = intMillimeters; - } - } - } - const [{ - width, - height - }, unit, name, orientation] = await Promise.all([this._isNonMetricLocale ? sizeInches : sizeMillimeters, this.l10n.get(`pdfjs-document-properties-page-size-unit-${this._isNonMetricLocale ? "inches" : "millimeters"}`), rawName && this.l10n.get(`pdfjs-document-properties-page-size-name-${rawName}`), this.l10n.get(`pdfjs-document-properties-page-size-orientation-${isPortrait ? "portrait" : "landscape"}`)]); - return this.l10n.get(`pdfjs-document-properties-page-size-dimension-${name ? "name-" : ""}string`, { - width: width.toLocaleString(), - height: height.toLocaleString(), - unit, - name, - orientation - }); - } - async #parseDate(inputDate) { - const dateObject = pdfjs_lib__WEBPACK_IMPORTED_MODULE_2__.PDFDateString.toDateObject(inputDate); - if (!dateObject) { - return undefined; - } - return this.l10n.get("pdfjs-document-properties-date-string", { - date: dateObject.toLocaleDateString(), - time: dateObject.toLocaleTimeString() - }); - } - #parseLinearization(isLinearized) { - return this.l10n.get(`pdfjs-document-properties-linearized-${isLinearized ? "yes" : "no"}`); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2226: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFFindBar: () => (/* binding */ PDFFindBar) -/* harmony export */ }); -/* harmony import */ var _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9814); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); - - -const MATCHES_COUNT_LIMIT = 1000; -class PDFFindBar { - #resizeObserver = new ResizeObserver(this.#resizeObserverCallback.bind(this)); - constructor(options, eventBus) { - this.opened = false; - this.bar = options.bar; - this.toggleButton = options.toggleButton; - this.findField = options.findField; - this.highlightAll = options.highlightAllCheckbox; - this.caseSensitive = options.caseSensitiveCheckbox; - this.matchDiacritics = options.matchDiacriticsCheckbox; - this.entireWord = options.entireWordCheckbox; - this.findMsg = options.findMsg; - this.findResultsCount = options.findResultsCount; - this.findPreviousButton = options.findPreviousButton; - this.findNextButton = options.findNextButton; - this.eventBus = eventBus; - this.toggleButton.addEventListener("click", () => { - this.toggle(); - }); - this.findField.addEventListener("input", () => { - this.dispatchEvent(""); - }); - this.bar.addEventListener("keydown", e => { - switch (e.keyCode) { - case 13: - if (e.target === this.findField) { - this.dispatchEvent("again", e.shiftKey); - } - break; - case 27: - this.close(); - break; - } - }); - this.findPreviousButton.addEventListener("click", () => { - this.dispatchEvent("again", true); - }); - this.findNextButton.addEventListener("click", () => { - this.dispatchEvent("again", false); - }); - this.highlightAll.addEventListener("click", () => { - this.dispatchEvent("highlightallchange"); - }); - this.caseSensitive.addEventListener("click", () => { - this.dispatchEvent("casesensitivitychange"); - }); - this.entireWord.addEventListener("click", () => { - this.dispatchEvent("entirewordchange"); - }); - this.matchDiacritics.addEventListener("click", () => { - this.dispatchEvent("diacriticmatchingchange"); - }); - } - reset() { - this.updateUIState(); - } - dispatchEvent(type, findPrev = false) { - this.eventBus.dispatch("find", { - source: this, - type, - query: this.findField.value, - caseSensitive: this.caseSensitive.checked, - entireWord: this.entireWord.checked, - highlightAll: this.highlightAll.checked, - findPrevious: findPrev, - matchDiacritics: this.matchDiacritics.checked - }); - } - updateUIState(state, previous, matchesCount) { - const { - findField, - findMsg - } = this; - let findMsgId = "", - status = ""; - switch (state) { - case _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__.FindState.FOUND: - break; - case _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__.FindState.PENDING: - status = "pending"; - break; - case _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__.FindState.NOT_FOUND: - findMsgId = "pdfjs-find-not-found"; - status = "notFound"; - break; - case _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__.FindState.WRAPPED: - findMsgId = `pdfjs-find-reached-${previous ? "top" : "bottom"}`; - break; - } - findField.setAttribute("data-status", status); - findField.setAttribute("aria-invalid", state === _pdf_find_controller_js__WEBPACK_IMPORTED_MODULE_0__.FindState.NOT_FOUND); - findMsg.setAttribute("data-status", status); - if (findMsgId) { - findMsg.setAttribute("data-l10n-id", findMsgId); - } else { - findMsg.removeAttribute("data-l10n-id"); - findMsg.textContent = ""; - } - this.updateResultsCount(matchesCount); - } - updateResultsCount({ - current = 0, - total = 0 - } = {}) { - const { - findResultsCount - } = this; - if (total > 0) { - const limit = MATCHES_COUNT_LIMIT; - findResultsCount.setAttribute("data-l10n-id", `pdfjs-find-match-count${total > limit ? "-limit" : ""}`); - findResultsCount.setAttribute("data-l10n-args", JSON.stringify({ - limit, - current, - total - })); - } else { - findResultsCount.removeAttribute("data-l10n-id"); - findResultsCount.textContent = ""; - } - } - open() { - if (!this.opened) { - this.#resizeObserver.observe(this.bar.parentNode); - this.#resizeObserver.observe(this.bar); - this.opened = true; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleExpandedBtn)(this.toggleButton, true, this.bar); - } - this.findField.select(); - this.findField.focus(); - } - close() { - if (!this.opened) { - return; - } - this.#resizeObserver.disconnect(); - this.opened = false; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleExpandedBtn)(this.toggleButton, false, this.bar); - this.eventBus.dispatch("findbarclose", { - source: this - }); - } - toggle() { - if (this.opened) { - this.close(); - } else { - this.open(); - } - } - #resizeObserverCallback(entries) { - const { - bar - } = this; - bar.classList.remove("wrapContainers"); - const findbarHeight = bar.clientHeight; - const inputContainerHeight = bar.firstElementChild.clientHeight; - if (findbarHeight > inputContainerHeight) { - bar.classList.add("wrapContainers"); - } - } -} - - -/***/ }), - -/***/ 9814: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - FindState: () => (/* binding */ FindState), - PDFFindController: () => (/* binding */ PDFFindController) -}); - -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js -var es_array_push = __webpack_require__(4114); -// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.with-resolvers.js -var es_promise_with_resolvers = __webpack_require__(4628); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js -var esnext_iterator_constructor = __webpack_require__(8992); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js -var esnext_iterator_filter = __webpack_require__(4520); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js -var esnext_iterator_map = __webpack_require__(1454); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.difference.v2.js -var esnext_set_difference_v2 = __webpack_require__(3375); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.intersection.v2.js -var esnext_set_intersection_v2 = __webpack_require__(9225); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-disjoint-from.v2.js -var esnext_set_is_disjoint_from_v2 = __webpack_require__(3972); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js -var esnext_set_is_subset_of_v2 = __webpack_require__(9209); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js -var esnext_set_is_superset_of_v2 = __webpack_require__(5714); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.symmetric-difference.v2.js -var esnext_set_symmetric_difference_v2 = __webpack_require__(7561); -// EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.set.union.v2.js -var esnext_set_union_v2 = __webpack_require__(6197); -// EXTERNAL MODULE: ./web/ui_utils.js -var ui_utils = __webpack_require__(7256); -;// CONCATENATED MODULE: ./web/pdf_find_utils.js - -const CharacterType = { - SPACE: 0, - ALPHA_LETTER: 1, - PUNCT: 2, - HAN_LETTER: 3, - KATAKANA_LETTER: 4, - HIRAGANA_LETTER: 5, - HALFWIDTH_KATAKANA_LETTER: 6, - THAI_LETTER: 7 -}; -function isAlphabeticalScript(charCode) { - return charCode < 0x2e80; -} -function isAscii(charCode) { - return (charCode & 0xff80) === 0; -} -function isAsciiAlpha(charCode) { - return charCode >= 0x61 && charCode <= 0x7a || charCode >= 0x41 && charCode <= 0x5a; -} -function isAsciiDigit(charCode) { - return charCode >= 0x30 && charCode <= 0x39; -} -function isAsciiSpace(charCode) { - return charCode === 0x20 || charCode === 0x09 || charCode === 0x0d || charCode === 0x0a; -} -function isHan(charCode) { - return charCode >= 0x3400 && charCode <= 0x9fff || charCode >= 0xf900 && charCode <= 0xfaff; -} -function isKatakana(charCode) { - return charCode >= 0x30a0 && charCode <= 0x30ff; -} -function isHiragana(charCode) { - return charCode >= 0x3040 && charCode <= 0x309f; -} -function isHalfwidthKatakana(charCode) { - return charCode >= 0xff60 && charCode <= 0xff9f; -} -function isThai(charCode) { - return (charCode & 0xff80) === 0x0e00; -} -function getCharacterType(charCode) { - if (isAlphabeticalScript(charCode)) { - if (isAscii(charCode)) { - if (isAsciiSpace(charCode)) { - return CharacterType.SPACE; - } else if (isAsciiAlpha(charCode) || isAsciiDigit(charCode) || charCode === 0x5f) { - return CharacterType.ALPHA_LETTER; - } - return CharacterType.PUNCT; - } else if (isThai(charCode)) { - return CharacterType.THAI_LETTER; - } else if (charCode === 0xa0) { - return CharacterType.SPACE; - } - return CharacterType.ALPHA_LETTER; - } - if (isHan(charCode)) { - return CharacterType.HAN_LETTER; - } else if (isKatakana(charCode)) { - return CharacterType.KATAKANA_LETTER; - } else if (isHiragana(charCode)) { - return CharacterType.HIRAGANA_LETTER; - } else if (isHalfwidthKatakana(charCode)) { - return CharacterType.HALFWIDTH_KATAKANA_LETTER; - } - return CharacterType.ALPHA_LETTER; -} -let NormalizeWithNFKC; -function getNormalizeWithNFKC() { - NormalizeWithNFKC ||= ` ¨ª¯²-µ¸-º¼-¾IJ-ijĿ-ŀʼnſDŽ-njDZ-dzʰ-ʸ˘-˝ˠ-ˤʹͺ;΄-΅·ϐ-ϖϰ-ϲϴ-ϵϹևٵ-ٸक़-य़ড়-ঢ়য়ਲ਼ਸ਼ਖ਼-ਜ਼ਫ਼ଡ଼-ଢ଼ำຳໜ-ໝ༌གྷཌྷདྷབྷཛྷཀྵჼᴬ-ᴮᴰ-ᴺᴼ-ᵍᵏ-ᵪᵸᶛ-ᶿẚ-ẛάέήίόύώΆ᾽-῁ΈΉ῍-῏ΐΊ῝-῟ΰΎ῭-`ΌΏ´-῾ - ‑‗․-… ″-‴‶-‷‼‾⁇-⁉⁗ ⁰-ⁱ⁴-₎ₐ-ₜ₨℀-℃℅-ℇ℉-ℓℕ-№ℙ-ℝ℠-™ℤΩℨK-ℭℯ-ℱℳ-ℹ℻-⅀ⅅ-ⅉ⅐-ⅿ↉∬-∭∯-∰〈-〉①-⓪⨌⩴-⩶⫝̸ⱼ-ⱽⵯ⺟⻳⼀-⿕ 〶〸-〺゛-゜ゟヿㄱ-ㆎ㆒-㆟㈀-㈞㈠-㉇㉐-㉾㊀-㏿ꚜ-ꚝꝰꟲ-ꟴꟸ-ꟹꭜ-ꭟꭩ豈-嗀塚晴凞-羽蘒諸逸-都飯-舘並-龎ff-stﬓ-ﬗיִײַ-זּטּ-לּמּנּ-סּףּ-פּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-﷼︐-︙︰-﹄﹇-﹒﹔-﹦﹨-﹫ﹰ-ﹲﹴﹶ-ﻼ!-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ¢-₩`; - return NormalizeWithNFKC; -} - -;// CONCATENATED MODULE: ./web/pdf_find_controller.js - - - - - - - - - - - - - - -const FindState = { - FOUND: 0, - NOT_FOUND: 1, - WRAPPED: 2, - PENDING: 3 -}; -const FIND_TIMEOUT = 250; -const MATCH_SCROLL_OFFSET_TOP = -50; -const MATCH_SCROLL_OFFSET_LEFT = -400; -const CHARACTERS_TO_NORMALIZE = { - "\u2010": "-", - "\u2018": "'", - "\u2019": "'", - "\u201A": "'", - "\u201B": "'", - "\u201C": '"', - "\u201D": '"', - "\u201E": '"', - "\u201F": '"', - "\u00BC": "1/4", - "\u00BD": "1/2", - "\u00BE": "3/4" -}; -const DIACRITICS_EXCEPTION = new Set([0x3099, 0x309a, 0x094d, 0x09cd, 0x0a4d, 0x0acd, 0x0b4d, 0x0bcd, 0x0c4d, 0x0ccd, 0x0d3b, 0x0d3c, 0x0d4d, 0x0dca, 0x0e3a, 0x0eba, 0x0f84, 0x1039, 0x103a, 0x1714, 0x1734, 0x17d2, 0x1a60, 0x1b44, 0x1baa, 0x1bab, 0x1bf2, 0x1bf3, 0x2d7f, 0xa806, 0xa82c, 0xa8c4, 0xa953, 0xa9c0, 0xaaf6, 0xabed, 0x0c56, 0x0f71, 0x0f72, 0x0f7a, 0x0f7b, 0x0f7c, 0x0f7d, 0x0f80, 0x0f74]); -let DIACRITICS_EXCEPTION_STR; -const DIACRITICS_REG_EXP = /\p{M}+/gu; -const SPECIAL_CHARS_REG_EXP = /([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L})/gu; -const NOT_DIACRITIC_FROM_END_REG_EXP = /([^\p{M}])\p{M}*$/u; -const NOT_DIACRITIC_FROM_START_REG_EXP = /^\p{M}*([^\p{M}])/u; -const SYLLABLES_REG_EXP = /[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g; -const SYLLABLES_LENGTHS = new Map(); -const FIRST_CHAR_SYLLABLES_REG_EXP = "[\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f]"; -const NFKC_CHARS_TO_NORMALIZE = new Map(); -let noSyllablesRegExp = null; -let withSyllablesRegExp = null; -function normalize(text) { - const syllablePositions = []; - let m; - while ((m = SYLLABLES_REG_EXP.exec(text)) !== null) { - let { - index - } = m; - for (const char of m[0]) { - let len = SYLLABLES_LENGTHS.get(char); - if (!len) { - len = char.normalize("NFD").length; - SYLLABLES_LENGTHS.set(char, len); - } - syllablePositions.push([len, index++]); - } - } - let normalizationRegex; - if (syllablePositions.length === 0 && noSyllablesRegExp) { - normalizationRegex = noSyllablesRegExp; - } else if (syllablePositions.length > 0 && withSyllablesRegExp) { - normalizationRegex = withSyllablesRegExp; - } else { - const replace = Object.keys(CHARACTERS_TO_NORMALIZE).join(""); - const toNormalizeWithNFKC = getNormalizeWithNFKC(); - const CJK = "(?:\\p{Ideographic}|[\u3040-\u30FF])"; - const HKDiacritics = "(?:\u3099|\u309A)"; - const regexp = `([${replace}])|([${toNormalizeWithNFKC}])|(${HKDiacritics}\\n)|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(${CJK}\\n)|(\\n)`; - if (syllablePositions.length === 0) { - normalizationRegex = noSyllablesRegExp = new RegExp(regexp + "|(\\u0000)", "gum"); - } else { - normalizationRegex = withSyllablesRegExp = new RegExp(regexp + `|(${FIRST_CHAR_SYLLABLES_REG_EXP})`, "gum"); - } - } - const rawDiacriticsPositions = []; - while ((m = DIACRITICS_REG_EXP.exec(text)) !== null) { - rawDiacriticsPositions.push([m[0].length, m.index]); - } - let normalized = text.normalize("NFD"); - const positions = [[0, 0]]; - let rawDiacriticsIndex = 0; - let syllableIndex = 0; - let shift = 0; - let shiftOrigin = 0; - let eol = 0; - let hasDiacritics = false; - normalized = normalized.replace(normalizationRegex, (match, p1, p2, p3, p4, p5, p6, p7, p8, i) => { - i -= shiftOrigin; - if (p1) { - const replacement = CHARACTERS_TO_NORMALIZE[p1]; - const jj = replacement.length; - for (let j = 1; j < jj; j++) { - positions.push([i - shift + j, shift - j]); - } - shift -= jj - 1; - return replacement; - } - if (p2) { - let replacement = NFKC_CHARS_TO_NORMALIZE.get(p2); - if (!replacement) { - replacement = p2.normalize("NFKC"); - NFKC_CHARS_TO_NORMALIZE.set(p2, replacement); - } - const jj = replacement.length; - for (let j = 1; j < jj; j++) { - positions.push([i - shift + j, shift - j]); - } - shift -= jj - 1; - return replacement; - } - if (p3) { - hasDiacritics = true; - if (i + eol === rawDiacriticsPositions[rawDiacriticsIndex]?.[1]) { - ++rawDiacriticsIndex; - } else { - positions.push([i - 1 - shift + 1, shift - 1]); - shift -= 1; - shiftOrigin += 1; - } - positions.push([i - shift + 1, shift]); - shiftOrigin += 1; - eol += 1; - return p3.charAt(0); - } - if (p4) { - const hasTrailingDashEOL = p4.endsWith("\n"); - const len = hasTrailingDashEOL ? p4.length - 2 : p4.length; - hasDiacritics = true; - let jj = len; - if (i + eol === rawDiacriticsPositions[rawDiacriticsIndex]?.[1]) { - jj -= rawDiacriticsPositions[rawDiacriticsIndex][0]; - ++rawDiacriticsIndex; - } - for (let j = 1; j <= jj; j++) { - positions.push([i - 1 - shift + j, shift - j]); - } - shift -= jj; - shiftOrigin += jj; - if (hasTrailingDashEOL) { - i += len - 1; - positions.push([i - shift + 1, 1 + shift]); - shift += 1; - shiftOrigin += 1; - eol += 1; - return p4.slice(0, len); - } - return p4; - } - if (p5) { - const len = p5.length - 2; - positions.push([i - shift + len, 1 + shift]); - shift += 1; - shiftOrigin += 1; - eol += 1; - return p5.slice(0, -2); - } - if (p6) { - const len = p6.length - 1; - positions.push([i - shift + len, shift]); - shiftOrigin += 1; - eol += 1; - return p6.slice(0, -1); - } - if (p7) { - positions.push([i - shift + 1, shift - 1]); - shift -= 1; - shiftOrigin += 1; - eol += 1; - return " "; - } - if (i + eol === syllablePositions[syllableIndex]?.[1]) { - const newCharLen = syllablePositions[syllableIndex][0] - 1; - ++syllableIndex; - for (let j = 1; j <= newCharLen; j++) { - positions.push([i - (shift - j), shift - j]); - } - shift -= newCharLen; - shiftOrigin += newCharLen; - } - return p8; - }); - positions.push([normalized.length, shift]); - return [normalized, positions, hasDiacritics]; -} -function getOriginalIndex(diffs, pos, len) { - if (!diffs) { - return [pos, len]; - } - const start = pos; - const end = pos + len - 1; - let i = (0,ui_utils.binarySearchFirstItem)(diffs, x => x[0] >= start); - if (diffs[i][0] > start) { - --i; - } - let j = (0,ui_utils.binarySearchFirstItem)(diffs, x => x[0] >= end, i); - if (diffs[j][0] > end) { - --j; - } - const oldStart = start + diffs[i][1]; - const oldEnd = end + diffs[j][1]; - const oldLen = oldEnd + 1 - oldStart; - return [oldStart, oldLen]; -} -class PDFFindController { - #state = null; - #updateMatchesCountOnProgress = true; - #visitedPagesCount = 0; - constructor({ - linkService, - eventBus, - updateMatchesCountOnProgress = true - }) { - this._linkService = linkService; - this._eventBus = eventBus; - this.#updateMatchesCountOnProgress = updateMatchesCountOnProgress; - this.onIsPageVisible = null; - this.#reset(); - eventBus._on("find", this.#onFind.bind(this)); - eventBus._on("findbarclose", this.#onFindBarClose.bind(this)); - } - get highlightMatches() { - return this._highlightMatches; - } - get pageMatches() { - return this._pageMatches; - } - get pageMatchesLength() { - return this._pageMatchesLength; - } - get selected() { - return this._selected; - } - get state() { - return this.#state; - } - setDocument(pdfDocument) { - if (this._pdfDocument) { - this.#reset(); - } - if (!pdfDocument) { - return; - } - this._pdfDocument = pdfDocument; - this._firstPageCapability.resolve(); - } - #onFind(state) { - if (!state) { - return; - } - const pdfDocument = this._pdfDocument; - const { - type - } = state; - if (this.#state === null || this.#shouldDirtyMatch(state)) { - this._dirtyMatch = true; - } - this.#state = state; - if (type !== "highlightallchange") { - this.#updateUIState(FindState.PENDING); - } - this._firstPageCapability.promise.then(() => { - if (!this._pdfDocument || pdfDocument && this._pdfDocument !== pdfDocument) { - return; - } - this.#extractText(); - const findbarClosed = !this._highlightMatches; - const pendingTimeout = !!this._findTimeout; - if (this._findTimeout) { - clearTimeout(this._findTimeout); - this._findTimeout = null; - } - if (!type) { - this._findTimeout = setTimeout(() => { - this.#nextMatch(); - this._findTimeout = null; - }, FIND_TIMEOUT); - } else if (this._dirtyMatch) { - this.#nextMatch(); - } else if (type === "again") { - this.#nextMatch(); - if (findbarClosed && this.#state.highlightAll) { - this.#updateAllPages(); - } - } else if (type === "highlightallchange") { - if (pendingTimeout) { - this.#nextMatch(); - } else { - this._highlightMatches = true; - } - this.#updateAllPages(); - } else { - this.#nextMatch(); - } - }); - } - scrollMatchIntoView({ - element = null, - selectedLeft = 0, - pageIndex = -1, - matchIndex = -1 - }) { - if (!this._scrollMatches || !element) { - return; - } else if (matchIndex === -1 || matchIndex !== this._selected.matchIdx) { - return; - } else if (pageIndex === -1 || pageIndex !== this._selected.pageIdx) { - return; - } - this._scrollMatches = false; - const spot = { - top: MATCH_SCROLL_OFFSET_TOP, - left: selectedLeft + MATCH_SCROLL_OFFSET_LEFT - }; - (0,ui_utils.scrollIntoView)(element, spot, true); - } - #reset() { - this._highlightMatches = false; - this._scrollMatches = false; - this._pdfDocument = null; - this._pageMatches = []; - this._pageMatchesLength = []; - this.#visitedPagesCount = 0; - this.#state = null; - this._selected = { - pageIdx: -1, - matchIdx: -1 - }; - this._offset = { - pageIdx: null, - matchIdx: null, - wrapped: false - }; - this._extractTextPromises = []; - this._pageContents = []; - this._pageDiffs = []; - this._hasDiacritics = []; - this._matchesCountTotal = 0; - this._pagesToSearch = null; - this._pendingFindMatches = new Set(); - this._resumePageIdx = null; - this._dirtyMatch = false; - clearTimeout(this._findTimeout); - this._findTimeout = null; - this._firstPageCapability = Promise.withResolvers(); - } - get #query() { - const { - query - } = this.#state; - if (typeof query === "string") { - if (query !== this._rawQuery) { - this._rawQuery = query; - [this._normalizedQuery] = normalize(query); - } - return this._normalizedQuery; - } - return (query || []).filter(q => !!q).map(q => normalize(q)[0]); - } - #shouldDirtyMatch(state) { - const newQuery = state.query, - prevQuery = this.#state.query; - const newType = typeof newQuery, - prevType = typeof prevQuery; - if (newType !== prevType) { - return true; - } - if (newType === "string") { - if (newQuery !== prevQuery) { - return true; - } - } else if (JSON.stringify(newQuery) !== JSON.stringify(prevQuery)) { - return true; - } - switch (state.type) { - case "again": - const pageNumber = this._selected.pageIdx + 1; - const linkService = this._linkService; - return pageNumber >= 1 && pageNumber <= linkService.pagesCount && pageNumber !== linkService.page && !(this.onIsPageVisible?.(pageNumber) ?? true); - case "highlightallchange": - return false; - } - return true; - } - #isEntireWord(content, startIdx, length) { - let match = content.slice(0, startIdx).match(NOT_DIACRITIC_FROM_END_REG_EXP); - if (match) { - const first = content.charCodeAt(startIdx); - const limit = match[1].charCodeAt(0); - if (getCharacterType(first) === getCharacterType(limit)) { - return false; - } - } - match = content.slice(startIdx + length).match(NOT_DIACRITIC_FROM_START_REG_EXP); - if (match) { - const last = content.charCodeAt(startIdx + length - 1); - const limit = match[1].charCodeAt(0); - if (getCharacterType(last) === getCharacterType(limit)) { - return false; - } - } - return true; - } - #calculateRegExpMatch(query, entireWord, pageIndex, pageContent) { - const matches = this._pageMatches[pageIndex] = []; - const matchesLength = this._pageMatchesLength[pageIndex] = []; - if (!query) { - return; - } - const diffs = this._pageDiffs[pageIndex]; - let match; - while ((match = query.exec(pageContent)) !== null) { - if (entireWord && !this.#isEntireWord(pageContent, match.index, match[0].length)) { - continue; - } - const [matchPos, matchLen] = getOriginalIndex(diffs, match.index, match[0].length); - if (matchLen) { - matches.push(matchPos); - matchesLength.push(matchLen); - } - } - } - #convertToRegExpString(query, hasDiacritics) { - const { - matchDiacritics - } = this.#state; - let isUnicode = false; - query = query.replaceAll(SPECIAL_CHARS_REG_EXP, (match, p1, p2, p3, p4, p5) => { - if (p1) { - return `[ ]*\\${p1}[ ]*`; - } - if (p2) { - return `[ ]*${p2}[ ]*`; - } - if (p3) { - return "[ ]+"; - } - if (matchDiacritics) { - return p4 || p5; - } - if (p4) { - return DIACRITICS_EXCEPTION.has(p4.charCodeAt(0)) ? p4 : ""; - } - if (hasDiacritics) { - isUnicode = true; - return `${p5}\\p{M}*`; - } - return p5; - }); - const trailingSpaces = "[ ]*"; - if (query.endsWith(trailingSpaces)) { - query = query.slice(0, query.length - trailingSpaces.length); - } - if (matchDiacritics) { - if (hasDiacritics) { - DIACRITICS_EXCEPTION_STR ||= String.fromCharCode(...DIACRITICS_EXCEPTION); - isUnicode = true; - query = `${query}(?=[${DIACRITICS_EXCEPTION_STR}]|[^\\p{M}]|$)`; - } - } - return [isUnicode, query]; - } - #calculateMatch(pageIndex) { - let query = this.#query; - if (query.length === 0) { - return; - } - const { - caseSensitive, - entireWord - } = this.#state; - const pageContent = this._pageContents[pageIndex]; - const hasDiacritics = this._hasDiacritics[pageIndex]; - let isUnicode = false; - if (typeof query === "string") { - [isUnicode, query] = this.#convertToRegExpString(query, hasDiacritics); - } else { - query = query.sort().reverse().map(q => { - const [isUnicodePart, queryPart] = this.#convertToRegExpString(q, hasDiacritics); - isUnicode ||= isUnicodePart; - return `(${queryPart})`; - }).join("|"); - } - const flags = `g${isUnicode ? "u" : ""}${caseSensitive ? "" : "i"}`; - query = query ? new RegExp(query, flags) : null; - this.#calculateRegExpMatch(query, entireWord, pageIndex, pageContent); - if (this.#state.highlightAll) { - this.#updatePage(pageIndex); - } - if (this._resumePageIdx === pageIndex) { - this._resumePageIdx = null; - this.#nextPageMatch(); - } - const pageMatchesCount = this._pageMatches[pageIndex].length; - this._matchesCountTotal += pageMatchesCount; - if (this.#updateMatchesCountOnProgress) { - if (pageMatchesCount > 0) { - this.#updateUIResultsCount(); - } - } else if (++this.#visitedPagesCount === this._linkService.pagesCount) { - this.#updateUIResultsCount(); - } - } - #extractText() { - if (this._extractTextPromises.length > 0) { - return; - } - let deferred = Promise.resolve(); - const textOptions = { - disableNormalization: true - }; - for (let i = 0, ii = this._linkService.pagesCount; i < ii; i++) { - const { - promise, - resolve - } = Promise.withResolvers(); - this._extractTextPromises[i] = promise; - deferred = deferred.then(() => { - return this._pdfDocument.getPage(i + 1).then(pdfPage => pdfPage.getTextContent(textOptions)).then(textContent => { - const strBuf = []; - for (const textItem of textContent.items) { - strBuf.push(textItem.str); - if (textItem.hasEOL) { - strBuf.push("\n"); - } - } - [this._pageContents[i], this._pageDiffs[i], this._hasDiacritics[i]] = normalize(strBuf.join("")); - resolve(); - }, reason => { - console.error(`Unable to get text content for page ${i + 1}`, reason); - this._pageContents[i] = ""; - this._pageDiffs[i] = null; - this._hasDiacritics[i] = false; - resolve(); - }); - }); - } - } - #updatePage(index) { - if (this._scrollMatches && this._selected.pageIdx === index) { - this._linkService.page = index + 1; - } - this._eventBus.dispatch("updatetextlayermatches", { - source: this, - pageIndex: index - }); - } - #updateAllPages() { - this._eventBus.dispatch("updatetextlayermatches", { - source: this, - pageIndex: -1 - }); - } - #nextMatch() { - const previous = this.#state.findPrevious; - const currentPageIndex = this._linkService.page - 1; - const numPages = this._linkService.pagesCount; - this._highlightMatches = true; - if (this._dirtyMatch) { - this._dirtyMatch = false; - this._selected.pageIdx = this._selected.matchIdx = -1; - this._offset.pageIdx = currentPageIndex; - this._offset.matchIdx = null; - this._offset.wrapped = false; - this._resumePageIdx = null; - this._pageMatches.length = 0; - this._pageMatchesLength.length = 0; - this.#visitedPagesCount = 0; - this._matchesCountTotal = 0; - this.#updateAllPages(); - for (let i = 0; i < numPages; i++) { - if (this._pendingFindMatches.has(i)) { - continue; - } - this._pendingFindMatches.add(i); - this._extractTextPromises[i].then(() => { - this._pendingFindMatches.delete(i); - this.#calculateMatch(i); - }); - } - } - const query = this.#query; - if (query.length === 0) { - this.#updateUIState(FindState.FOUND); - return; - } - if (this._resumePageIdx) { - return; - } - const offset = this._offset; - this._pagesToSearch = numPages; - if (offset.matchIdx !== null) { - const numPageMatches = this._pageMatches[offset.pageIdx].length; - if (!previous && offset.matchIdx + 1 < numPageMatches || previous && offset.matchIdx > 0) { - offset.matchIdx = previous ? offset.matchIdx - 1 : offset.matchIdx + 1; - this.#updateMatch(true); - return; - } - this.#advanceOffsetPage(previous); - } - this.#nextPageMatch(); - } - #matchesReady(matches) { - const offset = this._offset; - const numMatches = matches.length; - const previous = this.#state.findPrevious; - if (numMatches) { - offset.matchIdx = previous ? numMatches - 1 : 0; - this.#updateMatch(true); - return true; - } - this.#advanceOffsetPage(previous); - if (offset.wrapped) { - offset.matchIdx = null; - if (this._pagesToSearch < 0) { - this.#updateMatch(false); - return true; - } - } - return false; - } - #nextPageMatch() { - if (this._resumePageIdx !== null) { - console.error("There can only be one pending page."); - } - let matches = null; - do { - const pageIdx = this._offset.pageIdx; - matches = this._pageMatches[pageIdx]; - if (!matches) { - this._resumePageIdx = pageIdx; - break; - } - } while (!this.#matchesReady(matches)); - } - #advanceOffsetPage(previous) { - const offset = this._offset; - const numPages = this._linkService.pagesCount; - offset.pageIdx = previous ? offset.pageIdx - 1 : offset.pageIdx + 1; - offset.matchIdx = null; - this._pagesToSearch--; - if (offset.pageIdx >= numPages || offset.pageIdx < 0) { - offset.pageIdx = previous ? numPages - 1 : 0; - offset.wrapped = true; - } - } - #updateMatch(found = false) { - let state = FindState.NOT_FOUND; - const wrapped = this._offset.wrapped; - this._offset.wrapped = false; - if (found) { - const previousPage = this._selected.pageIdx; - this._selected.pageIdx = this._offset.pageIdx; - this._selected.matchIdx = this._offset.matchIdx; - state = wrapped ? FindState.WRAPPED : FindState.FOUND; - if (previousPage !== -1 && previousPage !== this._selected.pageIdx) { - this.#updatePage(previousPage); - } - } - this.#updateUIState(state, this.#state.findPrevious); - if (this._selected.pageIdx !== -1) { - this._scrollMatches = true; - this.#updatePage(this._selected.pageIdx); - } - } - #onFindBarClose(evt) { - const pdfDocument = this._pdfDocument; - this._firstPageCapability.promise.then(() => { - if (!this._pdfDocument || pdfDocument && this._pdfDocument !== pdfDocument) { - return; - } - if (this._findTimeout) { - clearTimeout(this._findTimeout); - this._findTimeout = null; - } - if (this._resumePageIdx) { - this._resumePageIdx = null; - this._dirtyMatch = true; - } - this.#updateUIState(FindState.FOUND); - this._highlightMatches = false; - this.#updateAllPages(); - }); - } - #requestMatchesCount() { - const { - pageIdx, - matchIdx - } = this._selected; - let current = 0, - total = this._matchesCountTotal; - if (matchIdx !== -1) { - for (let i = 0; i < pageIdx; i++) { - current += this._pageMatches[i]?.length || 0; - } - current += matchIdx + 1; - } - if (current < 1 || current > total) { - current = total = 0; - } - return { - current, - total - }; - } - #updateUIResultsCount() { - this._eventBus.dispatch("updatefindmatchescount", { - source: this, - matchesCount: this.#requestMatchesCount() - }); - } - #updateUIState(state, previous = false) { - if (!this.#updateMatchesCountOnProgress && (this.#visitedPagesCount !== this._linkService.pagesCount || state === FindState.PENDING)) { - return; - } - this._eventBus.dispatch("updatefindcontrolstate", { - source: this, - state, - previous, - matchesCount: this.#requestMatchesCount(), - rawQuery: this.#state?.query ?? null - }); - } -} - - -/***/ }), - -/***/ 8543: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFHistory: () => (/* binding */ PDFHistory) -/* harmony export */ }); -/* unused harmony exports isDestArraysEqual, isDestHashesEqual */ -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); -/* harmony import */ var _event_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5656); - - -const HASH_CHANGE_TIMEOUT = 1000; -const POSITION_UPDATED_THRESHOLD = 50; -const UPDATE_VIEWAREA_TIMEOUT = 1000; -function getCurrentHash() { - return document.location.hash; -} -class PDFHistory { - #eventAbortController = null; - constructor({ - linkService, - eventBus - }) { - this.linkService = linkService; - this.eventBus = eventBus; - this._initialized = false; - this._fingerprint = ""; - this.reset(); - this.eventBus._on("pagesinit", () => { - this._isPagesLoaded = false; - this.eventBus._on("pagesloaded", evt => { - this._isPagesLoaded = !!evt.pagesCount; - }, { - once: true - }); - }); - } - initialize({ - fingerprint, - resetHistory = false, - updateUrl = false - }) { - if (!fingerprint || typeof fingerprint !== "string") { - console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.'); - return; - } - if (this._initialized) { - this.reset(); - } - const reInitialized = this._fingerprint !== "" && this._fingerprint !== fingerprint; - this._fingerprint = fingerprint; - this._updateUrl = updateUrl === true; - this._initialized = true; - this.#bindEvents(); - const state = window.history.state; - this._popStateInProgress = false; - this._blockHashChange = 0; - this._currentHash = getCurrentHash(); - this._numPositionUpdates = 0; - this._uid = this._maxUid = 0; - this._destination = null; - this._position = null; - if (!this.#isValidState(state, true) || resetHistory) { - const { - hash, - page, - rotation - } = this.#parseCurrentHash(true); - if (!hash || reInitialized || resetHistory) { - this.#pushOrReplaceState(null, true); - return; - } - this.#pushOrReplaceState({ - hash, - page, - rotation - }, true); - return; - } - const destination = state.destination; - this.#updateInternalState(destination, state.uid, true); - if (destination.rotation !== undefined) { - this._initialRotation = destination.rotation; - } - if (destination.dest) { - this._initialBookmark = JSON.stringify(destination.dest); - this._destination.page = null; - } else if (destination.hash) { - this._initialBookmark = destination.hash; - } else if (destination.page) { - this._initialBookmark = `page=${destination.page}`; - } - } - reset() { - if (this._initialized) { - this.#pageHide(); - this._initialized = false; - this.#unbindEvents(); - } - if (this._updateViewareaTimeout) { - clearTimeout(this._updateViewareaTimeout); - this._updateViewareaTimeout = null; - } - this._initialBookmark = null; - this._initialRotation = null; - } - push({ - namedDest = null, - explicitDest, - pageNumber - }) { - if (!this._initialized) { - return; - } - if (namedDest && typeof namedDest !== "string") { - console.error("PDFHistory.push: " + `"${namedDest}" is not a valid namedDest parameter.`); - return; - } else if (!Array.isArray(explicitDest)) { - console.error("PDFHistory.push: " + `"${explicitDest}" is not a valid explicitDest parameter.`); - return; - } else if (!this.#isValidPage(pageNumber)) { - if (pageNumber !== null || this._destination) { - console.error("PDFHistory.push: " + `"${pageNumber}" is not a valid pageNumber parameter.`); - return; - } - } - const hash = namedDest || JSON.stringify(explicitDest); - if (!hash) { - return; - } - let forceReplace = false; - if (this._destination && (isDestHashesEqual(this._destination.hash, hash) || isDestArraysEqual(this._destination.dest, explicitDest))) { - if (this._destination.page) { - return; - } - forceReplace = true; - } - if (this._popStateInProgress && !forceReplace) { - return; - } - this.#pushOrReplaceState({ - dest: explicitDest, - hash, - page: pageNumber, - rotation: this.linkService.rotation - }, forceReplace); - if (!this._popStateInProgress) { - this._popStateInProgress = true; - Promise.resolve().then(() => { - this._popStateInProgress = false; - }); - } - } - pushPage(pageNumber) { - if (!this._initialized) { - return; - } - if (!this.#isValidPage(pageNumber)) { - console.error(`PDFHistory.pushPage: "${pageNumber}" is not a valid page number.`); - return; - } - if (this._destination?.page === pageNumber) { - return; - } - if (this._popStateInProgress) { - return; - } - this.#pushOrReplaceState({ - dest: null, - hash: `page=${pageNumber}`, - page: pageNumber, - rotation: this.linkService.rotation - }); - if (!this._popStateInProgress) { - this._popStateInProgress = true; - Promise.resolve().then(() => { - this._popStateInProgress = false; - }); - } - } - pushCurrentPosition() { - if (!this._initialized || this._popStateInProgress) { - return; - } - this.#tryPushCurrentPosition(); - } - back() { - if (!this._initialized || this._popStateInProgress) { - return; - } - const state = window.history.state; - if (this.#isValidState(state) && state.uid > 0) { - window.history.back(); - } - } - forward() { - if (!this._initialized || this._popStateInProgress) { - return; - } - const state = window.history.state; - if (this.#isValidState(state) && state.uid < this._maxUid) { - window.history.forward(); - } - } - get popStateInProgress() { - return this._initialized && (this._popStateInProgress || this._blockHashChange > 0); - } - get initialBookmark() { - return this._initialized ? this._initialBookmark : null; - } - get initialRotation() { - return this._initialized ? this._initialRotation : null; - } - #pushOrReplaceState(destination, forceReplace = false) { - const shouldReplace = forceReplace || !this._destination; - const newState = { - fingerprint: this._fingerprint, - uid: shouldReplace ? this._uid : this._uid + 1, - destination - }; - this.#updateInternalState(destination, newState.uid); - let newUrl; - if (this._updateUrl && destination?.hash) { - const baseUrl = document.location.href.split("#", 1)[0]; - if (!baseUrl.startsWith("file://")) { - newUrl = `${baseUrl}#${destination.hash}`; - } - } - if (shouldReplace) { - window.history.replaceState(newState, "", newUrl); - } else { - window.history.pushState(newState, "", newUrl); - } - } - #tryPushCurrentPosition(temporary = false) { - if (!this._position) { - return; - } - let position = this._position; - if (temporary) { - position = Object.assign(Object.create(null), this._position); - position.temporary = true; - } - if (!this._destination) { - this.#pushOrReplaceState(position); - return; - } - if (this._destination.temporary) { - this.#pushOrReplaceState(position, true); - return; - } - if (this._destination.hash === position.hash) { - return; - } - if (!this._destination.page && (POSITION_UPDATED_THRESHOLD <= 0 || this._numPositionUpdates <= POSITION_UPDATED_THRESHOLD)) { - return; - } - let forceReplace = false; - if (this._destination.page >= position.first && this._destination.page <= position.page) { - if (this._destination.dest !== undefined || !this._destination.first) { - return; - } - forceReplace = true; - } - this.#pushOrReplaceState(position, forceReplace); - } - #isValidPage(val) { - return Number.isInteger(val) && val > 0 && val <= this.linkService.pagesCount; - } - #isValidState(state, checkReload = false) { - if (!state) { - return false; - } - if (state.fingerprint !== this._fingerprint) { - if (checkReload) { - if (typeof state.fingerprint !== "string" || state.fingerprint.length !== this._fingerprint.length) { - return false; - } - const [perfEntry] = performance.getEntriesByType("navigation"); - if (perfEntry?.type !== "reload") { - return false; - } - } else { - return false; - } - } - if (!Number.isInteger(state.uid) || state.uid < 0) { - return false; - } - if (state.destination === null || typeof state.destination !== "object") { - return false; - } - return true; - } - #updateInternalState(destination, uid, removeTemporary = false) { - if (this._updateViewareaTimeout) { - clearTimeout(this._updateViewareaTimeout); - this._updateViewareaTimeout = null; - } - if (removeTemporary && destination?.temporary) { - delete destination.temporary; - } - this._destination = destination; - this._uid = uid; - this._maxUid = Math.max(this._maxUid, uid); - this._numPositionUpdates = 0; - } - #parseCurrentHash(checkNameddest = false) { - const hash = unescape(getCurrentHash()).substring(1); - const params = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseQueryString)(hash); - const nameddest = params.get("nameddest") || ""; - let page = params.get("page") | 0; - if (!this.#isValidPage(page) || checkNameddest && nameddest.length > 0) { - page = null; - } - return { - hash, - page, - rotation: this.linkService.rotation - }; - } - #updateViewarea({ - location - }) { - if (this._updateViewareaTimeout) { - clearTimeout(this._updateViewareaTimeout); - this._updateViewareaTimeout = null; - } - this._position = { - hash: location.pdfOpenParams.substring(1), - page: this.linkService.page, - first: location.pageNumber, - rotation: location.rotation - }; - if (this._popStateInProgress) { - return; - } - if (POSITION_UPDATED_THRESHOLD > 0 && this._isPagesLoaded && this._destination && !this._destination.page) { - this._numPositionUpdates++; - } - if (UPDATE_VIEWAREA_TIMEOUT > 0) { - this._updateViewareaTimeout = setTimeout(() => { - if (!this._popStateInProgress) { - this.#tryPushCurrentPosition(true); - } - this._updateViewareaTimeout = null; - }, UPDATE_VIEWAREA_TIMEOUT); - } - } - #popState({ - state - }) { - const newHash = getCurrentHash(), - hashChanged = this._currentHash !== newHash; - this._currentHash = newHash; - if (!state) { - this._uid++; - const { - hash, - page, - rotation - } = this.#parseCurrentHash(); - this.#pushOrReplaceState({ - hash, - page, - rotation - }, true); - return; - } - if (!this.#isValidState(state)) { - return; - } - this._popStateInProgress = true; - if (hashChanged) { - this._blockHashChange++; - (0,_event_utils_js__WEBPACK_IMPORTED_MODULE_1__.waitOnEventOrTimeout)({ - target: window, - name: "hashchange", - delay: HASH_CHANGE_TIMEOUT - }).then(() => { - this._blockHashChange--; - }); - } - const destination = state.destination; - this.#updateInternalState(destination, state.uid, true); - if ((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.isValidRotation)(destination.rotation)) { - this.linkService.rotation = destination.rotation; - } - if (destination.dest) { - this.linkService.goToDestination(destination.dest); - } else if (destination.hash) { - this.linkService.setHash(destination.hash); - } else if (destination.page) { - this.linkService.page = destination.page; - } - Promise.resolve().then(() => { - this._popStateInProgress = false; - }); - } - #pageHide() { - if (!this._destination || this._destination.temporary) { - this.#tryPushCurrentPosition(); - } - } - #bindEvents() { - if (this.#eventAbortController) { - return; - } - this.#eventAbortController = new AbortController(); - const { - signal - } = this.#eventAbortController; - this.eventBus._on("updateviewarea", this.#updateViewarea.bind(this), { - signal - }); - window.addEventListener("popstate", this.#popState.bind(this), { - signal - }); - window.addEventListener("pagehide", this.#pageHide.bind(this), { - signal - }); - } - #unbindEvents() { - this.#eventAbortController?.abort(); - this.#eventAbortController = null; - } -} -function isDestHashesEqual(destHash, pushHash) { - if (typeof destHash !== "string" || typeof pushHash !== "string") { - return false; - } - if (destHash === pushHash) { - return true; - } - const nameddest = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseQueryString)(destHash).get("nameddest"); - if (nameddest === pushHash) { - return true; - } - return false; -} -function isDestArraysEqual(firstDest, secondDest) { - function isEntryEqual(first, second) { - if (typeof first !== typeof second) { - return false; - } - if (Array.isArray(first) || Array.isArray(second)) { - return false; - } - if (first !== null && typeof first === "object" && second !== null) { - if (Object.keys(first).length !== Object.keys(second).length) { - return false; - } - for (const key in first) { - if (!isEntryEqual(first[key], second[key])) { - return false; - } - } - return true; - } - return first === second || Number.isNaN(first) && Number.isNaN(second); - } - if (!(Array.isArray(firstDest) && Array.isArray(secondDest))) { - return false; - } - if (firstDest.length !== secondDest.length) { - return false; - } - for (let i = 0, ii = firstDest.length; i < ii; i++) { - if (!isEntryEqual(firstDest[i], secondDest[i])) { - return false; - } - } - return true; -} - - -/***/ }), - -/***/ 4275: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFLayerViewer: () => (/* binding */ PDFLayerViewer) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2961); - - -class PDFLayerViewer extends _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_1__.BaseTreeViewer { - constructor(options) { - super(options); - this.eventBus._on("optionalcontentconfigchanged", evt => { - this.#updateLayers(evt.promise); - }); - this.eventBus._on("resetlayers", () => { - this.#updateLayers(); - }); - this.eventBus._on("togglelayerstree", this._toggleAllTreeItems.bind(this)); - } - reset() { - super.reset(); - this._optionalContentConfig = null; - this._optionalContentHash = null; - } - _dispatchEvent(layersCount) { - this.eventBus.dispatch("layersloaded", { - source: this, - layersCount - }); - } - _bindLink(element, { - groupId, - input - }) { - const setVisibility = () => { - this._optionalContentConfig.setVisibility(groupId, input.checked); - this._optionalContentHash = this._optionalContentConfig.getHash(); - this.eventBus.dispatch("optionalcontentconfig", { - source: this, - promise: Promise.resolve(this._optionalContentConfig) - }); - }; - element.onclick = evt => { - if (evt.target === input) { - setVisibility(); - return true; - } else if (evt.target !== element) { - return true; - } - input.checked = !input.checked; - setVisibility(); - return false; - }; - } - async _setNestedName(element, { - name = null - }) { - if (typeof name === "string") { - element.textContent = this._normalizeTextContent(name); - return; - } - element.textContent = await this._l10n.get("pdfjs-additional-layers"); - element.style.fontStyle = "italic"; - } - _addToggleButton(div, { - name = null - }) { - super._addToggleButton(div, name === null); - } - _toggleAllTreeItems() { - if (!this._optionalContentConfig) { - return; - } - super._toggleAllTreeItems(); - } - render({ - optionalContentConfig, - pdfDocument - }) { - if (this._optionalContentConfig) { - this.reset(); - } - this._optionalContentConfig = optionalContentConfig || null; - this._pdfDocument = pdfDocument || null; - const groups = optionalContentConfig?.getOrder(); - if (!groups) { - this._dispatchEvent(0); - return; - } - this._optionalContentHash = optionalContentConfig.getHash(); - const fragment = document.createDocumentFragment(), - queue = [{ - parent: fragment, - groups - }]; - let layersCount = 0, - hasAnyNesting = false; - while (queue.length > 0) { - const levelData = queue.shift(); - for (const groupId of levelData.groups) { - const div = document.createElement("div"); - div.className = "treeItem"; - const element = document.createElement("a"); - div.append(element); - if (typeof groupId === "object") { - hasAnyNesting = true; - this._addToggleButton(div, groupId); - this._setNestedName(element, groupId); - const itemsDiv = document.createElement("div"); - itemsDiv.className = "treeItems"; - div.append(itemsDiv); - queue.push({ - parent: itemsDiv, - groups: groupId.order - }); - } else { - const group = optionalContentConfig.getGroup(groupId); - const input = document.createElement("input"); - this._bindLink(element, { - groupId, - input - }); - input.type = "checkbox"; - input.checked = group.visible; - const label = document.createElement("label"); - label.textContent = this._normalizeTextContent(group.name); - label.append(input); - element.append(label); - layersCount++; - } - levelData.parent.append(div); - } - } - this._finishRendering(fragment, layersCount, hasAnyNesting); - } - async #updateLayers(promise = null) { - if (!this._optionalContentConfig) { - return; - } - const pdfDocument = this._pdfDocument; - const optionalContentConfig = await (promise || pdfDocument.getOptionalContentConfig({ - intent: "display" - })); - if (pdfDocument !== this._pdfDocument) { - return; - } - if (promise) { - if (optionalContentConfig.getHash() === this._optionalContentHash) { - return; - } - } else { - this.eventBus.dispatch("optionalcontentconfig", { - source: this, - promise: Promise.resolve(optionalContentConfig) - }); - } - this.render({ - optionalContentConfig, - pdfDocument: this._pdfDocument - }); - } -} - - -/***/ }), - -/***/ 787: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ LinkTarget: () => (/* binding */ LinkTarget), -/* harmony export */ PDFLinkService: () => (/* binding */ PDFLinkService), -/* harmony export */ SimpleLinkService: () => (/* binding */ SimpleLinkService) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_esnext_json_parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8335); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7256); - - - -const DEFAULT_LINK_REL = "noopener noreferrer nofollow"; -const LinkTarget = { - NONE: 0, - SELF: 1, - BLANK: 2, - PARENT: 3, - TOP: 4 -}; -class PDFLinkService { - externalLinkEnabled = true; - constructor({ - eventBus, - externalLinkTarget = null, - externalLinkRel = null, - ignoreDestinationZoom = false - } = {}) { - this.eventBus = eventBus; - this.externalLinkTarget = externalLinkTarget; - this.externalLinkRel = externalLinkRel; - this._ignoreDestinationZoom = ignoreDestinationZoom; - this.baseUrl = null; - this.pdfDocument = null; - this.pdfViewer = null; - this.pdfHistory = null; - } - setDocument(pdfDocument, baseUrl = null) { - this.baseUrl = baseUrl; - this.pdfDocument = pdfDocument; - } - setViewer(pdfViewer) { - this.pdfViewer = pdfViewer; - } - setHistory(pdfHistory) { - this.pdfHistory = pdfHistory; - } - get pagesCount() { - return this.pdfDocument ? this.pdfDocument.numPages : 0; - } - get page() { - return this.pdfDocument ? this.pdfViewer.currentPageNumber : 1; - } - set page(value) { - if (this.pdfDocument) { - this.pdfViewer.currentPageNumber = value; - } - } - get rotation() { - return this.pdfDocument ? this.pdfViewer.pagesRotation : 0; - } - set rotation(value) { - if (this.pdfDocument) { - this.pdfViewer.pagesRotation = value; - } - } - get isInPresentationMode() { - return this.pdfDocument ? this.pdfViewer.isInPresentationMode : false; - } - async goToDestination(dest) { - if (!this.pdfDocument) { - return; - } - let namedDest, explicitDest, pageNumber; - if (typeof dest === "string") { - namedDest = dest; - explicitDest = await this.pdfDocument.getDestination(dest); - } else { - namedDest = null; - explicitDest = await dest; - } - if (!Array.isArray(explicitDest)) { - console.error(`goToDestination: "${explicitDest}" is not a valid destination array, for dest="${dest}".`); - return; - } - const [destRef] = explicitDest; - if (destRef && typeof destRef === "object") { - pageNumber = this.pdfDocument.cachedPageNumber(destRef); - if (!pageNumber) { - try { - pageNumber = (await this.pdfDocument.getPageIndex(destRef)) + 1; - } catch { - console.error(`goToDestination: "${destRef}" is not a valid page reference, for dest="${dest}".`); - return; - } - } - } else if (Number.isInteger(destRef)) { - pageNumber = destRef + 1; - } - if (!pageNumber || pageNumber < 1 || pageNumber > this.pagesCount) { - console.error(`goToDestination: "${pageNumber}" is not a valid page number, for dest="${dest}".`); - return; - } - if (this.pdfHistory) { - this.pdfHistory.pushCurrentPosition(); - this.pdfHistory.push({ - namedDest, - explicitDest, - pageNumber - }); - } - this.pdfViewer.scrollPageIntoView({ - pageNumber, - destArray: explicitDest, - ignoreDestinationZoom: this._ignoreDestinationZoom - }); - } - goToPage(val) { - if (!this.pdfDocument) { - return; - } - const pageNumber = typeof val === "string" && this.pdfViewer.pageLabelToPageNumber(val) || val | 0; - if (!(Number.isInteger(pageNumber) && pageNumber > 0 && pageNumber <= this.pagesCount)) { - console.error(`PDFLinkService.goToPage: "${val}" is not a valid page.`); - return; - } - if (this.pdfHistory) { - this.pdfHistory.pushCurrentPosition(); - this.pdfHistory.pushPage(pageNumber); - } - this.pdfViewer.scrollPageIntoView({ - pageNumber - }); - } - addLinkAttributes(link, url, newWindow = false) { - if (!url || typeof url !== "string") { - throw new Error('A valid "url" parameter must provided.'); - } - const target = newWindow ? LinkTarget.BLANK : this.externalLinkTarget, - rel = this.externalLinkRel; - if (this.externalLinkEnabled) { - link.href = link.title = url; - } else { - link.href = ""; - link.title = `Disabled: ${url}`; - link.onclick = () => false; - } - let targetStr = ""; - switch (target) { - case LinkTarget.NONE: - break; - case LinkTarget.SELF: - targetStr = "_self"; - break; - case LinkTarget.BLANK: - targetStr = "_blank"; - break; - case LinkTarget.PARENT: - targetStr = "_parent"; - break; - case LinkTarget.TOP: - targetStr = "_top"; - break; - } - link.target = targetStr; - link.rel = typeof rel === "string" ? rel : DEFAULT_LINK_REL; - } - getDestinationHash(dest) { - if (typeof dest === "string") { - if (dest.length > 0) { - return this.getAnchorUrl("#" + escape(dest)); - } - } else if (Array.isArray(dest)) { - const str = JSON.stringify(dest); - if (str.length > 0) { - return this.getAnchorUrl("#" + escape(str)); - } - } - return this.getAnchorUrl(""); - } - getAnchorUrl(anchor) { - return this.baseUrl ? this.baseUrl + anchor : anchor; - } - setHash(hash) { - if (!this.pdfDocument) { - return; - } - let pageNumber, dest; - if (hash.includes("=")) { - const params = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.parseQueryString)(hash); - if (params.has("search")) { - const query = params.get("search").replaceAll('"', ""), - phrase = params.get("phrase") === "true"; - this.eventBus.dispatch("findfromurlhash", { - source: this, - query: phrase ? query : query.match(/\S+/g) - }); - } - if (params.has("page")) { - pageNumber = params.get("page") | 0 || 1; - } - if (params.has("zoom")) { - const zoomArgs = params.get("zoom").split(","); - const zoomArg = zoomArgs[0]; - const zoomArgNumber = parseFloat(zoomArg); - if (!zoomArg.includes("Fit")) { - dest = [null, { - name: "XYZ" - }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null, zoomArgs.length > 2 ? zoomArgs[2] | 0 : null, zoomArgNumber ? zoomArgNumber / 100 : zoomArg]; - } else if (zoomArg === "Fit" || zoomArg === "FitB") { - dest = [null, { - name: zoomArg - }]; - } else if (zoomArg === "FitH" || zoomArg === "FitBH" || zoomArg === "FitV" || zoomArg === "FitBV") { - dest = [null, { - name: zoomArg - }, zoomArgs.length > 1 ? zoomArgs[1] | 0 : null]; - } else if (zoomArg === "FitR") { - if (zoomArgs.length !== 5) { - console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'); - } else { - dest = [null, { - name: zoomArg - }, zoomArgs[1] | 0, zoomArgs[2] | 0, zoomArgs[3] | 0, zoomArgs[4] | 0]; - } - } else { - console.error(`PDFLinkService.setHash: "${zoomArg}" is not a valid zoom value.`); - } - } - if (dest) { - this.pdfViewer.scrollPageIntoView({ - pageNumber: pageNumber || this.page, - destArray: dest, - allowNegativeOffset: true - }); - } else if (pageNumber) { - this.page = pageNumber; - } - if (params.has("pagemode")) { - this.eventBus.dispatch("pagemode", { - source: this, - mode: params.get("pagemode") - }); - } - if (params.has("nameddest")) { - this.goToDestination(params.get("nameddest")); - } - return; - } - dest = unescape(hash); - try { - dest = JSON.parse(dest); - if (!Array.isArray(dest)) { - dest = dest.toString(); - } - } catch {} - if (typeof dest === "string" || PDFLinkService.#isValidExplicitDest(dest)) { - this.goToDestination(dest); - return; - } - console.error(`PDFLinkService.setHash: "${unescape(hash)}" is not a valid destination.`); - } - executeNamedAction(action) { - if (!this.pdfDocument) { - return; - } - switch (action) { - case "GoBack": - this.pdfHistory?.back(); - break; - case "GoForward": - this.pdfHistory?.forward(); - break; - case "NextPage": - this.pdfViewer.nextPage(); - break; - case "PrevPage": - this.pdfViewer.previousPage(); - break; - case "LastPage": - this.page = this.pagesCount; - break; - case "FirstPage": - this.page = 1; - break; - default: - break; - } - this.eventBus.dispatch("namedaction", { - source: this, - action - }); - } - async executeSetOCGState(action) { - if (!this.pdfDocument) { - return; - } - const pdfDocument = this.pdfDocument, - optionalContentConfig = await this.pdfViewer.optionalContentConfigPromise; - if (pdfDocument !== this.pdfDocument) { - return; - } - optionalContentConfig.setOCGState(action); - this.pdfViewer.optionalContentConfigPromise = Promise.resolve(optionalContentConfig); - } - static #isValidExplicitDest(dest) { - if (!Array.isArray(dest) || dest.length < 2) { - return false; - } - const [page, zoom, ...args] = dest; - if (!(typeof page === "object" && Number.isInteger(page?.num) && Number.isInteger(page?.gen)) && !Number.isInteger(page)) { - return false; - } - if (!(typeof zoom === "object" && typeof zoom?.name === "string")) { - return false; - } - let allowNull = true; - switch (zoom.name) { - case "XYZ": - if (args.length !== 3) { - return false; - } - break; - case "Fit": - case "FitB": - return args.length === 0; - case "FitH": - case "FitBH": - case "FitV": - case "FitBV": - if (args.length !== 1) { - return false; - } - break; - case "FitR": - if (args.length !== 4) { - return false; - } - allowNull = false; - break; - default: - return false; - } - for (const arg of args) { - if (!(typeof arg === "number" || allowNull && arg === null)) { - return false; - } - } - return true; - } -} -class SimpleLinkService extends PDFLinkService { - setDocument(pdfDocument, baseUrl = null) {} -} - - -/***/ }), - -/***/ 5514: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFOutlineViewer: () => (/* binding */ PDFOutlineViewer) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); -/* harmony import */ var _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2961); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7256); - - - - -class PDFOutlineViewer extends _base_tree_viewer_js__WEBPACK_IMPORTED_MODULE_2__.BaseTreeViewer { - constructor(options) { - super(options); - this.linkService = options.linkService; - this.downloadManager = options.downloadManager; - this.eventBus._on("toggleoutlinetree", this._toggleAllTreeItems.bind(this)); - this.eventBus._on("currentoutlineitem", this._currentOutlineItem.bind(this)); - this.eventBus._on("pagechanging", evt => { - this._currentPageNumber = evt.pageNumber; - }); - this.eventBus._on("pagesloaded", evt => { - this._isPagesLoaded = !!evt.pagesCount; - this._currentOutlineItemCapability?.resolve(this._isPagesLoaded); - }); - this.eventBus._on("sidebarviewchanged", evt => { - this._sidebarView = evt.view; - }); - } - reset() { - super.reset(); - this._outline = null; - this._pageNumberToDestHashCapability = null; - this._currentPageNumber = 1; - this._isPagesLoaded = null; - this._currentOutlineItemCapability?.resolve(false); - this._currentOutlineItemCapability = null; - } - _dispatchEvent(outlineCount) { - this._currentOutlineItemCapability = Promise.withResolvers(); - if (outlineCount === 0 || this._pdfDocument?.loadingParams.disableAutoFetch) { - this._currentOutlineItemCapability.resolve(false); - } else if (this._isPagesLoaded !== null) { - this._currentOutlineItemCapability.resolve(this._isPagesLoaded); - } - this.eventBus.dispatch("outlineloaded", { - source: this, - outlineCount, - currentOutlineItemPromise: this._currentOutlineItemCapability.promise - }); - } - _bindLink(element, { - url, - newWindow, - action, - attachment, - dest, - setOCGState - }) { - const { - linkService - } = this; - if (url) { - linkService.addLinkAttributes(element, url, newWindow); - return; - } - if (action) { - element.href = linkService.getAnchorUrl(""); - element.onclick = () => { - linkService.executeNamedAction(action); - return false; - }; - return; - } - if (attachment) { - element.href = linkService.getAnchorUrl(""); - element.onclick = () => { - this.downloadManager.openOrDownloadData(attachment.content, attachment.filename); - return false; - }; - return; - } - if (setOCGState) { - element.href = linkService.getAnchorUrl(""); - element.onclick = () => { - linkService.executeSetOCGState(setOCGState); - return false; - }; - return; - } - element.href = linkService.getDestinationHash(dest); - element.onclick = evt => { - this._updateCurrentTreeItem(evt.target.parentNode); - if (dest) { - linkService.goToDestination(dest); - } - return false; - }; - } - _setStyles(element, { - bold, - italic - }) { - if (bold) { - element.style.fontWeight = "bold"; - } - if (italic) { - element.style.fontStyle = "italic"; - } - } - _addToggleButton(div, { - count, - items - }) { - let hidden = false; - if (count < 0) { - let totalCount = items.length; - if (totalCount > 0) { - const queue = [...items]; - while (queue.length > 0) { - const { - count: nestedCount, - items: nestedItems - } = queue.shift(); - if (nestedCount > 0 && nestedItems.length > 0) { - totalCount += nestedItems.length; - queue.push(...nestedItems); - } - } - } - if (Math.abs(count) === totalCount) { - hidden = true; - } - } - super._addToggleButton(div, hidden); - } - _toggleAllTreeItems() { - if (!this._outline) { - return; - } - super._toggleAllTreeItems(); - } - render({ - outline, - pdfDocument - }) { - if (this._outline) { - this.reset(); - } - this._outline = outline || null; - this._pdfDocument = pdfDocument || null; - if (!outline) { - this._dispatchEvent(0); - return; - } - const fragment = document.createDocumentFragment(); - const queue = [{ - parent: fragment, - items: outline - }]; - let outlineCount = 0, - hasAnyNesting = false; - while (queue.length > 0) { - const levelData = queue.shift(); - for (const item of levelData.items) { - const div = document.createElement("div"); - div.className = "treeItem"; - const element = document.createElement("a"); - this._bindLink(element, item); - this._setStyles(element, item); - element.textContent = this._normalizeTextContent(item.title); - div.append(element); - if (item.items.length > 0) { - hasAnyNesting = true; - this._addToggleButton(div, item); - const itemsDiv = document.createElement("div"); - itemsDiv.className = "treeItems"; - div.append(itemsDiv); - queue.push({ - parent: itemsDiv, - items: item.items - }); - } - levelData.parent.append(div); - outlineCount++; - } - } - this._finishRendering(fragment, outlineCount, hasAnyNesting); - } - async _currentOutlineItem() { - if (!this._isPagesLoaded) { - throw new Error("_currentOutlineItem: All pages have not been loaded."); - } - if (!this._outline || !this._pdfDocument) { - return; - } - const pageNumberToDestHash = await this._getPageNumberToDestHash(this._pdfDocument); - if (!pageNumberToDestHash) { - return; - } - this._updateCurrentTreeItem(null); - if (this._sidebarView !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_3__.SidebarView.OUTLINE) { - return; - } - for (let i = this._currentPageNumber; i > 0; i--) { - const destHash = pageNumberToDestHash.get(i); - if (!destHash) { - continue; - } - const linkElement = this.container.querySelector(`a[href="${destHash}"]`); - if (!linkElement) { - continue; - } - this._scrollToCurrentTreeItem(linkElement.parentNode); - break; - } - } - async _getPageNumberToDestHash(pdfDocument) { - if (this._pageNumberToDestHashCapability) { - return this._pageNumberToDestHashCapability.promise; - } - this._pageNumberToDestHashCapability = Promise.withResolvers(); - const pageNumberToDestHash = new Map(), - pageNumberNesting = new Map(); - const queue = [{ - nesting: 0, - items: this._outline - }]; - while (queue.length > 0) { - const levelData = queue.shift(), - currentNesting = levelData.nesting; - for (const { - dest, - items - } of levelData.items) { - let explicitDest, pageNumber; - if (typeof dest === "string") { - explicitDest = await pdfDocument.getDestination(dest); - if (pdfDocument !== this._pdfDocument) { - return null; - } - } else { - explicitDest = dest; - } - if (Array.isArray(explicitDest)) { - const [destRef] = explicitDest; - if (destRef && typeof destRef === "object") { - pageNumber = pdfDocument.cachedPageNumber(destRef); - } else if (Number.isInteger(destRef)) { - pageNumber = destRef + 1; - } - if (Number.isInteger(pageNumber) && (!pageNumberToDestHash.has(pageNumber) || currentNesting > pageNumberNesting.get(pageNumber))) { - const destHash = this.linkService.getDestinationHash(dest); - pageNumberToDestHash.set(pageNumber, destHash); - pageNumberNesting.set(pageNumber, currentNesting); - } - } - if (items.length > 0) { - queue.push({ - nesting: currentNesting + 1, - items - }); - } - } - } - this._pageNumberToDestHashCapability.resolve(pageNumberToDestHash.size > 0 ? pageNumberToDestHash : null); - return this._pageNumberToDestHashCapability.promise; - } -} - - -/***/ }), - -/***/ 9966: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFPageView: () => (/* binding */ PDFPageView) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7256); -/* harmony import */ var _annotation_editor_layer_builder_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2664); -/* harmony import */ var _annotation_layer_builder_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2707); -/* harmony import */ var _app_options_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9840); -/* harmony import */ var _draw_layer_builder_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(3088); -/* harmony import */ var web_null_l10n__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(410); -/* harmony import */ var _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(787); -/* harmony import */ var _struct_tree_layer_builder_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(6698); -/* harmony import */ var _text_accessibility_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5860); -/* harmony import */ var _text_highlighter_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(2027); -/* harmony import */ var _text_layer_builder_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(7765); -/* harmony import */ var _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2973); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__, _annotation_editor_layer_builder_js__WEBPACK_IMPORTED_MODULE_3__, _annotation_layer_builder_js__WEBPACK_IMPORTED_MODULE_4__, _draw_layer_builder_js__WEBPACK_IMPORTED_MODULE_6__, web_null_l10n__WEBPACK_IMPORTED_MODULE_7__, _text_layer_builder_js__WEBPACK_IMPORTED_MODULE_12__, _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_13__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__, _annotation_editor_layer_builder_js__WEBPACK_IMPORTED_MODULE_3__, _annotation_layer_builder_js__WEBPACK_IMPORTED_MODULE_4__, _draw_layer_builder_js__WEBPACK_IMPORTED_MODULE_6__, web_null_l10n__WEBPACK_IMPORTED_MODULE_7__, _text_layer_builder_js__WEBPACK_IMPORTED_MODULE_12__, _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_13__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - - - - - - - - - -const DEFAULT_LAYER_PROPERTIES = null; -const LAYERS_ORDER = new Map([["canvasWrapper", 0], ["textLayer", 1], ["annotationLayer", 2], ["annotationEditorLayer", 3], ["xfaLayer", 3]]); -class PDFPageView { - #annotationMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationMode.ENABLE_FORMS; - #hasRestrictedScaling = false; - #layerProperties = null; - #loadingId = null; - #previousRotation = null; - #renderError = null; - #renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.INITIAL; - #textLayerMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.TextLayerMode.ENABLE; - #useThumbnailCanvas = { - directDrawing: true, - initialOptionalContent: true, - regularAnnotations: true - }; - #viewportMap = new WeakMap(); - #layers = [null, null, null, null]; - constructor(options) { - const container = options.container; - const defaultViewport = options.defaultViewport; - this.id = options.id; - this.renderingId = "page" + this.id; - this.#layerProperties = options.layerProperties || DEFAULT_LAYER_PROPERTIES; - this.pdfPage = null; - this.pageLabel = null; - this.rotation = 0; - this.scale = options.scale || _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_SCALE; - this.viewport = defaultViewport; - this.pdfPageRotate = defaultViewport.rotation; - this._optionalContentConfigPromise = options.optionalContentConfigPromise || null; - this.#textLayerMode = options.textLayerMode ?? _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.TextLayerMode.ENABLE; - this.#annotationMode = options.annotationMode ?? pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationMode.ENABLE_FORMS; - this.imageResourcesPath = options.imageResourcesPath || ""; - this.maxCanvasPixels = options.maxCanvasPixels ?? _app_options_js__WEBPACK_IMPORTED_MODULE_5__.AppOptions.get("maxCanvasPixels"); - this.pageColors = options.pageColors || null; - this.eventBus = options.eventBus; - this.renderingQueue = options.renderingQueue; - this.l10n = options.l10n; - this.l10n ||= new web_null_l10n__WEBPACK_IMPORTED_MODULE_7__.GenericL10n(); - this.renderTask = null; - this.resume = null; - this._isStandalone = !this.renderingQueue?.hasViewer(); - this._container = container; - this._annotationCanvasMap = null; - this.annotationLayer = null; - this.annotationEditorLayer = null; - this.textLayer = null; - this.zoomLayer = null; - this.xfaLayer = null; - this.structTreeLayer = null; - this.drawLayer = null; - const div = document.createElement("div"); - div.className = "page"; - div.setAttribute("data-page-number", this.id); - div.setAttribute("role", "region"); - div.setAttribute("data-l10n-id", "pdfjs-page-landmark"); - div.setAttribute("data-l10n-args", JSON.stringify({ - page: this.id - })); - this.div = div; - this.#setDimensions(); - container?.append(div); - if (this._isStandalone) { - container?.style.setProperty("--scale-factor", this.scale * pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.PixelsPerInch.PDF_TO_CSS_UNITS); - const { - optionalContentConfigPromise - } = options; - if (optionalContentConfigPromise) { - optionalContentConfigPromise.then(optionalContentConfig => { - if (optionalContentConfigPromise !== this._optionalContentConfigPromise) { - return; - } - this.#useThumbnailCanvas.initialOptionalContent = optionalContentConfig.hasInitialVisibility; - }); - } - if (!options.l10n) { - this.l10n.translate(this.div); - } - } - } - #addLayer(div, name) { - const pos = LAYERS_ORDER.get(name); - const oldDiv = this.#layers[pos]; - this.#layers[pos] = div; - if (oldDiv) { - oldDiv.replaceWith(div); - return; - } - for (let i = pos - 1; i >= 0; i--) { - const layer = this.#layers[i]; - if (layer) { - layer.after(div); - return; - } - } - this.div.prepend(div); - } - get renderingState() { - return this.#renderingState; - } - set renderingState(state) { - if (state === this.#renderingState) { - return; - } - this.#renderingState = state; - if (this.#loadingId) { - clearTimeout(this.#loadingId); - this.#loadingId = null; - } - switch (state) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.PAUSED: - this.div.classList.remove("loading"); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.RUNNING: - this.div.classList.add("loadingIcon"); - this.#loadingId = setTimeout(() => { - this.div.classList.add("loading"); - this.#loadingId = null; - }, 0); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.INITIAL: - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.FINISHED: - this.div.classList.remove("loadingIcon", "loading"); - break; - } - } - #setDimensions() { - const { - viewport - } = this; - if (this.pdfPage) { - if (this.#previousRotation === viewport.rotation) { - return; - } - this.#previousRotation = viewport.rotation; - } - (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.setLayerDimensions)(this.div, viewport, true, false); - } - setPdfPage(pdfPage) { - if (this._isStandalone && (this.pageColors?.foreground === "CanvasText" || this.pageColors?.background === "Canvas")) { - this._container?.style.setProperty("--hcm-highlight-filter", pdfPage.filterFactory.addHighlightHCMFilter("highlight", "CanvasText", "Canvas", "HighlightText", "Highlight")); - this._container?.style.setProperty("--hcm-highlight-selected-filter", pdfPage.filterFactory.addHighlightHCMFilter("highlight_selected", "CanvasText", "Canvas", "HighlightText", "Highlight")); - } - this.pdfPage = pdfPage; - this.pdfPageRotate = pdfPage.rotate; - const totalRotation = (this.rotation + this.pdfPageRotate) % 360; - this.viewport = pdfPage.getViewport({ - scale: this.scale * pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.PixelsPerInch.PDF_TO_CSS_UNITS, - rotation: totalRotation - }); - this.#setDimensions(); - this.reset(); - } - destroy() { - this.reset(); - this.pdfPage?.cleanup(); - } - get _textHighlighter() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.shadow)(this, "_textHighlighter", new _text_highlighter_js__WEBPACK_IMPORTED_MODULE_11__.TextHighlighter({ - pageIndex: this.id - 1, - eventBus: this.eventBus, - findController: this.#layerProperties.findController - })); - } - async #renderAnnotationLayer() { - let error = null; - try { - await this.annotationLayer.render(this.viewport, "display"); - } catch (ex) { - console.error(`#renderAnnotationLayer: "${ex}".`); - error = ex; - } finally { - this.eventBus.dispatch("annotationlayerrendered", { - source: this, - pageNumber: this.id, - error - }); - } - } - async #renderAnnotationEditorLayer() { - let error = null; - try { - await this.annotationEditorLayer.render(this.viewport, "display"); - } catch (ex) { - console.error(`#renderAnnotationEditorLayer: "${ex}".`); - error = ex; - } finally { - this.eventBus.dispatch("annotationeditorlayerrendered", { - source: this, - pageNumber: this.id, - error - }); - } - } - async #renderDrawLayer() { - try { - await this.drawLayer.render("display"); - } catch (ex) { - console.error(`#renderDrawLayer: "${ex}".`); - } - } - async #renderXfaLayer() { - let error = null; - try { - const result = await this.xfaLayer.render(this.viewport, "display"); - if (result?.textDivs && this._textHighlighter) { - this.#buildXfaTextContentItems(result.textDivs); - } - } catch (ex) { - console.error(`#renderXfaLayer: "${ex}".`); - error = ex; - } finally { - if (this.xfaLayer?.div) { - this.l10n.pause(); - this.#addLayer(this.xfaLayer.div, "xfaLayer"); - this.l10n.resume(); - } - this.eventBus.dispatch("xfalayerrendered", { - source: this, - pageNumber: this.id, - error - }); - } - } - async #renderTextLayer() { - const { - pdfPage, - textLayer, - viewport - } = this; - if (!textLayer) { - return; - } - let error = null; - try { - if (!textLayer.renderingDone) { - const readableStream = pdfPage.streamTextContent({ - includeMarkedContent: true, - disableNormalization: true - }); - textLayer.setTextContentSource(readableStream); - } - await textLayer.render(viewport); - } catch (ex) { - if (ex instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AbortException) { - return; - } - console.error(`#renderTextLayer: "${ex}".`); - error = ex; - } - this.eventBus.dispatch("textlayerrendered", { - source: this, - pageNumber: this.id, - numTextDivs: textLayer.numTextDivs, - error - }); - this.#renderStructTreeLayer(); - } - async #renderStructTreeLayer() { - if (!this.textLayer) { - return; - } - this.structTreeLayer ||= new _struct_tree_layer_builder_js__WEBPACK_IMPORTED_MODULE_9__.StructTreeLayerBuilder(); - const tree = await (!this.structTreeLayer.renderingDone ? this.pdfPage.getStructTree() : null); - const treeDom = this.structTreeLayer?.render(tree); - if (treeDom) { - this.l10n.pause(); - this.canvas?.append(treeDom); - this.l10n.resume(); - } - this.structTreeLayer?.show(); - } - async #buildXfaTextContentItems(textDivs) { - const text = await this.pdfPage.getTextContent(); - const items = []; - for (const item of text.items) { - items.push(item.str); - } - this._textHighlighter.setTextMapping(textDivs, items); - this._textHighlighter.enable(); - } - _resetZoomLayer(removeFromDOM = false) { - if (!this.zoomLayer) { - return; - } - const zoomLayerCanvas = this.zoomLayer.firstChild; - this.#viewportMap.delete(zoomLayerCanvas); - zoomLayerCanvas.width = 0; - zoomLayerCanvas.height = 0; - if (removeFromDOM) { - this.zoomLayer.remove(); - } - this.zoomLayer = null; - } - reset({ - keepZoomLayer = false, - keepAnnotationLayer = false, - keepAnnotationEditorLayer = false, - keepXfaLayer = false, - keepTextLayer = false - } = {}) { - this.cancelRendering({ - keepAnnotationLayer, - keepAnnotationEditorLayer, - keepXfaLayer, - keepTextLayer - }); - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.INITIAL; - const div = this.div; - const childNodes = div.childNodes, - zoomLayerNode = keepZoomLayer && this.zoomLayer || null, - annotationLayerNode = keepAnnotationLayer && this.annotationLayer?.div || null, - annotationEditorLayerNode = keepAnnotationEditorLayer && this.annotationEditorLayer?.div || null, - xfaLayerNode = keepXfaLayer && this.xfaLayer?.div || null, - textLayerNode = keepTextLayer && this.textLayer?.div || null; - for (let i = childNodes.length - 1; i >= 0; i--) { - const node = childNodes[i]; - switch (node) { - case zoomLayerNode: - case annotationLayerNode: - case annotationEditorLayerNode: - case xfaLayerNode: - case textLayerNode: - continue; - } - node.remove(); - const layerIndex = this.#layers.indexOf(node); - if (layerIndex >= 0) { - this.#layers[layerIndex] = null; - } - } - div.removeAttribute("data-loaded"); - if (annotationLayerNode) { - this.annotationLayer.hide(); - } - if (annotationEditorLayerNode) { - this.annotationEditorLayer.hide(); - } - if (xfaLayerNode) { - this.xfaLayer.hide(); - } - if (textLayerNode) { - this.textLayer.hide(); - } - this.structTreeLayer?.hide(); - if (!zoomLayerNode) { - if (this.canvas) { - this.#viewportMap.delete(this.canvas); - this.canvas.width = 0; - this.canvas.height = 0; - delete this.canvas; - } - this._resetZoomLayer(); - } - } - update({ - scale = 0, - rotation = null, - optionalContentConfigPromise = null, - drawingDelay = -1 - }) { - this.scale = scale || this.scale; - if (typeof rotation === "number") { - this.rotation = rotation; - } - if (optionalContentConfigPromise instanceof Promise) { - this._optionalContentConfigPromise = optionalContentConfigPromise; - optionalContentConfigPromise.then(optionalContentConfig => { - if (optionalContentConfigPromise !== this._optionalContentConfigPromise) { - return; - } - this.#useThumbnailCanvas.initialOptionalContent = optionalContentConfig.hasInitialVisibility; - }); - } - this.#useThumbnailCanvas.directDrawing = true; - const totalRotation = (this.rotation + this.pdfPageRotate) % 360; - this.viewport = this.viewport.clone({ - scale: this.scale * pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.PixelsPerInch.PDF_TO_CSS_UNITS, - rotation: totalRotation - }); - this.#setDimensions(); - if (this._isStandalone) { - this._container?.style.setProperty("--scale-factor", this.viewport.scale); - } - if (this.canvas) { - let onlyCssZoom = false; - if (this.#hasRestrictedScaling) { - if (this.maxCanvasPixels === 0) { - onlyCssZoom = true; - } else if (this.maxCanvasPixels > 0) { - const { - width, - height - } = this.viewport; - const { - sx, - sy - } = this.outputScale; - onlyCssZoom = (Math.floor(width) * sx | 0) * (Math.floor(height) * sy | 0) > this.maxCanvasPixels; - } - } - const postponeDrawing = !onlyCssZoom && drawingDelay >= 0 && drawingDelay < 1000; - if (postponeDrawing || onlyCssZoom) { - if (postponeDrawing && this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.FINISHED) { - this.cancelRendering({ - keepZoomLayer: true, - keepAnnotationLayer: true, - keepAnnotationEditorLayer: true, - keepXfaLayer: true, - keepTextLayer: true, - cancelExtraDelay: drawingDelay - }); - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.FINISHED; - this.#useThumbnailCanvas.directDrawing = false; - } - this.cssTransform({ - target: this.canvas, - redrawAnnotationLayer: true, - redrawAnnotationEditorLayer: true, - redrawXfaLayer: true, - redrawTextLayer: !postponeDrawing, - hideTextLayer: postponeDrawing - }); - if (postponeDrawing) { - return; - } - this.eventBus.dispatch("pagerendered", { - source: this, - pageNumber: this.id, - cssTransform: true, - timestamp: performance.now(), - error: this.#renderError - }); - return; - } - if (!this.zoomLayer && !this.canvas.hidden) { - this.zoomLayer = this.canvas.parentNode; - this.zoomLayer.style.position = "absolute"; - } - } - if (this.zoomLayer) { - this.cssTransform({ - target: this.zoomLayer.firstChild - }); - } - this.reset({ - keepZoomLayer: true, - keepAnnotationLayer: true, - keepAnnotationEditorLayer: true, - keepXfaLayer: true, - keepTextLayer: true - }); - } - cancelRendering({ - keepAnnotationLayer = false, - keepAnnotationEditorLayer = false, - keepXfaLayer = false, - keepTextLayer = false, - cancelExtraDelay = 0 - } = {}) { - if (this.renderTask) { - this.renderTask.cancel(cancelExtraDelay); - this.renderTask = null; - } - this.resume = null; - if (this.textLayer && (!keepTextLayer || !this.textLayer.div)) { - this.textLayer.cancel(); - this.textLayer = null; - } - if (this.structTreeLayer && !this.textLayer) { - this.structTreeLayer = null; - } - if (this.annotationLayer && (!keepAnnotationLayer || !this.annotationLayer.div)) { - this.annotationLayer.cancel(); - this.annotationLayer = null; - this._annotationCanvasMap = null; - } - if (this.annotationEditorLayer && (!keepAnnotationEditorLayer || !this.annotationEditorLayer.div)) { - if (this.drawLayer) { - this.drawLayer.cancel(); - this.drawLayer = null; - } - this.annotationEditorLayer.cancel(); - this.annotationEditorLayer = null; - } - if (this.xfaLayer && (!keepXfaLayer || !this.xfaLayer.div)) { - this.xfaLayer.cancel(); - this.xfaLayer = null; - this._textHighlighter?.disable(); - } - } - cssTransform({ - target, - redrawAnnotationLayer = false, - redrawAnnotationEditorLayer = false, - redrawXfaLayer = false, - redrawTextLayer = false, - hideTextLayer = false - }) { - if (!target.hasAttribute("zooming")) { - target.setAttribute("zooming", true); - const { - style - } = target; - style.width = style.height = ""; - } - const originalViewport = this.#viewportMap.get(target); - if (this.viewport !== originalViewport) { - const relativeRotation = this.viewport.rotation - originalViewport.rotation; - const absRotation = Math.abs(relativeRotation); - let scaleX = 1, - scaleY = 1; - if (absRotation === 90 || absRotation === 270) { - const { - width, - height - } = this.viewport; - scaleX = height / width; - scaleY = width / height; - } - target.style.transform = `rotate(${relativeRotation}deg) scale(${scaleX}, ${scaleY})`; - } - if (redrawAnnotationLayer && this.annotationLayer) { - this.#renderAnnotationLayer(); - } - if (redrawAnnotationEditorLayer && this.annotationEditorLayer) { - if (this.drawLayer) { - this.#renderDrawLayer(); - } - this.#renderAnnotationEditorLayer(); - } - if (redrawXfaLayer && this.xfaLayer) { - this.#renderXfaLayer(); - } - if (this.textLayer) { - if (hideTextLayer) { - this.textLayer.hide(); - this.structTreeLayer?.hide(); - } else if (redrawTextLayer) { - this.#renderTextLayer(); - } - } - } - get width() { - return this.viewport.width; - } - get height() { - return this.viewport.height; - } - getPagePoint(x, y) { - return this.viewport.convertToPdfPoint(x, y); - } - async #finishRenderTask(renderTask, error = null) { - if (renderTask === this.renderTask) { - this.renderTask = null; - } - if (error instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.RenderingCancelledException) { - this.#renderError = null; - return; - } - this.#renderError = error; - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.FINISHED; - this._resetZoomLayer(true); - this.#useThumbnailCanvas.regularAnnotations = !renderTask.separateAnnots; - this.eventBus.dispatch("pagerendered", { - source: this, - pageNumber: this.id, - cssTransform: false, - timestamp: performance.now(), - error: this.#renderError - }); - if (error) { - throw error; - } - } - async draw() { - if (this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.INITIAL) { - console.error("Must be in new state before drawing"); - this.reset(); - } - const { - div, - l10n, - pageColors, - pdfPage, - viewport - } = this; - if (!pdfPage) { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.FINISHED; - throw new Error("pdfPage is not loaded"); - } - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.RUNNING; - const canvasWrapper = document.createElement("div"); - canvasWrapper.classList.add("canvasWrapper"); - canvasWrapper.setAttribute("aria-hidden", true); - this.#addLayer(canvasWrapper, "canvasWrapper"); - if (!this.textLayer && this.#textLayerMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.TextLayerMode.DISABLE && !pdfPage.isPureXfa) { - this._accessibilityManager ||= new _text_accessibility_js__WEBPACK_IMPORTED_MODULE_10__.TextAccessibilityManager(); - this.textLayer = new _text_layer_builder_js__WEBPACK_IMPORTED_MODULE_12__.TextLayerBuilder({ - highlighter: this._textHighlighter, - accessibilityManager: this._accessibilityManager, - enablePermissions: this.#textLayerMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.TextLayerMode.ENABLE_PERMISSIONS, - onAppend: textLayerDiv => { - this.l10n.pause(); - this.#addLayer(textLayerDiv, "textLayer"); - this.l10n.resume(); - } - }); - } - if (!this.annotationLayer && this.#annotationMode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationMode.DISABLE) { - const { - annotationStorage, - annotationEditorUIManager, - downloadManager, - enableScripting, - fieldObjectsPromise, - hasJSActionsPromise, - linkService - } = this.#layerProperties; - this._annotationCanvasMap ||= new Map(); - this.annotationLayer = new _annotation_layer_builder_js__WEBPACK_IMPORTED_MODULE_4__.AnnotationLayerBuilder({ - pdfPage, - annotationStorage, - imageResourcesPath: this.imageResourcesPath, - renderForms: this.#annotationMode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationMode.ENABLE_FORMS, - linkService, - downloadManager, - enableScripting, - hasJSActionsPromise, - fieldObjectsPromise, - annotationCanvasMap: this._annotationCanvasMap, - accessibilityManager: this._accessibilityManager, - annotationEditorUIManager, - onAppend: annotationLayerDiv => { - this.#addLayer(annotationLayerDiv, "annotationLayer"); - } - }); - } - const renderContinueCallback = cont => { - showCanvas?.(false); - if (this.renderingQueue && !this.renderingQueue.isHighestPriority(this)) { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.PAUSED; - this.resume = () => { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.RenderingStates.RUNNING; - cont(); - }; - return; - } - cont(); - }; - const { - width, - height - } = viewport; - const canvas = document.createElement("canvas"); - canvas.setAttribute("role", "presentation"); - canvas.hidden = true; - const hasHCM = !!(pageColors?.background && pageColors?.foreground); - let showCanvas = isLastShow => { - if (!hasHCM || isLastShow) { - canvas.hidden = false; - showCanvas = null; - } - }; - canvasWrapper.append(canvas); - this.canvas = canvas; - const ctx = canvas.getContext("2d", { - alpha: false - }); - const outputScale = this.outputScale = new _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.OutputScale(); - if (this.maxCanvasPixels === 0) { - const invScale = 1 / this.scale; - outputScale.sx *= invScale; - outputScale.sy *= invScale; - this.#hasRestrictedScaling = true; - } else if (this.maxCanvasPixels > 0) { - const pixelsInViewport = width * height; - const maxScale = Math.sqrt(this.maxCanvasPixels / pixelsInViewport); - if (outputScale.sx > maxScale || outputScale.sy > maxScale) { - outputScale.sx = maxScale; - outputScale.sy = maxScale; - this.#hasRestrictedScaling = true; - } else { - this.#hasRestrictedScaling = false; - } - } - const sfx = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.approximateFraction)(outputScale.sx); - const sfy = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.approximateFraction)(outputScale.sy); - canvas.width = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.roundToDivide)(width * outputScale.sx, sfx[0]); - canvas.height = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.roundToDivide)(height * outputScale.sy, sfy[0]); - const { - style - } = canvas; - style.width = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.roundToDivide)(width, sfx[1]) + "px"; - style.height = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.roundToDivide)(height, sfy[1]) + "px"; - this.#viewportMap.set(canvas, viewport); - const transform = outputScale.scaled ? [outputScale.sx, 0, 0, outputScale.sy, 0, 0] : null; - const renderContext = { - canvasContext: ctx, - transform, - viewport, - annotationMode: this.#annotationMode, - optionalContentConfigPromise: this._optionalContentConfigPromise, - annotationCanvasMap: this._annotationCanvasMap, - pageColors - }; - const renderTask = this.renderTask = this.pdfPage.render(renderContext); - renderTask.onContinue = renderContinueCallback; - const resultPromise = renderTask.promise.then(async () => { - showCanvas?.(true); - await this.#finishRenderTask(renderTask); - this.#renderTextLayer(); - if (this.annotationLayer) { - await this.#renderAnnotationLayer(); - } - const { - annotationEditorUIManager - } = this.#layerProperties; - if (!annotationEditorUIManager) { - return; - } - this.drawLayer ||= new _draw_layer_builder_js__WEBPACK_IMPORTED_MODULE_6__.DrawLayerBuilder({ - pageIndex: this.id - }); - await this.#renderDrawLayer(); - this.drawLayer.setParent(canvasWrapper); - if (!this.annotationEditorLayer) { - this.annotationEditorLayer = new _annotation_editor_layer_builder_js__WEBPACK_IMPORTED_MODULE_3__.AnnotationEditorLayerBuilder({ - uiManager: annotationEditorUIManager, - pdfPage, - l10n, - accessibilityManager: this._accessibilityManager, - annotationLayer: this.annotationLayer?.annotationLayer, - textLayer: this.textLayer, - drawLayer: this.drawLayer.getDrawLayer(), - onAppend: annotationEditorLayerDiv => { - this.#addLayer(annotationEditorLayerDiv, "annotationEditorLayer"); - } - }); - } - this.#renderAnnotationEditorLayer(); - }, error => { - if (!(error instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.RenderingCancelledException)) { - showCanvas?.(true); - } - return this.#finishRenderTask(renderTask, error); - }); - if (pdfPage.isPureXfa) { - if (!this.xfaLayer) { - const { - annotationStorage, - linkService - } = this.#layerProperties; - this.xfaLayer = new _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_13__.XfaLayerBuilder({ - pdfPage, - annotationStorage, - linkService - }); - } - this.#renderXfaLayer(); - } - div.setAttribute("data-loaded", true); - this.eventBus.dispatch("pagerender", { - source: this, - pageNumber: this.id - }); - return resultPromise; - } - setPageLabel(label) { - this.pageLabel = typeof label === "string" ? label : null; - this.div.setAttribute("data-l10n-args", JSON.stringify({ - page: this.pageLabel ?? this.id - })); - if (this.pageLabel !== null) { - this.div.setAttribute("data-page-label", this.pageLabel); - } else { - this.div.removeAttribute("data-page-label"); - } - } - get thumbnailCanvas() { - const { - directDrawing, - initialOptionalContent, - regularAnnotations - } = this.#useThumbnailCanvas; - return directDrawing && initialOptionalContent && regularAnnotations ? this.canvas : null; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 8917: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFPresentationMode: () => (/* binding */ PDFPresentationMode) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -const DELAY_BEFORE_HIDING_CONTROLS = 3000; -const ACTIVE_SELECTOR = "pdfPresentationMode"; -const CONTROLS_SELECTOR = "pdfPresentationModeControls"; -const MOUSE_SCROLL_COOLDOWN_TIME = 50; -const PAGE_SWITCH_THRESHOLD = 0.1; -const SWIPE_MIN_DISTANCE_THRESHOLD = 50; -const SWIPE_ANGLE_THRESHOLD = Math.PI / 6; -class PDFPresentationMode { - #state = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.UNKNOWN; - #args = null; - #fullscreenChangeAbortController = null; - #windowAbortController = null; - constructor({ - container, - pdfViewer, - eventBus - }) { - this.container = container; - this.pdfViewer = pdfViewer; - this.eventBus = eventBus; - this.contextMenuOpen = false; - this.mouseScrollTimeStamp = 0; - this.mouseScrollDelta = 0; - this.touchSwipeState = null; - } - async request() { - const { - container, - pdfViewer - } = this; - if (this.active || !pdfViewer.pagesCount || !container.requestFullscreen) { - return false; - } - this.#addFullscreenChangeListeners(); - this.#notifyStateChange(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.CHANGING); - const promise = container.requestFullscreen(); - this.#args = { - pageNumber: pdfViewer.currentPageNumber, - scaleValue: pdfViewer.currentScaleValue, - scrollMode: pdfViewer.scrollMode, - spreadMode: null, - annotationEditorMode: null - }; - if (pdfViewer.spreadMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SpreadMode.NONE && !(pdfViewer.pageViewsReady && pdfViewer.hasEqualPageSizes)) { - console.warn("Ignoring Spread modes when entering PresentationMode, " + "since the document may contain varying page sizes."); - this.#args.spreadMode = pdfViewer.spreadMode; - } - if (pdfViewer.annotationEditorMode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationEditorType.DISABLE) { - this.#args.annotationEditorMode = pdfViewer.annotationEditorMode; - } - try { - await promise; - pdfViewer.focus(); - return true; - } catch { - this.#removeFullscreenChangeListeners(); - this.#notifyStateChange(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.NORMAL); - } - return false; - } - get active() { - return this.#state === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.CHANGING || this.#state === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.FULLSCREEN; - } - #mouseWheel(evt) { - if (!this.active) { - return; - } - evt.preventDefault(); - const delta = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.normalizeWheelEventDelta)(evt); - const currentTime = Date.now(); - const storedTime = this.mouseScrollTimeStamp; - if (currentTime > storedTime && currentTime - storedTime < MOUSE_SCROLL_COOLDOWN_TIME) { - return; - } - if (this.mouseScrollDelta > 0 && delta < 0 || this.mouseScrollDelta < 0 && delta > 0) { - this.#resetMouseScrollState(); - } - this.mouseScrollDelta += delta; - if (Math.abs(this.mouseScrollDelta) >= PAGE_SWITCH_THRESHOLD) { - const totalDelta = this.mouseScrollDelta; - this.#resetMouseScrollState(); - const success = totalDelta > 0 ? this.pdfViewer.previousPage() : this.pdfViewer.nextPage(); - if (success) { - this.mouseScrollTimeStamp = currentTime; - } - } - } - #notifyStateChange(state) { - this.#state = state; - this.eventBus.dispatch("presentationmodechanged", { - source: this, - state - }); - } - #enter() { - this.#notifyStateChange(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.FULLSCREEN); - this.container.classList.add(ACTIVE_SELECTOR); - setTimeout(() => { - this.pdfViewer.scrollMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.ScrollMode.PAGE; - if (this.#args.spreadMode !== null) { - this.pdfViewer.spreadMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SpreadMode.NONE; - } - this.pdfViewer.currentPageNumber = this.#args.pageNumber; - this.pdfViewer.currentScaleValue = "page-fit"; - if (this.#args.annotationEditorMode !== null) { - this.pdfViewer.annotationEditorMode = { - mode: pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.AnnotationEditorType.NONE - }; - } - }, 0); - this.#addWindowListeners(); - this.#showControls(); - this.contextMenuOpen = false; - document.getSelection().empty(); - } - #exit() { - const pageNumber = this.pdfViewer.currentPageNumber; - this.container.classList.remove(ACTIVE_SELECTOR); - setTimeout(() => { - this.#removeFullscreenChangeListeners(); - this.#notifyStateChange(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.NORMAL); - this.pdfViewer.scrollMode = this.#args.scrollMode; - if (this.#args.spreadMode !== null) { - this.pdfViewer.spreadMode = this.#args.spreadMode; - } - this.pdfViewer.currentScaleValue = this.#args.scaleValue; - this.pdfViewer.currentPageNumber = pageNumber; - if (this.#args.annotationEditorMode !== null) { - this.pdfViewer.annotationEditorMode = { - mode: this.#args.annotationEditorMode - }; - } - this.#args = null; - }, 0); - this.#removeWindowListeners(); - this.#hideControls(); - this.#resetMouseScrollState(); - this.contextMenuOpen = false; - } - #mouseDown(evt) { - if (this.contextMenuOpen) { - this.contextMenuOpen = false; - evt.preventDefault(); - return; - } - if (evt.button !== 0) { - return; - } - if (evt.target.href && evt.target.parentNode?.hasAttribute("data-internal-link")) { - return; - } - evt.preventDefault(); - if (evt.shiftKey) { - this.pdfViewer.previousPage(); - } else { - this.pdfViewer.nextPage(); - } - } - #contextMenu() { - this.contextMenuOpen = true; - } - #showControls() { - if (this.controlsTimeout) { - clearTimeout(this.controlsTimeout); - } else { - this.container.classList.add(CONTROLS_SELECTOR); - } - this.controlsTimeout = setTimeout(() => { - this.container.classList.remove(CONTROLS_SELECTOR); - delete this.controlsTimeout; - }, DELAY_BEFORE_HIDING_CONTROLS); - } - #hideControls() { - if (!this.controlsTimeout) { - return; - } - clearTimeout(this.controlsTimeout); - this.container.classList.remove(CONTROLS_SELECTOR); - delete this.controlsTimeout; - } - #resetMouseScrollState() { - this.mouseScrollTimeStamp = 0; - this.mouseScrollDelta = 0; - } - #touchSwipe(evt) { - if (!this.active) { - return; - } - if (evt.touches.length > 1) { - this.touchSwipeState = null; - return; - } - switch (evt.type) { - case "touchstart": - this.touchSwipeState = { - startX: evt.touches[0].pageX, - startY: evt.touches[0].pageY, - endX: evt.touches[0].pageX, - endY: evt.touches[0].pageY - }; - break; - case "touchmove": - if (this.touchSwipeState === null) { - return; - } - this.touchSwipeState.endX = evt.touches[0].pageX; - this.touchSwipeState.endY = evt.touches[0].pageY; - evt.preventDefault(); - break; - case "touchend": - if (this.touchSwipeState === null) { - return; - } - let delta = 0; - const dx = this.touchSwipeState.endX - this.touchSwipeState.startX; - const dy = this.touchSwipeState.endY - this.touchSwipeState.startY; - const absAngle = Math.abs(Math.atan2(dy, dx)); - if (Math.abs(dx) > SWIPE_MIN_DISTANCE_THRESHOLD && (absAngle <= SWIPE_ANGLE_THRESHOLD || absAngle >= Math.PI - SWIPE_ANGLE_THRESHOLD)) { - delta = dx; - } else if (Math.abs(dy) > SWIPE_MIN_DISTANCE_THRESHOLD && Math.abs(absAngle - Math.PI / 2) <= SWIPE_ANGLE_THRESHOLD) { - delta = dy; - } - if (delta > 0) { - this.pdfViewer.previousPage(); - } else if (delta < 0) { - this.pdfViewer.nextPage(); - } - break; - } - } - #addWindowListeners() { - if (this.#windowAbortController) { - return; - } - this.#windowAbortController = new AbortController(); - const { - signal - } = this.#windowAbortController; - const touchSwipeBind = this.#touchSwipe.bind(this); - window.addEventListener("mousemove", this.#showControls.bind(this), { - signal - }); - window.addEventListener("mousedown", this.#mouseDown.bind(this), { - signal - }); - window.addEventListener("wheel", this.#mouseWheel.bind(this), { - passive: false, - signal - }); - window.addEventListener("keydown", this.#resetMouseScrollState.bind(this), { - signal - }); - window.addEventListener("contextmenu", this.#contextMenu.bind(this), { - signal - }); - window.addEventListener("touchstart", touchSwipeBind, { - signal - }); - window.addEventListener("touchmove", touchSwipeBind, { - signal - }); - window.addEventListener("touchend", touchSwipeBind, { - signal - }); - } - #removeWindowListeners() { - this.#windowAbortController?.abort(); - this.#windowAbortController = null; - } - #addFullscreenChangeListeners() { - if (this.#fullscreenChangeAbortController) { - return; - } - this.#fullscreenChangeAbortController = new AbortController(); - window.addEventListener("fullscreenchange", () => { - if (document.fullscreenElement) { - this.#enter(); - } else { - this.#exit(); - } - }, { - signal: this.#fullscreenChangeAbortController.signal - }); - } - #removeFullscreenChangeListeners() { - this.#fullscreenChangeAbortController?.abort(); - this.#fullscreenChangeAbortController = null; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 1144: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFPrintServiceFactory: () => (/* binding */ PDFPrintServiceFactory) -/* harmony export */ }); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_every_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3215); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8721); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2603); -/* harmony import */ var _print_utils_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(659); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__, _print_utils_js__WEBPACK_IMPORTED_MODULE_6__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__, _print_utils_js__WEBPACK_IMPORTED_MODULE_6__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - - -let activeService = null; -let dialog = null; -let overlayManager = null; -let viewerApp = { - initialized: false -}; -function renderPage(activeServiceOnEntry, pdfDocument, pageNumber, size, printResolution, optionalContentConfigPromise, printAnnotationStoragePromise) { - const scratchCanvas = activeService.scratchCanvas; - const PRINT_UNITS = printResolution / pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__.PixelsPerInch.PDF; - scratchCanvas.width = Math.floor(size.width * PRINT_UNITS); - scratchCanvas.height = Math.floor(size.height * PRINT_UNITS); - const ctx = scratchCanvas.getContext("2d"); - ctx.save(); - ctx.fillStyle = "rgb(255, 255, 255)"; - ctx.fillRect(0, 0, scratchCanvas.width, scratchCanvas.height); - ctx.restore(); - return Promise.all([pdfDocument.getPage(pageNumber), printAnnotationStoragePromise]).then(function ([pdfPage, printAnnotationStorage]) { - const renderContext = { - canvasContext: ctx, - transform: [PRINT_UNITS, 0, 0, PRINT_UNITS, 0, 0], - viewport: pdfPage.getViewport({ - scale: 1, - rotation: size.rotation - }), - intent: "print", - annotationMode: pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__.AnnotationMode.ENABLE_STORAGE, - optionalContentConfigPromise, - printAnnotationStorage - }; - const renderTask = pdfPage.render(renderContext); - return renderTask.promise.catch(reason => { - if (!(reason instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__.RenderingCancelledException)) { - console.error(reason); - } - throw reason; - }); - }); -} -class PDFPrintService { - constructor({ - pdfDocument, - pagesOverview, - printContainer, - printResolution, - printAnnotationStoragePromise = null - }) { - this.pdfDocument = pdfDocument; - this.pagesOverview = pagesOverview; - this.printContainer = printContainer; - this._printResolution = printResolution || 150; - this._optionalContentConfigPromise = pdfDocument.getOptionalContentConfig({ - intent: "print" - }); - this._printAnnotationStoragePromise = printAnnotationStoragePromise || Promise.resolve(); - this.currentPage = -1; - this.scratchCanvas = document.createElement("canvas"); - } - layout() { - this.throwIfInactive(); - const body = document.querySelector("body"); - body.setAttribute("data-pdfjsprinting", true); - const { - width, - height - } = this.pagesOverview[0]; - const hasEqualPageSizes = this.pagesOverview.every(size => size.width === width && size.height === height); - if (!hasEqualPageSizes) { - console.warn("Not all pages have the same size. The printed result may be incorrect!"); - } - this.pageStyleSheet = document.createElement("style"); - this.pageStyleSheet.textContent = `@page { size: ${width}pt ${height}pt;}`; - body.append(this.pageStyleSheet); - } - destroy() { - if (activeService !== this) { - return; - } - this.printContainer.textContent = ""; - const body = document.querySelector("body"); - body.removeAttribute("data-pdfjsprinting"); - if (this.pageStyleSheet) { - this.pageStyleSheet.remove(); - this.pageStyleSheet = null; - } - this.scratchCanvas.width = this.scratchCanvas.height = 0; - this.scratchCanvas = null; - activeService = null; - ensureOverlay().then(function () { - if (overlayManager.active === dialog) { - overlayManager.close(dialog); - } - }); - } - renderPages() { - if (this.pdfDocument.isPureXfa) { - (0,_print_utils_js__WEBPACK_IMPORTED_MODULE_6__.getXfaHtmlForPrinting)(this.printContainer, this.pdfDocument); - return Promise.resolve(); - } - const pageCount = this.pagesOverview.length; - const renderNextPage = (resolve, reject) => { - this.throwIfInactive(); - if (++this.currentPage >= pageCount) { - renderProgress(pageCount, pageCount); - resolve(); - return; - } - const index = this.currentPage; - renderProgress(index, pageCount); - renderPage(this, this.pdfDocument, index + 1, this.pagesOverview[index], this._printResolution, this._optionalContentConfigPromise, this._printAnnotationStoragePromise).then(this.useRenderedPage.bind(this)).then(function () { - renderNextPage(resolve, reject); - }, reject); - }; - return new Promise(renderNextPage); - } - useRenderedPage() { - this.throwIfInactive(); - const img = document.createElement("img"); - const scratchCanvas = this.scratchCanvas; - if ("toBlob" in scratchCanvas) { - scratchCanvas.toBlob(function (blob) { - img.src = URL.createObjectURL(blob); - }); - } else { - img.src = scratchCanvas.toDataURL(); - } - const wrapper = document.createElement("div"); - wrapper.className = "printedPage"; - wrapper.append(img); - this.printContainer.append(wrapper); - return new Promise(function (resolve, reject) { - img.onload = resolve; - img.onerror = reject; - }); - } - performPrint() { - this.throwIfInactive(); - return new Promise(resolve => { - setTimeout(() => { - if (!this.active) { - resolve(); - return; - } - print.call(window); - setTimeout(resolve, 20); - }, 0); - }); - } - get active() { - return this === activeService; - } - throwIfInactive() { - if (!this.active) { - throw new Error("This print request was cancelled or completed."); - } - } -} -const print = window.print; -window.print = function () { - if (activeService) { - console.warn("Ignored window.print() because of a pending print job."); - return; - } - ensureOverlay().then(function () { - if (activeService) { - overlayManager.open(dialog); - } - }); - try { - dispatchEvent("beforeprint"); - } finally { - if (!activeService) { - console.error("Expected print service to be initialized."); - ensureOverlay().then(function () { - if (overlayManager.active === dialog) { - overlayManager.close(dialog); - } - }); - return; - } - const activeServiceOnEntry = activeService; - activeService.renderPages().then(function () { - return activeServiceOnEntry.performPrint(); - }).catch(function () {}).then(function () { - if (activeServiceOnEntry.active) { - abort(); - } - }); - } -}; -function dispatchEvent(eventType) { - const event = new CustomEvent(eventType, { - bubbles: false, - cancelable: false, - detail: "custom" - }); - window.dispatchEvent(event); -} -function abort() { - if (activeService) { - activeService.destroy(); - dispatchEvent("afterprint"); - } -} -function renderProgress(index, total) { - dialog ||= document.getElementById("printServiceDialog"); - const progress = Math.round(100 * index / total); - const progressBar = dialog.querySelector("progress"); - const progressPerc = dialog.querySelector(".relative-progress"); - progressBar.value = progress; - progressPerc.setAttribute("data-l10n-args", JSON.stringify({ - progress - })); -} -window.addEventListener("keydown", function (event) { - if (event.keyCode === 80 && (event.ctrlKey || event.metaKey) && !event.altKey && (!event.shiftKey || window.chrome || window.opera)) { - window.print(); - event.preventDefault(); - event.stopImmediatePropagation(); - } -}, true); -if ("onbeforeprint" in window) { - const stopPropagationIfNeeded = function (event) { - if (event.detail !== "custom") { - event.stopImmediatePropagation(); - } - }; - window.addEventListener("beforeprint", stopPropagationIfNeeded); - window.addEventListener("afterprint", stopPropagationIfNeeded); -} -let overlayPromise; -function ensureOverlay() { - if (!overlayPromise) { - overlayManager = viewerApp.overlayManager; - if (!overlayManager) { - throw new Error("The overlay manager has not yet been initialized."); - } - dialog ||= document.getElementById("printServiceDialog"); - overlayPromise = overlayManager.register(dialog, true); - document.getElementById("printCancel").onclick = abort; - dialog.addEventListener("close", abort); - } - return overlayPromise; -} -class PDFPrintServiceFactory { - static initGlobals(app) { - viewerApp = app; - } - static get supportsPrinting() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_5__.shadow)(this, "supportsPrinting", true); - } - static createPrintService(params) { - if (activeService) { - throw new Error("The print service is created and active."); - } - return activeService = new PDFPrintService(params); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 6615: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFRenderingQueue: () => (/* binding */ PDFRenderingQueue) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -const CLEANUP_TIMEOUT = 30000; -class PDFRenderingQueue { - constructor() { - this.pdfViewer = null; - this.pdfThumbnailViewer = null; - this.onIdle = null; - this.highestPriorityPage = null; - this.idleTimeout = null; - this.printing = false; - this.isThumbnailViewEnabled = false; - Object.defineProperty(this, "hasViewer", { - value: () => !!this.pdfViewer - }); - } - setViewer(pdfViewer) { - this.pdfViewer = pdfViewer; - } - setThumbnailViewer(pdfThumbnailViewer) { - this.pdfThumbnailViewer = pdfThumbnailViewer; - } - isHighestPriority(view) { - return this.highestPriorityPage === view.renderingId; - } - renderHighestPriority(currentlyVisiblePages) { - if (this.idleTimeout) { - clearTimeout(this.idleTimeout); - this.idleTimeout = null; - } - if (this.pdfViewer.forceRendering(currentlyVisiblePages)) { - return; - } - if (this.isThumbnailViewEnabled && this.pdfThumbnailViewer?.forceRendering()) { - return; - } - if (this.printing) { - return; - } - if (this.onIdle) { - this.idleTimeout = setTimeout(this.onIdle.bind(this), CLEANUP_TIMEOUT); - } - } - getHighestPriority(visible, views, scrolledDown, preRenderExtra = false) { - const visibleViews = visible.views, - numVisible = visibleViews.length; - if (numVisible === 0) { - return null; - } - for (let i = 0; i < numVisible; i++) { - const view = visibleViews[i].view; - if (!this.isViewFinished(view)) { - return view; - } - } - const firstId = visible.first.id, - lastId = visible.last.id; - if (lastId - firstId + 1 > numVisible) { - const visibleIds = visible.ids; - for (let i = 1, ii = lastId - firstId; i < ii; i++) { - const holeId = scrolledDown ? firstId + i : lastId - i; - if (visibleIds.has(holeId)) { - continue; - } - const holeView = views[holeId - 1]; - if (!this.isViewFinished(holeView)) { - return holeView; - } - } - } - let preRenderIndex = scrolledDown ? lastId : firstId - 2; - let preRenderView = views[preRenderIndex]; - if (preRenderView && !this.isViewFinished(preRenderView)) { - return preRenderView; - } - if (preRenderExtra) { - preRenderIndex += scrolledDown ? 1 : -1; - preRenderView = views[preRenderIndex]; - if (preRenderView && !this.isViewFinished(preRenderView)) { - return preRenderView; - } - } - return null; - } - isViewFinished(view) { - return view.renderingState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.FINISHED; - } - renderView(view) { - switch (view.renderingState) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.FINISHED: - return false; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.PAUSED: - this.highestPriorityPage = view.renderingId; - view.resume(); - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.RUNNING: - this.highestPriorityPage = view.renderingId; - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.INITIAL: - this.highestPriorityPage = view.renderingId; - view.draw().finally(() => { - this.renderHighestPriority(); - }).catch(reason => { - if (reason instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.RenderingCancelledException) { - return; - } - console.error(`renderView: "${reason}"`); - }); - break; - } - return true; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 5942: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFScriptingManager: () => (/* binding */ PDFScriptingManager) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6197); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(7256); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_9__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_9__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - - - - - - - -class PDFScriptingManager { - #closeCapability = null; - #destroyCapability = null; - #docProperties = null; - #eventAbortController = null; - #eventBus = null; - #externalServices = null; - #pdfDocument = null; - #pdfViewer = null; - #ready = false; - #scripting = null; - #willPrintCapability = null; - constructor({ - eventBus, - externalServices = null, - docProperties = null - }) { - this.#eventBus = eventBus; - this.#externalServices = externalServices; - this.#docProperties = docProperties; - } - setViewer(pdfViewer) { - this.#pdfViewer = pdfViewer; - } - async setDocument(pdfDocument) { - if (this.#pdfDocument) { - await this.#destroyScripting(); - } - this.#pdfDocument = pdfDocument; - if (!pdfDocument) { - return; - } - const [objects, calculationOrder, docActions] = await Promise.all([pdfDocument.getFieldObjects(), pdfDocument.getCalculationOrderIds(), pdfDocument.getJSActions()]); - if (!objects && !docActions) { - await this.#destroyScripting(); - return; - } - if (pdfDocument !== this.#pdfDocument) { - return; - } - try { - this.#scripting = this.#initScripting(); - } catch (error) { - console.error(`setDocument: "${error.message}".`); - await this.#destroyScripting(); - return; - } - const eventBus = this.#eventBus; - this.#eventAbortController = new AbortController(); - const { - signal - } = this.#eventAbortController; - eventBus._on("updatefromsandbox", event => { - if (event?.source === window) { - this.#updateFromSandbox(event.detail); - } - }, { - signal - }); - eventBus._on("dispatcheventinsandbox", event => { - this.#scripting?.dispatchEventInSandbox(event.detail); - }, { - signal - }); - eventBus._on("pagechanging", ({ - pageNumber, - previous - }) => { - if (pageNumber === previous) { - return; - } - this.#dispatchPageClose(previous); - this.#dispatchPageOpen(pageNumber); - }, { - signal - }); - eventBus._on("pagerendered", ({ - pageNumber - }) => { - if (!this._pageOpenPending.has(pageNumber)) { - return; - } - if (pageNumber !== this.#pdfViewer.currentPageNumber) { - return; - } - this.#dispatchPageOpen(pageNumber); - }, { - signal - }); - eventBus._on("pagesdestroy", async () => { - await this.#dispatchPageClose(this.#pdfViewer.currentPageNumber); - await this.#scripting?.dispatchEventInSandbox({ - id: "doc", - name: "WillClose" - }); - this.#closeCapability?.resolve(); - }, { - signal - }); - try { - const docProperties = await this.#docProperties(pdfDocument); - if (pdfDocument !== this.#pdfDocument) { - return; - } - await this.#scripting.createSandbox({ - objects, - calculationOrder, - appInfo: { - platform: navigator.platform, - language: navigator.language - }, - docInfo: { - ...docProperties, - actions: docActions - } - }); - eventBus.dispatch("sandboxcreated", { - source: this - }); - } catch (error) { - console.error(`setDocument: "${error.message}".`); - await this.#destroyScripting(); - return; - } - await this.#scripting?.dispatchEventInSandbox({ - id: "doc", - name: "Open" - }); - await this.#dispatchPageOpen(this.#pdfViewer.currentPageNumber, true); - Promise.resolve().then(() => { - if (pdfDocument === this.#pdfDocument) { - this.#ready = true; - } - }); - } - async dispatchWillSave() { - return this.#scripting?.dispatchEventInSandbox({ - id: "doc", - name: "WillSave" - }); - } - async dispatchDidSave() { - return this.#scripting?.dispatchEventInSandbox({ - id: "doc", - name: "DidSave" - }); - } - async dispatchWillPrint() { - if (!this.#scripting) { - return; - } - await this.#willPrintCapability?.promise; - this.#willPrintCapability = Promise.withResolvers(); - try { - await this.#scripting.dispatchEventInSandbox({ - id: "doc", - name: "WillPrint" - }); - } catch (ex) { - this.#willPrintCapability.resolve(); - this.#willPrintCapability = null; - throw ex; - } - await this.#willPrintCapability.promise; - } - async dispatchDidPrint() { - return this.#scripting?.dispatchEventInSandbox({ - id: "doc", - name: "DidPrint" - }); - } - get destroyPromise() { - return this.#destroyCapability?.promise || null; - } - get ready() { - return this.#ready; - } - get _pageOpenPending() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_9__.shadow)(this, "_pageOpenPending", new Set()); - } - get _visitedPages() { - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_9__.shadow)(this, "_visitedPages", new Map()); - } - async #updateFromSandbox(detail) { - const pdfViewer = this.#pdfViewer; - const isInPresentationMode = pdfViewer.isInPresentationMode || pdfViewer.isChangingPresentationMode; - const { - id, - siblings, - command, - value - } = detail; - if (!id) { - switch (command) { - case "clear": - console.clear(); - break; - case "error": - console.error(value); - break; - case "layout": - if (!isInPresentationMode) { - const modes = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_8__.apiPageLayoutToViewerModes)(value); - pdfViewer.spreadMode = modes.spreadMode; - } - break; - case "page-num": - pdfViewer.currentPageNumber = value + 1; - break; - case "print": - await pdfViewer.pagesPromise; - this.#eventBus.dispatch("print", { - source: this - }); - break; - case "println": - console.log(value); - break; - case "zoom": - if (!isInPresentationMode) { - pdfViewer.currentScaleValue = value; - } - break; - case "SaveAs": - this.#eventBus.dispatch("download", { - source: this - }); - break; - case "FirstPage": - pdfViewer.currentPageNumber = 1; - break; - case "LastPage": - pdfViewer.currentPageNumber = pdfViewer.pagesCount; - break; - case "NextPage": - pdfViewer.nextPage(); - break; - case "PrevPage": - pdfViewer.previousPage(); - break; - case "ZoomViewIn": - if (!isInPresentationMode) { - pdfViewer.increaseScale(); - } - break; - case "ZoomViewOut": - if (!isInPresentationMode) { - pdfViewer.decreaseScale(); - } - break; - case "WillPrintFinished": - this.#willPrintCapability?.resolve(); - this.#willPrintCapability = null; - break; - } - return; - } - if (isInPresentationMode && detail.focus) { - return; - } - delete detail.id; - delete detail.siblings; - const ids = siblings ? [id, ...siblings] : [id]; - for (const elementId of ids) { - const element = document.querySelector(`[data-element-id="${elementId}"]`); - if (element) { - element.dispatchEvent(new CustomEvent("updatefromsandbox", { - detail - })); - } else { - this.#pdfDocument?.annotationStorage.setValue(elementId, detail); - } - } - } - async #dispatchPageOpen(pageNumber, initialize = false) { - const pdfDocument = this.#pdfDocument, - visitedPages = this._visitedPages; - if (initialize) { - this.#closeCapability = Promise.withResolvers(); - } - if (!this.#closeCapability) { - return; - } - const pageView = this.#pdfViewer.getPageView(pageNumber - 1); - if (pageView?.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_8__.RenderingStates.FINISHED) { - this._pageOpenPending.add(pageNumber); - return; - } - this._pageOpenPending.delete(pageNumber); - const actionsPromise = (async () => { - const actions = await (!visitedPages.has(pageNumber) ? pageView.pdfPage?.getJSActions() : null); - if (pdfDocument !== this.#pdfDocument) { - return; - } - await this.#scripting?.dispatchEventInSandbox({ - id: "page", - name: "PageOpen", - pageNumber, - actions - }); - })(); - visitedPages.set(pageNumber, actionsPromise); - } - async #dispatchPageClose(pageNumber) { - const pdfDocument = this.#pdfDocument, - visitedPages = this._visitedPages; - if (!this.#closeCapability) { - return; - } - if (this._pageOpenPending.has(pageNumber)) { - return; - } - const actionsPromise = visitedPages.get(pageNumber); - if (!actionsPromise) { - return; - } - visitedPages.set(pageNumber, null); - await actionsPromise; - if (pdfDocument !== this.#pdfDocument) { - return; - } - await this.#scripting?.dispatchEventInSandbox({ - id: "page", - name: "PageClose", - pageNumber - }); - } - #initScripting() { - this.#destroyCapability = Promise.withResolvers(); - if (this.#scripting) { - throw new Error("#initScripting: Scripting already exists."); - } - return this.#externalServices.createScripting(); - } - async #destroyScripting() { - if (!this.#scripting) { - this.#pdfDocument = null; - this.#destroyCapability?.resolve(); - return; - } - if (this.#closeCapability) { - await Promise.race([this.#closeCapability.promise, new Promise(resolve => { - setTimeout(resolve, 1000); - })]).catch(() => {}); - this.#closeCapability = null; - } - this.#pdfDocument = null; - try { - await this.#scripting.destroySandbox(); - } catch {} - this.#willPrintCapability?.reject(new Error("Scripting destroyed.")); - this.#willPrintCapability = null; - this.#eventAbortController?.abort(); - this.#eventAbortController = null; - this._pageOpenPending.clear(); - this._visitedPages.clear(); - this.#scripting = null; - this.#ready = false; - this.#destroyCapability?.resolve(); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2275: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFSidebar: () => (/* binding */ PDFSidebar) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); - -const SIDEBAR_WIDTH_VAR = "--sidebar-width"; -const SIDEBAR_MIN_WIDTH = 200; -const SIDEBAR_RESIZING_CLASS = "sidebarResizing"; -const UI_NOTIFICATION_CLASS = "pdfSidebarNotification"; -class PDFSidebar { - #isRTL = false; - #mouseMoveBound = this.#mouseMove.bind(this); - #mouseUpBound = this.#mouseUp.bind(this); - #outerContainerWidth = null; - #width = null; - constructor({ - elements, - eventBus, - l10n - }) { - this.isOpen = false; - this.active = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS; - this.isInitialViewSet = false; - this.isInitialEventDispatched = false; - this.onToggled = null; - this.onUpdateThumbnails = null; - this.outerContainer = elements.outerContainer; - this.sidebarContainer = elements.sidebarContainer; - this.toggleButton = elements.toggleButton; - this.resizer = elements.resizer; - this.thumbnailButton = elements.thumbnailButton; - this.outlineButton = elements.outlineButton; - this.attachmentsButton = elements.attachmentsButton; - this.layersButton = elements.layersButton; - this.thumbnailView = elements.thumbnailView; - this.outlineView = elements.outlineView; - this.attachmentsView = elements.attachmentsView; - this.layersView = elements.layersView; - this._currentOutlineItemButton = elements.currentOutlineItemButton; - this.eventBus = eventBus; - this.#isRTL = l10n.getDirection() === "rtl"; - this.#addEventListeners(); - } - reset() { - this.isInitialViewSet = false; - this.isInitialEventDispatched = false; - this.#hideUINotification(true); - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS); - this.outlineButton.disabled = false; - this.attachmentsButton.disabled = false; - this.layersButton.disabled = false; - this._currentOutlineItemButton.disabled = true; - } - get visibleView() { - return this.isOpen ? this.active : _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.NONE; - } - setInitialView(view = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.NONE) { - if (this.isInitialViewSet) { - return; - } - this.isInitialViewSet = true; - if (view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.NONE || view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.UNKNOWN) { - this.#dispatchEvent(); - return; - } - this.switchView(view, true); - if (!this.isInitialEventDispatched) { - this.#dispatchEvent(); - } - } - switchView(view, forceOpen = false) { - const isViewChanged = view !== this.active; - let forceRendering = false; - switch (view) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.NONE: - if (this.isOpen) { - this.close(); - } - return; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS: - if (this.isOpen && isViewChanged) { - forceRendering = true; - } - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.OUTLINE: - if (this.outlineButton.disabled) { - return; - } - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.ATTACHMENTS: - if (this.attachmentsButton.disabled) { - return; - } - break; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.LAYERS: - if (this.layersButton.disabled) { - return; - } - break; - default: - console.error(`PDFSidebar.switchView: "${view}" is not a valid view.`); - return; - } - this.active = view; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleCheckedBtn)(this.thumbnailButton, view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS, this.thumbnailView); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleCheckedBtn)(this.outlineButton, view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.OUTLINE, this.outlineView); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleCheckedBtn)(this.attachmentsButton, view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.ATTACHMENTS, this.attachmentsView); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleCheckedBtn)(this.layersButton, view === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.LAYERS, this.layersView); - if (forceOpen && !this.isOpen) { - this.open(); - return; - } - if (forceRendering) { - this.onUpdateThumbnails(); - this.onToggled(); - } - if (isViewChanged) { - this.#dispatchEvent(); - } - } - open() { - if (this.isOpen) { - return; - } - this.isOpen = true; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleExpandedBtn)(this.toggleButton, true); - this.outerContainer.classList.add("sidebarMoving", "sidebarOpen"); - if (this.active === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS) { - this.onUpdateThumbnails(); - } - this.onToggled(); - this.#dispatchEvent(); - this.#hideUINotification(); - } - close(evt = null) { - if (!this.isOpen) { - return; - } - this.isOpen = false; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.toggleExpandedBtn)(this.toggleButton, false); - this.outerContainer.classList.add("sidebarMoving"); - this.outerContainer.classList.remove("sidebarOpen"); - this.onToggled(); - this.#dispatchEvent(); - if (evt?.detail > 0) { - this.toggleButton.blur(); - } - } - toggle(evt = null) { - if (this.isOpen) { - this.close(evt); - } else { - this.open(); - } - } - #dispatchEvent() { - if (this.isInitialViewSet) { - this.isInitialEventDispatched ||= true; - } - this.eventBus.dispatch("sidebarviewchanged", { - source: this, - view: this.visibleView - }); - } - #showUINotification() { - this.toggleButton.setAttribute("data-l10n-id", "pdfjs-toggle-sidebar-notification-button"); - if (!this.isOpen) { - this.toggleButton.classList.add(UI_NOTIFICATION_CLASS); - } - } - #hideUINotification(reset = false) { - if (this.isOpen || reset) { - this.toggleButton.classList.remove(UI_NOTIFICATION_CLASS); - } - if (reset) { - this.toggleButton.setAttribute("data-l10n-id", "pdfjs-toggle-sidebar-button"); - } - } - #addEventListeners() { - this.sidebarContainer.addEventListener("transitionend", evt => { - if (evt.target === this.sidebarContainer) { - this.outerContainer.classList.remove("sidebarMoving"); - this.eventBus.dispatch("resize", { - source: this - }); - } - }); - this.toggleButton.addEventListener("click", evt => { - this.toggle(evt); - }); - // CUSTOM_FOR_SEAFILE - document.getElementById('close-thumbnail-panel').addEventListener("click", () => { - this.toggle(); - }); - this.thumbnailButton.addEventListener("click", () => { - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS); - }); - this.outlineButton.addEventListener("click", () => { - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.OUTLINE); - }); - this.outlineButton.addEventListener("dblclick", () => { - this.eventBus.dispatch("toggleoutlinetree", { - source: this - }); - }); - this.attachmentsButton.addEventListener("click", () => { - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.ATTACHMENTS); - }); - this.layersButton.addEventListener("click", () => { - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.LAYERS); - }); - this.layersButton.addEventListener("dblclick", () => { - this.eventBus.dispatch("resetlayers", { - source: this - }); - }); - this._currentOutlineItemButton.addEventListener("click", () => { - this.eventBus.dispatch("currentoutlineitem", { - source: this - }); - }); - const onTreeLoaded = (count, button, view) => { - button.disabled = !count; - if (count) { - this.#showUINotification(); - } else if (this.active === view) { - this.switchView(_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS); - } - }; - this.eventBus._on("outlineloaded", evt => { - onTreeLoaded(evt.outlineCount, this.outlineButton, _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.OUTLINE); - evt.currentOutlineItemPromise.then(enabled => { - if (!this.isInitialViewSet) { - return; - } - this._currentOutlineItemButton.disabled = !enabled; - }); - }); - this.eventBus._on("attachmentsloaded", evt => { - onTreeLoaded(evt.attachmentsCount, this.attachmentsButton, _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.ATTACHMENTS); - }); - this.eventBus._on("layersloaded", evt => { - onTreeLoaded(evt.layersCount, this.layersButton, _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.LAYERS); - }); - this.eventBus._on("presentationmodechanged", evt => { - if (evt.state === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.PresentationModeState.NORMAL && this.visibleView === _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SidebarView.THUMBS) { - this.onUpdateThumbnails(); - } - }); - this.resizer.addEventListener("mousedown", evt => { - if (evt.button !== 0) { - return; - } - this.outerContainer.classList.add(SIDEBAR_RESIZING_CLASS); - window.addEventListener("mousemove", this.#mouseMoveBound); - window.addEventListener("mouseup", this.#mouseUpBound); - }); - this.eventBus._on("resize", evt => { - if (evt.source !== window) { - return; - } - this.#outerContainerWidth = null; - if (!this.#width) { - return; - } - if (!this.isOpen) { - this.#updateWidth(this.#width); - return; - } - this.outerContainer.classList.add(SIDEBAR_RESIZING_CLASS); - const updated = this.#updateWidth(this.#width); - Promise.resolve().then(() => { - this.outerContainer.classList.remove(SIDEBAR_RESIZING_CLASS); - if (updated) { - this.eventBus.dispatch("resize", { - source: this - }); - } - }); - }); - } - get outerContainerWidth() { - return this.#outerContainerWidth ||= this.outerContainer.clientWidth; - } - #updateWidth(width = 0) { - const maxWidth = Math.floor(this.outerContainerWidth / 2); - if (width > maxWidth) { - width = maxWidth; - } - if (width < SIDEBAR_MIN_WIDTH) { - width = SIDEBAR_MIN_WIDTH; - } - if (width === this.#width) { - return false; - } - this.#width = width; - _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.docStyle.setProperty(SIDEBAR_WIDTH_VAR, `${width}px`); - return true; - } - #mouseMove(evt) { - let width = evt.clientX; - if (this.#isRTL) { - width = this.outerContainerWidth - width; - } - this.#updateWidth(width); - } - #mouseUp(evt) { - this.outerContainer.classList.remove(SIDEBAR_RESIZING_CLASS); - this.eventBus.dispatch("resize", { - source: this - }); - window.removeEventListener("mousemove", this.#mouseMoveBound); - window.removeEventListener("mouseup", this.#mouseUpBound); - } -} - - -/***/ }), - -/***/ 1123: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFThumbnailView: () => (/* binding */ PDFThumbnailView), -/* harmony export */ TempImageFactory: () => (/* binding */ TempImageFactory) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -const DRAW_UPSCALE_FACTOR = 2; -const MAX_NUM_SCALING_STEPS = 3; -const THUMBNAIL_WIDTH = 98; -class TempImageFactory { - static #tempCanvas = null; - static getCanvas(width, height) { - const tempCanvas = this.#tempCanvas ||= document.createElement("canvas"); - tempCanvas.width = width; - tempCanvas.height = height; - const ctx = tempCanvas.getContext("2d", { - alpha: false - }); - ctx.save(); - ctx.fillStyle = "rgb(255, 255, 255)"; - ctx.fillRect(0, 0, width, height); - ctx.restore(); - return [tempCanvas, tempCanvas.getContext("2d")]; - } - static destroyCanvas() { - const tempCanvas = this.#tempCanvas; - if (tempCanvas) { - tempCanvas.width = 0; - tempCanvas.height = 0; - } - this.#tempCanvas = null; - } -} -class PDFThumbnailView { - constructor({ - container, - eventBus, - id, - defaultViewport, - optionalContentConfigPromise, - linkService, - renderingQueue, - pageColors - }) { - this.id = id; - this.renderingId = "thumbnail" + id; - this.pageLabel = null; - this.pdfPage = null; - this.rotation = 0; - this.viewport = defaultViewport; - this.pdfPageRotate = defaultViewport.rotation; - this._optionalContentConfigPromise = optionalContentConfigPromise || null; - this.pageColors = pageColors || null; - this.eventBus = eventBus; - this.linkService = linkService; - this.renderingQueue = renderingQueue; - this.renderTask = null; - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.INITIAL; - this.resume = null; - const anchor = document.createElement("a"); - // CUSTOM_FOR_SEAFILE - anchor.className = "d-inline-block position-relative"; - anchor.href = linkService.getAnchorUrl("#page=" + id); - anchor.setAttribute("data-l10n-id", "pdfjs-thumb-page-title"); - anchor.setAttribute("data-l10n-args", this.#pageL10nArgs); - anchor.onclick = function () { - linkService.goToPage(id); - return false; - }; - this.anchor = anchor; - const div = document.createElement("div"); - div.className = "thumbnail"; - div.setAttribute("data-page-number", this.id); - this.div = div; - this.#updateDims(); - const img = document.createElement("div"); - img.className = "thumbnailImage"; - this._placeholderImg = img; - // CUSTOM_FOR_SEAFILE - const span = document.createElement("span"); - span.className = "thumbnail-page-number mr-1 position-absolute"; - span.innerHTML = this.id; - anchor.append(span); - anchor.append(img); - div.append(anchor); - container.append(div); - } - #updateDims() { - const { - width, - height - } = this.viewport; - const ratio = width / height; - this.canvasWidth = THUMBNAIL_WIDTH; - this.canvasHeight = this.canvasWidth / ratio | 0; - this.scale = this.canvasWidth / width; - const { - style - } = this.div; - style.setProperty("--thumbnail-width", `${this.canvasWidth}px`); - style.setProperty("--thumbnail-height", `${this.canvasHeight}px`); - } - setPdfPage(pdfPage) { - this.pdfPage = pdfPage; - this.pdfPageRotate = pdfPage.rotate; - const totalRotation = (this.rotation + this.pdfPageRotate) % 360; - this.viewport = pdfPage.getViewport({ - scale: 1, - rotation: totalRotation - }); - this.reset(); - } - reset() { - this.cancelRendering(); - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.INITIAL; - this.div.removeAttribute("data-loaded"); - this.image?.replaceWith(this._placeholderImg); - this.#updateDims(); - if (this.image) { - this.image.removeAttribute("src"); - delete this.image; - } - } - update({ - rotation = null - }) { - if (typeof rotation === "number") { - this.rotation = rotation; - } - const totalRotation = (this.rotation + this.pdfPageRotate) % 360; - this.viewport = this.viewport.clone({ - scale: 1, - rotation: totalRotation - }); - this.reset(); - } - cancelRendering() { - if (this.renderTask) { - this.renderTask.cancel(); - this.renderTask = null; - } - this.resume = null; - } - #getPageDrawContext(upscaleFactor = 1) { - const canvas = document.createElement("canvas"); - const ctx = canvas.getContext("2d", { - alpha: false - }); - const outputScale = new _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.OutputScale(); - canvas.width = upscaleFactor * this.canvasWidth * outputScale.sx | 0; - canvas.height = upscaleFactor * this.canvasHeight * outputScale.sy | 0; - const transform = outputScale.scaled ? [outputScale.sx, 0, 0, outputScale.sy, 0, 0] : null; - return { - ctx, - canvas, - transform - }; - } - #convertCanvasToImage(canvas) { - if (this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.FINISHED) { - throw new Error("#convertCanvasToImage: Rendering has not finished."); - } - const reducedCanvas = this.#reduceImage(canvas); - const image = document.createElement("img"); - image.className = "thumbnailImage"; - image.setAttribute("data-l10n-id", "pdfjs-thumb-page-canvas"); - image.setAttribute("data-l10n-args", this.#pageL10nArgs); - image.src = reducedCanvas.toDataURL(); - this.image = image; - this.div.setAttribute("data-loaded", true); - this._placeholderImg.replaceWith(image); - reducedCanvas.width = 0; - reducedCanvas.height = 0; - } - async #finishRenderTask(renderTask, canvas, error = null) { - if (renderTask === this.renderTask) { - this.renderTask = null; - } - if (error instanceof pdfjs_lib__WEBPACK_IMPORTED_MODULE_1__.RenderingCancelledException) { - return; - } - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.FINISHED; - this.#convertCanvasToImage(canvas); - if (error) { - throw error; - } - } - async draw() { - if (this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.INITIAL) { - console.error("Must be in new state before drawing"); - return undefined; - } - const { - pdfPage - } = this; - if (!pdfPage) { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.FINISHED; - throw new Error("pdfPage is not loaded"); - } - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.RUNNING; - const { - ctx, - canvas, - transform - } = this.#getPageDrawContext(DRAW_UPSCALE_FACTOR); - const drawViewport = this.viewport.clone({ - scale: DRAW_UPSCALE_FACTOR * this.scale - }); - const renderContinueCallback = cont => { - if (!this.renderingQueue.isHighestPriority(this)) { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.PAUSED; - this.resume = () => { - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.RUNNING; - cont(); - }; - return; - } - cont(); - }; - const renderContext = { - canvasContext: ctx, - transform, - viewport: drawViewport, - optionalContentConfigPromise: this._optionalContentConfigPromise, - pageColors: this.pageColors - }; - const renderTask = this.renderTask = pdfPage.render(renderContext); - renderTask.onContinue = renderContinueCallback; - const resultPromise = renderTask.promise.then(() => this.#finishRenderTask(renderTask, canvas), error => this.#finishRenderTask(renderTask, canvas, error)); - resultPromise.finally(() => { - canvas.width = 0; - canvas.height = 0; - this.eventBus.dispatch("thumbnailrendered", { - source: this, - pageNumber: this.id, - pdfPage: this.pdfPage - }); - }); - return resultPromise; - } - setImage(pageView) { - if (this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.INITIAL) { - return; - } - const { - thumbnailCanvas: canvas, - pdfPage, - scale - } = pageView; - if (!canvas) { - return; - } - if (!this.pdfPage) { - this.setPdfPage(pdfPage); - } - if (scale < this.scale) { - return; - } - this.renderingState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.FINISHED; - this.#convertCanvasToImage(canvas); - } - #reduceImage(img) { - const { - ctx, - canvas - } = this.#getPageDrawContext(); - if (img.width <= 2 * canvas.width) { - ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, canvas.width, canvas.height); - return canvas; - } - let reducedWidth = canvas.width << MAX_NUM_SCALING_STEPS; - let reducedHeight = canvas.height << MAX_NUM_SCALING_STEPS; - const [reducedImage, reducedImageCtx] = TempImageFactory.getCanvas(reducedWidth, reducedHeight); - while (reducedWidth > img.width || reducedHeight > img.height) { - reducedWidth >>= 1; - reducedHeight >>= 1; - } - reducedImageCtx.drawImage(img, 0, 0, img.width, img.height, 0, 0, reducedWidth, reducedHeight); - while (reducedWidth > 2 * canvas.width) { - reducedImageCtx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, reducedWidth >> 1, reducedHeight >> 1); - reducedWidth >>= 1; - reducedHeight >>= 1; - } - ctx.drawImage(reducedImage, 0, 0, reducedWidth, reducedHeight, 0, 0, canvas.width, canvas.height); - return canvas; - } - get #pageL10nArgs() { - return JSON.stringify({ - page: this.pageLabel ?? this.id - }); - } - setPageLabel(label) { - this.pageLabel = typeof label === "string" ? label : null; - this.anchor.setAttribute("data-l10n-args", this.#pageL10nArgs); - if (this.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates.FINISHED) { - return; - } - this.image?.setAttribute("data-l10n-args", this.#pageL10nArgs); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 8280: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFThumbnailViewer: () => (/* binding */ PDFThumbnailViewer) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -/* harmony import */ var _pdf_thumbnail_view_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1123); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_pdf_thumbnail_view_js__WEBPACK_IMPORTED_MODULE_2__]); -_pdf_thumbnail_view_js__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - -const THUMBNAIL_SCROLL_MARGIN = -19; -const THUMBNAIL_SELECTED_CLASS = "selected"; -class PDFThumbnailViewer { - constructor({ - container, - eventBus, - linkService, - renderingQueue, - pageColors - }) { - this.container = container; - this.eventBus = eventBus; - this.linkService = linkService; - this.renderingQueue = renderingQueue; - this.pageColors = pageColors || null; - this.scroll = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.watchScroll)(this.container, this.#scrollUpdated.bind(this)); - this.#resetView(); - } - #scrollUpdated() { - this.renderingQueue.renderHighestPriority(); - } - getThumbnail(index) { - return this._thumbnails[index]; - } - #getVisibleThumbs() { - return (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.getVisibleElements)({ - scrollEl: this.container, - views: this._thumbnails - }); - } - scrollThumbnailIntoView(pageNumber) { - if (!this.pdfDocument) { - return; - } - const thumbnailView = this._thumbnails[pageNumber - 1]; - if (!thumbnailView) { - console.error('scrollThumbnailIntoView: Invalid "pageNumber" parameter.'); - return; - } - if (pageNumber !== this._currentPageNumber) { - const prevThumbnailView = this._thumbnails[this._currentPageNumber - 1]; - prevThumbnailView.div.classList.remove(THUMBNAIL_SELECTED_CLASS); - thumbnailView.div.classList.add(THUMBNAIL_SELECTED_CLASS); - } - const { - first, - last, - views - } = this.#getVisibleThumbs(); - if (views.length > 0) { - let shouldScroll = false; - if (pageNumber <= first.id || pageNumber >= last.id) { - shouldScroll = true; - } else { - for (const { - id, - percent - } of views) { - if (id !== pageNumber) { - continue; - } - shouldScroll = percent < 100; - break; - } - } - if (shouldScroll) { - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.scrollIntoView)(thumbnailView.div, { - top: THUMBNAIL_SCROLL_MARGIN - }); - } - } - this._currentPageNumber = pageNumber; - } - get pagesRotation() { - return this._pagesRotation; - } - set pagesRotation(rotation) { - if (!(0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.isValidRotation)(rotation)) { - throw new Error("Invalid thumbnails rotation angle."); - } - if (!this.pdfDocument) { - return; - } - if (this._pagesRotation === rotation) { - return; - } - this._pagesRotation = rotation; - const updateArgs = { - rotation - }; - for (const thumbnail of this._thumbnails) { - thumbnail.update(updateArgs); - } - } - cleanup() { - for (const thumbnail of this._thumbnails) { - if (thumbnail.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.RenderingStates.FINISHED) { - thumbnail.reset(); - } - } - _pdf_thumbnail_view_js__WEBPACK_IMPORTED_MODULE_2__.TempImageFactory.destroyCanvas(); - } - #resetView() { - this._thumbnails = []; - this._currentPageNumber = 1; - this._pageLabels = null; - this._pagesRotation = 0; - this.container.textContent = ""; - } - setDocument(pdfDocument) { - if (this.pdfDocument) { - this.#cancelRendering(); - this.#resetView(); - } - this.pdfDocument = pdfDocument; - if (!pdfDocument) { - return; - } - const firstPagePromise = pdfDocument.getPage(1); - const optionalContentConfigPromise = pdfDocument.getOptionalContentConfig({ - intent: "display" - }); - firstPagePromise.then(firstPdfPage => { - const pagesCount = pdfDocument.numPages; - const viewport = firstPdfPage.getViewport({ - scale: 1 - }); - for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) { - const thumbnail = new _pdf_thumbnail_view_js__WEBPACK_IMPORTED_MODULE_2__.PDFThumbnailView({ - container: this.container, - eventBus: this.eventBus, - id: pageNum, - defaultViewport: viewport.clone(), - optionalContentConfigPromise, - linkService: this.linkService, - renderingQueue: this.renderingQueue, - pageColors: this.pageColors - }); - this._thumbnails.push(thumbnail); - } - this._thumbnails[0]?.setPdfPage(firstPdfPage); - const thumbnailView = this._thumbnails[this._currentPageNumber - 1]; - thumbnailView.div.classList.add(THUMBNAIL_SELECTED_CLASS); - }).catch(reason => { - console.error("Unable to initialize thumbnail viewer", reason); - }); - } - #cancelRendering() { - for (const thumbnail of this._thumbnails) { - thumbnail.cancelRendering(); - } - } - setPageLabels(labels) { - if (!this.pdfDocument) { - return; - } - if (!labels) { - this._pageLabels = null; - } else if (!(Array.isArray(labels) && this.pdfDocument.numPages === labels.length)) { - this._pageLabels = null; - console.error("PDFThumbnailViewer_setPageLabels: Invalid page labels."); - } else { - this._pageLabels = labels; - } - for (let i = 0, ii = this._thumbnails.length; i < ii; i++) { - this._thumbnails[i].setPageLabel(this._pageLabels?.[i] ?? null); - } - } - async #ensurePdfPageLoaded(thumbView) { - if (thumbView.pdfPage) { - return thumbView.pdfPage; - } - try { - const pdfPage = await this.pdfDocument.getPage(thumbView.id); - if (!thumbView.pdfPage) { - thumbView.setPdfPage(pdfPage); - } - return pdfPage; - } catch (reason) { - console.error("Unable to get page for thumb view", reason); - return null; - } - } - #getScrollAhead(visible) { - if (visible.first?.id === 1) { - return true; - } else if (visible.last?.id === this._thumbnails.length) { - return false; - } - return this.scroll.down; - } - forceRendering() { - const visibleThumbs = this.#getVisibleThumbs(); - const scrollAhead = this.#getScrollAhead(visibleThumbs); - const thumbView = this.renderingQueue.getHighestPriority(visibleThumbs, this._thumbnails, scrollAhead); - if (thumbView) { - this.#ensurePdfPageLoaded(thumbView).then(() => { - this.renderingQueue.renderView(thumbView); - }); - return true; - } - return false; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 6285: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFViewer: () => (/* binding */ PDFViewer), -/* harmony export */ PagesCountLimit: () => (/* binding */ PagesCountLimit) -/* harmony export */ }); -/* unused harmony export PDFPageViewBuffer */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_es_promise_with_resolvers_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4628); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_every_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3215); -/* harmony import */ var core_js_modules_esnext_iterator_map_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1454); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(6197); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(7256); -/* harmony import */ var web_null_l10n__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(410); -/* harmony import */ var _pdf_page_view_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(9966); -/* harmony import */ var _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(6615); -/* harmony import */ var _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(787); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__, web_null_l10n__WEBPACK_IMPORTED_MODULE_14__, _pdf_page_view_js__WEBPACK_IMPORTED_MODULE_15__, _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_16__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__, web_null_l10n__WEBPACK_IMPORTED_MODULE_14__, _pdf_page_view_js__WEBPACK_IMPORTED_MODULE_15__, _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_16__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - - - - - - - - - - - - - - - - -const DEFAULT_CACHE_SIZE = 10; -const PagesCountLimit = { - FORCE_SCROLL_MODE_PAGE: 15000, - FORCE_LAZY_PAGE_INIT: 7500, - PAUSE_EAGER_PAGE_INIT: 250 -}; -function isValidAnnotationEditorMode(mode) { - return Object.values(pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType).includes(mode) && mode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.DISABLE; -} -class PDFPageViewBuffer { - #buf = new Set(); - #size = 0; - constructor(size) { - this.#size = size; - } - push(view) { - const buf = this.#buf; - if (buf.has(view)) { - buf.delete(view); - } - buf.add(view); - if (buf.size > this.#size) { - this.#destroyFirstView(); - } - } - resize(newSize, idsToKeep = null) { - this.#size = newSize; - const buf = this.#buf; - if (idsToKeep) { - const ii = buf.size; - let i = 1; - for (const view of buf) { - if (idsToKeep.has(view.id)) { - buf.delete(view); - buf.add(view); - } - if (++i > ii) { - break; - } - } - } - while (buf.size > this.#size) { - this.#destroyFirstView(); - } - } - has(view) { - return this.#buf.has(view); - } - [Symbol.iterator]() { - return this.#buf.keys(); - } - #destroyFirstView() { - const firstView = this.#buf.keys().next().value; - firstView?.destroy(); - this.#buf.delete(firstView); - } -} -class PDFViewer { - #buffer = null; - #altTextManager = null; - #annotationEditorHighlightColors = null; - #annotationEditorMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.NONE; - #annotationEditorUIManager = null; - #annotationMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationMode.ENABLE_FORMS; - #containerTopLeft = null; - #copyCallbackBound = null; - #enableHighlightFloatingButton = false; - #enablePermissions = false; - #mlManager = null; - #getAllTextInProgress = false; - #hiddenCopyElement = null; - #interruptCopyCondition = false; - #previousContainerHeight = 0; - #resizeObserver = new ResizeObserver(this.#resizeObserverCallback.bind(this)); - #scrollModePageState = null; - #onVisibilityChange = null; - #scaleTimeoutId = null; - #textLayerMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.ENABLE; - constructor(options) { - const viewerVersion = "4.2.67"; - if (pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.version !== viewerVersion) { - throw new Error(`The API version "${pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.version}" does not match the Viewer version "${viewerVersion}".`); - } - this.container = options.container; - this.viewer = options.viewer || options.container.firstElementChild; - if (this.container?.tagName !== "DIV" || this.viewer?.tagName !== "DIV") { - throw new Error("Invalid `container` and/or `viewer` option."); - } - if (this.container.offsetParent && getComputedStyle(this.container).position !== "absolute") { - throw new Error("The `container` must be absolutely positioned."); - } - this.#resizeObserver.observe(this.container); - this.eventBus = options.eventBus; - this.linkService = options.linkService || new _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_17__.SimpleLinkService(); - this.downloadManager = options.downloadManager || null; - this.findController = options.findController || null; - this.#altTextManager = options.altTextManager || null; - if (this.findController) { - this.findController.onIsPageVisible = pageNumber => this._getVisiblePages().ids.has(pageNumber); - } - this._scriptingManager = options.scriptingManager || null; - this.#textLayerMode = options.textLayerMode ?? _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.ENABLE; - this.#annotationMode = options.annotationMode ?? pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationMode.ENABLE_FORMS; - this.#annotationEditorMode = options.annotationEditorMode ?? pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.NONE; - this.#annotationEditorHighlightColors = options.annotationEditorHighlightColors || null; - this.#enableHighlightFloatingButton = options.enableHighlightFloatingButton === true; - this.imageResourcesPath = options.imageResourcesPath || ""; - this.enablePrintAutoRotate = options.enablePrintAutoRotate || false; - this.removePageBorders = options.removePageBorders || false; - this.maxCanvasPixels = options.maxCanvasPixels; - this.l10n = options.l10n; - this.l10n ||= new web_null_l10n__WEBPACK_IMPORTED_MODULE_14__.GenericL10n(); - this.#enablePermissions = options.enablePermissions || false; - this.pageColors = options.pageColors || null; - this.#mlManager = options.mlManager || null; - this.defaultRenderingQueue = !options.renderingQueue; - if (this.defaultRenderingQueue) { - this.renderingQueue = new _pdf_rendering_queue_js__WEBPACK_IMPORTED_MODULE_16__.PDFRenderingQueue(); - this.renderingQueue.setViewer(this); - } else { - this.renderingQueue = options.renderingQueue; - } - this.scroll = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.watchScroll)(this.container, this._scrollUpdate.bind(this)); - this.presentationModeState = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.PresentationModeState.UNKNOWN; - this._onBeforeDraw = this._onAfterDraw = null; - this._resetView(); - if (this.removePageBorders) { - this.viewer.classList.add("removePageBorders"); - } - this.#updateContainerHeightCss(); - this.eventBus._on("thumbnailrendered", ({ - pageNumber, - pdfPage - }) => { - const pageView = this._pages[pageNumber - 1]; - if (!this.#buffer.has(pageView)) { - pdfPage?.cleanup(); - } - }); - if (!options.l10n) { - this.l10n.translate(this.container); - } - } - get pagesCount() { - return this._pages.length; - } - getPageView(index) { - return this._pages[index]; - } - getCachedPageViews() { - return new Set(this.#buffer); - } - get pageViewsReady() { - return this._pages.every(pageView => pageView?.pdfPage); - } - get renderForms() { - return this.#annotationMode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationMode.ENABLE_FORMS; - } - get enableScripting() { - return !!this._scriptingManager; - } - get currentPageNumber() { - return this._currentPageNumber; - } - set currentPageNumber(val) { - if (!Number.isInteger(val)) { - throw new Error("Invalid page number."); - } - if (!this.pdfDocument) { - return; - } - if (!this._setCurrentPageNumber(val, true)) { - console.error(`currentPageNumber: "${val}" is not a valid page.`); - } - } - _setCurrentPageNumber(val, resetCurrentPageView = false) { - if (this._currentPageNumber === val) { - if (resetCurrentPageView) { - this.#resetCurrentPageView(); - } - return true; - } - if (!(0 < val && val <= this.pagesCount)) { - return false; - } - const previous = this._currentPageNumber; - this._currentPageNumber = val; - this.eventBus.dispatch("pagechanging", { - source: this, - pageNumber: val, - pageLabel: this._pageLabels?.[val - 1] ?? null, - previous - }); - if (resetCurrentPageView) { - this.#resetCurrentPageView(); - } - return true; - } - get currentPageLabel() { - return this._pageLabels?.[this._currentPageNumber - 1] ?? null; - } - set currentPageLabel(val) { - if (!this.pdfDocument) { - return; - } - let page = val | 0; - if (this._pageLabels) { - const i = this._pageLabels.indexOf(val); - if (i >= 0) { - page = i + 1; - } - } - if (!this._setCurrentPageNumber(page, true)) { - console.error(`currentPageLabel: "${val}" is not a valid page.`); - } - } - get currentScale() { - return this._currentScale !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.UNKNOWN_SCALE ? this._currentScale : _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.DEFAULT_SCALE; - } - set currentScale(val) { - if (isNaN(val)) { - throw new Error("Invalid numeric scale."); - } - if (!this.pdfDocument) { - return; - } - this.#setScale(val, { - noScroll: false - }); - } - get currentScaleValue() { - return this._currentScaleValue; - } - set currentScaleValue(val) { - if (!this.pdfDocument) { - return; - } - this.#setScale(val, { - noScroll: false - }); - } - get pagesRotation() { - return this._pagesRotation; - } - set pagesRotation(rotation) { - if (!(0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.isValidRotation)(rotation)) { - throw new Error("Invalid pages rotation angle."); - } - if (!this.pdfDocument) { - return; - } - rotation %= 360; - if (rotation < 0) { - rotation += 360; - } - if (this._pagesRotation === rotation) { - return; - } - this._pagesRotation = rotation; - const pageNumber = this._currentPageNumber; - this.refresh(true, { - rotation - }); - if (this._currentScaleValue) { - this.#setScale(this._currentScaleValue, { - noScroll: true - }); - } - this.eventBus.dispatch("rotationchanging", { - source: this, - pagesRotation: rotation, - pageNumber - }); - if (this.defaultRenderingQueue) { - this.update(); - } - } - get firstPagePromise() { - return this.pdfDocument ? this._firstPageCapability.promise : null; - } - get onePageRendered() { - return this.pdfDocument ? this._onePageRenderedCapability.promise : null; - } - get pagesPromise() { - return this.pdfDocument ? this._pagesCapability.promise : null; - } - get _layerProperties() { - const self = this; - return (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.shadow)(this, "_layerProperties", { - get annotationEditorUIManager() { - return self.#annotationEditorUIManager; - }, - get annotationStorage() { - return self.pdfDocument?.annotationStorage; - }, - get downloadManager() { - return self.downloadManager; - }, - get enableScripting() { - return !!self._scriptingManager; - }, - get fieldObjectsPromise() { - return self.pdfDocument?.getFieldObjects(); - }, - get findController() { - return self.findController; - }, - get hasJSActionsPromise() { - return self.pdfDocument?.hasJSActions(); - }, - get linkService() { - return self.linkService; - } - }); - } - #initializePermissions(permissions) { - const params = { - annotationEditorMode: this.#annotationEditorMode, - annotationMode: this.#annotationMode, - textLayerMode: this.#textLayerMode - }; - if (!permissions) { - return params; - } - if (!permissions.includes(pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PermissionFlag.COPY) && this.#textLayerMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.ENABLE) { - params.textLayerMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.ENABLE_PERMISSIONS; - } - if (!permissions.includes(pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PermissionFlag.MODIFY_CONTENTS)) { - params.annotationEditorMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.DISABLE; - } - if (!permissions.includes(pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PermissionFlag.MODIFY_ANNOTATIONS) && !permissions.includes(pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PermissionFlag.FILL_INTERACTIVE_FORMS) && this.#annotationMode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationMode.ENABLE_FORMS) { - params.annotationMode = pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationMode.ENABLE; - } - return params; - } - async #onePageRenderedOrForceFetch() { - if (document.visibilityState === "hidden" || !this.container.offsetParent || this._getVisiblePages().views.length === 0) { - return; - } - const visibilityChangePromise = new Promise(resolve => { - this.#onVisibilityChange = () => { - if (document.visibilityState !== "hidden") { - return; - } - resolve(); - }; - document.addEventListener("visibilitychange", this.#onVisibilityChange); - }); - await Promise.race([this._onePageRenderedCapability.promise, visibilityChangePromise]); - document.removeEventListener("visibilitychange", this.#onVisibilityChange); - this.#onVisibilityChange = null; - } - async getAllText() { - const texts = []; - const buffer = []; - for (let pageNum = 1, pagesCount = this.pdfDocument.numPages; pageNum <= pagesCount; ++pageNum) { - if (this.#interruptCopyCondition) { - return null; - } - buffer.length = 0; - const page = await this.pdfDocument.getPage(pageNum); - const { - items - } = await page.getTextContent(); - for (const item of items) { - if (item.str) { - buffer.push(item.str); - } - if (item.hasEOL) { - buffer.push("\n"); - } - } - texts.push((0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.removeNullCharacters)(buffer.join(""))); - } - return texts.join("\n"); - } - #copyCallback(textLayerMode, event) { - const selection = document.getSelection(); - const { - focusNode, - anchorNode - } = selection; - if (anchorNode && focusNode && selection.containsNode(this.#hiddenCopyElement)) { - if (this.#getAllTextInProgress || textLayerMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.ENABLE_PERMISSIONS) { - event.preventDefault(); - event.stopPropagation(); - return; - } - this.#getAllTextInProgress = true; - const savedCursor = this.container.style.cursor; - this.container.style.cursor = "wait"; - const interruptCopy = ev => this.#interruptCopyCondition = ev.key === "Escape"; - window.addEventListener("keydown", interruptCopy); - this.getAllText().then(async text => { - if (text !== null) { - await navigator.clipboard.writeText(text); - } - }).catch(reason => { - console.warn(`Something goes wrong when extracting the text: ${reason.message}`); - }).finally(() => { - this.#getAllTextInProgress = false; - this.#interruptCopyCondition = false; - window.removeEventListener("keydown", interruptCopy); - this.container.style.cursor = savedCursor; - }); - event.preventDefault(); - event.stopPropagation(); - } - } - setDocument(pdfDocument) { - if (this.pdfDocument) { - this.eventBus.dispatch("pagesdestroy", { - source: this - }); - this._cancelRendering(); - this._resetView(); - this.findController?.setDocument(null); - this._scriptingManager?.setDocument(null); - if (this.#annotationEditorUIManager) { - this.#annotationEditorUIManager.destroy(); - this.#annotationEditorUIManager = null; - } - } - this.pdfDocument = pdfDocument; - if (!pdfDocument) { - return; - } - const pagesCount = pdfDocument.numPages; - const firstPagePromise = pdfDocument.getPage(1); - const optionalContentConfigPromise = pdfDocument.getOptionalContentConfig({ - intent: "display" - }); - const permissionsPromise = this.#enablePermissions ? pdfDocument.getPermissions() : Promise.resolve(); - if (pagesCount > PagesCountLimit.FORCE_SCROLL_MODE_PAGE) { - console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document."); - const mode = this._scrollMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE; - this.eventBus.dispatch("scrollmodechanged", { - source: this, - mode - }); - } - this._pagesCapability.promise.then(() => { - this.eventBus.dispatch("pagesloaded", { - source: this, - pagesCount - }); - }, () => {}); - this._onBeforeDraw = evt => { - const pageView = this._pages[evt.pageNumber - 1]; - if (!pageView) { - return; - } - this.#buffer.push(pageView); - }; - this.eventBus._on("pagerender", this._onBeforeDraw); - this._onAfterDraw = evt => { - if (evt.cssTransform) { - return; - } - this._onePageRenderedCapability.resolve({ - timestamp: evt.timestamp - }); - this.eventBus._off("pagerendered", this._onAfterDraw); - this._onAfterDraw = null; - }; - this.eventBus._on("pagerendered", this._onAfterDraw); - Promise.all([firstPagePromise, permissionsPromise]).then(([firstPdfPage, permissions]) => { - if (pdfDocument !== this.pdfDocument) { - return; - } - this._firstPageCapability.resolve(firstPdfPage); - this._optionalContentConfigPromise = optionalContentConfigPromise; - const { - annotationEditorMode, - annotationMode, - textLayerMode - } = this.#initializePermissions(permissions); - if (textLayerMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.TextLayerMode.DISABLE) { - const element = this.#hiddenCopyElement = document.createElement("div"); - element.id = "hiddenCopyElement"; - this.viewer.before(element); - } - if (annotationEditorMode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.DISABLE) { - const mode = annotationEditorMode; - if (pdfDocument.isPureXfa) { - console.warn("Warning: XFA-editing is not implemented."); - } else if (isValidAnnotationEditorMode(mode)) { - this.#annotationEditorUIManager = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorUIManager(this.container, this.viewer, this.#altTextManager, this.eventBus, pdfDocument, this.pageColors, this.#annotationEditorHighlightColors, this.#enableHighlightFloatingButton, this.#mlManager); - this.eventBus.dispatch("annotationeditoruimanager", { - source: this, - uiManager: this.#annotationEditorUIManager - }); - if (mode !== pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.NONE) { - this.#annotationEditorUIManager.updateMode(mode); - } - } else { - console.error(`Invalid AnnotationEditor mode: ${mode}`); - } - } - const viewerElement = this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE ? null : this.viewer; - const scale = this.currentScale; - const viewport = firstPdfPage.getViewport({ - scale: scale * pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS - }); - this.viewer.style.setProperty("--scale-factor", viewport.scale); - if (this.pageColors?.foreground === "CanvasText" || this.pageColors?.background === "Canvas") { - this.viewer.style.setProperty("--hcm-highlight-filter", pdfDocument.filterFactory.addHighlightHCMFilter("highlight", "CanvasText", "Canvas", "HighlightText", "Highlight")); - this.viewer.style.setProperty("--hcm-highlight-selected-filter", pdfDocument.filterFactory.addHighlightHCMFilter("highlight_selected", "CanvasText", "Canvas", "HighlightText", "ButtonText")); - } - for (let pageNum = 1; pageNum <= pagesCount; ++pageNum) { - const pageView = new _pdf_page_view_js__WEBPACK_IMPORTED_MODULE_15__.PDFPageView({ - container: viewerElement, - eventBus: this.eventBus, - id: pageNum, - scale, - defaultViewport: viewport.clone(), - optionalContentConfigPromise, - renderingQueue: this.renderingQueue, - textLayerMode, - annotationMode, - imageResourcesPath: this.imageResourcesPath, - maxCanvasPixels: this.maxCanvasPixels, - pageColors: this.pageColors, - l10n: this.l10n, - layerProperties: this._layerProperties - }); - this._pages.push(pageView); - } - this._pages[0]?.setPdfPage(firstPdfPage); - if (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - this.#ensurePageViewVisible(); - } else if (this._spreadMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE) { - this._updateSpreadMode(); - } - this.#onePageRenderedOrForceFetch().then(async () => { - this.findController?.setDocument(pdfDocument); - this._scriptingManager?.setDocument(pdfDocument); - if (this.#hiddenCopyElement) { - this.#copyCallbackBound = this.#copyCallback.bind(this, textLayerMode); - document.addEventListener("copy", this.#copyCallbackBound); - } - if (this.#annotationEditorUIManager) { - this.eventBus.dispatch("annotationeditormodechanged", { - source: this, - mode: this.#annotationEditorMode - }); - } - if (pdfDocument.loadingParams.disableAutoFetch || pagesCount > PagesCountLimit.FORCE_LAZY_PAGE_INIT) { - this._pagesCapability.resolve(); - return; - } - let getPagesLeft = pagesCount - 1; - if (getPagesLeft <= 0) { - this._pagesCapability.resolve(); - return; - } - for (let pageNum = 2; pageNum <= pagesCount; ++pageNum) { - const promise = pdfDocument.getPage(pageNum).then(pdfPage => { - const pageView = this._pages[pageNum - 1]; - if (!pageView.pdfPage) { - pageView.setPdfPage(pdfPage); - } - if (--getPagesLeft === 0) { - this._pagesCapability.resolve(); - } - }, reason => { - console.error(`Unable to get page ${pageNum} to initialize viewer`, reason); - if (--getPagesLeft === 0) { - this._pagesCapability.resolve(); - } - }); - if (pageNum % PagesCountLimit.PAUSE_EAGER_PAGE_INIT === 0) { - await promise; - } - } - }); - this.eventBus.dispatch("pagesinit", { - source: this - }); - pdfDocument.getMetadata().then(({ - info - }) => { - if (pdfDocument !== this.pdfDocument) { - return; - } - if (info.Language) { - this.viewer.lang = info.Language; - } - }); - if (this.defaultRenderingQueue) { - this.update(); - } - }).catch(reason => { - console.error("Unable to initialize viewer", reason); - this._pagesCapability.reject(reason); - }); - } - setPageLabels(labels) { - if (!this.pdfDocument) { - return; - } - if (!labels) { - this._pageLabels = null; - } else if (!(Array.isArray(labels) && this.pdfDocument.numPages === labels.length)) { - this._pageLabels = null; - console.error(`setPageLabels: Invalid page labels.`); - } else { - this._pageLabels = labels; - } - for (let i = 0, ii = this._pages.length; i < ii; i++) { - this._pages[i].setPageLabel(this._pageLabels?.[i] ?? null); - } - } - _resetView() { - this._pages = []; - this._currentPageNumber = 1; - this._currentScale = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.UNKNOWN_SCALE; - this._currentScaleValue = null; - this._pageLabels = null; - this.#buffer = new PDFPageViewBuffer(DEFAULT_CACHE_SIZE); - this._location = null; - this._pagesRotation = 0; - this._optionalContentConfigPromise = null; - this._firstPageCapability = Promise.withResolvers(); - this._onePageRenderedCapability = Promise.withResolvers(); - this._pagesCapability = Promise.withResolvers(); - this._scrollMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.VERTICAL; - this._previousScrollMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.UNKNOWN; - this._spreadMode = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE; - this.#scrollModePageState = { - previousPageNumber: 1, - scrollDown: true, - pages: [] - }; - if (this._onBeforeDraw) { - this.eventBus._off("pagerender", this._onBeforeDraw); - this._onBeforeDraw = null; - } - if (this._onAfterDraw) { - this.eventBus._off("pagerendered", this._onAfterDraw); - this._onAfterDraw = null; - } - if (this.#onVisibilityChange) { - document.removeEventListener("visibilitychange", this.#onVisibilityChange); - this.#onVisibilityChange = null; - } - this.viewer.textContent = ""; - this._updateScrollMode(); - this.viewer.removeAttribute("lang"); - if (this.#hiddenCopyElement) { - document.removeEventListener("copy", this.#copyCallbackBound); - this.#copyCallbackBound = null; - this.#hiddenCopyElement.remove(); - this.#hiddenCopyElement = null; - } - } - #ensurePageViewVisible() { - if (this._scrollMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - throw new Error("#ensurePageViewVisible: Invalid scrollMode value."); - } - const pageNumber = this._currentPageNumber, - state = this.#scrollModePageState, - viewer = this.viewer; - viewer.textContent = ""; - state.pages.length = 0; - if (this._spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE && !this.isInPresentationMode) { - const pageView = this._pages[pageNumber - 1]; - viewer.append(pageView.div); - state.pages.push(pageView); - } else { - const pageIndexSet = new Set(), - parity = this._spreadMode - 1; - if (parity === -1) { - pageIndexSet.add(pageNumber - 1); - } else if (pageNumber % 2 !== parity) { - pageIndexSet.add(pageNumber - 1); - pageIndexSet.add(pageNumber); - } else { - pageIndexSet.add(pageNumber - 2); - pageIndexSet.add(pageNumber - 1); - } - const spread = document.createElement("div"); - spread.className = "spread"; - if (this.isInPresentationMode) { - const dummyPage = document.createElement("div"); - dummyPage.className = "dummyPage"; - spread.append(dummyPage); - } - for (const i of pageIndexSet) { - const pageView = this._pages[i]; - if (!pageView) { - continue; - } - spread.append(pageView.div); - state.pages.push(pageView); - } - viewer.append(spread); - } - state.scrollDown = pageNumber >= state.previousPageNumber; - state.previousPageNumber = pageNumber; - } - _scrollUpdate() { - if (this.pagesCount === 0) { - return; - } - this.update(); - } - #scrollIntoView(pageView, pageSpot = null) { - const { - div, - id - } = pageView; - if (this._currentPageNumber !== id) { - this._setCurrentPageNumber(id); - } - if (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - this.#ensurePageViewVisible(); - this.update(); - } - if (!pageSpot && !this.isInPresentationMode) { - const left = div.offsetLeft + div.clientLeft, - right = left + div.clientWidth; - const { - scrollLeft, - clientWidth - } = this.container; - if (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL || left < scrollLeft || right > scrollLeft + clientWidth) { - pageSpot = { - left: 0, - top: 0 - }; - } - } - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.scrollIntoView)(div, pageSpot); - if (!this._currentScaleValue && this._location) { - this._location = null; - } - } - #isSameScale(newScale) { - return newScale === this._currentScale || Math.abs(newScale - this._currentScale) < 1e-15; - } - #setScaleUpdatePages(newScale, newValue, { - noScroll = false, - preset = false, - drawingDelay = -1 - }) { - this._currentScaleValue = newValue.toString(); - if (this.#isSameScale(newScale)) { - if (preset) { - this.eventBus.dispatch("scalechanging", { - source: this, - scale: newScale, - presetValue: newValue - }); - } - return; - } - this.viewer.style.setProperty("--scale-factor", newScale * pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS); - const postponeDrawing = drawingDelay >= 0 && drawingDelay < 1000; - this.refresh(true, { - scale: newScale, - drawingDelay: postponeDrawing ? drawingDelay : -1 - }); - if (postponeDrawing) { - this.#scaleTimeoutId = setTimeout(() => { - this.#scaleTimeoutId = null; - this.refresh(); - }, drawingDelay); - } - this._currentScale = newScale; - if (!noScroll) { - let page = this._currentPageNumber, - dest; - if (this._location && !(this.isInPresentationMode || this.isChangingPresentationMode)) { - page = this._location.pageNumber; - dest = [null, { - name: "XYZ" - }, this._location.left, this._location.top, null]; - } - this.scrollPageIntoView({ - pageNumber: page, - destArray: dest, - allowNegativeOffset: true - }); - } - this.eventBus.dispatch("scalechanging", { - source: this, - scale: newScale, - presetValue: preset ? newValue : undefined - }); - if (this.defaultRenderingQueue) { - this.update(); - } - } - get #pageWidthScaleFactor() { - if (this._spreadMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE && this._scrollMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL) { - return 2; - } - return 1; - } - #setScale(value, options) { - let scale = parseFloat(value); - if (scale > 0) { - options.preset = false; - this.#setScaleUpdatePages(scale, value, options); - } else { - const currentPage = this._pages[this._currentPageNumber - 1]; - if (!currentPage) { - return; - } - let hPadding = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SCROLLBAR_PADDING, - vPadding = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.VERTICAL_PADDING; - if (this.isInPresentationMode) { - hPadding = vPadding = 4; - if (this._spreadMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE) { - hPadding *= 2; - } - } else if (this.removePageBorders) { - hPadding = vPadding = 0; - } else if (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL) { - [hPadding, vPadding] = [vPadding, hPadding]; - } - const pageWidthScale = (this.container.clientWidth - hPadding) / currentPage.width * currentPage.scale / this.#pageWidthScaleFactor; - const pageHeightScale = (this.container.clientHeight - vPadding) / currentPage.height * currentPage.scale; - switch (value) { - case "page-actual": - scale = 1; - break; - case "page-width": - scale = pageWidthScale; - break; - case "page-height": - scale = pageHeightScale; - break; - case "page-fit": - scale = Math.min(pageWidthScale, pageHeightScale); - break; - case "auto": - const horizontalScale = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.isPortraitOrientation)(currentPage) ? pageWidthScale : Math.min(pageHeightScale, pageWidthScale); - scale = Math.min(_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.MAX_AUTO_SCALE, horizontalScale); - break; - default: - console.error(`#setScale: "${value}" is an unknown zoom value.`); - return; - } - options.preset = true; - this.#setScaleUpdatePages(scale, value, options); - } - } - #resetCurrentPageView() { - const pageView = this._pages[this._currentPageNumber - 1]; - if (this.isInPresentationMode) { - this.#setScale(this._currentScaleValue, { - noScroll: true - }); - } - this.#scrollIntoView(pageView); - } - pageLabelToPageNumber(label) { - if (!this._pageLabels) { - return null; - } - const i = this._pageLabels.indexOf(label); - if (i < 0) { - return null; - } - return i + 1; - } - scrollPageIntoView({ - pageNumber, - destArray = null, - allowNegativeOffset = false, - ignoreDestinationZoom = false - }) { - if (!this.pdfDocument) { - return; - } - const pageView = Number.isInteger(pageNumber) && this._pages[pageNumber - 1]; - if (!pageView) { - console.error(`scrollPageIntoView: "${pageNumber}" is not a valid pageNumber parameter.`); - return; - } - if (this.isInPresentationMode || !destArray) { - this._setCurrentPageNumber(pageNumber, true); - return; - } - let x = 0, - y = 0; - let width = 0, - height = 0, - widthScale, - heightScale; - const changeOrientation = pageView.rotation % 180 !== 0; - const pageWidth = (changeOrientation ? pageView.height : pageView.width) / pageView.scale / pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS; - const pageHeight = (changeOrientation ? pageView.width : pageView.height) / pageView.scale / pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS; - let scale = 0; - switch (destArray[1].name) { - case "XYZ": - x = destArray[2]; - y = destArray[3]; - scale = destArray[4]; - x = x !== null ? x : 0; - y = y !== null ? y : pageHeight; - break; - case "Fit": - case "FitB": - scale = "page-fit"; - break; - case "FitH": - case "FitBH": - y = destArray[2]; - scale = "page-width"; - if (y === null && this._location) { - x = this._location.left; - y = this._location.top; - } else if (typeof y !== "number" || y < 0) { - y = pageHeight; - } - break; - case "FitV": - case "FitBV": - x = destArray[2]; - width = pageWidth; - height = pageHeight; - scale = "page-height"; - break; - case "FitR": - x = destArray[2]; - y = destArray[3]; - width = destArray[4] - x; - height = destArray[5] - y; - let hPadding = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SCROLLBAR_PADDING, - vPadding = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.VERTICAL_PADDING; - if (this.removePageBorders) { - hPadding = vPadding = 0; - } - widthScale = (this.container.clientWidth - hPadding) / width / pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS; - heightScale = (this.container.clientHeight - vPadding) / height / pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.PixelsPerInch.PDF_TO_CSS_UNITS; - scale = Math.min(Math.abs(widthScale), Math.abs(heightScale)); - break; - default: - console.error(`scrollPageIntoView: "${destArray[1].name}" is not a valid destination type.`); - return; - } - if (!ignoreDestinationZoom) { - if (scale && scale !== this._currentScale) { - this.currentScaleValue = scale; - } else if (this._currentScale === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.UNKNOWN_SCALE) { - this.currentScaleValue = _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.DEFAULT_SCALE_VALUE; - } - } - if (scale === "page-fit" && !destArray[4]) { - this.#scrollIntoView(pageView); - return; - } - const boundingRect = [pageView.viewport.convertToViewportPoint(x, y), pageView.viewport.convertToViewportPoint(x + width, y + height)]; - let left = Math.min(boundingRect[0][0], boundingRect[1][0]); - let top = Math.min(boundingRect[0][1], boundingRect[1][1]); - if (!allowNegativeOffset) { - left = Math.max(left, 0); - top = Math.max(top, 0); - } - this.#scrollIntoView(pageView, { - left, - top - }); - } - _updateLocation(firstPage) { - const currentScale = this._currentScale; - const currentScaleValue = this._currentScaleValue; - const normalizedScaleValue = parseFloat(currentScaleValue) === currentScale ? Math.round(currentScale * 10000) / 100 : currentScaleValue; - const pageNumber = firstPage.id; - const currentPageView = this._pages[pageNumber - 1]; - const container = this.container; - const topLeft = currentPageView.getPagePoint(container.scrollLeft - firstPage.x, container.scrollTop - firstPage.y); - const intLeft = Math.round(topLeft[0]); - const intTop = Math.round(topLeft[1]); - let pdfOpenParams = `#page=${pageNumber}`; - if (!this.isInPresentationMode) { - pdfOpenParams += `&zoom=${normalizedScaleValue},${intLeft},${intTop}`; - } - this._location = { - pageNumber, - scale: normalizedScaleValue, - top: intTop, - left: intLeft, - rotation: this._pagesRotation, - pdfOpenParams - }; - } - update() { - const visible = this._getVisiblePages(); - const visiblePages = visible.views, - numVisiblePages = visiblePages.length; - if (numVisiblePages === 0) { - return; - } - const newCacheSize = Math.max(DEFAULT_CACHE_SIZE, 2 * numVisiblePages + 1); - this.#buffer.resize(newCacheSize, visible.ids); - this.renderingQueue.renderHighestPriority(visible); - const isSimpleLayout = this._spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE && (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE || this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.VERTICAL); - const currentId = this._currentPageNumber; - let stillFullyVisible = false; - for (const page of visiblePages) { - if (page.percent < 100) { - break; - } - if (page.id === currentId && isSimpleLayout) { - stillFullyVisible = true; - break; - } - } - this._setCurrentPageNumber(stillFullyVisible ? currentId : visiblePages[0].id); - this._updateLocation(visible.first); - this.eventBus.dispatch("updateviewarea", { - source: this, - location: this._location - }); - } - containsElement(element) { - return this.container.contains(element); - } - focus() { - this.container.focus(); - } - get _isContainerRtl() { - return getComputedStyle(this.container).direction === "rtl"; - } - get isInPresentationMode() { - return this.presentationModeState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.PresentationModeState.FULLSCREEN; - } - get isChangingPresentationMode() { - return this.presentationModeState === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.PresentationModeState.CHANGING; - } - get isHorizontalScrollbarEnabled() { - return this.isInPresentationMode ? false : this.container.scrollWidth > this.container.clientWidth; - } - get isVerticalScrollbarEnabled() { - return this.isInPresentationMode ? false : this.container.scrollHeight > this.container.clientHeight; - } - _getVisiblePages() { - const views = this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE ? this.#scrollModePageState.pages : this._pages, - horizontal = this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL, - rtl = horizontal && this._isContainerRtl; - return (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.getVisibleElements)({ - scrollEl: this.container, - views, - sortByVisibility: true, - horizontal, - rtl - }); - } - cleanup() { - for (const pageView of this._pages) { - if (pageView.renderingState !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.RenderingStates.FINISHED) { - pageView.reset(); - } - } - } - _cancelRendering() { - for (const pageView of this._pages) { - pageView.cancelRendering(); - } - } - async #ensurePdfPageLoaded(pageView) { - if (pageView.pdfPage) { - return pageView.pdfPage; - } - try { - const pdfPage = await this.pdfDocument.getPage(pageView.id); - if (!pageView.pdfPage) { - pageView.setPdfPage(pdfPage); - } - return pdfPage; - } catch (reason) { - console.error("Unable to get page for page view", reason); - return null; - } - } - #getScrollAhead(visible) { - if (visible.first?.id === 1) { - return true; - } else if (visible.last?.id === this.pagesCount) { - return false; - } - switch (this._scrollMode) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE: - return this.#scrollModePageState.scrollDown; - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL: - return this.scroll.right; - } - return this.scroll.down; - } - forceRendering(currentlyVisiblePages) { - const visiblePages = currentlyVisiblePages || this._getVisiblePages(); - const scrollAhead = this.#getScrollAhead(visiblePages); - const preRenderExtra = this._spreadMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE && this._scrollMode !== _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL; - const pageView = this.renderingQueue.getHighestPriority(visiblePages, this._pages, scrollAhead, preRenderExtra); - if (pageView) { - this.#ensurePdfPageLoaded(pageView).then(() => { - this.renderingQueue.renderView(pageView); - }); - return true; - } - return false; - } - get hasEqualPageSizes() { - const firstPageView = this._pages[0]; - for (let i = 1, ii = this._pages.length; i < ii; ++i) { - const pageView = this._pages[i]; - if (pageView.width !== firstPageView.width || pageView.height !== firstPageView.height) { - return false; - } - } - return true; - } - getPagesOverview() { - let initialOrientation; - return this._pages.map(pageView => { - const viewport = pageView.pdfPage.getViewport({ - scale: 1 - }); - const orientation = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.isPortraitOrientation)(viewport); - if (initialOrientation === undefined) { - initialOrientation = orientation; - } else if (this.enablePrintAutoRotate && orientation !== initialOrientation) { - return { - width: viewport.height, - height: viewport.width, - rotation: (viewport.rotation - 90) % 360 - }; - } - return { - width: viewport.width, - height: viewport.height, - rotation: viewport.rotation - }; - }); - } - get optionalContentConfigPromise() { - if (!this.pdfDocument) { - return Promise.resolve(null); - } - if (!this._optionalContentConfigPromise) { - console.error("optionalContentConfigPromise: Not initialized yet."); - return this.pdfDocument.getOptionalContentConfig({ - intent: "display" - }); - } - return this._optionalContentConfigPromise; - } - set optionalContentConfigPromise(promise) { - if (!(promise instanceof Promise)) { - throw new Error(`Invalid optionalContentConfigPromise: ${promise}`); - } - if (!this.pdfDocument) { - return; - } - if (!this._optionalContentConfigPromise) { - return; - } - this._optionalContentConfigPromise = promise; - this.refresh(false, { - optionalContentConfigPromise: promise - }); - this.eventBus.dispatch("optionalcontentconfigchanged", { - source: this, - promise - }); - } - get scrollMode() { - return this._scrollMode; - } - set scrollMode(mode) { - if (this._scrollMode === mode) { - return; - } - if (!(0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.isValidScrollMode)(mode)) { - throw new Error(`Invalid scroll mode: ${mode}`); - } - if (this.pagesCount > PagesCountLimit.FORCE_SCROLL_MODE_PAGE) { - return; - } - this._previousScrollMode = this._scrollMode; - this._scrollMode = mode; - this.eventBus.dispatch("scrollmodechanged", { - source: this, - mode - }); - this._updateScrollMode(this._currentPageNumber); - } - _updateScrollMode(pageNumber = null) { - const scrollMode = this._scrollMode, - viewer = this.viewer; - viewer.classList.toggle("scrollHorizontal", scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL); - viewer.classList.toggle("scrollWrapped", scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.WRAPPED); - if (!this.pdfDocument || !pageNumber) { - return; - } - if (scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - this.#ensurePageViewVisible(); - } else if (this._previousScrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - this._updateSpreadMode(); - } - if (this._currentScaleValue && isNaN(this._currentScaleValue)) { - this.#setScale(this._currentScaleValue, { - noScroll: true - }); - } - this._setCurrentPageNumber(pageNumber, true); - this.update(); - } - get spreadMode() { - return this._spreadMode; - } - set spreadMode(mode) { - if (this._spreadMode === mode) { - return; - } - if (!(0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.isValidSpreadMode)(mode)) { - throw new Error(`Invalid spread mode: ${mode}`); - } - this._spreadMode = mode; - this.eventBus.dispatch("spreadmodechanged", { - source: this, - mode - }); - this._updateSpreadMode(this._currentPageNumber); - } - _updateSpreadMode(pageNumber = null) { - if (!this.pdfDocument) { - return; - } - const viewer = this.viewer, - pages = this._pages; - if (this._scrollMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE) { - this.#ensurePageViewVisible(); - } else { - viewer.textContent = ""; - if (this._spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE) { - for (const pageView of this._pages) { - viewer.append(pageView.div); - } - } else { - const parity = this._spreadMode - 1; - let spread = null; - for (let i = 0, ii = pages.length; i < ii; ++i) { - if (spread === null) { - spread = document.createElement("div"); - spread.className = "spread"; - viewer.append(spread); - } else if (i % 2 === parity) { - spread = spread.cloneNode(false); - viewer.append(spread); - } - spread.append(pages[i].div); - } - } - } - if (!pageNumber) { - return; - } - if (this._currentScaleValue && isNaN(this._currentScaleValue)) { - this.#setScale(this._currentScaleValue, { - noScroll: true - }); - } - this._setCurrentPageNumber(pageNumber, true); - this.update(); - } - _getPageAdvance(currentPageNumber, previous = false) { - switch (this._scrollMode) { - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.WRAPPED: - { - const { - views - } = this._getVisiblePages(), - pageLayout = new Map(); - for (const { - id, - y, - percent, - widthPercent - } of views) { - if (percent === 0 || widthPercent < 100) { - continue; - } - let yArray = pageLayout.get(y); - if (!yArray) { - pageLayout.set(y, yArray ||= []); - } - yArray.push(id); - } - for (const yArray of pageLayout.values()) { - const currentIndex = yArray.indexOf(currentPageNumber); - if (currentIndex === -1) { - continue; - } - const numPages = yArray.length; - if (numPages === 1) { - break; - } - if (previous) { - for (let i = currentIndex - 1, ii = 0; i >= ii; i--) { - const currentId = yArray[i], - expectedId = yArray[i + 1] - 1; - if (currentId < expectedId) { - return currentPageNumber - expectedId; - } - } - } else { - for (let i = currentIndex + 1, ii = numPages; i < ii; i++) { - const currentId = yArray[i], - expectedId = yArray[i - 1] + 1; - if (currentId > expectedId) { - return expectedId - currentPageNumber; - } - } - } - if (previous) { - const firstId = yArray[0]; - if (firstId < currentPageNumber) { - return currentPageNumber - firstId + 1; - } - } else { - const lastId = yArray[numPages - 1]; - if (lastId > currentPageNumber) { - return lastId - currentPageNumber + 1; - } - } - break; - } - break; - } - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.HORIZONTAL: - { - break; - } - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.PAGE: - case _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.ScrollMode.VERTICAL: - { - if (this._spreadMode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.SpreadMode.NONE) { - break; - } - const parity = this._spreadMode - 1; - if (previous && currentPageNumber % 2 !== parity) { - break; - } else if (!previous && currentPageNumber % 2 === parity) { - break; - } - const { - views - } = this._getVisiblePages(), - expectedId = previous ? currentPageNumber - 1 : currentPageNumber + 1; - for (const { - id, - percent, - widthPercent - } of views) { - if (id !== expectedId) { - continue; - } - if (percent > 0 && widthPercent === 100) { - return 2; - } - break; - } - break; - } - } - return 1; - } - nextPage() { - const currentPageNumber = this._currentPageNumber, - pagesCount = this.pagesCount; - if (currentPageNumber >= pagesCount) { - return false; - } - const advance = this._getPageAdvance(currentPageNumber, false) || 1; - this.currentPageNumber = Math.min(currentPageNumber + advance, pagesCount); - return true; - } - previousPage() { - const currentPageNumber = this._currentPageNumber; - if (currentPageNumber <= 1) { - return false; - } - const advance = this._getPageAdvance(currentPageNumber, true) || 1; - this.currentPageNumber = Math.max(currentPageNumber - advance, 1); - return true; - } - increaseScale({ - drawingDelay, - scaleFactor, - steps - } = {}) { - if (!this.pdfDocument) { - return; - } - let newScale = this._currentScale; - if (scaleFactor > 1) { - newScale = Math.round(newScale * scaleFactor * 100) / 100; - } else { - steps ??= 1; - do { - newScale = Math.ceil((newScale * _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.DEFAULT_SCALE_DELTA).toFixed(2) * 10) / 10; - } while (--steps > 0 && newScale < _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.MAX_SCALE); - } - this.#setScale(Math.min(_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.MAX_SCALE, newScale), { - noScroll: false, - drawingDelay - }); - } - decreaseScale({ - drawingDelay, - scaleFactor, - steps - } = {}) { - if (!this.pdfDocument) { - return; - } - let newScale = this._currentScale; - if (scaleFactor > 0 && scaleFactor < 1) { - newScale = Math.round(newScale * scaleFactor * 100) / 100; - } else { - steps ??= 1; - do { - newScale = Math.floor((newScale / _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.DEFAULT_SCALE_DELTA).toFixed(2) * 10) / 10; - } while (--steps > 0 && newScale > _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.MIN_SCALE); - } - this.#setScale(Math.max(_ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.MIN_SCALE, newScale), { - noScroll: false, - drawingDelay - }); - } - #updateContainerHeightCss(height = this.container.clientHeight) { - if (height !== this.#previousContainerHeight) { - this.#previousContainerHeight = height; - _ui_utils_js__WEBPACK_IMPORTED_MODULE_13__.docStyle.setProperty("--viewer-container-height", `${height}px`); - } - } - #resizeObserverCallback(entries) { - for (const entry of entries) { - if (entry.target === this.container) { - this.#updateContainerHeightCss(Math.floor(entry.borderBoxSize[0].blockSize)); - this.#containerTopLeft = null; - break; - } - } - } - get containerTopLeft() { - return this.#containerTopLeft ||= [this.container.offsetTop, this.container.offsetLeft]; - } - get annotationEditorMode() { - return this.#annotationEditorUIManager ? this.#annotationEditorMode : pdfjs_lib__WEBPACK_IMPORTED_MODULE_12__.AnnotationEditorType.DISABLE; - } - set annotationEditorMode({ - mode, - editId = null, - isFromKeyboard = false - }) { - if (!this.#annotationEditorUIManager) { - throw new Error(`The AnnotationEditor is not enabled.`); - } - if (this.#annotationEditorMode === mode) { - return; - } - if (!isValidAnnotationEditorMode(mode)) { - throw new Error(`Invalid AnnotationEditor mode: ${mode}`); - } - if (!this.pdfDocument) { - return; - } - this.#annotationEditorMode = mode; - this.eventBus.dispatch("annotationeditormodechanged", { - source: this, - mode - }); - this.#annotationEditorUIManager.updateMode(mode, editId, isFromKeyboard); - } - set annotationEditorParams({ - type, - value - }) { - if (!this.#annotationEditorUIManager) { - throw new Error(`The AnnotationEditor is not enabled.`); - } - this.#annotationEditorUIManager.updateParams(type, value); - } - refresh(noUpdate = false, updateArgs = Object.create(null)) { - if (!this.pdfDocument) { - return; - } - for (const pageView of this._pages) { - pageView.update(updateArgs); - } - if (this.#scaleTimeoutId !== null) { - clearTimeout(this.#scaleTimeoutId); - this.#scaleTimeoutId = null; - } - if (!noUpdate) { - this.update(); - } - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2603: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AbortException: () => (/* binding */ AbortException), -/* harmony export */ AnnotationEditorLayer: () => (/* binding */ AnnotationEditorLayer), -/* harmony export */ AnnotationEditorParamsType: () => (/* binding */ AnnotationEditorParamsType), -/* harmony export */ AnnotationEditorType: () => (/* binding */ AnnotationEditorType), -/* harmony export */ AnnotationEditorUIManager: () => (/* binding */ AnnotationEditorUIManager), -/* harmony export */ AnnotationLayer: () => (/* binding */ AnnotationLayer), -/* harmony export */ AnnotationMode: () => (/* binding */ AnnotationMode), -/* harmony export */ ColorPicker: () => (/* binding */ ColorPicker), -/* harmony export */ DOMSVGFactory: () => (/* binding */ DOMSVGFactory), -/* harmony export */ DrawLayer: () => (/* binding */ DrawLayer), -/* harmony export */ GlobalWorkerOptions: () => (/* binding */ GlobalWorkerOptions), -/* harmony export */ InvalidPDFException: () => (/* binding */ InvalidPDFException), -/* harmony export */ MissingPDFException: () => (/* binding */ MissingPDFException), -/* harmony export */ PDFDateString: () => (/* binding */ PDFDateString), -/* harmony export */ PDFWorker: () => (/* binding */ PDFWorker), -/* harmony export */ PasswordResponses: () => (/* binding */ PasswordResponses), -/* harmony export */ PermissionFlag: () => (/* binding */ PermissionFlag), -/* harmony export */ PixelsPerInch: () => (/* binding */ PixelsPerInch), -/* harmony export */ RenderingCancelledException: () => (/* binding */ RenderingCancelledException), -/* harmony export */ UnexpectedResponseException: () => (/* binding */ UnexpectedResponseException), -/* harmony export */ XfaLayer: () => (/* binding */ XfaLayer), -/* harmony export */ build: () => (/* binding */ build), -/* harmony export */ createValidAbsoluteUrl: () => (/* binding */ createValidAbsoluteUrl), -/* harmony export */ fetchData: () => (/* binding */ fetchData), -/* harmony export */ getDocument: () => (/* binding */ getDocument), -/* harmony export */ getFilenameFromUrl: () => (/* binding */ getFilenameFromUrl), -/* harmony export */ getPdfFilenameFromUrl: () => (/* binding */ getPdfFilenameFromUrl), -/* harmony export */ getXfaPageViewport: () => (/* binding */ getXfaPageViewport), -/* harmony export */ isDataScheme: () => (/* binding */ isDataScheme), -/* harmony export */ isPdfFile: () => (/* binding */ isPdfFile), -/* harmony export */ noContextMenu: () => (/* binding */ noContextMenu), -/* harmony export */ normalizeUnicode: () => (/* binding */ normalizeUnicode), -/* harmony export */ renderTextLayer: () => (/* binding */ renderTextLayer), -/* harmony export */ setLayerDimensions: () => (/* binding */ setLayerDimensions), -/* harmony export */ shadow: () => (/* binding */ shadow), -/* harmony export */ updateTextLayer: () => (/* binding */ updateTextLayer), -/* harmony export */ version: () => (/* binding */ version) -/* harmony export */ }); -/* unused harmony exports CMapCompressionType, FeatureTest, ImageKind, OPS, Outliner, PDFDataRangeTransport, Util, VerbosityLevel */ -if (!globalThis.pdfjsLib) { - await globalThis.pdfjsLibPromise; -} -const { - AbortException, - AnnotationEditorLayer, - AnnotationEditorParamsType, - AnnotationEditorType, - AnnotationEditorUIManager, - AnnotationLayer, - AnnotationMode, - build, - CMapCompressionType, - ColorPicker, - createValidAbsoluteUrl, - DOMSVGFactory, - DrawLayer, - FeatureTest, - fetchData, - getDocument, - getFilenameFromUrl, - getPdfFilenameFromUrl, - getXfaPageViewport, - GlobalWorkerOptions, - ImageKind, - InvalidPDFException, - isDataScheme, - isPdfFile, - MissingPDFException, - noContextMenu, - normalizeUnicode, - OPS, - Outliner, - PasswordResponses, - PDFDataRangeTransport, - PDFDateString, - PDFWorker, - PermissionFlag, - PixelsPerInch, - RenderingCancelledException, - renderTextLayer, - setLayerDimensions, - shadow, - UnexpectedResponseException, - updateTextLayer, - Util, - VerbosityLevel, - version, - XfaLayer -} = globalThis.pdfjsLib; - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }, 1); - -/***/ }), - -/***/ 8224: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ BasePreferences: () => (/* binding */ BasePreferences) -/* harmony export */ }); -/* harmony import */ var core_js_modules_web_dom_exception_stack_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4979); -/* harmony import */ var _app_options_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9840); - - -class BasePreferences { - #browserDefaults = Object.freeze({ - canvasMaxAreaInBytes: -1, - isInAutomation: false, - supportsCaretBrowsingMode: false, - supportsDocumentFonts: true, - supportsIntegratedFind: false, - supportsMouseWheelZoomCtrlKey: true, - supportsMouseWheelZoomMetaKey: true, - supportsPinchToZoom: true - }); - #defaults = Object.freeze({ - annotationEditorMode: 0, - annotationMode: 2, - cursorToolOnLoad: 0, - defaultZoomDelay: 400, - defaultZoomValue: "", - disablePageLabels: false, - enableHighlightEditor: false, - enableHighlightFloatingButton: false, - enableML: false, - enablePermissions: false, - enablePrintAutoRotate: true, - enableScripting: true, - enableStampEditor: true, - externalLinkTarget: 0, - highlightEditorColors: "yellow=#FFFF98,green=#53FFBC,blue=#80EBFF,pink=#FFCBE6,red=#FF4F5F", - historyUpdateUrl: false, - ignoreDestinationZoom: false, - forcePageColors: false, - pageColorsBackground: "Canvas", - pageColorsForeground: "CanvasText", - pdfBugEnabled: false, - sidebarViewOnLoad: -1, - scrollModeOnLoad: -1, - spreadModeOnLoad: -1, - textLayerMode: 1, - viewOnLoad: 0, - disableAutoFetch: false, - disableFontFace: false, - disableRange: false, - disableStream: false, - enableXfa: true, - viewerCssTheme: 0 - }); - #prefs = Object.create(null); - #initializedPromise = null; - constructor() { - if (this.constructor === BasePreferences) { - throw new Error("Cannot initialize BasePreferences."); - } - this.#initializedPromise = this._readFromStorage(this.#defaults).then(({ - browserPrefs, - prefs - }) => { - const options = Object.create(null); - for (const [name, val] of Object.entries(this.#browserDefaults)) { - const prefVal = browserPrefs?.[name]; - options[name] = typeof prefVal === typeof val ? prefVal : val; - } - for (const [name, val] of Object.entries(this.#defaults)) { - const prefVal = prefs?.[name]; - options[name] = this.#prefs[name] = typeof prefVal === typeof val ? prefVal : val; - } - _app_options_js__WEBPACK_IMPORTED_MODULE_1__.AppOptions.setAll(options, true); - }); - } - async _writeToStorage(prefObj) { - throw new Error("Not implemented: _writeToStorage"); - } - async _readFromStorage(prefObj) { - throw new Error("Not implemented: _readFromStorage"); - } - #updatePref({ - name, - value - }) { - throw new Error("Not implemented: #updatePref"); - } - async reset() { - await this.#initializedPromise; - const oldPrefs = structuredClone(this.#prefs); - this.#prefs = Object.create(null); - try { - await this._writeToStorage(this.#defaults); - } catch (reason) { - this.#prefs = oldPrefs; - throw reason; - } - } - async set(name, value) { - await this.#initializedPromise; - const defaultValue = this.#defaults[name], - oldPrefs = structuredClone(this.#prefs); - if (defaultValue === undefined) { - throw new Error(`Set preference: "${name}" is undefined.`); - } else if (value === undefined) { - throw new Error("Set preference: no value is specified."); - } - const valueType = typeof value, - defaultType = typeof defaultValue; - if (valueType !== defaultType) { - if (valueType === "number" && defaultType === "string") { - value = value.toString(); - } else { - throw new Error(`Set preference: "${value}" is a ${valueType}, expected a ${defaultType}.`); - } - } else if (valueType === "number" && !Number.isInteger(value)) { - throw new Error(`Set preference: "${value}" must be an integer.`); - } - this.#prefs[name] = value; - try { - await this._writeToStorage(this.#prefs); - } catch (reason) { - this.#prefs = oldPrefs; - throw reason; - } - } - async get(name) { - await this.#initializedPromise; - const defaultValue = this.#defaults[name]; - if (defaultValue === undefined) { - throw new Error(`Get preference: "${name}" is undefined.`); - } - return this.#prefs[name] ?? defaultValue; - } - get initializedPromise() { - return this.#initializedPromise; - } -} - - -/***/ }), - -/***/ 659: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ getXfaHtmlForPrinting: () => (/* binding */ getXfaHtmlForPrinting) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(787); -/* harmony import */ var _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2973); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__, _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_2__]); -([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__, _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_2__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__); - - - -function getXfaHtmlForPrinting(printContainer, pdfDocument) { - const xfaHtml = pdfDocument.allXfaHtml; - const linkService = new _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_1__.SimpleLinkService(); - const scale = Math.round(pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.PixelsPerInch.PDF_TO_CSS_UNITS * 100) / 100; - for (const xfaPage of xfaHtml.children) { - const page = document.createElement("div"); - page.className = "xfaPrintedPage"; - printContainer.append(page); - const builder = new _xfa_layer_builder_js__WEBPACK_IMPORTED_MODULE_2__.XfaLayerBuilder({ - pdfPage: null, - annotationStorage: pdfDocument.annotationStorage, - linkService, - xfaHtml: xfaPage - }); - const viewport = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.getXfaPageViewport)(xfaPage, { - scale - }); - builder.render(viewport, "print"); - page.append(builder.div); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 1900: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ SecondaryToolbar: () => (/* binding */ SecondaryToolbar) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -/* harmony import */ var _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6285); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_pdf_viewer_js__WEBPACK_IMPORTED_MODULE_2__]); -_pdf_viewer_js__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - -class SecondaryToolbar { - #opts; - constructor(options, eventBus) { - this.#opts = options; - const buttons = [{ - element: options.presentationModeButton, - eventName: "presentationmode", - close: true - }, { - element: options.printButton, - eventName: "print", - close: true - }, { - element: options.downloadButton, - eventName: "download", - close: true - }, { - element: options.viewBookmarkButton, - eventName: null, - close: true - }, { - element: options.firstPageButton, - eventName: "firstpage", - close: true - }, { - element: options.lastPageButton, - eventName: "lastpage", - close: true - }, { - element: options.pageRotateCwButton, - eventName: "rotatecw", - close: false - }, { - element: options.pageRotateCcwButton, - eventName: "rotateccw", - close: false - }, { - element: options.cursorSelectToolButton, - eventName: "switchcursortool", - eventDetails: { - tool: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT - }, - close: true - }, { - element: options.cursorHandToolButton, - eventName: "switchcursortool", - eventDetails: { - tool: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.HAND - }, - close: true - }, { - element: options.scrollPageButton, - eventName: "switchscrollmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.PAGE - }, - close: true - }, { - element: options.scrollVerticalButton, - eventName: "switchscrollmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.VERTICAL - }, - close: true - }, { - element: options.scrollHorizontalButton, - eventName: "switchscrollmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.HORIZONTAL - }, - close: true - }, { - element: options.scrollWrappedButton, - eventName: "switchscrollmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.WRAPPED - }, - close: true - }, { - element: options.spreadNoneButton, - eventName: "switchspreadmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.NONE - }, - close: true - }, { - element: options.spreadOddButton, - eventName: "switchspreadmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.ODD - }, - close: true - }, { - element: options.spreadEvenButton, - eventName: "switchspreadmode", - eventDetails: { - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.EVEN - }, - close: true - }, { - element: options.documentPropertiesButton, - eventName: "documentproperties", - close: true - }]; - buttons.push({ - element: options.openFileButton, - eventName: "openfile", - close: true - }); - this.eventBus = eventBus; - this.opened = false; - this.#bindListeners(buttons); - this.reset(); - } - get isOpen() { - return this.opened; - } - setPageNumber(pageNumber) { - this.pageNumber = pageNumber; - this.#updateUIState(); - } - setPagesCount(pagesCount) { - this.pagesCount = pagesCount; - this.#updateUIState(); - } - reset() { - this.pageNumber = 0; - this.pagesCount = 0; - this.#updateUIState(); - this.eventBus.dispatch("switchcursortool", { - source: this, - reset: true - }); - this.#scrollModeChanged({ - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.VERTICAL - }); - this.#spreadModeChanged({ - mode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.NONE - }); - } - #updateUIState() { - const { - firstPageButton, - lastPageButton, - pageRotateCwButton, - pageRotateCcwButton - } = this.#opts; - firstPageButton.disabled = this.pageNumber <= 1; - lastPageButton.disabled = this.pageNumber >= this.pagesCount; - pageRotateCwButton.disabled = this.pagesCount === 0; - pageRotateCcwButton.disabled = this.pagesCount === 0; - } - #bindListeners(buttons) { - const { - eventBus - } = this; - const { - toggleButton - } = this.#opts; - toggleButton.addEventListener("click", this.toggle.bind(this)); - for (const { - element, - eventName, - close, - eventDetails - } of buttons) { - element.addEventListener("click", evt => { - if (eventName !== null) { - eventBus.dispatch(eventName, { - source: this, - ...eventDetails - }); - } - if (close) { - this.close(); - } - eventBus.dispatch("reporttelemetry", { - source: this, - details: { - type: "buttons", - data: { - id: element.id - } - } - }); - }); - } - eventBus._on("cursortoolchanged", this.#cursorToolChanged.bind(this)); - eventBus._on("scrollmodechanged", this.#scrollModeChanged.bind(this)); - eventBus._on("spreadmodechanged", this.#spreadModeChanged.bind(this)); - } - #cursorToolChanged({ - tool - }) { - const { - cursorSelectToolButton, - cursorHandToolButton - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(cursorSelectToolButton, tool === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.SELECT); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(cursorHandToolButton, tool === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.CursorTool.HAND); - } - #scrollModeChanged({ - mode - }) { - const { - scrollPageButton, - scrollVerticalButton, - scrollHorizontalButton, - scrollWrappedButton, - spreadNoneButton, - spreadOddButton, - spreadEvenButton - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(scrollPageButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.PAGE); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(scrollVerticalButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.VERTICAL); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(scrollHorizontalButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.HORIZONTAL); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(scrollWrappedButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.WRAPPED); - const forceScrollModePage = this.pagesCount > _pdf_viewer_js__WEBPACK_IMPORTED_MODULE_2__.PagesCountLimit.FORCE_SCROLL_MODE_PAGE; - scrollPageButton.disabled = forceScrollModePage; - scrollVerticalButton.disabled = forceScrollModePage; - scrollHorizontalButton.disabled = forceScrollModePage; - scrollWrappedButton.disabled = forceScrollModePage; - const isHorizontal = mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.ScrollMode.HORIZONTAL; - spreadNoneButton.disabled = isHorizontal; - spreadOddButton.disabled = isHorizontal; - spreadEvenButton.disabled = isHorizontal; - } - #spreadModeChanged({ - mode - }) { - const { - spreadNoneButton, - spreadOddButton, - spreadEvenButton - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(spreadNoneButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.NONE); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(spreadOddButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.ODD); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(spreadEvenButton, mode === _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.SpreadMode.EVEN); - } - open() { - if (this.opened) { - return; - } - this.opened = true; - const { - toggleButton, - toolbar - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleExpandedBtn)(toggleButton, true, toolbar); - } - close() { - if (!this.opened) { - return; - } - this.opened = false; - const { - toggleButton, - toolbar - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleExpandedBtn)(toggleButton, false, toolbar); - } - toggle() { - if (this.opened) { - this.close(); - } else { - this.open(); - } - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 6698: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ StructTreeLayerBuilder: () => (/* binding */ StructTreeLayerBuilder) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); - -const PDF_ROLE_TO_HTML_ROLE = { - Document: null, - DocumentFragment: null, - Part: "group", - Sect: "group", - Div: "group", - Aside: "note", - NonStruct: "none", - P: null, - H: "heading", - Title: null, - FENote: "note", - Sub: "group", - Lbl: null, - Span: null, - Em: null, - Strong: null, - Link: "link", - Annot: "note", - Form: "form", - Ruby: null, - RB: null, - RT: null, - RP: null, - Warichu: null, - WT: null, - WP: null, - L: "list", - LI: "listitem", - LBody: null, - Table: "table", - TR: "row", - TH: "columnheader", - TD: "cell", - THead: "columnheader", - TBody: null, - TFoot: null, - Caption: null, - Figure: "figure", - Formula: null, - Artifact: null -}; -const HEADING_PATTERN = /^H(\d+)$/; -class StructTreeLayerBuilder { - #treeDom = undefined; - get renderingDone() { - return this.#treeDom !== undefined; - } - render(structTree) { - if (this.#treeDom !== undefined) { - return this.#treeDom; - } - const treeDom = this.#walk(structTree); - treeDom?.classList.add("structTree"); - return this.#treeDom = treeDom; - } - hide() { - if (this.#treeDom && !this.#treeDom.hidden) { - this.#treeDom.hidden = true; - } - } - show() { - if (this.#treeDom?.hidden) { - this.#treeDom.hidden = false; - } - } - #setAttributes(structElement, htmlElement) { - const { - alt, - id, - lang - } = structElement; - if (alt !== undefined) { - htmlElement.setAttribute("aria-label", (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.removeNullCharacters)(alt)); - } - if (id !== undefined) { - htmlElement.setAttribute("aria-owns", id); - } - if (lang !== undefined) { - htmlElement.setAttribute("lang", (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.removeNullCharacters)(lang, true)); - } - } - #walk(node) { - if (!node) { - return null; - } - const element = document.createElement("span"); - if ("role" in node) { - const { - role - } = node; - const match = role.match(HEADING_PATTERN); - if (match) { - element.setAttribute("role", "heading"); - element.setAttribute("aria-level", match[1]); - } else if (PDF_ROLE_TO_HTML_ROLE[role]) { - element.setAttribute("role", PDF_ROLE_TO_HTML_ROLE[role]); - } - } - this.#setAttributes(node, element); - if (node.children) { - if (node.children.length === 1 && "id" in node.children[0]) { - this.#setAttributes(node.children[0], element); - } else { - for (const kid of node.children) { - element.append(this.#walk(kid)); - } - } - } - return element; - } -} - - -/***/ }), - -/***/ 5860: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ TextAccessibilityManager: () => (/* binding */ TextAccessibilityManager) -/* harmony export */ }); -/* harmony import */ var core_js_modules_esnext_iterator_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8992); -/* harmony import */ var core_js_modules_esnext_iterator_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4520); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7256); - - - -class TextAccessibilityManager { - #enabled = false; - #textChildren = null; - #textNodes = new Map(); - #waitingElements = new Map(); - setTextMapping(textDivs) { - this.#textChildren = textDivs; - } - static #compareElementPositions(e1, e2) { - const rect1 = e1.getBoundingClientRect(); - const rect2 = e2.getBoundingClientRect(); - if (rect1.width === 0 && rect1.height === 0) { - return +1; - } - if (rect2.width === 0 && rect2.height === 0) { - return -1; - } - const top1 = rect1.y; - const bot1 = rect1.y + rect1.height; - const mid1 = rect1.y + rect1.height / 2; - const top2 = rect2.y; - const bot2 = rect2.y + rect2.height; - const mid2 = rect2.y + rect2.height / 2; - if (mid1 <= top2 && mid2 >= bot1) { - return -1; - } - if (mid2 <= top1 && mid1 >= bot2) { - return +1; - } - const centerX1 = rect1.x + rect1.width / 2; - const centerX2 = rect2.x + rect2.width / 2; - return centerX1 - centerX2; - } - enable() { - if (this.#enabled) { - throw new Error("TextAccessibilityManager is already enabled."); - } - if (!this.#textChildren) { - throw new Error("Text divs and strings have not been set."); - } - this.#enabled = true; - this.#textChildren = this.#textChildren.slice(); - this.#textChildren.sort(TextAccessibilityManager.#compareElementPositions); - if (this.#textNodes.size > 0) { - const textChildren = this.#textChildren; - for (const [id, nodeIndex] of this.#textNodes) { - const element = document.getElementById(id); - if (!element) { - this.#textNodes.delete(id); - continue; - } - this.#addIdToAriaOwns(id, textChildren[nodeIndex]); - } - } - for (const [element, isRemovable] of this.#waitingElements) { - this.addPointerInTextLayer(element, isRemovable); - } - this.#waitingElements.clear(); - } - disable() { - if (!this.#enabled) { - return; - } - this.#waitingElements.clear(); - this.#textChildren = null; - this.#enabled = false; - } - removePointerInTextLayer(element) { - if (!this.#enabled) { - this.#waitingElements.delete(element); - return; - } - const children = this.#textChildren; - if (!children || children.length === 0) { - return; - } - const { - id - } = element; - const nodeIndex = this.#textNodes.get(id); - if (nodeIndex === undefined) { - return; - } - const node = children[nodeIndex]; - this.#textNodes.delete(id); - let owns = node.getAttribute("aria-owns"); - if (owns?.includes(id)) { - owns = owns.split(" ").filter(x => x !== id).join(" "); - if (owns) { - node.setAttribute("aria-owns", owns); - } else { - node.removeAttribute("aria-owns"); - node.setAttribute("role", "presentation"); - } - } - } - #addIdToAriaOwns(id, node) { - const owns = node.getAttribute("aria-owns"); - if (!owns?.includes(id)) { - node.setAttribute("aria-owns", owns ? `${owns} ${id}` : id); - } - node.removeAttribute("role"); - } - addPointerInTextLayer(element, isRemovable) { - const { - id - } = element; - if (!id) { - return null; - } - if (!this.#enabled) { - this.#waitingElements.set(element, isRemovable); - return null; - } - if (isRemovable) { - this.removePointerInTextLayer(element); - } - const children = this.#textChildren; - if (!children || children.length === 0) { - return null; - } - const index = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.binarySearchFirstItem)(children, node => TextAccessibilityManager.#compareElementPositions(element, node) < 0); - const nodeIndex = Math.max(0, index - 1); - const child = children[nodeIndex]; - this.#addIdToAriaOwns(id, child); - this.#textNodes.set(id, nodeIndex); - const parent = child.parentNode; - return parent?.classList.contains("markedContent") ? parent.id : null; - } - moveElementInDOM(container, element, contentElement, isRemovable) { - const id = this.addPointerInTextLayer(contentElement, isRemovable); - if (!container.hasChildNodes()) { - container.append(element); - return id; - } - const children = Array.from(container.childNodes).filter(node => node !== element); - if (children.length === 0) { - return id; - } - const elementToCompare = contentElement || element; - const index = (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_2__.binarySearchFirstItem)(children, node => TextAccessibilityManager.#compareElementPositions(elementToCompare, node) < 0); - if (index === 0) { - children[0].before(element); - } else { - children[index - 1].after(element); - } - return id; - } -} - - -/***/ }), - -/***/ 2027: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ TextHighlighter: () => (/* binding */ TextHighlighter) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); - -class TextHighlighter { - #eventAbortController = null; - constructor({ - findController, - eventBus, - pageIndex - }) { - this.findController = findController; - this.matches = []; - this.eventBus = eventBus; - this.pageIdx = pageIndex; - this.textDivs = null; - this.textContentItemsStr = null; - this.enabled = false; - } - setTextMapping(divs, texts) { - this.textDivs = divs; - this.textContentItemsStr = texts; - } - enable() { - if (!this.textDivs || !this.textContentItemsStr) { - throw new Error("Text divs and strings have not been set."); - } - if (this.enabled) { - throw new Error("TextHighlighter is already enabled."); - } - this.enabled = true; - if (!this.#eventAbortController) { - this.#eventAbortController = new AbortController(); - this.eventBus._on("updatetextlayermatches", evt => { - if (evt.pageIndex === this.pageIdx || evt.pageIndex === -1) { - this._updateMatches(); - } - }, { - signal: this.#eventAbortController.signal - }); - } - this._updateMatches(); - } - disable() { - if (!this.enabled) { - return; - } - this.enabled = false; - this.#eventAbortController?.abort(); - this.#eventAbortController = null; - this._updateMatches(true); - } - _convertMatches(matches, matchesLength) { - if (!matches) { - return []; - } - const { - textContentItemsStr - } = this; - let i = 0, - iIndex = 0; - const end = textContentItemsStr.length - 1; - const result = []; - for (let m = 0, mm = matches.length; m < mm; m++) { - let matchIdx = matches[m]; - while (i !== end && matchIdx >= iIndex + textContentItemsStr[i].length) { - iIndex += textContentItemsStr[i].length; - i++; - } - if (i === textContentItemsStr.length) { - console.error("Could not find a matching mapping"); - } - const match = { - begin: { - divIdx: i, - offset: matchIdx - iIndex - } - }; - matchIdx += matchesLength[m]; - while (i !== end && matchIdx > iIndex + textContentItemsStr[i].length) { - iIndex += textContentItemsStr[i].length; - i++; - } - match.end = { - divIdx: i, - offset: matchIdx - iIndex - }; - result.push(match); - } - return result; - } - _renderMatches(matches) { - if (matches.length === 0) { - return; - } - const { - findController, - pageIdx - } = this; - const { - textContentItemsStr, - textDivs - } = this; - const isSelectedPage = pageIdx === findController.selected.pageIdx; - const selectedMatchIdx = findController.selected.matchIdx; - const highlightAll = findController.state.highlightAll; - let prevEnd = null; - const infinity = { - divIdx: -1, - offset: undefined - }; - function beginText(begin, className) { - const divIdx = begin.divIdx; - textDivs[divIdx].textContent = ""; - return appendTextToDiv(divIdx, 0, begin.offset, className); - } - function appendTextToDiv(divIdx, fromOffset, toOffset, className) { - let div = textDivs[divIdx]; - if (div.nodeType === Node.TEXT_NODE) { - const span = document.createElement("span"); - div.before(span); - span.append(div); - textDivs[divIdx] = span; - div = span; - } - const content = textContentItemsStr[divIdx].substring(fromOffset, toOffset); - const node = document.createTextNode(content); - if (className) { - const span = document.createElement("span"); - span.className = `${className} appended`; - span.append(node); - div.append(span); - return className.includes("selected") ? span.offsetLeft : 0; - } - div.append(node); - return 0; - } - let i0 = selectedMatchIdx, - i1 = i0 + 1; - if (highlightAll) { - i0 = 0; - i1 = matches.length; - } else if (!isSelectedPage) { - return; - } - let lastDivIdx = -1; - let lastOffset = -1; - for (let i = i0; i < i1; i++) { - const match = matches[i]; - const begin = match.begin; - if (begin.divIdx === lastDivIdx && begin.offset === lastOffset) { - continue; - } - lastDivIdx = begin.divIdx; - lastOffset = begin.offset; - const end = match.end; - const isSelected = isSelectedPage && i === selectedMatchIdx; - const highlightSuffix = isSelected ? " selected" : ""; - let selectedLeft = 0; - if (!prevEnd || begin.divIdx !== prevEnd.divIdx) { - if (prevEnd !== null) { - appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); - } - beginText(begin); - } else { - appendTextToDiv(prevEnd.divIdx, prevEnd.offset, begin.offset); - } - if (begin.divIdx === end.divIdx) { - selectedLeft = appendTextToDiv(begin.divIdx, begin.offset, end.offset, "highlight" + highlightSuffix); - } else { - selectedLeft = appendTextToDiv(begin.divIdx, begin.offset, infinity.offset, "highlight begin" + highlightSuffix); - for (let n0 = begin.divIdx + 1, n1 = end.divIdx; n0 < n1; n0++) { - textDivs[n0].className = "highlight middle" + highlightSuffix; - } - beginText(end, "highlight end" + highlightSuffix); - } - prevEnd = end; - if (isSelected) { - findController.scrollMatchIntoView({ - element: textDivs[begin.divIdx], - selectedLeft, - pageIndex: pageIdx, - matchIndex: selectedMatchIdx - }); - } - } - if (prevEnd) { - appendTextToDiv(prevEnd.divIdx, prevEnd.offset, infinity.offset); - } - } - _updateMatches(reset = false) { - if (!this.enabled && !reset) { - return; - } - const { - findController, - matches, - pageIdx - } = this; - const { - textContentItemsStr, - textDivs - } = this; - let clearedUntilDivIdx = -1; - for (const match of matches) { - const begin = Math.max(clearedUntilDivIdx, match.begin.divIdx); - for (let n = begin, end = match.end.divIdx; n <= end; n++) { - const div = textDivs[n]; - div.textContent = textContentItemsStr[n]; - div.className = ""; - } - clearedUntilDivIdx = match.end.divIdx + 1; - } - if (!findController?.highlightMatches || reset) { - return; - } - const pageMatches = findController.pageMatches[pageIdx] || null; - const pageMatchesLength = findController.pageMatchesLength[pageIdx] || null; - this.matches = this._convertMatches(pageMatches, pageMatchesLength); - this._renderMatches(this.matches); - } -} - - -/***/ }), - -/***/ 7765: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ TextLayerBuilder: () => (/* binding */ TextLayerBuilder) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -class TextLayerBuilder { - #enablePermissions = false; - #onAppend = null; - #rotation = 0; - #scale = 0; - #textContentSource = null; - constructor({ - highlighter = null, - accessibilityManager = null, - enablePermissions = false, - onAppend = null - }) { - this.textContentItemsStr = []; - this.renderingDone = false; - this.textDivs = []; - this.textDivProperties = new WeakMap(); - this.textLayerRenderTask = null; - this.highlighter = highlighter; - this.accessibilityManager = accessibilityManager; - this.#enablePermissions = enablePermissions === true; - this.#onAppend = onAppend; - this.div = document.createElement("div"); - this.div.tabIndex = 0; - this.div.className = "textLayer"; - } - #finishRendering() { - this.renderingDone = true; - const endOfContent = document.createElement("div"); - endOfContent.className = "endOfContent"; - this.div.append(endOfContent); - this.#bindMouse(); - } - get numTextDivs() { - return this.textDivs.length; - } - async render(viewport) { - if (!this.#textContentSource) { - throw new Error('No "textContentSource" parameter specified.'); - } - const scale = viewport.scale * (globalThis.devicePixelRatio || 1); - const { - rotation - } = viewport; - if (this.renderingDone) { - const mustRotate = rotation !== this.#rotation; - const mustRescale = scale !== this.#scale; - if (mustRotate || mustRescale) { - this.hide(); - (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.updateTextLayer)({ - container: this.div, - viewport, - textDivs: this.textDivs, - textDivProperties: this.textDivProperties, - mustRescale, - mustRotate - }); - this.#scale = scale; - this.#rotation = rotation; - } - this.show(); - return; - } - this.cancel(); - this.highlighter?.setTextMapping(this.textDivs, this.textContentItemsStr); - this.accessibilityManager?.setTextMapping(this.textDivs); - this.textLayerRenderTask = (0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.renderTextLayer)({ - textContentSource: this.#textContentSource, - container: this.div, - viewport, - textDivs: this.textDivs, - textDivProperties: this.textDivProperties, - textContentItemsStr: this.textContentItemsStr - }); - await this.textLayerRenderTask.promise; - this.#finishRendering(); - this.#scale = scale; - this.#rotation = rotation; - this.#onAppend?.(this.div); - this.highlighter?.enable(); - this.accessibilityManager?.enable(); - } - hide() { - if (!this.div.hidden && this.renderingDone) { - this.highlighter?.disable(); - this.div.hidden = true; - } - } - show() { - if (this.div.hidden && this.renderingDone) { - this.div.hidden = false; - this.highlighter?.enable(); - } - } - cancel() { - if (this.textLayerRenderTask) { - this.textLayerRenderTask.cancel(); - this.textLayerRenderTask = null; - } - this.highlighter?.disable(); - this.accessibilityManager?.disable(); - this.textContentItemsStr.length = 0; - this.textDivs.length = 0; - this.textDivProperties = new WeakMap(); - } - setTextContentSource(source) { - this.cancel(); - this.#textContentSource = source; - } - #bindMouse() { - const { - div - } = this; - div.addEventListener("mousedown", evt => { - const end = div.querySelector(".endOfContent"); - if (!end) { - return; - } - let adjustTop = evt.target !== div; - adjustTop &&= getComputedStyle(end).getPropertyValue("-moz-user-select") !== "none"; - if (adjustTop) { - const divBounds = div.getBoundingClientRect(); - const r = Math.max(0, (evt.pageY - divBounds.top) / divBounds.height); - end.style.top = (r * 100).toFixed(2) + "%"; - } - end.classList.add("active"); - }); - div.addEventListener("mouseup", () => { - const end = div.querySelector(".endOfContent"); - if (!end) { - return; - } - end.style.top = ""; - end.classList.remove("active"); - }); - div.addEventListener("copy", event => { - if (!this.#enablePermissions) { - const selection = document.getSelection(); - event.clipboardData.setData("text/plain", (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.removeNullCharacters)((0,pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.normalizeUnicode)(selection.toString()))); - } - event.preventDefault(); - event.stopPropagation(); - }); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 6297: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ Toolbar: () => (/* binding */ Toolbar) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7256); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - -class Toolbar { - #opts; - constructor(options, eventBus) { - this.#opts = options; - this.eventBus = eventBus; - const buttons = [{ - element: options.previous, - eventName: "previouspage" - }, { - element: options.next, - eventName: "nextpage" - }, { - element: options.zoomIn, - eventName: "zoomin" - }, { - element: options.zoomOut, - eventName: "zoomout" - }, { - element: options.print, - eventName: "print" - }, { - element: options.download, - eventName: "download" - }, { - element: options.editorFreeTextButton, - eventName: "switchannotationeditormode", - eventDetails: { - get mode() { - const { - classList - } = options.editorFreeTextButton; - return classList.contains("toggled") ? pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE : pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.FREETEXT; - } - } - }, { - element: options.editorHighlightButton, - eventName: "switchannotationeditormode", - eventDetails: { - get mode() { - const { - classList - } = options.editorHighlightButton; - return classList.contains("toggled") ? pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE : pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.HIGHLIGHT; - } - } - }, { - element: options.editorInkButton, - eventName: "switchannotationeditormode", - eventDetails: { - get mode() { - const { - classList - } = options.editorInkButton; - return classList.contains("toggled") ? pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE : pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.INK; - } - } - }, { - element: options.editorStampButton, - eventName: "switchannotationeditormode", - eventDetails: { - get mode() { - const { - classList - } = options.editorStampButton; - return classList.contains("toggled") ? pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.NONE : pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.STAMP; - } - } - }]; - this.#bindListeners(buttons); - if (options.editorHighlightColorPicker) { - eventBus._on("annotationeditoruimanager", ({ - uiManager - }) => { - this.#setAnnotationEditorUIManager(uiManager, options.editorHighlightColorPicker); - }, { - once: true - }); - } - eventBus._on("showannotationeditorui", ({ - mode - }) => { - switch (mode) { - case pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.HIGHLIGHT: - options.editorHighlightButton.click(); - break; - } - }); - this.reset(); - } - #setAnnotationEditorUIManager(uiManager, parentContainer) { - const colorPicker = new pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.ColorPicker({ - uiManager - }); - uiManager.setMainHighlightColorPicker(colorPicker); - parentContainer.append(colorPicker.renderMainDropdown()); - } - setPageNumber(pageNumber, pageLabel) { - this.pageNumber = pageNumber; - this.pageLabel = pageLabel; - this.#updateUIState(false); - } - setPagesCount(pagesCount, hasPageLabels) { - this.pagesCount = pagesCount; - this.hasPageLabels = hasPageLabels; - this.#updateUIState(true); - } - setPageScale(pageScaleValue, pageScale) { - this.pageScaleValue = (pageScaleValue || pageScale).toString(); - this.pageScale = pageScale; - this.#updateUIState(false); - } - reset() { - this.pageNumber = 0; - this.pageLabel = null; - this.hasPageLabels = false; - this.pagesCount = 0; - this.pageScaleValue = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_SCALE_VALUE; - this.pageScale = _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_SCALE; - this.#updateUIState(true); - this.updateLoadingIndicatorState(); - this.#editorModeChanged({ - mode: pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.DISABLE - }); - } - #bindListeners(buttons) { - const { - eventBus - } = this; - const { - pageNumber, - scaleSelect - } = this.#opts; - const self = this; - for (const { - element, - eventName, - eventDetails - } of buttons) { - element.addEventListener("click", evt => { - if (eventName !== null) { - eventBus.dispatch(eventName, { - source: this, - ...eventDetails, - isFromKeyboard: evt.detail === 0 - }); - } - }); - } - pageNumber.addEventListener("click", function () { - this.select(); - }); - pageNumber.addEventListener("change", function () { - eventBus.dispatch("pagenumberchanged", { - source: self, - value: this.value - }); - }); - scaleSelect.addEventListener("change", function () { - if (this.value === "custom") { - return; - } - eventBus.dispatch("scalechanged", { - source: self, - value: this.value - }); - }); - scaleSelect.addEventListener("click", function ({ - target - }) { - if (this.value === self.pageScaleValue && target.tagName.toUpperCase() === "OPTION") { - this.blur(); - } - }); - scaleSelect.oncontextmenu = pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.noContextMenu; - eventBus._on("annotationeditormodechanged", this.#editorModeChanged.bind(this)); - } - #editorModeChanged({ - mode - }) { - const { - editorFreeTextButton, - editorFreeTextParamsToolbar, - editorHighlightButton, - editorHighlightParamsToolbar, - editorInkButton, - editorInkParamsToolbar, - editorStampButton, - editorStampParamsToolbar - } = this.#opts; - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(editorFreeTextButton, mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.FREETEXT, editorFreeTextParamsToolbar); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(editorHighlightButton, mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.HIGHLIGHT, editorHighlightParamsToolbar); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(editorInkButton, mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.INK, editorInkParamsToolbar); - (0,_ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.toggleCheckedBtn)(editorStampButton, mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.STAMP, editorStampParamsToolbar); - const isDisable = mode === pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.AnnotationEditorType.DISABLE; - editorFreeTextButton.disabled = isDisable; - editorHighlightButton.disabled = isDisable; - editorInkButton.disabled = isDisable; - editorStampButton.disabled = isDisable; - } - #updateUIState(resetNumPages = false) { - const { - pageNumber, - pagesCount, - pageScaleValue, - pageScale - } = this; - const opts = this.#opts; - if (resetNumPages) { - if (this.hasPageLabels) { - opts.pageNumber.type = "text"; - opts.numPages.setAttribute("data-l10n-id", "pdfjs-page-of-pages"); - } else { - opts.pageNumber.type = "number"; - opts.numPages.setAttribute("data-l10n-id", "pdfjs-of-pages"); - opts.numPages.setAttribute("data-l10n-args", JSON.stringify({ - pagesCount - })); - } - opts.pageNumber.max = pagesCount; - } - if (this.hasPageLabels) { - opts.pageNumber.value = this.pageLabel; - opts.numPages.setAttribute("data-l10n-args", JSON.stringify({ - pageNumber, - pagesCount - })); - } else { - opts.pageNumber.value = pageNumber; - } - opts.previous.disabled = pageNumber <= 1; - opts.next.disabled = pageNumber >= pagesCount; - opts.zoomOut.disabled = pageScale <= _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.MIN_SCALE; - opts.zoomIn.disabled = pageScale >= _ui_utils_js__WEBPACK_IMPORTED_MODULE_1__.MAX_SCALE; - let predefinedValueFound = false; - for (const option of opts.scaleSelect.options) { - if (option.value !== pageScaleValue) { - option.selected = false; - continue; - } - option.selected = true; - predefinedValueFound = true; - } - if (!predefinedValueFound) { - opts.customScaleOption.selected = true; - opts.customScaleOption.setAttribute("data-l10n-args", JSON.stringify({ - scale: Math.round(pageScale * 10000) / 100 - })); - } - } - updateLoadingIndicatorState(loading = false) { - const { - pageNumber - } = this.#opts; - pageNumber.classList.toggle("loading", loading); - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 7256: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ AutoPrintRegExp: () => (/* binding */ AutoPrintRegExp), -/* harmony export */ CursorTool: () => (/* binding */ CursorTool), -/* harmony export */ DEFAULT_SCALE: () => (/* binding */ DEFAULT_SCALE), -/* harmony export */ DEFAULT_SCALE_DELTA: () => (/* binding */ DEFAULT_SCALE_DELTA), -/* harmony export */ DEFAULT_SCALE_VALUE: () => (/* binding */ DEFAULT_SCALE_VALUE), -/* harmony export */ MAX_AUTO_SCALE: () => (/* binding */ MAX_AUTO_SCALE), -/* harmony export */ MAX_SCALE: () => (/* binding */ MAX_SCALE), -/* harmony export */ MIN_SCALE: () => (/* binding */ MIN_SCALE), -/* harmony export */ OutputScale: () => (/* binding */ OutputScale), -/* harmony export */ PresentationModeState: () => (/* binding */ PresentationModeState), -/* harmony export */ ProgressBar: () => (/* binding */ ProgressBar), -/* harmony export */ RenderingStates: () => (/* binding */ RenderingStates), -/* harmony export */ SCROLLBAR_PADDING: () => (/* binding */ SCROLLBAR_PADDING), -/* harmony export */ ScrollMode: () => (/* binding */ ScrollMode), -/* harmony export */ SidebarView: () => (/* binding */ SidebarView), -/* harmony export */ SpreadMode: () => (/* binding */ SpreadMode), -/* harmony export */ TextLayerMode: () => (/* binding */ TextLayerMode), -/* harmony export */ UNKNOWN_SCALE: () => (/* binding */ UNKNOWN_SCALE), -/* harmony export */ VERTICAL_PADDING: () => (/* binding */ VERTICAL_PADDING), -/* harmony export */ animationStarted: () => (/* binding */ animationStarted), -/* harmony export */ apiPageLayoutToViewerModes: () => (/* binding */ apiPageLayoutToViewerModes), -/* harmony export */ apiPageModeToSidebarView: () => (/* binding */ apiPageModeToSidebarView), -/* harmony export */ approximateFraction: () => (/* binding */ approximateFraction), -/* harmony export */ binarySearchFirstItem: () => (/* binding */ binarySearchFirstItem), -/* harmony export */ docStyle: () => (/* binding */ docStyle), -/* harmony export */ getActiveOrFocusedElement: () => (/* binding */ getActiveOrFocusedElement), -/* harmony export */ getPageSizeInches: () => (/* binding */ getPageSizeInches), -/* harmony export */ getVisibleElements: () => (/* binding */ getVisibleElements), -/* harmony export */ isPortraitOrientation: () => (/* binding */ isPortraitOrientation), -/* harmony export */ isValidRotation: () => (/* binding */ isValidRotation), -/* harmony export */ isValidScrollMode: () => (/* binding */ isValidScrollMode), -/* harmony export */ isValidSpreadMode: () => (/* binding */ isValidSpreadMode), -/* harmony export */ normalizeWheelEventDelta: () => (/* binding */ normalizeWheelEventDelta), -/* harmony export */ normalizeWheelEventDirection: () => (/* binding */ normalizeWheelEventDirection), -/* harmony export */ parseQueryString: () => (/* binding */ parseQueryString), -/* harmony export */ removeNullCharacters: () => (/* binding */ removeNullCharacters), -/* harmony export */ roundToDivide: () => (/* binding */ roundToDivide), -/* harmony export */ scrollIntoView: () => (/* binding */ scrollIntoView), -/* harmony export */ toggleCheckedBtn: () => (/* binding */ toggleCheckedBtn), -/* harmony export */ toggleExpandedBtn: () => (/* binding */ toggleExpandedBtn), -/* harmony export */ watchScroll: () => (/* binding */ watchScroll) -/* harmony export */ }); -/* unused harmony export backtrackBeforeAllVisibleElements */ -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_esnext_set_difference_v2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3375); -/* harmony import */ var core_js_modules_esnext_set_intersection_v2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9225); -/* harmony import */ var core_js_modules_esnext_set_is_disjoint_from_v2_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3972); -/* harmony import */ var core_js_modules_esnext_set_is_subset_of_v2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9209); -/* harmony import */ var core_js_modules_esnext_set_is_superset_of_v2_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5714); -/* harmony import */ var core_js_modules_esnext_set_symmetric_difference_v2_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(7561); -/* harmony import */ var core_js_modules_esnext_set_union_v2_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6197); -/* harmony import */ var core_js_modules_web_url_search_params_delete_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4603); -/* harmony import */ var core_js_modules_web_url_search_params_has_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7566); -/* harmony import */ var core_js_modules_web_url_search_params_size_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(8721); - - - - - - - - - - - -const DEFAULT_SCALE_VALUE = "auto"; -const DEFAULT_SCALE = 1.0; -const DEFAULT_SCALE_DELTA = 1.1; -const MIN_SCALE = 0.1; -const MAX_SCALE = 10.0; -const UNKNOWN_SCALE = 0; -const MAX_AUTO_SCALE = 1.25; -const SCROLLBAR_PADDING = 40; -const VERTICAL_PADDING = 5; -const RenderingStates = { - INITIAL: 0, - RUNNING: 1, - PAUSED: 2, - FINISHED: 3 -}; -const PresentationModeState = { - UNKNOWN: 0, - NORMAL: 1, - CHANGING: 2, - FULLSCREEN: 3 -}; -const SidebarView = { - UNKNOWN: -1, - NONE: 0, - THUMBS: 1, - OUTLINE: 2, - ATTACHMENTS: 3, - LAYERS: 4 -}; -const TextLayerMode = { - DISABLE: 0, - ENABLE: 1, - ENABLE_PERMISSIONS: 2 -}; -const ScrollMode = { - UNKNOWN: -1, - VERTICAL: 0, - HORIZONTAL: 1, - WRAPPED: 2, - PAGE: 3 -}; -const SpreadMode = { - UNKNOWN: -1, - NONE: 0, - ODD: 1, - EVEN: 2 -}; -const CursorTool = { - SELECT: 0, - HAND: 1, - ZOOM: 2 -}; -const AutoPrintRegExp = /\bprint\s*\(/; -class OutputScale { - constructor() { - const pixelRatio = window.devicePixelRatio || 1; - this.sx = pixelRatio; - this.sy = pixelRatio; - } - get scaled() { - return this.sx !== 1 || this.sy !== 1; - } -} -function scrollIntoView(element, spot, scrollMatches = false) { - let parent = element.offsetParent; - if (!parent) { - console.error("offsetParent is not set -- cannot scroll"); - return; - } - let offsetY = element.offsetTop + element.clientTop; - let offsetX = element.offsetLeft + element.clientLeft; - while (parent.clientHeight === parent.scrollHeight && parent.clientWidth === parent.scrollWidth || scrollMatches && (parent.classList.contains("markedContent") || getComputedStyle(parent).overflow === "hidden")) { - offsetY += parent.offsetTop; - offsetX += parent.offsetLeft; - parent = parent.offsetParent; - if (!parent) { - return; - } - } - if (spot) { - if (spot.top !== undefined) { - offsetY += spot.top; - } - if (spot.left !== undefined) { - offsetX += spot.left; - parent.scrollLeft = offsetX; - } - } - parent.scrollTop = offsetY; -} -function watchScroll(viewAreaElement, callback) { - const debounceScroll = function (evt) { - if (rAF) { - return; - } - rAF = window.requestAnimationFrame(function viewAreaElementScrolled() { - rAF = null; - const currentX = viewAreaElement.scrollLeft; - const lastX = state.lastX; - if (currentX !== lastX) { - state.right = currentX > lastX; - } - state.lastX = currentX; - const currentY = viewAreaElement.scrollTop; - const lastY = state.lastY; - if (currentY !== lastY) { - state.down = currentY > lastY; - } - state.lastY = currentY; - callback(state); - }); - }; - const state = { - right: true, - down: true, - lastX: viewAreaElement.scrollLeft, - lastY: viewAreaElement.scrollTop, - _eventHandler: debounceScroll - }; - let rAF = null; - viewAreaElement.addEventListener("scroll", debounceScroll, true); - return state; -} -function parseQueryString(query) { - const params = new Map(); - for (const [key, value] of new URLSearchParams(query)) { - params.set(key.toLowerCase(), value); - } - return params; -} -const InvisibleCharsRegExp = /[\x00-\x1F]/g; -function removeNullCharacters(str, replaceInvisible = false) { - if (!InvisibleCharsRegExp.test(str)) { - return str; - } - if (replaceInvisible) { - return str.replaceAll(InvisibleCharsRegExp, m => m === "\x00" ? "" : " "); - } - return str.replaceAll("\x00", ""); -} -function binarySearchFirstItem(items, condition, start = 0) { - let minIndex = start; - let maxIndex = items.length - 1; - if (maxIndex < 0 || !condition(items[maxIndex])) { - return items.length; - } - if (condition(items[minIndex])) { - return minIndex; - } - while (minIndex < maxIndex) { - const currentIndex = minIndex + maxIndex >> 1; - const currentItem = items[currentIndex]; - if (condition(currentItem)) { - maxIndex = currentIndex; - } else { - minIndex = currentIndex + 1; - } - } - return minIndex; -} -function approximateFraction(x) { - if (Math.floor(x) === x) { - return [x, 1]; - } - const xinv = 1 / x; - const limit = 8; - if (xinv > limit) { - return [1, limit]; - } else if (Math.floor(xinv) === xinv) { - return [1, xinv]; - } - const x_ = x > 1 ? xinv : x; - let a = 0, - b = 1, - c = 1, - d = 1; - while (true) { - const p = a + c, - q = b + d; - if (q > limit) { - break; - } - if (x_ <= p / q) { - c = p; - d = q; - } else { - a = p; - b = q; - } - } - let result; - if (x_ - a / b < c / d - x_) { - result = x_ === x ? [a, b] : [b, a]; - } else { - result = x_ === x ? [c, d] : [d, c]; - } - return result; -} -function roundToDivide(x, div) { - const r = x % div; - return r === 0 ? x : Math.round(x - r + div); -} -function getPageSizeInches({ - view, - userUnit, - rotate -}) { - const [x1, y1, x2, y2] = view; - const changeOrientation = rotate % 180 !== 0; - const width = (x2 - x1) / 72 * userUnit; - const height = (y2 - y1) / 72 * userUnit; - return { - width: changeOrientation ? height : width, - height: changeOrientation ? width : height - }; -} -function backtrackBeforeAllVisibleElements(index, views, top) { - if (index < 2) { - return index; - } - let elt = views[index].div; - let pageTop = elt.offsetTop + elt.clientTop; - if (pageTop >= top) { - elt = views[index - 1].div; - pageTop = elt.offsetTop + elt.clientTop; - } - for (let i = index - 2; i >= 0; --i) { - elt = views[i].div; - if (elt.offsetTop + elt.clientTop + elt.clientHeight <= pageTop) { - break; - } - index = i; - } - return index; -} -function getVisibleElements({ - scrollEl, - views, - sortByVisibility = false, - horizontal = false, - rtl = false -}) { - const top = scrollEl.scrollTop, - bottom = top + scrollEl.clientHeight; - const left = scrollEl.scrollLeft, - right = left + scrollEl.clientWidth; - function isElementBottomAfterViewTop(view) { - const element = view.div; - const elementBottom = element.offsetTop + element.clientTop + element.clientHeight; - return elementBottom > top; - } - function isElementNextAfterViewHorizontally(view) { - const element = view.div; - const elementLeft = element.offsetLeft + element.clientLeft; - const elementRight = elementLeft + element.clientWidth; - return rtl ? elementLeft < right : elementRight > left; - } - const visible = [], - ids = new Set(), - numViews = views.length; - let firstVisibleElementInd = binarySearchFirstItem(views, horizontal ? isElementNextAfterViewHorizontally : isElementBottomAfterViewTop); - if (firstVisibleElementInd > 0 && firstVisibleElementInd < numViews && !horizontal) { - firstVisibleElementInd = backtrackBeforeAllVisibleElements(firstVisibleElementInd, views, top); - } - let lastEdge = horizontal ? right : -1; - for (let i = firstVisibleElementInd; i < numViews; i++) { - const view = views[i], - element = view.div; - const currentWidth = element.offsetLeft + element.clientLeft; - const currentHeight = element.offsetTop + element.clientTop; - const viewWidth = element.clientWidth, - viewHeight = element.clientHeight; - const viewRight = currentWidth + viewWidth; - const viewBottom = currentHeight + viewHeight; - if (lastEdge === -1) { - if (viewBottom >= bottom) { - lastEdge = viewBottom; - } - } else if ((horizontal ? currentWidth : currentHeight) > lastEdge) { - break; - } - if (viewBottom <= top || currentHeight >= bottom || viewRight <= left || currentWidth >= right) { - continue; - } - const hiddenHeight = Math.max(0, top - currentHeight) + Math.max(0, viewBottom - bottom); - const hiddenWidth = Math.max(0, left - currentWidth) + Math.max(0, viewRight - right); - const fractionHeight = (viewHeight - hiddenHeight) / viewHeight, - fractionWidth = (viewWidth - hiddenWidth) / viewWidth; - const percent = fractionHeight * fractionWidth * 100 | 0; - visible.push({ - id: view.id, - x: currentWidth, - y: currentHeight, - view, - percent, - widthPercent: fractionWidth * 100 | 0 - }); - ids.add(view.id); - } - const first = visible[0], - last = visible.at(-1); - if (sortByVisibility) { - visible.sort(function (a, b) { - const pc = a.percent - b.percent; - if (Math.abs(pc) > 0.001) { - return -pc; - } - return a.id - b.id; - }); - } - return { - first, - last, - views: visible, - ids - }; -} -function normalizeWheelEventDirection(evt) { - let delta = Math.hypot(evt.deltaX, evt.deltaY); - const angle = Math.atan2(evt.deltaY, evt.deltaX); - if (-0.25 * Math.PI < angle && angle < 0.75 * Math.PI) { - delta = -delta; - } - return delta; -} -function normalizeWheelEventDelta(evt) { - const deltaMode = evt.deltaMode; - let delta = normalizeWheelEventDirection(evt); - const MOUSE_PIXELS_PER_LINE = 30; - const MOUSE_LINES_PER_PAGE = 30; - if (deltaMode === WheelEvent.DOM_DELTA_PIXEL) { - delta /= MOUSE_PIXELS_PER_LINE * MOUSE_LINES_PER_PAGE; - } else if (deltaMode === WheelEvent.DOM_DELTA_LINE) { - delta /= MOUSE_LINES_PER_PAGE; - } - return delta; -} -function isValidRotation(angle) { - return Number.isInteger(angle) && angle % 90 === 0; -} -function isValidScrollMode(mode) { - return Number.isInteger(mode) && Object.values(ScrollMode).includes(mode) && mode !== ScrollMode.UNKNOWN; -} -function isValidSpreadMode(mode) { - return Number.isInteger(mode) && Object.values(SpreadMode).includes(mode) && mode !== SpreadMode.UNKNOWN; -} -function isPortraitOrientation(size) { - return size.width <= size.height; -} -const animationStarted = new Promise(function (resolve) { - window.requestAnimationFrame(resolve); -}); -const docStyle = document.documentElement.style; -function clamp(v, min, max) { - return Math.min(Math.max(v, min), max); -} -class ProgressBar { - #classList = null; - #disableAutoFetchTimeout = null; - #percent = 0; - #style = null; - #visible = true; - constructor(bar) { - this.#classList = bar.classList; - this.#style = bar.style; - } - get percent() { - return this.#percent; - } - set percent(val) { - this.#percent = clamp(val, 0, 100); - if (isNaN(val)) { - this.#classList.add("indeterminate"); - return; - } - this.#classList.remove("indeterminate"); - this.#style.setProperty("--progressBar-percent", `${this.#percent}%`); - } - setWidth(viewer) { - if (!viewer) { - return; - } - const container = viewer.parentNode; - const scrollbarWidth = container.offsetWidth - viewer.offsetWidth; - if (scrollbarWidth > 0) { - this.#style.setProperty("--progressBar-end-offset", `${scrollbarWidth}px`); - } - } - setDisableAutoFetch(delay = 5000) { - if (isNaN(this.#percent)) { - return; - } - if (this.#disableAutoFetchTimeout) { - clearTimeout(this.#disableAutoFetchTimeout); - } - this.show(); - this.#disableAutoFetchTimeout = setTimeout(() => { - this.#disableAutoFetchTimeout = null; - this.hide(); - }, delay); - } - hide() { - if (!this.#visible) { - return; - } - this.#visible = false; - this.#classList.add("hidden"); - } - show() { - if (this.#visible) { - return; - } - this.#visible = true; - this.#classList.remove("hidden"); - } -} -function getActiveOrFocusedElement() { - let curRoot = document; - let curActiveOrFocused = curRoot.activeElement || curRoot.querySelector(":focus"); - while (curActiveOrFocused?.shadowRoot) { - curRoot = curActiveOrFocused.shadowRoot; - curActiveOrFocused = curRoot.activeElement || curRoot.querySelector(":focus"); - } - return curActiveOrFocused; -} -function apiPageLayoutToViewerModes(layout) { - let scrollMode = ScrollMode.VERTICAL, - spreadMode = SpreadMode.NONE; - switch (layout) { - case "SinglePage": - scrollMode = ScrollMode.PAGE; - break; - case "OneColumn": - break; - case "TwoPageLeft": - scrollMode = ScrollMode.PAGE; - case "TwoColumnLeft": - spreadMode = SpreadMode.ODD; - break; - case "TwoPageRight": - scrollMode = ScrollMode.PAGE; - case "TwoColumnRight": - spreadMode = SpreadMode.EVEN; - break; - } - return { - scrollMode, - spreadMode - }; -} -function apiPageModeToSidebarView(mode) { - switch (mode) { - case "UseNone": - return SidebarView.NONE; - case "UseThumbs": - return SidebarView.THUMBS; - case "UseOutlines": - return SidebarView.OUTLINE; - case "UseAttachments": - return SidebarView.ATTACHMENTS; - case "UseOC": - return SidebarView.LAYERS; - } - return SidebarView.NONE; -} -function toggleCheckedBtn(button, toggle, view = null) { - button.classList.toggle("toggled", toggle); - button.setAttribute("aria-checked", toggle); - view?.classList.toggle("hidden", !toggle); -} -function toggleExpandedBtn(button, toggle, view = null) { - button.classList.toggle("toggled", toggle); - button.setAttribute("aria-expanded", toggle); - view?.classList.toggle("hidden", !toggle); -} - - -/***/ }), - -/***/ 9226: -/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { - -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ ViewHistory: () => (/* binding */ ViewHistory) -/* harmony export */ }); -/* harmony import */ var core_js_modules_es_array_push_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4114); -/* harmony import */ var core_js_modules_esnext_json_parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8335); - - -const DEFAULT_VIEW_HISTORY_CACHE_SIZE = 20; -class ViewHistory { - constructor(fingerprint, cacheSize = DEFAULT_VIEW_HISTORY_CACHE_SIZE) { - this.fingerprint = fingerprint; - this.cacheSize = cacheSize; - this._initializedPromise = this._readFromStorage().then(databaseStr => { - const database = JSON.parse(databaseStr || "{}"); - let index = -1; - if (!Array.isArray(database.files)) { - database.files = []; - } else { - while (database.files.length >= this.cacheSize) { - database.files.shift(); - } - for (let i = 0, ii = database.files.length; i < ii; i++) { - const branch = database.files[i]; - if (branch.fingerprint === this.fingerprint) { - index = i; - break; - } - } - } - if (index === -1) { - index = database.files.push({ - fingerprint: this.fingerprint - }) - 1; - } - this.file = database.files[index]; - this.database = database; - }); - } - async _writeToStorage() { - const databaseStr = JSON.stringify(this.database); - localStorage.setItem("pdfjs.history", databaseStr); - } - async _readFromStorage() { - return localStorage.getItem("pdfjs.history"); - } - async set(name, val) { - await this._initializedPromise; - this.file[name] = val; - return this._writeToStorage(); - } - async setMultiple(properties) { - await this._initializedPromise; - for (const name in properties) { - this.file[name] = properties[name]; - } - return this._writeToStorage(); - } - async get(name, defaultValue) { - await this._initializedPromise; - const val = this.file[name]; - return val !== undefined ? val : defaultValue; - } - async getMultiple(properties) { - await this._initializedPromise; - const values = Object.create(null); - for (const name in properties) { - const val = this.file[name]; - values[name] = val !== undefined ? val : properties[name]; - } - return values; - } -} - - -/***/ }), - -/***/ 2030: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ PDFViewerApplication: () => (/* reexport safe */ _app_js__WEBPACK_IMPORTED_MODULE_3__.PDFViewerApplication), -/* harmony export */ PDFViewerApplicationConstants: () => (/* binding */ AppConstants), -/* harmony export */ PDFViewerApplicationOptions: () => (/* reexport safe */ _app_options_js__WEBPACK_IMPORTED_MODULE_1__.AppOptions) -/* harmony export */ }); -/* harmony import */ var _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7256); -/* harmony import */ var _app_options_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9840); -/* harmony import */ var _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(787); -/* harmony import */ var _app_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1621); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_app_js__WEBPACK_IMPORTED_MODULE_3__]); -_app_js__WEBPACK_IMPORTED_MODULE_3__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - - - - -const pdfjsVersion = "4.2.67"; -const pdfjsBuild = "49b388101"; -const AppConstants = { - LinkTarget: _pdf_link_service_js__WEBPACK_IMPORTED_MODULE_2__.LinkTarget, - RenderingStates: _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.RenderingStates, - ScrollMode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.ScrollMode, - SpreadMode: _ui_utils_js__WEBPACK_IMPORTED_MODULE_0__.SpreadMode -}; -window.PDFViewerApplication = _app_js__WEBPACK_IMPORTED_MODULE_3__.PDFViewerApplication; -window.PDFViewerApplicationConstants = AppConstants; -window.PDFViewerApplicationOptions = _app_options_js__WEBPACK_IMPORTED_MODULE_1__.AppOptions; -function getViewerConfiguration() { - return { - appContainer: document.body, - mainContainer: document.getElementById("viewerContainer"), - viewerContainer: document.getElementById("viewer"), - toolbar: { - container: document.getElementById("toolbarViewer"), - numPages: document.getElementById("numPages"), - pageNumber: document.getElementById("pageNumber"), - scaleSelect: document.getElementById("scaleSelect"), - customScaleOption: document.getElementById("customScaleOption"), - previous: document.getElementById("previous"), - next: document.getElementById("next"), - zoomIn: document.getElementById("zoomIn"), - zoomOut: document.getElementById("zoomOut"), - viewFind: document.getElementById("viewFind"), - // CUSTOM_FOR_SEAFILE - // 'seafile-pdf-print' only exists in 'pdf file view' page, not in 'shared/history/trash' file view pages - print: document.getElementById("seafile-pdf-print") || document.getElementById("print"), - editorFreeTextButton: document.getElementById("editorFreeText"), - editorFreeTextParamsToolbar: document.getElementById("editorFreeTextParamsToolbar"), - editorHighlightButton: document.getElementById("editorHighlight"), - editorHighlightParamsToolbar: document.getElementById("editorHighlightParamsToolbar"), - editorHighlightColorPicker: document.getElementById("editorHighlightColorPicker"), - editorInkButton: document.getElementById("editorInk"), - editorInkParamsToolbar: document.getElementById("editorInkParamsToolbar"), - editorStampButton: document.getElementById("editorStamp"), - editorStampParamsToolbar: document.getElementById("editorStampParamsToolbar"), - download: document.getElementById("download") - }, - secondaryToolbar: { - toolbar: document.getElementById("secondaryToolbar"), - toggleButton: document.getElementById("secondaryToolbarToggle"), - presentationModeButton: document.getElementById("presentationMode"), - openFileButton: document.getElementById("secondaryOpenFile"), - printButton: document.getElementById("secondaryPrint"), - downloadButton: document.getElementById("secondaryDownload"), - viewBookmarkButton: document.getElementById("viewBookmark"), - firstPageButton: document.getElementById("firstPage"), - lastPageButton: document.getElementById("lastPage"), - pageRotateCwButton: document.getElementById("pageRotateCw"), - pageRotateCcwButton: document.getElementById("pageRotateCcw"), - cursorSelectToolButton: document.getElementById("cursorSelectTool"), - cursorHandToolButton: document.getElementById("cursorHandTool"), - scrollPageButton: document.getElementById("scrollPage"), - scrollVerticalButton: document.getElementById("scrollVertical"), - scrollHorizontalButton: document.getElementById("scrollHorizontal"), - scrollWrappedButton: document.getElementById("scrollWrapped"), - spreadNoneButton: document.getElementById("spreadNone"), - spreadOddButton: document.getElementById("spreadOdd"), - spreadEvenButton: document.getElementById("spreadEven"), - documentPropertiesButton: document.getElementById("documentProperties") - }, - sidebar: { - outerContainer: document.getElementById("outerContainer"), - sidebarContainer: document.getElementById("sidebarContainer"), - toggleButton: document.getElementById("sidebarToggle"), - resizer: document.getElementById("sidebarResizer"), - thumbnailButton: document.getElementById("viewThumbnail"), - outlineButton: document.getElementById("viewOutline"), - attachmentsButton: document.getElementById("viewAttachments"), - layersButton: document.getElementById("viewLayers"), - thumbnailView: document.getElementById("thumbnailView"), - outlineView: document.getElementById("outlineView"), - attachmentsView: document.getElementById("attachmentsView"), - layersView: document.getElementById("layersView"), - currentOutlineItemButton: document.getElementById("currentOutlineItem") - }, - findBar: { - bar: document.getElementById("findbar"), - toggleButton: document.getElementById("viewFind"), - findField: document.getElementById("findInput"), - highlightAllCheckbox: document.getElementById("findHighlightAll"), - caseSensitiveCheckbox: document.getElementById("findMatchCase"), - matchDiacriticsCheckbox: document.getElementById("findMatchDiacritics"), - entireWordCheckbox: document.getElementById("findEntireWord"), - findMsg: document.getElementById("findMsg"), - findResultsCount: document.getElementById("findResultsCount"), - findPreviousButton: document.getElementById("findPrevious"), - findNextButton: document.getElementById("findNext") - }, - passwordOverlay: { - dialog: document.getElementById("passwordDialog"), - label: document.getElementById("passwordText"), - input: document.getElementById("password"), - submitButton: document.getElementById("passwordSubmit"), - cancelButton: document.getElementById("passwordCancel") - }, - documentProperties: { - dialog: document.getElementById("documentPropertiesDialog"), - closeButton: document.getElementById("documentPropertiesClose"), - fields: { - fileName: document.getElementById("fileNameField"), - fileSize: document.getElementById("fileSizeField"), - title: document.getElementById("titleField"), - author: document.getElementById("authorField"), - subject: document.getElementById("subjectField"), - keywords: document.getElementById("keywordsField"), - creationDate: document.getElementById("creationDateField"), - modificationDate: document.getElementById("modificationDateField"), - creator: document.getElementById("creatorField"), - producer: document.getElementById("producerField"), - version: document.getElementById("versionField"), - pageCount: document.getElementById("pageCountField"), - pageSize: document.getElementById("pageSizeField"), - linearized: document.getElementById("linearizedField") - } - }, - // CUSTOM_FOR_SEAFILE - // altTextDialog: { - // dialog: document.getElementById("altTextDialog"), - // optionDescription: document.getElementById("descriptionButton"), - // optionDecorative: document.getElementById("decorativeButton"), - // textarea: document.getElementById("descriptionTextarea"), - // cancelButton: document.getElementById("altTextCancel"), - // saveButton: document.getElementById("altTextSave") - // }, - annotationEditorParams: { - editorFreeTextFontSize: document.getElementById("editorFreeTextFontSize"), - editorFreeTextColor: document.getElementById("editorFreeTextColor"), - editorInkColor: document.getElementById("editorInkColor"), - editorInkThickness: document.getElementById("editorInkThickness"), - editorInkOpacity: document.getElementById("editorInkOpacity"), - editorStampAddImage: document.getElementById("editorStampAddImage"), - editorFreeHighlightThickness: document.getElementById("editorFreeHighlightThickness"), - editorHighlightShowAll: document.getElementById("editorHighlightShowAll") - }, - printContainer: document.getElementById("printContainer"), - // CUSTOM_FOR_SEAFILE - openFileInput: document.getElementById("fileInput"), - }; -} -function webViewerLoad() { - const config = getViewerConfiguration(); - const event = new CustomEvent("webviewerloaded", { - bubbles: true, - cancelable: true, - detail: { - source: window - } - }); - try { - parent.document.dispatchEvent(event); - } catch (ex) { - console.error(`webviewerloaded: ${ex}`); - document.dispatchEvent(event); - } - _app_js__WEBPACK_IMPORTED_MODULE_3__.PDFViewerApplication.run(config); -} -document.blockUnblockOnload?.(true); -if (document.readyState === "interactive" || document.readyState === "complete") { - webViewerLoad(); -} else { - document.addEventListener("DOMContentLoaded", webViewerLoad, true); -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }), - -/***/ 2973: -/***/ ((__webpack_module__, __webpack_exports__, __webpack_require__) => { - -__webpack_require__.a(__webpack_module__, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ XfaLayerBuilder: () => (/* binding */ XfaLayerBuilder) -/* harmony export */ }); -/* harmony import */ var pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2603); -var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__]); -pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0]; - -class XfaLayerBuilder { - constructor({ - pdfPage, - annotationStorage = null, - linkService, - xfaHtml = null - }) { - this.pdfPage = pdfPage; - this.annotationStorage = annotationStorage; - this.linkService = linkService; - this.xfaHtml = xfaHtml; - this.div = null; - this._cancelled = false; - } - async render(viewport, intent = "display") { - if (intent === "print") { - const parameters = { - viewport: viewport.clone({ - dontFlip: true - }), - div: this.div, - xfaHtml: this.xfaHtml, - annotationStorage: this.annotationStorage, - linkService: this.linkService, - intent - }; - this.div = document.createElement("div"); - parameters.div = this.div; - return pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.XfaLayer.render(parameters); - } - const xfaHtml = await this.pdfPage.getXfa(); - if (this._cancelled || !xfaHtml) { - return { - textDivs: [] - }; - } - const parameters = { - viewport: viewport.clone({ - dontFlip: true - }), - div: this.div, - xfaHtml, - annotationStorage: this.annotationStorage, - linkService: this.linkService, - intent - }; - if (this.div) { - return pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.XfaLayer.update(parameters); - } - this.div = document.createElement("div"); - parameters.div = this.div; - return pdfjs_lib__WEBPACK_IMPORTED_MODULE_0__.XfaLayer.render(parameters); - } - cancel() { - this._cancelled = true; - } - hide() { - if (!this.div) { - return; - } - this.div.hidden = true; - } -} - -__webpack_async_result__(); -} catch(e) { __webpack_async_result__(e); } }); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/async module */ -/******/ (() => { -/******/ var webpackQueues = typeof Symbol === "function" ? Symbol("webpack queues") : "__webpack_queues__"; -/******/ var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__"; -/******/ var webpackError = typeof Symbol === "function" ? Symbol("webpack error") : "__webpack_error__"; -/******/ var resolveQueue = (queue) => { -/******/ if(queue && queue.d < 1) { -/******/ queue.d = 1; -/******/ queue.forEach((fn) => (fn.r--)); -/******/ queue.forEach((fn) => (fn.r-- ? fn.r++ : fn())); -/******/ } -/******/ } -/******/ var wrapDeps = (deps) => (deps.map((dep) => { -/******/ if(dep !== null && typeof dep === "object") { -/******/ if(dep[webpackQueues]) return dep; -/******/ if(dep.then) { -/******/ var queue = []; -/******/ queue.d = 0; -/******/ dep.then((r) => { -/******/ obj[webpackExports] = r; -/******/ resolveQueue(queue); -/******/ }, (e) => { -/******/ obj[webpackError] = e; -/******/ resolveQueue(queue); -/******/ }); -/******/ var obj = {}; -/******/ obj[webpackQueues] = (fn) => (fn(queue)); -/******/ return obj; -/******/ } -/******/ } -/******/ var ret = {}; -/******/ ret[webpackQueues] = x => {}; -/******/ ret[webpackExports] = dep; -/******/ return ret; -/******/ })); -/******/ __webpack_require__.a = (module, body, hasAwait) => { -/******/ var queue; -/******/ hasAwait && ((queue = []).d = -1); -/******/ var depQueues = new Set(); -/******/ var exports = module.exports; -/******/ var currentDeps; -/******/ var outerResolve; -/******/ var reject; -/******/ var promise = new Promise((resolve, rej) => { -/******/ reject = rej; -/******/ outerResolve = resolve; -/******/ }); -/******/ promise[webpackExports] = exports; -/******/ promise[webpackQueues] = (fn) => (queue && fn(queue), depQueues.forEach(fn), promise["catch"](x => {})); -/******/ module.exports = promise; -/******/ body((deps) => { -/******/ currentDeps = wrapDeps(deps); -/******/ var fn; -/******/ var getResult = () => (currentDeps.map((d) => { -/******/ if(d[webpackError]) throw d[webpackError]; -/******/ return d[webpackExports]; -/******/ })) -/******/ var promise = new Promise((resolve) => { -/******/ fn = () => (resolve(getResult)); -/******/ fn.r = 0; -/******/ var fnQueue = (q) => (q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn)))); -/******/ currentDeps.map((dep) => (dep[webpackQueues](fnQueue))); -/******/ }); -/******/ return fn.r ? promise : getResult(); -/******/ }, (err) => ((err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue))); -/******/ queue && queue.d < 0 && (queue.d = 0); -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module used 'module' so it can't be inlined -/******/ var __webpack_exports__ = __webpack_require__(2030); -/******/ __webpack_exports__ = await __webpack_exports__; -/******/ var __webpack_exports__PDFViewerApplication = __webpack_exports__.PDFViewerApplication; -/******/ var __webpack_exports__PDFViewerApplicationConstants = __webpack_exports__.PDFViewerApplicationConstants; -/******/ var __webpack_exports__PDFViewerApplicationOptions = __webpack_exports__.PDFViewerApplicationOptions; -/******/ export { __webpack_exports__PDFViewerApplication as PDFViewerApplication, __webpack_exports__PDFViewerApplicationConstants as PDFViewerApplicationConstants, __webpack_exports__PDFViewerApplicationOptions as PDFViewerApplicationOptions }; -/******/ diff --git a/seahub/templates/common_file_view_react.html b/seahub/templates/common_file_view_react.html index e89f8bc175..3bf5a1c05d 100644 --- a/seahub/templates/common_file_view_react.html +++ b/seahub/templates/common_file_view_react.html @@ -4,9 +4,9 @@ {% block extra_style %} {% if filetype == 'PDF' %} - - - + + + {% endif %} {% render_bundle 'fileView' 'css' %} {% endblock %} @@ -35,9 +35,9 @@ rawPath: '{{ raw_path|escapejs }}' {% if filetype == 'PDF' %} - - + + {% endif %} {% endblock %} diff --git a/seahub/templates/document_file_view_react.html b/seahub/templates/document_file_view_react.html index 181ebd2571..3920539a05 100644 --- a/seahub/templates/document_file_view_react.html +++ b/seahub/templates/document_file_view_react.html @@ -3,7 +3,7 @@ {% load seahub_tags %} {% block extra_style %} - + {% render_bundle 'viewFileDocument' 'css' %} {% endblock %} @@ -16,7 +16,7 @@ - + {% endblock %} diff --git a/seahub/templates/history_file_view_react.html b/seahub/templates/history_file_view_react.html index cba3497b06..4f8f889813 100644 --- a/seahub/templates/history_file_view_react.html +++ b/seahub/templates/history_file_view_react.html @@ -6,9 +6,9 @@ {% block extra_style %} {% if filetype == 'PDF' %} - - - + + + {% endif %} {% render_bundle 'historyTrashFileView' 'css' %} {% endblock %} @@ -41,9 +41,9 @@ window.app.pageOptions = { {% if filetype == 'PDF' %} - - + + {% endif %} {% endblock %} diff --git a/seahub/templates/shared_file_view_react.html b/seahub/templates/shared_file_view_react.html index 634424ce6f..f49319189b 100644 --- a/seahub/templates/shared_file_view_react.html +++ b/seahub/templates/shared_file_view_react.html @@ -5,18 +5,18 @@ {% block sub_title %}{{file_name}} - {% endblock %} {% block extra_ogp_tags %} - + - - - - + + + + {% endblock %} {% block extra_style %} {% if filetype == 'Markdown' %} - -{% render_bundle 'sharedFileViewMarkdown' 'css' %} + + {% render_bundle 'sharedFileViewMarkdown' 'css' %} {% elif filetype == 'Text' %} {% render_bundle 'sharedFileViewText' 'css' %} {% elif filetype == 'Image' or filetype == 'XMind' %} @@ -28,18 +28,18 @@ {% elif filetype == 'Audio' %} {% render_bundle 'sharedFileViewAudio' 'css' %} {% elif filetype == 'PDF' %} - - - -{% render_bundle 'sharedFileViewPDF' 'css' %} + + + + {% render_bundle 'sharedFileViewPDF' 'css' %} {% elif filetype == 'Document' %} - -{% render_bundle 'sharedFileViewDocument' 'css' %} + + {% render_bundle 'sharedFileViewDocument' 'css' %} {% elif filetype == 'SpreadSheet' %} {% render_bundle 'sharedFileViewSpreadsheet' 'css' %} {% elif filetype == 'SDoc' %} - -{% render_bundle 'sharedFileViewSdoc' 'css' %} + + {% render_bundle 'sharedFileViewSdoc' 'css' %} {% elif filetype == 'Unknown' %} {% render_bundle 'sharedFileViewUnknown' 'css' %} {% endif %} @@ -124,20 +124,20 @@ body { {% render_bundle 'sharedFileViewAudio' 'js' %} {% elif filetype == 'PDF' %} {% render_bundle 'sharedFileViewPDF' 'js' %} - - - + + + {% elif filetype == 'Document' %} {% render_bundle 'sharedFileViewDocument' 'js' %} - - + var SEAFILE_PDFJS_DIR = '{{MEDIA_URL}}js/pdf'; + + {% elif filetype == 'SpreadSheet' %} {% render_bundle 'sharedFileViewSpreadsheet' 'js' %} {% elif filetype == 'SDoc' %}
-